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

Description

Gets the specified AWS CloudFormation template.

Synopsis

Creating a Request

data GetCloudFormationTemplate Source #

See: newGetCloudFormationTemplate smart constructor.

Constructors

GetCloudFormationTemplate' 

Fields

  • applicationId :: Text

    The Amazon Resource Name (ARN) of the application.

  • templateId :: Text

    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}

Instances

Instances details
Eq GetCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

Read GetCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

Show GetCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

Generic GetCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

Associated Types

type Rep GetCloudFormationTemplate :: Type -> Type #

NFData GetCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

Hashable GetCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

AWSRequest GetCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

ToHeaders GetCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

ToPath GetCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

ToQuery GetCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

type Rep GetCloudFormationTemplate Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

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

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

newGetCloudFormationTemplate Source #

Create a value of GetCloudFormationTemplate 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:applicationId:GetCloudFormationTemplate', getCloudFormationTemplate_applicationId - The Amazon Resource Name (ARN) of the application.

$sel:templateId:GetCloudFormationTemplate', getCloudFormationTemplate_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}

Request Lenses

getCloudFormationTemplate_applicationId :: Lens' GetCloudFormationTemplate Text Source #

The Amazon Resource Name (ARN) of the application.

getCloudFormationTemplate_templateId :: Lens' GetCloudFormationTemplate 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}

Destructuring the Response

data GetCloudFormationTemplateResponse Source #

See: newGetCloudFormationTemplateResponse smart constructor.

Constructors

GetCloudFormationTemplateResponse' 

Fields

Instances

Instances details
Eq GetCloudFormationTemplateResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

Read GetCloudFormationTemplateResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

Show GetCloudFormationTemplateResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

Generic GetCloudFormationTemplateResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

Associated Types

type Rep GetCloudFormationTemplateResponse :: Type -> Type #

NFData GetCloudFormationTemplateResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

type Rep GetCloudFormationTemplateResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate

type Rep GetCloudFormationTemplateResponse = D1 ('MetaData "GetCloudFormationTemplateResponse" "Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "GetCloudFormationTemplateResponse'" '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)))))

newGetCloudFormationTemplateResponse Source #

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

$sel:status:GetCloudFormationTemplateResponse', getCloudFormationTemplateResponse_status - Status of the template creation workflow.

Possible values: PREPARING | ACTIVE | EXPIRED

$sel:templateId:GetCloudFormationTemplate', getCloudFormationTemplateResponse_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:GetCloudFormationTemplateResponse', getCloudFormationTemplateResponse_semanticVersion - The semantic version of the application:

https://semver.org/

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

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

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

$sel:httpStatus:GetCloudFormationTemplateResponse', getCloudFormationTemplateResponse_httpStatus - The response's http status code.

Response Lenses

getCloudFormationTemplateResponse_status :: Lens' GetCloudFormationTemplateResponse (Maybe Status) Source #

Status of the template creation workflow.

Possible values: PREPARING | ACTIVE | EXPIRED

getCloudFormationTemplateResponse_templateId :: Lens' GetCloudFormationTemplateResponse (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}

getCloudFormationTemplateResponse_templateUrl :: Lens' GetCloudFormationTemplateResponse (Maybe Text) Source #

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

getCloudFormationTemplateResponse_expirationTime :: Lens' GetCloudFormationTemplateResponse (Maybe Text) Source #

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