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 a service template.
Synopsis
- data GetServiceTemplate = GetServiceTemplate' {}
- newGetServiceTemplate :: Text -> GetServiceTemplate
- getServiceTemplate_name :: Lens' GetServiceTemplate Text
- data GetServiceTemplateResponse = GetServiceTemplateResponse' {}
- newGetServiceTemplateResponse :: Int -> ServiceTemplate -> GetServiceTemplateResponse
- getServiceTemplateResponse_httpStatus :: Lens' GetServiceTemplateResponse Int
- getServiceTemplateResponse_serviceTemplate :: Lens' GetServiceTemplateResponse ServiceTemplate
Creating a Request
data GetServiceTemplate Source #
See: newGetServiceTemplate
smart constructor.
Instances
newGetServiceTemplate Source #
Create a value of GetServiceTemplate
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:GetServiceTemplate'
, getServiceTemplate_name
- The name of the service template that you want to get detail data for.
Request Lenses
getServiceTemplate_name :: Lens' GetServiceTemplate Text Source #
The name of the service template that you want to get detail data for.
Destructuring the Response
data GetServiceTemplateResponse Source #
See: newGetServiceTemplateResponse
smart constructor.
GetServiceTemplateResponse' | |
|
Instances
newGetServiceTemplateResponse Source #
Create a value of GetServiceTemplateResponse
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:GetServiceTemplateResponse'
, getServiceTemplateResponse_httpStatus
- The response's http status code.
$sel:serviceTemplate:GetServiceTemplateResponse'
, getServiceTemplateResponse_serviceTemplate
- The service template detail data that's returned by AWS Proton.
Response Lenses
getServiceTemplateResponse_httpStatus :: Lens' GetServiceTemplateResponse Int Source #
The response's http status code.
getServiceTemplateResponse_serviceTemplate :: Lens' GetServiceTemplateResponse ServiceTemplate Source #
The service template detail data that's returned by AWS Proton.