// Updates a stack as specified in the template. After the call completes
// successfully, the stack update starts. You can check the status of the stack via
// the DescribeStacks action. To get a copy of the template for an existing stack,
// you can use the GetTemplate action. For more information about creating an
// update template, updating a stack, and monitoring the progress of the update,
// see Updating a Stack
// (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks.html).
Updates a stack as specified in the template. After the call completes
successfully, the stack update starts. You can check the status of the stack via
the DescribeStacks action. To get a copy of the template for an existing stack,
you can use the GetTemplate action. For more information about creating an
update template, updating a stack, and monitoring the progress of the update,
see Updating a Stack
.
// Updates a stack as specified in the template . After the call completes // successfully the stack update starts . You can check the status of the stack via // the DescribeStacks action . To get a copy of the template for an existing stack // you can use the GetTemplate action . For more information about creating an // update template updating a stack and monitoring the progress of the update // see Updating a Stack // ( https : // docs . aws . amazon . com / AWSCloudFormation / latest / UserGuide / using - cfn - updating - stacks . html ) .
func (c *Client) UpdateStack(ctx context.Context, params *UpdateStackInput, optFns ...func(*Options)) (*UpdateStackOutput, error) {
	if params == nil {
		params = &UpdateStackInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateStack", params, optFns, addOperationUpdateStackMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateStackOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateStack ( ctx context . Context , params * UpdateStackInput , optFns ... func ( * Options ) ) ( * UpdateStackOutput , error ) { if params == nil { params = & UpdateStackInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateStackMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateStackOutput ) out . ResultMetadata = metadata return out , nil }
Updates a stack as specified in the template.
Updates a stack as specified in the template .