| 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.MediaStore.DescribeContainer
Description
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.
Constructors
| DescribeContainer' | |
Fields
| |
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.
Constructors
| DescribeContainerResponse' | |
Fields
| |
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.