Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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
- describeContainer :: DescribeContainer
- data DescribeContainer
- dContainerName :: Lens' DescribeContainer (Maybe Text)
- describeContainerResponse :: Int -> DescribeContainerResponse
- data DescribeContainerResponse
- drsContainer :: Lens' DescribeContainerResponse (Maybe Container)
- drsResponseStatus :: Lens' DescribeContainerResponse Int
Creating a Request
describeContainer :: DescribeContainer Source #
Creates a value of DescribeContainer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dContainerName
- The name of the container to query.
data DescribeContainer Source #
See: describeContainer
smart constructor.
Instances
Request Lenses
dContainerName :: Lens' DescribeContainer (Maybe Text) Source #
The name of the container to query.
Destructuring the Response
describeContainerResponse Source #
Creates a value of DescribeContainerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsContainer
- The name of the queried container.drsResponseStatus
- -- | The response status code.
data DescribeContainerResponse Source #
See: describeContainerResponse
smart constructor.
Instances
Response Lenses
drsContainer :: Lens' DescribeContainerResponse (Maybe Container) Source #
The name of the queried container.
drsResponseStatus :: Lens' DescribeContainerResponse Int Source #
- - | The response status code.