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 |
Returns information about one or more of your Amazon Lightsail container services.
Synopsis
- data GetContainerServices = GetContainerServices' {
- serviceName :: Maybe Text
- newGetContainerServices :: GetContainerServices
- getContainerServices_serviceName :: Lens' GetContainerServices (Maybe Text)
- data GetContainerServicesResponse = GetContainerServicesResponse' {}
- newGetContainerServicesResponse :: Int -> GetContainerServicesResponse
- getContainerServicesResponse_containerServices :: Lens' GetContainerServicesResponse (Maybe [ContainerService])
- getContainerServicesResponse_httpStatus :: Lens' GetContainerServicesResponse Int
Creating a Request
data GetContainerServices Source #
See: newGetContainerServices
smart constructor.
GetContainerServices' | |
|
Instances
newGetContainerServices :: GetContainerServices Source #
Create a value of GetContainerServices
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:serviceName:GetContainerServices'
, getContainerServices_serviceName
- The name of the container service for which to return information.
When omitted, the response includes all of your container services in the AWS Region where the request is made.
Request Lenses
getContainerServices_serviceName :: Lens' GetContainerServices (Maybe Text) Source #
The name of the container service for which to return information.
When omitted, the response includes all of your container services in the AWS Region where the request is made.
Destructuring the Response
data GetContainerServicesResponse Source #
See: newGetContainerServicesResponse
smart constructor.
GetContainerServicesResponse' | |
|
Instances
newGetContainerServicesResponse Source #
Create a value of GetContainerServicesResponse
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:containerServices:GetContainerServicesResponse'
, getContainerServicesResponse_containerServices
- An array of objects that describe one or more container services.
$sel:httpStatus:GetContainerServicesResponse'
, getContainerServicesResponse_httpStatus
- The response's http status code.
Response Lenses
getContainerServicesResponse_containerServices :: Lens' GetContainerServicesResponse (Maybe [ContainerService]) Source #
An array of objects that describe one or more container services.
getContainerServicesResponse_httpStatus :: Lens' GetContainerServicesResponse Int Source #
The response's http status code.