-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CloudFormation SDK.
--
@package amazonka-cloudformation
@version 1.3.2
module Network.AWS.CloudFormation.Types
-- | API version '2010-05-15' of the Amazon CloudFormation SDK
-- configuration.
cloudFormation :: Service
-- | 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 OnFailure
Delete :: OnFailure
DoNothing :: OnFailure
Rollback :: OnFailure
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 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 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)
-- | 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 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)
-- | The name associated with the stack.
sStackName :: Lens' Stack Text
-- | 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 is used by CreateStack in the Tags
-- parameter. It allows you to specify a key/value pair that can be used
-- to store information related to cost allocation for 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)
module Network.AWS.CloudFormation.Waiters
-- | 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.
--
-- See: AWS API Reference for DescribeStackResource.
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.
desStackName :: Lens' DescribeStackResource Text
-- | The logical name of the resource as specified in the template.
--
-- Default: There is no default value.
desLogicalResourceId :: 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 Typeable DescribeStackResource
instance Typeable DescribeStackResourceResponse
instance Eq DescribeStackResource
instance Read DescribeStackResource
instance Show DescribeStackResource
instance Data DescribeStackResource
instance Generic DescribeStackResource
instance Eq DescribeStackResourceResponse
instance Read DescribeStackResourceResponse
instance Show DescribeStackResourceResponse
instance Data DescribeStackResourceResponse
instance Generic DescribeStackResourceResponse
instance Datatype D1DescribeStackResource
instance Constructor C1_0DescribeStackResource
instance Selector S1_0_0DescribeStackResource
instance Selector S1_0_1DescribeStackResource
instance Datatype D1DescribeStackResourceResponse
instance Constructor C1_0DescribeStackResourceResponse
instance Selector S1_0_0DescribeStackResourceResponse
instance Selector S1_0_1DescribeStackResourceResponse
instance ToQuery DescribeStackResource
instance ToPath DescribeStackResource
instance ToHeaders DescribeStackResource
instance AWSRequest DescribeStackResource
-- | 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.
--
-- See: AWS API Reference for GetTemplate.
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 Typeable GetTemplate
instance Typeable GetTemplateResponse
instance Eq GetTemplate
instance Read GetTemplate
instance Show GetTemplate
instance Data GetTemplate
instance Generic GetTemplate
instance Eq GetTemplateResponse
instance Read GetTemplateResponse
instance Show GetTemplateResponse
instance Data GetTemplateResponse
instance Generic GetTemplateResponse
instance Datatype D1GetTemplate
instance Constructor C1_0GetTemplate
instance Selector S1_0_0GetTemplate
instance Datatype D1GetTemplateResponse
instance Constructor C1_0GetTemplateResponse
instance Selector S1_0_0GetTemplateResponse
instance Selector S1_0_1GetTemplateResponse
instance ToQuery GetTemplate
instance ToPath GetTemplate
instance ToHeaders GetTemplate
instance AWSRequest GetTemplate
-- | 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.
--
-- See: AWS API Reference for EstimateTemplateCost.
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 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)
-- | 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 Typeable EstimateTemplateCost
instance Typeable EstimateTemplateCostResponse
instance Eq EstimateTemplateCost
instance Read EstimateTemplateCost
instance Show EstimateTemplateCost
instance Data EstimateTemplateCost
instance Generic EstimateTemplateCost
instance Eq EstimateTemplateCostResponse
instance Read EstimateTemplateCostResponse
instance Show EstimateTemplateCostResponse
instance Data EstimateTemplateCostResponse
instance Generic EstimateTemplateCostResponse
instance Datatype D1EstimateTemplateCost
instance Constructor C1_0EstimateTemplateCost
instance Selector S1_0_0EstimateTemplateCost
instance Selector S1_0_1EstimateTemplateCost
instance Selector S1_0_2EstimateTemplateCost
instance Datatype D1EstimateTemplateCostResponse
instance Constructor C1_0EstimateTemplateCostResponse
instance Selector S1_0_0EstimateTemplateCostResponse
instance Selector S1_0_1EstimateTemplateCostResponse
instance ToQuery EstimateTemplateCost
instance ToPath EstimateTemplateCost
instance ToHeaders EstimateTemplateCost
instance AWSRequest EstimateTemplateCost
-- | 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.
--
-- See: AWS API Reference for CreateStack.
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.
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) 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)
-- | 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::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]
-- | 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 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]
-- | 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 255 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 Typeable CreateStack
instance Typeable CreateStackResponse
instance Eq CreateStack
instance Read CreateStack
instance Show CreateStack
instance Data CreateStack
instance Generic CreateStack
instance Eq CreateStackResponse
instance Read CreateStackResponse
instance Show CreateStackResponse
instance Data CreateStackResponse
instance Generic CreateStackResponse
instance Datatype D1CreateStack
instance Constructor C1_0CreateStack
instance Selector S1_0_0CreateStack
instance Selector S1_0_1CreateStack
instance Selector S1_0_2CreateStack
instance Selector S1_0_3CreateStack
instance Selector S1_0_4CreateStack
instance Selector S1_0_5CreateStack
instance Selector S1_0_6CreateStack
instance Selector S1_0_7CreateStack
instance Selector S1_0_8CreateStack
instance Selector S1_0_9CreateStack
instance Selector S1_0_10CreateStack
instance Selector S1_0_11CreateStack
instance Datatype D1CreateStackResponse
instance Constructor C1_0CreateStackResponse
instance Selector S1_0_0CreateStackResponse
instance Selector S1_0_1CreateStackResponse
instance ToQuery CreateStack
instance ToPath CreateStack
instance ToHeaders CreateStack
instance AWSRequest CreateStack
-- | 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.
--
-- See: AWS API Reference for DescribeStackResources.
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.
drsStackResources :: Lens' DescribeStackResourcesResponse [StackResource]
-- | The response status code.
drsResponseStatus :: Lens' DescribeStackResourcesResponse Int
instance Typeable DescribeStackResources
instance Typeable DescribeStackResourcesResponse
instance Eq DescribeStackResources
instance Read DescribeStackResources
instance Show DescribeStackResources
instance Data DescribeStackResources
instance Generic DescribeStackResources
instance Eq DescribeStackResourcesResponse
instance Read DescribeStackResourcesResponse
instance Show DescribeStackResourcesResponse
instance Data DescribeStackResourcesResponse
instance Generic DescribeStackResourcesResponse
instance Datatype D1DescribeStackResources
instance Constructor C1_0DescribeStackResources
instance Selector S1_0_0DescribeStackResources
instance Selector S1_0_1DescribeStackResources
instance Selector S1_0_2DescribeStackResources
instance Datatype D1DescribeStackResourcesResponse
instance Constructor C1_0DescribeStackResourcesResponse
instance Selector S1_0_0DescribeStackResourcesResponse
instance Selector S1_0_1DescribeStackResourcesResponse
instance ToQuery DescribeStackResources
instance ToPath DescribeStackResources
instance ToHeaders DescribeStackResources
instance AWSRequest DescribeStackResources
-- | 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).
--
-- See: AWS API Reference for ListStacks.
--
-- 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
-- | 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]
-- | 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
-- | String that identifies the start of the next list of stacks, if there
-- is one.
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 Typeable ListStacks
instance Typeable ListStacksResponse
instance Eq ListStacks
instance Read ListStacks
instance Show ListStacks
instance Data ListStacks
instance Generic ListStacks
instance Eq ListStacksResponse
instance Read ListStacksResponse
instance Show ListStacksResponse
instance Data ListStacksResponse
instance Generic ListStacksResponse
instance Datatype D1ListStacks
instance Constructor C1_0ListStacks
instance Selector S1_0_0ListStacks
instance Selector S1_0_1ListStacks
instance Datatype D1ListStacksResponse
instance Constructor C1_0ListStacksResponse
instance Selector S1_0_0ListStacksResponse
instance Selector S1_0_1ListStacksResponse
instance Selector S1_0_2ListStacksResponse
instance ToQuery ListStacks
instance ToPath ListStacks
instance ToHeaders ListStacks
instance AWSRequest ListStacks
instance AWSPager ListStacks
-- | Sets a stack policy for a specified stack.
--
-- See: AWS API Reference for SetStackPolicy.
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 (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)
-- | 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 Typeable SetStackPolicy
instance Typeable SetStackPolicyResponse
instance Eq SetStackPolicy
instance Read SetStackPolicy
instance Show SetStackPolicy
instance Data SetStackPolicy
instance Generic SetStackPolicy
instance Eq SetStackPolicyResponse
instance Read SetStackPolicyResponse
instance Show SetStackPolicyResponse
instance Data SetStackPolicyResponse
instance Generic SetStackPolicyResponse
instance Datatype D1SetStackPolicy
instance Constructor C1_0SetStackPolicy
instance Selector S1_0_0SetStackPolicy
instance Selector S1_0_1SetStackPolicy
instance Selector S1_0_2SetStackPolicy
instance Datatype D1SetStackPolicyResponse
instance Constructor C1_0SetStackPolicyResponse
instance ToQuery SetStackPolicy
instance ToPath SetStackPolicy
instance ToHeaders SetStackPolicy
instance AWSRequest SetStackPolicy
-- | 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.
--
-- See: AWS API Reference for SignalResource.
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 Typeable SignalResource
instance Typeable SignalResourceResponse
instance Eq SignalResource
instance Read SignalResource
instance Show SignalResource
instance Data SignalResource
instance Generic SignalResource
instance Eq SignalResourceResponse
instance Read SignalResourceResponse
instance Show SignalResourceResponse
instance Data SignalResourceResponse
instance Generic SignalResourceResponse
instance Datatype D1SignalResource
instance Constructor C1_0SignalResource
instance Selector S1_0_0SignalResource
instance Selector S1_0_1SignalResource
instance Selector S1_0_2SignalResource
instance Selector S1_0_3SignalResource
instance Datatype D1SignalResourceResponse
instance Constructor C1_0SignalResourceResponse
instance ToQuery SignalResource
instance ToPath SignalResource
instance ToHeaders SignalResource
instance AWSRequest SignalResource
-- | 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).
--
-- See: AWS API Reference for DescribeStackEvents.
--
-- 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
-- | 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 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
-- | String that identifies the start of the next list of events, if there
-- is one.
dsersNextToken :: Lens' DescribeStackEventsResponse (Maybe Text)
-- | A list of StackEvents structures.
dsersStackEvents :: Lens' DescribeStackEventsResponse [StackEvent]
-- | The response status code.
dsersResponseStatus :: Lens' DescribeStackEventsResponse Int
instance Typeable DescribeStackEvents
instance Typeable DescribeStackEventsResponse
instance Eq DescribeStackEvents
instance Read DescribeStackEvents
instance Show DescribeStackEvents
instance Data DescribeStackEvents
instance Generic DescribeStackEvents
instance Eq DescribeStackEventsResponse
instance Read DescribeStackEventsResponse
instance Show DescribeStackEventsResponse
instance Data DescribeStackEventsResponse
instance Generic DescribeStackEventsResponse
instance Datatype D1DescribeStackEvents
instance Constructor C1_0DescribeStackEvents
instance Selector S1_0_0DescribeStackEvents
instance Selector S1_0_1DescribeStackEvents
instance Datatype D1DescribeStackEventsResponse
instance Constructor C1_0DescribeStackEventsResponse
instance Selector S1_0_0DescribeStackEventsResponse
instance Selector S1_0_1DescribeStackEventsResponse
instance Selector S1_0_2DescribeStackEventsResponse
instance ToQuery DescribeStackEvents
instance ToPath DescribeStackEvents
instance ToHeaders DescribeStackEvents
instance AWSRequest DescribeStackEvents
instance AWSPager DescribeStackEvents
-- | 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.
--
-- See: AWS API Reference for CancelUpdateStack.
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 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 Typeable CancelUpdateStack
instance Typeable CancelUpdateStackResponse
instance Eq CancelUpdateStack
instance Read CancelUpdateStack
instance Show CancelUpdateStack
instance Data CancelUpdateStack
instance Generic CancelUpdateStack
instance Eq CancelUpdateStackResponse
instance Read CancelUpdateStackResponse
instance Show CancelUpdateStackResponse
instance Data CancelUpdateStackResponse
instance Generic CancelUpdateStackResponse
instance Datatype D1CancelUpdateStack
instance Constructor C1_0CancelUpdateStack
instance Selector S1_0_0CancelUpdateStack
instance Datatype D1CancelUpdateStackResponse
instance Constructor C1_0CancelUpdateStackResponse
instance ToQuery CancelUpdateStack
instance ToPath CancelUpdateStack
instance ToHeaders CancelUpdateStack
instance AWSRequest CancelUpdateStack
-- | Validates a specified template.
--
-- See: AWS API Reference for ValidateTemplate.
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) 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)
-- | 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 Typeable ValidateTemplate
instance Typeable ValidateTemplateResponse
instance Eq ValidateTemplate
instance Read ValidateTemplate
instance Show ValidateTemplate
instance Data ValidateTemplate
instance Generic ValidateTemplate
instance Eq ValidateTemplateResponse
instance Read ValidateTemplateResponse
instance Show ValidateTemplateResponse
instance Data ValidateTemplateResponse
instance Generic ValidateTemplateResponse
instance Datatype D1ValidateTemplate
instance Constructor C1_0ValidateTemplate
instance Selector S1_0_0ValidateTemplate
instance Selector S1_0_1ValidateTemplate
instance Datatype D1ValidateTemplateResponse
instance Constructor C1_0ValidateTemplateResponse
instance Selector S1_0_0ValidateTemplateResponse
instance Selector S1_0_1ValidateTemplateResponse
instance Selector S1_0_2ValidateTemplateResponse
instance Selector S1_0_3ValidateTemplateResponse
instance Selector S1_0_4ValidateTemplateResponse
instance ToQuery ValidateTemplate
instance ToPath ValidateTemplate
instance ToHeaders ValidateTemplate
instance AWSRequest ValidateTemplate
-- | Returns the description for the specified stack; if no stack name was
-- specified, then it returns the description for all the stacks created.
--
-- See: AWS API Reference for DescribeStacks.
--
-- 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
-- | String that identifies the start of the next list of stacks, if there
-- is one.
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
-- | String that identifies the start of the next list of stacks, if there
-- is one.
dsrsNextToken :: Lens' DescribeStacksResponse (Maybe Text)
-- | A list of stack structures.
dsrsStacks :: Lens' DescribeStacksResponse [Stack]
-- | The response status code.
dsrsResponseStatus :: Lens' DescribeStacksResponse Int
instance Typeable DescribeStacks
instance Typeable DescribeStacksResponse
instance Eq DescribeStacks
instance Read DescribeStacks
instance Show DescribeStacks
instance Data DescribeStacks
instance Generic DescribeStacks
instance Eq DescribeStacksResponse
instance Read DescribeStacksResponse
instance Show DescribeStacksResponse
instance Data DescribeStacksResponse
instance Generic DescribeStacksResponse
instance Datatype D1DescribeStacks
instance Constructor C1_0DescribeStacks
instance Selector S1_0_0DescribeStacks
instance Selector S1_0_1DescribeStacks
instance Datatype D1DescribeStacksResponse
instance Constructor C1_0DescribeStacksResponse
instance Selector S1_0_0DescribeStacksResponse
instance Selector S1_0_1DescribeStacksResponse
instance Selector S1_0_2DescribeStacksResponse
instance ToQuery DescribeStacks
instance ToPath DescribeStacks
instance ToHeaders DescribeStacks
instance AWSRequest DescribeStacks
instance AWSPager DescribeStacks
-- | Returns the stack policy for a specified stack. If a stack doesn't
-- have a policy, a null value is returned.
--
-- See: AWS API Reference for GetStackPolicy.
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 Typeable GetStackPolicy
instance Typeable GetStackPolicyResponse
instance Eq GetStackPolicy
instance Read GetStackPolicy
instance Show GetStackPolicy
instance Data GetStackPolicy
instance Generic GetStackPolicy
instance Eq GetStackPolicyResponse
instance Read GetStackPolicyResponse
instance Show GetStackPolicyResponse
instance Data GetStackPolicyResponse
instance Generic GetStackPolicyResponse
instance Datatype D1GetStackPolicy
instance Constructor C1_0GetStackPolicy
instance Selector S1_0_0GetStackPolicy
instance Datatype D1GetStackPolicyResponse
instance Constructor C1_0GetStackPolicyResponse
instance Selector S1_0_0GetStackPolicyResponse
instance Selector S1_0_1GetStackPolicyResponse
instance ToQuery GetStackPolicy
instance ToPath GetStackPolicy
instance ToHeaders GetStackPolicy
instance AWSRequest GetStackPolicy
-- | 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.
--
-- See: AWS API Reference for ListStackResources.
--
-- 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
-- | 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 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
-- | String that identifies the start of the next list of stack resources,
-- if there is one.
lsrrsNextToken :: Lens' ListStackResourcesResponse (Maybe Text)
-- | A list of StackResourceSummary structures.
lsrrsStackResourceSummaries :: Lens' ListStackResourcesResponse [StackResourceSummary]
-- | The response status code.
lsrrsResponseStatus :: Lens' ListStackResourcesResponse Int
instance Typeable ListStackResources
instance Typeable ListStackResourcesResponse
instance Eq ListStackResources
instance Read ListStackResources
instance Show ListStackResources
instance Data ListStackResources
instance Generic ListStackResources
instance Eq ListStackResourcesResponse
instance Read ListStackResourcesResponse
instance Show ListStackResourcesResponse
instance Data ListStackResourcesResponse
instance Generic ListStackResourcesResponse
instance Datatype D1ListStackResources
instance Constructor C1_0ListStackResources
instance Selector S1_0_0ListStackResources
instance Selector S1_0_1ListStackResources
instance Datatype D1ListStackResourcesResponse
instance Constructor C1_0ListStackResourcesResponse
instance Selector S1_0_0ListStackResourcesResponse
instance Selector S1_0_1ListStackResourcesResponse
instance Selector S1_0_2ListStackResourcesResponse
instance ToQuery ListStackResources
instance ToPath ListStackResources
instance ToHeaders ListStackResources
instance AWSRequest ListStackResources
instance AWSPager 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.
--
-- See: AWS API Reference for GetTemplateSummary.
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) 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]
-- | The response status code.
gtsrsResponseStatus :: Lens' GetTemplateSummaryResponse Int
instance Typeable GetTemplateSummary
instance Typeable GetTemplateSummaryResponse
instance Eq GetTemplateSummary
instance Read GetTemplateSummary
instance Show GetTemplateSummary
instance Data GetTemplateSummary
instance Generic GetTemplateSummary
instance Eq GetTemplateSummaryResponse
instance Read GetTemplateSummaryResponse
instance Show GetTemplateSummaryResponse
instance Data GetTemplateSummaryResponse
instance Generic GetTemplateSummaryResponse
instance Datatype D1GetTemplateSummary
instance Constructor C1_0GetTemplateSummary
instance Selector S1_0_0GetTemplateSummary
instance Selector S1_0_1GetTemplateSummary
instance Selector S1_0_2GetTemplateSummary
instance Datatype D1GetTemplateSummaryResponse
instance Constructor C1_0GetTemplateSummaryResponse
instance Selector S1_0_0GetTemplateSummaryResponse
instance Selector S1_0_1GetTemplateSummaryResponse
instance Selector S1_0_2GetTemplateSummaryResponse
instance Selector S1_0_3GetTemplateSummaryResponse
instance Selector S1_0_4GetTemplateSummaryResponse
instance Selector S1_0_5GetTemplateSummaryResponse
instance Selector S1_0_6GetTemplateSummaryResponse
instance ToQuery GetTemplateSummary
instance ToPath GetTemplateSummary
instance ToHeaders GetTemplateSummary
instance AWSRequest GetTemplateSummary
-- | 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.
--
-- See: AWS API Reference for UpdateStack.
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)
-- | Update the ARNs for the Amazon SNS topics that are associated with the
-- stack.
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 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)
-- | 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::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]
-- | 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 Typeable UpdateStack
instance Typeable UpdateStackResponse
instance Eq UpdateStack
instance Read UpdateStack
instance Show UpdateStack
instance Data UpdateStack
instance Generic UpdateStack
instance Eq UpdateStackResponse
instance Read UpdateStackResponse
instance Show UpdateStackResponse
instance Data UpdateStackResponse
instance Generic UpdateStackResponse
instance Datatype D1UpdateStack
instance Constructor C1_0UpdateStack
instance Selector S1_0_0UpdateStack
instance Selector S1_0_1UpdateStack
instance Selector S1_0_2UpdateStack
instance Selector S1_0_3UpdateStack
instance Selector S1_0_4UpdateStack
instance Selector S1_0_5UpdateStack
instance Selector S1_0_6UpdateStack
instance Selector S1_0_7UpdateStack
instance Selector S1_0_8UpdateStack
instance Selector S1_0_9UpdateStack
instance Selector S1_0_10UpdateStack
instance Datatype D1UpdateStackResponse
instance Constructor C1_0UpdateStackResponse
instance Selector S1_0_0UpdateStackResponse
instance Selector S1_0_1UpdateStackResponse
instance ToQuery UpdateStack
instance ToPath UpdateStack
instance ToHeaders UpdateStack
instance AWSRequest UpdateStack
-- | 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.
--
-- See: AWS API Reference for DeleteStack.
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
-- | 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 Typeable DeleteStack
instance Typeable DeleteStackResponse
instance Eq DeleteStack
instance Read DeleteStack
instance Show DeleteStack
instance Data DeleteStack
instance Generic DeleteStack
instance Eq DeleteStackResponse
instance Read DeleteStackResponse
instance Show DeleteStackResponse
instance Data DeleteStackResponse
instance Generic DeleteStackResponse
instance Datatype D1DeleteStack
instance Constructor C1_0DeleteStack
instance Selector S1_0_0DeleteStack
instance Datatype D1DeleteStackResponse
instance Constructor C1_0DeleteStackResponse
instance ToQuery DeleteStack
instance ToPath DeleteStack
instance ToHeaders DeleteStack
instance AWSRequest DeleteStack
-- | 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://aws.amazon.com/documentation/.
--
-- See: AWS API Reference
module Network.AWS.CloudFormation
-- | API version '2010-05-15' of the Amazon CloudFormation SDK
-- configuration.
cloudFormation :: Service
-- | 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 OnFailure
Delete :: OnFailure
DoNothing :: OnFailure
Rollback :: OnFailure
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 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 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)
-- | 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 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)
-- | The name associated with the stack.
sStackName :: Lens' Stack Text
-- | 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 is used by CreateStack in the Tags
-- parameter. It allows you to specify a key/value pair that can be used
-- to store information related to cost allocation for 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)