amazonka-cloudformation 1.5.0 → 1.6.0
raw patch · 54 files changed
+1416/−1103 lines, 54 filesdep ~amazonka-coredep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-test
API changes (from Hackage documentation)
+ Network.AWS.CloudFormation: pResolvedValue :: Lens' Parameter (Maybe Text)
+ Network.AWS.CloudFormation: siParameterOverrides :: Lens' StackInstance [Parameter]
+ Network.AWS.CloudFormation: ssAdministrationRoleARN :: Lens' StackSet (Maybe Text)
+ Network.AWS.CloudFormation: ssStackSetARN :: Lens' StackSet (Maybe Text)
+ Network.AWS.CloudFormation: ssoAdministrationRoleARN :: Lens' StackSetOperation (Maybe Text)
+ Network.AWS.CloudFormation.CreateStackInstances: csiParameterOverrides :: Lens' CreateStackInstances [Parameter]
+ Network.AWS.CloudFormation.CreateStackSet: cssAdministrationRoleARN :: Lens' CreateStackSet (Maybe Text)
+ Network.AWS.CloudFormation.Types: pResolvedValue :: Lens' Parameter (Maybe Text)
+ Network.AWS.CloudFormation.Types: siParameterOverrides :: Lens' StackInstance [Parameter]
+ Network.AWS.CloudFormation.Types: ssAdministrationRoleARN :: Lens' StackSet (Maybe Text)
+ Network.AWS.CloudFormation.Types: ssStackSetARN :: Lens' StackSet (Maybe Text)
+ Network.AWS.CloudFormation.Types: ssoAdministrationRoleARN :: Lens' StackSetOperation (Maybe Text)
+ Network.AWS.CloudFormation.UpdateStackInstances: data UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: data UpdateStackInstancesResponse
+ Network.AWS.CloudFormation.UpdateStackInstances: instance Control.DeepSeq.NFData Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: instance Control.DeepSeq.NFData Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstancesResponse
+ Network.AWS.CloudFormation.UpdateStackInstances: instance Data.Data.Data Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: instance Data.Data.Data Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstancesResponse
+ Network.AWS.CloudFormation.UpdateStackInstances: instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: instance GHC.Classes.Eq Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: instance GHC.Classes.Eq Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstancesResponse
+ Network.AWS.CloudFormation.UpdateStackInstances: instance GHC.Generics.Generic Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: instance GHC.Generics.Generic Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstancesResponse
+ Network.AWS.CloudFormation.UpdateStackInstances: instance GHC.Read.Read Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: instance GHC.Read.Read Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstancesResponse
+ Network.AWS.CloudFormation.UpdateStackInstances: instance GHC.Show.Show Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: instance GHC.Show.Show Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstancesResponse
+ Network.AWS.CloudFormation.UpdateStackInstances: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.UpdateStackInstances.UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: updateStackInstances :: Text -> UpdateStackInstances
+ Network.AWS.CloudFormation.UpdateStackInstances: updateStackInstancesResponse :: Int -> UpdateStackInstancesResponse
+ Network.AWS.CloudFormation.UpdateStackInstances: usiAccounts :: Lens' UpdateStackInstances [Text]
+ Network.AWS.CloudFormation.UpdateStackInstances: usiOperationId :: Lens' UpdateStackInstances (Maybe Text)
+ Network.AWS.CloudFormation.UpdateStackInstances: usiOperationPreferences :: Lens' UpdateStackInstances (Maybe StackSetOperationPreferences)
+ Network.AWS.CloudFormation.UpdateStackInstances: usiParameterOverrides :: Lens' UpdateStackInstances [Parameter]
+ Network.AWS.CloudFormation.UpdateStackInstances: usiRegions :: Lens' UpdateStackInstances [Text]
+ Network.AWS.CloudFormation.UpdateStackInstances: usiStackSetName :: Lens' UpdateStackInstances Text
+ Network.AWS.CloudFormation.UpdateStackInstances: usirsOperationId :: Lens' UpdateStackInstancesResponse (Maybe Text)
+ Network.AWS.CloudFormation.UpdateStackInstances: usirsResponseStatus :: Lens' UpdateStackInstancesResponse Int
+ Network.AWS.CloudFormation.UpdateStackSet: ussAdministrationRoleARN :: Lens' UpdateStackSet (Maybe Text)
Files
- README.md +1/−1
- amazonka-cloudformation.cabal +6/−5
- fixture/UpdateStackInstances.yaml +10/−0
- fixture/UpdateStackInstancesResponse.proto +0/−0
- gen/Network/AWS/CloudFormation.hs +10/−1
- gen/Network/AWS/CloudFormation/CancelUpdateStack.hs +4/−4
- gen/Network/AWS/CloudFormation/ContinueUpdateRollback.hs +11/−11
- gen/Network/AWS/CloudFormation/CreateChangeSet.hs +39/−39
- gen/Network/AWS/CloudFormation/CreateStack.hs +39/−39
- gen/Network/AWS/CloudFormation/CreateStackInstances.hs +27/−15
- gen/Network/AWS/CloudFormation/CreateStackSet.hs +39/−29
- gen/Network/AWS/CloudFormation/DeleteChangeSet.hs +5/−5
- gen/Network/AWS/CloudFormation/DeleteStack.hs +10/−10
- gen/Network/AWS/CloudFormation/DeleteStackInstances.hs +17/−17
- gen/Network/AWS/CloudFormation/DeleteStackSet.hs +3/−3
- gen/Network/AWS/CloudFormation/DescribeAccountLimits.hs +9/−9
- gen/Network/AWS/CloudFormation/DescribeChangeSet.hs +43/−43
- gen/Network/AWS/CloudFormation/DescribeStackEvents.hs +10/−10
- gen/Network/AWS/CloudFormation/DescribeStackInstance.hs +11/−11
- gen/Network/AWS/CloudFormation/DescribeStackResource.hs +9/−7
- gen/Network/AWS/CloudFormation/DescribeStackResources.hs +11/−11
- gen/Network/AWS/CloudFormation/DescribeStackSet.hs +5/−5
- gen/Network/AWS/CloudFormation/DescribeStackSetOperation.hs +9/−7
- gen/Network/AWS/CloudFormation/DescribeStacks.hs +10/−10
- gen/Network/AWS/CloudFormation/EstimateTemplateCost.hs +11/−11
- gen/Network/AWS/CloudFormation/ExecuteChangeSet.hs +9/−9
- gen/Network/AWS/CloudFormation/GetStackPolicy.hs +5/−5
- gen/Network/AWS/CloudFormation/GetTemplate.hs +15/−15
- gen/Network/AWS/CloudFormation/GetTemplateSummary.hs +29/−29
- gen/Network/AWS/CloudFormation/ListChangeSets.hs +10/−10
- gen/Network/AWS/CloudFormation/ListExports.hs +9/−9
- gen/Network/AWS/CloudFormation/ListImports.hs +10/−10
- gen/Network/AWS/CloudFormation/ListStackInstances.hs +19/−19
- gen/Network/AWS/CloudFormation/ListStackResources.hs +10/−10
- gen/Network/AWS/CloudFormation/ListStackSetOperationResults.hs +17/−17
- gen/Network/AWS/CloudFormation/ListStackSetOperations.hs +15/−15
- gen/Network/AWS/CloudFormation/ListStackSets.hs +12/−12
- gen/Network/AWS/CloudFormation/ListStacks.hs +10/−10
- gen/Network/AWS/CloudFormation/SetStackPolicy.hs +8/−8
- gen/Network/AWS/CloudFormation/SignalResource.hs +10/−10
- gen/Network/AWS/CloudFormation/StopStackSetOperation.hs +5/−5
- gen/Network/AWS/CloudFormation/Types.hs +23/−16
- gen/Network/AWS/CloudFormation/Types/Product.hs +432/−388
- gen/Network/AWS/CloudFormation/Types/Sum.hs +1/−1
- gen/Network/AWS/CloudFormation/UpdateStack.hs +37/−37
- gen/Network/AWS/CloudFormation/UpdateStackInstances.hs +186/−0
- gen/Network/AWS/CloudFormation/UpdateStackSet.hs +45/−35
- gen/Network/AWS/CloudFormation/UpdateTerminationProtection.hs +9/−9
- gen/Network/AWS/CloudFormation/ValidateTemplate.hs +16/−16
- gen/Network/AWS/CloudFormation/Waiters.hs +103/−101
- test/Main.hs +1/−1
- test/Test/AWS/CloudFormation.hs +1/−1
- test/Test/AWS/CloudFormation/Internal.hs +1/−1
- test/Test/AWS/Gen/CloudFormation.hs +19/−1
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.5.0`+`1.6.0` ## Description
amazonka-cloudformation.cabal view
@@ -1,5 +1,5 @@ name: amazonka-cloudformation-version: 1.5.0+version: 1.6.0 synopsis: Amazon CloudFormation SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -7,7 +7,7 @@ license-file: LICENSE author: Brendan Hay maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright: Copyright (c) 2013-2017 Brendan Hay+copyright: Copyright (c) 2013-2018 Brendan Hay category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10@@ -83,6 +83,7 @@ , Network.AWS.CloudFormation.StopStackSetOperation , Network.AWS.CloudFormation.Types , Network.AWS.CloudFormation.UpdateStack+ , Network.AWS.CloudFormation.UpdateStackInstances , Network.AWS.CloudFormation.UpdateStackSet , Network.AWS.CloudFormation.UpdateTerminationProtection , Network.AWS.CloudFormation.ValidateTemplate@@ -93,7 +94,7 @@ , Network.AWS.CloudFormation.Types.Sum build-depends:- amazonka-core == 1.5.0.*+ amazonka-core == 1.6.0.* , base >= 4.7 && < 5 test-suite amazonka-cloudformation-test@@ -113,8 +114,8 @@ , Test.AWS.CloudFormation.Internal build-depends:- amazonka-core == 1.5.0.*- , amazonka-test == 1.5.0.*+ amazonka-core == 1.6.0.*+ , amazonka-test == 1.6.0.* , amazonka-cloudformation , base , bytestring
+ fixture/UpdateStackInstances.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/cloudformation/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: cloudformation.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateStackInstancesResponse.proto view
gen/Network/AWS/CloudFormation.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Network.AWS.CloudFormation--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -116,6 +116,9 @@ -- ** ListStackResources (Paginated) , module Network.AWS.CloudFormation.ListStackResources + -- ** UpdateStackInstances+ , module Network.AWS.CloudFormation.UpdateStackInstances+ -- ** DeleteStackInstances , module Network.AWS.CloudFormation.DeleteStackInstances @@ -336,6 +339,7 @@ , Parameter , parameter , pParameterValue+ , pResolvedValue , pParameterKey , pUsePreviousValue @@ -440,6 +444,7 @@ , siRegion , siStatusReason , siStackId+ , siParameterOverrides , siStackSetId -- ** StackInstanceSummary@@ -493,6 +498,8 @@ , StackSet , stackSet , ssStatus+ , ssAdministrationRoleARN+ , ssStackSetARN , ssParameters , ssTemplateBody , ssStackSetName@@ -505,6 +512,7 @@ , StackSetOperation , stackSetOperation , ssoStatus+ , ssoAdministrationRoleARN , ssoAction , ssoEndTimestamp , ssoCreationTimestamp@@ -615,6 +623,7 @@ import Network.AWS.CloudFormation.StopStackSetOperation import Network.AWS.CloudFormation.Types import Network.AWS.CloudFormation.UpdateStack+import Network.AWS.CloudFormation.UpdateStackInstances import Network.AWS.CloudFormation.UpdateStackSet import Network.AWS.CloudFormation.UpdateTerminationProtection import Network.AWS.CloudFormation.ValidateTemplate
gen/Network/AWS/CloudFormation/CancelUpdateStack.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.CancelUpdateStack--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -65,16 +65,16 @@ -> CancelUpdateStack cancelUpdateStack pStackName_ = CancelUpdateStack'- {_cusClientRequestToken = Nothing, _cusStackName = pStackName_}+ {_cusClientRequestToken = Nothing, _cusStackName = pStackName_} -- | A unique identifier for this @CancelUpdateStack@ request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to cancel an update on a stack with the same name. You might retry @CancelUpdateStack@ requests to ensure that AWS CloudFormation successfully received them. cusClientRequestToken :: Lens' CancelUpdateStack (Maybe Text)-cusClientRequestToken = lens _cusClientRequestToken (\ s a -> s{_cusClientRequestToken = a});+cusClientRequestToken = lens _cusClientRequestToken (\ s a -> s{_cusClientRequestToken = a}) -- | The name or the unique stack ID that is associated with the stack. cusStackName :: Lens' CancelUpdateStack Text-cusStackName = lens _cusStackName (\ s a -> s{_cusStackName = a});+cusStackName = lens _cusStackName (\ s a -> s{_cusStackName = a}) instance AWSRequest CancelUpdateStack where type Rs CancelUpdateStack = CancelUpdateStackResponse
gen/Network/AWS/CloudFormation/ContinueUpdateRollback.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.ContinueUpdateRollback--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -77,28 +77,28 @@ -> ContinueUpdateRollback continueUpdateRollback pStackName_ = ContinueUpdateRollback'- { _curResourcesToSkip = Nothing- , _curClientRequestToken = Nothing- , _curRoleARN = Nothing- , _curStackName = pStackName_- }+ { _curResourcesToSkip = Nothing+ , _curClientRequestToken = Nothing+ , _curRoleARN = Nothing+ , _curStackName = pStackName_+ } -- | 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. /Important:/ Specify this property to skip rolling back resources that AWS CloudFormation can't successfully roll back. We recommend that you <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed 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@ . curResourcesToSkip :: Lens' ContinueUpdateRollback [Text]-curResourcesToSkip = lens _curResourcesToSkip (\ s a -> s{_curResourcesToSkip = a}) . _Default . _Coerce;+curResourcesToSkip = lens _curResourcesToSkip (\ s a -> s{_curResourcesToSkip = a}) . _Default . _Coerce -- | A unique identifier for this @ContinueUpdateRollback@ request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to continue the rollback to a stack with the same name. You might retry @ContinueUpdateRollback@ requests to ensure that AWS CloudFormation successfully received them. curClientRequestToken :: Lens' ContinueUpdateRollback (Maybe Text)-curClientRequestToken = lens _curClientRequestToken (\ s a -> s{_curClientRequestToken = a});+curClientRequestToken = lens _curClientRequestToken (\ s a -> s{_curClientRequestToken = a}) -- | The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes to roll back the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf. AWS CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, AWS CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. curRoleARN :: Lens' ContinueUpdateRollback (Maybe Text)-curRoleARN = lens _curRoleARN (\ s a -> s{_curRoleARN = a});+curRoleARN = lens _curRoleARN (\ s a -> s{_curRoleARN = a}) -- | The name or the unique ID of the stack that you want to continue rolling back. curStackName :: Lens' ContinueUpdateRollback Text-curStackName = lens _curStackName (\ s a -> s{_curStackName = a});+curStackName = lens _curStackName (\ s a -> s{_curStackName = a}) instance AWSRequest ContinueUpdateRollback where type Rs ContinueUpdateRollback =@@ -157,6 +157,6 @@ -- | -- | The response status code. currsResponseStatus :: Lens' ContinueUpdateRollbackResponse Int-currsResponseStatus = lens _currsResponseStatus (\ s a -> s{_currsResponseStatus = a});+currsResponseStatus = lens _currsResponseStatus (\ s a -> s{_currsResponseStatus = a}) instance NFData ContinueUpdateRollbackResponse where
gen/Network/AWS/CloudFormation/CreateChangeSet.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.CreateChangeSet--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -126,83 +126,83 @@ -> CreateChangeSet createChangeSet pStackName_ pChangeSetName_ = CreateChangeSet'- { _ccsChangeSetType = Nothing- , _ccsUsePreviousTemplate = Nothing- , _ccsClientToken = Nothing- , _ccsNotificationARNs = Nothing- , _ccsParameters = Nothing- , _ccsTemplateBody = Nothing- , _ccsTemplateURL = Nothing- , _ccsDescription = Nothing- , _ccsCapabilities = Nothing- , _ccsRollbackConfiguration = Nothing- , _ccsResourceTypes = Nothing- , _ccsTags = Nothing- , _ccsRoleARN = Nothing- , _ccsStackName = pStackName_- , _ccsChangeSetName = pChangeSetName_- }+ { _ccsChangeSetType = Nothing+ , _ccsUsePreviousTemplate = Nothing+ , _ccsClientToken = Nothing+ , _ccsNotificationARNs = Nothing+ , _ccsParameters = Nothing+ , _ccsTemplateBody = Nothing+ , _ccsTemplateURL = Nothing+ , _ccsDescription = Nothing+ , _ccsCapabilities = Nothing+ , _ccsRollbackConfiguration = Nothing+ , _ccsResourceTypes = Nothing+ , _ccsTags = Nothing+ , _ccsRoleARN = Nothing+ , _ccsStackName = pStackName_+ , _ccsChangeSetName = pChangeSetName_+ } -- | The type of change set operation. To create a change set for a new stack, specify @CREATE@ . To create a change set for an existing stack, specify @UPDATE@ . If you create a change set for a new stack, AWS Cloudformation creates a stack with a unique stack ID, but no template or resources. The stack will be in the <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-describing-stacks.html#d0e11995 @REVIEW_IN_PROGRESS@ > state until you execute the change set. By default, AWS CloudFormation specifies @UPDATE@ . You can't use the @UPDATE@ type to create a change set for a new stack or the @CREATE@ type to create a change set for an existing stack. ccsChangeSetType :: Lens' CreateChangeSet (Maybe ChangeSetType)-ccsChangeSetType = lens _ccsChangeSetType (\ s a -> s{_ccsChangeSetType = a});+ccsChangeSetType = lens _ccsChangeSetType (\ s a -> s{_ccsChangeSetType = a}) -- | Whether to reuse the template that is associated with the stack to create the change set. ccsUsePreviousTemplate :: Lens' CreateChangeSet (Maybe Bool)-ccsUsePreviousTemplate = lens _ccsUsePreviousTemplate (\ s a -> s{_ccsUsePreviousTemplate = a});+ccsUsePreviousTemplate = lens _ccsUsePreviousTemplate (\ s a -> s{_ccsUsePreviousTemplate = a}) -- | A unique identifier for this @CreateChangeSet@ request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to create another change set with the same name. You might retry @CreateChangeSet@ requests to ensure that AWS CloudFormation successfully received them. ccsClientToken :: Lens' CreateChangeSet (Maybe Text)-ccsClientToken = lens _ccsClientToken (\ s a -> s{_ccsClientToken = a});+ccsClientToken = lens _ccsClientToken (\ s a -> s{_ccsClientToken = a}) -- | The Amazon Resource Names (ARNs) of Amazon Simple Notification Service (Amazon SNS) topics that AWS CloudFormation associates with the stack. To remove all associated notification topics, specify an empty list. ccsNotificationARNs :: Lens' CreateChangeSet [Text]-ccsNotificationARNs = lens _ccsNotificationARNs (\ s a -> s{_ccsNotificationARNs = a}) . _Default . _Coerce;+ccsNotificationARNs = lens _ccsNotificationARNs (\ s a -> s{_ccsNotificationARNs = a}) . _Default . _Coerce -- | A list of @Parameter@ structures that specify input parameters for the change set. For more information, see the <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html Parameter> data type. ccsParameters :: Lens' CreateChangeSet [Parameter]-ccsParameters = lens _ccsParameters (\ s a -> s{_ccsParameters = a}) . _Default . _Coerce;+ccsParameters = lens _ccsParameters (\ s a -> s{_ccsParameters = a}) . _Default . _Coerce -- | A structure that contains the body of the revised template, with a minimum length of 1 byte and a maximum length of 51,200 bytes. AWS CloudFormation generates the change set by comparing this template with the template of the stack that you specified. Conditional: You must specify only @TemplateBody@ or @TemplateURL@ . ccsTemplateBody :: Lens' CreateChangeSet (Maybe Text)-ccsTemplateBody = lens _ccsTemplateBody (\ s a -> s{_ccsTemplateBody = a});+ccsTemplateBody = lens _ccsTemplateBody (\ s a -> s{_ccsTemplateBody = a}) -- | The location of the file that contains the revised template. The URL must point to a template (max size: 460,800 bytes) that is located in an S3 bucket. AWS CloudFormation generates the change set by comparing this template with the stack that you specified. Conditional: You must specify only @TemplateBody@ or @TemplateURL@ . ccsTemplateURL :: Lens' CreateChangeSet (Maybe Text)-ccsTemplateURL = lens _ccsTemplateURL (\ s a -> s{_ccsTemplateURL = a});+ccsTemplateURL = lens _ccsTemplateURL (\ s a -> s{_ccsTemplateURL = a}) -- | A description to help you identify this change set. ccsDescription :: Lens' CreateChangeSet (Maybe Text)-ccsDescription = lens _ccsDescription (\ s a -> s{_ccsDescription = a});+ccsDescription = lens _ccsDescription (\ s a -> s{_ccsDescription = a}) -- | A list of values that you must specify before AWS CloudFormation can update certain stacks. Some stack templates might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge their capabilities by specifying this parameter. The only valid values are @CAPABILITY_IAM@ and @CAPABILITY_NAMED_IAM@ . The following resources require you to specify this parameter: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html AWS::IAM::AccessKey> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html AWS::IAM::Group> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html AWS::IAM::InstanceProfile> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html AWS::IAM::Policy> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html AWS::IAM::Role> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html AWS::IAM::User> , and <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html AWS::IAM::UserToGroupAddition> . If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify @CAPABILITY_NAMED_IAM@ . If you don't specify this parameter, this action returns an @InsufficientCapabilities@ error. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities Acknowledging IAM Resources in AWS CloudFormation Templates> . ccsCapabilities :: Lens' CreateChangeSet [Capability]-ccsCapabilities = lens _ccsCapabilities (\ s a -> s{_ccsCapabilities = a}) . _Default . _Coerce;+ccsCapabilities = lens _ccsCapabilities (\ s a -> s{_ccsCapabilities = a}) . _Default . _Coerce -- | The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards. ccsRollbackConfiguration :: Lens' CreateChangeSet (Maybe RollbackConfiguration)-ccsRollbackConfiguration = lens _ccsRollbackConfiguration (\ s a -> s{_ccsRollbackConfiguration = a});+ccsRollbackConfiguration = lens _ccsRollbackConfiguration (\ s a -> s{_ccsRollbackConfiguration = a}) -- | The template resource types that you have permissions to work with if you execute this change set, such as @AWS::EC2::Instance@ , @AWS::EC2::*@ , or @Custom::MyCustomInstance@ . If the list of resource types doesn't include a resource type that you're updating, the stack update fails. By default, AWS CloudFormation grants permissions to all resource types. AWS Identity and Access Management (IAM) uses this parameter for condition keys in IAM policies for AWS CloudFormation. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html Controlling Access with AWS Identity and Access Management> in the AWS CloudFormation User Guide. ccsResourceTypes :: Lens' CreateChangeSet [Text]-ccsResourceTypes = lens _ccsResourceTypes (\ s a -> s{_ccsResourceTypes = a}) . _Default . _Coerce;+ccsResourceTypes = lens _ccsResourceTypes (\ s a -> s{_ccsResourceTypes = a}) . _Default . _Coerce -- | 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. ccsTags :: Lens' CreateChangeSet [Tag]-ccsTags = lens _ccsTags (\ s a -> s{_ccsTags = a}) . _Default . _Coerce;+ccsTags = lens _ccsTags (\ s a -> s{_ccsTags = a}) . _Default . _Coerce -- | The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes when executing the change set. AWS CloudFormation uses the role's credentials to make calls on your behalf. AWS CloudFormation uses this role for all future operations on the stack. As long as users have permission to operate on the stack, AWS CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. ccsRoleARN :: Lens' CreateChangeSet (Maybe Text)-ccsRoleARN = lens _ccsRoleARN (\ s a -> s{_ccsRoleARN = a});+ccsRoleARN = lens _ccsRoleARN (\ s a -> s{_ccsRoleARN = a}) -- | The name or the unique ID of the stack for which you are creating a change set. AWS CloudFormation generates the change set by comparing this stack's information with the information that you submit, such as a modified template or different parameter input values. ccsStackName :: Lens' CreateChangeSet Text-ccsStackName = lens _ccsStackName (\ s a -> s{_ccsStackName = a});+ccsStackName = lens _ccsStackName (\ s a -> s{_ccsStackName = a}) -- | The name of the change set. The name must be unique among all change sets that are associated with the specified stack. A change set name can contain only alphanumeric, case sensitive characters and hyphens. It must start with an alphabetic character and cannot exceed 128 characters. ccsChangeSetName :: Lens' CreateChangeSet Text-ccsChangeSetName = lens _ccsChangeSetName (\ s a -> s{_ccsChangeSetName = a});+ccsChangeSetName = lens _ccsChangeSetName (\ s a -> s{_ccsChangeSetName = a}) instance AWSRequest CreateChangeSet where type Rs CreateChangeSet = CreateChangeSetResponse@@ -277,22 +277,22 @@ -> CreateChangeSetResponse createChangeSetResponse pResponseStatus_ = CreateChangeSetResponse'- { _ccsrsId = Nothing- , _ccsrsStackId = Nothing- , _ccsrsResponseStatus = pResponseStatus_- }+ { _ccsrsId = Nothing+ , _ccsrsStackId = Nothing+ , _ccsrsResponseStatus = pResponseStatus_+ } -- | The Amazon Resource Name (ARN) of the change set. ccsrsId :: Lens' CreateChangeSetResponse (Maybe Text)-ccsrsId = lens _ccsrsId (\ s a -> s{_ccsrsId = a});+ccsrsId = lens _ccsrsId (\ s a -> s{_ccsrsId = a}) -- | The unique ID of the stack. ccsrsStackId :: Lens' CreateChangeSetResponse (Maybe Text)-ccsrsStackId = lens _ccsrsStackId (\ s a -> s{_ccsrsStackId = a});+ccsrsStackId = lens _ccsrsStackId (\ s a -> s{_ccsrsStackId = a}) -- | -- | The response status code. ccsrsResponseStatus :: Lens' CreateChangeSetResponse Int-ccsrsResponseStatus = lens _ccsrsResponseStatus (\ s a -> s{_ccsrsResponseStatus = a});+ccsrsResponseStatus = lens _ccsrsResponseStatus (\ s a -> s{_ccsrsResponseStatus = a}) instance NFData CreateChangeSetResponse where
gen/Network/AWS/CloudFormation/CreateStack.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.CreateStack--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -128,93 +128,93 @@ -> CreateStack createStack pStackName_ = CreateStack'- { _csDisableRollback = Nothing- , _csNotificationARNs = Nothing- , _csEnableTerminationProtection = Nothing- , _csStackPolicyBody = Nothing- , _csParameters = Nothing- , _csStackPolicyURL = Nothing- , _csTemplateBody = Nothing- , _csTemplateURL = Nothing- , _csClientRequestToken = Nothing- , _csCapabilities = Nothing- , _csRollbackConfiguration = Nothing- , _csOnFailure = Nothing- , _csResourceTypes = Nothing- , _csTags = Nothing- , _csTimeoutInMinutes = Nothing- , _csRoleARN = Nothing- , _csStackName = pStackName_- }+ { _csDisableRollback = Nothing+ , _csNotificationARNs = Nothing+ , _csEnableTerminationProtection = Nothing+ , _csStackPolicyBody = Nothing+ , _csParameters = Nothing+ , _csStackPolicyURL = Nothing+ , _csTemplateBody = Nothing+ , _csTemplateURL = Nothing+ , _csClientRequestToken = Nothing+ , _csCapabilities = Nothing+ , _csRollbackConfiguration = Nothing+ , _csOnFailure = Nothing+ , _csResourceTypes = Nothing+ , _csTags = Nothing+ , _csTimeoutInMinutes = Nothing+ , _csRoleARN = Nothing+ , _csStackName = pStackName_+ } -- | Set to @true@ to disable rollback of the stack if stack creation failed. You can specify either @DisableRollback@ or @OnFailure@ , but not both. Default: @false@ csDisableRollback :: Lens' CreateStack (Maybe Bool)-csDisableRollback = lens _csDisableRollback (\ s a -> s{_csDisableRollback = a});+csDisableRollback = lens _csDisableRollback (\ s a -> s{_csDisableRollback = a}) -- | The Simple Notification Service (SNS) topic ARNs to publish stack related events. You can find your SNS topic ARNs using the SNS console or your Command Line Interface (CLI). csNotificationARNs :: Lens' CreateStack [Text]-csNotificationARNs = lens _csNotificationARNs (\ s a -> s{_csNotificationARNs = a}) . _Default . _Coerce;+csNotificationARNs = lens _csNotificationARNs (\ s a -> s{_csNotificationARNs = a}) . _Default . _Coerce -- | Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html Protecting a Stack From Being Deleted> in the /AWS CloudFormation User Guide/ . Termination protection is disabled on stacks by default. For <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html nested stacks> , termination protection is set on the root stack and cannot be changed directly on the nested stack. csEnableTerminationProtection :: Lens' CreateStack (Maybe Bool)-csEnableTerminationProtection = lens _csEnableTerminationProtection (\ s a -> s{_csEnableTerminationProtection = a});+csEnableTerminationProtection = lens _csEnableTerminationProtection (\ s a -> s{_csEnableTerminationProtection = a}) -- | Structure containing the stack policy body. For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html Prevent Updates to Stack Resources> in the /AWS CloudFormation User Guide/ . You can specify either the @StackPolicyBody@ or the @StackPolicyURL@ parameter, but not both. csStackPolicyBody :: Lens' CreateStack (Maybe Text)-csStackPolicyBody = lens _csStackPolicyBody (\ s a -> s{_csStackPolicyBody = a});+csStackPolicyBody = lens _csStackPolicyBody (\ s a -> s{_csStackPolicyBody = a}) -- | A list of @Parameter@ structures that specify input parameters for the stack. For more information, see the <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html Parameter> data type. csParameters :: Lens' CreateStack [Parameter]-csParameters = lens _csParameters (\ s a -> s{_csParameters = a}) . _Default . _Coerce;+csParameters = lens _csParameters (\ s a -> s{_csParameters = a}) . _Default . _Coerce -- | Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an S3 bucket in the same region as the stack. You can specify either the @StackPolicyBody@ or the @StackPolicyURL@ parameter, but not both. csStackPolicyURL :: Lens' CreateStack (Maybe Text)-csStackPolicyURL = lens _csStackPolicyURL (\ s a -> s{_csStackPolicyURL = a});+csStackPolicyURL = lens _csStackPolicyURL (\ s a -> s{_csStackPolicyURL = a}) -- | Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide. Conditional: You must specify either the @TemplateBody@ or the @TemplateURL@ parameter, but not both. csTemplateBody :: Lens' CreateStack (Maybe Text)-csTemplateBody = lens _csTemplateBody (\ s a -> s{_csTemplateBody = a});+csTemplateBody = lens _csTemplateBody (\ s a -> s{_csTemplateBody = a}) -- | Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information, go to the <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide. Conditional: You must specify either the @TemplateBody@ or the @TemplateURL@ parameter, but not both. csTemplateURL :: Lens' CreateStack (Maybe Text)-csTemplateURL = lens _csTemplateURL (\ s a -> s{_csTemplateURL = a});+csTemplateURL = lens _csTemplateURL (\ s a -> s{_csTemplateURL = a}) -- | 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@ . csClientRequestToken :: Lens' CreateStack (Maybe Text)-csClientRequestToken = lens _csClientRequestToken (\ s a -> s{_csClientRequestToken = a});+csClientRequestToken = lens _csClientRequestToken (\ s a -> s{_csClientRequestToken = a}) -- | A list of values that you must specify before AWS CloudFormation can create certain stacks. Some stack templates might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge their capabilities by specifying this parameter. The only valid values are @CAPABILITY_IAM@ and @CAPABILITY_NAMED_IAM@ . The following resources require you to specify this parameter: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html AWS::IAM::AccessKey> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html AWS::IAM::Group> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html AWS::IAM::InstanceProfile> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html AWS::IAM::Policy> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html AWS::IAM::Role> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html AWS::IAM::User> , and <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html AWS::IAM::UserToGroupAddition> . If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify @CAPABILITY_NAMED_IAM@ . If you don't specify this parameter, this action returns an @InsufficientCapabilities@ error. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities Acknowledging IAM Resources in AWS CloudFormation Templates> . csCapabilities :: Lens' CreateStack [Capability]-csCapabilities = lens _csCapabilities (\ s a -> s{_csCapabilities = a}) . _Default . _Coerce;+csCapabilities = lens _csCapabilities (\ s a -> s{_csCapabilities = a}) . _Default . _Coerce -- | The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards. csRollbackConfiguration :: Lens' CreateStack (Maybe RollbackConfiguration)-csRollbackConfiguration = lens _csRollbackConfiguration (\ s a -> s{_csRollbackConfiguration = a});+csRollbackConfiguration = lens _csRollbackConfiguration (\ s a -> s{_csRollbackConfiguration = a}) -- | Determines what action will be taken if stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or DELETE. You can specify either @OnFailure@ or @DisableRollback@ , but not both. Default: @ROLLBACK@ csOnFailure :: Lens' CreateStack (Maybe OnFailure)-csOnFailure = lens _csOnFailure (\ s a -> s{_csOnFailure = a});+csOnFailure = lens _csOnFailure (\ s a -> s{_csOnFailure = a}) -- | The template resource types that you have permissions to work with for this create stack action, such as @AWS::EC2::Instance@ , @AWS::EC2::*@ , or @Custom::MyCustomInstance@ . Use the following syntax to describe template resource types: @AWS::*@ (for all AWS resource), @Custom::*@ (for all custom resources), @Custom::/logical_ID/ @ (for a specific custom resource), @AWS::/service_name/ ::*@ (for all resources of a particular AWS service), and @AWS::/service_name/ ::/resource_logical_ID/ @ (for a specific AWS resource). If the list of resource types doesn't include a resource that you're creating, the stack creation fails. By default, AWS CloudFormation grants permissions to all resource types. AWS Identity and Access Management (IAM) uses this parameter for AWS CloudFormation-specific condition keys in IAM policies. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html Controlling Access with AWS Identity and Access Management> . csResourceTypes :: Lens' CreateStack [Text]-csResourceTypes = lens _csResourceTypes (\ s a -> s{_csResourceTypes = a}) . _Default . _Coerce;+csResourceTypes = lens _csResourceTypes (\ s a -> s{_csResourceTypes = a}) . _Default . _Coerce -- | 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. csTags :: Lens' CreateStack [Tag]-csTags = lens _csTags (\ s a -> s{_csTags = a}) . _Default . _Coerce;+csTags = lens _csTags (\ s a -> s{_csTags = a}) . _Default . _Coerce -- | The amount of time that can pass before the stack status becomes CREATE_FAILED; if @DisableRollback@ is not set or is set to @false@ , the stack will be rolled back. csTimeoutInMinutes :: Lens' CreateStack (Maybe Natural)-csTimeoutInMinutes = lens _csTimeoutInMinutes (\ s a -> s{_csTimeoutInMinutes = a}) . mapping _Nat;+csTimeoutInMinutes = lens _csTimeoutInMinutes (\ s a -> s{_csTimeoutInMinutes = a}) . mapping _Nat -- | The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes to create the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf. AWS CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, AWS CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. csRoleARN :: Lens' CreateStack (Maybe Text)-csRoleARN = lens _csRoleARN (\ s a -> s{_csRoleARN = a});+csRoleARN = lens _csRoleARN (\ s a -> s{_csRoleARN = a}) -- | The name that is associated with the stack. The name must be unique in the region in which you are creating the stack. csStackName :: Lens' CreateStack Text-csStackName = lens _csStackName (\ s a -> s{_csStackName = a});+csStackName = lens _csStackName (\ s a -> s{_csStackName = a}) instance AWSRequest CreateStack where type Rs CreateStack = CreateStackResponse@@ -286,15 +286,15 @@ -> CreateStackResponse createStackResponse pResponseStatus_ = CreateStackResponse'- {_csrsStackId = Nothing, _csrsResponseStatus = pResponseStatus_}+ {_csrsStackId = Nothing, _csrsResponseStatus = pResponseStatus_} -- | Unique identifier of the stack. csrsStackId :: Lens' CreateStackResponse (Maybe Text)-csrsStackId = lens _csrsStackId (\ s a -> s{_csrsStackId = a});+csrsStackId = lens _csrsStackId (\ s a -> s{_csrsStackId = a}) -- | -- | The response status code. csrsResponseStatus :: Lens' CreateStackResponse Int-csrsResponseStatus = lens _csrsResponseStatus (\ s a -> s{_csrsResponseStatus = a});+csrsResponseStatus = lens _csrsResponseStatus (\ s a -> s{_csrsResponseStatus = a}) instance NFData CreateStackResponse where
gen/Network/AWS/CloudFormation/CreateStackInstances.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.CreateStackInstances--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -29,6 +29,7 @@ -- * Request Lenses , csiOperationPreferences , csiOperationId+ , csiParameterOverrides , csiStackSetName , csiAccounts , csiRegions@@ -52,6 +53,7 @@ data CreateStackInstances = CreateStackInstances' { _csiOperationPreferences :: !(Maybe StackSetOperationPreferences) , _csiOperationId :: !(Maybe Text)+ , _csiParameterOverrides :: !(Maybe [Parameter]) , _csiStackSetName :: !Text , _csiAccounts :: ![Text] , _csiRegions :: ![Text]@@ -66,6 +68,8 @@ -- -- * 'csiOperationId' - 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@ . --+-- * 'csiParameterOverrides' - A list of stack set parameters whose values you want to override in the selected stack instances. Any overridden parameter values will be applied to all stack instances in the specified accounts and regions. When specifying parameters and their values, be aware of how AWS CloudFormation sets parameter values during stack instance operations: * To override the current value for a parameter, include the parameter and specify its value. * To leave a parameter set to its present value, you can do one of the following: * Do not include the parameter in the list. * Include the parameter and specify @UsePreviousValue@ as @true@ . (You cannot specify both a value and set @UsePreviousValue@ to @true@ .) * To set all overridden parameter back to the values specified in the stack set, specify a parameter list but do not include any parameters. * To leave all parameters set to their present values, do not specify this property at all. During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value. You can only override the parameter /values/ that are specified in the stack set; to add or delete a parameter itself, use <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html UpdateStackSet> to update the stack set template.+-- -- * 'csiStackSetName' - The name or unique ID of the stack set that you want to create stack instances from. -- -- * 'csiAccounts' - The names of one or more AWS accounts that you want to create stack instances in the specified region(s) for.@@ -76,33 +80,38 @@ -> CreateStackInstances createStackInstances pStackSetName_ = CreateStackInstances'- { _csiOperationPreferences = Nothing- , _csiOperationId = Nothing- , _csiStackSetName = pStackSetName_- , _csiAccounts = mempty- , _csiRegions = mempty- }+ { _csiOperationPreferences = Nothing+ , _csiOperationId = Nothing+ , _csiParameterOverrides = Nothing+ , _csiStackSetName = pStackSetName_+ , _csiAccounts = mempty+ , _csiRegions = mempty+ } -- | Preferences for how AWS CloudFormation performs this stack set operation. csiOperationPreferences :: Lens' CreateStackInstances (Maybe StackSetOperationPreferences)-csiOperationPreferences = lens _csiOperationPreferences (\ s a -> s{_csiOperationPreferences = a});+csiOperationPreferences = lens _csiOperationPreferences (\ s a -> s{_csiOperationPreferences = a}) -- | 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@ . csiOperationId :: Lens' CreateStackInstances (Maybe Text)-csiOperationId = lens _csiOperationId (\ s a -> s{_csiOperationId = a});+csiOperationId = lens _csiOperationId (\ s a -> s{_csiOperationId = a}) +-- | A list of stack set parameters whose values you want to override in the selected stack instances. Any overridden parameter values will be applied to all stack instances in the specified accounts and regions. When specifying parameters and their values, be aware of how AWS CloudFormation sets parameter values during stack instance operations: * To override the current value for a parameter, include the parameter and specify its value. * To leave a parameter set to its present value, you can do one of the following: * Do not include the parameter in the list. * Include the parameter and specify @UsePreviousValue@ as @true@ . (You cannot specify both a value and set @UsePreviousValue@ to @true@ .) * To set all overridden parameter back to the values specified in the stack set, specify a parameter list but do not include any parameters. * To leave all parameters set to their present values, do not specify this property at all. During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value. You can only override the parameter /values/ that are specified in the stack set; to add or delete a parameter itself, use <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html UpdateStackSet> to update the stack set template.+csiParameterOverrides :: Lens' CreateStackInstances [Parameter]+csiParameterOverrides = lens _csiParameterOverrides (\ s a -> s{_csiParameterOverrides = a}) . _Default . _Coerce+ -- | The name or unique ID of the stack set that you want to create stack instances from. csiStackSetName :: Lens' CreateStackInstances Text-csiStackSetName = lens _csiStackSetName (\ s a -> s{_csiStackSetName = a});+csiStackSetName = lens _csiStackSetName (\ s a -> s{_csiStackSetName = a}) -- | The names of one or more AWS accounts that you want to create stack instances in the specified region(s) for. csiAccounts :: Lens' CreateStackInstances [Text]-csiAccounts = lens _csiAccounts (\ s a -> s{_csiAccounts = a}) . _Coerce;+csiAccounts = lens _csiAccounts (\ s a -> s{_csiAccounts = a}) . _Coerce -- | The names of one or more regions where you want to create stack instances using the specified AWS account(s). csiRegions :: Lens' CreateStackInstances [Text]-csiRegions = lens _csiRegions (\ s a -> s{_csiRegions = a}) . _Coerce;+csiRegions = lens _csiRegions (\ s a -> s{_csiRegions = a}) . _Coerce instance AWSRequest CreateStackInstances where type Rs CreateStackInstances =@@ -131,6 +140,9 @@ "Version" =: ("2010-05-15" :: ByteString), "OperationPreferences" =: _csiOperationPreferences, "OperationId" =: _csiOperationId,+ "ParameterOverrides" =:+ toQuery+ (toQueryList "member" <$> _csiParameterOverrides), "StackSetName" =: _csiStackSetName, "Accounts" =: toQueryList "member" _csiAccounts, "Regions" =: toQueryList "member" _csiRegions]@@ -154,15 +166,15 @@ -> CreateStackInstancesResponse createStackInstancesResponse pResponseStatus_ = CreateStackInstancesResponse'- {_csirsOperationId = Nothing, _csirsResponseStatus = pResponseStatus_}+ {_csirsOperationId = Nothing, _csirsResponseStatus = pResponseStatus_} -- | The unique identifier for this stack set operation. csirsOperationId :: Lens' CreateStackInstancesResponse (Maybe Text)-csirsOperationId = lens _csirsOperationId (\ s a -> s{_csirsOperationId = a});+csirsOperationId = lens _csirsOperationId (\ s a -> s{_csirsOperationId = a}) -- | -- | The response status code. csirsResponseStatus :: Lens' CreateStackInstancesResponse Int-csirsResponseStatus = lens _csirsResponseStatus (\ s a -> s{_csirsResponseStatus = a});+csirsResponseStatus = lens _csirsResponseStatus (\ s a -> s{_csirsResponseStatus = a}) instance NFData CreateStackInstancesResponse where
gen/Network/AWS/CloudFormation/CreateStackSet.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.CreateStackSet--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -27,6 +27,7 @@ createStackSet , CreateStackSet -- * Request Lenses+ , cssAdministrationRoleARN , cssParameters , cssTemplateBody , cssTemplateURL@@ -53,14 +54,15 @@ -- | /See:/ 'createStackSet' smart constructor. data CreateStackSet = CreateStackSet'- { _cssParameters :: !(Maybe [Parameter])- , _cssTemplateBody :: !(Maybe Text)- , _cssTemplateURL :: !(Maybe Text)- , _cssClientRequestToken :: !(Maybe Text)- , _cssDescription :: !(Maybe Text)- , _cssCapabilities :: !(Maybe [Capability])- , _cssTags :: !(Maybe [Tag])- , _cssStackSetName :: !Text+ { _cssAdministrationRoleARN :: !(Maybe Text)+ , _cssParameters :: !(Maybe [Parameter])+ , _cssTemplateBody :: !(Maybe Text)+ , _cssTemplateURL :: !(Maybe Text)+ , _cssClientRequestToken :: !(Maybe Text)+ , _cssDescription :: !(Maybe Text)+ , _cssCapabilities :: !(Maybe [Capability])+ , _cssTags :: !(Maybe [Tag])+ , _cssStackSetName :: !Text } deriving (Eq, Read, Show, Data, Typeable, Generic) @@ -68,6 +70,8 @@ -- -- Use one of the following lenses to modify other fields as desired: --+-- * 'cssAdministrationRoleARN' - The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html Define Permissions for Multiple Administrators> in the /AWS CloudFormation User Guide/ .+-- -- * 'cssParameters' - The input parameters for the stack set template. -- -- * 'cssTemplateBody' - 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 <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide. Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both.@@ -88,48 +92,53 @@ -> CreateStackSet createStackSet pStackSetName_ = CreateStackSet'- { _cssParameters = Nothing- , _cssTemplateBody = Nothing- , _cssTemplateURL = Nothing- , _cssClientRequestToken = Nothing- , _cssDescription = Nothing- , _cssCapabilities = Nothing- , _cssTags = Nothing- , _cssStackSetName = pStackSetName_- }+ { _cssAdministrationRoleARN = Nothing+ , _cssParameters = Nothing+ , _cssTemplateBody = Nothing+ , _cssTemplateURL = Nothing+ , _cssClientRequestToken = Nothing+ , _cssDescription = Nothing+ , _cssCapabilities = Nothing+ , _cssTags = Nothing+ , _cssStackSetName = pStackSetName_+ } +-- | The Amazon Resource Number (ARN) of the IAM role to use to create this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html Define Permissions for Multiple Administrators> in the /AWS CloudFormation User Guide/ .+cssAdministrationRoleARN :: Lens' CreateStackSet (Maybe Text)+cssAdministrationRoleARN = lens _cssAdministrationRoleARN (\ s a -> s{_cssAdministrationRoleARN = a})+ -- | The input parameters for the stack set template. cssParameters :: Lens' CreateStackSet [Parameter]-cssParameters = lens _cssParameters (\ s a -> s{_cssParameters = a}) . _Default . _Coerce;+cssParameters = lens _cssParameters (\ s a -> s{_cssParameters = a}) . _Default . _Coerce -- | 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 <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide. Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both. cssTemplateBody :: Lens' CreateStackSet (Maybe Text)-cssTemplateBody = lens _cssTemplateBody (\ s a -> s{_cssTemplateBody = a});+cssTemplateBody = lens _cssTemplateBody (\ s a -> s{_cssTemplateBody = a}) -- | 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 <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide. Conditional: You must specify either the TemplateBody or the TemplateURL parameter, but not both. cssTemplateURL :: Lens' CreateStackSet (Maybe Text)-cssTemplateURL = lens _cssTemplateURL (\ s a -> s{_cssTemplateURL = a});+cssTemplateURL = lens _cssTemplateURL (\ s a -> s{_cssTemplateURL = a}) -- | 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. cssClientRequestToken :: Lens' CreateStackSet (Maybe Text)-cssClientRequestToken = lens _cssClientRequestToken (\ s a -> s{_cssClientRequestToken = a});+cssClientRequestToken = lens _cssClientRequestToken (\ s a -> s{_cssClientRequestToken = a}) -- | A description of the stack set. You can use the description to identify the stack set's purpose or other important information. cssDescription :: Lens' CreateStackSet (Maybe Text)-cssDescription = lens _cssDescription (\ s a -> s{_cssDescription = a});+cssDescription = lens _cssDescription (\ s a -> s{_cssDescription = a}) -- | 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 <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities Acknowledging IAM Resources in AWS CloudFormation Templates.> cssCapabilities :: Lens' CreateStackSet [Capability]-cssCapabilities = lens _cssCapabilities (\ s a -> s{_cssCapabilities = a}) . _Default . _Coerce;+cssCapabilities = lens _cssCapabilities (\ s a -> s{_cssCapabilities = a}) . _Default . _Coerce -- | 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. cssTags :: Lens' CreateStackSet [Tag]-cssTags = lens _cssTags (\ s a -> s{_cssTags = a}) . _Default . _Coerce;+cssTags = lens _cssTags (\ s a -> s{_cssTags = a}) . _Default . _Coerce -- | The name to associate with the stack set. The name must be unique in the region where you create your stack set. cssStackSetName :: Lens' CreateStackSet Text-cssStackSetName = lens _cssStackSetName (\ s a -> s{_cssStackSetName = a});+cssStackSetName = lens _cssStackSetName (\ s a -> s{_cssStackSetName = a}) instance AWSRequest CreateStackSet where type Rs CreateStackSet = CreateStackSetResponse@@ -155,6 +164,7 @@ = mconcat ["Action" =: ("CreateStackSet" :: ByteString), "Version" =: ("2010-05-15" :: ByteString),+ "AdministrationRoleARN" =: _cssAdministrationRoleARN, "Parameters" =: toQuery (toQueryList "member" <$> _cssParameters), "TemplateBody" =: _cssTemplateBody,@@ -186,15 +196,15 @@ -> CreateStackSetResponse createStackSetResponse pResponseStatus_ = CreateStackSetResponse'- {_cssrsStackSetId = Nothing, _cssrsResponseStatus = pResponseStatus_}+ {_cssrsStackSetId = Nothing, _cssrsResponseStatus = pResponseStatus_} -- | The ID of the stack set that you're creating. cssrsStackSetId :: Lens' CreateStackSetResponse (Maybe Text)-cssrsStackSetId = lens _cssrsStackSetId (\ s a -> s{_cssrsStackSetId = a});+cssrsStackSetId = lens _cssrsStackSetId (\ s a -> s{_cssrsStackSetId = a}) -- | -- | The response status code. cssrsResponseStatus :: Lens' CreateStackSetResponse Int-cssrsResponseStatus = lens _cssrsResponseStatus (\ s a -> s{_cssrsResponseStatus = a});+cssrsResponseStatus = lens _cssrsResponseStatus (\ s a -> s{_cssrsResponseStatus = a}) instance NFData CreateStackSetResponse where
gen/Network/AWS/CloudFormation/DeleteChangeSet.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DeleteChangeSet--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -69,16 +69,16 @@ -> DeleteChangeSet deleteChangeSet pChangeSetName_ = DeleteChangeSet'- {_dcsStackName = Nothing, _dcsChangeSetName = pChangeSetName_}+ {_dcsStackName = Nothing, _dcsChangeSetName = pChangeSetName_} -- | If you specified the name of a change set to delete, specify the stack name or ID (ARN) that is associated with it. dcsStackName :: Lens' DeleteChangeSet (Maybe Text)-dcsStackName = lens _dcsStackName (\ s a -> s{_dcsStackName = a});+dcsStackName = lens _dcsStackName (\ s a -> s{_dcsStackName = a}) -- | The name or Amazon Resource Name (ARN) of the change set that you want to delete. dcsChangeSetName :: Lens' DeleteChangeSet Text-dcsChangeSetName = lens _dcsChangeSetName (\ s a -> s{_dcsChangeSetName = a});+dcsChangeSetName = lens _dcsChangeSetName (\ s a -> s{_dcsChangeSetName = a}) instance AWSRequest DeleteChangeSet where type Rs DeleteChangeSet = DeleteChangeSetResponse@@ -130,6 +130,6 @@ -- | -- | The response status code. dcsrsResponseStatus :: Lens' DeleteChangeSetResponse Int-dcsrsResponseStatus = lens _dcsrsResponseStatus (\ s a -> s{_dcsrsResponseStatus = a});+dcsrsResponseStatus = lens _dcsrsResponseStatus (\ s a -> s{_dcsrsResponseStatus = a}) instance NFData DeleteChangeSetResponse where
gen/Network/AWS/CloudFormation/DeleteStack.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DeleteStack--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -73,28 +73,28 @@ -> DeleteStack deleteStack pStackName_ = DeleteStack'- { _dsRetainResources = Nothing- , _dsClientRequestToken = Nothing- , _dsRoleARN = Nothing- , _dsStackName = pStackName_- }+ { _dsRetainResources = Nothing+ , _dsClientRequestToken = Nothing+ , _dsRoleARN = Nothing+ , _dsStackName = pStackName_+ } -- | For stacks in the @DELETE_FAILED@ state, a list of resource logical IDs that are associated with the resources you want to retain. During deletion, AWS CloudFormation deletes the stack but does not delete the retained resources. Retaining resources is useful when you cannot delete a resource, such as a non-empty S3 bucket, but you want to delete the stack. dsRetainResources :: Lens' DeleteStack [Text]-dsRetainResources = lens _dsRetainResources (\ s a -> s{_dsRetainResources = a}) . _Default . _Coerce;+dsRetainResources = lens _dsRetainResources (\ s a -> s{_dsRetainResources = a}) . _Default . _Coerce -- | 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@ . dsClientRequestToken :: Lens' DeleteStack (Maybe Text)-dsClientRequestToken = lens _dsClientRequestToken (\ s a -> s{_dsClientRequestToken = a});+dsClientRequestToken = lens _dsClientRequestToken (\ s a -> s{_dsClientRequestToken = a}) -- | The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes to delete the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. dsRoleARN :: Lens' DeleteStack (Maybe Text)-dsRoleARN = lens _dsRoleARN (\ s a -> s{_dsRoleARN = a});+dsRoleARN = lens _dsRoleARN (\ s a -> s{_dsRoleARN = a}) -- | The name or the unique stack ID that is associated with the stack. dsStackName :: Lens' DeleteStack Text-dsStackName = lens _dsStackName (\ s a -> s{_dsStackName = a});+dsStackName = lens _dsStackName (\ s a -> s{_dsStackName = a}) instance AWSRequest DeleteStack where type Rs DeleteStack = DeleteStackResponse
gen/Network/AWS/CloudFormation/DeleteStackInstances.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DeleteStackInstances--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -81,38 +81,38 @@ -> DeleteStackInstances deleteStackInstances pStackSetName_ pRetainStacks_ = DeleteStackInstances'- { _dsiOperationPreferences = Nothing- , _dsiOperationId = Nothing- , _dsiStackSetName = pStackSetName_- , _dsiAccounts = mempty- , _dsiRegions = mempty- , _dsiRetainStacks = pRetainStacks_- }+ { _dsiOperationPreferences = Nothing+ , _dsiOperationId = Nothing+ , _dsiStackSetName = pStackSetName_+ , _dsiAccounts = mempty+ , _dsiRegions = mempty+ , _dsiRetainStacks = pRetainStacks_+ } -- | Preferences for how AWS CloudFormation performs this stack set operation. dsiOperationPreferences :: Lens' DeleteStackInstances (Maybe StackSetOperationPreferences)-dsiOperationPreferences = lens _dsiOperationPreferences (\ s a -> s{_dsiOperationPreferences = a});+dsiOperationPreferences = lens _dsiOperationPreferences (\ s a -> s{_dsiOperationPreferences = a}) -- | 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@ . dsiOperationId :: Lens' DeleteStackInstances (Maybe Text)-dsiOperationId = lens _dsiOperationId (\ s a -> s{_dsiOperationId = a});+dsiOperationId = lens _dsiOperationId (\ s a -> s{_dsiOperationId = a}) -- | The name or unique ID of the stack set that you want to delete stack instances for. dsiStackSetName :: Lens' DeleteStackInstances Text-dsiStackSetName = lens _dsiStackSetName (\ s a -> s{_dsiStackSetName = a});+dsiStackSetName = lens _dsiStackSetName (\ s a -> s{_dsiStackSetName = a}) -- | The names of the AWS accounts that you want to delete stack instances for. dsiAccounts :: Lens' DeleteStackInstances [Text]-dsiAccounts = lens _dsiAccounts (\ s a -> s{_dsiAccounts = a}) . _Coerce;+dsiAccounts = lens _dsiAccounts (\ s a -> s{_dsiAccounts = a}) . _Coerce -- | The regions where you want to delete stack set instances. dsiRegions :: Lens' DeleteStackInstances [Text]-dsiRegions = lens _dsiRegions (\ s a -> s{_dsiRegions = a}) . _Coerce;+dsiRegions = lens _dsiRegions (\ s a -> s{_dsiRegions = a}) . _Coerce -- | Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a retained stack or add an existing, saved stack to a new stack set. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options Stack set operation options> . dsiRetainStacks :: Lens' DeleteStackInstances Bool-dsiRetainStacks = lens _dsiRetainStacks (\ s a -> s{_dsiRetainStacks = a});+dsiRetainStacks = lens _dsiRetainStacks (\ s a -> s{_dsiRetainStacks = a}) instance AWSRequest DeleteStackInstances where type Rs DeleteStackInstances =@@ -165,15 +165,15 @@ -> DeleteStackInstancesResponse deleteStackInstancesResponse pResponseStatus_ = DeleteStackInstancesResponse'- {_dsirsOperationId = Nothing, _dsirsResponseStatus = pResponseStatus_}+ {_dsirsOperationId = Nothing, _dsirsResponseStatus = pResponseStatus_} -- | The unique identifier for this stack set operation. dsirsOperationId :: Lens' DeleteStackInstancesResponse (Maybe Text)-dsirsOperationId = lens _dsirsOperationId (\ s a -> s{_dsirsOperationId = a});+dsirsOperationId = lens _dsirsOperationId (\ s a -> s{_dsirsOperationId = a}) -- | -- | The response status code. dsirsResponseStatus :: Lens' DeleteStackInstancesResponse Int-dsirsResponseStatus = lens _dsirsResponseStatus (\ s a -> s{_dsirsResponseStatus = a});+dsirsResponseStatus = lens _dsirsResponseStatus (\ s a -> s{_dsirsResponseStatus = a}) instance NFData DeleteStackInstancesResponse where
gen/Network/AWS/CloudFormation/DeleteStackSet.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DeleteStackSet--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -63,7 +63,7 @@ -- | The name or unique ID of the stack set that you're deleting. You can obtain this value by running 'ListStackSets' . dssStackSetName :: Lens' DeleteStackSet Text-dssStackSetName = lens _dssStackSetName (\ s a -> s{_dssStackSetName = a});+dssStackSetName = lens _dssStackSetName (\ s a -> s{_dssStackSetName = a}) instance AWSRequest DeleteStackSet where type Rs DeleteStackSet = DeleteStackSetResponse@@ -110,6 +110,6 @@ -- | -- | The response status code. dssrsResponseStatus :: Lens' DeleteStackSetResponse Int-dssrsResponseStatus = lens _dssrsResponseStatus (\ s a -> s{_dssrsResponseStatus = a});+dssrsResponseStatus = lens _dssrsResponseStatus (\ s a -> s{_dssrsResponseStatus = a}) instance NFData DeleteStackSetResponse where
gen/Network/AWS/CloudFormation/DescribeAccountLimits.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DescribeAccountLimits--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -67,7 +67,7 @@ -- | A string that identifies the next page of limits that you want to retrieve. dalNextToken :: Lens' DescribeAccountLimits (Maybe Text)-dalNextToken = lens _dalNextToken (\ s a -> s{_dalNextToken = a});+dalNextToken = lens _dalNextToken (\ s a -> s{_dalNextToken = a}) instance AWSRequest DescribeAccountLimits where type Rs DescribeAccountLimits =@@ -125,22 +125,22 @@ -> DescribeAccountLimitsResponse describeAccountLimitsResponse pResponseStatus_ = DescribeAccountLimitsResponse'- { _dalrsNextToken = Nothing- , _dalrsAccountLimits = Nothing- , _dalrsResponseStatus = pResponseStatus_- }+ { _dalrsNextToken = Nothing+ , _dalrsAccountLimits = Nothing+ , _dalrsResponseStatus = pResponseStatus_+ } -- | If the output exceeds 1 MB in size, a string that identifies the next page of limits. If no additional page exists, this value is null. dalrsNextToken :: Lens' DescribeAccountLimitsResponse (Maybe Text)-dalrsNextToken = lens _dalrsNextToken (\ s a -> s{_dalrsNextToken = a});+dalrsNextToken = lens _dalrsNextToken (\ s a -> s{_dalrsNextToken = a}) -- | An account limit structure that contain a list of AWS CloudFormation account limits and their values. dalrsAccountLimits :: Lens' DescribeAccountLimitsResponse [AccountLimit]-dalrsAccountLimits = lens _dalrsAccountLimits (\ s a -> s{_dalrsAccountLimits = a}) . _Default . _Coerce;+dalrsAccountLimits = lens _dalrsAccountLimits (\ s a -> s{_dalrsAccountLimits = a}) . _Default . _Coerce -- | -- | The response status code. dalrsResponseStatus :: Lens' DescribeAccountLimitsResponse Int-dalrsResponseStatus = lens _dalrsResponseStatus (\ s a -> s{_dalrsResponseStatus = a});+dalrsResponseStatus = lens _dalrsResponseStatus (\ s a -> s{_dalrsResponseStatus = a}) instance NFData DescribeAccountLimitsResponse where
gen/Network/AWS/CloudFormation/DescribeChangeSet.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DescribeChangeSet--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -87,23 +87,23 @@ -> DescribeChangeSet describeChangeSet pChangeSetName_ = DescribeChangeSet'- { _desNextToken = Nothing- , _desStackName = Nothing- , _desChangeSetName = pChangeSetName_- }+ { _desNextToken = Nothing+ , _desStackName = Nothing+ , _desChangeSetName = pChangeSetName_+ } -- | A string (provided by the 'DescribeChangeSet' response output) that identifies the next page of information that you want to retrieve. desNextToken :: Lens' DescribeChangeSet (Maybe Text)-desNextToken = lens _desNextToken (\ s a -> s{_desNextToken = a});+desNextToken = lens _desNextToken (\ s a -> s{_desNextToken = a}) -- | If you specified the name of a change set, specify the stack name or ID (ARN) of the change set you want to describe. desStackName :: Lens' DescribeChangeSet (Maybe Text)-desStackName = lens _desStackName (\ s a -> s{_desStackName = a});+desStackName = lens _desStackName (\ s a -> s{_desStackName = a}) -- | The name or Amazon Resource Name (ARN) of the change set that you want to describe. desChangeSetName :: Lens' DescribeChangeSet Text-desChangeSetName = lens _desChangeSetName (\ s a -> s{_desChangeSetName = a});+desChangeSetName = lens _desChangeSetName (\ s a -> s{_desChangeSetName = a}) instance AWSRequest DescribeChangeSet where type Rs DescribeChangeSet = DescribeChangeSetResponse@@ -227,92 +227,92 @@ -> DescribeChangeSetResponse describeChangeSetResponse pResponseStatus_ pStatus_ = DescribeChangeSetResponse'- { _desrsCreationTime = Nothing- , _desrsChanges = Nothing- , _desrsNotificationARNs = Nothing- , _desrsChangeSetName = Nothing- , _desrsExecutionStatus = Nothing- , _desrsChangeSetId = Nothing- , _desrsNextToken = Nothing- , _desrsParameters = Nothing- , _desrsStatusReason = Nothing- , _desrsStackId = Nothing- , _desrsDescription = Nothing- , _desrsCapabilities = Nothing- , _desrsRollbackConfiguration = Nothing- , _desrsTags = Nothing- , _desrsStackName = Nothing- , _desrsResponseStatus = pResponseStatus_- , _desrsStatus = pStatus_- }+ { _desrsCreationTime = Nothing+ , _desrsChanges = Nothing+ , _desrsNotificationARNs = Nothing+ , _desrsChangeSetName = Nothing+ , _desrsExecutionStatus = Nothing+ , _desrsChangeSetId = Nothing+ , _desrsNextToken = Nothing+ , _desrsParameters = Nothing+ , _desrsStatusReason = Nothing+ , _desrsStackId = Nothing+ , _desrsDescription = Nothing+ , _desrsCapabilities = Nothing+ , _desrsRollbackConfiguration = Nothing+ , _desrsTags = Nothing+ , _desrsStackName = Nothing+ , _desrsResponseStatus = pResponseStatus_+ , _desrsStatus = pStatus_+ } -- | The start time when the change set was created, in UTC. desrsCreationTime :: Lens' DescribeChangeSetResponse (Maybe UTCTime)-desrsCreationTime = lens _desrsCreationTime (\ s a -> s{_desrsCreationTime = a}) . mapping _Time;+desrsCreationTime = lens _desrsCreationTime (\ s a -> s{_desrsCreationTime = a}) . mapping _Time -- | A list of @Change@ structures that describes the resources AWS CloudFormation changes if you execute the change set. desrsChanges :: Lens' DescribeChangeSetResponse [Change]-desrsChanges = lens _desrsChanges (\ s a -> s{_desrsChanges = a}) . _Default . _Coerce;+desrsChanges = lens _desrsChanges (\ s a -> s{_desrsChanges = a}) . _Default . _Coerce -- | The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that will be associated with the stack if you execute the change set. desrsNotificationARNs :: Lens' DescribeChangeSetResponse [Text]-desrsNotificationARNs = lens _desrsNotificationARNs (\ s a -> s{_desrsNotificationARNs = a}) . _Default . _Coerce;+desrsNotificationARNs = lens _desrsNotificationARNs (\ s a -> s{_desrsNotificationARNs = a}) . _Default . _Coerce -- | The name of the change set. desrsChangeSetName :: Lens' DescribeChangeSetResponse (Maybe Text)-desrsChangeSetName = lens _desrsChangeSetName (\ s a -> s{_desrsChangeSetName = a});+desrsChangeSetName = lens _desrsChangeSetName (\ s a -> s{_desrsChangeSetName = a}) -- | If the change set execution status is @AVAILABLE@ , you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in an @UNAVAILABLE@ state because AWS CloudFormation is still creating it or in an @OBSOLETE@ state because the stack was already updated. desrsExecutionStatus :: Lens' DescribeChangeSetResponse (Maybe ExecutionStatus)-desrsExecutionStatus = lens _desrsExecutionStatus (\ s a -> s{_desrsExecutionStatus = a});+desrsExecutionStatus = lens _desrsExecutionStatus (\ s a -> s{_desrsExecutionStatus = a}) -- | The ARN of the change set. desrsChangeSetId :: Lens' DescribeChangeSetResponse (Maybe Text)-desrsChangeSetId = lens _desrsChangeSetId (\ s a -> s{_desrsChangeSetId = a});+desrsChangeSetId = lens _desrsChangeSetId (\ s a -> s{_desrsChangeSetId = a}) -- | If the output exceeds 1 MB, a string that identifies the next page of changes. If there is no additional page, this value is null. desrsNextToken :: Lens' DescribeChangeSetResponse (Maybe Text)-desrsNextToken = lens _desrsNextToken (\ s a -> s{_desrsNextToken = a});+desrsNextToken = lens _desrsNextToken (\ s a -> s{_desrsNextToken = a}) -- | A list of @Parameter@ structures that describes the input parameters and their values used to create the change set. For more information, see the <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html Parameter> data type. desrsParameters :: Lens' DescribeChangeSetResponse [Parameter]-desrsParameters = lens _desrsParameters (\ s a -> s{_desrsParameters = a}) . _Default . _Coerce;+desrsParameters = lens _desrsParameters (\ s a -> s{_desrsParameters = a}) . _Default . _Coerce -- | A description of the change set's status. For example, if your attempt to create a change set failed, AWS CloudFormation shows the error message. desrsStatusReason :: Lens' DescribeChangeSetResponse (Maybe Text)-desrsStatusReason = lens _desrsStatusReason (\ s a -> s{_desrsStatusReason = a});+desrsStatusReason = lens _desrsStatusReason (\ s a -> s{_desrsStatusReason = a}) -- | The ARN of the stack that is associated with the change set. desrsStackId :: Lens' DescribeChangeSetResponse (Maybe Text)-desrsStackId = lens _desrsStackId (\ s a -> s{_desrsStackId = a});+desrsStackId = lens _desrsStackId (\ s a -> s{_desrsStackId = a}) -- | Information about the change set. desrsDescription :: Lens' DescribeChangeSetResponse (Maybe Text)-desrsDescription = lens _desrsDescription (\ s a -> s{_desrsDescription = a});+desrsDescription = lens _desrsDescription (\ s a -> s{_desrsDescription = a}) -- | If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was created. desrsCapabilities :: Lens' DescribeChangeSetResponse [Capability]-desrsCapabilities = lens _desrsCapabilities (\ s a -> s{_desrsCapabilities = a}) . _Default . _Coerce;+desrsCapabilities = lens _desrsCapabilities (\ s a -> s{_desrsCapabilities = a}) . _Default . _Coerce -- | The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards. desrsRollbackConfiguration :: Lens' DescribeChangeSetResponse (Maybe RollbackConfiguration)-desrsRollbackConfiguration = lens _desrsRollbackConfiguration (\ s a -> s{_desrsRollbackConfiguration = a});+desrsRollbackConfiguration = lens _desrsRollbackConfiguration (\ s a -> s{_desrsRollbackConfiguration = a}) -- | If you execute the change set, the tags that will be associated with the stack. desrsTags :: Lens' DescribeChangeSetResponse [Tag]-desrsTags = lens _desrsTags (\ s a -> s{_desrsTags = a}) . _Default . _Coerce;+desrsTags = lens _desrsTags (\ s a -> s{_desrsTags = a}) . _Default . _Coerce -- | The name of the stack that is associated with the change set. desrsStackName :: Lens' DescribeChangeSetResponse (Maybe Text)-desrsStackName = lens _desrsStackName (\ s a -> s{_desrsStackName = a});+desrsStackName = lens _desrsStackName (\ s a -> s{_desrsStackName = a}) -- | -- | The response status code. desrsResponseStatus :: Lens' DescribeChangeSetResponse Int-desrsResponseStatus = lens _desrsResponseStatus (\ s a -> s{_desrsResponseStatus = a});+desrsResponseStatus = lens _desrsResponseStatus (\ s a -> s{_desrsResponseStatus = a}) -- | The current status of the change set, such as @CREATE_IN_PROGRESS@ , @CREATE_COMPLETE@ , or @FAILED@ . desrsStatus :: Lens' DescribeChangeSetResponse ChangeSetStatus-desrsStatus = lens _desrsStatus (\ s a -> s{_desrsStatus = a});+desrsStatus = lens _desrsStatus (\ s a -> s{_desrsStatus = a}) instance NFData DescribeChangeSetResponse where
gen/Network/AWS/CloudFormation/DescribeStackEvents.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DescribeStackEvents--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -75,11 +75,11 @@ -- | A string that identifies the next page of events that you want to retrieve. dseNextToken :: Lens' DescribeStackEvents (Maybe Text)-dseNextToken = lens _dseNextToken (\ s a -> s{_dseNextToken = a});+dseNextToken = lens _dseNextToken (\ s a -> s{_dseNextToken = a}) -- | The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value. dseStackName :: Lens' DescribeStackEvents (Maybe Text)-dseStackName = lens _dseStackName (\ s a -> s{_dseStackName = a});+dseStackName = lens _dseStackName (\ s a -> s{_dseStackName = a}) instance AWSPager DescribeStackEvents where page rq rs@@ -145,22 +145,22 @@ -> DescribeStackEventsResponse describeStackEventsResponse pResponseStatus_ = DescribeStackEventsResponse'- { _dsersNextToken = Nothing- , _dsersStackEvents = Nothing- , _dsersResponseStatus = pResponseStatus_- }+ { _dsersNextToken = Nothing+ , _dsersStackEvents = Nothing+ , _dsersResponseStatus = pResponseStatus_+ } -- | If the output exceeds 1 MB in size, a string that identifies the next page of events. If no additional page exists, this value is null. dsersNextToken :: Lens' DescribeStackEventsResponse (Maybe Text)-dsersNextToken = lens _dsersNextToken (\ s a -> s{_dsersNextToken = a});+dsersNextToken = lens _dsersNextToken (\ s a -> s{_dsersNextToken = a}) -- | A list of @StackEvents@ structures. dsersStackEvents :: Lens' DescribeStackEventsResponse [StackEvent]-dsersStackEvents = lens _dsersStackEvents (\ s a -> s{_dsersStackEvents = a}) . _Default . _Coerce;+dsersStackEvents = lens _dsersStackEvents (\ s a -> s{_dsersStackEvents = a}) . _Default . _Coerce -- | -- | The response status code. dsersResponseStatus :: Lens' DescribeStackEventsResponse Int-dsersResponseStatus = lens _dsersResponseStatus (\ s a -> s{_dsersResponseStatus = a});+dsersResponseStatus = lens _dsersResponseStatus (\ s a -> s{_dsersResponseStatus = a}) instance NFData DescribeStackEventsResponse where
gen/Network/AWS/CloudFormation/DescribeStackInstance.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DescribeStackInstance--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -72,23 +72,23 @@ -> DescribeStackInstance describeStackInstance pStackSetName_ pStackInstanceAccount_ pStackInstanceRegion_ = DescribeStackInstance'- { _dStackSetName = pStackSetName_- , _dStackInstanceAccount = pStackInstanceAccount_- , _dStackInstanceRegion = pStackInstanceRegion_- }+ { _dStackSetName = pStackSetName_+ , _dStackInstanceAccount = pStackInstanceAccount_+ , _dStackInstanceRegion = pStackInstanceRegion_+ } -- | The name or the unique stack ID of the stack set that you want to get stack instance information for. dStackSetName :: Lens' DescribeStackInstance Text-dStackSetName = lens _dStackSetName (\ s a -> s{_dStackSetName = a});+dStackSetName = lens _dStackSetName (\ s a -> s{_dStackSetName = a}) -- | The ID of an AWS account that's associated with this stack instance. dStackInstanceAccount :: Lens' DescribeStackInstance Text-dStackInstanceAccount = lens _dStackInstanceAccount (\ s a -> s{_dStackInstanceAccount = a});+dStackInstanceAccount = lens _dStackInstanceAccount (\ s a -> s{_dStackInstanceAccount = a}) -- | The name of a region that's associated with this stack instance. dStackInstanceRegion :: Lens' DescribeStackInstance Text-dStackInstanceRegion = lens _dStackInstanceRegion (\ s a -> s{_dStackInstanceRegion = a});+dStackInstanceRegion = lens _dStackInstanceRegion (\ s a -> s{_dStackInstanceRegion = a}) instance AWSRequest DescribeStackInstance where type Rs DescribeStackInstance =@@ -138,15 +138,15 @@ -> DescribeStackInstanceResponse describeStackInstanceResponse pResponseStatus_ = DescribeStackInstanceResponse'- {_dsisrsStackInstance = Nothing, _dsisrsResponseStatus = pResponseStatus_}+ {_dsisrsStackInstance = Nothing, _dsisrsResponseStatus = pResponseStatus_} -- | The stack instance that matches the specified request parameters. dsisrsStackInstance :: Lens' DescribeStackInstanceResponse (Maybe StackInstance)-dsisrsStackInstance = lens _dsisrsStackInstance (\ s a -> s{_dsisrsStackInstance = a});+dsisrsStackInstance = lens _dsisrsStackInstance (\ s a -> s{_dsisrsStackInstance = a}) -- | -- | The response status code. dsisrsResponseStatus :: Lens' DescribeStackInstanceResponse Int-dsisrsResponseStatus = lens _dsisrsResponseStatus (\ s a -> s{_dsisrsResponseStatus = a});+dsisrsResponseStatus = lens _dsisrsResponseStatus (\ s a -> s{_dsisrsResponseStatus = a}) instance NFData DescribeStackInstanceResponse where
gen/Network/AWS/CloudFormation/DescribeStackResource.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DescribeStackResource--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -71,16 +71,16 @@ -> DescribeStackResource describeStackResource pStackName_ pLogicalResourceId_ = DescribeStackResource'- {_dsrsStackName = pStackName_, _dsrsLogicalResourceId = pLogicalResourceId_}+ {_dsrsStackName = pStackName_, _dsrsLogicalResourceId = pLogicalResourceId_} -- | The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value. dsrsStackName :: Lens' DescribeStackResource Text-dsrsStackName = lens _dsrsStackName (\ s a -> s{_dsrsStackName = a});+dsrsStackName = lens _dsrsStackName (\ s a -> s{_dsrsStackName = a}) -- | The logical name of the resource as specified in the template. Default: There is no default value. dsrsLogicalResourceId :: Lens' DescribeStackResource Text-dsrsLogicalResourceId = lens _dsrsLogicalResourceId (\ s a -> s{_dsrsLogicalResourceId = a});+dsrsLogicalResourceId = lens _dsrsLogicalResourceId (\ s a -> s{_dsrsLogicalResourceId = a}) instance AWSRequest DescribeStackResource where type Rs DescribeStackResource =@@ -134,15 +134,17 @@ -> DescribeStackResourceResponse describeStackResourceResponse pResponseStatus_ = DescribeStackResourceResponse'- {_dsrrsStackResourceDetail = Nothing, _dsrrsResponseStatus = pResponseStatus_}+ { _dsrrsStackResourceDetail = Nothing+ , _dsrrsResponseStatus = pResponseStatus_+ } -- | A @StackResourceDetail@ structure containing the description of the specified resource in the specified stack. dsrrsStackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail)-dsrrsStackResourceDetail = lens _dsrrsStackResourceDetail (\ s a -> s{_dsrrsStackResourceDetail = a});+dsrrsStackResourceDetail = lens _dsrrsStackResourceDetail (\ s a -> s{_dsrrsStackResourceDetail = a}) -- | -- | The response status code. dsrrsResponseStatus :: Lens' DescribeStackResourceResponse Int-dsrrsResponseStatus = lens _dsrrsResponseStatus (\ s a -> s{_dsrrsResponseStatus = a});+dsrrsResponseStatus = lens _dsrrsResponseStatus (\ s a -> s{_dsrrsResponseStatus = a}) instance NFData DescribeStackResourceResponse where
gen/Network/AWS/CloudFormation/DescribeStackResources.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DescribeStackResources--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -75,23 +75,23 @@ :: DescribeStackResources describeStackResources = DescribeStackResources'- { _dsrLogicalResourceId = Nothing- , _dsrPhysicalResourceId = Nothing- , _dsrStackName = Nothing- }+ { _dsrLogicalResourceId = Nothing+ , _dsrPhysicalResourceId = Nothing+ , _dsrStackName = Nothing+ } -- | The logical name of the resource as specified in the template. Default: There is no default value. dsrLogicalResourceId :: Lens' DescribeStackResources (Maybe Text)-dsrLogicalResourceId = lens _dsrLogicalResourceId (\ s a -> s{_dsrLogicalResourceId = a});+dsrLogicalResourceId = lens _dsrLogicalResourceId (\ s a -> s{_dsrLogicalResourceId = a}) -- | The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation. For example, for an Amazon Elastic Compute Cloud (EC2) instance, @PhysicalResourceId@ corresponds to the @InstanceId@ . You can pass the EC2 @InstanceId@ to @DescribeStackResources@ to find which stack the instance belongs to and what other resources are part of the stack. Required: Conditional. If you do not specify @PhysicalResourceId@ , you must specify @StackName@ . Default: There is no default value. dsrPhysicalResourceId :: Lens' DescribeStackResources (Maybe Text)-dsrPhysicalResourceId = lens _dsrPhysicalResourceId (\ s a -> s{_dsrPhysicalResourceId = a});+dsrPhysicalResourceId = lens _dsrPhysicalResourceId (\ s a -> s{_dsrPhysicalResourceId = a}) -- | The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value. Required: Conditional. If you do not specify @StackName@ , you must specify @PhysicalResourceId@ . dsrStackName :: Lens' DescribeStackResources (Maybe Text)-dsrStackName = lens _dsrStackName (\ s a -> s{_dsrStackName = a});+dsrStackName = lens _dsrStackName (\ s a -> s{_dsrStackName = a}) instance AWSRequest DescribeStackResources where type Rs DescribeStackResources =@@ -148,15 +148,15 @@ -> DescribeStackResourcesResponse describeStackResourcesResponse pResponseStatus_ = DescribeStackResourcesResponse'- {_dsrsrsStackResources = Nothing, _dsrsrsResponseStatus = pResponseStatus_}+ {_dsrsrsStackResources = Nothing, _dsrsrsResponseStatus = pResponseStatus_} -- | A list of @StackResource@ structures. dsrsrsStackResources :: Lens' DescribeStackResourcesResponse [StackResource]-dsrsrsStackResources = lens _dsrsrsStackResources (\ s a -> s{_dsrsrsStackResources = a}) . _Default . _Coerce;+dsrsrsStackResources = lens _dsrsrsStackResources (\ s a -> s{_dsrsrsStackResources = a}) . _Default . _Coerce -- | -- | The response status code. dsrsrsResponseStatus :: Lens' DescribeStackResourcesResponse Int-dsrsrsResponseStatus = lens _dsrsrsResponseStatus (\ s a -> s{_dsrsrsResponseStatus = a});+dsrsrsResponseStatus = lens _dsrsrsResponseStatus (\ s a -> s{_dsrsrsResponseStatus = a}) instance NFData DescribeStackResourcesResponse where
gen/Network/AWS/CloudFormation/DescribeStackSet.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DescribeStackSet--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -64,7 +64,7 @@ -- | The name or unique ID of the stack set whose description you want. desStackSetName :: Lens' DescribeStackSet Text-desStackSetName = lens _desStackSetName (\ s a -> s{_desStackSetName = a});+desStackSetName = lens _desStackSetName (\ s a -> s{_desStackSetName = a}) instance AWSRequest DescribeStackSet where type Rs DescribeStackSet = DescribeStackSetResponse@@ -111,15 +111,15 @@ -> DescribeStackSetResponse describeStackSetResponse pResponseStatus_ = DescribeStackSetResponse'- {_drsStackSet = Nothing, _drsResponseStatus = pResponseStatus_}+ {_drsStackSet = Nothing, _drsResponseStatus = pResponseStatus_} -- | The specified stack set. drsStackSet :: Lens' DescribeStackSetResponse (Maybe StackSet)-drsStackSet = lens _drsStackSet (\ s a -> s{_drsStackSet = a});+drsStackSet = lens _drsStackSet (\ s a -> s{_drsStackSet = a}) -- | -- | The response status code. drsResponseStatus :: Lens' DescribeStackSetResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a});+drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a}) instance NFData DescribeStackSetResponse where
gen/Network/AWS/CloudFormation/DescribeStackSetOperation.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DescribeStackSetOperation--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -65,16 +65,16 @@ -> DescribeStackSetOperation describeStackSetOperation pStackSetName_ pOperationId_ = DescribeStackSetOperation'- {_dssoStackSetName = pStackSetName_, _dssoOperationId = pOperationId_}+ {_dssoStackSetName = pStackSetName_, _dssoOperationId = pOperationId_} -- | The name or the unique stack ID of the stack set for the stack operation. dssoStackSetName :: Lens' DescribeStackSetOperation Text-dssoStackSetName = lens _dssoStackSetName (\ s a -> s{_dssoStackSetName = a});+dssoStackSetName = lens _dssoStackSetName (\ s a -> s{_dssoStackSetName = a}) -- | The unique ID of the stack set operation. dssoOperationId :: Lens' DescribeStackSetOperation Text-dssoOperationId = lens _dssoOperationId (\ s a -> s{_dssoOperationId = a});+dssoOperationId = lens _dssoOperationId (\ s a -> s{_dssoOperationId = a}) instance AWSRequest DescribeStackSetOperation where type Rs DescribeStackSetOperation =@@ -124,16 +124,18 @@ -> DescribeStackSetOperationResponse describeStackSetOperationResponse pResponseStatus_ = DescribeStackSetOperationResponse'- {_dssorsStackSetOperation = Nothing, _dssorsResponseStatus = pResponseStatus_}+ { _dssorsStackSetOperation = Nothing+ , _dssorsResponseStatus = pResponseStatus_+ } -- | The specified stack set operation. dssorsStackSetOperation :: Lens' DescribeStackSetOperationResponse (Maybe StackSetOperation)-dssorsStackSetOperation = lens _dssorsStackSetOperation (\ s a -> s{_dssorsStackSetOperation = a});+dssorsStackSetOperation = lens _dssorsStackSetOperation (\ s a -> s{_dssorsStackSetOperation = a}) -- | -- | The response status code. dssorsResponseStatus :: Lens' DescribeStackSetOperationResponse Int-dssorsResponseStatus = lens _dssorsResponseStatus (\ s a -> s{_dssorsResponseStatus = a});+dssorsResponseStatus = lens _dssorsResponseStatus (\ s a -> s{_dssorsResponseStatus = a}) instance NFData DescribeStackSetOperationResponse where
gen/Network/AWS/CloudFormation/DescribeStacks.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.DescribeStacks--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -74,11 +74,11 @@ -- | A string that identifies the next page of stacks that you want to retrieve. dNextToken :: Lens' DescribeStacks (Maybe Text)-dNextToken = lens _dNextToken (\ s a -> s{_dNextToken = a});+dNextToken = lens _dNextToken (\ s a -> s{_dNextToken = a}) -- | The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value. dStackName :: Lens' DescribeStacks (Maybe Text)-dStackName = lens _dStackName (\ s a -> s{_dStackName = a});+dStackName = lens _dStackName (\ s a -> s{_dStackName = a}) instance AWSPager DescribeStacks where page rq rs@@ -143,22 +143,22 @@ -> DescribeStacksResponse describeStacksResponse pResponseStatus_ = DescribeStacksResponse'- { _dsrsNextToken = Nothing- , _dsrsStacks = Nothing- , _dsrsResponseStatus = pResponseStatus_- }+ { _dsrsNextToken = Nothing+ , _dsrsStacks = Nothing+ , _dsrsResponseStatus = pResponseStatus_+ } -- | 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. dsrsNextToken :: Lens' DescribeStacksResponse (Maybe Text)-dsrsNextToken = lens _dsrsNextToken (\ s a -> s{_dsrsNextToken = a});+dsrsNextToken = lens _dsrsNextToken (\ s a -> s{_dsrsNextToken = a}) -- | A list of stack structures. dsrsStacks :: Lens' DescribeStacksResponse [Stack]-dsrsStacks = lens _dsrsStacks (\ s a -> s{_dsrsStacks = a}) . _Default . _Coerce;+dsrsStacks = lens _dsrsStacks (\ s a -> s{_dsrsStacks = a}) . _Default . _Coerce -- | -- | The response status code. dsrsResponseStatus :: Lens' DescribeStacksResponse Int-dsrsResponseStatus = lens _dsrsResponseStatus (\ s a -> s{_dsrsResponseStatus = a});+dsrsResponseStatus = lens _dsrsResponseStatus (\ s a -> s{_dsrsResponseStatus = a}) instance NFData DescribeStacksResponse where
gen/Network/AWS/CloudFormation/EstimateTemplateCost.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.EstimateTemplateCost--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -71,23 +71,23 @@ :: EstimateTemplateCost estimateTemplateCost = EstimateTemplateCost'- { _etcParameters = Nothing- , _etcTemplateBody = Nothing- , _etcTemplateURL = Nothing- }+ { _etcParameters = Nothing+ , _etcTemplateBody = Nothing+ , _etcTemplateURL = Nothing+ } -- | A list of @Parameter@ structures that specify input parameters. etcParameters :: Lens' EstimateTemplateCost [Parameter]-etcParameters = lens _etcParameters (\ s a -> s{_etcParameters = a}) . _Default . _Coerce;+etcParameters = lens _etcParameters (\ s a -> s{_etcParameters = a}) . _Default . _Coerce -- | Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide.) Conditional: You must pass @TemplateBody@ or @TemplateURL@ . If both are passed, only @TemplateBody@ is used. etcTemplateBody :: Lens' EstimateTemplateCost (Maybe Text)-etcTemplateBody = lens _etcTemplateBody (\ s a -> s{_etcTemplateBody = a});+etcTemplateBody = lens _etcTemplateBody (\ s a -> s{_etcTemplateBody = a}) -- | Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide. Conditional: You must pass @TemplateURL@ or @TemplateBody@ . If both are passed, only @TemplateBody@ is used. etcTemplateURL :: Lens' EstimateTemplateCost (Maybe Text)-etcTemplateURL = lens _etcTemplateURL (\ s a -> s{_etcTemplateURL = a});+etcTemplateURL = lens _etcTemplateURL (\ s a -> s{_etcTemplateURL = a}) instance AWSRequest EstimateTemplateCost where type Rs EstimateTemplateCost =@@ -142,15 +142,15 @@ -> EstimateTemplateCostResponse estimateTemplateCostResponse pResponseStatus_ = EstimateTemplateCostResponse'- {_etcrsURL = Nothing, _etcrsResponseStatus = pResponseStatus_}+ {_etcrsURL = Nothing, _etcrsResponseStatus = pResponseStatus_} -- | An AWS Simple Monthly Calculator URL with a query string that describes the resources required to run the template. etcrsURL :: Lens' EstimateTemplateCostResponse (Maybe Text)-etcrsURL = lens _etcrsURL (\ s a -> s{_etcrsURL = a});+etcrsURL = lens _etcrsURL (\ s a -> s{_etcrsURL = a}) -- | -- | The response status code. etcrsResponseStatus :: Lens' EstimateTemplateCostResponse Int-etcrsResponseStatus = lens _etcrsResponseStatus (\ s a -> s{_etcrsResponseStatus = a});+etcrsResponseStatus = lens _etcrsResponseStatus (\ s a -> s{_etcrsResponseStatus = a}) instance NFData EstimateTemplateCostResponse where
gen/Network/AWS/CloudFormation/ExecuteChangeSet.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.ExecuteChangeSet--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -75,23 +75,23 @@ -> ExecuteChangeSet executeChangeSet pChangeSetName_ = ExecuteChangeSet'- { _ecsClientRequestToken = Nothing- , _ecsStackName = Nothing- , _ecsChangeSetName = pChangeSetName_- }+ { _ecsClientRequestToken = Nothing+ , _ecsStackName = Nothing+ , _ecsChangeSetName = pChangeSetName_+ } -- | A unique identifier for this @ExecuteChangeSet@ request. Specify this token if you plan to retry requests so that AWS CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry @ExecuteChangeSet@ requests to ensure that AWS CloudFormation successfully received them. ecsClientRequestToken :: Lens' ExecuteChangeSet (Maybe Text)-ecsClientRequestToken = lens _ecsClientRequestToken (\ s a -> s{_ecsClientRequestToken = a});+ecsClientRequestToken = lens _ecsClientRequestToken (\ s a -> s{_ecsClientRequestToken = a}) -- | If you specified the name of a change set, specify the stack name or ID (ARN) that is associated with the change set you want to execute. ecsStackName :: Lens' ExecuteChangeSet (Maybe Text)-ecsStackName = lens _ecsStackName (\ s a -> s{_ecsStackName = a});+ecsStackName = lens _ecsStackName (\ s a -> s{_ecsStackName = a}) -- | The name or ARN of the change set that you want use to update the specified stack. ecsChangeSetName :: Lens' ExecuteChangeSet Text-ecsChangeSetName = lens _ecsChangeSetName (\ s a -> s{_ecsChangeSetName = a});+ecsChangeSetName = lens _ecsChangeSetName (\ s a -> s{_ecsChangeSetName = a}) instance AWSRequest ExecuteChangeSet where type Rs ExecuteChangeSet = ExecuteChangeSetResponse@@ -144,6 +144,6 @@ -- | -- | The response status code. ecsrsResponseStatus :: Lens' ExecuteChangeSetResponse Int-ecsrsResponseStatus = lens _ecsrsResponseStatus (\ s a -> s{_ecsrsResponseStatus = a});+ecsrsResponseStatus = lens _ecsrsResponseStatus (\ s a -> s{_ecsrsResponseStatus = a}) instance NFData ExecuteChangeSetResponse where
gen/Network/AWS/CloudFormation/GetStackPolicy.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.GetStackPolicy--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -67,7 +67,7 @@ -- | The name or unique stack ID that is associated with the stack whose policy you want to get. gspStackName :: Lens' GetStackPolicy Text-gspStackName = lens _gspStackName (\ s a -> s{_gspStackName = a});+gspStackName = lens _gspStackName (\ s a -> s{_gspStackName = a}) instance AWSRequest GetStackPolicy where type Rs GetStackPolicy = GetStackPolicyResponse@@ -118,15 +118,15 @@ -> GetStackPolicyResponse getStackPolicyResponse pResponseStatus_ = GetStackPolicyResponse'- {_gsprsStackPolicyBody = Nothing, _gsprsResponseStatus = pResponseStatus_}+ {_gsprsStackPolicyBody = Nothing, _gsprsResponseStatus = pResponseStatus_} -- | Structure containing the stack policy body. (For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html Prevent Updates to Stack Resources> in the AWS CloudFormation User Guide.) gsprsStackPolicyBody :: Lens' GetStackPolicyResponse (Maybe Text)-gsprsStackPolicyBody = lens _gsprsStackPolicyBody (\ s a -> s{_gsprsStackPolicyBody = a});+gsprsStackPolicyBody = lens _gsprsStackPolicyBody (\ s a -> s{_gsprsStackPolicyBody = a}) -- | -- | The response status code. gsprsResponseStatus :: Lens' GetStackPolicyResponse Int-gsprsResponseStatus = lens _gsprsResponseStatus (\ s a -> s{_gsprsResponseStatus = a});+gsprsResponseStatus = lens _gsprsResponseStatus (\ s a -> s{_gsprsResponseStatus = a}) instance NFData GetStackPolicyResponse where
gen/Network/AWS/CloudFormation/GetTemplate.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.GetTemplate--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -74,23 +74,23 @@ :: GetTemplate getTemplate = GetTemplate'- { _gtChangeSetName = Nothing- , _gtTemplateStage = Nothing- , _gtStackName = Nothing- }+ { _gtChangeSetName = Nothing+ , _gtTemplateStage = Nothing+ , _gtStackName = Nothing+ } -- | The name or Amazon Resource Name (ARN) of a change set for which AWS CloudFormation returns the associated template. If you specify a name, you must also specify the @StackName@ . gtChangeSetName :: Lens' GetTemplate (Maybe Text)-gtChangeSetName = lens _gtChangeSetName (\ s a -> s{_gtChangeSetName = a});+gtChangeSetName = lens _gtChangeSetName (\ s a -> s{_gtChangeSetName = a}) -- | For templates that include transforms, the stage of the template that AWS CloudFormation returns. To get the user-submitted template, specify @Original@ . To get the template after AWS CloudFormation has processed all transforms, specify @Processed@ . If the template doesn't include transforms, @Original@ and @Processed@ return the same template. By default, AWS CloudFormation specifies @Original@ . gtTemplateStage :: Lens' GetTemplate (Maybe TemplateStage)-gtTemplateStage = lens _gtTemplateStage (\ s a -> s{_gtTemplateStage = a});+gtTemplateStage = lens _gtTemplateStage (\ s a -> s{_gtTemplateStage = a}) -- | The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value. gtStackName :: Lens' GetTemplate (Maybe Text)-gtStackName = lens _gtStackName (\ s a -> s{_gtStackName = a});+gtStackName = lens _gtStackName (\ s a -> s{_gtStackName = a}) instance AWSRequest GetTemplate where type Rs GetTemplate = GetTemplateResponse@@ -149,22 +149,22 @@ -> GetTemplateResponse getTemplateResponse pResponseStatus_ = GetTemplateResponse'- { _gtrsStagesAvailable = Nothing- , _gtrsTemplateBody = Nothing- , _gtrsResponseStatus = pResponseStatus_- }+ { _gtrsStagesAvailable = Nothing+ , _gtrsTemplateBody = Nothing+ , _gtrsResponseStatus = pResponseStatus_+ } -- | The stage of the template that you can retrieve. For stacks, the @Original@ and @Processed@ templates are always available. For change sets, the @Original@ template is always available. After AWS CloudFormation finishes creating the change set, the @Processed@ template becomes available. gtrsStagesAvailable :: Lens' GetTemplateResponse [TemplateStage]-gtrsStagesAvailable = lens _gtrsStagesAvailable (\ s a -> s{_gtrsStagesAvailable = a}) . _Default . _Coerce;+gtrsStagesAvailable = lens _gtrsStagesAvailable (\ s a -> s{_gtrsStagesAvailable = a}) . _Default . _Coerce -- | Structure containing the template body. (For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide.) AWS CloudFormation returns the same template that was used when the stack was created. gtrsTemplateBody :: Lens' GetTemplateResponse (Maybe Text)-gtrsTemplateBody = lens _gtrsTemplateBody (\ s a -> s{_gtrsTemplateBody = a});+gtrsTemplateBody = lens _gtrsTemplateBody (\ s a -> s{_gtrsTemplateBody = a}) -- | -- | The response status code. gtrsResponseStatus :: Lens' GetTemplateResponse Int-gtrsResponseStatus = lens _gtrsResponseStatus (\ s a -> s{_gtrsResponseStatus = a});+gtrsResponseStatus = lens _gtrsResponseStatus (\ s a -> s{_gtrsResponseStatus = a}) instance NFData GetTemplateResponse where
gen/Network/AWS/CloudFormation/GetTemplateSummary.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.GetTemplateSummary--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -86,28 +86,28 @@ :: GetTemplateSummary getTemplateSummary = GetTemplateSummary'- { _gtsTemplateBody = Nothing- , _gtsTemplateURL = Nothing- , _gtsStackSetName = Nothing- , _gtsStackName = Nothing- }+ { _gtsTemplateBody = Nothing+ , _gtsTemplateURL = Nothing+ , _gtsStackSetName = Nothing+ , _gtsStackName = Nothing+ } -- | Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide. Conditional: You must specify only one of the following parameters: @StackName@ , @StackSetName@ , @TemplateBody@ , or @TemplateURL@ . gtsTemplateBody :: Lens' GetTemplateSummary (Maybe Text)-gtsTemplateBody = lens _gtsTemplateBody (\ s a -> s{_gtsTemplateBody = a});+gtsTemplateBody = lens _gtsTemplateBody (\ s a -> s{_gtsTemplateBody = a}) -- | Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information about templates, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide. Conditional: You must specify only one of the following parameters: @StackName@ , @StackSetName@ , @TemplateBody@ , or @TemplateURL@ . gtsTemplateURL :: Lens' GetTemplateSummary (Maybe Text)-gtsTemplateURL = lens _gtsTemplateURL (\ s a -> s{_gtsTemplateURL = a});+gtsTemplateURL = lens _gtsTemplateURL (\ s a -> s{_gtsTemplateURL = a}) -- | The name or unique ID of the stack set from which the stack was created. Conditional: You must specify only one of the following parameters: @StackName@ , @StackSetName@ , @TemplateBody@ , or @TemplateURL@ . gtsStackSetName :: Lens' GetTemplateSummary (Maybe Text)-gtsStackSetName = lens _gtsStackSetName (\ s a -> s{_gtsStackSetName = a});+gtsStackSetName = lens _gtsStackSetName (\ s a -> s{_gtsStackSetName = a}) -- | 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@ , @StackSetName@ , @TemplateBody@ , or @TemplateURL@ . gtsStackName :: Lens' GetTemplateSummary (Maybe Text)-gtsStackName = lens _gtsStackName (\ s a -> s{_gtsStackName = a});+gtsStackName = lens _gtsStackName (\ s a -> s{_gtsStackName = a}) instance AWSRequest GetTemplateSummary where type Rs GetTemplateSummary =@@ -198,52 +198,52 @@ -> GetTemplateSummaryResponse getTemplateSummaryResponse pResponseStatus_ = GetTemplateSummaryResponse'- { _gtsrsDeclaredTransforms = Nothing- , _gtsrsVersion = Nothing- , _gtsrsCapabilitiesReason = Nothing- , _gtsrsParameters = Nothing- , _gtsrsMetadata = Nothing- , _gtsrsDescription = Nothing- , _gtsrsCapabilities = Nothing- , _gtsrsResourceTypes = Nothing- , _gtsrsResponseStatus = pResponseStatus_- }+ { _gtsrsDeclaredTransforms = Nothing+ , _gtsrsVersion = Nothing+ , _gtsrsCapabilitiesReason = Nothing+ , _gtsrsParameters = Nothing+ , _gtsrsMetadata = Nothing+ , _gtsrsDescription = Nothing+ , _gtsrsCapabilities = Nothing+ , _gtsrsResourceTypes = Nothing+ , _gtsrsResponseStatus = pResponseStatus_+ } -- | A list of the transforms that are declared in the template. gtsrsDeclaredTransforms :: Lens' GetTemplateSummaryResponse [Text]-gtsrsDeclaredTransforms = lens _gtsrsDeclaredTransforms (\ s a -> s{_gtsrsDeclaredTransforms = a}) . _Default . _Coerce;+gtsrsDeclaredTransforms = lens _gtsrsDeclaredTransforms (\ s a -> s{_gtsrsDeclaredTransforms = a}) . _Default . _Coerce -- | The AWS template format version, which identifies the capabilities of the template. gtsrsVersion :: Lens' GetTemplateSummaryResponse (Maybe Text)-gtsrsVersion = lens _gtsrsVersion (\ s a -> s{_gtsrsVersion = a});+gtsrsVersion = lens _gtsrsVersion (\ s a -> s{_gtsrsVersion = a}) -- | The list of resources that generated the values in the @Capabilities@ response element. gtsrsCapabilitiesReason :: Lens' GetTemplateSummaryResponse (Maybe Text)-gtsrsCapabilitiesReason = lens _gtsrsCapabilitiesReason (\ s a -> s{_gtsrsCapabilitiesReason = a});+gtsrsCapabilitiesReason = lens _gtsrsCapabilitiesReason (\ s a -> s{_gtsrsCapabilitiesReason = a}) -- | A list of parameter declarations that describe various properties for each parameter. gtsrsParameters :: Lens' GetTemplateSummaryResponse [ParameterDeclaration]-gtsrsParameters = lens _gtsrsParameters (\ s a -> s{_gtsrsParameters = a}) . _Default . _Coerce;+gtsrsParameters = lens _gtsrsParameters (\ s a -> s{_gtsrsParameters = a}) . _Default . _Coerce -- | The value that is defined for the @Metadata@ property of the template. gtsrsMetadata :: Lens' GetTemplateSummaryResponse (Maybe Text)-gtsrsMetadata = lens _gtsrsMetadata (\ s a -> s{_gtsrsMetadata = a});+gtsrsMetadata = lens _gtsrsMetadata (\ s a -> s{_gtsrsMetadata = a}) -- | The value that is defined in the @Description@ property of the template. gtsrsDescription :: Lens' GetTemplateSummaryResponse (Maybe Text)-gtsrsDescription = lens _gtsrsDescription (\ s a -> s{_gtsrsDescription = a});+gtsrsDescription = lens _gtsrsDescription (\ s a -> s{_gtsrsDescription = a}) -- | The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the 'CreateStack' or 'UpdateStack' actions with your template; otherwise, those actions return an InsufficientCapabilities error. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities Acknowledging IAM Resources in AWS CloudFormation Templates> . gtsrsCapabilities :: Lens' GetTemplateSummaryResponse [Capability]-gtsrsCapabilities = lens _gtsrsCapabilities (\ s a -> s{_gtsrsCapabilities = a}) . _Default . _Coerce;+gtsrsCapabilities = lens _gtsrsCapabilities (\ s a -> s{_gtsrsCapabilities = a}) . _Default . _Coerce -- | A list of all the template resource types that are defined in the template, such as @AWS::EC2::Instance@ , @AWS::Dynamo::Table@ , and @Custom::MyCustomInstance@ . gtsrsResourceTypes :: Lens' GetTemplateSummaryResponse [Text]-gtsrsResourceTypes = lens _gtsrsResourceTypes (\ s a -> s{_gtsrsResourceTypes = a}) . _Default . _Coerce;+gtsrsResourceTypes = lens _gtsrsResourceTypes (\ s a -> s{_gtsrsResourceTypes = a}) . _Default . _Coerce -- | -- | The response status code. gtsrsResponseStatus :: Lens' GetTemplateSummaryResponse Int-gtsrsResponseStatus = lens _gtsrsResponseStatus (\ s a -> s{_gtsrsResponseStatus = a});+gtsrsResponseStatus = lens _gtsrsResponseStatus (\ s a -> s{_gtsrsResponseStatus = a}) instance NFData GetTemplateSummaryResponse where
gen/Network/AWS/CloudFormation/ListChangeSets.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.ListChangeSets--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -73,11 +73,11 @@ -- | A string (provided by the 'ListChangeSets' response output) that identifies the next page of change sets that you want to retrieve. lcsNextToken :: Lens' ListChangeSets (Maybe Text)-lcsNextToken = lens _lcsNextToken (\ s a -> s{_lcsNextToken = a});+lcsNextToken = lens _lcsNextToken (\ s a -> s{_lcsNextToken = a}) -- | The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets. lcsStackName :: Lens' ListChangeSets Text-lcsStackName = lens _lcsStackName (\ s a -> s{_lcsStackName = a});+lcsStackName = lens _lcsStackName (\ s a -> s{_lcsStackName = a}) instance AWSRequest ListChangeSets where type Rs ListChangeSets = ListChangeSetsResponse@@ -135,22 +135,22 @@ -> ListChangeSetsResponse listChangeSetsResponse pResponseStatus_ = ListChangeSetsResponse'- { _lcsrsNextToken = Nothing- , _lcsrsSummaries = Nothing- , _lcsrsResponseStatus = pResponseStatus_- }+ { _lcsrsNextToken = Nothing+ , _lcsrsSummaries = Nothing+ , _lcsrsResponseStatus = pResponseStatus_+ } -- | If the output exceeds 1 MB, a string that identifies the next page of change sets. If there is no additional page, this value is null. lcsrsNextToken :: Lens' ListChangeSetsResponse (Maybe Text)-lcsrsNextToken = lens _lcsrsNextToken (\ s a -> s{_lcsrsNextToken = a});+lcsrsNextToken = lens _lcsrsNextToken (\ s a -> s{_lcsrsNextToken = a}) -- | A list of @ChangeSetSummary@ structures that provides the ID and status of each change set for the specified stack. lcsrsSummaries :: Lens' ListChangeSetsResponse [ChangeSetSummary]-lcsrsSummaries = lens _lcsrsSummaries (\ s a -> s{_lcsrsSummaries = a}) . _Default . _Coerce;+lcsrsSummaries = lens _lcsrsSummaries (\ s a -> s{_lcsrsSummaries = a}) . _Default . _Coerce -- | -- | The response status code. lcsrsResponseStatus :: Lens' ListChangeSetsResponse Int-lcsrsResponseStatus = lens _lcsrsResponseStatus (\ s a -> s{_lcsrsResponseStatus = a});+lcsrsResponseStatus = lens _lcsrsResponseStatus (\ s a -> s{_lcsrsResponseStatus = a}) instance NFData ListChangeSetsResponse where
gen/Network/AWS/CloudFormation/ListExports.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.ListExports--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -68,7 +68,7 @@ -- | A string (provided by the 'ListExports' response output) that identifies the next page of exported output values that you asked to retrieve. leNextToken :: Lens' ListExports (Maybe Text)-leNextToken = lens _leNextToken (\ s a -> s{_leNextToken = a});+leNextToken = lens _leNextToken (\ s a -> s{_leNextToken = a}) instance AWSPager ListExports where page rq rs@@ -128,22 +128,22 @@ -> ListExportsResponse listExportsResponse pResponseStatus_ = ListExportsResponse'- { _lersNextToken = Nothing- , _lersExports = Nothing- , _lersResponseStatus = pResponseStatus_- }+ { _lersNextToken = Nothing+ , _lersExports = Nothing+ , _lersResponseStatus = pResponseStatus_+ } -- | If the output exceeds 100 exported output values, a string that identifies the next page of exports. If there is no additional page, this value is null. lersNextToken :: Lens' ListExportsResponse (Maybe Text)-lersNextToken = lens _lersNextToken (\ s a -> s{_lersNextToken = a});+lersNextToken = lens _lersNextToken (\ s a -> s{_lersNextToken = a}) -- | The output for the 'ListExports' action. lersExports :: Lens' ListExportsResponse [Export]-lersExports = lens _lersExports (\ s a -> s{_lersExports = a}) . _Default . _Coerce;+lersExports = lens _lersExports (\ s a -> s{_lersExports = a}) . _Default . _Coerce -- | -- | The response status code. lersResponseStatus :: Lens' ListExportsResponse Int-lersResponseStatus = lens _lersResponseStatus (\ s a -> s{_lersResponseStatus = a});+lersResponseStatus = lens _lersResponseStatus (\ s a -> s{_lersResponseStatus = a}) instance NFData ListExportsResponse where
gen/Network/AWS/CloudFormation/ListImports.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.ListImports--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -74,11 +74,11 @@ -- | A string (provided by the 'ListImports' response output) that identifies the next page of stacks that are importing the specified exported output value. liNextToken :: Lens' ListImports (Maybe Text)-liNextToken = lens _liNextToken (\ s a -> s{_liNextToken = a});+liNextToken = lens _liNextToken (\ s a -> s{_liNextToken = a}) -- | The name of the exported output value. AWS CloudFormation returns the stack names that are importing this value. liExportName :: Lens' ListImports Text-liExportName = lens _liExportName (\ s a -> s{_liExportName = a});+liExportName = lens _liExportName (\ s a -> s{_liExportName = a}) instance AWSPager ListImports where page rq rs@@ -139,22 +139,22 @@ -> ListImportsResponse listImportsResponse pResponseStatus_ = ListImportsResponse'- { _lirsImports = Nothing- , _lirsNextToken = Nothing- , _lirsResponseStatus = pResponseStatus_- }+ { _lirsImports = Nothing+ , _lirsNextToken = Nothing+ , _lirsResponseStatus = pResponseStatus_+ } -- | A list of stack names that are importing the specified exported output value. lirsImports :: Lens' ListImportsResponse [Text]-lirsImports = lens _lirsImports (\ s a -> s{_lirsImports = a}) . _Default . _Coerce;+lirsImports = lens _lirsImports (\ s a -> s{_lirsImports = a}) . _Default . _Coerce -- | A string that identifies the next page of exports. If there is no additional page, this value is null. lirsNextToken :: Lens' ListImportsResponse (Maybe Text)-lirsNextToken = lens _lirsNextToken (\ s a -> s{_lirsNextToken = a});+lirsNextToken = lens _lirsNextToken (\ s a -> s{_lirsNextToken = a}) -- | -- | The response status code. lirsResponseStatus :: Lens' ListImportsResponse Int-lirsResponseStatus = lens _lirsResponseStatus (\ s a -> s{_lirsResponseStatus = a});+lirsResponseStatus = lens _lirsResponseStatus (\ s a -> s{_lirsResponseStatus = a}) instance NFData ListImportsResponse where
gen/Network/AWS/CloudFormation/ListStackInstances.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.ListStackInstances--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -77,33 +77,33 @@ -> ListStackInstances listStackInstances pStackSetName_ = ListStackInstances'- { _lsiStackInstanceRegion = Nothing- , _lsiNextToken = Nothing- , _lsiStackInstanceAccount = Nothing- , _lsiMaxResults = Nothing- , _lsiStackSetName = pStackSetName_- }+ { _lsiStackInstanceRegion = Nothing+ , _lsiNextToken = Nothing+ , _lsiStackInstanceAccount = Nothing+ , _lsiMaxResults = Nothing+ , _lsiStackSetName = pStackSetName_+ } -- | The name of the region where you want to list stack instances. lsiStackInstanceRegion :: Lens' ListStackInstances (Maybe Text)-lsiStackInstanceRegion = lens _lsiStackInstanceRegion (\ s a -> s{_lsiStackInstanceRegion = a});+lsiStackInstanceRegion = lens _lsiStackInstanceRegion (\ s a -> s{_lsiStackInstanceRegion = a}) -- | 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@ . lsiNextToken :: Lens' ListStackInstances (Maybe Text)-lsiNextToken = lens _lsiNextToken (\ s a -> s{_lsiNextToken = a});+lsiNextToken = lens _lsiNextToken (\ s a -> s{_lsiNextToken = a}) -- | The name of the AWS account that you want to list stack instances for. lsiStackInstanceAccount :: Lens' ListStackInstances (Maybe Text)-lsiStackInstanceAccount = lens _lsiStackInstanceAccount (\ s a -> s{_lsiStackInstanceAccount = a});+lsiStackInstanceAccount = lens _lsiStackInstanceAccount (\ s a -> s{_lsiStackInstanceAccount = a}) -- | 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. lsiMaxResults :: Lens' ListStackInstances (Maybe Natural)-lsiMaxResults = lens _lsiMaxResults (\ s a -> s{_lsiMaxResults = a}) . mapping _Nat;+lsiMaxResults = lens _lsiMaxResults (\ s a -> s{_lsiMaxResults = a}) . mapping _Nat -- | The name or unique ID of the stack set that you want to list stack instances for. lsiStackSetName :: Lens' ListStackInstances Text-lsiStackSetName = lens _lsiStackSetName (\ s a -> s{_lsiStackSetName = a});+lsiStackSetName = lens _lsiStackSetName (\ s a -> s{_lsiStackSetName = a}) instance AWSRequest ListStackInstances where type Rs ListStackInstances =@@ -161,22 +161,22 @@ -> ListStackInstancesResponse listStackInstancesResponse pResponseStatus_ = ListStackInstancesResponse'- { _lsirsNextToken = Nothing- , _lsirsSummaries = Nothing- , _lsirsResponseStatus = pResponseStatus_- }+ { _lsirsNextToken = Nothing+ , _lsirsSummaries = Nothing+ , _lsirsResponseStatus = pResponseStatus_+ } -- | 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@ . lsirsNextToken :: Lens' ListStackInstancesResponse (Maybe Text)-lsirsNextToken = lens _lsirsNextToken (\ s a -> s{_lsirsNextToken = a});+lsirsNextToken = lens _lsirsNextToken (\ s a -> s{_lsirsNextToken = a}) -- | A list of @StackInstanceSummary@ structures that contain information about the specified stack instances. lsirsSummaries :: Lens' ListStackInstancesResponse [StackInstanceSummary]-lsirsSummaries = lens _lsirsSummaries (\ s a -> s{_lsirsSummaries = a}) . _Default . _Coerce;+lsirsSummaries = lens _lsirsSummaries (\ s a -> s{_lsirsSummaries = a}) . _Default . _Coerce -- | -- | The response status code. lsirsResponseStatus :: Lens' ListStackInstancesResponse Int-lsirsResponseStatus = lens _lsirsResponseStatus (\ s a -> s{_lsirsResponseStatus = a});+lsirsResponseStatus = lens _lsirsResponseStatus (\ s a -> s{_lsirsResponseStatus = a}) instance NFData ListStackInstancesResponse where
gen/Network/AWS/CloudFormation/ListStackResources.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.ListStackResources--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -78,11 +78,11 @@ -- | A string that identifies the next page of stack resources that you want to retrieve. lsrNextToken :: Lens' ListStackResources (Maybe Text)-lsrNextToken = lens _lsrNextToken (\ s a -> s{_lsrNextToken = a});+lsrNextToken = lens _lsrNextToken (\ s a -> s{_lsrNextToken = a}) -- | The name or the unique stack ID that is associated with the stack, which are not always interchangeable: * Running stacks: You can specify either the stack's name or its unique stack ID. * Deleted stacks: You must specify the unique stack ID. Default: There is no default value. lsrStackName :: Lens' ListStackResources Text-lsrStackName = lens _lsrStackName (\ s a -> s{_lsrStackName = a});+lsrStackName = lens _lsrStackName (\ s a -> s{_lsrStackName = a}) instance AWSPager ListStackResources where page rq rs@@ -148,22 +148,22 @@ -> ListStackResourcesResponse listStackResourcesResponse pResponseStatus_ = ListStackResourcesResponse'- { _lsrrsNextToken = Nothing- , _lsrrsStackResourceSummaries = Nothing- , _lsrrsResponseStatus = pResponseStatus_- }+ { _lsrrsNextToken = Nothing+ , _lsrrsStackResourceSummaries = Nothing+ , _lsrrsResponseStatus = pResponseStatus_+ } -- | If the output exceeds 1 MB, a string that identifies the next page of stack resources. If no additional page exists, this value is null. lsrrsNextToken :: Lens' ListStackResourcesResponse (Maybe Text)-lsrrsNextToken = lens _lsrrsNextToken (\ s a -> s{_lsrrsNextToken = a});+lsrrsNextToken = lens _lsrrsNextToken (\ s a -> s{_lsrrsNextToken = a}) -- | A list of @StackResourceSummary@ structures. lsrrsStackResourceSummaries :: Lens' ListStackResourcesResponse [StackResourceSummary]-lsrrsStackResourceSummaries = lens _lsrrsStackResourceSummaries (\ s a -> s{_lsrrsStackResourceSummaries = a}) . _Default . _Coerce;+lsrrsStackResourceSummaries = lens _lsrrsStackResourceSummaries (\ s a -> s{_lsrrsStackResourceSummaries = a}) . _Default . _Coerce -- | -- | The response status code. lsrrsResponseStatus :: Lens' ListStackResourcesResponse Int-lsrrsResponseStatus = lens _lsrrsResponseStatus (\ s a -> s{_lsrrsResponseStatus = a});+lsrrsResponseStatus = lens _lsrrsResponseStatus (\ s a -> s{_lsrrsResponseStatus = a}) instance NFData ListStackResourcesResponse where
gen/Network/AWS/CloudFormation/ListStackSetOperationResults.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.ListStackSetOperationResults--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -74,28 +74,28 @@ -> ListStackSetOperationResults listStackSetOperationResults pStackSetName_ pOperationId_ = ListStackSetOperationResults'- { _lssorNextToken = Nothing- , _lssorMaxResults = Nothing- , _lssorStackSetName = pStackSetName_- , _lssorOperationId = pOperationId_- }+ { _lssorNextToken = Nothing+ , _lssorMaxResults = Nothing+ , _lssorStackSetName = pStackSetName_+ , _lssorOperationId = pOperationId_+ } -- | 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@ . lssorNextToken :: Lens' ListStackSetOperationResults (Maybe Text)-lssorNextToken = lens _lssorNextToken (\ s a -> s{_lssorNextToken = a});+lssorNextToken = lens _lssorNextToken (\ s a -> s{_lssorNextToken = a}) -- | 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. lssorMaxResults :: Lens' ListStackSetOperationResults (Maybe Natural)-lssorMaxResults = lens _lssorMaxResults (\ s a -> s{_lssorMaxResults = a}) . mapping _Nat;+lssorMaxResults = lens _lssorMaxResults (\ s a -> s{_lssorMaxResults = a}) . mapping _Nat -- | The name or unique ID of the stack set that you want to get operation results for. lssorStackSetName :: Lens' ListStackSetOperationResults Text-lssorStackSetName = lens _lssorStackSetName (\ s a -> s{_lssorStackSetName = a});+lssorStackSetName = lens _lssorStackSetName (\ s a -> s{_lssorStackSetName = a}) -- | The ID of the stack set operation. lssorOperationId :: Lens' ListStackSetOperationResults Text-lssorOperationId = lens _lssorOperationId (\ s a -> s{_lssorOperationId = a});+lssorOperationId = lens _lssorOperationId (\ s a -> s{_lssorOperationId = a}) instance AWSRequest ListStackSetOperationResults where@@ -155,23 +155,23 @@ -> ListStackSetOperationResultsResponse listStackSetOperationResultsResponse pResponseStatus_ = ListStackSetOperationResultsResponse'- { _lssorrsNextToken = Nothing- , _lssorrsSummaries = Nothing- , _lssorrsResponseStatus = pResponseStatus_- }+ { _lssorrsNextToken = Nothing+ , _lssorrsSummaries = Nothing+ , _lssorrsResponseStatus = pResponseStatus_+ } -- | 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@ . lssorrsNextToken :: Lens' ListStackSetOperationResultsResponse (Maybe Text)-lssorrsNextToken = lens _lssorrsNextToken (\ s a -> s{_lssorrsNextToken = a});+lssorrsNextToken = lens _lssorrsNextToken (\ s a -> s{_lssorrsNextToken = a}) -- | A list of @StackSetOperationResultSummary@ structures that contain information about the specified operation results, for accounts and regions that are included in the operation. lssorrsSummaries :: Lens' ListStackSetOperationResultsResponse [StackSetOperationResultSummary]-lssorrsSummaries = lens _lssorrsSummaries (\ s a -> s{_lssorrsSummaries = a}) . _Default . _Coerce;+lssorrsSummaries = lens _lssorrsSummaries (\ s a -> s{_lssorrsSummaries = a}) . _Default . _Coerce -- | -- | The response status code. lssorrsResponseStatus :: Lens' ListStackSetOperationResultsResponse Int-lssorrsResponseStatus = lens _lssorrsResponseStatus (\ s a -> s{_lssorrsResponseStatus = a});+lssorrsResponseStatus = lens _lssorrsResponseStatus (\ s a -> s{_lssorrsResponseStatus = a}) instance NFData ListStackSetOperationResultsResponse where
gen/Network/AWS/CloudFormation/ListStackSetOperations.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.ListStackSetOperations--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -69,23 +69,23 @@ -> ListStackSetOperations listStackSetOperations pStackSetName_ = ListStackSetOperations'- { _lssoNextToken = Nothing- , _lssoMaxResults = Nothing- , _lssoStackSetName = pStackSetName_- }+ { _lssoNextToken = Nothing+ , _lssoMaxResults = Nothing+ , _lssoStackSetName = pStackSetName_+ } -- | 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@ . lssoNextToken :: Lens' ListStackSetOperations (Maybe Text)-lssoNextToken = lens _lssoNextToken (\ s a -> s{_lssoNextToken = a});+lssoNextToken = lens _lssoNextToken (\ s a -> s{_lssoNextToken = a}) -- | 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. lssoMaxResults :: Lens' ListStackSetOperations (Maybe Natural)-lssoMaxResults = lens _lssoMaxResults (\ s a -> s{_lssoMaxResults = a}) . mapping _Nat;+lssoMaxResults = lens _lssoMaxResults (\ s a -> s{_lssoMaxResults = a}) . mapping _Nat -- | The name or unique ID of the stack set that you want to get operation summaries for. lssoStackSetName :: Lens' ListStackSetOperations Text-lssoStackSetName = lens _lssoStackSetName (\ s a -> s{_lssoStackSetName = a});+lssoStackSetName = lens _lssoStackSetName (\ s a -> s{_lssoStackSetName = a}) instance AWSRequest ListStackSetOperations where type Rs ListStackSetOperations =@@ -142,22 +142,22 @@ -> ListStackSetOperationsResponse listStackSetOperationsResponse pResponseStatus_ = ListStackSetOperationsResponse'- { _lssorsNextToken = Nothing- , _lssorsSummaries = Nothing- , _lssorsResponseStatus = pResponseStatus_- }+ { _lssorsNextToken = Nothing+ , _lssorsSummaries = Nothing+ , _lssorsResponseStatus = pResponseStatus_+ } -- | 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@ . lssorsNextToken :: Lens' ListStackSetOperationsResponse (Maybe Text)-lssorsNextToken = lens _lssorsNextToken (\ s a -> s{_lssorsNextToken = a});+lssorsNextToken = lens _lssorsNextToken (\ s a -> s{_lssorsNextToken = a}) -- | A list of @StackSetOperationSummary@ structures that contain summary information about operations for the specified stack set. lssorsSummaries :: Lens' ListStackSetOperationsResponse [StackSetOperationSummary]-lssorsSummaries = lens _lssorsSummaries (\ s a -> s{_lssorsSummaries = a}) . _Default . _Coerce;+lssorsSummaries = lens _lssorsSummaries (\ s a -> s{_lssorsSummaries = a}) . _Default . _Coerce -- | -- | The response status code. lssorsResponseStatus :: Lens' ListStackSetOperationsResponse Int-lssorsResponseStatus = lens _lssorsResponseStatus (\ s a -> s{_lssorsResponseStatus = a});+lssorsResponseStatus = lens _lssorsResponseStatus (\ s a -> s{_lssorsResponseStatus = a}) instance NFData ListStackSetOperationsResponse where
gen/Network/AWS/CloudFormation/ListStackSets.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.ListStackSets--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -68,20 +68,20 @@ :: ListStackSets listStackSets = ListStackSets'- {_lssStatus = Nothing, _lssNextToken = Nothing, _lssMaxResults = Nothing}+ {_lssStatus = Nothing, _lssNextToken = Nothing, _lssMaxResults = Nothing} -- | The status of the stack sets that you want to get summary information about. lssStatus :: Lens' ListStackSets (Maybe StackSetStatus)-lssStatus = lens _lssStatus (\ s a -> s{_lssStatus = a});+lssStatus = lens _lssStatus (\ s a -> s{_lssStatus = a}) -- | 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@ . lssNextToken :: Lens' ListStackSets (Maybe Text)-lssNextToken = lens _lssNextToken (\ s a -> s{_lssNextToken = a});+lssNextToken = lens _lssNextToken (\ s a -> s{_lssNextToken = a}) -- | 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. lssMaxResults :: Lens' ListStackSets (Maybe Natural)-lssMaxResults = lens _lssMaxResults (\ s a -> s{_lssMaxResults = a}) . mapping _Nat;+lssMaxResults = lens _lssMaxResults (\ s a -> s{_lssMaxResults = a}) . mapping _Nat instance AWSRequest ListStackSets where type Rs ListStackSets = ListStackSetsResponse@@ -135,22 +135,22 @@ -> ListStackSetsResponse listStackSetsResponse pResponseStatus_ = ListStackSetsResponse'- { _lssrsNextToken = Nothing- , _lssrsSummaries = Nothing- , _lssrsResponseStatus = pResponseStatus_- }+ { _lssrsNextToken = Nothing+ , _lssrsSummaries = Nothing+ , _lssrsResponseStatus = pResponseStatus_+ } -- | 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@ . lssrsNextToken :: Lens' ListStackSetsResponse (Maybe Text)-lssrsNextToken = lens _lssrsNextToken (\ s a -> s{_lssrsNextToken = a});+lssrsNextToken = lens _lssrsNextToken (\ s a -> s{_lssrsNextToken = a}) -- | A list of @StackSetSummary@ structures that contain information about the user's stack sets. lssrsSummaries :: Lens' ListStackSetsResponse [StackSetSummary]-lssrsSummaries = lens _lssrsSummaries (\ s a -> s{_lssrsSummaries = a}) . _Default . _Coerce;+lssrsSummaries = lens _lssrsSummaries (\ s a -> s{_lssrsSummaries = a}) . _Default . _Coerce -- | -- | The response status code. lssrsResponseStatus :: Lens' ListStackSetsResponse Int-lssrsResponseStatus = lens _lssrsResponseStatus (\ s a -> s{_lssrsResponseStatus = a});+lssrsResponseStatus = lens _lssrsResponseStatus (\ s a -> s{_lssrsResponseStatus = a}) instance NFData ListStackSetsResponse where
gen/Network/AWS/CloudFormation/ListStacks.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.ListStacks--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -75,11 +75,11 @@ -- | A string that identifies the next page of stacks that you want to retrieve. lsNextToken :: Lens' ListStacks (Maybe Text)-lsNextToken = lens _lsNextToken (\ s a -> s{_lsNextToken = a});+lsNextToken = lens _lsNextToken (\ s a -> s{_lsNextToken = a}) -- | Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the @StackStatus@ parameter of the 'Stack' data type. lsStackStatusFilter :: Lens' ListStacks [StackStatus]-lsStackStatusFilter = lens _lsStackStatusFilter (\ s a -> s{_lsStackStatusFilter = a}) . _Default . _Coerce;+lsStackStatusFilter = lens _lsStackStatusFilter (\ s a -> s{_lsStackStatusFilter = a}) . _Default . _Coerce instance AWSPager ListStacks where page rq rs@@ -146,22 +146,22 @@ -> ListStacksResponse listStacksResponse pResponseStatus_ = ListStacksResponse'- { _lsrsNextToken = Nothing- , _lsrsStackSummaries = Nothing- , _lsrsResponseStatus = pResponseStatus_- }+ { _lsrsNextToken = Nothing+ , _lsrsStackSummaries = Nothing+ , _lsrsResponseStatus = pResponseStatus_+ } -- | 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. lsrsNextToken :: Lens' ListStacksResponse (Maybe Text)-lsrsNextToken = lens _lsrsNextToken (\ s a -> s{_lsrsNextToken = a});+lsrsNextToken = lens _lsrsNextToken (\ s a -> s{_lsrsNextToken = a}) -- | A list of @StackSummary@ structures containing information about the specified stacks. lsrsStackSummaries :: Lens' ListStacksResponse [StackSummary]-lsrsStackSummaries = lens _lsrsStackSummaries (\ s a -> s{_lsrsStackSummaries = a}) . _Default . _Coerce;+lsrsStackSummaries = lens _lsrsStackSummaries (\ s a -> s{_lsrsStackSummaries = a}) . _Default . _Coerce -- | -- | The response status code. lsrsResponseStatus :: Lens' ListStacksResponse Int-lsrsResponseStatus = lens _lsrsResponseStatus (\ s a -> s{_lsrsResponseStatus = a});+lsrsResponseStatus = lens _lsrsResponseStatus (\ s a -> s{_lsrsResponseStatus = a}) instance NFData ListStacksResponse where
gen/Network/AWS/CloudFormation/SetStackPolicy.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.SetStackPolicy--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -69,23 +69,23 @@ -> SetStackPolicy setStackPolicy pStackName_ = SetStackPolicy'- { _sspStackPolicyBody = Nothing- , _sspStackPolicyURL = Nothing- , _sspStackName = pStackName_- }+ { _sspStackPolicyBody = Nothing+ , _sspStackPolicyURL = Nothing+ , _sspStackName = pStackName_+ } -- | Structure containing the stack policy body. For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html Prevent Updates to Stack Resources> in the AWS CloudFormation User Guide. You can specify either the @StackPolicyBody@ or the @StackPolicyURL@ parameter, but not both. sspStackPolicyBody :: Lens' SetStackPolicy (Maybe Text)-sspStackPolicyBody = lens _sspStackPolicyBody (\ s a -> s{_sspStackPolicyBody = a});+sspStackPolicyBody = lens _sspStackPolicyBody (\ s a -> s{_sspStackPolicyBody = a}) -- | Location of a file containing the stack policy. The URL must point to a policy (maximum size: 16 KB) located in an S3 bucket in the same region as the stack. You can specify either the @StackPolicyBody@ or the @StackPolicyURL@ parameter, but not both. sspStackPolicyURL :: Lens' SetStackPolicy (Maybe Text)-sspStackPolicyURL = lens _sspStackPolicyURL (\ s a -> s{_sspStackPolicyURL = a});+sspStackPolicyURL = lens _sspStackPolicyURL (\ s a -> s{_sspStackPolicyURL = a}) -- | The name or unique stack ID that you want to associate a policy with. sspStackName :: Lens' SetStackPolicy Text-sspStackName = lens _sspStackName (\ s a -> s{_sspStackName = a});+sspStackName = lens _sspStackName (\ s a -> s{_sspStackName = a}) instance AWSRequest SetStackPolicy where type Rs SetStackPolicy = SetStackPolicyResponse
gen/Network/AWS/CloudFormation/SignalResource.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.SignalResource--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -76,28 +76,28 @@ -> SignalResource signalResource pStackName_ pLogicalResourceId_ pUniqueId_ pStatus_ = SignalResource'- { _sigStackName = pStackName_- , _sigLogicalResourceId = pLogicalResourceId_- , _sigUniqueId = pUniqueId_- , _sigStatus = pStatus_- }+ { _sigStackName = pStackName_+ , _sigLogicalResourceId = pLogicalResourceId_+ , _sigUniqueId = pUniqueId_+ , _sigStatus = pStatus_+ } -- | The stack name or unique stack ID that includes the resource that you want to signal. sigStackName :: Lens' SignalResource Text-sigStackName = lens _sigStackName (\ s a -> s{_sigStackName = a});+sigStackName = lens _sigStackName (\ s a -> s{_sigStackName = a}) -- | The logical ID of the resource that you want to signal. The logical ID is the name of the resource that given in the template. sigLogicalResourceId :: Lens' SignalResource Text-sigLogicalResourceId = lens _sigLogicalResourceId (\ s a -> s{_sigLogicalResourceId = a});+sigLogicalResourceId = lens _sigLogicalResourceId (\ s a -> s{_sigLogicalResourceId = a}) -- | A unique ID of the signal. When you signal Amazon EC2 instances or Auto Scaling groups, specify the instance ID that you are signaling as the unique ID. If you send multiple signals to a single resource (such as signaling a wait condition), each signal requires a different unique ID. sigUniqueId :: Lens' SignalResource Text-sigUniqueId = lens _sigUniqueId (\ s a -> s{_sigUniqueId = a});+sigUniqueId = lens _sigUniqueId (\ s a -> s{_sigUniqueId = a}) -- | The status of the signal, which is either success or failure. A failure signal causes AWS CloudFormation to immediately fail the stack creation or update. sigStatus :: Lens' SignalResource ResourceSignalStatus-sigStatus = lens _sigStatus (\ s a -> s{_sigStatus = a});+sigStatus = lens _sigStatus (\ s a -> s{_sigStatus = a}) instance AWSRequest SignalResource where type Rs SignalResource = SignalResourceResponse
gen/Network/AWS/CloudFormation/StopStackSetOperation.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.StopStackSetOperation--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -64,16 +64,16 @@ -> StopStackSetOperation stopStackSetOperation pStackSetName_ pOperationId_ = StopStackSetOperation'- {_sssoStackSetName = pStackSetName_, _sssoOperationId = pOperationId_}+ {_sssoStackSetName = pStackSetName_, _sssoOperationId = pOperationId_} -- | The name or unique ID of the stack set that you want to stop the operation for. sssoStackSetName :: Lens' StopStackSetOperation Text-sssoStackSetName = lens _sssoStackSetName (\ s a -> s{_sssoStackSetName = a});+sssoStackSetName = lens _sssoStackSetName (\ s a -> s{_sssoStackSetName = a}) -- | The ID of the stack operation. sssoOperationId :: Lens' StopStackSetOperation Text-sssoOperationId = lens _sssoOperationId (\ s a -> s{_sssoOperationId = a});+sssoOperationId = lens _sssoOperationId (\ s a -> s{_sssoOperationId = a}) instance AWSRequest StopStackSetOperation where type Rs StopStackSetOperation =@@ -123,6 +123,6 @@ -- | -- | The response status code. sssorsResponseStatus :: Lens' StopStackSetOperationResponse Int-sssorsResponseStatus = lens _sssorsResponseStatus (\ s a -> s{_sssorsResponseStatus = a});+sssorsResponseStatus = lens _sssorsResponseStatus (\ s a -> s{_sssorsResponseStatus = a}) instance NFData StopStackSetOperationResponse where
gen/Network/AWS/CloudFormation/Types.hs view
@@ -4,7 +4,7 @@ -- | -- Module : Network.AWS.CloudFormation.Types--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -149,6 +149,7 @@ , Parameter , parameter , pParameterValue+ , pResolvedValue , pParameterKey , pUsePreviousValue @@ -253,6 +254,7 @@ , siRegion , siStatusReason , siStackId+ , siParameterOverrides , siStackSetId -- * StackInstanceSummary@@ -306,6 +308,8 @@ , StackSet , stackSet , ssStatus+ , ssAdministrationRoleARN+ , ssStackSetARN , ssParameters , ssTemplateBody , ssStackSetName@@ -318,6 +322,7 @@ , StackSetOperation , stackSetOperation , ssoStatus+ , ssoAdministrationRoleARN , ssoAction , ssoEndTimestamp , ssoCreationTimestamp@@ -400,24 +405,24 @@ cloudFormation :: Service cloudFormation = Service- { _svcAbbrev = "CloudFormation"- , _svcSigner = v4- , _svcPrefix = "cloudformation"- , _svcVersion = "2010-05-15"- , _svcEndpoint = defaultEndpoint cloudFormation- , _svcTimeout = Just 70- , _svcCheck = statusSuccess- , _svcError = parseXMLError "CloudFormation"- , _svcRetry = retry- }+ { _svcAbbrev = "CloudFormation"+ , _svcSigner = v4+ , _svcPrefix = "cloudformation"+ , _svcVersion = "2010-05-15"+ , _svcEndpoint = defaultEndpoint cloudFormation+ , _svcTimeout = Just 70+ , _svcCheck = statusSuccess+ , _svcError = parseXMLError "CloudFormation"+ , _svcRetry = retry+ } where retry = Exponential- { _retryBase = 5.0e-2- , _retryGrowth = 2- , _retryAttempts = 5- , _retryCheck = check- }+ { _retryBase = 5.0e-2+ , _retryGrowth = 2+ , _retryAttempts = 5+ , _retryCheck = check+ } check e | has (hasCode "ThrottledException" . hasStatus 400) e = Just "throttled_exception"@@ -426,6 +431,8 @@ Just "throttling_exception" | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling" | has (hasStatus 504) e = Just "gateway_timeout"+ | has (hasCode "RequestThrottledException" . hasStatus 400) e =+ Just "request_throttled_exception" | has (hasStatus 502) e = Just "bad_gateway" | has (hasStatus 503) e = Just "service_unavailable" | has (hasStatus 500) e = Just "general_server_error"
gen/Network/AWS/CloudFormation/Types/Product.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.CloudFormation.Types.Product--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -51,11 +51,11 @@ -- | The status of the account gate function. * @SUCCEEDED@ : The account gate function has determined that the account and region passes any requirements for a stack set operation to occur. AWS CloudFormation proceeds with the stack operation in that account and region. * @FAILED@ : The account gate function has determined that the account and region does not meet the requirements for a stack set operation to occur. AWS CloudFormation cancels the stack set operation in that account and region, and sets the stack set operation result status for that account and region to @FAILED@ . * @SKIPPED@ : AWS CloudFormation has skipped calling the account gate function for this account and region, for one of the following reasons: * An account gate function has not been specified for the account and region. AWS CloudFormation proceeds with the stack set operation in this account and region. * The @AWSCloudFormationStackSetExecutionRole@ of the stack set adminstration account lacks permissions to invoke the function. AWS CloudFormation proceeds with the stack set operation in this account and region. * Either no action is necessary, or no action is possible, on the stack. AWS CloudFormation skips the stack set operation in this account and region. agrStatus :: Lens' AccountGateResult (Maybe AccountGateStatus)-agrStatus = lens _agrStatus (\ s a -> s{_agrStatus = a});+agrStatus = lens _agrStatus (\ s a -> s{_agrStatus = a}) -- | The reason for the account gate status assigned to this account and region for the stack set operation. agrStatusReason :: Lens' AccountGateResult (Maybe Text)-agrStatusReason = lens _agrStatusReason (\ s a -> s{_agrStatusReason = a});+agrStatusReason = lens _agrStatusReason (\ s a -> s{_agrStatusReason = a}) instance FromXML AccountGateResult where parseXML x@@ -91,11 +91,11 @@ -- | The value that is associated with the account limit name. alValue :: Lens' AccountLimit (Maybe Int)-alValue = lens _alValue (\ s a -> s{_alValue = a});+alValue = lens _alValue (\ s a -> s{_alValue = a}) -- | The name of the account limit. Currently, the only account limit is @StackLimit@ . alName :: Lens' AccountLimit (Maybe Text)-alName = lens _alName (\ s a -> s{_alName = a});+alName = lens _alName (\ s a -> s{_alName = a}) instance FromXML AccountLimit where parseXML x@@ -131,11 +131,11 @@ -- | A @ResourceChange@ structure that describes the resource and action that AWS CloudFormation will perform. cResourceChange :: Lens' Change (Maybe ResourceChange)-cResourceChange = lens _cResourceChange (\ s a -> s{_cResourceChange = a});+cResourceChange = lens _cResourceChange (\ s a -> s{_cResourceChange = a}) -- | The type of entity that AWS CloudFormation changes. Currently, the only entity type is @Resource@ . cType :: Lens' Change (Maybe ChangeType)-cType = lens _cType (\ s a -> s{_cType = a});+cType = lens _cType (\ s a -> s{_cType = a}) instance FromXML Change where parseXML x@@ -189,53 +189,53 @@ :: ChangeSetSummary changeSetSummary = ChangeSetSummary'- { _cCreationTime = Nothing- , _cStatus = Nothing- , _cChangeSetName = Nothing- , _cExecutionStatus = Nothing- , _cChangeSetId = Nothing- , _cStatusReason = Nothing- , _cStackId = Nothing- , _cDescription = Nothing- , _cStackName = Nothing- }+ { _cCreationTime = Nothing+ , _cStatus = Nothing+ , _cChangeSetName = Nothing+ , _cExecutionStatus = Nothing+ , _cChangeSetId = Nothing+ , _cStatusReason = Nothing+ , _cStackId = Nothing+ , _cDescription = Nothing+ , _cStackName = Nothing+ } -- | The start time when the change set was created, in UTC. cCreationTime :: Lens' ChangeSetSummary (Maybe UTCTime)-cCreationTime = lens _cCreationTime (\ s a -> s{_cCreationTime = a}) . mapping _Time;+cCreationTime = lens _cCreationTime (\ s a -> s{_cCreationTime = a}) . mapping _Time -- | The state of the change set, such as @CREATE_IN_PROGRESS@ , @CREATE_COMPLETE@ , or @FAILED@ . cStatus :: Lens' ChangeSetSummary (Maybe ChangeSetStatus)-cStatus = lens _cStatus (\ s a -> s{_cStatus = a});+cStatus = lens _cStatus (\ s a -> s{_cStatus = a}) -- | The name of the change set. cChangeSetName :: Lens' ChangeSetSummary (Maybe Text)-cChangeSetName = lens _cChangeSetName (\ s a -> s{_cChangeSetName = a});+cChangeSetName = lens _cChangeSetName (\ s a -> s{_cChangeSetName = a}) -- | If the change set execution status is @AVAILABLE@ , you can execute the change set. If you can’t execute the change set, the status indicates why. For example, a change set might be in an @UNAVAILABLE@ state because AWS CloudFormation is still creating it or in an @OBSOLETE@ state because the stack was already updated. cExecutionStatus :: Lens' ChangeSetSummary (Maybe ExecutionStatus)-cExecutionStatus = lens _cExecutionStatus (\ s a -> s{_cExecutionStatus = a});+cExecutionStatus = lens _cExecutionStatus (\ s a -> s{_cExecutionStatus = a}) -- | The ID of the change set. cChangeSetId :: Lens' ChangeSetSummary (Maybe Text)-cChangeSetId = lens _cChangeSetId (\ s a -> s{_cChangeSetId = a});+cChangeSetId = lens _cChangeSetId (\ s a -> s{_cChangeSetId = a}) -- | A description of the change set's status. For example, if your change set is in the @FAILED@ state, AWS CloudFormation shows the error message. cStatusReason :: Lens' ChangeSetSummary (Maybe Text)-cStatusReason = lens _cStatusReason (\ s a -> s{_cStatusReason = a});+cStatusReason = lens _cStatusReason (\ s a -> s{_cStatusReason = a}) -- | The ID of the stack with which the change set is associated. cStackId :: Lens' ChangeSetSummary (Maybe Text)-cStackId = lens _cStackId (\ s a -> s{_cStackId = a});+cStackId = lens _cStackId (\ s a -> s{_cStackId = a}) -- | Descriptive information about the change set. cDescription :: Lens' ChangeSetSummary (Maybe Text)-cDescription = lens _cDescription (\ s a -> s{_cDescription = a});+cDescription = lens _cDescription (\ s a -> s{_cDescription = a}) -- | The name of the stack with which the change set is associated. cStackName :: Lens' ChangeSetSummary (Maybe Text)-cStackName = lens _cStackName (\ s a -> s{_cStackName = a});+cStackName = lens _cStackName (\ s a -> s{_cStackName = a}) instance FromXML ChangeSetSummary where parseXML x@@ -282,15 +282,15 @@ -- | The value of the exported output, such as a resource physical ID. This value is defined in the @Export@ field in the associated stack's @Outputs@ section. eValue :: Lens' Export (Maybe Text)-eValue = lens _eValue (\ s a -> s{_eValue = a});+eValue = lens _eValue (\ s a -> s{_eValue = a}) -- | The stack that contains the exported output name and value. eExportingStackId :: Lens' Export (Maybe Text)-eExportingStackId = lens _eExportingStackId (\ s a -> s{_eExportingStackId = a});+eExportingStackId = lens _eExportingStackId (\ s a -> s{_eExportingStackId = a}) -- | The name of exported output value. Use this name and the @Fn::ImportValue@ function to import the associated value into other stacks. The name is defined in the @Export@ field in the associated stack's @Outputs@ section. eName :: Lens' Export (Maybe Text)-eName = lens _eName (\ s a -> s{_eName = a});+eName = lens _eName (\ s a -> s{_eName = a}) instance FromXML Export where parseXML x@@ -330,28 +330,28 @@ :: Output output = Output'- { _oOutputValue = Nothing- , _oOutputKey = Nothing- , _oExportName = Nothing- , _oDescription = Nothing- }+ { _oOutputValue = Nothing+ , _oOutputKey = Nothing+ , _oExportName = Nothing+ , _oDescription = Nothing+ } -- | The value associated with the output. oOutputValue :: Lens' Output (Maybe Text)-oOutputValue = lens _oOutputValue (\ s a -> s{_oOutputValue = a});+oOutputValue = lens _oOutputValue (\ s a -> s{_oOutputValue = a}) -- | The key associated with the output. oOutputKey :: Lens' Output (Maybe Text)-oOutputKey = lens _oOutputKey (\ s a -> s{_oOutputKey = a});+oOutputKey = lens _oOutputKey (\ s a -> s{_oOutputKey = a}) -- | The name of the export associated with the output. oExportName :: Lens' Output (Maybe Text)-oExportName = lens _oExportName (\ s a -> s{_oExportName = a});+oExportName = lens _oExportName (\ s a -> s{_oExportName = a}) -- | User defined description associated with the output. oDescription :: Lens' Output (Maybe Text)-oDescription = lens _oDescription (\ s a -> s{_oDescription = a});+oDescription = lens _oDescription (\ s a -> s{_oDescription = a}) instance FromXML Output where parseXML x@@ -371,6 +371,7 @@ -- /See:/ 'parameter' smart constructor. data Parameter = Parameter' { _pParameterValue :: !(Maybe Text)+ , _pResolvedValue :: !(Maybe Text) , _pParameterKey :: !(Maybe Text) , _pUsePreviousValue :: !(Maybe Bool) } deriving (Eq, Read, Show, Data, Typeable, Generic)@@ -380,8 +381,10 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'pParameterValue' - The value associated with the parameter.+-- * 'pParameterValue' - The input value associated with the parameter. --+-- * 'pResolvedValue' - Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html#aws-ssm-parameter-types @SSM@ parameter types> in the template.+-- -- * 'pParameterKey' - The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template. -- -- * 'pUsePreviousValue' - During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify @true@ , do not specify a parameter value.@@ -389,28 +392,34 @@ :: Parameter parameter = Parameter'- { _pParameterValue = Nothing- , _pParameterKey = Nothing- , _pUsePreviousValue = Nothing- }+ { _pParameterValue = Nothing+ , _pResolvedValue = Nothing+ , _pParameterKey = Nothing+ , _pUsePreviousValue = Nothing+ } --- | The value associated with the parameter.+-- | The input value associated with the parameter. pParameterValue :: Lens' Parameter (Maybe Text)-pParameterValue = lens _pParameterValue (\ s a -> s{_pParameterValue = a});+pParameterValue = lens _pParameterValue (\ s a -> s{_pParameterValue = a}) +-- | Read-only. The value that corresponds to a Systems Manager parameter key. This field is returned only for <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html#aws-ssm-parameter-types @SSM@ parameter types> in the template.+pResolvedValue :: Lens' Parameter (Maybe Text)+pResolvedValue = lens _pResolvedValue (\ s a -> s{_pResolvedValue = a})+ -- | The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template. pParameterKey :: Lens' Parameter (Maybe Text)-pParameterKey = lens _pParameterKey (\ s a -> s{_pParameterKey = a});+pParameterKey = lens _pParameterKey (\ s a -> s{_pParameterKey = a}) -- | During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify @true@ , do not specify a parameter value. pUsePreviousValue :: Lens' Parameter (Maybe Bool)-pUsePreviousValue = lens _pUsePreviousValue (\ s a -> s{_pUsePreviousValue = a});+pUsePreviousValue = lens _pUsePreviousValue (\ s a -> s{_pUsePreviousValue = a}) instance FromXML Parameter where parseXML x = Parameter' <$>- (x .@? "ParameterValue") <*> (x .@? "ParameterKey")+ (x .@? "ParameterValue") <*> (x .@? "ResolvedValue")+ <*> (x .@? "ParameterKey") <*> (x .@? "UsePreviousValue") instance Hashable Parameter where@@ -421,6 +430,7 @@ toQuery Parameter'{..} = mconcat ["ParameterValue" =: _pParameterValue,+ "ResolvedValue" =: _pResolvedValue, "ParameterKey" =: _pParameterKey, "UsePreviousValue" =: _pUsePreviousValue] @@ -446,7 +456,7 @@ -- | A list of values that are permitted for a parameter. pcAllowedValues :: Lens' ParameterConstraints [Text]-pcAllowedValues = lens _pcAllowedValues (\ s a -> s{_pcAllowedValues = a}) . _Default . _Coerce;+pcAllowedValues = lens _pcAllowedValues (\ s a -> s{_pcAllowedValues = a}) . _Default . _Coerce instance FromXML ParameterConstraints where parseXML x@@ -492,38 +502,38 @@ :: ParameterDeclaration parameterDeclaration = ParameterDeclaration'- { _pdParameterKey = Nothing- , _pdParameterType = Nothing- , _pdParameterConstraints = Nothing- , _pdDefaultValue = Nothing- , _pdNoEcho = Nothing- , _pdDescription = Nothing- }+ { _pdParameterKey = Nothing+ , _pdParameterType = Nothing+ , _pdParameterConstraints = Nothing+ , _pdDefaultValue = Nothing+ , _pdNoEcho = Nothing+ , _pdDescription = Nothing+ } -- | The name that is associated with the parameter. pdParameterKey :: Lens' ParameterDeclaration (Maybe Text)-pdParameterKey = lens _pdParameterKey (\ s a -> s{_pdParameterKey = a});+pdParameterKey = lens _pdParameterKey (\ s a -> s{_pdParameterKey = a}) -- | The type of parameter. pdParameterType :: Lens' ParameterDeclaration (Maybe Text)-pdParameterType = lens _pdParameterType (\ s a -> s{_pdParameterType = a});+pdParameterType = lens _pdParameterType (\ s a -> s{_pdParameterType = a}) -- | The criteria that AWS CloudFormation uses to validate parameter values. pdParameterConstraints :: Lens' ParameterDeclaration (Maybe ParameterConstraints)-pdParameterConstraints = lens _pdParameterConstraints (\ s a -> s{_pdParameterConstraints = a});+pdParameterConstraints = lens _pdParameterConstraints (\ s a -> s{_pdParameterConstraints = a}) -- | The default value of the parameter. pdDefaultValue :: Lens' ParameterDeclaration (Maybe Text)-pdDefaultValue = lens _pdDefaultValue (\ s a -> s{_pdDefaultValue = a});+pdDefaultValue = lens _pdDefaultValue (\ s a -> s{_pdDefaultValue = a}) -- | Flag that indicates whether the parameter value is shown as plain text in logs and in the AWS Management Console. pdNoEcho :: Lens' ParameterDeclaration (Maybe Bool)-pdNoEcho = lens _pdNoEcho (\ s a -> s{_pdNoEcho = a});+pdNoEcho = lens _pdNoEcho (\ s a -> s{_pdNoEcho = a}) -- | The description that is associate with the parameter. pdDescription :: Lens' ParameterDeclaration (Maybe Text)-pdDescription = lens _pdDescription (\ s a -> s{_pdDescription = a});+pdDescription = lens _pdDescription (\ s a -> s{_pdDescription = a}) instance FromXML ParameterDeclaration where parseXML x@@ -575,43 +585,43 @@ :: ResourceChange resourceChange = ResourceChange'- { _rcLogicalResourceId = Nothing- , _rcPhysicalResourceId = Nothing- , _rcResourceType = Nothing- , _rcAction = Nothing- , _rcScope = Nothing- , _rcDetails = Nothing- , _rcReplacement = Nothing- }+ { _rcLogicalResourceId = Nothing+ , _rcPhysicalResourceId = Nothing+ , _rcResourceType = Nothing+ , _rcAction = Nothing+ , _rcScope = Nothing+ , _rcDetails = Nothing+ , _rcReplacement = Nothing+ } -- | The resource's logical ID, which is defined in the stack's template. rcLogicalResourceId :: Lens' ResourceChange (Maybe Text)-rcLogicalResourceId = lens _rcLogicalResourceId (\ s a -> s{_rcLogicalResourceId = a});+rcLogicalResourceId = lens _rcLogicalResourceId (\ s a -> s{_rcLogicalResourceId = a}) -- | The resource's physical ID (resource name). Resources that you are adding don't have physical IDs because they haven't been created. rcPhysicalResourceId :: Lens' ResourceChange (Maybe Text)-rcPhysicalResourceId = lens _rcPhysicalResourceId (\ s a -> s{_rcPhysicalResourceId = a});+rcPhysicalResourceId = lens _rcPhysicalResourceId (\ s a -> s{_rcPhysicalResourceId = a}) -- | The type of AWS CloudFormation resource, such as @AWS::S3::Bucket@ . rcResourceType :: Lens' ResourceChange (Maybe Text)-rcResourceType = lens _rcResourceType (\ s a -> s{_rcResourceType = a});+rcResourceType = lens _rcResourceType (\ s a -> s{_rcResourceType = a}) -- | The action that AWS CloudFormation takes on the resource, such as @Add@ (adds a new resource), @Modify@ (changes a resource), or @Remove@ (deletes a resource). rcAction :: Lens' ResourceChange (Maybe ChangeAction)-rcAction = lens _rcAction (\ s a -> s{_rcAction = a});+rcAction = lens _rcAction (\ s a -> s{_rcAction = a}) -- | For the @Modify@ action, indicates which resource attribute is triggering this update, such as a change in the resource attribute's @Metadata@ , @Properties@ , or @Tags@ . rcScope :: Lens' ResourceChange [ResourceAttribute]-rcScope = lens _rcScope (\ s a -> s{_rcScope = a}) . _Default . _Coerce;+rcScope = lens _rcScope (\ s a -> s{_rcScope = a}) . _Default . _Coerce -- | For the @Modify@ action, a list of @ResourceChangeDetail@ structures that describes the changes that AWS CloudFormation will make to the resource. rcDetails :: Lens' ResourceChange [ResourceChangeDetail]-rcDetails = lens _rcDetails (\ s a -> s{_rcDetails = a}) . _Default . _Coerce;+rcDetails = lens _rcDetails (\ s a -> s{_rcDetails = a}) . _Default . _Coerce -- | For the @Modify@ action, indicates whether AWS CloudFormation will replace the resource by creating a new one and deleting the old one. This value depends on the value of the @RequiresRecreation@ property in the @ResourceTargetDefinition@ structure. For example, if the @RequiresRecreation@ field is @Always@ and the @Evaluation@ field is @Static@ , @Replacement@ is @True@ . If the @RequiresRecreation@ field is @Always@ and the @Evaluation@ field is @Dynamic@ , @Replacement@ is @Conditionally@ . If you have multiple changes with different @RequiresRecreation@ values, the @Replacement@ value depends on the change with the most impact. A @RequiresRecreation@ value of @Always@ has the most impact, followed by @Conditionally@ , and then @Never@ . rcReplacement :: Lens' ResourceChange (Maybe Replacement)-rcReplacement = lens _rcReplacement (\ s a -> s{_rcReplacement = a});+rcReplacement = lens _rcReplacement (\ s a -> s{_rcReplacement = a}) instance FromXML ResourceChange where parseXML x@@ -660,28 +670,28 @@ :: ResourceChangeDetail resourceChangeDetail = ResourceChangeDetail'- { _rcdCausingEntity = Nothing- , _rcdChangeSource = Nothing- , _rcdEvaluation = Nothing- , _rcdTarget = Nothing- }+ { _rcdCausingEntity = Nothing+ , _rcdChangeSource = Nothing+ , _rcdEvaluation = Nothing+ , _rcdTarget = Nothing+ } -- | The identity of the entity that triggered this change. This entity is a member of the group that is specified by the @ChangeSource@ field. For example, if you modified the value of the @KeyPairName@ parameter, the @CausingEntity@ is the name of the parameter (@KeyPairName@ ). If the @ChangeSource@ value is @DirectModification@ , no value is given for @CausingEntity@ . rcdCausingEntity :: Lens' ResourceChangeDetail (Maybe Text)-rcdCausingEntity = lens _rcdCausingEntity (\ s a -> s{_rcdCausingEntity = a});+rcdCausingEntity = lens _rcdCausingEntity (\ s a -> s{_rcdCausingEntity = a}) -- | The group to which the @CausingEntity@ value belongs. There are five entity groups: * @ResourceReference@ entities are @Ref@ intrinsic functions that refer to resources in the template, such as @{ "Ref" : "MyEC2InstanceResource" }@ . * @ParameterReference@ entities are @Ref@ intrinsic functions that get template parameter values, such as @{ "Ref" : "MyPasswordParameter" }@ . * @ResourceAttribute@ entities are @Fn::GetAtt@ intrinsic functions that get resource attribute values, such as @{ "Fn::GetAtt" : [ "MyEC2InstanceResource", "PublicDnsName" ] }@ . * @DirectModification@ entities are changes that are made directly to the template. * @Automatic@ entities are @AWS::CloudFormation::Stack@ resource types, which are also known as nested stacks. If you made no changes to the @AWS::CloudFormation::Stack@ resource, AWS CloudFormation sets the @ChangeSource@ to @Automatic@ because the nested stack's template might have changed. Changes to a nested stack's template aren't visible to AWS CloudFormation until you run an update on the parent stack. rcdChangeSource :: Lens' ResourceChangeDetail (Maybe ChangeSource)-rcdChangeSource = lens _rcdChangeSource (\ s a -> s{_rcdChangeSource = a});+rcdChangeSource = lens _rcdChangeSource (\ s a -> s{_rcdChangeSource = a}) -- | Indicates whether AWS CloudFormation can determine the target value, and whether the target value will change before you execute a change set. For @Static@ evaluations, AWS CloudFormation can determine that the target value will change, and its value. For example, if you directly modify the @InstanceType@ property of an EC2 instance, AWS CloudFormation knows that this property value will change, and its value, so this is a @Static@ evaluation. For @Dynamic@ evaluations, cannot determine the target value because it depends on the result of an intrinsic function, such as a @Ref@ or @Fn::GetAtt@ intrinsic function, when the stack is updated. For example, if your template includes a reference to a resource that is conditionally recreated, the value of the reference (the physical ID of the resource) might change, depending on if the resource is recreated. If the resource is recreated, it will have a new physical ID, so all references to that resource will also be updated. rcdEvaluation :: Lens' ResourceChangeDetail (Maybe EvaluationType)-rcdEvaluation = lens _rcdEvaluation (\ s a -> s{_rcdEvaluation = a});+rcdEvaluation = lens _rcdEvaluation (\ s a -> s{_rcdEvaluation = a}) -- | A @ResourceTargetDefinition@ structure that describes the field that AWS CloudFormation will change and whether the resource will be recreated. rcdTarget :: Lens' ResourceChangeDetail (Maybe ResourceTargetDefinition)-rcdTarget = lens _rcdTarget (\ s a -> s{_rcdTarget = a});+rcdTarget = lens _rcdTarget (\ s a -> s{_rcdTarget = a}) instance FromXML ResourceChangeDetail where parseXML x@@ -719,23 +729,23 @@ :: ResourceTargetDefinition resourceTargetDefinition = ResourceTargetDefinition'- { _rtdAttribute = Nothing- , _rtdRequiresRecreation = Nothing- , _rtdName = Nothing- }+ { _rtdAttribute = Nothing+ , _rtdRequiresRecreation = Nothing+ , _rtdName = Nothing+ } -- | Indicates which resource attribute is triggering this update, such as a change in the resource attribute's @Metadata@ , @Properties@ , or @Tags@ . rtdAttribute :: Lens' ResourceTargetDefinition (Maybe ResourceAttribute)-rtdAttribute = lens _rtdAttribute (\ s a -> s{_rtdAttribute = a});+rtdAttribute = lens _rtdAttribute (\ s a -> s{_rtdAttribute = a}) -- | If the @Attribute@ value is @Properties@ , indicates whether a change to this property causes the resource to be recreated. The value can be @Never@ , @Always@ , or @Conditionally@ . To determine the conditions for a @Conditionally@ recreation, see the update behavior for that <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html property> in the AWS CloudFormation User Guide. rtdRequiresRecreation :: Lens' ResourceTargetDefinition (Maybe RequiresRecreation)-rtdRequiresRecreation = lens _rtdRequiresRecreation (\ s a -> s{_rtdRequiresRecreation = a});+rtdRequiresRecreation = lens _rtdRequiresRecreation (\ s a -> s{_rtdRequiresRecreation = a}) -- | If the @Attribute@ value is @Properties@ , the name of the property. For all other attributes, the value is null. rtdName :: Lens' ResourceTargetDefinition (Maybe Text)-rtdName = lens _rtdName (\ s a -> s{_rtdName = a});+rtdName = lens _rtdName (\ s a -> s{_rtdName = a}) instance FromXML ResourceTargetDefinition where parseXML x@@ -750,11 +760,7 @@ -- | Structure containing the rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards. -- ----- Rollback triggers enable you to have AWS CloudFormation monitor the state of your application during stack creation and updating, and to roll back that operation if the application breaches the threshold of any of the alarms you've specified. For each rollback trigger you create, you specify the Cloudwatch alarm that CloudFormation should monitor. CloudFormation monitors the specified alarms during the stack create or update operation, and for the specified amount of time after all resources have been deployed. If any of the alarms goes to ALERT state during the stack operation or the monitoring period, CloudFormation rolls back the entire stack operation. If the monitoring period expires without any alarms going to ALERT state, CloudFormation proceeds to dispose of old resources as usual.------ By default, CloudFormation only rolls back stack operations if an alarm goes to ALERT state, not INSUFFICIENT_DATA state. To have CloudFormation roll back the stack operation if an alarm goes to INSUFFICIENT_DATA state as well, edit the CloudWatch alarm to treat missing data as @breaching@ . For more information, see <http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html Configuring How CloudWatch Alarms Treats Missing Data> .------ AWS CloudFormation does not monitor rollback triggers when it rolls back a stack during an update operation.+-- Rollback triggers enable you to have AWS CloudFormation monitor the state of your application during stack creation and updating, and to roll back that operation if the application breaches the threshold of any of the alarms you've specified. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-rollback-triggers.html Monitor and Roll Back Stack Operations> . -- -- -- /See:/ 'rollbackConfiguration' smart constructor.@@ -768,23 +774,23 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rcRollbackTriggers' - The triggers to monitor during stack creation or update actions. By default, AWS CloudFormation saves the rollback triggers specified for a stack and applies them to any subsequent update operations for the stack, unless you specify otherwise. If you do specify rollback triggers for this parameter, those triggers replace any list of triggers previously specified for the stack. This means: * If you don't specify this parameter, AWS CloudFormation uses the rollback triggers previously specified for this stack, if any. * If you specify any rollback triggers using this parameter, you must specify all the triggers that you want used for this stack, even triggers you've specifed before (for example, when creating the stack or during a previous stack update). Any triggers that you don't include in the updated list of triggers are no longer applied to the stack. * If you specify an empty list, AWS CloudFormation removes all currently specified triggers. If a specified Cloudwatch alarm is missing, the entire stack operation fails and is rolled back.+-- * 'rcRollbackTriggers' - The triggers to monitor during stack creation or update actions. By default, AWS CloudFormation saves the rollback triggers specified for a stack and applies them to any subsequent update operations for the stack, unless you specify otherwise. If you do specify rollback triggers for this parameter, those triggers replace any list of triggers previously specified for the stack. This means: * To use the rollback triggers previously specified for this stack, if any, don't specify this parameter. * To specify new or updated rollback triggers, you must specify /all/ the triggers that you want used for this stack, even triggers you've specifed before (for example, when creating the stack or during a previous stack update). Any triggers that you don't include in the updated list of triggers are no longer applied to the stack. * To remove all currently specified triggers, specify an empty list for this parameter. If a specified trigger is missing, the entire stack operation fails and is rolled back. ----- * 'rcMonitoringTimeInMinutes' - The amount of time, in minutes, during which CloudFormation should monitor all the rollback triggers after the stack creation or update operation deploys all necessary resources. If any of the alarms goes to ALERT state during the stack operation or this monitoring period, CloudFormation rolls back the entire stack operation. Then, for update operations, if the monitoring period expires without any alarms going to ALERT state CloudFormation proceeds to dispose of old resources as usual. If you specify a monitoring period but do not specify any rollback triggers, CloudFormation still waits the specified period of time before cleaning up old resources for update operations. You can use this monitoring period to perform any manual stack validation desired, and manually cancel the stack creation or update (using <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CancelUpdateStack.html CancelUpdateStack> , for example) as necessary. If you specify 0 for this parameter, CloudFormation still monitors the specified rollback triggers during stack creation and update operations. Then, for update operations, it begins disposing of old resources immediately once the operation completes.+-- * 'rcMonitoringTimeInMinutes' - The amount of time, in minutes, during which CloudFormation should monitor all the rollback triggers after the stack creation or update operation deploys all necessary resources. The default is 0 minutes. If you specify a monitoring period but do not specify any rollback triggers, CloudFormation still waits the specified period of time before cleaning up old resources after update operations. You can use this monitoring period to perform any manual stack validation desired, and manually cancel the stack creation or update (using <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CancelUpdateStack.html CancelUpdateStack> , for example) as necessary. If you specify 0 for this parameter, CloudFormation still monitors the specified rollback triggers during stack creation and update operations. Then, for update operations, it begins disposing of old resources immediately once the operation completes. rollbackConfiguration :: RollbackConfiguration rollbackConfiguration = RollbackConfiguration'- {_rcRollbackTriggers = Nothing, _rcMonitoringTimeInMinutes = Nothing}+ {_rcRollbackTriggers = Nothing, _rcMonitoringTimeInMinutes = Nothing} --- | The triggers to monitor during stack creation or update actions. By default, AWS CloudFormation saves the rollback triggers specified for a stack and applies them to any subsequent update operations for the stack, unless you specify otherwise. If you do specify rollback triggers for this parameter, those triggers replace any list of triggers previously specified for the stack. This means: * If you don't specify this parameter, AWS CloudFormation uses the rollback triggers previously specified for this stack, if any. * If you specify any rollback triggers using this parameter, you must specify all the triggers that you want used for this stack, even triggers you've specifed before (for example, when creating the stack or during a previous stack update). Any triggers that you don't include in the updated list of triggers are no longer applied to the stack. * If you specify an empty list, AWS CloudFormation removes all currently specified triggers. If a specified Cloudwatch alarm is missing, the entire stack operation fails and is rolled back.+-- | The triggers to monitor during stack creation or update actions. By default, AWS CloudFormation saves the rollback triggers specified for a stack and applies them to any subsequent update operations for the stack, unless you specify otherwise. If you do specify rollback triggers for this parameter, those triggers replace any list of triggers previously specified for the stack. This means: * To use the rollback triggers previously specified for this stack, if any, don't specify this parameter. * To specify new or updated rollback triggers, you must specify /all/ the triggers that you want used for this stack, even triggers you've specifed before (for example, when creating the stack or during a previous stack update). Any triggers that you don't include in the updated list of triggers are no longer applied to the stack. * To remove all currently specified triggers, specify an empty list for this parameter. If a specified trigger is missing, the entire stack operation fails and is rolled back. rcRollbackTriggers :: Lens' RollbackConfiguration [RollbackTrigger]-rcRollbackTriggers = lens _rcRollbackTriggers (\ s a -> s{_rcRollbackTriggers = a}) . _Default . _Coerce;+rcRollbackTriggers = lens _rcRollbackTriggers (\ s a -> s{_rcRollbackTriggers = a}) . _Default . _Coerce --- | The amount of time, in minutes, during which CloudFormation should monitor all the rollback triggers after the stack creation or update operation deploys all necessary resources. If any of the alarms goes to ALERT state during the stack operation or this monitoring period, CloudFormation rolls back the entire stack operation. Then, for update operations, if the monitoring period expires without any alarms going to ALERT state CloudFormation proceeds to dispose of old resources as usual. If you specify a monitoring period but do not specify any rollback triggers, CloudFormation still waits the specified period of time before cleaning up old resources for update operations. You can use this monitoring period to perform any manual stack validation desired, and manually cancel the stack creation or update (using <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CancelUpdateStack.html CancelUpdateStack> , for example) as necessary. If you specify 0 for this parameter, CloudFormation still monitors the specified rollback triggers during stack creation and update operations. Then, for update operations, it begins disposing of old resources immediately once the operation completes.+-- | The amount of time, in minutes, during which CloudFormation should monitor all the rollback triggers after the stack creation or update operation deploys all necessary resources. The default is 0 minutes. If you specify a monitoring period but do not specify any rollback triggers, CloudFormation still waits the specified period of time before cleaning up old resources after update operations. You can use this monitoring period to perform any manual stack validation desired, and manually cancel the stack creation or update (using <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CancelUpdateStack.html CancelUpdateStack> , for example) as necessary. If you specify 0 for this parameter, CloudFormation still monitors the specified rollback triggers during stack creation and update operations. Then, for update operations, it begins disposing of old resources immediately once the operation completes. rcMonitoringTimeInMinutes :: Lens' RollbackConfiguration (Maybe Natural)-rcMonitoringTimeInMinutes = lens _rcMonitoringTimeInMinutes (\ s a -> s{_rcMonitoringTimeInMinutes = a}) . mapping _Nat;+rcMonitoringTimeInMinutes = lens _rcMonitoringTimeInMinutes (\ s a -> s{_rcMonitoringTimeInMinutes = a}) . mapping _Nat instance FromXML RollbackConfiguration where parseXML x@@ -806,7 +812,7 @@ "MonitoringTimeInMinutes" =: _rcMonitoringTimeInMinutes] --- | A rollback trigger AWS CloudFormation monitors during creation and updating of stacks. If any of the alarms you specify goes to ALERT state during the stack operation or within the specified monitoring period afterwards, CloudFormation rolls back the entire stack operation.+-- | A rollback trigger AWS CloudFormation monitors during creation and updating of stacks. If any of the alarms you specify goes to ALARM state during the stack operation or within the specified monitoring period afterwards, CloudFormation rolls back the entire stack operation. -- -- --@@ -821,7 +827,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtARN' - The Amazon Resource Name (ARN) of the rollback trigger.+-- * 'rtARN' - The Amazon Resource Name (ARN) of the rollback trigger. If a specified trigger is missing, the entire stack operation fails and is rolled back. -- -- * 'rtType' - The resource type of the rollback trigger. Currently, <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html AWS::CloudWatch::Alarm> is the only supported resource type. rollbackTrigger@@ -832,13 +838,13 @@ RollbackTrigger' {_rtARN = pARN_, _rtType = pType_} --- | The Amazon Resource Name (ARN) of the rollback trigger.+-- | The Amazon Resource Name (ARN) of the rollback trigger. If a specified trigger is missing, the entire stack operation fails and is rolled back. rtARN :: Lens' RollbackTrigger Text-rtARN = lens _rtARN (\ s a -> s{_rtARN = a});+rtARN = lens _rtARN (\ s a -> s{_rtARN = a}) -- | The resource type of the rollback trigger. Currently, <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html AWS::CloudWatch::Alarm> is the only supported resource type. rtType :: Lens' RollbackTrigger Text-rtType = lens _rtType (\ s a -> s{_rtType = a});+rtType = lens _rtType (\ s a -> s{_rtType = a}) instance FromXML RollbackTrigger where parseXML x@@ -934,113 +940,113 @@ -> Stack stack pStackName_ pCreationTime_ pStackStatus_ = Stack'- { _sDisableRollback = Nothing- , _sLastUpdatedTime = Nothing- , _sRootId = Nothing- , _sNotificationARNs = Nothing- , _sStackStatusReason = Nothing- , _sEnableTerminationProtection = Nothing- , _sChangeSetId = Nothing- , _sDeletionTime = Nothing- , _sOutputs = Nothing- , _sParameters = Nothing- , _sStackId = Nothing- , _sDescription = Nothing- , _sCapabilities = Nothing- , _sRollbackConfiguration = Nothing- , _sTags = Nothing- , _sTimeoutInMinutes = Nothing- , _sParentId = Nothing- , _sRoleARN = Nothing- , _sStackName = pStackName_- , _sCreationTime = _Time # pCreationTime_- , _sStackStatus = pStackStatus_- }+ { _sDisableRollback = Nothing+ , _sLastUpdatedTime = Nothing+ , _sRootId = Nothing+ , _sNotificationARNs = Nothing+ , _sStackStatusReason = Nothing+ , _sEnableTerminationProtection = Nothing+ , _sChangeSetId = Nothing+ , _sDeletionTime = Nothing+ , _sOutputs = Nothing+ , _sParameters = Nothing+ , _sStackId = Nothing+ , _sDescription = Nothing+ , _sCapabilities = Nothing+ , _sRollbackConfiguration = Nothing+ , _sTags = Nothing+ , _sTimeoutInMinutes = Nothing+ , _sParentId = Nothing+ , _sRoleARN = Nothing+ , _sStackName = pStackName_+ , _sCreationTime = _Time # pCreationTime_+ , _sStackStatus = pStackStatus_+ } -- | Boolean to enable or disable rollback on stack creation failures: * @true@ : disable rollback * @false@ : enable rollback sDisableRollback :: Lens' Stack (Maybe Bool)-sDisableRollback = lens _sDisableRollback (\ s a -> s{_sDisableRollback = a});+sDisableRollback = lens _sDisableRollback (\ s a -> s{_sDisableRollback = a}) -- | The time the stack was last updated. This field will only be returned if the stack has been updated at least once. sLastUpdatedTime :: Lens' Stack (Maybe UTCTime)-sLastUpdatedTime = lens _sLastUpdatedTime (\ s a -> s{_sLastUpdatedTime = a}) . mapping _Time;+sLastUpdatedTime = lens _sLastUpdatedTime (\ s a -> s{_sLastUpdatedTime = a}) . mapping _Time -- | For nested stacks--stacks created as resources for another stack--the stack ID of the the top-level stack to which the nested stack ultimately belongs. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html Working with Nested Stacks> in the /AWS CloudFormation User Guide/ . sRootId :: Lens' Stack (Maybe Text)-sRootId = lens _sRootId (\ s a -> s{_sRootId = a});+sRootId = lens _sRootId (\ s a -> s{_sRootId = a}) -- | SNS topic ARNs to which stack related events are published. sNotificationARNs :: Lens' Stack [Text]-sNotificationARNs = lens _sNotificationARNs (\ s a -> s{_sNotificationARNs = a}) . _Default . _Coerce;+sNotificationARNs = lens _sNotificationARNs (\ s a -> s{_sNotificationARNs = a}) . _Default . _Coerce -- | Success/failure message associated with the stack status. sStackStatusReason :: Lens' Stack (Maybe Text)-sStackStatusReason = lens _sStackStatusReason (\ s a -> s{_sStackStatusReason = a});+sStackStatusReason = lens _sStackStatusReason (\ s a -> s{_sStackStatusReason = a}) -- | Whether termination protection is enabled for the stack. For <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html nested stacks> , termination protection is set on the root stack and cannot be changed directly on the nested stack. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html Protecting a Stack From Being Deleted> in the /AWS CloudFormation User Guide/ . sEnableTerminationProtection :: Lens' Stack (Maybe Bool)-sEnableTerminationProtection = lens _sEnableTerminationProtection (\ s a -> s{_sEnableTerminationProtection = a});+sEnableTerminationProtection = lens _sEnableTerminationProtection (\ s a -> s{_sEnableTerminationProtection = a}) -- | The unique ID of the change set. sChangeSetId :: Lens' Stack (Maybe Text)-sChangeSetId = lens _sChangeSetId (\ s a -> s{_sChangeSetId = a});+sChangeSetId = lens _sChangeSetId (\ s a -> s{_sChangeSetId = a}) -- | The time the stack was deleted. sDeletionTime :: Lens' Stack (Maybe UTCTime)-sDeletionTime = lens _sDeletionTime (\ s a -> s{_sDeletionTime = a}) . mapping _Time;+sDeletionTime = lens _sDeletionTime (\ s a -> s{_sDeletionTime = a}) . mapping _Time -- | A list of output structures. sOutputs :: Lens' Stack [Output]-sOutputs = lens _sOutputs (\ s a -> s{_sOutputs = a}) . _Default . _Coerce;+sOutputs = lens _sOutputs (\ s a -> s{_sOutputs = a}) . _Default . _Coerce -- | A list of @Parameter@ structures. sParameters :: Lens' Stack [Parameter]-sParameters = lens _sParameters (\ s a -> s{_sParameters = a}) . _Default . _Coerce;+sParameters = lens _sParameters (\ s a -> s{_sParameters = a}) . _Default . _Coerce -- | Unique identifier of the stack. sStackId :: Lens' Stack (Maybe Text)-sStackId = lens _sStackId (\ s a -> s{_sStackId = a});+sStackId = lens _sStackId (\ s a -> s{_sStackId = a}) -- | A user-defined description associated with the stack. sDescription :: Lens' Stack (Maybe Text)-sDescription = lens _sDescription (\ s a -> s{_sDescription = a});+sDescription = lens _sDescription (\ s a -> s{_sDescription = a}) -- | The capabilities allowed in the stack. sCapabilities :: Lens' Stack [Capability]-sCapabilities = lens _sCapabilities (\ s a -> s{_sCapabilities = a}) . _Default . _Coerce;+sCapabilities = lens _sCapabilities (\ s a -> s{_sCapabilities = a}) . _Default . _Coerce -- | The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards. sRollbackConfiguration :: Lens' Stack (Maybe RollbackConfiguration)-sRollbackConfiguration = lens _sRollbackConfiguration (\ s a -> s{_sRollbackConfiguration = a});+sRollbackConfiguration = lens _sRollbackConfiguration (\ s a -> s{_sRollbackConfiguration = a}) -- | A list of @Tag@ s that specify information about the stack. sTags :: Lens' Stack [Tag]-sTags = lens _sTags (\ s a -> s{_sTags = a}) . _Default . _Coerce;+sTags = lens _sTags (\ s a -> s{_sTags = a}) . _Default . _Coerce -- | The amount of time within which stack creation should complete. sTimeoutInMinutes :: Lens' Stack (Maybe Natural)-sTimeoutInMinutes = lens _sTimeoutInMinutes (\ s a -> s{_sTimeoutInMinutes = a}) . mapping _Nat;+sTimeoutInMinutes = lens _sTimeoutInMinutes (\ s a -> s{_sTimeoutInMinutes = a}) . mapping _Nat -- | For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html Working with Nested Stacks> in the /AWS CloudFormation User Guide/ . sParentId :: Lens' Stack (Maybe Text)-sParentId = lens _sParentId (\ s a -> s{_sParentId = a});+sParentId = lens _sParentId (\ s a -> s{_sParentId = a}) -- | The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that is associated with the stack. During a stack operation, AWS CloudFormation uses this role's credentials to make calls on your behalf. sRoleARN :: Lens' Stack (Maybe Text)-sRoleARN = lens _sRoleARN (\ s a -> s{_sRoleARN = a});+sRoleARN = lens _sRoleARN (\ s a -> s{_sRoleARN = a}) -- | The name associated with the stack. sStackName :: Lens' Stack Text-sStackName = lens _sStackName (\ s a -> s{_sStackName = a});+sStackName = lens _sStackName (\ s a -> s{_sStackName = a}) -- | The time at which the stack was created. sCreationTime :: Lens' Stack UTCTime-sCreationTime = lens _sCreationTime (\ s a -> s{_sCreationTime = a}) . _Time;+sCreationTime = lens _sCreationTime (\ s a -> s{_sCreationTime = a}) . _Time -- | Current status of the stack. sStackStatus :: Lens' Stack StackStatus-sStackStatus = lens _sStackStatus (\ s a -> s{_sStackStatus = a});+sStackStatus = lens _sStackStatus (\ s a -> s{_sStackStatus = a}) instance FromXML Stack where parseXML x@@ -1134,63 +1140,63 @@ -> StackEvent stackEvent pStackId_ pEventId_ pStackName_ pTimestamp_ = StackEvent'- { _seLogicalResourceId = Nothing- , _sePhysicalResourceId = Nothing- , _seResourceType = Nothing- , _seResourceStatusReason = Nothing- , _seResourceProperties = Nothing- , _seResourceStatus = Nothing- , _seClientRequestToken = Nothing- , _seStackId = pStackId_- , _seEventId = pEventId_- , _seStackName = pStackName_- , _seTimestamp = _Time # pTimestamp_- }+ { _seLogicalResourceId = Nothing+ , _sePhysicalResourceId = Nothing+ , _seResourceType = Nothing+ , _seResourceStatusReason = Nothing+ , _seResourceProperties = Nothing+ , _seResourceStatus = Nothing+ , _seClientRequestToken = Nothing+ , _seStackId = pStackId_+ , _seEventId = pEventId_+ , _seStackName = pStackName_+ , _seTimestamp = _Time # pTimestamp_+ } -- | The logical name of the resource specified in the template. seLogicalResourceId :: Lens' StackEvent (Maybe Text)-seLogicalResourceId = lens _seLogicalResourceId (\ s a -> s{_seLogicalResourceId = a});+seLogicalResourceId = lens _seLogicalResourceId (\ s a -> s{_seLogicalResourceId = a}) -- | The name or unique identifier associated with the physical instance of the resource. sePhysicalResourceId :: Lens' StackEvent (Maybe Text)-sePhysicalResourceId = lens _sePhysicalResourceId (\ s a -> s{_sePhysicalResourceId = a});+sePhysicalResourceId = lens _sePhysicalResourceId (\ s a -> s{_sePhysicalResourceId = a}) -- | Type of resource. (For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html AWS Resource Types Reference> in the AWS CloudFormation User Guide.) seResourceType :: Lens' StackEvent (Maybe Text)-seResourceType = lens _seResourceType (\ s a -> s{_seResourceType = a});+seResourceType = lens _seResourceType (\ s a -> s{_seResourceType = a}) -- | Success/failure message associated with the resource. seResourceStatusReason :: Lens' StackEvent (Maybe Text)-seResourceStatusReason = lens _seResourceStatusReason (\ s a -> s{_seResourceStatusReason = a});+seResourceStatusReason = lens _seResourceStatusReason (\ s a -> s{_seResourceStatusReason = a}) -- | BLOB of the properties used to create the resource. seResourceProperties :: Lens' StackEvent (Maybe Text)-seResourceProperties = lens _seResourceProperties (\ s a -> s{_seResourceProperties = a});+seResourceProperties = lens _seResourceProperties (\ s a -> s{_seResourceProperties = a}) -- | Current status of the resource. seResourceStatus :: Lens' StackEvent (Maybe ResourceStatus)-seResourceStatus = lens _seResourceStatus (\ s a -> s{_seResourceStatus = a});+seResourceStatus = lens _seResourceStatus (\ s a -> s{_seResourceStatus = a}) -- | 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@ . seClientRequestToken :: Lens' StackEvent (Maybe Text)-seClientRequestToken = lens _seClientRequestToken (\ s a -> s{_seClientRequestToken = a});+seClientRequestToken = lens _seClientRequestToken (\ s a -> s{_seClientRequestToken = a}) -- | The unique ID name of the instance of the stack. seStackId :: Lens' StackEvent Text-seStackId = lens _seStackId (\ s a -> s{_seStackId = a});+seStackId = lens _seStackId (\ s a -> s{_seStackId = a}) -- | The unique ID of this event. seEventId :: Lens' StackEvent Text-seEventId = lens _seEventId (\ s a -> s{_seEventId = a});+seEventId = lens _seEventId (\ s a -> s{_seEventId = a}) -- | The name associated with a stack. seStackName :: Lens' StackEvent Text-seStackName = lens _seStackName (\ s a -> s{_seStackName = a});+seStackName = lens _seStackName (\ s a -> s{_seStackName = a}) -- | Time the status was updated. seTimestamp :: Lens' StackEvent UTCTime-seTimestamp = lens _seTimestamp (\ s a -> s{_seTimestamp = a}) . _Time;+seTimestamp = lens _seTimestamp (\ s a -> s{_seTimestamp = a}) . _Time instance FromXML StackEvent where parseXML x@@ -1217,12 +1223,13 @@ -- -- /See:/ 'stackInstance' smart constructor. data StackInstance = StackInstance'- { _siStatus :: !(Maybe StackInstanceStatus)- , _siAccount :: !(Maybe Text)- , _siRegion :: !(Maybe Text)- , _siStatusReason :: !(Maybe Text)- , _siStackId :: !(Maybe Text)- , _siStackSetId :: !(Maybe Text)+ { _siStatus :: !(Maybe StackInstanceStatus)+ , _siAccount :: !(Maybe Text)+ , _siRegion :: !(Maybe Text)+ , _siStatusReason :: !(Maybe Text)+ , _siStackId :: !(Maybe Text)+ , _siParameterOverrides :: !(Maybe [Parameter])+ , _siStackSetId :: !(Maybe Text) } deriving (Eq, Read, Show, Data, Typeable, Generic) @@ -1240,43 +1247,50 @@ -- -- * 'siStackId' - The ID of the stack instance. --+-- * 'siParameterOverrides' - A list of parameters from the stack set template whose values have been overridden in this stack instance.+-- -- * 'siStackSetId' - The name or unique ID of the stack set that the stack instance is associated with. stackInstance :: StackInstance stackInstance = StackInstance'- { _siStatus = Nothing- , _siAccount = Nothing- , _siRegion = Nothing- , _siStatusReason = Nothing- , _siStackId = Nothing- , _siStackSetId = Nothing- }+ { _siStatus = Nothing+ , _siAccount = Nothing+ , _siRegion = Nothing+ , _siStatusReason = Nothing+ , _siStackId = Nothing+ , _siParameterOverrides = Nothing+ , _siStackSetId = Nothing+ } -- | 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@ operations. You might need to perform a @DeleteStackInstances@ operation, with @RetainStacks@ set to @true@ , to delete the stack instance, and then delete 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. siStatus :: Lens' StackInstance (Maybe StackInstanceStatus)-siStatus = lens _siStatus (\ s a -> s{_siStatus = a});+siStatus = lens _siStatus (\ s a -> s{_siStatus = a}) -- | The name of the AWS account that the stack instance is associated with. siAccount :: Lens' StackInstance (Maybe Text)-siAccount = lens _siAccount (\ s a -> s{_siAccount = a});+siAccount = lens _siAccount (\ s a -> s{_siAccount = a}) -- | The name of the AWS region that the stack instance is associated with. siRegion :: Lens' StackInstance (Maybe Text)-siRegion = lens _siRegion (\ s a -> s{_siRegion = a});+siRegion = lens _siRegion (\ s a -> s{_siRegion = a}) -- | The explanation for the specific status code that is assigned to this stack instance. siStatusReason :: Lens' StackInstance (Maybe Text)-siStatusReason = lens _siStatusReason (\ s a -> s{_siStatusReason = a});+siStatusReason = lens _siStatusReason (\ s a -> s{_siStatusReason = a}) -- | The ID of the stack instance. siStackId :: Lens' StackInstance (Maybe Text)-siStackId = lens _siStackId (\ s a -> s{_siStackId = a});+siStackId = lens _siStackId (\ s a -> s{_siStackId = a}) +-- | A list of parameters from the stack set template whose values have been overridden in this stack instance.+siParameterOverrides :: Lens' StackInstance [Parameter]+siParameterOverrides = lens _siParameterOverrides (\ s a -> s{_siParameterOverrides = a}) . _Default . _Coerce+ -- | The name or unique ID of the stack set that the stack instance is associated with. siStackSetId :: Lens' StackInstance (Maybe Text)-siStackSetId = lens _siStackSetId (\ s a -> s{_siStackSetId = a});+siStackSetId = lens _siStackSetId (\ s a -> s{_siStackSetId = a}) instance FromXML StackInstance where parseXML x@@ -1285,6 +1299,9 @@ (x .@? "Region") <*> (x .@? "StatusReason") <*> (x .@? "StackId")+ <*>+ (x .@? "ParameterOverrides" .!@ mempty >>=+ may (parseXMLList "member")) <*> (x .@? "StackSetId") instance Hashable StackInstance where@@ -1325,38 +1342,38 @@ :: StackInstanceSummary stackInstanceSummary = StackInstanceSummary'- { _sisStatus = Nothing- , _sisAccount = Nothing- , _sisRegion = Nothing- , _sisStatusReason = Nothing- , _sisStackId = Nothing- , _sisStackSetId = Nothing- }+ { _sisStatus = Nothing+ , _sisAccount = Nothing+ , _sisRegion = Nothing+ , _sisStatusReason = Nothing+ , _sisStackId = Nothing+ , _sisStackSetId = Nothing+ } -- | 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@ operations. You might need to perform a @DeleteStackInstances@ operation, with @RetainStacks@ set to @true@ , to delete the stack instance, and then delete 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. sisStatus :: Lens' StackInstanceSummary (Maybe StackInstanceStatus)-sisStatus = lens _sisStatus (\ s a -> s{_sisStatus = a});+sisStatus = lens _sisStatus (\ s a -> s{_sisStatus = a}) -- | The name of the AWS account that the stack instance is associated with. sisAccount :: Lens' StackInstanceSummary (Maybe Text)-sisAccount = lens _sisAccount (\ s a -> s{_sisAccount = a});+sisAccount = lens _sisAccount (\ s a -> s{_sisAccount = a}) -- | The name of the AWS region that the stack instance is associated with. sisRegion :: Lens' StackInstanceSummary (Maybe Text)-sisRegion = lens _sisRegion (\ s a -> s{_sisRegion = a});+sisRegion = lens _sisRegion (\ s a -> s{_sisRegion = a}) -- | The explanation for the specific status code assigned to this stack instance. sisStatusReason :: Lens' StackInstanceSummary (Maybe Text)-sisStatusReason = lens _sisStatusReason (\ s a -> s{_sisStatusReason = a});+sisStatusReason = lens _sisStatusReason (\ s a -> s{_sisStatusReason = a}) -- | The ID of the stack instance. sisStackId :: Lens' StackInstanceSummary (Maybe Text)-sisStackId = lens _sisStackId (\ s a -> s{_sisStackId = a});+sisStackId = lens _sisStackId (\ s a -> s{_sisStackId = a}) -- | The name or unique ID of the stack set that the stack instance is associated with. sisStackSetId :: Lens' StackInstanceSummary (Maybe Text)-sisStackSetId = lens _sisStackSetId (\ s a -> s{_sisStackSetId = a});+sisStackSetId = lens _sisStackSetId (\ s a -> s{_sisStackSetId = a}) instance FromXML StackInstanceSummary where parseXML x@@ -1418,53 +1435,53 @@ -> StackResource stackResource pLogicalResourceId_ pResourceType_ pTimestamp_ pResourceStatus_ = StackResource'- { _srPhysicalResourceId = Nothing- , _srResourceStatusReason = Nothing- , _srStackId = Nothing- , _srDescription = Nothing- , _srStackName = Nothing- , _srLogicalResourceId = pLogicalResourceId_- , _srResourceType = pResourceType_- , _srTimestamp = _Time # pTimestamp_- , _srResourceStatus = pResourceStatus_- }+ { _srPhysicalResourceId = Nothing+ , _srResourceStatusReason = Nothing+ , _srStackId = Nothing+ , _srDescription = Nothing+ , _srStackName = Nothing+ , _srLogicalResourceId = pLogicalResourceId_+ , _srResourceType = pResourceType_+ , _srTimestamp = _Time # pTimestamp_+ , _srResourceStatus = pResourceStatus_+ } -- | The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation. srPhysicalResourceId :: Lens' StackResource (Maybe Text)-srPhysicalResourceId = lens _srPhysicalResourceId (\ s a -> s{_srPhysicalResourceId = a});+srPhysicalResourceId = lens _srPhysicalResourceId (\ s a -> s{_srPhysicalResourceId = a}) -- | Success/failure message associated with the resource. srResourceStatusReason :: Lens' StackResource (Maybe Text)-srResourceStatusReason = lens _srResourceStatusReason (\ s a -> s{_srResourceStatusReason = a});+srResourceStatusReason = lens _srResourceStatusReason (\ s a -> s{_srResourceStatusReason = a}) -- | Unique identifier of the stack. srStackId :: Lens' StackResource (Maybe Text)-srStackId = lens _srStackId (\ s a -> s{_srStackId = a});+srStackId = lens _srStackId (\ s a -> s{_srStackId = a}) -- | User defined description associated with the resource. srDescription :: Lens' StackResource (Maybe Text)-srDescription = lens _srDescription (\ s a -> s{_srDescription = a});+srDescription = lens _srDescription (\ s a -> s{_srDescription = a}) -- | The name associated with the stack. srStackName :: Lens' StackResource (Maybe Text)-srStackName = lens _srStackName (\ s a -> s{_srStackName = a});+srStackName = lens _srStackName (\ s a -> s{_srStackName = a}) -- | The logical name of the resource specified in the template. srLogicalResourceId :: Lens' StackResource Text-srLogicalResourceId = lens _srLogicalResourceId (\ s a -> s{_srLogicalResourceId = a});+srLogicalResourceId = lens _srLogicalResourceId (\ s a -> s{_srLogicalResourceId = a}) -- | Type of resource. (For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html AWS Resource Types Reference> in the AWS CloudFormation User Guide.) srResourceType :: Lens' StackResource Text-srResourceType = lens _srResourceType (\ s a -> s{_srResourceType = a});+srResourceType = lens _srResourceType (\ s a -> s{_srResourceType = a}) -- | Time the status was updated. srTimestamp :: Lens' StackResource UTCTime-srTimestamp = lens _srTimestamp (\ s a -> s{_srTimestamp = a}) . _Time;+srTimestamp = lens _srTimestamp (\ s a -> s{_srTimestamp = a}) . _Time -- | Current status of the resource. srResourceStatus :: Lens' StackResource ResourceStatus-srResourceStatus = lens _srResourceStatus (\ s a -> s{_srResourceStatus = a});+srResourceStatus = lens _srResourceStatus (\ s a -> s{_srResourceStatus = a}) instance FromXML StackResource where parseXML x@@ -1533,58 +1550,58 @@ -> StackResourceDetail stackResourceDetail pLogicalResourceId_ pResourceType_ pLastUpdatedTimestamp_ pResourceStatus_ = StackResourceDetail'- { _srdPhysicalResourceId = Nothing- , _srdResourceStatusReason = Nothing- , _srdMetadata = Nothing- , _srdStackId = Nothing- , _srdDescription = Nothing- , _srdStackName = Nothing- , _srdLogicalResourceId = pLogicalResourceId_- , _srdResourceType = pResourceType_- , _srdLastUpdatedTimestamp = _Time # pLastUpdatedTimestamp_- , _srdResourceStatus = pResourceStatus_- }+ { _srdPhysicalResourceId = Nothing+ , _srdResourceStatusReason = Nothing+ , _srdMetadata = Nothing+ , _srdStackId = Nothing+ , _srdDescription = Nothing+ , _srdStackName = Nothing+ , _srdLogicalResourceId = pLogicalResourceId_+ , _srdResourceType = pResourceType_+ , _srdLastUpdatedTimestamp = _Time # pLastUpdatedTimestamp_+ , _srdResourceStatus = pResourceStatus_+ } -- | The name or unique identifier that corresponds to a physical instance ID of a resource supported by AWS CloudFormation. srdPhysicalResourceId :: Lens' StackResourceDetail (Maybe Text)-srdPhysicalResourceId = lens _srdPhysicalResourceId (\ s a -> s{_srdPhysicalResourceId = a});+srdPhysicalResourceId = lens _srdPhysicalResourceId (\ s a -> s{_srdPhysicalResourceId = a}) -- | Success/failure message associated with the resource. srdResourceStatusReason :: Lens' StackResourceDetail (Maybe Text)-srdResourceStatusReason = lens _srdResourceStatusReason (\ s a -> s{_srdResourceStatusReason = a});+srdResourceStatusReason = lens _srdResourceStatusReason (\ s a -> s{_srdResourceStatusReason = a}) -- | The content of the @Metadata@ attribute declared for the resource. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html Metadata Attribute> in the AWS CloudFormation User Guide. srdMetadata :: Lens' StackResourceDetail (Maybe Text)-srdMetadata = lens _srdMetadata (\ s a -> s{_srdMetadata = a});+srdMetadata = lens _srdMetadata (\ s a -> s{_srdMetadata = a}) -- | Unique identifier of the stack. srdStackId :: Lens' StackResourceDetail (Maybe Text)-srdStackId = lens _srdStackId (\ s a -> s{_srdStackId = a});+srdStackId = lens _srdStackId (\ s a -> s{_srdStackId = a}) -- | User defined description associated with the resource. srdDescription :: Lens' StackResourceDetail (Maybe Text)-srdDescription = lens _srdDescription (\ s a -> s{_srdDescription = a});+srdDescription = lens _srdDescription (\ s a -> s{_srdDescription = a}) -- | The name associated with the stack. srdStackName :: Lens' StackResourceDetail (Maybe Text)-srdStackName = lens _srdStackName (\ s a -> s{_srdStackName = a});+srdStackName = lens _srdStackName (\ s a -> s{_srdStackName = a}) -- | The logical name of the resource specified in the template. srdLogicalResourceId :: Lens' StackResourceDetail Text-srdLogicalResourceId = lens _srdLogicalResourceId (\ s a -> s{_srdLogicalResourceId = a});+srdLogicalResourceId = lens _srdLogicalResourceId (\ s a -> s{_srdLogicalResourceId = a}) -- | Type of resource. ((For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html AWS Resource Types Reference> in the AWS CloudFormation User Guide.) srdResourceType :: Lens' StackResourceDetail Text-srdResourceType = lens _srdResourceType (\ s a -> s{_srdResourceType = a});+srdResourceType = lens _srdResourceType (\ s a -> s{_srdResourceType = a}) -- | Time the status was updated. srdLastUpdatedTimestamp :: Lens' StackResourceDetail UTCTime-srdLastUpdatedTimestamp = lens _srdLastUpdatedTimestamp (\ s a -> s{_srdLastUpdatedTimestamp = a}) . _Time;+srdLastUpdatedTimestamp = lens _srdLastUpdatedTimestamp (\ s a -> s{_srdLastUpdatedTimestamp = a}) . _Time -- | Current status of the resource. srdResourceStatus :: Lens' StackResourceDetail ResourceStatus-srdResourceStatus = lens _srdResourceStatus (\ s a -> s{_srdResourceStatus = a});+srdResourceStatus = lens _srdResourceStatus (\ s a -> s{_srdResourceStatus = a}) instance FromXML StackResourceDetail where parseXML x@@ -1642,38 +1659,38 @@ -> StackResourceSummary stackResourceSummary pLogicalResourceId_ pResourceType_ pLastUpdatedTimestamp_ pResourceStatus_ = StackResourceSummary'- { _srsPhysicalResourceId = Nothing- , _srsResourceStatusReason = Nothing- , _srsLogicalResourceId = pLogicalResourceId_- , _srsResourceType = pResourceType_- , _srsLastUpdatedTimestamp = _Time # pLastUpdatedTimestamp_- , _srsResourceStatus = pResourceStatus_- }+ { _srsPhysicalResourceId = Nothing+ , _srsResourceStatusReason = Nothing+ , _srsLogicalResourceId = pLogicalResourceId_+ , _srsResourceType = pResourceType_+ , _srsLastUpdatedTimestamp = _Time # pLastUpdatedTimestamp_+ , _srsResourceStatus = pResourceStatus_+ } -- | The name or unique identifier that corresponds to a physical instance ID of the resource. srsPhysicalResourceId :: Lens' StackResourceSummary (Maybe Text)-srsPhysicalResourceId = lens _srsPhysicalResourceId (\ s a -> s{_srsPhysicalResourceId = a});+srsPhysicalResourceId = lens _srsPhysicalResourceId (\ s a -> s{_srsPhysicalResourceId = a}) -- | Success/failure message associated with the resource. srsResourceStatusReason :: Lens' StackResourceSummary (Maybe Text)-srsResourceStatusReason = lens _srsResourceStatusReason (\ s a -> s{_srsResourceStatusReason = a});+srsResourceStatusReason = lens _srsResourceStatusReason (\ s a -> s{_srsResourceStatusReason = a}) -- | The logical name of the resource specified in the template. srsLogicalResourceId :: Lens' StackResourceSummary Text-srsLogicalResourceId = lens _srsLogicalResourceId (\ s a -> s{_srsLogicalResourceId = a});+srsLogicalResourceId = lens _srsLogicalResourceId (\ s a -> s{_srsLogicalResourceId = a}) -- | Type of resource. (For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html AWS Resource Types Reference> in the AWS CloudFormation User Guide.) srsResourceType :: Lens' StackResourceSummary Text-srsResourceType = lens _srsResourceType (\ s a -> s{_srsResourceType = a});+srsResourceType = lens _srsResourceType (\ s a -> s{_srsResourceType = a}) -- | Time the status was updated. srsLastUpdatedTimestamp :: Lens' StackResourceSummary UTCTime-srsLastUpdatedTimestamp = lens _srsLastUpdatedTimestamp (\ s a -> s{_srsLastUpdatedTimestamp = a}) . _Time;+srsLastUpdatedTimestamp = lens _srsLastUpdatedTimestamp (\ s a -> s{_srsLastUpdatedTimestamp = a}) . _Time -- | Current status of the resource. srsResourceStatus :: Lens' StackResourceSummary ResourceStatus-srsResourceStatus = lens _srsResourceStatus (\ s a -> s{_srsResourceStatus = a});+srsResourceStatus = lens _srsResourceStatus (\ s a -> s{_srsResourceStatus = a}) instance FromXML StackResourceSummary where parseXML x@@ -1695,14 +1712,16 @@ -- -- /See:/ 'stackSet' smart constructor. data StackSet = StackSet'- { _ssStatus :: !(Maybe StackSetStatus)- , _ssParameters :: !(Maybe [Parameter])- , _ssTemplateBody :: !(Maybe Text)- , _ssStackSetName :: !(Maybe Text)- , _ssDescription :: !(Maybe Text)- , _ssCapabilities :: !(Maybe [Capability])- , _ssTags :: !(Maybe [Tag])- , _ssStackSetId :: !(Maybe Text)+ { _ssStatus :: !(Maybe StackSetStatus)+ , _ssAdministrationRoleARN :: !(Maybe Text)+ , _ssStackSetARN :: !(Maybe Text)+ , _ssParameters :: !(Maybe [Parameter])+ , _ssTemplateBody :: !(Maybe Text)+ , _ssStackSetName :: !(Maybe Text)+ , _ssDescription :: !(Maybe Text)+ , _ssCapabilities :: !(Maybe [Capability])+ , _ssTags :: !(Maybe [Tag])+ , _ssStackSetId :: !(Maybe Text) } deriving (Eq, Read, Show, Data, Typeable, Generic) @@ -1712,6 +1731,10 @@ -- -- * 'ssStatus' - The status of the stack set. --+-- * 'ssAdministrationRoleARN' - The Amazon Resource Number (ARN) of the IAM role used to create or update the stack set. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html Define Permissions for Multiple Administrators> in the /AWS CloudFormation User Guide/ .+--+-- * 'ssStackSetARN' - The Amazon Resource Number (ARN) of the stack set.+-- -- * 'ssParameters' - A list of input parameters for a stack set. -- -- * 'ssTemplateBody' - The structure that contains the body of the template that was used to create or update the stack set.@@ -1729,53 +1752,65 @@ :: StackSet stackSet = StackSet'- { _ssStatus = Nothing- , _ssParameters = Nothing- , _ssTemplateBody = Nothing- , _ssStackSetName = Nothing- , _ssDescription = Nothing- , _ssCapabilities = Nothing- , _ssTags = Nothing- , _ssStackSetId = Nothing- }+ { _ssStatus = Nothing+ , _ssAdministrationRoleARN = Nothing+ , _ssStackSetARN = Nothing+ , _ssParameters = Nothing+ , _ssTemplateBody = Nothing+ , _ssStackSetName = Nothing+ , _ssDescription = Nothing+ , _ssCapabilities = Nothing+ , _ssTags = Nothing+ , _ssStackSetId = Nothing+ } -- | The status of the stack set. ssStatus :: Lens' StackSet (Maybe StackSetStatus)-ssStatus = lens _ssStatus (\ s a -> s{_ssStatus = a});+ssStatus = lens _ssStatus (\ s a -> s{_ssStatus = a}) +-- | The Amazon Resource Number (ARN) of the IAM role used to create or update the stack set. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html Define Permissions for Multiple Administrators> in the /AWS CloudFormation User Guide/ .+ssAdministrationRoleARN :: Lens' StackSet (Maybe Text)+ssAdministrationRoleARN = lens _ssAdministrationRoleARN (\ s a -> s{_ssAdministrationRoleARN = a})++-- | The Amazon Resource Number (ARN) of the stack set.+ssStackSetARN :: Lens' StackSet (Maybe Text)+ssStackSetARN = lens _ssStackSetARN (\ s a -> s{_ssStackSetARN = a})+ -- | A list of input parameters for a stack set. ssParameters :: Lens' StackSet [Parameter]-ssParameters = lens _ssParameters (\ s a -> s{_ssParameters = a}) . _Default . _Coerce;+ssParameters = lens _ssParameters (\ s a -> s{_ssParameters = a}) . _Default . _Coerce -- | The structure that contains the body of the template that was used to create or update the stack set. ssTemplateBody :: Lens' StackSet (Maybe Text)-ssTemplateBody = lens _ssTemplateBody (\ s a -> s{_ssTemplateBody = a});+ssTemplateBody = lens _ssTemplateBody (\ s a -> s{_ssTemplateBody = a}) -- | The name that's associated with the stack set. ssStackSetName :: Lens' StackSet (Maybe Text)-ssStackSetName = lens _ssStackSetName (\ s a -> s{_ssStackSetName = a});+ssStackSetName = lens _ssStackSetName (\ s a -> s{_ssStackSetName = a}) -- | A description of the stack set that you specify when the stack set is created or updated. ssDescription :: Lens' StackSet (Maybe Text)-ssDescription = lens _ssDescription (\ s a -> s{_ssDescription = a});+ssDescription = lens _ssDescription (\ s a -> s{_ssDescription = a}) -- | 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 <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities Acknowledging IAM Resources in AWS CloudFormation Templates.> ssCapabilities :: Lens' StackSet [Capability]-ssCapabilities = lens _ssCapabilities (\ s a -> s{_ssCapabilities = a}) . _Default . _Coerce;+ssCapabilities = lens _ssCapabilities (\ s a -> s{_ssCapabilities = a}) . _Default . _Coerce -- | A list of tags that specify information about the stack set. A maximum number of 50 tags can be specified. ssTags :: Lens' StackSet [Tag]-ssTags = lens _ssTags (\ s a -> s{_ssTags = a}) . _Default . _Coerce;+ssTags = lens _ssTags (\ s a -> s{_ssTags = a}) . _Default . _Coerce -- | The ID of the stack set. ssStackSetId :: Lens' StackSet (Maybe Text)-ssStackSetId = lens _ssStackSetId (\ s a -> s{_ssStackSetId = a});+ssStackSetId = lens _ssStackSetId (\ s a -> s{_ssStackSetId = a}) instance FromXML StackSet where parseXML x = StackSet' <$>- (x .@? "Status") <*>+ (x .@? "Status") <*> (x .@? "AdministrationRoleARN")+ <*> (x .@? "StackSetARN")+ <*> (x .@? "Parameters" .!@ mempty >>= may (parseXMLList "member")) <*> (x .@? "TemplateBody")@@ -1799,14 +1834,15 @@ -- -- /See:/ 'stackSetOperation' smart constructor. data StackSetOperation = StackSetOperation'- { _ssoStatus :: !(Maybe StackSetOperationStatus)- , _ssoAction :: !(Maybe StackSetOperationAction)- , _ssoEndTimestamp :: !(Maybe ISO8601)- , _ssoCreationTimestamp :: !(Maybe ISO8601)- , _ssoOperationPreferences :: !(Maybe StackSetOperationPreferences)- , _ssoOperationId :: !(Maybe Text)- , _ssoRetainStacks :: !(Maybe Bool)- , _ssoStackSetId :: !(Maybe Text)+ { _ssoStatus :: !(Maybe StackSetOperationStatus)+ , _ssoAdministrationRoleARN :: !(Maybe Text)+ , _ssoAction :: !(Maybe StackSetOperationAction)+ , _ssoEndTimestamp :: !(Maybe ISO8601)+ , _ssoCreationTimestamp :: !(Maybe ISO8601)+ , _ssoOperationPreferences :: !(Maybe StackSetOperationPreferences)+ , _ssoOperationId :: !(Maybe Text)+ , _ssoRetainStacks :: !(Maybe Bool)+ , _ssoStackSetId :: !(Maybe Text) } deriving (Eq, Read, Show, Data, Typeable, Generic) @@ -1816,6 +1852,8 @@ -- -- * 'ssoStatus' - 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. --+-- * 'ssoAdministrationRoleARN' - The Amazon Resource Number (ARN) of the IAM role used to perform this stack set operation. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html Define Permissions for Multiple Administrators> in the /AWS CloudFormation User Guide/ .+-- -- * 'ssoAction' - 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. -- -- * 'ssoEndTimestamp' - 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.@@ -1833,54 +1871,60 @@ :: StackSetOperation stackSetOperation = StackSetOperation'- { _ssoStatus = Nothing- , _ssoAction = Nothing- , _ssoEndTimestamp = Nothing- , _ssoCreationTimestamp = Nothing- , _ssoOperationPreferences = Nothing- , _ssoOperationId = Nothing- , _ssoRetainStacks = Nothing- , _ssoStackSetId = Nothing- }+ { _ssoStatus = Nothing+ , _ssoAdministrationRoleARN = Nothing+ , _ssoAction = Nothing+ , _ssoEndTimestamp = Nothing+ , _ssoCreationTimestamp = Nothing+ , _ssoOperationPreferences = Nothing+ , _ssoOperationId = Nothing+ , _ssoRetainStacks = Nothing+ , _ssoStackSetId = Nothing+ } -- | 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. ssoStatus :: Lens' StackSetOperation (Maybe StackSetOperationStatus)-ssoStatus = lens _ssoStatus (\ s a -> s{_ssoStatus = a});+ssoStatus = lens _ssoStatus (\ s a -> s{_ssoStatus = a}) +-- | The Amazon Resource Number (ARN) of the IAM role used to perform this stack set operation. Use customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html Define Permissions for Multiple Administrators> in the /AWS CloudFormation User Guide/ .+ssoAdministrationRoleARN :: Lens' StackSetOperation (Maybe Text)+ssoAdministrationRoleARN = lens _ssoAdministrationRoleARN (\ s a -> s{_ssoAdministrationRoleARN = a})+ -- | 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. ssoAction :: Lens' StackSetOperation (Maybe StackSetOperationAction)-ssoAction = lens _ssoAction (\ s a -> s{_ssoAction = a});+ssoAction = lens _ssoAction (\ s a -> s{_ssoAction = a}) -- | 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. ssoEndTimestamp :: Lens' StackSetOperation (Maybe UTCTime)-ssoEndTimestamp = lens _ssoEndTimestamp (\ s a -> s{_ssoEndTimestamp = a}) . mapping _Time;+ssoEndTimestamp = lens _ssoEndTimestamp (\ s a -> s{_ssoEndTimestamp = a}) . mapping _Time -- | 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. ssoCreationTimestamp :: Lens' StackSetOperation (Maybe UTCTime)-ssoCreationTimestamp = lens _ssoCreationTimestamp (\ s a -> s{_ssoCreationTimestamp = a}) . mapping _Time;+ssoCreationTimestamp = lens _ssoCreationTimestamp (\ s a -> s{_ssoCreationTimestamp = a}) . mapping _Time -- | The preferences for how AWS CloudFormation performs this stack set operation. ssoOperationPreferences :: Lens' StackSetOperation (Maybe StackSetOperationPreferences)-ssoOperationPreferences = lens _ssoOperationPreferences (\ s a -> s{_ssoOperationPreferences = a});+ssoOperationPreferences = lens _ssoOperationPreferences (\ s a -> s{_ssoOperationPreferences = a}) -- | The unique ID of a stack set operation. ssoOperationId :: Lens' StackSetOperation (Maybe Text)-ssoOperationId = lens _ssoOperationId (\ s a -> s{_ssoOperationId = a});+ssoOperationId = lens _ssoOperationId (\ s a -> s{_ssoOperationId = a}) -- | 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. ssoRetainStacks :: Lens' StackSetOperation (Maybe Bool)-ssoRetainStacks = lens _ssoRetainStacks (\ s a -> s{_ssoRetainStacks = a});+ssoRetainStacks = lens _ssoRetainStacks (\ s a -> s{_ssoRetainStacks = a}) -- | The ID of the stack set. ssoStackSetId :: Lens' StackSetOperation (Maybe Text)-ssoStackSetId = lens _ssoStackSetId (\ s a -> s{_ssoStackSetId = a});+ssoStackSetId = lens _ssoStackSetId (\ s a -> s{_ssoStackSetId = a}) instance FromXML StackSetOperation where parseXML x = StackSetOperation' <$>- (x .@? "Status") <*> (x .@? "Action") <*>- (x .@? "EndTimestamp")+ (x .@? "Status") <*> (x .@? "AdministrationRoleARN")+ <*> (x .@? "Action")+ <*> (x .@? "EndTimestamp") <*> (x .@? "CreationTimestamp") <*> (x .@? "OperationPreferences") <*> (x .@? "OperationId")@@ -1924,33 +1968,33 @@ :: StackSetOperationPreferences stackSetOperationPreferences = StackSetOperationPreferences'- { _ssopRegionOrder = Nothing- , _ssopMaxConcurrentCount = Nothing- , _ssopMaxConcurrentPercentage = Nothing- , _ssopFailureToleranceCount = Nothing- , _ssopFailureTolerancePercentage = Nothing- }+ { _ssopRegionOrder = Nothing+ , _ssopMaxConcurrentCount = Nothing+ , _ssopMaxConcurrentPercentage = Nothing+ , _ssopFailureToleranceCount = Nothing+ , _ssopFailureTolerancePercentage = Nothing+ } -- | The order of the regions in where you want to perform the stack operation. ssopRegionOrder :: Lens' StackSetOperationPreferences [Text]-ssopRegionOrder = lens _ssopRegionOrder (\ s a -> s{_ssopRegionOrder = a}) . _Default . _Coerce;+ssopRegionOrder = lens _ssopRegionOrder (\ s a -> s{_ssopRegionOrder = a}) . _Default . _Coerce -- | 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@ . Note that this setting lets you specify the /maximum/ for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. Conditional: You must specify either @MaxConcurrentCount@ or @MaxConcurrentPercentage@ , but not both. ssopMaxConcurrentCount :: Lens' StackSetOperationPreferences (Maybe Natural)-ssopMaxConcurrentCount = lens _ssopMaxConcurrentCount (\ s a -> s{_ssopMaxConcurrentCount = a}) . mapping _Nat;+ssopMaxConcurrentCount = lens _ssopMaxConcurrentCount (\ s a -> s{_ssopMaxConcurrentCount = a}) . mapping _Nat -- | 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. Note that this setting lets you specify the /maximum/ for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. Conditional: You must specify either @MaxConcurrentCount@ or @MaxConcurrentPercentage@ , but not both. ssopMaxConcurrentPercentage :: Lens' StackSetOperationPreferences (Maybe Natural)-ssopMaxConcurrentPercentage = lens _ssopMaxConcurrentPercentage (\ s a -> s{_ssopMaxConcurrentPercentage = a}) . mapping _Nat;+ssopMaxConcurrentPercentage = lens _ssopMaxConcurrentPercentage (\ s a -> s{_ssopMaxConcurrentPercentage = a}) . mapping _Nat -- | 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). ssopFailureToleranceCount :: Lens' StackSetOperationPreferences (Maybe Natural)-ssopFailureToleranceCount = lens _ssopFailureToleranceCount (\ s a -> s{_ssopFailureToleranceCount = a}) . mapping _Nat;+ssopFailureToleranceCount = lens _ssopFailureToleranceCount (\ s a -> s{_ssopFailureToleranceCount = a}) . mapping _Nat -- | 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. ssopFailureTolerancePercentage :: Lens' StackSetOperationPreferences (Maybe Natural)-ssopFailureTolerancePercentage = lens _ssopFailureTolerancePercentage (\ s a -> s{_ssopFailureTolerancePercentage = a}) . mapping _Nat;+ssopFailureTolerancePercentage = lens _ssopFailureTolerancePercentage (\ s a -> s{_ssopFailureTolerancePercentage = a}) . mapping _Nat instance FromXML StackSetOperationPreferences where parseXML x@@ -2010,33 +2054,33 @@ :: StackSetOperationResultSummary stackSetOperationResultSummary = StackSetOperationResultSummary'- { _ssorsStatus = Nothing- , _ssorsAccount = Nothing- , _ssorsAccountGateResult = Nothing- , _ssorsRegion = Nothing- , _ssorsStatusReason = Nothing- }+ { _ssorsStatus = Nothing+ , _ssorsAccount = Nothing+ , _ssorsAccountGateResult = Nothing+ , _ssorsRegion = Nothing+ , _ssorsStatusReason = Nothing+ } -- | 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. ssorsStatus :: Lens' StackSetOperationResultSummary (Maybe StackSetOperationResultStatus)-ssorsStatus = lens _ssorsStatus (\ s a -> s{_ssorsStatus = a});+ssorsStatus = lens _ssorsStatus (\ s a -> s{_ssorsStatus = a}) -- | The name of the AWS account for this operation result. ssorsAccount :: Lens' StackSetOperationResultSummary (Maybe Text)-ssorsAccount = lens _ssorsAccount (\ s a -> s{_ssorsAccount = a});+ssorsAccount = lens _ssorsAccount (\ s a -> s{_ssorsAccount = a}) -- | The results of the account gate function AWS CloudFormation invokes, if present, before proceeding with stack set operations in an account ssorsAccountGateResult :: Lens' StackSetOperationResultSummary (Maybe AccountGateResult)-ssorsAccountGateResult = lens _ssorsAccountGateResult (\ s a -> s{_ssorsAccountGateResult = a});+ssorsAccountGateResult = lens _ssorsAccountGateResult (\ s a -> s{_ssorsAccountGateResult = a}) -- | The name of the AWS region for this operation result. ssorsRegion :: Lens' StackSetOperationResultSummary (Maybe Text)-ssorsRegion = lens _ssorsRegion (\ s a -> s{_ssorsRegion = a});+ssorsRegion = lens _ssorsRegion (\ s a -> s{_ssorsRegion = a}) -- | The reason for the assigned result status. ssorsStatusReason :: Lens' StackSetOperationResultSummary (Maybe Text)-ssorsStatusReason = lens _ssorsStatusReason (\ s a -> s{_ssorsStatusReason = a});+ssorsStatusReason = lens _ssorsStatusReason (\ s a -> s{_ssorsStatusReason = a}) instance FromXML StackSetOperationResultSummary where parseXML x@@ -2082,33 +2126,33 @@ :: StackSetOperationSummary stackSetOperationSummary = StackSetOperationSummary'- { _ssosStatus = Nothing- , _ssosAction = Nothing- , _ssosEndTimestamp = Nothing- , _ssosCreationTimestamp = Nothing- , _ssosOperationId = Nothing- }+ { _ssosStatus = Nothing+ , _ssosAction = Nothing+ , _ssosEndTimestamp = Nothing+ , _ssosCreationTimestamp = Nothing+ , _ssosOperationId = Nothing+ } -- | 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. ssosStatus :: Lens' StackSetOperationSummary (Maybe StackSetOperationStatus)-ssosStatus = lens _ssosStatus (\ s a -> s{_ssosStatus = a});+ssosStatus = lens _ssosStatus (\ s a -> s{_ssosStatus = a}) -- | 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. ssosAction :: Lens' StackSetOperationSummary (Maybe StackSetOperationAction)-ssosAction = lens _ssosAction (\ s a -> s{_ssosAction = a});+ssosAction = lens _ssosAction (\ s a -> s{_ssosAction = a}) -- | 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. ssosEndTimestamp :: Lens' StackSetOperationSummary (Maybe UTCTime)-ssosEndTimestamp = lens _ssosEndTimestamp (\ s a -> s{_ssosEndTimestamp = a}) . mapping _Time;+ssosEndTimestamp = lens _ssosEndTimestamp (\ s a -> s{_ssosEndTimestamp = a}) . mapping _Time -- | 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. ssosCreationTimestamp :: Lens' StackSetOperationSummary (Maybe UTCTime)-ssosCreationTimestamp = lens _ssosCreationTimestamp (\ s a -> s{_ssosCreationTimestamp = a}) . mapping _Time;+ssosCreationTimestamp = lens _ssosCreationTimestamp (\ s a -> s{_ssosCreationTimestamp = a}) . mapping _Time -- | The unique ID of the stack set operation. ssosOperationId :: Lens' StackSetOperationSummary (Maybe Text)-ssosOperationId = lens _ssosOperationId (\ s a -> s{_ssosOperationId = a});+ssosOperationId = lens _ssosOperationId (\ s a -> s{_ssosOperationId = a}) instance FromXML StackSetOperationSummary where parseXML x@@ -2150,28 +2194,28 @@ :: StackSetSummary stackSetSummary = StackSetSummary'- { _sssStatus = Nothing- , _sssStackSetName = Nothing- , _sssDescription = Nothing- , _sssStackSetId = Nothing- }+ { _sssStatus = Nothing+ , _sssStackSetName = Nothing+ , _sssDescription = Nothing+ , _sssStackSetId = Nothing+ } -- | The status of the stack set. sssStatus :: Lens' StackSetSummary (Maybe StackSetStatus)-sssStatus = lens _sssStatus (\ s a -> s{_sssStatus = a});+sssStatus = lens _sssStatus (\ s a -> s{_sssStatus = a}) -- | The name of the stack set. sssStackSetName :: Lens' StackSetSummary (Maybe Text)-sssStackSetName = lens _sssStackSetName (\ s a -> s{_sssStackSetName = a});+sssStackSetName = lens _sssStackSetName (\ s a -> s{_sssStackSetName = a}) -- | A description of the stack set that you specify when the stack set is created or updated. sssDescription :: Lens' StackSetSummary (Maybe Text)-sssDescription = lens _sssDescription (\ s a -> s{_sssDescription = a});+sssDescription = lens _sssDescription (\ s a -> s{_sssDescription = a}) -- | The ID of the stack set. sssStackSetId :: Lens' StackSetSummary (Maybe Text)-sssStackSetId = lens _sssStackSetId (\ s a -> s{_sssStackSetId = a});+sssStackSetId = lens _sssStackSetId (\ s a -> s{_sssStackSetId = a}) instance FromXML StackSetSummary where parseXML x@@ -2233,58 +2277,58 @@ -> StackSummary stackSummary pStackName_ pCreationTime_ pStackStatus_ = StackSummary'- { _ssLastUpdatedTime = Nothing- , _ssRootId = Nothing- , _ssStackStatusReason = Nothing- , _ssTemplateDescription = Nothing- , _ssDeletionTime = Nothing- , _ssStackId = Nothing- , _ssParentId = Nothing- , _ssStackName = pStackName_- , _ssCreationTime = _Time # pCreationTime_- , _ssStackStatus = pStackStatus_- }+ { _ssLastUpdatedTime = Nothing+ , _ssRootId = Nothing+ , _ssStackStatusReason = Nothing+ , _ssTemplateDescription = Nothing+ , _ssDeletionTime = Nothing+ , _ssStackId = Nothing+ , _ssParentId = Nothing+ , _ssStackName = pStackName_+ , _ssCreationTime = _Time # pCreationTime_+ , _ssStackStatus = pStackStatus_+ } -- | The time the stack was last updated. This field will only be returned if the stack has been updated at least once. ssLastUpdatedTime :: Lens' StackSummary (Maybe UTCTime)-ssLastUpdatedTime = lens _ssLastUpdatedTime (\ s a -> s{_ssLastUpdatedTime = a}) . mapping _Time;+ssLastUpdatedTime = lens _ssLastUpdatedTime (\ s a -> s{_ssLastUpdatedTime = a}) . mapping _Time -- | For nested stacks--stacks created as resources for another stack--the stack ID of the the top-level stack to which the nested stack ultimately belongs. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html Working with Nested Stacks> in the /AWS CloudFormation User Guide/ . ssRootId :: Lens' StackSummary (Maybe Text)-ssRootId = lens _ssRootId (\ s a -> s{_ssRootId = a});+ssRootId = lens _ssRootId (\ s a -> s{_ssRootId = a}) -- | Success/Failure message associated with the stack status. ssStackStatusReason :: Lens' StackSummary (Maybe Text)-ssStackStatusReason = lens _ssStackStatusReason (\ s a -> s{_ssStackStatusReason = a});+ssStackStatusReason = lens _ssStackStatusReason (\ s a -> s{_ssStackStatusReason = a}) -- | The template description of the template used to create the stack. ssTemplateDescription :: Lens' StackSummary (Maybe Text)-ssTemplateDescription = lens _ssTemplateDescription (\ s a -> s{_ssTemplateDescription = a});+ssTemplateDescription = lens _ssTemplateDescription (\ s a -> s{_ssTemplateDescription = a}) -- | The time the stack was deleted. ssDeletionTime :: Lens' StackSummary (Maybe UTCTime)-ssDeletionTime = lens _ssDeletionTime (\ s a -> s{_ssDeletionTime = a}) . mapping _Time;+ssDeletionTime = lens _ssDeletionTime (\ s a -> s{_ssDeletionTime = a}) . mapping _Time -- | Unique stack identifier. ssStackId :: Lens' StackSummary (Maybe Text)-ssStackId = lens _ssStackId (\ s a -> s{_ssStackId = a});+ssStackId = lens _ssStackId (\ s a -> s{_ssStackId = a}) -- | For nested stacks--stacks created as resources for another stack--the stack ID of the direct parent of this stack. For the first level of nested stacks, the root stack is also the parent stack. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html Working with Nested Stacks> in the /AWS CloudFormation User Guide/ . ssParentId :: Lens' StackSummary (Maybe Text)-ssParentId = lens _ssParentId (\ s a -> s{_ssParentId = a});+ssParentId = lens _ssParentId (\ s a -> s{_ssParentId = a}) -- | The name associated with the stack. ssStackName :: Lens' StackSummary Text-ssStackName = lens _ssStackName (\ s a -> s{_ssStackName = a});+ssStackName = lens _ssStackName (\ s a -> s{_ssStackName = a}) -- | The time the stack was created. ssCreationTime :: Lens' StackSummary UTCTime-ssCreationTime = lens _ssCreationTime (\ s a -> s{_ssCreationTime = a}) . _Time;+ssCreationTime = lens _ssCreationTime (\ s a -> s{_ssCreationTime = a}) . _Time -- | The current status of the stack. ssStackStatus :: Lens' StackSummary StackStatus-ssStackStatus = lens _ssStackStatus (\ s a -> s{_ssStackStatus = a});+ssStackStatus = lens _ssStackStatus (\ s a -> s{_ssStackStatus = a}) instance FromXML StackSummary where parseXML x@@ -2330,11 +2374,11 @@ -- | /Required/ . A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: @aws:@ . tagKey :: Lens' Tag Text-tagKey = lens _tagKey (\ s a -> s{_tagKey = a});+tagKey = lens _tagKey (\ s a -> s{_tagKey = a}) -- | /Required/ . A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value. tagValue :: Lens' Tag Text-tagValue = lens _tagValue (\ s a -> s{_tagValue = a});+tagValue = lens _tagValue (\ s a -> s{_tagValue = a}) instance FromXML Tag where parseXML x = Tag' <$> (x .@ "Key") <*> (x .@ "Value")@@ -2375,28 +2419,28 @@ :: TemplateParameter templateParameter = TemplateParameter'- { _tpParameterKey = Nothing- , _tpDefaultValue = Nothing- , _tpNoEcho = Nothing- , _tpDescription = Nothing- }+ { _tpParameterKey = Nothing+ , _tpDefaultValue = Nothing+ , _tpNoEcho = Nothing+ , _tpDescription = Nothing+ } -- | The name associated with the parameter. tpParameterKey :: Lens' TemplateParameter (Maybe Text)-tpParameterKey = lens _tpParameterKey (\ s a -> s{_tpParameterKey = a});+tpParameterKey = lens _tpParameterKey (\ s a -> s{_tpParameterKey = a}) -- | The default value associated with the parameter. tpDefaultValue :: Lens' TemplateParameter (Maybe Text)-tpDefaultValue = lens _tpDefaultValue (\ s a -> s{_tpDefaultValue = a});+tpDefaultValue = lens _tpDefaultValue (\ s a -> s{_tpDefaultValue = a}) -- | Flag indicating whether the parameter should be displayed as plain text in logs and UIs. tpNoEcho :: Lens' TemplateParameter (Maybe Bool)-tpNoEcho = lens _tpNoEcho (\ s a -> s{_tpNoEcho = a});+tpNoEcho = lens _tpNoEcho (\ s a -> s{_tpNoEcho = a}) -- | User defined description associated with the parameter. tpDescription :: Lens' TemplateParameter (Maybe Text)-tpDescription = lens _tpDescription (\ s a -> s{_tpDescription = a});+tpDescription = lens _tpDescription (\ s a -> s{_tpDescription = a}) instance FromXML TemplateParameter where parseXML x
gen/Network/AWS/CloudFormation/Types/Sum.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.CloudFormation.Types.Sum--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated
gen/Network/AWS/CloudFormation/UpdateStack.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.UpdateStack--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -128,88 +128,88 @@ -> UpdateStack updateStack pStackName_ = UpdateStack'- { _usUsePreviousTemplate = Nothing- , _usNotificationARNs = Nothing- , _usStackPolicyBody = Nothing- , _usStackPolicyDuringUpdateBody = Nothing- , _usStackPolicyDuringUpdateURL = Nothing- , _usParameters = Nothing- , _usStackPolicyURL = Nothing- , _usTemplateBody = Nothing- , _usTemplateURL = Nothing- , _usClientRequestToken = Nothing- , _usCapabilities = Nothing- , _usRollbackConfiguration = Nothing- , _usResourceTypes = Nothing- , _usTags = Nothing- , _usRoleARN = Nothing- , _usStackName = pStackName_- }+ { _usUsePreviousTemplate = Nothing+ , _usNotificationARNs = Nothing+ , _usStackPolicyBody = Nothing+ , _usStackPolicyDuringUpdateBody = Nothing+ , _usStackPolicyDuringUpdateURL = Nothing+ , _usParameters = Nothing+ , _usStackPolicyURL = Nothing+ , _usTemplateBody = Nothing+ , _usTemplateURL = Nothing+ , _usClientRequestToken = Nothing+ , _usCapabilities = Nothing+ , _usRollbackConfiguration = Nothing+ , _usResourceTypes = Nothing+ , _usTags = Nothing+ , _usRoleARN = Nothing+ , _usStackName = pStackName_+ } -- | Reuse the existing template that is associated with the stack that you are updating. Conditional: You must specify only one of the following parameters: @TemplateBody@ , @TemplateURL@ , or set the @UsePreviousTemplate@ to @true@ . usUsePreviousTemplate :: Lens' UpdateStack (Maybe Bool)-usUsePreviousTemplate = lens _usUsePreviousTemplate (\ s a -> s{_usUsePreviousTemplate = a});+usUsePreviousTemplate = lens _usUsePreviousTemplate (\ s a -> s{_usUsePreviousTemplate = a}) -- | Amazon Simple Notification Service topic Amazon Resource Names (ARNs) that AWS CloudFormation associates with the stack. Specify an empty list to remove all notification topics. usNotificationARNs :: Lens' UpdateStack [Text]-usNotificationARNs = lens _usNotificationARNs (\ s a -> s{_usNotificationARNs = a}) . _Default . _Coerce;+usNotificationARNs = lens _usNotificationARNs (\ s a -> s{_usNotificationARNs = a}) . _Default . _Coerce -- | Structure containing a new stack policy body. You can specify either the @StackPolicyBody@ or the @StackPolicyURL@ parameter, but not both. You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged. usStackPolicyBody :: Lens' UpdateStack (Maybe Text)-usStackPolicyBody = lens _usStackPolicyBody (\ s a -> s{_usStackPolicyBody = a});+usStackPolicyBody = lens _usStackPolicyBody (\ s a -> s{_usStackPolicyBody = a}) -- | Structure containing the temporary overriding stack policy body. You can specify either the @StackPolicyDuringUpdateBody@ or the @StackPolicyDuringUpdateURL@ parameter, but not both. If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used. usStackPolicyDuringUpdateBody :: Lens' UpdateStack (Maybe Text)-usStackPolicyDuringUpdateBody = lens _usStackPolicyDuringUpdateBody (\ s a -> s{_usStackPolicyDuringUpdateBody = a});+usStackPolicyDuringUpdateBody = lens _usStackPolicyDuringUpdateBody (\ s a -> s{_usStackPolicyDuringUpdateBody = a}) -- | Location of a file containing the temporary overriding stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same region as the stack. You can specify either the @StackPolicyDuringUpdateBody@ or the @StackPolicyDuringUpdateURL@ parameter, but not both. If you want to update protected resources, specify a temporary overriding stack policy during this update. If you do not specify a stack policy, the current policy that is associated with the stack will be used. usStackPolicyDuringUpdateURL :: Lens' UpdateStack (Maybe Text)-usStackPolicyDuringUpdateURL = lens _usStackPolicyDuringUpdateURL (\ s a -> s{_usStackPolicyDuringUpdateURL = a});+usStackPolicyDuringUpdateURL = lens _usStackPolicyDuringUpdateURL (\ s a -> s{_usStackPolicyDuringUpdateURL = a}) -- | A list of @Parameter@ structures that specify input parameters for the stack. For more information, see the <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html Parameter> data type. usParameters :: Lens' UpdateStack [Parameter]-usParameters = lens _usParameters (\ s a -> s{_usParameters = a}) . _Default . _Coerce;+usParameters = lens _usParameters (\ s a -> s{_usParameters = a}) . _Default . _Coerce -- | Location of a file containing the updated stack policy. The URL must point to a policy (max size: 16KB) located in an S3 bucket in the same region as the stack. You can specify either the @StackPolicyBody@ or the @StackPolicyURL@ parameter, but not both. You might update the stack policy, for example, in order to protect a new resource that you created during a stack update. If you do not specify a stack policy, the current policy that is associated with the stack is unchanged. usStackPolicyURL :: Lens' UpdateStack (Maybe Text)-usStackPolicyURL = lens _usStackPolicyURL (\ s a -> s{_usStackPolicyURL = a});+usStackPolicyURL = lens _usStackPolicyURL (\ s a -> s{_usStackPolicyURL = a}) -- | Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide.) Conditional: You must specify only one of the following parameters: @TemplateBody@ , @TemplateURL@ , or set the @UsePreviousTemplate@ to @true@ . usTemplateBody :: Lens' UpdateStack (Maybe Text)-usTemplateBody = lens _usTemplateBody (\ s a -> s{_usTemplateBody = a});+usTemplateBody = lens _usTemplateBody (\ s a -> s{_usTemplateBody = a}) -- | Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide. Conditional: You must specify only one of the following parameters: @TemplateBody@ , @TemplateURL@ , or set the @UsePreviousTemplate@ to @true@ . usTemplateURL :: Lens' UpdateStack (Maybe Text)-usTemplateURL = lens _usTemplateURL (\ s a -> s{_usTemplateURL = a});+usTemplateURL = lens _usTemplateURL (\ s a -> s{_usTemplateURL = a}) -- | 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@ . usClientRequestToken :: Lens' UpdateStack (Maybe Text)-usClientRequestToken = lens _usClientRequestToken (\ s a -> s{_usClientRequestToken = a});+usClientRequestToken = lens _usClientRequestToken (\ s a -> s{_usClientRequestToken = a}) -- | A list of values that you must specify before AWS CloudFormation can update certain stacks. Some stack templates might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge their capabilities by specifying this parameter. The only valid values are @CAPABILITY_IAM@ and @CAPABILITY_NAMED_IAM@ . The following resources require you to specify this parameter: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html AWS::IAM::AccessKey> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html AWS::IAM::Group> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html AWS::IAM::InstanceProfile> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html AWS::IAM::Policy> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html AWS::IAM::Role> , <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user.html AWS::IAM::User> , and <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-addusertogroup.html AWS::IAM::UserToGroupAddition> . If your stack template contains these resources, we recommend that you review all permissions associated with them and edit their permissions if necessary. If you have IAM resources, you can specify either capability. If you have IAM resources with custom names, you must specify @CAPABILITY_NAMED_IAM@ . If you don't specify this parameter, this action returns an @InsufficientCapabilities@ error. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities Acknowledging IAM Resources in AWS CloudFormation Templates> . usCapabilities :: Lens' UpdateStack [Capability]-usCapabilities = lens _usCapabilities (\ s a -> s{_usCapabilities = a}) . _Default . _Coerce;+usCapabilities = lens _usCapabilities (\ s a -> s{_usCapabilities = a}) . _Default . _Coerce -- | The rollback triggers for AWS CloudFormation to monitor during stack creation and updating operations, and for the specified monitoring period afterwards. usRollbackConfiguration :: Lens' UpdateStack (Maybe RollbackConfiguration)-usRollbackConfiguration = lens _usRollbackConfiguration (\ s a -> s{_usRollbackConfiguration = a});+usRollbackConfiguration = lens _usRollbackConfiguration (\ s a -> s{_usRollbackConfiguration = a}) -- | The template resource types that you have permissions to work with for this update stack action, such as @AWS::EC2::Instance@ , @AWS::EC2::*@ , or @Custom::MyCustomInstance@ . If the list of resource types doesn't include a resource that you're updating, the stack update fails. By default, AWS CloudFormation grants permissions to all resource types. AWS Identity and Access Management (IAM) uses this parameter for AWS CloudFormation-specific condition keys in IAM policies. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html Controlling Access with AWS Identity and Access Management> . usResourceTypes :: Lens' UpdateStack [Text]-usResourceTypes = lens _usResourceTypes (\ s a -> s{_usResourceTypes = a}) . _Default . _Coerce;+usResourceTypes = lens _usResourceTypes (\ s a -> s{_usResourceTypes = a}) . _Default . _Coerce -- | 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. usTags :: Lens' UpdateStack [Tag]-usTags = lens _usTags (\ s a -> s{_usTags = a}) . _Default . _Coerce;+usTags = lens _usTags (\ s a -> s{_usTags = a}) . _Default . _Coerce -- | The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that AWS CloudFormation assumes to update the stack. AWS CloudFormation uses the role's credentials to make calls on your behalf. AWS CloudFormation always uses this role for all future operations on the stack. As long as users have permission to operate on the stack, AWS CloudFormation uses this role even if the users don't have permission to pass it. Ensure that the role grants least privilege. If you don't specify a value, AWS CloudFormation uses the role that was previously associated with the stack. If no role is available, AWS CloudFormation uses a temporary session that is generated from your user credentials. usRoleARN :: Lens' UpdateStack (Maybe Text)-usRoleARN = lens _usRoleARN (\ s a -> s{_usRoleARN = a});+usRoleARN = lens _usRoleARN (\ s a -> s{_usRoleARN = a}) -- | The name or unique stack ID of the stack to update. usStackName :: Lens' UpdateStack Text-usStackName = lens _usStackName (\ s a -> s{_usStackName = a});+usStackName = lens _usStackName (\ s a -> s{_usStackName = a}) instance AWSRequest UpdateStack where type Rs UpdateStack = UpdateStackResponse@@ -281,15 +281,15 @@ -> UpdateStackResponse updateStackResponse pResponseStatus_ = UpdateStackResponse'- {_usrsStackId = Nothing, _usrsResponseStatus = pResponseStatus_}+ {_usrsStackId = Nothing, _usrsResponseStatus = pResponseStatus_} -- | Unique identifier of the stack. usrsStackId :: Lens' UpdateStackResponse (Maybe Text)-usrsStackId = lens _usrsStackId (\ s a -> s{_usrsStackId = a});+usrsStackId = lens _usrsStackId (\ s a -> s{_usrsStackId = a}) -- | -- | The response status code. usrsResponseStatus :: Lens' UpdateStackResponse Int-usrsResponseStatus = lens _usrsResponseStatus (\ s a -> s{_usrsResponseStatus = a});+usrsResponseStatus = lens _usrsResponseStatus (\ s a -> s{_usrsResponseStatus = a}) instance NFData UpdateStackResponse where
+ gen/Network/AWS/CloudFormation/UpdateStackInstances.hs view
@@ -0,0 +1,186 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.CloudFormation.UpdateStackInstances+-- Copyright : (c) 2013-2018 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates the parameter values for stack instances for the specified accounts, within the specified regions. A stack instance refers to a stack in a specific account and region.+--+--+-- You can only update stack instances in regions and accounts where they already exist; to create additional stack instances, use <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStackInstances.html CreateStackInstances> .+--+-- During stack set updates, any parameters overridden for a stack instance are not updated, but retain their overridden value.+--+-- You can only update the parameter /values/ that are specified in the stack set; to add or delete a parameter itself, use <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html UpdateStackSet> to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html UpdateStackSet> to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using @UpdateStackInstances@ .+--+module Network.AWS.CloudFormation.UpdateStackInstances+ (+ -- * Creating a Request+ updateStackInstances+ , UpdateStackInstances+ -- * Request Lenses+ , usiOperationPreferences+ , usiOperationId+ , usiParameterOverrides+ , usiStackSetName+ , usiAccounts+ , usiRegions++ -- * Destructuring the Response+ , updateStackInstancesResponse+ , UpdateStackInstancesResponse+ -- * Response Lenses+ , usirsOperationId+ , usirsResponseStatus+ ) where++import Network.AWS.CloudFormation.Types+import Network.AWS.CloudFormation.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response++-- | /See:/ 'updateStackInstances' smart constructor.+data UpdateStackInstances = UpdateStackInstances'+ { _usiOperationPreferences :: !(Maybe StackSetOperationPreferences)+ , _usiOperationId :: !(Maybe Text)+ , _usiParameterOverrides :: !(Maybe [Parameter])+ , _usiStackSetName :: !Text+ , _usiAccounts :: ![Text]+ , _usiRegions :: ![Text]+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateStackInstances' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'usiOperationPreferences' - Preferences for how AWS CloudFormation performs this stack set operation.+--+-- * 'usiOperationId' - 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.+--+-- * 'usiParameterOverrides' - A list of input parameters whose values you want to update for the specified stack instances. Any overridden parameter values will be applied to all stack instances in the specified accounts and regions. When specifying parameters and their values, be aware of how AWS CloudFormation sets parameter values during stack instance update operations: * To override the current value for a parameter, include the parameter and specify its value. * To leave a parameter set to its present value, you can do one of the following: * Do not include the parameter in the list. * Include the parameter and specify @UsePreviousValue@ as @true@ . (You cannot specify both a value and set @UsePreviousValue@ to @true@ .) * To set all overridden parameter back to the values specified in the stack set, specify a parameter list but do not include any parameters. * To leave all parameters set to their present values, do not specify this property at all. During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value. You can only override the parameter /values/ that are specified in the stack set; to add or delete a parameter itself, use @UpdateStackSet@ to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html UpdateStackSet> to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using @UpdateStackInstances@ .+--+-- * 'usiStackSetName' - The name or unique ID of the stack set associated with the stack instances.+--+-- * 'usiAccounts' - The names of one or more AWS accounts for which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and regions.+--+-- * 'usiRegions' - The names of one or more regions in which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and regions.+updateStackInstances+ :: Text -- ^ 'usiStackSetName'+ -> UpdateStackInstances+updateStackInstances pStackSetName_ =+ UpdateStackInstances'+ { _usiOperationPreferences = Nothing+ , _usiOperationId = Nothing+ , _usiParameterOverrides = Nothing+ , _usiStackSetName = pStackSetName_+ , _usiAccounts = mempty+ , _usiRegions = mempty+ }+++-- | Preferences for how AWS CloudFormation performs this stack set operation.+usiOperationPreferences :: Lens' UpdateStackInstances (Maybe StackSetOperationPreferences)+usiOperationPreferences = lens _usiOperationPreferences (\ s a -> s{_usiOperationPreferences = a})++-- | 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.+usiOperationId :: Lens' UpdateStackInstances (Maybe Text)+usiOperationId = lens _usiOperationId (\ s a -> s{_usiOperationId = a})++-- | A list of input parameters whose values you want to update for the specified stack instances. Any overridden parameter values will be applied to all stack instances in the specified accounts and regions. When specifying parameters and their values, be aware of how AWS CloudFormation sets parameter values during stack instance update operations: * To override the current value for a parameter, include the parameter and specify its value. * To leave a parameter set to its present value, you can do one of the following: * Do not include the parameter in the list. * Include the parameter and specify @UsePreviousValue@ as @true@ . (You cannot specify both a value and set @UsePreviousValue@ to @true@ .) * To set all overridden parameter back to the values specified in the stack set, specify a parameter list but do not include any parameters. * To leave all parameters set to their present values, do not specify this property at all. During stack set updates, any parameter values overridden for a stack instance are not updated, but retain their overridden value. You can only override the parameter /values/ that are specified in the stack set; to add or delete a parameter itself, use @UpdateStackSet@ to update the stack set template. If you add a parameter to a template, before you can override the parameter value specified in the stack set you must first use <http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html UpdateStackSet> to update all stack instances with the updated template and parameter value specified in the stack set. Once a stack instance has been updated with the new parameter, you can then override the parameter value using @UpdateStackInstances@ .+usiParameterOverrides :: Lens' UpdateStackInstances [Parameter]+usiParameterOverrides = lens _usiParameterOverrides (\ s a -> s{_usiParameterOverrides = a}) . _Default . _Coerce++-- | The name or unique ID of the stack set associated with the stack instances.+usiStackSetName :: Lens' UpdateStackInstances Text+usiStackSetName = lens _usiStackSetName (\ s a -> s{_usiStackSetName = a})++-- | The names of one or more AWS accounts for which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and regions.+usiAccounts :: Lens' UpdateStackInstances [Text]+usiAccounts = lens _usiAccounts (\ s a -> s{_usiAccounts = a}) . _Coerce++-- | The names of one or more regions in which you want to update parameter values for stack instances. The overridden parameter values will be applied to all stack instances in the specified accounts and regions.+usiRegions :: Lens' UpdateStackInstances [Text]+usiRegions = lens _usiRegions (\ s a -> s{_usiRegions = a}) . _Coerce++instance AWSRequest UpdateStackInstances where+ type Rs UpdateStackInstances =+ UpdateStackInstancesResponse+ request = postQuery cloudFormation+ response+ = receiveXMLWrapper "UpdateStackInstancesResult"+ (\ s h x ->+ UpdateStackInstancesResponse' <$>+ (x .@? "OperationId") <*> (pure (fromEnum s)))++instance Hashable UpdateStackInstances where++instance NFData UpdateStackInstances where++instance ToHeaders UpdateStackInstances where+ toHeaders = const mempty++instance ToPath UpdateStackInstances where+ toPath = const "/"++instance ToQuery UpdateStackInstances where+ toQuery UpdateStackInstances'{..}+ = mconcat+ ["Action" =: ("UpdateStackInstances" :: ByteString),+ "Version" =: ("2010-05-15" :: ByteString),+ "OperationPreferences" =: _usiOperationPreferences,+ "OperationId" =: _usiOperationId,+ "ParameterOverrides" =:+ toQuery+ (toQueryList "member" <$> _usiParameterOverrides),+ "StackSetName" =: _usiStackSetName,+ "Accounts" =: toQueryList "member" _usiAccounts,+ "Regions" =: toQueryList "member" _usiRegions]++-- | /See:/ 'updateStackInstancesResponse' smart constructor.+data UpdateStackInstancesResponse = UpdateStackInstancesResponse'+ { _usirsOperationId :: !(Maybe Text)+ , _usirsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateStackInstancesResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'usirsOperationId' - The unique identifier for this stack set operation.+--+-- * 'usirsResponseStatus' - -- | The response status code.+updateStackInstancesResponse+ :: Int -- ^ 'usirsResponseStatus'+ -> UpdateStackInstancesResponse+updateStackInstancesResponse pResponseStatus_ =+ UpdateStackInstancesResponse'+ {_usirsOperationId = Nothing, _usirsResponseStatus = pResponseStatus_}+++-- | The unique identifier for this stack set operation.+usirsOperationId :: Lens' UpdateStackInstancesResponse (Maybe Text)+usirsOperationId = lens _usirsOperationId (\ s a -> s{_usirsOperationId = a})++-- | -- | The response status code.+usirsResponseStatus :: Lens' UpdateStackInstancesResponse Int+usirsResponseStatus = lens _usirsResponseStatus (\ s a -> s{_usirsResponseStatus = a})++instance NFData UpdateStackInstancesResponse where
gen/Network/AWS/CloudFormation/UpdateStackSet.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.UpdateStackSet--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -29,6 +29,7 @@ updateStackSet , UpdateStackSet -- * Request Lenses+ , ussAdministrationRoleARN , ussUsePreviousTemplate , ussParameters , ussOperationPreferences@@ -57,16 +58,17 @@ -- | /See:/ 'updateStackSet' smart constructor. data UpdateStackSet = UpdateStackSet'- { _ussUsePreviousTemplate :: !(Maybe Bool)- , _ussParameters :: !(Maybe [Parameter])- , _ussOperationPreferences :: !(Maybe StackSetOperationPreferences)- , _ussOperationId :: !(Maybe Text)- , _ussTemplateBody :: !(Maybe Text)- , _ussTemplateURL :: !(Maybe Text)- , _ussDescription :: !(Maybe Text)- , _ussCapabilities :: !(Maybe [Capability])- , _ussTags :: !(Maybe [Tag])- , _ussStackSetName :: !Text+ { _ussAdministrationRoleARN :: !(Maybe Text)+ , _ussUsePreviousTemplate :: !(Maybe Bool)+ , _ussParameters :: !(Maybe [Parameter])+ , _ussOperationPreferences :: !(Maybe StackSetOperationPreferences)+ , _ussOperationId :: !(Maybe Text)+ , _ussTemplateBody :: !(Maybe Text)+ , _ussTemplateURL :: !(Maybe Text)+ , _ussDescription :: !(Maybe Text)+ , _ussCapabilities :: !(Maybe [Capability])+ , _ussTags :: !(Maybe [Tag])+ , _ussStackSetName :: !Text } deriving (Eq, Read, Show, Data, Typeable, Generic) @@ -74,6 +76,8 @@ -- -- Use one of the following lenses to modify other fields as desired: --+-- * 'ussAdministrationRoleARN' - The Amazon Resource Number (ARN) of the IAM role to use to update this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html Define Permissions for Multiple Administrators> in the /AWS CloudFormation User Guide/ . If you specify a customized administrator role, AWS CloudFormation uses that role to update the stack. If you do not specify a customized administrator role, AWS CloudFormation performs the update using the role previously associated with the stack set, so long as you have permissions to perform operations on the stack set.+-- -- * 'ussUsePreviousTemplate' - 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. -- -- * 'ussParameters' - A list of input parameters for the stack set template.@@ -98,58 +102,63 @@ -> UpdateStackSet updateStackSet pStackSetName_ = UpdateStackSet'- { _ussUsePreviousTemplate = Nothing- , _ussParameters = Nothing- , _ussOperationPreferences = Nothing- , _ussOperationId = Nothing- , _ussTemplateBody = Nothing- , _ussTemplateURL = Nothing- , _ussDescription = Nothing- , _ussCapabilities = Nothing- , _ussTags = Nothing- , _ussStackSetName = pStackSetName_- }+ { _ussAdministrationRoleARN = Nothing+ , _ussUsePreviousTemplate = Nothing+ , _ussParameters = Nothing+ , _ussOperationPreferences = Nothing+ , _ussOperationId = Nothing+ , _ussTemplateBody = Nothing+ , _ussTemplateURL = Nothing+ , _ussDescription = Nothing+ , _ussCapabilities = Nothing+ , _ussTags = Nothing+ , _ussStackSetName = pStackSetName_+ } +-- | The Amazon Resource Number (ARN) of the IAM role to use to update this stack set. Specify an IAM role only if you are using customized administrator roles to control which users or groups can manage specific stack sets within the same administrator account. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html Define Permissions for Multiple Administrators> in the /AWS CloudFormation User Guide/ . If you specify a customized administrator role, AWS CloudFormation uses that role to update the stack. If you do not specify a customized administrator role, AWS CloudFormation performs the update using the role previously associated with the stack set, so long as you have permissions to perform operations on the stack set.+ussAdministrationRoleARN :: Lens' UpdateStackSet (Maybe Text)+ussAdministrationRoleARN = lens _ussAdministrationRoleARN (\ s a -> s{_ussAdministrationRoleARN = a})+ -- | 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. ussUsePreviousTemplate :: Lens' UpdateStackSet (Maybe Bool)-ussUsePreviousTemplate = lens _ussUsePreviousTemplate (\ s a -> s{_ussUsePreviousTemplate = a});+ussUsePreviousTemplate = lens _ussUsePreviousTemplate (\ s a -> s{_ussUsePreviousTemplate = a}) -- | A list of input parameters for the stack set template. ussParameters :: Lens' UpdateStackSet [Parameter]-ussParameters = lens _ussParameters (\ s a -> s{_ussParameters = a}) . _Default . _Coerce;+ussParameters = lens _ussParameters (\ s a -> s{_ussParameters = a}) . _Default . _Coerce -- | Preferences for how AWS CloudFormation performs this stack set operation. ussOperationPreferences :: Lens' UpdateStackSet (Maybe StackSetOperationPreferences)-ussOperationPreferences = lens _ussOperationPreferences (\ s a -> s{_ussOperationPreferences = a});+ussOperationPreferences = lens _ussOperationPreferences (\ s a -> s{_ussOperationPreferences = a}) -- | 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@ . ussOperationId :: Lens' UpdateStackSet (Maybe Text)-ussOperationId = lens _ussOperationId (\ s a -> s{_ussOperationId = a});+ussOperationId = lens _ussOperationId (\ s a -> s{_ussOperationId = a}) -- | 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 <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html 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. ussTemplateBody :: Lens' UpdateStackSet (Maybe Text)-ussTemplateBody = lens _ussTemplateBody (\ s a -> s{_ussTemplateBody = a});+ussTemplateBody = lens _ussTemplateBody (\ s a -> s{_ussTemplateBody = a}) -- | 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 <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html 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. ussTemplateURL :: Lens' UpdateStackSet (Maybe Text)-ussTemplateURL = lens _ussTemplateURL (\ s a -> s{_ussTemplateURL = a});+ussTemplateURL = lens _ussTemplateURL (\ s a -> s{_ussTemplateURL = a}) -- | A brief description of updates that you are making. ussDescription :: Lens' UpdateStackSet (Maybe Text)-ussDescription = lens _ussDescription (\ s a -> s{_ussDescription = a});+ussDescription = lens _ussDescription (\ s a -> s{_ussDescription = a}) -- | 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 <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities Acknowledging IAM Resources in AWS CloudFormation Templates.> ussCapabilities :: Lens' UpdateStackSet [Capability]-ussCapabilities = lens _ussCapabilities (\ s a -> s{_ussCapabilities = a}) . _Default . _Coerce;+ussCapabilities = lens _ussCapabilities (\ s a -> s{_ussCapabilities = a}) . _Default . _Coerce -- | 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. ussTags :: Lens' UpdateStackSet [Tag]-ussTags = lens _ussTags (\ s a -> s{_ussTags = a}) . _Default . _Coerce;+ussTags = lens _ussTags (\ s a -> s{_ussTags = a}) . _Default . _Coerce -- | The name or unique ID of the stack set that you want to update. ussStackSetName :: Lens' UpdateStackSet Text-ussStackSetName = lens _ussStackSetName (\ s a -> s{_ussStackSetName = a});+ussStackSetName = lens _ussStackSetName (\ s a -> s{_ussStackSetName = a}) instance AWSRequest UpdateStackSet where type Rs UpdateStackSet = UpdateStackSetResponse@@ -175,6 +184,7 @@ = mconcat ["Action" =: ("UpdateStackSet" :: ByteString), "Version" =: ("2010-05-15" :: ByteString),+ "AdministrationRoleARN" =: _ussAdministrationRoleARN, "UsePreviousTemplate" =: _ussUsePreviousTemplate, "Parameters" =: toQuery (toQueryList "member" <$> _ussParameters),@@ -208,15 +218,15 @@ -> UpdateStackSetResponse updateStackSetResponse pResponseStatus_ = UpdateStackSetResponse'- {_ussrsOperationId = Nothing, _ussrsResponseStatus = pResponseStatus_}+ {_ussrsOperationId = Nothing, _ussrsResponseStatus = pResponseStatus_} -- | The unique ID for this stack set operation. ussrsOperationId :: Lens' UpdateStackSetResponse (Maybe Text)-ussrsOperationId = lens _ussrsOperationId (\ s a -> s{_ussrsOperationId = a});+ussrsOperationId = lens _ussrsOperationId (\ s a -> s{_ussrsOperationId = a}) -- | -- | The response status code. ussrsResponseStatus :: Lens' UpdateStackSetResponse Int-ussrsResponseStatus = lens _ussrsResponseStatus (\ s a -> s{_ussrsResponseStatus = a});+ussrsResponseStatus = lens _ussrsResponseStatus (\ s a -> s{_ussrsResponseStatus = a}) instance NFData UpdateStackSetResponse where
gen/Network/AWS/CloudFormation/UpdateTerminationProtection.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.UpdateTerminationProtection--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -67,18 +67,18 @@ -> UpdateTerminationProtection updateTerminationProtection pEnableTerminationProtection_ pStackName_ = UpdateTerminationProtection'- { _utpEnableTerminationProtection = pEnableTerminationProtection_- , _utpStackName = pStackName_- }+ { _utpEnableTerminationProtection = pEnableTerminationProtection_+ , _utpStackName = pStackName_+ } -- | Whether to enable termination protection on the specified stack. utpEnableTerminationProtection :: Lens' UpdateTerminationProtection Bool-utpEnableTerminationProtection = lens _utpEnableTerminationProtection (\ s a -> s{_utpEnableTerminationProtection = a});+utpEnableTerminationProtection = lens _utpEnableTerminationProtection (\ s a -> s{_utpEnableTerminationProtection = a}) -- | The name or unique ID of the stack for which you want to set termination protection. utpStackName :: Lens' UpdateTerminationProtection Text-utpStackName = lens _utpStackName (\ s a -> s{_utpStackName = a});+utpStackName = lens _utpStackName (\ s a -> s{_utpStackName = a}) instance AWSRequest UpdateTerminationProtection where type Rs UpdateTerminationProtection =@@ -130,16 +130,16 @@ -> UpdateTerminationProtectionResponse updateTerminationProtectionResponse pResponseStatus_ = UpdateTerminationProtectionResponse'- {_utprsStackId = Nothing, _utprsResponseStatus = pResponseStatus_}+ {_utprsStackId = Nothing, _utprsResponseStatus = pResponseStatus_} -- | The unique ID of the stack. utprsStackId :: Lens' UpdateTerminationProtectionResponse (Maybe Text)-utprsStackId = lens _utprsStackId (\ s a -> s{_utprsStackId = a});+utprsStackId = lens _utprsStackId (\ s a -> s{_utprsStackId = a}) -- | -- | The response status code. utprsResponseStatus :: Lens' UpdateTerminationProtectionResponse Int-utprsResponseStatus = lens _utprsResponseStatus (\ s a -> s{_utprsResponseStatus = a});+utprsResponseStatus = lens _utprsResponseStatus (\ s a -> s{_utprsResponseStatus = a}) instance NFData UpdateTerminationProtectionResponse where
gen/Network/AWS/CloudFormation/ValidateTemplate.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudFormation.ValidateTemplate--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -75,11 +75,11 @@ -- | Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide. Conditional: You must pass @TemplateURL@ or @TemplateBody@ . If both are passed, only @TemplateBody@ is used. vtTemplateBody :: Lens' ValidateTemplate (Maybe Text)-vtTemplateBody = lens _vtTemplateBody (\ s a -> s{_vtTemplateBody = a});+vtTemplateBody = lens _vtTemplateBody (\ s a -> s{_vtTemplateBody = a}) -- | Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket. For more information, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html Template Anatomy> in the AWS CloudFormation User Guide. Conditional: You must pass @TemplateURL@ or @TemplateBody@ . If both are passed, only @TemplateBody@ is used. vtTemplateURL :: Lens' ValidateTemplate (Maybe Text)-vtTemplateURL = lens _vtTemplateURL (\ s a -> s{_vtTemplateURL = a});+vtTemplateURL = lens _vtTemplateURL (\ s a -> s{_vtTemplateURL = a}) instance AWSRequest ValidateTemplate where type Rs ValidateTemplate = ValidateTemplateResponse@@ -153,37 +153,37 @@ -> ValidateTemplateResponse validateTemplateResponse pResponseStatus_ = ValidateTemplateResponse'- { _vtrsDeclaredTransforms = Nothing- , _vtrsCapabilitiesReason = Nothing- , _vtrsParameters = Nothing- , _vtrsDescription = Nothing- , _vtrsCapabilities = Nothing- , _vtrsResponseStatus = pResponseStatus_- }+ { _vtrsDeclaredTransforms = Nothing+ , _vtrsCapabilitiesReason = Nothing+ , _vtrsParameters = Nothing+ , _vtrsDescription = Nothing+ , _vtrsCapabilities = Nothing+ , _vtrsResponseStatus = pResponseStatus_+ } -- | A list of the transforms that are declared in the template. vtrsDeclaredTransforms :: Lens' ValidateTemplateResponse [Text]-vtrsDeclaredTransforms = lens _vtrsDeclaredTransforms (\ s a -> s{_vtrsDeclaredTransforms = a}) . _Default . _Coerce;+vtrsDeclaredTransforms = lens _vtrsDeclaredTransforms (\ s a -> s{_vtrsDeclaredTransforms = a}) . _Default . _Coerce -- | The list of resources that generated the values in the @Capabilities@ response element. vtrsCapabilitiesReason :: Lens' ValidateTemplateResponse (Maybe Text)-vtrsCapabilitiesReason = lens _vtrsCapabilitiesReason (\ s a -> s{_vtrsCapabilitiesReason = a});+vtrsCapabilitiesReason = lens _vtrsCapabilitiesReason (\ s a -> s{_vtrsCapabilitiesReason = a}) -- | A list of @TemplateParameter@ structures. vtrsParameters :: Lens' ValidateTemplateResponse [TemplateParameter]-vtrsParameters = lens _vtrsParameters (\ s a -> s{_vtrsParameters = a}) . _Default . _Coerce;+vtrsParameters = lens _vtrsParameters (\ s a -> s{_vtrsParameters = a}) . _Default . _Coerce -- | The description found within the template. vtrsDescription :: Lens' ValidateTemplateResponse (Maybe Text)-vtrsDescription = lens _vtrsDescription (\ s a -> s{_vtrsDescription = a});+vtrsDescription = lens _vtrsDescription (\ s a -> s{_vtrsDescription = a}) -- | The capabilities found within the template. If your template contains IAM resources, you must specify the CAPABILITY_IAM or CAPABILITY_NAMED_IAM value for this parameter when you use the 'CreateStack' or 'UpdateStack' actions with your template; otherwise, those actions return an InsufficientCapabilities error. For more information, see <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#capabilities Acknowledging IAM Resources in AWS CloudFormation Templates> . vtrsCapabilities :: Lens' ValidateTemplateResponse [Capability]-vtrsCapabilities = lens _vtrsCapabilities (\ s a -> s{_vtrsCapabilities = a}) . _Default . _Coerce;+vtrsCapabilities = lens _vtrsCapabilities (\ s a -> s{_vtrsCapabilities = a}) . _Default . _Coerce -- | -- | The response status code. vtrsResponseStatus :: Lens' ValidateTemplateResponse Int-vtrsResponseStatus = lens _vtrsResponseStatus (\ s a -> s{_vtrsResponseStatus = a});+vtrsResponseStatus = lens _vtrsResponseStatus (\ s a -> s{_vtrsResponseStatus = a}) instance NFData ValidateTemplateResponse where
gen/Network/AWS/CloudFormation/Waiters.hs view
@@ -7,7 +7,7 @@ -- | -- Module : Network.AWS.CloudFormation.Waiters--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -29,128 +29,130 @@ stackCreateComplete :: Wait DescribeStacks stackCreateComplete = Wait- { _waitName = "StackCreateComplete"- , _waitAttempts = 120- , _waitDelay = 30- , _waitAcceptors =- [ matchAll- "CREATE_COMPLETE"- AcceptSuccess- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchAny- "CREATE_FAILED"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchAny- "DELETE_COMPLETE"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchAny- "DELETE_FAILED"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchAny- "ROLLBACK_FAILED"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchAny- "ROLLBACK_COMPLETE"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchError "ValidationError" AcceptFailure- ]- }+ { _waitName = "StackCreateComplete"+ , _waitAttempts = 120+ , _waitDelay = 30+ , _waitAcceptors =+ [ matchAll+ "CREATE_COMPLETE"+ AcceptSuccess+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchAny+ "CREATE_FAILED"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchAny+ "DELETE_COMPLETE"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchAny+ "DELETE_FAILED"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchAny+ "ROLLBACK_FAILED"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchAny+ "ROLLBACK_COMPLETE"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchError "ValidationError" AcceptFailure+ ]+ } -- | Polls 'Network.AWS.CloudFormation.DescribeStacks' every 30 seconds until a successful state is reached. An error is returned after 120 failed checks. stackUpdateComplete :: Wait DescribeStacks stackUpdateComplete = Wait- { _waitName = "StackUpdateComplete"- , _waitAttempts = 120- , _waitDelay = 30- , _waitAcceptors =- [ matchAll- "UPDATE_COMPLETE"- AcceptSuccess- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchAny- "UPDATE_FAILED"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchAny- "UPDATE_ROLLBACK_FAILED"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchAny- "UPDATE_ROLLBACK_COMPLETE"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchError "ValidationError" AcceptFailure- ]- }+ { _waitName = "StackUpdateComplete"+ , _waitAttempts = 120+ , _waitDelay = 30+ , _waitAcceptors =+ [ matchAll+ "UPDATE_COMPLETE"+ AcceptSuccess+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchAny+ "UPDATE_FAILED"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchAny+ "UPDATE_ROLLBACK_FAILED"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchAny+ "UPDATE_ROLLBACK_COMPLETE"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchError "ValidationError" AcceptFailure+ ]+ } -- | Polls 'Network.AWS.CloudFormation.DescribeStacks' every 5 seconds until a successful state is reached. An error is returned after 20 failed checks. stackExists :: Wait DescribeStacks stackExists = Wait- { _waitName = "StackExists"- , _waitAttempts = 20- , _waitDelay = 5- , _waitAcceptors =- [matchStatus 200 AcceptSuccess, matchError "ValidationError" AcceptRetry]- }+ { _waitName = "StackExists"+ , _waitAttempts = 20+ , _waitDelay = 5+ , _waitAcceptors =+ [ matchStatus 200 AcceptSuccess+ , matchError "ValidationError" AcceptRetry+ ]+ } -- | Polls 'Network.AWS.CloudFormation.DescribeStacks' every 30 seconds until a successful state is reached. An error is returned after 120 failed checks. stackDeleteComplete :: Wait DescribeStacks stackDeleteComplete = Wait- { _waitName = "StackDeleteComplete"- , _waitAttempts = 120- , _waitDelay = 30- , _waitAcceptors =- [ matchAll- "DELETE_COMPLETE"- AcceptSuccess- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchError "ValidationError" AcceptSuccess- , matchAny- "DELETE_FAILED"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchAny- "CREATE_FAILED"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchAny- "ROLLBACK_FAILED"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchAny- "UPDATE_ROLLBACK_FAILED"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- , matchAny- "UPDATE_ROLLBACK_IN_PROGRESS"- AcceptFailure- (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)- ]- }+ { _waitName = "StackDeleteComplete"+ , _waitAttempts = 120+ , _waitDelay = 30+ , _waitAcceptors =+ [ matchAll+ "DELETE_COMPLETE"+ AcceptSuccess+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchError "ValidationError" AcceptSuccess+ , matchAny+ "DELETE_FAILED"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchAny+ "CREATE_FAILED"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchAny+ "ROLLBACK_FAILED"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchAny+ "UPDATE_ROLLBACK_FAILED"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ , matchAny+ "UPDATE_ROLLBACK_IN_PROGRESS"+ AcceptFailure+ (folding (concatOf dsrsStacks) . sStackStatus . to toTextCI)+ ]+ } -- | Polls 'Network.AWS.CloudFormation.DescribeChangeSet' every 30 seconds until a successful state is reached. An error is returned after 120 failed checks. changeSetCreateComplete :: Wait DescribeChangeSet changeSetCreateComplete = Wait- { _waitName = "ChangeSetCreateComplete"- , _waitAttempts = 120- , _waitDelay = 30- , _waitAcceptors =- [ matchAll "CREATE_COMPLETE" AcceptSuccess (desrsStatus . to toTextCI)- , matchAll "FAILED" AcceptFailure (desrsStatus . to toTextCI)- , matchError "ValidationError" AcceptFailure- ]- }+ { _waitName = "ChangeSetCreateComplete"+ , _waitAttempts = 120+ , _waitDelay = 30+ , _waitAcceptors =+ [ matchAll "CREATE_COMPLETE" AcceptSuccess (desrsStatus . to toTextCI)+ , matchAll "FAILED" AcceptFailure (desrsStatus . to toTextCI)+ , matchError "ValidationError" AcceptFailure+ ]+ }
test/Main.hs view
@@ -2,7 +2,7 @@ -- | -- Module : Main--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated
test/Test/AWS/CloudFormation.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} -- Module : Test.AWS.CloudFormation--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : This Source Code Form is subject to the terms of -- the Mozilla Public License, v. 2.0. -- A copy of the MPL can be found in the LICENSE file or
test/Test/AWS/CloudFormation/Internal.hs view
@@ -2,7 +2,7 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- Module : Test.AWS.CloudFormation.Internal--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : This Source Code Form is subject to the terms of -- the Mozilla Public License, v. 2.0. -- A copy of the MPL can be found in the LICENSE file or
test/Test/AWS/Gen/CloudFormation.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Test.AWS.Gen.CloudFormation--- Copyright : (c) 2013-2017 Brendan Hay+-- Copyright : (c) 2013-2018 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated@@ -46,6 +46,9 @@ -- , requestListStackResources $ -- listStackResources --+-- , requestUpdateStackInstances $+-- updateStackInstances+-- -- , requestDeleteStackInstances $ -- deleteStackInstances --@@ -169,6 +172,9 @@ -- , responseListStackResources $ -- listStackResourcesResponse --+-- , responseUpdateStackInstances $+-- updateStackInstancesResponse+-- -- , responseDeleteStackInstances $ -- deleteStackInstancesResponse --@@ -306,6 +312,11 @@ "ListStackResources" "fixture/ListStackResources.yaml" +requestUpdateStackInstances :: UpdateStackInstances -> TestTree+requestUpdateStackInstances = req+ "UpdateStackInstances"+ "fixture/UpdateStackInstances.yaml"+ requestDeleteStackInstances :: DeleteStackInstances -> TestTree requestDeleteStackInstances = req "DeleteStackInstances"@@ -519,6 +530,13 @@ "fixture/ListStackResourcesResponse.proto" cloudFormation (Proxy :: Proxy ListStackResources)++responseUpdateStackInstances :: UpdateStackInstancesResponse -> TestTree+responseUpdateStackInstances = res+ "UpdateStackInstancesResponse"+ "fixture/UpdateStackInstancesResponse.proto"+ cloudFormation+ (Proxy :: Proxy UpdateStackInstances) responseDeleteStackInstances :: DeleteStackInstancesResponse -> TestTree responseDeleteStackInstances = res