-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CloudFormation SDK.
--
-- AWS CloudFormation AWS CloudFormation enables you to create and manage
-- AWS infrastructure deployments predictably and repeatedly. AWS
-- CloudFormation helps you leverage AWS products such as Amazon EC2,
-- EBS, Amazon SNS, ELB, and Auto Scaling to build highly-reliable,
-- highly scalable, cost effective applications without worrying about
-- creating and 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 this
-- product, go to the CloudFormation Product Page. Amazon
-- CloudFormation makes use of other AWS products. If you need additional
-- technical information about a specific AWS product, you can find the
-- product's technical documentation at
-- http://docs.aws.amazon.com/documentation/.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information and sending requests.
--
-- Use of lenses is required for constructing and manipulating types.
-- This is due to the amount 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 lens or lens-family-core.
--
-- See Network.AWS.CloudFormation or the AWS Documentation
-- to get started.
@package amazonka-cloudformation
@version 1.4.2
module Network.AWS.CloudFormation.Types
-- | API version '2010-05-15' 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 ListChangeSets 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 CREATE_IN_PROGRESS or
-- the stack status might be UPDATE_IN_PROGRESS.
_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
data ChangeAction
Add :: ChangeAction
Modify :: ChangeAction
Remove :: ChangeAction
data ChangeSetStatus
CSSCreateComplete :: ChangeSetStatus
CSSCreateInProgress :: ChangeSetStatus
CSSCreatePending :: ChangeSetStatus
CSSDeleteComplete :: ChangeSetStatus
CSSFailed :: ChangeSetStatus
data ChangeSource
Automatic :: ChangeSource
DirectModification :: ChangeSource
ParameterReference :: ChangeSource
ResourceAttribute :: ChangeSource
ResourceReference :: ChangeSource
data ChangeType
Resource :: ChangeType
data EvaluationType
Dynamic :: EvaluationType
Static :: EvaluationType
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
SSRollbackComplete :: StackStatus
SSRollbackFailed :: StackStatus
SSRollbackInProgress :: StackStatus
SSUpdateComplete :: StackStatus
SSUpdateCompleteCleanupInProgress :: StackStatus
SSUpdateInProgress :: StackStatus
SSUpdateRollbackComplete :: StackStatus
SSUpdateRollbackCompleteCleanupInProgress :: StackStatus
SSUpdateRollbackFailed :: StackStatus
SSUpdateRollbackInProgress :: StackStatus
-- | The AccountLimit data type.
--
-- See: accountLimit smart constructor.
data AccountLimit
-- | Creates a value of AccountLimit with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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
-- StackLimit.
alName :: Lens' AccountLimit (Maybe Text)
-- | The Change structure describes the changes AWS CloudFormation
-- will perform if you execute the change set.
--
-- See: change smart constructor.
data Change
-- | Creates a value of Change with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
change :: Change
-- | A ResourceChange 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 Resource.
cType :: Lens' Change (Maybe ChangeType)
-- | The ChangeSetSummary structure describes a change set, its
-- status, and the stack with which it's associated.
--
-- See: changeSetSummary smart constructor.
data ChangeSetSummary
-- | Creates a value of ChangeSetSummary with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 CREATE_IN_PROGRESS,
-- CREATE_COMPLETE, or FAILED.
cssStatus :: Lens' ChangeSetSummary (Maybe ChangeSetStatus)
-- | The name of the change set.
cssChangeSetName :: Lens' ChangeSetSummary (Maybe Text)
-- | 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 FAILED 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 Output data type.
--
-- See: output smart constructor.
data Output
-- | Creates a value of Output with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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.
--
-- See: parameter smart constructor.
data Parameter
-- | Creates a value of Parameter with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 true, 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 AllowedValues
-- property.
--
-- See: parameterConstraints smart constructor.
data ParameterConstraints
-- | Creates a value of ParameterConstraints with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
parameterConstraints :: ParameterConstraints
-- | A list of values that are permitted for a parameter.
pcAllowedValues :: Lens' ParameterConstraints [Text]
-- | The ParameterDeclaration data type.
--
-- See: parameterDeclaration smart constructor.
data ParameterDeclaration
-- | Creates a value of ParameterDeclaration with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 ResourceChange structure describes the resource and the
-- action that AWS CloudFormation will perform on it if you execute this
-- change set.
--
-- See: resourceChange smart constructor.
data ResourceChange
-- | Creates a value of ResourceChange with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 'AWS::S3::Bucket'.
rcResourceType :: Lens' ResourceChange (Maybe Text)
-- | The action that AWS CloudFormation takes on the resource, such as
-- Add (adds a new resource), Modify (changes a resource),
-- or Remove (deletes a resource).
rcAction :: Lens' ResourceChange (Maybe ChangeAction)
-- | For the Modify action, indicates which resource attribute is
-- triggering this update, such as a change in the resource attribute's
-- Metadata, Properties, or Tags.
rcScope :: Lens' ResourceChange [ResourceAttribute]
-- | For the Modify action, a list of ResourceChangeDetail
-- structures that describes the changes that AWS CloudFormation will
-- make to the resource.
rcDetails :: Lens' ResourceChange [ResourceChangeDetail]
-- | For the Modify action, indicates whether AWS CloudFormation
-- will replace the resource by creating a new one and deleting the old
-- one. This value depends on the value of the RequiresRecreation
-- property in the ResourceTargetDefinition structure. For
-- example, if the RequiresRecreation field is Always and
-- the Evaluation field is Static, Replacement is
-- True. If the RequiresRecreation field is Always
-- and the Evaluation field is Dynamic,
-- Replacement is Conditionally.
--
-- If you have multiple changes with different RequiresRecreation
-- values, the Replacement value depends on the change with the
-- most impact. A RequiresRecreation value of Always has
-- the most impact, followed by Conditionally, and then
-- Never.
rcReplacement :: Lens' ResourceChange (Maybe Replacement)
-- | For a resource with Modify as the action, the
-- ResourceChange structure describes the changes AWS
-- CloudFormation will make to that resource.
--
-- See: resourceChangeDetail smart constructor.
data ResourceChangeDetail
-- | Creates a value of ResourceChangeDetail with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
resourceChangeDetail :: ResourceChangeDetail
-- | The identity of the entity that triggered this change. This entity is
-- a member of the group that is specified by the ChangeSource
-- field. For example, if you modified the value of the
-- KeyPairName parameter, the CausingEntity is the name
-- of the parameter (KeyPairName).
--
-- If the ChangeSource value is DirectModification, no
-- value is given for CausingEntity.
rcdCausingEntity :: Lens' ResourceChangeDetail (Maybe Text)
-- | The group to which the CausingEntity value belongs. There are
-- five entity groups:
--
--
-- - ResourceReference entities are Ref intrinsic
-- functions that refer to resources in the template, such as '{ "Ref" :
-- "MyEC2InstanceResource" }'.
-- - ParameterReference entities are Ref intrinsic
-- functions that get template parameter values, such as '{ "Ref" :
-- "MyPasswordParameter" }'.
-- - ResourceAttribute entities are 'Fn::GetAtt' intrinsic
-- functions that get resource attribute values, such as '{ "Fn::GetAtt"
-- : [ "MyEC2InstanceResource", "PublicDnsName" ] }'.
-- - DirectModification entities are changes that are made
-- directly to the template.
-- - Automatic entities are 'AWS::CloudFormation::Stack'
-- resource types, which are also known as nested stacks. If you made no
-- changes to the 'AWS::CloudFormation::Stack' resource, AWS
-- CloudFormation sets the ChangeSource to Automatic
-- because the nested stack's template might have changed. Changes to a
-- nested stack's template aren't visible to AWS CloudFormation until you
-- run an update on the parent stack.
--
rcdChangeSource :: Lens' ResourceChangeDetail (Maybe ChangeSource)
-- | Indicates whether AWS CloudFormation can determine the target value,
-- and whether the target value will change before you execute a change
-- set.
--
-- For Static evaluations, AWS CloudFormation can determine that
-- the target value will change, and its value. For example, if you
-- directly modify the InstanceType property of an EC2 instance,
-- AWS CloudFormation knows that this property value will change, and its
-- value, so this is a Static evaluation.
--
-- For Dynamic evaluations, cannot determine the target value
-- because it depends on the result of an intrinsic function, such as a
-- Ref or 'Fn::GetAtt' intrinsic function, when the stack is
-- updated. For example, if your template includes a reference to a
-- resource that is conditionally recreated, the value of the reference
-- (the physical ID of the resource) might change, depending on if the
-- resource is recreated. If the resource is recreated, it will have a
-- new physical ID, so all references to that resource will also be
-- updated.
rcdEvaluation :: Lens' ResourceChangeDetail (Maybe EvaluationType)
-- | A ResourceTargetDefinition 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.
--
-- See: resourceTargetDefinition smart constructor.
data ResourceTargetDefinition
-- | Creates a value of ResourceTargetDefinition with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
resourceTargetDefinition :: ResourceTargetDefinition
-- | Indicates which resource attribute is triggering this update, such as
-- a change in the resource attribute's Metadata,
-- Properties, or Tags.
rtdAttribute :: Lens' ResourceTargetDefinition (Maybe ResourceAttribute)
-- | If the Attribute value is Properties, indicates
-- whether a change to this property causes the resource to be recreated.
-- The value can be Never, Always, or Conditionally.
-- To determine the conditions for a Conditionally recreation, see
-- the update behavior for that property in the AWS CloudFormation
-- User Guide.
rtdRequiresRecreation :: Lens' ResourceTargetDefinition (Maybe RequiresRecreation)
-- | If the Attribute value is Properties, the name of the
-- property. For all other attributes, the value is null.
rtdName :: Lens' ResourceTargetDefinition (Maybe Text)
-- | The Stack data type.
--
-- See: stack smart constructor.
data Stack
-- | Creates a value of Stack with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
stack :: Text -> UTCTime -> StackStatus -> Stack
-- | Boolean to enable or disable rollback on stack creation failures:
--
--
-- - true: disable rollback
-- - false: 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)
-- | A list of output structures.
sOutputs :: Lens' Stack [Output]
-- | A list of Parameter 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 Tags 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 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.
--
-- See: stackEvent smart constructor.
data StackEvent
-- | Creates a value of StackEvent with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 AWS Resource Types
-- Reference 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.
--
-- See: stackResource smart constructor.
data StackResource
-- | Creates a value of StackResource with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 AWS Resource Types
-- Reference 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.
--
-- See: stackResourceDetail smart constructor.
data StackResourceDetail
-- | Creates a value of StackResourceDetail with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 JSON format content of the Metadata attribute declared for
-- the resource. For more information, see Metadata Attribute 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 AWS Resource Types
-- Reference 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.
--
-- See: stackResourceSummary smart constructor.
data StackResourceSummary
-- | Creates a value of StackResourceSummary with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 AWS Resource Types
-- Reference 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
--
-- See: stackSummary smart constructor.
data StackSummary
-- | Creates a value of StackSummary with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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.
--
-- See: tag smart constructor.
data Tag
-- | Creates a value of Tag with the minimum fields required to make
-- a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
tag :: Tag
-- | Required. 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)
-- | Required. A string used to identify this tag. You can specify a
-- maximum of 128 characters for a tag key. Tags owned by Amazon Web
-- Services (AWS) have the reserved prefix: 'aws:'.
tagKey :: Lens' Tag (Maybe Text)
-- | The TemplateParameter data type.
--
-- See: templateParameter smart constructor.
data TemplateParameter
-- | Creates a value of TemplateParameter with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 DescribeStacks action.
--
-- To get a copy of the template for an existing stack, you can use the
-- GetTemplate action.
--
-- For more information about creating an update template, updating a
-- stack, and monitoring the progress of the update, see Updating a
-- Stack.
module Network.AWS.CloudFormation.UpdateStack
-- | Creates a value of UpdateStack with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updateStack :: Text -> UpdateStack
-- | The input for UpdateStack action.
--
-- See: updateStack 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 StackPolicyBody or the StackPolicyURL parameter,
-- but not both.
--
-- You might update the stack policy, for example, in order to protect a
-- new resource that you created during a stack update. If you do not
-- specify a stack policy, the current policy that is associated with the
-- stack is unchanged.
usStackPolicyBody :: Lens' UpdateStack (Maybe Text)
-- | Structure containing the temporary overriding stack policy body. You
-- can specify either the StackPolicyDuringUpdateBody or the
-- StackPolicyDuringUpdateURL parameter, but not both.
--
-- If you want to update protected resources, specify a temporary
-- overriding stack policy during this update. If you do not specify a
-- stack policy, the current policy that is associated with the stack
-- will be used.
usStackPolicyDuringUpdateBody :: Lens' UpdateStack (Maybe Text)
-- | Location of a file containing the temporary overriding stack policy.
-- The URL must point to a policy (max size: 16KB) located in an S3
-- bucket in the same region as the stack. You can specify either the
-- StackPolicyDuringUpdateBody or the
-- StackPolicyDuringUpdateURL parameter, but not both.
--
-- If you want to update protected resources, specify a temporary
-- overriding stack policy during this update. If you do not specify a
-- stack policy, the current policy that is associated with the stack
-- will be used.
usStackPolicyDuringUpdateURL :: Lens' UpdateStack (Maybe Text)
-- | A list of Parameter structures that specify input parameters
-- for the stack. For more information, see the Parameter 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
-- StackPolicyBody or the StackPolicyURL parameter, but
-- not both.
--
-- You might update the stack policy, for example, in order to protect a
-- new resource that you created during a stack update. If you do not
-- specify a stack policy, the current policy that is associated with the
-- stack is unchanged.
usStackPolicyURL :: Lens' UpdateStack (Maybe Text)
-- | 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
-- Template Anatomy in the AWS CloudFormation User Guide.)
--
-- Conditional: You must specify either the TemplateBody or the
-- TemplateURL 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 Template Anatomy in the AWS CloudFormation User Guide.
--
-- Conditional: You must specify either the TemplateBody or the
-- TemplateURL parameter, but not both.
usTemplateURL :: Lens' UpdateStack (Maybe Text)
-- | A list of capabilities that you must specify before AWS CloudFormation
-- can update certain stacks. Some stack templates might include
-- resources that can affect permissions in your AWS account, for
-- example, by creating new AWS Identity and Access Management (IAM)
-- users. For those stacks, you must explicitly acknowledge their
-- capabilities by specifying this parameter.
--
-- Currently, the only valid value is CAPABILITY_IAM, which is
-- required for the following resources: AWS::IAM::AccessKey,
-- AWS::IAM::Group, AWS::IAM::InstanceProfile,
-- AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User,
-- and AWS::IAM::UserToGroupAddition. If your stack template
-- contains these resources, we recommend that you review all permissions
-- associated with them and edit their permissions if necessary. If your
-- template contains any of the listed resources and you don't specify
-- this parameter, this action returns an
-- InsufficientCapabilities error.
usCapabilities :: Lens' UpdateStack [Capability]
-- | The template resource types that you have permissions to work with for
-- this update stack action, such as 'AWS::EC2::Instance', 'AWS::EC2::*',
-- or 'Custom::MyCustomInstance'.
--
-- If the list of resource types doesn't include a resource that you're
-- updating, the stack update fails. By default, AWS CloudFormation
-- grants permissions to all resource types. AWS Identity and Access
-- Management (IAM) uses this parameter for AWS CloudFormation-specific
-- condition keys in IAM policies. For more information, see
-- Controlling Access with AWS Identity and Access Management.
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 name or unique stack ID of the stack to update.
usStackName :: Lens' UpdateStack Text
-- | Creates a value of UpdateStackResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updateStackResponse :: Int -> UpdateStackResponse
-- | The output for a UpdateStack action.
--
-- See: updateStackResponse smart constructor.
data UpdateStackResponse
-- | Unique identifier of the stack.
usrsStackId :: Lens' UpdateStackResponse (Maybe Text)
-- | The response status code.
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.
module Network.AWS.CloudFormation.ValidateTemplate
-- | Creates a value of ValidateTemplate with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
validateTemplate :: ValidateTemplate
-- | The input for ValidateTemplate action.
--
-- See: validateTemplate 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
-- Template Anatomy in the AWS CloudFormation User Guide.
--
-- Conditional: You must pass TemplateURL or
-- TemplateBody. If both are passed, only TemplateBody
-- is used.
vtTemplateBody :: Lens' ValidateTemplate (Maybe Text)
-- | 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 Template Anatomy in the AWS
-- CloudFormation User Guide.
--
-- Conditional: You must pass TemplateURL or
-- TemplateBody. If both are passed, only TemplateBody
-- is used.
vtTemplateURL :: Lens' ValidateTemplate (Maybe Text)
-- | Creates a value of ValidateTemplateResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
validateTemplateResponse :: Int -> ValidateTemplateResponse
-- | The output for ValidateTemplate action.
--
-- See: validateTemplateResponse smart constructor.
data ValidateTemplateResponse
-- | The list of resources that generated the values in the
-- Capabilities response element.
vtrsCapabilitiesReason :: Lens' ValidateTemplateResponse (Maybe Text)
-- | A list of TemplateParameter structures.
vtrsParameters :: Lens' ValidateTemplateResponse [TemplateParameter]
-- | The description found within the template.
vtrsDescription :: Lens' ValidateTemplateResponse (Maybe Text)
-- | The capabilities found within the template. Currently, AWS
-- CloudFormation supports only the CAPABILITY_IAM capability. If your
-- template contains IAM resources, you must specify the CAPABILITY_IAM
-- value for this parameter when you use the CreateStack or
-- UpdateStack actions with your template; otherwise, those
-- actions return an InsufficientCapabilities error.
vtrsCapabilities :: Lens' ValidateTemplateResponse [Capability]
-- | The response status code.
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 SignalResource with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
signalResource :: Text -> Text -> Text -> ResourceSignalStatus -> SignalResource
-- | The input for the SignalResource action.
--
-- See: signalResource 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 SignalResourceResponse with the minimum
-- fields required to make a request.
signalResourceResponse :: SignalResourceResponse
-- | See: signalResourceResponse 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 SetStackPolicy with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
setStackPolicy :: Text -> SetStackPolicy
-- | The input for the SetStackPolicy action.
--
-- See: setStackPolicy smart constructor.
data SetStackPolicy
-- | Structure containing the stack policy body. For more information, go
-- to Prevent Updates to Stack Resources in the AWS CloudFormation
-- User Guide. You can specify either the StackPolicyBody or the
-- StackPolicyURL parameter, but not both.
sspStackPolicyBody :: Lens' SetStackPolicy (Maybe Text)
-- | Location of a file containing the stack policy. The URL must point to
-- a policy (maximum size: 16 KB) located in an S3 bucket in the same
-- region as the stack. You can specify either the
-- StackPolicyBody or the StackPolicyURL parameter, but
-- not both.
sspStackPolicyURL :: Lens' SetStackPolicy (Maybe Text)
-- | The name or unique stack ID that you want to associate a policy with.
sspStackName :: Lens' SetStackPolicy Text
-- | Creates a value of SetStackPolicyResponse with the minimum
-- fields required to make a request.
setStackPolicyResponse :: SetStackPolicyResponse
-- | See: setStackPolicyResponse 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 ListStacks with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listStacks :: ListStacks
-- | The input for ListStacks action.
--
-- See: listStacks 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 StackStatus
-- parameter of the Stack data type.
lsStackStatusFilter :: Lens' ListStacks [StackStatus]
-- | Creates a value of ListStacksResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listStacksResponse :: Int -> ListStacksResponse
-- | The output for ListStacks action.
--
-- See: listStacksResponse 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 StackSummary structures containing information about
-- the specified stacks.
lsrsStackSummaries :: Lens' ListStacksResponse [StackSummary]
-- | The response status code.
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 ListStackResources with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listStackResources :: Text -> ListStackResources
-- | The input for the ListStackResource action.
--
-- See: listStackResources 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 ListStackResourcesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listStackResourcesResponse :: Int -> ListStackResourcesResponse
-- | The output for a ListStackResources action.
--
-- See: listStackResourcesResponse 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 StackResourceSummary structures.
lsrrsStackResourceSummaries :: Lens' ListStackResourcesResponse [StackResourceSummary]
-- | The response status code.
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
-- | Returns the ID and status of each active change set for a stack. For
-- example, AWS CloudFormation lists change sets that are in the
-- CREATE_IN_PROGRESS or CREATE_PENDING state.
module Network.AWS.CloudFormation.ListChangeSets
-- | Creates a value of ListChangeSets with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listChangeSets :: Text -> ListChangeSets
-- | The input for the ListChangeSets action.
--
-- See: listChangeSets smart constructor.
data ListChangeSets
-- | A string (provided by the ListChangeSets response output) that
-- identifies the next page of change sets that you want to retrieve.
lcsNextToken :: Lens' ListChangeSets (Maybe Text)
-- | 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 ListChangeSetsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listChangeSetsResponse :: Int -> ListChangeSetsResponse
-- | The output for the ListChangeSets action.
--
-- See: listChangeSetsResponse 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 ChangeSetSummary structures that provides the ID and
-- status of each change set for the specified stack.
lcsrsSummaries :: Lens' ListChangeSetsResponse [ChangeSetSummary]
-- | The response status code.
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
-- GetTemplateSummary action is useful for viewing parameter
-- information, such as default parameter values and parameter types,
-- before you create or update a stack.
--
-- You can use the GetTemplateSummary action when you submit a
-- template, or you can get template information for a running or deleted
-- stack.
--
-- For deleted stacks, GetTemplateSummary returns the template
-- information for up to 90 days after the stack has been deleted. If the
-- template does not exist, a ValidationError is returned.
module Network.AWS.CloudFormation.GetTemplateSummary
-- | Creates a value of GetTemplateSummary with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getTemplateSummary :: GetTemplateSummary
-- | The input for the GetTemplateSummary action.
--
-- See: getTemplateSummary 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 Template Anatomy in the AWS CloudFormation User
-- Guide.
--
-- Conditional: You must specify only one of the following parameters:
-- StackName, TemplateBody, or TemplateURL.
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 Template
-- Anatomy in the AWS CloudFormation User Guide.
--
-- Conditional: You must specify only one of the following parameters:
-- StackName, TemplateBody, or TemplateURL.
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:
-- StackName, TemplateBody, or TemplateURL.
gtsStackName :: Lens' GetTemplateSummary (Maybe Text)
-- | Creates a value of GetTemplateSummaryResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getTemplateSummaryResponse :: Int -> GetTemplateSummaryResponse
-- | The output for the GetTemplateSummary action.
--
-- See: getTemplateSummaryResponse smart constructor.
data GetTemplateSummaryResponse
-- | 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
-- Capabilities 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 Metadata property of the
-- template.
gtsrsMetadata :: Lens' GetTemplateSummaryResponse (Maybe Text)
-- | The value that is defined in the Description property of the
-- template.
gtsrsDescription :: Lens' GetTemplateSummaryResponse (Maybe Text)
-- | The capabilities found within the template. Currently, AWS
-- CloudFormation supports only the CAPABILITY_IAM capability. If your
-- template contains IAM resources, you must specify the CAPABILITY_IAM
-- value for this parameter when you use the CreateStack or
-- UpdateStack actions with your template; otherwise, those
-- actions return an InsufficientCapabilities error.
gtsrsCapabilities :: Lens' GetTemplateSummaryResponse [Capability]
-- | A list of all the template resource types that are defined in the
-- template, such as 'AWS::EC2::Instance', 'AWS::Dynamo::Table', and
-- 'Custom::MyCustomInstance'.
gtsrsResourceTypes :: Lens' GetTemplateSummaryResponse [Text]
-- | The response status code.
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.
--
-- If the template does not exist, a ValidationError is
-- returned.
module Network.AWS.CloudFormation.GetTemplate
-- | Creates a value of GetTemplate with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getTemplate :: Text -> GetTemplate
-- | The input for a GetTemplate action.
--
-- See: getTemplate smart constructor.
data GetTemplate
-- | 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 Text
-- | Creates a value of GetTemplateResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getTemplateResponse :: Int -> GetTemplateResponse
-- | The output for GetTemplate action.
--
-- See: getTemplateResponse smart constructor.
data GetTemplateResponse
-- | Structure containing the template body. (For more information, go to
-- Template Anatomy in the AWS CloudFormation User Guide.)
gtrsTemplateBody :: Lens' GetTemplateResponse (Maybe Text)
-- | The response status code.
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 GetStackPolicy with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getStackPolicy :: Text -> GetStackPolicy
-- | The input for the GetStackPolicy action.
--
-- See: getStackPolicy 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 GetStackPolicyResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getStackPolicyResponse :: Int -> GetStackPolicyResponse
-- | The output for the GetStackPolicy action.
--
-- See: getStackPolicyResponse smart constructor.
data GetStackPolicyResponse
-- | Structure containing the stack policy body. (For more information, go
-- to Prevent Updates to Stack Resources in the AWS CloudFormation
-- User Guide.)
gsprsStackPolicyBody :: Lens' GetStackPolicyResponse (Maybe Text)
-- | The response status code.
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
-- DescribeStacks 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 ExecuteChangeSet with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
executeChangeSet :: Text -> ExecuteChangeSet
-- | The input for the ExecuteChangeSet action.
--
-- See: executeChangeSet 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 ExecuteChangeSetResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
executeChangeSetResponse :: Int -> ExecuteChangeSetResponse
-- | The output for the ExecuteChangeSet action.
--
-- See: executeChangeSetResponse smart constructor.
data ExecuteChangeSetResponse
-- | The response status code.
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 EstimateTemplateCost with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
estimateTemplateCost :: EstimateTemplateCost
-- | See: estimateTemplateCost smart constructor.
data EstimateTemplateCost
-- | A list of Parameter 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
-- Template Anatomy in the AWS CloudFormation User Guide.)
--
-- Conditional: You must pass TemplateBody or
-- TemplateURL. If both are passed, only TemplateBody
-- is used.
etcTemplateBody :: Lens' EstimateTemplateCost (Maybe Text)
-- | 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 Template Anatomy in the AWS CloudFormation User Guide.
--
-- Conditional: You must pass TemplateURL or
-- TemplateBody. If both are passed, only TemplateBody
-- is used.
etcTemplateURL :: Lens' EstimateTemplateCost (Maybe Text)
-- | Creates a value of EstimateTemplateCostResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
estimateTemplateCostResponse :: Int -> EstimateTemplateCostResponse
-- | The output for a EstimateTemplateCost action.
--
-- See: estimateTemplateCostResponse 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)
-- | The response status code.
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 DescribeStacks with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeStacks :: DescribeStacks
-- | The input for DescribeStacks action.
--
-- See: describeStacks 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 DescribeStacksResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeStacksResponse :: Int -> DescribeStacksResponse
-- | The output for a DescribeStacks action.
--
-- See: describeStacksResponse 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]
-- | The response status code.
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
module Network.AWS.CloudFormation.Waiters
-- | Polls DescribeStacks every 30 seconds until a successful state
-- is reached. An error is returned after 120 failed checks.
stackCreateComplete :: Wait DescribeStacks
-- | Polls DescribeStacks every 30 seconds until a successful state
-- is reached. An error is returned after 120 failed checks.
stackUpdateComplete :: Wait DescribeStacks
-- | Polls DescribeStacks every 5 seconds until a successful state
-- is reached. An error is returned after 20 failed checks.
stackExists :: Wait DescribeStacks
-- | Polls DescribeStacks every 30 seconds until a successful state
-- is reached. An error is returned after 120 failed checks.
stackDeleteComplete :: Wait DescribeStacks
-- | Returns AWS resource descriptions for running and deleted stacks. If
-- StackName is specified, all the associated resources that are
-- part of the stack are returned. If PhysicalResourceId is
-- specified, the associated resources of the stack that the resource
-- belongs to are returned.
--
-- Only the first 100 resources will be returned. If your stack has more
-- resources than this, you should use ListStackResources
-- instead.
--
-- For deleted stacks, DescribeStackResources returns resource
-- information for up to 90 days after the stack has been deleted.
--
-- You must specify either StackName or
-- PhysicalResourceId, but not both. In addition, you can
-- specify LogicalResourceId to filter the returned result. For
-- more information about resources, the LogicalResourceId and
-- PhysicalResourceId, go to the AWS CloudFormation User
-- Guide.
--
-- A ValidationError is returned if you specify both
-- StackName and PhysicalResourceId in the same
-- request.
module Network.AWS.CloudFormation.DescribeStackResources
-- | Creates a value of DescribeStackResources with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeStackResources :: DescribeStackResources
-- | The input for DescribeStackResources action.
--
-- See: describeStackResources 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,
-- PhysicalResourceId corresponds to the InstanceId.
-- You can pass the EC2 InstanceId to
-- DescribeStackResources to find which stack the instance belongs
-- to and what other resources are part of the stack.
--
-- Required: Conditional. If you do not specify
-- PhysicalResourceId, you must specify StackName.
--
-- Default: There is no default value.
dsrPhysicalResourceId :: Lens' DescribeStackResources (Maybe Text)
-- | The name or the unique stack ID that is associated with the stack,
-- which are not always interchangeable:
--
--
-- - Running stacks: You can specify either the stack's name or its
-- unique stack ID.
-- - Deleted stacks: You must specify the unique stack ID.
--
--
-- Default: There is no default value.
--
-- Required: Conditional. If you do not specify StackName, you
-- must specify PhysicalResourceId.
dsrStackName :: Lens' DescribeStackResources (Maybe Text)
-- | Creates a value of DescribeStackResourcesResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeStackResourcesResponse :: Int -> DescribeStackResourcesResponse
-- | The output for a DescribeStackResources action.
--
-- See: describeStackResourcesResponse smart constructor.
data DescribeStackResourcesResponse
-- | A list of StackResource structures.
dsrsrsStackResources :: Lens' DescribeStackResourcesResponse [StackResource]
-- | The response status code.
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 DescribeStackResource with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeStackResource :: Text -> Text -> DescribeStackResource
-- | The input for DescribeStackResource action.
--
-- See: describeStackResource 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 DescribeStackResourceResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeStackResourceResponse :: Int -> DescribeStackResourceResponse
-- | The output for a DescribeStackResource action.
--
-- See: describeStackResourceResponse smart constructor.
data DescribeStackResourceResponse
-- | A StackResourceDetail structure containing the description of
-- the specified resource in the specified stack.
dsrrsStackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail)
-- | The response status code.
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. For more
-- information about a stack's event history, go to Stacks in the
-- AWS CloudFormation User Guide.
--
-- You can list events for stacks that have failed to create or have been
-- deleted by specifying the unique stack identifier (stack ID).
--
-- This operation returns paginated results.
module Network.AWS.CloudFormation.DescribeStackEvents
-- | Creates a value of DescribeStackEvents with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeStackEvents :: DescribeStackEvents
-- | The input for DescribeStackEvents action.
--
-- See: describeStackEvents 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 DescribeStackEventsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeStackEventsResponse :: Int -> DescribeStackEventsResponse
-- | The output for a DescribeStackEvents action.
--
-- See: describeStackEventsResponse 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 StackEvents structures.
dsersStackEvents :: Lens' DescribeStackEventsResponse [StackEvent]
-- | The response status code.
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 Updating Stacks Using Change Sets in the AWS
-- CloudFormation User Guide.
module Network.AWS.CloudFormation.DescribeChangeSet
-- | Creates a value of DescribeChangeSet with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeChangeSet :: Text -> DescribeChangeSet
-- | The input for the DescribeChangeSet action.
--
-- See: describeChangeSet smart constructor.
data DescribeChangeSet
-- | A string (provided by the DescribeChangeSet response output)
-- that identifies the next page of information that you want to
-- retrieve.
desNextToken :: Lens' DescribeChangeSet (Maybe Text)
-- | 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 DescribeChangeSetResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeChangeSetResponse :: Int -> DescribeChangeSetResponse
-- | The output for the DescribeChangeSet action.
--
-- See: describeChangeSetResponse smart constructor.
data DescribeChangeSetResponse
-- | The start time when the change set was created, in UTC.
drsCreationTime :: Lens' DescribeChangeSetResponse (Maybe UTCTime)
-- | The current status of the change set, such as
-- CREATE_IN_PROGRESS, CREATE_COMPLETE, or
-- FAILED.
drsStatus :: Lens' DescribeChangeSetResponse (Maybe ChangeSetStatus)
-- | A list of Change 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)
-- | 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 Parameter structures that describes the input
-- parameters and their values used to create the change set. For more
-- information, see the Parameter 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)
-- | The response status code.
drsResponseStatus :: Lens' DescribeChangeSetResponse Int
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
-- | 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 DescribeAccountLimits with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeAccountLimits :: DescribeAccountLimits
-- | The input for the DescribeAccountLimits action.
--
-- See: describeAccountLimits 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 DescribeAccountLimitsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeAccountLimitsResponse :: Int -> DescribeAccountLimitsResponse
-- | The output for the DescribeAccountLimits action.
--
-- See: describeAccountLimitsResponse 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]
-- | The response status code.
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
-- DescribeStacks API if the deletion has been completed
-- successfully.
module Network.AWS.CloudFormation.DeleteStack
-- | Creates a value of DeleteStack with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteStack :: Text -> DeleteStack
-- | The input for DeleteStack action.
--
-- See: deleteStack smart constructor.
data DeleteStack
-- | For stacks in the DELETE_FAILED state, a list of resource
-- logical IDs that are associated with the resources you want to retain.
-- During deletion, AWS CloudFormation deletes the stack but does not
-- delete the retained resources.
--
-- Retaining resources is useful when you cannot delete a resource, such
-- as a non-empty S3 bucket, but you want to delete the stack.
dsRetainResources :: Lens' DeleteStack [Text]
-- | The name or the unique stack ID that is associated with the stack.
dsStackName :: Lens' DeleteStack Text
-- | Creates a value of DeleteStackResponse with the minimum fields
-- required to make a request.
deleteStackResponse :: DeleteStackResponse
-- | See: deleteStackResponse 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 DeleteChangeSet with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteChangeSet :: Text -> DeleteChangeSet
-- | The input for the DeleteChangeSet action.
--
-- See: deleteChangeSet 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 DeleteChangeSetResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteChangeSetResponse :: Int -> DeleteChangeSetResponse
-- | The output for the DeleteChangeSet action.
--
-- See: deleteChangeSetResponse smart constructor.
data DeleteChangeSetResponse
-- | The response status code.
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 DescribeStacks API.
module Network.AWS.CloudFormation.CreateStack
-- | Creates a value of CreateStack with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createStack :: Text -> CreateStack
-- | The input for CreateStack action.
--
-- See: createStack smart constructor.
data CreateStack
-- | Set to true to disable rollback of the stack if stack
-- creation failed. You can specify either DisableRollback or
-- OnFailure, but not both.
--
-- Default: false
csDisableRollback :: Lens' CreateStack (Maybe Bool)
-- | The Simple Notification Service (SNS) topic ARNs to publish stack
-- related events. You can find your SNS topic ARNs using the SNS
-- console or your Command Line Interface (CLI).
csNotificationARNs :: Lens' CreateStack [Text]
-- | Structure containing the stack policy body. For more information, go
-- to Prevent Updates to Stack Resources in the AWS CloudFormation
-- User Guide. You can specify either the StackPolicyBody or the
-- StackPolicyURL parameter, but not both.
csStackPolicyBody :: Lens' CreateStack (Maybe Text)
-- | A list of Parameter structures that specify input parameters
-- for the stack. For more information, see the Parameter data
-- type.
csParameters :: Lens' CreateStack [Parameter]
-- | Location of a file containing the stack policy. The URL must point to
-- a policy (max size: 16KB) located in an S3 bucket in the same region
-- as the stack. You can specify either the StackPolicyBody or
-- the StackPolicyURL parameter, but not both.
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
-- Template Anatomy in the AWS CloudFormation User Guide.
--
-- Conditional: You must specify either the TemplateBody or the
-- TemplateURL parameter, but not both.
csTemplateBody :: Lens' CreateStack (Maybe Text)
-- | 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 Template Anatomy in the
-- AWS CloudFormation User Guide.
--
-- Conditional: You must specify either the TemplateBody or the
-- TemplateURL parameter, but not both.
csTemplateURL :: Lens' CreateStack (Maybe Text)
-- | A list of capabilities that you must specify before AWS CloudFormation
-- can create certain stacks. Some stack templates might include
-- resources that can affect permissions in your AWS account, for
-- example, by creating new AWS Identity and Access Management (IAM)
-- users. For those stacks, you must explicitly acknowledge their
-- capabilities by specifying this parameter.
--
-- Currently, the only valid value is CAPABILITY_IAM, which is
-- required for the following resources: AWS::IAM::AccessKey,
-- AWS::IAM::Group, AWS::IAM::InstanceProfile,
-- AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User,
-- and AWS::IAM::UserToGroupAddition. If your stack template
-- contains these resources, we recommend that you review all permissions
-- associated with them and edit their permissions if necessary. If your
-- template contains any of the listed resources and you don't specify
-- this parameter, this action returns an
-- InsufficientCapabilities error.
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 OnFailure or DisableRollback, but not both.
--
-- Default: ROLLBACK
csOnFailure :: Lens' CreateStack (Maybe OnFailure)
-- | The template resource types that you have permissions to work with for
-- this create stack action, such as 'AWS::EC2::Instance', 'AWS::EC2::*',
-- or 'Custom::MyCustomInstance'. Use the following syntax to describe
-- template resource types: 'AWS::*' (for all AWS resource), 'Custom::*'
-- (for all custom resources), 'Custom::logical_ID' (for a specific
-- custom resource), 'AWS::service_name::*' (for all resources of a
-- particular AWS service), and 'AWS::service_name::resource_logical_ID'
-- (for a specific AWS resource).
--
-- If the list of resource types doesn't include a resource that you're
-- creating, the stack creation fails. By default, AWS CloudFormation
-- grants permissions to all resource types. AWS Identity and Access
-- Management (IAM) uses this parameter for AWS CloudFormation-specific
-- condition keys in IAM policies. For more information, see
-- Controlling Access with AWS Identity and Access Management.
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 DisableRollback is not set or is set to
-- false, the stack will be rolled back.
csTimeoutInMinutes :: Lens' CreateStack (Maybe Natural)
-- | The name that is associated with the stack. The name must be unique in
-- the region in which you are creating the stack.
--
-- A stack name can contain only alphanumeric characters (case sensitive)
-- and hyphens. It must start with an alphabetic character and cannot be
-- longer than 128 characters.
csStackName :: Lens' CreateStack Text
-- | Creates a value of CreateStackResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createStackResponse :: Int -> CreateStackResponse
-- | The output for a CreateStack action.
--
-- See: createStackResponse smart constructor.
data CreateStackResponse
-- | Unique identifier of the stack.
csrsStackId :: Lens' CreateStackResponse (Maybe Text)
-- | The response status code.
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 stack'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 you make a change so that you don't delete or replace 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 ExecuteChangeSet action.
--
-- After the call successfully completes, AWS CloudFormation starts
-- creating the change set. To check the status of the change set, use
-- the DescribeChangeSet action.
module Network.AWS.CloudFormation.CreateChangeSet
-- | Creates a value of CreateChangeSet with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createChangeSet :: Text -> Text -> CreateChangeSet
-- | The input for the CreateChangeSet action.
--
-- See: createChangeSet smart constructor.
data CreateChangeSet
-- | 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 CreateChangeSet request. Specify
-- this token if you plan to retry requests so that AWS CloudFormation
-- knows that you're not attempting to create another change set with the
-- same name. You might retry CreateChangeSet requests to ensure
-- that AWS CloudFormation successfully received them.
ccsClientToken :: Lens' CreateChangeSet (Maybe Text)
-- | 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 Parameter structures that specify input parameters
-- for the change set. For more information, see the Parameter
-- 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 TemplateBody or
-- TemplateURL.
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 TemplateBody or
-- TemplateURL.
ccsTemplateURL :: Lens' CreateChangeSet (Maybe Text)
-- | A description to help you identify this change set.
ccsDescription :: Lens' CreateChangeSet (Maybe Text)
-- | A list of capabilities that you must specify before AWS CloudFormation
-- can update certain stacks. Some stack templates might include
-- resources that can affect permissions in your AWS account, for
-- example, by creating new AWS Identity and Access Management (IAM)
-- users. For those stacks, you must explicitly acknowledge their
-- capabilities by specifying this parameter.
--
-- Currently, the only valid value is CAPABILITY_IAM, which is
-- required for the following resources: AWS::IAM::AccessKey,
-- AWS::IAM::Group, AWS::IAM::InstanceProfile,
-- AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User,
-- and AWS::IAM::UserToGroupAddition. If your stack template
-- contains these resources, we recommend that you review all permissions
-- associated with them and edit their permissions if necessary. If your
-- template contains any of the listed resources and you don't specify
-- this parameter, this action returns an
-- InsufficientCapabilities error.
ccsCapabilities :: Lens' CreateChangeSet [Capability]
-- | The template resource types that you have permissions to work with if
-- you execute this change set, such as 'AWS::EC2::Instance',
-- 'AWS::EC2::*', or 'Custom::MyCustomInstance'.
--
-- If the list of resource types doesn't include a resource type that
-- you're updating, the stack update fails. By default, AWS
-- CloudFormation grants permissions to all resource types. AWS Identity
-- and Access Management (IAM) uses this parameter for condition keys in
-- IAM policies for AWS CloudFormation. For more information, see
-- Controlling Access with AWS Identity and Access Management 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 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 CreateChangeSetResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createChangeSetResponse :: Int -> CreateChangeSetResponse
-- | The output for the CreateChangeSet action.
--
-- See: createChangeSetResponse smart constructor.
data CreateChangeSetResponse
-- | The Amazon Resource Name (ARN) of the change set.
ccsrsId :: Lens' CreateChangeSetResponse (Maybe Text)
-- | The response status code.
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 UPDATE_ROLLBACK_FAILED
-- state, continues rolling it back to the
-- UPDATE_ROLLBACK_COMPLETE state. Depending on the cause of the
-- failure, you can manually fix the error and continue the
-- rollback. By continuing the rollback, you can return your stack to a
-- working state (the UPDATE_ROLLBACK_COMPLETE state), and then
-- try to update the stack again.
--
-- A stack goes into the UPDATE_ROLLBACK_FAILED state when 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 ContinueUpdateRollback with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
continueUpdateRollback :: Text -> ContinueUpdateRollback
-- | The input for the ContinueUpdateRollback action.
--
-- See: continueUpdateRollback smart constructor.
data ContinueUpdateRollback
-- | The name or the unique ID of the stack that you want to continue
-- rolling back.
curStackName :: Lens' ContinueUpdateRollback Text
-- | Creates a value of ContinueUpdateRollbackResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
continueUpdateRollbackResponse :: Int -> ContinueUpdateRollbackResponse
-- | The output for a ContinueUpdateRollback action.
--
-- See: continueUpdateRollbackResponse smart constructor.
data ContinueUpdateRollbackResponse
-- | The response status code.
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.
--
-- You can cancel only stacks that are in the UPDATE_IN_PROGRESS state.
module Network.AWS.CloudFormation.CancelUpdateStack
-- | Creates a value of CancelUpdateStack with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
cancelUpdateStack :: Text -> CancelUpdateStack
-- | The input for the CancelUpdateStack action.
--
-- See: cancelUpdateStack 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 CancelUpdateStackResponse with the minimum
-- fields required to make a request.
cancelUpdateStackResponse :: CancelUpdateStackResponse
-- | See: cancelUpdateStackResponse 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
-- | AWS CloudFormation
--
-- AWS CloudFormation enables you to create and manage AWS infrastructure
-- deployments predictably and repeatedly. AWS CloudFormation helps you
-- leverage AWS products such as Amazon EC2, EBS, Amazon SNS, ELB, and
-- Auto Scaling to build highly-reliable, highly scalable, cost effective
-- applications without worrying about creating and 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 this product, go to the CloudFormation
-- Product Page.
--
-- Amazon CloudFormation makes use of other AWS products. If you need
-- additional technical information about a specific AWS product, you can
-- find the product's technical documentation at
-- http://docs.aws.amazon.com/documentation/.
module Network.AWS.CloudFormation
-- | API version '2010-05-15' 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 ListChangeSets 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 CREATE_IN_PROGRESS or
-- the stack status might be UPDATE_IN_PROGRESS.
_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 DescribeStacks every 30 seconds until a successful state
-- is reached. An error is returned after 120 failed checks.
stackCreateComplete :: Wait DescribeStacks
-- | Polls DescribeStacks every 30 seconds until a successful state
-- is reached. An error is returned after 120 failed checks.
stackUpdateComplete :: Wait DescribeStacks
-- | Polls DescribeStacks every 5 seconds until a successful state
-- is reached. An error is returned after 20 failed checks.
stackExists :: Wait DescribeStacks
-- | Polls DescribeStacks every 30 seconds until a successful state
-- is reached. An error is returned after 120 failed checks.
stackDeleteComplete :: Wait DescribeStacks
data Capability
CapabilityIAM :: Capability
data ChangeAction
Add :: ChangeAction
Modify :: ChangeAction
Remove :: ChangeAction
data ChangeSetStatus
CSSCreateComplete :: ChangeSetStatus
CSSCreateInProgress :: ChangeSetStatus
CSSCreatePending :: ChangeSetStatus
CSSDeleteComplete :: ChangeSetStatus
CSSFailed :: ChangeSetStatus
data ChangeSource
Automatic :: ChangeSource
DirectModification :: ChangeSource
ParameterReference :: ChangeSource
ResourceAttribute :: ChangeSource
ResourceReference :: ChangeSource
data ChangeType
Resource :: ChangeType
data EvaluationType
Dynamic :: EvaluationType
Static :: EvaluationType
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
SSRollbackComplete :: StackStatus
SSRollbackFailed :: StackStatus
SSRollbackInProgress :: StackStatus
SSUpdateComplete :: StackStatus
SSUpdateCompleteCleanupInProgress :: StackStatus
SSUpdateInProgress :: StackStatus
SSUpdateRollbackComplete :: StackStatus
SSUpdateRollbackCompleteCleanupInProgress :: StackStatus
SSUpdateRollbackFailed :: StackStatus
SSUpdateRollbackInProgress :: StackStatus
-- | The AccountLimit data type.
--
-- See: accountLimit smart constructor.
data AccountLimit
-- | Creates a value of AccountLimit with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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
-- StackLimit.
alName :: Lens' AccountLimit (Maybe Text)
-- | The Change structure describes the changes AWS CloudFormation
-- will perform if you execute the change set.
--
-- See: change smart constructor.
data Change
-- | Creates a value of Change with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
change :: Change
-- | A ResourceChange 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 Resource.
cType :: Lens' Change (Maybe ChangeType)
-- | The ChangeSetSummary structure describes a change set, its
-- status, and the stack with which it's associated.
--
-- See: changeSetSummary smart constructor.
data ChangeSetSummary
-- | Creates a value of ChangeSetSummary with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 CREATE_IN_PROGRESS,
-- CREATE_COMPLETE, or FAILED.
cssStatus :: Lens' ChangeSetSummary (Maybe ChangeSetStatus)
-- | The name of the change set.
cssChangeSetName :: Lens' ChangeSetSummary (Maybe Text)
-- | 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 FAILED 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 Output data type.
--
-- See: output smart constructor.
data Output
-- | Creates a value of Output with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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.
--
-- See: parameter smart constructor.
data Parameter
-- | Creates a value of Parameter with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 true, 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 AllowedValues
-- property.
--
-- See: parameterConstraints smart constructor.
data ParameterConstraints
-- | Creates a value of ParameterConstraints with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
parameterConstraints :: ParameterConstraints
-- | A list of values that are permitted for a parameter.
pcAllowedValues :: Lens' ParameterConstraints [Text]
-- | The ParameterDeclaration data type.
--
-- See: parameterDeclaration smart constructor.
data ParameterDeclaration
-- | Creates a value of ParameterDeclaration with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 ResourceChange structure describes the resource and the
-- action that AWS CloudFormation will perform on it if you execute this
-- change set.
--
-- See: resourceChange smart constructor.
data ResourceChange
-- | Creates a value of ResourceChange with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 'AWS::S3::Bucket'.
rcResourceType :: Lens' ResourceChange (Maybe Text)
-- | The action that AWS CloudFormation takes on the resource, such as
-- Add (adds a new resource), Modify (changes a resource),
-- or Remove (deletes a resource).
rcAction :: Lens' ResourceChange (Maybe ChangeAction)
-- | For the Modify action, indicates which resource attribute is
-- triggering this update, such as a change in the resource attribute's
-- Metadata, Properties, or Tags.
rcScope :: Lens' ResourceChange [ResourceAttribute]
-- | For the Modify action, a list of ResourceChangeDetail
-- structures that describes the changes that AWS CloudFormation will
-- make to the resource.
rcDetails :: Lens' ResourceChange [ResourceChangeDetail]
-- | For the Modify action, indicates whether AWS CloudFormation
-- will replace the resource by creating a new one and deleting the old
-- one. This value depends on the value of the RequiresRecreation
-- property in the ResourceTargetDefinition structure. For
-- example, if the RequiresRecreation field is Always and
-- the Evaluation field is Static, Replacement is
-- True. If the RequiresRecreation field is Always
-- and the Evaluation field is Dynamic,
-- Replacement is Conditionally.
--
-- If you have multiple changes with different RequiresRecreation
-- values, the Replacement value depends on the change with the
-- most impact. A RequiresRecreation value of Always has
-- the most impact, followed by Conditionally, and then
-- Never.
rcReplacement :: Lens' ResourceChange (Maybe Replacement)
-- | For a resource with Modify as the action, the
-- ResourceChange structure describes the changes AWS
-- CloudFormation will make to that resource.
--
-- See: resourceChangeDetail smart constructor.
data ResourceChangeDetail
-- | Creates a value of ResourceChangeDetail with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
resourceChangeDetail :: ResourceChangeDetail
-- | The identity of the entity that triggered this change. This entity is
-- a member of the group that is specified by the ChangeSource
-- field. For example, if you modified the value of the
-- KeyPairName parameter, the CausingEntity is the name
-- of the parameter (KeyPairName).
--
-- If the ChangeSource value is DirectModification, no
-- value is given for CausingEntity.
rcdCausingEntity :: Lens' ResourceChangeDetail (Maybe Text)
-- | The group to which the CausingEntity value belongs. There are
-- five entity groups:
--
--
-- - ResourceReference entities are Ref intrinsic
-- functions that refer to resources in the template, such as '{ "Ref" :
-- "MyEC2InstanceResource" }'.
-- - ParameterReference entities are Ref intrinsic
-- functions that get template parameter values, such as '{ "Ref" :
-- "MyPasswordParameter" }'.
-- - ResourceAttribute entities are 'Fn::GetAtt' intrinsic
-- functions that get resource attribute values, such as '{ "Fn::GetAtt"
-- : [ "MyEC2InstanceResource", "PublicDnsName" ] }'.
-- - DirectModification entities are changes that are made
-- directly to the template.
-- - Automatic entities are 'AWS::CloudFormation::Stack'
-- resource types, which are also known as nested stacks. If you made no
-- changes to the 'AWS::CloudFormation::Stack' resource, AWS
-- CloudFormation sets the ChangeSource to Automatic
-- because the nested stack's template might have changed. Changes to a
-- nested stack's template aren't visible to AWS CloudFormation until you
-- run an update on the parent stack.
--
rcdChangeSource :: Lens' ResourceChangeDetail (Maybe ChangeSource)
-- | Indicates whether AWS CloudFormation can determine the target value,
-- and whether the target value will change before you execute a change
-- set.
--
-- For Static evaluations, AWS CloudFormation can determine that
-- the target value will change, and its value. For example, if you
-- directly modify the InstanceType property of an EC2 instance,
-- AWS CloudFormation knows that this property value will change, and its
-- value, so this is a Static evaluation.
--
-- For Dynamic evaluations, cannot determine the target value
-- because it depends on the result of an intrinsic function, such as a
-- Ref or 'Fn::GetAtt' intrinsic function, when the stack is
-- updated. For example, if your template includes a reference to a
-- resource that is conditionally recreated, the value of the reference
-- (the physical ID of the resource) might change, depending on if the
-- resource is recreated. If the resource is recreated, it will have a
-- new physical ID, so all references to that resource will also be
-- updated.
rcdEvaluation :: Lens' ResourceChangeDetail (Maybe EvaluationType)
-- | A ResourceTargetDefinition 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.
--
-- See: resourceTargetDefinition smart constructor.
data ResourceTargetDefinition
-- | Creates a value of ResourceTargetDefinition with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
resourceTargetDefinition :: ResourceTargetDefinition
-- | Indicates which resource attribute is triggering this update, such as
-- a change in the resource attribute's Metadata,
-- Properties, or Tags.
rtdAttribute :: Lens' ResourceTargetDefinition (Maybe ResourceAttribute)
-- | If the Attribute value is Properties, indicates
-- whether a change to this property causes the resource to be recreated.
-- The value can be Never, Always, or Conditionally.
-- To determine the conditions for a Conditionally recreation, see
-- the update behavior for that property in the AWS CloudFormation
-- User Guide.
rtdRequiresRecreation :: Lens' ResourceTargetDefinition (Maybe RequiresRecreation)
-- | If the Attribute value is Properties, the name of the
-- property. For all other attributes, the value is null.
rtdName :: Lens' ResourceTargetDefinition (Maybe Text)
-- | The Stack data type.
--
-- See: stack smart constructor.
data Stack
-- | Creates a value of Stack with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
stack :: Text -> UTCTime -> StackStatus -> Stack
-- | Boolean to enable or disable rollback on stack creation failures:
--
--
-- - true: disable rollback
-- - false: 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)
-- | A list of output structures.
sOutputs :: Lens' Stack [Output]
-- | A list of Parameter 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 Tags 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 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.
--
-- See: stackEvent smart constructor.
data StackEvent
-- | Creates a value of StackEvent with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 AWS Resource Types
-- Reference 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.
--
-- See: stackResource smart constructor.
data StackResource
-- | Creates a value of StackResource with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 AWS Resource Types
-- Reference 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.
--
-- See: stackResourceDetail smart constructor.
data StackResourceDetail
-- | Creates a value of StackResourceDetail with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 JSON format content of the Metadata attribute declared for
-- the resource. For more information, see Metadata Attribute 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 AWS Resource Types
-- Reference 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.
--
-- See: stackResourceSummary smart constructor.
data StackResourceSummary
-- | Creates a value of StackResourceSummary with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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 AWS Resource Types
-- Reference 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
--
-- See: stackSummary smart constructor.
data StackSummary
-- | Creates a value of StackSummary with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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.
--
-- See: tag smart constructor.
data Tag
-- | Creates a value of Tag with the minimum fields required to make
-- a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
tag :: Tag
-- | Required. 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)
-- | Required. A string used to identify this tag. You can specify a
-- maximum of 128 characters for a tag key. Tags owned by Amazon Web
-- Services (AWS) have the reserved prefix: 'aws:'.
tagKey :: Lens' Tag (Maybe Text)
-- | The TemplateParameter data type.
--
-- See: templateParameter smart constructor.
data TemplateParameter
-- | Creates a value of TemplateParameter with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
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)