| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Proton.GetServiceInstance
Description
Get detailed data for a service instance. A service instance is an instantiation of service template and it runs 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.
Constructors
| GetServiceInstance' | |
Fields
| |
Instances
newGetServiceInstance Source #
Arguments
| :: 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:
GetServiceInstance, getServiceInstance_name - The name of a service instance that you want to get the detailed data
for.
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 detailed 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.
Constructors
| GetServiceInstanceResponse' | |
Fields
| |
Instances
newGetServiceInstanceResponse Source #
Arguments
| :: Int | |
| -> ServiceInstance | |
| -> GetServiceInstanceResponse |
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 detailed data of the requested service instance.
Response Lenses
getServiceInstanceResponse_httpStatus :: Lens' GetServiceInstanceResponse Int Source #
The response's http status code.
getServiceInstanceResponse_serviceInstance :: Lens' GetServiceInstanceResponse ServiceInstance Source #
The detailed data of the requested service instance.