Smaws_Client_CloudFormation.UpdateStackInstancesUpdates the parameter values for stack instances for the specified accounts, within the specified Amazon Web Services Regions. A stack instance refers to a stack in a specific account and Region.
You can only update stack instances in Amazon Web Services Regions and accounts where they already exist; to create additional stack instances, use CreateStackInstances.
During StackSet updates, any parameters overridden for a stack instance aren't updated, but retain their overridden value.
You can only update the parameter values that are specified in the StackSet. To add or delete a parameter itself, use UpdateStackSet to update the StackSet template. If you add a parameter to a template, before you can override the parameter value specified in the StackSet you must first use UpdateStackSet to update all stack instances with the updated template and parameter value specified in the StackSet. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances.
The maximum number of organizational unit (OUs) supported by a UpdateStackInstances operation is 50.
If you need more than 50, consider the following options:
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InvalidOperationException of Types.invalid_operation_exception
| `OperationIdAlreadyExistsException of
Types.operation_id_already_exists_exception
| `OperationInProgressException of Types.operation_in_progress_exception
| `StackInstanceNotFoundException of Types.stack_instance_not_found_exception
| `StackSetNotFoundException of Types.stack_set_not_found_exception
| `StaleRequestException of Types.stale_request_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_stack_instances_input ->
(Types.update_stack_instances_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidOperationException of Types.invalid_operation_exception
| `OperationIdAlreadyExistsException of
Types.operation_id_already_exists_exception
| `OperationInProgressException of Types.operation_in_progress_exception
| `StackInstanceNotFoundException of
Types.stack_instance_not_found_exception
| `StackSetNotFoundException of Types.stack_set_not_found_exception
| `StaleRequestException of Types.stale_request_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_stack_instances_input ->
(Types.update_stack_instances_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidOperationException of Types.invalid_operation_exception
| `OperationIdAlreadyExistsException of
Types.operation_id_already_exists_exception
| `OperationInProgressException of Types.operation_in_progress_exception
| `StackInstanceNotFoundException of
Types.stack_instance_not_found_exception
| `StackSetNotFoundException of Types.stack_set_not_found_exception
| `StaleRequestException of Types.stale_request_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result