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.CreateCloudFormationTemplate

Description

Creates an AWS CloudFormation template.

Synopsis

Creating a Request

data CreateCloudFormationTemplate Source #

See: newCreateCloudFormationTemplate smart constructor.

Constructors

CreateCloudFormationTemplate' 

Fields

Instances

Instances details
Eq CreateCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

Read CreateCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

Show CreateCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

Generic CreateCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

Associated Types

type Rep CreateCloudFormationTemplate :: Type -> Type #

NFData CreateCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

Hashable CreateCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

ToJSON CreateCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

AWSRequest CreateCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

ToHeaders CreateCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

ToPath CreateCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

ToQuery CreateCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

type Rep CreateCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

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

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

newCreateCloudFormationTemplate Source #

Create a value of CreateCloudFormationTemplate 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:semanticVersion:CreateCloudFormationTemplate', createCloudFormationTemplate_semanticVersion - The semantic version of the application:

https://semver.org/

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

Request Lenses

createCloudFormationTemplate_applicationId :: Lens' CreateCloudFormationTemplate Text Source #

The Amazon Resource Name (ARN) of the application.

Destructuring the Response

data CreateCloudFormationTemplateResponse Source #

Constructors

CreateCloudFormationTemplateResponse' 

Fields

Instances

Instances details
Eq CreateCloudFormationTemplateResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

Read CreateCloudFormationTemplateResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

Show CreateCloudFormationTemplateResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

Generic CreateCloudFormationTemplateResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

NFData CreateCloudFormationTemplateResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

type Rep CreateCloudFormationTemplateResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate

type Rep CreateCloudFormationTemplateResponse = D1 ('MetaData "CreateCloudFormationTemplateResponse" "Amazonka.ServerlessApplicationRepository.CreateCloudFormationTemplate" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "CreateCloudFormationTemplateResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status))) :*: (S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "semanticVersion") '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 "expirationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateCloudFormationTemplateResponse Source #

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

$sel:status:CreateCloudFormationTemplateResponse', createCloudFormationTemplateResponse_status - Status of the template creation workflow.

Possible values: PREPARING | ACTIVE | EXPIRED

$sel:templateId:CreateCloudFormationTemplateResponse', createCloudFormationTemplateResponse_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}

$sel:semanticVersion:CreateCloudFormationTemplate', createCloudFormationTemplateResponse_semanticVersion - The semantic version of the application:

https://semver.org/

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

$sel:templateUrl:CreateCloudFormationTemplateResponse', createCloudFormationTemplateResponse_templateUrl - A link to the template that can be used to deploy the application using AWS CloudFormation.

$sel:expirationTime:CreateCloudFormationTemplateResponse', createCloudFormationTemplateResponse_expirationTime - The date and time this template expires. Templates expire 1 hour after creation.

$sel:httpStatus:CreateCloudFormationTemplateResponse', createCloudFormationTemplateResponse_httpStatus - The response's http status code.

Response Lenses

createCloudFormationTemplateResponse_status :: Lens' CreateCloudFormationTemplateResponse (Maybe Status) Source #

Status of the template creation workflow.

Possible values: PREPARING | ACTIVE | EXPIRED

createCloudFormationTemplateResponse_templateId :: Lens' CreateCloudFormationTemplateResponse (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}

createCloudFormationTemplateResponse_templateUrl :: Lens' CreateCloudFormationTemplateResponse (Maybe Text) Source #

A link to the template that can be used to deploy the application using AWS CloudFormation.

createCloudFormationTemplateResponse_expirationTime :: Lens' CreateCloudFormationTemplateResponse (Maybe Text) Source #

The date and time this template expires. Templates expire 1 hour after creation.