From 75d8e890e91ef922ec5ac4ee6e6d1eb784d3a581 Mon Sep 17 00:00:00 2001 From: Steven Kang Date: Tue, 25 Jul 2017 16:11:12 -0700 Subject: [PATCH] AWS CloudFormation StackSets enables you to manage stacks across multiple accounts and regions. --- .../cloudformation-2010-05-15.normal.json | 1242 ++++++++++++++- .../Generated/PropertyValueRules.xml | 241 ++- .../Generated/Model/AccountGateResult.cs | 106 ++ .../Model/ContinueUpdateRollbackRequest.cs | 17 +- .../Generated/Model/CreateChangeSetRequest.cs | 2 +- .../Model/CreateStackInstancesRequest.cs | 154 ++ .../Model/CreateStackInstancesResponse.cs | 56 + .../Generated/Model/CreateStackRequest.cs | 18 +- .../Generated/Model/CreateStackSetRequest.cs | 282 ++++ .../Generated/Model/CreateStackSetResponse.cs | 56 + .../Model/CreatedButModifiedException.cs | 97 ++ .../Model/DeleteStackInstancesRequest.cs | 170 +++ .../Model/DeleteStackInstancesResponse.cs | 56 + .../Generated/Model/DeleteStackRequest.cs | 16 + .../Generated/Model/DeleteStackSetRequest.cs | 59 + .../Generated/Model/DeleteStackSetResponse.cs | 37 + .../Model/DescribeStackInstanceRequest.cs | 102 ++ .../Model/DescribeStackInstanceResponse.cs | 56 + .../Model/DescribeStackSetOperationRequest.cs | 76 + .../DescribeStackSetOperationResponse.cs | 56 + .../Model/DescribeStackSetRequest.cs | 57 + .../Model/DescribeStackSetResponse.cs | 56 + .../Model/GetTemplateSummaryRequest.cs | 19 + .../AccountGateResultUnmarshaller.cs | 103 ++ .../CreateStackInstancesRequestMarshaller.cs | 123 ++ ...reateStackInstancesResponseUnmarshaller.cs | 152 ++ .../CreateStackSetRequestMarshaller.cs | 134 ++ .../CreateStackSetResponseUnmarshaller.cs | 140 ++ .../DeleteStackInstancesRequestMarshaller.cs | 127 ++ ...eleteStackInstancesResponseUnmarshaller.cs | 148 ++ .../DeleteStackSetRequestMarshaller.cs | 69 + .../DeleteStackSetResponseUnmarshaller.cs | 131 ++ .../DescribeStackInstanceRequestMarshaller.cs | 77 + ...scribeStackInstanceResponseUnmarshaller.cs | 136 ++ ...cribeStackSetOperationRequestMarshaller.cs | 73 + ...beStackSetOperationResponseUnmarshaller.cs | 136 ++ .../DescribeStackSetRequestMarshaller.cs | 69 + .../DescribeStackSetResponseUnmarshaller.cs | 132 ++ .../GetTemplateSummaryRequestMarshaller.cs | 4 + .../GetTemplateSummaryResponseUnmarshaller.cs | 4 + .../ListStackInstancesRequestMarshaller.cs | 85 ++ .../ListStackInstancesResponseUnmarshaller.cs | 139 ++ ...ackSetOperationResultsRequestMarshaller.cs | 81 + ...SetOperationResultsResponseUnmarshaller.cs | 143 ++ ...ListStackSetOperationsRequestMarshaller.cs | 77 + ...tStackSetOperationsResponseUnmarshaller.cs | 139 ++ .../ListStackSetsRequestMarshaller.cs | 77 + .../ListStackSetsResponseUnmarshaller.cs | 135 ++ .../OutputUnmarshaller.cs | 6 + .../StackInstanceSummaryUnmarshaller.cs | 127 ++ .../StackInstanceUnmarshaller.cs | 127 ++ ...tackSetOperationPreferencesUnmarshaller.cs | 122 ++ ...ckSetOperationResultSummaryUnmarshaller.cs | 121 ++ .../StackSetOperationSummaryUnmarshaller.cs | 121 ++ .../StackSetOperationUnmarshaller.cs | 139 ++ .../StackSetSummaryUnmarshaller.cs | 115 ++ .../StackSetUnmarshaller.cs | 142 ++ .../StopStackSetOperationRequestMarshaller.cs | 73 + ...opStackSetOperationResponseUnmarshaller.cs | 135 ++ .../UpdateStackSetRequestMarshaller.cs | 166 ++ .../UpdateStackSetResponseUnmarshaller.cs | 148 ++ .../Model/InvalidOperationException.cs | 97 ++ .../Model/ListStackInstancesRequest.cs | 142 ++ .../Model/ListStackInstancesResponse.cs | 79 + .../ListStackSetOperationResultsRequest.cs | 122 ++ .../ListStackSetOperationResultsResponse.cs | 80 + .../Model/ListStackSetOperationsRequest.cs | 103 ++ .../Model/ListStackSetOperationsResponse.cs | 79 + .../Generated/Model/ListStackSetsRequest.cs | 103 ++ .../Generated/Model/ListStackSetsResponse.cs | 79 + .../Model/NameAlreadyExistsException.cs | 97 ++ .../OperationIdAlreadyExistsException.cs | 97 ++ .../Model/OperationInProgressException.cs | 97 ++ .../Model/OperationNotFoundException.cs | 97 ++ .../CloudFormation/Generated/Model/Output.cs | 19 + .../Generated/Model/StackEvent.cs | 16 +- .../Generated/Model/StackInstance.cs | 183 +++ .../Model/StackInstanceNotFoundException.cs | 97 ++ .../Generated/Model/StackInstanceSummary.cs | 178 +++ .../Generated/Model/StackSet.cs | 198 +++ .../Model/StackSetNotEmptyException.cs | 97 ++ .../Model/StackSetNotFoundException.cs | 97 ++ .../Generated/Model/StackSetOperation.cs | 230 +++ .../Model/StackSetOperationPreferences.cs | 169 +++ .../Model/StackSetOperationResultSummary.cs | 165 ++ .../Model/StackSetOperationSummary.cs | 170 +++ .../Generated/Model/StackSetSummary.cs | 113 ++ .../Generated/Model/StaleRequestException.cs | 97 ++ .../Model/StopStackSetOperationRequest.cs | 76 + .../Model/StopStackSetOperationResponse.cs | 37 + .../Generated/Model/UpdateStackRequest.cs | 18 +- .../Generated/Model/UpdateStackSetRequest.cs | 360 +++++ .../Generated/Model/UpdateStackSetResponse.cs | 56 + .../Generated/ServiceEnumerations.cs | 336 +++++ .../_bcl35/AmazonCloudFormationClient.cs | 1340 ++++++++++++++++- .../Generated/_bcl35/IAmazonCloudFormation.cs | 1081 ++++++++++++- .../_bcl45/AmazonCloudFormationClient.cs | 1044 ++++++++++++- .../Generated/_bcl45/IAmazonCloudFormation.cs | 888 ++++++++++- .../_mobile/AmazonCloudFormationClient.cs | 797 ++++++++++ .../_mobile/IAmazonCloudFormation.cs | 602 ++++++++ .../CloudFormationMarshallingTests.cs | 312 ++++ 101 files changed, 17087 insertions(+), 168 deletions(-) create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/AccountGateResult.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/CreateStackInstancesRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/CreateStackInstancesResponse.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/CreateStackSetRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/CreateStackSetResponse.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/CreatedButModifiedException.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/DeleteStackInstancesRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/DeleteStackInstancesResponse.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/DeleteStackSetRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/DeleteStackSetResponse.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/DescribeStackInstanceRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/DescribeStackInstanceResponse.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetOperationRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetOperationResponse.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetResponse.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/AccountGateResultUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackInstancesRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackInstancesResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackSetRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackSetResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackInstancesRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackInstancesResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackSetRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackSetResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackInstanceRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackInstanceResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetOperationRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetOperationResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackInstancesRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackInstancesResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationResultsRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationResultsResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationsRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationsResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetsRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetsResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackInstanceSummaryUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackInstanceUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationPreferencesUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationResultSummaryUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationSummaryUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetSummaryUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StopStackSetOperationRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StopStackSetOperationResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/UpdateStackSetRequestMarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/UpdateStackSetResponseUnmarshaller.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/InvalidOperationException.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/ListStackInstancesRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/ListStackInstancesResponse.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationResultsRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationResultsResponse.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationsRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationsResponse.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/ListStackSetsRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/ListStackSetsResponse.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/NameAlreadyExistsException.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/OperationIdAlreadyExistsException.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/OperationInProgressException.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/OperationNotFoundException.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StackInstance.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StackInstanceNotFoundException.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StackInstanceSummary.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StackSet.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StackSetNotEmptyException.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StackSetNotFoundException.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StackSetOperation.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StackSetOperationPreferences.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StackSetOperationResultSummary.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StackSetOperationSummary.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StackSetSummary.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StaleRequestException.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StopStackSetOperationRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/StopStackSetOperationResponse.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/UpdateStackSetRequest.cs create mode 100644 sdk/src/Services/CloudFormation/Generated/Model/UpdateStackSetResponse.cs diff --git a/generator/ServiceModels/cloudformation/cloudformation-2010-05-15.normal.json b/generator/ServiceModels/cloudformation/cloudformation-2010-05-15.normal.json index 7a7c1fd86492..c0d1222d2e44 100644 --- a/generator/ServiceModels/cloudformation/cloudformation-2010-05-15.normal.json +++ b/generator/ServiceModels/cloudformation/cloudformation-2010-05-15.normal.json @@ -75,6 +75,45 @@ ], "documentation":"

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

" }, + "CreateStackInstances":{ + "name":"CreateStackInstances", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateStackInstancesInput"}, + "output":{ + "shape":"CreateStackInstancesOutput", + "resultWrapper":"CreateStackInstancesResult" + }, + "errors":[ + {"shape":"StackSetNotFoundException"}, + {"shape":"OperationInProgressException"}, + {"shape":"OperationIdAlreadyExistsException"}, + {"shape":"StaleRequestException"}, + {"shape":"InvalidOperationException"}, + {"shape":"LimitExceededException"} + ], + "documentation":"

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

" + }, + "CreateStackSet":{ + "name":"CreateStackSet", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateStackSetInput"}, + "output":{ + "shape":"CreateStackSetOutput", + "resultWrapper":"CreateStackSetResult" + }, + "errors":[ + {"shape":"NameAlreadyExistsException"}, + {"shape":"CreatedButModifiedException"}, + {"shape":"LimitExceededException"} + ], + "documentation":"

Creates a stack set.

" + }, "DeleteChangeSet":{ "name":"DeleteChangeSet", "http":{ @@ -103,6 +142,43 @@ ], "documentation":"

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

" }, + "DeleteStackInstances":{ + "name":"DeleteStackInstances", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteStackInstancesInput"}, + "output":{ + "shape":"DeleteStackInstancesOutput", + "resultWrapper":"DeleteStackInstancesResult" + }, + "errors":[ + {"shape":"StackSetNotFoundException"}, + {"shape":"OperationInProgressException"}, + {"shape":"OperationIdAlreadyExistsException"}, + {"shape":"StaleRequestException"}, + {"shape":"InvalidOperationException"} + ], + "documentation":"

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

" + }, + "DeleteStackSet":{ + "name":"DeleteStackSet", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteStackSetInput"}, + "output":{ + "shape":"DeleteStackSetOutput", + "resultWrapper":"DeleteStackSetResult" + }, + "errors":[ + {"shape":"StackSetNotEmptyException"}, + {"shape":"OperationInProgressException"} + ], + "documentation":"

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

" + }, "DescribeAccountLimits":{ "name":"DescribeAccountLimits", "http":{ @@ -145,6 +221,23 @@ }, "documentation":"

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 AWS CloudFormation User Guide.

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

" }, + "DescribeStackInstance":{ + "name":"DescribeStackInstance", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeStackInstanceInput"}, + "output":{ + "shape":"DescribeStackInstanceOutput", + "resultWrapper":"DescribeStackInstanceResult" + }, + "errors":[ + {"shape":"StackSetNotFoundException"}, + {"shape":"StackInstanceNotFoundException"} + ], + "documentation":"

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

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

" + }, "DescribeStackResource":{ "name":"DescribeStackResource", "http":{ @@ -171,6 +264,39 @@ }, "documentation":"

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

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

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

You must specify either StackName or PhysicalResourceId, but not both. In addition, you can specify LogicalResourceId to filter the returned result. For more information about resources, the LogicalResourceId and PhysicalResourceId, go to the AWS CloudFormation User Guide.

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

" }, + "DescribeStackSet":{ + "name":"DescribeStackSet", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeStackSetInput"}, + "output":{ + "shape":"DescribeStackSetOutput", + "resultWrapper":"DescribeStackSetResult" + }, + "errors":[ + {"shape":"StackSetNotFoundException"} + ], + "documentation":"

Returns the description of the specified stack set.

" + }, + "DescribeStackSetOperation":{ + "name":"DescribeStackSetOperation", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeStackSetOperationInput"}, + "output":{ + "shape":"DescribeStackSetOperationOutput", + "resultWrapper":"DescribeStackSetOperationResult" + }, + "errors":[ + {"shape":"StackSetNotFoundException"}, + {"shape":"OperationNotFoundException"} + ], + "documentation":"

Returns the description of the specified stack set operation.

" + }, "DescribeStacks":{ "name":"DescribeStacks", "http":{ @@ -256,6 +382,9 @@ "shape":"GetTemplateSummaryOutput", "resultWrapper":"GetTemplateSummaryResult" }, + "errors":[ + {"shape":"StackSetNotFoundException"} + ], "documentation":"

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.

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

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

" }, "ListChangeSets":{ @@ -297,6 +426,22 @@ }, "documentation":"

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.

" }, + "ListStackInstances":{ + "name":"ListStackInstances", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListStackInstancesInput"}, + "output":{ + "shape":"ListStackInstancesOutput", + "resultWrapper":"ListStackInstancesResult" + }, + "errors":[ + {"shape":"StackSetNotFoundException"} + ], + "documentation":"

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

" + }, "ListStackResources":{ "name":"ListStackResources", "http":{ @@ -310,6 +455,52 @@ }, "documentation":"

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.

" }, + "ListStackSetOperationResults":{ + "name":"ListStackSetOperationResults", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListStackSetOperationResultsInput"}, + "output":{ + "shape":"ListStackSetOperationResultsOutput", + "resultWrapper":"ListStackSetOperationResultsResult" + }, + "errors":[ + {"shape":"StackSetNotFoundException"}, + {"shape":"OperationNotFoundException"} + ], + "documentation":"

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

" + }, + "ListStackSetOperations":{ + "name":"ListStackSetOperations", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListStackSetOperationsInput"}, + "output":{ + "shape":"ListStackSetOperationsOutput", + "resultWrapper":"ListStackSetOperationsResult" + }, + "errors":[ + {"shape":"StackSetNotFoundException"} + ], + "documentation":"

Returns summary information about operations performed on a stack set.

" + }, + "ListStackSets":{ + "name":"ListStackSets", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListStackSetsInput"}, + "output":{ + "shape":"ListStackSetsOutput", + "resultWrapper":"ListStackSetsResult" + }, + "documentation":"

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

" + }, "ListStacks":{ "name":"ListStacks", "http":{ @@ -341,6 +532,24 @@ "input":{"shape":"SignalResourceInput"}, "documentation":"

Sends a signal to the specified resource with a success or failure status. You can use the SignalResource API in conjunction with a creation policy or update policy. AWS CloudFormation doesn't proceed with a stack creation or update until resources receive the required number of signals or the timeout period is exceeded. The SignalResource API is useful in cases where you want to send signals from anywhere other than an Amazon EC2 instance.

" }, + "StopStackSetOperation":{ + "name":"StopStackSetOperation", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"StopStackSetOperationInput"}, + "output":{ + "shape":"StopStackSetOperationOutput", + "resultWrapper":"StopStackSetOperationResult" + }, + "errors":[ + {"shape":"StackSetNotFoundException"}, + {"shape":"OperationNotFoundException"}, + {"shape":"InvalidOperationException"} + ], + "documentation":"

Stops an in-progress operation on a stack set and its associated stack instances.

" + }, "UpdateStack":{ "name":"UpdateStack", "http":{ @@ -358,6 +567,26 @@ ], "documentation":"

Updates a stack as specified in the template. After the call completes successfully, the stack update starts. You can check the status of the stack via the DescribeStacks action.

To get a copy of the template for an existing stack, you can use the GetTemplate action.

For more information about creating an update template, updating a stack, and monitoring the progress of the update, see Updating a Stack.

" }, + "UpdateStackSet":{ + "name":"UpdateStackSet", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateStackSetInput"}, + "output":{ + "shape":"UpdateStackSetOutput", + "resultWrapper":"UpdateStackSetResult" + }, + "errors":[ + {"shape":"StackSetNotFoundException"}, + {"shape":"OperationInProgressException"}, + {"shape":"OperationIdAlreadyExistsException"}, + {"shape":"StaleRequestException"}, + {"shape":"InvalidOperationException"} + ], + "documentation":"

Updates the stack set and all associated stack instances.

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.

" + }, "ValidateTemplate":{ "name":"ValidateTemplate", "http":{ @@ -373,6 +602,33 @@ } }, "shapes":{ + "Account":{ + "type":"string", + "pattern":"[0-9]{12}" + }, + "AccountGateResult":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"AccountGateStatus", + "documentation":"

The status of the account gate function.

" + }, + "StatusReason":{ + "shape":"AccountGateStatusReason", + "documentation":"

The reason for the account gate status assigned to this account.

" + } + }, + "documentation":"

Structure that contains the results of the account gate function AWS CloudFormation StackSets invokes, if present, before proceeding with stack set operations in an account.

Account gating enables you to specify a Lamdba function for an account that encapsulates any requirements that must be met before AWS CloudFormation StackSets proceeds with stack set operations in that account. CloudFormation invokes the function each time stack set operations are initiated for that account, and only proceeds if the function returns a success code.

" + }, + "AccountGateStatus":{ + "type":"string", + "enum":[ + "SUCCEEDED", + "FAILED", + "SKIPPED" + ] + }, + "AccountGateStatusReason":{"type":"string"}, "AccountLimit":{ "type":"structure", "members":{ @@ -391,6 +647,10 @@ "type":"list", "member":{"shape":"AccountLimit"} }, + "AccountList":{ + "type":"list", + "member":{"shape":"Account"} + }, "AllowedValue":{"type":"string"}, "AllowedValues":{ "type":"list", @@ -400,7 +660,7 @@ "type":"structure", "members":{ }, - "documentation":"

Resource with the name requested already exists.

", + "documentation":"

The resource with the name requested already exists.

", "error":{ "code":"AlreadyExistsException", "httpStatusCode":400, @@ -573,7 +833,7 @@ "type":"string", "max":128, "min":1, - "pattern":"[a-zA-Z][-a-zA-Z0-9]*" + "pattern":"[a-zA-Z0-9][-a-zA-Z0-9]*" }, "ClientToken":{ "type":"string", @@ -594,7 +854,7 @@ }, "ResourcesToSkip":{ "shape":"ResourcesToSkip", - "documentation":"

A list of the logical IDs of the resources that AWS CloudFormation skips during the continue update rollback operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for example, because an update was canceled. To check why a resource update failed, use the DescribeStackResources action, and view the resource status reason.

Specify this property to skip rolling back resources that AWS CloudFormation can't successfully roll back. We recommend that you troubleshoot resources before skipping them. AWS CloudFormation sets the status of the specified resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of the skipped resources will be inconsistent with the state of the resources in the stack template. Before performing another stack update, you must update the stack or resources to be consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become unrecoverable.

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

To specify resources in a nested stack, use the following format: NestedStackName.ResourceLogicalID. If the ResourceLogicalID is a stack resource (Type: AWS::CloudFormation::Stack), it must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

" + "documentation":"

A list of the logical IDs of the resources that AWS CloudFormation skips during the continue update rollback operation. You can specify only resources that are in the UPDATE_FAILED state because a rollback failed. You can't specify resources that are in the UPDATE_FAILED state for other reasons, for example, because an update was cancelled. To check why a resource update failed, use the DescribeStackResources action, and view the resource status reason.

Specify this property to skip rolling back resources that AWS CloudFormation can't successfully roll back. We recommend that you troubleshoot resources before skipping them. AWS CloudFormation sets the status of the specified resources to UPDATE_COMPLETE and continues to roll back the stack. After the rollback is complete, the state of the skipped resources will be inconsistent with the state of the resources in the stack template. Before performing another stack update, you must update the stack or resources to be consistent with each other. If you don't, subsequent stack updates might fail, and the stack will become unrecoverable.

Specify the minimum number of resources required to successfully roll back your stack. For example, a failed resource update might cause dependent resources to fail. In this case, it might not be necessary to skip the dependent resources.

To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) in the ResourcesToSkip list, then its corresponding embedded stack must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, or DELETE_FAILED.

Don't confuse a child stack's name with its corresponding logical ID defined in the parent stack. For an example of a continue update rollback operation with nested stacks, see Using ResourcesToSkip to recover a nested stacks hierarchy.

" }, "ClientRequestToken":{ "shape":"ClientRequestToken", @@ -654,7 +914,7 @@ }, "Tags":{ "shape":"Tags", - "documentation":"

Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to resources in the stack. You can specify a maximum of 10 tags.

" + "documentation":"

Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to resources in the stack. You can specify a maximum of 50 tags.

" }, "ChangeSetName":{ "shape":"ChangeSetName", @@ -747,15 +1007,55 @@ }, "Tags":{ "shape":"Tags", - "documentation":"

Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 10 tags can be specified.

" + "documentation":"

Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to the resources created in the stack. A maximum number of 50 tags can be specified.

" }, "ClientRequestToken":{ "shape":"ClientRequestToken", - "documentation":"

A unique identifier for this CreateStack request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to create a stack with the same name. You might retry CreateStack requests to ensure that AWS CloudFormation successfully received them.

" + "documentation":"

A unique identifier for this CreateStack request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to create a stack with the same name. You might retry CreateStack requests to ensure that AWS CloudFormation successfully received them.

All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

" } }, "documentation":"

The input for CreateStack action.

" }, + "CreateStackInstancesInput":{ + "type":"structure", + "required":[ + "StackSetName", + "Accounts", + "Regions" + ], + "members":{ + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name or unique ID of the stack set that you want to create stack instances from.

" + }, + "Accounts":{ + "shape":"AccountList", + "documentation":"

The names of one or more AWS accounts that you want to create stack instances in the specified region(s) for.

" + }, + "Regions":{ + "shape":"RegionList", + "documentation":"

The names of one or more regions where you want to create stack instances using the specified AWS account(s).

" + }, + "OperationPreferences":{ + "shape":"StackSetOperationPreferences", + "documentation":"

Preferences for how AWS CloudFormation performs this stack set operation.

" + }, + "OperationId":{ + "shape":"ClientRequestToken", + "documentation":"

The unique identifier for this stack set operation.

The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that AWS CloudFormation successfully received them.

If you don't specify an operation ID, the SDK generates one automatically.

Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED.

", + "idempotencyToken":true + } + } + }, + "CreateStackInstancesOutput":{ + "type":"structure", + "members":{ + "OperationId":{ + "shape":"ClientRequestToken", + "documentation":"

The unique identifier for this stack set operation.

" + } + } + }, "CreateStackOutput":{ "type":"structure", "members":{ @@ -766,6 +1066,66 @@ }, "documentation":"

The output for a CreateStack action.

" }, + "CreateStackSetInput":{ + "type":"structure", + "required":["StackSetName"], + "members":{ + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name to associate with the stack set. The name must be unique in the region where you create your stack set.

A stack name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an alphabetic character and can't be longer than 128 characters.

" + }, + "Description":{ + "shape":"Description", + "documentation":"

A description of the stack set. You can use the description to identify the stack set's purpose or other important information.

" + }, + "TemplateBody":{ + "shape":"TemplateBody", + "documentation":"

The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the AWS CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

" + }, + "TemplateURL":{ + "shape":"TemplateURL", + "documentation":"

The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket. For more information, see Template Anatomy in the AWS CloudFormation User Guide.

Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.

" + }, + "Parameters":{ + "shape":"Parameters", + "documentation":"

The input parameters for the stack set template.

" + }, + "Capabilities":{ + "shape":"Capabilities", + "documentation":"

A list of values that you must specify before AWS CloudFormation can create certain stack sets. Some stack set templates might include resources that can affect permissions in your AWS account—for example, by creating new AWS Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge their capabilities by specifying this parameter.

The only valid values are CAPABILITY_IAM and CAPABILITY_NAMED_IAM. The following resources require you to specify this parameter:

If your stack template contains these resources, we recommend that you review all permissions that are associated with them and edit their permissions if necessary.

If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify this parameter, this action returns an InsufficientCapabilities error.

For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates.

" + }, + "Tags":{ + "shape":"Tags", + "documentation":"

The key-value pairs to associate with this stack set and the stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the stacks. A maximum number of 50 tags can be specified.

If you specify tags as part of a CreateStackSet action, AWS CloudFormation checks to see if you have the required IAM permission to tag resources. If you don't, the entire CreateStackSet action fails with an access denied error, and the stack set is not created.

" + }, + "ClientRequestToken":{ + "shape":"ClientRequestToken", + "documentation":"

A unique identifier for this CreateStackSet request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to create another stack set with the same name. You might retry CreateStackSet requests to ensure that AWS CloudFormation successfully received them.

If you don't specify an operation ID, the SDK generates one automatically.

", + "idempotencyToken":true + } + } + }, + "CreateStackSetOutput":{ + "type":"structure", + "members":{ + "StackSetId":{ + "shape":"StackSetId", + "documentation":"

The ID of the stack set that you're creating.

" + } + } + }, + "CreatedButModifiedException":{ + "type":"structure", + "members":{ + }, + "documentation":"

The specified resource exists, but has been changed.

", + "error":{ + "code":"CreatedButModifiedException", + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, "CreationTime":{"type":"timestamp"}, "DeleteChangeSetInput":{ "type":"structure", @@ -806,11 +1166,71 @@ }, "ClientRequestToken":{ "shape":"ClientRequestToken", - "documentation":"

A unique identifier for this DeleteStack request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to delete a stack with the same name. You might retry DeleteStack requests to ensure that AWS CloudFormation successfully received them.

" + "documentation":"

A unique identifier for this DeleteStack request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to delete a stack with the same name. You might retry DeleteStack requests to ensure that AWS CloudFormation successfully received them.

All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

" } }, "documentation":"

The input for DeleteStack action.

" }, + "DeleteStackInstancesInput":{ + "type":"structure", + "required":[ + "StackSetName", + "Accounts", + "Regions", + "RetainStacks" + ], + "members":{ + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name or unique ID of the stack set that you want to delete stack instances for.

" + }, + "Accounts":{ + "shape":"AccountList", + "documentation":"

The names of the AWS accounts that you want to delete stack instances for.

" + }, + "Regions":{ + "shape":"RegionList", + "documentation":"

The regions where you want to delete stack set instances.

" + }, + "OperationPreferences":{ + "shape":"StackSetOperationPreferences", + "documentation":"

Preferences for how AWS CloudFormation performs this stack set operation.

" + }, + "RetainStacks":{ + "shape":"RetainStacks", + "documentation":"

Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set.

" + }, + "OperationId":{ + "shape":"ClientRequestToken", + "documentation":"

The unique identifier for this stack set operation.

If you don't specify an operation ID, the SDK generates one automatically.

The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You can retry stack set operation requests to ensure that AWS CloudFormation successfully received them.

Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED.

", + "idempotencyToken":true + } + } + }, + "DeleteStackInstancesOutput":{ + "type":"structure", + "members":{ + "OperationId":{ + "shape":"ClientRequestToken", + "documentation":"

The unique identifier for this stack set operation.

" + } + } + }, + "DeleteStackSetInput":{ + "type":"structure", + "required":["StackSetName"], + "members":{ + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name or unique ID of the stack set that you're deleting. You can obtain this value by running ListStackSets.

" + } + } + }, + "DeleteStackSetOutput":{ + "type":"structure", + "members":{ + } + }, "DeletionTime":{"type":"timestamp"}, "DescribeAccountLimitsInput":{ "type":"structure", @@ -949,6 +1369,37 @@ }, "documentation":"

The output for a DescribeStackEvents action.

" }, + "DescribeStackInstanceInput":{ + "type":"structure", + "required":[ + "StackSetName", + "StackInstanceAccount", + "StackInstanceRegion" + ], + "members":{ + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name or the unique stack ID of the stack set that you want to get stack instance information for.

" + }, + "StackInstanceAccount":{ + "shape":"Account", + "documentation":"

The ID of an AWS account that's associated with this stack instance.

" + }, + "StackInstanceRegion":{ + "shape":"Region", + "documentation":"

The name of a region that's associated with this stack instance.

" + } + } + }, + "DescribeStackInstanceOutput":{ + "type":"structure", + "members":{ + "StackInstance":{ + "shape":"StackInstance", + "documentation":"

The stack instance that matches the specified request parameters.

" + } + } + }, "DescribeStackResourceInput":{ "type":"structure", "required":[ @@ -1005,30 +1456,75 @@ }, "documentation":"

The output for a DescribeStackResources action.

" }, - "DescribeStacksInput":{ + "DescribeStackSetInput":{ "type":"structure", + "required":["StackSetName"], "members":{ - "StackName":{ - "shape":"StackName", - "documentation":"

The name or the unique stack ID that is associated with the stack, which are not always interchangeable:

Default: There is no default value.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

A string that identifies the next page of stacks that you want to retrieve.

" + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name or unique ID of the stack set whose description you want.

" } - }, - "documentation":"

The input for DescribeStacks action.

" + } }, - "DescribeStacksOutput":{ + "DescribeStackSetOperationInput":{ "type":"structure", + "required":[ + "StackSetName", + "OperationId" + ], "members":{ - "Stacks":{ - "shape":"Stacks", - "documentation":"

A list of stack structures.

" + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name or the unique stack ID of the stack set for the stack operation.

" }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.

" + "OperationId":{ + "shape":"ClientRequestToken", + "documentation":"

The unique ID of the stack set operation.

" + } + } + }, + "DescribeStackSetOperationOutput":{ + "type":"structure", + "members":{ + "StackSetOperation":{ + "shape":"StackSetOperation", + "documentation":"

The specified stack set operation.

" + } + } + }, + "DescribeStackSetOutput":{ + "type":"structure", + "members":{ + "StackSet":{ + "shape":"StackSet", + "documentation":"

The specified stack set.

" + } + } + }, + "DescribeStacksInput":{ + "type":"structure", + "members":{ + "StackName":{ + "shape":"StackName", + "documentation":"

The name or the unique stack ID that is associated with the stack, which are not always interchangeable:

Default: There is no default value.

" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

A string that identifies the next page of stacks that you want to retrieve.

" + } + }, + "documentation":"

The input for DescribeStacks action.

" + }, + "DescribeStacksOutput":{ + "type":"structure", + "members":{ + "Stacks":{ + "shape":"Stacks", + "documentation":"

A list of stack structures.

" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.

" } }, "documentation":"

The output for a DescribeStacks action.

" @@ -1135,6 +1631,15 @@ "type":"list", "member":{"shape":"Export"} }, + "FailureToleranceCount":{ + "type":"integer", + "min":0 + }, + "FailureTolerancePercentage":{ + "type":"integer", + "max":100, + "min":0 + }, "GetStackPolicyInput":{ "type":"structure", "required":["StackName"], @@ -1202,6 +1707,10 @@ "StackName":{ "shape":"StackNameOrId", "documentation":"

The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.

Conditional: You must specify only one of the following parameters: StackName, TemplateBody, or TemplateURL.

" + }, + "StackSetName":{ + "shape":"StackSetNameOrId", + "documentation":"

The name or unique ID of the stack set from which the stack was created.

" } }, "documentation":"

The input for the GetTemplateSummary action.

" @@ -1252,7 +1761,7 @@ "type":"structure", "members":{ }, - "documentation":"

The template contains resources with capabilities that were not specified in the Capabilities parameter.

", + "documentation":"

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

", "error":{ "code":"InsufficientCapabilitiesException", "httpStatusCode":400, @@ -1264,7 +1773,7 @@ "type":"structure", "members":{ }, - "documentation":"

The specified change set cannot 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.

", + "documentation":"

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.

", "error":{ "code":"InvalidChangeSetStatus", "httpStatusCode":400, @@ -1272,12 +1781,24 @@ }, "exception":true }, + "InvalidOperationException":{ + "type":"structure", + "members":{ + }, + "documentation":"

The specified operation isn't valid.

", + "error":{ + "code":"InvalidOperationException", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, "LastUpdatedTime":{"type":"timestamp"}, "LimitExceededException":{ "type":"structure", "members":{ }, - "documentation":"

Quota for the resource has already been reached.

", + "documentation":"

The quota for the resource has already been reached.

", "error":{ "code":"LimitExceededException", "httpStatusCode":400, @@ -1365,6 +1886,45 @@ } } }, + "ListStackInstancesInput":{ + "type":"structure", + "required":["StackSetName"], + "members":{ + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name or unique ID of the stack set that you want to list stack instances for.

" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

If the previous request didn't return all of the remaining results, the response's NextToken parameter value is set to a token. To retrieve the next set of results, call ListStackInstances again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" + }, + "MaxResults":{ + "shape":"MaxResults", + "documentation":"

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

" + }, + "StackInstanceAccount":{ + "shape":"Account", + "documentation":"

The name of the AWS account that you want to list stack instances for.

" + }, + "StackInstanceRegion":{ + "shape":"Region", + "documentation":"

The name of the region where you want to list stack instances.

" + } + } + }, + "ListStackInstancesOutput":{ + "type":"structure", + "members":{ + "Summaries":{ + "shape":"StackInstanceSummaries", + "documentation":"

A list of StackInstanceSummary structures that contain information about the specified stack instances.

" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListStackInstances again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

" + } + } + }, "ListStackResourcesInput":{ "type":"structure", "required":["StackName"], @@ -1394,6 +1954,105 @@ }, "documentation":"

The output for a ListStackResources action.

" }, + "ListStackSetOperationResultsInput":{ + "type":"structure", + "required":[ + "StackSetName", + "OperationId" + ], + "members":{ + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name or unique ID of the stack set that you want to get operation results for.

" + }, + "OperationId":{ + "shape":"ClientRequestToken", + "documentation":"

The ID of the stack set operation.

" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

If the previous request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call ListStackSetOperationResults again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" + }, + "MaxResults":{ + "shape":"MaxResults", + "documentation":"

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

" + } + } + }, + "ListStackSetOperationResultsOutput":{ + "type":"structure", + "members":{ + "Summaries":{ + "shape":"StackSetOperationResultSummaries", + "documentation":"

A list of StackSetOperationResultSummary structures that contain information about the specified operation results, for accounts and regions that are included in the operation.

" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

If the request doesn't return all results, NextToken is set to a token. To retrieve the next set of results, call ListOperationResults again and assign that token to the request object's NextToken parameter. If there are no remaining results, NextToken is set to null.

" + } + } + }, + "ListStackSetOperationsInput":{ + "type":"structure", + "required":["StackSetName"], + "members":{ + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name or unique ID of the stack set that you want to get operation summaries for.

" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call ListStackSetOperations again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" + }, + "MaxResults":{ + "shape":"MaxResults", + "documentation":"

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

" + } + } + }, + "ListStackSetOperationsOutput":{ + "type":"structure", + "members":{ + "Summaries":{ + "shape":"StackSetOperationSummaries", + "documentation":"

A list of StackSetOperationSummary structures that contain summary information about operations for the specified stack set.

" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

If the request doesn't return all results, NextToken is set to a token. To retrieve the next set of results, call ListOperationResults again and assign that token to the request object's NextToken parameter. If there are no remaining results, NextToken is set to null.

" + } + } + }, + "ListStackSetsInput":{ + "type":"structure", + "members":{ + "NextToken":{ + "shape":"NextToken", + "documentation":"

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call ListStackSets again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" + }, + "MaxResults":{ + "shape":"MaxResults", + "documentation":"

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

" + }, + "Status":{ + "shape":"StackSetStatus", + "documentation":"

The status of the stack sets that you want to get summary information about.

" + } + } + }, + "ListStackSetsOutput":{ + "type":"structure", + "members":{ + "Summaries":{ + "shape":"StackSetSummaries", + "documentation":"

A list of StackSetSummary structures that contain information about the user's stack sets.

" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListStackInstances again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

" + } + } + }, "ListStacksInput":{ "type":"structure", "members":{ @@ -1423,7 +2082,33 @@ "documentation":"

The output for ListStacks action.

" }, "LogicalResourceId":{"type":"string"}, + "MaxConcurrentCount":{ + "type":"integer", + "min":1 + }, + "MaxConcurrentPercentage":{ + "type":"integer", + "max":100, + "min":1 + }, + "MaxResults":{ + "type":"integer", + "max":100, + "min":1 + }, "Metadata":{"type":"string"}, + "NameAlreadyExistsException":{ + "type":"structure", + "members":{ + }, + "documentation":"

The specified name is already in use.

", + "error":{ + "code":"NameAlreadyExistsException", + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, "NextToken":{ "type":"string", "max":1024, @@ -1444,6 +2129,42 @@ "DELETE" ] }, + "OperationIdAlreadyExistsException":{ + "type":"structure", + "members":{ + }, + "documentation":"

The specified operation ID already exists.

", + "error":{ + "code":"OperationIdAlreadyExistsException", + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "OperationInProgressException":{ + "type":"structure", + "members":{ + }, + "documentation":"

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

", + "error":{ + "code":"OperationInProgressException", + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "OperationNotFoundException":{ + "type":"structure", + "members":{ + }, + "documentation":"

The specified ID refers to an operation that doesn't exist.

", + "error":{ + "code":"OperationNotFoundException", + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, "Output":{ "type":"structure", "members":{ @@ -1458,6 +2179,10 @@ "Description":{ "shape":"Description", "documentation":"

User defined description associated with the output.

" + }, + "ExportName":{ + "shape":"ExportName", + "documentation":"

The name of the export associated with the output.

" } }, "documentation":"

The Output data type.

" @@ -1539,6 +2264,12 @@ }, "PhysicalResourceId":{"type":"string"}, "PropertyName":{"type":"string"}, + "Reason":{"type":"string"}, + "Region":{"type":"string"}, + "RegionList":{ + "type":"list", + "member":{"shape":"Region"} + }, "Replacement":{ "type":"string", "enum":[ @@ -1694,6 +2425,8 @@ "type":"list", "member":{"shape":"LogicalResourceId"} }, + "RetainStacks":{"type":"boolean"}, + "RetainStacksNullable":{"type":"boolean"}, "RoleARN":{ "type":"string", "max":2048, @@ -1876,7 +2609,7 @@ }, "ClientRequestToken":{ "shape":"ClientRequestToken", - "documentation":"

The token passed to the operation that generated this event.

For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

" + "documentation":"

The token passed to the operation that generated this event.

All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

" } }, "documentation":"

The StackEvent data type.

" @@ -1886,6 +2619,90 @@ "member":{"shape":"StackEvent"} }, "StackId":{"type":"string"}, + "StackInstance":{ + "type":"structure", + "members":{ + "StackSetId":{ + "shape":"StackSetId", + "documentation":"

The name or unique ID of the stack set that the stack instance is associated with.

" + }, + "Region":{ + "shape":"Region", + "documentation":"

The name of the AWS region that the stack instance is associated with.

" + }, + "Account":{ + "shape":"Account", + "documentation":"

The name of the AWS account that the stack instance is associated with.

" + }, + "StackId":{ + "shape":"StackId", + "documentation":"

The ID of the stack instance.

" + }, + "Status":{ + "shape":"StackInstanceStatus", + "documentation":"

The status of the stack instance, in terms of its synchronization with its associated stack set.

" + }, + "StatusReason":{ + "shape":"Reason", + "documentation":"

The explanation for the specific status code that is assigned to this stack instance.

" + } + }, + "documentation":"

An AWS CloudFormation stack, in a specific account and region, that's part of a stack set operation. A stack instance is a reference to an attempted or actual stack in a given account within a given region. A stack instance can exist without a stack—for example, if the stack couldn't be created for some reason. A stack instance is associated with only one stack set. Each stack instance contains the ID of its associated stack set, as well as the ID of the actual stack and the stack status.

" + }, + "StackInstanceNotFoundException":{ + "type":"structure", + "members":{ + }, + "documentation":"

The specified stack instance doesn't exist.

", + "error":{ + "code":"StackInstanceNotFoundException", + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "StackInstanceStatus":{ + "type":"string", + "enum":[ + "CURRENT", + "OUTDATED", + "INOPERABLE" + ] + }, + "StackInstanceSummaries":{ + "type":"list", + "member":{"shape":"StackInstanceSummary"} + }, + "StackInstanceSummary":{ + "type":"structure", + "members":{ + "StackSetId":{ + "shape":"StackSetId", + "documentation":"

The name or unique ID of the stack set that the stack instance is associated with.

" + }, + "Region":{ + "shape":"Region", + "documentation":"

The name of the AWS region that the stack instance is associated with.

" + }, + "Account":{ + "shape":"Account", + "documentation":"

The name of the AWS account that the stack instance is associated with.

" + }, + "StackId":{ + "shape":"StackId", + "documentation":"

The ID of the stack instance.

" + }, + "Status":{ + "shape":"StackInstanceStatus", + "documentation":"

The status of the stack instance, in terms of its synchronization with its associated stack set.

" + }, + "StatusReason":{ + "shape":"Reason", + "documentation":"

The explanation for the specific status code assigned to this stack instance.

" + } + }, + "documentation":"

The structure that contains summary information about a stack instance.

" + }, "StackName":{"type":"string"}, "StackNameOrId":{ "type":"string", @@ -2056,6 +2873,260 @@ "type":"list", "member":{"shape":"StackResource"} }, + "StackSet":{ + "type":"structure", + "members":{ + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name that's associated with the stack set.

" + }, + "StackSetId":{ + "shape":"StackSetId", + "documentation":"

The ID of the stack set.

" + }, + "Description":{ + "shape":"Description", + "documentation":"

A description of the stack set that you specify when the stack set is created or updated.

" + }, + "Status":{ + "shape":"StackSetStatus", + "documentation":"

The status of the stack set.

" + }, + "TemplateBody":{ + "shape":"TemplateBody", + "documentation":"

The structure that contains the body of the template that was used to create or update the stack set.

" + }, + "Parameters":{ + "shape":"Parameters", + "documentation":"

A list of input parameters for a stack set.

" + }, + "Capabilities":{ + "shape":"Capabilities", + "documentation":"

The capabilities that are allowed in the stack set. Some stack set templates might include resources that can affect permissions in your AWS account—for example, by creating new AWS Identity and Access Management (IAM) users. For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates.

" + }, + "Tags":{ + "shape":"Tags", + "documentation":"

A list of tags that specify information about the stack set. A maximum number of 50 tags can be specified.

" + } + }, + "documentation":"

A structure that contains information about a stack set. A stack set enables you to provision stacks into AWS accounts and across regions by using a single CloudFormation template. In the stack set, you specify the template to use, as well as any parameters and capabilities that the template requires.

" + }, + "StackSetId":{"type":"string"}, + "StackSetName":{"type":"string"}, + "StackSetNameOrId":{ + "type":"string", + "min":1, + "pattern":"[a-zA-Z][-a-zA-Z0-9]*" + }, + "StackSetNotEmptyException":{ + "type":"structure", + "members":{ + }, + "documentation":"

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.

", + "error":{ + "code":"StackSetNotEmptyException", + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "StackSetNotFoundException":{ + "type":"structure", + "members":{ + }, + "documentation":"

The specified stack set doesn't exist.

", + "error":{ + "code":"StackSetNotFoundException", + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "StackSetOperation":{ + "type":"structure", + "members":{ + "OperationId":{ + "shape":"ClientRequestToken", + "documentation":"

The unique ID of a stack set operation.

" + }, + "StackSetId":{ + "shape":"StackSetId", + "documentation":"

The ID of the stack set.

" + }, + "Action":{ + "shape":"StackSetOperationAction", + "documentation":"

The type of stack set operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack set instances that are associated with the specified stack set. Update operations affect both the stack set itself, as well as all associated stack set instances.

" + }, + "Status":{ + "shape":"StackSetOperationStatus", + "documentation":"

The status of the operation.

" + }, + "OperationPreferences":{ + "shape":"StackSetOperationPreferences", + "documentation":"

The preferences for how AWS CloudFormation performs this stack set operation.

" + }, + "RetainStacks":{ + "shape":"RetainStacksNullable", + "documentation":"

For stack set operations of action type DELETE, specifies whether to remove the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack, or add an existing, saved stack to a new stack set.

" + }, + "CreationTimestamp":{ + "shape":"Timestamp", + "documentation":"

The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because AWS CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested regions, before actually creating the first stacks.

" + }, + "EndTimestamp":{ + "shape":"Timestamp", + "documentation":"

The time at which the stack set operation ended, across all accounts and regions specified. Note that this doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account or region.

" + } + }, + "documentation":"

The structure that contains information about a stack set operation.

" + }, + "StackSetOperationAction":{ + "type":"string", + "enum":[ + "CREATE", + "UPDATE", + "DELETE" + ] + }, + "StackSetOperationPreferences":{ + "type":"structure", + "members":{ + "RegionOrder":{ + "shape":"RegionList", + "documentation":"

The order of the regions in where you want to perform the stack operation.

" + }, + "FailureToleranceCount":{ + "shape":"FailureToleranceCount", + "documentation":"

The number of accounts, per region, for which this operation can fail before AWS CloudFormation stops the operation in that region. If the operation is stopped in a region, AWS CloudFormation doesn't attempt the operation in any subsequent regions.

Conditional: You must specify either FailureToleranceCount or FailureTolerancePercentage (but not both).

" + }, + "FailureTolerancePercentage":{ + "shape":"FailureTolerancePercentage", + "documentation":"

The percentage of accounts, per region, for which this stack operation can fail before AWS CloudFormation stops the operation in that region. If the operation is stopped in a region, AWS CloudFormation doesn't attempt the operation in any subsequent regions.

When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number.

Conditional: You must specify either FailureToleranceCount or FailureTolerancePercentage, but not both.

" + }, + "MaxConcurrentCount":{ + "shape":"MaxConcurrentCount", + "documentation":"

The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of FailureToleranceCount—MaxConcurrentCount is at most one more than the FailureToleranceCount .

Conditional: You must specify either MaxConcurrentCount or MaxConcurrentPercentage, but not both.

" + }, + "MaxConcurrentPercentage":{ + "shape":"MaxConcurrentPercentage", + "documentation":"

The maximum percentage of accounts in which to perform this operation at one time.

When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead.

Conditional: You must specify either MaxConcurrentCount or MaxConcurrentPercentage, but not both.

" + } + }, + "documentation":"

The user-specified preferences for how AWS CloudFormation performs a stack set operation.

" + }, + "StackSetOperationResultStatus":{ + "type":"string", + "enum":[ + "PENDING", + "RUNNING", + "SUCCEEDED", + "FAILED", + "CANCELLED" + ] + }, + "StackSetOperationResultSummaries":{ + "type":"list", + "member":{"shape":"StackSetOperationResultSummary"} + }, + "StackSetOperationResultSummary":{ + "type":"structure", + "members":{ + "Account":{ + "shape":"Account", + "documentation":"

The name of the AWS account for this operation result.

" + }, + "Region":{ + "shape":"Region", + "documentation":"

The name of the AWS region for this operation result.

" + }, + "Status":{ + "shape":"StackSetOperationResultStatus", + "documentation":"

The result status of the stack set operation for the given account in the given region.

" + }, + "StatusReason":{ + "shape":"Reason", + "documentation":"

The reason for the assigned result status.

" + }, + "AccountGateResult":{ + "shape":"AccountGateResult", + "documentation":"

The results of the account gate function AWS CloudFormation invokes, if present, before proceeding with stack set operations in an account

" + } + }, + "documentation":"

The structure that contains information about a specified operation's results for a given account in a given region.

" + }, + "StackSetOperationStatus":{ + "type":"string", + "enum":[ + "RUNNING", + "SUCCEEDED", + "FAILED", + "STOPPING", + "STOPPED" + ] + }, + "StackSetOperationSummaries":{ + "type":"list", + "member":{"shape":"StackSetOperationSummary"} + }, + "StackSetOperationSummary":{ + "type":"structure", + "members":{ + "OperationId":{ + "shape":"ClientRequestToken", + "documentation":"

The unique ID of the stack set operation.

" + }, + "Action":{ + "shape":"StackSetOperationAction", + "documentation":"

The type of operation: CREATE, UPDATE, or DELETE. Create and delete operations affect only the specified stack instances that are associated with the specified stack set. Update operations affect both the stack set itself as well as all associated stack set instances.

" + }, + "Status":{ + "shape":"StackSetOperationStatus", + "documentation":"

The overall status of the operation.

" + }, + "CreationTimestamp":{ + "shape":"Timestamp", + "documentation":"

The time at which the operation was initiated. Note that the creation times for the stack set operation might differ from the creation time of the individual stacks themselves. This is because AWS CloudFormation needs to perform preparatory work for the operation, such as dispatching the work to the requested regions, before actually creating the first stacks.

" + }, + "EndTimestamp":{ + "shape":"Timestamp", + "documentation":"

The time at which the stack set operation ended, across all accounts and regions specified. Note that this doesn't necessarily mean that the stack set operation was successful, or even attempted, in each account or region.

" + } + }, + "documentation":"

The structures that contain summary information about the specified operation.

" + }, + "StackSetStatus":{ + "type":"string", + "enum":[ + "ACTIVE", + "DELETED" + ] + }, + "StackSetSummaries":{ + "type":"list", + "member":{"shape":"StackSetSummary"} + }, + "StackSetSummary":{ + "type":"structure", + "members":{ + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name of the stack set.

" + }, + "StackSetId":{ + "shape":"StackSetId", + "documentation":"

The ID of the stack set.

" + }, + "Description":{ + "shape":"Description", + "documentation":"

A description of the stack set that you specify when the stack set is created or updated.

" + }, + "Status":{ + "shape":"StackSetStatus", + "documentation":"

The status of the stack set.

" + } + }, + "documentation":"

The structures that contain summary information about the specified stack set.

" + }, "StackStatus":{ "type":"string", "enum":[ @@ -2138,8 +3209,46 @@ "type":"list", "member":{"shape":"TemplateStage"} }, + "StaleRequestException":{ + "type":"structure", + "members":{ + }, + "documentation":"

Another operation has been performed on this stack set since the specified operation was performed.

", + "error":{ + "code":"StaleRequestException", + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "StopStackSetOperationInput":{ + "type":"structure", + "required":[ + "StackSetName", + "OperationId" + ], + "members":{ + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name or unique ID of the stack set that you want to stop the operation for.

" + }, + "OperationId":{ + "shape":"ClientRequestToken", + "documentation":"

The ID of the stack operation.

" + } + } + }, + "StopStackSetOperationOutput":{ + "type":"structure", + "members":{ + } + }, "Tag":{ "type":"structure", + "required":[ + "Key", + "Value" + ], "members":{ "Key":{ "shape":"TagKey", @@ -2152,11 +3261,20 @@ }, "documentation":"

The Tag type enables you to specify a key-value pair that can be used to store information about an AWS CloudFormation stack.

" }, - "TagKey":{"type":"string"}, - "TagValue":{"type":"string"}, + "TagKey":{ + "type":"string", + "max":128, + "min":1 + }, + "TagValue":{ + "type":"string", + "max":256, + "min":1 + }, "Tags":{ "type":"list", - "member":{"shape":"Tag"} + "member":{"shape":"Tag"}, + "max":50 }, "TemplateBody":{ "type":"string", @@ -2281,11 +3399,11 @@ }, "Tags":{ "shape":"Tags", - "documentation":"

Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to supported resources in the stack. You can specify a maximum number of 10 tags.

If you don't specify this parameter, AWS CloudFormation doesn't modify the stack's tags. If you specify an empty value, AWS CloudFormation removes all associated tags.

" + "documentation":"

Key-value pairs to associate with this stack. AWS CloudFormation also propagates these tags to supported resources in the stack. You can specify a maximum number of 50 tags.

If you don't specify this parameter, AWS CloudFormation doesn't modify the stack's tags. If you specify an empty value, AWS CloudFormation removes all associated tags.

" }, "ClientRequestToken":{ "shape":"ClientRequestToken", - "documentation":"

A unique identifier for this UpdateStack request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to update a stack with the same name. You might retry UpdateStack requests to ensure that AWS CloudFormation successfully received them.

" + "documentation":"

A unique identifier for this UpdateStack request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to update a stack with the same name. You might retry UpdateStack requests to ensure that AWS CloudFormation successfully received them.

All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

" } }, "documentation":"

The input for an UpdateStack action.

" @@ -2300,6 +3418,62 @@ }, "documentation":"

The output for an UpdateStack action.

" }, + "UpdateStackSetInput":{ + "type":"structure", + "required":["StackSetName"], + "members":{ + "StackSetName":{ + "shape":"StackSetName", + "documentation":"

The name or unique ID of the stack set that you want to update.

" + }, + "Description":{ + "shape":"Description", + "documentation":"

A brief description of updates that you are making.

" + }, + "TemplateBody":{ + "shape":"TemplateBody", + "documentation":"

The structure that contains the template body, with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, see Template Anatomy in the AWS CloudFormation User Guide.

Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

" + }, + "TemplateURL":{ + "shape":"TemplateURL", + "documentation":"

The location of the file that contains the template body. The URL must point to a template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information, see Template Anatomy in the AWS CloudFormation User Guide.

Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

" + }, + "UsePreviousTemplate":{ + "shape":"UsePreviousTemplate", + "documentation":"

Use the existing template that's associated with the stack set that you're updating.

Conditional: You must specify only one of the following parameters: TemplateBody or TemplateURL—or set UsePreviousTemplate to true.

" + }, + "Parameters":{ + "shape":"Parameters", + "documentation":"

A list of input parameters for the stack set template.

" + }, + "Capabilities":{ + "shape":"Capabilities", + "documentation":"

A list of values that you must specify before AWS CloudFormation can create certain stack sets. Some stack set templates might include resources that can affect permissions in your AWS account—for example, by creating new AWS Identity and Access Management (IAM) users. For those stack sets, you must explicitly acknowledge their capabilities by specifying this parameter.

The only valid values are CAPABILITY_IAM and CAPABILITY_NAMED_IAM. The following resources require you to specify this parameter:

If your stack template contains these resources, we recommend that you review all permissions that are associated with them and edit their permissions if necessary.

If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify this parameter, this action returns an InsufficientCapabilities error.

For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates.

" + }, + "Tags":{ + "shape":"Tags", + "documentation":"

The key-value pairs to associate with this stack set and the stacks created from it. AWS CloudFormation also propagates these tags to supported resources that are created in the stacks. You can specify a maximum number of 50 tags.

If you specify tags for this parameter, those tags replace any list of tags that are currently associated with this stack set. This means:

If you specify new tags as part of an UpdateStackSet action, AWS CloudFormation checks to see if you have the required IAM permission to tag resources. If you omit tags that are currently associated with the stack set from the list of tags you specify, AWS CloudFormation assumes that you want to remove those tags from the stack set, and checks to see if you have permission to untag resources. If you don't have the necessary permission(s), the entire UpdateStackSet action fails with an access denied error, and the stack set is not updated.

" + }, + "OperationPreferences":{ + "shape":"StackSetOperationPreferences", + "documentation":"

Preferences for how AWS CloudFormation performs this stack set operation.

" + }, + "OperationId":{ + "shape":"ClientRequestToken", + "documentation":"

The unique ID for this stack set operation.

The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation performs the stack set operation only once, even if you retry the request multiple times. You might retry stack set operation requests to ensure that AWS CloudFormation successfully received them.

If you don't specify an operation ID, AWS CloudFormation generates one automatically.

Repeating this stack set operation with a new operation ID retries all stack instances whose status is OUTDATED.

", + "idempotencyToken":true + } + } + }, + "UpdateStackSetOutput":{ + "type":"structure", + "members":{ + "OperationId":{ + "shape":"ClientRequestToken", + "documentation":"

The unique ID for this stack set operation.

" + } + } + }, "Url":{"type":"string"}, "UsePreviousTemplate":{"type":"boolean"}, "UsePreviousValue":{"type":"boolean"}, @@ -2345,5 +3519,5 @@ }, "Version":{"type":"string"} }, - "documentation":"AWS CloudFormation

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

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

For more information about AWS CloudFormation, see the AWS CloudFormation Product Page.

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

" + "documentation":"AWS CloudFormation

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

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

For more information about AWS CloudFormation, see the AWS CloudFormation Product Page.

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

APIs for stacks

When you use AWS CloudFormation, you manage related resources as a single unit called a stack. You create, update, and delete a collection of resources by creating, updating, and deleting stacks. All the resources in a stack are defined by the stack's AWS CloudFormation template.

Actions

Data Types

APIs for change sets

If you need to make changes to the running resources in a stack, you update the stack. Before making changes to your resources, you can generate a change set, which is summary of your proposed changes. Change sets allow you to see how your changes might impact your running resources, especially for critical resources, before implementing them.

Actions

Data Types

APIs for stack sets

AWS CloudFormation StackSets lets you create a collection, or stack set, of stacks that can automatically and safely provision a common set of AWS resources across multiple AWS accounts and multiple AWS regions from a single AWS CloudFormation template. When you create a stack set, AWS CloudFormation provisions a stack in each of the specified accounts and regions by using the supplied AWS CloudFormation template and parameters. Stack sets let you manage a common set of AWS resources in a selection of accounts and regions in a single operation.

Actions

Data Types

" } diff --git a/sdk/code-analysis/ServiceAnalysis/CloudFormation/Generated/PropertyValueRules.xml b/sdk/code-analysis/ServiceAnalysis/CloudFormation/Generated/PropertyValueRules.xml index 8e76c0cc1003..3e540e6543b9 100644 --- a/sdk/code-analysis/ServiceAnalysis/CloudFormation/Generated/PropertyValueRules.xml +++ b/sdk/code-analysis/ServiceAnalysis/CloudFormation/Generated/PropertyValueRules.xml @@ -4,13 +4,13 @@ Amazon.CloudFormation.Model.CancelUpdateStackRequest.ClientRequestToken 1 128 - [a-zA-Z][-a-zA-Z0-9]* + [a-zA-Z0-9][-a-zA-Z0-9]* Amazon.CloudFormation.Model.ContinueUpdateRollbackRequest.ClientRequestToken 1 128 - [a-zA-Z][-a-zA-Z0-9]* + [a-zA-Z0-9][-a-zA-Z0-9]* Amazon.CloudFormation.Model.ContinueUpdateRollbackRequest.RoleARN @@ -66,7 +66,7 @@ Amazon.CloudFormation.Model.CreateStackRequest.ClientRequestToken 1 128 - [a-zA-Z][-a-zA-Z0-9]* + [a-zA-Z0-9][-a-zA-Z0-9]* Amazon.CloudFormation.Model.CreateStackRequest.RoleARN @@ -96,6 +96,38 @@ Amazon.CloudFormation.Model.CreateStackRequest.TimeoutInMinutes 1 + + Amazon.CloudFormation.Model.CreateStackInstancesRequest.OperationId + 1 + 128 + [a-zA-Z0-9][-a-zA-Z0-9]* + + + Amazon.CloudFormation.Model.CreateStackInstancesResponse.OperationId + 1 + 128 + [a-zA-Z0-9][-a-zA-Z0-9]* + + + Amazon.CloudFormation.Model.CreateStackSetRequest.ClientRequestToken + 1 + 128 + [a-zA-Z0-9][-a-zA-Z0-9]* + + + Amazon.CloudFormation.Model.CreateStackSetRequest.Description + 1 + 1024 + + + Amazon.CloudFormation.Model.CreateStackSetRequest.TemplateBody + 1 + + + Amazon.CloudFormation.Model.CreateStackSetRequest.TemplateURL + 1 + 1024 + Amazon.CloudFormation.Model.DeleteChangeSetRequest.ChangeSetName 1 @@ -111,13 +143,25 @@ Amazon.CloudFormation.Model.DeleteStackRequest.ClientRequestToken 1 128 - [a-zA-Z][-a-zA-Z0-9]* + [a-zA-Z0-9][-a-zA-Z0-9]* Amazon.CloudFormation.Model.DeleteStackRequest.RoleARN 20 2048 + + Amazon.CloudFormation.Model.DeleteStackInstancesRequest.OperationId + 1 + 128 + [a-zA-Z0-9][-a-zA-Z0-9]* + + + Amazon.CloudFormation.Model.DeleteStackInstancesResponse.OperationId + 1 + 128 + [a-zA-Z0-9][-a-zA-Z0-9]* + Amazon.CloudFormation.Model.DescribeAccountLimitsRequest.NextToken 1 @@ -175,6 +219,10 @@ 1 1024 + + Amazon.CloudFormation.Model.DescribeStackInstanceRequest.StackInstanceAccount + [0-9]{12} + Amazon.CloudFormation.Model.DescribeStacksRequest.NextToken 1 @@ -185,6 +233,12 @@ 1 1024 + + Amazon.CloudFormation.Model.DescribeStackSetOperationRequest.OperationId + 1 + 128 + [a-zA-Z0-9][-a-zA-Z0-9]* + Amazon.CloudFormation.Model.EstimateTemplateCostRequest.TemplateBody 1 @@ -204,7 +258,7 @@ Amazon.CloudFormation.Model.ExecuteChangeSetRequest.ClientRequestToken 1 128 - [a-zA-Z][-a-zA-Z0-9]* + [a-zA-Z0-9][-a-zA-Z0-9]* Amazon.CloudFormation.Model.ExecuteChangeSetRequest.StackName @@ -231,6 +285,11 @@ 1 ([a-zA-Z][-a-zA-Z0-9]*)|(arn:\b(aws|aws-us-gov|aws-cn)\b:[-a-zA-Z0-9:/._+]*) + + Amazon.CloudFormation.Model.GetTemplateSummaryRequest.StackSetName + 1 + [a-zA-Z][-a-zA-Z0-9]* + Amazon.CloudFormation.Model.GetTemplateSummaryRequest.TemplateBody 1 @@ -280,6 +339,25 @@ 1 1024 + + Amazon.CloudFormation.Model.ListStackInstancesRequest.MaxResults + 1 + 100 + + + Amazon.CloudFormation.Model.ListStackInstancesRequest.NextToken + 1 + 1024 + + + Amazon.CloudFormation.Model.ListStackInstancesRequest.StackInstanceAccount + [0-9]{12} + + + Amazon.CloudFormation.Model.ListStackInstancesResponse.NextToken + 1 + 1024 + Amazon.CloudFormation.Model.ListStackResourcesRequest.NextToken 1 @@ -300,6 +378,57 @@ 1 1024 + + Amazon.CloudFormation.Model.ListStackSetOperationResultsRequest.MaxResults + 1 + 100 + + + Amazon.CloudFormation.Model.ListStackSetOperationResultsRequest.NextToken + 1 + 1024 + + + Amazon.CloudFormation.Model.ListStackSetOperationResultsRequest.OperationId + 1 + 128 + [a-zA-Z0-9][-a-zA-Z0-9]* + + + Amazon.CloudFormation.Model.ListStackSetOperationResultsResponse.NextToken + 1 + 1024 + + + Amazon.CloudFormation.Model.ListStackSetOperationsRequest.MaxResults + 1 + 100 + + + Amazon.CloudFormation.Model.ListStackSetOperationsRequest.NextToken + 1 + 1024 + + + Amazon.CloudFormation.Model.ListStackSetOperationsResponse.NextToken + 1 + 1024 + + + Amazon.CloudFormation.Model.ListStackSetsRequest.MaxResults + 1 + 100 + + + Amazon.CloudFormation.Model.ListStackSetsRequest.NextToken + 1 + 1024 + + + Amazon.CloudFormation.Model.ListStackSetsResponse.NextToken + 1 + 1024 + Amazon.CloudFormation.Model.SetStackPolicyRequest.StackPolicyBody 1 @@ -320,11 +449,17 @@ 1 64 + + Amazon.CloudFormation.Model.StopStackSetOperationRequest.OperationId + 1 + 128 + [a-zA-Z0-9][-a-zA-Z0-9]* + Amazon.CloudFormation.Model.UpdateStackRequest.ClientRequestToken 1 128 - [a-zA-Z][-a-zA-Z0-9]* + [a-zA-Z0-9][-a-zA-Z0-9]* Amazon.CloudFormation.Model.UpdateStackRequest.RoleARN @@ -360,6 +495,32 @@ 1 1024 + + Amazon.CloudFormation.Model.UpdateStackSetRequest.Description + 1 + 1024 + + + Amazon.CloudFormation.Model.UpdateStackSetRequest.OperationId + 1 + 128 + [a-zA-Z0-9][-a-zA-Z0-9]* + + + Amazon.CloudFormation.Model.UpdateStackSetRequest.TemplateBody + 1 + + + Amazon.CloudFormation.Model.UpdateStackSetRequest.TemplateURL + 1 + 1024 + + + Amazon.CloudFormation.Model.UpdateStackSetResponse.OperationId + 1 + 128 + [a-zA-Z0-9][-a-zA-Z0-9]* + Amazon.CloudFormation.Model.ValidateTemplateRequest.TemplateBody 1 @@ -428,13 +589,21 @@ Amazon.CloudFormation.Model.StackEvent.ClientRequestToken 1 128 - [a-zA-Z][-a-zA-Z0-9]* + [a-zA-Z0-9][-a-zA-Z0-9]* Amazon.CloudFormation.Model.StackEvent.ResourceType 1 256 + + Amazon.CloudFormation.Model.StackInstance.Account + [0-9]{12} + + + Amazon.CloudFormation.Model.StackInstanceSummary.Account + [0-9]{12} + Amazon.CloudFormation.Model.StackResource.Description 1 @@ -460,6 +629,64 @@ 1 256 + + Amazon.CloudFormation.Model.StackSet.Description + 1 + 1024 + + + Amazon.CloudFormation.Model.StackSet.TemplateBody + 1 + + + Amazon.CloudFormation.Model.StackSetOperation.OperationId + 1 + 128 + [a-zA-Z0-9][-a-zA-Z0-9]* + + + Amazon.CloudFormation.Model.StackSetOperationPreferences.FailureToleranceCount + 0 + + + Amazon.CloudFormation.Model.StackSetOperationPreferences.FailureTolerancePercentage + 0 + 100 + + + Amazon.CloudFormation.Model.StackSetOperationPreferences.MaxConcurrentCount + 1 + + + Amazon.CloudFormation.Model.StackSetOperationPreferences.MaxConcurrentPercentage + 1 + 100 + + + Amazon.CloudFormation.Model.StackSetOperationResultSummary.Account + [0-9]{12} + + + Amazon.CloudFormation.Model.StackSetOperationSummary.OperationId + 1 + 128 + [a-zA-Z0-9][-a-zA-Z0-9]* + + + Amazon.CloudFormation.Model.StackSetSummary.Description + 1 + 1024 + + + Amazon.CloudFormation.Model.Tag.Key + 1 + 128 + + + Amazon.CloudFormation.Model.Tag.Value + 1 + 256 + Amazon.CloudFormation.Model.TemplateParameter.Description 1 diff --git a/sdk/src/Services/CloudFormation/Generated/Model/AccountGateResult.cs b/sdk/src/Services/CloudFormation/Generated/Model/AccountGateResult.cs new file mode 100644 index 000000000000..b843b4b3875f --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/AccountGateResult.cs @@ -0,0 +1,106 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Structure that contains the results of the account gate function AWS CloudFormation + /// StackSets invokes, if present, before proceeding with stack set operations in an account. + /// + /// + /// + /// Account gating enables you to specify a Lamdba function for an account that encapsulates + /// any requirements that must be met before AWS CloudFormation StackSets proceeds with + /// stack set operations in that account. CloudFormation invokes the function each time + /// stack set operations are initiated for that account, and only proceeds if the function + /// returns a success code. + /// + /// + public partial class AccountGateResult + { + private AccountGateStatus _status; + private string _statusReason; + + /// + /// Gets and sets the property Status. + /// + /// The status of the account gate function. + /// + ///
  • + /// + /// SUCCEEDED: The account gate function has determined that the account + /// passes any requirements for stack set operations to occur. AWS CloudFormation proceeds + /// with stack operations in the account. + /// + ///
  • + /// + /// FAILED: The account gate function has determined that the account does + /// not meet the requirements for stack set operations to occur. AWS CloudFormation cancels + /// the stack set operations in that account, and the stack set operation status is set + /// to FAILED. + /// + ///
  • + /// + /// SKIPPED: An account gate function has not been specified for the account, + /// or the AWSCloudFormationStackSetExecutionRole of the stack set adminstration account + /// lacks permissions to invoke the function. AWS CloudFormation proceeds with stack set + /// operations in the account. + /// + ///
+ ///
+ public AccountGateStatus Status + { + get { return this._status; } + set { this._status = value; } + } + + // Check to see if Status property is set + internal bool IsSetStatus() + { + return this._status != null; + } + + /// + /// Gets and sets the property StatusReason. + /// + /// The reason for the account gate status assigned to this account. + /// + /// + public string StatusReason + { + get { return this._statusReason; } + set { this._statusReason = value; } + } + + // Check to see if StatusReason property is set + internal bool IsSetStatusReason() + { + return this._statusReason != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/ContinueUpdateRollbackRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/ContinueUpdateRollbackRequest.cs index 7005e4440e1c..47850a26bcbc 100644 --- a/sdk/src/Services/CloudFormation/Generated/Model/ContinueUpdateRollbackRequest.cs +++ b/sdk/src/Services/CloudFormation/Generated/Model/ContinueUpdateRollbackRequest.cs @@ -82,7 +82,7 @@ internal bool IsSetClientRequestToken() /// continue update rollback operation. You can specify only resources that are in the /// UPDATE_FAILED state because a rollback failed. You can't specify resources /// that are in the UPDATE_FAILED state for other reasons, for example, because - /// an update was canceled. To check why a resource update failed, use the DescribeStackResources + /// an update was cancelled. To check why a resource update failed, use the DescribeStackResources /// action, and view the resource status reason. /// /// @@ -105,11 +105,20 @@ internal bool IsSetClientRequestToken() /// /// /// - /// To specify resources in a nested stack, use the following format: NestedStackName.ResourceLogicalID. - /// If the ResourceLogicalID is a stack resource (Type: AWS::CloudFormation::Stack), - /// it must be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, + /// To skip resources that are part of nested stacks, use the following format: NestedStackName.ResourceLogicalID. + /// If you want to specify the logical ID of a stack resource (Type: AWS::CloudFormation::Stack) + /// in the ResourcesToSkip list, then its corresponding embedded stack must + /// be in one of the following states: DELETE_IN_PROGRESS, DELETE_COMPLETE, /// or DELETE_FAILED. /// + /// + /// + /// Don't confuse a child stack's name with its corresponding logical ID defined in the + /// parent stack. For an example of a continue update rollback operation with nested stacks, + /// see Using + /// ResourcesToSkip to recover a nested stacks hierarchy. + /// + /// /// public List ResourcesToSkip { diff --git a/sdk/src/Services/CloudFormation/Generated/Model/CreateChangeSetRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/CreateChangeSetRequest.cs index f788981b2e92..56a2f8f648c4 100644 --- a/sdk/src/Services/CloudFormation/Generated/Model/CreateChangeSetRequest.cs +++ b/sdk/src/Services/CloudFormation/Generated/Model/CreateChangeSetRequest.cs @@ -337,7 +337,7 @@ internal bool IsSetStackName() /// Gets and sets the property Tags. /// /// Key-value pairs to associate with this stack. AWS CloudFormation also propagates these - /// tags to resources in the stack. You can specify a maximum of 10 tags. + /// tags to resources in the stack. You can specify a maximum of 50 tags. /// /// public List Tags diff --git a/sdk/src/Services/CloudFormation/Generated/Model/CreateStackInstancesRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/CreateStackInstancesRequest.cs new file mode 100644 index 000000000000..1cc30dac5175 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/CreateStackInstancesRequest.cs @@ -0,0 +1,154 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the CreateStackInstances operation. + /// Creates stack instances for the specified accounts, within the specified regions. + /// A stack instance refers to a stack in a specific account and region. Accounts + /// and Regions are required parameters—you must specify at least one account + /// and one region. + /// + public partial class CreateStackInstancesRequest : AmazonCloudFormationRequest + { + private List _accounts = new List(); + private string _operationId; + private StackSetOperationPreferences _operationPreferences; + private List _regions = new List(); + private string _stackSetName; + + /// + /// Gets and sets the property Accounts. + /// + /// The names of one or more AWS accounts that you want to create stack instances in the + /// specified region(s) for. + /// + /// + public List Accounts + { + get { return this._accounts; } + set { this._accounts = value; } + } + + // Check to see if Accounts property is set + internal bool IsSetAccounts() + { + return this._accounts != null && this._accounts.Count > 0; + } + + /// + /// Gets and sets the property OperationId. + /// + /// The unique identifier for this stack set operation. + /// + /// + /// + /// The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation + /// performs the stack set operation only once, even if you retry the request multiple + /// times. You might retry stack set operation requests to ensure that AWS CloudFormation + /// successfully received them. + /// + /// + /// + /// If you don't specify an operation ID, the SDK generates one automatically. + /// + /// + /// + /// Repeating this stack set operation with a new operation ID retries all stack instances + /// whose status is OUTDATED. + /// + /// + public string OperationId + { + get { return this._operationId; } + set { this._operationId = value; } + } + + // Check to see if OperationId property is set + internal bool IsSetOperationId() + { + return this._operationId != null; + } + + /// + /// Gets and sets the property OperationPreferences. + /// + /// Preferences for how AWS CloudFormation performs this stack set operation. + /// + /// + public StackSetOperationPreferences OperationPreferences + { + get { return this._operationPreferences; } + set { this._operationPreferences = value; } + } + + // Check to see if OperationPreferences property is set + internal bool IsSetOperationPreferences() + { + return this._operationPreferences != null; + } + + /// + /// Gets and sets the property Regions. + /// + /// The names of one or more regions where you want to create stack instances using the + /// specified AWS account(s). + /// + /// + public List Regions + { + get { return this._regions; } + set { this._regions = value; } + } + + // Check to see if Regions property is set + internal bool IsSetRegions() + { + return this._regions != null && this._regions.Count > 0; + } + + /// + /// Gets and sets the property StackSetName. + /// + /// The name or unique ID of the stack set that you want to create stack instances from. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/CreateStackInstancesResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/CreateStackInstancesResponse.cs new file mode 100644 index 000000000000..9c8df0b306b1 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/CreateStackInstancesResponse.cs @@ -0,0 +1,56 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the CreateStackInstances operation. + /// + public partial class CreateStackInstancesResponse : AmazonWebServiceResponse + { + private string _operationId; + + /// + /// Gets and sets the property OperationId. + /// + /// The unique identifier for this stack set operation. + /// + /// + public string OperationId + { + get { return this._operationId; } + set { this._operationId = value; } + } + + // Check to see if OperationId property is set + internal bool IsSetOperationId() + { + return this._operationId != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/CreateStackRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/CreateStackRequest.cs index ffbf8557e7f9..cc228b9b3f36 100644 --- a/sdk/src/Services/CloudFormation/Generated/Model/CreateStackRequest.cs +++ b/sdk/src/Services/CloudFormation/Generated/Model/CreateStackRequest.cs @@ -107,6 +107,22 @@ internal bool IsSetCapabilities() /// to create a stack with the same name. You might retry CreateStack requests /// to ensure that AWS CloudFormation successfully received them. /// + /// + /// + /// All events triggered by a given stack operation are assigned the same client request + /// token, which you can use to track operations. For example, if you execute a CreateStack + /// operation with the token token1, then all the StackEvents + /// generated by that operation will have ClientRequestToken set as token1. + /// + /// + /// + /// In the console, stack operations display the client request token on the Events tab. + /// Stack operations that are initiated from the console use the token format Console-StackOperation-ID, + /// which helps you easily identify the stack operation . For example, if you create a + /// stack using the console, each stack event would be assigned the same token in the + /// following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002. + /// + /// /// public string ClientRequestToken { @@ -341,7 +357,7 @@ internal bool IsSetStackPolicyURL() /// Gets and sets the property Tags. /// /// Key-value pairs to associate with this stack. AWS CloudFormation also propagates these - /// tags to the resources created in the stack. A maximum number of 10 tags can be specified. + /// tags to the resources created in the stack. A maximum number of 50 tags can be specified. /// /// public List Tags diff --git a/sdk/src/Services/CloudFormation/Generated/Model/CreateStackSetRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/CreateStackSetRequest.cs new file mode 100644 index 000000000000..25ceb716bc03 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/CreateStackSetRequest.cs @@ -0,0 +1,282 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the CreateStackSet operation. + /// Creates a stack set. + /// + public partial class CreateStackSetRequest : AmazonCloudFormationRequest + { + private List _capabilities = new List(); + private string _clientRequestToken; + private string _description; + private List _parameters = new List(); + private string _stackSetName; + private List _tags = new List(); + private string _templateBody; + private string _templateURL; + + /// + /// Gets and sets the property Capabilities. + /// + /// A list of values that you must specify before AWS CloudFormation can create certain + /// stack sets. Some stack set templates might include resources that can affect permissions + /// in your AWS account—for example, by creating new AWS Identity and Access Management + /// (IAM) users. For those stack sets, you must explicitly acknowledge their capabilities + /// by specifying this parameter. + /// + /// + /// + /// The only valid values are CAPABILITY_IAM and CAPABILITY_NAMED_IAM. The following resources + /// require you to specify this parameter: + /// + ///
  • + /// + /// AWS::IAM::AccessKey + /// + ///
  • + /// + /// AWS::IAM::Group + /// + ///
  • + /// + /// AWS::IAM::InstanceProfile + /// + ///
  • + /// + /// AWS::IAM::Policy + /// + ///
  • + /// + /// AWS::IAM::Role + /// + ///
  • + /// + /// AWS::IAM::User + /// + ///
  • + /// + /// AWS::IAM::UserToGroupAddition + /// + ///
+ /// + /// If your stack template contains these resources, we recommend that you review all + /// permissions that are associated with them and edit their permissions if necessary. + /// + /// + /// + /// If you have IAM resources, you can specify either capability. If you have IAM resources + /// with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify this + /// parameter, this action returns an InsufficientCapabilities error. + /// + /// + /// + /// For more information, see Acknowledging + /// IAM Resources in AWS CloudFormation Templates. + /// + ///
+ public List Capabilities + { + get { return this._capabilities; } + set { this._capabilities = value; } + } + + // Check to see if Capabilities property is set + internal bool IsSetCapabilities() + { + return this._capabilities != null && this._capabilities.Count > 0; + } + + /// + /// Gets and sets the property ClientRequestToken. + /// + /// A unique identifier for this CreateStackSet request. Specify this token + /// if you plan to retry requests so that AWS CloudFormation knows that you're not attempting + /// to create another stack set with the same name. You might retry CreateStackSet + /// requests to ensure that AWS CloudFormation successfully received them. + /// + /// + /// + /// If you don't specify an operation ID, the SDK generates one automatically. + /// + /// + public string ClientRequestToken + { + get { return this._clientRequestToken; } + set { this._clientRequestToken = value; } + } + + // Check to see if ClientRequestToken property is set + internal bool IsSetClientRequestToken() + { + return this._clientRequestToken != null; + } + + /// + /// Gets and sets the property Description. + /// + /// A description of the stack set. You can use the description to identify the stack + /// set's purpose or other important information. + /// + /// + public string Description + { + get { return this._description; } + set { this._description = value; } + } + + // Check to see if Description property is set + internal bool IsSetDescription() + { + return this._description != null; + } + + /// + /// Gets and sets the property Parameters. + /// + /// The input parameters for the stack set template. + /// + /// + public List Parameters + { + get { return this._parameters; } + set { this._parameters = value; } + } + + // Check to see if Parameters property is set + internal bool IsSetParameters() + { + return this._parameters != null && this._parameters.Count > 0; + } + + /// + /// Gets and sets the property StackSetName. + /// + /// The name to associate with the stack set. The name must be unique in the region where + /// you create your stack set. + /// + /// + /// + /// A stack name can contain only alphanumeric characters (case-sensitive) and hyphens. + /// It must start with an alphabetic character and can't be longer than 128 characters. + /// + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + /// + /// Gets and sets the property Tags. + /// + /// The key-value pairs to associate with this stack set and the stacks created from it. + /// AWS CloudFormation also propagates these tags to supported resources that are created + /// in the stacks. A maximum number of 50 tags can be specified. + /// + /// + /// + /// If you specify tags as part of a CreateStackSet action, AWS CloudFormation + /// checks to see if you have the required IAM permission to tag resources. If you don't, + /// the entire CreateStackSet action fails with an access denied + /// error, and the stack set is not created. + /// + /// + public List Tags + { + get { return this._tags; } + set { this._tags = value; } + } + + // Check to see if Tags property is set + internal bool IsSetTags() + { + return this._tags != null && this._tags.Count > 0; + } + + /// + /// Gets and sets the property TemplateBody. + /// + /// The structure that contains the template body, with a minimum length of 1 byte and + /// a maximum length of 51,200 bytes. For more information, see Template + /// Anatomy in the AWS CloudFormation User Guide. + /// + /// + /// + /// Conditional: You must specify either the TemplateBody or the TemplateURL parameter, + /// but not both. + /// + /// + public string TemplateBody + { + get { return this._templateBody; } + set { this._templateBody = value; } + } + + // Check to see if TemplateBody property is set + internal bool IsSetTemplateBody() + { + return this._templateBody != null; + } + + /// + /// Gets and sets the property TemplateURL. + /// + /// The location of the file that contains the template body. The URL must point to a + /// template (maximum size: 460,800 bytes) that's located in an Amazon S3 bucket. For + /// more information, see Template + /// Anatomy in the AWS CloudFormation User Guide. + /// + /// + /// + /// Conditional: You must specify either the TemplateBody or the TemplateURL parameter, + /// but not both. + /// + /// + public string TemplateURL + { + get { return this._templateURL; } + set { this._templateURL = value; } + } + + // Check to see if TemplateURL property is set + internal bool IsSetTemplateURL() + { + return this._templateURL != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/CreateStackSetResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/CreateStackSetResponse.cs new file mode 100644 index 000000000000..e970b78cccc6 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/CreateStackSetResponse.cs @@ -0,0 +1,56 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the CreateStackSet operation. + /// + public partial class CreateStackSetResponse : AmazonWebServiceResponse + { + private string _stackSetId; + + /// + /// Gets and sets the property StackSetId. + /// + /// The ID of the stack set that you're creating. + /// + /// + public string StackSetId + { + get { return this._stackSetId; } + set { this._stackSetId = value; } + } + + // Check to see if StackSetId property is set + internal bool IsSetStackSetId() + { + return this._stackSetId != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/CreatedButModifiedException.cs b/sdk/src/Services/CloudFormation/Generated/Model/CreatedButModifiedException.cs new file mode 100644 index 000000000000..546154b20e22 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/CreatedButModifiedException.cs @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2014 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.Net; +using Amazon.Runtime; + +namespace Amazon.CloudFormation.Model +{ + /// + /// CloudFormation exception + /// +#if !PCL && !CORECLR + [Serializable] +#endif + public class CreatedButModifiedException : AmazonCloudFormationException + { + /// + /// Constructs a new CreatedButModifiedException with the specified error + /// message. + /// + /// + /// Describes the error encountered. + /// + public CreatedButModifiedException(string message) + : base(message) {} + + /// + /// Construct instance of CreatedButModifiedException + /// + /// + /// + public CreatedButModifiedException(string message, Exception innerException) + : base(message, innerException) {} + + /// + /// Construct instance of CreatedButModifiedException + /// + /// + public CreatedButModifiedException(Exception innerException) + : base(innerException) {} + + /// + /// Construct instance of CreatedButModifiedException + /// + /// + /// + /// + /// + /// + /// + public CreatedButModifiedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, innerException, errorType, errorCode, requestId, statusCode) {} + + /// + /// Construct instance of CreatedButModifiedException + /// + /// + /// + /// + /// + /// + public CreatedButModifiedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, errorType, errorCode, requestId, statusCode) {} + + +#if !PCL && !CORECLR + /// + /// Constructs a new instance of the CreatedButModifiedException class with serialized data. + /// + /// The that holds the serialized object data about the exception being thrown. + /// The that contains contextual information about the source or destination. + /// The parameter is null. + /// The class name is null or is zero (0). + protected CreatedButModifiedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) + : base(info, context) + { + } + +#endif + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackInstancesRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackInstancesRequest.cs new file mode 100644 index 000000000000..d45b34580b2c --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackInstancesRequest.cs @@ -0,0 +1,170 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the DeleteStackInstances operation. + /// Deletes stack instances for the specified accounts, in the specified regions. + /// + public partial class DeleteStackInstancesRequest : AmazonCloudFormationRequest + { + private List _accounts = new List(); + private string _operationId; + private StackSetOperationPreferences _operationPreferences; + private List _regions = new List(); + private bool? _retainStacks; + private string _stackSetName; + + /// + /// Gets and sets the property Accounts. + /// + /// The names of the AWS accounts that you want to delete stack instances for. + /// + /// + public List Accounts + { + get { return this._accounts; } + set { this._accounts = value; } + } + + // Check to see if Accounts property is set + internal bool IsSetAccounts() + { + return this._accounts != null && this._accounts.Count > 0; + } + + /// + /// Gets and sets the property OperationId. + /// + /// The unique identifier for this stack set operation. + /// + /// + /// + /// If you don't specify an operation ID, the SDK generates one automatically. + /// + /// + /// + /// The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation + /// performs the stack set operation only once, even if you retry the request multiple + /// times. You can retry stack set operation requests to ensure that AWS CloudFormation + /// successfully received them. + /// + /// + /// + /// Repeating this stack set operation with a new operation ID retries all stack instances + /// whose status is OUTDATED. + /// + /// + public string OperationId + { + get { return this._operationId; } + set { this._operationId = value; } + } + + // Check to see if OperationId property is set + internal bool IsSetOperationId() + { + return this._operationId != null; + } + + /// + /// Gets and sets the property OperationPreferences. + /// + /// Preferences for how AWS CloudFormation performs this stack set operation. + /// + /// + public StackSetOperationPreferences OperationPreferences + { + get { return this._operationPreferences; } + set { this._operationPreferences = value; } + } + + // Check to see if OperationPreferences property is set + internal bool IsSetOperationPreferences() + { + return this._operationPreferences != null; + } + + /// + /// Gets and sets the property Regions. + /// + /// The regions where you want to delete stack set instances. + /// + /// + public List Regions + { + get { return this._regions; } + set { this._regions = value; } + } + + // Check to see if Regions property is set + internal bool IsSetRegions() + { + return this._regions != null && this._regions.Count > 0; + } + + /// + /// Gets and sets the property RetainStacks. + /// + /// Removes the stack instances from the specified stack set, but doesn't delete the stacks. + /// You can't reassociate a retained stack or add an existing, saved stack to a new stack + /// set. + /// + /// + public bool RetainStacks + { + get { return this._retainStacks.GetValueOrDefault(); } + set { this._retainStacks = value; } + } + + // Check to see if RetainStacks property is set + internal bool IsSetRetainStacks() + { + return this._retainStacks.HasValue; + } + + /// + /// Gets and sets the property StackSetName. + /// + /// The name or unique ID of the stack set that you want to delete stack instances for. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackInstancesResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackInstancesResponse.cs new file mode 100644 index 000000000000..181c9645e9f3 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackInstancesResponse.cs @@ -0,0 +1,56 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the DeleteStackInstances operation. + /// + public partial class DeleteStackInstancesResponse : AmazonWebServiceResponse + { + private string _operationId; + + /// + /// Gets and sets the property OperationId. + /// + /// The unique identifier for this stack set operation. + /// + /// + public string OperationId + { + get { return this._operationId; } + set { this._operationId = value; } + } + + // Check to see if OperationId property is set + internal bool IsSetOperationId() + { + return this._operationId != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackRequest.cs index eb64f1f7865c..4c0de6d3bc89 100644 --- a/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackRequest.cs +++ b/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackRequest.cs @@ -48,6 +48,22 @@ public partial class DeleteStackRequest : AmazonCloudFormationRequest /// to delete a stack with the same name. You might retry DeleteStack requests /// to ensure that AWS CloudFormation successfully received them. /// + /// + /// + /// All events triggered by a given stack operation are assigned the same client request + /// token, which you can use to track operations. For example, if you execute a CreateStack + /// operation with the token token1, then all the StackEvents + /// generated by that operation will have ClientRequestToken set as token1. + /// + /// + /// + /// In the console, stack operations display the client request token on the Events tab. + /// Stack operations that are initiated from the console use the token format Console-StackOperation-ID, + /// which helps you easily identify the stack operation . For example, if you create a + /// stack using the console, each stack event would be assigned the same token in the + /// following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002. + /// + /// /// public string ClientRequestToken { diff --git a/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackSetRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackSetRequest.cs new file mode 100644 index 000000000000..b77f7fdd7ae8 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackSetRequest.cs @@ -0,0 +1,59 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the DeleteStackSet operation. + /// Deletes a stack set. Before you can delete a stack set, all of its member stack instances + /// must be deleted. For more information about how to do this, see DeleteStackInstances. + /// + public partial class DeleteStackSetRequest : AmazonCloudFormationRequest + { + private string _stackSetName; + + /// + /// Gets and sets the property StackSetName. + /// + /// The name or unique ID of the stack set that you're deleting. You can obtain this value + /// by running ListStackSets. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackSetResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackSetResponse.cs new file mode 100644 index 000000000000..9ecdc0432af3 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/DeleteStackSetResponse.cs @@ -0,0 +1,37 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the DeleteStackSet operation. + /// + public partial class DeleteStackSetResponse : AmazonWebServiceResponse + { + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackInstanceRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackInstanceRequest.cs new file mode 100644 index 000000000000..0f7204ca24a5 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackInstanceRequest.cs @@ -0,0 +1,102 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the DescribeStackInstance operation. + /// Returns the stack instance that's associated with the specified stack set, AWS account, + /// and region. + /// + /// + /// + /// For a list of stack instances that are associated with a specific stack set, use ListStackInstances. + /// + /// + public partial class DescribeStackInstanceRequest : AmazonCloudFormationRequest + { + private string _stackInstanceAccount; + private string _stackInstanceRegion; + private string _stackSetName; + + /// + /// Gets and sets the property StackInstanceAccount. + /// + /// The ID of an AWS account that's associated with this stack instance. + /// + /// + public string StackInstanceAccount + { + get { return this._stackInstanceAccount; } + set { this._stackInstanceAccount = value; } + } + + // Check to see if StackInstanceAccount property is set + internal bool IsSetStackInstanceAccount() + { + return this._stackInstanceAccount != null; + } + + /// + /// Gets and sets the property StackInstanceRegion. + /// + /// The name of a region that's associated with this stack instance. + /// + /// + public string StackInstanceRegion + { + get { return this._stackInstanceRegion; } + set { this._stackInstanceRegion = value; } + } + + // Check to see if StackInstanceRegion property is set + internal bool IsSetStackInstanceRegion() + { + return this._stackInstanceRegion != null; + } + + /// + /// Gets and sets the property StackSetName. + /// + /// The name or the unique stack ID of the stack set that you want to get stack instance + /// information for. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackInstanceResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackInstanceResponse.cs new file mode 100644 index 000000000000..ca81b56df1aa --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackInstanceResponse.cs @@ -0,0 +1,56 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the DescribeStackInstance operation. + /// + public partial class DescribeStackInstanceResponse : AmazonWebServiceResponse + { + private StackInstance _stackInstance; + + /// + /// Gets and sets the property StackInstance. + /// + /// The stack instance that matches the specified request parameters. + /// + /// + public StackInstance StackInstance + { + get { return this._stackInstance; } + set { this._stackInstance = value; } + } + + // Check to see if StackInstance property is set + internal bool IsSetStackInstance() + { + return this._stackInstance != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetOperationRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetOperationRequest.cs new file mode 100644 index 000000000000..370060745c52 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetOperationRequest.cs @@ -0,0 +1,76 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the DescribeStackSetOperation operation. + /// Returns the description of the specified stack set operation. + /// + public partial class DescribeStackSetOperationRequest : AmazonCloudFormationRequest + { + private string _operationId; + private string _stackSetName; + + /// + /// Gets and sets the property OperationId. + /// + /// The unique ID of the stack set operation. + /// + /// + public string OperationId + { + get { return this._operationId; } + set { this._operationId = value; } + } + + // Check to see if OperationId property is set + internal bool IsSetOperationId() + { + return this._operationId != null; + } + + /// + /// Gets and sets the property StackSetName. + /// + /// The name or the unique stack ID of the stack set for the stack operation. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetOperationResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetOperationResponse.cs new file mode 100644 index 000000000000..dd3f4076fa92 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetOperationResponse.cs @@ -0,0 +1,56 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the DescribeStackSetOperation operation. + /// + public partial class DescribeStackSetOperationResponse : AmazonWebServiceResponse + { + private StackSetOperation _stackSetOperation; + + /// + /// Gets and sets the property StackSetOperation. + /// + /// The specified stack set operation. + /// + /// + public StackSetOperation StackSetOperation + { + get { return this._stackSetOperation; } + set { this._stackSetOperation = value; } + } + + // Check to see if StackSetOperation property is set + internal bool IsSetStackSetOperation() + { + return this._stackSetOperation != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetRequest.cs new file mode 100644 index 000000000000..173540ce695e --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetRequest.cs @@ -0,0 +1,57 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the DescribeStackSet operation. + /// Returns the description of the specified stack set. + /// + public partial class DescribeStackSetRequest : AmazonCloudFormationRequest + { + private string _stackSetName; + + /// + /// Gets and sets the property StackSetName. + /// + /// The name or unique ID of the stack set whose description you want. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetResponse.cs new file mode 100644 index 000000000000..c0282f941fde --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/DescribeStackSetResponse.cs @@ -0,0 +1,56 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the DescribeStackSet operation. + /// + public partial class DescribeStackSetResponse : AmazonWebServiceResponse + { + private StackSet _stackSet; + + /// + /// Gets and sets the property StackSet. + /// + /// The specified stack set. + /// + /// + public StackSet StackSet + { + get { return this._stackSet; } + set { this._stackSet = value; } + } + + // Check to see if StackSet property is set + internal bool IsSetStackSet() + { + return this._stackSet != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/GetTemplateSummaryRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/GetTemplateSummaryRequest.cs index c816cc46bd8d..8004f6ee296e 100644 --- a/sdk/src/Services/CloudFormation/Generated/Model/GetTemplateSummaryRequest.cs +++ b/sdk/src/Services/CloudFormation/Generated/Model/GetTemplateSummaryRequest.cs @@ -48,6 +48,7 @@ namespace Amazon.CloudFormation.Model public partial class GetTemplateSummaryRequest : AmazonCloudFormationRequest { private string _stackName; + private string _stackSetName; private string _templateBody; private string _templateURL; @@ -76,6 +77,24 @@ internal bool IsSetStackName() return this._stackName != null; } + /// + /// Gets and sets the property StackSetName. + /// + /// The name or unique ID of the stack set from which the stack was created. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + /// /// Gets and sets the property TemplateBody. /// diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/AccountGateResultUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/AccountGateResultUnmarshaller.cs new file mode 100644 index 000000000000..1a8e89b7a358 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/AccountGateResultUnmarshaller.cs @@ -0,0 +1,103 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for AccountGateResult Object + /// + public class AccountGateResultUnmarshaller : IUnmarshaller, IUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public AccountGateResult Unmarshall(XmlUnmarshallerContext context) + { + AccountGateResult unmarshalledObject = new AccountGateResult(); + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + if (context.TestExpression("Status", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Status = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("StatusReason", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StatusReason = unmarshaller.Unmarshall(context); + continue; + } + } + else if (context.IsEndElement && context.CurrentDepth < originalDepth) + { + return unmarshalledObject; + } + } + + return unmarshalledObject; + } + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + public AccountGateResult Unmarshall(JsonUnmarshallerContext context) + { + return null; + } + + + private static AccountGateResultUnmarshaller _instance = new AccountGateResultUnmarshaller(); + + /// + /// Gets the singleton. + /// + public static AccountGateResultUnmarshaller Instance + { + get + { + return _instance; + } + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackInstancesRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackInstancesRequestMarshaller.cs new file mode 100644 index 000000000000..1558997a7f04 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackInstancesRequestMarshaller.cs @@ -0,0 +1,123 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// CreateStackInstances Request Marshaller + /// + public class CreateStackInstancesRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((CreateStackInstancesRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(CreateStackInstancesRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "CreateStackInstances"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetAccounts()) + { + int publicRequestlistValueIndex = 1; + foreach(var publicRequestlistValue in publicRequest.Accounts) + { + request.Parameters.Add("Accounts" + "." + "member" + "." + publicRequestlistValueIndex, StringUtils.FromString(publicRequestlistValue)); + publicRequestlistValueIndex++; + } + } + if(publicRequest.IsSetOperationId()) + { + request.Parameters.Add("OperationId", StringUtils.FromString(publicRequest.OperationId)); + } + else if(!(publicRequest.IsSetOperationId())) + { + request.Parameters.Add("OperationId", StringUtils.FromString(Guid.NewGuid().ToString())); + } + if(publicRequest.IsSetOperationPreferences()) + { + if(publicRequest.OperationPreferences.IsSetFailureToleranceCount()) + { + request.Parameters.Add("OperationPreferences" + "." + "FailureToleranceCount", StringUtils.FromInt(publicRequest.OperationPreferences.FailureToleranceCount)); + } + if(publicRequest.OperationPreferences.IsSetFailureTolerancePercentage()) + { + request.Parameters.Add("OperationPreferences" + "." + "FailureTolerancePercentage", StringUtils.FromInt(publicRequest.OperationPreferences.FailureTolerancePercentage)); + } + if(publicRequest.OperationPreferences.IsSetMaxConcurrentCount()) + { + request.Parameters.Add("OperationPreferences" + "." + "MaxConcurrentCount", StringUtils.FromInt(publicRequest.OperationPreferences.MaxConcurrentCount)); + } + if(publicRequest.OperationPreferences.IsSetMaxConcurrentPercentage()) + { + request.Parameters.Add("OperationPreferences" + "." + "MaxConcurrentPercentage", StringUtils.FromInt(publicRequest.OperationPreferences.MaxConcurrentPercentage)); + } + if(publicRequest.OperationPreferences.IsSetRegionOrder()) + { + int publicRequestOperationPreferenceslistValueIndex = 1; + foreach(var publicRequestOperationPreferenceslistValue in publicRequest.OperationPreferences.RegionOrder) + { + request.Parameters.Add("OperationPreferences" + "." + "RegionOrder" + "." + "member" + "." + publicRequestOperationPreferenceslistValueIndex, StringUtils.FromString(publicRequestOperationPreferenceslistValue)); + publicRequestOperationPreferenceslistValueIndex++; + } + } + } + if(publicRequest.IsSetRegions()) + { + int publicRequestlistValueIndex = 1; + foreach(var publicRequestlistValue in publicRequest.Regions) + { + request.Parameters.Add("Regions" + "." + "member" + "." + publicRequestlistValueIndex, StringUtils.FromString(publicRequestlistValue)); + publicRequestlistValueIndex++; + } + } + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackInstancesResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackInstancesResponseUnmarshaller.cs new file mode 100644 index 000000000000..a6d3009dae7b --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackInstancesResponseUnmarshaller.cs @@ -0,0 +1,152 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for CreateStackInstances operation + /// + public class CreateStackInstancesResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + CreateStackInstancesResponse response = new CreateStackInstancesResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("CreateStackInstancesResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + private static void UnmarshallResult(XmlUnmarshallerContext context, CreateStackInstancesResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + if (context.TestExpression("OperationId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + response.OperationId = unmarshaller.Unmarshall(context); + continue; + } + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidOperationException")) + { + return new InvalidOperationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException")) + { + return new LimitExceededException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("OperationIdAlreadyExistsException")) + { + return new OperationIdAlreadyExistsException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("OperationInProgressException")) + { + return new OperationInProgressException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("StackSetNotFoundException")) + { + return new StackSetNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("StaleRequestException")) + { + return new StaleRequestException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static CreateStackInstancesResponseUnmarshaller _instance = new CreateStackInstancesResponseUnmarshaller(); + + internal static CreateStackInstancesResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static CreateStackInstancesResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackSetRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackSetRequestMarshaller.cs new file mode 100644 index 000000000000..d6b96d9804f2 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackSetRequestMarshaller.cs @@ -0,0 +1,134 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// CreateStackSet Request Marshaller + /// + public class CreateStackSetRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((CreateStackSetRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(CreateStackSetRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "CreateStackSet"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetCapabilities()) + { + int publicRequestlistValueIndex = 1; + foreach(var publicRequestlistValue in publicRequest.Capabilities) + { + request.Parameters.Add("Capabilities" + "." + "member" + "." + publicRequestlistValueIndex, StringUtils.FromString(publicRequestlistValue)); + publicRequestlistValueIndex++; + } + } + if(publicRequest.IsSetClientRequestToken()) + { + request.Parameters.Add("ClientRequestToken", StringUtils.FromString(publicRequest.ClientRequestToken)); + } + else if(!(publicRequest.IsSetClientRequestToken())) + { + request.Parameters.Add("ClientRequestToken", StringUtils.FromString(Guid.NewGuid().ToString())); + } + if(publicRequest.IsSetDescription()) + { + request.Parameters.Add("Description", StringUtils.FromString(publicRequest.Description)); + } + if(publicRequest.IsSetParameters()) + { + int publicRequestlistValueIndex = 1; + foreach(var publicRequestlistValue in publicRequest.Parameters) + { + if(publicRequestlistValue.IsSetParameterKey()) + { + request.Parameters.Add("Parameters" + "." + "member" + "." + publicRequestlistValueIndex + "." + "ParameterKey", StringUtils.FromString(publicRequestlistValue.ParameterKey)); + } + if(publicRequestlistValue.IsSetParameterValue()) + { + request.Parameters.Add("Parameters" + "." + "member" + "." + publicRequestlistValueIndex + "." + "ParameterValue", StringUtils.FromString(publicRequestlistValue.ParameterValue)); + } + if(publicRequestlistValue.IsSetUsePreviousValue()) + { + request.Parameters.Add("Parameters" + "." + "member" + "." + publicRequestlistValueIndex + "." + "UsePreviousValue", StringUtils.FromBool(publicRequestlistValue.UsePreviousValue)); + } + publicRequestlistValueIndex++; + } + } + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } + if(publicRequest.IsSetTags()) + { + int publicRequestlistValueIndex = 1; + foreach(var publicRequestlistValue in publicRequest.Tags) + { + if(publicRequestlistValue.IsSetKey()) + { + request.Parameters.Add("Tags" + "." + "member" + "." + publicRequestlistValueIndex + "." + "Key", StringUtils.FromString(publicRequestlistValue.Key)); + } + if(publicRequestlistValue.IsSetValue()) + { + request.Parameters.Add("Tags" + "." + "member" + "." + publicRequestlistValueIndex + "." + "Value", StringUtils.FromString(publicRequestlistValue.Value)); + } + publicRequestlistValueIndex++; + } + } + if(publicRequest.IsSetTemplateBody()) + { + request.Parameters.Add("TemplateBody", StringUtils.FromString(publicRequest.TemplateBody)); + } + if(publicRequest.IsSetTemplateURL()) + { + request.Parameters.Add("TemplateURL", StringUtils.FromString(publicRequest.TemplateURL)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackSetResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackSetResponseUnmarshaller.cs new file mode 100644 index 000000000000..4cdb88cf8e60 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/CreateStackSetResponseUnmarshaller.cs @@ -0,0 +1,140 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for CreateStackSet operation + /// + public class CreateStackSetResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + CreateStackSetResponse response = new CreateStackSetResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("CreateStackSetResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + private static void UnmarshallResult(XmlUnmarshallerContext context, CreateStackSetResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + if (context.TestExpression("StackSetId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + response.StackSetId = unmarshaller.Unmarshall(context); + continue; + } + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("CreatedButModifiedException")) + { + return new CreatedButModifiedException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException")) + { + return new LimitExceededException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("NameAlreadyExistsException")) + { + return new NameAlreadyExistsException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static CreateStackSetResponseUnmarshaller _instance = new CreateStackSetResponseUnmarshaller(); + + internal static CreateStackSetResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static CreateStackSetResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackInstancesRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackInstancesRequestMarshaller.cs new file mode 100644 index 000000000000..0da4efadea58 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackInstancesRequestMarshaller.cs @@ -0,0 +1,127 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// DeleteStackInstances Request Marshaller + /// + public class DeleteStackInstancesRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((DeleteStackInstancesRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(DeleteStackInstancesRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "DeleteStackInstances"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetAccounts()) + { + int publicRequestlistValueIndex = 1; + foreach(var publicRequestlistValue in publicRequest.Accounts) + { + request.Parameters.Add("Accounts" + "." + "member" + "." + publicRequestlistValueIndex, StringUtils.FromString(publicRequestlistValue)); + publicRequestlistValueIndex++; + } + } + if(publicRequest.IsSetOperationId()) + { + request.Parameters.Add("OperationId", StringUtils.FromString(publicRequest.OperationId)); + } + else if(!(publicRequest.IsSetOperationId())) + { + request.Parameters.Add("OperationId", StringUtils.FromString(Guid.NewGuid().ToString())); + } + if(publicRequest.IsSetOperationPreferences()) + { + if(publicRequest.OperationPreferences.IsSetFailureToleranceCount()) + { + request.Parameters.Add("OperationPreferences" + "." + "FailureToleranceCount", StringUtils.FromInt(publicRequest.OperationPreferences.FailureToleranceCount)); + } + if(publicRequest.OperationPreferences.IsSetFailureTolerancePercentage()) + { + request.Parameters.Add("OperationPreferences" + "." + "FailureTolerancePercentage", StringUtils.FromInt(publicRequest.OperationPreferences.FailureTolerancePercentage)); + } + if(publicRequest.OperationPreferences.IsSetMaxConcurrentCount()) + { + request.Parameters.Add("OperationPreferences" + "." + "MaxConcurrentCount", StringUtils.FromInt(publicRequest.OperationPreferences.MaxConcurrentCount)); + } + if(publicRequest.OperationPreferences.IsSetMaxConcurrentPercentage()) + { + request.Parameters.Add("OperationPreferences" + "." + "MaxConcurrentPercentage", StringUtils.FromInt(publicRequest.OperationPreferences.MaxConcurrentPercentage)); + } + if(publicRequest.OperationPreferences.IsSetRegionOrder()) + { + int publicRequestOperationPreferenceslistValueIndex = 1; + foreach(var publicRequestOperationPreferenceslistValue in publicRequest.OperationPreferences.RegionOrder) + { + request.Parameters.Add("OperationPreferences" + "." + "RegionOrder" + "." + "member" + "." + publicRequestOperationPreferenceslistValueIndex, StringUtils.FromString(publicRequestOperationPreferenceslistValue)); + publicRequestOperationPreferenceslistValueIndex++; + } + } + } + if(publicRequest.IsSetRegions()) + { + int publicRequestlistValueIndex = 1; + foreach(var publicRequestlistValue in publicRequest.Regions) + { + request.Parameters.Add("Regions" + "." + "member" + "." + publicRequestlistValueIndex, StringUtils.FromString(publicRequestlistValue)); + publicRequestlistValueIndex++; + } + } + if(publicRequest.IsSetRetainStacks()) + { + request.Parameters.Add("RetainStacks", StringUtils.FromBool(publicRequest.RetainStacks)); + } + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackInstancesResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackInstancesResponseUnmarshaller.cs new file mode 100644 index 000000000000..f17ccb18a2ff --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackInstancesResponseUnmarshaller.cs @@ -0,0 +1,148 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for DeleteStackInstances operation + /// + public class DeleteStackInstancesResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + DeleteStackInstancesResponse response = new DeleteStackInstancesResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("DeleteStackInstancesResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + private static void UnmarshallResult(XmlUnmarshallerContext context, DeleteStackInstancesResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + if (context.TestExpression("OperationId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + response.OperationId = unmarshaller.Unmarshall(context); + continue; + } + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidOperationException")) + { + return new InvalidOperationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("OperationIdAlreadyExistsException")) + { + return new OperationIdAlreadyExistsException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("OperationInProgressException")) + { + return new OperationInProgressException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("StackSetNotFoundException")) + { + return new StackSetNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("StaleRequestException")) + { + return new StaleRequestException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static DeleteStackInstancesResponseUnmarshaller _instance = new DeleteStackInstancesResponseUnmarshaller(); + + internal static DeleteStackInstancesResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static DeleteStackInstancesResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackSetRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackSetRequestMarshaller.cs new file mode 100644 index 000000000000..a982de44a209 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackSetRequestMarshaller.cs @@ -0,0 +1,69 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// DeleteStackSet Request Marshaller + /// + public class DeleteStackSetRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((DeleteStackSetRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(DeleteStackSetRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "DeleteStackSet"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackSetResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackSetResponseUnmarshaller.cs new file mode 100644 index 000000000000..71a996ae44a7 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackSetResponseUnmarshaller.cs @@ -0,0 +1,131 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for DeleteStackSet operation + /// + public class DeleteStackSetResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + DeleteStackSetResponse response = new DeleteStackSetResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("DeleteStackSetResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="response")] + private static void UnmarshallResult(XmlUnmarshallerContext context, DeleteStackSetResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("OperationInProgressException")) + { + return new OperationInProgressException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("StackSetNotEmptyException")) + { + return new StackSetNotEmptyException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static DeleteStackSetResponseUnmarshaller _instance = new DeleteStackSetResponseUnmarshaller(); + + internal static DeleteStackSetResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static DeleteStackSetResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackInstanceRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackInstanceRequestMarshaller.cs new file mode 100644 index 000000000000..b2a2982a8532 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackInstanceRequestMarshaller.cs @@ -0,0 +1,77 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// DescribeStackInstance Request Marshaller + /// + public class DescribeStackInstanceRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((DescribeStackInstanceRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(DescribeStackInstanceRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "DescribeStackInstance"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetStackInstanceAccount()) + { + request.Parameters.Add("StackInstanceAccount", StringUtils.FromString(publicRequest.StackInstanceAccount)); + } + if(publicRequest.IsSetStackInstanceRegion()) + { + request.Parameters.Add("StackInstanceRegion", StringUtils.FromString(publicRequest.StackInstanceRegion)); + } + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackInstanceResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackInstanceResponseUnmarshaller.cs new file mode 100644 index 000000000000..f647752d027b --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackInstanceResponseUnmarshaller.cs @@ -0,0 +1,136 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for DescribeStackInstance operation + /// + public class DescribeStackInstanceResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + DescribeStackInstanceResponse response = new DescribeStackInstanceResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("DescribeStackInstanceResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + private static void UnmarshallResult(XmlUnmarshallerContext context, DescribeStackInstanceResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + if (context.TestExpression("StackInstance", targetDepth)) + { + var unmarshaller = StackInstanceUnmarshaller.Instance; + response.StackInstance = unmarshaller.Unmarshall(context); + continue; + } + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("StackInstanceNotFoundException")) + { + return new StackInstanceNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("StackSetNotFoundException")) + { + return new StackSetNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static DescribeStackInstanceResponseUnmarshaller _instance = new DescribeStackInstanceResponseUnmarshaller(); + + internal static DescribeStackInstanceResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static DescribeStackInstanceResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetOperationRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetOperationRequestMarshaller.cs new file mode 100644 index 000000000000..094e4dfe9eda --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetOperationRequestMarshaller.cs @@ -0,0 +1,73 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// DescribeStackSetOperation Request Marshaller + /// + public class DescribeStackSetOperationRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((DescribeStackSetOperationRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(DescribeStackSetOperationRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "DescribeStackSetOperation"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetOperationId()) + { + request.Parameters.Add("OperationId", StringUtils.FromString(publicRequest.OperationId)); + } + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetOperationResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetOperationResponseUnmarshaller.cs new file mode 100644 index 000000000000..c041667547ab --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetOperationResponseUnmarshaller.cs @@ -0,0 +1,136 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for DescribeStackSetOperation operation + /// + public class DescribeStackSetOperationResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + DescribeStackSetOperationResponse response = new DescribeStackSetOperationResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("DescribeStackSetOperationResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + private static void UnmarshallResult(XmlUnmarshallerContext context, DescribeStackSetOperationResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + if (context.TestExpression("StackSetOperation", targetDepth)) + { + var unmarshaller = StackSetOperationUnmarshaller.Instance; + response.StackSetOperation = unmarshaller.Unmarshall(context); + continue; + } + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("OperationNotFoundException")) + { + return new OperationNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("StackSetNotFoundException")) + { + return new StackSetNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static DescribeStackSetOperationResponseUnmarshaller _instance = new DescribeStackSetOperationResponseUnmarshaller(); + + internal static DescribeStackSetOperationResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static DescribeStackSetOperationResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetRequestMarshaller.cs new file mode 100644 index 000000000000..5518f228f1e1 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetRequestMarshaller.cs @@ -0,0 +1,69 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// DescribeStackSet Request Marshaller + /// + public class DescribeStackSetRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((DescribeStackSetRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(DescribeStackSetRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "DescribeStackSet"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetResponseUnmarshaller.cs new file mode 100644 index 000000000000..dceb50a92ada --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DescribeStackSetResponseUnmarshaller.cs @@ -0,0 +1,132 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for DescribeStackSet operation + /// + public class DescribeStackSetResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + DescribeStackSetResponse response = new DescribeStackSetResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("DescribeStackSetResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + private static void UnmarshallResult(XmlUnmarshallerContext context, DescribeStackSetResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + if (context.TestExpression("StackSet", targetDepth)) + { + var unmarshaller = StackSetUnmarshaller.Instance; + response.StackSet = unmarshaller.Unmarshall(context); + continue; + } + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("StackSetNotFoundException")) + { + return new StackSetNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static DescribeStackSetResponseUnmarshaller _instance = new DescribeStackSetResponseUnmarshaller(); + + internal static DescribeStackSetResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static DescribeStackSetResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/GetTemplateSummaryRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/GetTemplateSummaryRequestMarshaller.cs index d2f1e65254b7..02389477301f 100644 --- a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/GetTemplateSummaryRequestMarshaller.cs +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/GetTemplateSummaryRequestMarshaller.cs @@ -62,6 +62,10 @@ public IRequest Marshall(GetTemplateSummaryRequest publicRequest) { request.Parameters.Add("StackName", StringUtils.FromString(publicRequest.StackName)); } + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } if(publicRequest.IsSetTemplateBody()) { request.Parameters.Add("TemplateBody", StringUtils.FromString(publicRequest.TemplateBody)); diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/GetTemplateSummaryResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/GetTemplateSummaryResponseUnmarshaller.cs index 3fbdb87bb6e6..6eb6a6b89759 100644 --- a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/GetTemplateSummaryResponseUnmarshaller.cs +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/GetTemplateSummaryResponseUnmarshaller.cs @@ -150,6 +150,10 @@ private static void UnmarshallResult(XmlUnmarshallerContext context, GetTemplate public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("StackSetNotFoundException")) + { + return new StackSetNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); } private static GetTemplateSummaryResponseUnmarshaller _instance = new GetTemplateSummaryResponseUnmarshaller(); diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackInstancesRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackInstancesRequestMarshaller.cs new file mode 100644 index 000000000000..9a0166e9522b --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackInstancesRequestMarshaller.cs @@ -0,0 +1,85 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// ListStackInstances Request Marshaller + /// + public class ListStackInstancesRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((ListStackInstancesRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(ListStackInstancesRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "ListStackInstances"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetMaxResults()) + { + request.Parameters.Add("MaxResults", StringUtils.FromInt(publicRequest.MaxResults)); + } + if(publicRequest.IsSetNextToken()) + { + request.Parameters.Add("NextToken", StringUtils.FromString(publicRequest.NextToken)); + } + if(publicRequest.IsSetStackInstanceAccount()) + { + request.Parameters.Add("StackInstanceAccount", StringUtils.FromString(publicRequest.StackInstanceAccount)); + } + if(publicRequest.IsSetStackInstanceRegion()) + { + request.Parameters.Add("StackInstanceRegion", StringUtils.FromString(publicRequest.StackInstanceRegion)); + } + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackInstancesResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackInstancesResponseUnmarshaller.cs new file mode 100644 index 000000000000..328b58b906bd --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackInstancesResponseUnmarshaller.cs @@ -0,0 +1,139 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for ListStackInstances operation + /// + public class ListStackInstancesResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + ListStackInstancesResponse response = new ListStackInstancesResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("ListStackInstancesResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + private static void UnmarshallResult(XmlUnmarshallerContext context, ListStackInstancesResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + if (context.TestExpression("NextToken", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + response.NextToken = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Summaries/member", targetDepth)) + { + var unmarshaller = StackInstanceSummaryUnmarshaller.Instance; + var item = unmarshaller.Unmarshall(context); + response.Summaries.Add(item); + continue; + } + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("StackSetNotFoundException")) + { + return new StackSetNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static ListStackInstancesResponseUnmarshaller _instance = new ListStackInstancesResponseUnmarshaller(); + + internal static ListStackInstancesResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static ListStackInstancesResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationResultsRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationResultsRequestMarshaller.cs new file mode 100644 index 000000000000..ece78f24d71f --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationResultsRequestMarshaller.cs @@ -0,0 +1,81 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// ListStackSetOperationResults Request Marshaller + /// + public class ListStackSetOperationResultsRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((ListStackSetOperationResultsRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(ListStackSetOperationResultsRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "ListStackSetOperationResults"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetMaxResults()) + { + request.Parameters.Add("MaxResults", StringUtils.FromInt(publicRequest.MaxResults)); + } + if(publicRequest.IsSetNextToken()) + { + request.Parameters.Add("NextToken", StringUtils.FromString(publicRequest.NextToken)); + } + if(publicRequest.IsSetOperationId()) + { + request.Parameters.Add("OperationId", StringUtils.FromString(publicRequest.OperationId)); + } + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationResultsResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationResultsResponseUnmarshaller.cs new file mode 100644 index 000000000000..10fd43f9d6a9 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationResultsResponseUnmarshaller.cs @@ -0,0 +1,143 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for ListStackSetOperationResults operation + /// + public class ListStackSetOperationResultsResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + ListStackSetOperationResultsResponse response = new ListStackSetOperationResultsResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("ListStackSetOperationResultsResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + private static void UnmarshallResult(XmlUnmarshallerContext context, ListStackSetOperationResultsResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + if (context.TestExpression("NextToken", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + response.NextToken = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Summaries/member", targetDepth)) + { + var unmarshaller = StackSetOperationResultSummaryUnmarshaller.Instance; + var item = unmarshaller.Unmarshall(context); + response.Summaries.Add(item); + continue; + } + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("OperationNotFoundException")) + { + return new OperationNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("StackSetNotFoundException")) + { + return new StackSetNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static ListStackSetOperationResultsResponseUnmarshaller _instance = new ListStackSetOperationResultsResponseUnmarshaller(); + + internal static ListStackSetOperationResultsResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static ListStackSetOperationResultsResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationsRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationsRequestMarshaller.cs new file mode 100644 index 000000000000..a809241845ff --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationsRequestMarshaller.cs @@ -0,0 +1,77 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// ListStackSetOperations Request Marshaller + /// + public class ListStackSetOperationsRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((ListStackSetOperationsRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(ListStackSetOperationsRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "ListStackSetOperations"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetMaxResults()) + { + request.Parameters.Add("MaxResults", StringUtils.FromInt(publicRequest.MaxResults)); + } + if(publicRequest.IsSetNextToken()) + { + request.Parameters.Add("NextToken", StringUtils.FromString(publicRequest.NextToken)); + } + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationsResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationsResponseUnmarshaller.cs new file mode 100644 index 000000000000..098a2f6b1d81 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetOperationsResponseUnmarshaller.cs @@ -0,0 +1,139 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for ListStackSetOperations operation + /// + public class ListStackSetOperationsResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + ListStackSetOperationsResponse response = new ListStackSetOperationsResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("ListStackSetOperationsResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + private static void UnmarshallResult(XmlUnmarshallerContext context, ListStackSetOperationsResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + if (context.TestExpression("NextToken", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + response.NextToken = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Summaries/member", targetDepth)) + { + var unmarshaller = StackSetOperationSummaryUnmarshaller.Instance; + var item = unmarshaller.Unmarshall(context); + response.Summaries.Add(item); + continue; + } + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("StackSetNotFoundException")) + { + return new StackSetNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static ListStackSetOperationsResponseUnmarshaller _instance = new ListStackSetOperationsResponseUnmarshaller(); + + internal static ListStackSetOperationsResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static ListStackSetOperationsResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetsRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetsRequestMarshaller.cs new file mode 100644 index 000000000000..dd00996c1a50 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetsRequestMarshaller.cs @@ -0,0 +1,77 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// ListStackSets Request Marshaller + /// + public class ListStackSetsRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((ListStackSetsRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(ListStackSetsRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "ListStackSets"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetMaxResults()) + { + request.Parameters.Add("MaxResults", StringUtils.FromInt(publicRequest.MaxResults)); + } + if(publicRequest.IsSetNextToken()) + { + request.Parameters.Add("NextToken", StringUtils.FromString(publicRequest.NextToken)); + } + if(publicRequest.IsSetStatus()) + { + request.Parameters.Add("Status", StringUtils.FromString(publicRequest.Status)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetsResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetsResponseUnmarshaller.cs new file mode 100644 index 000000000000..24b910730b1c --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/ListStackSetsResponseUnmarshaller.cs @@ -0,0 +1,135 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for ListStackSets operation + /// + public class ListStackSetsResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + ListStackSetsResponse response = new ListStackSetsResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("ListStackSetsResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + private static void UnmarshallResult(XmlUnmarshallerContext context, ListStackSetsResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + if (context.TestExpression("NextToken", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + response.NextToken = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Summaries/member", targetDepth)) + { + var unmarshaller = StackSetSummaryUnmarshaller.Instance; + var item = unmarshaller.Unmarshall(context); + response.Summaries.Add(item); + continue; + } + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static ListStackSetsResponseUnmarshaller _instance = new ListStackSetsResponseUnmarshaller(); + + internal static ListStackSetsResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static ListStackSetsResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/OutputUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/OutputUnmarshaller.cs index ac613acbea55..64c0ed06606d 100644 --- a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/OutputUnmarshaller.cs +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/OutputUnmarshaller.cs @@ -60,6 +60,12 @@ public Output Unmarshall(XmlUnmarshallerContext context) unmarshalledObject.Description = unmarshaller.Unmarshall(context); continue; } + if (context.TestExpression("ExportName", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.ExportName = unmarshaller.Unmarshall(context); + continue; + } if (context.TestExpression("OutputKey", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackInstanceSummaryUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackInstanceSummaryUnmarshaller.cs new file mode 100644 index 000000000000..9c1567345172 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackInstanceSummaryUnmarshaller.cs @@ -0,0 +1,127 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for StackInstanceSummary Object + /// + public class StackInstanceSummaryUnmarshaller : IUnmarshaller, IUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public StackInstanceSummary Unmarshall(XmlUnmarshallerContext context) + { + StackInstanceSummary unmarshalledObject = new StackInstanceSummary(); + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + if (context.TestExpression("Account", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Account = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Region", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Region = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("StackId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StackId = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("StackSetId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StackSetId = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Status", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Status = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("StatusReason", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StatusReason = unmarshaller.Unmarshall(context); + continue; + } + } + else if (context.IsEndElement && context.CurrentDepth < originalDepth) + { + return unmarshalledObject; + } + } + + return unmarshalledObject; + } + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + public StackInstanceSummary Unmarshall(JsonUnmarshallerContext context) + { + return null; + } + + + private static StackInstanceSummaryUnmarshaller _instance = new StackInstanceSummaryUnmarshaller(); + + /// + /// Gets the singleton. + /// + public static StackInstanceSummaryUnmarshaller Instance + { + get + { + return _instance; + } + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackInstanceUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackInstanceUnmarshaller.cs new file mode 100644 index 000000000000..0989c843d281 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackInstanceUnmarshaller.cs @@ -0,0 +1,127 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for StackInstance Object + /// + public class StackInstanceUnmarshaller : IUnmarshaller, IUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public StackInstance Unmarshall(XmlUnmarshallerContext context) + { + StackInstance unmarshalledObject = new StackInstance(); + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + if (context.TestExpression("Account", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Account = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Region", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Region = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("StackId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StackId = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("StackSetId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StackSetId = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Status", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Status = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("StatusReason", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StatusReason = unmarshaller.Unmarshall(context); + continue; + } + } + else if (context.IsEndElement && context.CurrentDepth < originalDepth) + { + return unmarshalledObject; + } + } + + return unmarshalledObject; + } + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + public StackInstance Unmarshall(JsonUnmarshallerContext context) + { + return null; + } + + + private static StackInstanceUnmarshaller _instance = new StackInstanceUnmarshaller(); + + /// + /// Gets the singleton. + /// + public static StackInstanceUnmarshaller Instance + { + get + { + return _instance; + } + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationPreferencesUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationPreferencesUnmarshaller.cs new file mode 100644 index 000000000000..8399c0ec83c5 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationPreferencesUnmarshaller.cs @@ -0,0 +1,122 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for StackSetOperationPreferences Object + /// + public class StackSetOperationPreferencesUnmarshaller : IUnmarshaller, IUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public StackSetOperationPreferences Unmarshall(XmlUnmarshallerContext context) + { + StackSetOperationPreferences unmarshalledObject = new StackSetOperationPreferences(); + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + if (context.TestExpression("FailureToleranceCount", targetDepth)) + { + var unmarshaller = IntUnmarshaller.Instance; + unmarshalledObject.FailureToleranceCount = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("FailureTolerancePercentage", targetDepth)) + { + var unmarshaller = IntUnmarshaller.Instance; + unmarshalledObject.FailureTolerancePercentage = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("MaxConcurrentCount", targetDepth)) + { + var unmarshaller = IntUnmarshaller.Instance; + unmarshalledObject.MaxConcurrentCount = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("MaxConcurrentPercentage", targetDepth)) + { + var unmarshaller = IntUnmarshaller.Instance; + unmarshalledObject.MaxConcurrentPercentage = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("RegionOrder/member", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + var item = unmarshaller.Unmarshall(context); + unmarshalledObject.RegionOrder.Add(item); + continue; + } + } + else if (context.IsEndElement && context.CurrentDepth < originalDepth) + { + return unmarshalledObject; + } + } + + return unmarshalledObject; + } + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + public StackSetOperationPreferences Unmarshall(JsonUnmarshallerContext context) + { + return null; + } + + + private static StackSetOperationPreferencesUnmarshaller _instance = new StackSetOperationPreferencesUnmarshaller(); + + /// + /// Gets the singleton. + /// + public static StackSetOperationPreferencesUnmarshaller Instance + { + get + { + return _instance; + } + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationResultSummaryUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationResultSummaryUnmarshaller.cs new file mode 100644 index 000000000000..c98b6f40c9c7 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationResultSummaryUnmarshaller.cs @@ -0,0 +1,121 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for StackSetOperationResultSummary Object + /// + public class StackSetOperationResultSummaryUnmarshaller : IUnmarshaller, IUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public StackSetOperationResultSummary Unmarshall(XmlUnmarshallerContext context) + { + StackSetOperationResultSummary unmarshalledObject = new StackSetOperationResultSummary(); + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + if (context.TestExpression("Account", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Account = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("AccountGateResult", targetDepth)) + { + var unmarshaller = AccountGateResultUnmarshaller.Instance; + unmarshalledObject.AccountGateResult = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Region", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Region = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Status", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Status = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("StatusReason", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StatusReason = unmarshaller.Unmarshall(context); + continue; + } + } + else if (context.IsEndElement && context.CurrentDepth < originalDepth) + { + return unmarshalledObject; + } + } + + return unmarshalledObject; + } + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + public StackSetOperationResultSummary Unmarshall(JsonUnmarshallerContext context) + { + return null; + } + + + private static StackSetOperationResultSummaryUnmarshaller _instance = new StackSetOperationResultSummaryUnmarshaller(); + + /// + /// Gets the singleton. + /// + public static StackSetOperationResultSummaryUnmarshaller Instance + { + get + { + return _instance; + } + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationSummaryUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationSummaryUnmarshaller.cs new file mode 100644 index 000000000000..def487614ba6 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationSummaryUnmarshaller.cs @@ -0,0 +1,121 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for StackSetOperationSummary Object + /// + public class StackSetOperationSummaryUnmarshaller : IUnmarshaller, IUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public StackSetOperationSummary Unmarshall(XmlUnmarshallerContext context) + { + StackSetOperationSummary unmarshalledObject = new StackSetOperationSummary(); + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + if (context.TestExpression("Action", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Action = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("CreationTimestamp", targetDepth)) + { + var unmarshaller = DateTimeUnmarshaller.Instance; + unmarshalledObject.CreationTimestamp = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("EndTimestamp", targetDepth)) + { + var unmarshaller = DateTimeUnmarshaller.Instance; + unmarshalledObject.EndTimestamp = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("OperationId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.OperationId = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Status", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Status = unmarshaller.Unmarshall(context); + continue; + } + } + else if (context.IsEndElement && context.CurrentDepth < originalDepth) + { + return unmarshalledObject; + } + } + + return unmarshalledObject; + } + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + public StackSetOperationSummary Unmarshall(JsonUnmarshallerContext context) + { + return null; + } + + + private static StackSetOperationSummaryUnmarshaller _instance = new StackSetOperationSummaryUnmarshaller(); + + /// + /// Gets the singleton. + /// + public static StackSetOperationSummaryUnmarshaller Instance + { + get + { + return _instance; + } + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationUnmarshaller.cs new file mode 100644 index 000000000000..873817ca8937 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetOperationUnmarshaller.cs @@ -0,0 +1,139 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for StackSetOperation Object + /// + public class StackSetOperationUnmarshaller : IUnmarshaller, IUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public StackSetOperation Unmarshall(XmlUnmarshallerContext context) + { + StackSetOperation unmarshalledObject = new StackSetOperation(); + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + if (context.TestExpression("Action", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Action = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("CreationTimestamp", targetDepth)) + { + var unmarshaller = DateTimeUnmarshaller.Instance; + unmarshalledObject.CreationTimestamp = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("EndTimestamp", targetDepth)) + { + var unmarshaller = DateTimeUnmarshaller.Instance; + unmarshalledObject.EndTimestamp = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("OperationId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.OperationId = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("OperationPreferences", targetDepth)) + { + var unmarshaller = StackSetOperationPreferencesUnmarshaller.Instance; + unmarshalledObject.OperationPreferences = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("RetainStacks", targetDepth)) + { + var unmarshaller = BoolUnmarshaller.Instance; + unmarshalledObject.RetainStacks = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("StackSetId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StackSetId = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Status", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Status = unmarshaller.Unmarshall(context); + continue; + } + } + else if (context.IsEndElement && context.CurrentDepth < originalDepth) + { + return unmarshalledObject; + } + } + + return unmarshalledObject; + } + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + public StackSetOperation Unmarshall(JsonUnmarshallerContext context) + { + return null; + } + + + private static StackSetOperationUnmarshaller _instance = new StackSetOperationUnmarshaller(); + + /// + /// Gets the singleton. + /// + public static StackSetOperationUnmarshaller Instance + { + get + { + return _instance; + } + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetSummaryUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetSummaryUnmarshaller.cs new file mode 100644 index 000000000000..e2cf98290469 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetSummaryUnmarshaller.cs @@ -0,0 +1,115 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for StackSetSummary Object + /// + public class StackSetSummaryUnmarshaller : IUnmarshaller, IUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public StackSetSummary Unmarshall(XmlUnmarshallerContext context) + { + StackSetSummary unmarshalledObject = new StackSetSummary(); + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + if (context.TestExpression("Description", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Description = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("StackSetId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StackSetId = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("StackSetName", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StackSetName = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Status", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Status = unmarshaller.Unmarshall(context); + continue; + } + } + else if (context.IsEndElement && context.CurrentDepth < originalDepth) + { + return unmarshalledObject; + } + } + + return unmarshalledObject; + } + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + public StackSetSummary Unmarshall(JsonUnmarshallerContext context) + { + return null; + } + + + private static StackSetSummaryUnmarshaller _instance = new StackSetSummaryUnmarshaller(); + + /// + /// Gets the singleton. + /// + public static StackSetSummaryUnmarshaller Instance + { + get + { + return _instance; + } + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetUnmarshaller.cs new file mode 100644 index 000000000000..03d9f56dad62 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StackSetUnmarshaller.cs @@ -0,0 +1,142 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for StackSet Object + /// + public class StackSetUnmarshaller : IUnmarshaller, IUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public StackSet Unmarshall(XmlUnmarshallerContext context) + { + StackSet unmarshalledObject = new StackSet(); + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + if (context.TestExpression("Capabilities/member", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + var item = unmarshaller.Unmarshall(context); + unmarshalledObject.Capabilities.Add(item); + continue; + } + if (context.TestExpression("Description", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Description = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Parameters/member", targetDepth)) + { + var unmarshaller = ParameterUnmarshaller.Instance; + var item = unmarshaller.Unmarshall(context); + unmarshalledObject.Parameters.Add(item); + continue; + } + if (context.TestExpression("StackSetId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StackSetId = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("StackSetName", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.StackSetName = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Status", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.Status = unmarshaller.Unmarshall(context); + continue; + } + if (context.TestExpression("Tags/member", targetDepth)) + { + var unmarshaller = TagUnmarshaller.Instance; + var item = unmarshaller.Unmarshall(context); + unmarshalledObject.Tags.Add(item); + continue; + } + if (context.TestExpression("TemplateBody", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + unmarshalledObject.TemplateBody = unmarshaller.Unmarshall(context); + continue; + } + } + else if (context.IsEndElement && context.CurrentDepth < originalDepth) + { + return unmarshalledObject; + } + } + + return unmarshalledObject; + } + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + public StackSet Unmarshall(JsonUnmarshallerContext context) + { + return null; + } + + + private static StackSetUnmarshaller _instance = new StackSetUnmarshaller(); + + /// + /// Gets the singleton. + /// + public static StackSetUnmarshaller Instance + { + get + { + return _instance; + } + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StopStackSetOperationRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StopStackSetOperationRequestMarshaller.cs new file mode 100644 index 000000000000..6db4347a503c --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StopStackSetOperationRequestMarshaller.cs @@ -0,0 +1,73 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// StopStackSetOperation Request Marshaller + /// + public class StopStackSetOperationRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((StopStackSetOperationRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(StopStackSetOperationRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "StopStackSetOperation"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetOperationId()) + { + request.Parameters.Add("OperationId", StringUtils.FromString(publicRequest.OperationId)); + } + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StopStackSetOperationResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StopStackSetOperationResponseUnmarshaller.cs new file mode 100644 index 000000000000..0d150d4bba39 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/StopStackSetOperationResponseUnmarshaller.cs @@ -0,0 +1,135 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for StopStackSetOperation operation + /// + public class StopStackSetOperationResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + StopStackSetOperationResponse response = new StopStackSetOperationResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("StopStackSetOperationResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="response")] + private static void UnmarshallResult(XmlUnmarshallerContext context, StopStackSetOperationResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidOperationException")) + { + return new InvalidOperationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("OperationNotFoundException")) + { + return new OperationNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("StackSetNotFoundException")) + { + return new StackSetNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static StopStackSetOperationResponseUnmarshaller _instance = new StopStackSetOperationResponseUnmarshaller(); + + internal static StopStackSetOperationResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static StopStackSetOperationResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/UpdateStackSetRequestMarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/UpdateStackSetRequestMarshaller.cs new file mode 100644 index 000000000000..e1e896ca014f --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/UpdateStackSetRequestMarshaller.cs @@ -0,0 +1,166 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// UpdateStackSet Request Marshaller + /// + public class UpdateStackSetRequestMarshaller : IMarshaller , IMarshaller + { + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(AmazonWebServiceRequest input) + { + return this.Marshall((UpdateStackSetRequest)input); + } + + /// + /// Marshaller the request object to the HTTP request. + /// + /// + /// + public IRequest Marshall(UpdateStackSetRequest publicRequest) + { + IRequest request = new DefaultRequest(publicRequest, "Amazon.CloudFormation"); + request.Parameters.Add("Action", "UpdateStackSet"); + request.Parameters.Add("Version", "2010-05-15"); + + if(publicRequest != null) + { + if(publicRequest.IsSetCapabilities()) + { + int publicRequestlistValueIndex = 1; + foreach(var publicRequestlistValue in publicRequest.Capabilities) + { + request.Parameters.Add("Capabilities" + "." + "member" + "." + publicRequestlistValueIndex, StringUtils.FromString(publicRequestlistValue)); + publicRequestlistValueIndex++; + } + } + if(publicRequest.IsSetDescription()) + { + request.Parameters.Add("Description", StringUtils.FromString(publicRequest.Description)); + } + if(publicRequest.IsSetOperationId()) + { + request.Parameters.Add("OperationId", StringUtils.FromString(publicRequest.OperationId)); + } + else if(!(publicRequest.IsSetOperationId())) + { + request.Parameters.Add("OperationId", StringUtils.FromString(Guid.NewGuid().ToString())); + } + if(publicRequest.IsSetOperationPreferences()) + { + if(publicRequest.OperationPreferences.IsSetFailureToleranceCount()) + { + request.Parameters.Add("OperationPreferences" + "." + "FailureToleranceCount", StringUtils.FromInt(publicRequest.OperationPreferences.FailureToleranceCount)); + } + if(publicRequest.OperationPreferences.IsSetFailureTolerancePercentage()) + { + request.Parameters.Add("OperationPreferences" + "." + "FailureTolerancePercentage", StringUtils.FromInt(publicRequest.OperationPreferences.FailureTolerancePercentage)); + } + if(publicRequest.OperationPreferences.IsSetMaxConcurrentCount()) + { + request.Parameters.Add("OperationPreferences" + "." + "MaxConcurrentCount", StringUtils.FromInt(publicRequest.OperationPreferences.MaxConcurrentCount)); + } + if(publicRequest.OperationPreferences.IsSetMaxConcurrentPercentage()) + { + request.Parameters.Add("OperationPreferences" + "." + "MaxConcurrentPercentage", StringUtils.FromInt(publicRequest.OperationPreferences.MaxConcurrentPercentage)); + } + if(publicRequest.OperationPreferences.IsSetRegionOrder()) + { + int publicRequestOperationPreferenceslistValueIndex = 1; + foreach(var publicRequestOperationPreferenceslistValue in publicRequest.OperationPreferences.RegionOrder) + { + request.Parameters.Add("OperationPreferences" + "." + "RegionOrder" + "." + "member" + "." + publicRequestOperationPreferenceslistValueIndex, StringUtils.FromString(publicRequestOperationPreferenceslistValue)); + publicRequestOperationPreferenceslistValueIndex++; + } + } + } + if(publicRequest.IsSetParameters()) + { + int publicRequestlistValueIndex = 1; + foreach(var publicRequestlistValue in publicRequest.Parameters) + { + if(publicRequestlistValue.IsSetParameterKey()) + { + request.Parameters.Add("Parameters" + "." + "member" + "." + publicRequestlistValueIndex + "." + "ParameterKey", StringUtils.FromString(publicRequestlistValue.ParameterKey)); + } + if(publicRequestlistValue.IsSetParameterValue()) + { + request.Parameters.Add("Parameters" + "." + "member" + "." + publicRequestlistValueIndex + "." + "ParameterValue", StringUtils.FromString(publicRequestlistValue.ParameterValue)); + } + if(publicRequestlistValue.IsSetUsePreviousValue()) + { + request.Parameters.Add("Parameters" + "." + "member" + "." + publicRequestlistValueIndex + "." + "UsePreviousValue", StringUtils.FromBool(publicRequestlistValue.UsePreviousValue)); + } + publicRequestlistValueIndex++; + } + } + if(publicRequest.IsSetStackSetName()) + { + request.Parameters.Add("StackSetName", StringUtils.FromString(publicRequest.StackSetName)); + } + if(publicRequest.IsSetTags()) + { + int publicRequestlistValueIndex = 1; + foreach(var publicRequestlistValue in publicRequest.Tags) + { + if(publicRequestlistValue.IsSetKey()) + { + request.Parameters.Add("Tags" + "." + "member" + "." + publicRequestlistValueIndex + "." + "Key", StringUtils.FromString(publicRequestlistValue.Key)); + } + if(publicRequestlistValue.IsSetValue()) + { + request.Parameters.Add("Tags" + "." + "member" + "." + publicRequestlistValueIndex + "." + "Value", StringUtils.FromString(publicRequestlistValue.Value)); + } + publicRequestlistValueIndex++; + } + } + if(publicRequest.IsSetTemplateBody()) + { + request.Parameters.Add("TemplateBody", StringUtils.FromString(publicRequest.TemplateBody)); + } + if(publicRequest.IsSetTemplateURL()) + { + request.Parameters.Add("TemplateURL", StringUtils.FromString(publicRequest.TemplateURL)); + } + if(publicRequest.IsSetUsePreviousTemplate()) + { + request.Parameters.Add("UsePreviousTemplate", StringUtils.FromBool(publicRequest.UsePreviousTemplate)); + } + } + return request; + } + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/UpdateStackSetResponseUnmarshaller.cs b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/UpdateStackSetResponseUnmarshaller.cs new file mode 100644 index 000000000000..4a9d45383a2d --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/UpdateStackSetResponseUnmarshaller.cs @@ -0,0 +1,148 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Net; +using System.Text; +using System.Xml.Serialization; + +using Amazon.CloudFormation.Model; +using Amazon.Runtime; +using Amazon.Runtime.Internal; +using Amazon.Runtime.Internal.Transform; +using Amazon.Runtime.Internal.Util; +namespace Amazon.CloudFormation.Model.Internal.MarshallTransformations +{ + /// + /// Response Unmarshaller for UpdateStackSet operation + /// + public class UpdateStackSetResponseUnmarshaller : XmlResponseUnmarshaller + { + /// + /// Unmarshaller the response from the service to the response class. + /// + /// + /// + public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) + { + UpdateStackSetResponse response = new UpdateStackSetResponse(); + + context.Read(); + int targetDepth = context.CurrentDepth; + while (context.ReadAtDepth(targetDepth)) + { + if (context.IsStartElement) + { + if(context.TestExpression("UpdateStackSetResult", 2)) + { + UnmarshallResult(context, response); + continue; + } + + if (context.TestExpression("ResponseMetadata", 2)) + { + response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context); + } + } + } + + return response; + } + + private static void UnmarshallResult(XmlUnmarshallerContext context, UpdateStackSetResponse response) + { + + int originalDepth = context.CurrentDepth; + int targetDepth = originalDepth + 1; + + if (context.IsStartOfDocument) + targetDepth += 2; + + while (context.ReadAtDepth(originalDepth)) + { + if (context.IsStartElement || context.IsAttribute) + { + + if (context.TestExpression("OperationId", targetDepth)) + { + var unmarshaller = StringUnmarshaller.Instance; + response.OperationId = unmarshaller.Unmarshall(context); + continue; + } + } + } + + return; + } + + + /// + /// Unmarshaller error response to exception. + /// + /// + /// + /// + /// + public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) + { + ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context); + if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidOperationException")) + { + return new InvalidOperationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("OperationIdAlreadyExistsException")) + { + return new OperationIdAlreadyExistsException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("OperationInProgressException")) + { + return new OperationInProgressException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("StackSetNotFoundException")) + { + return new StackSetNotFoundException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + if (errorResponse.Code != null && errorResponse.Code.Equals("StaleRequestException")) + { + return new StaleRequestException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + return new AmazonCloudFormationException(errorResponse.Message, innerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, statusCode); + } + private static UpdateStackSetResponseUnmarshaller _instance = new UpdateStackSetResponseUnmarshaller(); + + internal static UpdateStackSetResponseUnmarshaller GetInstance() + { + return _instance; + } + + /// + /// Gets the singleton. + /// + public static UpdateStackSetResponseUnmarshaller Instance + { + get + { + return _instance; + } + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/InvalidOperationException.cs b/sdk/src/Services/CloudFormation/Generated/Model/InvalidOperationException.cs new file mode 100644 index 000000000000..69e1581e69e5 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/InvalidOperationException.cs @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2014 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.Net; +using Amazon.Runtime; + +namespace Amazon.CloudFormation.Model +{ + /// + /// CloudFormation exception + /// +#if !PCL && !CORECLR + [Serializable] +#endif + public class InvalidOperationException : AmazonCloudFormationException + { + /// + /// Constructs a new InvalidOperationException with the specified error + /// message. + /// + /// + /// Describes the error encountered. + /// + public InvalidOperationException(string message) + : base(message) {} + + /// + /// Construct instance of InvalidOperationException + /// + /// + /// + public InvalidOperationException(string message, Exception innerException) + : base(message, innerException) {} + + /// + /// Construct instance of InvalidOperationException + /// + /// + public InvalidOperationException(Exception innerException) + : base(innerException) {} + + /// + /// Construct instance of InvalidOperationException + /// + /// + /// + /// + /// + /// + /// + public InvalidOperationException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, innerException, errorType, errorCode, requestId, statusCode) {} + + /// + /// Construct instance of InvalidOperationException + /// + /// + /// + /// + /// + /// + public InvalidOperationException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, errorType, errorCode, requestId, statusCode) {} + + +#if !PCL && !CORECLR + /// + /// Constructs a new instance of the InvalidOperationException class with serialized data. + /// + /// The that holds the serialized object data about the exception being thrown. + /// The that contains contextual information about the source or destination. + /// The parameter is null. + /// The class name is null or is zero (0). + protected InvalidOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) + : base(info, context) + { + } + +#endif + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/ListStackInstancesRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/ListStackInstancesRequest.cs new file mode 100644 index 000000000000..f255aae969d2 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/ListStackInstancesRequest.cs @@ -0,0 +1,142 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the ListStackInstances operation. + /// Returns summary information about stack instances that are associated with the specified + /// stack set. You can filter for stack instances that are associated with a specific + /// AWS account name or region. + /// + public partial class ListStackInstancesRequest : AmazonCloudFormationRequest + { + private int? _maxResults; + private string _nextToken; + private string _stackInstanceAccount; + private string _stackInstanceRegion; + private string _stackSetName; + + /// + /// Gets and sets the property MaxResults. + /// + /// The maximum number of results to be returned with a single call. If the number of + /// available results exceeds this maximum, the response includes a NextToken + /// value that you can assign to the NextToken request parameter to get the + /// next set of results. + /// + /// + public int MaxResults + { + get { return this._maxResults.GetValueOrDefault(); } + set { this._maxResults = value; } + } + + // Check to see if MaxResults property is set + internal bool IsSetMaxResults() + { + return this._maxResults.HasValue; + } + + /// + /// Gets and sets the property NextToken. + /// + /// If the previous request didn't return all of the remaining results, the response's + /// NextToken parameter value is set to a token. To retrieve the next set + /// of results, call ListStackInstances again and assign that token to the + /// request object's NextToken parameter. If there are no remaining results, + /// the previous response object's NextToken parameter is set to null. + /// + /// + public string NextToken + { + get { return this._nextToken; } + set { this._nextToken = value; } + } + + // Check to see if NextToken property is set + internal bool IsSetNextToken() + { + return this._nextToken != null; + } + + /// + /// Gets and sets the property StackInstanceAccount. + /// + /// The name of the AWS account that you want to list stack instances for. + /// + /// + public string StackInstanceAccount + { + get { return this._stackInstanceAccount; } + set { this._stackInstanceAccount = value; } + } + + // Check to see if StackInstanceAccount property is set + internal bool IsSetStackInstanceAccount() + { + return this._stackInstanceAccount != null; + } + + /// + /// Gets and sets the property StackInstanceRegion. + /// + /// The name of the region where you want to list stack instances. + /// + /// + public string StackInstanceRegion + { + get { return this._stackInstanceRegion; } + set { this._stackInstanceRegion = value; } + } + + // Check to see if StackInstanceRegion property is set + internal bool IsSetStackInstanceRegion() + { + return this._stackInstanceRegion != null; + } + + /// + /// Gets and sets the property StackSetName. + /// + /// The name or unique ID of the stack set that you want to list stack instances for. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/ListStackInstancesResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/ListStackInstancesResponse.cs new file mode 100644 index 000000000000..214bad344f8c --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/ListStackInstancesResponse.cs @@ -0,0 +1,79 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the ListStackInstances operation. + /// + public partial class ListStackInstancesResponse : AmazonWebServiceResponse + { + private string _nextToken; + private List _summaries = new List(); + + /// + /// Gets and sets the property NextToken. + /// + /// If the request doesn't return all of the remaining results, NextToken + /// is set to a token. To retrieve the next set of results, call ListStackInstances + /// again and assign that token to the request object's NextToken parameter. + /// If the request returns all results, NextToken is set to null. + /// + /// + public string NextToken + { + get { return this._nextToken; } + set { this._nextToken = value; } + } + + // Check to see if NextToken property is set + internal bool IsSetNextToken() + { + return this._nextToken != null; + } + + /// + /// Gets and sets the property Summaries. + /// + /// A list of StackInstanceSummary structures that contain information about + /// the specified stack instances. + /// + /// + public List Summaries + { + get { return this._summaries; } + set { this._summaries = value; } + } + + // Check to see if Summaries property is set + internal bool IsSetSummaries() + { + return this._summaries != null && this._summaries.Count > 0; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationResultsRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationResultsRequest.cs new file mode 100644 index 000000000000..d44d711ca35d --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationResultsRequest.cs @@ -0,0 +1,122 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the ListStackSetOperationResults operation. + /// Returns summary information about the results of a stack set operation. + /// + public partial class ListStackSetOperationResultsRequest : AmazonCloudFormationRequest + { + private int? _maxResults; + private string _nextToken; + private string _operationId; + private string _stackSetName; + + /// + /// Gets and sets the property MaxResults. + /// + /// The maximum number of results to be returned with a single call. If the number of + /// available results exceeds this maximum, the response includes a NextToken + /// value that you can assign to the NextToken request parameter to get the + /// next set of results. + /// + /// + public int MaxResults + { + get { return this._maxResults.GetValueOrDefault(); } + set { this._maxResults = value; } + } + + // Check to see if MaxResults property is set + internal bool IsSetMaxResults() + { + return this._maxResults.HasValue; + } + + /// + /// Gets and sets the property NextToken. + /// + /// If the previous request didn't return all of the remaining results, the response object's + /// NextToken parameter value is set to a token. To retrieve the next set + /// of results, call ListStackSetOperationResults again and assign that token + /// to the request object's NextToken parameter. If there are no remaining + /// results, the previous response object's NextToken parameter is set to + /// null. + /// + /// + public string NextToken + { + get { return this._nextToken; } + set { this._nextToken = value; } + } + + // Check to see if NextToken property is set + internal bool IsSetNextToken() + { + return this._nextToken != null; + } + + /// + /// Gets and sets the property OperationId. + /// + /// The ID of the stack set operation. + /// + /// + public string OperationId + { + get { return this._operationId; } + set { this._operationId = value; } + } + + // Check to see if OperationId property is set + internal bool IsSetOperationId() + { + return this._operationId != null; + } + + /// + /// Gets and sets the property StackSetName. + /// + /// The name or unique ID of the stack set that you want to get operation results for. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationResultsResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationResultsResponse.cs new file mode 100644 index 000000000000..193f6db14dd2 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationResultsResponse.cs @@ -0,0 +1,80 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the ListStackSetOperationResults operation. + /// + public partial class ListStackSetOperationResultsResponse : AmazonWebServiceResponse + { + private string _nextToken; + private List _summaries = new List(); + + /// + /// Gets and sets the property NextToken. + /// + /// If the request doesn't return all results, NextToken is set to a token. + /// To retrieve the next set of results, call ListOperationResults again + /// and assign that token to the request object's NextToken parameter. If + /// there are no remaining results, NextToken is set to null. + /// + /// + public string NextToken + { + get { return this._nextToken; } + set { this._nextToken = value; } + } + + // Check to see if NextToken property is set + internal bool IsSetNextToken() + { + return this._nextToken != null; + } + + /// + /// Gets and sets the property Summaries. + /// + /// A list of StackSetOperationResultSummary structures that contain information + /// about the specified operation results, for accounts and regions that are included + /// in the operation. + /// + /// + public List Summaries + { + get { return this._summaries; } + set { this._summaries = value; } + } + + // Check to see if Summaries property is set + internal bool IsSetSummaries() + { + return this._summaries != null && this._summaries.Count > 0; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationsRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationsRequest.cs new file mode 100644 index 000000000000..4a56e50d4138 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationsRequest.cs @@ -0,0 +1,103 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the ListStackSetOperations operation. + /// Returns summary information about operations performed on a stack set. + /// + public partial class ListStackSetOperationsRequest : AmazonCloudFormationRequest + { + private int? _maxResults; + private string _nextToken; + private string _stackSetName; + + /// + /// Gets and sets the property MaxResults. + /// + /// The maximum number of results to be returned with a single call. If the number of + /// available results exceeds this maximum, the response includes a NextToken + /// value that you can assign to the NextToken request parameter to get the + /// next set of results. + /// + /// + public int MaxResults + { + get { return this._maxResults.GetValueOrDefault(); } + set { this._maxResults = value; } + } + + // Check to see if MaxResults property is set + internal bool IsSetMaxResults() + { + return this._maxResults.HasValue; + } + + /// + /// Gets and sets the property NextToken. + /// + /// If the previous paginated request didn't return all of the remaining results, the + /// response object's NextToken parameter value is set to a token. To retrieve + /// the next set of results, call ListStackSetOperations again and assign + /// that token to the request object's NextToken parameter. If there are + /// no remaining results, the previous response object's NextToken parameter + /// is set to null. + /// + /// + public string NextToken + { + get { return this._nextToken; } + set { this._nextToken = value; } + } + + // Check to see if NextToken property is set + internal bool IsSetNextToken() + { + return this._nextToken != null; + } + + /// + /// Gets and sets the property StackSetName. + /// + /// The name or unique ID of the stack set that you want to get operation summaries for. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationsResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationsResponse.cs new file mode 100644 index 000000000000..e5f2ffe3abbd --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetOperationsResponse.cs @@ -0,0 +1,79 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the ListStackSetOperations operation. + /// + public partial class ListStackSetOperationsResponse : AmazonWebServiceResponse + { + private string _nextToken; + private List _summaries = new List(); + + /// + /// Gets and sets the property NextToken. + /// + /// If the request doesn't return all results, NextToken is set to a token. + /// To retrieve the next set of results, call ListOperationResults again + /// and assign that token to the request object's NextToken parameter. If + /// there are no remaining results, NextToken is set to null. + /// + /// + public string NextToken + { + get { return this._nextToken; } + set { this._nextToken = value; } + } + + // Check to see if NextToken property is set + internal bool IsSetNextToken() + { + return this._nextToken != null; + } + + /// + /// Gets and sets the property Summaries. + /// + /// A list of StackSetOperationSummary structures that contain summary information + /// about operations for the specified stack set. + /// + /// + public List Summaries + { + get { return this._summaries; } + set { this._summaries = value; } + } + + // Check to see if Summaries property is set + internal bool IsSetSummaries() + { + return this._summaries != null && this._summaries.Count > 0; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetsRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetsRequest.cs new file mode 100644 index 000000000000..a3a12e47704f --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetsRequest.cs @@ -0,0 +1,103 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the ListStackSets operation. + /// Returns summary information about stack sets that are associated with the user. + /// + public partial class ListStackSetsRequest : AmazonCloudFormationRequest + { + private int? _maxResults; + private string _nextToken; + private StackSetStatus _status; + + /// + /// Gets and sets the property MaxResults. + /// + /// The maximum number of results to be returned with a single call. If the number of + /// available results exceeds this maximum, the response includes a NextToken + /// value that you can assign to the NextToken request parameter to get the + /// next set of results. + /// + /// + public int MaxResults + { + get { return this._maxResults.GetValueOrDefault(); } + set { this._maxResults = value; } + } + + // Check to see if MaxResults property is set + internal bool IsSetMaxResults() + { + return this._maxResults.HasValue; + } + + /// + /// Gets and sets the property NextToken. + /// + /// If the previous paginated request didn't return all of the remaining results, the + /// response object's NextToken parameter value is set to a token. To retrieve + /// the next set of results, call ListStackSets again and assign that token + /// to the request object's NextToken parameter. If there are no remaining + /// results, the previous response object's NextToken parameter is set to + /// null. + /// + /// + public string NextToken + { + get { return this._nextToken; } + set { this._nextToken = value; } + } + + // Check to see if NextToken property is set + internal bool IsSetNextToken() + { + return this._nextToken != null; + } + + /// + /// Gets and sets the property Status. + /// + /// The status of the stack sets that you want to get summary information about. + /// + /// + public StackSetStatus Status + { + get { return this._status; } + set { this._status = value; } + } + + // Check to see if Status property is set + internal bool IsSetStatus() + { + return this._status != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetsResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetsResponse.cs new file mode 100644 index 000000000000..69eefa5da1df --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/ListStackSetsResponse.cs @@ -0,0 +1,79 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the ListStackSets operation. + /// + public partial class ListStackSetsResponse : AmazonWebServiceResponse + { + private string _nextToken; + private List _summaries = new List(); + + /// + /// Gets and sets the property NextToken. + /// + /// If the request doesn't return all of the remaining results, NextToken + /// is set to a token. To retrieve the next set of results, call ListStackInstances + /// again and assign that token to the request object's NextToken parameter. + /// If the request returns all results, NextToken is set to null. + /// + /// + public string NextToken + { + get { return this._nextToken; } + set { this._nextToken = value; } + } + + // Check to see if NextToken property is set + internal bool IsSetNextToken() + { + return this._nextToken != null; + } + + /// + /// Gets and sets the property Summaries. + /// + /// A list of StackSetSummary structures that contain information about the + /// user's stack sets. + /// + /// + public List Summaries + { + get { return this._summaries; } + set { this._summaries = value; } + } + + // Check to see if Summaries property is set + internal bool IsSetSummaries() + { + return this._summaries != null && this._summaries.Count > 0; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/NameAlreadyExistsException.cs b/sdk/src/Services/CloudFormation/Generated/Model/NameAlreadyExistsException.cs new file mode 100644 index 000000000000..5986a8b63468 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/NameAlreadyExistsException.cs @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2014 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.Net; +using Amazon.Runtime; + +namespace Amazon.CloudFormation.Model +{ + /// + /// CloudFormation exception + /// +#if !PCL && !CORECLR + [Serializable] +#endif + public class NameAlreadyExistsException : AmazonCloudFormationException + { + /// + /// Constructs a new NameAlreadyExistsException with the specified error + /// message. + /// + /// + /// Describes the error encountered. + /// + public NameAlreadyExistsException(string message) + : base(message) {} + + /// + /// Construct instance of NameAlreadyExistsException + /// + /// + /// + public NameAlreadyExistsException(string message, Exception innerException) + : base(message, innerException) {} + + /// + /// Construct instance of NameAlreadyExistsException + /// + /// + public NameAlreadyExistsException(Exception innerException) + : base(innerException) {} + + /// + /// Construct instance of NameAlreadyExistsException + /// + /// + /// + /// + /// + /// + /// + public NameAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, innerException, errorType, errorCode, requestId, statusCode) {} + + /// + /// Construct instance of NameAlreadyExistsException + /// + /// + /// + /// + /// + /// + public NameAlreadyExistsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, errorType, errorCode, requestId, statusCode) {} + + +#if !PCL && !CORECLR + /// + /// Constructs a new instance of the NameAlreadyExistsException class with serialized data. + /// + /// The that holds the serialized object data about the exception being thrown. + /// The that contains contextual information about the source or destination. + /// The parameter is null. + /// The class name is null or is zero (0). + protected NameAlreadyExistsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) + : base(info, context) + { + } + +#endif + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/OperationIdAlreadyExistsException.cs b/sdk/src/Services/CloudFormation/Generated/Model/OperationIdAlreadyExistsException.cs new file mode 100644 index 000000000000..08c2fcfc05e2 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/OperationIdAlreadyExistsException.cs @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2014 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.Net; +using Amazon.Runtime; + +namespace Amazon.CloudFormation.Model +{ + /// + /// CloudFormation exception + /// +#if !PCL && !CORECLR + [Serializable] +#endif + public class OperationIdAlreadyExistsException : AmazonCloudFormationException + { + /// + /// Constructs a new OperationIdAlreadyExistsException with the specified error + /// message. + /// + /// + /// Describes the error encountered. + /// + public OperationIdAlreadyExistsException(string message) + : base(message) {} + + /// + /// Construct instance of OperationIdAlreadyExistsException + /// + /// + /// + public OperationIdAlreadyExistsException(string message, Exception innerException) + : base(message, innerException) {} + + /// + /// Construct instance of OperationIdAlreadyExistsException + /// + /// + public OperationIdAlreadyExistsException(Exception innerException) + : base(innerException) {} + + /// + /// Construct instance of OperationIdAlreadyExistsException + /// + /// + /// + /// + /// + /// + /// + public OperationIdAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, innerException, errorType, errorCode, requestId, statusCode) {} + + /// + /// Construct instance of OperationIdAlreadyExistsException + /// + /// + /// + /// + /// + /// + public OperationIdAlreadyExistsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, errorType, errorCode, requestId, statusCode) {} + + +#if !PCL && !CORECLR + /// + /// Constructs a new instance of the OperationIdAlreadyExistsException class with serialized data. + /// + /// The that holds the serialized object data about the exception being thrown. + /// The that contains contextual information about the source or destination. + /// The parameter is null. + /// The class name is null or is zero (0). + protected OperationIdAlreadyExistsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) + : base(info, context) + { + } + +#endif + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/OperationInProgressException.cs b/sdk/src/Services/CloudFormation/Generated/Model/OperationInProgressException.cs new file mode 100644 index 000000000000..2a8ee2b44515 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/OperationInProgressException.cs @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2014 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.Net; +using Amazon.Runtime; + +namespace Amazon.CloudFormation.Model +{ + /// + /// CloudFormation exception + /// +#if !PCL && !CORECLR + [Serializable] +#endif + public class OperationInProgressException : AmazonCloudFormationException + { + /// + /// Constructs a new OperationInProgressException with the specified error + /// message. + /// + /// + /// Describes the error encountered. + /// + public OperationInProgressException(string message) + : base(message) {} + + /// + /// Construct instance of OperationInProgressException + /// + /// + /// + public OperationInProgressException(string message, Exception innerException) + : base(message, innerException) {} + + /// + /// Construct instance of OperationInProgressException + /// + /// + public OperationInProgressException(Exception innerException) + : base(innerException) {} + + /// + /// Construct instance of OperationInProgressException + /// + /// + /// + /// + /// + /// + /// + public OperationInProgressException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, innerException, errorType, errorCode, requestId, statusCode) {} + + /// + /// Construct instance of OperationInProgressException + /// + /// + /// + /// + /// + /// + public OperationInProgressException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, errorType, errorCode, requestId, statusCode) {} + + +#if !PCL && !CORECLR + /// + /// Constructs a new instance of the OperationInProgressException class with serialized data. + /// + /// The that holds the serialized object data about the exception being thrown. + /// The that contains contextual information about the source or destination. + /// The parameter is null. + /// The class name is null or is zero (0). + protected OperationInProgressException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) + : base(info, context) + { + } + +#endif + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/OperationNotFoundException.cs b/sdk/src/Services/CloudFormation/Generated/Model/OperationNotFoundException.cs new file mode 100644 index 000000000000..6ef6b142dd5d --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/OperationNotFoundException.cs @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2014 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.Net; +using Amazon.Runtime; + +namespace Amazon.CloudFormation.Model +{ + /// + /// CloudFormation exception + /// +#if !PCL && !CORECLR + [Serializable] +#endif + public class OperationNotFoundException : AmazonCloudFormationException + { + /// + /// Constructs a new OperationNotFoundException with the specified error + /// message. + /// + /// + /// Describes the error encountered. + /// + public OperationNotFoundException(string message) + : base(message) {} + + /// + /// Construct instance of OperationNotFoundException + /// + /// + /// + public OperationNotFoundException(string message, Exception innerException) + : base(message, innerException) {} + + /// + /// Construct instance of OperationNotFoundException + /// + /// + public OperationNotFoundException(Exception innerException) + : base(innerException) {} + + /// + /// Construct instance of OperationNotFoundException + /// + /// + /// + /// + /// + /// + /// + public OperationNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, innerException, errorType, errorCode, requestId, statusCode) {} + + /// + /// Construct instance of OperationNotFoundException + /// + /// + /// + /// + /// + /// + public OperationNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, errorType, errorCode, requestId, statusCode) {} + + +#if !PCL && !CORECLR + /// + /// Constructs a new instance of the OperationNotFoundException class with serialized data. + /// + /// The that holds the serialized object data about the exception being thrown. + /// The that contains contextual information about the source or destination. + /// The parameter is null. + /// The class name is null or is zero (0). + protected OperationNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) + : base(info, context) + { + } + +#endif + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/Output.cs b/sdk/src/Services/CloudFormation/Generated/Model/Output.cs index 5cd68bb42913..84ff39a7db8d 100644 --- a/sdk/src/Services/CloudFormation/Generated/Model/Output.cs +++ b/sdk/src/Services/CloudFormation/Generated/Model/Output.cs @@ -33,6 +33,7 @@ namespace Amazon.CloudFormation.Model public partial class Output { private string _description; + private string _exportName; private string _outputKey; private string _outputValue; @@ -54,6 +55,24 @@ internal bool IsSetDescription() return this._description != null; } + /// + /// Gets and sets the property ExportName. + /// + /// The name of the export associated with the output. + /// + /// + public string ExportName + { + get { return this._exportName; } + set { this._exportName = value; } + } + + // Check to see if ExportName property is set + internal bool IsSetExportName() + { + return this._exportName != null; + } + /// /// Gets and sets the property OutputKey. /// diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StackEvent.cs b/sdk/src/Services/CloudFormation/Generated/Model/StackEvent.cs index aa8905450c41..7ec2dfb3b953 100644 --- a/sdk/src/Services/CloudFormation/Generated/Model/StackEvent.cs +++ b/sdk/src/Services/CloudFormation/Generated/Model/StackEvent.cs @@ -51,9 +51,19 @@ public partial class StackEvent /// /// /// - /// For example, if you execute a CreateStack operation with the token token1, - /// then all the StackEvents generated by that operation will have ClientRequestToken - /// set as token1. + /// All events triggered by a given stack operation are assigned the same client request + /// token, which you can use to track operations. For example, if you execute a CreateStack + /// operation with the token token1, then all the StackEvents + /// generated by that operation will have ClientRequestToken set as token1. + /// + /// + /// + /// In the console, stack operations display the client request token on the Events tab. + /// Stack operations that are initiated from the console use the token format Console-StackOperation-ID, + /// which helps you easily identify the stack operation . For example, if you create a + /// stack using the console, each stack event would be assigned the same token in the + /// following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002. + /// /// /// public string ClientRequestToken diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StackInstance.cs b/sdk/src/Services/CloudFormation/Generated/Model/StackInstance.cs new file mode 100644 index 000000000000..d6a7537f6729 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StackInstance.cs @@ -0,0 +1,183 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// An AWS CloudFormation stack, in a specific account and region, that's part of a stack + /// set operation. A stack instance is a reference to an attempted or actual stack in + /// a given account within a given region. A stack instance can exist without a stack—for + /// example, if the stack couldn't be created for some reason. A stack instance is associated + /// with only one stack set. Each stack instance contains the ID of its associated stack + /// set, as well as the ID of the actual stack and the stack status. + /// + public partial class StackInstance + { + private string _account; + private string _region; + private string _stackId; + private string _stackSetId; + private StackInstanceStatus _status; + private string _statusReason; + + /// + /// Gets and sets the property Account. + /// + /// The name of the AWS account that the stack instance is associated with. + /// + /// + public string Account + { + get { return this._account; } + set { this._account = value; } + } + + // Check to see if Account property is set + internal bool IsSetAccount() + { + return this._account != null; + } + + /// + /// Gets and sets the property Region. + /// + /// The name of the AWS region that the stack instance is associated with. + /// + /// + public string Region + { + get { return this._region; } + set { this._region = value; } + } + + // Check to see if Region property is set + internal bool IsSetRegion() + { + return this._region != null; + } + + /// + /// Gets and sets the property StackId. + /// + /// The ID of the stack instance. + /// + /// + public string StackId + { + get { return this._stackId; } + set { this._stackId = value; } + } + + // Check to see if StackId property is set + internal bool IsSetStackId() + { + return this._stackId != null; + } + + /// + /// Gets and sets the property StackSetId. + /// + /// The name or unique ID of the stack set that the stack instance is associated with. + /// + /// + public string StackSetId + { + get { return this._stackSetId; } + set { this._stackSetId = value; } + } + + // Check to see if StackSetId property is set + internal bool IsSetStackSetId() + { + return this._stackSetId != null; + } + + /// + /// Gets and sets the property Status. + /// + /// The status of the stack instance, in terms of its synchronization with its associated + /// stack set. + /// + ///
  • + /// + /// INOPERABLE: A DeleteStackInstances operation has failed + /// and left the stack in an unstable state. Stacks in this state are excluded from further + /// UpdateStackSet and DeleteStackInstances operations. You + /// might need to clean up the stack manually. + /// + ///
  • + /// + /// OUTDATED: The stack isn't currently up to date with the stack set because: + /// + ///
    • + /// + /// The associated stack failed during a CreateStackSet or UpdateStackSet + /// operation. + /// + ///
    • + /// + /// The stack was part of a CreateStackSet or UpdateStackSet + /// operation that failed or was stopped before the stack was created or updated. + /// + ///
  • + /// + /// CURRENT: The stack is currently up to date with the stack set. + /// + ///
+ ///
+ public StackInstanceStatus Status + { + get { return this._status; } + set { this._status = value; } + } + + // Check to see if Status property is set + internal bool IsSetStatus() + { + return this._status != null; + } + + /// + /// Gets and sets the property StatusReason. + /// + /// The explanation for the specific status code that is assigned to this stack instance. + /// + /// + public string StatusReason + { + get { return this._statusReason; } + set { this._statusReason = value; } + } + + // Check to see if StatusReason property is set + internal bool IsSetStatusReason() + { + return this._statusReason != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StackInstanceNotFoundException.cs b/sdk/src/Services/CloudFormation/Generated/Model/StackInstanceNotFoundException.cs new file mode 100644 index 000000000000..f31b2ce6a9bd --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StackInstanceNotFoundException.cs @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2014 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.Net; +using Amazon.Runtime; + +namespace Amazon.CloudFormation.Model +{ + /// + /// CloudFormation exception + /// +#if !PCL && !CORECLR + [Serializable] +#endif + public class StackInstanceNotFoundException : AmazonCloudFormationException + { + /// + /// Constructs a new StackInstanceNotFoundException with the specified error + /// message. + /// + /// + /// Describes the error encountered. + /// + public StackInstanceNotFoundException(string message) + : base(message) {} + + /// + /// Construct instance of StackInstanceNotFoundException + /// + /// + /// + public StackInstanceNotFoundException(string message, Exception innerException) + : base(message, innerException) {} + + /// + /// Construct instance of StackInstanceNotFoundException + /// + /// + public StackInstanceNotFoundException(Exception innerException) + : base(innerException) {} + + /// + /// Construct instance of StackInstanceNotFoundException + /// + /// + /// + /// + /// + /// + /// + public StackInstanceNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, innerException, errorType, errorCode, requestId, statusCode) {} + + /// + /// Construct instance of StackInstanceNotFoundException + /// + /// + /// + /// + /// + /// + public StackInstanceNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, errorType, errorCode, requestId, statusCode) {} + + +#if !PCL && !CORECLR + /// + /// Constructs a new instance of the StackInstanceNotFoundException class with serialized data. + /// + /// The that holds the serialized object data about the exception being thrown. + /// The that contains contextual information about the source or destination. + /// The parameter is null. + /// The class name is null or is zero (0). + protected StackInstanceNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) + : base(info, context) + { + } + +#endif + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StackInstanceSummary.cs b/sdk/src/Services/CloudFormation/Generated/Model/StackInstanceSummary.cs new file mode 100644 index 000000000000..d095e1988599 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StackInstanceSummary.cs @@ -0,0 +1,178 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// The structure that contains summary information about a stack instance. + /// + public partial class StackInstanceSummary + { + private string _account; + private string _region; + private string _stackId; + private string _stackSetId; + private StackInstanceStatus _status; + private string _statusReason; + + /// + /// Gets and sets the property Account. + /// + /// The name of the AWS account that the stack instance is associated with. + /// + /// + public string Account + { + get { return this._account; } + set { this._account = value; } + } + + // Check to see if Account property is set + internal bool IsSetAccount() + { + return this._account != null; + } + + /// + /// Gets and sets the property Region. + /// + /// The name of the AWS region that the stack instance is associated with. + /// + /// + public string Region + { + get { return this._region; } + set { this._region = value; } + } + + // Check to see if Region property is set + internal bool IsSetRegion() + { + return this._region != null; + } + + /// + /// Gets and sets the property StackId. + /// + /// The ID of the stack instance. + /// + /// + public string StackId + { + get { return this._stackId; } + set { this._stackId = value; } + } + + // Check to see if StackId property is set + internal bool IsSetStackId() + { + return this._stackId != null; + } + + /// + /// Gets and sets the property StackSetId. + /// + /// The name or unique ID of the stack set that the stack instance is associated with. + /// + /// + public string StackSetId + { + get { return this._stackSetId; } + set { this._stackSetId = value; } + } + + // Check to see if StackSetId property is set + internal bool IsSetStackSetId() + { + return this._stackSetId != null; + } + + /// + /// Gets and sets the property Status. + /// + /// The status of the stack instance, in terms of its synchronization with its associated + /// stack set. + /// + ///
  • + /// + /// INOPERABLE: A DeleteStackInstances operation has failed + /// and left the stack in an unstable state. Stacks in this state are excluded from further + /// UpdateStackSet and DeleteStackInstances operations. You + /// might need to clean up the stack manually. + /// + ///
  • + /// + /// OUTDATED: The stack isn't currently up to date with the stack set because: + /// + ///
    • + /// + /// The associated stack failed during a CreateStackSet or UpdateStackSet + /// operation. + /// + ///
    • + /// + /// The stack was part of a CreateStackSet or UpdateStackSet + /// operation that failed or was stopped before the stack was created or updated. + /// + ///
  • + /// + /// CURRENT: The stack is currently up to date with the stack set. + /// + ///
+ ///
+ public StackInstanceStatus Status + { + get { return this._status; } + set { this._status = value; } + } + + // Check to see if Status property is set + internal bool IsSetStatus() + { + return this._status != null; + } + + /// + /// Gets and sets the property StatusReason. + /// + /// The explanation for the specific status code assigned to this stack instance. + /// + /// + public string StatusReason + { + get { return this._statusReason; } + set { this._statusReason = value; } + } + + // Check to see if StatusReason property is set + internal bool IsSetStatusReason() + { + return this._statusReason != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StackSet.cs b/sdk/src/Services/CloudFormation/Generated/Model/StackSet.cs new file mode 100644 index 000000000000..1a714d17b88c --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StackSet.cs @@ -0,0 +1,198 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// A structure that contains information about a stack set. A stack set enables you to + /// provision stacks into AWS accounts and across regions by using a single CloudFormation + /// template. In the stack set, you specify the template to use, as well as any parameters + /// and capabilities that the template requires. + /// + public partial class StackSet + { + private List _capabilities = new List(); + private string _description; + private List _parameters = new List(); + private string _stackSetId; + private string _stackSetName; + private StackSetStatus _status; + private List _tags = new List(); + private string _templateBody; + + /// + /// Gets and sets the property Capabilities. + /// + /// The capabilities that are allowed in the stack set. Some stack set templates might + /// include resources that can affect permissions in your AWS account—for example, by + /// creating new AWS Identity and Access Management (IAM) users. For more information, + /// see Acknowledging + /// IAM Resources in AWS CloudFormation Templates. + /// + /// + public List Capabilities + { + get { return this._capabilities; } + set { this._capabilities = value; } + } + + // Check to see if Capabilities property is set + internal bool IsSetCapabilities() + { + return this._capabilities != null && this._capabilities.Count > 0; + } + + /// + /// Gets and sets the property Description. + /// + /// A description of the stack set that you specify when the stack set is created or updated. + /// + /// + public string Description + { + get { return this._description; } + set { this._description = value; } + } + + // Check to see if Description property is set + internal bool IsSetDescription() + { + return this._description != null; + } + + /// + /// Gets and sets the property Parameters. + /// + /// A list of input parameters for a stack set. + /// + /// + public List Parameters + { + get { return this._parameters; } + set { this._parameters = value; } + } + + // Check to see if Parameters property is set + internal bool IsSetParameters() + { + return this._parameters != null && this._parameters.Count > 0; + } + + /// + /// Gets and sets the property StackSetId. + /// + /// The ID of the stack set. + /// + /// + public string StackSetId + { + get { return this._stackSetId; } + set { this._stackSetId = value; } + } + + // Check to see if StackSetId property is set + internal bool IsSetStackSetId() + { + return this._stackSetId != null; + } + + /// + /// Gets and sets the property StackSetName. + /// + /// The name that's associated with the stack set. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + /// + /// Gets and sets the property Status. + /// + /// The status of the stack set. + /// + /// + public StackSetStatus Status + { + get { return this._status; } + set { this._status = value; } + } + + // Check to see if Status property is set + internal bool IsSetStatus() + { + return this._status != null; + } + + /// + /// Gets and sets the property Tags. + /// + /// A list of tags that specify information about the stack set. A maximum number of 50 + /// tags can be specified. + /// + /// + public List Tags + { + get { return this._tags; } + set { this._tags = value; } + } + + // Check to see if Tags property is set + internal bool IsSetTags() + { + return this._tags != null && this._tags.Count > 0; + } + + /// + /// Gets and sets the property TemplateBody. + /// + /// The structure that contains the body of the template that was used to create or update + /// the stack set. + /// + /// + public string TemplateBody + { + get { return this._templateBody; } + set { this._templateBody = value; } + } + + // Check to see if TemplateBody property is set + internal bool IsSetTemplateBody() + { + return this._templateBody != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StackSetNotEmptyException.cs b/sdk/src/Services/CloudFormation/Generated/Model/StackSetNotEmptyException.cs new file mode 100644 index 000000000000..bc54275faa56 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StackSetNotEmptyException.cs @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2014 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.Net; +using Amazon.Runtime; + +namespace Amazon.CloudFormation.Model +{ + /// + /// CloudFormation exception + /// +#if !PCL && !CORECLR + [Serializable] +#endif + public class StackSetNotEmptyException : AmazonCloudFormationException + { + /// + /// Constructs a new StackSetNotEmptyException with the specified error + /// message. + /// + /// + /// Describes the error encountered. + /// + public StackSetNotEmptyException(string message) + : base(message) {} + + /// + /// Construct instance of StackSetNotEmptyException + /// + /// + /// + public StackSetNotEmptyException(string message, Exception innerException) + : base(message, innerException) {} + + /// + /// Construct instance of StackSetNotEmptyException + /// + /// + public StackSetNotEmptyException(Exception innerException) + : base(innerException) {} + + /// + /// Construct instance of StackSetNotEmptyException + /// + /// + /// + /// + /// + /// + /// + public StackSetNotEmptyException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, innerException, errorType, errorCode, requestId, statusCode) {} + + /// + /// Construct instance of StackSetNotEmptyException + /// + /// + /// + /// + /// + /// + public StackSetNotEmptyException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, errorType, errorCode, requestId, statusCode) {} + + +#if !PCL && !CORECLR + /// + /// Constructs a new instance of the StackSetNotEmptyException class with serialized data. + /// + /// The that holds the serialized object data about the exception being thrown. + /// The that contains contextual information about the source or destination. + /// The parameter is null. + /// The class name is null or is zero (0). + protected StackSetNotEmptyException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) + : base(info, context) + { + } + +#endif + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StackSetNotFoundException.cs b/sdk/src/Services/CloudFormation/Generated/Model/StackSetNotFoundException.cs new file mode 100644 index 000000000000..21dabfe91c48 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StackSetNotFoundException.cs @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2014 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.Net; +using Amazon.Runtime; + +namespace Amazon.CloudFormation.Model +{ + /// + /// CloudFormation exception + /// +#if !PCL && !CORECLR + [Serializable] +#endif + public class StackSetNotFoundException : AmazonCloudFormationException + { + /// + /// Constructs a new StackSetNotFoundException with the specified error + /// message. + /// + /// + /// Describes the error encountered. + /// + public StackSetNotFoundException(string message) + : base(message) {} + + /// + /// Construct instance of StackSetNotFoundException + /// + /// + /// + public StackSetNotFoundException(string message, Exception innerException) + : base(message, innerException) {} + + /// + /// Construct instance of StackSetNotFoundException + /// + /// + public StackSetNotFoundException(Exception innerException) + : base(innerException) {} + + /// + /// Construct instance of StackSetNotFoundException + /// + /// + /// + /// + /// + /// + /// + public StackSetNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, innerException, errorType, errorCode, requestId, statusCode) {} + + /// + /// Construct instance of StackSetNotFoundException + /// + /// + /// + /// + /// + /// + public StackSetNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, errorType, errorCode, requestId, statusCode) {} + + +#if !PCL && !CORECLR + /// + /// Constructs a new instance of the StackSetNotFoundException class with serialized data. + /// + /// The that holds the serialized object data about the exception being thrown. + /// The that contains contextual information about the source or destination. + /// The parameter is null. + /// The class name is null or is zero (0). + protected StackSetNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) + : base(info, context) + { + } + +#endif + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StackSetOperation.cs b/sdk/src/Services/CloudFormation/Generated/Model/StackSetOperation.cs new file mode 100644 index 000000000000..c137e7d78d04 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StackSetOperation.cs @@ -0,0 +1,230 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// The structure that contains information about a stack set operation. + /// + public partial class StackSetOperation + { + private StackSetOperationAction _action; + private DateTime? _creationTimestamp; + private DateTime? _endTimestamp; + private string _operationId; + private StackSetOperationPreferences _operationPreferences; + private bool? _retainStacks; + private string _stackSetId; + private StackSetOperationStatus _status; + + /// + /// Gets and sets the property Action. + /// + /// The type of stack set operation: CREATE, UPDATE, or DELETE. + /// Create and delete operations affect only the specified stack set instances that are + /// associated with the specified stack set. Update operations affect both the stack set + /// itself, as well as all associated stack set instances. + /// + /// + public StackSetOperationAction Action + { + get { return this._action; } + set { this._action = value; } + } + + // Check to see if Action property is set + internal bool IsSetAction() + { + return this._action != null; + } + + /// + /// Gets and sets the property CreationTimestamp. + /// + /// The time at which the operation was initiated. Note that the creation times for the + /// stack set operation might differ from the creation time of the individual stacks themselves. + /// This is because AWS CloudFormation needs to perform preparatory work for the operation, + /// such as dispatching the work to the requested regions, before actually creating the + /// first stacks. + /// + /// + public DateTime CreationTimestamp + { + get { return this._creationTimestamp.GetValueOrDefault(); } + set { this._creationTimestamp = value; } + } + + // Check to see if CreationTimestamp property is set + internal bool IsSetCreationTimestamp() + { + return this._creationTimestamp.HasValue; + } + + /// + /// Gets and sets the property EndTimestamp. + /// + /// The time at which the stack set operation ended, across all accounts and regions specified. + /// Note that this doesn't necessarily mean that the stack set operation was successful, + /// or even attempted, in each account or region. + /// + /// + public DateTime EndTimestamp + { + get { return this._endTimestamp.GetValueOrDefault(); } + set { this._endTimestamp = value; } + } + + // Check to see if EndTimestamp property is set + internal bool IsSetEndTimestamp() + { + return this._endTimestamp.HasValue; + } + + /// + /// Gets and sets the property OperationId. + /// + /// The unique ID of a stack set operation. + /// + /// + public string OperationId + { + get { return this._operationId; } + set { this._operationId = value; } + } + + // Check to see if OperationId property is set + internal bool IsSetOperationId() + { + return this._operationId != null; + } + + /// + /// Gets and sets the property OperationPreferences. + /// + /// The preferences for how AWS CloudFormation performs this stack set operation. + /// + /// + public StackSetOperationPreferences OperationPreferences + { + get { return this._operationPreferences; } + set { this._operationPreferences = value; } + } + + // Check to see if OperationPreferences property is set + internal bool IsSetOperationPreferences() + { + return this._operationPreferences != null; + } + + /// + /// Gets and sets the property RetainStacks. + /// + /// For stack set operations of action type DELETE, specifies whether to + /// remove the stack instances from the specified stack set, but doesn't delete the stacks. + /// You can't reassociate a retained stack, or add an existing, saved stack to a new stack + /// set. + /// + /// + public bool RetainStacks + { + get { return this._retainStacks.GetValueOrDefault(); } + set { this._retainStacks = value; } + } + + // Check to see if RetainStacks property is set + internal bool IsSetRetainStacks() + { + return this._retainStacks.HasValue; + } + + /// + /// Gets and sets the property StackSetId. + /// + /// The ID of the stack set. + /// + /// + public string StackSetId + { + get { return this._stackSetId; } + set { this._stackSetId = value; } + } + + // Check to see if StackSetId property is set + internal bool IsSetStackSetId() + { + return this._stackSetId != null; + } + + /// + /// Gets and sets the property Status. + /// + /// The status of the operation. + /// + ///
  • + /// + /// FAILED: The operation exceeded the specified failure tolerance. The + /// failure tolerance value that you've set for an operation is applied for each region + /// during stack create and update operations. If the number of failed stacks within a + /// region exceeds the failure tolerance, the status of the operation in the region is + /// set to FAILED. This in turn sets the status of the operation as a whole + /// to FAILED, and AWS CloudFormation cancels the operation in any remaining + /// regions. + /// + ///
  • + /// + /// RUNNING: The operation is currently being performed. + /// + ///
  • + /// + /// STOPPED: The user has cancelled the operation. + /// + ///
  • + /// + /// STOPPING: The operation is in the process of stopping, at user request. + /// + /// + ///
  • + /// + /// SUCCEEDED: The operation completed creating or updating all the specified + /// stacks without exceeding the failure tolerance for the operation. + /// + ///
+ ///
+ public StackSetOperationStatus Status + { + get { return this._status; } + set { this._status = value; } + } + + // Check to see if Status property is set + internal bool IsSetStatus() + { + return this._status != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StackSetOperationPreferences.cs b/sdk/src/Services/CloudFormation/Generated/Model/StackSetOperationPreferences.cs new file mode 100644 index 000000000000..9994d32b50fb --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StackSetOperationPreferences.cs @@ -0,0 +1,169 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// The user-specified preferences for how AWS CloudFormation performs a stack set operation. + /// + public partial class StackSetOperationPreferences + { + private int? _failureToleranceCount; + private int? _failureTolerancePercentage; + private int? _maxConcurrentCount; + private int? _maxConcurrentPercentage; + private List _regionOrder = new List(); + + /// + /// Gets and sets the property FailureToleranceCount. + /// + /// The number of accounts, per region, for which this operation can fail before AWS CloudFormation + /// stops the operation in that region. If the operation is stopped in a region, AWS CloudFormation + /// doesn't attempt the operation in any subsequent regions. + /// + /// + /// + /// Conditional: You must specify either FailureToleranceCount or FailureTolerancePercentage + /// (but not both). + /// + /// + public int FailureToleranceCount + { + get { return this._failureToleranceCount.GetValueOrDefault(); } + set { this._failureToleranceCount = value; } + } + + // Check to see if FailureToleranceCount property is set + internal bool IsSetFailureToleranceCount() + { + return this._failureToleranceCount.HasValue; + } + + /// + /// Gets and sets the property FailureTolerancePercentage. + /// + /// The percentage of accounts, per region, for which this stack operation can fail before + /// AWS CloudFormation stops the operation in that region. If the operation is stopped + /// in a region, AWS CloudFormation doesn't attempt the operation in any subsequent regions. + /// + /// + /// + /// When calculating the number of accounts based on the specified percentage, AWS CloudFormation + /// rounds down to the next whole number. + /// + /// + /// + /// Conditional: You must specify either FailureToleranceCount or FailureTolerancePercentage, + /// but not both. + /// + /// + public int FailureTolerancePercentage + { + get { return this._failureTolerancePercentage.GetValueOrDefault(); } + set { this._failureTolerancePercentage = value; } + } + + // Check to see if FailureTolerancePercentage property is set + internal bool IsSetFailureTolerancePercentage() + { + return this._failureTolerancePercentage.HasValue; + } + + /// + /// Gets and sets the property MaxConcurrentCount. + /// + /// The maximum number of accounts in which to perform this operation at one time. This + /// is dependent on the value of FailureToleranceCount—MaxConcurrentCount + /// is at most one more than the FailureToleranceCount . + /// + /// + /// + /// Conditional: You must specify either MaxConcurrentCount or MaxConcurrentPercentage, + /// but not both. + /// + /// + public int MaxConcurrentCount + { + get { return this._maxConcurrentCount.GetValueOrDefault(); } + set { this._maxConcurrentCount = value; } + } + + // Check to see if MaxConcurrentCount property is set + internal bool IsSetMaxConcurrentCount() + { + return this._maxConcurrentCount.HasValue; + } + + /// + /// Gets and sets the property MaxConcurrentPercentage. + /// + /// The maximum percentage of accounts in which to perform this operation at one time. + /// + /// + /// + /// When calculating the number of accounts based on the specified percentage, AWS CloudFormation + /// rounds down to the next whole number. This is true except in cases where rounding + /// down would result is zero. In this case, CloudFormation sets the number as one instead. + /// + /// + /// + /// Conditional: You must specify either MaxConcurrentCount or MaxConcurrentPercentage, + /// but not both. + /// + /// + public int MaxConcurrentPercentage + { + get { return this._maxConcurrentPercentage.GetValueOrDefault(); } + set { this._maxConcurrentPercentage = value; } + } + + // Check to see if MaxConcurrentPercentage property is set + internal bool IsSetMaxConcurrentPercentage() + { + return this._maxConcurrentPercentage.HasValue; + } + + /// + /// Gets and sets the property RegionOrder. + /// + /// The order of the regions in where you want to perform the stack operation. + /// + /// + public List RegionOrder + { + get { return this._regionOrder; } + set { this._regionOrder = value; } + } + + // Check to see if RegionOrder property is set + internal bool IsSetRegionOrder() + { + return this._regionOrder != null && this._regionOrder.Count > 0; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StackSetOperationResultSummary.cs b/sdk/src/Services/CloudFormation/Generated/Model/StackSetOperationResultSummary.cs new file mode 100644 index 000000000000..90baac8af35c --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StackSetOperationResultSummary.cs @@ -0,0 +1,165 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// The structure that contains information about a specified operation's results for + /// a given account in a given region. + /// + public partial class StackSetOperationResultSummary + { + private string _account; + private AccountGateResult _accountGateResult; + private string _region; + private StackSetOperationResultStatus _status; + private string _statusReason; + + /// + /// Gets and sets the property Account. + /// + /// The name of the AWS account for this operation result. + /// + /// + public string Account + { + get { return this._account; } + set { this._account = value; } + } + + // Check to see if Account property is set + internal bool IsSetAccount() + { + return this._account != null; + } + + /// + /// Gets and sets the property AccountGateResult. + /// + /// The results of the account gate function AWS CloudFormation invokes, if present, before + /// proceeding with stack set operations in an account + /// + /// + public AccountGateResult AccountGateResult + { + get { return this._accountGateResult; } + set { this._accountGateResult = value; } + } + + // Check to see if AccountGateResult property is set + internal bool IsSetAccountGateResult() + { + return this._accountGateResult != null; + } + + /// + /// Gets and sets the property Region. + /// + /// The name of the AWS region for this operation result. + /// + /// + public string Region + { + get { return this._region; } + set { this._region = value; } + } + + // Check to see if Region property is set + internal bool IsSetRegion() + { + return this._region != null; + } + + /// + /// Gets and sets the property Status. + /// + /// The result status of the stack set operation for the given account in the given region. + /// + ///
  • + /// + /// CANCELLED: The operation in the specified account and region has been + /// cancelled. This is either because a user has stopped the stack set operation, or because + /// the failure tolerance of the stack set operation has been exceeded. + /// + ///
  • + /// + /// FAILED: The operation in the specified account and region failed. + /// + /// + /// + /// If the stack set operation fails in enough accounts within a region, the failure tolerance + /// for the stack set operation as a whole might be exceeded. + /// + ///
  • + /// + /// RUNNING: The operation in the specified account and region is currently + /// in progress. + /// + ///
  • + /// + /// PENDING: The operation in the specified account and region has yet to + /// start. + /// + ///
  • + /// + /// SUCCEEDED: The operation in the specified account and region completed + /// successfully. + /// + ///
+ ///
+ public StackSetOperationResultStatus Status + { + get { return this._status; } + set { this._status = value; } + } + + // Check to see if Status property is set + internal bool IsSetStatus() + { + return this._status != null; + } + + /// + /// Gets and sets the property StatusReason. + /// + /// The reason for the assigned result status. + /// + /// + public string StatusReason + { + get { return this._statusReason; } + set { this._statusReason = value; } + } + + // Check to see if StatusReason property is set + internal bool IsSetStatusReason() + { + return this._statusReason != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StackSetOperationSummary.cs b/sdk/src/Services/CloudFormation/Generated/Model/StackSetOperationSummary.cs new file mode 100644 index 000000000000..a3162cd4e032 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StackSetOperationSummary.cs @@ -0,0 +1,170 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// The structures that contain summary information about the specified operation. + /// + public partial class StackSetOperationSummary + { + private StackSetOperationAction _action; + private DateTime? _creationTimestamp; + private DateTime? _endTimestamp; + private string _operationId; + private StackSetOperationStatus _status; + + /// + /// Gets and sets the property Action. + /// + /// The type of operation: CREATE, UPDATE, or DELETE. + /// Create and delete operations affect only the specified stack instances that are associated + /// with the specified stack set. Update operations affect both the stack set itself as + /// well as all associated stack set instances. + /// + /// + public StackSetOperationAction Action + { + get { return this._action; } + set { this._action = value; } + } + + // Check to see if Action property is set + internal bool IsSetAction() + { + return this._action != null; + } + + /// + /// Gets and sets the property CreationTimestamp. + /// + /// The time at which the operation was initiated. Note that the creation times for the + /// stack set operation might differ from the creation time of the individual stacks themselves. + /// This is because AWS CloudFormation needs to perform preparatory work for the operation, + /// such as dispatching the work to the requested regions, before actually creating the + /// first stacks. + /// + /// + public DateTime CreationTimestamp + { + get { return this._creationTimestamp.GetValueOrDefault(); } + set { this._creationTimestamp = value; } + } + + // Check to see if CreationTimestamp property is set + internal bool IsSetCreationTimestamp() + { + return this._creationTimestamp.HasValue; + } + + /// + /// Gets and sets the property EndTimestamp. + /// + /// The time at which the stack set operation ended, across all accounts and regions specified. + /// Note that this doesn't necessarily mean that the stack set operation was successful, + /// or even attempted, in each account or region. + /// + /// + public DateTime EndTimestamp + { + get { return this._endTimestamp.GetValueOrDefault(); } + set { this._endTimestamp = value; } + } + + // Check to see if EndTimestamp property is set + internal bool IsSetEndTimestamp() + { + return this._endTimestamp.HasValue; + } + + /// + /// Gets and sets the property OperationId. + /// + /// The unique ID of the stack set operation. + /// + /// + public string OperationId + { + get { return this._operationId; } + set { this._operationId = value; } + } + + // Check to see if OperationId property is set + internal bool IsSetOperationId() + { + return this._operationId != null; + } + + /// + /// Gets and sets the property Status. + /// + /// The overall status of the operation. + /// + ///
  • + /// + /// FAILED: The operation exceeded the specified failure tolerance. The + /// failure tolerance value that you've set for an operation is applied for each region + /// during stack create and update operations. If the number of failed stacks within a + /// region exceeds the failure tolerance, the status of the operation in the region is + /// set to FAILED. This in turn sets the status of the operation as a whole + /// to FAILED, and AWS CloudFormation cancels the operation in any remaining + /// regions. + /// + ///
  • + /// + /// RUNNING: The operation is currently being performed. + /// + ///
  • + /// + /// STOPPED: The user has cancelled the operation. + /// + ///
  • + /// + /// STOPPING: The operation is in the process of stopping, at user request. + /// + /// + ///
  • + /// + /// SUCCEEDED: The operation completed creating or updating all the specified + /// stacks without exceeding the failure tolerance for the operation. + /// + ///
+ ///
+ public StackSetOperationStatus Status + { + get { return this._status; } + set { this._status = value; } + } + + // Check to see if Status property is set + internal bool IsSetStatus() + { + return this._status != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StackSetSummary.cs b/sdk/src/Services/CloudFormation/Generated/Model/StackSetSummary.cs new file mode 100644 index 000000000000..a28f49af232b --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StackSetSummary.cs @@ -0,0 +1,113 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// The structures that contain summary information about the specified stack set. + /// + public partial class StackSetSummary + { + private string _description; + private string _stackSetId; + private string _stackSetName; + private StackSetStatus _status; + + /// + /// Gets and sets the property Description. + /// + /// A description of the stack set that you specify when the stack set is created or updated. + /// + /// + public string Description + { + get { return this._description; } + set { this._description = value; } + } + + // Check to see if Description property is set + internal bool IsSetDescription() + { + return this._description != null; + } + + /// + /// Gets and sets the property StackSetId. + /// + /// The ID of the stack set. + /// + /// + public string StackSetId + { + get { return this._stackSetId; } + set { this._stackSetId = value; } + } + + // Check to see if StackSetId property is set + internal bool IsSetStackSetId() + { + return this._stackSetId != null; + } + + /// + /// Gets and sets the property StackSetName. + /// + /// The name of the stack set. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + /// + /// Gets and sets the property Status. + /// + /// The status of the stack set. + /// + /// + public StackSetStatus Status + { + get { return this._status; } + set { this._status = value; } + } + + // Check to see if Status property is set + internal bool IsSetStatus() + { + return this._status != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StaleRequestException.cs b/sdk/src/Services/CloudFormation/Generated/Model/StaleRequestException.cs new file mode 100644 index 000000000000..75796f0b56f5 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StaleRequestException.cs @@ -0,0 +1,97 @@ +/* + * Copyright 2010-2014 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.Net; +using Amazon.Runtime; + +namespace Amazon.CloudFormation.Model +{ + /// + /// CloudFormation exception + /// +#if !PCL && !CORECLR + [Serializable] +#endif + public class StaleRequestException : AmazonCloudFormationException + { + /// + /// Constructs a new StaleRequestException with the specified error + /// message. + /// + /// + /// Describes the error encountered. + /// + public StaleRequestException(string message) + : base(message) {} + + /// + /// Construct instance of StaleRequestException + /// + /// + /// + public StaleRequestException(string message, Exception innerException) + : base(message, innerException) {} + + /// + /// Construct instance of StaleRequestException + /// + /// + public StaleRequestException(Exception innerException) + : base(innerException) {} + + /// + /// Construct instance of StaleRequestException + /// + /// + /// + /// + /// + /// + /// + public StaleRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, innerException, errorType, errorCode, requestId, statusCode) {} + + /// + /// Construct instance of StaleRequestException + /// + /// + /// + /// + /// + /// + public StaleRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) + : base(message, errorType, errorCode, requestId, statusCode) {} + + +#if !PCL && !CORECLR + /// + /// Constructs a new instance of the StaleRequestException class with serialized data. + /// + /// The that holds the serialized object data about the exception being thrown. + /// The that contains contextual information about the source or destination. + /// The parameter is null. + /// The class name is null or is zero (0). + protected StaleRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) + : base(info, context) + { + } + +#endif + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StopStackSetOperationRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/StopStackSetOperationRequest.cs new file mode 100644 index 000000000000..88efe9421f62 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StopStackSetOperationRequest.cs @@ -0,0 +1,76 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the StopStackSetOperation operation. + /// Stops an in-progress operation on a stack set and its associated stack instances. + /// + public partial class StopStackSetOperationRequest : AmazonCloudFormationRequest + { + private string _operationId; + private string _stackSetName; + + /// + /// Gets and sets the property OperationId. + /// + /// The ID of the stack operation. + /// + /// + public string OperationId + { + get { return this._operationId; } + set { this._operationId = value; } + } + + // Check to see if OperationId property is set + internal bool IsSetOperationId() + { + return this._operationId != null; + } + + /// + /// Gets and sets the property StackSetName. + /// + /// The name or unique ID of the stack set that you want to stop the operation for. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/StopStackSetOperationResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/StopStackSetOperationResponse.cs new file mode 100644 index 000000000000..e39fd0fcab43 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/StopStackSetOperationResponse.cs @@ -0,0 +1,37 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the StopStackSetOperation operation. + /// + public partial class StopStackSetOperationResponse : AmazonWebServiceResponse + { + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/UpdateStackRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/UpdateStackRequest.cs index b3c955a3c7f5..566b0ad4c058 100644 --- a/sdk/src/Services/CloudFormation/Generated/Model/UpdateStackRequest.cs +++ b/sdk/src/Services/CloudFormation/Generated/Model/UpdateStackRequest.cs @@ -119,6 +119,22 @@ internal bool IsSetCapabilities() /// to update a stack with the same name. You might retry UpdateStack requests /// to ensure that AWS CloudFormation successfully received them. ///
+ /// + /// + /// All events triggered by a given stack operation are assigned the same client request + /// token, which you can use to track operations. For example, if you execute a CreateStack + /// operation with the token token1, then all the StackEvents + /// generated by that operation will have ClientRequestToken set as token1. + /// + /// + /// + /// In the console, stack operations display the client request token on the Events tab. + /// Stack operations that are initiated from the console use the token format Console-StackOperation-ID, + /// which helps you easily identify the stack operation . For example, if you create a + /// stack using the console, each stack event would be assigned the same token in the + /// following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002. + /// + /// ///
public string ClientRequestToken { @@ -355,7 +371,7 @@ internal bool IsSetStackPolicyURL() /// Gets and sets the property Tags. /// /// Key-value pairs to associate with this stack. AWS CloudFormation also propagates these - /// tags to supported resources in the stack. You can specify a maximum number of 10 tags. + /// tags to supported resources in the stack. You can specify a maximum number of 50 tags. /// /// /// diff --git a/sdk/src/Services/CloudFormation/Generated/Model/UpdateStackSetRequest.cs b/sdk/src/Services/CloudFormation/Generated/Model/UpdateStackSetRequest.cs new file mode 100644 index 000000000000..61594e213f61 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/UpdateStackSetRequest.cs @@ -0,0 +1,360 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// Container for the parameters to the UpdateStackSet operation. + /// Updates the stack set and all associated stack instances. + /// + /// + /// + /// 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. + /// + /// + public partial class UpdateStackSetRequest : AmazonCloudFormationRequest + { + private List _capabilities = new List(); + private string _description; + private string _operationId; + private StackSetOperationPreferences _operationPreferences; + private List _parameters = new List(); + private string _stackSetName; + private List _tags = new List(); + private string _templateBody; + private string _templateURL; + private bool? _usePreviousTemplate; + + /// + /// Gets and sets the property Capabilities. + /// + /// A list of values that you must specify before AWS CloudFormation can create certain + /// stack sets. Some stack set templates might include resources that can affect permissions + /// in your AWS account—for example, by creating new AWS Identity and Access Management + /// (IAM) users. For those stack sets, you must explicitly acknowledge their capabilities + /// by specifying this parameter. + /// + /// + /// + /// The only valid values are CAPABILITY_IAM and CAPABILITY_NAMED_IAM. The following resources + /// require you to specify this parameter: + /// + ///
  • + /// + /// AWS::IAM::AccessKey + /// + ///
  • + /// + /// AWS::IAM::Group + /// + ///
  • + /// + /// AWS::IAM::InstanceProfile + /// + ///
  • + /// + /// AWS::IAM::Policy + /// + ///
  • + /// + /// AWS::IAM::Role + /// + ///
  • + /// + /// AWS::IAM::User + /// + ///
  • + /// + /// AWS::IAM::UserToGroupAddition + /// + ///
+ /// + /// If your stack template contains these resources, we recommend that you review all + /// permissions that are associated with them and edit their permissions if necessary. + /// + /// + /// + /// If you have IAM resources, you can specify either capability. If you have IAM resources + /// with custom names, you must specify CAPABILITY_NAMED_IAM. If you don't specify this + /// parameter, this action returns an InsufficientCapabilities error. + /// + /// + /// + /// For more information, see Acknowledging + /// IAM Resources in AWS CloudFormation Templates. + /// + ///
+ public List Capabilities + { + get { return this._capabilities; } + set { this._capabilities = value; } + } + + // Check to see if Capabilities property is set + internal bool IsSetCapabilities() + { + return this._capabilities != null && this._capabilities.Count > 0; + } + + /// + /// Gets and sets the property Description. + /// + /// A brief description of updates that you are making. + /// + /// + public string Description + { + get { return this._description; } + set { this._description = value; } + } + + // Check to see if Description property is set + internal bool IsSetDescription() + { + return this._description != null; + } + + /// + /// Gets and sets the property OperationId. + /// + /// The unique ID for this stack set operation. + /// + /// + /// + /// The operation ID also functions as an idempotency token, to ensure that AWS CloudFormation + /// performs the stack set operation only once, even if you retry the request multiple + /// times. You might retry stack set operation requests to ensure that AWS CloudFormation + /// successfully received them. + /// + /// + /// + /// If you don't specify an operation ID, AWS CloudFormation generates one automatically. + /// + /// + /// + /// Repeating this stack set operation with a new operation ID retries all stack instances + /// whose status is OUTDATED. + /// + /// + public string OperationId + { + get { return this._operationId; } + set { this._operationId = value; } + } + + // Check to see if OperationId property is set + internal bool IsSetOperationId() + { + return this._operationId != null; + } + + /// + /// Gets and sets the property OperationPreferences. + /// + /// Preferences for how AWS CloudFormation performs this stack set operation. + /// + /// + public StackSetOperationPreferences OperationPreferences + { + get { return this._operationPreferences; } + set { this._operationPreferences = value; } + } + + // Check to see if OperationPreferences property is set + internal bool IsSetOperationPreferences() + { + return this._operationPreferences != null; + } + + /// + /// Gets and sets the property Parameters. + /// + /// A list of input parameters for the stack set template. + /// + /// + public List Parameters + { + get { return this._parameters; } + set { this._parameters = value; } + } + + // Check to see if Parameters property is set + internal bool IsSetParameters() + { + return this._parameters != null && this._parameters.Count > 0; + } + + /// + /// Gets and sets the property StackSetName. + /// + /// The name or unique ID of the stack set that you want to update. + /// + /// + public string StackSetName + { + get { return this._stackSetName; } + set { this._stackSetName = value; } + } + + // Check to see if StackSetName property is set + internal bool IsSetStackSetName() + { + return this._stackSetName != null; + } + + /// + /// Gets and sets the property Tags. + /// + /// The key-value pairs to associate with this stack set and the stacks created from it. + /// AWS CloudFormation also propagates these tags to supported resources that are created + /// in the stacks. You can specify a maximum number of 50 tags. + /// + /// + /// + /// If you specify tags for this parameter, those tags replace any list of tags that are + /// currently associated with this stack set. This means: + /// + ///
  • + /// + /// If you don't specify this parameter, AWS CloudFormation doesn't modify the stack's + /// tags. + /// + ///
  • + /// + /// If you specify any tags using this parameter, you must specify all the + /// tags that you want associated with this stack set, even tags you've specifed before + /// (for example, when creating the stack set or during a previous update of the stack + /// set.). Any tags that you don't include in the updated list of tags are removed from + /// the stack set, and therefore from the stacks and resources as well. + /// + ///
  • + /// + /// If you specify an empty value, AWS CloudFormation removes all currently associated + /// tags. + /// + ///
+ /// + /// If you specify new tags as part of an UpdateStackSet action, AWS CloudFormation + /// checks to see if you have the required IAM permission to tag resources. If you omit + /// tags that are currently associated with the stack set from the list of tags you specify, + /// AWS CloudFormation assumes that you want to remove those tags from the stack set, + /// and checks to see if you have permission to untag resources. If you don't have the + /// necessary permission(s), the entire UpdateStackSet action fails with + /// an access denied error, and the stack set is not updated. + /// + ///
+ public List Tags + { + get { return this._tags; } + set { this._tags = value; } + } + + // Check to see if Tags property is set + internal bool IsSetTags() + { + return this._tags != null && this._tags.Count > 0; + } + + /// + /// Gets and sets the property TemplateBody. + /// + /// The structure that contains the template body, with a minimum length of 1 byte and + /// a maximum length of 51,200 bytes. For more information, see Template + /// Anatomy in the AWS CloudFormation User Guide. + /// + /// + /// + /// Conditional: You must specify only one of the following parameters: TemplateBody + /// or TemplateURL—or set UsePreviousTemplate to true. + /// + /// + public string TemplateBody + { + get { return this._templateBody; } + set { this._templateBody = value; } + } + + // Check to see if TemplateBody property is set + internal bool IsSetTemplateBody() + { + return this._templateBody != null; + } + + /// + /// Gets and sets the property TemplateURL. + /// + /// The location of the file that contains the template body. The URL must point to a + /// template (maximum size: 460,800 bytes) that is located in an Amazon S3 bucket. For + /// more information, see Template + /// Anatomy in the AWS CloudFormation User Guide. + /// + /// + /// + /// Conditional: You must specify only one of the following parameters: TemplateBody + /// or TemplateURL—or set UsePreviousTemplate to true. + /// + /// + public string TemplateURL + { + get { return this._templateURL; } + set { this._templateURL = value; } + } + + // Check to see if TemplateURL property is set + internal bool IsSetTemplateURL() + { + return this._templateURL != null; + } + + /// + /// Gets and sets the property UsePreviousTemplate. + /// + /// Use the existing template that's associated with the stack set that you're updating. + /// + /// + /// + /// Conditional: You must specify only one of the following parameters: TemplateBody + /// or TemplateURL—or set UsePreviousTemplate to true. + /// + /// + public bool UsePreviousTemplate + { + get { return this._usePreviousTemplate.GetValueOrDefault(); } + set { this._usePreviousTemplate = value; } + } + + // Check to see if UsePreviousTemplate property is set + internal bool IsSetUsePreviousTemplate() + { + return this._usePreviousTemplate.HasValue; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/Model/UpdateStackSetResponse.cs b/sdk/src/Services/CloudFormation/Generated/Model/UpdateStackSetResponse.cs new file mode 100644 index 000000000000..f9bf97cf4f34 --- /dev/null +++ b/sdk/src/Services/CloudFormation/Generated/Model/UpdateStackSetResponse.cs @@ -0,0 +1,56 @@ +/* + * Copyright 2010-2014 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.Collections.Generic; +using System.Xml.Serialization; +using System.Text; +using System.IO; + +using Amazon.Runtime; +using Amazon.Runtime.Internal; + +namespace Amazon.CloudFormation.Model +{ + /// + /// This is the response object from the UpdateStackSet operation. + /// + public partial class UpdateStackSetResponse : AmazonWebServiceResponse + { + private string _operationId; + + /// + /// Gets and sets the property OperationId. + /// + /// The unique ID for this stack set operation. + /// + /// + public string OperationId + { + get { return this._operationId; } + set { this._operationId = value; } + } + + // Check to see if OperationId property is set + internal bool IsSetOperationId() + { + return this._operationId != null; + } + + } +} \ No newline at end of file diff --git a/sdk/src/Services/CloudFormation/Generated/ServiceEnumerations.cs b/sdk/src/Services/CloudFormation/Generated/ServiceEnumerations.cs index 2ad1860b4363..9d21e6fb8dbb 100644 --- a/sdk/src/Services/CloudFormation/Generated/ServiceEnumerations.cs +++ b/sdk/src/Services/CloudFormation/Generated/ServiceEnumerations.cs @@ -24,6 +24,60 @@ namespace Amazon.CloudFormation { + /// + /// Constants used for properties of type AccountGateStatus. + /// + public class AccountGateStatus : ConstantClass + { + + /// + /// Constant FAILED for AccountGateStatus + /// + public static readonly AccountGateStatus FAILED = new AccountGateStatus("FAILED"); + /// + /// Constant SKIPPED for AccountGateStatus + /// + public static readonly AccountGateStatus SKIPPED = new AccountGateStatus("SKIPPED"); + /// + /// Constant SUCCEEDED for AccountGateStatus + /// + public static readonly AccountGateStatus SUCCEEDED = new AccountGateStatus("SUCCEEDED"); + + /// + /// This constant constructor does not need to be called if the constant + /// you are attempting to use is already defined as a static instance of + /// this class. + /// This constructor should be used to construct constants that are not + /// defined as statics, for instance if attempting to use a feature that is + /// newer than the current version of the SDK. + /// + public AccountGateStatus(string value) + : base(value) + { + } + + /// + /// Finds the constant for the unique value. + /// + /// The unique value for the constant + /// The constant for the unique value + public static AccountGateStatus FindValue(string value) + { + return FindValue(value); + } + + /// + /// Utility method to convert strings to the constant class. + /// + /// The string value to convert to the constant class. + /// + public static implicit operator AccountGateStatus(string value) + { + return FindValue(value); + } + } + + /// /// Constants used for properties of type Capability. /// @@ -824,6 +878,288 @@ public static implicit operator ResourceStatus(string value) } + /// + /// Constants used for properties of type StackInstanceStatus. + /// + public class StackInstanceStatus : ConstantClass + { + + /// + /// Constant CURRENT for StackInstanceStatus + /// + public static readonly StackInstanceStatus CURRENT = new StackInstanceStatus("CURRENT"); + /// + /// Constant INOPERABLE for StackInstanceStatus + /// + public static readonly StackInstanceStatus INOPERABLE = new StackInstanceStatus("INOPERABLE"); + /// + /// Constant OUTDATED for StackInstanceStatus + /// + public static readonly StackInstanceStatus OUTDATED = new StackInstanceStatus("OUTDATED"); + + /// + /// This constant constructor does not need to be called if the constant + /// you are attempting to use is already defined as a static instance of + /// this class. + /// This constructor should be used to construct constants that are not + /// defined as statics, for instance if attempting to use a feature that is + /// newer than the current version of the SDK. + /// + public StackInstanceStatus(string value) + : base(value) + { + } + + /// + /// Finds the constant for the unique value. + /// + /// The unique value for the constant + /// The constant for the unique value + public static StackInstanceStatus FindValue(string value) + { + return FindValue(value); + } + + /// + /// Utility method to convert strings to the constant class. + /// + /// The string value to convert to the constant class. + /// + public static implicit operator StackInstanceStatus(string value) + { + return FindValue(value); + } + } + + + /// + /// Constants used for properties of type StackSetOperationAction. + /// + public class StackSetOperationAction : ConstantClass + { + + /// + /// Constant CREATE for StackSetOperationAction + /// + public static readonly StackSetOperationAction CREATE = new StackSetOperationAction("CREATE"); + /// + /// Constant DELETE for StackSetOperationAction + /// + public static readonly StackSetOperationAction DELETE = new StackSetOperationAction("DELETE"); + /// + /// Constant UPDATE for StackSetOperationAction + /// + public static readonly StackSetOperationAction UPDATE = new StackSetOperationAction("UPDATE"); + + /// + /// This constant constructor does not need to be called if the constant + /// you are attempting to use is already defined as a static instance of + /// this class. + /// This constructor should be used to construct constants that are not + /// defined as statics, for instance if attempting to use a feature that is + /// newer than the current version of the SDK. + /// + public StackSetOperationAction(string value) + : base(value) + { + } + + /// + /// Finds the constant for the unique value. + /// + /// The unique value for the constant + /// The constant for the unique value + public static StackSetOperationAction FindValue(string value) + { + return FindValue(value); + } + + /// + /// Utility method to convert strings to the constant class. + /// + /// The string value to convert to the constant class. + /// + public static implicit operator StackSetOperationAction(string value) + { + return FindValue(value); + } + } + + + /// + /// Constants used for properties of type StackSetOperationResultStatus. + /// + public class StackSetOperationResultStatus : ConstantClass + { + + /// + /// Constant CANCELLED for StackSetOperationResultStatus + /// + public static readonly StackSetOperationResultStatus CANCELLED = new StackSetOperationResultStatus("CANCELLED"); + /// + /// Constant FAILED for StackSetOperationResultStatus + /// + public static readonly StackSetOperationResultStatus FAILED = new StackSetOperationResultStatus("FAILED"); + /// + /// Constant PENDING for StackSetOperationResultStatus + /// + public static readonly StackSetOperationResultStatus PENDING = new StackSetOperationResultStatus("PENDING"); + /// + /// Constant RUNNING for StackSetOperationResultStatus + /// + public static readonly StackSetOperationResultStatus RUNNING = new StackSetOperationResultStatus("RUNNING"); + /// + /// Constant SUCCEEDED for StackSetOperationResultStatus + /// + public static readonly StackSetOperationResultStatus SUCCEEDED = new StackSetOperationResultStatus("SUCCEEDED"); + + /// + /// This constant constructor does not need to be called if the constant + /// you are attempting to use is already defined as a static instance of + /// this class. + /// This constructor should be used to construct constants that are not + /// defined as statics, for instance if attempting to use a feature that is + /// newer than the current version of the SDK. + /// + public StackSetOperationResultStatus(string value) + : base(value) + { + } + + /// + /// Finds the constant for the unique value. + /// + /// The unique value for the constant + /// The constant for the unique value + public static StackSetOperationResultStatus FindValue(string value) + { + return FindValue(value); + } + + /// + /// Utility method to convert strings to the constant class. + /// + /// The string value to convert to the constant class. + /// + public static implicit operator StackSetOperationResultStatus(string value) + { + return FindValue(value); + } + } + + + /// + /// Constants used for properties of type StackSetOperationStatus. + /// + public class StackSetOperationStatus : ConstantClass + { + + /// + /// Constant FAILED for StackSetOperationStatus + /// + public static readonly StackSetOperationStatus FAILED = new StackSetOperationStatus("FAILED"); + /// + /// Constant RUNNING for StackSetOperationStatus + /// + public static readonly StackSetOperationStatus RUNNING = new StackSetOperationStatus("RUNNING"); + /// + /// Constant STOPPED for StackSetOperationStatus + /// + public static readonly StackSetOperationStatus STOPPED = new StackSetOperationStatus("STOPPED"); + /// + /// Constant STOPPING for StackSetOperationStatus + /// + public static readonly StackSetOperationStatus STOPPING = new StackSetOperationStatus("STOPPING"); + /// + /// Constant SUCCEEDED for StackSetOperationStatus + /// + public static readonly StackSetOperationStatus SUCCEEDED = new StackSetOperationStatus("SUCCEEDED"); + + /// + /// This constant constructor does not need to be called if the constant + /// you are attempting to use is already defined as a static instance of + /// this class. + /// This constructor should be used to construct constants that are not + /// defined as statics, for instance if attempting to use a feature that is + /// newer than the current version of the SDK. + /// + public StackSetOperationStatus(string value) + : base(value) + { + } + + /// + /// Finds the constant for the unique value. + /// + /// The unique value for the constant + /// The constant for the unique value + public static StackSetOperationStatus FindValue(string value) + { + return FindValue(value); + } + + /// + /// Utility method to convert strings to the constant class. + /// + /// The string value to convert to the constant class. + /// + public static implicit operator StackSetOperationStatus(string value) + { + return FindValue(value); + } + } + + + /// + /// Constants used for properties of type StackSetStatus. + /// + public class StackSetStatus : ConstantClass + { + + /// + /// Constant ACTIVE for StackSetStatus + /// + public static readonly StackSetStatus ACTIVE = new StackSetStatus("ACTIVE"); + /// + /// Constant DELETED for StackSetStatus + /// + public static readonly StackSetStatus DELETED = new StackSetStatus("DELETED"); + + /// + /// This constant constructor does not need to be called if the constant + /// you are attempting to use is already defined as a static instance of + /// this class. + /// This constructor should be used to construct constants that are not + /// defined as statics, for instance if attempting to use a feature that is + /// newer than the current version of the SDK. + /// + public StackSetStatus(string value) + : base(value) + { + } + + /// + /// Finds the constant for the unique value. + /// + /// The unique value for the constant + /// The constant for the unique value + public static StackSetStatus FindValue(string value) + { + return FindValue(value); + } + + /// + /// Utility method to convert strings to the constant class. + /// + /// The string value to convert to the constant class. + /// + public static implicit operator StackSetStatus(string value) + { + return FindValue(value); + } + } + + /// /// Constants used for properties of type StackStatus. /// diff --git a/sdk/src/Services/CloudFormation/Generated/_bcl35/AmazonCloudFormationClient.cs b/sdk/src/Services/CloudFormation/Generated/_bcl35/AmazonCloudFormationClient.cs index 6684f6bec029..a0d796e1826a 100644 --- a/sdk/src/Services/CloudFormation/Generated/_bcl35/AmazonCloudFormationClient.cs +++ b/sdk/src/Services/CloudFormation/Generated/_bcl35/AmazonCloudFormationClient.cs @@ -60,6 +60,387 @@ namespace Amazon.CloudFormation /// information about a specific AWS product, you can find the product's technical documentation /// at docs.aws.amazon.com. ///
+ /// + /// + /// APIs for stacks + /// + /// + /// + /// When you use AWS CloudFormation, you manage related resources as a single unit called + /// a stack. You create, update, and delete a collection of resources by creating, updating, + /// and deleting stacks. All the resources in a stack are defined by the stack's AWS CloudFormation + /// template. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// + /// + /// APIs for change sets + /// + /// + /// + /// If you need to make changes to the running resources in a stack, you update the stack. + /// Before making changes to your resources, you can generate a change set, which is summary + /// of your proposed changes. Change sets allow you to see how your changes might impact + /// your running resources, especially for critical resources, before implementing them. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// + /// + /// APIs for stack sets + /// + /// + /// + /// AWS CloudFormation StackSets lets you create a collection, or stack set, of stacks + /// that can automatically and safely provision a common set of AWS resources across multiple + /// AWS accounts and multiple AWS regions from a single AWS CloudFormation template. When + /// you create a stack set, AWS CloudFormation provisions a stack in each of the specified + /// accounts and regions by using the supplied AWS CloudFormation template and parameters. + /// Stack sets let you manage a common set of AWS resources in a selection of accounts + /// and regions in a single operation. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// /// public partial class AmazonCloudFormationClient : AmazonServiceClient, IAmazonCloudFormation { @@ -424,14 +805,14 @@ public ContinueUpdateRollbackResponse EndContinueUpdateRollback(IAsyncResult as /// /// The response from the CreateChangeSet service method, as returned by CloudFormation. /// - /// Resource with the name requested already exists. + /// The resource with the name requested already exists. /// /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// - /// Quota for the resource has already been reached. + /// The quota for the resource has already been reached. /// /// REST API Reference for CreateChangeSet Operation public CreateChangeSetResponse CreateChangeSet(CreateChangeSetRequest request) @@ -489,14 +870,14 @@ public CreateChangeSetResponse EndCreateChangeSet(IAsyncResult asyncResult) /// /// The response from the CreateStack service method, as returned by CloudFormation. /// - /// Resource with the name requested already exists. + /// The resource with the name requested already exists. /// /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// - /// Quota for the resource has already been reached. + /// The quota for the resource has already been reached. /// /// /// A client request token already exists. @@ -546,6 +927,144 @@ public CreateStackResponse EndCreateStack(IAsyncResult asyncResult) #endregion + #region CreateStackInstances + + /// + /// Creates stack instances for the specified accounts, within the specified regions. + /// A stack instance refers to a stack in a specific account and region. Accounts + /// and Regions are required parameters—you must specify at least one account + /// and one region. + /// + /// 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. + /// + /// + /// 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 CreateStackInstancesResponse CreateStackInstances(CreateStackInstancesRequest request) + { + var marshaller = new CreateStackInstancesRequestMarshaller(); + var unmarshaller = CreateStackInstancesResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the CreateStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the CreateStackInstances operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStackInstances + /// operation. + /// REST API Reference for CreateStackInstances Operation + public IAsyncResult BeginCreateStackInstances(CreateStackInstancesRequest request, AsyncCallback callback, object state) + { + var marshaller = new CreateStackInstancesRequestMarshaller(); + var unmarshaller = CreateStackInstancesResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the CreateStackInstances operation. + /// + /// + /// The IAsyncResult returned by the call to BeginCreateStackInstances. + /// + /// Returns a CreateStackInstancesResult from CloudFormation. + /// REST API Reference for CreateStackInstances Operation + public CreateStackInstancesResponse EndCreateStackInstances(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #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. + /// + /// + /// The specified name is already in use. + /// + /// REST API Reference for CreateStackSet Operation + public CreateStackSetResponse CreateStackSet(CreateStackSetRequest request) + { + var marshaller = new CreateStackSetRequestMarshaller(); + var unmarshaller = CreateStackSetResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the CreateStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the CreateStackSet operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStackSet + /// operation. + /// REST API Reference for CreateStackSet Operation + public IAsyncResult BeginCreateStackSet(CreateStackSetRequest request, AsyncCallback callback, object state) + { + var marshaller = new CreateStackSetRequestMarshaller(); + var unmarshaller = CreateStackSetResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the CreateStackSet operation. + /// + /// + /// The IAsyncResult returned by the call to BeginCreateStackSet. + /// + /// Returns a CreateStackSetResult from CloudFormation. + /// REST API Reference for CreateStackSet Operation + public CreateStackSetResponse EndCreateStackSet(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #endregion + #region DeleteChangeSet /// @@ -562,8 +1081,9 @@ public CreateStackResponse EndCreateStack(IAsyncResult asyncResult) /// /// The response from the DeleteChangeSet service method, as returned by CloudFormation. /// - /// The specified change set cannot 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. + /// 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 DeleteChangeSetResponse DeleteChangeSet(DeleteChangeSetRequest request) @@ -668,6 +1188,138 @@ public DeleteStackResponse EndDeleteStack(IAsyncResult asyncResult) #endregion + #region DeleteStackInstances + + /// + /// Deletes stack instances for the specified accounts, in the specified 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 DeleteStackInstancesResponse DeleteStackInstances(DeleteStackInstancesRequest request) + { + var marshaller = new DeleteStackInstancesRequestMarshaller(); + var unmarshaller = DeleteStackInstancesResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the DeleteStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the DeleteStackInstances operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteStackInstances + /// operation. + /// REST API Reference for DeleteStackInstances Operation + public IAsyncResult BeginDeleteStackInstances(DeleteStackInstancesRequest request, AsyncCallback callback, object state) + { + var marshaller = new DeleteStackInstancesRequestMarshaller(); + var unmarshaller = DeleteStackInstancesResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the DeleteStackInstances operation. + /// + /// + /// The IAsyncResult returned by the call to BeginDeleteStackInstances. + /// + /// Returns a DeleteStackInstancesResult from CloudFormation. + /// REST API Reference for DeleteStackInstances Operation + public DeleteStackInstancesResponse EndDeleteStackInstances(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #endregion + + #region DeleteStackSet + + /// + /// Deletes a stack set. Before you can delete a stack set, all of its member stack instances + /// must be deleted. For more information about how to do this, see DeleteStackInstances. + /// + /// 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 DeleteStackSetResponse DeleteStackSet(DeleteStackSetRequest request) + { + var marshaller = new DeleteStackSetRequestMarshaller(); + var unmarshaller = DeleteStackSetResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the DeleteStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the DeleteStackSet operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteStackSet + /// operation. + /// REST API Reference for DeleteStackSet Operation + public IAsyncResult BeginDeleteStackSet(DeleteStackSetRequest request, AsyncCallback callback, object state) + { + var marshaller = new DeleteStackSetRequestMarshaller(); + var unmarshaller = DeleteStackSetResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the DeleteStackSet operation. + /// + /// + /// The IAsyncResult returned by the call to BeginDeleteStackSet. + /// + /// Returns a DeleteStackSetResult from CloudFormation. + /// REST API Reference for DeleteStackSet Operation + public DeleteStackSetResponse EndDeleteStackSet(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #endregion + #region DescribeAccountLimits /// @@ -843,6 +1495,71 @@ public DescribeStackEventsResponse EndDescribeStackEvents(IAsyncResult asyncRes #endregion + #region DescribeStackInstance + + /// + /// Returns the stack instance that's associated with the specified stack set, AWS account, + /// and region. + /// + /// + /// + /// For a list of stack instances that are associated with a specific stack set, use ListStackInstances. + /// + /// + /// 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 DescribeStackInstanceResponse DescribeStackInstance(DescribeStackInstanceRequest request) + { + var marshaller = new DescribeStackInstanceRequestMarshaller(); + var unmarshaller = DescribeStackInstanceResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the DescribeStackInstance operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackInstance operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeStackInstance + /// operation. + /// REST API Reference for DescribeStackInstance Operation + public IAsyncResult BeginDescribeStackInstance(DescribeStackInstanceRequest request, AsyncCallback callback, object state) + { + var marshaller = new DescribeStackInstanceRequestMarshaller(); + var unmarshaller = DescribeStackInstanceResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the DescribeStackInstance operation. + /// + /// + /// The IAsyncResult returned by the call to BeginDescribeStackInstance. + /// + /// Returns a DescribeStackInstanceResult from CloudFormation. + /// REST API Reference for DescribeStackInstance Operation + public DescribeStackInstanceResponse EndDescribeStackInstance(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #endregion + #region DescribeStackResource /// @@ -961,102 +1678,217 @@ public DescribeStackResourcesResponse DescribeStackResources(DescribeStackResour /// REST API Reference for DescribeStackResources Operation public IAsyncResult BeginDescribeStackResources(DescribeStackResourcesRequest request, AsyncCallback callback, object state) { - var marshaller = new DescribeStackResourcesRequestMarshaller(); - var unmarshaller = DescribeStackResourcesResponseUnmarshaller.Instance; + var marshaller = new DescribeStackResourcesRequestMarshaller(); + var unmarshaller = DescribeStackResourcesResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the DescribeStackResources operation. + /// + /// + /// The IAsyncResult returned by the call to BeginDescribeStackResources. + /// + /// Returns a DescribeStackResourcesResult from CloudFormation. + /// REST API Reference for DescribeStackResources Operation + public DescribeStackResourcesResponse EndDescribeStackResources(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #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 does not exist, an AmazonCloudFormationException is returned. + /// + /// + /// + /// + /// The response from the DescribeStacks service method, as returned by CloudFormation. + /// REST API Reference for DescribeStacks Operation + public 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 does not exist, an AmazonCloudFormationException 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 DescribeStacksResponse DescribeStacks(DescribeStacksRequest request) + { + var marshaller = new DescribeStacksRequestMarshaller(); + var unmarshaller = DescribeStacksResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the DescribeStacks operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStacks operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeStacks + /// operation. + /// REST API Reference for DescribeStacks Operation + public IAsyncResult BeginDescribeStacks(DescribeStacksRequest request, AsyncCallback callback, object state) + { + var marshaller = new DescribeStacksRequestMarshaller(); + var unmarshaller = DescribeStacksResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the DescribeStacks operation. + /// + /// + /// The IAsyncResult returned by the call to BeginDescribeStacks. + /// + /// Returns a DescribeStacksResult from CloudFormation. + /// REST API Reference for DescribeStacks Operation + public DescribeStacksResponse EndDescribeStacks(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #endregion + + #region DescribeStackSet + + /// + /// Returns the description of the specified stack set. + /// + /// 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 DescribeStackSetResponse DescribeStackSet(DescribeStackSetRequest request) + { + var marshaller = new DescribeStackSetRequestMarshaller(); + var unmarshaller = DescribeStackSetResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the DescribeStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackSet operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeStackSet + /// operation. + /// REST API Reference for DescribeStackSet Operation + public IAsyncResult BeginDescribeStackSet(DescribeStackSetRequest request, AsyncCallback callback, object state) + { + var marshaller = new DescribeStackSetRequestMarshaller(); + var unmarshaller = DescribeStackSetResponseUnmarshaller.Instance; - return BeginInvoke(request, marshaller, unmarshaller, + return BeginInvoke(request, marshaller, unmarshaller, callback, state); } /// - /// Finishes the asynchronous execution of the DescribeStackResources operation. + /// Finishes the asynchronous execution of the DescribeStackSet operation. /// /// - /// The IAsyncResult returned by the call to BeginDescribeStackResources. + /// The IAsyncResult returned by the call to BeginDescribeStackSet. /// - /// Returns a DescribeStackResourcesResult from CloudFormation. - /// REST API Reference for DescribeStackResources Operation - public DescribeStackResourcesResponse EndDescribeStackResources(IAsyncResult asyncResult) + /// Returns a DescribeStackSetResult from CloudFormation. + /// REST API Reference for DescribeStackSet Operation + public DescribeStackSetResponse EndDescribeStackSet(IAsyncResult asyncResult) { - return EndInvoke(asyncResult); + return EndInvoke(asyncResult); } #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 does not exist, an AmazonCloudFormationException is returned. - /// - /// - /// - /// - /// The response from the DescribeStacks service method, as returned by CloudFormation. - /// REST API Reference for DescribeStacks Operation - public DescribeStacksResponse DescribeStacks() - { - return DescribeStacks(new DescribeStacksRequest()); - } + #region DescribeStackSetOperation /// - /// Returns the description for the specified stack; if no stack name was specified, then - /// it returns the description for all the stacks created. - /// - /// - /// - /// If the stack does not exist, an AmazonCloudFormationException is returned. - /// - /// + /// Returns the description of the specified stack set operation. /// - /// Container for the necessary parameters to execute the DescribeStacks service method. + /// Container for the necessary parameters to execute the DescribeStackSetOperation service method. /// - /// The response from the DescribeStacks service method, as returned by CloudFormation. - /// REST API Reference for DescribeStacks Operation - public DescribeStacksResponse DescribeStacks(DescribeStacksRequest request) + /// 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 DescribeStackSetOperationResponse DescribeStackSetOperation(DescribeStackSetOperationRequest request) { - var marshaller = new DescribeStacksRequestMarshaller(); - var unmarshaller = DescribeStacksResponseUnmarshaller.Instance; + var marshaller = new DescribeStackSetOperationRequestMarshaller(); + var unmarshaller = DescribeStackSetOperationResponseUnmarshaller.Instance; - return Invoke(request, marshaller, unmarshaller); + return Invoke(request, marshaller, unmarshaller); } /// - /// Initiates the asynchronous execution of the DescribeStacks operation. + /// Initiates the asynchronous execution of the DescribeStackSetOperation operation. /// /// - /// Container for the necessary parameters to execute the DescribeStacks operation on AmazonCloudFormationClient. + /// Container for the necessary parameters to execute the DescribeStackSetOperation operation on AmazonCloudFormationClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// - /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeStacks + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeStackSetOperation /// operation. - /// REST API Reference for DescribeStacks Operation - public IAsyncResult BeginDescribeStacks(DescribeStacksRequest request, AsyncCallback callback, object state) + /// REST API Reference for DescribeStackSetOperation Operation + public IAsyncResult BeginDescribeStackSetOperation(DescribeStackSetOperationRequest request, AsyncCallback callback, object state) { - var marshaller = new DescribeStacksRequestMarshaller(); - var unmarshaller = DescribeStacksResponseUnmarshaller.Instance; + var marshaller = new DescribeStackSetOperationRequestMarshaller(); + var unmarshaller = DescribeStackSetOperationResponseUnmarshaller.Instance; - return BeginInvoke(request, marshaller, unmarshaller, + return BeginInvoke(request, marshaller, unmarshaller, callback, state); } /// - /// Finishes the asynchronous execution of the DescribeStacks operation. + /// Finishes the asynchronous execution of the DescribeStackSetOperation operation. /// /// - /// The IAsyncResult returned by the call to BeginDescribeStacks. + /// The IAsyncResult returned by the call to BeginDescribeStackSetOperation. /// - /// Returns a DescribeStacksResult from CloudFormation. - /// REST API Reference for DescribeStacks Operation - public DescribeStacksResponse EndDescribeStacks(IAsyncResult asyncResult) + /// Returns a DescribeStackSetOperationResult from CloudFormation. + /// REST API Reference for DescribeStackSetOperation Operation + public DescribeStackSetOperationResponse EndDescribeStackSetOperation(IAsyncResult asyncResult) { - return EndInvoke(asyncResult); + return EndInvoke(asyncResult); } #endregion @@ -1144,12 +1976,13 @@ public EstimateTemplateCostResponse EndEstimateTemplateCost(IAsyncResult asyncR /// stack, use the ListChangeSets action. /// /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// - /// The specified change set cannot 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. + /// 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. @@ -1344,6 +2177,9 @@ public GetTemplateResponse EndGetTemplate(IAsyncResult asyncResult) /// 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 GetTemplateSummaryResponse GetTemplateSummary(GetTemplateSummaryRequest request) { @@ -1567,6 +2403,64 @@ public ListImportsResponse EndListImports(IAsyncResult asyncResult) #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 + /// AWS account name or region. + /// + /// 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 ListStackInstancesResponse ListStackInstances(ListStackInstancesRequest request) + { + var marshaller = new ListStackInstancesRequestMarshaller(); + var unmarshaller = ListStackInstancesResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the ListStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackInstances operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListStackInstances + /// operation. + /// REST API Reference for ListStackInstances Operation + public IAsyncResult BeginListStackInstances(ListStackInstancesRequest request, AsyncCallback callback, object state) + { + var marshaller = new ListStackInstancesRequestMarshaller(); + var unmarshaller = ListStackInstancesResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the ListStackInstances operation. + /// + /// + /// The IAsyncResult returned by the call to BeginListStackInstances. + /// + /// Returns a ListStackInstancesResult from CloudFormation. + /// REST API Reference for ListStackInstances Operation + public ListStackInstancesResponse EndListStackInstances(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #endregion + #region ListStackResources /// @@ -1696,6 +2590,174 @@ public ListStacksResponse EndListStacks(IAsyncResult asyncResult) #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 ListStackSetOperationResultsResponse ListStackSetOperationResults(ListStackSetOperationResultsRequest request) + { + var marshaller = new ListStackSetOperationResultsRequestMarshaller(); + var unmarshaller = ListStackSetOperationResultsResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the ListStackSetOperationResults operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSetOperationResults operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListStackSetOperationResults + /// operation. + /// REST API Reference for ListStackSetOperationResults Operation + public IAsyncResult BeginListStackSetOperationResults(ListStackSetOperationResultsRequest request, AsyncCallback callback, object state) + { + var marshaller = new ListStackSetOperationResultsRequestMarshaller(); + var unmarshaller = ListStackSetOperationResultsResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the ListStackSetOperationResults operation. + /// + /// + /// The IAsyncResult returned by the call to BeginListStackSetOperationResults. + /// + /// Returns a ListStackSetOperationResultsResult from CloudFormation. + /// REST API Reference for ListStackSetOperationResults Operation + public ListStackSetOperationResultsResponse EndListStackSetOperationResults(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #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 ListStackSetOperationsResponse ListStackSetOperations(ListStackSetOperationsRequest request) + { + var marshaller = new ListStackSetOperationsRequestMarshaller(); + var unmarshaller = ListStackSetOperationsResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the ListStackSetOperations operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSetOperations operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListStackSetOperations + /// operation. + /// REST API Reference for ListStackSetOperations Operation + public IAsyncResult BeginListStackSetOperations(ListStackSetOperationsRequest request, AsyncCallback callback, object state) + { + var marshaller = new ListStackSetOperationsRequestMarshaller(); + var unmarshaller = ListStackSetOperationsResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the ListStackSetOperations operation. + /// + /// + /// The IAsyncResult returned by the call to BeginListStackSetOperations. + /// + /// Returns a ListStackSetOperationsResult from CloudFormation. + /// REST API Reference for ListStackSetOperations Operation + public ListStackSetOperationsResponse EndListStackSetOperations(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #endregion + + #region ListStackSets + + /// + /// Returns summary information about stack sets that are associated with the user. + /// + /// 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 ListStackSetsResponse ListStackSets(ListStackSetsRequest request) + { + var marshaller = new ListStackSetsRequestMarshaller(); + var unmarshaller = ListStackSetsResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the ListStackSets operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSets operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListStackSets + /// operation. + /// REST API Reference for ListStackSets Operation + public IAsyncResult BeginListStackSets(ListStackSetsRequest request, AsyncCallback callback, object state) + { + var marshaller = new ListStackSetsRequestMarshaller(); + var unmarshaller = ListStackSetsResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the ListStackSets operation. + /// + /// + /// The IAsyncResult returned by the call to BeginListStackSets. + /// + /// Returns a ListStackSetsResult from CloudFormation. + /// REST API Reference for ListStackSets Operation + public ListStackSetsResponse EndListStackSets(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #endregion + #region SetStackPolicy /// @@ -1807,6 +2869,68 @@ public SignalResourceResponse EndSignalResource(IAsyncResult asyncResult) #endregion + #region StopStackSetOperation + + /// + /// Stops an in-progress operation on a stack set and its associated stack instances. + /// + /// 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 StopStackSetOperationResponse StopStackSetOperation(StopStackSetOperationRequest request) + { + var marshaller = new StopStackSetOperationRequestMarshaller(); + var unmarshaller = StopStackSetOperationResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the StopStackSetOperation operation. + /// + /// + /// Container for the necessary parameters to execute the StopStackSetOperation operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopStackSetOperation + /// operation. + /// REST API Reference for StopStackSetOperation Operation + public IAsyncResult BeginStopStackSetOperation(StopStackSetOperationRequest request, AsyncCallback callback, object state) + { + var marshaller = new StopStackSetOperationRequestMarshaller(); + var unmarshaller = StopStackSetOperationResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the StopStackSetOperation operation. + /// + /// + /// The IAsyncResult returned by the call to BeginStopStackSetOperation. + /// + /// Returns a StopStackSetOperationResult from CloudFormation. + /// REST API Reference for StopStackSetOperation Operation + public StopStackSetOperationResponse EndStopStackSetOperation(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #endregion + #region UpdateStack /// @@ -1830,7 +2954,7 @@ public SignalResourceResponse EndSignalResource(IAsyncResult asyncResult) /// /// The response from the UpdateStack service method, as returned by CloudFormation. /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// @@ -1881,6 +3005,84 @@ public UpdateStackResponse EndUpdateStack(IAsyncResult asyncResult) #endregion + #region UpdateStackSet + + /// + /// Updates the stack set and all associated stack instances. + /// + /// + /// + /// 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 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 UpdateStackSetResponse UpdateStackSet(UpdateStackSetRequest request) + { + var marshaller = new UpdateStackSetRequestMarshaller(); + var unmarshaller = UpdateStackSetResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the UpdateStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the UpdateStackSet operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateStackSet + /// operation. + /// REST API Reference for UpdateStackSet Operation + public IAsyncResult BeginUpdateStackSet(UpdateStackSetRequest request, AsyncCallback callback, object state) + { + var marshaller = new UpdateStackSetRequestMarshaller(); + var unmarshaller = UpdateStackSetResponseUnmarshaller.Instance; + + return BeginInvoke(request, marshaller, unmarshaller, + callback, state); + } + + /// + /// Finishes the asynchronous execution of the UpdateStackSet operation. + /// + /// + /// The IAsyncResult returned by the call to BeginUpdateStackSet. + /// + /// Returns a UpdateStackSetResult from CloudFormation. + /// REST API Reference for UpdateStackSet Operation + public UpdateStackSetResponse EndUpdateStackSet(IAsyncResult asyncResult) + { + return EndInvoke(asyncResult); + } + + #endregion + #region ValidateTemplate /// diff --git a/sdk/src/Services/CloudFormation/Generated/_bcl35/IAmazonCloudFormation.cs b/sdk/src/Services/CloudFormation/Generated/_bcl35/IAmazonCloudFormation.cs index a698a079b351..2d8213db7aa7 100644 --- a/sdk/src/Services/CloudFormation/Generated/_bcl35/IAmazonCloudFormation.cs +++ b/sdk/src/Services/CloudFormation/Generated/_bcl35/IAmazonCloudFormation.cs @@ -56,6 +56,387 @@ namespace Amazon.CloudFormation /// information about a specific AWS product, you can find the product's technical documentation /// at docs.aws.amazon.com. /// + /// + /// + /// APIs for stacks + /// + /// + /// + /// When you use AWS CloudFormation, you manage related resources as a single unit called + /// a stack. You create, update, and delete a collection of resources by creating, updating, + /// and deleting stacks. All the resources in a stack are defined by the stack's AWS CloudFormation + /// template. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// + /// + /// APIs for change sets + /// + /// + /// + /// If you need to make changes to the running resources in a stack, you update the stack. + /// Before making changes to your resources, you can generate a change set, which is summary + /// of your proposed changes. Change sets allow you to see how your changes might impact + /// your running resources, especially for critical resources, before implementing them. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// + /// + /// APIs for stack sets + /// + /// + /// + /// AWS CloudFormation StackSets lets you create a collection, or stack set, of stacks + /// that can automatically and safely provision a common set of AWS resources across multiple + /// AWS accounts and multiple AWS regions from a single AWS CloudFormation template. When + /// you create a stack set, AWS CloudFormation provisions a stack in each of the specified + /// accounts and regions by using the supplied AWS CloudFormation template and parameters. + /// Stack sets let you manage a common set of AWS resources in a selection of accounts + /// and regions in a single operation. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// /// public partial interface IAmazonCloudFormation : IAmazonService, IDisposable { @@ -203,14 +584,14 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// /// The response from the CreateChangeSet service method, as returned by CloudFormation. /// - /// Resource with the name requested already exists. + /// The resource with the name requested already exists. /// /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// - /// Quota for the resource has already been reached. + /// The quota for the resource has already been reached. /// /// REST API Reference for CreateChangeSet Operation CreateChangeSetResponse CreateChangeSet(CreateChangeSetRequest request); @@ -255,14 +636,14 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// /// The response from the CreateStack service method, as returned by CloudFormation. /// - /// Resource with the name requested already exists. + /// The resource with the name requested already exists. /// /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// - /// Quota for the resource has already been reached. + /// The quota for the resource has already been reached. /// /// /// A client request token already exists. @@ -298,6 +679,118 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region CreateStackInstances + + + /// + /// Creates stack instances for the specified accounts, within the specified regions. + /// A stack instance refers to a stack in a specific account and region. Accounts + /// and Regions are required parameters—you must specify at least one account + /// and one region. + /// + /// 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. + /// + /// + /// 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 + CreateStackInstancesResponse CreateStackInstances(CreateStackInstancesRequest request); + + /// + /// Initiates the asynchronous execution of the CreateStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the CreateStackInstances operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStackInstances + /// operation. + /// REST API Reference for CreateStackInstances Operation + IAsyncResult BeginCreateStackInstances(CreateStackInstancesRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the CreateStackInstances operation. + /// + /// + /// The IAsyncResult returned by the call to BeginCreateStackInstances. + /// + /// Returns a CreateStackInstancesResult from CloudFormation. + /// REST API Reference for CreateStackInstances Operation + CreateStackInstancesResponse EndCreateStackInstances(IAsyncResult asyncResult); + + #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. + /// + /// + /// The specified name is already in use. + /// + /// REST API Reference for CreateStackSet Operation + CreateStackSetResponse CreateStackSet(CreateStackSetRequest request); + + /// + /// Initiates the asynchronous execution of the CreateStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the CreateStackSet operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStackSet + /// operation. + /// REST API Reference for CreateStackSet Operation + IAsyncResult BeginCreateStackSet(CreateStackSetRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the CreateStackSet operation. + /// + /// + /// The IAsyncResult returned by the call to BeginCreateStackSet. + /// + /// Returns a CreateStackSetResult from CloudFormation. + /// REST API Reference for CreateStackSet Operation + CreateStackSetResponse EndCreateStackSet(IAsyncResult asyncResult); + + #endregion + #region DeleteChangeSet @@ -315,8 +808,9 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// /// The response from the DeleteChangeSet service method, as returned by CloudFormation. /// - /// The specified change set cannot 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. + /// 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 DeleteChangeSetResponse DeleteChangeSet(DeleteChangeSetRequest request); @@ -363,34 +857,140 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// /// A client request token already exists. /// - /// REST API Reference for DeleteStack Operation - DeleteStackResponse DeleteStack(DeleteStackRequest request); + /// REST API Reference for DeleteStack Operation + DeleteStackResponse DeleteStack(DeleteStackRequest request); + + /// + /// Initiates the asynchronous execution of the DeleteStack operation. + /// + /// + /// Container for the necessary parameters to execute the DeleteStack operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteStack + /// operation. + /// REST API Reference for DeleteStack Operation + IAsyncResult BeginDeleteStack(DeleteStackRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the DeleteStack operation. + /// + /// + /// The IAsyncResult returned by the call to BeginDeleteStack. + /// + /// Returns a DeleteStackResult from CloudFormation. + /// REST API Reference for DeleteStack Operation + DeleteStackResponse EndDeleteStack(IAsyncResult asyncResult); + + #endregion + + #region DeleteStackInstances + + + /// + /// Deletes stack instances for the specified accounts, in the specified 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 + DeleteStackInstancesResponse DeleteStackInstances(DeleteStackInstancesRequest request); + + /// + /// Initiates the asynchronous execution of the DeleteStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the DeleteStackInstances operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteStackInstances + /// operation. + /// REST API Reference for DeleteStackInstances Operation + IAsyncResult BeginDeleteStackInstances(DeleteStackInstancesRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the DeleteStackInstances operation. + /// + /// + /// The IAsyncResult returned by the call to BeginDeleteStackInstances. + /// + /// Returns a DeleteStackInstancesResult from CloudFormation. + /// REST API Reference for DeleteStackInstances Operation + DeleteStackInstancesResponse EndDeleteStackInstances(IAsyncResult asyncResult); + + #endregion + + #region DeleteStackSet + + + /// + /// Deletes a stack set. Before you can delete a stack set, all of its member stack instances + /// must be deleted. For more information about how to do this, see DeleteStackInstances. + /// + /// 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 + DeleteStackSetResponse DeleteStackSet(DeleteStackSetRequest request); /// - /// Initiates the asynchronous execution of the DeleteStack operation. + /// Initiates the asynchronous execution of the DeleteStackSet operation. /// /// - /// Container for the necessary parameters to execute the DeleteStack operation on AmazonCloudFormationClient. + /// Container for the necessary parameters to execute the DeleteStackSet operation on AmazonCloudFormationClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// - /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteStack + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteStackSet /// operation. - /// REST API Reference for DeleteStack Operation - IAsyncResult BeginDeleteStack(DeleteStackRequest request, AsyncCallback callback, object state); + /// REST API Reference for DeleteStackSet Operation + IAsyncResult BeginDeleteStackSet(DeleteStackSetRequest request, AsyncCallback callback, object state); /// - /// Finishes the asynchronous execution of the DeleteStack operation. + /// Finishes the asynchronous execution of the DeleteStackSet operation. /// /// - /// The IAsyncResult returned by the call to BeginDeleteStack. + /// The IAsyncResult returned by the call to BeginDeleteStackSet. /// - /// Returns a DeleteStackResult from CloudFormation. - /// REST API Reference for DeleteStack Operation - DeleteStackResponse EndDeleteStack(IAsyncResult asyncResult); + /// Returns a DeleteStackSetResult from CloudFormation. + /// REST API Reference for DeleteStackSet Operation + DeleteStackSetResponse EndDeleteStackSet(IAsyncResult asyncResult); #endregion @@ -530,6 +1130,58 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region DescribeStackInstance + + + /// + /// Returns the stack instance that's associated with the specified stack set, AWS account, + /// and region. + /// + /// + /// + /// For a list of stack instances that are associated with a specific stack set, use ListStackInstances. + /// + /// + /// 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 + DescribeStackInstanceResponse DescribeStackInstance(DescribeStackInstanceRequest request); + + /// + /// Initiates the asynchronous execution of the DescribeStackInstance operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackInstance operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeStackInstance + /// operation. + /// REST API Reference for DescribeStackInstance Operation + IAsyncResult BeginDescribeStackInstance(DescribeStackInstanceRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the DescribeStackInstance operation. + /// + /// + /// The IAsyncResult returned by the call to BeginDescribeStackInstance. + /// + /// Returns a DescribeStackInstanceResult from CloudFormation. + /// REST API Reference for DescribeStackInstance Operation + DescribeStackInstanceResponse EndDescribeStackInstance(IAsyncResult asyncResult); + + #endregion + #region DescribeStackResource @@ -706,6 +1358,95 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region DescribeStackSet + + + /// + /// Returns the description of the specified stack set. + /// + /// 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 + DescribeStackSetResponse DescribeStackSet(DescribeStackSetRequest request); + + /// + /// Initiates the asynchronous execution of the DescribeStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackSet operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeStackSet + /// operation. + /// REST API Reference for DescribeStackSet Operation + IAsyncResult BeginDescribeStackSet(DescribeStackSetRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the DescribeStackSet operation. + /// + /// + /// The IAsyncResult returned by the call to BeginDescribeStackSet. + /// + /// Returns a DescribeStackSetResult from CloudFormation. + /// REST API Reference for DescribeStackSet Operation + DescribeStackSetResponse EndDescribeStackSet(IAsyncResult asyncResult); + + #endregion + + #region DescribeStackSetOperation + + + /// + /// Returns the description of the specified stack set 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 + DescribeStackSetOperationResponse DescribeStackSetOperation(DescribeStackSetOperationRequest request); + + /// + /// Initiates the asynchronous execution of the DescribeStackSetOperation operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackSetOperation operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeStackSetOperation + /// operation. + /// REST API Reference for DescribeStackSetOperation Operation + IAsyncResult BeginDescribeStackSetOperation(DescribeStackSetOperationRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the DescribeStackSetOperation operation. + /// + /// + /// The IAsyncResult returned by the call to BeginDescribeStackSetOperation. + /// + /// Returns a DescribeStackSetOperationResult from CloudFormation. + /// REST API Reference for DescribeStackSetOperation Operation + DescribeStackSetOperationResponse EndDescribeStackSetOperation(IAsyncResult asyncResult); + + #endregion + #region EstimateTemplateCost @@ -777,12 +1518,13 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// stack, use the ListChangeSets action. /// /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// - /// The specified change set cannot 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. + /// 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. @@ -938,6 +1680,9 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// 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 GetTemplateSummaryResponse GetTemplateSummary(GetTemplateSummaryRequest request); @@ -1108,6 +1853,51 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #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 + /// AWS account name or region. + /// + /// 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 + ListStackInstancesResponse ListStackInstances(ListStackInstancesRequest request); + + /// + /// Initiates the asynchronous execution of the ListStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackInstances operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListStackInstances + /// operation. + /// REST API Reference for ListStackInstances Operation + IAsyncResult BeginListStackInstances(ListStackInstancesRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the ListStackInstances operation. + /// + /// + /// The IAsyncResult returned by the call to BeginListStackInstances. + /// + /// Returns a ListStackInstancesResult from CloudFormation. + /// REST API Reference for ListStackInstances Operation + ListStackInstancesResponse EndListStackInstances(IAsyncResult asyncResult); + + #endregion + #region ListStackResources @@ -1208,6 +1998,135 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #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 + ListStackSetOperationResultsResponse ListStackSetOperationResults(ListStackSetOperationResultsRequest request); + + /// + /// Initiates the asynchronous execution of the ListStackSetOperationResults operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSetOperationResults operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListStackSetOperationResults + /// operation. + /// REST API Reference for ListStackSetOperationResults Operation + IAsyncResult BeginListStackSetOperationResults(ListStackSetOperationResultsRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the ListStackSetOperationResults operation. + /// + /// + /// The IAsyncResult returned by the call to BeginListStackSetOperationResults. + /// + /// Returns a ListStackSetOperationResultsResult from CloudFormation. + /// REST API Reference for ListStackSetOperationResults Operation + ListStackSetOperationResultsResponse EndListStackSetOperationResults(IAsyncResult asyncResult); + + #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 + ListStackSetOperationsResponse ListStackSetOperations(ListStackSetOperationsRequest request); + + /// + /// Initiates the asynchronous execution of the ListStackSetOperations operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSetOperations operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListStackSetOperations + /// operation. + /// REST API Reference for ListStackSetOperations Operation + IAsyncResult BeginListStackSetOperations(ListStackSetOperationsRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the ListStackSetOperations operation. + /// + /// + /// The IAsyncResult returned by the call to BeginListStackSetOperations. + /// + /// Returns a ListStackSetOperationsResult from CloudFormation. + /// REST API Reference for ListStackSetOperations Operation + ListStackSetOperationsResponse EndListStackSetOperations(IAsyncResult asyncResult); + + #endregion + + #region ListStackSets + + + /// + /// Returns summary information about stack sets that are associated with the user. + /// + /// 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 + ListStackSetsResponse ListStackSets(ListStackSetsRequest request); + + /// + /// Initiates the asynchronous execution of the ListStackSets operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSets operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListStackSets + /// operation. + /// REST API Reference for ListStackSets Operation + IAsyncResult BeginListStackSets(ListStackSetsRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the ListStackSets operation. + /// + /// + /// The IAsyncResult returned by the call to BeginListStackSets. + /// + /// Returns a ListStackSetsResult from CloudFormation. + /// REST API Reference for ListStackSets Operation + ListStackSetsResponse EndListStackSets(IAsyncResult asyncResult); + + #endregion + #region SetStackPolicy @@ -1293,6 +2212,55 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region StopStackSetOperation + + + /// + /// Stops an in-progress operation on a stack set and its associated stack instances. + /// + /// 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 + StopStackSetOperationResponse StopStackSetOperation(StopStackSetOperationRequest request); + + /// + /// Initiates the asynchronous execution of the StopStackSetOperation operation. + /// + /// + /// Container for the necessary parameters to execute the StopStackSetOperation operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopStackSetOperation + /// operation. + /// REST API Reference for StopStackSetOperation Operation + IAsyncResult BeginStopStackSetOperation(StopStackSetOperationRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the StopStackSetOperation operation. + /// + /// + /// The IAsyncResult returned by the call to BeginStopStackSetOperation. + /// + /// Returns a StopStackSetOperationResult from CloudFormation. + /// REST API Reference for StopStackSetOperation Operation + StopStackSetOperationResponse EndStopStackSetOperation(IAsyncResult asyncResult); + + #endregion + #region UpdateStack @@ -1317,7 +2285,7 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// /// The response from the UpdateStack service method, as returned by CloudFormation. /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// @@ -1354,6 +2322,71 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region UpdateStackSet + + + /// + /// Updates the stack set and all associated stack instances. + /// + /// + /// + /// 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 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 + UpdateStackSetResponse UpdateStackSet(UpdateStackSetRequest request); + + /// + /// Initiates the asynchronous execution of the UpdateStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the UpdateStackSet operation on AmazonCloudFormationClient. + /// An AsyncCallback delegate that is invoked when the operation completes. + /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback + /// procedure using the AsyncState property. + /// + /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateStackSet + /// operation. + /// REST API Reference for UpdateStackSet Operation + IAsyncResult BeginUpdateStackSet(UpdateStackSetRequest request, AsyncCallback callback, object state); + + + + /// + /// Finishes the asynchronous execution of the UpdateStackSet operation. + /// + /// + /// The IAsyncResult returned by the call to BeginUpdateStackSet. + /// + /// Returns a UpdateStackSetResult from CloudFormation. + /// REST API Reference for UpdateStackSet Operation + UpdateStackSetResponse EndUpdateStackSet(IAsyncResult asyncResult); + + #endregion + #region ValidateTemplate diff --git a/sdk/src/Services/CloudFormation/Generated/_bcl45/AmazonCloudFormationClient.cs b/sdk/src/Services/CloudFormation/Generated/_bcl45/AmazonCloudFormationClient.cs index fc7d40c6599e..155d78be780c 100644 --- a/sdk/src/Services/CloudFormation/Generated/_bcl45/AmazonCloudFormationClient.cs +++ b/sdk/src/Services/CloudFormation/Generated/_bcl45/AmazonCloudFormationClient.cs @@ -63,6 +63,387 @@ namespace Amazon.CloudFormation /// information about a specific AWS product, you can find the product's technical documentation /// at docs.aws.amazon.com. /// + /// + /// + /// APIs for stacks + /// + /// + /// + /// When you use AWS CloudFormation, you manage related resources as a single unit called + /// a stack. You create, update, and delete a collection of resources by creating, updating, + /// and deleting stacks. All the resources in a stack are defined by the stack's AWS CloudFormation + /// template. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// + /// + /// APIs for change sets + /// + /// + /// + /// If you need to make changes to the running resources in a stack, you update the stack. + /// Before making changes to your resources, you can generate a change set, which is summary + /// of your proposed changes. Change sets allow you to see how your changes might impact + /// your running resources, especially for critical resources, before implementing them. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// + /// + /// APIs for stack sets + /// + /// + /// + /// AWS CloudFormation StackSets lets you create a collection, or stack set, of stacks + /// that can automatically and safely provision a common set of AWS resources across multiple + /// AWS accounts and multiple AWS regions from a single AWS CloudFormation template. When + /// you create a stack set, AWS CloudFormation provisions a stack in each of the specified + /// accounts and regions by using the supplied AWS CloudFormation template and parameters. + /// Stack sets let you manage a common set of AWS resources in a selection of accounts + /// and regions in a single operation. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// /// public partial class AmazonCloudFormationClient : AmazonServiceClient, IAmazonCloudFormation { @@ -399,14 +780,14 @@ public ContinueUpdateRollbackResponse ContinueUpdateRollback(ContinueUpdateRollb /// /// The response from the CreateChangeSet service method, as returned by CloudFormation. /// - /// Resource with the name requested already exists. + /// The resource with the name requested already exists. /// /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// - /// Quota for the resource has already been reached. + /// The quota for the resource has already been reached. /// /// REST API Reference for CreateChangeSet Operation public CreateChangeSetResponse CreateChangeSet(CreateChangeSetRequest request) @@ -450,14 +831,14 @@ public CreateChangeSetResponse CreateChangeSet(CreateChangeSetRequest request) /// /// The response from the CreateStack service method, as returned by CloudFormation. /// - /// Resource with the name requested already exists. + /// The resource with the name requested already exists. /// /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// - /// Quota for the resource has already been reached. + /// The quota for the resource has already been reached. /// /// /// A client request token already exists. @@ -492,6 +873,116 @@ public CreateStackResponse CreateStack(CreateStackRequest request) #endregion + #region CreateStackInstances + + + /// + /// Creates stack instances for the specified accounts, within the specified regions. + /// A stack instance refers to a stack in a specific account and region. Accounts + /// and Regions are required parameters—you must specify at least one account + /// and one region. + /// + /// 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. + /// + /// + /// 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 CreateStackInstancesResponse CreateStackInstances(CreateStackInstancesRequest request) + { + var marshaller = new CreateStackInstancesRequestMarshaller(); + var unmarshaller = CreateStackInstancesResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the CreateStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the CreateStackInstances operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for CreateStackInstances Operation + public Task CreateStackInstancesAsync(CreateStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new CreateStackInstancesRequestMarshaller(); + var unmarshaller = CreateStackInstancesResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, 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. + /// + /// + /// The specified name is already in use. + /// + /// REST API Reference for CreateStackSet Operation + public CreateStackSetResponse CreateStackSet(CreateStackSetRequest request) + { + var marshaller = new CreateStackSetRequestMarshaller(); + var unmarshaller = CreateStackSetResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the CreateStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the CreateStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for CreateStackSet Operation + public Task CreateStackSetAsync(CreateStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new CreateStackSetRequestMarshaller(); + var unmarshaller = CreateStackSetResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region DeleteChangeSet @@ -509,8 +1000,9 @@ public CreateStackResponse CreateStack(CreateStackRequest request) /// /// The response from the DeleteChangeSet service method, as returned by CloudFormation. /// - /// The specified change set cannot 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. + /// 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 DeleteChangeSetResponse DeleteChangeSet(DeleteChangeSetRequest request) @@ -586,6 +1078,110 @@ public DeleteStackResponse DeleteStack(DeleteStackRequest request) #endregion + #region DeleteStackInstances + + + /// + /// Deletes stack instances for the specified accounts, in the specified 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 DeleteStackInstancesResponse DeleteStackInstances(DeleteStackInstancesRequest request) + { + var marshaller = new DeleteStackInstancesRequestMarshaller(); + var unmarshaller = DeleteStackInstancesResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the DeleteStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the DeleteStackInstances operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DeleteStackInstances Operation + public Task DeleteStackInstancesAsync(DeleteStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new DeleteStackInstancesRequestMarshaller(); + var unmarshaller = DeleteStackInstancesResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + + #region DeleteStackSet + + + /// + /// Deletes a stack set. Before you can delete a stack set, all of its member stack instances + /// must be deleted. For more information about how to do this, see DeleteStackInstances. + /// + /// 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 DeleteStackSetResponse DeleteStackSet(DeleteStackSetRequest request) + { + var marshaller = new DeleteStackSetRequestMarshaller(); + var unmarshaller = DeleteStackSetResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the DeleteStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the DeleteStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DeleteStackSet Operation + public Task DeleteStackSetAsync(DeleteStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new DeleteStackSetRequestMarshaller(); + var unmarshaller = DeleteStackSetResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region DescribeAccountLimits @@ -719,6 +1315,57 @@ public DescribeStackEventsResponse DescribeStackEvents(DescribeStackEventsReques #endregion + #region DescribeStackInstance + + + /// + /// Returns the stack instance that's associated with the specified stack set, AWS account, + /// and region. + /// + /// + /// + /// For a list of stack instances that are associated with a specific stack set, use ListStackInstances. + /// + /// + /// 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 DescribeStackInstanceResponse DescribeStackInstance(DescribeStackInstanceRequest request) + { + var marshaller = new DescribeStackInstanceRequestMarshaller(); + var unmarshaller = DescribeStackInstanceResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the DescribeStackInstance operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackInstance operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DescribeStackInstance Operation + public Task DescribeStackInstanceAsync(DescribeStackInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new DescribeStackInstanceRequestMarshaller(); + var unmarshaller = DescribeStackInstanceResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region DescribeStackResource @@ -917,6 +1564,93 @@ public DescribeStacksResponse DescribeStacks(DescribeStacksRequest request) #endregion + #region DescribeStackSet + + + /// + /// Returns the description of the specified stack set. + /// + /// 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 DescribeStackSetResponse DescribeStackSet(DescribeStackSetRequest request) + { + var marshaller = new DescribeStackSetRequestMarshaller(); + var unmarshaller = DescribeStackSetResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the DescribeStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DescribeStackSet Operation + public Task DescribeStackSetAsync(DescribeStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new DescribeStackSetRequestMarshaller(); + var unmarshaller = DescribeStackSetResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + + #region DescribeStackSetOperation + + + /// + /// Returns the description of the specified stack set 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 DescribeStackSetOperationResponse DescribeStackSetOperation(DescribeStackSetOperationRequest request) + { + var marshaller = new DescribeStackSetOperationRequestMarshaller(); + var unmarshaller = DescribeStackSetOperationResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the DescribeStackSetOperation operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackSetOperation operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DescribeStackSetOperation Operation + public Task DescribeStackSetOperationAsync(DescribeStackSetOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new DescribeStackSetOperationRequestMarshaller(); + var unmarshaller = DescribeStackSetOperationResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region EstimateTemplateCost @@ -987,12 +1721,13 @@ public EstimateTemplateCostResponse EstimateTemplateCost(EstimateTemplateCostReq /// stack, use the ListChangeSets action. /// /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// - /// The specified change set cannot 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. + /// 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. @@ -1145,6 +1880,9 @@ public GetTemplateResponse GetTemplate(GetTemplateRequest request) /// 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 GetTemplateSummaryResponse GetTemplateSummary(GetTemplateSummaryRequest request) { @@ -1311,6 +2049,50 @@ public ListImportsResponse ListImports(ListImportsRequest request) #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 + /// AWS account name or region. + /// + /// 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 ListStackInstancesResponse ListStackInstances(ListStackInstancesRequest request) + { + var marshaller = new ListStackInstancesRequestMarshaller(); + var unmarshaller = ListStackInstancesResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the ListStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackInstances operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackInstances Operation + public Task ListStackInstancesAsync(ListStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new ListStackInstancesRequestMarshaller(); + var unmarshaller = ListStackInstancesResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region ListStackResources @@ -1430,6 +2212,132 @@ public ListStacksResponse ListStacks(ListStacksRequest request) #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 ListStackSetOperationResultsResponse ListStackSetOperationResults(ListStackSetOperationResultsRequest request) + { + var marshaller = new ListStackSetOperationResultsRequestMarshaller(); + var unmarshaller = ListStackSetOperationResultsResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the ListStackSetOperationResults operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSetOperationResults operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackSetOperationResults Operation + public Task ListStackSetOperationResultsAsync(ListStackSetOperationResultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new ListStackSetOperationResultsRequestMarshaller(); + var unmarshaller = ListStackSetOperationResultsResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, 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 ListStackSetOperationsResponse ListStackSetOperations(ListStackSetOperationsRequest request) + { + var marshaller = new ListStackSetOperationsRequestMarshaller(); + var unmarshaller = ListStackSetOperationsResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the ListStackSetOperations operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSetOperations operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackSetOperations Operation + public Task ListStackSetOperationsAsync(ListStackSetOperationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new ListStackSetOperationsRequestMarshaller(); + var unmarshaller = ListStackSetOperationsResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + + #region ListStackSets + + + /// + /// Returns summary information about stack sets that are associated with the user. + /// + /// 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 ListStackSetsResponse ListStackSets(ListStackSetsRequest request) + { + var marshaller = new ListStackSetsRequestMarshaller(); + var unmarshaller = ListStackSetsResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the ListStackSets operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSets operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackSets Operation + public Task ListStackSetsAsync(ListStackSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new ListStackSetsRequestMarshaller(); + var unmarshaller = ListStackSetsResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region SetStackPolicy @@ -1513,6 +2421,54 @@ public SignalResourceResponse SignalResource(SignalResourceRequest request) #endregion + #region StopStackSetOperation + + + /// + /// Stops an in-progress operation on a stack set and its associated stack instances. + /// + /// 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 StopStackSetOperationResponse StopStackSetOperation(StopStackSetOperationRequest request) + { + var marshaller = new StopStackSetOperationRequestMarshaller(); + var unmarshaller = StopStackSetOperationResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the StopStackSetOperation operation. + /// + /// + /// Container for the necessary parameters to execute the StopStackSetOperation operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for StopStackSetOperation Operation + public Task StopStackSetOperationAsync(StopStackSetOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new StopStackSetOperationRequestMarshaller(); + var unmarshaller = StopStackSetOperationResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region UpdateStack @@ -1537,7 +2493,7 @@ public SignalResourceResponse SignalResource(SignalResourceRequest request) /// /// The response from the UpdateStack service method, as returned by CloudFormation. /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// @@ -1573,6 +2529,70 @@ public UpdateStackResponse UpdateStack(UpdateStackRequest request) #endregion + #region UpdateStackSet + + + /// + /// Updates the stack set and all associated stack instances. + /// + /// + /// + /// 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 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 UpdateStackSetResponse UpdateStackSet(UpdateStackSetRequest request) + { + var marshaller = new UpdateStackSetRequestMarshaller(); + var unmarshaller = UpdateStackSetResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + /// + /// Initiates the asynchronous execution of the UpdateStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the UpdateStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for UpdateStackSet Operation + public Task UpdateStackSetAsync(UpdateStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new UpdateStackSetRequestMarshaller(); + var unmarshaller = UpdateStackSetResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region ValidateTemplate diff --git a/sdk/src/Services/CloudFormation/Generated/_bcl45/IAmazonCloudFormation.cs b/sdk/src/Services/CloudFormation/Generated/_bcl45/IAmazonCloudFormation.cs index f1eb923cc42f..5cb3d204ceba 100644 --- a/sdk/src/Services/CloudFormation/Generated/_bcl45/IAmazonCloudFormation.cs +++ b/sdk/src/Services/CloudFormation/Generated/_bcl45/IAmazonCloudFormation.cs @@ -58,6 +58,387 @@ namespace Amazon.CloudFormation /// information about a specific AWS product, you can find the product's technical documentation /// at docs.aws.amazon.com. /// + /// + /// + /// APIs for stacks + /// + /// + /// + /// When you use AWS CloudFormation, you manage related resources as a single unit called + /// a stack. You create, update, and delete a collection of resources by creating, updating, + /// and deleting stacks. All the resources in a stack are defined by the stack's AWS CloudFormation + /// template. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// + /// + /// APIs for change sets + /// + /// + /// + /// If you need to make changes to the running resources in a stack, you update the stack. + /// Before making changes to your resources, you can generate a change set, which is summary + /// of your proposed changes. Change sets allow you to see how your changes might impact + /// your running resources, especially for critical resources, before implementing them. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// + /// + /// APIs for stack sets + /// + /// + /// + /// AWS CloudFormation StackSets lets you create a collection, or stack set, of stacks + /// that can automatically and safely provision a common set of AWS resources across multiple + /// AWS accounts and multiple AWS regions from a single AWS CloudFormation template. When + /// you create a stack set, AWS CloudFormation provisions a stack in each of the specified + /// accounts and regions by using the supplied AWS CloudFormation template and parameters. + /// Stack sets let you manage a common set of AWS resources in a selection of accounts + /// and regions in a single operation. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// /// public partial interface IAmazonCloudFormation : IAmazonService, IDisposable { @@ -179,14 +560,14 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// /// The response from the CreateChangeSet service method, as returned by CloudFormation. /// - /// Resource with the name requested already exists. + /// The resource with the name requested already exists. /// /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// - /// Quota for the resource has already been reached. + /// The quota for the resource has already been reached. /// /// REST API Reference for CreateChangeSet Operation CreateChangeSetResponse CreateChangeSet(CreateChangeSetRequest request); @@ -218,14 +599,14 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// /// The response from the CreateStack service method, as returned by CloudFormation. /// - /// Resource with the name requested already exists. + /// The resource with the name requested already exists. /// /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// - /// Quota for the resource has already been reached. + /// The quota for the resource has already been reached. /// /// /// A client request token already exists. @@ -248,6 +629,92 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region CreateStackInstances + + + /// + /// Creates stack instances for the specified accounts, within the specified regions. + /// A stack instance refers to a stack in a specific account and region. Accounts + /// and Regions are required parameters—you must specify at least one account + /// and one region. + /// + /// 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. + /// + /// + /// 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 + CreateStackInstancesResponse CreateStackInstances(CreateStackInstancesRequest request); + + + /// + /// Initiates the asynchronous execution of the CreateStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the CreateStackInstances operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for CreateStackInstances Operation + Task CreateStackInstancesAsync(CreateStackInstancesRequest request, CancellationToken cancellationToken = default(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. + /// + /// + /// The specified name is already in use. + /// + /// REST API Reference for CreateStackSet Operation + CreateStackSetResponse CreateStackSet(CreateStackSetRequest request); + + + /// + /// Initiates the asynchronous execution of the CreateStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the CreateStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for CreateStackSet Operation + Task CreateStackSetAsync(CreateStackSetRequest request, CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region DeleteChangeSet @@ -265,8 +732,9 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// /// The response from the DeleteChangeSet service method, as returned by CloudFormation. /// - /// The specified change set cannot 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. + /// 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 DeleteChangeSetResponse DeleteChangeSet(DeleteChangeSetRequest request); @@ -318,6 +786,86 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region DeleteStackInstances + + + /// + /// Deletes stack instances for the specified accounts, in the specified 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 + DeleteStackInstancesResponse DeleteStackInstances(DeleteStackInstancesRequest request); + + + /// + /// Initiates the asynchronous execution of the DeleteStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the DeleteStackInstances operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DeleteStackInstances Operation + Task DeleteStackInstancesAsync(DeleteStackInstancesRequest request, CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + + #region DeleteStackSet + + + /// + /// Deletes a stack set. Before you can delete a stack set, all of its member stack instances + /// must be deleted. For more information about how to do this, see DeleteStackInstances. + /// + /// 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 + DeleteStackSetResponse DeleteStackSet(DeleteStackSetRequest request); + + + /// + /// Initiates the asynchronous execution of the DeleteStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the DeleteStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DeleteStackSet Operation + Task DeleteStackSetAsync(DeleteStackSetRequest request, CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region DescribeAccountLimits @@ -415,6 +963,45 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region DescribeStackInstance + + + /// + /// Returns the stack instance that's associated with the specified stack set, AWS account, + /// and region. + /// + /// + /// + /// For a list of stack instances that are associated with a specific stack set, use ListStackInstances. + /// + /// + /// 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 + DescribeStackInstanceResponse DescribeStackInstance(DescribeStackInstanceRequest request); + + + /// + /// Initiates the asynchronous execution of the DescribeStackInstance operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackInstance operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DescribeStackInstance Operation + Task DescribeStackInstanceAsync(DescribeStackInstanceRequest request, CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region DescribeStackResource @@ -572,6 +1159,69 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region DescribeStackSet + + + /// + /// Returns the description of the specified stack set. + /// + /// 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 + DescribeStackSetResponse DescribeStackSet(DescribeStackSetRequest request); + + + /// + /// Initiates the asynchronous execution of the DescribeStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DescribeStackSet Operation + Task DescribeStackSetAsync(DescribeStackSetRequest request, CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + + #region DescribeStackSetOperation + + + /// + /// Returns the description of the specified stack set 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 + DescribeStackSetOperationResponse DescribeStackSetOperation(DescribeStackSetOperationRequest request); + + + /// + /// Initiates the asynchronous execution of the DescribeStackSetOperation operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackSetOperation operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DescribeStackSetOperation Operation + Task DescribeStackSetOperationAsync(DescribeStackSetOperationRequest request, CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region EstimateTemplateCost @@ -630,12 +1280,13 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// stack, use the ListChangeSets action. /// /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// - /// The specified change set cannot 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. + /// 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. @@ -752,6 +1403,9 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// 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 GetTemplateSummaryResponse GetTemplateSummary(GetTemplateSummaryRequest request); @@ -870,6 +1524,38 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #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 + /// AWS account name or region. + /// + /// 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 + ListStackInstancesResponse ListStackInstances(ListStackInstancesRequest request); + + + /// + /// Initiates the asynchronous execution of the ListStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackInstances operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackInstances Operation + Task ListStackInstancesAsync(ListStackInstancesRequest request, CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region ListStackResources @@ -960,6 +1646,96 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #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 + ListStackSetOperationResultsResponse ListStackSetOperationResults(ListStackSetOperationResultsRequest request); + + + /// + /// Initiates the asynchronous execution of the ListStackSetOperationResults operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSetOperationResults operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackSetOperationResults Operation + Task ListStackSetOperationResultsAsync(ListStackSetOperationResultsRequest request, CancellationToken cancellationToken = default(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 + ListStackSetOperationsResponse ListStackSetOperations(ListStackSetOperationsRequest request); + + + /// + /// Initiates the asynchronous execution of the ListStackSetOperations operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSetOperations operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackSetOperations Operation + Task ListStackSetOperationsAsync(ListStackSetOperationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + + #region ListStackSets + + + /// + /// Returns summary information about stack sets that are associated with the user. + /// + /// 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 + ListStackSetsResponse ListStackSets(ListStackSetsRequest request); + + + /// + /// Initiates the asynchronous execution of the ListStackSets operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSets operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackSets Operation + Task ListStackSetsAsync(ListStackSetsRequest request, CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region SetStackPolicy @@ -1019,6 +1795,42 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region StopStackSetOperation + + + /// + /// Stops an in-progress operation on a stack set and its associated stack instances. + /// + /// 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 + StopStackSetOperationResponse StopStackSetOperation(StopStackSetOperationRequest request); + + + /// + /// Initiates the asynchronous execution of the StopStackSetOperation operation. + /// + /// + /// Container for the necessary parameters to execute the StopStackSetOperation operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for StopStackSetOperation Operation + Task StopStackSetOperationAsync(StopStackSetOperationRequest request, CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region UpdateStack @@ -1043,7 +1855,7 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable /// /// The response from the UpdateStack service method, as returned by CloudFormation. /// - /// The template contains resources with capabilities that were not specified in the Capabilities + /// The template contains resources with capabilities that weren't specified in the Capabilities /// parameter. /// /// @@ -1067,6 +1879,58 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region UpdateStackSet + + + /// + /// Updates the stack set and all associated stack instances. + /// + /// + /// + /// 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 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 + UpdateStackSetResponse UpdateStackSet(UpdateStackSetRequest request); + + + /// + /// Initiates the asynchronous execution of the UpdateStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the UpdateStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for UpdateStackSet Operation + Task UpdateStackSetAsync(UpdateStackSetRequest request, CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region ValidateTemplate diff --git a/sdk/src/Services/CloudFormation/Generated/_mobile/AmazonCloudFormationClient.cs b/sdk/src/Services/CloudFormation/Generated/_mobile/AmazonCloudFormationClient.cs index 4a20446cce2a..710758ba209f 100644 --- a/sdk/src/Services/CloudFormation/Generated/_mobile/AmazonCloudFormationClient.cs +++ b/sdk/src/Services/CloudFormation/Generated/_mobile/AmazonCloudFormationClient.cs @@ -63,6 +63,387 @@ namespace Amazon.CloudFormation /// information about a specific AWS product, you can find the product's technical documentation /// at docs.aws.amazon.com. /// + /// + /// + /// APIs for stacks + /// + /// + /// + /// When you use AWS CloudFormation, you manage related resources as a single unit called + /// a stack. You create, update, and delete a collection of resources by creating, updating, + /// and deleting stacks. All the resources in a stack are defined by the stack's AWS CloudFormation + /// template. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// + /// + /// APIs for change sets + /// + /// + /// + /// If you need to make changes to the running resources in a stack, you update the stack. + /// Before making changes to your resources, you can generate a change set, which is summary + /// of your proposed changes. Change sets allow you to see how your changes might impact + /// your running resources, especially for critical resources, before implementing them. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// + /// + /// APIs for stack sets + /// + /// + /// + /// AWS CloudFormation StackSets lets you create a collection, or stack set, of stacks + /// that can automatically and safely provision a common set of AWS resources across multiple + /// AWS accounts and multiple AWS regions from a single AWS CloudFormation template. When + /// you create a stack set, AWS CloudFormation provisions a stack in each of the specified + /// accounts and regions by using the supplied AWS CloudFormation template and parameters. + /// Stack sets let you manage a common set of AWS resources in a selection of accounts + /// and regions in a single operation. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// /// public partial class AmazonCloudFormationClient : AmazonServiceClient, IAmazonCloudFormation { @@ -392,6 +773,70 @@ internal CreateStackResponse CreateStack(CreateStackRequest request) #endregion + #region CreateStackInstances + + internal CreateStackInstancesResponse CreateStackInstances(CreateStackInstancesRequest request) + { + var marshaller = new CreateStackInstancesRequestMarshaller(); + var unmarshaller = CreateStackInstancesResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the CreateStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the CreateStackInstances operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for CreateStackInstances Operation + public Task CreateStackInstancesAsync(CreateStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new CreateStackInstancesRequestMarshaller(); + var unmarshaller = CreateStackInstancesResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + + #region CreateStackSet + + internal CreateStackSetResponse CreateStackSet(CreateStackSetRequest request) + { + var marshaller = new CreateStackSetRequestMarshaller(); + var unmarshaller = CreateStackSetResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the CreateStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the CreateStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for CreateStackSet Operation + public Task CreateStackSetAsync(CreateStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new CreateStackSetRequestMarshaller(); + var unmarshaller = CreateStackSetResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region DeleteChangeSet internal DeleteChangeSetResponse DeleteChangeSet(DeleteChangeSetRequest request) @@ -456,6 +901,70 @@ internal DeleteStackResponse DeleteStack(DeleteStackRequest request) #endregion + #region DeleteStackInstances + + internal DeleteStackInstancesResponse DeleteStackInstances(DeleteStackInstancesRequest request) + { + var marshaller = new DeleteStackInstancesRequestMarshaller(); + var unmarshaller = DeleteStackInstancesResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the DeleteStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the DeleteStackInstances operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DeleteStackInstances Operation + public Task DeleteStackInstancesAsync(DeleteStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new DeleteStackInstancesRequestMarshaller(); + var unmarshaller = DeleteStackInstancesResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + + #region DeleteStackSet + + internal DeleteStackSetResponse DeleteStackSet(DeleteStackSetRequest request) + { + var marshaller = new DeleteStackSetRequestMarshaller(); + var unmarshaller = DeleteStackSetResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the DeleteStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the DeleteStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DeleteStackSet Operation + public Task DeleteStackSetAsync(DeleteStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new DeleteStackSetRequestMarshaller(); + var unmarshaller = DeleteStackSetResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region DescribeAccountLimits internal DescribeAccountLimitsResponse DescribeAccountLimits(DescribeAccountLimitsRequest request) @@ -552,6 +1061,38 @@ internal DescribeStackEventsResponse DescribeStackEvents(DescribeStackEventsRequ #endregion + #region DescribeStackInstance + + internal DescribeStackInstanceResponse DescribeStackInstance(DescribeStackInstanceRequest request) + { + var marshaller = new DescribeStackInstanceRequestMarshaller(); + var unmarshaller = DescribeStackInstanceResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the DescribeStackInstance operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackInstance operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DescribeStackInstance Operation + public Task DescribeStackInstanceAsync(DescribeStackInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new DescribeStackInstanceRequestMarshaller(); + var unmarshaller = DescribeStackInstanceResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region DescribeStackResource internal DescribeStackResourceResponse DescribeStackResource(DescribeStackResourceRequest request) @@ -674,6 +1215,70 @@ internal DescribeStacksResponse DescribeStacks(DescribeStacksRequest request) #endregion + #region DescribeStackSet + + internal DescribeStackSetResponse DescribeStackSet(DescribeStackSetRequest request) + { + var marshaller = new DescribeStackSetRequestMarshaller(); + var unmarshaller = DescribeStackSetResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the DescribeStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DescribeStackSet Operation + public Task DescribeStackSetAsync(DescribeStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new DescribeStackSetRequestMarshaller(); + var unmarshaller = DescribeStackSetResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + + #region DescribeStackSetOperation + + internal DescribeStackSetOperationResponse DescribeStackSetOperation(DescribeStackSetOperationRequest request) + { + var marshaller = new DescribeStackSetOperationRequestMarshaller(); + var unmarshaller = DescribeStackSetOperationResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the DescribeStackSetOperation operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackSetOperation operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DescribeStackSetOperation Operation + public Task DescribeStackSetOperationAsync(DescribeStackSetOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new DescribeStackSetOperationRequestMarshaller(); + var unmarshaller = DescribeStackSetOperationResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region EstimateTemplateCost internal EstimateTemplateCostResponse EstimateTemplateCost(EstimateTemplateCostRequest request) @@ -930,6 +1535,38 @@ internal ListImportsResponse ListImports(ListImportsRequest request) #endregion + #region ListStackInstances + + internal ListStackInstancesResponse ListStackInstances(ListStackInstancesRequest request) + { + var marshaller = new ListStackInstancesRequestMarshaller(); + var unmarshaller = ListStackInstancesResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the ListStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackInstances operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackInstances Operation + public Task ListStackInstancesAsync(ListStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new ListStackInstancesRequestMarshaller(); + var unmarshaller = ListStackInstancesResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region ListStackResources internal ListStackResourcesResponse ListStackResources(ListStackResourcesRequest request) @@ -1016,6 +1653,102 @@ internal ListStacksResponse ListStacks(ListStacksRequest request) #endregion + #region ListStackSetOperationResults + + internal ListStackSetOperationResultsResponse ListStackSetOperationResults(ListStackSetOperationResultsRequest request) + { + var marshaller = new ListStackSetOperationResultsRequestMarshaller(); + var unmarshaller = ListStackSetOperationResultsResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the ListStackSetOperationResults operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSetOperationResults operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackSetOperationResults Operation + public Task ListStackSetOperationResultsAsync(ListStackSetOperationResultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new ListStackSetOperationResultsRequestMarshaller(); + var unmarshaller = ListStackSetOperationResultsResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + + #region ListStackSetOperations + + internal ListStackSetOperationsResponse ListStackSetOperations(ListStackSetOperationsRequest request) + { + var marshaller = new ListStackSetOperationsRequestMarshaller(); + var unmarshaller = ListStackSetOperationsResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the ListStackSetOperations operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSetOperations operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackSetOperations Operation + public Task ListStackSetOperationsAsync(ListStackSetOperationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new ListStackSetOperationsRequestMarshaller(); + var unmarshaller = ListStackSetOperationsResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + + #region ListStackSets + + internal ListStackSetsResponse ListStackSets(ListStackSetsRequest request) + { + var marshaller = new ListStackSetsRequestMarshaller(); + var unmarshaller = ListStackSetsResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the ListStackSets operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSets operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackSets Operation + public Task ListStackSetsAsync(ListStackSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new ListStackSetsRequestMarshaller(); + var unmarshaller = ListStackSetsResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region SetStackPolicy internal SetStackPolicyResponse SetStackPolicy(SetStackPolicyRequest request) @@ -1080,6 +1813,38 @@ internal SignalResourceResponse SignalResource(SignalResourceRequest request) #endregion + #region StopStackSetOperation + + internal StopStackSetOperationResponse StopStackSetOperation(StopStackSetOperationRequest request) + { + var marshaller = new StopStackSetOperationRequestMarshaller(); + var unmarshaller = StopStackSetOperationResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the StopStackSetOperation operation. + /// + /// + /// Container for the necessary parameters to execute the StopStackSetOperation operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for StopStackSetOperation Operation + public Task StopStackSetOperationAsync(StopStackSetOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new StopStackSetOperationRequestMarshaller(); + var unmarshaller = StopStackSetOperationResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region UpdateStack internal UpdateStackResponse UpdateStack(UpdateStackRequest request) @@ -1112,6 +1877,38 @@ internal UpdateStackResponse UpdateStack(UpdateStackRequest request) #endregion + #region UpdateStackSet + + internal UpdateStackSetResponse UpdateStackSet(UpdateStackSetRequest request) + { + var marshaller = new UpdateStackSetRequestMarshaller(); + var unmarshaller = UpdateStackSetResponseUnmarshaller.Instance; + + return Invoke(request, marshaller, unmarshaller); + } + + + /// + /// Initiates the asynchronous execution of the UpdateStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the UpdateStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for UpdateStackSet Operation + public Task UpdateStackSetAsync(UpdateStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) + { + var marshaller = new UpdateStackSetRequestMarshaller(); + var unmarshaller = UpdateStackSetResponseUnmarshaller.Instance; + + return InvokeAsync(request, marshaller, + unmarshaller, cancellationToken); + } + + #endregion + #region ValidateTemplate internal ValidateTemplateResponse ValidateTemplate() diff --git a/sdk/src/Services/CloudFormation/Generated/_mobile/IAmazonCloudFormation.cs b/sdk/src/Services/CloudFormation/Generated/_mobile/IAmazonCloudFormation.cs index 945087b35feb..cb6dddeb1d10 100644 --- a/sdk/src/Services/CloudFormation/Generated/_mobile/IAmazonCloudFormation.cs +++ b/sdk/src/Services/CloudFormation/Generated/_mobile/IAmazonCloudFormation.cs @@ -58,6 +58,387 @@ namespace Amazon.CloudFormation /// information about a specific AWS product, you can find the product's technical documentation /// at docs.aws.amazon.com. /// + /// + /// + /// APIs for stacks + /// + /// + /// + /// When you use AWS CloudFormation, you manage related resources as a single unit called + /// a stack. You create, update, and delete a collection of resources by creating, updating, + /// and deleting stacks. All the resources in a stack are defined by the stack's AWS CloudFormation + /// template. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// + /// + /// APIs for change sets + /// + /// + /// + /// If you need to make changes to the running resources in a stack, you update the stack. + /// Before making changes to your resources, you can generate a change set, which is summary + /// of your proposed changes. Change sets allow you to see how your changes might impact + /// your running resources, especially for critical resources, before implementing them. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// + /// + /// APIs for stack sets + /// + /// + /// + /// AWS CloudFormation StackSets lets you create a collection, or stack set, of stacks + /// that can automatically and safely provision a common set of AWS resources across multiple + /// AWS accounts and multiple AWS regions from a single AWS CloudFormation template. When + /// you create a stack set, AWS CloudFormation provisions a stack in each of the specified + /// accounts and regions by using the supplied AWS CloudFormation template and parameters. + /// Stack sets let you manage a common set of AWS resources in a selection of accounts + /// and regions in a single operation. + /// + /// + /// + /// Actions + /// + /// + /// + /// Data Types + /// + /// /// public partial interface IAmazonCloudFormation : IAmazonService, IDisposable { @@ -130,6 +511,40 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region CreateStackInstances + + + /// + /// Initiates the asynchronous execution of the CreateStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the CreateStackInstances operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for CreateStackInstances Operation + Task CreateStackInstancesAsync(CreateStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + + #region CreateStackSet + + + /// + /// Initiates the asynchronous execution of the CreateStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the CreateStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for CreateStackSet Operation + Task CreateStackSetAsync(CreateStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region DeleteChangeSet @@ -164,6 +579,40 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region DeleteStackInstances + + + /// + /// Initiates the asynchronous execution of the DeleteStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the DeleteStackInstances operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DeleteStackInstances Operation + Task DeleteStackInstancesAsync(DeleteStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + + #region DeleteStackSet + + + /// + /// Initiates the asynchronous execution of the DeleteStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the DeleteStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DeleteStackSet Operation + Task DeleteStackSetAsync(DeleteStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region DescribeAccountLimits @@ -215,6 +664,23 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region DescribeStackInstance + + + /// + /// Initiates the asynchronous execution of the DescribeStackInstance operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackInstance operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DescribeStackInstance Operation + Task DescribeStackInstanceAsync(DescribeStackInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region DescribeStackResource @@ -285,6 +751,40 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region DescribeStackSet + + + /// + /// Initiates the asynchronous execution of the DescribeStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DescribeStackSet Operation + Task DescribeStackSetAsync(DescribeStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + + #region DescribeStackSetOperation + + + /// + /// Initiates the asynchronous execution of the DescribeStackSetOperation operation. + /// + /// + /// Container for the necessary parameters to execute the DescribeStackSetOperation operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for DescribeStackSetOperation Operation + Task DescribeStackSetOperationAsync(DescribeStackSetOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region EstimateTemplateCost @@ -421,6 +921,23 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region ListStackInstances + + + /// + /// Initiates the asynchronous execution of the ListStackInstances operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackInstances operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackInstances Operation + Task ListStackInstancesAsync(ListStackInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region ListStackResources @@ -470,6 +987,57 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region ListStackSetOperationResults + + + /// + /// Initiates the asynchronous execution of the ListStackSetOperationResults operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSetOperationResults operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackSetOperationResults Operation + Task ListStackSetOperationResultsAsync(ListStackSetOperationResultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + + #region ListStackSetOperations + + + /// + /// Initiates the asynchronous execution of the ListStackSetOperations operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSetOperations operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackSetOperations Operation + Task ListStackSetOperationsAsync(ListStackSetOperationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + + #region ListStackSets + + + /// + /// Initiates the asynchronous execution of the ListStackSets operation. + /// + /// + /// Container for the necessary parameters to execute the ListStackSets operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for ListStackSets Operation + Task ListStackSetsAsync(ListStackSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region SetStackPolicy @@ -504,6 +1072,23 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region StopStackSetOperation + + + /// + /// Initiates the asynchronous execution of the StopStackSetOperation operation. + /// + /// + /// Container for the necessary parameters to execute the StopStackSetOperation operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for StopStackSetOperation Operation + Task StopStackSetOperationAsync(StopStackSetOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region UpdateStack @@ -521,6 +1106,23 @@ public partial interface IAmazonCloudFormation : IAmazonService, IDisposable #endregion + #region UpdateStackSet + + + /// + /// Initiates the asynchronous execution of the UpdateStackSet operation. + /// + /// + /// Container for the necessary parameters to execute the UpdateStackSet operation. + /// + /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. + /// + /// The task object representing the asynchronous operation. + /// REST API Reference for UpdateStackSet Operation + Task UpdateStackSetAsync(UpdateStackSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); + + #endregion + #region ValidateTemplate diff --git a/sdk/test/UnitTests/Generated/Marshalling/CloudFormationMarshallingTests.cs b/sdk/test/UnitTests/Generated/Marshalling/CloudFormationMarshallingTests.cs index 7bab79d34800..0c18fdf53e30 100644 --- a/sdk/test/UnitTests/Generated/Marshalling/CloudFormationMarshallingTests.cs +++ b/sdk/test/UnitTests/Generated/Marshalling/CloudFormationMarshallingTests.cs @@ -131,6 +131,54 @@ public void CreateStackMarshallTest() + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void CreateStackInstancesMarshallTest() + { + var operation = service_model.FindOperation("CreateStackInstances"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new CreateStackInstancesRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = CreateStackInstancesResponseUnmarshaller.Instance.Unmarshall(context) + as CreateStackInstancesResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void CreateStackSetMarshallTest() + { + var operation = service_model.FindOperation("CreateStackSet"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new CreateStackSetRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = CreateStackSetResponseUnmarshaller.Instance.Unmarshall(context) + as CreateStackSetResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + [TestMethod] [TestCategory("UnitTest")] [TestCategory("Query")] @@ -174,6 +222,54 @@ public void DeleteStackMarshallTest() + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void DeleteStackInstancesMarshallTest() + { + var operation = service_model.FindOperation("DeleteStackInstances"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new DeleteStackInstancesRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = DeleteStackInstancesResponseUnmarshaller.Instance.Unmarshall(context) + as DeleteStackInstancesResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void DeleteStackSetMarshallTest() + { + var operation = service_model.FindOperation("DeleteStackSet"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new DeleteStackSetRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = DeleteStackSetResponseUnmarshaller.Instance.Unmarshall(context) + as DeleteStackSetResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + [TestMethod] [TestCategory("UnitTest")] [TestCategory("Query")] @@ -246,6 +342,30 @@ public void DescribeStackEventsMarshallTest() + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void DescribeStackInstanceMarshallTest() + { + var operation = service_model.FindOperation("DescribeStackInstance"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new DescribeStackInstanceRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = DescribeStackInstanceResponseUnmarshaller.Instance.Unmarshall(context) + as DescribeStackInstanceResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + [TestMethod] [TestCategory("UnitTest")] [TestCategory("Query")] @@ -318,6 +438,54 @@ public void DescribeStacksMarshallTest() + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void DescribeStackSetMarshallTest() + { + var operation = service_model.FindOperation("DescribeStackSet"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new DescribeStackSetRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = DescribeStackSetResponseUnmarshaller.Instance.Unmarshall(context) + as DescribeStackSetResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void DescribeStackSetOperationMarshallTest() + { + var operation = service_model.FindOperation("DescribeStackSetOperation"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new DescribeStackSetOperationRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = DescribeStackSetOperationResponseUnmarshaller.Instance.Unmarshall(context) + as DescribeStackSetOperationResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + [TestMethod] [TestCategory("UnitTest")] [TestCategory("Query")] @@ -510,6 +678,30 @@ public void ListImportsMarshallTest() + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void ListStackInstancesMarshallTest() + { + var operation = service_model.FindOperation("ListStackInstances"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new ListStackInstancesRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = ListStackInstancesResponseUnmarshaller.Instance.Unmarshall(context) + as ListStackInstancesResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + [TestMethod] [TestCategory("UnitTest")] [TestCategory("Query")] @@ -558,6 +750,78 @@ public void ListStacksMarshallTest() + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void ListStackSetOperationResultsMarshallTest() + { + var operation = service_model.FindOperation("ListStackSetOperationResults"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new ListStackSetOperationResultsRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = ListStackSetOperationResultsResponseUnmarshaller.Instance.Unmarshall(context) + as ListStackSetOperationResultsResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void ListStackSetOperationsMarshallTest() + { + var operation = service_model.FindOperation("ListStackSetOperations"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new ListStackSetOperationsRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = ListStackSetOperationsResponseUnmarshaller.Instance.Unmarshall(context) + as ListStackSetOperationsResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void ListStackSetsMarshallTest() + { + var operation = service_model.FindOperation("ListStackSets"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new ListStackSetsRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = ListStackSetsResponseUnmarshaller.Instance.Unmarshall(context) + as ListStackSetsResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + [TestMethod] [TestCategory("UnitTest")] [TestCategory("Query")] @@ -596,6 +860,30 @@ public void SignalResourceMarshallTest() + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void StopStackSetOperationMarshallTest() + { + var operation = service_model.FindOperation("StopStackSetOperation"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new StopStackSetOperationRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = StopStackSetOperationResponseUnmarshaller.Instance.Unmarshall(context) + as StopStackSetOperationResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + [TestMethod] [TestCategory("UnitTest")] [TestCategory("Query")] @@ -620,6 +908,30 @@ public void UpdateStackMarshallTest() + [TestMethod] + [TestCategory("UnitTest")] + [TestCategory("Query")] + [TestCategory("CloudFormation")] + public void UpdateStackSetMarshallTest() + { + var operation = service_model.FindOperation("UpdateStackSet"); + + var request = InstantiateClassGenerator.Execute(); + var marshaller = new UpdateStackSetRequestMarshaller(); + var internalRequest = marshaller.Marshall(request); + var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); + validator.Validate(); + + + var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); + var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); + var response = UpdateStackSetResponseUnmarshaller.Instance.Unmarshall(context) + as UpdateStackSetResponse; + InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); + } + + + [TestMethod] [TestCategory("UnitTest")] [TestCategory("Query")]