libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

Description

Creates an application version.

Synopsis

Creating a Request

data CreateApplicationVersion Source #

See: newCreateApplicationVersion smart constructor.

Constructors

CreateApplicationVersion' 

Fields

Instances

Instances details
Eq CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

Read CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

Show CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

Generic CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

Associated Types

type Rep CreateApplicationVersion :: Type -> Type #

NFData CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

Hashable CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

ToJSON CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

AWSRequest CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

ToHeaders CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

ToPath CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

ToQuery CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

type Rep CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

type Rep CreateApplicationVersion = D1 ('MetaData "CreateApplicationVersion" "Amazonka.ServerlessApplicationRepository.CreateApplicationVersion" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "CreateApplicationVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourceCodeUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "templateBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "templateUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "sourceCodeArchiveUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "semanticVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateApplicationVersion Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

newCreateApplicationVersion Source #

Create a value of CreateApplicationVersion 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:sourceCodeUrl:CreateApplicationVersion', createApplicationVersion_sourceCodeUrl - A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

$sel:templateBody:CreateApplicationVersion', createApplicationVersion_templateBody - The raw packaged AWS SAM template of your application.

$sel:templateUrl:CreateApplicationVersion', createApplicationVersion_templateUrl - A link to the packaged AWS SAM template of your application.

$sel:sourceCodeArchiveUrl:CreateApplicationVersion', createApplicationVersion_sourceCodeArchiveUrl - A link to the S3 object that contains the ZIP archive of the source code for this version of your application.

Maximum size 50 MB

$sel:applicationId:CreateApplicationVersion', createApplicationVersion_applicationId - The Amazon Resource Name (ARN) of the application.

$sel:semanticVersion:CreateApplicationVersion', createApplicationVersion_semanticVersion - The semantic version of the new version.

Request Lenses

createApplicationVersion_sourceCodeUrl :: Lens' CreateApplicationVersion (Maybe Text) Source #

A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

createApplicationVersion_templateBody :: Lens' CreateApplicationVersion (Maybe Text) Source #

The raw packaged AWS SAM template of your application.

createApplicationVersion_templateUrl :: Lens' CreateApplicationVersion (Maybe Text) Source #

A link to the packaged AWS SAM template of your application.

createApplicationVersion_sourceCodeArchiveUrl :: Lens' CreateApplicationVersion (Maybe Text) Source #

A link to the S3 object that contains the ZIP archive of the source code for this version of your application.

Maximum size 50 MB

createApplicationVersion_applicationId :: Lens' CreateApplicationVersion Text Source #

The Amazon Resource Name (ARN) of the application.

Destructuring the Response

data CreateApplicationVersionResponse Source #

See: newCreateApplicationVersionResponse smart constructor.

Constructors

CreateApplicationVersionResponse' 

Fields

Instances

Instances details
Eq CreateApplicationVersionResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

Read CreateApplicationVersionResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

Show CreateApplicationVersionResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

Generic CreateApplicationVersionResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

Associated Types

type Rep CreateApplicationVersionResponse :: Type -> Type #

NFData CreateApplicationVersionResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

type Rep CreateApplicationVersionResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateApplicationVersion

type Rep CreateApplicationVersionResponse = D1 ('MetaData "CreateApplicationVersionResponse" "Amazonka.ServerlessApplicationRepository.CreateApplicationVersion" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "CreateApplicationVersionResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourcesSupported") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "requiredCapabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Capability])) :*: (S1 ('MetaSel ('Just "parameterDefinitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ParameterDefinition])) :*: S1 ('MetaSel ('Just "semanticVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "sourceCodeUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "templateUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sourceCodeArchiveUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newCreateApplicationVersionResponse Source #

Create a value of CreateApplicationVersionResponse 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:creationTime:CreateApplicationVersionResponse', createApplicationVersionResponse_creationTime - The date and time this resource was created.

$sel:resourcesSupported:CreateApplicationVersionResponse', createApplicationVersionResponse_resourcesSupported - Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.

$sel:requiredCapabilities:CreateApplicationVersionResponse', createApplicationVersionResponse_requiredCapabilities - 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:parameterDefinitions:CreateApplicationVersionResponse', createApplicationVersionResponse_parameterDefinitions - An array of parameter types supported by the application.

$sel:semanticVersion:CreateApplicationVersion', createApplicationVersionResponse_semanticVersion - The semantic version of the application:

https://semver.org/

$sel:sourceCodeUrl:CreateApplicationVersion', createApplicationVersionResponse_sourceCodeUrl - A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

$sel:applicationId:CreateApplicationVersion', createApplicationVersionResponse_applicationId - The application Amazon Resource Name (ARN).

$sel:templateUrl:CreateApplicationVersion', createApplicationVersionResponse_templateUrl - A link to the packaged AWS SAM template of your application.

$sel:sourceCodeArchiveUrl:CreateApplicationVersion', createApplicationVersionResponse_sourceCodeArchiveUrl - A link to the S3 object that contains the ZIP archive of the source code for this version of your application.

Maximum size 50 MB

$sel:httpStatus:CreateApplicationVersionResponse', createApplicationVersionResponse_httpStatus - The response's http status code.

Response Lenses

createApplicationVersionResponse_resourcesSupported :: Lens' CreateApplicationVersionResponse (Maybe Bool) Source #

Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.

createApplicationVersionResponse_requiredCapabilities :: Lens' CreateApplicationVersionResponse (Maybe [Capability]) 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.

createApplicationVersionResponse_sourceCodeUrl :: Lens' CreateApplicationVersionResponse (Maybe Text) Source #

A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

createApplicationVersionResponse_templateUrl :: Lens' CreateApplicationVersionResponse (Maybe Text) Source #

A link to the packaged AWS SAM template of your application.

createApplicationVersionResponse_sourceCodeArchiveUrl :: Lens' CreateApplicationVersionResponse (Maybe Text) Source #

A link to the S3 object that contains the ZIP archive of the source code for this version of your application.

Maximum size 50 MB