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 instance. A service instance is an instantiation of service template, which is running in a specific environment.
Synopsis
- data GetServiceInstance = GetServiceInstance' {
- name :: Text
- serviceName :: Text
- newGetServiceInstance :: Text -> Text -> GetServiceInstance
- getServiceInstance_name :: Lens' GetServiceInstance Text
- getServiceInstance_serviceName :: Lens' GetServiceInstance Text
- data GetServiceInstanceResponse = GetServiceInstanceResponse' {}
- newGetServiceInstanceResponse :: Int -> ServiceInstance -> GetServiceInstanceResponse
- getServiceInstanceResponse_httpStatus :: Lens' GetServiceInstanceResponse Int
- getServiceInstanceResponse_serviceInstance :: Lens' GetServiceInstanceResponse ServiceInstance
Creating a Request
data GetServiceInstance Source #
See: newGetServiceInstance
smart constructor.
GetServiceInstance' | |
|
Instances
newGetServiceInstance Source #
:: Text | |
-> Text | |
-> GetServiceInstance |
Create a value of GetServiceInstance
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:GetServiceInstance'
, getServiceInstance_name
- The name of a service instance that you want to get the detail data for.
$sel:serviceName:GetServiceInstance'
, getServiceInstance_serviceName
- The name of the service that the service instance belongs to.
Request Lenses
getServiceInstance_name :: Lens' GetServiceInstance Text Source #
The name of a service instance that you want to get the detail data for.
getServiceInstance_serviceName :: Lens' GetServiceInstance Text Source #
The name of the service that the service instance belongs to.
Destructuring the Response
data GetServiceInstanceResponse Source #
See: newGetServiceInstanceResponse
smart constructor.
GetServiceInstanceResponse' | |
|
Instances
newGetServiceInstanceResponse Source #
Create a value of GetServiceInstanceResponse
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:GetServiceInstanceResponse'
, getServiceInstanceResponse_httpStatus
- The response's http status code.
$sel:serviceInstance:GetServiceInstanceResponse'
, getServiceInstanceResponse_serviceInstance
- The service instance detail data that's returned by AWS Proton.
Response Lenses
getServiceInstanceResponse_httpStatus :: Lens' GetServiceInstanceResponse Int Source #
The response's http status code.
getServiceInstanceResponse_serviceInstance :: Lens' GetServiceInstanceResponse ServiceInstance Source #
The service instance detail data that's returned by AWS Proton.