-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CloudFormation SDK.
--
-- AWS CloudFormation gives developers and systems administrators an easy
-- way to create and manage a collection of related AWS resources,
-- provisioning and updating them in an orderly and predictable fashion.
-- You can use AWS CloudFormation’s sample templates or create your own
-- templates to describe the AWS resources, and any associated
-- dependencies or runtime parameters, required to run your application.
-- You don’t need to figure out the order for provisioning AWS services
-- or the subtleties of making those dependencies work. CloudFormation
-- takes care of this for you. After the AWS resources are deployed, you
-- can modify and update them in a controlled and predictable way, in
-- effect applying version control to your AWS infrastructure the same
-- way you do with your software.
--
-- See: AWS API Reference
--
-- Warning: This is an experimental preview release which is still
-- under heavy development and not intended for public consumption,
-- caveat emptor!
@package amazonka-cloudformation
@version 0.2.2
module Network.AWS.CloudFormation.Types
-- | Version 2010-05-15 of the Amazon CloudFormation service.
data CloudFormation
data RESTError :: *
ns :: Text
data Tag
-- | Tag constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
tag :: Tag
-- | 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)
-- | 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)
data StackStatus
-- | CREATE_COMPLETE
CreateComplete :: StackStatus
-- | CREATE_FAILED
CreateFailed :: StackStatus
-- | CREATE_IN_PROGRESS
CreateInProgress :: StackStatus
-- | DELETE_COMPLETE
DeleteComplete :: StackStatus
-- | DELETE_FAILED
DeleteFailed :: StackStatus
-- | DELETE_IN_PROGRESS
DeleteInProgress :: StackStatus
-- | ROLLBACK_COMPLETE
RollbackComplete :: StackStatus
-- | ROLLBACK_FAILED
RollbackFailed :: StackStatus
-- | ROLLBACK_IN_PROGRESS
RollbackInProgress :: StackStatus
-- | UPDATE_COMPLETE
UpdateComplete :: StackStatus
-- | UPDATE_COMPLETE_CLEANUP_IN_PROGRESS
UpdateCompleteCleanupInProgress :: StackStatus
-- | UPDATE_IN_PROGRESS
UpdateInProgress :: StackStatus
-- | UPDATE_ROLLBACK_COMPLETE
UpdateRollbackComplete :: StackStatus
-- | UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS
UpdateRollbackCompleteCleanupInProgress :: StackStatus
-- | UPDATE_ROLLBACK_FAILED
UpdateRollbackFailed :: StackStatus
-- | UPDATE_ROLLBACK_IN_PROGRESS
UpdateRollbackInProgress :: StackStatus
data StackEvent
-- | StackEvent constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
stackEvent :: Text -> Text -> Text -> UTCTime -> StackEvent
-- | The unique ID of this event.
seEventId :: Lens' StackEvent Text
-- | 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)
-- | BLOB of the properties used to create the resource.
seResourceProperties :: Lens' StackEvent (Maybe Text)
-- | Current status of the resource.
seResourceStatus :: Lens' StackEvent (Maybe ResourceStatus)
-- | Success/failure message associated with the resource.
seResourceStatusReason :: 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)
-- | The unique ID name of the instance of the stack.
seStackId :: Lens' StackEvent Text
-- | The name associated with a stack.
seStackName :: Lens' StackEvent Text
-- | Time the status was updated.
seTimestamp :: Lens' StackEvent UTCTime
data StackSummary
-- | StackSummary constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
stackSummary :: Text -> UTCTime -> StackStatus -> StackSummary
-- | The time the stack was created.
ssCreationTime :: Lens' StackSummary UTCTime
-- | The time the stack was deleted.
ssDeletionTime :: Lens' StackSummary (Maybe UTCTime)
-- | 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)
-- | Unique stack identifier.
ssStackId :: Lens' StackSummary (Maybe Text)
-- | The name associated with the stack.
ssStackName :: Lens' StackSummary Text
-- | The current status of the stack.
ssStackStatus :: Lens' StackSummary StackStatus
-- | 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)
data StackResourceDetail
-- | StackResourceDetail constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
stackResourceDetail :: Text -> Text -> UTCTime -> ResourceStatus -> StackResourceDetail
-- | User defined description associated with the resource.
srdDescription :: Lens' StackResourceDetail (Maybe Text)
-- | Time the status was updated.
srdLastUpdatedTimestamp :: Lens' StackResourceDetail UTCTime
-- | The logical name of the resource specified in the template.
srdLogicalResourceId :: Lens' StackResourceDetail 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)
-- | The name or unique identifier that corresponds to a physical instance
-- ID of a resource supported by AWS CloudFormation.
srdPhysicalResourceId :: Lens' StackResourceDetail (Maybe Text)
-- | Current status of the resource.
srdResourceStatus :: Lens' StackResourceDetail ResourceStatus
-- | Success/failure message associated with the resource.
srdResourceStatusReason :: Lens' StackResourceDetail (Maybe Text)
-- | Type of resource. ((For more information, go to AWS Resource Types
-- Reference in the AWS CloudFormation User Guide.)
srdResourceType :: Lens' StackResourceDetail Text
-- | Unique identifier of the stack.
srdStackId :: Lens' StackResourceDetail (Maybe Text)
-- | The name associated with the stack.
srdStackName :: Lens' StackResourceDetail (Maybe Text)
data ResourceStatus
-- | CREATE_COMPLETE
RSCreateComplete :: ResourceStatus
-- | CREATE_FAILED
RSCreateFailed :: ResourceStatus
-- | CREATE_IN_PROGRESS
RSCreateInProgress :: ResourceStatus
-- | DELETE_COMPLETE
RSDeleteComplete :: ResourceStatus
-- | DELETE_FAILED
RSDeleteFailed :: ResourceStatus
-- | DELETE_IN_PROGRESS
RSDeleteInProgress :: ResourceStatus
-- | DELETE_SKIPPED
RSDeleteSkipped :: ResourceStatus
-- | UPDATE_COMPLETE
RSUpdateComplete :: ResourceStatus
-- | UPDATE_FAILED
RSUpdateFailed :: ResourceStatus
-- | UPDATE_IN_PROGRESS
RSUpdateInProgress :: ResourceStatus
data TemplateParameter
-- | TemplateParameter constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
templateParameter :: TemplateParameter
-- | The default value associated with the parameter.
tpDefaultValue :: Lens' TemplateParameter (Maybe Text)
-- | User defined description associated with the parameter.
tpDescription :: Lens' TemplateParameter (Maybe Text)
-- | Flag indicating whether the parameter should be displayed as plain
-- text in logs and UIs.
tpNoEcho :: Lens' TemplateParameter (Maybe Bool)
-- | The name associated with the parameter.
tpParameterKey :: Lens' TemplateParameter (Maybe Text)
data ParameterDeclaration
-- | ParameterDeclaration constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
parameterDeclaration :: ParameterDeclaration
-- | The default value of the parameter.
pdDefaultValue :: Lens' ParameterDeclaration (Maybe Text)
-- | The description that is associate with the parameter.
pdDescription :: 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 name that is associated with the parameter.
pdParameterKey :: Lens' ParameterDeclaration (Maybe Text)
-- | The type of parameter.
pdParameterType :: Lens' ParameterDeclaration (Maybe Text)
data StackResource
-- | StackResource constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
stackResource :: Text -> Text -> UTCTime -> ResourceStatus -> StackResource
-- | User defined description associated with the resource.
sr1Description :: Lens' StackResource (Maybe Text)
-- | The logical name of the resource specified in the template.
sr1LogicalResourceId :: Lens' StackResource Text
-- | The name or unique identifier that corresponds to a physical instance
-- ID of a resource supported by AWS CloudFormation.
sr1PhysicalResourceId :: Lens' StackResource (Maybe Text)
-- | Current status of the resource.
sr1ResourceStatus :: Lens' StackResource ResourceStatus
-- | Success/failure message associated with the resource.
sr1ResourceStatusReason :: Lens' StackResource (Maybe Text)
-- | Type of resource. (For more information, go to AWS Resource Types
-- Reference in the AWS CloudFormation User Guide.)
sr1ResourceType :: Lens' StackResource Text
-- | Unique identifier of the stack.
sr1StackId :: Lens' StackResource (Maybe Text)
-- | The name associated with the stack.
sr1StackName :: Lens' StackResource (Maybe Text)
-- | Time the status was updated.
sr1Timestamp :: Lens' StackResource UTCTime
data Output
-- | Output constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
output :: Output
-- | User defined description associated with the output.
oDescription :: Lens' Output (Maybe Text)
-- | The key associated with the output.
oOutputKey :: Lens' Output (Maybe Text)
-- | The value associated with the output.
oOutputValue :: Lens' Output (Maybe Text)
data StackResourceSummary
-- | StackResourceSummary constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
stackResourceSummary :: Text -> Text -> UTCTime -> ResourceStatus -> StackResourceSummary
-- | Time the status was updated.
srsLastUpdatedTimestamp :: Lens' StackResourceSummary UTCTime
-- | The logical name of the resource specified in the template.
srsLogicalResourceId :: Lens' StackResourceSummary Text
-- | The name or unique identifier that corresponds to a physical instance
-- ID of the resource.
srsPhysicalResourceId :: Lens' StackResourceSummary (Maybe Text)
-- | Current status of the resource.
srsResourceStatus :: Lens' StackResourceSummary ResourceStatus
-- | Success/failure message associated with the resource.
srsResourceStatusReason :: Lens' StackResourceSummary (Maybe Text)
-- | Type of resource. (For more information, go to AWS Resource Types
-- Reference in the AWS CloudFormation User Guide.)
srsResourceType :: Lens' StackResourceSummary Text
data Capability
-- | CAPABILITY_IAM
CapabilityIam :: Capability
data ResourceSignalStatus
-- | FAILURE
Failure :: ResourceSignalStatus
-- | SUCCESS
Success :: ResourceSignalStatus
data Stack
-- | Stack constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
stack :: Text -> UTCTime -> StackStatus -> Stack
-- | The capabilities allowed in the stack.
sCapabilities :: Lens' Stack [Capability]
-- | Time at which the stack was created.
sCreationTime :: Lens' Stack UTCTime
-- | User defined description associated with the stack.
sDescription :: Lens' Stack (Maybe Text)
-- | 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]
-- | 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)
-- | The name associated with the stack.
sStackName :: Lens' Stack Text
-- | Current status of the stack.
sStackStatus :: Lens' Stack StackStatus
-- | Success/failure message associated with the stack status.
sStackStatusReason :: Lens' Stack (Maybe Text)
-- | A list of Tags that specify cost allocation information for the
-- stack.
sTags :: Lens' Stack [Tag]
-- | The amount of time within which stack creation should complete.
sTimeoutInMinutes :: Lens' Stack (Maybe Natural)
data OnFailure
-- | DELETE
Delete' :: OnFailure
-- | DO_NOTHING
DoNothing :: OnFailure
-- | ROLLBACK
Rollback :: OnFailure
data Parameter
-- | Parameter constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
parameter :: Parameter
-- | The key associated with the parameter.
pParameterKey :: Lens' Parameter (Maybe Text)
-- | The value associated with the parameter.
pParameterValue :: Lens' Parameter (Maybe Text)
-- | During a stack update, use the existing parameter value that is being
-- used for the stack.
pUsePreviousValue :: Lens' Parameter (Maybe Bool)
instance Eq Tag
instance Ord Tag
instance Read Tag
instance Show Tag
instance Eq StackStatus
instance Ord StackStatus
instance Read StackStatus
instance Show StackStatus
instance Generic StackStatus
instance Enum StackStatus
instance Eq StackSummary
instance Read StackSummary
instance Show StackSummary
instance Eq ResourceStatus
instance Ord ResourceStatus
instance Read ResourceStatus
instance Show ResourceStatus
instance Generic ResourceStatus
instance Enum ResourceStatus
instance Eq StackResourceDetail
instance Read StackResourceDetail
instance Show StackResourceDetail
instance Eq StackEvent
instance Read StackEvent
instance Show StackEvent
instance Eq TemplateParameter
instance Ord TemplateParameter
instance Read TemplateParameter
instance Show TemplateParameter
instance Eq ParameterDeclaration
instance Ord ParameterDeclaration
instance Read ParameterDeclaration
instance Show ParameterDeclaration
instance Eq StackResource
instance Read StackResource
instance Show StackResource
instance Eq Output
instance Ord Output
instance Read Output
instance Show Output
instance Eq StackResourceSummary
instance Read StackResourceSummary
instance Show StackResourceSummary
instance Eq Capability
instance Ord Capability
instance Read Capability
instance Show Capability
instance Generic Capability
instance Enum Capability
instance Eq ResourceSignalStatus
instance Ord ResourceSignalStatus
instance Read ResourceSignalStatus
instance Show ResourceSignalStatus
instance Generic ResourceSignalStatus
instance Enum ResourceSignalStatus
instance Eq OnFailure
instance Ord OnFailure
instance Read OnFailure
instance Show OnFailure
instance Generic OnFailure
instance Enum OnFailure
instance Eq Parameter
instance Ord Parameter
instance Read Parameter
instance Show Parameter
instance Eq Stack
instance Read Stack
instance Show Stack
instance Datatype D1StackStatus
instance Constructor C1_0StackStatus
instance Constructor C1_1StackStatus
instance Constructor C1_2StackStatus
instance Constructor C1_3StackStatus
instance Constructor C1_4StackStatus
instance Constructor C1_5StackStatus
instance Constructor C1_6StackStatus
instance Constructor C1_7StackStatus
instance Constructor C1_8StackStatus
instance Constructor C1_9StackStatus
instance Constructor C1_10StackStatus
instance Constructor C1_11StackStatus
instance Constructor C1_12StackStatus
instance Constructor C1_13StackStatus
instance Constructor C1_14StackStatus
instance Constructor C1_15StackStatus
instance Datatype D1ResourceStatus
instance Constructor C1_0ResourceStatus
instance Constructor C1_1ResourceStatus
instance Constructor C1_2ResourceStatus
instance Constructor C1_3ResourceStatus
instance Constructor C1_4ResourceStatus
instance Constructor C1_5ResourceStatus
instance Constructor C1_6ResourceStatus
instance Constructor C1_7ResourceStatus
instance Constructor C1_8ResourceStatus
instance Constructor C1_9ResourceStatus
instance Datatype D1Capability
instance Constructor C1_0Capability
instance Datatype D1ResourceSignalStatus
instance Constructor C1_0ResourceSignalStatus
instance Constructor C1_1ResourceSignalStatus
instance Datatype D1OnFailure
instance Constructor C1_0OnFailure
instance Constructor C1_1OnFailure
instance Constructor C1_2OnFailure
instance ToQuery Parameter
instance FromXML Parameter
instance FromXML OnFailure
instance ToQuery OnFailure
instance ToHeader OnFailure
instance ToByteString OnFailure
instance ToText OnFailure
instance FromText OnFailure
instance Hashable OnFailure
instance ToQuery Stack
instance FromXML Stack
instance FromXML ResourceSignalStatus
instance ToQuery ResourceSignalStatus
instance ToHeader ResourceSignalStatus
instance ToByteString ResourceSignalStatus
instance ToText ResourceSignalStatus
instance FromText ResourceSignalStatus
instance Hashable ResourceSignalStatus
instance FromXML Capability
instance ToQuery Capability
instance ToHeader Capability
instance ToByteString Capability
instance ToText Capability
instance FromText Capability
instance Hashable Capability
instance ToQuery StackResourceSummary
instance FromXML StackResourceSummary
instance ToQuery Output
instance FromXML Output
instance ToQuery StackResource
instance FromXML StackResource
instance ToQuery ParameterDeclaration
instance FromXML ParameterDeclaration
instance ToQuery TemplateParameter
instance FromXML TemplateParameter
instance FromXML ResourceStatus
instance ToQuery ResourceStatus
instance ToHeader ResourceStatus
instance ToByteString ResourceStatus
instance ToText ResourceStatus
instance FromText ResourceStatus
instance Hashable ResourceStatus
instance ToQuery StackResourceDetail
instance FromXML StackResourceDetail
instance ToQuery StackSummary
instance FromXML StackSummary
instance ToQuery StackEvent
instance FromXML StackEvent
instance FromXML StackStatus
instance ToQuery StackStatus
instance ToHeader StackStatus
instance ToByteString StackStatus
instance ToText StackStatus
instance FromText StackStatus
instance Hashable StackStatus
instance ToQuery Tag
instance FromXML Tag
instance AWSService CloudFormation
-- | 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.
--
-- Tags that were associated with this stack during creation time will
-- still be associated with the stack after an UpdateStack
-- operation.
--
-- For more information about creating an update template, updating a
-- stack, and monitoring the progress of the update, see Updating a
-- Stack.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStack.html
module Network.AWS.CloudFormation.UpdateStack
data UpdateStack
-- | UpdateStack constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
updateStack :: Text -> UpdateStack
-- | A list of capabilities that you must specify before AWS CloudFormation
-- can create or update certain stacks. Some stack templates might
-- include resources that can affect permissions in your AWS account. 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::CloudFormation::Stack,
-- 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 any permissions
-- associated with them. If you don't specify this parameter, this action
-- returns an InsufficientCapabilities error.
usCapabilities :: Lens' UpdateStack [Capability]
-- | Update the ARNs for the Amazon SNS topics that are associated with the
-- stack.
usNotificationARNs :: Lens' UpdateStack [Text]
-- | A list of Parameter structures that specify input parameters
-- for the stack.
usParameters :: Lens' UpdateStack [Parameter]
-- | The name or stack ID of the stack to update.
--
-- Must contain only alphanumeric characters (case sensitive) and start
-- with an alpha character. Maximum length of the name is 255 characters.
usStackName :: 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)
-- | 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 located in an S3 bucket in the same region as the stack. 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)
-- | Reuse the existing template that is associated with the stack that you
-- are updating.
usUsePreviousTemplate :: Lens' UpdateStack (Maybe Bool)
data UpdateStackResponse
-- | UpdateStackResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
updateStackResponse :: UpdateStackResponse
-- | Unique identifier of the stack.
usrStackId :: Lens' UpdateStackResponse (Maybe Text)
instance Eq UpdateStack
instance Read UpdateStack
instance Show UpdateStack
instance Eq UpdateStackResponse
instance Ord UpdateStackResponse
instance Read UpdateStackResponse
instance Show UpdateStackResponse
instance Monoid UpdateStackResponse
instance FromXML UpdateStackResponse
instance AWSRequest UpdateStack
instance ToHeaders UpdateStack
instance ToQuery UpdateStack
instance ToPath UpdateStack
-- | Validates a specified template.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ValidateTemplate.html
module Network.AWS.CloudFormation.ValidateTemplate
data ValidateTemplate
-- | ValidateTemplate constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
validateTemplate :: 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: 307,200 bytes) located in an S3 bucket in the same
-- region as the stack. 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)
data ValidateTemplateResponse
-- | ValidateTemplateResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
validateTemplateResponse :: ValidateTemplateResponse
-- | 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.
vtrCapabilities :: Lens' ValidateTemplateResponse [Capability]
-- | The capabilities reason found within the template.
vtrCapabilitiesReason :: Lens' ValidateTemplateResponse (Maybe Text)
-- | The description found within the template.
vtrDescription :: Lens' ValidateTemplateResponse (Maybe Text)
-- | A list of TemplateParameter structures.
vtrParameters :: Lens' ValidateTemplateResponse [TemplateParameter]
instance Eq ValidateTemplate
instance Ord ValidateTemplate
instance Read ValidateTemplate
instance Show ValidateTemplate
instance Eq ValidateTemplateResponse
instance Read ValidateTemplateResponse
instance Show ValidateTemplateResponse
instance FromXML ValidateTemplateResponse
instance AWSRequest ValidateTemplate
instance ToHeaders ValidateTemplate
instance ToQuery ValidateTemplate
instance ToPath ValidateTemplate
-- | 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.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SignalResource.html
module Network.AWS.CloudFormation.SignalResource
data SignalResource
-- | SignalResource constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
signalResource :: Text -> Text -> Text -> ResourceSignalStatus -> SignalResource
-- | 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.
srLogicalResourceId :: Lens' SignalResource Text
-- | The stack name or ID that includes the resource that you want to
-- signal.
srStackName :: 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.
srStatus :: Lens' SignalResource ResourceSignalStatus
-- | 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.
srUniqueId :: Lens' SignalResource Text
data SignalResourceResponse
-- | SignalResourceResponse constructor.
signalResourceResponse :: SignalResourceResponse
instance Eq SignalResource
instance Read SignalResource
instance Show SignalResource
instance Eq SignalResourceResponse
instance Ord SignalResourceResponse
instance Read SignalResourceResponse
instance Show SignalResourceResponse
instance Generic SignalResourceResponse
instance Datatype D1SignalResourceResponse
instance Constructor C1_0SignalResourceResponse
instance AWSRequest SignalResource
instance ToHeaders SignalResource
instance ToQuery SignalResource
instance ToPath SignalResource
-- | Sets a stack policy for a specified stack.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetStackPolicy.html
module Network.AWS.CloudFormation.SetStackPolicy
data SetStackPolicy
-- | SetStackPolicy constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
setStackPolicy :: Text -> SetStackPolicy
-- | The name or stack ID that you want to associate a policy with.
sspStackName :: Lens' SetStackPolicy 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.
sspStackPolicyBody :: Lens' SetStackPolicy (Maybe Text)
-- | 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.
sspStackPolicyURL :: Lens' SetStackPolicy (Maybe Text)
data SetStackPolicyResponse
-- | SetStackPolicyResponse constructor.
setStackPolicyResponse :: SetStackPolicyResponse
instance Eq SetStackPolicy
instance Ord SetStackPolicy
instance Read SetStackPolicy
instance Show SetStackPolicy
instance Eq SetStackPolicyResponse
instance Ord SetStackPolicyResponse
instance Read SetStackPolicyResponse
instance Show SetStackPolicyResponse
instance Generic SetStackPolicyResponse
instance Datatype D1SetStackPolicyResponse
instance Constructor C1_0SetStackPolicyResponse
instance AWSRequest SetStackPolicy
instance ToHeaders SetStackPolicy
instance ToQuery SetStackPolicy
instance ToPath SetStackPolicy
-- | 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).
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListStacks.html
module Network.AWS.CloudFormation.ListStacks
data ListStacks
-- | ListStacks constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
listStacks :: ListStacks
-- | String that identifies the start of the next list of stacks, if there
-- is one.
--
-- Default: There is no default value.
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]
data ListStacksResponse
-- | ListStacksResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
listStacksResponse :: ListStacksResponse
-- | String that identifies the start of the next list of stacks, if there
-- is one.
lsr1NextToken :: Lens' ListStacksResponse (Maybe Text)
-- | A list of StackSummary structures containing information about
-- the specified stacks.
lsr1StackSummaries :: Lens' ListStacksResponse [StackSummary]
instance Eq ListStacks
instance Read ListStacks
instance Show ListStacks
instance Eq ListStacksResponse
instance Read ListStacksResponse
instance Show ListStacksResponse
instance AWSPager ListStacks
instance FromXML ListStacksResponse
instance AWSRequest ListStacks
instance ToHeaders ListStacks
instance ToQuery ListStacks
instance ToPath ListStacks
-- | 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.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListStackResources.html
module Network.AWS.CloudFormation.ListStackResources
data ListStackResources
-- | ListStackResources constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
listStackResources :: Text -> ListStackResources
-- | String that identifies the start of the next list of stack resource
-- summaries, if there is one.
--
-- Default: There is no default value.
lsrNextToken :: Lens' ListStackResources (Maybe Text)
-- | The name or the unique identifier 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
data ListStackResourcesResponse
-- | ListStackResourcesResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
listStackResourcesResponse :: ListStackResourcesResponse
-- | String that identifies the start of the next list of stack resources,
-- if there is one.
lsrrNextToken :: Lens' ListStackResourcesResponse (Maybe Text)
-- | A list of StackResourceSummary structures.
lsrrStackResourceSummaries :: Lens' ListStackResourcesResponse [StackResourceSummary]
instance Eq ListStackResources
instance Ord ListStackResources
instance Read ListStackResources
instance Show ListStackResources
instance Eq ListStackResourcesResponse
instance Read ListStackResourcesResponse
instance Show ListStackResourcesResponse
instance AWSPager ListStackResources
instance FromXML ListStackResourcesResponse
instance AWSRequest ListStackResources
instance ToHeaders ListStackResources
instance ToQuery ListStackResources
instance ToPath ListStackResources
-- | 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.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_GetTemplateSummary.html
module Network.AWS.CloudFormation.GetTemplateSummary
data GetTemplateSummary
-- | GetTemplateSummary constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getTemplateSummary :: GetTemplateSummary
-- | The name or the unique identifier 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)
-- | 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: 307,200 bytes) 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)
data GetTemplateSummaryResponse
-- | GetTemplateSummaryResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getTemplateSummaryResponse :: GetTemplateSummaryResponse
-- | 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.
gtsrCapabilities :: Lens' GetTemplateSummaryResponse [Capability]
-- | The capabilities reason found within the template.
gtsrCapabilitiesReason :: Lens' GetTemplateSummaryResponse (Maybe Text)
-- | The value that is defined in the Description property of the
-- template.
gtsrDescription :: Lens' GetTemplateSummaryResponse (Maybe Text)
-- | A list of parameter declarations that describe various properties for
-- each parameter.
gtsrParameters :: Lens' GetTemplateSummaryResponse [ParameterDeclaration]
-- | The AWS template format version, which identifies the capabilities of
-- the template.
gtsrVersion :: Lens' GetTemplateSummaryResponse (Maybe Text)
instance Eq GetTemplateSummary
instance Ord GetTemplateSummary
instance Read GetTemplateSummary
instance Show GetTemplateSummary
instance Eq GetTemplateSummaryResponse
instance Read GetTemplateSummaryResponse
instance Show GetTemplateSummaryResponse
instance FromXML GetTemplateSummaryResponse
instance AWSRequest GetTemplateSummary
instance ToHeaders GetTemplateSummary
instance ToQuery GetTemplateSummary
instance ToPath GetTemplateSummary
-- | 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.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_GetTemplate.html
module Network.AWS.CloudFormation.GetTemplate
data GetTemplate
-- | GetTemplate constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getTemplate :: Text -> GetTemplate
-- | The name or the unique identifier 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
data GetTemplateResponse
-- | GetTemplateResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getTemplateResponse :: GetTemplateResponse
-- | Structure containing the template body. (For more information, go to
-- TemplateAnatomy in the AWS CloudFormation User Guide.)
gtrTemplateBody :: Lens' GetTemplateResponse (Maybe Text)
instance Eq GetTemplate
instance Ord GetTemplate
instance Read GetTemplate
instance Show GetTemplate
instance Monoid GetTemplate
instance IsString GetTemplate
instance Eq GetTemplateResponse
instance Ord GetTemplateResponse
instance Read GetTemplateResponse
instance Show GetTemplateResponse
instance Monoid GetTemplateResponse
instance FromXML GetTemplateResponse
instance AWSRequest GetTemplate
instance ToHeaders GetTemplate
instance ToQuery GetTemplate
instance ToPath GetTemplate
-- | Returns the stack policy for a specified stack. If a stack doesn't
-- have a policy, a null value is returned.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_GetStackPolicy.html
module Network.AWS.CloudFormation.GetStackPolicy
data GetStackPolicy
-- | GetStackPolicy constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getStackPolicy :: Text -> GetStackPolicy
-- | The name or stack ID that is associated with the stack whose policy
-- you want to get.
gspStackName :: Lens' GetStackPolicy Text
data GetStackPolicyResponse
-- | GetStackPolicyResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
getStackPolicyResponse :: GetStackPolicyResponse
-- | Structure containing the stack policy body. (For more information, go
-- to Prevent Updates to Stack Resources in the AWS CloudFormation
-- User Guide.)
gsprStackPolicyBody :: Lens' GetStackPolicyResponse (Maybe Text)
instance Eq GetStackPolicy
instance Ord GetStackPolicy
instance Read GetStackPolicy
instance Show GetStackPolicy
instance Monoid GetStackPolicy
instance IsString GetStackPolicy
instance Eq GetStackPolicyResponse
instance Ord GetStackPolicyResponse
instance Read GetStackPolicyResponse
instance Show GetStackPolicyResponse
instance Monoid GetStackPolicyResponse
instance FromXML GetStackPolicyResponse
instance AWSRequest GetStackPolicy
instance ToHeaders GetStackPolicy
instance ToQuery GetStackPolicy
instance ToPath GetStackPolicy
-- | 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.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_EstimateTemplateCost.html
module Network.AWS.CloudFormation.EstimateTemplateCost
data EstimateTemplateCost
-- | EstimateTemplateCost constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
estimateTemplateCost :: 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 located in an S3 bucket in the same region as the stack. 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)
data EstimateTemplateCostResponse
-- | EstimateTemplateCostResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
estimateTemplateCostResponse :: EstimateTemplateCostResponse
-- | An AWS Simple Monthly Calculator URL with a query string that
-- describes the resources required to run the template.
etcrUrl :: Lens' EstimateTemplateCostResponse (Maybe Text)
instance Eq EstimateTemplateCost
instance Read EstimateTemplateCost
instance Show EstimateTemplateCost
instance Eq EstimateTemplateCostResponse
instance Ord EstimateTemplateCostResponse
instance Read EstimateTemplateCostResponse
instance Show EstimateTemplateCostResponse
instance Monoid EstimateTemplateCostResponse
instance FromXML EstimateTemplateCostResponse
instance AWSRequest EstimateTemplateCost
instance ToHeaders EstimateTemplateCost
instance ToQuery EstimateTemplateCost
instance ToPath EstimateTemplateCost
-- | Returns the description for the specified stack; if no stack name was
-- specified, then it returns the description for all the stacks created.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeStacks.html
module Network.AWS.CloudFormation.DescribeStacks
data DescribeStacks
-- | DescribeStacks constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeStacks :: DescribeStacks
-- | String that identifies the start of the next list of stacks, if there
-- is one.
ds1NextToken :: Lens' DescribeStacks (Maybe Text)
-- | The name or the unique identifier 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.
ds1StackName :: Lens' DescribeStacks (Maybe Text)
data DescribeStacksResponse
-- | DescribeStacksResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeStacksResponse :: DescribeStacksResponse
-- | String that identifies the start of the next list of stacks, if there
-- is one.
dsrNextToken :: Lens' DescribeStacksResponse (Maybe Text)
-- | A list of stack structures.
dsrStacks :: Lens' DescribeStacksResponse [Stack]
instance Eq DescribeStacks
instance Ord DescribeStacks
instance Read DescribeStacks
instance Show DescribeStacks
instance Eq DescribeStacksResponse
instance Read DescribeStacksResponse
instance Show DescribeStacksResponse
instance AWSPager DescribeStacks
instance FromXML DescribeStacksResponse
instance AWSRequest DescribeStacks
instance ToHeaders DescribeStacks
instance ToQuery DescribeStacks
instance ToPath 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.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeStackResources.html
module Network.AWS.CloudFormation.DescribeStackResources
data DescribeStackResources
-- | DescribeStackResources constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeStackResources :: 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 identifier 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)
data DescribeStackResourcesResponse
-- | DescribeStackResourcesResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeStackResourcesResponse :: DescribeStackResourcesResponse
-- | A list of StackResource structures.
dsrrStackResources :: Lens' DescribeStackResourcesResponse [StackResource]
instance Eq DescribeStackResources
instance Ord DescribeStackResources
instance Read DescribeStackResources
instance Show DescribeStackResources
instance Eq DescribeStackResourcesResponse
instance Read DescribeStackResourcesResponse
instance Show DescribeStackResourcesResponse
instance Monoid DescribeStackResourcesResponse
instance Semigroup DescribeStackResourcesResponse
instance FromXML DescribeStackResourcesResponse
instance AWSRequest DescribeStackResources
instance ToHeaders DescribeStackResources
instance ToQuery DescribeStackResources
instance ToPath DescribeStackResources
instance IsList 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.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeStackResource.html
module Network.AWS.CloudFormation.DescribeStackResource
data DescribeStackResource
-- | DescribeStackResource constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeStackResource :: Text -> Text -> DescribeStackResource
-- | The logical name of the resource as specified in the template.
--
-- Default: There is no default value.
dsr1LogicalResourceId :: Lens' DescribeStackResource Text
-- | The name or the unique identifier 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.
dsr1StackName :: Lens' DescribeStackResource Text
data DescribeStackResourceResponse
-- | DescribeStackResourceResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeStackResourceResponse :: DescribeStackResourceResponse
-- | A StackResourceDetail structure containing the description of
-- the specified resource in the specified stack.
dsrrStackResourceDetail :: Lens' DescribeStackResourceResponse (Maybe StackResourceDetail)
instance Eq DescribeStackResource
instance Ord DescribeStackResource
instance Read DescribeStackResource
instance Show DescribeStackResource
instance Eq DescribeStackResourceResponse
instance Read DescribeStackResourceResponse
instance Show DescribeStackResourceResponse
instance FromXML DescribeStackResourceResponse
instance AWSRequest DescribeStackResource
instance ToHeaders DescribeStackResource
instance ToQuery DescribeStackResource
instance ToPath DescribeStackResource
-- | 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).
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeStackEvents.html
module Network.AWS.CloudFormation.DescribeStackEvents
data DescribeStackEvents
-- | DescribeStackEvents constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeStackEvents :: DescribeStackEvents
-- | String that identifies the start of the next list of events, if there
-- is one.
--
-- Default: There is no default value.
dseNextToken :: Lens' DescribeStackEvents (Maybe Text)
-- | The name or the unique identifier 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)
data DescribeStackEventsResponse
-- | DescribeStackEventsResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
describeStackEventsResponse :: DescribeStackEventsResponse
-- | String that identifies the start of the next list of events, if there
-- is one.
dserNextToken :: Lens' DescribeStackEventsResponse (Maybe Text)
-- | A list of StackEvents structures.
dserStackEvents :: Lens' DescribeStackEventsResponse [StackEvent]
instance Eq DescribeStackEvents
instance Ord DescribeStackEvents
instance Read DescribeStackEvents
instance Show DescribeStackEvents
instance Eq DescribeStackEventsResponse
instance Read DescribeStackEventsResponse
instance Show DescribeStackEventsResponse
instance AWSPager DescribeStackEvents
instance FromXML DescribeStackEventsResponse
instance AWSRequest DescribeStackEvents
instance ToHeaders DescribeStackEvents
instance ToQuery DescribeStackEvents
instance ToPath DescribeStackEvents
-- | 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.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeleteStack.html
module Network.AWS.CloudFormation.DeleteStack
data DeleteStack
-- | DeleteStack constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
deleteStack :: Text -> DeleteStack
-- | The name or the unique identifier associated with the stack.
dsStackName :: Lens' DeleteStack Text
data DeleteStackResponse
-- | DeleteStackResponse constructor.
deleteStackResponse :: DeleteStackResponse
instance Eq DeleteStack
instance Ord DeleteStack
instance Read DeleteStack
instance Show DeleteStack
instance Monoid DeleteStack
instance IsString DeleteStack
instance Eq DeleteStackResponse
instance Ord DeleteStackResponse
instance Read DeleteStackResponse
instance Show DeleteStackResponse
instance Generic DeleteStackResponse
instance Datatype D1DeleteStackResponse
instance Constructor C1_0DeleteStackResponse
instance AWSRequest DeleteStack
instance ToHeaders DeleteStack
instance ToQuery DeleteStack
instance ToPath DeleteStack
-- | 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.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html
module Network.AWS.CloudFormation.CreateStack
data CreateStack
-- | CreateStack constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createStack :: Text -> CreateStack
-- | A list of capabilities that you must specify before AWS CloudFormation
-- can create or update certain stacks. Some stack templates might
-- include resources that can affect permissions in your AWS account. 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::CloudFormation::Stack, 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 any permissions
-- associated with them. If you don't specify this parameter, this action
-- returns an InsufficientCapabilities error.
csCapabilities :: Lens' CreateStack [Capability]
-- | 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]
-- | 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)
-- | A list of Parameter structures that specify input parameters
-- for the stack.
csParameters :: Lens' CreateStack [Parameter]
-- | The name associated with the stack. The name must be unique within
-- your AWS account.
--
-- Must contain only alphanumeric characters (case sensitive) and start
-- with an alpha character. Maximum length of the name is 255 characters.
csStackName :: 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)
-- | 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)
-- | A set of user-defined Tags to associate with this stack,
-- represented by key/value pairs. Tags defined for the stack are
-- propagated to EC2 resources that are created as part of the stack. A
-- maximum number of 10 tags can be specified.
csTags :: Lens' CreateStack [Tag]
-- | 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: 307,200 bytes) located in an S3 bucket in the same
-- region as the stack. 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)
-- | 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)
data CreateStackResponse
-- | CreateStackResponse constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
createStackResponse :: CreateStackResponse
-- | Unique identifier of the stack.
csrStackId :: Lens' CreateStackResponse (Maybe Text)
instance Eq CreateStack
instance Read CreateStack
instance Show CreateStack
instance Eq CreateStackResponse
instance Ord CreateStackResponse
instance Read CreateStackResponse
instance Show CreateStackResponse
instance Monoid CreateStackResponse
instance FromXML CreateStackResponse
instance AWSRequest CreateStack
instance ToHeaders CreateStack
instance ToQuery CreateStack
instance ToPath CreateStack
-- | Cancels an update on the specified stack. If the call completes
-- successfully, the stack will roll back the update and revert to the
-- previous stack configuration.
--
-- Only stacks that are in the UPDATE_IN_PROGRESS state can be canceled.
--
--
-- http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CancelUpdateStack.html
module Network.AWS.CloudFormation.CancelUpdateStack
data CancelUpdateStack
-- | CancelUpdateStack constructor.
--
-- The fields accessible through corresponding lenses are:
--
--
cancelUpdateStack :: Text -> CancelUpdateStack
-- | The name or the unique identifier associated with the stack.
cusStackName :: Lens' CancelUpdateStack Text
data CancelUpdateStackResponse
-- | CancelUpdateStackResponse constructor.
cancelUpdateStackResponse :: CancelUpdateStackResponse
instance Eq CancelUpdateStack
instance Ord CancelUpdateStack
instance Read CancelUpdateStack
instance Show CancelUpdateStack
instance Monoid CancelUpdateStack
instance IsString CancelUpdateStack
instance Eq CancelUpdateStackResponse
instance Ord CancelUpdateStackResponse
instance Read CancelUpdateStackResponse
instance Show CancelUpdateStackResponse
instance Generic CancelUpdateStackResponse
instance Datatype D1CancelUpdateStackResponse
instance Constructor C1_0CancelUpdateStackResponse
instance AWSRequest CancelUpdateStack
instance ToHeaders CancelUpdateStack
instance ToQuery CancelUpdateStack
instance ToPath CancelUpdateStack
-- | AWS CloudFormation gives developers and systems administrators an easy
-- way to create and manage a collection of related AWS resources,
-- provisioning and updating them in an orderly and predictable fashion.
-- You can use AWS CloudFormation’s sample templates or create your own
-- templates to describe the AWS resources, and any associated
-- dependencies or runtime parameters, required to run your application.
-- You don’t need to figure out the order for provisioning AWS services
-- or the subtleties of making those dependencies work. CloudFormation
-- takes care of this for you. After the AWS resources are deployed, you
-- can modify and update them in a controlled and predictable way, in
-- effect applying version control to your AWS infrastructure the same
-- way you do with your software.
module Network.AWS.CloudFormation