| 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.CreateCloudFormationTemplate
Description
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_applicationId :: Lens' CreateCloudFormationTemplateResponse (Maybe Text)
- createCloudFormationTemplateResponse_creationTime :: Lens' CreateCloudFormationTemplateResponse (Maybe Text)
- createCloudFormationTemplateResponse_expirationTime :: Lens' CreateCloudFormationTemplateResponse (Maybe Text)
- createCloudFormationTemplateResponse_semanticVersion :: Lens' CreateCloudFormationTemplateResponse (Maybe Text)
- createCloudFormationTemplateResponse_status :: Lens' CreateCloudFormationTemplateResponse (Maybe Status)
- createCloudFormationTemplateResponse_templateId :: Lens' CreateCloudFormationTemplateResponse (Maybe Text)
- createCloudFormationTemplateResponse_templateUrl :: Lens' CreateCloudFormationTemplateResponse (Maybe Text)
- createCloudFormationTemplateResponse_httpStatus :: Lens' CreateCloudFormationTemplateResponse Int
Creating a Request
data CreateCloudFormationTemplate Source #
See: newCreateCloudFormationTemplate smart constructor.
Constructors
| CreateCloudFormationTemplate' | |
Fields
| |
Instances
newCreateCloudFormationTemplate Source #
Arguments
| :: Text | |
| -> CreateCloudFormationTemplate |
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:
CreateCloudFormationTemplate, createCloudFormationTemplate_semanticVersion - The semantic version of the application:
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.
Constructors
| CreateCloudFormationTemplateResponse' | |
Fields
| |
Instances
newCreateCloudFormationTemplateResponse Source #
Arguments
| :: Int | |
| -> CreateCloudFormationTemplateResponse |
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:
CreateCloudFormationTemplate, createCloudFormationTemplateResponse_applicationId - The application Amazon Resource Name (ARN).
CreateCloudFormationTemplateResponse, createCloudFormationTemplateResponse_creationTime - The date and time this resource was created.
$sel:expirationTime:CreateCloudFormationTemplateResponse', createCloudFormationTemplateResponse_expirationTime - The date and time this template expires. Templates expire 1 hour after
creation.
CreateCloudFormationTemplate, createCloudFormationTemplateResponse_semanticVersion - The semantic version of the application:
$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}
CreateCloudFormationTemplateResponse, createCloudFormationTemplateResponse_templateUrl - A link to the template that can be used to deploy the application using
AWS CloudFormation.
$sel:httpStatus:CreateCloudFormationTemplateResponse', createCloudFormationTemplateResponse_httpStatus - The response's http status code.
Response Lenses
createCloudFormationTemplateResponse_applicationId :: Lens' CreateCloudFormationTemplateResponse (Maybe Text) Source #
The application Amazon Resource Name (ARN).
createCloudFormationTemplateResponse_creationTime :: Lens' CreateCloudFormationTemplateResponse (Maybe Text) Source #
The date and time this resource was created.
createCloudFormationTemplateResponse_expirationTime :: Lens' CreateCloudFormationTemplateResponse (Maybe Text) Source #
The date and time this template expires. Templates expire 1 hour after creation.
createCloudFormationTemplateResponse_semanticVersion :: Lens' CreateCloudFormationTemplateResponse (Maybe Text) Source #
The semantic version of the application:
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_httpStatus :: Lens' CreateCloudFormationTemplateResponse Int Source #
The response's http status code.