| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ServerlessApplicationRepository.GetCloudFormationTemplate
Description
Gets the specified AWS CloudFormation template.
Synopsis
- data GetCloudFormationTemplate = GetCloudFormationTemplate' {
- applicationId :: Text
- templateId :: Text
- newGetCloudFormationTemplate :: Text -> Text -> GetCloudFormationTemplate
- getCloudFormationTemplate_applicationId :: Lens' GetCloudFormationTemplate Text
- getCloudFormationTemplate_templateId :: Lens' GetCloudFormationTemplate Text
- data GetCloudFormationTemplateResponse = GetCloudFormationTemplateResponse' {}
- newGetCloudFormationTemplateResponse :: Int -> GetCloudFormationTemplateResponse
- getCloudFormationTemplateResponse_applicationId :: Lens' GetCloudFormationTemplateResponse (Maybe Text)
- getCloudFormationTemplateResponse_creationTime :: Lens' GetCloudFormationTemplateResponse (Maybe Text)
- getCloudFormationTemplateResponse_expirationTime :: Lens' GetCloudFormationTemplateResponse (Maybe Text)
- getCloudFormationTemplateResponse_semanticVersion :: Lens' GetCloudFormationTemplateResponse (Maybe Text)
- getCloudFormationTemplateResponse_status :: Lens' GetCloudFormationTemplateResponse (Maybe Status)
- getCloudFormationTemplateResponse_templateId :: Lens' GetCloudFormationTemplateResponse (Maybe Text)
- getCloudFormationTemplateResponse_templateUrl :: Lens' GetCloudFormationTemplateResponse (Maybe Text)
- getCloudFormationTemplateResponse_httpStatus :: Lens' GetCloudFormationTemplateResponse Int
Creating a Request
data GetCloudFormationTemplate Source #
See: newGetCloudFormationTemplate smart constructor.
Constructors
| GetCloudFormationTemplate' | |
Fields
| |
Instances
newGetCloudFormationTemplate Source #
Arguments
| :: Text | |
| -> Text | |
| -> GetCloudFormationTemplate |
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:
GetCloudFormationTemplate, getCloudFormationTemplate_applicationId - The Amazon Resource Name (ARN) of the application.
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
newGetCloudFormationTemplateResponse Source #
Arguments
| :: Int | |
| -> GetCloudFormationTemplateResponse |
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:
GetCloudFormationTemplate, getCloudFormationTemplateResponse_applicationId - The application Amazon Resource Name (ARN).
GetCloudFormationTemplateResponse, getCloudFormationTemplateResponse_creationTime - The date and time this resource was created.
$sel:expirationTime:GetCloudFormationTemplateResponse', getCloudFormationTemplateResponse_expirationTime - The date and time this template expires. Templates expire 1 hour after
creation.
GetCloudFormationTemplateResponse, getCloudFormationTemplateResponse_semanticVersion - The semantic version of the application:
$sel:status:GetCloudFormationTemplateResponse', getCloudFormationTemplateResponse_status - Status of the template creation workflow.
Possible values: PREPARING | ACTIVE | EXPIRED
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}
GetCloudFormationTemplateResponse, getCloudFormationTemplateResponse_templateUrl - A link to the template that can be used to deploy the application using
AWS CloudFormation.
$sel:httpStatus:GetCloudFormationTemplateResponse', getCloudFormationTemplateResponse_httpStatus - The response's http status code.
Response Lenses
getCloudFormationTemplateResponse_applicationId :: Lens' GetCloudFormationTemplateResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
getCloudFormationTemplateResponse_creationTime :: Lens' GetCloudFormationTemplateResponse (Maybe Text) Source #
The date and time this resource was created.
getCloudFormationTemplateResponse_expirationTime :: Lens' GetCloudFormationTemplateResponse (Maybe Text) Source #
The date and time this template expires. Templates expire 1 hour after creation.
getCloudFormationTemplateResponse_semanticVersion :: Lens' GetCloudFormationTemplateResponse (Maybe Text) Source #
The semantic version of the application:
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_httpStatus :: Lens' GetCloudFormationTemplateResponse Int Source #
The response's http status code.