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 |
Generates an AWS CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
Synopsis
- data GenerateTemplate = GenerateTemplate' {}
- newGenerateTemplate :: GenerateTemplate
- generateTemplate_appId :: Lens' GenerateTemplate (Maybe Text)
- generateTemplate_templateFormat :: Lens' GenerateTemplate (Maybe OutputFormat)
- data GenerateTemplateResponse = GenerateTemplateResponse' {}
- newGenerateTemplateResponse :: Int -> GenerateTemplateResponse
- generateTemplateResponse_s3Location :: Lens' GenerateTemplateResponse (Maybe S3Location)
- generateTemplateResponse_httpStatus :: Lens' GenerateTemplateResponse Int
Creating a Request
data GenerateTemplate Source #
See: newGenerateTemplate
smart constructor.
GenerateTemplate' | |
|
Instances
newGenerateTemplate :: GenerateTemplate Source #
Create a value of GenerateTemplate
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:appId:GenerateTemplate'
, generateTemplate_appId
- The ID of the application associated with the AWS CloudFormation
template.
$sel:templateFormat:GenerateTemplate'
, generateTemplate_templateFormat
- The format for generating the AWS CloudFormation template.
Request Lenses
generateTemplate_appId :: Lens' GenerateTemplate (Maybe Text) Source #
The ID of the application associated with the AWS CloudFormation template.
generateTemplate_templateFormat :: Lens' GenerateTemplate (Maybe OutputFormat) Source #
The format for generating the AWS CloudFormation template.
Destructuring the Response
data GenerateTemplateResponse Source #
See: newGenerateTemplateResponse
smart constructor.
GenerateTemplateResponse' | |
|
Instances
newGenerateTemplateResponse Source #
Create a value of GenerateTemplateResponse
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:s3Location:GenerateTemplateResponse'
, generateTemplateResponse_s3Location
- The location of the Amazon S3 object.
$sel:httpStatus:GenerateTemplateResponse'
, generateTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
generateTemplateResponse_s3Location :: Lens' GenerateTemplateResponse (Maybe S3Location) Source #
The location of the Amazon S3 object.
generateTemplateResponse_httpStatus :: Lens' GenerateTemplateResponse Int Source #
The response's http status code.