/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the cloudformation-2010-05-15.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.CloudFormation.Model; using Amazon.CloudFormation.Model.Internal.MarshallTransformations; using Amazon.CloudFormation.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.CloudFormation { /// /// Implementation for accessing CloudFormation /// /// CloudFormation /// /// CloudFormation allows you to create and manage Amazon Web Services infrastructure /// deployments predictably and repeatedly. You can use CloudFormation to leverage Amazon /// Web Services 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 Amazon Web Services infrastructure. /// /// /// /// With CloudFormation, you declare all your resources and dependencies in a template /// file. The template defines a collection of resources as a single unit called a stack. /// CloudFormation creates and deletes all member resources of the stack together and /// manages all dependencies between the resources for you. /// /// /// /// For more information about CloudFormation, see the CloudFormation /// product page. /// /// /// /// CloudFormation makes use of other Amazon Web Services products. If you need additional /// technical information about a specific Amazon Web Services product, you can find the /// product's technical documentation at docs.aws.amazon.com. /// /// public partial class AmazonCloudFormationClient : AmazonServiceClient, IAmazonCloudFormation { private static IServiceMetadata serviceMetadata = new AmazonCloudFormationMetadata(); private ICloudFormationPaginatorFactory _paginators; /// /// Paginators for the service /// public ICloudFormationPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new CloudFormationPaginatorFactory(this); } return this._paginators; } } #region Constructors /// /// Constructs AmazonCloudFormationClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonCloudFormationClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudFormationConfig()) { } /// /// Constructs AmazonCloudFormationClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonCloudFormationClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonCloudFormationConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCloudFormationClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonCloudFormationClient Configuration Object public AmazonCloudFormationClient(AmazonCloudFormationConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonCloudFormationClient with AWS Credentials /// /// AWS Credentials public AmazonCloudFormationClient(AWSCredentials credentials) : this(credentials, new AmazonCloudFormationConfig()) { } /// /// Constructs AmazonCloudFormationClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonCloudFormationClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonCloudFormationConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCloudFormationClient with AWS Credentials and an /// AmazonCloudFormationClient Configuration object. /// /// AWS Credentials /// The AmazonCloudFormationClient Configuration Object public AmazonCloudFormationClient(AWSCredentials credentials, AmazonCloudFormationConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonCloudFormationClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonCloudFormationClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudFormationConfig()) { } /// /// Constructs AmazonCloudFormationClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonCloudFormationClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonCloudFormationConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonCloudFormationClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCloudFormationClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonCloudFormationClient Configuration Object public AmazonCloudFormationClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCloudFormationConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonCloudFormationClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonCloudFormationClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudFormationConfig()) { } /// /// Constructs AmazonCloudFormationClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonCloudFormationClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCloudFormationConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonCloudFormationClient with AWS Access Key ID, AWS Secret Key and an /// AmazonCloudFormationClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonCloudFormationClient Configuration Object public AmazonCloudFormationClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCloudFormationConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.AddHandlerAfter(new Amazon.CloudFormation.Internal.ProcessRequestHandler()); pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonCloudFormationEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region ActivateOrganizationsAccess /// /// Activate trusted access with Organizations. With trusted access between StackSets /// and Organizations activated, the management account has permissions to create and /// manage StackSets for your organization. /// /// Container for the necessary parameters to execute the ActivateOrganizationsAccess service method. /// /// The response from the ActivateOrganizationsAccess service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified ID refers to an operation that doesn't exist. /// /// REST API Reference for ActivateOrganizationsAccess Operation public virtual ActivateOrganizationsAccessResponse ActivateOrganizationsAccess(ActivateOrganizationsAccessRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateOrganizationsAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateOrganizationsAccessResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Activate trusted access with Organizations. With trusted access between StackSets /// and Organizations activated, the management account has permissions to create and /// manage StackSets for your organization. /// /// Container for the necessary parameters to execute the ActivateOrganizationsAccess service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ActivateOrganizationsAccess service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified ID refers to an operation that doesn't exist. /// /// REST API Reference for ActivateOrganizationsAccess Operation public virtual Task ActivateOrganizationsAccessAsync(ActivateOrganizationsAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateOrganizationsAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateOrganizationsAccessResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ActivateType /// /// Activates a public third-party extension, making it available for use in stack templates. /// For more information, see Using /// public extensions in the CloudFormation User Guide. /// /// /// /// Once you have activated a public third-party extension in your account and Region, /// use SetTypeConfiguration /// to specify configuration properties for the extension. For more information, see Configuring /// extensions at the account level in the CloudFormation User Guide. /// /// /// Container for the necessary parameters to execute the ActivateType service method. /// /// The response from the ActivateType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for ActivateType Operation public virtual ActivateTypeResponse ActivateType(ActivateTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Activates a public third-party extension, making it available for use in stack templates. /// For more information, see Using /// public extensions in the CloudFormation User Guide. /// /// /// /// Once you have activated a public third-party extension in your account and Region, /// use SetTypeConfiguration /// to specify configuration properties for the extension. For more information, see Configuring /// extensions at the account level in the CloudFormation User Guide. /// /// /// Container for the necessary parameters to execute the ActivateType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ActivateType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for ActivateType Operation public virtual Task ActivateTypeAsync(ActivateTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchDescribeTypeConfigurations /// /// Returns configuration data for the specified CloudFormation extensions, from the CloudFormation /// registry for the account and Region. /// /// /// /// For more information, see Configuring /// extensions at the account level in the CloudFormation User Guide. /// /// /// Container for the necessary parameters to execute the BatchDescribeTypeConfigurations service method. /// /// The response from the BatchDescribeTypeConfigurations service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension configuration can't be found. /// /// REST API Reference for BatchDescribeTypeConfigurations Operation public virtual BatchDescribeTypeConfigurationsResponse BatchDescribeTypeConfigurations(BatchDescribeTypeConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDescribeTypeConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDescribeTypeConfigurationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns configuration data for the specified CloudFormation extensions, from the CloudFormation /// registry for the account and Region. /// /// /// /// For more information, see Configuring /// extensions at the account level in the CloudFormation User Guide. /// /// /// Container for the necessary parameters to execute the BatchDescribeTypeConfigurations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchDescribeTypeConfigurations service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension configuration can't be found. /// /// REST API Reference for BatchDescribeTypeConfigurations Operation public virtual Task BatchDescribeTypeConfigurationsAsync(BatchDescribeTypeConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDescribeTypeConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDescribeTypeConfigurationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelUpdateStack /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CancelUpdateStack service method. /// /// The response from the CancelUpdateStack service method, as returned by CloudFormation. /// /// A client request token already exists. /// /// REST API Reference for CancelUpdateStack Operation public virtual CancelUpdateStackResponse CancelUpdateStack(CancelUpdateStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelUpdateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelUpdateStackResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// /// Container for the necessary parameters to execute the CancelUpdateStack service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelUpdateStack service method, as returned by CloudFormation. /// /// A client request token already exists. /// /// REST API Reference for CancelUpdateStack Operation public virtual Task CancelUpdateStackAsync(CancelUpdateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelUpdateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelUpdateStackResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ContinueUpdateRollback /// /// For a specified stack that's 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 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 CloudFormation /// can't roll back all changes after a failed stack update. For example, you might have /// a stack that's rolling back to an old database instance that was deleted outside of /// CloudFormation. Because 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. /// /// /// Container for the necessary parameters to execute the ContinueUpdateRollback service method. /// /// The response from the ContinueUpdateRollback service method, as returned by CloudFormation. /// /// A client request token already exists. /// /// REST API Reference for ContinueUpdateRollback Operation public virtual ContinueUpdateRollbackResponse ContinueUpdateRollback(ContinueUpdateRollbackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ContinueUpdateRollbackRequestMarshaller.Instance; options.ResponseUnmarshaller = ContinueUpdateRollbackResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// For a specified stack that's 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 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 CloudFormation /// can't roll back all changes after a failed stack update. For example, you might have /// a stack that's rolling back to an old database instance that was deleted outside of /// CloudFormation. Because 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. /// /// /// Container for the necessary parameters to execute the ContinueUpdateRollback service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ContinueUpdateRollback service method, as returned by CloudFormation. /// /// A client request token already exists. /// /// REST API Reference for ContinueUpdateRollback Operation public virtual Task ContinueUpdateRollbackAsync(ContinueUpdateRollbackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ContinueUpdateRollbackRequestMarshaller.Instance; options.ResponseUnmarshaller = ContinueUpdateRollbackResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateChangeSet /// /// 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 CloudFormation will create. If you /// create a change set for an existing stack, 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 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. To create /// a change set for an import operation, specify IMPORT for the ChangeSetType /// parameter. After the CreateChangeSet call successfully completes, 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. CloudFormation doesn't make changes /// until you execute the change set. /// /// /// /// To create a change set for the entire stack hierarchy, set IncludeNestedStacks /// to True. /// /// /// Container for the necessary parameters to execute the CreateChangeSet service method. /// /// The response from the CreateChangeSet service method, as returned by CloudFormation. /// /// The resource with the name requested already exists. /// /// /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// /// The quota for the resource has already been reached. /// /// /// /// For information about resource and stack limitations, see CloudFormation /// quotas in the CloudFormation User Guide. /// /// /// REST API Reference for CreateChangeSet Operation public virtual CreateChangeSetResponse CreateChangeSet(CreateChangeSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChangeSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChangeSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 CloudFormation will create. If you /// create a change set for an existing stack, 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 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. To create /// a change set for an import operation, specify IMPORT for the ChangeSetType /// parameter. After the CreateChangeSet call successfully completes, 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. CloudFormation doesn't make changes /// until you execute the change set. /// /// /// /// To create a change set for the entire stack hierarchy, set IncludeNestedStacks /// to True. /// /// /// Container for the necessary parameters to execute the CreateChangeSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateChangeSet service method, as returned by CloudFormation. /// /// The resource with the name requested already exists. /// /// /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// /// The quota for the resource has already been reached. /// /// /// /// For information about resource and stack limitations, see CloudFormation /// quotas in the CloudFormation User Guide. /// /// /// REST API Reference for CreateChangeSet Operation public virtual Task CreateChangeSetAsync(CreateChangeSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChangeSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChangeSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateStack /// /// 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 through the DescribeStacks /// operation. /// /// Container for the necessary parameters to execute the CreateStack service method. /// /// The response from the CreateStack service method, as returned by CloudFormation. /// /// The resource with the name requested already exists. /// /// /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// /// The quota for the resource has already been reached. /// /// /// /// For information about resource and stack limitations, see CloudFormation /// quotas in the CloudFormation User Guide. /// /// /// /// A client request token already exists. /// /// REST API Reference for CreateStack Operation public virtual CreateStackResponse CreateStack(CreateStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStackResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 through the DescribeStacks /// operation. /// /// Container for the necessary parameters to execute the CreateStack service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateStack service method, as returned by CloudFormation. /// /// The resource with the name requested already exists. /// /// /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// /// The quota for the resource has already been reached. /// /// /// /// For information about resource and stack limitations, see CloudFormation /// quotas in the CloudFormation User Guide. /// /// /// /// A client request token already exists. /// /// REST API Reference for CreateStack Operation public virtual Task CreateStackAsync(CreateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStackResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateStackInstances /// /// Creates stack instances for the specified accounts, within the specified Amazon Web /// Services Regions. A stack instance refers to a stack in a specific account and Region. /// You must specify at least one value for either Accounts or DeploymentTargets, /// and you must specify at least one value for Regions. /// /// Container for the necessary parameters to execute the CreateStackInstances service method. /// /// The response from the CreateStackInstances service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The quota for the resource has already been reached. /// /// /// /// For information about resource and stack limitations, see CloudFormation /// quotas in the CloudFormation User Guide. /// /// /// /// The specified operation ID already exists. /// /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// The specified stack set doesn't exist. /// /// /// Another operation has been performed on this stack set since the specified operation /// was performed. /// /// REST API Reference for CreateStackInstances Operation public virtual CreateStackInstancesResponse CreateStackInstances(CreateStackInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStackInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStackInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates stack instances for the specified accounts, within the specified Amazon Web /// Services Regions. A stack instance refers to a stack in a specific account and Region. /// You must specify at least one value for either Accounts or DeploymentTargets, /// and you must specify at least one value for Regions. /// /// Container for the necessary parameters to execute the CreateStackInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateStackInstances service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The quota for the resource has already been reached. /// /// /// /// For information about resource and stack limitations, see CloudFormation /// quotas in the CloudFormation User Guide. /// /// /// /// The specified operation ID already exists. /// /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// The specified stack set doesn't exist. /// /// /// Another operation has been performed on this stack set since the specified operation /// was performed. /// /// REST API Reference for CreateStackInstances Operation public virtual Task CreateStackInstancesAsync(CreateStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStackInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStackInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateStackSet /// /// Creates a stack set. /// /// Container for the necessary parameters to execute the CreateStackSet service method. /// /// The response from the CreateStackSet service method, as returned by CloudFormation. /// /// The specified resource exists, but has been changed. /// /// /// The quota for the resource has already been reached. /// /// /// /// For information about resource and stack limitations, see CloudFormation /// quotas in the CloudFormation User Guide. /// /// /// /// The specified name is already in use. /// /// REST API Reference for CreateStackSet Operation public virtual CreateStackSetResponse CreateStackSet(CreateStackSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStackSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStackSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a stack set. /// /// Container for the necessary parameters to execute the CreateStackSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateStackSet service method, as returned by CloudFormation. /// /// The specified resource exists, but has been changed. /// /// /// The quota for the resource has already been reached. /// /// /// /// For information about resource and stack limitations, see CloudFormation /// quotas in the CloudFormation User Guide. /// /// /// /// The specified name is already in use. /// /// REST API Reference for CreateStackSet Operation public virtual Task CreateStackSetAsync(CreateStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStackSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStackSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeactivateOrganizationsAccess /// /// Deactivates trusted access with Organizations. If trusted access is deactivated, the /// management account does not have permissions to create and manage service-managed /// StackSets for your organization. /// /// Container for the necessary parameters to execute the DeactivateOrganizationsAccess service method. /// /// The response from the DeactivateOrganizationsAccess service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified ID refers to an operation that doesn't exist. /// /// REST API Reference for DeactivateOrganizationsAccess Operation public virtual DeactivateOrganizationsAccessResponse DeactivateOrganizationsAccess(DeactivateOrganizationsAccessRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeactivateOrganizationsAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = DeactivateOrganizationsAccessResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deactivates trusted access with Organizations. If trusted access is deactivated, the /// management account does not have permissions to create and manage service-managed /// StackSets for your organization. /// /// Container for the necessary parameters to execute the DeactivateOrganizationsAccess service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeactivateOrganizationsAccess service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified ID refers to an operation that doesn't exist. /// /// REST API Reference for DeactivateOrganizationsAccess Operation public virtual Task DeactivateOrganizationsAccessAsync(DeactivateOrganizationsAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeactivateOrganizationsAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = DeactivateOrganizationsAccessResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeactivateType /// /// Deactivates a public extension that was previously activated in this account and Region. /// /// /// /// Once deactivated, an extension can't be used in any CloudFormation operation. This /// includes stack update operations where the stack template includes the extension, /// even if no updates are being made to the extension. In addition, deactivated extensions /// aren't automatically updated if a new version of the extension is released. /// /// /// Container for the necessary parameters to execute the DeactivateType service method. /// /// The response from the DeactivateType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for DeactivateType Operation public virtual DeactivateTypeResponse DeactivateType(DeactivateTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeactivateTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeactivateTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deactivates a public extension that was previously activated in this account and Region. /// /// /// /// Once deactivated, an extension can't be used in any CloudFormation operation. This /// includes stack update operations where the stack template includes the extension, /// even if no updates are being made to the extension. In addition, deactivated extensions /// aren't automatically updated if a new version of the extension is released. /// /// /// Container for the necessary parameters to execute the DeactivateType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeactivateType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for DeactivateType Operation public virtual Task DeactivateTypeAsync(DeactivateTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeactivateTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeactivateTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteChangeSet /// /// Deletes the specified change set. Deleting change sets ensures that no one executes /// the wrong change set. /// /// /// /// If the call successfully completes, CloudFormation successfully deleted the change /// set. /// /// /// /// If IncludeNestedStacks specifies True during the creation /// of the nested change set, then DeleteChangeSet will delete all change /// sets that belong to the stacks hierarchy and will also delete all change sets for /// nested stacks with the status of REVIEW_IN_PROGRESS. /// /// /// Container for the necessary parameters to execute the DeleteChangeSet service method. /// /// The response from the DeleteChangeSet service method, as returned by CloudFormation. /// /// 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. /// /// REST API Reference for DeleteChangeSet Operation public virtual DeleteChangeSetResponse DeleteChangeSet(DeleteChangeSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChangeSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChangeSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified change set. Deleting change sets ensures that no one executes /// the wrong change set. /// /// /// /// If the call successfully completes, CloudFormation successfully deleted the change /// set. /// /// /// /// If IncludeNestedStacks specifies True during the creation /// of the nested change set, then DeleteChangeSet will delete all change /// sets that belong to the stacks hierarchy and will also delete all change sets for /// nested stacks with the status of REVIEW_IN_PROGRESS. /// /// /// Container for the necessary parameters to execute the DeleteChangeSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteChangeSet service method, as returned by CloudFormation. /// /// 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. /// /// REST API Reference for DeleteChangeSet Operation public virtual Task DeleteChangeSetAsync(DeleteChangeSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChangeSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChangeSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteStack /// /// Deletes a specified stack. Once the call completes successfully, stack deletion starts. /// Deleted stacks don't show up in the DescribeStacks operation if the deletion /// has been completed successfully. /// /// Container for the necessary parameters to execute the DeleteStack service method. /// /// The response from the DeleteStack service method, as returned by CloudFormation. /// /// A client request token already exists. /// /// REST API Reference for DeleteStack Operation public virtual DeleteStackResponse DeleteStack(DeleteStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStackRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStackResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a specified stack. Once the call completes successfully, stack deletion starts. /// Deleted stacks don't show up in the DescribeStacks operation if the deletion /// has been completed successfully. /// /// Container for the necessary parameters to execute the DeleteStack service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteStack service method, as returned by CloudFormation. /// /// A client request token already exists. /// /// REST API Reference for DeleteStack Operation public virtual Task DeleteStackAsync(DeleteStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStackRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStackResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteStackInstances /// /// Deletes stack instances for the specified accounts, in the specified Amazon Web Services /// Regions. /// /// Container for the necessary parameters to execute the DeleteStackInstances service method. /// /// The response from the DeleteStackInstances service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified operation ID already exists. /// /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// The specified stack set doesn't exist. /// /// /// Another operation has been performed on this stack set since the specified operation /// was performed. /// /// REST API Reference for DeleteStackInstances Operation public virtual DeleteStackInstancesResponse DeleteStackInstances(DeleteStackInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStackInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStackInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes stack instances for the specified accounts, in the specified Amazon Web Services /// Regions. /// /// Container for the necessary parameters to execute the DeleteStackInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteStackInstances service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified operation ID already exists. /// /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// The specified stack set doesn't exist. /// /// /// Another operation has been performed on this stack set since the specified operation /// was performed. /// /// REST API Reference for DeleteStackInstances Operation public virtual Task DeleteStackInstancesAsync(DeleteStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStackInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStackInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteStackSet /// /// Deletes a stack set. Before you can delete a stack set, all its member stack instances /// must be deleted. For more information about how to complete this, see DeleteStackInstances. /// /// Container for the necessary parameters to execute the DeleteStackSet service method. /// /// The response from the DeleteStackSet service method, as returned by CloudFormation. /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// 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. /// /// REST API Reference for DeleteStackSet Operation public virtual DeleteStackSetResponse DeleteStackSet(DeleteStackSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStackSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStackSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a stack set. Before you can delete a stack set, all its member stack instances /// must be deleted. For more information about how to complete this, see DeleteStackInstances. /// /// Container for the necessary parameters to execute the DeleteStackSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteStackSet service method, as returned by CloudFormation. /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// 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. /// /// REST API Reference for DeleteStackSet Operation public virtual Task DeleteStackSetAsync(DeleteStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStackSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStackSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeregisterType /// /// Marks an extension or extension version as DEPRECATED in the CloudFormation /// registry, removing it from active use. Deprecated extensions or extension versions /// cannot be used in CloudFormation operations. /// /// /// /// To deregister an entire extension, you must individually deregister all active versions /// of that extension. If an extension has only a single active version, deregistering /// that version results in the extension itself being deregistered and marked as deprecated /// in the registry. /// /// /// /// You can't deregister the default version of an extension if there are other active /// version of that extension. If you do deregister the default version of an extension, /// the extension type itself is deregistered as well and marked as deprecated. /// /// /// /// To view the deprecation status of an extension or extension version, use DescribeType. /// /// /// Container for the necessary parameters to execute the DeregisterType service method. /// /// The response from the DeregisterType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for DeregisterType Operation public virtual DeregisterTypeResponse DeregisterType(DeregisterTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Marks an extension or extension version as DEPRECATED in the CloudFormation /// registry, removing it from active use. Deprecated extensions or extension versions /// cannot be used in CloudFormation operations. /// /// /// /// To deregister an entire extension, you must individually deregister all active versions /// of that extension. If an extension has only a single active version, deregistering /// that version results in the extension itself being deregistered and marked as deprecated /// in the registry. /// /// /// /// You can't deregister the default version of an extension if there are other active /// version of that extension. If you do deregister the default version of an extension, /// the extension type itself is deregistered as well and marked as deprecated. /// /// /// /// To view the deprecation status of an extension or extension version, use DescribeType. /// /// /// Container for the necessary parameters to execute the DeregisterType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for DeregisterType Operation public virtual Task DeregisterTypeAsync(DeregisterTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAccountLimits /// /// Retrieves your account's CloudFormation limits, such as the maximum number of stacks /// that you can create in your account. For more information about account limits, see /// CloudFormation /// Quotas in the CloudFormation User Guide. /// /// Container for the necessary parameters to execute the DescribeAccountLimits service method. /// /// The response from the DescribeAccountLimits service method, as returned by CloudFormation. /// REST API Reference for DescribeAccountLimits Operation public virtual DescribeAccountLimitsResponse DescribeAccountLimits(DescribeAccountLimitsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccountLimitsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccountLimitsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves your account's CloudFormation limits, such as the maximum number of stacks /// that you can create in your account. For more information about account limits, see /// CloudFormation /// Quotas in the CloudFormation User Guide. /// /// Container for the necessary parameters to execute the DescribeAccountLimits service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAccountLimits service method, as returned by CloudFormation. /// REST API Reference for DescribeAccountLimits Operation public virtual Task DescribeAccountLimitsAsync(DescribeAccountLimitsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccountLimitsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccountLimitsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeChangeSet /// /// Returns the inputs for the change set and a list of changes that CloudFormation will /// make if you execute the change set. For more information, see Updating /// Stacks Using Change Sets in the CloudFormation User Guide. /// /// Container for the necessary parameters to execute the DescribeChangeSet service method. /// /// The response from the DescribeChangeSet service method, as returned by CloudFormation. /// /// The specified change set name or ID doesn't exit. To view valid change sets for a /// stack, use the ListChangeSets operation. /// /// REST API Reference for DescribeChangeSet Operation public virtual DescribeChangeSetResponse DescribeChangeSet(DescribeChangeSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChangeSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChangeSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the inputs for the change set and a list of changes that CloudFormation will /// make if you execute the change set. For more information, see Updating /// Stacks Using Change Sets in the CloudFormation User Guide. /// /// Container for the necessary parameters to execute the DescribeChangeSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeChangeSet service method, as returned by CloudFormation. /// /// The specified change set name or ID doesn't exit. To view valid change sets for a /// stack, use the ListChangeSets operation. /// /// REST API Reference for DescribeChangeSet Operation public virtual Task DescribeChangeSetAsync(DescribeChangeSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChangeSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChangeSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeChangeSetHooks /// /// Returns hook-related information for the change set and a list of changes that CloudFormation /// makes when you run the change set. /// /// Container for the necessary parameters to execute the DescribeChangeSetHooks service method. /// /// The response from the DescribeChangeSetHooks service method, as returned by CloudFormation. /// /// The specified change set name or ID doesn't exit. To view valid change sets for a /// stack, use the ListChangeSets operation. /// /// REST API Reference for DescribeChangeSetHooks Operation public virtual DescribeChangeSetHooksResponse DescribeChangeSetHooks(DescribeChangeSetHooksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChangeSetHooksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChangeSetHooksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns hook-related information for the change set and a list of changes that CloudFormation /// makes when you run the change set. /// /// Container for the necessary parameters to execute the DescribeChangeSetHooks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeChangeSetHooks service method, as returned by CloudFormation. /// /// The specified change set name or ID doesn't exit. To view valid change sets for a /// stack, use the ListChangeSets operation. /// /// REST API Reference for DescribeChangeSetHooks Operation public virtual Task DescribeChangeSetHooksAsync(DescribeChangeSetHooksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChangeSetHooksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChangeSetHooksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeOrganizationsAccess /// /// Retrieves information about the account's OrganizationAccess status. /// This API can be called either by the management account or the delegated administrator /// by using the CallAs parameter. This API can also be called without the /// CallAs parameter by the management account. /// /// Container for the necessary parameters to execute the DescribeOrganizationsAccess service method. /// /// The response from the DescribeOrganizationsAccess service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified ID refers to an operation that doesn't exist. /// /// REST API Reference for DescribeOrganizationsAccess Operation public virtual DescribeOrganizationsAccessResponse DescribeOrganizationsAccess(DescribeOrganizationsAccessRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOrganizationsAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOrganizationsAccessResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about the account's OrganizationAccess status. /// This API can be called either by the management account or the delegated administrator /// by using the CallAs parameter. This API can also be called without the /// CallAs parameter by the management account. /// /// Container for the necessary parameters to execute the DescribeOrganizationsAccess service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeOrganizationsAccess service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified ID refers to an operation that doesn't exist. /// /// REST API Reference for DescribeOrganizationsAccess Operation public virtual Task DescribeOrganizationsAccessAsync(DescribeOrganizationsAccessRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOrganizationsAccessRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOrganizationsAccessResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribePublisher /// /// Returns information about a CloudFormation extension publisher. /// /// /// /// If you don't supply a PublisherId, and you have registered as an extension /// publisher, DescribePublisher returns information about your own publisher /// account. /// /// /// /// For more information about registering as a publisher, see: /// /// /// /// Container for the necessary parameters to execute the DescribePublisher service method. /// /// The response from the DescribePublisher service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for DescribePublisher Operation public virtual DescribePublisherResponse DescribePublisher(DescribePublisherRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePublisherRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePublisherResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a CloudFormation extension publisher. /// /// /// /// If you don't supply a PublisherId, and you have registered as an extension /// publisher, DescribePublisher returns information about your own publisher /// account. /// /// /// /// For more information about registering as a publisher, see: /// /// /// /// Container for the necessary parameters to execute the DescribePublisher service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribePublisher service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for DescribePublisher Operation public virtual Task DescribePublisherAsync(DescribePublisherRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePublisherRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePublisherResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeStackDriftDetectionStatus /// /// Returns information about a stack drift detection operation. A stack drift detection /// operation detects whether a stack's actual configuration differs, or has drifted, /// from its expected configuration, as defined in the stack template and any values specified /// as template parameters. A stack is considered to have drifted if one or more of its /// resources have drifted. For more information about stack and resource drift, see Detecting /// Unregulated Configuration Changes to Stacks and Resources. /// /// /// /// Use DetectStackDrift to initiate a stack drift detection operation. DetectStackDrift /// returns a StackDriftDetectionId you can use to monitor the progress of /// the operation using DescribeStackDriftDetectionStatus. Once the drift /// detection operation has completed, use DescribeStackResourceDrifts to return /// drift information about the stack and its resources. /// /// /// Container for the necessary parameters to execute the DescribeStackDriftDetectionStatus service method. /// /// The response from the DescribeStackDriftDetectionStatus service method, as returned by CloudFormation. /// REST API Reference for DescribeStackDriftDetectionStatus Operation public virtual DescribeStackDriftDetectionStatusResponse DescribeStackDriftDetectionStatus(DescribeStackDriftDetectionStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackDriftDetectionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackDriftDetectionStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a stack drift detection operation. A stack drift detection /// operation detects whether a stack's actual configuration differs, or has drifted, /// from its expected configuration, as defined in the stack template and any values specified /// as template parameters. A stack is considered to have drifted if one or more of its /// resources have drifted. For more information about stack and resource drift, see Detecting /// Unregulated Configuration Changes to Stacks and Resources. /// /// /// /// Use DetectStackDrift to initiate a stack drift detection operation. DetectStackDrift /// returns a StackDriftDetectionId you can use to monitor the progress of /// the operation using DescribeStackDriftDetectionStatus. Once the drift /// detection operation has completed, use DescribeStackResourceDrifts to return /// drift information about the stack and its resources. /// /// /// Container for the necessary parameters to execute the DescribeStackDriftDetectionStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStackDriftDetectionStatus service method, as returned by CloudFormation. /// REST API Reference for DescribeStackDriftDetectionStatus Operation public virtual Task DescribeStackDriftDetectionStatusAsync(DescribeStackDriftDetectionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackDriftDetectionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackDriftDetectionStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeStackEvents /// /// 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 /// in the 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). /// /// /// /// Container for the necessary parameters to execute the DescribeStackEvents service method. /// /// The response from the DescribeStackEvents service method, as returned by CloudFormation. /// REST API Reference for DescribeStackEvents Operation public virtual DescribeStackEventsResponse DescribeStackEvents(DescribeStackEventsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackEventsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 /// in the 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). /// /// /// /// Container for the necessary parameters to execute the DescribeStackEvents service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStackEvents service method, as returned by CloudFormation. /// REST API Reference for DescribeStackEvents Operation public virtual Task DescribeStackEventsAsync(DescribeStackEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackEventsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeStackInstance /// /// Returns the stack instance that's associated with the specified StackSet, Amazon Web /// Services account, and Amazon Web Services Region. /// /// /// /// For a list of stack instances that are associated with a specific StackSet, use ListStackInstances. /// /// /// Container for the necessary parameters to execute the DescribeStackInstance service method. /// /// The response from the DescribeStackInstance service method, as returned by CloudFormation. /// /// The specified stack instance doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// REST API Reference for DescribeStackInstance Operation public virtual DescribeStackInstanceResponse DescribeStackInstance(DescribeStackInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the stack instance that's associated with the specified StackSet, Amazon Web /// Services account, and Amazon Web Services Region. /// /// /// /// For a list of stack instances that are associated with a specific StackSet, use ListStackInstances. /// /// /// Container for the necessary parameters to execute the DescribeStackInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStackInstance service method, as returned by CloudFormation. /// /// The specified stack instance doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// REST API Reference for DescribeStackInstance Operation public virtual Task DescribeStackInstanceAsync(DescribeStackInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeStackResource /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeStackResource service method. /// /// The response from the DescribeStackResource service method, as returned by CloudFormation. /// REST API Reference for DescribeStackResource Operation public virtual DescribeStackResourceResponse DescribeStackResource(DescribeStackResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// Container for the necessary parameters to execute the DescribeStackResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStackResource service method, as returned by CloudFormation. /// REST API Reference for DescribeStackResource Operation public virtual Task DescribeStackResourceAsync(DescribeStackResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeStackResourceDrifts /// /// Returns drift information for the resources that have been checked for drift in the /// specified stack. This includes actual and expected configuration values for resources /// where CloudFormation detects configuration drift. /// /// /// /// For a given stack, there will be one StackResourceDrift for each stack /// resource that has been checked for drift. Resources that haven't yet been checked /// for drift aren't included. Resources that don't currently support drift detection /// aren't checked, and so not included. For a list of resources that support drift detection, /// see Resources /// that Support Drift Detection. /// /// /// /// Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift /// to detect drift on all supported resources for a given stack. /// /// /// Container for the necessary parameters to execute the DescribeStackResourceDrifts service method. /// /// The response from the DescribeStackResourceDrifts service method, as returned by CloudFormation. /// REST API Reference for DescribeStackResourceDrifts Operation public virtual DescribeStackResourceDriftsResponse DescribeStackResourceDrifts(DescribeStackResourceDriftsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackResourceDriftsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackResourceDriftsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns drift information for the resources that have been checked for drift in the /// specified stack. This includes actual and expected configuration values for resources /// where CloudFormation detects configuration drift. /// /// /// /// For a given stack, there will be one StackResourceDrift for each stack /// resource that has been checked for drift. Resources that haven't yet been checked /// for drift aren't included. Resources that don't currently support drift detection /// aren't checked, and so not included. For a list of resources that support drift detection, /// see Resources /// that Support Drift Detection. /// /// /// /// Use DetectStackResourceDrift to detect drift on individual resources, or DetectStackDrift /// to detect drift on all supported resources for a given stack. /// /// /// Container for the necessary parameters to execute the DescribeStackResourceDrifts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStackResourceDrifts service method, as returned by CloudFormation. /// REST API Reference for DescribeStackResourceDrifts Operation public virtual Task DescribeStackResourceDriftsAsync(DescribeStackResourceDriftsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackResourceDriftsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackResourceDriftsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeStackResources /// /// Returns Amazon Web Services 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 CloudFormation /// User Guide. /// /// /// /// A ValidationError is returned if you specify both StackName /// and PhysicalResourceId in the same request. /// /// /// /// Container for the necessary parameters to execute the DescribeStackResources service method. /// /// The response from the DescribeStackResources service method, as returned by CloudFormation. /// REST API Reference for DescribeStackResources Operation public virtual DescribeStackResourcesResponse DescribeStackResources(DescribeStackResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns Amazon Web Services 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 CloudFormation /// User Guide. /// /// /// /// A ValidationError is returned if you specify both StackName /// and PhysicalResourceId in the same request. /// /// /// /// Container for the necessary parameters to execute the DescribeStackResources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStackResources service method, as returned by CloudFormation. /// REST API Reference for DescribeStackResources Operation public virtual Task DescribeStackResourcesAsync(DescribeStackResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackResourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeStacks /// /// 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 doesn't exist, an ValidationError is returned. /// /// /// /// /// The response from the DescribeStacks service method, as returned by CloudFormation. /// REST API Reference for DescribeStacks Operation public virtual DescribeStacksResponse DescribeStacks() { return DescribeStacks(new DescribeStacksRequest()); } /// /// 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 doesn't exist, an ValidationError is returned. /// /// /// /// Container for the necessary parameters to execute the DescribeStacks service method. /// /// The response from the DescribeStacks service method, as returned by CloudFormation. /// REST API Reference for DescribeStacks Operation public virtual DescribeStacksResponse DescribeStacks(DescribeStacksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStacksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 doesn't exist, an ValidationError is returned. /// /// /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStacks service method, as returned by CloudFormation. /// REST API Reference for DescribeStacks Operation public virtual Task DescribeStacksAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return DescribeStacksAsync(new DescribeStacksRequest(), cancellationToken); } /// /// 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 doesn't exist, an ValidationError is returned. /// /// /// /// Container for the necessary parameters to execute the DescribeStacks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStacks service method, as returned by CloudFormation. /// REST API Reference for DescribeStacks Operation public virtual Task DescribeStacksAsync(DescribeStacksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStacksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeStackSet /// /// Returns the description of the specified StackSet. /// /// Container for the necessary parameters to execute the DescribeStackSet service method. /// /// The response from the DescribeStackSet service method, as returned by CloudFormation. /// /// The specified stack set doesn't exist. /// /// REST API Reference for DescribeStackSet Operation public virtual DescribeStackSetResponse DescribeStackSet(DescribeStackSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the description of the specified StackSet. /// /// Container for the necessary parameters to execute the DescribeStackSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStackSet service method, as returned by CloudFormation. /// /// The specified stack set doesn't exist. /// /// REST API Reference for DescribeStackSet Operation public virtual Task DescribeStackSetAsync(DescribeStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeStackSetOperation /// /// Returns the description of the specified StackSet operation. /// /// Container for the necessary parameters to execute the DescribeStackSetOperation service method. /// /// The response from the DescribeStackSetOperation service method, as returned by CloudFormation. /// /// The specified ID refers to an operation that doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// REST API Reference for DescribeStackSetOperation Operation public virtual DescribeStackSetOperationResponse DescribeStackSetOperation(DescribeStackSetOperationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackSetOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackSetOperationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the description of the specified StackSet operation. /// /// Container for the necessary parameters to execute the DescribeStackSetOperation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeStackSetOperation service method, as returned by CloudFormation. /// /// The specified ID refers to an operation that doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// REST API Reference for DescribeStackSetOperation Operation public virtual Task DescribeStackSetOperationAsync(DescribeStackSetOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStackSetOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStackSetOperationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeType /// /// Returns detailed information about an extension that has been registered. /// /// /// /// If you specify a VersionId, DescribeType returns information /// about that specific extension version. Otherwise, it returns information about the /// default extension version. /// /// /// Container for the necessary parameters to execute the DescribeType service method. /// /// The response from the DescribeType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for DescribeType Operation public virtual DescribeTypeResponse DescribeType(DescribeTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns detailed information about an extension that has been registered. /// /// /// /// If you specify a VersionId, DescribeType returns information /// about that specific extension version. Otherwise, it returns information about the /// default extension version. /// /// /// Container for the necessary parameters to execute the DescribeType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for DescribeType Operation public virtual Task DescribeTypeAsync(DescribeTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTypeRegistration /// /// Returns information about an extension's registration, including its current status /// and type and version identifiers. /// /// /// /// When you initiate a registration request using RegisterType, you can then use /// DescribeTypeRegistration to monitor the progress of that registration request. /// /// /// /// Once the registration request has completed, use DescribeType to return detailed /// information about an extension. /// /// /// Container for the necessary parameters to execute the DescribeTypeRegistration service method. /// /// The response from the DescribeTypeRegistration service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for DescribeTypeRegistration Operation public virtual DescribeTypeRegistrationResponse DescribeTypeRegistration(DescribeTypeRegistrationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTypeRegistrationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTypeRegistrationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about an extension's registration, including its current status /// and type and version identifiers. /// /// /// /// When you initiate a registration request using RegisterType, you can then use /// DescribeTypeRegistration to monitor the progress of that registration request. /// /// /// /// Once the registration request has completed, use DescribeType to return detailed /// information about an extension. /// /// /// Container for the necessary parameters to execute the DescribeTypeRegistration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTypeRegistration service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for DescribeTypeRegistration Operation public virtual Task DescribeTypeRegistrationAsync(DescribeTypeRegistrationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTypeRegistrationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTypeRegistrationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DetectStackDrift /// /// Detects whether a stack's actual configuration differs, or has drifted, from /// its expected configuration, as defined in the stack template and any values specified /// as template parameters. For each resource in the stack that supports drift detection, /// CloudFormation compares the actual configuration of the resource with its expected /// template configuration. Only resource properties explicitly defined in the stack template /// are checked for drift. A stack is considered to have drifted if one or more of its /// resources differ from their expected template configurations. For more information, /// see Detecting /// Unregulated Configuration Changes to Stacks and Resources. /// /// /// /// Use DetectStackDrift to detect drift on all supported resources for a /// given stack, or DetectStackResourceDrift to detect drift on individual resources. /// /// /// /// For a list of stack resources that currently support drift detection, see Resources /// that Support Drift Detection. /// /// /// /// DetectStackDrift can take up to several minutes, depending on the number /// of resources contained within the stack. Use DescribeStackDriftDetectionStatus /// to monitor the progress of a detect stack drift operation. Once the drift detection /// operation has completed, use DescribeStackResourceDrifts to return drift information /// about the stack and its resources. /// /// /// /// When detecting drift on a stack, CloudFormation doesn't detect drift on any nested /// stacks belonging to that stack. Perform DetectStackDrift directly on /// the nested stack itself. /// /// /// Container for the necessary parameters to execute the DetectStackDrift service method. /// /// The response from the DetectStackDrift service method, as returned by CloudFormation. /// REST API Reference for DetectStackDrift Operation public virtual DetectStackDriftResponse DetectStackDrift(DetectStackDriftRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetectStackDriftRequestMarshaller.Instance; options.ResponseUnmarshaller = DetectStackDriftResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Detects whether a stack's actual configuration differs, or has drifted, from /// its expected configuration, as defined in the stack template and any values specified /// as template parameters. For each resource in the stack that supports drift detection, /// CloudFormation compares the actual configuration of the resource with its expected /// template configuration. Only resource properties explicitly defined in the stack template /// are checked for drift. A stack is considered to have drifted if one or more of its /// resources differ from their expected template configurations. For more information, /// see Detecting /// Unregulated Configuration Changes to Stacks and Resources. /// /// /// /// Use DetectStackDrift to detect drift on all supported resources for a /// given stack, or DetectStackResourceDrift to detect drift on individual resources. /// /// /// /// For a list of stack resources that currently support drift detection, see Resources /// that Support Drift Detection. /// /// /// /// DetectStackDrift can take up to several minutes, depending on the number /// of resources contained within the stack. Use DescribeStackDriftDetectionStatus /// to monitor the progress of a detect stack drift operation. Once the drift detection /// operation has completed, use DescribeStackResourceDrifts to return drift information /// about the stack and its resources. /// /// /// /// When detecting drift on a stack, CloudFormation doesn't detect drift on any nested /// stacks belonging to that stack. Perform DetectStackDrift directly on /// the nested stack itself. /// /// /// Container for the necessary parameters to execute the DetectStackDrift service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DetectStackDrift service method, as returned by CloudFormation. /// REST API Reference for DetectStackDrift Operation public virtual Task DetectStackDriftAsync(DetectStackDriftRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DetectStackDriftRequestMarshaller.Instance; options.ResponseUnmarshaller = DetectStackDriftResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DetectStackResourceDrift /// /// Returns information about whether a resource's actual configuration differs, or has /// drifted, from its expected configuration, as defined in the stack template /// and any values specified as template parameters. This information includes actual /// and expected property values for resources in which CloudFormation detects drift. /// Only resource properties explicitly defined in the stack template are checked for /// drift. For more information about stack and resource drift, see Detecting /// Unregulated Configuration Changes to Stacks and Resources. /// /// /// /// Use DetectStackResourceDrift to detect drift on individual resources, /// or DetectStackDrift to detect drift on all resources in a given stack that /// support drift detection. /// /// /// /// Resources that don't currently support drift detection can't be checked. For a list /// of resources that support drift detection, see Resources /// that Support Drift Detection. /// /// /// Container for the necessary parameters to execute the DetectStackResourceDrift service method. /// /// The response from the DetectStackResourceDrift service method, as returned by CloudFormation. /// REST API Reference for DetectStackResourceDrift Operation public virtual DetectStackResourceDriftResponse DetectStackResourceDrift(DetectStackResourceDriftRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetectStackResourceDriftRequestMarshaller.Instance; options.ResponseUnmarshaller = DetectStackResourceDriftResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about whether a resource's actual configuration differs, or has /// drifted, from its expected configuration, as defined in the stack template /// and any values specified as template parameters. This information includes actual /// and expected property values for resources in which CloudFormation detects drift. /// Only resource properties explicitly defined in the stack template are checked for /// drift. For more information about stack and resource drift, see Detecting /// Unregulated Configuration Changes to Stacks and Resources. /// /// /// /// Use DetectStackResourceDrift to detect drift on individual resources, /// or DetectStackDrift to detect drift on all resources in a given stack that /// support drift detection. /// /// /// /// Resources that don't currently support drift detection can't be checked. For a list /// of resources that support drift detection, see Resources /// that Support Drift Detection. /// /// /// Container for the necessary parameters to execute the DetectStackResourceDrift service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DetectStackResourceDrift service method, as returned by CloudFormation. /// REST API Reference for DetectStackResourceDrift Operation public virtual Task DetectStackResourceDriftAsync(DetectStackResourceDriftRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DetectStackResourceDriftRequestMarshaller.Instance; options.ResponseUnmarshaller = DetectStackResourceDriftResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DetectStackSetDrift /// /// Detect drift on a stack set. When CloudFormation performs drift detection on a stack /// set, it performs drift detection on the stack associated with each stack instance /// in the stack set. For more information, see How /// CloudFormation performs drift detection on a stack set. /// /// /// /// DetectStackSetDrift returns the OperationId of the stack /// set drift detection operation. Use this operation id with DescribeStackSetOperation /// to monitor the progress of the drift detection operation. The drift detection operation /// may take some time, depending on the number of stack instances included in the stack /// set, in addition to the number of resources included in each stack. /// /// /// /// Once the operation has completed, use the following actions to return drift information: /// ///
  • /// /// Use DescribeStackSet to return detailed information about the stack set, including /// detailed information about the last completed drift operation performed on /// the stack set. (Information about drift operations that are in progress isn't included.) /// ///
  • /// /// Use ListStackInstances to return a list of stack instances belonging to the /// stack set, including the drift status and last drift time checked of each instance. /// ///
  • /// /// Use DescribeStackInstance to return detailed information about a specific stack /// instance, including its drift status and last drift time checked. /// ///
/// /// For more information about performing a drift detection operation on a stack set, /// see Detecting /// unmanaged changes in stack sets. /// /// /// /// You can only run a single drift detection operation on a given stack set at one time. /// /// /// /// To stop a drift detection stack set operation, use StopStackSetOperation. /// ///
/// Container for the necessary parameters to execute the DetectStackSetDrift service method. /// /// The response from the DetectStackSetDrift service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// The specified stack set doesn't exist. /// /// REST API Reference for DetectStackSetDrift Operation public virtual DetectStackSetDriftResponse DetectStackSetDrift(DetectStackSetDriftRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetectStackSetDriftRequestMarshaller.Instance; options.ResponseUnmarshaller = DetectStackSetDriftResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Detect drift on a stack set. When CloudFormation performs drift detection on a stack /// set, it performs drift detection on the stack associated with each stack instance /// in the stack set. For more information, see How /// CloudFormation performs drift detection on a stack set. /// /// /// /// DetectStackSetDrift returns the OperationId of the stack /// set drift detection operation. Use this operation id with DescribeStackSetOperation /// to monitor the progress of the drift detection operation. The drift detection operation /// may take some time, depending on the number of stack instances included in the stack /// set, in addition to the number of resources included in each stack. /// /// /// /// Once the operation has completed, use the following actions to return drift information: /// ///
  • /// /// Use DescribeStackSet to return detailed information about the stack set, including /// detailed information about the last completed drift operation performed on /// the stack set. (Information about drift operations that are in progress isn't included.) /// ///
  • /// /// Use ListStackInstances to return a list of stack instances belonging to the /// stack set, including the drift status and last drift time checked of each instance. /// ///
  • /// /// Use DescribeStackInstance to return detailed information about a specific stack /// instance, including its drift status and last drift time checked. /// ///
/// /// For more information about performing a drift detection operation on a stack set, /// see Detecting /// unmanaged changes in stack sets. /// /// /// /// You can only run a single drift detection operation on a given stack set at one time. /// /// /// /// To stop a drift detection stack set operation, use StopStackSetOperation. /// ///
/// Container for the necessary parameters to execute the DetectStackSetDrift service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DetectStackSetDrift service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// The specified stack set doesn't exist. /// /// REST API Reference for DetectStackSetDrift Operation public virtual Task DetectStackSetDriftAsync(DetectStackSetDriftRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DetectStackSetDriftRequestMarshaller.Instance; options.ResponseUnmarshaller = DetectStackSetDriftResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EstimateTemplateCost /// /// Returns the estimated monthly cost of a template. The return value is an Amazon Web /// Services Simple Monthly Calculator URL with a query string that describes the resources /// required to run the template. /// /// Container for the necessary parameters to execute the EstimateTemplateCost service method. /// /// The response from the EstimateTemplateCost service method, as returned by CloudFormation. /// REST API Reference for EstimateTemplateCost Operation public virtual EstimateTemplateCostResponse EstimateTemplateCost(EstimateTemplateCostRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EstimateTemplateCostRequestMarshaller.Instance; options.ResponseUnmarshaller = EstimateTemplateCostResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the estimated monthly cost of a template. The return value is an Amazon Web /// Services Simple Monthly Calculator URL with a query string that describes the resources /// required to run the template. /// /// Container for the necessary parameters to execute the EstimateTemplateCost service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the EstimateTemplateCost service method, as returned by CloudFormation. /// REST API Reference for EstimateTemplateCost Operation public virtual Task EstimateTemplateCostAsync(EstimateTemplateCostRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EstimateTemplateCostRequestMarshaller.Instance; options.ResponseUnmarshaller = EstimateTemplateCostResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ExecuteChangeSet /// /// Updates a stack using the input information that was provided when the specified change /// set was created. After the call successfully completes, CloudFormation starts updating /// the stack. Use the DescribeStacks action to view the status of the update. /// /// /// /// When you execute a change set, 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, CloudFormation enforces the policy /// during the update. You can't specify a temporary stack policy that overrides the current /// policy. /// /// /// /// To create a change set for the entire stack hierarchy, IncludeNestedStacks /// must have been set to True. /// /// /// Container for the necessary parameters to execute the ExecuteChangeSet service method. /// /// The response from the ExecuteChangeSet service method, as returned by CloudFormation. /// /// The specified change set name or ID doesn't exit. To view valid change sets for a /// stack, use the ListChangeSets operation. /// /// /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// /// 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. /// /// /// A client request token already exists. /// /// REST API Reference for ExecuteChangeSet Operation public virtual ExecuteChangeSetResponse ExecuteChangeSet(ExecuteChangeSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExecuteChangeSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ExecuteChangeSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a stack using the input information that was provided when the specified change /// set was created. After the call successfully completes, CloudFormation starts updating /// the stack. Use the DescribeStacks action to view the status of the update. /// /// /// /// When you execute a change set, 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, CloudFormation enforces the policy /// during the update. You can't specify a temporary stack policy that overrides the current /// policy. /// /// /// /// To create a change set for the entire stack hierarchy, IncludeNestedStacks /// must have been set to True. /// /// /// Container for the necessary parameters to execute the ExecuteChangeSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ExecuteChangeSet service method, as returned by CloudFormation. /// /// The specified change set name or ID doesn't exit. To view valid change sets for a /// stack, use the ListChangeSets operation. /// /// /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// /// 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. /// /// /// A client request token already exists. /// /// REST API Reference for ExecuteChangeSet Operation public virtual Task ExecuteChangeSetAsync(ExecuteChangeSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ExecuteChangeSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ExecuteChangeSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetStackPolicy /// /// Returns the stack policy for a specified stack. If a stack doesn't have a policy, /// a null value is returned. /// /// Container for the necessary parameters to execute the GetStackPolicy service method. /// /// The response from the GetStackPolicy service method, as returned by CloudFormation. /// REST API Reference for GetStackPolicy Operation public virtual GetStackPolicyResponse GetStackPolicy(GetStackPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetStackPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStackPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the stack policy for a specified stack. If a stack doesn't have a policy, /// a null value is returned. /// /// Container for the necessary parameters to execute the GetStackPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetStackPolicy service method, as returned by CloudFormation. /// REST API Reference for GetStackPolicy Operation public virtual Task GetStackPolicyAsync(GetStackPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetStackPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStackPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTemplate /// /// 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 doesn't exist, a ValidationError is returned. /// /// /// /// Container for the necessary parameters to execute the GetTemplate service method. /// /// The response from the GetTemplate service method, as returned by CloudFormation. /// /// The specified change set name or ID doesn't exit. To view valid change sets for a /// stack, use the ListChangeSets operation. /// /// REST API Reference for GetTemplate Operation public virtual GetTemplateResponse GetTemplate(GetTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 doesn't exist, a ValidationError is returned. /// /// /// /// Container for the necessary parameters to execute the GetTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTemplate service method, as returned by CloudFormation. /// /// The specified change set name or ID doesn't exit. To view valid change sets for a /// stack, use the ListChangeSets operation. /// /// REST API Reference for GetTemplate Operation public virtual Task GetTemplateAsync(GetTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTemplateSummary /// /// 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 doesn't exist, /// a ValidationError is returned. /// /// /// Container for the necessary parameters to execute the GetTemplateSummary service method. /// /// The response from the GetTemplateSummary service method, as returned by CloudFormation. /// /// The specified stack set doesn't exist. /// /// REST API Reference for GetTemplateSummary Operation public virtual GetTemplateSummaryResponse GetTemplateSummary(GetTemplateSummaryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTemplateSummaryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTemplateSummaryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 doesn't exist, /// a ValidationError is returned. /// /// /// Container for the necessary parameters to execute the GetTemplateSummary service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTemplateSummary service method, as returned by CloudFormation. /// /// The specified stack set doesn't exist. /// /// REST API Reference for GetTemplateSummary Operation public virtual Task GetTemplateSummaryAsync(GetTemplateSummaryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTemplateSummaryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTemplateSummaryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportStacksToStackSet /// /// Import existing stacks into a new stack sets. Use the stack import operation to import /// up to 10 stacks into a new stack set in the same account as the source stack or in /// a different administrator account and Region, by specifying the stack ID of the stack /// you intend to import. /// /// Container for the necessary parameters to execute the ImportStacksToStackSet service method. /// /// The response from the ImportStacksToStackSet service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The quota for the resource has already been reached. /// /// /// /// For information about resource and stack limitations, see CloudFormation /// quotas in the CloudFormation User Guide. /// /// /// /// The specified operation ID already exists. /// /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// The specified stack ARN doesn't exist or stack doesn't exist corresponding to the /// ARN in input. /// /// /// The specified stack set doesn't exist. /// /// /// Another operation has been performed on this stack set since the specified operation /// was performed. /// /// REST API Reference for ImportStacksToStackSet Operation public virtual ImportStacksToStackSetResponse ImportStacksToStackSet(ImportStacksToStackSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportStacksToStackSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportStacksToStackSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Import existing stacks into a new stack sets. Use the stack import operation to import /// up to 10 stacks into a new stack set in the same account as the source stack or in /// a different administrator account and Region, by specifying the stack ID of the stack /// you intend to import. /// /// Container for the necessary parameters to execute the ImportStacksToStackSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportStacksToStackSet service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The quota for the resource has already been reached. /// /// /// /// For information about resource and stack limitations, see CloudFormation /// quotas in the CloudFormation User Guide. /// /// /// /// The specified operation ID already exists. /// /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// The specified stack ARN doesn't exist or stack doesn't exist corresponding to the /// ARN in input. /// /// /// The specified stack set doesn't exist. /// /// /// Another operation has been performed on this stack set since the specified operation /// was performed. /// /// REST API Reference for ImportStacksToStackSet Operation public virtual Task ImportStacksToStackSetAsync(ImportStacksToStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportStacksToStackSetRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportStacksToStackSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListChangeSets /// /// Returns the ID and status of each active change set for a stack. For example, CloudFormation /// lists change sets that are in the CREATE_IN_PROGRESS or CREATE_PENDING /// state. /// /// Container for the necessary parameters to execute the ListChangeSets service method. /// /// The response from the ListChangeSets service method, as returned by CloudFormation. /// REST API Reference for ListChangeSets Operation public virtual ListChangeSetsResponse ListChangeSets(ListChangeSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChangeSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChangeSetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the ID and status of each active change set for a stack. For example, CloudFormation /// lists change sets that are in the CREATE_IN_PROGRESS or CREATE_PENDING /// state. /// /// Container for the necessary parameters to execute the ListChangeSets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListChangeSets service method, as returned by CloudFormation. /// REST API Reference for ListChangeSets Operation public virtual Task ListChangeSetsAsync(ListChangeSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChangeSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChangeSetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListExports /// /// 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 function. /// /// /// /// For more information, see /// CloudFormation export stack output values. /// /// /// Container for the necessary parameters to execute the ListExports service method. /// /// The response from the ListExports service method, as returned by CloudFormation. /// REST API Reference for ListExports Operation public virtual ListExportsResponse ListExports(ListExportsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListExportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExportsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 function. /// /// /// /// For more information, see /// CloudFormation export stack output values. /// /// /// Container for the necessary parameters to execute the ListExports service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListExports service method, as returned by CloudFormation. /// REST API Reference for ListExports Operation public virtual Task ListExportsAsync(ListExportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListExportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExportsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListImports /// /// 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 /// function. /// /// /// Container for the necessary parameters to execute the ListImports service method. /// /// The response from the ListImports service method, as returned by CloudFormation. /// REST API Reference for ListImports Operation public virtual ListImportsResponse ListImports(ListImportsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListImportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListImportsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 /// function. /// /// /// Container for the necessary parameters to execute the ListImports service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListImports service method, as returned by CloudFormation. /// REST API Reference for ListImports Operation public virtual Task ListImportsAsync(ListImportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListImportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListImportsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListStackInstanceResourceDrifts /// /// Returns drift information for resources in a stack instance. /// /// /// /// ListStackInstanceResourceDrifts returns drift information for the most /// recent drift detection operation. If an operation is in progress, it may only return /// partial results. /// /// /// /// Container for the necessary parameters to execute the ListStackInstanceResourceDrifts service method. /// /// The response from the ListStackInstanceResourceDrifts service method, as returned by CloudFormation. /// /// The specified ID refers to an operation that doesn't exist. /// /// /// The specified stack instance doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// REST API Reference for ListStackInstanceResourceDrifts Operation public virtual ListStackInstanceResourceDriftsResponse ListStackInstanceResourceDrifts(ListStackInstanceResourceDriftsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListStackInstanceResourceDriftsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStackInstanceResourceDriftsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns drift information for resources in a stack instance. /// /// /// /// ListStackInstanceResourceDrifts returns drift information for the most /// recent drift detection operation. If an operation is in progress, it may only return /// partial results. /// /// /// /// Container for the necessary parameters to execute the ListStackInstanceResourceDrifts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStackInstanceResourceDrifts service method, as returned by CloudFormation. /// /// The specified ID refers to an operation that doesn't exist. /// /// /// The specified stack instance doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// REST API Reference for ListStackInstanceResourceDrifts Operation public virtual Task ListStackInstanceResourceDriftsAsync(ListStackInstanceResourceDriftsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListStackInstanceResourceDriftsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStackInstanceResourceDriftsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListStackInstances /// /// 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 /// Amazon Web Services account name or Region, or that have a specific status. /// /// Container for the necessary parameters to execute the ListStackInstances service method. /// /// The response from the ListStackInstances service method, as returned by CloudFormation. /// /// The specified stack set doesn't exist. /// /// REST API Reference for ListStackInstances Operation public virtual ListStackInstancesResponse ListStackInstances(ListStackInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListStackInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStackInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 /// Amazon Web Services account name or Region, or that have a specific status. /// /// Container for the necessary parameters to execute the ListStackInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStackInstances service method, as returned by CloudFormation. /// /// The specified stack set doesn't exist. /// /// REST API Reference for ListStackInstances Operation public virtual Task ListStackInstancesAsync(ListStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListStackInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStackInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListStackResources /// /// 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. /// /// /// Container for the necessary parameters to execute the ListStackResources service method. /// /// The response from the ListStackResources service method, as returned by CloudFormation. /// REST API Reference for ListStackResources Operation public virtual ListStackResourcesResponse ListStackResources(ListStackResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListStackResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStackResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// /// Container for the necessary parameters to execute the ListStackResources service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStackResources service method, as returned by CloudFormation. /// REST API Reference for ListStackResources Operation public virtual Task ListStackResourcesAsync(ListStackResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListStackResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStackResourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListStacks /// /// 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). /// /// /// The response from the ListStacks service method, as returned by CloudFormation. /// REST API Reference for ListStacks Operation public virtual ListStacksResponse ListStacks() { return ListStacks(new ListStacksRequest()); } /// /// 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). /// /// Container for the necessary parameters to execute the ListStacks service method. /// /// The response from the ListStacks service method, as returned by CloudFormation. /// REST API Reference for ListStacks Operation public virtual ListStacksResponse ListStacks(ListStacksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStacksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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). /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStacks service method, as returned by CloudFormation. /// REST API Reference for ListStacks Operation public virtual Task ListStacksAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return ListStacksAsync(new ListStacksRequest(), cancellationToken); } /// /// 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). /// /// Container for the necessary parameters to execute the ListStacks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStacks service method, as returned by CloudFormation. /// REST API Reference for ListStacks Operation public virtual Task ListStacksAsync(ListStacksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStacksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListStackSetOperationResults /// /// Returns summary information about the results of a stack set operation. /// /// Container for the necessary parameters to execute the ListStackSetOperationResults service method. /// /// The response from the ListStackSetOperationResults service method, as returned by CloudFormation. /// /// The specified ID refers to an operation that doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// REST API Reference for ListStackSetOperationResults Operation public virtual ListStackSetOperationResultsResponse ListStackSetOperationResults(ListStackSetOperationResultsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListStackSetOperationResultsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStackSetOperationResultsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns summary information about the results of a stack set operation. /// /// Container for the necessary parameters to execute the ListStackSetOperationResults service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStackSetOperationResults service method, as returned by CloudFormation. /// /// The specified ID refers to an operation that doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// REST API Reference for ListStackSetOperationResults Operation public virtual Task ListStackSetOperationResultsAsync(ListStackSetOperationResultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListStackSetOperationResultsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStackSetOperationResultsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListStackSetOperations /// /// Returns summary information about operations performed on a stack set. /// /// Container for the necessary parameters to execute the ListStackSetOperations service method. /// /// The response from the ListStackSetOperations service method, as returned by CloudFormation. /// /// The specified stack set doesn't exist. /// /// REST API Reference for ListStackSetOperations Operation public virtual ListStackSetOperationsResponse ListStackSetOperations(ListStackSetOperationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListStackSetOperationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStackSetOperationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns summary information about operations performed on a stack set. /// /// Container for the necessary parameters to execute the ListStackSetOperations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStackSetOperations service method, as returned by CloudFormation. /// /// The specified stack set doesn't exist. /// /// REST API Reference for ListStackSetOperations Operation public virtual Task ListStackSetOperationsAsync(ListStackSetOperationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListStackSetOperationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStackSetOperationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListStackSets /// /// Returns summary information about stack sets that are associated with the user. /// ///
  • /// /// [Self-managed permissions] If you set the CallAs parameter to SELF /// while signed in to your Amazon Web Services account, ListStackSets returns /// all self-managed stack sets in your Amazon Web Services account. /// ///
  • /// /// [Service-managed permissions] If you set the CallAs parameter to SELF /// while signed in to the organization's management account, ListStackSets /// returns all stack sets in the management account. /// ///
  • /// /// [Service-managed permissions] If you set the CallAs parameter to DELEGATED_ADMIN /// while signed in to your member account, ListStackSets returns all stack /// sets with service-managed permissions in the management account. /// ///
///
/// Container for the necessary parameters to execute the ListStackSets service method. /// /// The response from the ListStackSets service method, as returned by CloudFormation. /// REST API Reference for ListStackSets Operation public virtual ListStackSetsResponse ListStackSets(ListStackSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListStackSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStackSetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns summary information about stack sets that are associated with the user. /// ///
  • /// /// [Self-managed permissions] If you set the CallAs parameter to SELF /// while signed in to your Amazon Web Services account, ListStackSets returns /// all self-managed stack sets in your Amazon Web Services account. /// ///
  • /// /// [Service-managed permissions] If you set the CallAs parameter to SELF /// while signed in to the organization's management account, ListStackSets /// returns all stack sets in the management account. /// ///
  • /// /// [Service-managed permissions] If you set the CallAs parameter to DELEGATED_ADMIN /// while signed in to your member account, ListStackSets returns all stack /// sets with service-managed permissions in the management account. /// ///
///
/// Container for the necessary parameters to execute the ListStackSets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListStackSets service method, as returned by CloudFormation. /// REST API Reference for ListStackSets Operation public virtual Task ListStackSetsAsync(ListStackSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListStackSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStackSetsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTypeRegistrations /// /// Returns a list of registration tokens for the specified extension(s). /// /// Container for the necessary parameters to execute the ListTypeRegistrations service method. /// /// The response from the ListTypeRegistrations service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for ListTypeRegistrations Operation public virtual ListTypeRegistrationsResponse ListTypeRegistrations(ListTypeRegistrationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTypeRegistrationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTypeRegistrationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of registration tokens for the specified extension(s). /// /// Container for the necessary parameters to execute the ListTypeRegistrations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTypeRegistrations service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for ListTypeRegistrations Operation public virtual Task ListTypeRegistrationsAsync(ListTypeRegistrationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTypeRegistrationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTypeRegistrationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTypes /// /// Returns summary information about extension that have been registered with CloudFormation. /// /// Container for the necessary parameters to execute the ListTypes service method. /// /// The response from the ListTypes service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for ListTypes Operation public virtual ListTypesResponse ListTypes(ListTypesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTypesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns summary information about extension that have been registered with CloudFormation. /// /// Container for the necessary parameters to execute the ListTypes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTypes service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for ListTypes Operation public virtual Task ListTypesAsync(ListTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTypesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTypeVersions /// /// Returns summary information about the versions of an extension. /// /// Container for the necessary parameters to execute the ListTypeVersions service method. /// /// The response from the ListTypeVersions service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for ListTypeVersions Operation public virtual ListTypeVersionsResponse ListTypeVersions(ListTypeVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTypeVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTypeVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns summary information about the versions of an extension. /// /// Container for the necessary parameters to execute the ListTypeVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTypeVersions service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for ListTypeVersions Operation public virtual Task ListTypeVersionsAsync(ListTypeVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTypeVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTypeVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PublishType /// /// Publishes the specified extension to the CloudFormation registry as a public extension /// in this Region. Public extensions are available for use by all CloudFormation users. /// For more information about publishing extensions, see Publishing /// extensions to make them available for public use in the CloudFormation CLI /// User Guide. /// /// /// /// To publish an extension, you must be registered as a publisher with CloudFormation. /// For more information, see RegisterPublisher. /// /// /// Container for the necessary parameters to execute the PublishType service method. /// /// The response from the PublishType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for PublishType Operation public virtual PublishTypeResponse PublishType(PublishTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PublishTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = PublishTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Publishes the specified extension to the CloudFormation registry as a public extension /// in this Region. Public extensions are available for use by all CloudFormation users. /// For more information about publishing extensions, see Publishing /// extensions to make them available for public use in the CloudFormation CLI /// User Guide. /// /// /// /// To publish an extension, you must be registered as a publisher with CloudFormation. /// For more information, see RegisterPublisher. /// /// /// Container for the necessary parameters to execute the PublishType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PublishType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for PublishType Operation public virtual Task PublishTypeAsync(PublishTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PublishTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = PublishTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RecordHandlerProgress /// /// Reports progress of a resource handler to CloudFormation. /// /// /// /// Reserved for use by the CloudFormation /// CLI. Don't use this API in your code. /// /// /// Container for the necessary parameters to execute the RecordHandlerProgress service method. /// /// The response from the RecordHandlerProgress service method, as returned by CloudFormation. /// /// Error reserved for use by the CloudFormation /// CLI. CloudFormation doesn't return this error to users. /// /// /// Error reserved for use by the CloudFormation /// CLI. CloudFormation doesn't return this error to users. /// /// REST API Reference for RecordHandlerProgress Operation public virtual RecordHandlerProgressResponse RecordHandlerProgress(RecordHandlerProgressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RecordHandlerProgressRequestMarshaller.Instance; options.ResponseUnmarshaller = RecordHandlerProgressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Reports progress of a resource handler to CloudFormation. /// /// /// /// Reserved for use by the CloudFormation /// CLI. Don't use this API in your code. /// /// /// Container for the necessary parameters to execute the RecordHandlerProgress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RecordHandlerProgress service method, as returned by CloudFormation. /// /// Error reserved for use by the CloudFormation /// CLI. CloudFormation doesn't return this error to users. /// /// /// Error reserved for use by the CloudFormation /// CLI. CloudFormation doesn't return this error to users. /// /// REST API Reference for RecordHandlerProgress Operation public virtual Task RecordHandlerProgressAsync(RecordHandlerProgressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RecordHandlerProgressRequestMarshaller.Instance; options.ResponseUnmarshaller = RecordHandlerProgressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RegisterPublisher /// /// Registers your account as a publisher of public extensions in the CloudFormation registry. /// Public extensions are available for use by all CloudFormation users. This publisher /// ID applies to your account in all Amazon Web Services Regions. /// /// /// /// For information about requirements for registering as a public extension publisher, /// see Registering /// your account to publish CloudFormation extensions in the CloudFormation CLI /// User Guide. /// /// /// Container for the necessary parameters to execute the RegisterPublisher service method. /// /// The response from the RegisterPublisher service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for RegisterPublisher Operation public virtual RegisterPublisherResponse RegisterPublisher(RegisterPublisherRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterPublisherRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterPublisherResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Registers your account as a publisher of public extensions in the CloudFormation registry. /// Public extensions are available for use by all CloudFormation users. This publisher /// ID applies to your account in all Amazon Web Services Regions. /// /// /// /// For information about requirements for registering as a public extension publisher, /// see Registering /// your account to publish CloudFormation extensions in the CloudFormation CLI /// User Guide. /// /// /// Container for the necessary parameters to execute the RegisterPublisher service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterPublisher service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for RegisterPublisher Operation public virtual Task RegisterPublisherAsync(RegisterPublisherRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterPublisherRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterPublisherResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RegisterType /// /// Registers an extension with the CloudFormation service. Registering an extension makes /// it available for use in CloudFormation templates in your Amazon Web Services account, /// and includes: /// ///
  • /// /// Validating the extension schema. /// ///
  • /// /// Determining which handlers, if any, have been specified for the extension. /// ///
  • /// /// Making the extension available for use in your account. /// ///
/// /// For more information about how to develop extensions and ready them for registration, /// see Creating /// Resource Providers in the CloudFormation CLI User Guide. /// /// /// /// You can have a maximum of 50 resource extension versions registered at a time. This /// maximum is per account and per Region. Use DeregisterType /// to deregister specific extension versions if necessary. /// /// /// /// Once you have initiated a registration request using RegisterType, you can /// use DescribeTypeRegistration to monitor the progress of the registration request. /// /// /// /// Once you have registered a private extension in your account and Region, use SetTypeConfiguration /// to specify configuration properties for the extension. For more information, see Configuring /// extensions at the account level in the CloudFormation User Guide. /// ///
/// Container for the necessary parameters to execute the RegisterType service method. /// /// The response from the RegisterType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for RegisterType Operation public virtual RegisterTypeResponse RegisterType(RegisterTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Registers an extension with the CloudFormation service. Registering an extension makes /// it available for use in CloudFormation templates in your Amazon Web Services account, /// and includes: /// ///
  • /// /// Validating the extension schema. /// ///
  • /// /// Determining which handlers, if any, have been specified for the extension. /// ///
  • /// /// Making the extension available for use in your account. /// ///
/// /// For more information about how to develop extensions and ready them for registration, /// see Creating /// Resource Providers in the CloudFormation CLI User Guide. /// /// /// /// You can have a maximum of 50 resource extension versions registered at a time. This /// maximum is per account and per Region. Use DeregisterType /// to deregister specific extension versions if necessary. /// /// /// /// Once you have initiated a registration request using RegisterType, you can /// use DescribeTypeRegistration to monitor the progress of the registration request. /// /// /// /// Once you have registered a private extension in your account and Region, use SetTypeConfiguration /// to specify configuration properties for the extension. For more information, see Configuring /// extensions at the account level in the CloudFormation User Guide. /// ///
/// Container for the necessary parameters to execute the RegisterType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// REST API Reference for RegisterType Operation public virtual Task RegisterTypeAsync(RegisterTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RollbackStack /// /// When specifying RollbackStack, you preserve the state of previously provisioned /// resources when an operation fails. You can check the status of the stack through the /// DescribeStacks operation. /// /// /// /// Rolls back the specified stack to the last known stable state from CREATE_FAILED /// or UPDATE_FAILED stack statuses. /// /// /// /// This operation will delete a stack if it doesn't contain a last known stable state. /// A last known stable state includes any status in a *_COMPLETE. This includes /// the following stack statuses. /// ///
  • /// /// CREATE_COMPLETE /// ///
  • /// /// UPDATE_COMPLETE /// ///
  • /// /// UPDATE_ROLLBACK_COMPLETE /// ///
  • /// /// IMPORT_COMPLETE /// ///
  • /// /// IMPORT_ROLLBACK_COMPLETE /// ///
///
/// Container for the necessary parameters to execute the RollbackStack service method. /// /// The response from the RollbackStack service method, as returned by CloudFormation. /// /// A client request token already exists. /// /// REST API Reference for RollbackStack Operation public virtual RollbackStackResponse RollbackStack(RollbackStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RollbackStackRequestMarshaller.Instance; options.ResponseUnmarshaller = RollbackStackResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// When specifying RollbackStack, you preserve the state of previously provisioned /// resources when an operation fails. You can check the status of the stack through the /// DescribeStacks operation. /// /// /// /// Rolls back the specified stack to the last known stable state from CREATE_FAILED /// or UPDATE_FAILED stack statuses. /// /// /// /// This operation will delete a stack if it doesn't contain a last known stable state. /// A last known stable state includes any status in a *_COMPLETE. This includes /// the following stack statuses. /// ///
  • /// /// CREATE_COMPLETE /// ///
  • /// /// UPDATE_COMPLETE /// ///
  • /// /// UPDATE_ROLLBACK_COMPLETE /// ///
  • /// /// IMPORT_COMPLETE /// ///
  • /// /// IMPORT_ROLLBACK_COMPLETE /// ///
///
/// Container for the necessary parameters to execute the RollbackStack service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RollbackStack service method, as returned by CloudFormation. /// /// A client request token already exists. /// /// REST API Reference for RollbackStack Operation public virtual Task RollbackStackAsync(RollbackStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RollbackStackRequestMarshaller.Instance; options.ResponseUnmarshaller = RollbackStackResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SetStackPolicy /// /// Sets a stack policy for a specified stack. /// /// Container for the necessary parameters to execute the SetStackPolicy service method. /// /// The response from the SetStackPolicy service method, as returned by CloudFormation. /// REST API Reference for SetStackPolicy Operation public virtual SetStackPolicyResponse SetStackPolicy(SetStackPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetStackPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = SetStackPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sets a stack policy for a specified stack. /// /// Container for the necessary parameters to execute the SetStackPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SetStackPolicy service method, as returned by CloudFormation. /// REST API Reference for SetStackPolicy Operation public virtual Task SetStackPolicyAsync(SetStackPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SetStackPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = SetStackPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SetTypeConfiguration /// /// Specifies the configuration data for a registered CloudFormation extension, in the /// given account and Region. /// /// /// /// To view the current configuration data for an extension, refer to the ConfigurationSchema /// element of DescribeType. /// For more information, see Configuring /// extensions at the account level in the CloudFormation User Guide. /// /// /// /// It's strongly recommended that you use dynamic references to restrict sensitive configuration /// definitions, such as third-party credentials. For more details on dynamic references, /// see Using dynamic references to specify template /// values in the CloudFormation User Guide. /// /// /// /// Container for the necessary parameters to execute the SetTypeConfiguration service method. /// /// The response from the SetTypeConfiguration service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for SetTypeConfiguration Operation public virtual SetTypeConfigurationResponse SetTypeConfiguration(SetTypeConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetTypeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = SetTypeConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Specifies the configuration data for a registered CloudFormation extension, in the /// given account and Region. /// /// /// /// To view the current configuration data for an extension, refer to the ConfigurationSchema /// element of DescribeType. /// For more information, see Configuring /// extensions at the account level in the CloudFormation User Guide. /// /// /// /// It's strongly recommended that you use dynamic references to restrict sensitive configuration /// definitions, such as third-party credentials. For more details on dynamic references, /// see Using dynamic references to specify template /// values in the CloudFormation User Guide. /// /// /// /// Container for the necessary parameters to execute the SetTypeConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SetTypeConfiguration service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for SetTypeConfiguration Operation public virtual Task SetTypeConfigurationAsync(SetTypeConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SetTypeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = SetTypeConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SetTypeDefaultVersion /// /// Specify the default version of an extension. The default version of an extension will /// be used in CloudFormation operations. /// /// Container for the necessary parameters to execute the SetTypeDefaultVersion service method. /// /// The response from the SetTypeDefaultVersion service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for SetTypeDefaultVersion Operation public virtual SetTypeDefaultVersionResponse SetTypeDefaultVersion(SetTypeDefaultVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetTypeDefaultVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = SetTypeDefaultVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Specify the default version of an extension. The default version of an extension will /// be used in CloudFormation operations. /// /// Container for the necessary parameters to execute the SetTypeDefaultVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SetTypeDefaultVersion service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for SetTypeDefaultVersion Operation public virtual Task SetTypeDefaultVersionAsync(SetTypeDefaultVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SetTypeDefaultVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = SetTypeDefaultVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SignalResource /// /// Sends a signal to the specified resource with a success or failure status. You can /// use the SignalResource operation in conjunction with a creation policy /// or update policy. 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 operation is useful in cases where you want to send /// signals from anywhere other than an Amazon EC2 instance. /// /// Container for the necessary parameters to execute the SignalResource service method. /// /// The response from the SignalResource service method, as returned by CloudFormation. /// REST API Reference for SignalResource Operation public virtual SignalResourceResponse SignalResource(SignalResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SignalResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = SignalResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sends a signal to the specified resource with a success or failure status. You can /// use the SignalResource operation in conjunction with a creation policy /// or update policy. 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 operation is useful in cases where you want to send /// signals from anywhere other than an Amazon EC2 instance. /// /// Container for the necessary parameters to execute the SignalResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SignalResource service method, as returned by CloudFormation. /// REST API Reference for SignalResource Operation public virtual Task SignalResourceAsync(SignalResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SignalResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = SignalResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StopStackSetOperation /// /// Stops an in-progress operation on a stack set and its associated stack instances. /// StackSets will cancel all the unstarted stack instance deployments and wait for those /// are in-progress to complete. /// /// Container for the necessary parameters to execute the StopStackSetOperation service method. /// /// The response from the StopStackSetOperation service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified ID refers to an operation that doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// REST API Reference for StopStackSetOperation Operation public virtual StopStackSetOperationResponse StopStackSetOperation(StopStackSetOperationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopStackSetOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = StopStackSetOperationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Stops an in-progress operation on a stack set and its associated stack instances. /// StackSets will cancel all the unstarted stack instance deployments and wait for those /// are in-progress to complete. /// /// Container for the necessary parameters to execute the StopStackSetOperation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopStackSetOperation service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified ID refers to an operation that doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// REST API Reference for StopStackSetOperation Operation public virtual Task StopStackSetOperationAsync(StopStackSetOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopStackSetOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = StopStackSetOperationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TestType /// /// Tests a registered extension to make sure it meets all necessary requirements for /// being published in the CloudFormation registry. /// ///
  • /// /// For resource types, this includes passing all contracts tests defined for the type. /// ///
  • /// /// For modules, this includes determining if the module's model meets all necessary requirements. /// ///
/// /// For more information, see Testing /// your public extension prior to publishing in the CloudFormation CLI User Guide. /// /// /// /// If you don't specify a version, CloudFormation uses the default version of the extension /// in your account and Region for testing. /// /// /// /// To perform testing, CloudFormation assumes the execution role specified when the type /// was registered. For more information, see RegisterType. /// /// /// /// Once you've initiated testing on an extension using TestType, you can /// pass the returned TypeVersionArn into DescribeType /// to monitor the current test status and test status description for the extension. /// /// /// /// An extension must have a test status of PASSED before it can be published. /// For more information, see Publishing /// extensions to make them available for public use in the CloudFormation CLI /// User Guide. /// ///
/// Container for the necessary parameters to execute the TestType service method. /// /// The response from the TestType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for TestType Operation public virtual TestTypeResponse TestType(TestTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TestTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = TestTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Tests a registered extension to make sure it meets all necessary requirements for /// being published in the CloudFormation registry. /// ///
  • /// /// For resource types, this includes passing all contracts tests defined for the type. /// ///
  • /// /// For modules, this includes determining if the module's model meets all necessary requirements. /// ///
/// /// For more information, see Testing /// your public extension prior to publishing in the CloudFormation CLI User Guide. /// /// /// /// If you don't specify a version, CloudFormation uses the default version of the extension /// in your account and Region for testing. /// /// /// /// To perform testing, CloudFormation assumes the execution role specified when the type /// was registered. For more information, see RegisterType. /// /// /// /// Once you've initiated testing on an extension using TestType, you can /// pass the returned TypeVersionArn into DescribeType /// to monitor the current test status and test status description for the extension. /// /// /// /// An extension must have a test status of PASSED before it can be published. /// For more information, see Publishing /// extensions to make them available for public use in the CloudFormation CLI /// User Guide. /// ///
/// Container for the necessary parameters to execute the TestType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TestType service method, as returned by CloudFormation. /// /// An error occurred during a CloudFormation registry operation. /// /// /// The specified extension doesn't exist in the CloudFormation registry. /// /// REST API Reference for TestType Operation public virtual Task TestTypeAsync(TestTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TestTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = TestTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateStack /// /// 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 through 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. /// /// /// Container for the necessary parameters to execute the UpdateStack service method. /// /// The response from the UpdateStack service method, as returned by CloudFormation. /// /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// /// A client request token already exists. /// /// REST API Reference for UpdateStack Operation public virtual UpdateStackResponse UpdateStack(UpdateStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStackResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 through 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. /// /// /// Container for the necessary parameters to execute the UpdateStack service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateStack service method, as returned by CloudFormation. /// /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// /// A client request token already exists. /// /// REST API Reference for UpdateStack Operation public virtual Task UpdateStackAsync(UpdateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStackResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateStackInstances /// /// Updates the parameter values for stack instances for the specified accounts, within /// the specified Amazon Web Services Regions. A stack instance refers to a stack in a /// specific account and Region. /// /// /// /// You can only update stack instances in Amazon Web Services Regions and accounts where /// they already exist; to create additional stack instances, use CreateStackInstances. /// /// /// /// During stack set updates, any parameters overridden for a stack instance aren't updated, /// but retain their overridden value. /// /// /// /// You can only update the parameter values that are specified in the stack set; /// to add or delete a parameter itself, use UpdateStackSet /// 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 /// 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. /// /// /// Container for the necessary parameters to execute the UpdateStackInstances service method. /// /// The response from the UpdateStackInstances service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified operation ID already exists. /// /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// The specified stack instance doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// /// Another operation has been performed on this stack set since the specified operation /// was performed. /// /// REST API Reference for UpdateStackInstances Operation public virtual UpdateStackInstancesResponse UpdateStackInstances(UpdateStackInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStackInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStackInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the parameter values for stack instances for the specified accounts, within /// the specified Amazon Web Services Regions. A stack instance refers to a stack in a /// specific account and Region. /// /// /// /// You can only update stack instances in Amazon Web Services Regions and accounts where /// they already exist; to create additional stack instances, use CreateStackInstances. /// /// /// /// During stack set updates, any parameters overridden for a stack instance aren't updated, /// but retain their overridden value. /// /// /// /// You can only update the parameter values that are specified in the stack set; /// to add or delete a parameter itself, use UpdateStackSet /// 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 /// 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. /// /// /// Container for the necessary parameters to execute the UpdateStackInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateStackInstances service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified operation ID already exists. /// /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// The specified stack instance doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// /// Another operation has been performed on this stack set since the specified operation /// was performed. /// /// REST API Reference for UpdateStackInstances Operation public virtual Task UpdateStackInstancesAsync(UpdateStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStackInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStackInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateStackSet /// /// Updates the stack set, and associated stack instances in the specified accounts and /// Amazon Web Services 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. /// /// /// Container for the necessary parameters to execute the UpdateStackSet service method. /// /// The response from the UpdateStackSet service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified operation ID already exists. /// /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// The specified stack instance doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// /// Another operation has been performed on this stack set since the specified operation /// was performed. /// /// REST API Reference for UpdateStackSet Operation public virtual UpdateStackSetResponse UpdateStackSet(UpdateStackSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStackSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStackSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the stack set, and associated stack instances in the specified accounts and /// Amazon Web Services 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. /// /// /// Container for the necessary parameters to execute the UpdateStackSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateStackSet service method, as returned by CloudFormation. /// /// The specified operation isn't valid. /// /// /// The specified operation ID already exists. /// /// /// Another operation is currently in progress for this stack set. Only one operation /// can be performed for a stack set at a given time. /// /// /// The specified stack instance doesn't exist. /// /// /// The specified stack set doesn't exist. /// /// /// Another operation has been performed on this stack set since the specified operation /// was performed. /// /// REST API Reference for UpdateStackSet Operation public virtual Task UpdateStackSetAsync(UpdateStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStackSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStackSetResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateTerminationProtection /// /// 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 in the CloudFormation User Guide. /// /// /// /// For nested /// stacks, termination protection is set on the root stack and can't be changed directly /// on the nested stack. /// /// /// Container for the necessary parameters to execute the UpdateTerminationProtection service method. /// /// The response from the UpdateTerminationProtection service method, as returned by CloudFormation. /// REST API Reference for UpdateTerminationProtection Operation public virtual UpdateTerminationProtectionResponse UpdateTerminationProtection(UpdateTerminationProtectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTerminationProtectionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTerminationProtectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 in the CloudFormation User Guide. /// /// /// /// For nested /// stacks, termination protection is set on the root stack and can't be changed directly /// on the nested stack. /// /// /// Container for the necessary parameters to execute the UpdateTerminationProtection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateTerminationProtection service method, as returned by CloudFormation. /// REST API Reference for UpdateTerminationProtection Operation public virtual Task UpdateTerminationProtectionAsync(UpdateTerminationProtectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTerminationProtectionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTerminationProtectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ValidateTemplate /// /// Validates a specified template. CloudFormation first checks if the template is valid /// JSON. If it isn't, CloudFormation checks if the template is valid YAML. If both these /// checks fail, CloudFormation returns a template validation error. /// /// /// The response from the ValidateTemplate service method, as returned by CloudFormation. /// REST API Reference for ValidateTemplate Operation public virtual ValidateTemplateResponse ValidateTemplate() { return ValidateTemplate(new ValidateTemplateRequest()); } /// /// Validates a specified template. CloudFormation first checks if the template is valid /// JSON. If it isn't, CloudFormation checks if the template is valid YAML. If both these /// checks fail, CloudFormation returns a template validation error. /// /// Container for the necessary parameters to execute the ValidateTemplate service method. /// /// The response from the ValidateTemplate service method, as returned by CloudFormation. /// REST API Reference for ValidateTemplate Operation public virtual ValidateTemplateResponse ValidateTemplate(ValidateTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ValidateTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = ValidateTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Validates a specified template. CloudFormation first checks if the template is valid /// JSON. If it isn't, CloudFormation checks if the template is valid YAML. If both these /// checks fail, CloudFormation returns a template validation error. /// /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ValidateTemplate service method, as returned by CloudFormation. /// REST API Reference for ValidateTemplate Operation public virtual Task ValidateTemplateAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { return ValidateTemplateAsync(new ValidateTemplateRequest(), cancellationToken); } /// /// Validates a specified template. CloudFormation first checks if the template is valid /// JSON. If it isn't, CloudFormation checks if the template is valid YAML. If both these /// checks fail, CloudFormation returns a template validation error. /// /// Container for the necessary parameters to execute the ValidateTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ValidateTemplate service method, as returned by CloudFormation. /// REST API Reference for ValidateTemplate Operation public virtual Task ValidateTemplateAsync(ValidateTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ValidateTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = ValidateTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }