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 |
Get detail 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.
Instances
newGetEnvironmentTemplate Source #
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:
$sel:name:GetEnvironmentTemplate'
, getEnvironmentTemplate_name
- The name of the environment template that you want to get the detail
data for.
Request Lenses
getEnvironmentTemplate_name :: Lens' GetEnvironmentTemplate Text Source #
The name of the environment template that you want to get the detail data for.
Destructuring the Response
data GetEnvironmentTemplateResponse Source #
See: newGetEnvironmentTemplateResponse
smart constructor.
GetEnvironmentTemplateResponse' | |
|
Instances
Eq GetEnvironmentTemplateResponse Source # | |
Show GetEnvironmentTemplateResponse Source # | |
Defined in Amazonka.Proton.GetEnvironmentTemplate | |
Generic GetEnvironmentTemplateResponse Source # | |
NFData GetEnvironmentTemplateResponse Source # | |
Defined in Amazonka.Proton.GetEnvironmentTemplate rnf :: GetEnvironmentTemplateResponse -> () # | |
type Rep GetEnvironmentTemplateResponse Source # | |
Defined in Amazonka.Proton.GetEnvironmentTemplate type Rep GetEnvironmentTemplateResponse = D1 ('MetaData "GetEnvironmentTemplateResponse" "Amazonka.Proton.GetEnvironmentTemplate" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "GetEnvironmentTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "environmentTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EnvironmentTemplate))) |
newGetEnvironmentTemplateResponse Source #
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 environment template detail data that's returned by AWS Proton.
Response Lenses
getEnvironmentTemplateResponse_httpStatus :: Lens' GetEnvironmentTemplateResponse Int Source #
The response's http status code.
getEnvironmentTemplateResponse_environmentTemplate :: Lens' GetEnvironmentTemplateResponse EnvironmentTemplate Source #
The environment template detail data that's returned by AWS Proton.