// Creates stack instances for the specified accounts, within the specified
// Regions. A stack instance refers to a stack in a specific account and Region.
// You must specify at least one value for either Accounts or DeploymentTargets,
// and you must specify at least one value for Regions.
Creates stack instances for the specified accounts, within the specified
Regions. A stack instance refers to a stack in a specific account and Region.
You must specify at least one value for either Accounts or DeploymentTargets,
and you must specify at least one value for Regions.
// Creates stack instances for the specified accounts within the specified // Regions . A stack instance refers to a stack in a specific account and Region . // You must specify at least one value for either Accounts or DeploymentTargets // and you must specify at least one value for Regions .
func (c *Client) CreateStackInstances(ctx context.Context, params *CreateStackInstancesInput, optFns ...func(*Options)) (*CreateStackInstancesOutput, error) {
	if params == nil {
		params = &CreateStackInstancesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateStackInstances", params, optFns, addOperationCreateStackInstancesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateStackInstancesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateStackInstances ( ctx context . Context , params * CreateStackInstancesInput , optFns ... func ( * Options ) ) ( * CreateStackInstancesOutput , error ) { if params == nil { params = & CreateStackInstancesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateStackInstancesMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateStackInstancesOutput ) out . ResultMetadata = metadata return out , nil }
Creates stack instances for the specified accounts, within the specified
Regions.
Creates stack instances for the specified accounts within the specified Regions .