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 |
Synopsis
- data Container = Container' {}
- newContainer :: Container
- container_creationTime :: Lens' Container (Maybe UTCTime)
- container_status :: Lens' Container (Maybe ContainerStatus)
- container_accessLoggingEnabled :: Lens' Container (Maybe Bool)
- container_arn :: Lens' Container (Maybe Text)
- container_name :: Lens' Container (Maybe Text)
- container_endpoint :: Lens' Container (Maybe Text)
Documentation
This section describes operations that you can perform on an AWS Elemental MediaStore container.
See: newContainer
smart constructor.
Container' | |
|
Instances
newContainer :: Container Source #
Create a value of Container
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:creationTime:Container'
, container_creationTime
- Unix timestamp.
$sel:status:Container'
, container_status
- The status of container creation or deletion. The status is one of the
following: CREATING
, ACTIVE
, or DELETING
. While the service is
creating the container, the status is CREATING
. When the endpoint is
available, the status changes to ACTIVE
.
$sel:accessLoggingEnabled:Container'
, container_accessLoggingEnabled
- The state of access logging on the container. This value is false
by
default, indicating that AWS Elemental MediaStore does not send access
logs to Amazon CloudWatch Logs. When you enable access logging on the
container, MediaStore changes this value to true
, indicating that the
service delivers access logs for objects stored in that container to
CloudWatch Logs.
$sel:arn:Container'
, container_arn
- The Amazon Resource Name (ARN) of the container. The ARN has the
following format:
arn:aws:<region>:<account that owns this container>:container/<name of container>
For example: arn:aws:mediastore:us-west-2:111122223333:container/movies
$sel:name:Container'
, container_name
- The name of the container.
$sel:endpoint:Container'
, container_endpoint
- The DNS endpoint of the container. Use the endpoint to identify the
specific container when sending requests to the data plane. The service
assigns this value when the container is created. Once the value has
been assigned, it does not change.
container_status :: Lens' Container (Maybe ContainerStatus) Source #
The status of container creation or deletion. The status is one of the
following: CREATING
, ACTIVE
, or DELETING
. While the service is
creating the container, the status is CREATING
. When the endpoint is
available, the status changes to ACTIVE
.
container_accessLoggingEnabled :: Lens' Container (Maybe Bool) Source #
The state of access logging on the container. This value is false
by
default, indicating that AWS Elemental MediaStore does not send access
logs to Amazon CloudWatch Logs. When you enable access logging on the
container, MediaStore changes this value to true
, indicating that the
service delivers access logs for objects stored in that container to
CloudWatch Logs.
container_arn :: Lens' Container (Maybe Text) Source #
The Amazon Resource Name (ARN) of the container. The ARN has the following format:
arn:aws:<region>:<account that owns this container>:container/<name of container>
For example: arn:aws:mediastore:us-west-2:111122223333:container/movies
container_endpoint :: Lens' Container (Maybe Text) Source #
The DNS endpoint of the container. Use the endpoint to identify the specific container when sending requests to the data plane. The service assigns this value when the container is created. Once the value has been assigned, it does not change.