amazonka-serverlessrepo-2.0: Amazon ServerlessApplicationRepository SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Description

Creates an AWS CloudFormation change set for the given application.

Synopsis

Creating a Request

data CreateCloudFormationChangeSet Source #

See: newCreateCloudFormationChangeSet smart constructor.

Constructors

CreateCloudFormationChangeSet' 

Fields

Instances

Instances details
ToJSON CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

ToHeaders CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

ToPath CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

ToQuery CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

AWSRequest CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Generic CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Associated Types

type Rep CreateCloudFormationChangeSet :: Type -> Type #

Read CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Show CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

NFData CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Eq CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Hashable CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

type AWSResponse CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

type Rep CreateCloudFormationChangeSet Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

type Rep CreateCloudFormationChangeSet = D1 ('MetaData "CreateCloudFormationChangeSet" "Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet" "amazonka-serverlessrepo-2.0-DJX7EnU3zce9dFmCiMzat7" 'False) (C1 ('MetaCons "CreateCloudFormationChangeSet'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "changeSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notificationArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "parameterOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ParameterValue]))))) :*: ((S1 ('MetaSel ('Just "resourceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "rollbackConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RollbackConfiguration)) :*: S1 ('MetaSel ('Just "semanticVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newCreateCloudFormationChangeSet Source #

Create a value of CreateCloudFormationChangeSet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:capabilities:CreateCloudFormationChangeSet', createCloudFormationChangeSet_capabilities - A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.

The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.

The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS:TopicPolicy.

Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.

If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.

$sel:changeSetName:CreateCloudFormationChangeSet', createCloudFormationChangeSet_changeSetName - This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

$sel:clientToken:CreateCloudFormationChangeSet', createCloudFormationChangeSet_clientToken - This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

CreateCloudFormationChangeSet, createCloudFormationChangeSet_description - This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

$sel:notificationArns:CreateCloudFormationChangeSet', createCloudFormationChangeSet_notificationArns - This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

$sel:parameterOverrides:CreateCloudFormationChangeSet', createCloudFormationChangeSet_parameterOverrides - A list of parameter values for the parameters of the application.

$sel:resourceTypes:CreateCloudFormationChangeSet', createCloudFormationChangeSet_resourceTypes - This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

$sel:rollbackConfiguration:CreateCloudFormationChangeSet', createCloudFormationChangeSet_rollbackConfiguration - This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

CreateCloudFormationChangeSet, createCloudFormationChangeSet_semanticVersion - The semantic version of the application:

https://semver.org/

$sel:tags:CreateCloudFormationChangeSet', createCloudFormationChangeSet_tags - This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

$sel:templateId:CreateCloudFormationChangeSet', createCloudFormationChangeSet_templateId - The UUID returned by CreateCloudFormationTemplate.

Pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

CreateCloudFormationChangeSet, createCloudFormationChangeSet_applicationId - The Amazon Resource Name (ARN) of the application.

$sel:stackName:CreateCloudFormationChangeSet', createCloudFormationChangeSet_stackName - This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

Request Lenses

createCloudFormationChangeSet_capabilities :: Lens' CreateCloudFormationChangeSet (Maybe [Text]) Source #

A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.

The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.

The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS:TopicPolicy.

Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.

If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.

createCloudFormationChangeSet_changeSetName :: Lens' CreateCloudFormationChangeSet (Maybe Text) Source #

This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

createCloudFormationChangeSet_clientToken :: Lens' CreateCloudFormationChangeSet (Maybe Text) Source #

This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

createCloudFormationChangeSet_description :: Lens' CreateCloudFormationChangeSet (Maybe Text) Source #

This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

createCloudFormationChangeSet_notificationArns :: Lens' CreateCloudFormationChangeSet (Maybe [Text]) Source #

This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

createCloudFormationChangeSet_parameterOverrides :: Lens' CreateCloudFormationChangeSet (Maybe [ParameterValue]) Source #

A list of parameter values for the parameters of the application.

createCloudFormationChangeSet_resourceTypes :: Lens' CreateCloudFormationChangeSet (Maybe [Text]) Source #

This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

createCloudFormationChangeSet_rollbackConfiguration :: Lens' CreateCloudFormationChangeSet (Maybe RollbackConfiguration) Source #

This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

createCloudFormationChangeSet_tags :: Lens' CreateCloudFormationChangeSet (Maybe [Tag]) Source #

This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

createCloudFormationChangeSet_templateId :: Lens' CreateCloudFormationChangeSet (Maybe Text) Source #

The UUID returned by CreateCloudFormationTemplate.

Pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

createCloudFormationChangeSet_stackName :: Lens' CreateCloudFormationChangeSet Text Source #

This property corresponds to the parameter of the same name for the /AWS CloudFormation CreateChangeSet/ API.

Destructuring the Response

data CreateCloudFormationChangeSetResponse Source #

Constructors

CreateCloudFormationChangeSetResponse' 

Fields

Instances

Instances details
Generic CreateCloudFormationChangeSetResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Read CreateCloudFormationChangeSetResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Show CreateCloudFormationChangeSetResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

NFData CreateCloudFormationChangeSetResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

Eq CreateCloudFormationChangeSetResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

type Rep CreateCloudFormationChangeSetResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet

type Rep CreateCloudFormationChangeSetResponse = D1 ('MetaData "CreateCloudFormationChangeSetResponse" "Amazonka.ServerlessApplicationRepository.CreateCloudFormationChangeSet" "amazonka-serverlessrepo-2.0-DJX7EnU3zce9dFmCiMzat7" 'False) (C1 ('MetaCons "CreateCloudFormationChangeSetResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "changeSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "semanticVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateCloudFormationChangeSetResponse Source #

Create a value of CreateCloudFormationChangeSetResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateCloudFormationChangeSet, createCloudFormationChangeSetResponse_applicationId - The application Amazon Resource Name (ARN).

$sel:changeSetId:CreateCloudFormationChangeSetResponse', createCloudFormationChangeSetResponse_changeSetId - The Amazon Resource Name (ARN) of the change set.

Length constraints: Minimum length of 1.

Pattern: ARN:[-a-zA-Z0-9:/]*

CreateCloudFormationChangeSet, createCloudFormationChangeSetResponse_semanticVersion - The semantic version of the application:

https://semver.org/

$sel:stackId:CreateCloudFormationChangeSetResponse', createCloudFormationChangeSetResponse_stackId - The unique ID of the stack.

$sel:httpStatus:CreateCloudFormationChangeSetResponse', createCloudFormationChangeSetResponse_httpStatus - The response's http status code.

Response Lenses

createCloudFormationChangeSetResponse_changeSetId :: Lens' CreateCloudFormationChangeSetResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the change set.

Length constraints: Minimum length of 1.

Pattern: ARN:[-a-zA-Z0-9:/]*