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 |
Creates an AWS CloudFormation template.
Synopsis
- data CreateCloudFormationTemplate = CreateCloudFormationTemplate' {}
- newCreateCloudFormationTemplate :: Text -> CreateCloudFormationTemplate
- createCloudFormationTemplate_semanticVersion :: Lens' CreateCloudFormationTemplate (Maybe Text)
- createCloudFormationTemplate_applicationId :: Lens' CreateCloudFormationTemplate Text
- data CreateCloudFormationTemplateResponse = CreateCloudFormationTemplateResponse' {}
- newCreateCloudFormationTemplateResponse :: Int -> CreateCloudFormationTemplateResponse
- createCloudFormationTemplateResponse_creationTime :: Lens' CreateCloudFormationTemplateResponse (Maybe Text)
- createCloudFormationTemplateResponse_status :: Lens' CreateCloudFormationTemplateResponse (Maybe Status)
- createCloudFormationTemplateResponse_templateId :: Lens' CreateCloudFormationTemplateResponse (Maybe Text)
- createCloudFormationTemplateResponse_semanticVersion :: Lens' CreateCloudFormationTemplateResponse (Maybe Text)
- createCloudFormationTemplateResponse_applicationId :: Lens' CreateCloudFormationTemplateResponse (Maybe Text)
- createCloudFormationTemplateResponse_templateUrl :: Lens' CreateCloudFormationTemplateResponse (Maybe Text)
- createCloudFormationTemplateResponse_expirationTime :: Lens' CreateCloudFormationTemplateResponse (Maybe Text)
- createCloudFormationTemplateResponse_httpStatus :: Lens' CreateCloudFormationTemplateResponse Int
Creating a Request
data CreateCloudFormationTemplate Source #
See: newCreateCloudFormationTemplate
smart constructor.
CreateCloudFormationTemplate' | |
|
Instances
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:
$sel:applicationId:CreateCloudFormationTemplate'
, createCloudFormationTemplate_applicationId
- The Amazon Resource Name (ARN) of the application.
Request Lenses
createCloudFormationTemplate_semanticVersion :: Lens' CreateCloudFormationTemplate (Maybe Text) Source #
The semantic version of the application:
createCloudFormationTemplate_applicationId :: Lens' CreateCloudFormationTemplate Text Source #
The Amazon Resource Name (ARN) of the application.
Destructuring the Response
data CreateCloudFormationTemplateResponse Source #
See: newCreateCloudFormationTemplateResponse
smart constructor.
CreateCloudFormationTemplateResponse' | |
|
Instances
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:
$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_creationTime :: Lens' CreateCloudFormationTemplateResponse (Maybe Text) Source #
The date and time this resource was created.
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_semanticVersion :: Lens' CreateCloudFormationTemplateResponse (Maybe Text) Source #
The semantic version of the application:
createCloudFormationTemplateResponse_applicationId :: Lens' CreateCloudFormationTemplateResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
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.
createCloudFormationTemplateResponse_httpStatus :: Lens' CreateCloudFormationTemplateResponse Int Source #
The response's http status code.