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 |
Generates an 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:
GenerateTemplate
, generateTemplate_appId
- The ID of the application associated with the CloudFormation template.
$sel:templateFormat:GenerateTemplate'
, generateTemplate_templateFormat
- The format for generating the CloudFormation template.
Request Lenses
generateTemplate_appId :: Lens' GenerateTemplate (Maybe Text) Source #
The ID of the application associated with the CloudFormation template.
generateTemplate_templateFormat :: Lens' GenerateTemplate (Maybe OutputFormat) Source #
The format for generating the 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:
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.