-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Amazon CloudFormation SDK.
--   
--   The types from this library are intended to be used with
--   <a>amazonka</a>, which provides mechanisms for specifying AuthN/AuthZ
--   information, sending requests, and receiving responses.
--   
--   Lenses are used for constructing and manipulating types, due to the
--   depth of nesting of AWS types and transparency regarding
--   de/serialisation into more palatable Haskell values. The provided
--   lenses should be compatible with any of the major lens libraries such
--   as <a>lens</a> or <a>lens-family-core</a>.
--   
--   See <a>Network.AWS.CloudFormation</a> or <a>the AWS documentation</a>
--   to get started.
@package amazonka-cloudformation
@version 1.4.5


module Network.AWS.CloudFormation.Types

-- | API version <tt>2010-05-15</tt> of the Amazon CloudFormation SDK
--   configuration.
cloudFormation :: Service

-- | The specified change set name or ID doesn't exit. To view valid change
--   sets for a stack, use the <tt>ListChangeSets</tt> action.
_ChangeSetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified change set cannot be used to update the stack. For
--   example, the change set status might be <tt>CREATE_IN_PROGRESS</tt> or
--   the stack status might be <tt>UPDATE_IN_PROGRESS</tt> .
_InvalidChangeSetStatusException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The template contains resources with capabilities that were not
--   specified in the Capabilities parameter.
_InsufficientCapabilitiesException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Resource with the name requested already exists.
_AlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Quota for the resource has already been reached.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
data Capability
CapabilityIAM :: Capability
CapabilityNamedIAM :: Capability
data ChangeAction
Add :: ChangeAction
Modify :: ChangeAction
Remove :: ChangeAction
data ChangeSetStatus
CSSCreateComplete :: ChangeSetStatus
CSSCreateInProgress :: ChangeSetStatus
CSSCreatePending :: ChangeSetStatus
CSSDeleteComplete :: ChangeSetStatus
CSSFailed :: ChangeSetStatus
data ChangeSetType
Create :: ChangeSetType
Update :: ChangeSetType
data ChangeSource
Automatic :: ChangeSource
DirectModification :: ChangeSource
ParameterReference :: ChangeSource
ResourceAttribute :: ChangeSource
ResourceReference :: ChangeSource
data ChangeType
Resource :: ChangeType
data EvaluationType
Dynamic :: EvaluationType
Static :: EvaluationType
data ExecutionStatus
Available :: ExecutionStatus
ExecuteComplete :: ExecutionStatus
ExecuteFailed :: ExecutionStatus
ExecuteInProgress :: ExecutionStatus
Obsolete :: ExecutionStatus
Unavailable :: ExecutionStatus
data OnFailure
Delete :: OnFailure
DoNothing :: OnFailure
Rollback :: OnFailure
data Replacement
Conditional :: Replacement
False' :: Replacement
True' :: Replacement
data RequiresRecreation
Always :: RequiresRecreation
Conditionally :: RequiresRecreation
Never :: RequiresRecreation
data ResourceAttribute
CreationPolicy :: ResourceAttribute
DeletionPolicy :: ResourceAttribute
Metadata :: ResourceAttribute
Properties :: ResourceAttribute
Tags :: ResourceAttribute
UpdatePolicy :: ResourceAttribute
data ResourceSignalStatus
Failure :: ResourceSignalStatus
Success :: ResourceSignalStatus
data ResourceStatus
CreateComplete :: ResourceStatus
CreateFailed :: ResourceStatus
CreateInProgress :: ResourceStatus
DeleteComplete :: ResourceStatus
DeleteFailed :: ResourceStatus
DeleteInProgress :: ResourceStatus
DeleteSkipped :: ResourceStatus
UpdateComplete :: ResourceStatus
UpdateFailed :: ResourceStatus
UpdateInProgress :: ResourceStatus
data StackStatus
SSCreateComplete :: StackStatus
SSCreateFailed :: StackStatus
SSCreateInProgress :: StackStatus
SSDeleteComplete :: StackStatus
SSDeleteFailed :: StackStatus
SSDeleteInProgress :: StackStatus
SSReviewInProgress :: StackStatus
SSRollbackComplete :: StackStatus
SSRollbackFailed :: StackStatus
SSRollbackInProgress :: StackStatus
SSUpdateComplete :: StackStatus
SSUpdateCompleteCleanupInProgress :: StackStatus
SSUpdateInProgress :: StackStatus
SSUpdateRollbackComplete :: StackStatus
SSUpdateRollbackCompleteCleanupInProgress :: StackStatus
SSUpdateRollbackFailed :: StackStatus
SSUpdateRollbackInProgress :: StackStatus
data TemplateStage
Original :: TemplateStage
Processed :: TemplateStage

-- | The AccountLimit data type.
--   
--   <i>See:</i> <a>accountLimit</a> smart constructor.
data AccountLimit

-- | Creates a value of <a>AccountLimit</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>alValue</a> - The value that is associated with the account
--   limit name.</li>
--   <li><a>alName</a> - The name of the account limit. Currently, the only
--   account limit is <tt>StackLimit</tt> .</li>
--   </ul>
accountLimit :: AccountLimit

-- | The value that is associated with the account limit name.
alValue :: Lens' AccountLimit (Maybe Int)

-- | The name of the account limit. Currently, the only account limit is
--   <tt>StackLimit</tt> .
alName :: Lens' AccountLimit (Maybe Text)

-- | The <tt>Change</tt> structure describes the changes AWS CloudFormation
--   will perform if you execute the change set.
--   
--   <i>See:</i> <a>change</a> smart constructor.
data Change

-- | Creates a value of <a>Change</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cResourceChange</a> - A <tt>ResourceChange</tt> structure that
--   describes the resource and action that AWS CloudFormation will
--   perform.</li>
--   <li><a>cType</a> - The type of entity that AWS CloudFormation changes.
--   Currently, the only entity type is <tt>Resource</tt> .</li>
--   </ul>
change :: Change

-- | A <tt>ResourceChange</tt> structure that describes the resource and
--   action that AWS CloudFormation will perform.
cResourceChange :: Lens' Change (Maybe ResourceChange)

-- | The type of entity that AWS CloudFormation changes. Currently, the
--   only entity type is <tt>Resource</tt> .
cType :: Lens' Change (Maybe ChangeType)

-- | The <tt>ChangeSetSummary</tt> structure describes a change set, its
--   status, and the stack with which it's associated.
--   
--   <i>See:</i> <a>changeSetSummary</a> smart constructor.
data ChangeSetSummary

-- | Creates a value of <a>ChangeSetSummary</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cssCreationTime</a> - The start time when the change set was
--   created, in UTC.</li>
--   <li><a>cssStatus</a> - The state of the change set, such as
--   <tt>CREATE_IN_PROGRESS</tt> , <tt>CREATE_COMPLETE</tt> , or
--   <tt>FAILED</tt> .</li>
--   <li><a>cssChangeSetName</a> - The name of the change set.</li>
--   <li><a>cssExecutionStatus</a> - If the change set execution status is
--   <tt>AVAILABLE</tt> , 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 <tt>UNAVAILABLE</tt> state because AWS
--   CloudFormation is still creating it or in an <tt>OBSOLETE</tt> state
--   because the stack was already updated.</li>
--   <li><a>cssChangeSetId</a> - The ID of the change set.</li>
--   <li><a>cssStatusReason</a> - A description of the change set's status.
--   For example, if your change set is in the <tt>FAILED</tt> state, AWS
--   CloudFormation shows the error message.</li>
--   <li><a>cssStackId</a> - The ID of the stack with which the change set
--   is associated.</li>
--   <li><a>cssDescription</a> - Descriptive information about the change
--   set.</li>
--   <li><a>cssStackName</a> - The name of the stack with which the change
--   set is associated.</li>
--   </ul>
changeSetSummary :: ChangeSetSummary

-- | The start time when the change set was created, in UTC.
cssCreationTime :: Lens' ChangeSetSummary (Maybe UTCTime)

-- | The state of the change set, such as <tt>CREATE_IN_PROGRESS</tt> ,
--   <tt>CREATE_COMPLETE</tt> , or <tt>FAILED</tt> .
cssStatus :: Lens' ChangeSetSummary (Maybe ChangeSetStatus)

-- | The name of the change set.
cssChangeSetName :: Lens' ChangeSetSummary (Maybe Text)

-- | If the change set execution status is <tt>AVAILABLE</tt> , 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
--   <tt>UNAVAILABLE</tt> state because AWS CloudFormation is still
--   creating it or in an <tt>OBSOLETE</tt> state because the stack was
--   already updated.
cssExecutionStatus :: Lens' ChangeSetSummary (Maybe ExecutionStatus)

-- | The ID of the change set.
cssChangeSetId :: Lens' ChangeSetSummary (Maybe Text)

-- | A description of the change set's status. For example, if your change
--   set is in the <tt>FAILED</tt> state, AWS CloudFormation shows the
--   error message.
cssStatusReason :: Lens' ChangeSetSummary (Maybe Text)

-- | The ID of the stack with which the change set is associated.
cssStackId :: Lens' ChangeSetSummary (Maybe Text)

-- | Descriptive information about the change set.
cssDescription :: Lens' ChangeSetSummary (Maybe Text)

-- | The name of the stack with which the change set is associated.
cssStackName :: Lens' ChangeSetSummary (Maybe Text)

-- | The <tt>Export</tt> structure describes the exported output values for
--   a stack.
--   
--   <i>See:</i> <a>export'</a> smart constructor.
data Export

-- | Creates a value of <a>Export</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eValue</a> - The value of the exported output, such as a
--   resource physical ID. This value is defined in the <tt>Export</tt>
--   field in the associated stack's <tt>Outputs</tt> section.</li>
--   <li><a>eExportingStackId</a> - The stack that contains the exported
--   output name and value.</li>
--   <li><a>eName</a> - The name of exported output value. Use this name
--   and the <tt>Fn::ImportValue</tt> function to import the associated
--   value into other stacks. The name is defined in the <tt>Export</tt>
--   field in the associated stack's <tt>Outputs</tt> section.</li>
--   </ul>
export' :: Export

-- | The value of the exported output, such as a resource physical ID. This
--   value is defined in the <tt>Export</tt> field in the associated
--   stack's <tt>Outputs</tt> section.
eValue :: Lens' Export (Maybe Text)

-- | The stack that contains the exported output name and value.
eExportingStackId :: Lens' Export (Maybe Text)

-- | The name of exported output value. Use this name and the
--   <tt>Fn::ImportValue</tt> function to import the associated value into
--   other stacks. The name is defined in the <tt>Export</tt> field in the
--   associated stack's <tt>Outputs</tt> section.
eName :: Lens' Export (Maybe Text)

-- | The Output data type.
--   
--   <i>See:</i> <a>output</a> smart constructor.
data Output

-- | Creates a value of <a>Output</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oOutputValue</a> - The value associated with the output.</li>
--   <li><a>oOutputKey</a> - The key associated with the output.</li>
--   <li><a>oDescription</a> - User defined description associated with the
--   output.</li>
--   </ul>
output :: Output

-- | The value associated with the output.
oOutputValue :: Lens' Output (Maybe Text)

-- | The key associated with the output.
oOutputKey :: Lens' Output (Maybe Text)

-- | User defined description associated with the output.
oDescription :: Lens' Output (Maybe Text)

-- | The Parameter data type.
--   
--   <i>See:</i> <a>parameter</a> smart constructor.
data Parameter

-- | Creates a value of <a>Parameter</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pParameterValue</a> - The value associated with the
--   parameter.</li>
--   <li><a>pParameterKey</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.</li>
--   <li><a>pUsePreviousValue</a> - During a stack update, use the existing
--   parameter value that the stack is using for a given parameter key. If
--   you specify <tt>true</tt> , do not specify a parameter value.</li>
--   </ul>
parameter :: Parameter

-- | The value associated with the parameter.
pParameterValue :: Lens' Parameter (Maybe Text)

-- | 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)

-- | During a stack update, use the existing parameter value that the stack
--   is using for a given parameter key. If you specify <tt>true</tt> , do
--   not specify a parameter value.
pUsePreviousValue :: Lens' Parameter (Maybe Bool)

-- | A set of criteria that AWS CloudFormation uses to validate parameter
--   values. Although other constraints might be defined in the stack
--   template, AWS CloudFormation returns only the <tt>AllowedValues</tt>
--   property.
--   
--   <i>See:</i> <a>parameterConstraints</a> smart constructor.
data ParameterConstraints

-- | Creates a value of <a>ParameterConstraints</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pcAllowedValues</a> - A list of values that are permitted for a
--   parameter.</li>
--   </ul>
parameterConstraints :: ParameterConstraints

-- | A list of values that are permitted for a parameter.
pcAllowedValues :: Lens' ParameterConstraints [Text]

-- | The ParameterDeclaration data type.
--   
--   <i>See:</i> <a>parameterDeclaration</a> smart constructor.
data ParameterDeclaration

-- | Creates a value of <a>ParameterDeclaration</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pdParameterKey</a> - The name that is associated with the
--   parameter.</li>
--   <li><a>pdParameterType</a> - The type of parameter.</li>
--   <li><a>pdParameterConstraints</a> - The criteria that AWS
--   CloudFormation uses to validate parameter values.</li>
--   <li><a>pdDefaultValue</a> - The default value of the parameter.</li>
--   <li><a>pdNoEcho</a> - Flag that indicates whether the parameter value
--   is shown as plain text in logs and in the AWS Management Console.</li>
--   <li><a>pdDescription</a> - The description that is associate with the
--   parameter.</li>
--   </ul>
parameterDeclaration :: ParameterDeclaration

-- | The name that is associated with the parameter.
pdParameterKey :: Lens' ParameterDeclaration (Maybe Text)

-- | The type of parameter.
pdParameterType :: Lens' ParameterDeclaration (Maybe Text)

-- | The criteria that AWS CloudFormation uses to validate parameter
--   values.
pdParameterConstraints :: Lens' ParameterDeclaration (Maybe ParameterConstraints)

-- | The default value of the parameter.
pdDefaultValue :: Lens' ParameterDeclaration (Maybe Text)

-- | 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)

-- | The description that is associate with the parameter.
pdDescription :: Lens' ParameterDeclaration (Maybe Text)

-- | The <tt>ResourceChange</tt> structure describes the resource and the
--   action that AWS CloudFormation will perform on it if you execute this
--   change set.
--   
--   <i>See:</i> <a>resourceChange</a> smart constructor.
data ResourceChange

-- | Creates a value of <a>ResourceChange</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rcLogicalResourceId</a> - The resource's logical ID, which is
--   defined in the stack's template.</li>
--   <li><a>rcPhysicalResourceId</a> - The resource's physical ID (resource
--   name). Resources that you are adding don't have physical IDs because
--   they haven't been created.</li>
--   <li><a>rcResourceType</a> - The type of AWS CloudFormation resource,
--   such as <tt>AWS::S3::Bucket</tt> .</li>
--   <li><a>rcAction</a> - The action that AWS CloudFormation takes on the
--   resource, such as <tt>Add</tt> (adds a new resource), <tt>Modify</tt>
--   (changes a resource), or <tt>Remove</tt> (deletes a resource).</li>
--   <li><a>rcScope</a> - For the <tt>Modify</tt> action, indicates which
--   resource attribute is triggering this update, such as a change in the
--   resource attribute's <tt>Metadata</tt> , <tt>Properties</tt> , or
--   <tt>Tags</tt> .</li>
--   <li><a>rcDetails</a> - For the <tt>Modify</tt> action, a list of
--   <tt>ResourceChangeDetail</tt> structures that describes the changes
--   that AWS CloudFormation will make to the resource.</li>
--   <li><a>rcReplacement</a> - For the <tt>Modify</tt> 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
--   <tt>RequiresRecreation</tt> property in the
--   <tt>ResourceTargetDefinition</tt> structure. For example, if the
--   <tt>RequiresRecreation</tt> field is <tt>Always</tt> and the
--   <tt>Evaluation</tt> field is <tt>Static</tt> , <tt>Replacement</tt> is
--   <tt>True</tt> . If the <tt>RequiresRecreation</tt> field is
--   <tt>Always</tt> and the <tt>Evaluation</tt> field is <tt>Dynamic</tt>
--   , <tt>Replacement</tt> is <tt>Conditionally</tt> . If you have
--   multiple changes with different <tt>RequiresRecreation</tt> values,
--   the <tt>Replacement</tt> value depends on the change with the most
--   impact. A <tt>RequiresRecreation</tt> value of <tt>Always</tt> has the
--   most impact, followed by <tt>Conditionally</tt> , and then
--   <tt>Never</tt> .</li>
--   </ul>
resourceChange :: ResourceChange

-- | The resource's logical ID, which is defined in the stack's template.
rcLogicalResourceId :: Lens' ResourceChange (Maybe Text)

-- | 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)

-- | The type of AWS CloudFormation resource, such as
--   <tt>AWS::S3::Bucket</tt> .
rcResourceType :: Lens' ResourceChange (Maybe Text)

-- | The action that AWS CloudFormation takes on the resource, such as
--   <tt>Add</tt> (adds a new resource), <tt>Modify</tt> (changes a
--   resource), or <tt>Remove</tt> (deletes a resource).
rcAction :: Lens' ResourceChange (Maybe ChangeAction)

-- | For the <tt>Modify</tt> action, indicates which resource attribute is
--   triggering this update, such as a change in the resource attribute's
--   <tt>Metadata</tt> , <tt>Properties</tt> , or <tt>Tags</tt> .
rcScope :: Lens' ResourceChange [ResourceAttribute]

-- | For the <tt>Modify</tt> action, a list of
--   <tt>ResourceChangeDetail</tt> structures that describes the changes
--   that AWS CloudFormation will make to the resource.
rcDetails :: Lens' ResourceChange [ResourceChangeDetail]

-- | For the <tt>Modify</tt> 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
--   <tt>RequiresRecreation</tt> property in the
--   <tt>ResourceTargetDefinition</tt> structure. For example, if the
--   <tt>RequiresRecreation</tt> field is <tt>Always</tt> and the
--   <tt>Evaluation</tt> field is <tt>Static</tt> , <tt>Replacement</tt> is
--   <tt>True</tt> . If the <tt>RequiresRecreation</tt> field is
--   <tt>Always</tt> and the <tt>Evaluation</tt> field is <tt>Dynamic</tt>
--   , <tt>Replacement</tt> is <tt>Conditionally</tt> . If you have
--   multiple changes with different <tt>RequiresRecreation</tt> values,
--   the <tt>Replacement</tt> value depends on the change with the most
--   impact. A <tt>RequiresRecreation</tt> value of <tt>Always</tt> has the
--   most impact, followed by <tt>Conditionally</tt> , and then
--   <tt>Never</tt> .
rcReplacement :: Lens' ResourceChange (Maybe Replacement)

-- | For a resource with <tt>Modify</tt> as the action, the
--   <tt>ResourceChange</tt> structure describes the changes AWS
--   CloudFormation will make to that resource.
--   
--   <i>See:</i> <a>resourceChangeDetail</a> smart constructor.
data ResourceChangeDetail

-- | Creates a value of <a>ResourceChangeDetail</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rcdCausingEntity</a> - The identity of the entity that
--   triggered this change. This entity is a member of the group that is
--   specified by the <tt>ChangeSource</tt> field. For example, if you
--   modified the value of the <tt>KeyPairName</tt> parameter, the
--   <tt>CausingEntity</tt> is the name of the parameter
--   (<tt>KeyPairName</tt> ). If the <tt>ChangeSource</tt> value is
--   <tt>DirectModification</tt> , no value is given for
--   <tt>CausingEntity</tt> .</li>
--   <li><a>rcdChangeSource</a> - The group to which the
--   <tt>CausingEntity</tt> value belongs. There are five entity groups: *
--   <tt>ResourceReference</tt> entities are <tt>Ref</tt> intrinsic
--   functions that refer to resources in the template, such as <tt>{
--   <a>Ref</a> : <a>MyEC2InstanceResource</a> }</tt> . *
--   <tt>ParameterReference</tt> entities are <tt>Ref</tt> intrinsic
--   functions that get template parameter values, such as <tt>{ <a>Ref</a>
--   : <a>MyPasswordParameter</a> }</tt> . * <tt>ResourceAttribute</tt>
--   entities are <tt>Fn::GetAtt</tt> intrinsic functions that get resource
--   attribute values, such as <tt>{ <a>Fn::GetAtt</a> : [
--   <a>MyEC2InstanceResource</a>, <a>PublicDnsName</a> ] }</tt> . *
--   <tt>DirectModification</tt> entities are changes that are made
--   directly to the template. * <tt>Automatic</tt> entities are
--   <tt>AWS::CloudFormation::Stack</tt> resource types, which are also
--   known as nested stacks. If you made no changes to the
--   <tt>AWS::CloudFormation::Stack</tt> resource, AWS CloudFormation sets
--   the <tt>ChangeSource</tt> to <tt>Automatic</tt> 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.</li>
--   <li><a>rcdEvaluation</a> - Indicates whether AWS CloudFormation can
--   determine the target value, and whether the target value will change
--   before you execute a change set. For <tt>Static</tt> evaluations, AWS
--   CloudFormation can determine that the target value will change, and
--   its value. For example, if you directly modify the
--   <tt>InstanceType</tt> property of an EC2 instance, AWS CloudFormation
--   knows that this property value will change, and its value, so this is
--   a <tt>Static</tt> evaluation. For <tt>Dynamic</tt> evaluations, cannot
--   determine the target value because it depends on the result of an
--   intrinsic function, such as a <tt>Ref</tt> or <tt>Fn::GetAtt</tt>
--   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.</li>
--   <li><a>rcdTarget</a> - A <tt>ResourceTargetDefinition</tt> structure
--   that describes the field that AWS CloudFormation will change and
--   whether the resource will be recreated.</li>
--   </ul>
resourceChangeDetail :: ResourceChangeDetail

-- | The identity of the entity that triggered this change. This entity is
--   a member of the group that is specified by the <tt>ChangeSource</tt>
--   field. For example, if you modified the value of the
--   <tt>KeyPairName</tt> parameter, the <tt>CausingEntity</tt> is the name
--   of the parameter (<tt>KeyPairName</tt> ). If the <tt>ChangeSource</tt>
--   value is <tt>DirectModification</tt> , no value is given for
--   <tt>CausingEntity</tt> .
rcdCausingEntity :: Lens' ResourceChangeDetail (Maybe Text)

-- | The group to which the <tt>CausingEntity</tt> value belongs. There are
--   five entity groups: * <tt>ResourceReference</tt> entities are
--   <tt>Ref</tt> intrinsic functions that refer to resources in the
--   template, such as <tt>{ <a>Ref</a> : <a>MyEC2InstanceResource</a>
--   }</tt> . * <tt>ParameterReference</tt> entities are <tt>Ref</tt>
--   intrinsic functions that get template parameter values, such as <tt>{
--   <a>Ref</a> : <a>MyPasswordParameter</a> }</tt> . *
--   <tt>ResourceAttribute</tt> entities are <tt>Fn::GetAtt</tt> intrinsic
--   functions that get resource attribute values, such as <tt>{
--   <a>Fn::GetAtt</a> : [ <a>MyEC2InstanceResource</a>,
--   <a>PublicDnsName</a> ] }</tt> . * <tt>DirectModification</tt> entities
--   are changes that are made directly to the template. *
--   <tt>Automatic</tt> entities are <tt>AWS::CloudFormation::Stack</tt>
--   resource types, which are also known as nested stacks. If you made no
--   changes to the <tt>AWS::CloudFormation::Stack</tt> resource, AWS
--   CloudFormation sets the <tt>ChangeSource</tt> to <tt>Automatic</tt>
--   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)

-- | Indicates whether AWS CloudFormation can determine the target value,
--   and whether the target value will change before you execute a change
--   set. For <tt>Static</tt> evaluations, AWS CloudFormation can determine
--   that the target value will change, and its value. For example, if you
--   directly modify the <tt>InstanceType</tt> property of an EC2 instance,
--   AWS CloudFormation knows that this property value will change, and its
--   value, so this is a <tt>Static</tt> evaluation. For <tt>Dynamic</tt>
--   evaluations, cannot determine the target value because it depends on
--   the result of an intrinsic function, such as a <tt>Ref</tt> or
--   <tt>Fn::GetAtt</tt> 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)

-- | A <tt>ResourceTargetDefinition</tt> structure that describes the field
--   that AWS CloudFormation will change and whether the resource will be
--   recreated.
rcdTarget :: Lens' ResourceChangeDetail (Maybe ResourceTargetDefinition)

-- | The field that AWS CloudFormation will change, such as the name of a
--   resource's property, and whether the resource will be recreated.
--   
--   <i>See:</i> <a>resourceTargetDefinition</a> smart constructor.
data ResourceTargetDefinition

-- | Creates a value of <a>ResourceTargetDefinition</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtdAttribute</a> - Indicates which resource attribute is
--   triggering this update, such as a change in the resource attribute's
--   <tt>Metadata</tt> , <tt>Properties</tt> , or <tt>Tags</tt> .</li>
--   <li><a>rtdRequiresRecreation</a> - If the <tt>Attribute</tt> value is
--   <tt>Properties</tt> , indicates whether a change to this property
--   causes the resource to be recreated. The value can be <tt>Never</tt> ,
--   <tt>Always</tt> , or <tt>Conditionally</tt> . To determine the
--   conditions for a <tt>Conditionally</tt> recreation, see the update
--   behavior for that <a>property</a> in the AWS CloudFormation User
--   Guide.</li>
--   <li><a>rtdName</a> - If the <tt>Attribute</tt> value is
--   <tt>Properties</tt> , the name of the property. For all other
--   attributes, the value is null.</li>
--   </ul>
resourceTargetDefinition :: ResourceTargetDefinition

-- | Indicates which resource attribute is triggering this update, such as
--   a change in the resource attribute's <tt>Metadata</tt> ,
--   <tt>Properties</tt> , or <tt>Tags</tt> .
rtdAttribute :: Lens' ResourceTargetDefinition (Maybe ResourceAttribute)

-- | If the <tt>Attribute</tt> value is <tt>Properties</tt> , indicates
--   whether a change to this property causes the resource to be recreated.
--   The value can be <tt>Never</tt> , <tt>Always</tt> , or
--   <tt>Conditionally</tt> . To determine the conditions for a
--   <tt>Conditionally</tt> recreation, see the update behavior for that
--   <a>property</a> in the AWS CloudFormation User Guide.
rtdRequiresRecreation :: Lens' ResourceTargetDefinition (Maybe RequiresRecreation)

-- | If the <tt>Attribute</tt> value is <tt>Properties</tt> , the name of
--   the property. For all other attributes, the value is null.
rtdName :: Lens' ResourceTargetDefinition (Maybe Text)

-- | The Stack data type.
--   
--   <i>See:</i> <a>stack</a> smart constructor.
data Stack

-- | Creates a value of <a>Stack</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sDisableRollback</a> - Boolean to enable or disable rollback on
--   stack creation failures: * <tt>true</tt> : disable rollback *
--   <tt>false</tt> : enable rollback</li>
--   <li><a>sLastUpdatedTime</a> - The time the stack was last updated.
--   This field will only be returned if the stack has been updated at
--   least once.</li>
--   <li><a>sNotificationARNs</a> - SNS topic ARNs to which stack related
--   events are published.</li>
--   <li><a>sStackStatusReason</a> - Success/failure message associated
--   with the stack status.</li>
--   <li><a>sChangeSetId</a> - The unique ID of the change set.</li>
--   <li><a>sOutputs</a> - A list of output structures.</li>
--   <li><a>sParameters</a> - A list of <tt>Parameter</tt> structures.</li>
--   <li><a>sStackId</a> - Unique identifier of the stack.</li>
--   <li><a>sDescription</a> - A user-defined description associated with
--   the stack.</li>
--   <li><a>sCapabilities</a> - The capabilities allowed in the stack.</li>
--   <li><a>sTags</a> - A list of <tt>Tag</tt> s that specify information
--   about the stack.</li>
--   <li><a>sTimeoutInMinutes</a> - The amount of time within which stack
--   creation should complete.</li>
--   <li><a>sRoleARN</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.</li>
--   <li><a>sStackName</a> - The name associated with the stack.</li>
--   <li><a>sCreationTime</a> - The time at which the stack was
--   created.</li>
--   <li><a>sStackStatus</a> - Current status of the stack.</li>
--   </ul>
stack :: Text -> UTCTime -> StackStatus -> Stack

-- | Boolean to enable or disable rollback on stack creation failures: *
--   <tt>true</tt> : disable rollback * <tt>false</tt> : enable rollback
sDisableRollback :: Lens' Stack (Maybe Bool)

-- | 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)

-- | SNS topic ARNs to which stack related events are published.
sNotificationARNs :: Lens' Stack [Text]

-- | Success/failure message associated with the stack status.
sStackStatusReason :: Lens' Stack (Maybe Text)

-- | The unique ID of the change set.
sChangeSetId :: Lens' Stack (Maybe Text)

-- | A list of output structures.
sOutputs :: Lens' Stack [Output]

-- | A list of <tt>Parameter</tt> structures.
sParameters :: Lens' Stack [Parameter]

-- | Unique identifier of the stack.
sStackId :: Lens' Stack (Maybe Text)

-- | A user-defined description associated with the stack.
sDescription :: Lens' Stack (Maybe Text)

-- | The capabilities allowed in the stack.
sCapabilities :: Lens' Stack [Capability]

-- | A list of <tt>Tag</tt> s that specify information about the stack.
sTags :: Lens' Stack [Tag]

-- | The amount of time within which stack creation should complete.
sTimeoutInMinutes :: Lens' Stack (Maybe Natural)

-- | 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)

-- | The name associated with the stack.
sStackName :: Lens' Stack Text

-- | The time at which the stack was created.
sCreationTime :: Lens' Stack UTCTime

-- | Current status of the stack.
sStackStatus :: Lens' Stack StackStatus

-- | The StackEvent data type.
--   
--   <i>See:</i> <a>stackEvent</a> smart constructor.
data StackEvent

-- | Creates a value of <a>StackEvent</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>seLogicalResourceId</a> - The logical name of the resource
--   specified in the template.</li>
--   <li><a>sePhysicalResourceId</a> - The name or unique identifier
--   associated with the physical instance of the resource.</li>
--   <li><a>seResourceType</a> - Type of resource. (For more information,
--   go to <a>AWS Resource Types Reference</a> in the AWS CloudFormation
--   User Guide.)</li>
--   <li><a>seResourceStatusReason</a> - Success/failure message associated
--   with the resource.</li>
--   <li><a>seResourceProperties</a> - BLOB of the properties used to
--   create the resource.</li>
--   <li><a>seResourceStatus</a> - Current status of the resource.</li>
--   <li><a>seStackId</a> - The unique ID name of the instance of the
--   stack.</li>
--   <li><a>seEventId</a> - The unique ID of this event.</li>
--   <li><a>seStackName</a> - The name associated with a stack.</li>
--   <li><a>seTimestamp</a> - Time the status was updated.</li>
--   </ul>
stackEvent :: Text -> Text -> Text -> UTCTime -> StackEvent

-- | The logical name of the resource specified in the template.
seLogicalResourceId :: Lens' StackEvent (Maybe Text)

-- | The name or unique identifier associated with the physical instance of
--   the resource.
sePhysicalResourceId :: Lens' StackEvent (Maybe Text)

-- | Type of resource. (For more information, go to <a>AWS Resource Types
--   Reference</a> in the AWS CloudFormation User Guide.)
seResourceType :: Lens' StackEvent (Maybe Text)

-- | Success/failure message associated with the resource.
seResourceStatusReason :: Lens' StackEvent (Maybe Text)

-- | BLOB of the properties used to create the resource.
seResourceProperties :: Lens' StackEvent (Maybe Text)

-- | Current status of the resource.
seResourceStatus :: Lens' StackEvent (Maybe ResourceStatus)

-- | The unique ID name of the instance of the stack.
seStackId :: Lens' StackEvent Text

-- | The unique ID of this event.
seEventId :: Lens' StackEvent Text

-- | The name associated with a stack.
seStackName :: Lens' StackEvent Text

-- | Time the status was updated.
seTimestamp :: Lens' StackEvent UTCTime

-- | The StackResource data type.
--   
--   <i>See:</i> <a>stackResource</a> smart constructor.
data StackResource

-- | Creates a value of <a>StackResource</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srPhysicalResourceId</a> - The name or unique identifier that
--   corresponds to a physical instance ID of a resource supported by AWS
--   CloudFormation.</li>
--   <li><a>srResourceStatusReason</a> - Success/failure message associated
--   with the resource.</li>
--   <li><a>srStackId</a> - Unique identifier of the stack.</li>
--   <li><a>srDescription</a> - User defined description associated with
--   the resource.</li>
--   <li><a>srStackName</a> - The name associated with the stack.</li>
--   <li><a>srLogicalResourceId</a> - The logical name of the resource
--   specified in the template.</li>
--   <li><a>srResourceType</a> - Type of resource. (For more information,
--   go to <a>AWS Resource Types Reference</a> in the AWS CloudFormation
--   User Guide.)</li>
--   <li><a>srTimestamp</a> - Time the status was updated.</li>
--   <li><a>srResourceStatus</a> - Current status of the resource.</li>
--   </ul>
stackResource :: Text -> Text -> UTCTime -> ResourceStatus -> StackResource

-- | The name or unique identifier that corresponds to a physical instance
--   ID of a resource supported by AWS CloudFormation.
srPhysicalResourceId :: Lens' StackResource (Maybe Text)

-- | Success/failure message associated with the resource.
srResourceStatusReason :: Lens' StackResource (Maybe Text)

-- | Unique identifier of the stack.
srStackId :: Lens' StackResource (Maybe Text)

-- | User defined description associated with the resource.
srDescription :: Lens' StackResource (Maybe Text)

-- | The name associated with the stack.
srStackName :: Lens' StackResource (Maybe Text)

-- | The logical name of the resource specified in the template.
srLogicalResourceId :: Lens' StackResource Text

-- | Type of resource. (For more information, go to <a>AWS Resource Types
--   Reference</a> in the AWS CloudFormation User Guide.)
srResourceType :: Lens' StackResource Text

-- | Time the status was updated.
srTimestamp :: Lens' StackResource UTCTime

-- | Current status of the resource.
srResourceStatus :: Lens' StackResource ResourceStatus

-- | Contains detailed information about the specified stack resource.
--   
--   <i>See:</i> <a>stackResourceDetail</a> smart constructor.
data StackResourceDetail

-- | Creates a value of <a>StackResourceDetail</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srdPhysicalResourceId</a> - The name or unique identifier that
--   corresponds to a physical instance ID of a resource supported by AWS
--   CloudFormation.</li>
--   <li><a>srdResourceStatusReason</a> - Success/failure message
--   associated with the resource.</li>
--   <li><a>srdMetadata</a> - The content of the <tt>Metadata</tt>
--   attribute declared for the resource. For more information, see
--   <a>Metadata Attribute</a> in the AWS CloudFormation User Guide.</li>
--   <li><a>srdStackId</a> - Unique identifier of the stack.</li>
--   <li><a>srdDescription</a> - User defined description associated with
--   the resource.</li>
--   <li><a>srdStackName</a> - The name associated with the stack.</li>
--   <li><a>srdLogicalResourceId</a> - The logical name of the resource
--   specified in the template.</li>
--   <li><a>srdResourceType</a> - Type of resource. ((For more information,
--   go to <a>AWS Resource Types Reference</a> in the AWS CloudFormation
--   User Guide.)</li>
--   <li><a>srdLastUpdatedTimestamp</a> - Time the status was updated.</li>
--   <li><a>srdResourceStatus</a> - Current status of the resource.</li>
--   </ul>
stackResourceDetail :: Text -> Text -> UTCTime -> ResourceStatus -> StackResourceDetail

-- | The name or unique identifier that corresponds to a physical instance
--   ID of a resource supported by AWS CloudFormation.
srdPhysicalResourceId :: Lens' StackResourceDetail (Maybe Text)

-- | Success/failure message associated with the resource.
srdResourceStatusReason :: Lens' StackResourceDetail (Maybe Text)

-- | The content of the <tt>Metadata</tt> attribute declared for the
--   resource. For more information, see <a>Metadata Attribute</a> in the
--   AWS CloudFormation User Guide.
srdMetadata :: Lens' StackResourceDetail (Maybe Text)

-- | Unique identifier of the stack.
srdStackId :: Lens' StackResourceDetail (Maybe Text)

-- | User defined description associated with the resource.
srdDescription :: Lens' StackResourceDetail (Maybe Text)

-- | The name associated with the stack.
srdStackName :: Lens' StackResourceDetail (Maybe Text)

-- | The logical name of the resource specified in the template.
srdLogicalResourceId :: Lens' StackResourceDetail Text

-- | Type of resource. ((For more information, go to <a>AWS Resource Types
--   Reference</a> in the AWS CloudFormation User Guide.)
srdResourceType :: Lens' StackResourceDetail Text

-- | Time the status was updated.
srdLastUpdatedTimestamp :: Lens' StackResourceDetail UTCTime

-- | Current status of the resource.
srdResourceStatus :: Lens' StackResourceDetail ResourceStatus

-- | Contains high-level information about the specified stack resource.
--   
--   <i>See:</i> <a>stackResourceSummary</a> smart constructor.
data StackResourceSummary

-- | Creates a value of <a>StackResourceSummary</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srsPhysicalResourceId</a> - The name or unique identifier that
--   corresponds to a physical instance ID of the resource.</li>
--   <li><a>srsResourceStatusReason</a> - Success/failure message
--   associated with the resource.</li>
--   <li><a>srsLogicalResourceId</a> - The logical name of the resource
--   specified in the template.</li>
--   <li><a>srsResourceType</a> - Type of resource. (For more information,
--   go to <a>AWS Resource Types Reference</a> in the AWS CloudFormation
--   User Guide.)</li>
--   <li><a>srsLastUpdatedTimestamp</a> - Time the status was updated.</li>
--   <li><a>srsResourceStatus</a> - Current status of the resource.</li>
--   </ul>
stackResourceSummary :: Text -> Text -> UTCTime -> ResourceStatus -> StackResourceSummary

-- | The name or unique identifier that corresponds to a physical instance
--   ID of the resource.
srsPhysicalResourceId :: Lens' StackResourceSummary (Maybe Text)

-- | Success/failure message associated with the resource.
srsResourceStatusReason :: Lens' StackResourceSummary (Maybe Text)

-- | The logical name of the resource specified in the template.
srsLogicalResourceId :: Lens' StackResourceSummary Text

-- | Type of resource. (For more information, go to <a>AWS Resource Types
--   Reference</a> in the AWS CloudFormation User Guide.)
srsResourceType :: Lens' StackResourceSummary Text

-- | Time the status was updated.
srsLastUpdatedTimestamp :: Lens' StackResourceSummary UTCTime

-- | Current status of the resource.
srsResourceStatus :: Lens' StackResourceSummary ResourceStatus

-- | The StackSummary Data Type
--   
--   <i>See:</i> <a>stackSummary</a> smart constructor.
data StackSummary

-- | Creates a value of <a>StackSummary</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ssLastUpdatedTime</a> - The time the stack was last updated.
--   This field will only be returned if the stack has been updated at
--   least once.</li>
--   <li><a>ssStackStatusReason</a> - Success/Failure message associated
--   with the stack status.</li>
--   <li><a>ssTemplateDescription</a> - The template description of the
--   template used to create the stack.</li>
--   <li><a>ssDeletionTime</a> - The time the stack was deleted.</li>
--   <li><a>ssStackId</a> - Unique stack identifier.</li>
--   <li><a>ssStackName</a> - The name associated with the stack.</li>
--   <li><a>ssCreationTime</a> - The time the stack was created.</li>
--   <li><a>ssStackStatus</a> - The current status of the stack.</li>
--   </ul>
stackSummary :: Text -> UTCTime -> StackStatus -> StackSummary

-- | 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)

-- | Success/Failure message associated with the stack status.
ssStackStatusReason :: Lens' StackSummary (Maybe Text)

-- | The template description of the template used to create the stack.
ssTemplateDescription :: Lens' StackSummary (Maybe Text)

-- | The time the stack was deleted.
ssDeletionTime :: Lens' StackSummary (Maybe UTCTime)

-- | Unique stack identifier.
ssStackId :: Lens' StackSummary (Maybe Text)

-- | The name associated with the stack.
ssStackName :: Lens' StackSummary Text

-- | The time the stack was created.
ssCreationTime :: Lens' StackSummary UTCTime

-- | The current status of the stack.
ssStackStatus :: Lens' StackSummary StackStatus

-- | The Tag type enables you to specify a key-value pair that can be used
--   to store information about an AWS CloudFormation stack.
--   
--   <i>See:</i> <a>tag</a> smart constructor.
data Tag

-- | Creates a value of <a>Tag</a> with the minimum fields required to make
--   a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tagValue</a> - <i>Required</i> . A string containing the value
--   for this tag. You can specify a maximum of 256 characters for a tag
--   value.</li>
--   <li><a>tagKey</a> - <i>Required</i> . 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:
--   <tt>aws:</tt> .</li>
--   </ul>
tag :: Tag

-- | <i>Required</i> . A string containing the value for this tag. You can
--   specify a maximum of 256 characters for a tag value.
tagValue :: Lens' Tag (Maybe Text)

-- | <i>Required</i> . 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: <tt>aws:</tt> .
tagKey :: Lens' Tag (Maybe Text)

-- | The TemplateParameter data type.
--   
--   <i>See:</i> <a>templateParameter</a> smart constructor.
data TemplateParameter

-- | Creates a value of <a>TemplateParameter</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tpParameterKey</a> - The name associated with the
--   parameter.</li>
--   <li><a>tpDefaultValue</a> - The default value associated with the
--   parameter.</li>
--   <li><a>tpNoEcho</a> - Flag indicating whether the parameter should be
--   displayed as plain text in logs and UIs.</li>
--   <li><a>tpDescription</a> - User defined description associated with
--   the parameter.</li>
--   </ul>
templateParameter :: TemplateParameter

-- | The name associated with the parameter.
tpParameterKey :: Lens' TemplateParameter (Maybe Text)

-- | The default value associated with the parameter.
tpDefaultValue :: Lens' TemplateParameter (Maybe Text)

-- | Flag indicating whether the parameter should be displayed as plain
--   text in logs and UIs.
tpNoEcho :: Lens' TemplateParameter (Maybe Bool)

-- | User defined description associated with the parameter.
tpDescription :: Lens' TemplateParameter (Maybe Text)


-- | Updates a stack as specified in the template. After the call completes
--   successfully, the stack update starts. You can check the status of the
--   stack via the <tt>DescribeStacks</tt> action.
--   
--   To get a copy of the template for an existing stack, you can use the
--   <tt>GetTemplate</tt> action.
--   
--   For more information about creating an update template, updating a
--   stack, and monitoring the progress of the update, see <a>Updating a
--   Stack</a> .
module Network.AWS.CloudFormation.UpdateStack

-- | Creates a value of <a>UpdateStack</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>usUsePreviousTemplate</a> - Reuse the existing template that is
--   associated with the stack that you are updating.</li>
--   <li><a>usNotificationARNs</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.</li>
--   <li><a>usStackPolicyBody</a> - Structure containing a new stack policy
--   body. You can specify either the <tt>StackPolicyBody</tt> or the
--   <tt>StackPolicyURL</tt> 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.</li>
--   <li><a>usStackPolicyDuringUpdateBody</a> - Structure containing the
--   temporary overriding stack policy body. You can specify either the
--   <tt>StackPolicyDuringUpdateBody</tt> or the
--   <tt>StackPolicyDuringUpdateURL</tt> 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.</li>
--   <li><a>usStackPolicyDuringUpdateURL</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
--   <tt>StackPolicyDuringUpdateBody</tt> or the
--   <tt>StackPolicyDuringUpdateURL</tt> 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.</li>
--   <li><a>usParameters</a> - A list of <tt>Parameter</tt> structures that
--   specify input parameters for the stack. For more information, see the
--   <a>Parameter</a> data type.</li>
--   <li><a>usStackPolicyURL</a> - 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 <tt>StackPolicyBody</tt> or the
--   <tt>StackPolicyURL</tt> 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.</li>
--   <li><a>usTemplateBody</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 <a>Template Anatomy</a> in the AWS
--   CloudFormation User Guide.) Conditional: You must specify either the
--   <tt>TemplateBody</tt> or the <tt>TemplateURL</tt> parameter, but not
--   both.</li>
--   <li><a>usTemplateURL</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 <a>Template Anatomy</a> in the AWS
--   CloudFormation User Guide. Conditional: You must specify either the
--   <tt>TemplateBody</tt> or the <tt>TemplateURL</tt> parameter, but not
--   both.</li>
--   <li><a>usCapabilities</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 <tt>CAPABILITY_IAM</tt> and
--   <tt>CAPABILITY_NAMED_IAM</tt> . The following resources require you to
--   specify this parameter: <a>AWS::IAM::AccessKey</a> ,
--   <a>AWS::IAM::Group</a> , <a>AWS::IAM::InstanceProfile</a> ,
--   <a>AWS::IAM::Policy</a> , <a>AWS::IAM::Role</a> ,
--   <a>AWS::IAM::User</a> , and <a>AWS::IAM::UserToGroupAddition</a> . 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 <tt>CAPABILITY_NAMED_IAM</tt> . If you don't specify this
--   parameter, this action returns an <tt>InsufficientCapabilities</tt>
--   error. For more information, see <a>Acknowledging IAM Resources in AWS
--   CloudFormation Templates</a> .</li>
--   <li><a>usResourceTypes</a> - The template resource types that you have
--   permissions to work with for this update stack action, such as
--   <tt>AWS::EC2::Instance</tt> , <tt>AWS::EC2::*</tt> , or
--   <tt>Custom::MyCustomInstance</tt> . 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 <a>Controlling Access with AWS
--   Identity and Access Management</a> .</li>
--   <li><a>usTags</a> - Key-value pairs to associate with this stack. AWS
--   CloudFormation also propagates these tags to supported resources in
--   the stack. You can specify a maximum number of 10 tags. If you don't
--   specify this parameter, AWS CloudFormation doesn't modify the stack's
--   tags. If you specify an empty value, AWS CloudFormation removes all
--   associated tags.</li>
--   <li><a>usRoleARN</a> - 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.</li>
--   <li><a>usStackName</a> - The name or unique stack ID of the stack to
--   update.</li>
--   </ul>
updateStack :: Text -> UpdateStack

-- | The input for an <a>UpdateStack</a> action.
--   
--   <i>See:</i> <a>updateStack</a> smart constructor.
data UpdateStack

-- | Reuse the existing template that is associated with the stack that you
--   are updating.
usUsePreviousTemplate :: Lens' UpdateStack (Maybe Bool)

-- | 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]

-- | Structure containing a new stack policy body. You can specify either
--   the <tt>StackPolicyBody</tt> or the <tt>StackPolicyURL</tt> 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)

-- | Structure containing the temporary overriding stack policy body. You
--   can specify either the <tt>StackPolicyDuringUpdateBody</tt> or the
--   <tt>StackPolicyDuringUpdateURL</tt> 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)

-- | 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
--   <tt>StackPolicyDuringUpdateBody</tt> or the
--   <tt>StackPolicyDuringUpdateURL</tt> 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)

-- | A list of <tt>Parameter</tt> structures that specify input parameters
--   for the stack. For more information, see the <a>Parameter</a> data
--   type.
usParameters :: Lens' UpdateStack [Parameter]

-- | 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
--   <tt>StackPolicyBody</tt> or the <tt>StackPolicyURL</tt> 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)

-- | 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
--   <a>Template Anatomy</a> in the AWS CloudFormation User Guide.)
--   Conditional: You must specify either the <tt>TemplateBody</tt> or the
--   <tt>TemplateURL</tt> parameter, but not both.
usTemplateBody :: Lens' UpdateStack (Maybe Text)

-- | 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 <a>Template Anatomy</a> in the AWS CloudFormation User Guide.
--   Conditional: You must specify either the <tt>TemplateBody</tt> or the
--   <tt>TemplateURL</tt> parameter, but not both.
usTemplateURL :: Lens' UpdateStack (Maybe Text)

-- | 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
--   <tt>CAPABILITY_IAM</tt> and <tt>CAPABILITY_NAMED_IAM</tt> . The
--   following resources require you to specify this parameter:
--   <a>AWS::IAM::AccessKey</a> , <a>AWS::IAM::Group</a> ,
--   <a>AWS::IAM::InstanceProfile</a> , <a>AWS::IAM::Policy</a> ,
--   <a>AWS::IAM::Role</a> , <a>AWS::IAM::User</a> , and
--   <a>AWS::IAM::UserToGroupAddition</a> . 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
--   <tt>CAPABILITY_NAMED_IAM</tt> . If you don't specify this parameter,
--   this action returns an <tt>InsufficientCapabilities</tt> error. For
--   more information, see <a>Acknowledging IAM Resources in AWS
--   CloudFormation Templates</a> .
usCapabilities :: Lens' UpdateStack [Capability]

-- | The template resource types that you have permissions to work with for
--   this update stack action, such as <tt>AWS::EC2::Instance</tt> ,
--   <tt>AWS::EC2::*</tt> , or <tt>Custom::MyCustomInstance</tt> . 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
--   <a>Controlling Access with AWS Identity and Access Management</a> .
usResourceTypes :: Lens' UpdateStack [Text]

-- | Key-value pairs to associate with this stack. AWS CloudFormation also
--   propagates these tags to supported resources in the stack. You can
--   specify a maximum number of 10 tags. If you don't specify this
--   parameter, AWS CloudFormation doesn't modify the stack's tags. If you
--   specify an empty value, AWS CloudFormation removes all associated
--   tags.
usTags :: Lens' UpdateStack [Tag]

-- | 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)

-- | The name or unique stack ID of the stack to update.
usStackName :: Lens' UpdateStack Text

-- | Creates a value of <a>UpdateStackResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>usrsStackId</a> - Unique identifier of the stack.</li>
--   <li><a>usrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
updateStackResponse :: Int -> UpdateStackResponse

-- | The output for an <a>UpdateStack</a> action.
--   
--   <i>See:</i> <a>updateStackResponse</a> smart constructor.
data UpdateStackResponse

-- | Unique identifier of the stack.
usrsStackId :: Lens' UpdateStackResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
usrsResponseStatus :: Lens' UpdateStackResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.UpdateStack.UpdateStackResponse
instance Data.Data.Data Network.AWS.CloudFormation.UpdateStack.UpdateStackResponse
instance GHC.Show.Show Network.AWS.CloudFormation.UpdateStack.UpdateStackResponse
instance GHC.Read.Read Network.AWS.CloudFormation.UpdateStack.UpdateStackResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.UpdateStack.UpdateStackResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.UpdateStack.UpdateStack
instance Data.Data.Data Network.AWS.CloudFormation.UpdateStack.UpdateStack
instance GHC.Show.Show Network.AWS.CloudFormation.UpdateStack.UpdateStack
instance GHC.Read.Read Network.AWS.CloudFormation.UpdateStack.UpdateStack
instance GHC.Classes.Eq Network.AWS.CloudFormation.UpdateStack.UpdateStack
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.UpdateStack.UpdateStack
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.UpdateStack.UpdateStack
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.UpdateStack.UpdateStack
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.UpdateStack.UpdateStack
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.UpdateStack.UpdateStack
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.UpdateStack.UpdateStack
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.UpdateStack.UpdateStackResponse


-- | Validates a specified template. AWS CloudFormation first checks if the
--   template is valid JSON. If it isn't, AWS CloudFormation checks if the
--   template is valid YAML. If both these checks fail, AWS CloudFormation
--   returns a template validation error.
module Network.AWS.CloudFormation.ValidateTemplate

-- | Creates a value of <a>ValidateTemplate</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vtTemplateBody</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 <a>Template Anatomy</a> in the AWS
--   CloudFormation User Guide. Conditional: You must pass
--   <tt>TemplateURL</tt> or <tt>TemplateBody</tt> . If both are passed,
--   only <tt>TemplateBody</tt> is used.</li>
--   <li><a>vtTemplateURL</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
--   <a>Template Anatomy</a> in the AWS CloudFormation User Guide.
--   Conditional: You must pass <tt>TemplateURL</tt> or
--   <tt>TemplateBody</tt> . If both are passed, only <tt>TemplateBody</tt>
--   is used.</li>
--   </ul>
validateTemplate :: ValidateTemplate

-- | The input for <a>ValidateTemplate</a> action.
--   
--   <i>See:</i> <a>validateTemplate</a> smart constructor.
data ValidateTemplate

-- | 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
--   <a>Template Anatomy</a> in the AWS CloudFormation User Guide.
--   Conditional: You must pass <tt>TemplateURL</tt> or
--   <tt>TemplateBody</tt> . If both are passed, only <tt>TemplateBody</tt>
--   is used.
vtTemplateBody :: Lens' ValidateTemplate (Maybe Text)

-- | 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 <a>Template Anatomy</a> in the AWS
--   CloudFormation User Guide. Conditional: You must pass
--   <tt>TemplateURL</tt> or <tt>TemplateBody</tt> . If both are passed,
--   only <tt>TemplateBody</tt> is used.
vtTemplateURL :: Lens' ValidateTemplate (Maybe Text)

-- | Creates a value of <a>ValidateTemplateResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>vtrsDeclaredTransforms</a> - A list of the transforms that are
--   declared in the template.</li>
--   <li><a>vtrsCapabilitiesReason</a> - The list of resources that
--   generated the values in the <tt>Capabilities</tt> response
--   element.</li>
--   <li><a>vtrsParameters</a> - A list of <tt>TemplateParameter</tt>
--   structures.</li>
--   <li><a>vtrsDescription</a> - The description found within the
--   template.</li>
--   <li><a>vtrsCapabilities</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 <tt>CreateStack</tt> or <tt>UpdateStack</tt> actions
--   with your template; otherwise, those actions return an
--   InsufficientCapabilities error. For more information, see
--   <a>Acknowledging IAM Resources in AWS CloudFormation Templates</a>
--   .</li>
--   <li><a>vtrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
validateTemplateResponse :: Int -> ValidateTemplateResponse

-- | The output for <a>ValidateTemplate</a> action.
--   
--   <i>See:</i> <a>validateTemplateResponse</a> smart constructor.
data ValidateTemplateResponse

-- | A list of the transforms that are declared in the template.
vtrsDeclaredTransforms :: Lens' ValidateTemplateResponse [Text]

-- | The list of resources that generated the values in the
--   <tt>Capabilities</tt> response element.
vtrsCapabilitiesReason :: Lens' ValidateTemplateResponse (Maybe Text)

-- | A list of <tt>TemplateParameter</tt> structures.
vtrsParameters :: Lens' ValidateTemplateResponse [TemplateParameter]

-- | The description found within the template.
vtrsDescription :: Lens' ValidateTemplateResponse (Maybe Text)

-- | 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
--   <tt>CreateStack</tt> or <tt>UpdateStack</tt> actions with your
--   template; otherwise, those actions return an InsufficientCapabilities
--   error. For more information, see <a>Acknowledging IAM Resources in AWS
--   CloudFormation Templates</a> .
vtrsCapabilities :: Lens' ValidateTemplateResponse [Capability]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
vtrsResponseStatus :: Lens' ValidateTemplateResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplateResponse
instance Data.Data.Data Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplateResponse
instance GHC.Show.Show Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplateResponse
instance GHC.Read.Read Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplateResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplateResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplate
instance Data.Data.Data Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplate
instance GHC.Show.Show Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplate
instance GHC.Read.Read Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplate
instance GHC.Classes.Eq Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplate
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplate
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplate
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplate
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplate
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplate
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplate
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ValidateTemplate.ValidateTemplateResponse


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

-- | Creates a value of <a>SignalResource</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sigStackName</a> - The stack name or unique stack ID that
--   includes the resource that you want to signal.</li>
--   <li><a>sigLogicalResourceId</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.</li>
--   <li><a>sigUniqueId</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.</li>
--   <li><a>sigStatus</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.</li>
--   </ul>
signalResource :: Text -> Text -> Text -> ResourceSignalStatus -> SignalResource

-- | The input for the <a>SignalResource</a> action.
--   
--   <i>See:</i> <a>signalResource</a> smart constructor.
data SignalResource

-- | The stack name or unique stack ID that includes the resource that you
--   want to signal.
sigStackName :: Lens' SignalResource Text

-- | 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

-- | 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

-- | 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

-- | Creates a value of <a>SignalResourceResponse</a> with the minimum
--   fields required to make a request.
signalResourceResponse :: SignalResourceResponse

-- | <i>See:</i> <a>signalResourceResponse</a> smart constructor.
data SignalResourceResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.SignalResource.SignalResourceResponse
instance Data.Data.Data Network.AWS.CloudFormation.SignalResource.SignalResourceResponse
instance GHC.Show.Show Network.AWS.CloudFormation.SignalResource.SignalResourceResponse
instance GHC.Read.Read Network.AWS.CloudFormation.SignalResource.SignalResourceResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.SignalResource.SignalResourceResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.SignalResource.SignalResource
instance Data.Data.Data Network.AWS.CloudFormation.SignalResource.SignalResource
instance GHC.Show.Show Network.AWS.CloudFormation.SignalResource.SignalResource
instance GHC.Read.Read Network.AWS.CloudFormation.SignalResource.SignalResource
instance GHC.Classes.Eq Network.AWS.CloudFormation.SignalResource.SignalResource
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.SignalResource.SignalResource
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.SignalResource.SignalResource
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.SignalResource.SignalResource
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.SignalResource.SignalResource
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.SignalResource.SignalResource
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.SignalResource.SignalResource
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.SignalResource.SignalResourceResponse


-- | Sets a stack policy for a specified stack.
module Network.AWS.CloudFormation.SetStackPolicy

-- | Creates a value of <a>SetStackPolicy</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sspStackPolicyBody</a> - Structure containing the stack policy
--   body. For more information, go to <a>Prevent Updates to Stack
--   Resources</a> in the AWS CloudFormation User Guide. You can specify
--   either the <tt>StackPolicyBody</tt> or the <tt>StackPolicyURL</tt>
--   parameter, but not both.</li>
--   <li><a>sspStackPolicyURL</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 <tt>StackPolicyBody</tt> or the <tt>StackPolicyURL</tt>
--   parameter, but not both.</li>
--   <li><a>sspStackName</a> - The name or unique stack ID that you want to
--   associate a policy with.</li>
--   </ul>
setStackPolicy :: Text -> SetStackPolicy

-- | The input for the <a>SetStackPolicy</a> action.
--   
--   <i>See:</i> <a>setStackPolicy</a> smart constructor.
data SetStackPolicy

-- | Structure containing the stack policy body. For more information, go
--   to <a>Prevent Updates to Stack Resources</a> in the AWS CloudFormation
--   User Guide. You can specify either the <tt>StackPolicyBody</tt> or the
--   <tt>StackPolicyURL</tt> parameter, but not both.
sspStackPolicyBody :: Lens' SetStackPolicy (Maybe Text)

-- | 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
--   <tt>StackPolicyBody</tt> or the <tt>StackPolicyURL</tt> parameter, but
--   not both.
sspStackPolicyURL :: Lens' SetStackPolicy (Maybe Text)

-- | The name or unique stack ID that you want to associate a policy with.
sspStackName :: Lens' SetStackPolicy Text

-- | Creates a value of <a>SetStackPolicyResponse</a> with the minimum
--   fields required to make a request.
setStackPolicyResponse :: SetStackPolicyResponse

-- | <i>See:</i> <a>setStackPolicyResponse</a> smart constructor.
data SetStackPolicyResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicyResponse
instance Data.Data.Data Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicyResponse
instance GHC.Show.Show Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicyResponse
instance GHC.Read.Read Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicyResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicyResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicy
instance Data.Data.Data Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicy
instance GHC.Show.Show Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicy
instance GHC.Read.Read Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicy
instance GHC.Classes.Eq Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicy
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicy
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicy
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicy
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicy
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicy
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicy
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.SetStackPolicy.SetStackPolicyResponse


-- | Returns the summary information for stacks whose status matches the
--   specified StackStatusFilter. Summary information for stacks that have
--   been deleted is kept for 90 days after the stack is deleted. If no
--   StackStatusFilter is specified, summary information for all stacks is
--   returned (including existing stacks and stacks that have been
--   deleted).
--   
--   This operation returns paginated results.
module Network.AWS.CloudFormation.ListStacks

-- | Creates a value of <a>ListStacks</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lsNextToken</a> - A string that identifies the next page of
--   stacks that you want to retrieve.</li>
--   <li><a>lsStackStatusFilter</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 <tt>StackStatus</tt> parameter of the <a>Stack</a> data type.</li>
--   </ul>
listStacks :: ListStacks

-- | The input for <a>ListStacks</a> action.
--   
--   <i>See:</i> <a>listStacks</a> smart constructor.
data ListStacks

-- | A string that identifies the next page of stacks that you want to
--   retrieve.
lsNextToken :: Lens' ListStacks (Maybe Text)

-- | 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 <tt>StackStatus</tt>
--   parameter of the <a>Stack</a> data type.
lsStackStatusFilter :: Lens' ListStacks [StackStatus]

-- | Creates a value of <a>ListStacksResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lsrsNextToken</a> - 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.</li>
--   <li><a>lsrsStackSummaries</a> - A list of <tt>StackSummary</tt>
--   structures containing information about the specified stacks.</li>
--   <li><a>lsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listStacksResponse :: Int -> ListStacksResponse

-- | The output for <a>ListStacks</a> action.
--   
--   <i>See:</i> <a>listStacksResponse</a> smart constructor.
data ListStacksResponse

-- | 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)

-- | A list of <tt>StackSummary</tt> structures containing information
--   about the specified stacks.
lsrsStackSummaries :: Lens' ListStacksResponse [StackSummary]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lsrsResponseStatus :: Lens' ListStacksResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.ListStacks.ListStacksResponse
instance Data.Data.Data Network.AWS.CloudFormation.ListStacks.ListStacksResponse
instance GHC.Show.Show Network.AWS.CloudFormation.ListStacks.ListStacksResponse
instance GHC.Read.Read Network.AWS.CloudFormation.ListStacks.ListStacksResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.ListStacks.ListStacksResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.ListStacks.ListStacks
instance Data.Data.Data Network.AWS.CloudFormation.ListStacks.ListStacks
instance GHC.Show.Show Network.AWS.CloudFormation.ListStacks.ListStacks
instance GHC.Read.Read Network.AWS.CloudFormation.ListStacks.ListStacks
instance GHC.Classes.Eq Network.AWS.CloudFormation.ListStacks.ListStacks
instance Network.AWS.Pager.AWSPager Network.AWS.CloudFormation.ListStacks.ListStacks
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.ListStacks.ListStacks
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.ListStacks.ListStacks
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ListStacks.ListStacks
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.ListStacks.ListStacks
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.ListStacks.ListStacks
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.ListStacks.ListStacks
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ListStacks.ListStacksResponse


-- | Returns descriptions of all resources of the specified stack.
--   
--   For deleted stacks, ListStackResources returns resource information
--   for up to 90 days after the stack has been deleted.
--   
--   This operation returns paginated results.
module Network.AWS.CloudFormation.ListStackResources

-- | Creates a value of <a>ListStackResources</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lsrNextToken</a> - A string that identifies the next page of
--   stack resources that you want to retrieve.</li>
--   <li><a>lsrStackName</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.</li>
--   </ul>
listStackResources :: Text -> ListStackResources

-- | The input for the <tt>ListStackResource</tt> action.
--   
--   <i>See:</i> <a>listStackResources</a> smart constructor.
data ListStackResources

-- | A string that identifies the next page of stack resources that you
--   want to retrieve.
lsrNextToken :: Lens' ListStackResources (Maybe Text)

-- | 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

-- | Creates a value of <a>ListStackResourcesResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lsrrsNextToken</a> - 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.</li>
--   <li><a>lsrrsStackResourceSummaries</a> - A list of
--   <tt>StackResourceSummary</tt> structures.</li>
--   <li><a>lsrrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listStackResourcesResponse :: Int -> ListStackResourcesResponse

-- | The output for a <a>ListStackResources</a> action.
--   
--   <i>See:</i> <a>listStackResourcesResponse</a> smart constructor.
data ListStackResourcesResponse

-- | 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)

-- | A list of <tt>StackResourceSummary</tt> structures.
lsrrsStackResourceSummaries :: Lens' ListStackResourcesResponse [StackResourceSummary]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lsrrsResponseStatus :: Lens' ListStackResourcesResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.ListStackResources.ListStackResourcesResponse
instance Data.Data.Data Network.AWS.CloudFormation.ListStackResources.ListStackResourcesResponse
instance GHC.Show.Show Network.AWS.CloudFormation.ListStackResources.ListStackResourcesResponse
instance GHC.Read.Read Network.AWS.CloudFormation.ListStackResources.ListStackResourcesResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.ListStackResources.ListStackResourcesResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.ListStackResources.ListStackResources
instance Data.Data.Data Network.AWS.CloudFormation.ListStackResources.ListStackResources
instance GHC.Show.Show Network.AWS.CloudFormation.ListStackResources.ListStackResources
instance GHC.Read.Read Network.AWS.CloudFormation.ListStackResources.ListStackResources
instance GHC.Classes.Eq Network.AWS.CloudFormation.ListStackResources.ListStackResources
instance Network.AWS.Pager.AWSPager Network.AWS.CloudFormation.ListStackResources.ListStackResources
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.ListStackResources.ListStackResources
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.ListStackResources.ListStackResources
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ListStackResources.ListStackResources
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.ListStackResources.ListStackResources
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.ListStackResources.ListStackResources
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.ListStackResources.ListStackResources
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ListStackResources.ListStackResourcesResponse


-- | Lists all stacks that are importing an exported output value. To
--   modify or remove an exported output value, first use this action to
--   see which stacks are using it. To see the exported output values in
--   your account, see <tt>ListExports</tt> .
--   
--   For more information about importing an exported output value, see the
--   <a>@Fn::ImportValue@</a> function.
module Network.AWS.CloudFormation.ListImports

-- | Creates a value of <a>ListImports</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>liNextToken</a> - A string (provided by the <a>ListImports</a>
--   response output) that identifies the next page of stacks that are
--   importing the specified exported output value.</li>
--   <li><a>liExportName</a> - The name of the exported output value. AWS
--   CloudFormation returns the stack names that are importing this
--   value.</li>
--   </ul>
listImports :: Text -> ListImports

-- | <i>See:</i> <a>listImports</a> smart constructor.
data ListImports

-- | A string (provided by the <a>ListImports</a> response output) that
--   identifies the next page of stacks that are importing the specified
--   exported output value.
liNextToken :: Lens' ListImports (Maybe Text)

-- | The name of the exported output value. AWS CloudFormation returns the
--   stack names that are importing this value.
liExportName :: Lens' ListImports Text

-- | Creates a value of <a>ListImportsResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lirsImports</a> - A list of stack names that are importing the
--   specified exported output value.</li>
--   <li><a>lirsNextToken</a> - A string that identifies the next page of
--   exports. If there is no additional page, this value is null.</li>
--   <li><a>lirsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listImportsResponse :: Int -> ListImportsResponse

-- | <i>See:</i> <a>listImportsResponse</a> smart constructor.
data ListImportsResponse

-- | A list of stack names that are importing the specified exported output
--   value.
lirsImports :: Lens' ListImportsResponse [Text]

-- | A string that identifies the next page of exports. If there is no
--   additional page, this value is null.
lirsNextToken :: Lens' ListImportsResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lirsResponseStatus :: Lens' ListImportsResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.ListImports.ListImportsResponse
instance Data.Data.Data Network.AWS.CloudFormation.ListImports.ListImportsResponse
instance GHC.Show.Show Network.AWS.CloudFormation.ListImports.ListImportsResponse
instance GHC.Read.Read Network.AWS.CloudFormation.ListImports.ListImportsResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.ListImports.ListImportsResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.ListImports.ListImports
instance Data.Data.Data Network.AWS.CloudFormation.ListImports.ListImports
instance GHC.Show.Show Network.AWS.CloudFormation.ListImports.ListImports
instance GHC.Read.Read Network.AWS.CloudFormation.ListImports.ListImports
instance GHC.Classes.Eq Network.AWS.CloudFormation.ListImports.ListImports
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.ListImports.ListImports
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.ListImports.ListImports
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ListImports.ListImports
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.ListImports.ListImports
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.ListImports.ListImports
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.ListImports.ListImports
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ListImports.ListImportsResponse


-- | Lists all exported output values in the account and region in which
--   you call this action. Use this action to see the exported output
--   values that you can import into other stacks. To import values, use
--   the <a>@Fn::ImportValue@</a> function.
--   
--   For more information, see <a>AWS CloudFormation Export Stack Output
--   Values</a> .
module Network.AWS.CloudFormation.ListExports

-- | Creates a value of <a>ListExports</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>leNextToken</a> - A string (provided by the <a>ListExports</a>
--   response output) that identifies the next page of exported output
--   values that you asked to retrieve.</li>
--   </ul>
listExports :: ListExports

-- | <i>See:</i> <a>listExports</a> smart constructor.
data ListExports

-- | A string (provided by the <a>ListExports</a> response output) that
--   identifies the next page of exported output values that you asked to
--   retrieve.
leNextToken :: Lens' ListExports (Maybe Text)

-- | Creates a value of <a>ListExportsResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lersNextToken</a> - 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.</li>
--   <li><a>lersExports</a> - The output for the <a>ListExports</a>
--   action.</li>
--   <li><a>lersResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listExportsResponse :: Int -> ListExportsResponse

-- | <i>See:</i> <a>listExportsResponse</a> smart constructor.
data ListExportsResponse

-- | 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)

-- | The output for the <a>ListExports</a> action.
lersExports :: Lens' ListExportsResponse [Export]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lersResponseStatus :: Lens' ListExportsResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.ListExports.ListExportsResponse
instance Data.Data.Data Network.AWS.CloudFormation.ListExports.ListExportsResponse
instance GHC.Show.Show Network.AWS.CloudFormation.ListExports.ListExportsResponse
instance GHC.Read.Read Network.AWS.CloudFormation.ListExports.ListExportsResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.ListExports.ListExportsResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.ListExports.ListExports
instance Data.Data.Data Network.AWS.CloudFormation.ListExports.ListExports
instance GHC.Show.Show Network.AWS.CloudFormation.ListExports.ListExports
instance GHC.Read.Read Network.AWS.CloudFormation.ListExports.ListExports
instance GHC.Classes.Eq Network.AWS.CloudFormation.ListExports.ListExports
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.ListExports.ListExports
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.ListExports.ListExports
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ListExports.ListExports
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.ListExports.ListExports
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.ListExports.ListExports
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.ListExports.ListExports
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ListExports.ListExportsResponse


-- | Returns the ID and status of each active change set for a stack. For
--   example, AWS CloudFormation lists change sets that are in the
--   <tt>CREATE_IN_PROGRESS</tt> or <tt>CREATE_PENDING</tt> state.
module Network.AWS.CloudFormation.ListChangeSets

-- | Creates a value of <a>ListChangeSets</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lcsNextToken</a> - A string (provided by the
--   <a>ListChangeSets</a> response output) that identifies the next page
--   of change sets that you want to retrieve.</li>
--   <li><a>lcsStackName</a> - The name or the Amazon Resource Name (ARN)
--   of the stack for which you want to list change sets.</li>
--   </ul>
listChangeSets :: Text -> ListChangeSets

-- | The input for the <a>ListChangeSets</a> action.
--   
--   <i>See:</i> <a>listChangeSets</a> smart constructor.
data ListChangeSets

-- | A string (provided by the <a>ListChangeSets</a> response output) that
--   identifies the next page of change sets that you want to retrieve.
lcsNextToken :: Lens' ListChangeSets (Maybe Text)

-- | The name or the Amazon Resource Name (ARN) of the stack for which you
--   want to list change sets.
lcsStackName :: Lens' ListChangeSets Text

-- | Creates a value of <a>ListChangeSetsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>lcsrsNextToken</a> - 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.</li>
--   <li><a>lcsrsSummaries</a> - A list of <tt>ChangeSetSummary</tt>
--   structures that provides the ID and status of each change set for the
--   specified stack.</li>
--   <li><a>lcsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
listChangeSetsResponse :: Int -> ListChangeSetsResponse

-- | The output for the <a>ListChangeSets</a> action.
--   
--   <i>See:</i> <a>listChangeSetsResponse</a> smart constructor.
data ListChangeSetsResponse

-- | 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)

-- | A list of <tt>ChangeSetSummary</tt> structures that provides the ID
--   and status of each change set for the specified stack.
lcsrsSummaries :: Lens' ListChangeSetsResponse [ChangeSetSummary]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
lcsrsResponseStatus :: Lens' ListChangeSetsResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.ListChangeSets.ListChangeSetsResponse
instance Data.Data.Data Network.AWS.CloudFormation.ListChangeSets.ListChangeSetsResponse
instance GHC.Show.Show Network.AWS.CloudFormation.ListChangeSets.ListChangeSetsResponse
instance GHC.Read.Read Network.AWS.CloudFormation.ListChangeSets.ListChangeSetsResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.ListChangeSets.ListChangeSetsResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.ListChangeSets.ListChangeSets
instance Data.Data.Data Network.AWS.CloudFormation.ListChangeSets.ListChangeSets
instance GHC.Show.Show Network.AWS.CloudFormation.ListChangeSets.ListChangeSets
instance GHC.Read.Read Network.AWS.CloudFormation.ListChangeSets.ListChangeSets
instance GHC.Classes.Eq Network.AWS.CloudFormation.ListChangeSets.ListChangeSets
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.ListChangeSets.ListChangeSets
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.ListChangeSets.ListChangeSets
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ListChangeSets.ListChangeSets
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.ListChangeSets.ListChangeSets
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.ListChangeSets.ListChangeSets
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.ListChangeSets.ListChangeSets
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ListChangeSets.ListChangeSetsResponse


-- | Returns information about a new or existing template. The
--   <tt>GetTemplateSummary</tt> action is useful for viewing parameter
--   information, such as default parameter values and parameter types,
--   before you create or update a stack.
--   
--   You can use the <tt>GetTemplateSummary</tt> action when you submit a
--   template, or you can get template information for a running or deleted
--   stack.
--   
--   For deleted stacks, <tt>GetTemplateSummary</tt> returns the template
--   information for up to 90 days after the stack has been deleted. If the
--   template does not exist, a <tt>ValidationError</tt> is returned.
module Network.AWS.CloudFormation.GetTemplateSummary

-- | Creates a value of <a>GetTemplateSummary</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gtsTemplateBody</a> - 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 <a>Template Anatomy</a> in
--   the AWS CloudFormation User Guide. Conditional: You must specify only
--   one of the following parameters: <tt>StackName</tt> ,
--   <tt>TemplateBody</tt> , or <tt>TemplateURL</tt> .</li>
--   <li><a>gtsTemplateURL</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 <a>Template Anatomy</a> in the AWS CloudFormation User
--   Guide. Conditional: You must specify only one of the following
--   parameters: <tt>StackName</tt> , <tt>TemplateBody</tt> , or
--   <tt>TemplateURL</tt> .</li>
--   <li><a>gtsStackName</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:
--   <tt>StackName</tt> , <tt>TemplateBody</tt> , or <tt>TemplateURL</tt>
--   .</li>
--   </ul>
getTemplateSummary :: GetTemplateSummary

-- | The input for the <a>GetTemplateSummary</a> action.
--   
--   <i>See:</i> <a>getTemplateSummary</a> smart constructor.
data GetTemplateSummary

-- | 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 <a>Template Anatomy</a> in the AWS CloudFormation User
--   Guide. Conditional: You must specify only one of the following
--   parameters: <tt>StackName</tt> , <tt>TemplateBody</tt> , or
--   <tt>TemplateURL</tt> .
gtsTemplateBody :: Lens' GetTemplateSummary (Maybe Text)

-- | 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 <a>Template
--   Anatomy</a> in the AWS CloudFormation User Guide. Conditional: You
--   must specify only one of the following parameters: <tt>StackName</tt>
--   , <tt>TemplateBody</tt> , or <tt>TemplateURL</tt> .
gtsTemplateURL :: Lens' GetTemplateSummary (Maybe Text)

-- | 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: <tt>StackName</tt> , <tt>TemplateBody</tt> ,
--   or <tt>TemplateURL</tt> .
gtsStackName :: Lens' GetTemplateSummary (Maybe Text)

-- | Creates a value of <a>GetTemplateSummaryResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gtsrsDeclaredTransforms</a> - A list of the transforms that are
--   declared in the template.</li>
--   <li><a>gtsrsVersion</a> - The AWS template format version, which
--   identifies the capabilities of the template.</li>
--   <li><a>gtsrsCapabilitiesReason</a> - The list of resources that
--   generated the values in the <tt>Capabilities</tt> response
--   element.</li>
--   <li><a>gtsrsParameters</a> - A list of parameter declarations that
--   describe various properties for each parameter.</li>
--   <li><a>gtsrsMetadata</a> - The value that is defined for the
--   <tt>Metadata</tt> property of the template.</li>
--   <li><a>gtsrsDescription</a> - The value that is defined in the
--   <tt>Description</tt> property of the template.</li>
--   <li><a>gtsrsCapabilities</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 <tt>CreateStack</tt> or <tt>UpdateStack</tt> actions
--   with your template; otherwise, those actions return an
--   InsufficientCapabilities error. For more information, see
--   <a>Acknowledging IAM Resources in AWS CloudFormation Templates</a>
--   .</li>
--   <li><a>gtsrsResourceTypes</a> - A list of all the template resource
--   types that are defined in the template, such as
--   <tt>AWS::EC2::Instance</tt> , <tt>AWS::Dynamo::Table</tt> , and
--   <tt>Custom::MyCustomInstance</tt> .</li>
--   <li><a>gtsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
getTemplateSummaryResponse :: Int -> GetTemplateSummaryResponse

-- | The output for the <a>GetTemplateSummary</a> action.
--   
--   <i>See:</i> <a>getTemplateSummaryResponse</a> smart constructor.
data GetTemplateSummaryResponse

-- | A list of the transforms that are declared in the template.
gtsrsDeclaredTransforms :: Lens' GetTemplateSummaryResponse [Text]

-- | The AWS template format version, which identifies the capabilities of
--   the template.
gtsrsVersion :: Lens' GetTemplateSummaryResponse (Maybe Text)

-- | The list of resources that generated the values in the
--   <tt>Capabilities</tt> response element.
gtsrsCapabilitiesReason :: Lens' GetTemplateSummaryResponse (Maybe Text)

-- | A list of parameter declarations that describe various properties for
--   each parameter.
gtsrsParameters :: Lens' GetTemplateSummaryResponse [ParameterDeclaration]

-- | The value that is defined for the <tt>Metadata</tt> property of the
--   template.
gtsrsMetadata :: Lens' GetTemplateSummaryResponse (Maybe Text)

-- | The value that is defined in the <tt>Description</tt> property of the
--   template.
gtsrsDescription :: Lens' GetTemplateSummaryResponse (Maybe Text)

-- | 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
--   <tt>CreateStack</tt> or <tt>UpdateStack</tt> actions with your
--   template; otherwise, those actions return an InsufficientCapabilities
--   error. For more information, see <a>Acknowledging IAM Resources in AWS
--   CloudFormation Templates</a> .
gtsrsCapabilities :: Lens' GetTemplateSummaryResponse [Capability]

-- | A list of all the template resource types that are defined in the
--   template, such as <tt>AWS::EC2::Instance</tt> ,
--   <tt>AWS::Dynamo::Table</tt> , and <tt>Custom::MyCustomInstance</tt> .
gtsrsResourceTypes :: Lens' GetTemplateSummaryResponse [Text]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gtsrsResponseStatus :: Lens' GetTemplateSummaryResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummaryResponse
instance Data.Data.Data Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummaryResponse
instance GHC.Show.Show Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummaryResponse
instance GHC.Read.Read Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummaryResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummaryResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummary
instance Data.Data.Data Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummary
instance GHC.Show.Show Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummary
instance GHC.Read.Read Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummary
instance GHC.Classes.Eq Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummary
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummary
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummary
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummary
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummary
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummary
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummary
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.GetTemplateSummary.GetTemplateSummaryResponse


-- | Returns the template body for a specified stack. You can get the
--   template for running or deleted stacks.
--   
--   For deleted stacks, GetTemplate returns the template for up to 90 days
--   after the stack has been deleted.
module Network.AWS.CloudFormation.GetTemplate

-- | Creates a value of <a>GetTemplate</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gtChangeSetName</a> - 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
--   <tt>StackName</tt> .</li>
--   <li><a>gtTemplateStage</a> - For templates that include transforms,
--   the stage of the template that AWS CloudFormation returns. To get the
--   user-submitted template, specify <tt>Original</tt> . To get the
--   template after AWS CloudFormation has processed all transforms,
--   specify <tt>Processed</tt> . If the template doesn't include
--   transforms, <tt>Original</tt> and <tt>Processed</tt> return the same
--   template. By default, AWS CloudFormation specifies <tt>Original</tt>
--   .</li>
--   <li><a>gtStackName</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.</li>
--   </ul>
getTemplate :: GetTemplate

-- | The input for a <a>GetTemplate</a> action.
--   
--   <i>See:</i> <a>getTemplate</a> smart constructor.
data GetTemplate

-- | 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 <tt>StackName</tt> .
gtChangeSetName :: Lens' GetTemplate (Maybe Text)

-- | For templates that include transforms, the stage of the template that
--   AWS CloudFormation returns. To get the user-submitted template,
--   specify <tt>Original</tt> . To get the template after AWS
--   CloudFormation has processed all transforms, specify
--   <tt>Processed</tt> . If the template doesn't include transforms,
--   <tt>Original</tt> and <tt>Processed</tt> return the same template. By
--   default, AWS CloudFormation specifies <tt>Original</tt> .
gtTemplateStage :: Lens' GetTemplate (Maybe TemplateStage)

-- | 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)

-- | Creates a value of <a>GetTemplateResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gtrsStagesAvailable</a> - The stage of the template that you
--   can retrieve. For stacks, the <tt>Original</tt> and <tt>Processed</tt>
--   templates are always available. For change sets, the <tt>Original</tt>
--   template is always available. After AWS CloudFormation finishes
--   creating the change set, the <tt>Processed</tt> template becomes
--   available.</li>
--   <li><a>gtrsTemplateBody</a> - Structure containing the template body.
--   (For more information, go to <a>Template Anatomy</a> in the AWS
--   CloudFormation User Guide.) AWS CloudFormation returns the same
--   template that was used when the stack was created.</li>
--   <li><a>gtrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
getTemplateResponse :: Int -> GetTemplateResponse

-- | The output for <a>GetTemplate</a> action.
--   
--   <i>See:</i> <a>getTemplateResponse</a> smart constructor.
data GetTemplateResponse

-- | The stage of the template that you can retrieve. For stacks, the
--   <tt>Original</tt> and <tt>Processed</tt> templates are always
--   available. For change sets, the <tt>Original</tt> template is always
--   available. After AWS CloudFormation finishes creating the change set,
--   the <tt>Processed</tt> template becomes available.
gtrsStagesAvailable :: Lens' GetTemplateResponse [TemplateStage]

-- | Structure containing the template body. (For more information, go to
--   <a>Template Anatomy</a> 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)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gtrsResponseStatus :: Lens' GetTemplateResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.GetTemplate.GetTemplateResponse
instance Data.Data.Data Network.AWS.CloudFormation.GetTemplate.GetTemplateResponse
instance GHC.Show.Show Network.AWS.CloudFormation.GetTemplate.GetTemplateResponse
instance GHC.Read.Read Network.AWS.CloudFormation.GetTemplate.GetTemplateResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.GetTemplate.GetTemplateResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.GetTemplate.GetTemplate
instance Data.Data.Data Network.AWS.CloudFormation.GetTemplate.GetTemplate
instance GHC.Show.Show Network.AWS.CloudFormation.GetTemplate.GetTemplate
instance GHC.Read.Read Network.AWS.CloudFormation.GetTemplate.GetTemplate
instance GHC.Classes.Eq Network.AWS.CloudFormation.GetTemplate.GetTemplate
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.GetTemplate.GetTemplate
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.GetTemplate.GetTemplate
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.GetTemplate.GetTemplate
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.GetTemplate.GetTemplate
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.GetTemplate.GetTemplate
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.GetTemplate.GetTemplate
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.GetTemplate.GetTemplateResponse


-- | Returns the stack policy for a specified stack. If a stack doesn't
--   have a policy, a null value is returned.
module Network.AWS.CloudFormation.GetStackPolicy

-- | Creates a value of <a>GetStackPolicy</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gspStackName</a> - The name or unique stack ID that is
--   associated with the stack whose policy you want to get.</li>
--   </ul>
getStackPolicy :: Text -> GetStackPolicy

-- | The input for the <a>GetStackPolicy</a> action.
--   
--   <i>See:</i> <a>getStackPolicy</a> smart constructor.
data GetStackPolicy

-- | The name or unique stack ID that is associated with the stack whose
--   policy you want to get.
gspStackName :: Lens' GetStackPolicy Text

-- | Creates a value of <a>GetStackPolicyResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>gsprsStackPolicyBody</a> - Structure containing the stack
--   policy body. (For more information, go to <a>Prevent Updates to Stack
--   Resources</a> in the AWS CloudFormation User Guide.)</li>
--   <li><a>gsprsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
getStackPolicyResponse :: Int -> GetStackPolicyResponse

-- | The output for the <a>GetStackPolicy</a> action.
--   
--   <i>See:</i> <a>getStackPolicyResponse</a> smart constructor.
data GetStackPolicyResponse

-- | Structure containing the stack policy body. (For more information, go
--   to <a>Prevent Updates to Stack Resources</a> in the AWS CloudFormation
--   User Guide.)
gsprsStackPolicyBody :: Lens' GetStackPolicyResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
gsprsResponseStatus :: Lens' GetStackPolicyResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicyResponse
instance Data.Data.Data Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicyResponse
instance GHC.Show.Show Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicyResponse
instance GHC.Read.Read Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicyResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicyResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicy
instance Data.Data.Data Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicy
instance GHC.Show.Show Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicy
instance GHC.Read.Read Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicy
instance GHC.Classes.Eq Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicy
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicy
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicy
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicy
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicy
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicy
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicy
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.GetStackPolicy.GetStackPolicyResponse


-- | Updates a stack using the input information that was provided when the
--   specified change set was created. After the call successfully
--   completes, AWS CloudFormation starts updating the stack. Use the
--   <tt>DescribeStacks</tt> action to view the status of the update.
--   
--   When you execute a change set, AWS CloudFormation deletes all other
--   change sets associated with the stack because they aren't valid for
--   the updated stack.
--   
--   If a stack policy is associated with the stack, AWS CloudFormation
--   enforces the policy during the update. You can't specify a temporary
--   stack policy that overrides the current policy.
module Network.AWS.CloudFormation.ExecuteChangeSet

-- | Creates a value of <a>ExecuteChangeSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ecsStackName</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.</li>
--   <li><a>ecsChangeSetName</a> - The name or ARN of the change set that
--   you want use to update the specified stack.</li>
--   </ul>
executeChangeSet :: Text -> ExecuteChangeSet

-- | The input for the <a>ExecuteChangeSet</a> action.
--   
--   <i>See:</i> <a>executeChangeSet</a> smart constructor.
data ExecuteChangeSet

-- | 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)

-- | The name or ARN of the change set that you want use to update the
--   specified stack.
ecsChangeSetName :: Lens' ExecuteChangeSet Text

-- | Creates a value of <a>ExecuteChangeSetResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ecsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
executeChangeSetResponse :: Int -> ExecuteChangeSetResponse

-- | The output for the <a>ExecuteChangeSet</a> action.
--   
--   <i>See:</i> <a>executeChangeSetResponse</a> smart constructor.
data ExecuteChangeSetResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ecsrsResponseStatus :: Lens' ExecuteChangeSetResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSetResponse
instance Data.Data.Data Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSetResponse
instance GHC.Show.Show Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSetResponse
instance GHC.Read.Read Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSetResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSetResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSet
instance Data.Data.Data Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSet
instance GHC.Show.Show Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSet
instance GHC.Read.Read Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSet
instance GHC.Classes.Eq Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSet
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSet
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSet
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSet
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSet
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ExecuteChangeSet.ExecuteChangeSetResponse


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

-- | Creates a value of <a>EstimateTemplateCost</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>etcParameters</a> - A list of <tt>Parameter</tt> structures
--   that specify input parameters.</li>
--   <li><a>etcTemplateBody</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 <a>Template Anatomy</a> in the AWS
--   CloudFormation User Guide.) Conditional: You must pass
--   <tt>TemplateBody</tt> or <tt>TemplateURL</tt> . If both are passed,
--   only <tt>TemplateBody</tt> is used.</li>
--   <li><a>etcTemplateURL</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 <a>Template Anatomy</a> in the AWS
--   CloudFormation User Guide. Conditional: You must pass
--   <tt>TemplateURL</tt> or <tt>TemplateBody</tt> . If both are passed,
--   only <tt>TemplateBody</tt> is used.</li>
--   </ul>
estimateTemplateCost :: EstimateTemplateCost

-- | The input for an <a>EstimateTemplateCost</a> action.
--   
--   <i>See:</i> <a>estimateTemplateCost</a> smart constructor.
data EstimateTemplateCost

-- | A list of <tt>Parameter</tt> structures that specify input parameters.
etcParameters :: Lens' EstimateTemplateCost [Parameter]

-- | 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
--   <a>Template Anatomy</a> in the AWS CloudFormation User Guide.)
--   Conditional: You must pass <tt>TemplateBody</tt> or
--   <tt>TemplateURL</tt> . If both are passed, only <tt>TemplateBody</tt>
--   is used.
etcTemplateBody :: Lens' EstimateTemplateCost (Maybe Text)

-- | 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 <a>Template Anatomy</a> in the AWS CloudFormation User Guide.
--   Conditional: You must pass <tt>TemplateURL</tt> or
--   <tt>TemplateBody</tt> . If both are passed, only <tt>TemplateBody</tt>
--   is used.
etcTemplateURL :: Lens' EstimateTemplateCost (Maybe Text)

-- | Creates a value of <a>EstimateTemplateCostResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>etcrsURL</a> - An AWS Simple Monthly Calculator URL with a
--   query string that describes the resources required to run the
--   template.</li>
--   <li><a>etcrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
estimateTemplateCostResponse :: Int -> EstimateTemplateCostResponse

-- | The output for a <a>EstimateTemplateCost</a> action.
--   
--   <i>See:</i> <a>estimateTemplateCostResponse</a> smart constructor.
data EstimateTemplateCostResponse

-- | An AWS Simple Monthly Calculator URL with a query string that
--   describes the resources required to run the template.
etcrsURL :: Lens' EstimateTemplateCostResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
etcrsResponseStatus :: Lens' EstimateTemplateCostResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCostResponse
instance Data.Data.Data Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCostResponse
instance GHC.Show.Show Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCostResponse
instance GHC.Read.Read Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCostResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCostResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCost
instance Data.Data.Data Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCost
instance GHC.Show.Show Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCost
instance GHC.Read.Read Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCost
instance GHC.Classes.Eq Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCost
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCost
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCost
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCost
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCost
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCost
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCost
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.EstimateTemplateCost.EstimateTemplateCostResponse


-- | Returns the description for the specified stack; if no stack name was
--   specified, then it returns the description for all the stacks created.
--   
--   This operation returns paginated results.
module Network.AWS.CloudFormation.DescribeStacks

-- | Creates a value of <a>DescribeStacks</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dNextToken</a> - A string that identifies the next page of
--   stacks that you want to retrieve.</li>
--   <li><a>dStackName</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.</li>
--   </ul>
describeStacks :: DescribeStacks

-- | The input for <a>DescribeStacks</a> action.
--   
--   <i>See:</i> <a>describeStacks</a> smart constructor.
data DescribeStacks

-- | A string that identifies the next page of stacks that you want to
--   retrieve.
dNextToken :: Lens' DescribeStacks (Maybe Text)

-- | 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)

-- | Creates a value of <a>DescribeStacksResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsrsNextToken</a> - 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.</li>
--   <li><a>dsrsStacks</a> - A list of stack structures.</li>
--   <li><a>dsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeStacksResponse :: Int -> DescribeStacksResponse

-- | The output for a <a>DescribeStacks</a> action.
--   
--   <i>See:</i> <a>describeStacksResponse</a> smart constructor.
data DescribeStacksResponse

-- | 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)

-- | A list of stack structures.
dsrsStacks :: Lens' DescribeStacksResponse [Stack]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dsrsResponseStatus :: Lens' DescribeStacksResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.DescribeStacks.DescribeStacksResponse
instance Data.Data.Data Network.AWS.CloudFormation.DescribeStacks.DescribeStacksResponse
instance GHC.Show.Show Network.AWS.CloudFormation.DescribeStacks.DescribeStacksResponse
instance GHC.Read.Read Network.AWS.CloudFormation.DescribeStacks.DescribeStacksResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.DescribeStacks.DescribeStacksResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.DescribeStacks.DescribeStacks
instance Data.Data.Data Network.AWS.CloudFormation.DescribeStacks.DescribeStacks
instance GHC.Show.Show Network.AWS.CloudFormation.DescribeStacks.DescribeStacks
instance GHC.Read.Read Network.AWS.CloudFormation.DescribeStacks.DescribeStacks
instance GHC.Classes.Eq Network.AWS.CloudFormation.DescribeStacks.DescribeStacks
instance Network.AWS.Pager.AWSPager Network.AWS.CloudFormation.DescribeStacks.DescribeStacks
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.DescribeStacks.DescribeStacks
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.DescribeStacks.DescribeStacks
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DescribeStacks.DescribeStacks
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.DescribeStacks.DescribeStacks
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.DescribeStacks.DescribeStacks
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.DescribeStacks.DescribeStacks
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DescribeStacks.DescribeStacksResponse


-- | Returns AWS resource descriptions for running and deleted stacks. If
--   <tt>StackName</tt> is specified, all the associated resources that are
--   part of the stack are returned. If <tt>PhysicalResourceId</tt> is
--   specified, the associated resources of the stack that the resource
--   belongs to are returned.
--   
--   For deleted stacks, <tt>DescribeStackResources</tt> returns resource
--   information for up to 90 days after the stack has been deleted.
--   
--   You must specify either <tt>StackName</tt> or
--   <tt>PhysicalResourceId</tt> , but not both. In addition, you can
--   specify <tt>LogicalResourceId</tt> to filter the returned result. For
--   more information about resources, the <tt>LogicalResourceId</tt> and
--   <tt>PhysicalResourceId</tt> , go to the <a>AWS CloudFormation User
--   Guide</a> .
module Network.AWS.CloudFormation.DescribeStackResources

-- | Creates a value of <a>DescribeStackResources</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsrLogicalResourceId</a> - The logical name of the resource as
--   specified in the template. Default: There is no default value.</li>
--   <li><a>dsrPhysicalResourceId</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, <tt>PhysicalResourceId</tt> corresponds to the
--   <tt>InstanceId</tt> . You can pass the EC2 <tt>InstanceId</tt> to
--   <tt>DescribeStackResources</tt> to find which stack the instance
--   belongs to and what other resources are part of the stack. Required:
--   Conditional. If you do not specify <tt>PhysicalResourceId</tt> , you
--   must specify <tt>StackName</tt> . Default: There is no default
--   value.</li>
--   <li><a>dsrStackName</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 <tt>StackName</tt> , you must specify
--   <tt>PhysicalResourceId</tt> .</li>
--   </ul>
describeStackResources :: DescribeStackResources

-- | The input for <a>DescribeStackResources</a> action.
--   
--   <i>See:</i> <a>describeStackResources</a> smart constructor.
data DescribeStackResources

-- | The logical name of the resource as specified in the template.
--   Default: There is no default value.
dsrLogicalResourceId :: Lens' DescribeStackResources (Maybe Text)

-- | 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,
--   <tt>PhysicalResourceId</tt> corresponds to the <tt>InstanceId</tt> .
--   You can pass the EC2 <tt>InstanceId</tt> to
--   <tt>DescribeStackResources</tt> to find which stack the instance
--   belongs to and what other resources are part of the stack. Required:
--   Conditional. If you do not specify <tt>PhysicalResourceId</tt> , you
--   must specify <tt>StackName</tt> . Default: There is no default value.
dsrPhysicalResourceId :: Lens' DescribeStackResources (Maybe Text)

-- | 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
--   <tt>StackName</tt> , you must specify <tt>PhysicalResourceId</tt> .
dsrStackName :: Lens' DescribeStackResources (Maybe Text)

-- | Creates a value of <a>DescribeStackResourcesResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsrsrsStackResources</a> - A list of <tt>StackResource</tt>
--   structures.</li>
--   <li><a>dsrsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeStackResourcesResponse :: Int -> DescribeStackResourcesResponse

-- | The output for a <a>DescribeStackResources</a> action.
--   
--   <i>See:</i> <a>describeStackResourcesResponse</a> smart constructor.
data DescribeStackResourcesResponse

-- | A list of <tt>StackResource</tt> structures.
dsrsrsStackResources :: Lens' DescribeStackResourcesResponse [StackResource]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dsrsrsResponseStatus :: Lens' DescribeStackResourcesResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResourcesResponse
instance Data.Data.Data Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResourcesResponse
instance GHC.Show.Show Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResourcesResponse
instance GHC.Read.Read Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResourcesResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResourcesResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResources
instance Data.Data.Data Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResources
instance GHC.Show.Show Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResources
instance GHC.Read.Read Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResources
instance GHC.Classes.Eq Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResources
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResources
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResources
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResources
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResources
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResources
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResources
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DescribeStackResources.DescribeStackResourcesResponse


-- | Returns a description of the specified resource in the specified
--   stack.
--   
--   For deleted stacks, DescribeStackResource returns resource information
--   for up to 90 days after the stack has been deleted.
module Network.AWS.CloudFormation.DescribeStackResource

-- | Creates a value of <a>DescribeStackResource</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsrsStackName</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.</li>
--   <li><a>dsrsLogicalResourceId</a> - The logical name of the resource as
--   specified in the template. Default: There is no default value.</li>
--   </ul>
describeStackResource :: Text -> Text -> DescribeStackResource

-- | The input for <a>DescribeStackResource</a> action.
--   
--   <i>See:</i> <a>describeStackResource</a> smart constructor.
data DescribeStackResource

-- | 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

-- | The logical name of the resource as specified in the template.
--   Default: There is no default value.
dsrsLogicalResourceId :: Lens' DescribeStackResource Text

-- | Creates a value of <a>DescribeStackResourceResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsrrsStackResourceDetail</a> - A <tt>StackResourceDetail</tt>
--   structure containing the description of the specified resource in the
--   specified stack.</li>
--   <li><a>dsrrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeStackResourceResponse :: Int -> DescribeStackResourceResponse

-- | The output for a <a>DescribeStackResource</a> action.
--   
--   <i>See:</i> <a>describeStackResourceResponse</a> smart constructor.
data DescribeStackResourceResponse

-- | A <tt>StackResourceDetail</tt> structure containing the description of
--   the specified resource in the specified stack.
dsrrsStackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dsrrsResponseStatus :: Lens' DescribeStackResourceResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResourceResponse
instance Data.Data.Data Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResourceResponse
instance GHC.Show.Show Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResourceResponse
instance GHC.Read.Read Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResourceResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResourceResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResource
instance Data.Data.Data Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResource
instance GHC.Show.Show Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResource
instance GHC.Read.Read Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResource
instance GHC.Classes.Eq Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResource
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResource
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResource
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResource
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResource
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResource
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResource
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DescribeStackResource.DescribeStackResourceResponse


-- | Returns all stack related events for a specified stack in reverse
--   chronological order. For more information about a stack's event
--   history, go to <a>Stacks</a> in the AWS CloudFormation User Guide.
--   
--   This operation returns paginated results.
module Network.AWS.CloudFormation.DescribeStackEvents

-- | Creates a value of <a>DescribeStackEvents</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dseNextToken</a> - A string that identifies the next page of
--   events that you want to retrieve.</li>
--   <li><a>dseStackName</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.</li>
--   </ul>
describeStackEvents :: DescribeStackEvents

-- | The input for <a>DescribeStackEvents</a> action.
--   
--   <i>See:</i> <a>describeStackEvents</a> smart constructor.
data DescribeStackEvents

-- | A string that identifies the next page of events that you want to
--   retrieve.
dseNextToken :: Lens' DescribeStackEvents (Maybe Text)

-- | 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)

-- | Creates a value of <a>DescribeStackEventsResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsersNextToken</a> - 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.</li>
--   <li><a>dsersStackEvents</a> - A list of <tt>StackEvents</tt>
--   structures.</li>
--   <li><a>dsersResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeStackEventsResponse :: Int -> DescribeStackEventsResponse

-- | The output for a <a>DescribeStackEvents</a> action.
--   
--   <i>See:</i> <a>describeStackEventsResponse</a> smart constructor.
data DescribeStackEventsResponse

-- | 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)

-- | A list of <tt>StackEvents</tt> structures.
dsersStackEvents :: Lens' DescribeStackEventsResponse [StackEvent]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dsersResponseStatus :: Lens' DescribeStackEventsResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEventsResponse
instance Data.Data.Data Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEventsResponse
instance GHC.Show.Show Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEventsResponse
instance GHC.Read.Read Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEventsResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEventsResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEvents
instance Data.Data.Data Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEvents
instance GHC.Show.Show Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEvents
instance GHC.Read.Read Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEvents
instance GHC.Classes.Eq Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEvents
instance Network.AWS.Pager.AWSPager Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEvents
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEvents
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEvents
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEvents
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEvents
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEvents
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEvents
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DescribeStackEvents.DescribeStackEventsResponse


-- | Returns the inputs for the change set and a list of changes that AWS
--   CloudFormation will make if you execute the change set. For more
--   information, see <a>Updating Stacks Using Change Sets</a> in the AWS
--   CloudFormation User Guide.
module Network.AWS.CloudFormation.DescribeChangeSet

-- | Creates a value of <a>DescribeChangeSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>desNextToken</a> - A string (provided by the
--   <a>DescribeChangeSet</a> response output) that identifies the next
--   page of information that you want to retrieve.</li>
--   <li><a>desStackName</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.</li>
--   <li><a>desChangeSetName</a> - The name or Amazon Resource Name (ARN)
--   of the change set that you want to describe.</li>
--   </ul>
describeChangeSet :: Text -> DescribeChangeSet

-- | The input for the <a>DescribeChangeSet</a> action.
--   
--   <i>See:</i> <a>describeChangeSet</a> smart constructor.
data DescribeChangeSet

-- | A string (provided by the <a>DescribeChangeSet</a> response output)
--   that identifies the next page of information that you want to
--   retrieve.
desNextToken :: Lens' DescribeChangeSet (Maybe Text)

-- | 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)

-- | The name or Amazon Resource Name (ARN) of the change set that you want
--   to describe.
desChangeSetName :: Lens' DescribeChangeSet Text

-- | Creates a value of <a>DescribeChangeSetResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>drsCreationTime</a> - The start time when the change set was
--   created, in UTC.</li>
--   <li><a>drsChanges</a> - A list of <tt>Change</tt> structures that
--   describes the resources AWS CloudFormation changes if you execute the
--   change set.</li>
--   <li><a>drsNotificationARNs</a> - The ARNs of the Amazon Simple
--   Notification Service (Amazon SNS) topics that will be associated with
--   the stack if you execute the change set.</li>
--   <li><a>drsChangeSetName</a> - The name of the change set.</li>
--   <li><a>drsExecutionStatus</a> - If the change set execution status is
--   <tt>AVAILABLE</tt> , 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 <tt>UNAVAILABLE</tt> state because AWS
--   CloudFormation is still creating it or in an <tt>OBSOLETE</tt> state
--   because the stack was already updated.</li>
--   <li><a>drsChangeSetId</a> - The ARN of the change set.</li>
--   <li><a>drsNextToken</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.</li>
--   <li><a>drsParameters</a> - A list of <tt>Parameter</tt> structures
--   that describes the input parameters and their values used to create
--   the change set. For more information, see the <a>Parameter</a> data
--   type.</li>
--   <li><a>drsStatusReason</a> - 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.</li>
--   <li><a>drsStackId</a> - The ARN of the stack that is associated with
--   the change set.</li>
--   <li><a>drsDescription</a> - Information about the change set.</li>
--   <li><a>drsCapabilities</a> - If you execute the change set, the list
--   of capabilities that were explicitly acknowledged when the change set
--   was created.</li>
--   <li><a>drsTags</a> - If you execute the change set, the tags that will
--   be associated with the stack.</li>
--   <li><a>drsStackName</a> - The name of the stack that is associated
--   with the change set.</li>
--   <li><a>drsResponseStatus</a> - -- | The response status code.</li>
--   <li><a>drsStatus</a> - The current status of the change set, such as
--   <tt>CREATE_IN_PROGRESS</tt> , <tt>CREATE_COMPLETE</tt> , or
--   <tt>FAILED</tt> .</li>
--   </ul>
describeChangeSetResponse :: Int -> ChangeSetStatus -> DescribeChangeSetResponse

-- | The output for the <a>DescribeChangeSet</a> action.
--   
--   <i>See:</i> <a>describeChangeSetResponse</a> smart constructor.
data DescribeChangeSetResponse

-- | The start time when the change set was created, in UTC.
drsCreationTime :: Lens' DescribeChangeSetResponse (Maybe UTCTime)

-- | A list of <tt>Change</tt> structures that describes the resources AWS
--   CloudFormation changes if you execute the change set.
drsChanges :: Lens' DescribeChangeSetResponse [Change]

-- | The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics
--   that will be associated with the stack if you execute the change set.
drsNotificationARNs :: Lens' DescribeChangeSetResponse [Text]

-- | The name of the change set.
drsChangeSetName :: Lens' DescribeChangeSetResponse (Maybe Text)

-- | If the change set execution status is <tt>AVAILABLE</tt> , 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
--   <tt>UNAVAILABLE</tt> state because AWS CloudFormation is still
--   creating it or in an <tt>OBSOLETE</tt> state because the stack was
--   already updated.
drsExecutionStatus :: Lens' DescribeChangeSetResponse (Maybe ExecutionStatus)

-- | The ARN of the change set.
drsChangeSetId :: Lens' DescribeChangeSetResponse (Maybe Text)

-- | 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.
drsNextToken :: Lens' DescribeChangeSetResponse (Maybe Text)

-- | A list of <tt>Parameter</tt> structures that describes the input
--   parameters and their values used to create the change set. For more
--   information, see the <a>Parameter</a> data type.
drsParameters :: Lens' DescribeChangeSetResponse [Parameter]

-- | 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.
drsStatusReason :: Lens' DescribeChangeSetResponse (Maybe Text)

-- | The ARN of the stack that is associated with the change set.
drsStackId :: Lens' DescribeChangeSetResponse (Maybe Text)

-- | Information about the change set.
drsDescription :: Lens' DescribeChangeSetResponse (Maybe Text)

-- | If you execute the change set, the list of capabilities that were
--   explicitly acknowledged when the change set was created.
drsCapabilities :: Lens' DescribeChangeSetResponse [Capability]

-- | If you execute the change set, the tags that will be associated with
--   the stack.
drsTags :: Lens' DescribeChangeSetResponse [Tag]

-- | The name of the stack that is associated with the change set.
drsStackName :: Lens' DescribeChangeSetResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
drsResponseStatus :: Lens' DescribeChangeSetResponse Int

-- | The current status of the change set, such as
--   <tt>CREATE_IN_PROGRESS</tt> , <tt>CREATE_COMPLETE</tt> , or
--   <tt>FAILED</tt> .
drsStatus :: Lens' DescribeChangeSetResponse ChangeSetStatus
instance GHC.Generics.Generic Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSetResponse
instance Data.Data.Data Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSetResponse
instance GHC.Show.Show Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSetResponse
instance GHC.Read.Read Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSetResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSetResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSet
instance Data.Data.Data Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSet
instance GHC.Show.Show Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSet
instance GHC.Read.Read Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSet
instance GHC.Classes.Eq Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSet
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSet
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSet
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSet
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSet
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DescribeChangeSet.DescribeChangeSetResponse


module Network.AWS.CloudFormation.Waiters

-- | Polls <a>DescribeStacks</a> every 30 seconds until a successful state
--   is reached. An error is returned after 120 failed checks.
stackCreateComplete :: Wait DescribeStacks

-- | Polls <a>DescribeStacks</a> every 30 seconds until a successful state
--   is reached. An error is returned after 120 failed checks.
stackUpdateComplete :: Wait DescribeStacks

-- | Polls <a>DescribeStacks</a> every 5 seconds until a successful state
--   is reached. An error is returned after 20 failed checks.
stackExists :: Wait DescribeStacks

-- | Polls <a>DescribeStacks</a> every 30 seconds until a successful state
--   is reached. An error is returned after 120 failed checks.
stackDeleteComplete :: Wait DescribeStacks

-- | Polls <a>DescribeChangeSet</a> every 30 seconds until a successful
--   state is reached. An error is returned after 120 failed checks.
changeSetCreateComplete :: Wait DescribeChangeSet


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

-- | Creates a value of <a>DescribeAccountLimits</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dalNextToken</a> - A string that identifies the next page of
--   limits that you want to retrieve.</li>
--   </ul>
describeAccountLimits :: DescribeAccountLimits

-- | The input for the <a>DescribeAccountLimits</a> action.
--   
--   <i>See:</i> <a>describeAccountLimits</a> smart constructor.
data DescribeAccountLimits

-- | A string that identifies the next page of limits that you want to
--   retrieve.
dalNextToken :: Lens' DescribeAccountLimits (Maybe Text)

-- | Creates a value of <a>DescribeAccountLimitsResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dalrsNextToken</a> - 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.</li>
--   <li><a>dalrsAccountLimits</a> - An account limit structure that
--   contain a list of AWS CloudFormation account limits and their
--   values.</li>
--   <li><a>dalrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
describeAccountLimitsResponse :: Int -> DescribeAccountLimitsResponse

-- | The output for the <a>DescribeAccountLimits</a> action.
--   
--   <i>See:</i> <a>describeAccountLimitsResponse</a> smart constructor.
data DescribeAccountLimitsResponse

-- | 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)

-- | An account limit structure that contain a list of AWS CloudFormation
--   account limits and their values.
dalrsAccountLimits :: Lens' DescribeAccountLimitsResponse [AccountLimit]

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dalrsResponseStatus :: Lens' DescribeAccountLimitsResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimitsResponse
instance Data.Data.Data Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimitsResponse
instance GHC.Show.Show Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimitsResponse
instance GHC.Read.Read Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimitsResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimitsResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimits
instance Data.Data.Data Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimits
instance GHC.Show.Show Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimits
instance GHC.Read.Read Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimits
instance GHC.Classes.Eq Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimits
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimits
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimits
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimits
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimits
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimits
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimits
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DescribeAccountLimits.DescribeAccountLimitsResponse


-- | Deletes a specified stack. Once the call completes successfully, stack
--   deletion starts. Deleted stacks do not show up in the
--   <tt>DescribeStacks</tt> API if the deletion has been completed
--   successfully.
module Network.AWS.CloudFormation.DeleteStack

-- | Creates a value of <a>DeleteStack</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dsRetainResources</a> - For stacks in the
--   <tt>DELETE_FAILED</tt> 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.</li>
--   <li><a>dsRoleARN</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.</li>
--   <li><a>dsStackName</a> - The name or the unique stack ID that is
--   associated with the stack.</li>
--   </ul>
deleteStack :: Text -> DeleteStack

-- | The input for <a>DeleteStack</a> action.
--   
--   <i>See:</i> <a>deleteStack</a> smart constructor.
data DeleteStack

-- | For stacks in the <tt>DELETE_FAILED</tt> 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]

-- | 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)

-- | The name or the unique stack ID that is associated with the stack.
dsStackName :: Lens' DeleteStack Text

-- | Creates a value of <a>DeleteStackResponse</a> with the minimum fields
--   required to make a request.
deleteStackResponse :: DeleteStackResponse

-- | <i>See:</i> <a>deleteStackResponse</a> smart constructor.
data DeleteStackResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.DeleteStack.DeleteStackResponse
instance Data.Data.Data Network.AWS.CloudFormation.DeleteStack.DeleteStackResponse
instance GHC.Show.Show Network.AWS.CloudFormation.DeleteStack.DeleteStackResponse
instance GHC.Read.Read Network.AWS.CloudFormation.DeleteStack.DeleteStackResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.DeleteStack.DeleteStackResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.DeleteStack.DeleteStack
instance Data.Data.Data Network.AWS.CloudFormation.DeleteStack.DeleteStack
instance GHC.Show.Show Network.AWS.CloudFormation.DeleteStack.DeleteStack
instance GHC.Read.Read Network.AWS.CloudFormation.DeleteStack.DeleteStack
instance GHC.Classes.Eq Network.AWS.CloudFormation.DeleteStack.DeleteStack
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.DeleteStack.DeleteStack
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.DeleteStack.DeleteStack
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DeleteStack.DeleteStack
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.DeleteStack.DeleteStack
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.DeleteStack.DeleteStack
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.DeleteStack.DeleteStack
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DeleteStack.DeleteStackResponse


-- | Deletes the specified change set. Deleting change sets ensures that no
--   one executes the wrong change set.
--   
--   If the call successfully completes, AWS CloudFormation successfully
--   deleted the change set.
module Network.AWS.CloudFormation.DeleteChangeSet

-- | Creates a value of <a>DeleteChangeSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dcsStackName</a> - If you specified the name of a change set to
--   delete, specify the stack name or ID (ARN) that is associated with
--   it.</li>
--   <li><a>dcsChangeSetName</a> - The name or Amazon Resource Name (ARN)
--   of the change set that you want to delete.</li>
--   </ul>
deleteChangeSet :: Text -> DeleteChangeSet

-- | The input for the <a>DeleteChangeSet</a> action.
--   
--   <i>See:</i> <a>deleteChangeSet</a> smart constructor.
data DeleteChangeSet

-- | 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)

-- | The name or Amazon Resource Name (ARN) of the change set that you want
--   to delete.
dcsChangeSetName :: Lens' DeleteChangeSet Text

-- | Creates a value of <a>DeleteChangeSetResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>dcsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
deleteChangeSetResponse :: Int -> DeleteChangeSetResponse

-- | The output for the <a>DeleteChangeSet</a> action.
--   
--   <i>See:</i> <a>deleteChangeSetResponse</a> smart constructor.
data DeleteChangeSetResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
dcsrsResponseStatus :: Lens' DeleteChangeSetResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSetResponse
instance Data.Data.Data Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSetResponse
instance GHC.Show.Show Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSetResponse
instance GHC.Read.Read Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSetResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSetResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSet
instance Data.Data.Data Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSet
instance GHC.Show.Show Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSet
instance GHC.Read.Read Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSet
instance GHC.Classes.Eq Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSet
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSet
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSet
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSet
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSet
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.DeleteChangeSet.DeleteChangeSetResponse


-- | Creates a stack as specified in the template. After the call completes
--   successfully, the stack creation starts. You can check the status of
--   the stack via the <tt>DescribeStacks</tt> API.
module Network.AWS.CloudFormation.CreateStack

-- | Creates a value of <a>CreateStack</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>csDisableRollback</a> - Set to <tt>true</tt> to disable
--   rollback of the stack if stack creation failed. You can specify either
--   <tt>DisableRollback</tt> or <tt>OnFailure</tt> , but not both.
--   Default: <tt>false</tt></li>
--   <li><a>csNotificationARNs</a> - The Simple Notification Service (SNS)
--   topic ARNs to publish stack related events. You can find your SNS
--   topic ARNs using the <a>SNS console</a> or your Command Line Interface
--   (CLI).</li>
--   <li><a>csStackPolicyBody</a> - Structure containing the stack policy
--   body. For more information, go to <a>Prevent Updates to Stack
--   Resources</a> in the <i>AWS CloudFormation User Guide</i> . You can
--   specify either the <tt>StackPolicyBody</tt> or the
--   <tt>StackPolicyURL</tt> parameter, but not both.</li>
--   <li><a>csParameters</a> - A list of <tt>Parameter</tt> structures that
--   specify input parameters for the stack. For more information, see the
--   <a>Parameter</a> data type.</li>
--   <li><a>csStackPolicyURL</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 <tt>StackPolicyBody</tt> or the <tt>StackPolicyURL</tt>
--   parameter, but not both.</li>
--   <li><a>csTemplateBody</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 <a>Template Anatomy</a> in the AWS
--   CloudFormation User Guide. Conditional: You must specify either the
--   <tt>TemplateBody</tt> or the <tt>TemplateURL</tt> parameter, but not
--   both.</li>
--   <li><a>csTemplateURL</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
--   <a>Template Anatomy</a> in the AWS CloudFormation User Guide.
--   Conditional: You must specify either the <tt>TemplateBody</tt> or the
--   <tt>TemplateURL</tt> parameter, but not both.</li>
--   <li><a>csCapabilities</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 <tt>CAPABILITY_IAM</tt> and
--   <tt>CAPABILITY_NAMED_IAM</tt> . The following resources require you to
--   specify this parameter: <a>AWS::IAM::AccessKey</a> ,
--   <a>AWS::IAM::Group</a> , <a>AWS::IAM::InstanceProfile</a> ,
--   <a>AWS::IAM::Policy</a> , <a>AWS::IAM::Role</a> ,
--   <a>AWS::IAM::User</a> , and <a>AWS::IAM::UserToGroupAddition</a> . 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 <tt>CAPABILITY_NAMED_IAM</tt> . If you don't specify this
--   parameter, this action returns an <tt>InsufficientCapabilities</tt>
--   error. For more information, see <a>Acknowledging IAM Resources in AWS
--   CloudFormation Templates</a> .</li>
--   <li><a>csOnFailure</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 <tt>OnFailure</tt> or <tt>DisableRollback</tt>
--   , but not both. Default: <tt>ROLLBACK</tt></li>
--   <li><a>csResourceTypes</a> - The template resource types that you have
--   permissions to work with for this create stack action, such as
--   <tt>AWS::EC2::Instance</tt> , <tt>AWS::EC2::*</tt> , or
--   <tt>Custom::MyCustomInstance</tt> . Use the following syntax to
--   describe template resource types: <tt>AWS::*</tt> (for all AWS
--   resource), <tt>Custom::*</tt> (for all custom resources),
--   <tt>Custom::<i>logical_ID</i> </tt> (for a specific custom resource),
--   <tt>AWS::<i>service_name</i> ::*</tt> (for all resources of a
--   particular AWS service), and <tt>AWS::<i>service_name</i>
--   ::<i>resource_logical_ID</i> </tt> (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
--   <a>Controlling Access with AWS Identity and Access Management</a>
--   .</li>
--   <li><a>csTags</a> - Key-value pairs to associate with this stack. AWS
--   CloudFormation also propagates these tags to the resources created in
--   the stack. A maximum number of 10 tags can be specified.</li>
--   <li><a>csTimeoutInMinutes</a> - The amount of time that can pass
--   before the stack status becomes CREATE_FAILED; if
--   <tt>DisableRollback</tt> is not set or is set to <tt>false</tt> , the
--   stack will be rolled back.</li>
--   <li><a>csRoleARN</a> - 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.</li>
--   <li><a>csStackName</a> - The name that is associated with the stack.
--   The name must be unique in the region in which you are creating the
--   stack.</li>
--   </ul>
createStack :: Text -> CreateStack

-- | The input for <a>CreateStack</a> action.
--   
--   <i>See:</i> <a>createStack</a> smart constructor.
data CreateStack

-- | Set to <tt>true</tt> to disable rollback of the stack if stack
--   creation failed. You can specify either <tt>DisableRollback</tt> or
--   <tt>OnFailure</tt> , but not both. Default: <tt>false</tt>
csDisableRollback :: Lens' CreateStack (Maybe Bool)

-- | The Simple Notification Service (SNS) topic ARNs to publish stack
--   related events. You can find your SNS topic ARNs using the <a>SNS
--   console</a> or your Command Line Interface (CLI).
csNotificationARNs :: Lens' CreateStack [Text]

-- | Structure containing the stack policy body. For more information, go
--   to <a>Prevent Updates to Stack Resources</a> in the <i>AWS
--   CloudFormation User Guide</i> . You can specify either the
--   <tt>StackPolicyBody</tt> or the <tt>StackPolicyURL</tt> parameter, but
--   not both.
csStackPolicyBody :: Lens' CreateStack (Maybe Text)

-- | A list of <tt>Parameter</tt> structures that specify input parameters
--   for the stack. For more information, see the <a>Parameter</a> data
--   type.
csParameters :: Lens' CreateStack [Parameter]

-- | 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
--   <tt>StackPolicyBody</tt> or the <tt>StackPolicyURL</tt> parameter, but
--   not both.
csStackPolicyURL :: Lens' CreateStack (Maybe Text)

-- | 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
--   <a>Template Anatomy</a> in the AWS CloudFormation User Guide.
--   Conditional: You must specify either the <tt>TemplateBody</tt> or the
--   <tt>TemplateURL</tt> parameter, but not both.
csTemplateBody :: Lens' CreateStack (Maybe Text)

-- | 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 <a>Template Anatomy</a> in the
--   AWS CloudFormation User Guide. Conditional: You must specify either
--   the <tt>TemplateBody</tt> or the <tt>TemplateURL</tt> parameter, but
--   not both.
csTemplateURL :: Lens' CreateStack (Maybe Text)

-- | 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
--   <tt>CAPABILITY_IAM</tt> and <tt>CAPABILITY_NAMED_IAM</tt> . The
--   following resources require you to specify this parameter:
--   <a>AWS::IAM::AccessKey</a> , <a>AWS::IAM::Group</a> ,
--   <a>AWS::IAM::InstanceProfile</a> , <a>AWS::IAM::Policy</a> ,
--   <a>AWS::IAM::Role</a> , <a>AWS::IAM::User</a> , and
--   <a>AWS::IAM::UserToGroupAddition</a> . 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
--   <tt>CAPABILITY_NAMED_IAM</tt> . If you don't specify this parameter,
--   this action returns an <tt>InsufficientCapabilities</tt> error. For
--   more information, see <a>Acknowledging IAM Resources in AWS
--   CloudFormation Templates</a> .
csCapabilities :: Lens' CreateStack [Capability]

-- | Determines what action will be taken if stack creation fails. This
--   must be one of: DO_NOTHING, ROLLBACK, or DELETE. You can specify
--   either <tt>OnFailure</tt> or <tt>DisableRollback</tt> , but not both.
--   Default: <tt>ROLLBACK</tt>
csOnFailure :: Lens' CreateStack (Maybe OnFailure)

-- | The template resource types that you have permissions to work with for
--   this create stack action, such as <tt>AWS::EC2::Instance</tt> ,
--   <tt>AWS::EC2::*</tt> , or <tt>Custom::MyCustomInstance</tt> . Use the
--   following syntax to describe template resource types: <tt>AWS::*</tt>
--   (for all AWS resource), <tt>Custom::*</tt> (for all custom resources),
--   <tt>Custom::<i>logical_ID</i> </tt> (for a specific custom resource),
--   <tt>AWS::<i>service_name</i> ::*</tt> (for all resources of a
--   particular AWS service), and <tt>AWS::<i>service_name</i>
--   ::<i>resource_logical_ID</i> </tt> (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
--   <a>Controlling Access with AWS Identity and Access Management</a> .
csResourceTypes :: Lens' CreateStack [Text]

-- | Key-value pairs to associate with this stack. AWS CloudFormation also
--   propagates these tags to the resources created in the stack. A maximum
--   number of 10 tags can be specified.
csTags :: Lens' CreateStack [Tag]

-- | The amount of time that can pass before the stack status becomes
--   CREATE_FAILED; if <tt>DisableRollback</tt> is not set or is set to
--   <tt>false</tt> , the stack will be rolled back.
csTimeoutInMinutes :: Lens' CreateStack (Maybe Natural)

-- | 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)

-- | 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

-- | Creates a value of <a>CreateStackResponse</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>csrsStackId</a> - Unique identifier of the stack.</li>
--   <li><a>csrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createStackResponse :: Int -> CreateStackResponse

-- | The output for a <a>CreateStack</a> action.
--   
--   <i>See:</i> <a>createStackResponse</a> smart constructor.
data CreateStackResponse

-- | Unique identifier of the stack.
csrsStackId :: Lens' CreateStackResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
csrsResponseStatus :: Lens' CreateStackResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.CreateStack.CreateStackResponse
instance Data.Data.Data Network.AWS.CloudFormation.CreateStack.CreateStackResponse
instance GHC.Show.Show Network.AWS.CloudFormation.CreateStack.CreateStackResponse
instance GHC.Read.Read Network.AWS.CloudFormation.CreateStack.CreateStackResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.CreateStack.CreateStackResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.CreateStack.CreateStack
instance Data.Data.Data Network.AWS.CloudFormation.CreateStack.CreateStack
instance GHC.Show.Show Network.AWS.CloudFormation.CreateStack.CreateStack
instance GHC.Read.Read Network.AWS.CloudFormation.CreateStack.CreateStack
instance GHC.Classes.Eq Network.AWS.CloudFormation.CreateStack.CreateStack
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.CreateStack.CreateStack
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.CreateStack.CreateStack
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.CreateStack.CreateStack
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.CreateStack.CreateStack
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.CreateStack.CreateStack
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.CreateStack.CreateStack
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.CreateStack.CreateStackResponse


-- | Creates a list of changes for a stack. AWS CloudFormation generates
--   the change set by comparing the template's information with the
--   information that you submit. A change set can help you understand
--   which resources AWS CloudFormation will change, and how it will change
--   them, before you update your stack. Change sets allow you to check
--   before making a change to avoid deleting or replacing critical
--   resources.
--   
--   AWS CloudFormation doesn't make any changes to the stack when you
--   create a change set. To make the specified changes, you must execute
--   the change set by using the <tt>ExecuteChangeSet</tt> action.
--   
--   After the call successfully completes, AWS CloudFormation starts
--   creating the change set. To check the status of the change set, use
--   the <tt>DescribeChangeSet</tt> action.
module Network.AWS.CloudFormation.CreateChangeSet

-- | Creates a value of <a>CreateChangeSet</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccsChangeSetType</a> - The type of change set operation. To
--   create a change set for a new stack, specify <tt>CREATE</tt> . To
--   create a change set for an existing stack, specify <tt>UPDATE</tt> .
--   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 <a>@REVIEW_IN_PROGRESS@</a> state until you
--   execute the change set. By default, AWS CloudFormation specifies
--   <tt>UPDATE</tt> . You can't use the <tt>UPDATE</tt> type to create a
--   change set for a new stack or the <tt>CREATE</tt> type to create a
--   change set for an existing stack.</li>
--   <li><a>ccsUsePreviousTemplate</a> - Whether to reuse the template that
--   is associated with the stack to create the change set.</li>
--   <li><a>ccsClientToken</a> - A unique identifier for this
--   <tt>CreateChangeSet</tt> 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 <tt>CreateChangeSet</tt> requests to ensure that AWS
--   CloudFormation successfully received them.</li>
--   <li><a>ccsNotificationARNs</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.</li>
--   <li><a>ccsParameters</a> - A list of <tt>Parameter</tt> structures
--   that specify input parameters for the change set. For more
--   information, see the <a>Parameter</a> data type.</li>
--   <li><a>ccsTemplateBody</a> - 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 <tt>TemplateBody</tt> or
--   <tt>TemplateURL</tt> .</li>
--   <li><a>ccsTemplateURL</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 <tt>TemplateBody</tt> or
--   <tt>TemplateURL</tt> .</li>
--   <li><a>ccsDescription</a> - A description to help you identify this
--   change set.</li>
--   <li><a>ccsCapabilities</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 <tt>CAPABILITY_IAM</tt> and
--   <tt>CAPABILITY_NAMED_IAM</tt> . The following resources require you to
--   specify this parameter: <a>AWS::IAM::AccessKey</a> ,
--   <a>AWS::IAM::Group</a> , <a>AWS::IAM::InstanceProfile</a> ,
--   <a>AWS::IAM::Policy</a> , <a>AWS::IAM::Role</a> ,
--   <a>AWS::IAM::User</a> , and <a>AWS::IAM::UserToGroupAddition</a> . 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 <tt>CAPABILITY_NAMED_IAM</tt> . If you don't specify this
--   parameter, this action returns an <tt>InsufficientCapabilities</tt>
--   error. For more information, see <a>Acknowledging IAM Resources in AWS
--   CloudFormation Templates</a> .</li>
--   <li><a>ccsResourceTypes</a> - The template resource types that you
--   have permissions to work with if you execute this change set, such as
--   <tt>AWS::EC2::Instance</tt> , <tt>AWS::EC2::*</tt> , or
--   <tt>Custom::MyCustomInstance</tt> . 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 <a>Controlling Access with AWS Identity and
--   Access Management</a> in the AWS CloudFormation User Guide.</li>
--   <li><a>ccsTags</a> - Key-value pairs to associate with this stack. AWS
--   CloudFormation also propagates these tags to resources in the stack.
--   You can specify a maximum of 10 tags.</li>
--   <li><a>ccsRoleARN</a> - 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.</li>
--   <li><a>ccsStackName</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.</li>
--   <li><a>ccsChangeSetName</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.</li>
--   </ul>
createChangeSet :: Text -> Text -> CreateChangeSet

-- | The input for the <a>CreateChangeSet</a> action.
--   
--   <i>See:</i> <a>createChangeSet</a> smart constructor.
data CreateChangeSet

-- | The type of change set operation. To create a change set for a new
--   stack, specify <tt>CREATE</tt> . To create a change set for an
--   existing stack, specify <tt>UPDATE</tt> . 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
--   <a>@REVIEW_IN_PROGRESS@</a> state until you execute the change set. By
--   default, AWS CloudFormation specifies <tt>UPDATE</tt> . You can't use
--   the <tt>UPDATE</tt> type to create a change set for a new stack or the
--   <tt>CREATE</tt> type to create a change set for an existing stack.
ccsChangeSetType :: Lens' CreateChangeSet (Maybe ChangeSetType)

-- | Whether to reuse the template that is associated with the stack to
--   create the change set.
ccsUsePreviousTemplate :: Lens' CreateChangeSet (Maybe Bool)

-- | A unique identifier for this <tt>CreateChangeSet</tt> 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 <tt>CreateChangeSet</tt> requests to ensure
--   that AWS CloudFormation successfully received them.
ccsClientToken :: Lens' CreateChangeSet (Maybe Text)

-- | 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]

-- | A list of <tt>Parameter</tt> structures that specify input parameters
--   for the change set. For more information, see the <a>Parameter</a>
--   data type.
ccsParameters :: Lens' CreateChangeSet [Parameter]

-- | 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 <tt>TemplateBody</tt> or <tt>TemplateURL</tt> .
ccsTemplateBody :: Lens' CreateChangeSet (Maybe Text)

-- | 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 <tt>TemplateBody</tt> or <tt>TemplateURL</tt> .
ccsTemplateURL :: Lens' CreateChangeSet (Maybe Text)

-- | A description to help you identify this change set.
ccsDescription :: Lens' CreateChangeSet (Maybe Text)

-- | 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
--   <tt>CAPABILITY_IAM</tt> and <tt>CAPABILITY_NAMED_IAM</tt> . The
--   following resources require you to specify this parameter:
--   <a>AWS::IAM::AccessKey</a> , <a>AWS::IAM::Group</a> ,
--   <a>AWS::IAM::InstanceProfile</a> , <a>AWS::IAM::Policy</a> ,
--   <a>AWS::IAM::Role</a> , <a>AWS::IAM::User</a> , and
--   <a>AWS::IAM::UserToGroupAddition</a> . 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
--   <tt>CAPABILITY_NAMED_IAM</tt> . If you don't specify this parameter,
--   this action returns an <tt>InsufficientCapabilities</tt> error. For
--   more information, see <a>Acknowledging IAM Resources in AWS
--   CloudFormation Templates</a> .
ccsCapabilities :: Lens' CreateChangeSet [Capability]

-- | The template resource types that you have permissions to work with if
--   you execute this change set, such as <tt>AWS::EC2::Instance</tt> ,
--   <tt>AWS::EC2::*</tt> , or <tt>Custom::MyCustomInstance</tt> . 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
--   <a>Controlling Access with AWS Identity and Access Management</a> in
--   the AWS CloudFormation User Guide.
ccsResourceTypes :: Lens' CreateChangeSet [Text]

-- | Key-value pairs to associate with this stack. AWS CloudFormation also
--   propagates these tags to resources in the stack. You can specify a
--   maximum of 10 tags.
ccsTags :: Lens' CreateChangeSet [Tag]

-- | 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)

-- | 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

-- | 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

-- | Creates a value of <a>CreateChangeSetResponse</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ccsrsId</a> - The Amazon Resource Name (ARN) of the change
--   set.</li>
--   <li><a>ccsrsStackId</a> - The unique ID of the stack.</li>
--   <li><a>ccsrsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
createChangeSetResponse :: Int -> CreateChangeSetResponse

-- | The output for the <a>CreateChangeSet</a> action.
--   
--   <i>See:</i> <a>createChangeSetResponse</a> smart constructor.
data CreateChangeSetResponse

-- | The Amazon Resource Name (ARN) of the change set.
ccsrsId :: Lens' CreateChangeSetResponse (Maybe Text)

-- | The unique ID of the stack.
ccsrsStackId :: Lens' CreateChangeSetResponse (Maybe Text)

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
ccsrsResponseStatus :: Lens' CreateChangeSetResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSetResponse
instance Data.Data.Data Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSetResponse
instance GHC.Show.Show Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSetResponse
instance GHC.Read.Read Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSetResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSetResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSet
instance Data.Data.Data Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSet
instance GHC.Show.Show Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSet
instance GHC.Read.Read Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSet
instance GHC.Classes.Eq Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSet
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSet
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSet
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSet
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSet
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSet
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSet
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.CreateChangeSet.CreateChangeSetResponse


-- | For a specified stack that is in the <tt>UPDATE_ROLLBACK_FAILED</tt>
--   state, continues rolling it back to the
--   <tt>UPDATE_ROLLBACK_COMPLETE</tt> state. Depending on the cause of the
--   failure, you can manually <a>fix the error</a> and continue the
--   rollback. By continuing the rollback, you can return your stack to a
--   working state (the <tt>UPDATE_ROLLBACK_COMPLETE</tt> state), and then
--   try to update the stack again.
--   
--   A stack goes into the <tt>UPDATE_ROLLBACK_FAILED</tt> state when AWS
--   CloudFormation cannot roll back all changes after a failed stack
--   update. For example, you might have a stack that is rolling back to an
--   old database instance that was deleted outside of AWS CloudFormation.
--   Because AWS CloudFormation doesn't know the database was deleted, it
--   assumes that the database instance still exists and attempts to roll
--   back to it, causing the update rollback to fail.
module Network.AWS.CloudFormation.ContinueUpdateRollback

-- | Creates a value of <a>ContinueUpdateRollback</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>curResourcesToSkip</a> - 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
--   <tt>UPDATE_FAILED</tt> state because a rollback failed. You can't
--   specify resources that are in the <tt>UPDATE_FAILED</tt> state for
--   other reasons, for example, because an update was canceled. To check
--   why a resource update failed, use the <tt>DescribeStackResources</tt>
--   action, and view the resource status reason. <i>Important:</i> Specify
--   this property to skip rolling back resources that AWS CloudFormation
--   can't successfully roll back. We recommend that you
--   <a>troubleshoot</a> resources before skipping them. AWS CloudFormation
--   sets the status of the specified resources to <tt>UPDATE_COMPLETE</tt>
--   and continues to roll back the stack. After the rollback is complete,
--   the state of the skipped resources will be inconsistent with the state
--   of the resources in the stack template. Before performing another
--   stack update, you must update the stack or resources to be consistent
--   with each other. If you don't, subsequent stack updates might fail,
--   and the stack will become unrecoverable. Specify the minimum number of
--   resources required to successfully roll back your stack. For example,
--   a failed resource update might cause dependent resources to fail. In
--   this case, it might not be necessary to skip the dependent resources.
--   To specify resources in a nested stack, use the following format:
--   <tt>NestedStackName.ResourceLogicalID</tt> . You can specify a nested
--   stack resource (the logical ID of an
--   <tt>AWS::CloudFormation::Stack</tt> resource) only if it's in one of
--   the following states: <tt>DELETE_IN_PROGRESS</tt> ,
--   <tt>DELETE_COMPLETE</tt> , or <tt>DELETE_FAILED</tt> .</li>
--   <li><a>curRoleARN</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.</li>
--   <li><a>curStackName</a> - The name or the unique ID of the stack that
--   you want to continue rolling back.</li>
--   </ul>
continueUpdateRollback :: Text -> ContinueUpdateRollback

-- | The input for the <a>ContinueUpdateRollback</a> action.
--   
--   <i>See:</i> <a>continueUpdateRollback</a> smart constructor.
data ContinueUpdateRollback

-- | 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 <tt>UPDATE_FAILED</tt> state because a
--   rollback failed. You can't specify resources that are in the
--   <tt>UPDATE_FAILED</tt> state for other reasons, for example, because
--   an update was canceled. To check why a resource update failed, use the
--   <tt>DescribeStackResources</tt> action, and view the resource status
--   reason. <i>Important:</i> Specify this property to skip rolling back
--   resources that AWS CloudFormation can't successfully roll back. We
--   recommend that you <a>troubleshoot</a> resources before skipping them.
--   AWS CloudFormation sets the status of the specified resources to
--   <tt>UPDATE_COMPLETE</tt> and continues to roll back the stack. After
--   the rollback is complete, the state of the skipped resources will be
--   inconsistent with the state of the resources in the stack template.
--   Before performing another stack update, you must update the stack or
--   resources to be consistent with each other. If you don't, subsequent
--   stack updates might fail, and the stack will become unrecoverable.
--   Specify the minimum number of resources required to successfully roll
--   back your stack. For example, a failed resource update might cause
--   dependent resources to fail. In this case, it might not be necessary
--   to skip the dependent resources. To specify resources in a nested
--   stack, use the following format:
--   <tt>NestedStackName.ResourceLogicalID</tt> . You can specify a nested
--   stack resource (the logical ID of an
--   <tt>AWS::CloudFormation::Stack</tt> resource) only if it's in one of
--   the following states: <tt>DELETE_IN_PROGRESS</tt> ,
--   <tt>DELETE_COMPLETE</tt> , or <tt>DELETE_FAILED</tt> .
curResourcesToSkip :: Lens' ContinueUpdateRollback [Text]

-- | 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)

-- | The name or the unique ID of the stack that you want to continue
--   rolling back.
curStackName :: Lens' ContinueUpdateRollback Text

-- | Creates a value of <a>ContinueUpdateRollbackResponse</a> with the
--   minimum fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>currsResponseStatus</a> - -- | The response status code.</li>
--   </ul>
continueUpdateRollbackResponse :: Int -> ContinueUpdateRollbackResponse

-- | The output for a <a>ContinueUpdateRollback</a> action.
--   
--   <i>See:</i> <a>continueUpdateRollbackResponse</a> smart constructor.
data ContinueUpdateRollbackResponse

-- | <ul>
--   <li>- | The response status code.</li>
--   </ul>
currsResponseStatus :: Lens' ContinueUpdateRollbackResponse Int
instance GHC.Generics.Generic Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollbackResponse
instance Data.Data.Data Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollbackResponse
instance GHC.Show.Show Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollbackResponse
instance GHC.Read.Read Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollbackResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollbackResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollback
instance Data.Data.Data Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollback
instance GHC.Show.Show Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollback
instance GHC.Read.Read Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollback
instance GHC.Classes.Eq Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollback
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollback
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollback
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollback
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollback
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollback
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollback
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.ContinueUpdateRollback.ContinueUpdateRollbackResponse


-- | Cancels an update on the specified stack. If the call completes
--   successfully, the stack rolls back the update and reverts to the
--   previous stack configuration.
module Network.AWS.CloudFormation.CancelUpdateStack

-- | Creates a value of <a>CancelUpdateStack</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cusStackName</a> - The name or the unique stack ID that is
--   associated with the stack.</li>
--   </ul>
cancelUpdateStack :: Text -> CancelUpdateStack

-- | The input for the <a>CancelUpdateStack</a> action.
--   
--   <i>See:</i> <a>cancelUpdateStack</a> smart constructor.
data CancelUpdateStack

-- | The name or the unique stack ID that is associated with the stack.
cusStackName :: Lens' CancelUpdateStack Text

-- | Creates a value of <a>CancelUpdateStackResponse</a> with the minimum
--   fields required to make a request.
cancelUpdateStackResponse :: CancelUpdateStackResponse

-- | <i>See:</i> <a>cancelUpdateStackResponse</a> smart constructor.
data CancelUpdateStackResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStackResponse
instance Data.Data.Data Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStackResponse
instance GHC.Show.Show Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStackResponse
instance GHC.Read.Read Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStackResponse
instance GHC.Classes.Eq Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStackResponse
instance GHC.Generics.Generic Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStack
instance Data.Data.Data Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStack
instance GHC.Show.Show Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStack
instance GHC.Read.Read Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStack
instance GHC.Classes.Eq Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStack
instance Network.AWS.Types.AWSRequest Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStack
instance Data.Hashable.Class.Hashable Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStack
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStack
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStack
instance Network.AWS.Data.Path.ToPath Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStack
instance Network.AWS.Data.Query.ToQuery Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStack
instance Control.DeepSeq.NFData Network.AWS.CloudFormation.CancelUpdateStack.CancelUpdateStackResponse


-- | <b>AWS CloudFormation</b>
--   
--   AWS CloudFormation allows you to create and manage AWS infrastructure
--   deployments predictably and repeatedly. You can use AWS CloudFormation
--   to leverage AWS products, such as Amazon Elastic Compute Cloud, Amazon
--   Elastic Block Store, Amazon Simple Notification Service, Elastic Load
--   Balancing, and Auto Scaling to build highly-reliable, highly scalable,
--   cost-effective applications without creating or configuring the
--   underlying AWS infrastructure.
--   
--   With AWS CloudFormation, you declare all of your resources and
--   dependencies in a template file. The template defines a collection of
--   resources as a single unit called a stack. AWS CloudFormation creates
--   and deletes all member resources of the stack together and manages all
--   dependencies between the resources for you.
--   
--   For more information about AWS CloudFormation, see the <a>AWS
--   CloudFormation Product Page</a> .
--   
--   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
--   <a>http://docs.aws.amazon.com/</a> .
module Network.AWS.CloudFormation

-- | API version <tt>2010-05-15</tt> of the Amazon CloudFormation SDK
--   configuration.
cloudFormation :: Service

-- | The specified change set name or ID doesn't exit. To view valid change
--   sets for a stack, use the <tt>ListChangeSets</tt> action.
_ChangeSetNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The specified change set cannot be used to update the stack. For
--   example, the change set status might be <tt>CREATE_IN_PROGRESS</tt> or
--   the stack status might be <tt>UPDATE_IN_PROGRESS</tt> .
_InvalidChangeSetStatusException :: AsError a => Getting (First ServiceError) a ServiceError

-- | The template contains resources with capabilities that were not
--   specified in the Capabilities parameter.
_InsufficientCapabilitiesException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Resource with the name requested already exists.
_AlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Quota for the resource has already been reached.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError

-- | Polls <a>DescribeStacks</a> every 30 seconds until a successful state
--   is reached. An error is returned after 120 failed checks.
stackCreateComplete :: Wait DescribeStacks

-- | Polls <a>DescribeStacks</a> every 30 seconds until a successful state
--   is reached. An error is returned after 120 failed checks.
stackUpdateComplete :: Wait DescribeStacks

-- | Polls <a>DescribeStacks</a> every 5 seconds until a successful state
--   is reached. An error is returned after 20 failed checks.
stackExists :: Wait DescribeStacks

-- | Polls <a>DescribeStacks</a> every 30 seconds until a successful state
--   is reached. An error is returned after 120 failed checks.
stackDeleteComplete :: Wait DescribeStacks

-- | Polls <a>DescribeChangeSet</a> every 30 seconds until a successful
--   state is reached. An error is returned after 120 failed checks.
changeSetCreateComplete :: Wait DescribeChangeSet
data Capability
CapabilityIAM :: Capability
CapabilityNamedIAM :: Capability
data ChangeAction
Add :: ChangeAction
Modify :: ChangeAction
Remove :: ChangeAction
data ChangeSetStatus
CSSCreateComplete :: ChangeSetStatus
CSSCreateInProgress :: ChangeSetStatus
CSSCreatePending :: ChangeSetStatus
CSSDeleteComplete :: ChangeSetStatus
CSSFailed :: ChangeSetStatus
data ChangeSetType
Create :: ChangeSetType
Update :: ChangeSetType
data ChangeSource
Automatic :: ChangeSource
DirectModification :: ChangeSource
ParameterReference :: ChangeSource
ResourceAttribute :: ChangeSource
ResourceReference :: ChangeSource
data ChangeType
Resource :: ChangeType
data EvaluationType
Dynamic :: EvaluationType
Static :: EvaluationType
data ExecutionStatus
Available :: ExecutionStatus
ExecuteComplete :: ExecutionStatus
ExecuteFailed :: ExecutionStatus
ExecuteInProgress :: ExecutionStatus
Obsolete :: ExecutionStatus
Unavailable :: ExecutionStatus
data OnFailure
Delete :: OnFailure
DoNothing :: OnFailure
Rollback :: OnFailure
data Replacement
Conditional :: Replacement
False' :: Replacement
True' :: Replacement
data RequiresRecreation
Always :: RequiresRecreation
Conditionally :: RequiresRecreation
Never :: RequiresRecreation
data ResourceAttribute
CreationPolicy :: ResourceAttribute
DeletionPolicy :: ResourceAttribute
Metadata :: ResourceAttribute
Properties :: ResourceAttribute
Tags :: ResourceAttribute
UpdatePolicy :: ResourceAttribute
data ResourceSignalStatus
Failure :: ResourceSignalStatus
Success :: ResourceSignalStatus
data ResourceStatus
CreateComplete :: ResourceStatus
CreateFailed :: ResourceStatus
CreateInProgress :: ResourceStatus
DeleteComplete :: ResourceStatus
DeleteFailed :: ResourceStatus
DeleteInProgress :: ResourceStatus
DeleteSkipped :: ResourceStatus
UpdateComplete :: ResourceStatus
UpdateFailed :: ResourceStatus
UpdateInProgress :: ResourceStatus
data StackStatus
SSCreateComplete :: StackStatus
SSCreateFailed :: StackStatus
SSCreateInProgress :: StackStatus
SSDeleteComplete :: StackStatus
SSDeleteFailed :: StackStatus
SSDeleteInProgress :: StackStatus
SSReviewInProgress :: StackStatus
SSRollbackComplete :: StackStatus
SSRollbackFailed :: StackStatus
SSRollbackInProgress :: StackStatus
SSUpdateComplete :: StackStatus
SSUpdateCompleteCleanupInProgress :: StackStatus
SSUpdateInProgress :: StackStatus
SSUpdateRollbackComplete :: StackStatus
SSUpdateRollbackCompleteCleanupInProgress :: StackStatus
SSUpdateRollbackFailed :: StackStatus
SSUpdateRollbackInProgress :: StackStatus
data TemplateStage
Original :: TemplateStage
Processed :: TemplateStage

-- | The AccountLimit data type.
--   
--   <i>See:</i> <a>accountLimit</a> smart constructor.
data AccountLimit

-- | Creates a value of <a>AccountLimit</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>alValue</a> - The value that is associated with the account
--   limit name.</li>
--   <li><a>alName</a> - The name of the account limit. Currently, the only
--   account limit is <tt>StackLimit</tt> .</li>
--   </ul>
accountLimit :: AccountLimit

-- | The value that is associated with the account limit name.
alValue :: Lens' AccountLimit (Maybe Int)

-- | The name of the account limit. Currently, the only account limit is
--   <tt>StackLimit</tt> .
alName :: Lens' AccountLimit (Maybe Text)

-- | The <tt>Change</tt> structure describes the changes AWS CloudFormation
--   will perform if you execute the change set.
--   
--   <i>See:</i> <a>change</a> smart constructor.
data Change

-- | Creates a value of <a>Change</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cResourceChange</a> - A <tt>ResourceChange</tt> structure that
--   describes the resource and action that AWS CloudFormation will
--   perform.</li>
--   <li><a>cType</a> - The type of entity that AWS CloudFormation changes.
--   Currently, the only entity type is <tt>Resource</tt> .</li>
--   </ul>
change :: Change

-- | A <tt>ResourceChange</tt> structure that describes the resource and
--   action that AWS CloudFormation will perform.
cResourceChange :: Lens' Change (Maybe ResourceChange)

-- | The type of entity that AWS CloudFormation changes. Currently, the
--   only entity type is <tt>Resource</tt> .
cType :: Lens' Change (Maybe ChangeType)

-- | The <tt>ChangeSetSummary</tt> structure describes a change set, its
--   status, and the stack with which it's associated.
--   
--   <i>See:</i> <a>changeSetSummary</a> smart constructor.
data ChangeSetSummary

-- | Creates a value of <a>ChangeSetSummary</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>cssCreationTime</a> - The start time when the change set was
--   created, in UTC.</li>
--   <li><a>cssStatus</a> - The state of the change set, such as
--   <tt>CREATE_IN_PROGRESS</tt> , <tt>CREATE_COMPLETE</tt> , or
--   <tt>FAILED</tt> .</li>
--   <li><a>cssChangeSetName</a> - The name of the change set.</li>
--   <li><a>cssExecutionStatus</a> - If the change set execution status is
--   <tt>AVAILABLE</tt> , 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 <tt>UNAVAILABLE</tt> state because AWS
--   CloudFormation is still creating it or in an <tt>OBSOLETE</tt> state
--   because the stack was already updated.</li>
--   <li><a>cssChangeSetId</a> - The ID of the change set.</li>
--   <li><a>cssStatusReason</a> - A description of the change set's status.
--   For example, if your change set is in the <tt>FAILED</tt> state, AWS
--   CloudFormation shows the error message.</li>
--   <li><a>cssStackId</a> - The ID of the stack with which the change set
--   is associated.</li>
--   <li><a>cssDescription</a> - Descriptive information about the change
--   set.</li>
--   <li><a>cssStackName</a> - The name of the stack with which the change
--   set is associated.</li>
--   </ul>
changeSetSummary :: ChangeSetSummary

-- | The start time when the change set was created, in UTC.
cssCreationTime :: Lens' ChangeSetSummary (Maybe UTCTime)

-- | The state of the change set, such as <tt>CREATE_IN_PROGRESS</tt> ,
--   <tt>CREATE_COMPLETE</tt> , or <tt>FAILED</tt> .
cssStatus :: Lens' ChangeSetSummary (Maybe ChangeSetStatus)

-- | The name of the change set.
cssChangeSetName :: Lens' ChangeSetSummary (Maybe Text)

-- | If the change set execution status is <tt>AVAILABLE</tt> , 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
--   <tt>UNAVAILABLE</tt> state because AWS CloudFormation is still
--   creating it or in an <tt>OBSOLETE</tt> state because the stack was
--   already updated.
cssExecutionStatus :: Lens' ChangeSetSummary (Maybe ExecutionStatus)

-- | The ID of the change set.
cssChangeSetId :: Lens' ChangeSetSummary (Maybe Text)

-- | A description of the change set's status. For example, if your change
--   set is in the <tt>FAILED</tt> state, AWS CloudFormation shows the
--   error message.
cssStatusReason :: Lens' ChangeSetSummary (Maybe Text)

-- | The ID of the stack with which the change set is associated.
cssStackId :: Lens' ChangeSetSummary (Maybe Text)

-- | Descriptive information about the change set.
cssDescription :: Lens' ChangeSetSummary (Maybe Text)

-- | The name of the stack with which the change set is associated.
cssStackName :: Lens' ChangeSetSummary (Maybe Text)

-- | The <tt>Export</tt> structure describes the exported output values for
--   a stack.
--   
--   <i>See:</i> <a>export'</a> smart constructor.
data Export

-- | Creates a value of <a>Export</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>eValue</a> - The value of the exported output, such as a
--   resource physical ID. This value is defined in the <tt>Export</tt>
--   field in the associated stack's <tt>Outputs</tt> section.</li>
--   <li><a>eExportingStackId</a> - The stack that contains the exported
--   output name and value.</li>
--   <li><a>eName</a> - The name of exported output value. Use this name
--   and the <tt>Fn::ImportValue</tt> function to import the associated
--   value into other stacks. The name is defined in the <tt>Export</tt>
--   field in the associated stack's <tt>Outputs</tt> section.</li>
--   </ul>
export' :: Export

-- | The value of the exported output, such as a resource physical ID. This
--   value is defined in the <tt>Export</tt> field in the associated
--   stack's <tt>Outputs</tt> section.
eValue :: Lens' Export (Maybe Text)

-- | The stack that contains the exported output name and value.
eExportingStackId :: Lens' Export (Maybe Text)

-- | The name of exported output value. Use this name and the
--   <tt>Fn::ImportValue</tt> function to import the associated value into
--   other stacks. The name is defined in the <tt>Export</tt> field in the
--   associated stack's <tt>Outputs</tt> section.
eName :: Lens' Export (Maybe Text)

-- | The Output data type.
--   
--   <i>See:</i> <a>output</a> smart constructor.
data Output

-- | Creates a value of <a>Output</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>oOutputValue</a> - The value associated with the output.</li>
--   <li><a>oOutputKey</a> - The key associated with the output.</li>
--   <li><a>oDescription</a> - User defined description associated with the
--   output.</li>
--   </ul>
output :: Output

-- | The value associated with the output.
oOutputValue :: Lens' Output (Maybe Text)

-- | The key associated with the output.
oOutputKey :: Lens' Output (Maybe Text)

-- | User defined description associated with the output.
oDescription :: Lens' Output (Maybe Text)

-- | The Parameter data type.
--   
--   <i>See:</i> <a>parameter</a> smart constructor.
data Parameter

-- | Creates a value of <a>Parameter</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pParameterValue</a> - The value associated with the
--   parameter.</li>
--   <li><a>pParameterKey</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.</li>
--   <li><a>pUsePreviousValue</a> - During a stack update, use the existing
--   parameter value that the stack is using for a given parameter key. If
--   you specify <tt>true</tt> , do not specify a parameter value.</li>
--   </ul>
parameter :: Parameter

-- | The value associated with the parameter.
pParameterValue :: Lens' Parameter (Maybe Text)

-- | 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)

-- | During a stack update, use the existing parameter value that the stack
--   is using for a given parameter key. If you specify <tt>true</tt> , do
--   not specify a parameter value.
pUsePreviousValue :: Lens' Parameter (Maybe Bool)

-- | A set of criteria that AWS CloudFormation uses to validate parameter
--   values. Although other constraints might be defined in the stack
--   template, AWS CloudFormation returns only the <tt>AllowedValues</tt>
--   property.
--   
--   <i>See:</i> <a>parameterConstraints</a> smart constructor.
data ParameterConstraints

-- | Creates a value of <a>ParameterConstraints</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pcAllowedValues</a> - A list of values that are permitted for a
--   parameter.</li>
--   </ul>
parameterConstraints :: ParameterConstraints

-- | A list of values that are permitted for a parameter.
pcAllowedValues :: Lens' ParameterConstraints [Text]

-- | The ParameterDeclaration data type.
--   
--   <i>See:</i> <a>parameterDeclaration</a> smart constructor.
data ParameterDeclaration

-- | Creates a value of <a>ParameterDeclaration</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>pdParameterKey</a> - The name that is associated with the
--   parameter.</li>
--   <li><a>pdParameterType</a> - The type of parameter.</li>
--   <li><a>pdParameterConstraints</a> - The criteria that AWS
--   CloudFormation uses to validate parameter values.</li>
--   <li><a>pdDefaultValue</a> - The default value of the parameter.</li>
--   <li><a>pdNoEcho</a> - Flag that indicates whether the parameter value
--   is shown as plain text in logs and in the AWS Management Console.</li>
--   <li><a>pdDescription</a> - The description that is associate with the
--   parameter.</li>
--   </ul>
parameterDeclaration :: ParameterDeclaration

-- | The name that is associated with the parameter.
pdParameterKey :: Lens' ParameterDeclaration (Maybe Text)

-- | The type of parameter.
pdParameterType :: Lens' ParameterDeclaration (Maybe Text)

-- | The criteria that AWS CloudFormation uses to validate parameter
--   values.
pdParameterConstraints :: Lens' ParameterDeclaration (Maybe ParameterConstraints)

-- | The default value of the parameter.
pdDefaultValue :: Lens' ParameterDeclaration (Maybe Text)

-- | 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)

-- | The description that is associate with the parameter.
pdDescription :: Lens' ParameterDeclaration (Maybe Text)

-- | The <tt>ResourceChange</tt> structure describes the resource and the
--   action that AWS CloudFormation will perform on it if you execute this
--   change set.
--   
--   <i>See:</i> <a>resourceChange</a> smart constructor.
data ResourceChange

-- | Creates a value of <a>ResourceChange</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rcLogicalResourceId</a> - The resource's logical ID, which is
--   defined in the stack's template.</li>
--   <li><a>rcPhysicalResourceId</a> - The resource's physical ID (resource
--   name). Resources that you are adding don't have physical IDs because
--   they haven't been created.</li>
--   <li><a>rcResourceType</a> - The type of AWS CloudFormation resource,
--   such as <tt>AWS::S3::Bucket</tt> .</li>
--   <li><a>rcAction</a> - The action that AWS CloudFormation takes on the
--   resource, such as <tt>Add</tt> (adds a new resource), <tt>Modify</tt>
--   (changes a resource), or <tt>Remove</tt> (deletes a resource).</li>
--   <li><a>rcScope</a> - For the <tt>Modify</tt> action, indicates which
--   resource attribute is triggering this update, such as a change in the
--   resource attribute's <tt>Metadata</tt> , <tt>Properties</tt> , or
--   <tt>Tags</tt> .</li>
--   <li><a>rcDetails</a> - For the <tt>Modify</tt> action, a list of
--   <tt>ResourceChangeDetail</tt> structures that describes the changes
--   that AWS CloudFormation will make to the resource.</li>
--   <li><a>rcReplacement</a> - For the <tt>Modify</tt> 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
--   <tt>RequiresRecreation</tt> property in the
--   <tt>ResourceTargetDefinition</tt> structure. For example, if the
--   <tt>RequiresRecreation</tt> field is <tt>Always</tt> and the
--   <tt>Evaluation</tt> field is <tt>Static</tt> , <tt>Replacement</tt> is
--   <tt>True</tt> . If the <tt>RequiresRecreation</tt> field is
--   <tt>Always</tt> and the <tt>Evaluation</tt> field is <tt>Dynamic</tt>
--   , <tt>Replacement</tt> is <tt>Conditionally</tt> . If you have
--   multiple changes with different <tt>RequiresRecreation</tt> values,
--   the <tt>Replacement</tt> value depends on the change with the most
--   impact. A <tt>RequiresRecreation</tt> value of <tt>Always</tt> has the
--   most impact, followed by <tt>Conditionally</tt> , and then
--   <tt>Never</tt> .</li>
--   </ul>
resourceChange :: ResourceChange

-- | The resource's logical ID, which is defined in the stack's template.
rcLogicalResourceId :: Lens' ResourceChange (Maybe Text)

-- | 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)

-- | The type of AWS CloudFormation resource, such as
--   <tt>AWS::S3::Bucket</tt> .
rcResourceType :: Lens' ResourceChange (Maybe Text)

-- | The action that AWS CloudFormation takes on the resource, such as
--   <tt>Add</tt> (adds a new resource), <tt>Modify</tt> (changes a
--   resource), or <tt>Remove</tt> (deletes a resource).
rcAction :: Lens' ResourceChange (Maybe ChangeAction)

-- | For the <tt>Modify</tt> action, indicates which resource attribute is
--   triggering this update, such as a change in the resource attribute's
--   <tt>Metadata</tt> , <tt>Properties</tt> , or <tt>Tags</tt> .
rcScope :: Lens' ResourceChange [ResourceAttribute]

-- | For the <tt>Modify</tt> action, a list of
--   <tt>ResourceChangeDetail</tt> structures that describes the changes
--   that AWS CloudFormation will make to the resource.
rcDetails :: Lens' ResourceChange [ResourceChangeDetail]

-- | For the <tt>Modify</tt> 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
--   <tt>RequiresRecreation</tt> property in the
--   <tt>ResourceTargetDefinition</tt> structure. For example, if the
--   <tt>RequiresRecreation</tt> field is <tt>Always</tt> and the
--   <tt>Evaluation</tt> field is <tt>Static</tt> , <tt>Replacement</tt> is
--   <tt>True</tt> . If the <tt>RequiresRecreation</tt> field is
--   <tt>Always</tt> and the <tt>Evaluation</tt> field is <tt>Dynamic</tt>
--   , <tt>Replacement</tt> is <tt>Conditionally</tt> . If you have
--   multiple changes with different <tt>RequiresRecreation</tt> values,
--   the <tt>Replacement</tt> value depends on the change with the most
--   impact. A <tt>RequiresRecreation</tt> value of <tt>Always</tt> has the
--   most impact, followed by <tt>Conditionally</tt> , and then
--   <tt>Never</tt> .
rcReplacement :: Lens' ResourceChange (Maybe Replacement)

-- | For a resource with <tt>Modify</tt> as the action, the
--   <tt>ResourceChange</tt> structure describes the changes AWS
--   CloudFormation will make to that resource.
--   
--   <i>See:</i> <a>resourceChangeDetail</a> smart constructor.
data ResourceChangeDetail

-- | Creates a value of <a>ResourceChangeDetail</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rcdCausingEntity</a> - The identity of the entity that
--   triggered this change. This entity is a member of the group that is
--   specified by the <tt>ChangeSource</tt> field. For example, if you
--   modified the value of the <tt>KeyPairName</tt> parameter, the
--   <tt>CausingEntity</tt> is the name of the parameter
--   (<tt>KeyPairName</tt> ). If the <tt>ChangeSource</tt> value is
--   <tt>DirectModification</tt> , no value is given for
--   <tt>CausingEntity</tt> .</li>
--   <li><a>rcdChangeSource</a> - The group to which the
--   <tt>CausingEntity</tt> value belongs. There are five entity groups: *
--   <tt>ResourceReference</tt> entities are <tt>Ref</tt> intrinsic
--   functions that refer to resources in the template, such as <tt>{
--   <a>Ref</a> : <a>MyEC2InstanceResource</a> }</tt> . *
--   <tt>ParameterReference</tt> entities are <tt>Ref</tt> intrinsic
--   functions that get template parameter values, such as <tt>{ <a>Ref</a>
--   : <a>MyPasswordParameter</a> }</tt> . * <tt>ResourceAttribute</tt>
--   entities are <tt>Fn::GetAtt</tt> intrinsic functions that get resource
--   attribute values, such as <tt>{ <a>Fn::GetAtt</a> : [
--   <a>MyEC2InstanceResource</a>, <a>PublicDnsName</a> ] }</tt> . *
--   <tt>DirectModification</tt> entities are changes that are made
--   directly to the template. * <tt>Automatic</tt> entities are
--   <tt>AWS::CloudFormation::Stack</tt> resource types, which are also
--   known as nested stacks. If you made no changes to the
--   <tt>AWS::CloudFormation::Stack</tt> resource, AWS CloudFormation sets
--   the <tt>ChangeSource</tt> to <tt>Automatic</tt> 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.</li>
--   <li><a>rcdEvaluation</a> - Indicates whether AWS CloudFormation can
--   determine the target value, and whether the target value will change
--   before you execute a change set. For <tt>Static</tt> evaluations, AWS
--   CloudFormation can determine that the target value will change, and
--   its value. For example, if you directly modify the
--   <tt>InstanceType</tt> property of an EC2 instance, AWS CloudFormation
--   knows that this property value will change, and its value, so this is
--   a <tt>Static</tt> evaluation. For <tt>Dynamic</tt> evaluations, cannot
--   determine the target value because it depends on the result of an
--   intrinsic function, such as a <tt>Ref</tt> or <tt>Fn::GetAtt</tt>
--   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.</li>
--   <li><a>rcdTarget</a> - A <tt>ResourceTargetDefinition</tt> structure
--   that describes the field that AWS CloudFormation will change and
--   whether the resource will be recreated.</li>
--   </ul>
resourceChangeDetail :: ResourceChangeDetail

-- | The identity of the entity that triggered this change. This entity is
--   a member of the group that is specified by the <tt>ChangeSource</tt>
--   field. For example, if you modified the value of the
--   <tt>KeyPairName</tt> parameter, the <tt>CausingEntity</tt> is the name
--   of the parameter (<tt>KeyPairName</tt> ). If the <tt>ChangeSource</tt>
--   value is <tt>DirectModification</tt> , no value is given for
--   <tt>CausingEntity</tt> .
rcdCausingEntity :: Lens' ResourceChangeDetail (Maybe Text)

-- | The group to which the <tt>CausingEntity</tt> value belongs. There are
--   five entity groups: * <tt>ResourceReference</tt> entities are
--   <tt>Ref</tt> intrinsic functions that refer to resources in the
--   template, such as <tt>{ <a>Ref</a> : <a>MyEC2InstanceResource</a>
--   }</tt> . * <tt>ParameterReference</tt> entities are <tt>Ref</tt>
--   intrinsic functions that get template parameter values, such as <tt>{
--   <a>Ref</a> : <a>MyPasswordParameter</a> }</tt> . *
--   <tt>ResourceAttribute</tt> entities are <tt>Fn::GetAtt</tt> intrinsic
--   functions that get resource attribute values, such as <tt>{
--   <a>Fn::GetAtt</a> : [ <a>MyEC2InstanceResource</a>,
--   <a>PublicDnsName</a> ] }</tt> . * <tt>DirectModification</tt> entities
--   are changes that are made directly to the template. *
--   <tt>Automatic</tt> entities are <tt>AWS::CloudFormation::Stack</tt>
--   resource types, which are also known as nested stacks. If you made no
--   changes to the <tt>AWS::CloudFormation::Stack</tt> resource, AWS
--   CloudFormation sets the <tt>ChangeSource</tt> to <tt>Automatic</tt>
--   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)

-- | Indicates whether AWS CloudFormation can determine the target value,
--   and whether the target value will change before you execute a change
--   set. For <tt>Static</tt> evaluations, AWS CloudFormation can determine
--   that the target value will change, and its value. For example, if you
--   directly modify the <tt>InstanceType</tt> property of an EC2 instance,
--   AWS CloudFormation knows that this property value will change, and its
--   value, so this is a <tt>Static</tt> evaluation. For <tt>Dynamic</tt>
--   evaluations, cannot determine the target value because it depends on
--   the result of an intrinsic function, such as a <tt>Ref</tt> or
--   <tt>Fn::GetAtt</tt> 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)

-- | A <tt>ResourceTargetDefinition</tt> structure that describes the field
--   that AWS CloudFormation will change and whether the resource will be
--   recreated.
rcdTarget :: Lens' ResourceChangeDetail (Maybe ResourceTargetDefinition)

-- | The field that AWS CloudFormation will change, such as the name of a
--   resource's property, and whether the resource will be recreated.
--   
--   <i>See:</i> <a>resourceTargetDefinition</a> smart constructor.
data ResourceTargetDefinition

-- | Creates a value of <a>ResourceTargetDefinition</a> with the minimum
--   fields required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>rtdAttribute</a> - Indicates which resource attribute is
--   triggering this update, such as a change in the resource attribute's
--   <tt>Metadata</tt> , <tt>Properties</tt> , or <tt>Tags</tt> .</li>
--   <li><a>rtdRequiresRecreation</a> - If the <tt>Attribute</tt> value is
--   <tt>Properties</tt> , indicates whether a change to this property
--   causes the resource to be recreated. The value can be <tt>Never</tt> ,
--   <tt>Always</tt> , or <tt>Conditionally</tt> . To determine the
--   conditions for a <tt>Conditionally</tt> recreation, see the update
--   behavior for that <a>property</a> in the AWS CloudFormation User
--   Guide.</li>
--   <li><a>rtdName</a> - If the <tt>Attribute</tt> value is
--   <tt>Properties</tt> , the name of the property. For all other
--   attributes, the value is null.</li>
--   </ul>
resourceTargetDefinition :: ResourceTargetDefinition

-- | Indicates which resource attribute is triggering this update, such as
--   a change in the resource attribute's <tt>Metadata</tt> ,
--   <tt>Properties</tt> , or <tt>Tags</tt> .
rtdAttribute :: Lens' ResourceTargetDefinition (Maybe ResourceAttribute)

-- | If the <tt>Attribute</tt> value is <tt>Properties</tt> , indicates
--   whether a change to this property causes the resource to be recreated.
--   The value can be <tt>Never</tt> , <tt>Always</tt> , or
--   <tt>Conditionally</tt> . To determine the conditions for a
--   <tt>Conditionally</tt> recreation, see the update behavior for that
--   <a>property</a> in the AWS CloudFormation User Guide.
rtdRequiresRecreation :: Lens' ResourceTargetDefinition (Maybe RequiresRecreation)

-- | If the <tt>Attribute</tt> value is <tt>Properties</tt> , the name of
--   the property. For all other attributes, the value is null.
rtdName :: Lens' ResourceTargetDefinition (Maybe Text)

-- | The Stack data type.
--   
--   <i>See:</i> <a>stack</a> smart constructor.
data Stack

-- | Creates a value of <a>Stack</a> with the minimum fields required to
--   make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>sDisableRollback</a> - Boolean to enable or disable rollback on
--   stack creation failures: * <tt>true</tt> : disable rollback *
--   <tt>false</tt> : enable rollback</li>
--   <li><a>sLastUpdatedTime</a> - The time the stack was last updated.
--   This field will only be returned if the stack has been updated at
--   least once.</li>
--   <li><a>sNotificationARNs</a> - SNS topic ARNs to which stack related
--   events are published.</li>
--   <li><a>sStackStatusReason</a> - Success/failure message associated
--   with the stack status.</li>
--   <li><a>sChangeSetId</a> - The unique ID of the change set.</li>
--   <li><a>sOutputs</a> - A list of output structures.</li>
--   <li><a>sParameters</a> - A list of <tt>Parameter</tt> structures.</li>
--   <li><a>sStackId</a> - Unique identifier of the stack.</li>
--   <li><a>sDescription</a> - A user-defined description associated with
--   the stack.</li>
--   <li><a>sCapabilities</a> - The capabilities allowed in the stack.</li>
--   <li><a>sTags</a> - A list of <tt>Tag</tt> s that specify information
--   about the stack.</li>
--   <li><a>sTimeoutInMinutes</a> - The amount of time within which stack
--   creation should complete.</li>
--   <li><a>sRoleARN</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.</li>
--   <li><a>sStackName</a> - The name associated with the stack.</li>
--   <li><a>sCreationTime</a> - The time at which the stack was
--   created.</li>
--   <li><a>sStackStatus</a> - Current status of the stack.</li>
--   </ul>
stack :: Text -> UTCTime -> StackStatus -> Stack

-- | Boolean to enable or disable rollback on stack creation failures: *
--   <tt>true</tt> : disable rollback * <tt>false</tt> : enable rollback
sDisableRollback :: Lens' Stack (Maybe Bool)

-- | 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)

-- | SNS topic ARNs to which stack related events are published.
sNotificationARNs :: Lens' Stack [Text]

-- | Success/failure message associated with the stack status.
sStackStatusReason :: Lens' Stack (Maybe Text)

-- | The unique ID of the change set.
sChangeSetId :: Lens' Stack (Maybe Text)

-- | A list of output structures.
sOutputs :: Lens' Stack [Output]

-- | A list of <tt>Parameter</tt> structures.
sParameters :: Lens' Stack [Parameter]

-- | Unique identifier of the stack.
sStackId :: Lens' Stack (Maybe Text)

-- | A user-defined description associated with the stack.
sDescription :: Lens' Stack (Maybe Text)

-- | The capabilities allowed in the stack.
sCapabilities :: Lens' Stack [Capability]

-- | A list of <tt>Tag</tt> s that specify information about the stack.
sTags :: Lens' Stack [Tag]

-- | The amount of time within which stack creation should complete.
sTimeoutInMinutes :: Lens' Stack (Maybe Natural)

-- | 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)

-- | The name associated with the stack.
sStackName :: Lens' Stack Text

-- | The time at which the stack was created.
sCreationTime :: Lens' Stack UTCTime

-- | Current status of the stack.
sStackStatus :: Lens' Stack StackStatus

-- | The StackEvent data type.
--   
--   <i>See:</i> <a>stackEvent</a> smart constructor.
data StackEvent

-- | Creates a value of <a>StackEvent</a> with the minimum fields required
--   to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>seLogicalResourceId</a> - The logical name of the resource
--   specified in the template.</li>
--   <li><a>sePhysicalResourceId</a> - The name or unique identifier
--   associated with the physical instance of the resource.</li>
--   <li><a>seResourceType</a> - Type of resource. (For more information,
--   go to <a>AWS Resource Types Reference</a> in the AWS CloudFormation
--   User Guide.)</li>
--   <li><a>seResourceStatusReason</a> - Success/failure message associated
--   with the resource.</li>
--   <li><a>seResourceProperties</a> - BLOB of the properties used to
--   create the resource.</li>
--   <li><a>seResourceStatus</a> - Current status of the resource.</li>
--   <li><a>seStackId</a> - The unique ID name of the instance of the
--   stack.</li>
--   <li><a>seEventId</a> - The unique ID of this event.</li>
--   <li><a>seStackName</a> - The name associated with a stack.</li>
--   <li><a>seTimestamp</a> - Time the status was updated.</li>
--   </ul>
stackEvent :: Text -> Text -> Text -> UTCTime -> StackEvent

-- | The logical name of the resource specified in the template.
seLogicalResourceId :: Lens' StackEvent (Maybe Text)

-- | The name or unique identifier associated with the physical instance of
--   the resource.
sePhysicalResourceId :: Lens' StackEvent (Maybe Text)

-- | Type of resource. (For more information, go to <a>AWS Resource Types
--   Reference</a> in the AWS CloudFormation User Guide.)
seResourceType :: Lens' StackEvent (Maybe Text)

-- | Success/failure message associated with the resource.
seResourceStatusReason :: Lens' StackEvent (Maybe Text)

-- | BLOB of the properties used to create the resource.
seResourceProperties :: Lens' StackEvent (Maybe Text)

-- | Current status of the resource.
seResourceStatus :: Lens' StackEvent (Maybe ResourceStatus)

-- | The unique ID name of the instance of the stack.
seStackId :: Lens' StackEvent Text

-- | The unique ID of this event.
seEventId :: Lens' StackEvent Text

-- | The name associated with a stack.
seStackName :: Lens' StackEvent Text

-- | Time the status was updated.
seTimestamp :: Lens' StackEvent UTCTime

-- | The StackResource data type.
--   
--   <i>See:</i> <a>stackResource</a> smart constructor.
data StackResource

-- | Creates a value of <a>StackResource</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srPhysicalResourceId</a> - The name or unique identifier that
--   corresponds to a physical instance ID of a resource supported by AWS
--   CloudFormation.</li>
--   <li><a>srResourceStatusReason</a> - Success/failure message associated
--   with the resource.</li>
--   <li><a>srStackId</a> - Unique identifier of the stack.</li>
--   <li><a>srDescription</a> - User defined description associated with
--   the resource.</li>
--   <li><a>srStackName</a> - The name associated with the stack.</li>
--   <li><a>srLogicalResourceId</a> - The logical name of the resource
--   specified in the template.</li>
--   <li><a>srResourceType</a> - Type of resource. (For more information,
--   go to <a>AWS Resource Types Reference</a> in the AWS CloudFormation
--   User Guide.)</li>
--   <li><a>srTimestamp</a> - Time the status was updated.</li>
--   <li><a>srResourceStatus</a> - Current status of the resource.</li>
--   </ul>
stackResource :: Text -> Text -> UTCTime -> ResourceStatus -> StackResource

-- | The name or unique identifier that corresponds to a physical instance
--   ID of a resource supported by AWS CloudFormation.
srPhysicalResourceId :: Lens' StackResource (Maybe Text)

-- | Success/failure message associated with the resource.
srResourceStatusReason :: Lens' StackResource (Maybe Text)

-- | Unique identifier of the stack.
srStackId :: Lens' StackResource (Maybe Text)

-- | User defined description associated with the resource.
srDescription :: Lens' StackResource (Maybe Text)

-- | The name associated with the stack.
srStackName :: Lens' StackResource (Maybe Text)

-- | The logical name of the resource specified in the template.
srLogicalResourceId :: Lens' StackResource Text

-- | Type of resource. (For more information, go to <a>AWS Resource Types
--   Reference</a> in the AWS CloudFormation User Guide.)
srResourceType :: Lens' StackResource Text

-- | Time the status was updated.
srTimestamp :: Lens' StackResource UTCTime

-- | Current status of the resource.
srResourceStatus :: Lens' StackResource ResourceStatus

-- | Contains detailed information about the specified stack resource.
--   
--   <i>See:</i> <a>stackResourceDetail</a> smart constructor.
data StackResourceDetail

-- | Creates a value of <a>StackResourceDetail</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srdPhysicalResourceId</a> - The name or unique identifier that
--   corresponds to a physical instance ID of a resource supported by AWS
--   CloudFormation.</li>
--   <li><a>srdResourceStatusReason</a> - Success/failure message
--   associated with the resource.</li>
--   <li><a>srdMetadata</a> - The content of the <tt>Metadata</tt>
--   attribute declared for the resource. For more information, see
--   <a>Metadata Attribute</a> in the AWS CloudFormation User Guide.</li>
--   <li><a>srdStackId</a> - Unique identifier of the stack.</li>
--   <li><a>srdDescription</a> - User defined description associated with
--   the resource.</li>
--   <li><a>srdStackName</a> - The name associated with the stack.</li>
--   <li><a>srdLogicalResourceId</a> - The logical name of the resource
--   specified in the template.</li>
--   <li><a>srdResourceType</a> - Type of resource. ((For more information,
--   go to <a>AWS Resource Types Reference</a> in the AWS CloudFormation
--   User Guide.)</li>
--   <li><a>srdLastUpdatedTimestamp</a> - Time the status was updated.</li>
--   <li><a>srdResourceStatus</a> - Current status of the resource.</li>
--   </ul>
stackResourceDetail :: Text -> Text -> UTCTime -> ResourceStatus -> StackResourceDetail

-- | The name or unique identifier that corresponds to a physical instance
--   ID of a resource supported by AWS CloudFormation.
srdPhysicalResourceId :: Lens' StackResourceDetail (Maybe Text)

-- | Success/failure message associated with the resource.
srdResourceStatusReason :: Lens' StackResourceDetail (Maybe Text)

-- | The content of the <tt>Metadata</tt> attribute declared for the
--   resource. For more information, see <a>Metadata Attribute</a> in the
--   AWS CloudFormation User Guide.
srdMetadata :: Lens' StackResourceDetail (Maybe Text)

-- | Unique identifier of the stack.
srdStackId :: Lens' StackResourceDetail (Maybe Text)

-- | User defined description associated with the resource.
srdDescription :: Lens' StackResourceDetail (Maybe Text)

-- | The name associated with the stack.
srdStackName :: Lens' StackResourceDetail (Maybe Text)

-- | The logical name of the resource specified in the template.
srdLogicalResourceId :: Lens' StackResourceDetail Text

-- | Type of resource. ((For more information, go to <a>AWS Resource Types
--   Reference</a> in the AWS CloudFormation User Guide.)
srdResourceType :: Lens' StackResourceDetail Text

-- | Time the status was updated.
srdLastUpdatedTimestamp :: Lens' StackResourceDetail UTCTime

-- | Current status of the resource.
srdResourceStatus :: Lens' StackResourceDetail ResourceStatus

-- | Contains high-level information about the specified stack resource.
--   
--   <i>See:</i> <a>stackResourceSummary</a> smart constructor.
data StackResourceSummary

-- | Creates a value of <a>StackResourceSummary</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>srsPhysicalResourceId</a> - The name or unique identifier that
--   corresponds to a physical instance ID of the resource.</li>
--   <li><a>srsResourceStatusReason</a> - Success/failure message
--   associated with the resource.</li>
--   <li><a>srsLogicalResourceId</a> - The logical name of the resource
--   specified in the template.</li>
--   <li><a>srsResourceType</a> - Type of resource. (For more information,
--   go to <a>AWS Resource Types Reference</a> in the AWS CloudFormation
--   User Guide.)</li>
--   <li><a>srsLastUpdatedTimestamp</a> - Time the status was updated.</li>
--   <li><a>srsResourceStatus</a> - Current status of the resource.</li>
--   </ul>
stackResourceSummary :: Text -> Text -> UTCTime -> ResourceStatus -> StackResourceSummary

-- | The name or unique identifier that corresponds to a physical instance
--   ID of the resource.
srsPhysicalResourceId :: Lens' StackResourceSummary (Maybe Text)

-- | Success/failure message associated with the resource.
srsResourceStatusReason :: Lens' StackResourceSummary (Maybe Text)

-- | The logical name of the resource specified in the template.
srsLogicalResourceId :: Lens' StackResourceSummary Text

-- | Type of resource. (For more information, go to <a>AWS Resource Types
--   Reference</a> in the AWS CloudFormation User Guide.)
srsResourceType :: Lens' StackResourceSummary Text

-- | Time the status was updated.
srsLastUpdatedTimestamp :: Lens' StackResourceSummary UTCTime

-- | Current status of the resource.
srsResourceStatus :: Lens' StackResourceSummary ResourceStatus

-- | The StackSummary Data Type
--   
--   <i>See:</i> <a>stackSummary</a> smart constructor.
data StackSummary

-- | Creates a value of <a>StackSummary</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>ssLastUpdatedTime</a> - The time the stack was last updated.
--   This field will only be returned if the stack has been updated at
--   least once.</li>
--   <li><a>ssStackStatusReason</a> - Success/Failure message associated
--   with the stack status.</li>
--   <li><a>ssTemplateDescription</a> - The template description of the
--   template used to create the stack.</li>
--   <li><a>ssDeletionTime</a> - The time the stack was deleted.</li>
--   <li><a>ssStackId</a> - Unique stack identifier.</li>
--   <li><a>ssStackName</a> - The name associated with the stack.</li>
--   <li><a>ssCreationTime</a> - The time the stack was created.</li>
--   <li><a>ssStackStatus</a> - The current status of the stack.</li>
--   </ul>
stackSummary :: Text -> UTCTime -> StackStatus -> StackSummary

-- | 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)

-- | Success/Failure message associated with the stack status.
ssStackStatusReason :: Lens' StackSummary (Maybe Text)

-- | The template description of the template used to create the stack.
ssTemplateDescription :: Lens' StackSummary (Maybe Text)

-- | The time the stack was deleted.
ssDeletionTime :: Lens' StackSummary (Maybe UTCTime)

-- | Unique stack identifier.
ssStackId :: Lens' StackSummary (Maybe Text)

-- | The name associated with the stack.
ssStackName :: Lens' StackSummary Text

-- | The time the stack was created.
ssCreationTime :: Lens' StackSummary UTCTime

-- | The current status of the stack.
ssStackStatus :: Lens' StackSummary StackStatus

-- | The Tag type enables you to specify a key-value pair that can be used
--   to store information about an AWS CloudFormation stack.
--   
--   <i>See:</i> <a>tag</a> smart constructor.
data Tag

-- | Creates a value of <a>Tag</a> with the minimum fields required to make
--   a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tagValue</a> - <i>Required</i> . A string containing the value
--   for this tag. You can specify a maximum of 256 characters for a tag
--   value.</li>
--   <li><a>tagKey</a> - <i>Required</i> . 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:
--   <tt>aws:</tt> .</li>
--   </ul>
tag :: Tag

-- | <i>Required</i> . A string containing the value for this tag. You can
--   specify a maximum of 256 characters for a tag value.
tagValue :: Lens' Tag (Maybe Text)

-- | <i>Required</i> . 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: <tt>aws:</tt> .
tagKey :: Lens' Tag (Maybe Text)

-- | The TemplateParameter data type.
--   
--   <i>See:</i> <a>templateParameter</a> smart constructor.
data TemplateParameter

-- | Creates a value of <a>TemplateParameter</a> with the minimum fields
--   required to make a request.
--   
--   Use one of the following lenses to modify other fields as desired:
--   
--   <ul>
--   <li><a>tpParameterKey</a> - The name associated with the
--   parameter.</li>
--   <li><a>tpDefaultValue</a> - The default value associated with the
--   parameter.</li>
--   <li><a>tpNoEcho</a> - Flag indicating whether the parameter should be
--   displayed as plain text in logs and UIs.</li>
--   <li><a>tpDescription</a> - User defined description associated with
--   the parameter.</li>
--   </ul>
templateParameter :: TemplateParameter

-- | The name associated with the parameter.
tpParameterKey :: Lens' TemplateParameter (Maybe Text)

-- | The default value associated with the parameter.
tpDefaultValue :: Lens' TemplateParameter (Maybe Text)

-- | Flag indicating whether the parameter should be displayed as plain
--   text in logs and UIs.
tpNoEcho :: Lens' TemplateParameter (Maybe Bool)

-- | User defined description associated with the parameter.
tpDescription :: Lens' TemplateParameter (Maybe Text)
