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 a service template.
Synopsis
- data GetServiceTemplateVersion = GetServiceTemplateVersion' {
- majorVersion :: Text
- minorVersion :: Text
- templateName :: Text
- newGetServiceTemplateVersion :: Text -> Text -> Text -> GetServiceTemplateVersion
- getServiceTemplateVersion_majorVersion :: Lens' GetServiceTemplateVersion Text
- getServiceTemplateVersion_minorVersion :: Lens' GetServiceTemplateVersion Text
- getServiceTemplateVersion_templateName :: Lens' GetServiceTemplateVersion Text
- data GetServiceTemplateVersionResponse = GetServiceTemplateVersionResponse' {}
- newGetServiceTemplateVersionResponse :: Int -> ServiceTemplateVersion -> GetServiceTemplateVersionResponse
- getServiceTemplateVersionResponse_httpStatus :: Lens' GetServiceTemplateVersionResponse Int
- getServiceTemplateVersionResponse_serviceTemplateVersion :: Lens' GetServiceTemplateVersionResponse ServiceTemplateVersion
Creating a Request
data GetServiceTemplateVersion Source #
See: newGetServiceTemplateVersion
smart constructor.
GetServiceTemplateVersion' | |
|
Instances
newGetServiceTemplateVersion Source #
:: Text | |
-> Text | |
-> Text | |
-> GetServiceTemplateVersion |
Create a value of GetServiceTemplateVersion
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:GetServiceTemplateVersion'
, getServiceTemplateVersion_majorVersion
- To view service template major version detail data, include
majorVersion
.
$sel:minorVersion:GetServiceTemplateVersion'
, getServiceTemplateVersion_minorVersion
- To view service template minor version detail data, include
minorVersion
.
$sel:templateName:GetServiceTemplateVersion'
, getServiceTemplateVersion_templateName
- The name of the service template.
Request Lenses
getServiceTemplateVersion_majorVersion :: Lens' GetServiceTemplateVersion Text Source #
To view service template major version detail data, include
majorVersion
.
getServiceTemplateVersion_minorVersion :: Lens' GetServiceTemplateVersion Text Source #
To view service template minor version detail data, include
minorVersion
.
getServiceTemplateVersion_templateName :: Lens' GetServiceTemplateVersion Text Source #
The name of the service template.
Destructuring the Response
data GetServiceTemplateVersionResponse Source #
See: newGetServiceTemplateVersionResponse
smart constructor.
GetServiceTemplateVersionResponse' | |
|
Instances
Eq GetServiceTemplateVersionResponse Source # | |
Show GetServiceTemplateVersionResponse Source # | |
Generic GetServiceTemplateVersionResponse Source # | |
NFData GetServiceTemplateVersionResponse Source # | |
Defined in Amazonka.Proton.GetServiceTemplateVersion rnf :: GetServiceTemplateVersionResponse -> () # | |
type Rep GetServiceTemplateVersionResponse Source # | |
Defined in Amazonka.Proton.GetServiceTemplateVersion type Rep GetServiceTemplateVersionResponse = D1 ('MetaData "GetServiceTemplateVersionResponse" "Amazonka.Proton.GetServiceTemplateVersion" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "GetServiceTemplateVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "serviceTemplateVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServiceTemplateVersion))) |
newGetServiceTemplateVersionResponse Source #
:: Int | |
-> ServiceTemplateVersion |
|
-> GetServiceTemplateVersionResponse |
Create a value of GetServiceTemplateVersionResponse
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:GetServiceTemplateVersionResponse'
, getServiceTemplateVersionResponse_httpStatus
- The response's http status code.
$sel:serviceTemplateVersion:GetServiceTemplateVersionResponse'
, getServiceTemplateVersionResponse_serviceTemplateVersion
- The service template version detail data that's returned by AWS Proton.
Response Lenses
getServiceTemplateVersionResponse_httpStatus :: Lens' GetServiceTemplateVersionResponse Int Source #
The response's http status code.
getServiceTemplateVersionResponse_serviceTemplateVersion :: Lens' GetServiceTemplateVersionResponse ServiceTemplateVersion Source #
The service template version detail data that's returned by AWS Proton.