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 the deployments for your Amazon Lightsail container service
A deployment specifies the settings, such as the ports and launch command, of containers that are deployed to your container service.
The deployments are ordered by version in ascending order. The newest version is listed at the top of the response.
A set number of deployments are kept before the oldest one is replaced with the newest one. For more information, see Amazon Lightsail endpoints and quotas in the AWS General Reference.
Synopsis
- data GetContainerServiceDeployments = GetContainerServiceDeployments' {
- serviceName :: Text
- newGetContainerServiceDeployments :: Text -> GetContainerServiceDeployments
- getContainerServiceDeployments_serviceName :: Lens' GetContainerServiceDeployments Text
- data GetContainerServiceDeploymentsResponse = GetContainerServiceDeploymentsResponse' {}
- newGetContainerServiceDeploymentsResponse :: Int -> GetContainerServiceDeploymentsResponse
- getContainerServiceDeploymentsResponse_deployments :: Lens' GetContainerServiceDeploymentsResponse (Maybe [ContainerServiceDeployment])
- getContainerServiceDeploymentsResponse_httpStatus :: Lens' GetContainerServiceDeploymentsResponse Int
Creating a Request
data GetContainerServiceDeployments Source #
See: newGetContainerServiceDeployments
smart constructor.
GetContainerServiceDeployments' | |
|
Instances
newGetContainerServiceDeployments Source #
Create a value of GetContainerServiceDeployments
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:GetContainerServiceDeployments'
, getContainerServiceDeployments_serviceName
- The name of the container service for which to return deployments.
Request Lenses
getContainerServiceDeployments_serviceName :: Lens' GetContainerServiceDeployments Text Source #
The name of the container service for which to return deployments.
Destructuring the Response
data GetContainerServiceDeploymentsResponse Source #
See: newGetContainerServiceDeploymentsResponse
smart constructor.
GetContainerServiceDeploymentsResponse' | |
|
Instances
newGetContainerServiceDeploymentsResponse Source #
Create a value of GetContainerServiceDeploymentsResponse
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:deployments:GetContainerServiceDeploymentsResponse'
, getContainerServiceDeploymentsResponse_deployments
- An array of objects that describe deployments for a container service.
$sel:httpStatus:GetContainerServiceDeploymentsResponse'
, getContainerServiceDeploymentsResponse_httpStatus
- The response's http status code.
Response Lenses
getContainerServiceDeploymentsResponse_deployments :: Lens' GetContainerServiceDeploymentsResponse (Maybe [ContainerServiceDeployment]) Source #
An array of objects that describe deployments for a container service.
getContainerServiceDeploymentsResponse_httpStatus :: Lens' GetContainerServiceDeploymentsResponse Int Source #
The response's http status code.