| 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.Proton.GetEnvironmentTemplate
Description
Get detailed data for an environment template.
Synopsis
- data GetEnvironmentTemplate = GetEnvironmentTemplate' {}
- newGetEnvironmentTemplate :: Text -> GetEnvironmentTemplate
- getEnvironmentTemplate_name :: Lens' GetEnvironmentTemplate Text
- data GetEnvironmentTemplateResponse = GetEnvironmentTemplateResponse' {}
- newGetEnvironmentTemplateResponse :: Int -> EnvironmentTemplate -> GetEnvironmentTemplateResponse
- getEnvironmentTemplateResponse_httpStatus :: Lens' GetEnvironmentTemplateResponse Int
- getEnvironmentTemplateResponse_environmentTemplate :: Lens' GetEnvironmentTemplateResponse EnvironmentTemplate
Creating a Request
data GetEnvironmentTemplate Source #
See: newGetEnvironmentTemplate smart constructor.
Constructors
| GetEnvironmentTemplate' | |
Instances
newGetEnvironmentTemplate Source #
Arguments
| :: Text | |
| -> GetEnvironmentTemplate |
Create a value of GetEnvironmentTemplate 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:
GetEnvironmentTemplate, getEnvironmentTemplate_name - The name of the environment template that you want to get the detailed
data for.
Request Lenses
getEnvironmentTemplate_name :: Lens' GetEnvironmentTemplate Text Source #
The name of the environment template that you want to get the detailed data for.
Destructuring the Response
data GetEnvironmentTemplateResponse Source #
See: newGetEnvironmentTemplateResponse smart constructor.
Constructors
| GetEnvironmentTemplateResponse' | |
Fields
| |
Instances
newGetEnvironmentTemplateResponse Source #
Arguments
| :: Int | |
| -> EnvironmentTemplate | |
| -> GetEnvironmentTemplateResponse |
Create a value of GetEnvironmentTemplateResponse 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:httpStatus:GetEnvironmentTemplateResponse', getEnvironmentTemplateResponse_httpStatus - The response's http status code.
$sel:environmentTemplate:GetEnvironmentTemplateResponse', getEnvironmentTemplateResponse_environmentTemplate - The detailed data of the requested environment template.
Response Lenses
getEnvironmentTemplateResponse_httpStatus :: Lens' GetEnvironmentTemplateResponse Int Source #
The response's http status code.
getEnvironmentTemplateResponse_environmentTemplate :: Lens' GetEnvironmentTemplateResponse EnvironmentTemplate Source #
The detailed data of the requested environment template.