cloudformation

package
Version: v1.14.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package cloudformation provides the client and types for making API requests to AWS CloudFormation.

AWS CloudFormation allows you to create and manage AWS infrastructure deployments predictably and repeatedly. You can use AWS CloudFormation to leverage AWS products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly-reliable, highly scalable, cost-effective applications without creating or configuring the underlying AWS infrastructure.

With AWS CloudFormation, you declare all of your resources and dependencies in a template file. The template defines a collection of resources as a single unit called a stack. AWS CloudFormation creates and deletes all member resources of the stack together and manages all dependencies between the resources for you.

For more information about AWS CloudFormation, see the AWS CloudFormation Product Page (http://aws.amazon.com/cloudformation/).

Amazon CloudFormation makes use of other AWS products. If you need additional technical information about a specific AWS product, you can find the product's technical documentation at docs.aws.amazon.com (http://docs.aws.amazon.com/).

See https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15 for more information on this service.

See cloudformation package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/cloudformation/

Using the Client

To contact AWS CloudFormation with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS CloudFormation client CloudFormation for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/cloudformation/#New

Index

Constants

View Source
const (
	// AccountGateStatusSucceeded is a AccountGateStatus enum value
	AccountGateStatusSucceeded = "SUCCEEDED"

	// AccountGateStatusFailed is a AccountGateStatus enum value
	AccountGateStatusFailed = "FAILED"

	// AccountGateStatusSkipped is a AccountGateStatus enum value
	AccountGateStatusSkipped = "SKIPPED"
)
View Source
const (
	// CapabilityCapabilityIam is a Capability enum value
	CapabilityCapabilityIam = "CAPABILITY_IAM"

	// CapabilityCapabilityNamedIam is a Capability enum value
	CapabilityCapabilityNamedIam = "CAPABILITY_NAMED_IAM"
)
View Source
const (
	// ChangeActionAdd is a ChangeAction enum value
	ChangeActionAdd = "Add"

	// ChangeActionModify is a ChangeAction enum value
	ChangeActionModify = "Modify"

	// ChangeActionRemove is a ChangeAction enum value
	ChangeActionRemove = "Remove"
)
View Source
const (
	// ChangeSetStatusCreatePending is a ChangeSetStatus enum value
	ChangeSetStatusCreatePending = "CREATE_PENDING"

	// ChangeSetStatusCreateInProgress is a ChangeSetStatus enum value
	ChangeSetStatusCreateInProgress = "CREATE_IN_PROGRESS"

	// ChangeSetStatusCreateComplete is a ChangeSetStatus enum value
	ChangeSetStatusCreateComplete = "CREATE_COMPLETE"

	// ChangeSetStatusDeleteComplete is a ChangeSetStatus enum value
	ChangeSetStatusDeleteComplete = "DELETE_COMPLETE"

	// ChangeSetStatusFailed is a ChangeSetStatus enum value
	ChangeSetStatusFailed = "FAILED"
)
View Source
const (
	// ChangeSetTypeCreate is a ChangeSetType enum value
	ChangeSetTypeCreate = "CREATE"

	// ChangeSetTypeUpdate is a ChangeSetType enum value
	ChangeSetTypeUpdate = "UPDATE"
)
View Source
const (
	// ChangeSourceResourceReference is a ChangeSource enum value
	ChangeSourceResourceReference = "ResourceReference"

	// ChangeSourceParameterReference is a ChangeSource enum value
	ChangeSourceParameterReference = "ParameterReference"

	// ChangeSourceResourceAttribute is a ChangeSource enum value
	ChangeSourceResourceAttribute = "ResourceAttribute"

	// ChangeSourceDirectModification is a ChangeSource enum value
	ChangeSourceDirectModification = "DirectModification"

	// ChangeSourceAutomatic is a ChangeSource enum value
	ChangeSourceAutomatic = "Automatic"
)
View Source
const (
	// EvaluationTypeStatic is a EvaluationType enum value
	EvaluationTypeStatic = "Static"

	// EvaluationTypeDynamic is a EvaluationType enum value
	EvaluationTypeDynamic = "Dynamic"
)
View Source
const (
	// ExecutionStatusUnavailable is a ExecutionStatus enum value
	ExecutionStatusUnavailable = "UNAVAILABLE"

	// ExecutionStatusAvailable is a ExecutionStatus enum value
	ExecutionStatusAvailable = "AVAILABLE"

	// ExecutionStatusExecuteInProgress is a ExecutionStatus enum value
	ExecutionStatusExecuteInProgress = "EXECUTE_IN_PROGRESS"

	// ExecutionStatusExecuteComplete is a ExecutionStatus enum value
	ExecutionStatusExecuteComplete = "EXECUTE_COMPLETE"

	// ExecutionStatusExecuteFailed is a ExecutionStatus enum value
	ExecutionStatusExecuteFailed = "EXECUTE_FAILED"

	// ExecutionStatusObsolete is a ExecutionStatus enum value
	ExecutionStatusObsolete = "OBSOLETE"
)
View Source
const (
	// OnFailureDoNothing is a OnFailure enum value
	OnFailureDoNothing = "DO_NOTHING"

	// OnFailureRollback is a OnFailure enum value
	OnFailureRollback = "ROLLBACK"

	// OnFailureDelete is a OnFailure enum value
	OnFailureDelete = "DELETE"
)
View Source
const (
	// ReplacementTrue is a Replacement enum value
	ReplacementTrue = "True"

	// ReplacementFalse is a Replacement enum value
	ReplacementFalse = "False"

	// ReplacementConditional is a Replacement enum value
	ReplacementConditional = "Conditional"
)
View Source
const (
	// RequiresRecreationNever is a RequiresRecreation enum value
	RequiresRecreationNever = "Never"

	// RequiresRecreationConditionally is a RequiresRecreation enum value
	RequiresRecreationConditionally = "Conditionally"

	// RequiresRecreationAlways is a RequiresRecreation enum value
	RequiresRecreationAlways = "Always"
)
View Source
const (
	// ResourceAttributeProperties is a ResourceAttribute enum value
	ResourceAttributeProperties = "Properties"

	// ResourceAttributeMetadata is a ResourceAttribute enum value
	ResourceAttributeMetadata = "Metadata"

	// ResourceAttributeCreationPolicy is a ResourceAttribute enum value
	ResourceAttributeCreationPolicy = "CreationPolicy"

	// ResourceAttributeUpdatePolicy is a ResourceAttribute enum value
	ResourceAttributeUpdatePolicy = "UpdatePolicy"

	// ResourceAttributeDeletionPolicy is a ResourceAttribute enum value
	ResourceAttributeDeletionPolicy = "DeletionPolicy"

	// ResourceAttributeTags is a ResourceAttribute enum value
	ResourceAttributeTags = "Tags"
)
View Source
const (
	// ResourceSignalStatusSuccess is a ResourceSignalStatus enum value
	ResourceSignalStatusSuccess = "SUCCESS"

	// ResourceSignalStatusFailure is a ResourceSignalStatus enum value
	ResourceSignalStatusFailure = "FAILURE"
)
View Source
const (
	// ResourceStatusCreateInProgress is a ResourceStatus enum value
	ResourceStatusCreateInProgress = "CREATE_IN_PROGRESS"

	// ResourceStatusCreateFailed is a ResourceStatus enum value
	ResourceStatusCreateFailed = "CREATE_FAILED"

	// ResourceStatusCreateComplete is a ResourceStatus enum value
	ResourceStatusCreateComplete = "CREATE_COMPLETE"

	// ResourceStatusDeleteInProgress is a ResourceStatus enum value
	ResourceStatusDeleteInProgress = "DELETE_IN_PROGRESS"

	// ResourceStatusDeleteFailed is a ResourceStatus enum value
	ResourceStatusDeleteFailed = "DELETE_FAILED"

	// ResourceStatusDeleteComplete is a ResourceStatus enum value
	ResourceStatusDeleteComplete = "DELETE_COMPLETE"

	// ResourceStatusDeleteSkipped is a ResourceStatus enum value
	ResourceStatusDeleteSkipped = "DELETE_SKIPPED"

	// ResourceStatusUpdateInProgress is a ResourceStatus enum value
	ResourceStatusUpdateInProgress = "UPDATE_IN_PROGRESS"

	// ResourceStatusUpdateFailed is a ResourceStatus enum value
	ResourceStatusUpdateFailed = "UPDATE_FAILED"

	// ResourceStatusUpdateComplete is a ResourceStatus enum value
	ResourceStatusUpdateComplete = "UPDATE_COMPLETE"
)
View Source
const (
	// StackInstanceStatusCurrent is a StackInstanceStatus enum value
	StackInstanceStatusCurrent = "CURRENT"

	// StackInstanceStatusOutdated is a StackInstanceStatus enum value
	StackInstanceStatusOutdated = "OUTDATED"

	// StackInstanceStatusInoperable is a StackInstanceStatus enum value
	StackInstanceStatusInoperable = "INOPERABLE"
)
View Source
const (
	// StackSetOperationActionCreate is a StackSetOperationAction enum value
	StackSetOperationActionCreate = "CREATE"

	// StackSetOperationActionUpdate is a StackSetOperationAction enum value
	StackSetOperationActionUpdate = "UPDATE"

	// StackSetOperationActionDelete is a StackSetOperationAction enum value
	StackSetOperationActionDelete = "DELETE"
)
View Source
const (
	// StackSetOperationResultStatusPending is a StackSetOperationResultStatus enum value
	StackSetOperationResultStatusPending = "PENDING"

	// StackSetOperationResultStatusRunning is a StackSetOperationResultStatus enum value
	StackSetOperationResultStatusRunning = "RUNNING"

	// StackSetOperationResultStatusSucceeded is a StackSetOperationResultStatus enum value
	StackSetOperationResultStatusSucceeded = "SUCCEEDED"

	// StackSetOperationResultStatusFailed is a StackSetOperationResultStatus enum value
	StackSetOperationResultStatusFailed = "FAILED"

	// StackSetOperationResultStatusCancelled is a StackSetOperationResultStatus enum value
	StackSetOperationResultStatusCancelled = "CANCELLED"
)
View Source
const (
	// StackSetOperationStatusRunning is a StackSetOperationStatus enum value
	StackSetOperationStatusRunning = "RUNNING"

	// StackSetOperationStatusSucceeded is a StackSetOperationStatus enum value
	StackSetOperationStatusSucceeded = "SUCCEEDED"

	// StackSetOperationStatusFailed is a StackSetOperationStatus enum value
	StackSetOperationStatusFailed = "FAILED"

	// StackSetOperationStatusStopping is a StackSetOperationStatus enum value
	StackSetOperationStatusStopping = "STOPPING"

	// StackSetOperationStatusStopped is a StackSetOperationStatus enum value
	StackSetOperationStatusStopped = "STOPPED"
)
View Source
const (
	// StackSetStatusActive is a StackSetStatus enum value
	StackSetStatusActive = "ACTIVE"

	// StackSetStatusDeleted is a StackSetStatus enum value
	StackSetStatusDeleted = "DELETED"
)
View Source
const (
	// StackStatusCreateInProgress is a StackStatus enum value
	StackStatusCreateInProgress = "CREATE_IN_PROGRESS"

	// StackStatusCreateFailed is a StackStatus enum value
	StackStatusCreateFailed = "CREATE_FAILED"

	// StackStatusCreateComplete is a StackStatus enum value
	StackStatusCreateComplete = "CREATE_COMPLETE"

	// StackStatusRollbackInProgress is a StackStatus enum value
	StackStatusRollbackInProgress = "ROLLBACK_IN_PROGRESS"

	// StackStatusRollbackFailed is a StackStatus enum value
	StackStatusRollbackFailed = "ROLLBACK_FAILED"

	// StackStatusRollbackComplete is a StackStatus enum value
	StackStatusRollbackComplete = "ROLLBACK_COMPLETE"

	// StackStatusDeleteInProgress is a StackStatus enum value
	StackStatusDeleteInProgress = "DELETE_IN_PROGRESS"

	// StackStatusDeleteFailed is a StackStatus enum value
	StackStatusDeleteFailed = "DELETE_FAILED"

	// StackStatusDeleteComplete is a StackStatus enum value
	StackStatusDeleteComplete = "DELETE_COMPLETE"

	// StackStatusUpdateInProgress is a StackStatus enum value
	StackStatusUpdateInProgress = "UPDATE_IN_PROGRESS"

	// StackStatusUpdateCompleteCleanupInProgress is a StackStatus enum value
	StackStatusUpdateCompleteCleanupInProgress = "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS"

	// StackStatusUpdateComplete is a StackStatus enum value
	StackStatusUpdateComplete = "UPDATE_COMPLETE"

	// StackStatusUpdateRollbackInProgress is a StackStatus enum value
	StackStatusUpdateRollbackInProgress = "UPDATE_ROLLBACK_IN_PROGRESS"

	// StackStatusUpdateRollbackFailed is a StackStatus enum value
	StackStatusUpdateRollbackFailed = "UPDATE_ROLLBACK_FAILED"

	// StackStatusUpdateRollbackCompleteCleanupInProgress is a StackStatus enum value
	StackStatusUpdateRollbackCompleteCleanupInProgress = "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS"

	// StackStatusUpdateRollbackComplete is a StackStatus enum value
	StackStatusUpdateRollbackComplete = "UPDATE_ROLLBACK_COMPLETE"

	// StackStatusReviewInProgress is a StackStatus enum value
	StackStatusReviewInProgress = "REVIEW_IN_PROGRESS"
)
View Source
const (
	// TemplateStageOriginal is a TemplateStage enum value
	TemplateStageOriginal = "Original"

	// TemplateStageProcessed is a TemplateStage enum value
	TemplateStageProcessed = "Processed"
)
View Source
const (

	// ErrCodeAlreadyExistsException for service response error code
	// "AlreadyExistsException".
	//
	// The resource with the name requested already exists.
	ErrCodeAlreadyExistsException = "AlreadyExistsException"

	// ErrCodeChangeSetNotFoundException for service response error code
	// "ChangeSetNotFound".
	//
	// The specified change set name or ID doesn't exit. To view valid change sets
	// for a stack, use the ListChangeSets action.
	ErrCodeChangeSetNotFoundException = "ChangeSetNotFound"

	// ErrCodeCreatedButModifiedException for service response error code
	// "CreatedButModifiedException".
	//
	// The specified resource exists, but has been changed.
	ErrCodeCreatedButModifiedException = "CreatedButModifiedException"

	// ErrCodeInsufficientCapabilitiesException for service response error code
	// "InsufficientCapabilitiesException".
	//
	// The template contains resources with capabilities that weren't specified
	// in the Capabilities parameter.
	ErrCodeInsufficientCapabilitiesException = "InsufficientCapabilitiesException"

	// ErrCodeInvalidChangeSetStatusException for service response error code
	// "InvalidChangeSetStatus".
	//
	// The specified change set can't be used to update the stack. For example,
	// the change set status might be CREATE_IN_PROGRESS, or the stack status might
	// be UPDATE_IN_PROGRESS.
	ErrCodeInvalidChangeSetStatusException = "InvalidChangeSetStatus"

	// ErrCodeInvalidOperationException for service response error code
	// "InvalidOperationException".
	//
	// The specified operation isn't valid.
	ErrCodeInvalidOperationException = "InvalidOperationException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// The quota for the resource has already been reached.
	//
	// For information on stack set limitations, see Limitations of StackSets (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-limitations.html).
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeNameAlreadyExistsException for service response error code
	// "NameAlreadyExistsException".
	//
	// The specified name is already in use.
	ErrCodeNameAlreadyExistsException = "NameAlreadyExistsException"

	// ErrCodeOperationIdAlreadyExistsException for service response error code
	// "OperationIdAlreadyExistsException".
	//
	// The specified operation ID already exists.
	ErrCodeOperationIdAlreadyExistsException = "OperationIdAlreadyExistsException"

	// ErrCodeOperationInProgressException for service response error code
	// "OperationInProgressException".
	//
	// Another operation is currently in progress for this stack set. Only one operation
	// can be performed for a stack set at a given time.
	ErrCodeOperationInProgressException = "OperationInProgressException"

	// ErrCodeOperationNotFoundException for service response error code
	// "OperationNotFoundException".
	//
	// The specified ID refers to an operation that doesn't exist.
	ErrCodeOperationNotFoundException = "OperationNotFoundException"

	// ErrCodeStackInstanceNotFoundException for service response error code
	// "StackInstanceNotFoundException".
	//
	// The specified stack instance doesn't exist.
	ErrCodeStackInstanceNotFoundException = "StackInstanceNotFoundException"

	// ErrCodeStackSetNotEmptyException for service response error code
	// "StackSetNotEmptyException".
	//
	// You can't yet delete this stack set, because it still contains one or more
	// stack instances. Delete all stack instances from the stack set before deleting
	// the stack set.
	ErrCodeStackSetNotEmptyException = "StackSetNotEmptyException"

	// ErrCodeStackSetNotFoundException for service response error code
	// "StackSetNotFoundException".
	//
	// The specified stack set doesn't exist.
	ErrCodeStackSetNotFoundException = "StackSetNotFoundException"

	// ErrCodeStaleRequestException for service response error code
	// "StaleRequestException".
	//
	// Another operation has been performed on this stack set since the specified
	// operation was performed.
	ErrCodeStaleRequestException = "StaleRequestException"

	// ErrCodeTokenAlreadyExistsException for service response error code
	// "TokenAlreadyExistsException".
	//
	// A client request token already exists.
	ErrCodeTokenAlreadyExistsException = "TokenAlreadyExistsException"
)
View Source
const (
	ServiceName = "cloudformation" // Name of service.
	EndpointsID = ServiceName      // ID to lookup a service endpoint with.
	ServiceID   = "CloudFormation" // ServiceID is a unique identifer of a specific service.
)

Service information constants

View Source
const (
	// ChangeTypeResource is a ChangeType enum value
	ChangeTypeResource = "Resource"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountGateResult added in v1.10.16

type AccountGateResult struct {

	// The status of the account gate function.
	//
	//    * SUCCEEDED: The account gate function has determined that the account
	//    and region passes any requirements for a stack set operation to occur.
	//    AWS CloudFormation proceeds with the stack operation in that account and
	//    region.
	//
	//    * FAILED: The account gate function has determined that the account and
	//    region does not meet the requirements for a stack set operation to occur.
	//    AWS CloudFormation cancels the stack set operation in that account and
	//    region, and sets the stack set operation result status for that account
	//    and region to FAILED.
	//
	//    * SKIPPED: AWS CloudFormation has skipped calling the account gate function
	//    for this account and region, for one of the following reasons:
	//
	// An account gate function has not been specified for the account and region.
	//    AWS CloudFormation proceeds with the stack set operation in this account
	//    and region.
	//
	// The AWSCloudFormationStackSetExecutionRole of the stack set adminstration
	//    account lacks permissions to invoke the function. AWS CloudFormation proceeds
	//    with the stack set operation in this account and region.
	//
	// Either no action is necessary, or no action is possible, on the stack. AWS
	//    CloudFormation skips the stack set operation in this account and region.
	Status *string `type:"string" enum:"AccountGateStatus"`

	// The reason for the account gate status assigned to this account and region
	// for the stack set operation.
	StatusReason *string `type:"string"`
	// contains filtered or unexported fields
}

Structure that contains the results of the account gate function which AWS CloudFormation invokes, if present, before proceeding with a stack set operation in an account and region.

For each account and region, AWS CloudFormation lets you specify a Lamdba function that encapsulates any requirements that must be met before CloudFormation can proceed with a stack set operation in that account and region. CloudFormation invokes the function each time a stack set operation is requested for that account and region; if the function returns FAILED, CloudFormation cancels the operation in that account and region, and sets the stack set operation result status for that account and region to FAILED.

For more information, see Configuring a target account gate (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-account-gating.html).

func (AccountGateResult) GoString added in v1.10.16

func (s AccountGateResult) GoString() string

GoString returns the string representation

func (*AccountGateResult) SetStatus added in v1.10.16

func (s *AccountGateResult) SetStatus(v string) *AccountGateResult

SetStatus sets the Status field's value.

func (*AccountGateResult) SetStatusReason added in v1.10.16

func (s *AccountGateResult) SetStatusReason(v string) *AccountGateResult

SetStatusReason sets the StatusReason field's value.

func (AccountGateResult) String added in v1.10.16

func (s AccountGateResult) String() string

String returns the string representation

type AccountLimit added in v0.9.10

type AccountLimit struct {

	// The name of the account limit. Currently, the only account limit is StackLimit.
	Name *string `type:"string"`

	// The value that is associated with the account limit name.
	Value *int64 `type:"integer"`
	// contains filtered or unexported fields
}

The AccountLimit data type.

func (AccountLimit) GoString added in v0.9.10

func (s AccountLimit) GoString() string

GoString returns the string representation

func (*AccountLimit) SetName added in v1.5.0

func (s *AccountLimit) SetName(v string) *AccountLimit

SetName sets the Name field's value.

func (*AccountLimit) SetValue added in v1.5.0

func (s *AccountLimit) SetValue(v int64) *AccountLimit

SetValue sets the Value field's value.

func (AccountLimit) String added in v0.9.10

func (s AccountLimit) String() string

String returns the string representation

type CancelUpdateStackInput

type CancelUpdateStackInput struct {

	// A unique identifier for this CancelUpdateStack request. Specify this token
	// if you plan to retry requests so that AWS CloudFormation knows that you're
	// not attempting to cancel an update on a stack with the same name. You might
	// retry CancelUpdateStack requests to ensure that AWS CloudFormation successfully
	// received them.
	ClientRequestToken *string `min:"1" type:"string"`

	// The name or the unique stack ID that is associated with the stack.
	//
	// StackName is a required field
	StackName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the CancelUpdateStack action.

func (CancelUpdateStackInput) GoString added in v0.6.5

func (s CancelUpdateStackInput) GoString() string

GoString returns the string representation

func (*CancelUpdateStackInput) SetClientRequestToken added in v1.8.18

func (s *CancelUpdateStackInput) SetClientRequestToken(v string) *CancelUpdateStackInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CancelUpdateStackInput) SetStackName added in v1.5.0

SetStackName sets the StackName field's value.

func (CancelUpdateStackInput) String added in v0.6.5

func (s CancelUpdateStackInput) String() string

String returns the string representation

func (*CancelUpdateStackInput) Validate added in v1.1.21

func (s *CancelUpdateStackInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelUpdateStackOutput

type CancelUpdateStackOutput struct {
	// contains filtered or unexported fields
}

func (CancelUpdateStackOutput) GoString added in v0.6.5

func (s CancelUpdateStackOutput) GoString() string

GoString returns the string representation

func (CancelUpdateStackOutput) String added in v0.6.5

func (s CancelUpdateStackOutput) String() string

String returns the string representation

type Change added in v1.1.15

type Change struct {

	// A ResourceChange structure that describes the resource and action that AWS
	// CloudFormation will perform.
	ResourceChange *ResourceChange `type:"structure"`

	// The type of entity that AWS CloudFormation changes. Currently, the only entity
	// type is Resource.
	Type *string `type:"string" enum:"ChangeType"`
	// contains filtered or unexported fields
}

The Change structure describes the changes AWS CloudFormation will perform if you execute the change set.

func (Change) GoString added in v1.1.15

func (s Change) GoString() string

GoString returns the string representation

func (*Change) SetResourceChange added in v1.5.0

func (s *Change) SetResourceChange(v *ResourceChange) *Change

SetResourceChange sets the ResourceChange field's value.

func (*Change) SetType added in v1.5.0

func (s *Change) SetType(v string) *Change

SetType sets the Type field's value.

func (Change) String added in v1.1.15

func (s Change) String() string

String returns the string representation

type ChangeSetSummary added in v1.1.15

type ChangeSetSummary struct {

	// The ID of the change set.
	ChangeSetId *string `min:"1" type:"string"`

	// The name of the change set.
	ChangeSetName *string `min:"1" type:"string"`

	// The start time when the change set was created, in UTC.
	CreationTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Descriptive information about the change set.
	Description *string `min:"1" type:"string"`

	// If the change set execution status is AVAILABLE, you can execute the change
	// set. If you can’t execute the change set, the status indicates why. For example,
	// a change set might be in an UNAVAILABLE state because AWS CloudFormation
	// is still creating it or in an OBSOLETE state because the stack was already
	// updated.
	ExecutionStatus *string `type:"string" enum:"ExecutionStatus"`

	// The ID of the stack with which the change set is associated.
	StackId *string `type:"string"`

	// The name of the stack with which the change set is associated.
	StackName *string `type:"string"`

	// The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE,
	// or FAILED.
	Status *string `type:"string" enum:"ChangeSetStatus"`

	// A description of the change set's status. For example, if your change set
	// is in the FAILED state, AWS CloudFormation shows the error message.
	StatusReason *string `type:"string"`
	// contains filtered or unexported fields
}

The ChangeSetSummary structure describes a change set, its status, and the stack with which it's associated.

func (ChangeSetSummary) GoString added in v1.1.15

func (s ChangeSetSummary) GoString() string

GoString returns the string representation

func (*ChangeSetSummary) SetChangeSetId added in v1.5.0

func (s *ChangeSetSummary) SetChangeSetId(v string) *ChangeSetSummary

SetChangeSetId sets the ChangeSetId field's value.

func (*ChangeSetSummary) SetChangeSetName added in v1.5.0

func (s *ChangeSetSummary) SetChangeSetName(v string) *ChangeSetSummary

SetChangeSetName sets the ChangeSetName field's value.

func (*ChangeSetSummary) SetCreationTime added in v1.5.0

func (s *ChangeSetSummary) SetCreationTime(v time.Time) *ChangeSetSummary

SetCreationTime sets the CreationTime field's value.

func (*ChangeSetSummary) SetDescription added in v1.5.0

func (s *ChangeSetSummary) SetDescription(v string) *ChangeSetSummary

SetDescription sets the Description field's value.

func (*ChangeSetSummary) SetExecutionStatus added in v1.5.0

func (s *ChangeSetSummary) SetExecutionStatus(v string) *ChangeSetSummary

SetExecutionStatus sets the ExecutionStatus field's value.

func (*ChangeSetSummary) SetStackId added in v1.5.0

func (s *ChangeSetSummary) SetStackId(v string) *ChangeSetSummary

SetStackId sets the StackId field's value.

func (*ChangeSetSummary) SetStackName added in v1.5.0

func (s *ChangeSetSummary) SetStackName(v string) *ChangeSetSummary

SetStackName sets the StackName field's value.

func (*ChangeSetSummary) SetStatus added in v1.5.0

func (s *ChangeSetSummary) SetStatus(v string) *ChangeSetSummary

SetStatus sets the Status field's value.

func (*ChangeSetSummary) SetStatusReason added in v1.5.0

func (s *ChangeSetSummary) SetStatusReason(v string) *ChangeSetSummary

SetStatusReason sets the StatusReason field's value.

func (ChangeSetSummary) String added in v1.1.15

func (s ChangeSetSummary) String() string

String returns the string representation

type CloudFormation

type CloudFormation struct {
	*client.Client
}

CloudFormation provides the API operation methods for making requests to AWS CloudFormation. See this package's package overview docs for details on the service.

CloudFormation methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudFormation

New creates a new instance of the CloudFormation client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a CloudFormation client from just a session.
svc := cloudformation.New(mySession)

// Create a CloudFormation client with additional configuration
svc := cloudformation.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*CloudFormation) CancelUpdateStack

func (c *CloudFormation) CancelUpdateStack(input *CancelUpdateStackInput) (*CancelUpdateStackOutput, error)

CancelUpdateStack API operation for AWS CloudFormation.

Cancels an update on the specified stack. If the call completes successfully, the stack rolls back the update and reverts to the previous stack configuration.

You can cancel only stacks that are in the UPDATE_IN_PROGRESS state.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation CancelUpdateStack for usage and error information.

Returned Error Codes:

  • ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" A client request token already exists.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStack

func (*CloudFormation) CancelUpdateStackRequest

func (c *CloudFormation) CancelUpdateStackRequest(input *CancelUpdateStackInput) (req *request.Request, output *CancelUpdateStackOutput)

CancelUpdateStackRequest generates a "aws/request.Request" representing the client's request for the CancelUpdateStack operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CancelUpdateStack for more information on using the CancelUpdateStack API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CancelUpdateStackRequest method.
req, resp := client.CancelUpdateStackRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStack

func (*CloudFormation) CancelUpdateStackWithContext added in v1.8.0

func (c *CloudFormation) CancelUpdateStackWithContext(ctx aws.Context, input *CancelUpdateStackInput, opts ...request.Option) (*CancelUpdateStackOutput, error)

CancelUpdateStackWithContext is the same as CancelUpdateStack with the addition of the ability to pass a context and additional request options.

See CancelUpdateStack for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ContinueUpdateRollback added in v1.0.11

func (c *CloudFormation) ContinueUpdateRollback(input *ContinueUpdateRollbackInput) (*ContinueUpdateRollbackOutput, error)

ContinueUpdateRollback API operation for AWS CloudFormation.

For a specified stack that is in the UPDATE_ROLLBACK_FAILED state, continues rolling it back to the UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the failure, you can manually fix the error (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed) and continue the rollback. By continuing the rollback, you can return your stack to a working state (the UPDATE_ROLLBACK_COMPLETE state), and then try to update the stack again.

A stack goes into the UPDATE_ROLLBACK_FAILED state when AWS CloudFormation cannot roll back all changes after a failed stack update. For example, you might have a stack that is rolling back to an old database instance that was deleted outside of AWS CloudFormation. Because AWS CloudFormation doesn't know the database was deleted, it assumes that the database instance still exists and attempts to roll back to it, causing the update rollback to fail.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation ContinueUpdateRollback for usage and error information.

Returned Error Codes:

  • ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" A client request token already exists.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollback

func (*CloudFormation) ContinueUpdateRollbackRequest added in v1.0.11

func (c *CloudFormation) ContinueUpdateRollbackRequest(input *ContinueUpdateRollbackInput) (req *request.Request, output *ContinueUpdateRollbackOutput)

ContinueUpdateRollbackRequest generates a "aws/request.Request" representing the client's request for the ContinueUpdateRollback operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ContinueUpdateRollback for more information on using the ContinueUpdateRollback API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ContinueUpdateRollbackRequest method.
req, resp := client.ContinueUpdateRollbackRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollback

func (*CloudFormation) ContinueUpdateRollbackWithContext added in v1.8.0

func (c *CloudFormation) ContinueUpdateRollbackWithContext(ctx aws.Context, input *ContinueUpdateRollbackInput, opts ...request.Option) (*ContinueUpdateRollbackOutput, error)

ContinueUpdateRollbackWithContext is the same as ContinueUpdateRollback with the addition of the ability to pass a context and additional request options.

See ContinueUpdateRollback for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) CreateChangeSet added in v1.1.15

func (c *CloudFormation) CreateChangeSet(input *CreateChangeSetInput) (*CreateChangeSetOutput, error)

CreateChangeSet API operation for AWS CloudFormation.

Creates a list of changes that will be applied to a stack so that you can review the changes before executing them. You can create a change set for a stack that doesn't exist or an existing stack. If you create a change set for a stack that doesn't exist, the change set shows all of the resources that AWS CloudFormation will create. If you create a change set for an existing stack, AWS CloudFormation compares the stack's information with the information that you submit in the change set and lists the differences. Use change sets to understand which resources AWS CloudFormation will create or change, and how it will change resources in an existing stack, before you create or update a stack.

To create a change set for a stack that doesn't exist, for the ChangeSetType parameter, specify CREATE. To create a change set for an existing stack, specify UPDATE for the ChangeSetType parameter. After the CreateChangeSet call successfully completes, AWS CloudFormation starts creating the change set. To check the status of the change set or to review it, use the DescribeChangeSet action.

When you are satisfied with the changes the change set will make, execute the change set by using the ExecuteChangeSet action. AWS CloudFormation doesn't make changes until you execute the change set.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation CreateChangeSet for usage and error information.

Returned Error Codes:

  • ErrCodeAlreadyExistsException "AlreadyExistsException" The resource with the name requested already exists.

  • ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException" The template contains resources with capabilities that weren't specified in the Capabilities parameter.

  • ErrCodeLimitExceededException "LimitExceededException" The quota for the resource has already been reached.

    For information on stack set limitations, see Limitations of StackSets (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-limitations.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet

func (*CloudFormation) CreateChangeSetRequest added in v1.1.15

func (c *CloudFormation) CreateChangeSetRequest(input *CreateChangeSetInput) (req *request.Request, output *CreateChangeSetOutput)

CreateChangeSetRequest generates a "aws/request.Request" representing the client's request for the CreateChangeSet operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateChangeSet for more information on using the CreateChangeSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateChangeSetRequest method.
req, resp := client.CreateChangeSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet

func (*CloudFormation) CreateChangeSetWithContext added in v1.8.0

func (c *CloudFormation) CreateChangeSetWithContext(ctx aws.Context, input *CreateChangeSetInput, opts ...request.Option) (*CreateChangeSetOutput, error)

CreateChangeSetWithContext is the same as CreateChangeSet with the addition of the ability to pass a context and additional request options.

See CreateChangeSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) CreateStack

func (c *CloudFormation) CreateStack(input *CreateStackInput) (*CreateStackOutput, error)

CreateStack API operation for AWS CloudFormation.

Creates a stack as specified in the template. After the call completes successfully, the stack creation starts. You can check the status of the stack via the DescribeStacks API.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation CreateStack for usage and error information.

Returned Error Codes:

  • ErrCodeLimitExceededException "LimitExceededException" The quota for the resource has already been reached.

    For information on stack set limitations, see Limitations of StackSets (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-limitations.html).

  • ErrCodeAlreadyExistsException "AlreadyExistsException" The resource with the name requested already exists.

  • ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" A client request token already exists.

  • ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException" The template contains resources with capabilities that weren't specified in the Capabilities parameter.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStack

func (*CloudFormation) CreateStackInstances added in v1.10.16

func (c *CloudFormation) CreateStackInstances(input *CreateStackInstancesInput) (*CreateStackInstancesOutput, error)

CreateStackInstances API operation for AWS CloudFormation.

Creates stack instances for the specified accounts, within the specified regions. A stack instance refers to a stack in a specific account and region. Accounts and Regions are required parameters—you must specify at least one account and one region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation CreateStackInstances for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotFoundException "StackSetNotFoundException" The specified stack set doesn't exist.

  • ErrCodeOperationInProgressException "OperationInProgressException" Another operation is currently in progress for this stack set. Only one operation can be performed for a stack set at a given time.

  • ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" The specified operation ID already exists.

  • ErrCodeStaleRequestException "StaleRequestException" Another operation has been performed on this stack set since the specified operation was performed.

  • ErrCodeInvalidOperationException "InvalidOperationException" The specified operation isn't valid.

  • ErrCodeLimitExceededException "LimitExceededException" The quota for the resource has already been reached.

    For information on stack set limitations, see Limitations of StackSets (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-limitations.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstances

func (*CloudFormation) CreateStackInstancesRequest added in v1.10.16

func (c *CloudFormation) CreateStackInstancesRequest(input *CreateStackInstancesInput) (req *request.Request, output *CreateStackInstancesOutput)

CreateStackInstancesRequest generates a "aws/request.Request" representing the client's request for the CreateStackInstances operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateStackInstances for more information on using the CreateStackInstances API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateStackInstancesRequest method.
req, resp := client.CreateStackInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstances

func (*CloudFormation) CreateStackInstancesWithContext added in v1.10.16

func (c *CloudFormation) CreateStackInstancesWithContext(ctx aws.Context, input *CreateStackInstancesInput, opts ...request.Option) (*CreateStackInstancesOutput, error)

CreateStackInstancesWithContext is the same as CreateStackInstances with the addition of the ability to pass a context and additional request options.

See CreateStackInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) CreateStackRequest

func (c *CloudFormation) CreateStackRequest(input *CreateStackInput) (req *request.Request, output *CreateStackOutput)

CreateStackRequest generates a "aws/request.Request" representing the client's request for the CreateStack operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateStack for more information on using the CreateStack API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateStackRequest method.
req, resp := client.CreateStackRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStack

func (*CloudFormation) CreateStackSet added in v1.10.16

func (c *CloudFormation) CreateStackSet(input *CreateStackSetInput) (*CreateStackSetOutput, error)

CreateStackSet API operation for AWS CloudFormation.

Creates a stack set.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation CreateStackSet for usage and error information.

Returned Error Codes:

  • ErrCodeNameAlreadyExistsException "NameAlreadyExistsException" The specified name is already in use.

  • ErrCodeCreatedButModifiedException "CreatedButModifiedException" The specified resource exists, but has been changed.

  • ErrCodeLimitExceededException "LimitExceededException" The quota for the resource has already been reached.

    For information on stack set limitations, see Limitations of StackSets (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-limitations.html).

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSet

func (*CloudFormation) CreateStackSetRequest added in v1.10.16

func (c *CloudFormation) CreateStackSetRequest(input *CreateStackSetInput) (req *request.Request, output *CreateStackSetOutput)

CreateStackSetRequest generates a "aws/request.Request" representing the client's request for the CreateStackSet operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateStackSet for more information on using the CreateStackSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateStackSetRequest method.
req, resp := client.CreateStackSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSet

func (*CloudFormation) CreateStackSetWithContext added in v1.10.16

func (c *CloudFormation) CreateStackSetWithContext(ctx aws.Context, input *CreateStackSetInput, opts ...request.Option) (*CreateStackSetOutput, error)

CreateStackSetWithContext is the same as CreateStackSet with the addition of the ability to pass a context and additional request options.

See CreateStackSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) CreateStackWithContext added in v1.8.0

func (c *CloudFormation) CreateStackWithContext(ctx aws.Context, input *CreateStackInput, opts ...request.Option) (*CreateStackOutput, error)

CreateStackWithContext is the same as CreateStack with the addition of the ability to pass a context and additional request options.

See CreateStack for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DeleteChangeSet added in v1.1.15

func (c *CloudFormation) DeleteChangeSet(input *DeleteChangeSetInput) (*DeleteChangeSetOutput, error)

DeleteChangeSet API operation for AWS CloudFormation.

Deletes the specified change set. Deleting change sets ensures that no one executes the wrong change set.

If the call successfully completes, AWS CloudFormation successfully deleted the change set.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DeleteChangeSet for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidChangeSetStatusException "InvalidChangeSetStatus" The specified change set can't be used to update the stack. For example, the change set status might be CREATE_IN_PROGRESS, or the stack status might be UPDATE_IN_PROGRESS.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSet

func (*CloudFormation) DeleteChangeSetRequest added in v1.1.15

func (c *CloudFormation) DeleteChangeSetRequest(input *DeleteChangeSetInput) (req *request.Request, output *DeleteChangeSetOutput)

DeleteChangeSetRequest generates a "aws/request.Request" representing the client's request for the DeleteChangeSet operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteChangeSet for more information on using the DeleteChangeSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteChangeSetRequest method.
req, resp := client.DeleteChangeSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSet

func (*CloudFormation) DeleteChangeSetWithContext added in v1.8.0

func (c *CloudFormation) DeleteChangeSetWithContext(ctx aws.Context, input *DeleteChangeSetInput, opts ...request.Option) (*DeleteChangeSetOutput, error)

DeleteChangeSetWithContext is the same as DeleteChangeSet with the addition of the ability to pass a context and additional request options.

See DeleteChangeSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DeleteStack

func (c *CloudFormation) DeleteStack(input *DeleteStackInput) (*DeleteStackOutput, error)

DeleteStack API operation for AWS CloudFormation.

Deletes a specified stack. Once the call completes successfully, stack deletion starts. Deleted stacks do not show up in the DescribeStacks API if the deletion has been completed successfully.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DeleteStack for usage and error information.

Returned Error Codes:

  • ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" A client request token already exists.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack

func (*CloudFormation) DeleteStackInstances added in v1.10.16

func (c *CloudFormation) DeleteStackInstances(input *DeleteStackInstancesInput) (*DeleteStackInstancesOutput, error)

DeleteStackInstances API operation for AWS CloudFormation.

Deletes stack instances for the specified accounts, in the specified regions.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DeleteStackInstances for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotFoundException "StackSetNotFoundException" The specified stack set doesn't exist.

  • ErrCodeOperationInProgressException "OperationInProgressException" Another operation is currently in progress for this stack set. Only one operation can be performed for a stack set at a given time.

  • ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" The specified operation ID already exists.

  • ErrCodeStaleRequestException "StaleRequestException" Another operation has been performed on this stack set since the specified operation was performed.

  • ErrCodeInvalidOperationException "InvalidOperationException" The specified operation isn't valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstances

func (*CloudFormation) DeleteStackInstancesRequest added in v1.10.16

func (c *CloudFormation) DeleteStackInstancesRequest(input *DeleteStackInstancesInput) (req *request.Request, output *DeleteStackInstancesOutput)

DeleteStackInstancesRequest generates a "aws/request.Request" representing the client's request for the DeleteStackInstances operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteStackInstances for more information on using the DeleteStackInstances API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteStackInstancesRequest method.
req, resp := client.DeleteStackInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstances

func (*CloudFormation) DeleteStackInstancesWithContext added in v1.10.16

func (c *CloudFormation) DeleteStackInstancesWithContext(ctx aws.Context, input *DeleteStackInstancesInput, opts ...request.Option) (*DeleteStackInstancesOutput, error)

DeleteStackInstancesWithContext is the same as DeleteStackInstances with the addition of the ability to pass a context and additional request options.

See DeleteStackInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DeleteStackRequest

func (c *CloudFormation) DeleteStackRequest(input *DeleteStackInput) (req *request.Request, output *DeleteStackOutput)

DeleteStackRequest generates a "aws/request.Request" representing the client's request for the DeleteStack operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteStack for more information on using the DeleteStack API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteStackRequest method.
req, resp := client.DeleteStackRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack

func (*CloudFormation) DeleteStackSet added in v1.10.16

func (c *CloudFormation) DeleteStackSet(input *DeleteStackSetInput) (*DeleteStackSetOutput, error)

DeleteStackSet API operation for AWS CloudFormation.

Deletes a stack set. Before you can delete a stack set, all of its member stack instances must be deleted. For more information about how to do this, see DeleteStackInstances.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DeleteStackSet for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotEmptyException "StackSetNotEmptyException" You can't yet delete this stack set, because it still contains one or more stack instances. Delete all stack instances from the stack set before deleting the stack set.

  • ErrCodeOperationInProgressException "OperationInProgressException" Another operation is currently in progress for this stack set. Only one operation can be performed for a stack set at a given time.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSet

func (*CloudFormation) DeleteStackSetRequest added in v1.10.16

func (c *CloudFormation) DeleteStackSetRequest(input *DeleteStackSetInput) (req *request.Request, output *DeleteStackSetOutput)

DeleteStackSetRequest generates a "aws/request.Request" representing the client's request for the DeleteStackSet operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteStackSet for more information on using the DeleteStackSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteStackSetRequest method.
req, resp := client.DeleteStackSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSet

func (*CloudFormation) DeleteStackSetWithContext added in v1.10.16

func (c *CloudFormation) DeleteStackSetWithContext(ctx aws.Context, input *DeleteStackSetInput, opts ...request.Option) (*DeleteStackSetOutput, error)

DeleteStackSetWithContext is the same as DeleteStackSet with the addition of the ability to pass a context and additional request options.

See DeleteStackSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DeleteStackWithContext added in v1.8.0

func (c *CloudFormation) DeleteStackWithContext(ctx aws.Context, input *DeleteStackInput, opts ...request.Option) (*DeleteStackOutput, error)

DeleteStackWithContext is the same as DeleteStack with the addition of the ability to pass a context and additional request options.

See DeleteStack for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DescribeAccountLimits added in v0.9.10

func (c *CloudFormation) DescribeAccountLimits(input *DescribeAccountLimitsInput) (*DescribeAccountLimitsOutput, error)

DescribeAccountLimits API operation for AWS CloudFormation.

Retrieves your account's AWS CloudFormation limits, such as the maximum number of stacks that you can create in your account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DescribeAccountLimits for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimits

func (*CloudFormation) DescribeAccountLimitsRequest added in v0.9.10

func (c *CloudFormation) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput)

DescribeAccountLimitsRequest generates a "aws/request.Request" representing the client's request for the DescribeAccountLimits operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeAccountLimits for more information on using the DescribeAccountLimits API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeAccountLimitsRequest method.
req, resp := client.DescribeAccountLimitsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimits

func (*CloudFormation) DescribeAccountLimitsWithContext added in v1.8.0

func (c *CloudFormation) DescribeAccountLimitsWithContext(ctx aws.Context, input *DescribeAccountLimitsInput, opts ...request.Option) (*DescribeAccountLimitsOutput, error)

DescribeAccountLimitsWithContext is the same as DescribeAccountLimits with the addition of the ability to pass a context and additional request options.

See DescribeAccountLimits for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DescribeChangeSet added in v1.1.15

func (c *CloudFormation) DescribeChangeSet(input *DescribeChangeSetInput) (*DescribeChangeSetOutput, error)

DescribeChangeSet API operation for AWS CloudFormation.

Returns the inputs for the change set and a list of changes that AWS CloudFormation will make if you execute the change set. For more information, see Updating Stacks Using Change Sets (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-changesets.html) in the AWS CloudFormation User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DescribeChangeSet for usage and error information.

Returned Error Codes:

  • ErrCodeChangeSetNotFoundException "ChangeSetNotFound" The specified change set name or ID doesn't exit. To view valid change sets for a stack, use the ListChangeSets action.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSet

func (*CloudFormation) DescribeChangeSetRequest added in v1.1.15

func (c *CloudFormation) DescribeChangeSetRequest(input *DescribeChangeSetInput) (req *request.Request, output *DescribeChangeSetOutput)

DescribeChangeSetRequest generates a "aws/request.Request" representing the client's request for the DescribeChangeSet operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeChangeSet for more information on using the DescribeChangeSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeChangeSetRequest method.
req, resp := client.DescribeChangeSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSet

func (*CloudFormation) DescribeChangeSetWithContext added in v1.8.0

func (c *CloudFormation) DescribeChangeSetWithContext(ctx aws.Context, input *DescribeChangeSetInput, opts ...request.Option) (*DescribeChangeSetOutput, error)

DescribeChangeSetWithContext is the same as DescribeChangeSet with the addition of the ability to pass a context and additional request options.

See DescribeChangeSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DescribeStackEvents

func (c *CloudFormation) DescribeStackEvents(input *DescribeStackEventsInput) (*DescribeStackEventsOutput, error)

DescribeStackEvents API operation for AWS CloudFormation.

Returns all stack related events for a specified stack in reverse chronological order. For more information about a stack's event history, go to Stacks (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/concept-stack.html) in the AWS CloudFormation User Guide.

You can list events for stacks that have failed to create or have been deleted by specifying the unique stack identifier (stack ID).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DescribeStackEvents for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEvents

func (*CloudFormation) DescribeStackEventsPages

func (c *CloudFormation) DescribeStackEventsPages(input *DescribeStackEventsInput, fn func(*DescribeStackEventsOutput, bool) bool) error

DescribeStackEventsPages iterates over the pages of a DescribeStackEvents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeStackEvents method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeStackEvents operation.
pageNum := 0
err := client.DescribeStackEventsPages(params,
    func(page *DescribeStackEventsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CloudFormation) DescribeStackEventsPagesWithContext added in v1.8.0

func (c *CloudFormation) DescribeStackEventsPagesWithContext(ctx aws.Context, input *DescribeStackEventsInput, fn func(*DescribeStackEventsOutput, bool) bool, opts ...request.Option) error

DescribeStackEventsPagesWithContext same as DescribeStackEventsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DescribeStackEventsRequest

func (c *CloudFormation) DescribeStackEventsRequest(input *DescribeStackEventsInput) (req *request.Request, output *DescribeStackEventsOutput)

DescribeStackEventsRequest generates a "aws/request.Request" representing the client's request for the DescribeStackEvents operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeStackEvents for more information on using the DescribeStackEvents API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeStackEventsRequest method.
req, resp := client.DescribeStackEventsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEvents

func (*CloudFormation) DescribeStackEventsWithContext added in v1.8.0

func (c *CloudFormation) DescribeStackEventsWithContext(ctx aws.Context, input *DescribeStackEventsInput, opts ...request.Option) (*DescribeStackEventsOutput, error)

DescribeStackEventsWithContext is the same as DescribeStackEvents with the addition of the ability to pass a context and additional request options.

See DescribeStackEvents for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DescribeStackInstance added in v1.10.16

func (c *CloudFormation) DescribeStackInstance(input *DescribeStackInstanceInput) (*DescribeStackInstanceOutput, error)

DescribeStackInstance API operation for AWS CloudFormation.

Returns the stack instance that's associated with the specified stack set, AWS account, and region.

For a list of stack instances that are associated with a specific stack set, use ListStackInstances.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DescribeStackInstance for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotFoundException "StackSetNotFoundException" The specified stack set doesn't exist.

  • ErrCodeStackInstanceNotFoundException "StackInstanceNotFoundException" The specified stack instance doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstance

func (*CloudFormation) DescribeStackInstanceRequest added in v1.10.16

func (c *CloudFormation) DescribeStackInstanceRequest(input *DescribeStackInstanceInput) (req *request.Request, output *DescribeStackInstanceOutput)

DescribeStackInstanceRequest generates a "aws/request.Request" representing the client's request for the DescribeStackInstance operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeStackInstance for more information on using the DescribeStackInstance API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeStackInstanceRequest method.
req, resp := client.DescribeStackInstanceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstance

func (*CloudFormation) DescribeStackInstanceWithContext added in v1.10.16

func (c *CloudFormation) DescribeStackInstanceWithContext(ctx aws.Context, input *DescribeStackInstanceInput, opts ...request.Option) (*DescribeStackInstanceOutput, error)

DescribeStackInstanceWithContext is the same as DescribeStackInstance with the addition of the ability to pass a context and additional request options.

See DescribeStackInstance for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DescribeStackResource

func (c *CloudFormation) DescribeStackResource(input *DescribeStackResourceInput) (*DescribeStackResourceOutput, error)

DescribeStackResource API operation for AWS CloudFormation.

Returns a description of the specified resource in the specified stack.

For deleted stacks, DescribeStackResource returns resource information for up to 90 days after the stack has been deleted.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DescribeStackResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResource

func (*CloudFormation) DescribeStackResourceRequest

func (c *CloudFormation) DescribeStackResourceRequest(input *DescribeStackResourceInput) (req *request.Request, output *DescribeStackResourceOutput)

DescribeStackResourceRequest generates a "aws/request.Request" representing the client's request for the DescribeStackResource operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeStackResource for more information on using the DescribeStackResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeStackResourceRequest method.
req, resp := client.DescribeStackResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResource

func (*CloudFormation) DescribeStackResourceWithContext added in v1.8.0

func (c *CloudFormation) DescribeStackResourceWithContext(ctx aws.Context, input *DescribeStackResourceInput, opts ...request.Option) (*DescribeStackResourceOutput, error)

DescribeStackResourceWithContext is the same as DescribeStackResource with the addition of the ability to pass a context and additional request options.

See DescribeStackResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DescribeStackResources

func (c *CloudFormation) DescribeStackResources(input *DescribeStackResourcesInput) (*DescribeStackResourcesOutput, error)

DescribeStackResources API operation for AWS CloudFormation.

Returns AWS resource descriptions for running and deleted stacks. If StackName is specified, all the associated resources that are part of the stack are returned. If PhysicalResourceId is specified, the associated resources of the stack that the resource belongs to are returned.

Only the first 100 resources will be returned. If your stack has more resources than this, you should use ListStackResources instead.

For deleted stacks, DescribeStackResources returns resource information for up to 90 days after the stack has been deleted.

You must specify either StackName or PhysicalResourceId, but not both. In addition, you can specify LogicalResourceId to filter the returned result. For more information about resources, the LogicalResourceId and PhysicalResourceId, go to the AWS CloudFormation User Guide (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/).

A ValidationError is returned if you specify both StackName and PhysicalResourceId in the same request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DescribeStackResources for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResources

func (*CloudFormation) DescribeStackResourcesRequest

func (c *CloudFormation) DescribeStackResourcesRequest(input *DescribeStackResourcesInput) (req *request.Request, output *DescribeStackResourcesOutput)

DescribeStackResourcesRequest generates a "aws/request.Request" representing the client's request for the DescribeStackResources operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeStackResources for more information on using the DescribeStackResources API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeStackResourcesRequest method.
req, resp := client.DescribeStackResourcesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResources

func (*CloudFormation) DescribeStackResourcesWithContext added in v1.8.0

func (c *CloudFormation) DescribeStackResourcesWithContext(ctx aws.Context, input *DescribeStackResourcesInput, opts ...request.Option) (*DescribeStackResourcesOutput, error)

DescribeStackResourcesWithContext is the same as DescribeStackResources with the addition of the ability to pass a context and additional request options.

See DescribeStackResources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DescribeStackSet added in v1.10.16

func (c *CloudFormation) DescribeStackSet(input *DescribeStackSetInput) (*DescribeStackSetOutput, error)

DescribeStackSet API operation for AWS CloudFormation.

Returns the description of the specified stack set.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DescribeStackSet for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotFoundException "StackSetNotFoundException" The specified stack set doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSet

func (*CloudFormation) DescribeStackSetOperation added in v1.10.16

DescribeStackSetOperation API operation for AWS CloudFormation.

Returns the description of the specified stack set operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DescribeStackSetOperation for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotFoundException "StackSetNotFoundException" The specified stack set doesn't exist.

  • ErrCodeOperationNotFoundException "OperationNotFoundException" The specified ID refers to an operation that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperation

func (*CloudFormation) DescribeStackSetOperationRequest added in v1.10.16

func (c *CloudFormation) DescribeStackSetOperationRequest(input *DescribeStackSetOperationInput) (req *request.Request, output *DescribeStackSetOperationOutput)

DescribeStackSetOperationRequest generates a "aws/request.Request" representing the client's request for the DescribeStackSetOperation operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeStackSetOperation for more information on using the DescribeStackSetOperation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeStackSetOperationRequest method.
req, resp := client.DescribeStackSetOperationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperation

func (*CloudFormation) DescribeStackSetOperationWithContext added in v1.10.16

func (c *CloudFormation) DescribeStackSetOperationWithContext(ctx aws.Context, input *DescribeStackSetOperationInput, opts ...request.Option) (*DescribeStackSetOperationOutput, error)

DescribeStackSetOperationWithContext is the same as DescribeStackSetOperation with the addition of the ability to pass a context and additional request options.

See DescribeStackSetOperation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DescribeStackSetRequest added in v1.10.16

func (c *CloudFormation) DescribeStackSetRequest(input *DescribeStackSetInput) (req *request.Request, output *DescribeStackSetOutput)

DescribeStackSetRequest generates a "aws/request.Request" representing the client's request for the DescribeStackSet operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeStackSet for more information on using the DescribeStackSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeStackSetRequest method.
req, resp := client.DescribeStackSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSet

func (*CloudFormation) DescribeStackSetWithContext added in v1.10.16

func (c *CloudFormation) DescribeStackSetWithContext(ctx aws.Context, input *DescribeStackSetInput, opts ...request.Option) (*DescribeStackSetOutput, error)

DescribeStackSetWithContext is the same as DescribeStackSet with the addition of the ability to pass a context and additional request options.

See DescribeStackSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DescribeStacks

func (c *CloudFormation) DescribeStacks(input *DescribeStacksInput) (*DescribeStacksOutput, error)

DescribeStacks API operation for AWS CloudFormation.

Returns the description for the specified stack; if no stack name was specified, then it returns the description for all the stacks created.

If the stack does not exist, an AmazonCloudFormationException is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation DescribeStacks for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacks

func (*CloudFormation) DescribeStacksPages

func (c *CloudFormation) DescribeStacksPages(input *DescribeStacksInput, fn func(*DescribeStacksOutput, bool) bool) error

DescribeStacksPages iterates over the pages of a DescribeStacks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See DescribeStacks method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a DescribeStacks operation.
pageNum := 0
err := client.DescribeStacksPages(params,
    func(page *DescribeStacksOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CloudFormation) DescribeStacksPagesWithContext added in v1.8.0

func (c *CloudFormation) DescribeStacksPagesWithContext(ctx aws.Context, input *DescribeStacksInput, fn func(*DescribeStacksOutput, bool) bool, opts ...request.Option) error

DescribeStacksPagesWithContext same as DescribeStacksPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) DescribeStacksRequest

func (c *CloudFormation) DescribeStacksRequest(input *DescribeStacksInput) (req *request.Request, output *DescribeStacksOutput)

DescribeStacksRequest generates a "aws/request.Request" representing the client's request for the DescribeStacks operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeStacks for more information on using the DescribeStacks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeStacksRequest method.
req, resp := client.DescribeStacksRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacks

func (*CloudFormation) DescribeStacksWithContext added in v1.8.0

func (c *CloudFormation) DescribeStacksWithContext(ctx aws.Context, input *DescribeStacksInput, opts ...request.Option) (*DescribeStacksOutput, error)

DescribeStacksWithContext is the same as DescribeStacks with the addition of the ability to pass a context and additional request options.

See DescribeStacks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) EstimateTemplateCost

func (c *CloudFormation) EstimateTemplateCost(input *EstimateTemplateCostInput) (*EstimateTemplateCostOutput, error)

EstimateTemplateCost API operation for AWS CloudFormation.

Returns the estimated monthly cost of a template. The return value is an AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation EstimateTemplateCost for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCost

func (*CloudFormation) EstimateTemplateCostRequest

func (c *CloudFormation) EstimateTemplateCostRequest(input *EstimateTemplateCostInput) (req *request.Request, output *EstimateTemplateCostOutput)

EstimateTemplateCostRequest generates a "aws/request.Request" representing the client's request for the EstimateTemplateCost operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See EstimateTemplateCost for more information on using the EstimateTemplateCost API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the EstimateTemplateCostRequest method.
req, resp := client.EstimateTemplateCostRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCost

func (*CloudFormation) EstimateTemplateCostWithContext added in v1.8.0

func (c *CloudFormation) EstimateTemplateCostWithContext(ctx aws.Context, input *EstimateTemplateCostInput, opts ...request.Option) (*EstimateTemplateCostOutput, error)

EstimateTemplateCostWithContext is the same as EstimateTemplateCost with the addition of the ability to pass a context and additional request options.

See EstimateTemplateCost for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ExecuteChangeSet added in v1.1.15

func (c *CloudFormation) ExecuteChangeSet(input *ExecuteChangeSetInput) (*ExecuteChangeSetOutput, error)

ExecuteChangeSet API operation for AWS CloudFormation.

Updates a stack using the input information that was provided when the specified change set was created. After the call successfully completes, AWS CloudFormation starts updating the stack. Use the DescribeStacks action to view the status of the update.

When you execute a change set, AWS CloudFormation deletes all other change sets associated with the stack because they aren't valid for the updated stack.

If a stack policy is associated with the stack, AWS CloudFormation enforces the policy during the update. You can't specify a temporary stack policy that overrides the current policy.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation ExecuteChangeSet for usage and error information.

Returned Error Codes:

  • ErrCodeInvalidChangeSetStatusException "InvalidChangeSetStatus" The specified change set can't be used to update the stack. For example, the change set status might be CREATE_IN_PROGRESS, or the stack status might be UPDATE_IN_PROGRESS.

  • ErrCodeChangeSetNotFoundException "ChangeSetNotFound" The specified change set name or ID doesn't exit. To view valid change sets for a stack, use the ListChangeSets action.

  • ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException" The template contains resources with capabilities that weren't specified in the Capabilities parameter.

  • ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" A client request token already exists.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet

func (*CloudFormation) ExecuteChangeSetRequest added in v1.1.15

func (c *CloudFormation) ExecuteChangeSetRequest(input *ExecuteChangeSetInput) (req *request.Request, output *ExecuteChangeSetOutput)

ExecuteChangeSetRequest generates a "aws/request.Request" representing the client's request for the ExecuteChangeSet operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ExecuteChangeSet for more information on using the ExecuteChangeSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ExecuteChangeSetRequest method.
req, resp := client.ExecuteChangeSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet

func (*CloudFormation) ExecuteChangeSetWithContext added in v1.8.0

func (c *CloudFormation) ExecuteChangeSetWithContext(ctx aws.Context, input *ExecuteChangeSetInput, opts ...request.Option) (*ExecuteChangeSetOutput, error)

ExecuteChangeSetWithContext is the same as ExecuteChangeSet with the addition of the ability to pass a context and additional request options.

See ExecuteChangeSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) GetStackPolicy

func (c *CloudFormation) GetStackPolicy(input *GetStackPolicyInput) (*GetStackPolicyOutput, error)

GetStackPolicy API operation for AWS CloudFormation.

Returns the stack policy for a specified stack. If a stack doesn't have a policy, a null value is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation GetStackPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicy

func (*CloudFormation) GetStackPolicyRequest

func (c *CloudFormation) GetStackPolicyRequest(input *GetStackPolicyInput) (req *request.Request, output *GetStackPolicyOutput)

GetStackPolicyRequest generates a "aws/request.Request" representing the client's request for the GetStackPolicy operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetStackPolicy for more information on using the GetStackPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetStackPolicyRequest method.
req, resp := client.GetStackPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicy

func (*CloudFormation) GetStackPolicyWithContext added in v1.8.0

func (c *CloudFormation) GetStackPolicyWithContext(ctx aws.Context, input *GetStackPolicyInput, opts ...request.Option) (*GetStackPolicyOutput, error)

GetStackPolicyWithContext is the same as GetStackPolicy with the addition of the ability to pass a context and additional request options.

See GetStackPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) GetTemplate

func (c *CloudFormation) GetTemplate(input *GetTemplateInput) (*GetTemplateOutput, error)

GetTemplate API operation for AWS CloudFormation.

Returns the template body for a specified stack. You can get the template for running or deleted stacks.

For deleted stacks, GetTemplate returns the template for up to 90 days after the stack has been deleted.

If the template does not exist, a ValidationError is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation GetTemplate for usage and error information.

Returned Error Codes:

  • ErrCodeChangeSetNotFoundException "ChangeSetNotFound" The specified change set name or ID doesn't exit. To view valid change sets for a stack, use the ListChangeSets action.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplate

func (*CloudFormation) GetTemplateRequest

func (c *CloudFormation) GetTemplateRequest(input *GetTemplateInput) (req *request.Request, output *GetTemplateOutput)

GetTemplateRequest generates a "aws/request.Request" representing the client's request for the GetTemplate operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTemplate for more information on using the GetTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTemplateRequest method.
req, resp := client.GetTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplate

func (*CloudFormation) GetTemplateSummary

func (c *CloudFormation) GetTemplateSummary(input *GetTemplateSummaryInput) (*GetTemplateSummaryOutput, error)

GetTemplateSummary API operation for AWS CloudFormation.

Returns information about a new or existing template. The GetTemplateSummary action is useful for viewing parameter information, such as default parameter values and parameter types, before you create or update a stack or stack set.

You can use the GetTemplateSummary action when you submit a template, or you can get template information for a stack set, or a running or deleted stack.

For deleted stacks, GetTemplateSummary returns the template information for up to 90 days after the stack has been deleted. If the template does not exist, a ValidationError is returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation GetTemplateSummary for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotFoundException "StackSetNotFoundException" The specified stack set doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary

func (*CloudFormation) GetTemplateSummaryRequest

func (c *CloudFormation) GetTemplateSummaryRequest(input *GetTemplateSummaryInput) (req *request.Request, output *GetTemplateSummaryOutput)

GetTemplateSummaryRequest generates a "aws/request.Request" representing the client's request for the GetTemplateSummary operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTemplateSummary for more information on using the GetTemplateSummary API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTemplateSummaryRequest method.
req, resp := client.GetTemplateSummaryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary

func (*CloudFormation) GetTemplateSummaryWithContext added in v1.8.0

func (c *CloudFormation) GetTemplateSummaryWithContext(ctx aws.Context, input *GetTemplateSummaryInput, opts ...request.Option) (*GetTemplateSummaryOutput, error)

GetTemplateSummaryWithContext is the same as GetTemplateSummary with the addition of the ability to pass a context and additional request options.

See GetTemplateSummary for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) GetTemplateWithContext added in v1.8.0

func (c *CloudFormation) GetTemplateWithContext(ctx aws.Context, input *GetTemplateInput, opts ...request.Option) (*GetTemplateOutput, error)

GetTemplateWithContext is the same as GetTemplate with the addition of the ability to pass a context and additional request options.

See GetTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListChangeSets added in v1.1.15

func (c *CloudFormation) ListChangeSets(input *ListChangeSetsInput) (*ListChangeSetsOutput, error)

ListChangeSets API operation for AWS CloudFormation.

Returns the ID and status of each active change set for a stack. For example, AWS CloudFormation lists change sets that are in the CREATE_IN_PROGRESS or CREATE_PENDING state.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation ListChangeSets for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSets

func (*CloudFormation) ListChangeSetsRequest added in v1.1.15

func (c *CloudFormation) ListChangeSetsRequest(input *ListChangeSetsInput) (req *request.Request, output *ListChangeSetsOutput)

ListChangeSetsRequest generates a "aws/request.Request" representing the client's request for the ListChangeSets operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListChangeSets for more information on using the ListChangeSets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListChangeSetsRequest method.
req, resp := client.ListChangeSetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSets

func (*CloudFormation) ListChangeSetsWithContext added in v1.8.0

func (c *CloudFormation) ListChangeSetsWithContext(ctx aws.Context, input *ListChangeSetsInput, opts ...request.Option) (*ListChangeSetsOutput, error)

ListChangeSetsWithContext is the same as ListChangeSets with the addition of the ability to pass a context and additional request options.

See ListChangeSets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListExports added in v1.5.0

func (c *CloudFormation) ListExports(input *ListExportsInput) (*ListExportsOutput, error)

ListExports API operation for AWS CloudFormation.

Lists all exported output values in the account and region in which you call this action. Use this action to see the exported output values that you can import into other stacks. To import values, use the Fn::ImportValue (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html) function.

For more information, see AWS CloudFormation Export Stack Output Values (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation ListExports for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExports

func (*CloudFormation) ListExportsPages added in v1.8.5

func (c *CloudFormation) ListExportsPages(input *ListExportsInput, fn func(*ListExportsOutput, bool) bool) error

ListExportsPages iterates over the pages of a ListExports operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListExports method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListExports operation.
pageNum := 0
err := client.ListExportsPages(params,
    func(page *ListExportsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CloudFormation) ListExportsPagesWithContext added in v1.8.5

func (c *CloudFormation) ListExportsPagesWithContext(ctx aws.Context, input *ListExportsInput, fn func(*ListExportsOutput, bool) bool, opts ...request.Option) error

ListExportsPagesWithContext same as ListExportsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListExportsRequest added in v1.5.0

func (c *CloudFormation) ListExportsRequest(input *ListExportsInput) (req *request.Request, output *ListExportsOutput)

ListExportsRequest generates a "aws/request.Request" representing the client's request for the ListExports operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListExports for more information on using the ListExports API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListExportsRequest method.
req, resp := client.ListExportsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExports

func (*CloudFormation) ListExportsWithContext added in v1.8.0

func (c *CloudFormation) ListExportsWithContext(ctx aws.Context, input *ListExportsInput, opts ...request.Option) (*ListExportsOutput, error)

ListExportsWithContext is the same as ListExports with the addition of the ability to pass a context and additional request options.

See ListExports for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListImports added in v1.5.10

func (c *CloudFormation) ListImports(input *ListImportsInput) (*ListImportsOutput, error)

ListImports API operation for AWS CloudFormation.

Lists all stacks that are importing an exported output value. To modify or remove an exported output value, first use this action to see which stacks are using it. To see the exported output values in your account, see ListExports.

For more information about importing an exported output value, see the Fn::ImportValue (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-importvalue.html) function.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation ListImports for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImports

func (*CloudFormation) ListImportsPages added in v1.8.5

func (c *CloudFormation) ListImportsPages(input *ListImportsInput, fn func(*ListImportsOutput, bool) bool) error

ListImportsPages iterates over the pages of a ListImports operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListImports method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListImports operation.
pageNum := 0
err := client.ListImportsPages(params,
    func(page *ListImportsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CloudFormation) ListImportsPagesWithContext added in v1.8.5

func (c *CloudFormation) ListImportsPagesWithContext(ctx aws.Context, input *ListImportsInput, fn func(*ListImportsOutput, bool) bool, opts ...request.Option) error

ListImportsPagesWithContext same as ListImportsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListImportsRequest added in v1.5.10

func (c *CloudFormation) ListImportsRequest(input *ListImportsInput) (req *request.Request, output *ListImportsOutput)

ListImportsRequest generates a "aws/request.Request" representing the client's request for the ListImports operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListImports for more information on using the ListImports API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListImportsRequest method.
req, resp := client.ListImportsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImports

func (*CloudFormation) ListImportsWithContext added in v1.8.0

func (c *CloudFormation) ListImportsWithContext(ctx aws.Context, input *ListImportsInput, opts ...request.Option) (*ListImportsOutput, error)

ListImportsWithContext is the same as ListImports with the addition of the ability to pass a context and additional request options.

See ListImports for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListStackInstances added in v1.10.16

func (c *CloudFormation) ListStackInstances(input *ListStackInstancesInput) (*ListStackInstancesOutput, error)

ListStackInstances API operation for AWS CloudFormation.

Returns summary information about stack instances that are associated with the specified stack set. You can filter for stack instances that are associated with a specific AWS account name or region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation ListStackInstances for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotFoundException "StackSetNotFoundException" The specified stack set doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstances

func (*CloudFormation) ListStackInstancesRequest added in v1.10.16

func (c *CloudFormation) ListStackInstancesRequest(input *ListStackInstancesInput) (req *request.Request, output *ListStackInstancesOutput)

ListStackInstancesRequest generates a "aws/request.Request" representing the client's request for the ListStackInstances operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListStackInstances for more information on using the ListStackInstances API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListStackInstancesRequest method.
req, resp := client.ListStackInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstances

func (*CloudFormation) ListStackInstancesWithContext added in v1.10.16

func (c *CloudFormation) ListStackInstancesWithContext(ctx aws.Context, input *ListStackInstancesInput, opts ...request.Option) (*ListStackInstancesOutput, error)

ListStackInstancesWithContext is the same as ListStackInstances with the addition of the ability to pass a context and additional request options.

See ListStackInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListStackResources

func (c *CloudFormation) ListStackResources(input *ListStackResourcesInput) (*ListStackResourcesOutput, error)

ListStackResources API operation for AWS CloudFormation.

Returns descriptions of all resources of the specified stack.

For deleted stacks, ListStackResources returns resource information for up to 90 days after the stack has been deleted.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation ListStackResources for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResources

func (*CloudFormation) ListStackResourcesPages

func (c *CloudFormation) ListStackResourcesPages(input *ListStackResourcesInput, fn func(*ListStackResourcesOutput, bool) bool) error

ListStackResourcesPages iterates over the pages of a ListStackResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListStackResources method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListStackResources operation.
pageNum := 0
err := client.ListStackResourcesPages(params,
    func(page *ListStackResourcesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CloudFormation) ListStackResourcesPagesWithContext added in v1.8.0

func (c *CloudFormation) ListStackResourcesPagesWithContext(ctx aws.Context, input *ListStackResourcesInput, fn func(*ListStackResourcesOutput, bool) bool, opts ...request.Option) error

ListStackResourcesPagesWithContext same as ListStackResourcesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListStackResourcesRequest

func (c *CloudFormation) ListStackResourcesRequest(input *ListStackResourcesInput) (req *request.Request, output *ListStackResourcesOutput)

ListStackResourcesRequest generates a "aws/request.Request" representing the client's request for the ListStackResources operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListStackResources for more information on using the ListStackResources API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListStackResourcesRequest method.
req, resp := client.ListStackResourcesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResources

func (*CloudFormation) ListStackResourcesWithContext added in v1.8.0

func (c *CloudFormation) ListStackResourcesWithContext(ctx aws.Context, input *ListStackResourcesInput, opts ...request.Option) (*ListStackResourcesOutput, error)

ListStackResourcesWithContext is the same as ListStackResources with the addition of the ability to pass a context and additional request options.

See ListStackResources for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListStackSetOperationResults added in v1.10.16

ListStackSetOperationResults API operation for AWS CloudFormation.

Returns summary information about the results of a stack set operation.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation ListStackSetOperationResults for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotFoundException "StackSetNotFoundException" The specified stack set doesn't exist.

  • ErrCodeOperationNotFoundException "OperationNotFoundException" The specified ID refers to an operation that doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResults

func (*CloudFormation) ListStackSetOperationResultsRequest added in v1.10.16

func (c *CloudFormation) ListStackSetOperationResultsRequest(input *ListStackSetOperationResultsInput) (req *request.Request, output *ListStackSetOperationResultsOutput)

ListStackSetOperationResultsRequest generates a "aws/request.Request" representing the client's request for the ListStackSetOperationResults operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListStackSetOperationResults for more information on using the ListStackSetOperationResults API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListStackSetOperationResultsRequest method.
req, resp := client.ListStackSetOperationResultsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResults

func (*CloudFormation) ListStackSetOperationResultsWithContext added in v1.10.16

func (c *CloudFormation) ListStackSetOperationResultsWithContext(ctx aws.Context, input *ListStackSetOperationResultsInput, opts ...request.Option) (*ListStackSetOperationResultsOutput, error)

ListStackSetOperationResultsWithContext is the same as ListStackSetOperationResults with the addition of the ability to pass a context and additional request options.

See ListStackSetOperationResults for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListStackSetOperations added in v1.10.16

func (c *CloudFormation) ListStackSetOperations(input *ListStackSetOperationsInput) (*ListStackSetOperationsOutput, error)

ListStackSetOperations API operation for AWS CloudFormation.

Returns summary information about operations performed on a stack set.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation ListStackSetOperations for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotFoundException "StackSetNotFoundException" The specified stack set doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperations

func (*CloudFormation) ListStackSetOperationsRequest added in v1.10.16

func (c *CloudFormation) ListStackSetOperationsRequest(input *ListStackSetOperationsInput) (req *request.Request, output *ListStackSetOperationsOutput)

ListStackSetOperationsRequest generates a "aws/request.Request" representing the client's request for the ListStackSetOperations operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListStackSetOperations for more information on using the ListStackSetOperations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListStackSetOperationsRequest method.
req, resp := client.ListStackSetOperationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperations

func (*CloudFormation) ListStackSetOperationsWithContext added in v1.10.16

func (c *CloudFormation) ListStackSetOperationsWithContext(ctx aws.Context, input *ListStackSetOperationsInput, opts ...request.Option) (*ListStackSetOperationsOutput, error)

ListStackSetOperationsWithContext is the same as ListStackSetOperations with the addition of the ability to pass a context and additional request options.

See ListStackSetOperations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListStackSets added in v1.10.16

func (c *CloudFormation) ListStackSets(input *ListStackSetsInput) (*ListStackSetsOutput, error)

ListStackSets API operation for AWS CloudFormation.

Returns summary information about stack sets that are associated with the user.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation ListStackSets for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSets

func (*CloudFormation) ListStackSetsRequest added in v1.10.16

func (c *CloudFormation) ListStackSetsRequest(input *ListStackSetsInput) (req *request.Request, output *ListStackSetsOutput)

ListStackSetsRequest generates a "aws/request.Request" representing the client's request for the ListStackSets operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListStackSets for more information on using the ListStackSets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListStackSetsRequest method.
req, resp := client.ListStackSetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSets

func (*CloudFormation) ListStackSetsWithContext added in v1.10.16

func (c *CloudFormation) ListStackSetsWithContext(ctx aws.Context, input *ListStackSetsInput, opts ...request.Option) (*ListStackSetsOutput, error)

ListStackSetsWithContext is the same as ListStackSets with the addition of the ability to pass a context and additional request options.

See ListStackSets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListStacks

func (c *CloudFormation) ListStacks(input *ListStacksInput) (*ListStacksOutput, error)

ListStacks API operation for AWS CloudFormation.

Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation ListStacks for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacks

func (*CloudFormation) ListStacksPages

func (c *CloudFormation) ListStacksPages(input *ListStacksInput, fn func(*ListStacksOutput, bool) bool) error

ListStacksPages iterates over the pages of a ListStacks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListStacks method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListStacks operation.
pageNum := 0
err := client.ListStacksPages(params,
    func(page *ListStacksOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*CloudFormation) ListStacksPagesWithContext added in v1.8.0

func (c *CloudFormation) ListStacksPagesWithContext(ctx aws.Context, input *ListStacksInput, fn func(*ListStacksOutput, bool) bool, opts ...request.Option) error

ListStacksPagesWithContext same as ListStacksPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ListStacksRequest

func (c *CloudFormation) ListStacksRequest(input *ListStacksInput) (req *request.Request, output *ListStacksOutput)

ListStacksRequest generates a "aws/request.Request" representing the client's request for the ListStacks operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListStacks for more information on using the ListStacks API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListStacksRequest method.
req, resp := client.ListStacksRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacks

func (*CloudFormation) ListStacksWithContext added in v1.8.0

func (c *CloudFormation) ListStacksWithContext(ctx aws.Context, input *ListStacksInput, opts ...request.Option) (*ListStacksOutput, error)

ListStacksWithContext is the same as ListStacks with the addition of the ability to pass a context and additional request options.

See ListStacks for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) SetStackPolicy

func (c *CloudFormation) SetStackPolicy(input *SetStackPolicyInput) (*SetStackPolicyOutput, error)

SetStackPolicy API operation for AWS CloudFormation.

Sets a stack policy for a specified stack.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation SetStackPolicy for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicy

func (*CloudFormation) SetStackPolicyRequest

func (c *CloudFormation) SetStackPolicyRequest(input *SetStackPolicyInput) (req *request.Request, output *SetStackPolicyOutput)

SetStackPolicyRequest generates a "aws/request.Request" representing the client's request for the SetStackPolicy operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SetStackPolicy for more information on using the SetStackPolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SetStackPolicyRequest method.
req, resp := client.SetStackPolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicy

func (*CloudFormation) SetStackPolicyWithContext added in v1.8.0

func (c *CloudFormation) SetStackPolicyWithContext(ctx aws.Context, input *SetStackPolicyInput, opts ...request.Option) (*SetStackPolicyOutput, error)

SetStackPolicyWithContext is the same as SetStackPolicy with the addition of the ability to pass a context and additional request options.

See SetStackPolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) SignalResource

func (c *CloudFormation) SignalResource(input *SignalResourceInput) (*SignalResourceOutput, error)

SignalResource API operation for AWS CloudFormation.

Sends a signal to the specified resource with a success or failure status. You can use the SignalResource API in conjunction with a creation policy or update policy. AWS CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource API is useful in cases where you want to send signals from anywhere other than an Amazon EC2 instance.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation SignalResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResource

func (*CloudFormation) SignalResourceRequest

func (c *CloudFormation) SignalResourceRequest(input *SignalResourceInput) (req *request.Request, output *SignalResourceOutput)

SignalResourceRequest generates a "aws/request.Request" representing the client's request for the SignalResource operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See SignalResource for more information on using the SignalResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the SignalResourceRequest method.
req, resp := client.SignalResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResource

func (*CloudFormation) SignalResourceWithContext added in v1.8.0

func (c *CloudFormation) SignalResourceWithContext(ctx aws.Context, input *SignalResourceInput, opts ...request.Option) (*SignalResourceOutput, error)

SignalResourceWithContext is the same as SignalResource with the addition of the ability to pass a context and additional request options.

See SignalResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) StopStackSetOperation added in v1.10.16

func (c *CloudFormation) StopStackSetOperation(input *StopStackSetOperationInput) (*StopStackSetOperationOutput, error)

StopStackSetOperation API operation for AWS CloudFormation.

Stops an in-progress operation on a stack set and its associated stack instances.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation StopStackSetOperation for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotFoundException "StackSetNotFoundException" The specified stack set doesn't exist.

  • ErrCodeOperationNotFoundException "OperationNotFoundException" The specified ID refers to an operation that doesn't exist.

  • ErrCodeInvalidOperationException "InvalidOperationException" The specified operation isn't valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperation

func (*CloudFormation) StopStackSetOperationRequest added in v1.10.16

func (c *CloudFormation) StopStackSetOperationRequest(input *StopStackSetOperationInput) (req *request.Request, output *StopStackSetOperationOutput)

StopStackSetOperationRequest generates a "aws/request.Request" representing the client's request for the StopStackSetOperation operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StopStackSetOperation for more information on using the StopStackSetOperation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StopStackSetOperationRequest method.
req, resp := client.StopStackSetOperationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperation

func (*CloudFormation) StopStackSetOperationWithContext added in v1.10.16

func (c *CloudFormation) StopStackSetOperationWithContext(ctx aws.Context, input *StopStackSetOperationInput, opts ...request.Option) (*StopStackSetOperationOutput, error)

StopStackSetOperationWithContext is the same as StopStackSetOperation with the addition of the ability to pass a context and additional request options.

See StopStackSetOperation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) UpdateStack

func (c *CloudFormation) UpdateStack(input *UpdateStackInput) (*UpdateStackOutput, error)

UpdateStack API operation for AWS CloudFormation.

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 (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks.html).

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation UpdateStack for usage and error information.

Returned Error Codes:

  • ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException" The template contains resources with capabilities that weren't specified in the Capabilities parameter.

  • ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" A client request token already exists.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStack

func (*CloudFormation) UpdateStackInstances added in v1.12.32

func (c *CloudFormation) UpdateStackInstances(input *UpdateStackInstancesInput) (*UpdateStackInstancesOutput, error)

UpdateStackInstances API operation for AWS CloudFormation.

Updates the parameter values for stack instances for the specified accounts, within the specified regions. A stack instance refers to a stack in a specific account and region.

You can only update stack instances in regions and accounts where they already exist; to create additional stack instances, use CreateStackInstances (http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStackInstances.html).

During stack set updates, any parameters overridden for a stack instance are not updated, but retain their overridden value.

You can only update the parameter values that are specified in the stack set; to add or delete a parameter itself, use UpdateStackSet (http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html) to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use UpdateStackSet (http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html) to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using UpdateStackInstances.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation UpdateStackInstances for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotFoundException "StackSetNotFoundException" The specified stack set doesn't exist.

  • ErrCodeStackInstanceNotFoundException "StackInstanceNotFoundException" The specified stack instance doesn't exist.

  • ErrCodeOperationInProgressException "OperationInProgressException" Another operation is currently in progress for this stack set. Only one operation can be performed for a stack set at a given time.

  • ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" The specified operation ID already exists.

  • ErrCodeStaleRequestException "StaleRequestException" Another operation has been performed on this stack set since the specified operation was performed.

  • ErrCodeInvalidOperationException "InvalidOperationException" The specified operation isn't valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstances

func (*CloudFormation) UpdateStackInstancesRequest added in v1.12.32

func (c *CloudFormation) UpdateStackInstancesRequest(input *UpdateStackInstancesInput) (req *request.Request, output *UpdateStackInstancesOutput)

UpdateStackInstancesRequest generates a "aws/request.Request" representing the client's request for the UpdateStackInstances operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateStackInstances for more information on using the UpdateStackInstances API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateStackInstancesRequest method.
req, resp := client.UpdateStackInstancesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstances

func (*CloudFormation) UpdateStackInstancesWithContext added in v1.12.32

func (c *CloudFormation) UpdateStackInstancesWithContext(ctx aws.Context, input *UpdateStackInstancesInput, opts ...request.Option) (*UpdateStackInstancesOutput, error)

UpdateStackInstancesWithContext is the same as UpdateStackInstances with the addition of the ability to pass a context and additional request options.

See UpdateStackInstances for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) UpdateStackRequest

func (c *CloudFormation) UpdateStackRequest(input *UpdateStackInput) (req *request.Request, output *UpdateStackOutput)

UpdateStackRequest generates a "aws/request.Request" representing the client's request for the UpdateStack operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateStack for more information on using the UpdateStack API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateStackRequest method.
req, resp := client.UpdateStackRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStack

func (*CloudFormation) UpdateStackSet added in v1.10.16

func (c *CloudFormation) UpdateStackSet(input *UpdateStackSetInput) (*UpdateStackSetOutput, error)

UpdateStackSet API operation for AWS CloudFormation.

Updates the stack set, and associated stack instances in the specified accounts and regions.

Even if the stack set operation created by updating the stack set fails (completely or partially, below or above a specified failure tolerance), the stack set is updated with your changes. Subsequent CreateStackInstances calls on the specified stack set use the updated stack set.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation UpdateStackSet for usage and error information.

Returned Error Codes:

  • ErrCodeStackSetNotFoundException "StackSetNotFoundException" The specified stack set doesn't exist.

  • ErrCodeOperationInProgressException "OperationInProgressException" Another operation is currently in progress for this stack set. Only one operation can be performed for a stack set at a given time.

  • ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" The specified operation ID already exists.

  • ErrCodeStaleRequestException "StaleRequestException" Another operation has been performed on this stack set since the specified operation was performed.

  • ErrCodeInvalidOperationException "InvalidOperationException" The specified operation isn't valid.

  • ErrCodeStackInstanceNotFoundException "StackInstanceNotFoundException" The specified stack instance doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSet

func (*CloudFormation) UpdateStackSetRequest added in v1.10.16

func (c *CloudFormation) UpdateStackSetRequest(input *UpdateStackSetInput) (req *request.Request, output *UpdateStackSetOutput)

UpdateStackSetRequest generates a "aws/request.Request" representing the client's request for the UpdateStackSet operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateStackSet for more information on using the UpdateStackSet API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateStackSetRequest method.
req, resp := client.UpdateStackSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSet

func (*CloudFormation) UpdateStackSetWithContext added in v1.10.16

func (c *CloudFormation) UpdateStackSetWithContext(ctx aws.Context, input *UpdateStackSetInput, opts ...request.Option) (*UpdateStackSetOutput, error)

UpdateStackSetWithContext is the same as UpdateStackSet with the addition of the ability to pass a context and additional request options.

See UpdateStackSet for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) UpdateStackWithContext added in v1.8.0

func (c *CloudFormation) UpdateStackWithContext(ctx aws.Context, input *UpdateStackInput, opts ...request.Option) (*UpdateStackOutput, error)

UpdateStackWithContext is the same as UpdateStack with the addition of the ability to pass a context and additional request options.

See UpdateStack for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) UpdateTerminationProtection added in v1.11.0

UpdateTerminationProtection API operation for AWS CloudFormation.

Updates termination protection for the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html) in the AWS CloudFormation User Guide.

For nested stacks (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html), termination protection is set on the root stack and cannot be changed directly on the nested stack.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation UpdateTerminationProtection for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtection

func (*CloudFormation) UpdateTerminationProtectionRequest added in v1.11.0

func (c *CloudFormation) UpdateTerminationProtectionRequest(input *UpdateTerminationProtectionInput) (req *request.Request, output *UpdateTerminationProtectionOutput)

UpdateTerminationProtectionRequest generates a "aws/request.Request" representing the client's request for the UpdateTerminationProtection operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateTerminationProtection for more information on using the UpdateTerminationProtection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateTerminationProtectionRequest method.
req, resp := client.UpdateTerminationProtectionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtection

func (*CloudFormation) UpdateTerminationProtectionWithContext added in v1.11.0

func (c *CloudFormation) UpdateTerminationProtectionWithContext(ctx aws.Context, input *UpdateTerminationProtectionInput, opts ...request.Option) (*UpdateTerminationProtectionOutput, error)

UpdateTerminationProtectionWithContext is the same as UpdateTerminationProtection with the addition of the ability to pass a context and additional request options.

See UpdateTerminationProtection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) ValidateTemplate

func (c *CloudFormation) ValidateTemplate(input *ValidateTemplateInput) (*ValidateTemplateOutput, error)

ValidateTemplate API operation for AWS CloudFormation.

Validates a specified template. AWS CloudFormation first checks if the template is valid JSON. If it isn't, AWS CloudFormation checks if the template is valid YAML. If both these checks fail, AWS CloudFormation returns a template validation error.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS CloudFormation's API operation ValidateTemplate for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplate

func (*CloudFormation) ValidateTemplateRequest

func (c *CloudFormation) ValidateTemplateRequest(input *ValidateTemplateInput) (req *request.Request, output *ValidateTemplateOutput)

ValidateTemplateRequest generates a "aws/request.Request" representing the client's request for the ValidateTemplate operation. The "output" return value will be populated with the request's response once the request completes successfuly.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ValidateTemplate for more information on using the ValidateTemplate API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ValidateTemplateRequest method.
req, resp := client.ValidateTemplateRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplate

func (*CloudFormation) ValidateTemplateWithContext added in v1.8.0

func (c *CloudFormation) ValidateTemplateWithContext(ctx aws.Context, input *ValidateTemplateInput, opts ...request.Option) (*ValidateTemplateOutput, error)

ValidateTemplateWithContext is the same as ValidateTemplate with the addition of the ability to pass a context and additional request options.

See ValidateTemplate for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) WaitUntilChangeSetCreateComplete added in v1.8.5

func (c *CloudFormation) WaitUntilChangeSetCreateComplete(input *DescribeChangeSetInput) error

WaitUntilChangeSetCreateComplete uses the AWS CloudFormation API operation DescribeChangeSet to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*CloudFormation) WaitUntilChangeSetCreateCompleteWithContext added in v1.8.5

func (c *CloudFormation) WaitUntilChangeSetCreateCompleteWithContext(ctx aws.Context, input *DescribeChangeSetInput, opts ...request.WaiterOption) error

WaitUntilChangeSetCreateCompleteWithContext is an extended version of WaitUntilChangeSetCreateComplete. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) WaitUntilStackCreateComplete added in v0.10.3

func (c *CloudFormation) WaitUntilStackCreateComplete(input *DescribeStacksInput) error

WaitUntilStackCreateComplete uses the AWS CloudFormation API operation DescribeStacks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*CloudFormation) WaitUntilStackCreateCompleteWithContext added in v1.8.0

func (c *CloudFormation) WaitUntilStackCreateCompleteWithContext(ctx aws.Context, input *DescribeStacksInput, opts ...request.WaiterOption) error

WaitUntilStackCreateCompleteWithContext is an extended version of WaitUntilStackCreateComplete. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) WaitUntilStackDeleteComplete added in v0.10.3

func (c *CloudFormation) WaitUntilStackDeleteComplete(input *DescribeStacksInput) error

WaitUntilStackDeleteComplete uses the AWS CloudFormation API operation DescribeStacks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*CloudFormation) WaitUntilStackDeleteCompleteWithContext added in v1.8.0

func (c *CloudFormation) WaitUntilStackDeleteCompleteWithContext(ctx aws.Context, input *DescribeStacksInput, opts ...request.WaiterOption) error

WaitUntilStackDeleteCompleteWithContext is an extended version of WaitUntilStackDeleteComplete. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) WaitUntilStackExists added in v1.1.15

func (c *CloudFormation) WaitUntilStackExists(input *DescribeStacksInput) error

WaitUntilStackExists uses the AWS CloudFormation API operation DescribeStacks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*CloudFormation) WaitUntilStackExistsWithContext added in v1.8.0

func (c *CloudFormation) WaitUntilStackExistsWithContext(ctx aws.Context, input *DescribeStacksInput, opts ...request.WaiterOption) error

WaitUntilStackExistsWithContext is an extended version of WaitUntilStackExists. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*CloudFormation) WaitUntilStackUpdateComplete added in v0.10.3

func (c *CloudFormation) WaitUntilStackUpdateComplete(input *DescribeStacksInput) error

WaitUntilStackUpdateComplete uses the AWS CloudFormation API operation DescribeStacks to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

func (*CloudFormation) WaitUntilStackUpdateCompleteWithContext added in v1.8.0

func (c *CloudFormation) WaitUntilStackUpdateCompleteWithContext(ctx aws.Context, input *DescribeStacksInput, opts ...request.WaiterOption) error

WaitUntilStackUpdateCompleteWithContext is an extended version of WaitUntilStackUpdateComplete. With the support for passing in a context and options to configure the Waiter and the underlying request options.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type ContinueUpdateRollbackInput added in v1.0.11

type ContinueUpdateRollbackInput struct {

	// A unique identifier for this ContinueUpdateRollback request. Specify this
	// token if you plan to retry requests so that AWS CloudFormation knows that
	// you're not attempting to continue the rollback to a stack with the same name.
	// You might retry ContinueUpdateRollback requests to ensure that AWS CloudFormation
	// successfully received them.
	ClientRequestToken *string `min:"1" type:"string"`

	// A list of the logical IDs of the resources that AWS CloudFormation skips
	// during the continue update rollback operation. You can specify only resources
	// that are in the UPDATE_FAILED state because a rollback failed. You can't
	// specify resources that are in the UPDATE_FAILED state for other reasons,
	// for example, because an update was cancelled. To check why a resource update
	// failed, use the DescribeStackResources action, and view the resource status
	// reason.
	//
	// Specify this property to skip rolling back resources that AWS CloudFormation
	// can't successfully roll back. We recommend that you  troubleshoot (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed)
	// resources before skipping them. AWS CloudFormation sets the status of the
	// specified resources to UPDATE_COMPLETE and continues to roll back the stack.
	// After the rollback is complete, the state of the skipped resources will be
	// inconsistent with the state of the resources in the stack template. Before
	// performing another stack update, you must update the stack or resources to
	// be consistent with each other. If you don't, subsequent stack updates might
	// fail, and the stack will become unrecoverable.
	//
	// Specify the minimum number of resources required to successfully roll back
	// your stack. For example, a failed resource update might cause dependent resources
	// to fail. In this case, it might not be necessary to skip the dependent resources.
	//
	// To skip resources that are part of nested stacks, use the following format:
	// NestedStackName.ResourceLogicalID. If you want to specify the logical ID
	// of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip
	// list, then its corresponding embedded stack must be in one of the following
	// states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.
	//
	// Don't confuse a child stack's name with its corresponding logical ID defined
	// in the parent stack. For an example of a continue update rollback operation
	// with nested stacks, see Using ResourcesToSkip to recover a nested stacks
	// hierarchy (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html#nested-stacks).
	ResourcesToSkip []*string `type:"list"`

	// The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM)
	// role that AWS CloudFormation assumes to roll back the stack. AWS CloudFormation
	// uses the role's credentials to make calls on your behalf. AWS CloudFormation
	// always uses this role for all future operations on the stack. As long as
	// users have permission to operate on the stack, AWS CloudFormation uses this
	// role even if the users don't have permission to pass it. Ensure that the
	// role grants least privilege.
	//
	// If you don't specify a value, AWS CloudFormation uses the role that was previously
	// associated with the stack. If no role is available, AWS CloudFormation uses
	// a temporary session that is generated from your user credentials.
	RoleARN *string `min:"20" type:"string"`

	// The name or the unique ID of the stack that you want to continue rolling
	// back.
	//
	// Don't specify the name of a nested stack (a stack that was created by using
	// the AWS::CloudFormation::Stack resource). Instead, use this operation on
	// the parent stack (the stack that contains the AWS::CloudFormation::Stack
	// resource).
	//
	// StackName is a required field
	StackName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for the ContinueUpdateRollback action.

func (ContinueUpdateRollbackInput) GoString added in v1.0.11

func (s ContinueUpdateRollbackInput) GoString() string

GoString returns the string representation

func (*ContinueUpdateRollbackInput) SetClientRequestToken added in v1.8.18

func (s *ContinueUpdateRollbackInput) SetClientRequestToken(v string) *ContinueUpdateRollbackInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*ContinueUpdateRollbackInput) SetResourcesToSkip added in v1.5.0

func (s *ContinueUpdateRollbackInput) SetResourcesToSkip(v []*string) *ContinueUpdateRollbackInput

SetResourcesToSkip sets the ResourcesToSkip field's value.

func (*ContinueUpdateRollbackInput) SetRoleARN added in v1.5.0

SetRoleARN sets the RoleARN field's value.

func (*ContinueUpdateRollbackInput) SetStackName added in v1.5.0

SetStackName sets the StackName field's value.

func (ContinueUpdateRollbackInput) String added in v1.0.11

String returns the string representation

func (*ContinueUpdateRollbackInput) Validate added in v1.1.21

func (s *ContinueUpdateRollbackInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ContinueUpdateRollbackOutput added in v1.0.11

type ContinueUpdateRollbackOutput struct {
	// contains filtered or unexported fields
}

The output for a ContinueUpdateRollback action.

func (ContinueUpdateRollbackOutput) GoString added in v1.0.11

func (s ContinueUpdateRollbackOutput) GoString() string

GoString returns the string representation

func (ContinueUpdateRollbackOutput) String added in v1.0.11

String returns the string representation

type CreateChangeSetInput added in v1.1.15

type CreateChangeSetInput struct {

	// A list of values that you must specify before AWS CloudFormation can update
	// certain stacks. Some stack templates might include resources that can affect
	// permissions in your AWS account, for example, by creating new AWS Identity
	// and Access Management (IAM) users. For those stacks, you must explicitly
	// acknowledge their capabilities by specifying this parameter.
	//
	// The only valid values are CAPABILITY_IAM and CAPABILITY_NAMED_IAM. The following
	// resources require you to specify this parameter:  AWS::IAM::AccessKey (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html),
	//  AWS::IAM::Group (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html),
	//  AWS::IAM::InstanceProfile (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html),
	//  AWS::IAM::Policy (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html),
	//  AWS::IAM::Role (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html),
	//  AWS::IAM::User (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html),
	// and  AWS::IAM::UserToGroupAddition (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html).
	// If your stack template contains these resources, we recommend that you review
	// all permissions associated with them and edit their permissions if necessary.
	//
	// If you have IAM resources, you can specify either capability. If you have
	// IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If
	// you don't specify this parameter, this action returns an InsufficientCapabilities
	// error.
	//
	// For more information, see Acknowledging IAM Resources in AWS CloudFormation
	// Templates (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities).
	Capabilities []*string `type:"list"`

	// The name of the change set. The name must be unique among all change sets
	// that are associated with the specified stack.
	//
	// A change set name can contain only alphanumeric, case sensitive characters
	// and hyphens. It must start with an alphabetic character and cannot exceed
	// 128 characters.
	//
	// ChangeSetName is a required field
	ChangeSetName *string `min:"1" type:"string" required:"true"`

	// The type of change set operation. To create a change set for a new stack,
	// specify CREATE. To create a change set for an existing stack, specify UPDATE.
	//
	// If you create a change set for a new stack, AWS Cloudformation creates a
	// stack with a unique stack ID, but no template or resources. The stack will
	// be in the REVIEW_IN_PROGRESS (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-describing-stacks.html#d0e11995)
	// state until you execute the change set.
	//
	// By default, AWS CloudFormation specifies UPDATE. You can't use the UPDATE
	// type to create a change set for a new stack or the CREATE type to create
	// a change set for an existing stack.
	ChangeSetType *string `type:"string" enum:"ChangeSetType"`

	// A unique identifier for this CreateChangeSet request. Specify this token
	// if you plan to retry requests so that AWS CloudFormation knows that you're
	// not attempting to create another change set with the same name. You might
	// retry CreateChangeSet requests to ensure that AWS CloudFormation successfully
	// received them.
	ClientToken *string `min:"1" type:"string"`

	// A description to help you identify this change set.
	Description *string `min:"1" type:"string"`

	// The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon
	// SNS) topics that AWS CloudFormation associates with the stack. To remove
	// all associated notification topics, specify an empty list.
	NotificationARNs []*string `type:"list"`

	// A list of Parameter structures that specify input parameters for the change
	// set. For more information, see the Parameter (http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html)
	// data type.
	Parameters []*Parameter `type:"list"`

	// The template resource types that you have permissions to work with if you
	// execute this change set, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.
	//
	// If the list of resource types doesn't include a resource type that you're
	// updating, the stack update fails. By default, AWS CloudFormation grants permissions
	// to all resource types. AWS Identity and Access Management (IAM) uses this
	// parameter for condition keys in IAM policies for AWS CloudFormation. For
	// more information, see Controlling Access with AWS Identity and Access Management
	// (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html)
	// in the AWS CloudFormation User Guide.
	ResourceTypes []*string `type:"list"`

	// The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM)
	// role that AWS CloudFormation assumes when executing the change set. AWS CloudFormation
	// uses the role's credentials to make calls on your behalf. AWS CloudFormation
	// uses this role for all future operations on the stack. As long as users have
	// permission to operate on the stack, AWS CloudFormation uses this role even
	// if the users don't have permission to pass it. Ensure that the role grants
	// least privilege.
	//
	// If you don't specify a value, AWS CloudFormation uses the role that was previously
	// associated with the stack. If no role is available, AWS CloudFormation uses
	// a temporary session that is generated from your user credentials.
	RoleARN *string `min:"20" type:"string"`

	// The rollback triggers for AWS CloudFormation to monitor during stack creation
	// and updating operations, and for the specified monitoring period afterwards.
	RollbackConfiguration *RollbackConfiguration `type:"structure"`

	// The name or the unique ID of the stack for which you are creating a change
	// set. AWS CloudFormation generates the change set by comparing this stack's
	// information with the information that you submit, such as a modified template
	// or different parameter input values.
	//
	// StackName is a required field
	StackName *string `min:"1" type:"string" required:"true"`

	// Key-value pairs to associate with this stack. AWS CloudFormation also propagates
	// these tags to resources in the stack. You can specify a maximum of 50 tags.
	Tags []*Tag `type:"list"`

	// A structure that contains the body of the revised template, with a minimum
	// length of 1 byte and a maximum length of 51,200 bytes. AWS CloudFormation
	// generates the change set by comparing this template with the template of
	// the stack that you specified.
	//
	// Conditional: You must specify only TemplateBody or TemplateURL.
	TemplateBody *string `min:"1" type:"string"`

	// The location of the file that contains the revised template. The URL must
	// point to a template (max size: 460,800 bytes) that is located in an S3 bucket.
	// AWS CloudFormation generates the change set by comparing this template with
	// the stack that you specified.
	//
	// Conditional: You must specify only TemplateBody or TemplateURL.
	TemplateURL *string `min:"1" type:"string"`

	// Whether to reuse the template that is associated with the stack to create
	// the change set.
	UsePreviousTemplate *bool `type:"boolean"`
	// contains filtered or unexported fields
}

The input for the CreateChangeSet action.

func (CreateChangeSetInput) GoString added in v1.1.15

func (s CreateChangeSetInput) GoString() string

GoString returns the string representation

func (*CreateChangeSetInput) SetCapabilities added in v1.5.0

func (s *CreateChangeSetInput) SetCapabilities(v []*string) *CreateChangeSetInput

SetCapabilities sets the Capabilities field's value.

func (*CreateChangeSetInput) SetChangeSetName added in v1.5.0

func (s *CreateChangeSetInput) SetChangeSetName(v string) *CreateChangeSetInput

SetChangeSetName sets the ChangeSetName field's value.

func (*CreateChangeSetInput) SetChangeSetType added in v1.5.0

func (s *CreateChangeSetInput) SetChangeSetType(v string) *CreateChangeSetInput

SetChangeSetType sets the ChangeSetType field's value.

func (*CreateChangeSetInput) SetClientToken added in v1.5.0

func (s *CreateChangeSetInput) SetClientToken(v string) *CreateChangeSetInput

SetClientToken sets the ClientToken field's value.

func (*CreateChangeSetInput) SetDescription added in v1.5.0

func (s *CreateChangeSetInput) SetDescription(v string) *CreateChangeSetInput

SetDescription sets the Description field's value.

func (*CreateChangeSetInput) SetNotificationARNs added in v1.5.0

func (s *CreateChangeSetInput) SetNotificationARNs(v []*string) *CreateChangeSetInput

SetNotificationARNs sets the NotificationARNs field's value.

func (*CreateChangeSetInput) SetParameters added in v1.5.0

func (s *CreateChangeSetInput) SetParameters(v []*Parameter) *CreateChangeSetInput

SetParameters sets the Parameters field's value.

func (*CreateChangeSetInput) SetResourceTypes added in v1.5.0

func (s *CreateChangeSetInput) SetResourceTypes(v []*string) *CreateChangeSetInput

SetResourceTypes sets the ResourceTypes field's value.

func (*CreateChangeSetInput) SetRoleARN added in v1.5.0

SetRoleARN sets the RoleARN field's value.

func (*CreateChangeSetInput) SetRollbackConfiguration added in v1.10.33

func (s *CreateChangeSetInput) SetRollbackConfiguration(v *RollbackConfiguration) *CreateChangeSetInput

SetRollbackConfiguration sets the RollbackConfiguration field's value.

func (*CreateChangeSetInput) SetStackName added in v1.5.0

func (s *CreateChangeSetInput) SetStackName(v string) *CreateChangeSetInput

SetStackName sets the StackName field's value.

func (*CreateChangeSetInput) SetTags added in v1.5.0

func (s *CreateChangeSetInput) SetTags(v []*Tag) *CreateChangeSetInput

SetTags sets the Tags field's value.

func (*CreateChangeSetInput) SetTemplateBody added in v1.5.0

func (s *CreateChangeSetInput) SetTemplateBody(v string) *CreateChangeSetInput

SetTemplateBody sets the TemplateBody field's value.

func (*CreateChangeSetInput) SetTemplateURL added in v1.5.0

func (s *CreateChangeSetInput) SetTemplateURL(v string) *CreateChangeSetInput

SetTemplateURL sets the TemplateURL field's value.

func (*CreateChangeSetInput) SetUsePreviousTemplate added in v1.5.0

func (s *CreateChangeSetInput) SetUsePreviousTemplate(v bool) *CreateChangeSetInput

SetUsePreviousTemplate sets the UsePreviousTemplate field's value.

func (CreateChangeSetInput) String added in v1.1.15

func (s CreateChangeSetInput) String() string

String returns the string representation

func (*CreateChangeSetInput) Validate added in v1.1.21

func (s *CreateChangeSetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateChangeSetOutput added in v1.1.15

type CreateChangeSetOutput struct {

	// The Amazon Resource Name (ARN) of the change set.
	Id *string `min:"1" type:"string"`

	// The unique ID of the stack.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

The output for the CreateChangeSet action.

func (CreateChangeSetOutput) GoString added in v1.1.15

func (s CreateChangeSetOutput) GoString() string

GoString returns the string representation

func (*CreateChangeSetOutput) SetId added in v1.5.0

SetId sets the Id field's value.

func (*CreateChangeSetOutput) SetStackId added in v1.5.0

SetStackId sets the StackId field's value.

func (CreateChangeSetOutput) String added in v1.1.15

func (s CreateChangeSetOutput) String() string

String returns the string representation

type CreateStackInput

type CreateStackInput struct {

	// A list of values that you must specify before AWS CloudFormation can create
	// certain stacks. Some stack templates might include resources that can affect
	// permissions in your AWS account, for example, by creating new AWS Identity
	// and Access Management (IAM) users. For those stacks, you must explicitly
	// acknowledge their capabilities by specifying this parameter.
	//
	// The only valid values are CAPABILITY_IAM and CAPABILITY_NAMED_IAM. The following
	// resources require you to specify this parameter:  AWS::IAM::AccessKey (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html),
	//  AWS::IAM::Group (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html),
	//  AWS::IAM::InstanceProfile (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html),
	//  AWS::IAM::Policy (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html),
	//  AWS::IAM::Role (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html),
	//  AWS::IAM::User (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html),
	// and  AWS::IAM::UserToGroupAddition (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html).
	// If your stack template contains these resources, we recommend that you review
	// all permissions associated with them and edit their permissions if necessary.
	//
	// If you have IAM resources, you can specify either capability. If you have
	// IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If
	// you don't specify this parameter, this action returns an InsufficientCapabilities
	// error.
	//
	// For more information, see Acknowledging IAM Resources in AWS CloudFormation
	// Templates (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities).
	Capabilities []*string `type:"list"`

	// A unique identifier for this CreateStack request. Specify this token if you
	// plan to retry requests so that AWS CloudFormation knows that you're not attempting
	// to create a stack with the same name. You might retry CreateStack requests
	// to ensure that AWS CloudFormation successfully received them.
	//
	// All events triggered by a given stack operation are assigned the same client
	// request token, which you can use to track operations. For example, if you
	// execute a CreateStack operation with the token token1, then all the StackEvents
	// generated by that operation will have ClientRequestToken set as token1.
	//
	// In the console, stack operations display the client request token on the
	// Events tab. Stack operations that are initiated from the console use the
	// token format Console-StackOperation-ID, which helps you easily identify the
	// stack operation . For example, if you create a stack using the console, each
	// stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.
	ClientRequestToken *string `min:"1" type:"string"`

	// Set to true to disable rollback of the stack if stack creation failed. You
	// can specify either DisableRollback or OnFailure, but not both.
	//
	// Default: false
	DisableRollback *bool `type:"boolean"`

	// Whether to enable termination protection on the specified stack. If a user
	// attempts to delete a stack with termination protection enabled, the operation
	// fails and the stack remains unchanged. For more information, see Protecting
	// a Stack From Being Deleted (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html)
	// in the AWS CloudFormation User Guide. Termination protection is disabled
	// on stacks by default.
	//
	// For nested stacks (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html),
	// termination protection is set on the root stack and cannot be changed directly
	// on the nested stack.
	EnableTerminationProtection *bool `type:"boolean"`

	// The Simple Notification Service (SNS) topic ARNs to publish stack related
	// events. You can find your SNS topic ARNs using the SNS console or your Command
	// Line Interface (CLI).
	NotificationARNs []*string `type:"list"`

	// Determines what action will be taken if stack creation fails. This must be
	// one of: DO_NOTHING, ROLLBACK, or DELETE. You can specify either OnFailure
	// or DisableRollback, but not both.
	//
	// Default: ROLLBACK
	OnFailure *string `type:"string" enum:"OnFailure"`

	// A list of Parameter structures that specify input parameters for the stack.
	// For more information, see the Parameter (http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html)
	// data type.
	Parameters []*Parameter `type:"list"`

	// The template resource types that you have permissions to work with for this
	// create stack action, such as AWS::EC2::Instance, AWS::EC2::*, or Custom::MyCustomInstance.
	// Use the following syntax to describe template resource types: AWS::* (for
	// all AWS resource), Custom::* (for all custom resources), Custom::logical_ID
	// (for a specific custom resource), AWS::service_name::* (for all resources
	// of a particular AWS service), and AWS::service_name::resource_logical_ID
	// (for a specific AWS resource).
	//
	// If the list of resource types doesn't include a resource that you're creating,
	// the stack creation fails. By default, AWS CloudFormation grants permissions
	// to all resource types. AWS Identity and Access Management (IAM) uses this
	// parameter for AWS CloudFormation-specific condition keys in IAM policies.
	// For more information, see Controlling Access with AWS Identity and Access
	// Management (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html).
	ResourceTypes []*string `type:"list"`

	// The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM)
	// role that AWS CloudFormation assumes to create the stack. AWS CloudFormation
	// uses the role's credentials to make calls on your behalf. AWS CloudFormation
	// always uses this role for all future operations on the stack. As long as
	// users have permission to operate on the stack, AWS CloudFormation uses this
	// role even if the users don't have permission to pass it. Ensure that the
	// role grants least privilege.
	//
	// If you don't specify a value, AWS CloudFormation uses the role that was previously
	// associated with the stack. If no role is available, AWS CloudFormation uses
	// a temporary session that is generated from your user credentials.
	RoleARN *string `min:"20" type:"string"`

	// The rollback triggers for AWS CloudFormation to monitor during stack creation
	// and updating operations, and for the specified monitoring period afterwards.
	RollbackConfiguration *RollbackConfiguration `type:"structure"`

	// The name that is associated with the stack. The name must be unique in the
	// region in which you are creating the stack.
	//
	// A stack name can contain only alphanumeric characters (case sensitive) and
	// hyphens. It must start with an alphabetic character and cannot be longer
	// than 128 characters.
	//
	// StackName is a required field
	StackName *string `type:"string" required:"true"`

	// Structure containing the stack policy body. For more information, go to
	// Prevent Updates to Stack Resources (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html)
	// in the AWS CloudFormation User Guide. You can specify either the StackPolicyBody
	// or the StackPolicyURL parameter, but not both.
	StackPolicyBody *string `min:"1" type:"string"`

	// Location of a file containing the stack policy. The URL must point to a policy
	// (maximum size: 16 KB) located in an S3 bucket in the same region as the stack.
	// You can specify either the StackPolicyBody or the StackPolicyURL parameter,
	// but not both.
	StackPolicyURL *string `min:"1" type:"string"`

	// Key-value pairs to associate with this stack. AWS CloudFormation also propagates
	// these tags to the resources created in the stack. A maximum number of 50
	// tags can be specified.
	Tags []*Tag `type:"list"`

	// Structure containing the template body with a minimum length of 1 byte and
	// a maximum length of 51,200 bytes. For more information, go to Template Anatomy
	// (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html)
	// in the AWS CloudFormation User Guide.
	//
	// Conditional: You must specify either the TemplateBody or the TemplateURL
	// parameter, but not both.
	TemplateBody *string `min:"1" type:"string"`

	// Location of file containing the template body. The URL must point to a template
	// (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more
	// information, go to the Template Anatomy (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html)
	// in the AWS CloudFormation User Guide.
	//
	// Conditional: You must specify either the TemplateBody or the TemplateURL
	// parameter, but not both.
	TemplateURL *string `min:"1" type:"string"`

	// The amount of time that can pass before the stack status becomes CREATE_FAILED;
	// if DisableRollback is not set or is set to false, the stack will be rolled
	// back.
	TimeoutInMinutes *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

The input for CreateStack action.

func (CreateStackInput) GoString added in v0.6.5

func (s CreateStackInput) GoString() string

GoString returns the string representation

func (*CreateStackInput) SetCapabilities added in v1.5.0

func (s *CreateStackInput) SetCapabilities(v []*string) *CreateStackInput

SetCapabilities sets the Capabilities field's value.

func (*CreateStackInput) SetClientRequestToken added in v1.8.18

func (s *CreateStackInput) SetClientRequestToken(v string) *CreateStackInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreateStackInput) SetDisableRollback added in v1.5.0

func (s *CreateStackInput) SetDisableRollback(v bool) *CreateStackInput

SetDisableRollback sets the DisableRollback field's value.

func (*CreateStackInput) SetEnableTerminationProtection added in v1.11.0

func (s *CreateStackInput) SetEnableTerminationProtection(v bool) *CreateStackInput

SetEnableTerminationProtection sets the EnableTerminationProtection field's value.

func (*CreateStackInput) SetNotificationARNs added in v1.5.0

func (s *CreateStackInput) SetNotificationARNs(v []*string) *CreateStackInput

SetNotificationARNs sets the NotificationARNs field's value.

func (*CreateStackInput) SetOnFailure added in v1.5.0

func (s *CreateStackInput) SetOnFailure(v string) *CreateStackInput

SetOnFailure sets the OnFailure field's value.

func (*CreateStackInput) SetParameters added in v1.5.0

func (s *CreateStackInput) SetParameters(v []*Parameter) *CreateStackInput

SetParameters sets the Parameters field's value.

func (*CreateStackInput) SetResourceTypes added in v1.5.0

func (s *CreateStackInput) SetResourceTypes(v []*string) *CreateStackInput

SetResourceTypes sets the ResourceTypes field's value.

func (*CreateStackInput) SetRoleARN added in v1.5.0

func (s *CreateStackInput) SetRoleARN(v string) *CreateStackInput

SetRoleARN sets the RoleARN field's value.

func (*CreateStackInput) SetRollbackConfiguration added in v1.10.33

func (s *CreateStackInput) SetRollbackConfiguration(v *RollbackConfiguration) *CreateStackInput

SetRollbackConfiguration sets the RollbackConfiguration field's value.

func (*CreateStackInput) SetStackName added in v1.5.0

func (s *CreateStackInput) SetStackName(v string) *CreateStackInput

SetStackName sets the StackName field's value.

func (*CreateStackInput) SetStackPolicyBody added in v1.5.0

func (s *CreateStackInput) SetStackPolicyBody(v string) *CreateStackInput

SetStackPolicyBody sets the StackPolicyBody field's value.

func (*CreateStackInput) SetStackPolicyURL added in v1.5.0

func (s *CreateStackInput) SetStackPolicyURL(v string) *CreateStackInput

SetStackPolicyURL sets the StackPolicyURL field's value.

func (*CreateStackInput) SetTags added in v1.5.0

func (s *CreateStackInput) SetTags(v []*Tag) *CreateStackInput

SetTags sets the Tags field's value.

func (*CreateStackInput) SetTemplateBody added in v1.5.0

func (s *CreateStackInput) SetTemplateBody(v string) *CreateStackInput

SetTemplateBody sets the TemplateBody field's value.

func (*CreateStackInput) SetTemplateURL added in v1.5.0

func (s *CreateStackInput) SetTemplateURL(v string) *CreateStackInput

SetTemplateURL sets the TemplateURL field's value.

func (*CreateStackInput) SetTimeoutInMinutes added in v1.5.0

func (s *CreateStackInput) SetTimeoutInMinutes(v int64) *CreateStackInput

SetTimeoutInMinutes sets the TimeoutInMinutes field's value.

func (CreateStackInput) String added in v0.6.5

func (s CreateStackInput) String() string

String returns the string representation

func (*CreateStackInput) Validate added in v1.1.21

func (s *CreateStackInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateStackInstancesInput added in v1.10.16

type CreateStackInstancesInput struct {

	// The names of one or more AWS accounts that you want to create stack instances
	// in the specified region(s) for.
	//
	// Accounts is a required field
	Accounts []*string `type:"list" required:"true"`

	// The unique identifier for this stack set operation.
	//
	// The operation ID also functions as an idempotency token, to ensure that AWS
	// CloudFormation performs the stack set operation only once, even if you retry
	// the request multiple times. You might retry stack set operation requests
	// to ensure that AWS CloudFormation successfully received them.
	//
	// If you don't specify an operation ID, the SDK generates one automatically.
	//
	// Repeating this stack set operation with a new operation ID retries all stack
	// instances whose status is OUTDATED.
	OperationId *string `min:"1" type:"string" idempotencyToken:"true"`

	// Preferences for how AWS CloudFormation performs this stack set operation.
	OperationPreferences *StackSetOperationPreferences `type:"structure"`

	// A list of stack set parameters whose values you want to override in the selected
	// stack instances.
	//
	// Any overridden parameter values will be applied to all stack instances in
	// the specified accounts and regions. When specifying parameters and their
	// values, be aware of how AWS CloudFormation sets parameter values during stack
	// instance operations:
	//
	//    * To override the current value for a parameter, include the parameter
	//    and specify its value.
	//
	//    * To leave a parameter set to its present value, you can do one of the
	//    following:
	//
	// Do not include the parameter in the list.
	//
	// Include the parameter and specify UsePreviousValue as true. (You cannot specify
	//    both a value and set UsePreviousValue to true.)
	//
	//    * To set all overridden parameter back to the values specified in the
	//    stack set, specify a parameter list but do not include any parameters.
	//
	//    * To leave all parameters set to their present values, do not specify
	//    this property at all.
	//
	// During stack set updates, any parameter values overridden for a stack instance
	// are not updated, but retain their overridden value.
	//
	// You can only override the parameter values that are specified in the stack
	// set; to add or delete a parameter itself, use UpdateStackSet (http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html)
	// to update the stack set template.
	ParameterOverrides []*Parameter `type:"list"`

	// The names of one or more regions where you want to create stack instances
	// using the specified AWS account(s).
	//
	// Regions is a required field
	Regions []*string `type:"list" required:"true"`

	// The name or unique ID of the stack set that you want to create stack instances
	// from.
	//
	// StackSetName is a required field
	StackSetName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateStackInstancesInput) GoString added in v1.10.16

func (s CreateStackInstancesInput) GoString() string

GoString returns the string representation

func (*CreateStackInstancesInput) SetAccounts added in v1.10.16

SetAccounts sets the Accounts field's value.

func (*CreateStackInstancesInput) SetOperationId added in v1.10.16

SetOperationId sets the OperationId field's value.

func (*CreateStackInstancesInput) SetOperationPreferences added in v1.10.16

SetOperationPreferences sets the OperationPreferences field's value.

func (*CreateStackInstancesInput) SetParameterOverrides added in v1.12.32

func (s *CreateStackInstancesInput) SetParameterOverrides(v []*Parameter) *CreateStackInstancesInput

SetParameterOverrides sets the ParameterOverrides field's value.

func (*CreateStackInstancesInput) SetRegions added in v1.10.16

SetRegions sets the Regions field's value.

func (*CreateStackInstancesInput) SetStackSetName added in v1.10.16

SetStackSetName sets the StackSetName field's value.

func (CreateStackInstancesInput) String added in v1.10.16

func (s CreateStackInstancesInput) String() string

String returns the string representation

func (*CreateStackInstancesInput) Validate added in v1.10.16

func (s *CreateStackInstancesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateStackInstancesOutput added in v1.10.16

type CreateStackInstancesOutput struct {

	// The unique identifier for this stack set operation.
	OperationId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateStackInstancesOutput) GoString added in v1.10.16

func (s CreateStackInstancesOutput) GoString() string

GoString returns the string representation

func (*CreateStackInstancesOutput) SetOperationId added in v1.10.16

SetOperationId sets the OperationId field's value.

func (CreateStackInstancesOutput) String added in v1.10.16

String returns the string representation

type CreateStackOutput

type CreateStackOutput struct {

	// Unique identifier of the stack.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

The output for a CreateStack action.

func (CreateStackOutput) GoString added in v0.6.5

func (s CreateStackOutput) GoString() string

GoString returns the string representation

func (*CreateStackOutput) SetStackId added in v1.5.0

func (s *CreateStackOutput) SetStackId(v string) *CreateStackOutput

SetStackId sets the StackId field's value.

func (CreateStackOutput) String added in v0.6.5

func (s CreateStackOutput) String() string

String returns the string representation

type CreateStackSetInput added in v1.10.16

type CreateStackSetInput struct {

	// The Amazon Resource Number (ARN) of the IAM role to use to create this stack
	// set.
	//
	// Specify an IAM role only if you are using customized administrator roles
	// to control which users or groups can manage specific stack sets within the
	// same administrator account. For more information, see Prerequisites: Granting
	// Permissions for Stack Set Operations (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html)
	// in the AWS CloudFormation User Guide.
	AdministrationRoleARN *string `min:"20" type:"string"`

	// A list of values that you must specify before AWS CloudFormation can create
	// certain stack sets. Some stack set templates might include resources that
	// can affect permissions in your AWS account—for example, by creating new AWS
	// Identity and Access Management (IAM) users. For those stack sets, you must
	// explicitly acknowledge their capabilities by specifying this parameter.
	//
	// The only valid values are CAPABILITY_IAM and CAPABILITY_NAMED_IAM. The following
	// resources require you to specify this parameter:
	//
	//    * AWS::IAM::AccessKey
	//
	//    * AWS::IAM::Group
	//
	//    * AWS::IAM::InstanceProfile
	//
	//    * AWS::IAM::Policy
	//
	//    * AWS::IAM::Role
	//
	//    * AWS::IAM::User
	//
	//    * AWS::IAM::UserToGroupAddition
	//
	// If your stack template contains these resources, we recommend that you review
	// all permissions that are associated with them and edit their permissions
	// if necessary.
	//
	// If you have IAM resources, you can specify either capability. If you have
	// IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If
	// you don't specify this parameter, this action returns an InsufficientCapabilities
	// error.
	//
	// For more information, see Acknowledging IAM Resources in AWS CloudFormation
	// Templates. (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities)
	Capabilities []*string `type:"list"`

	// A unique identifier for this CreateStackSet request. Specify this token if
	// you plan to retry requests so that AWS CloudFormation knows that you're not
	// attempting to create another stack set with the same name. You might retry
	// CreateStackSet requests to ensure that AWS CloudFormation successfully received
	// them.
	//
	// If you don't specify an operation ID, the SDK generates one automatically.
	ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"`

	// A description of the stack set. You can use the description to identify the
	// stack set's purpose or other important information.
	Description *string `min:"1" type:"string"`

	// The name of the IAM execution role to use to create the stack set. If you
	// do not specify an execution role, AWS CloudFormation uses the AWSCloudFormationStackSetExecutionRole
	// role for the stack set operation.
	//
	// Specify an IAM role only if you are using customized execution roles to control
	// which stack resources users and groups can include in their stack sets.
	ExecutionRoleName *string `min:"1" type:"string"`

	// The input parameters for the stack set template.
	Parameters []*Parameter `type:"list"`

	// The name to associate with the stack set. The name must be unique in the
	// region where you create your stack set.
	//
	// A stack name can contain only alphanumeric characters (case-sensitive) and
	// hyphens. It must start with an alphabetic character and can't be longer than
	// 128 characters.
	//
	// StackSetName is a required field
	StackSetName *string `type:"string" required:"true"`

	// The key-value pairs to associate with this stack set and the stacks created
	// from it. AWS CloudFormation also propagates these tags to supported resources
	// that are created in the stacks. A maximum number of 50 tags can be specified.
	//
	// If you specify tags as part of a CreateStackSet action, AWS CloudFormation
	// checks to see if you have the required IAM permission to tag resources. If
	// you don't, the entire CreateStackSet action fails with an access denied error,
	// and the stack set is not created.
	Tags []*Tag `type:"list"`

	// The structure that contains the template body, with a minimum length of 1
	// byte and a maximum length of 51,200 bytes. For more information, see Template
	// Anatomy (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html)
	// in the AWS CloudFormation User Guide.
	//
	// Conditional: You must specify either the TemplateBody or the TemplateURL
	// parameter, but not both.
	TemplateBody *string `min:"1" type:"string"`

	// The location of the file that contains the template body. The URL must point
	// to a template (maximum size: 460,800 bytes) that's located in an Amazon S3
	// bucket. For more information, see Template Anatomy (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html)
	// in the AWS CloudFormation User Guide.
	//
	// Conditional: You must specify either the TemplateBody or the TemplateURL
	// parameter, but not both.
	TemplateURL *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateStackSetInput) GoString added in v1.10.16

func (s CreateStackSetInput) GoString() string

GoString returns the string representation

func (*CreateStackSetInput) SetAdministrationRoleARN added in v1.13.24

func (s *CreateStackSetInput) SetAdministrationRoleARN(v string) *CreateStackSetInput

SetAdministrationRoleARN sets the AdministrationRoleARN field's value.

func (*CreateStackSetInput) SetCapabilities added in v1.10.16

func (s *CreateStackSetInput) SetCapabilities(v []*string) *CreateStackSetInput

SetCapabilities sets the Capabilities field's value.

func (*CreateStackSetInput) SetClientRequestToken added in v1.10.16

func (s *CreateStackSetInput) SetClientRequestToken(v string) *CreateStackSetInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*CreateStackSetInput) SetDescription added in v1.10.16

func (s *CreateStackSetInput) SetDescription(v string) *CreateStackSetInput

SetDescription sets the Description field's value.

func (*CreateStackSetInput) SetExecutionRoleName added in v1.13.53

func (s *CreateStackSetInput) SetExecutionRoleName(v string) *CreateStackSetInput

SetExecutionRoleName sets the ExecutionRoleName field's value.

func (*CreateStackSetInput) SetParameters added in v1.10.16

func (s *CreateStackSetInput) SetParameters(v []*Parameter) *CreateStackSetInput

SetParameters sets the Parameters field's value.

func (*CreateStackSetInput) SetStackSetName added in v1.10.16

func (s *CreateStackSetInput) SetStackSetName(v string) *CreateStackSetInput

SetStackSetName sets the StackSetName field's value.

func (*CreateStackSetInput) SetTags added in v1.10.16

func (s *CreateStackSetInput) SetTags(v []*Tag) *CreateStackSetInput

SetTags sets the Tags field's value.

func (*CreateStackSetInput) SetTemplateBody added in v1.10.16

func (s *CreateStackSetInput) SetTemplateBody(v string) *CreateStackSetInput

SetTemplateBody sets the TemplateBody field's value.

func (*CreateStackSetInput) SetTemplateURL added in v1.10.16

func (s *CreateStackSetInput) SetTemplateURL(v string) *CreateStackSetInput

SetTemplateURL sets the TemplateURL field's value.

func (CreateStackSetInput) String added in v1.10.16

func (s CreateStackSetInput) String() string

String returns the string representation

func (*CreateStackSetInput) Validate added in v1.10.16

func (s *CreateStackSetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateStackSetOutput added in v1.10.16

type CreateStackSetOutput struct {

	// The ID of the stack set that you're creating.
	StackSetId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateStackSetOutput) GoString added in v1.10.16

func (s CreateStackSetOutput) GoString() string

GoString returns the string representation

func (*CreateStackSetOutput) SetStackSetId added in v1.10.16

func (s *CreateStackSetOutput) SetStackSetId(v string) *CreateStackSetOutput

SetStackSetId sets the StackSetId field's value.

func (CreateStackSetOutput) String added in v1.10.16

func (s CreateStackSetOutput) String() string

String returns the string representation

type DeleteChangeSetInput added in v1.1.15

type DeleteChangeSetInput struct {

	// The name or Amazon Resource Name (ARN) of the change set that you want to
	// delete.
	//
	// ChangeSetName is a required field
	ChangeSetName *string `min:"1" type:"string" required:"true"`

	// If you specified the name of a change set to delete, specify the stack name
	// or ID (ARN) that is associated with it.
	StackName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The input for the DeleteChangeSet action.

func (DeleteChangeSetInput) GoString added in v1.1.15

func (s DeleteChangeSetInput) GoString() string

GoString returns the string representation

func (*DeleteChangeSetInput) SetChangeSetName added in v1.5.0

func (s *DeleteChangeSetInput) SetChangeSetName(v string) *DeleteChangeSetInput

SetChangeSetName sets the ChangeSetName field's value.

func (*DeleteChangeSetInput) SetStackName added in v1.5.0

func (s *DeleteChangeSetInput) SetStackName(v string) *DeleteChangeSetInput

SetStackName sets the StackName field's value.

func (DeleteChangeSetInput) String added in v1.1.15

func (s DeleteChangeSetInput) String() string

String returns the string representation

func (*DeleteChangeSetInput) Validate added in v1.1.21

func (s *DeleteChangeSetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteChangeSetOutput added in v1.1.15

type DeleteChangeSetOutput struct {
	// contains filtered or unexported fields
}

The output for the DeleteChangeSet action.

func (DeleteChangeSetOutput) GoString added in v1.1.15

func (s DeleteChangeSetOutput) GoString() string

GoString returns the string representation

func (DeleteChangeSetOutput) String added in v1.1.15

func (s DeleteChangeSetOutput) String() string

String returns the string representation

type DeleteStackInput

type DeleteStackInput struct {

	// A unique identifier for this DeleteStack request. Specify this token if you
	// plan to retry requests so that AWS CloudFormation knows that you're not attempting
	// to delete a stack with the same name. You might retry DeleteStack requests
	// to ensure that AWS CloudFormation successfully received them.
	//
	// All events triggered by a given stack operation are assigned the same client
	// request token, which you can use to track operations. For example, if you
	// execute a CreateStack operation with the token token1, then all the StackEvents
	// generated by that operation will have ClientRequestToken set as token1.
	//
	// In the console, stack operations display the client request token on the
	// Events tab. Stack operations that are initiated from the console use the
	// token format Console-StackOperation-ID, which helps you easily identify the
	// stack operation . For example, if you create a stack using the console, each
	// stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.
	ClientRequestToken *string `min:"1" type:"string"`

	// For stacks in the DELETE_FAILED state, a list of resource logical IDs that
	// are associated with the resources you want to retain. During deletion, AWS
	// CloudFormation deletes the stack but does not delete the retained resources.
	//
	// Retaining resources is useful when you cannot delete a resource, such as
	// a non-empty S3 bucket, but you want to delete the stack.
	RetainResources []*string `type:"list"`

	// The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM)
	// role that AWS CloudFormation assumes to delete the stack. AWS CloudFormation
	// uses the role's credentials to make calls on your behalf.
	//
	// If you don't specify a value, AWS CloudFormation uses the role that was previously
	// associated with the stack. If no role is available, AWS CloudFormation uses
	// a temporary session that is generated from your user credentials.
	RoleARN *string `min:"20" type:"string"`

	// The name or the unique stack ID that is associated with the stack.
	//
	// StackName is a required field
	StackName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The input for DeleteStack action.

func (DeleteStackInput) GoString added in v0.6.5

func (s DeleteStackInput) GoString() string

GoString returns the string representation

func (*DeleteStackInput) SetClientRequestToken added in v1.8.18

func (s *DeleteStackInput) SetClientRequestToken(v string) *DeleteStackInput

SetClientRequestToken sets the ClientRequestToken field's value.

func (*DeleteStackInput) SetRetainResources added in v1.5.0

func (s *DeleteStackInput) SetRetainResources(v []*string) *DeleteStackInput

SetRetainResources sets the RetainResources field's value.

func (*DeleteStackInput) SetRoleARN added in v1.5.0

func (s *DeleteStackInput) SetRoleARN(v string) *DeleteStackInput

SetRoleARN sets the RoleARN field's value.

func (*DeleteStackInput) SetStackName added in v1.5.0

func (s *DeleteStackInput) SetStackName(v string) *DeleteStackInput

SetStackName sets the StackName field's value.

func (DeleteStackInput) String added in v0.6.5

func (s DeleteStackInput) String() string

String returns the string representation

func (*DeleteStackInput) Validate added in v1.1.21

func (s *DeleteStackInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteStackInstancesInput added in v1.10.16

type DeleteStackInstancesInput struct {

	// The names of the AWS accounts that you want to delete stack instances for.
	//
	// Accounts is a required field
	Accounts []*string `type:"list" required:"true"`

	// The unique identifier for this stack set operation.
	//
	// If you don't specify an operation ID, the SDK generates one automatically.
	//
	// The operation ID also functions as an idempotency token, to ensure that AWS
	// CloudFormation performs the stack set operation only once, even if you retry
	// the request multiple times. You can retry stack set operation requests to
	// ensure that AWS CloudFormation successfully received them.
	//
	// Repeating this stack set operation with a new operation ID retries all stack
	// instances whose status is OUTDATED.
	OperationId *string `min:"1" type:"string" idempotencyToken:"true"`

	// Preferences for how AWS CloudFormation performs this stack set operation.
	OperationPreferences *StackSetOperationPreferences `type:"structure"`

	// The regions where you want to delete stack set instances.
	//
	// Regions is a required field
	Regions []*string `type:"list" required:"true"`

	// Removes the stack instances from the specified stack set, but doesn't delete
	// the stacks. You can't reassociate a retained stack or add an existing, saved
	// stack to a new stack set.
	//
	// For more information, see Stack set operation options (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options).
	//
	// RetainStacks is a required field
	RetainStacks *bool `type:"boolean" required:"true"`

	// The name or unique ID of the stack set that you want to delete stack instances
	// for.
	//
	// StackSetName is a required field
	StackSetName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteStackInstancesInput) GoString added in v1.10.16

func (s DeleteStackInstancesInput) GoString() string

GoString returns the string representation

func (*DeleteStackInstancesInput) SetAccounts added in v1.10.16

SetAccounts sets the Accounts field's value.

func (*DeleteStackInstancesInput) SetOperationId added in v1.10.16

SetOperationId sets the OperationId field's value.

func (*DeleteStackInstancesInput) SetOperationPreferences added in v1.10.16

SetOperationPreferences sets the OperationPreferences field's value.

func (*DeleteStackInstancesInput) SetRegions added in v1.10.16

SetRegions sets the Regions field's value.

func (*DeleteStackInstancesInput) SetRetainStacks added in v1.10.16

SetRetainStacks sets the RetainStacks field's value.

func (*DeleteStackInstancesInput) SetStackSetName added in v1.10.16

SetStackSetName sets the StackSetName field's value.

func (DeleteStackInstancesInput) String added in v1.10.16

func (s DeleteStackInstancesInput) String() string

String returns the string representation

func (*DeleteStackInstancesInput) Validate added in v1.10.16

func (s *DeleteStackInstancesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteStackInstancesOutput added in v1.10.16

type DeleteStackInstancesOutput struct {

	// The unique identifier for this stack set operation.
	OperationId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DeleteStackInstancesOutput) GoString added in v1.10.16

func (s DeleteStackInstancesOutput) GoString() string

GoString returns the string representation

func (*DeleteStackInstancesOutput) SetOperationId added in v1.10.16

SetOperationId sets the OperationId field's value.

func (DeleteStackInstancesOutput) String added in v1.10.16

String returns the string representation

type DeleteStackOutput

type DeleteStackOutput struct {
	// contains filtered or unexported fields
}

func (DeleteStackOutput) GoString added in v0.6.5

func (s DeleteStackOutput) GoString() string

GoString returns the string representation

func (DeleteStackOutput) String added in v0.6.5

func (s DeleteStackOutput) String() string

String returns the string representation

type DeleteStackSetInput added in v1.10.16

type DeleteStackSetInput struct {

	// The name or unique ID of the stack set that you're deleting. You can obtain
	// this value by running ListStackSets.
	//
	// StackSetName is a required field
	StackSetName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteStackSetInput) GoString added in v1.10.16

func (s DeleteStackSetInput) GoString() string

GoString returns the string representation

func (*DeleteStackSetInput) SetStackSetName added in v1.10.16

func (s *DeleteStackSetInput) SetStackSetName(v string) *DeleteStackSetInput

SetStackSetName sets the StackSetName field's value.

func (DeleteStackSetInput) String added in v1.10.16

func (s DeleteStackSetInput) String() string

String returns the string representation

func (*DeleteStackSetInput) Validate added in v1.10.16

func (s *DeleteStackSetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteStackSetOutput added in v1.10.16

type DeleteStackSetOutput struct {
	// contains filtered or unexported fields
}

func (DeleteStackSetOutput) GoString added in v1.10.16

func (s DeleteStackSetOutput) GoString() string

GoString returns the string representation

func (DeleteStackSetOutput) String added in v1.10.16

func (s DeleteStackSetOutput) String() string

String returns the string representation

type DescribeAccountLimitsInput added in v0.9.10

type DescribeAccountLimitsInput struct {

	// A string that identifies the next page of limits that you want to retrieve.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The input for the DescribeAccountLimits action.

func (DescribeAccountLimitsInput) GoString added in v0.9.10

func (s DescribeAccountLimitsInput) GoString() string

GoString returns the string representation

func (*DescribeAccountLimitsInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (DescribeAccountLimitsInput) String added in v0.9.10

String returns the string representation

func (*DescribeAccountLimitsInput) Validate added in v1.1.21

func (s *DescribeAccountLimitsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeAccountLimitsOutput added in v0.9.10

type DescribeAccountLimitsOutput struct {

	// An account limit structure that contain a list of AWS CloudFormation account
	// limits and their values.
	AccountLimits []*AccountLimit `type:"list"`

	// If the output exceeds 1 MB in size, a string that identifies the next page
	// of limits. If no additional page exists, this value is null.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The output for the DescribeAccountLimits action.

func (DescribeAccountLimitsOutput) GoString added in v0.9.10

func (s DescribeAccountLimitsOutput) GoString() string

GoString returns the string representation

func (*DescribeAccountLimitsOutput) SetAccountLimits added in v1.5.0

SetAccountLimits sets the AccountLimits field's value.

func (*DescribeAccountLimitsOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (DescribeAccountLimitsOutput) String added in v0.9.10

String returns the string representation

type DescribeChangeSetInput added in v1.1.15

type DescribeChangeSetInput struct {

	// The name or Amazon Resource Name (ARN) of the change set that you want to
	// describe.
	//
	// ChangeSetName is a required field
	ChangeSetName *string `min:"1" type:"string" required:"true"`

	// A string (provided by the DescribeChangeSet response output) that identifies
	// the next page of information that you want to retrieve.
	NextToken *string `min:"1" type:"string"`

	// If you specified the name of a change set, specify the stack name or ID (ARN)
	// of the change set you want to describe.
	StackName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The input for the DescribeChangeSet action.

func (DescribeChangeSetInput) GoString added in v1.1.15

func (s DescribeChangeSetInput) GoString() string

GoString returns the string representation

func (*DescribeChangeSetInput) SetChangeSetName added in v1.5.0

func (s *DescribeChangeSetInput) SetChangeSetName(v string) *DescribeChangeSetInput

SetChangeSetName sets the ChangeSetName field's value.

func (*DescribeChangeSetInput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*DescribeChangeSetInput) SetStackName added in v1.5.0

SetStackName sets the StackName field's value.

func (DescribeChangeSetInput) String added in v1.1.15

func (s DescribeChangeSetInput) String() string

String returns the string representation

func (*DescribeChangeSetInput) Validate added in v1.1.21

func (s *DescribeChangeSetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeChangeSetOutput added in v1.1.15

type DescribeChangeSetOutput struct {

	// If you execute the change set, the list of capabilities that were explicitly
	// acknowledged when the change set was created.
	Capabilities []*string `type:"list"`

	// The ARN of the change set.
	ChangeSetId *string `min:"1" type:"string"`

	// The name of the change set.
	ChangeSetName *string `min:"1" type:"string"`

	// A list of Change structures that describes the resources AWS CloudFormation
	// changes if you execute the change set.
	Changes []*Change `type:"list"`

	// The start time when the change set was created, in UTC.
	CreationTime *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Information about the change set.
	Description *string `min:"1" type:"string"`

	// If the change set execution status is AVAILABLE, you can execute the change
	// set. If you can’t execute the change set, the status indicates why. For example,
	// a change set might be in an UNAVAILABLE state because AWS CloudFormation
	// is still creating it or in an OBSOLETE state because the stack was already
	// updated.
	ExecutionStatus *string `type:"string" enum:"ExecutionStatus"`

	// If the output exceeds 1 MB, a string that identifies the next page of changes.
	// If there is no additional page, this value is null.
	NextToken *string `min:"1" type:"string"`

	// The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that
	// will be associated with the stack if you execute the change set.
	NotificationARNs []*string `type:"list"`

	// A list of Parameter structures that describes the input parameters and their
	// values used to create the change set. For more information, see the Parameter
	// (http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html)
	// data type.
	Parameters []*Parameter `type:"list"`

	// The rollback triggers for AWS CloudFormation to monitor during stack creation
	// and updating operations, and for the specified monitoring period afterwards.
	RollbackConfiguration *RollbackConfiguration `type:"structure"`

	// The ARN of the stack that is associated with the change set.
	StackId *string `type:"string"`

	// The name of the stack that is associated with the change set.
	StackName *string `type:"string"`

	// The current status of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE,
	// or FAILED.
	Status *string `type:"string" enum:"ChangeSetStatus"`

	// A description of the change set's status. For example, if your attempt to
	// create a change set failed, AWS CloudFormation shows the error message.
	StatusReason *string `type:"string"`

	// If you execute the change set, the tags that will be associated with the
	// stack.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

The output for the DescribeChangeSet action.

func (DescribeChangeSetOutput) GoString added in v1.1.15

func (s DescribeChangeSetOutput) GoString() string

GoString returns the string representation

func (*DescribeChangeSetOutput) SetCapabilities added in v1.5.0

func (s *DescribeChangeSetOutput) SetCapabilities(v []*string) *DescribeChangeSetOutput

SetCapabilities sets the Capabilities field's value.

func (*DescribeChangeSetOutput) SetChangeSetId added in v1.5.0

SetChangeSetId sets the ChangeSetId field's value.

func (*DescribeChangeSetOutput) SetChangeSetName added in v1.5.0

func (s *DescribeChangeSetOutput) SetChangeSetName(v string) *DescribeChangeSetOutput

SetChangeSetName sets the ChangeSetName field's value.

func (*DescribeChangeSetOutput) SetChanges added in v1.5.0

SetChanges sets the Changes field's value.

func (*DescribeChangeSetOutput) SetCreationTime added in v1.5.0

SetCreationTime sets the CreationTime field's value.

func (*DescribeChangeSetOutput) SetDescription added in v1.5.0

SetDescription sets the Description field's value.

func (*DescribeChangeSetOutput) SetExecutionStatus added in v1.5.0

func (s *DescribeChangeSetOutput) SetExecutionStatus(v string) *DescribeChangeSetOutput

SetExecutionStatus sets the ExecutionStatus field's value.

func (*DescribeChangeSetOutput) SetNextToken added in v1.5.0

SetNextToken sets the NextToken field's value.

func (*DescribeChangeSetOutput) SetNotificationARNs added in v1.5.0

func (s *DescribeChangeSetOutput) SetNotificationARNs(v []*string) *DescribeChangeSetOutput

SetNotificationARNs sets the NotificationARNs field's value.

func (*DescribeChangeSetOutput) SetParameters added in v1.5.0

SetParameters sets the Parameters field's value.

func (*DescribeChangeSetOutput) SetRollbackConfiguration added in v1.10.33

SetRollbackConfiguration sets the RollbackConfiguration field's value.

func (*DescribeChangeSetOutput) SetStackId added in v1.5.0

SetStackId sets the StackId field's value.

func (*DescribeChangeSetOutput) SetStackName added in v1.5.0

SetStackName sets the StackName field's value.

func (*DescribeChangeSetOutput) SetStatus added in v1.5.0

SetStatus sets the Status field's value.

func (*DescribeChangeSetOutput) SetStatusReason added in v1.5.0

SetStatusReason sets the StatusReason field's value.

func (*DescribeChangeSetOutput)