amazonka-cloudformation 1.4.3 → 1.4.4
raw patch · 20 files changed
+146/−47 lines, 20 filesdep ~amazonka-cloudformationdep ~amazonka-coredep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-cloudformation, amazonka-core, amazonka-test
API changes (from Hackage documentation)
+ Network.AWS.CloudFormation: Available :: ExecutionStatus
+ Network.AWS.CloudFormation: CapabilityNamedIAM :: Capability
+ Network.AWS.CloudFormation: ExecuteComplete :: ExecutionStatus
+ Network.AWS.CloudFormation: ExecuteFailed :: ExecutionStatus
+ Network.AWS.CloudFormation: ExecuteInProgress :: ExecutionStatus
+ Network.AWS.CloudFormation: Obsolete :: ExecutionStatus
+ Network.AWS.CloudFormation: Unavailable :: ExecutionStatus
+ Network.AWS.CloudFormation: cssExecutionStatus :: Lens' ChangeSetSummary (Maybe ExecutionStatus)
+ Network.AWS.CloudFormation: data ExecutionStatus
+ Network.AWS.CloudFormation.DescribeChangeSet: drsExecutionStatus :: Lens' DescribeChangeSetResponse (Maybe ExecutionStatus)
+ Network.AWS.CloudFormation.Types: Available :: ExecutionStatus
+ Network.AWS.CloudFormation.Types: CapabilityNamedIAM :: Capability
+ Network.AWS.CloudFormation.Types: ExecuteComplete :: ExecutionStatus
+ Network.AWS.CloudFormation.Types: ExecuteFailed :: ExecutionStatus
+ Network.AWS.CloudFormation.Types: ExecuteInProgress :: ExecutionStatus
+ Network.AWS.CloudFormation.Types: Obsolete :: ExecutionStatus
+ Network.AWS.CloudFormation.Types: Unavailable :: ExecutionStatus
+ Network.AWS.CloudFormation.Types: cssExecutionStatus :: Lens' ChangeSetSummary (Maybe ExecutionStatus)
+ Network.AWS.CloudFormation.Types: data ExecutionStatus
Files
- README.md +2/−2
- amazonka-cloudformation.cabal +7/−7
- gen/Network/AWS/CloudFormation.hs +5/−1
- gen/Network/AWS/CloudFormation/CreateChangeSet.hs +6/−2
- gen/Network/AWS/CloudFormation/CreateStack.hs +8/−4
- gen/Network/AWS/CloudFormation/DescribeChangeSet.hs +10/−0
- gen/Network/AWS/CloudFormation/DescribeStackEvents.hs +2/−1
- gen/Network/AWS/CloudFormation/DescribeStackResource.hs +1/−0
- gen/Network/AWS/CloudFormation/DescribeStackResources.hs +1/−0
- gen/Network/AWS/CloudFormation/DescribeStacks.hs +1/−0
- gen/Network/AWS/CloudFormation/EstimateTemplateCost.hs +3/−1
- gen/Network/AWS/CloudFormation/GetTemplate.hs +1/−0
- gen/Network/AWS/CloudFormation/GetTemplateSummary.hs +3/−1
- gen/Network/AWS/CloudFormation/ListStackResources.hs +1/−0
- gen/Network/AWS/CloudFormation/Types.hs +4/−0
- gen/Network/AWS/CloudFormation/Types/Product.hs +24/−8
- gen/Network/AWS/CloudFormation/Types/Sum.hs +56/−15
- gen/Network/AWS/CloudFormation/UpdateStack.hs +8/−4
- gen/Network/AWS/CloudFormation/ValidateTemplate.hs +3/−1
- src/.gitkeep +0/−0
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.4.3`+`1.4.4` ## Description@@ -21,7 +21,7 @@ For more information about this product, go to the <http://aws.amazon.com/cloudformation/ CloudFormation Product Page>. -Amazon CloudFormation makes use of other AWS products. If you need additional technical information about a specific AWS product, you can find the product\'s technical documentation at <http://docs.aws.amazon.com/documentation/>.+Amazon CloudFormation makes use of other AWS products. If you need additional technical information about a specific AWS product, you can find the product\'s technical documentation at <http://docs.aws.amazon.com/>. Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-cloudformation) and the [AWS API Reference](https://aws.amazon.com/documentation/).
amazonka-cloudformation.cabal view
@@ -1,5 +1,5 @@ name: amazonka-cloudformation-version: 1.4.3+version: 1.4.4 synopsis: Amazon CloudFormation SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -11,7 +11,7 @@ category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10-extra-source-files: README.md fixture/*.yaml fixture/*.proto+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep description: AWS CloudFormation @@ -21,7 +21,7 @@ For more information about this product, go to the <http://aws.amazon.com/cloudformation/ CloudFormation Product Page>. - Amazon CloudFormation makes use of other AWS products. If you need additional technical information about a specific AWS product, you can find the product\'s technical documentation at <http://docs.aws.amazon.com/documentation/>.+ Amazon CloudFormation makes use of other AWS products. If you need additional technical information about a specific AWS product, you can find the product\'s technical documentation at <http://docs.aws.amazon.com/>. . The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>, which provides@@ -81,7 +81,7 @@ , Network.AWS.CloudFormation.Types.Sum build-depends:- amazonka-core == 1.4.3.*+ amazonka-core == 1.4.4.* , base >= 4.7 && < 5 test-suite amazonka-cloudformation-test@@ -101,9 +101,9 @@ , Test.AWS.CloudFormation.Internal build-depends:- amazonka-core == 1.4.3.*- , amazonka-test == 1.4.3.*- , amazonka-cloudformation == 1.4.3.*+ amazonka-core == 1.4.4.*+ , amazonka-test == 1.4.4.*+ , amazonka-cloudformation == 1.4.4.* , base , bytestring , tasty
gen/Network/AWS/CloudFormation.hs view
@@ -19,7 +19,7 @@ -- -- For more information about this product, go to the <http://aws.amazon.com/cloudformation/ CloudFormation Product Page>. ----- Amazon CloudFormation makes use of other AWS products. If you need additional technical information about a specific AWS product, you can find the product\'s technical documentation at <http://docs.aws.amazon.com/documentation/>.+-- Amazon CloudFormation makes use of other AWS products. If you need additional technical information about a specific AWS product, you can find the product\'s technical documentation at <http://docs.aws.amazon.com/>. module Network.AWS.CloudFormation ( -- * Service Configuration@@ -153,6 +153,9 @@ -- ** EvaluationType , EvaluationType (..) + -- ** ExecutionStatus+ , ExecutionStatus (..)+ -- ** OnFailure , OnFailure (..) @@ -192,6 +195,7 @@ , cssCreationTime , cssStatus , cssChangeSetName+ , cssExecutionStatus , cssChangeSetId , cssStatusReason , cssStackId
gen/Network/AWS/CloudFormation/CreateChangeSet.hs view
@@ -154,9 +154,13 @@ ccsDescription :: Lens' CreateChangeSet (Maybe Text) ccsDescription = lens _ccsDescription (\ s a -> s{_ccsDescription = a}); --- | A list of capabilities 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.+-- | 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. ----- Currently, the only valid value is 'CAPABILITY_IAM', which is required for the following resources: <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 your template contains any of the listed resources and you don\'t specify this parameter, this action returns an 'InsufficientCapabilities' error.+-- 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;
gen/Network/AWS/CloudFormation/CreateStack.hs view
@@ -128,7 +128,7 @@ csDisableRollback :: Lens' CreateStack (Maybe Bool) 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 <http://console.aws.amazon.com/sns SNS console> or your Command Line Interface (CLI).+-- | The Simple Notification Service (SNS) topic ARNs to publish stack related events. You can find your SNS topic ARNs using the <https://console.aws.amazon.com/sns SNS console> or your Command Line Interface (CLI). csNotificationARNs :: Lens' CreateStack [Text] csNotificationARNs = lens _csNotificationARNs (\ s a -> s{_csNotificationARNs = a}) . _Default . _Coerce; @@ -156,9 +156,13 @@ csTemplateURL :: Lens' CreateStack (Maybe Text) csTemplateURL = lens _csTemplateURL (\ s a -> s{_csTemplateURL = a}); --- | A list of capabilities 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.+-- | 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. ----- Currently, the only valid value is 'CAPABILITY_IAM', which is required for the following resources: <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 your template contains any of the listed resources and you don\'t specify this parameter, this action returns an 'InsufficientCapabilities' error.+-- 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; @@ -168,7 +172,7 @@ csOnFailure :: Lens' CreateStack (Maybe OnFailure) 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).+-- | 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]
gen/Network/AWS/CloudFormation/DescribeChangeSet.hs view
@@ -38,6 +38,7 @@ , drsChanges , drsNotificationARNs , drsChangeSetName+ , drsExecutionStatus , drsChangeSetId , drsNextToken , drsParameters@@ -111,6 +112,7 @@ (x .@? "NotificationARNs" .!@ mempty >>= may (parseXMLList "member")) <*> (x .@? "ChangeSetName")+ <*> (x .@? "ExecutionStatus") <*> (x .@? "ChangeSetId") <*> (x .@? "NextToken") <*>@@ -156,6 +158,7 @@ , _drsChanges :: !(Maybe [Change]) , _drsNotificationARNs :: !(Maybe [Text]) , _drsChangeSetName :: !(Maybe Text)+ , _drsExecutionStatus :: !(Maybe ExecutionStatus) , _drsChangeSetId :: !(Maybe Text) , _drsNextToken :: !(Maybe Text) , _drsParameters :: !(Maybe [Parameter])@@ -182,6 +185,8 @@ -- -- * 'drsChangeSetName' --+-- * 'drsExecutionStatus'+-- -- * 'drsChangeSetId' -- -- * 'drsNextToken'@@ -211,6 +216,7 @@ , _drsChanges = Nothing , _drsNotificationARNs = Nothing , _drsChangeSetName = Nothing+ , _drsExecutionStatus = Nothing , _drsChangeSetId = Nothing , _drsNextToken = Nothing , _drsParameters = Nothing@@ -242,6 +248,10 @@ -- | The name of the change set. drsChangeSetName :: Lens' DescribeChangeSetResponse (Maybe Text) drsChangeSetName = lens _drsChangeSetName (\ s a -> s{_drsChangeSetName = 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.+drsExecutionStatus :: Lens' DescribeChangeSetResponse (Maybe ExecutionStatus)+drsExecutionStatus = lens _drsExecutionStatus (\ s a -> s{_drsExecutionStatus = a}); -- | The ARN of the change set. drsChangeSetId :: Lens' DescribeChangeSetResponse (Maybe Text)
gen/Network/AWS/CloudFormation/DescribeStackEvents.hs view
@@ -18,7 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns all stack related events for a specified stack. For more information about a stack\'s event history, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/concept-stack.html Stacks> in the AWS CloudFormation User Guide.+-- Returns all stack related events for a specified stack in reverse chronological order. For more information about a stack\'s event history, go to <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/concept-stack.html Stacks> in the AWS CloudFormation User Guide. -- -- You can list events for stacks that have failed to create or have been deleted by specifying the unique stack identifier (stack ID). --@@ -79,6 +79,7 @@ -- | 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.
gen/Network/AWS/CloudFormation/DescribeStackResource.hs view
@@ -73,6 +73,7 @@ -- | 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.
gen/Network/AWS/CloudFormation/DescribeStackResources.hs view
@@ -98,6 +98,7 @@ -- | 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.
gen/Network/AWS/CloudFormation/DescribeStacks.hs view
@@ -77,6 +77,7 @@ -- | 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.
gen/Network/AWS/CloudFormation/EstimateTemplateCost.hs view
@@ -44,7 +44,9 @@ import Network.AWS.Request import Network.AWS.Response --- | /See:/ 'estimateTemplateCost' smart constructor.+-- | The input for an < EstimateTemplateCost> action.+--+-- /See:/ 'estimateTemplateCost' smart constructor. data EstimateTemplateCost = EstimateTemplateCost' { _etcParameters :: !(Maybe [Parameter]) , _etcTemplateBody :: !(Maybe Text)
gen/Network/AWS/CloudFormation/GetTemplate.hs view
@@ -69,6 +69,7 @@ -- | 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.
gen/Network/AWS/CloudFormation/GetTemplateSummary.hs view
@@ -208,7 +208,9 @@ gtsrsDescription :: Lens' GetTemplateSummaryResponse (Maybe Text) gtsrsDescription = lens _gtsrsDescription (\ s a -> s{_gtsrsDescription = a}); --- | The capabilities found within the template. Currently, AWS CloudFormation supports only the CAPABILITY_IAM capability. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the < CreateStack> or < UpdateStack> actions with your template; otherwise, those actions return an InsufficientCapabilities error.+-- | 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;
gen/Network/AWS/CloudFormation/ListStackResources.hs view
@@ -80,6 +80,7 @@ -- | 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.
gen/Network/AWS/CloudFormation/Types.hs view
@@ -40,6 +40,9 @@ -- * EvaluationType , EvaluationType (..) + -- * ExecutionStatus+ , ExecutionStatus (..)+ -- * OnFailure , OnFailure (..) @@ -79,6 +82,7 @@ , cssCreationTime , cssStatus , cssChangeSetName+ , cssExecutionStatus , cssChangeSetId , cssStatusReason , cssStackId
gen/Network/AWS/CloudFormation/Types/Product.hs view
@@ -105,14 +105,15 @@ -- -- /See:/ 'changeSetSummary' smart constructor. data ChangeSetSummary = ChangeSetSummary'- { _cssCreationTime :: !(Maybe ISO8601)- , _cssStatus :: !(Maybe ChangeSetStatus)- , _cssChangeSetName :: !(Maybe Text)- , _cssChangeSetId :: !(Maybe Text)- , _cssStatusReason :: !(Maybe Text)- , _cssStackId :: !(Maybe Text)- , _cssDescription :: !(Maybe Text)- , _cssStackName :: !(Maybe Text)+ { _cssCreationTime :: !(Maybe ISO8601)+ , _cssStatus :: !(Maybe ChangeSetStatus)+ , _cssChangeSetName :: !(Maybe Text)+ , _cssExecutionStatus :: !(Maybe ExecutionStatus)+ , _cssChangeSetId :: !(Maybe Text)+ , _cssStatusReason :: !(Maybe Text)+ , _cssStackId :: !(Maybe Text)+ , _cssDescription :: !(Maybe Text)+ , _cssStackName :: !(Maybe Text) } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'ChangeSetSummary' with the minimum fields required to make a request.@@ -125,6 +126,8 @@ -- -- * 'cssChangeSetName' --+-- * 'cssExecutionStatus'+-- -- * 'cssChangeSetId' -- -- * 'cssStatusReason'@@ -141,6 +144,7 @@ { _cssCreationTime = Nothing , _cssStatus = Nothing , _cssChangeSetName = Nothing+ , _cssExecutionStatus = Nothing , _cssChangeSetId = Nothing , _cssStatusReason = Nothing , _cssStackId = Nothing@@ -160,6 +164,10 @@ cssChangeSetName :: Lens' ChangeSetSummary (Maybe Text) cssChangeSetName = lens _cssChangeSetName (\ s a -> s{_cssChangeSetName = 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.+cssExecutionStatus :: Lens' ChangeSetSummary (Maybe ExecutionStatus)+cssExecutionStatus = lens _cssExecutionStatus (\ s a -> s{_cssExecutionStatus = a});+ -- | The ID of the change set. cssChangeSetId :: Lens' ChangeSetSummary (Maybe Text) cssChangeSetId = lens _cssChangeSetId (\ s a -> s{_cssChangeSetId = a});@@ -185,6 +193,7 @@ = ChangeSetSummary' <$> (x .@? "CreationTime") <*> (x .@? "Status") <*> (x .@? "ChangeSetName")+ <*> (x .@? "ExecutionStatus") <*> (x .@? "ChangeSetId") <*> (x .@? "StatusReason") <*> (x .@? "StackId")@@ -541,10 +550,15 @@ -- | 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}); @@ -697,7 +711,9 @@ -- | 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});
gen/Network/AWS/CloudFormation/Types/Sum.hs view
@@ -19,19 +19,22 @@ import Network.AWS.Prelude -data Capability =- CapabilityIAM+data Capability+ = CapabilityIAM+ | CapabilityNamedIAM deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic) instance FromText Capability where parser = takeLowerText >>= \case "capability_iam" -> pure CapabilityIAM+ "capability_named_iam" -> pure CapabilityNamedIAM e -> fromTextError $ "Failure parsing Capability from value: '" <> e- <> "'. Accepted values: CAPABILITY_IAM"+ <> "'. Accepted values: capability_iam, capability_named_iam" instance ToText Capability where toText = \case CapabilityIAM -> "CAPABILITY_IAM"+ CapabilityNamedIAM -> "CAPABILITY_NAMED_IAM" instance Hashable Capability instance NFData Capability@@ -54,7 +57,7 @@ "modify" -> pure Modify "remove" -> pure Remove e -> fromTextError $ "Failure parsing ChangeAction from value: '" <> e- <> "'. Accepted values: Add, Modify, Remove"+ <> "'. Accepted values: add, modify, remove" instance ToText ChangeAction where toText = \case@@ -87,7 +90,7 @@ "delete_complete" -> pure CSSDeleteComplete "failed" -> pure CSSFailed e -> fromTextError $ "Failure parsing ChangeSetStatus from value: '" <> e- <> "'. Accepted values: CREATE_COMPLETE, CREATE_IN_PROGRESS, CREATE_PENDING, DELETE_COMPLETE, FAILED"+ <> "'. Accepted values: create_complete, create_in_progress, create_pending, delete_complete, failed" instance ToText ChangeSetStatus where toText = \case@@ -122,7 +125,7 @@ "resourceattribute" -> pure ResourceAttribute "resourcereference" -> pure ResourceReference e -> fromTextError $ "Failure parsing ChangeSource from value: '" <> e- <> "'. Accepted values: Automatic, DirectModification, ParameterReference, ResourceAttribute, ResourceReference"+ <> "'. Accepted values: automatic, directmodification, parameterreference, resourceattribute, resourcereference" instance ToText ChangeSource where toText = \case@@ -149,7 +152,7 @@ parser = takeLowerText >>= \case "resource" -> pure Resource e -> fromTextError $ "Failure parsing ChangeType from value: '" <> e- <> "'. Accepted values: Resource"+ <> "'. Accepted values: resource" instance ToText ChangeType where toText = \case@@ -174,7 +177,7 @@ "dynamic" -> pure Dynamic "static" -> pure Static e -> fromTextError $ "Failure parsing EvaluationType from value: '" <> e- <> "'. Accepted values: Dynamic, Static"+ <> "'. Accepted values: dynamic, static" instance ToText EvaluationType where toText = \case@@ -190,6 +193,44 @@ instance FromXML EvaluationType where parseXML = parseXMLText "EvaluationType" +data ExecutionStatus+ = Available+ | ExecuteComplete+ | ExecuteFailed+ | ExecuteInProgress+ | Obsolete+ | Unavailable+ deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)++instance FromText ExecutionStatus where+ parser = takeLowerText >>= \case+ "available" -> pure Available+ "execute_complete" -> pure ExecuteComplete+ "execute_failed" -> pure ExecuteFailed+ "execute_in_progress" -> pure ExecuteInProgress+ "obsolete" -> pure Obsolete+ "unavailable" -> pure Unavailable+ e -> fromTextError $ "Failure parsing ExecutionStatus from value: '" <> e+ <> "'. Accepted values: available, execute_complete, execute_failed, execute_in_progress, obsolete, unavailable"++instance ToText ExecutionStatus where+ toText = \case+ Available -> "AVAILABLE"+ ExecuteComplete -> "EXECUTE_COMPLETE"+ ExecuteFailed -> "EXECUTE_FAILED"+ ExecuteInProgress -> "EXECUTE_IN_PROGRESS"+ Obsolete -> "OBSOLETE"+ Unavailable -> "UNAVAILABLE"++instance Hashable ExecutionStatus+instance NFData ExecutionStatus+instance ToByteString ExecutionStatus+instance ToQuery ExecutionStatus+instance ToHeader ExecutionStatus++instance FromXML ExecutionStatus where+ parseXML = parseXMLText "ExecutionStatus"+ data OnFailure = Delete | DoNothing@@ -202,7 +243,7 @@ "do_nothing" -> pure DoNothing "rollback" -> pure Rollback e -> fromTextError $ "Failure parsing OnFailure from value: '" <> e- <> "'. Accepted values: DELETE, DO_NOTHING, ROLLBACK"+ <> "'. Accepted values: delete, do_nothing, rollback" instance ToText OnFailure where toText = \case@@ -228,7 +269,7 @@ "false" -> pure False' "true" -> pure True' e -> fromTextError $ "Failure parsing Replacement from value: '" <> e- <> "'. Accepted values: Conditional, False, True"+ <> "'. Accepted values: conditional, false, true" instance ToText Replacement where toText = \case@@ -257,7 +298,7 @@ "conditionally" -> pure Conditionally "never" -> pure Never e -> fromTextError $ "Failure parsing RequiresRecreation from value: '" <> e- <> "'. Accepted values: Always, Conditionally, Never"+ <> "'. Accepted values: always, conditionally, never" instance ToText RequiresRecreation where toText = \case@@ -292,7 +333,7 @@ "tags" -> pure Tags "updatepolicy" -> pure UpdatePolicy e -> fromTextError $ "Failure parsing ResourceAttribute from value: '" <> e- <> "'. Accepted values: CreationPolicy, DeletionPolicy, Metadata, Properties, Tags, UpdatePolicy"+ <> "'. Accepted values: creationpolicy, deletionpolicy, metadata, properties, tags, updatepolicy" instance ToText ResourceAttribute where toText = \case@@ -322,7 +363,7 @@ "failure" -> pure Failure "success" -> pure Success e -> fromTextError $ "Failure parsing ResourceSignalStatus from value: '" <> e- <> "'. Accepted values: FAILURE, SUCCESS"+ <> "'. Accepted values: failure, success" instance ToText ResourceSignalStatus where toText = \case@@ -361,7 +402,7 @@ "update_failed" -> pure UpdateFailed "update_in_progress" -> pure UpdateInProgress e -> fromTextError $ "Failure parsing ResourceStatus from value: '" <> e- <> "'. Accepted values: CREATE_COMPLETE, CREATE_FAILED, CREATE_IN_PROGRESS, DELETE_COMPLETE, DELETE_FAILED, DELETE_IN_PROGRESS, DELETE_SKIPPED, UPDATE_COMPLETE, UPDATE_FAILED, UPDATE_IN_PROGRESS"+ <> "'. Accepted values: create_complete, create_failed, create_in_progress, delete_complete, delete_failed, delete_in_progress, delete_skipped, update_complete, update_failed, update_in_progress" instance ToText ResourceStatus where toText = \case@@ -423,7 +464,7 @@ "update_rollback_failed" -> pure SSUpdateRollbackFailed "update_rollback_in_progress" -> pure SSUpdateRollbackInProgress e -> fromTextError $ "Failure parsing StackStatus from value: '" <> e- <> "'. Accepted values: CREATE_COMPLETE, CREATE_FAILED, CREATE_IN_PROGRESS, DELETE_COMPLETE, DELETE_FAILED, DELETE_IN_PROGRESS, ROLLBACK_COMPLETE, ROLLBACK_FAILED, ROLLBACK_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_IN_PROGRESS"+ <> "'. Accepted values: create_complete, create_failed, create_in_progress, delete_complete, delete_failed, delete_in_progress, rollback_complete, rollback_failed, rollback_in_progress, update_complete, update_complete_cleanup_in_progress, update_in_progress, update_rollback_complete, update_rollback_complete_cleanup_in_progress, update_rollback_failed, update_rollback_in_progress" instance ToText StackStatus where toText = \case
gen/Network/AWS/CloudFormation/UpdateStack.hs view
@@ -58,7 +58,7 @@ import Network.AWS.Request import Network.AWS.Response --- | The input for < UpdateStack> action.+-- | The input for an < UpdateStack> action. -- -- /See:/ 'updateStack' smart constructor. data UpdateStack = UpdateStack'@@ -174,9 +174,13 @@ usTemplateURL :: Lens' UpdateStack (Maybe Text) usTemplateURL = lens _usTemplateURL (\ s a -> s{_usTemplateURL = a}); --- | A list of capabilities 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.+-- | 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. ----- Currently, the only valid value is 'CAPABILITY_IAM', which is required for the following resources: <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 your template contains any of the listed resources and you don\'t specify this parameter, this action returns an 'InsufficientCapabilities' error.+-- 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; @@ -241,7 +245,7 @@ "Tags" =: toQuery (toQueryList "member" <$> _usTags), "StackName" =: _usStackName] --- | The output for a < UpdateStack> action.+-- | The output for an < UpdateStack> action. -- -- /See:/ 'updateStackResponse' smart constructor. data UpdateStackResponse = UpdateStackResponse'
gen/Network/AWS/CloudFormation/ValidateTemplate.hs view
@@ -163,7 +163,9 @@ vtrsDescription :: Lens' ValidateTemplateResponse (Maybe Text) vtrsDescription = lens _vtrsDescription (\ s a -> s{_vtrsDescription = a}); --- | The capabilities found within the template. Currently, AWS CloudFormation supports only the CAPABILITY_IAM capability. If your template contains IAM resources, you must specify the CAPABILITY_IAM value for this parameter when you use the < CreateStack> or < UpdateStack> actions with your template; otherwise, those actions return an InsufficientCapabilities error.+-- | 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;
+ src/.gitkeep view