Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_creationTime :: Lens' GetCloudFormationTemplateResponse (Maybe Text)
- getCloudFormationTemplateResponse_status :: Lens' GetCloudFormationTemplateResponse (Maybe Status)
- getCloudFormationTemplateResponse_templateId :: Lens' GetCloudFormationTemplateResponse (Maybe Text)
- getCloudFormationTemplateResponse_semanticVersion :: Lens' GetCloudFormationTemplateResponse (Maybe Text)
- getCloudFormationTemplateResponse_applicationId :: Lens' GetCloudFormationTemplateResponse (Maybe Text)
- getCloudFormationTemplateResponse_templateUrl :: Lens' GetCloudFormationTemplateResponse (Maybe Text)
- getCloudFormationTemplateResponse_expirationTime :: Lens' GetCloudFormationTemplateResponse (Maybe Text)
- getCloudFormationTemplateResponse_httpStatus :: Lens' GetCloudFormationTemplateResponse Int
Creating a Request
data GetCloudFormationTemplate Source #
See: newGetCloudFormationTemplate
smart constructor.
GetCloudFormationTemplate' | |
|
Instances
newGetCloudFormationTemplate Source #
:: 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:
$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.
GetCloudFormationTemplateResponse' | |
|
Instances
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:
$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_creationTime :: Lens' GetCloudFormationTemplateResponse (Maybe Text) Source #
The date and time this resource was created.
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_semanticVersion :: Lens' GetCloudFormationTemplateResponse (Maybe Text) Source #
The semantic version of the application:
getCloudFormationTemplateResponse_applicationId :: Lens' GetCloudFormationTemplateResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
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.
getCloudFormationTemplateResponse_httpStatus :: Lens' GetCloudFormationTemplateResponse Int Source #
The response's http status code.