libZSservicesZSamazonka-mediastoreZSamazonka-mediastore
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaStore.Types.Container

Description

 
Synopsis

Documentation

data Container Source #

This section describes operations that you can perform on an AWS Elemental MediaStore container.

See: newContainer smart constructor.

Constructors

Container' 

Fields

  • creationTime :: Maybe POSIX

    Unix timestamp.

  • status :: Maybe ContainerStatus

    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.

  • accessLoggingEnabled :: Maybe Bool

    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.

  • arn :: Maybe Text

    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

  • name :: Maybe Text

    The name of the container.

  • endpoint :: Maybe Text

    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.

Instances

Instances details
Eq Container Source # 
Instance details

Defined in Amazonka.MediaStore.Types.Container

Read Container Source # 
Instance details

Defined in Amazonka.MediaStore.Types.Container

Show Container Source # 
Instance details

Defined in Amazonka.MediaStore.Types.Container

Generic Container Source # 
Instance details

Defined in Amazonka.MediaStore.Types.Container

Associated Types

type Rep Container :: Type -> Type #

NFData Container Source # 
Instance details

Defined in Amazonka.MediaStore.Types.Container

Methods

rnf :: Container -> () #

Hashable Container Source # 
Instance details

Defined in Amazonka.MediaStore.Types.Container

FromJSON Container Source # 
Instance details

Defined in Amazonka.MediaStore.Types.Container

type Rep Container Source # 
Instance details

Defined in Amazonka.MediaStore.Types.Container

type Rep Container = D1 ('MetaData "Container" "Amazonka.MediaStore.Types.Container" "libZSservicesZSamazonka-mediastoreZSamazonka-mediastore" 'False) (C1 ('MetaCons "Container'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContainerStatus)) :*: S1 ('MetaSel ('Just "accessLoggingEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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_name :: Lens' Container (Maybe Text) Source #

The name of the container.

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.