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 |
View detail data for a major or minor version of an environment template.
Synopsis
- data GetEnvironmentTemplateVersion = GetEnvironmentTemplateVersion' {
- majorVersion :: Text
- minorVersion :: Text
- templateName :: Text
- newGetEnvironmentTemplateVersion :: Text -> Text -> Text -> GetEnvironmentTemplateVersion
- getEnvironmentTemplateVersion_majorVersion :: Lens' GetEnvironmentTemplateVersion Text
- getEnvironmentTemplateVersion_minorVersion :: Lens' GetEnvironmentTemplateVersion Text
- getEnvironmentTemplateVersion_templateName :: Lens' GetEnvironmentTemplateVersion Text
- data GetEnvironmentTemplateVersionResponse = GetEnvironmentTemplateVersionResponse' {}
- newGetEnvironmentTemplateVersionResponse :: Int -> EnvironmentTemplateVersion -> GetEnvironmentTemplateVersionResponse
- getEnvironmentTemplateVersionResponse_httpStatus :: Lens' GetEnvironmentTemplateVersionResponse Int
- getEnvironmentTemplateVersionResponse_environmentTemplateVersion :: Lens' GetEnvironmentTemplateVersionResponse EnvironmentTemplateVersion
Creating a Request
data GetEnvironmentTemplateVersion Source #
See: newGetEnvironmentTemplateVersion
smart constructor.
GetEnvironmentTemplateVersion' | |
|
Instances
newGetEnvironmentTemplateVersion Source #
:: Text | |
-> Text | |
-> Text | |
-> GetEnvironmentTemplateVersion |
Create a value of GetEnvironmentTemplateVersion
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:majorVersion:GetEnvironmentTemplateVersion'
, getEnvironmentTemplateVersion_majorVersion
- To view environment template major version detail data, include
majorVersion
.
$sel:minorVersion:GetEnvironmentTemplateVersion'
, getEnvironmentTemplateVersion_minorVersion
- To view environment template minor version detail data, include
minorVersion
.
$sel:templateName:GetEnvironmentTemplateVersion'
, getEnvironmentTemplateVersion_templateName
- The name of the environment template.
Request Lenses
getEnvironmentTemplateVersion_majorVersion :: Lens' GetEnvironmentTemplateVersion Text Source #
To view environment template major version detail data, include
majorVersion
.
getEnvironmentTemplateVersion_minorVersion :: Lens' GetEnvironmentTemplateVersion Text Source #
To view environment template minor version detail data, include
minorVersion
.
getEnvironmentTemplateVersion_templateName :: Lens' GetEnvironmentTemplateVersion Text Source #
The name of the environment template.
Destructuring the Response
data GetEnvironmentTemplateVersionResponse Source #
See: newGetEnvironmentTemplateVersionResponse
smart constructor.
GetEnvironmentTemplateVersionResponse' | |
|
Instances
newGetEnvironmentTemplateVersionResponse Source #
:: Int | |
-> EnvironmentTemplateVersion |
|
-> GetEnvironmentTemplateVersionResponse |
Create a value of GetEnvironmentTemplateVersionResponse
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:GetEnvironmentTemplateVersionResponse'
, getEnvironmentTemplateVersionResponse_httpStatus
- The response's http status code.
$sel:environmentTemplateVersion:GetEnvironmentTemplateVersionResponse'
, getEnvironmentTemplateVersionResponse_environmentTemplateVersion
- The environment template version detail data that's returned by AWS
Proton.
Response Lenses
getEnvironmentTemplateVersionResponse_httpStatus :: Lens' GetEnvironmentTemplateVersionResponse Int Source #
The response's http status code.
getEnvironmentTemplateVersionResponse_environmentTemplateVersion :: Lens' GetEnvironmentTemplateVersionResponse EnvironmentTemplateVersion Source #
The environment template version detail data that's returned by AWS Proton.