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 |
Retrieves the properties of the requested container. This request is
commonly used to retrieve the endpoint of a container. An endpoint is a
value assigned by the service when a new container is created. A
container's endpoint does not change after it has been assigned. The
DescribeContainer
request returns a single Container
object based on
ContainerName
. To return all Container
objects that are associated
with a specified AWS account, use ListContainers.
Synopsis
- data DescribeContainer = DescribeContainer' {}
- newDescribeContainer :: DescribeContainer
- describeContainer_containerName :: Lens' DescribeContainer (Maybe Text)
- data DescribeContainerResponse = DescribeContainerResponse' {
- container :: Maybe Container
- httpStatus :: Int
- newDescribeContainerResponse :: Int -> DescribeContainerResponse
- describeContainerResponse_container :: Lens' DescribeContainerResponse (Maybe Container)
- describeContainerResponse_httpStatus :: Lens' DescribeContainerResponse Int
Creating a Request
data DescribeContainer Source #
See: newDescribeContainer
smart constructor.
DescribeContainer' | |
|
Instances
newDescribeContainer :: DescribeContainer Source #
Create a value of DescribeContainer
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:containerName:DescribeContainer'
, describeContainer_containerName
- The name of the container to query.
Request Lenses
describeContainer_containerName :: Lens' DescribeContainer (Maybe Text) Source #
The name of the container to query.
Destructuring the Response
data DescribeContainerResponse Source #
See: newDescribeContainerResponse
smart constructor.
DescribeContainerResponse' | |
|
Instances
newDescribeContainerResponse Source #
Create a value of DescribeContainerResponse
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:container:DescribeContainerResponse'
, describeContainerResponse_container
- The name of the queried container.
$sel:httpStatus:DescribeContainerResponse'
, describeContainerResponse_httpStatus
- The response's http status code.
Response Lenses
describeContainerResponse_container :: Lens' DescribeContainerResponse (Maybe Container) Source #
The name of the queried container.
describeContainerResponse_httpStatus :: Lens' DescribeContainerResponse Int Source #
The response's http status code.