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.StartAccessLogging

Description

Starts access logging on the specified container. When you enable access logging on a container, MediaStore delivers access logs for objects stored in that container to Amazon CloudWatch Logs.

Synopsis

Creating a Request

data StartAccessLogging Source #

See: newStartAccessLogging smart constructor.

Constructors

StartAccessLogging' 

Fields

  • containerName :: Text

    The name of the container that you want to start access logging on.

Instances

Instances details
Eq StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

Read StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

Show StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

Generic StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

Associated Types

type Rep StartAccessLogging :: Type -> Type #

NFData StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

Methods

rnf :: StartAccessLogging -> () #

Hashable StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

ToJSON StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

AWSRequest StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

Associated Types

type AWSResponse StartAccessLogging #

ToHeaders StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

ToPath StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

ToQuery StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

type Rep StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

type Rep StartAccessLogging = D1 ('MetaData "StartAccessLogging" "Amazonka.MediaStore.StartAccessLogging" "libZSservicesZSamazonka-mediastoreZSamazonka-mediastore" 'False) (C1 ('MetaCons "StartAccessLogging'" 'PrefixI 'True) (S1 ('MetaSel ('Just "containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StartAccessLogging Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

newStartAccessLogging Source #

Create a value of StartAccessLogging 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:StartAccessLogging', startAccessLogging_containerName - The name of the container that you want to start access logging on.

Request Lenses

startAccessLogging_containerName :: Lens' StartAccessLogging Text Source #

The name of the container that you want to start access logging on.

Destructuring the Response

data StartAccessLoggingResponse Source #

See: newStartAccessLoggingResponse smart constructor.

Constructors

StartAccessLoggingResponse' 

Fields

Instances

Instances details
Eq StartAccessLoggingResponse Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

Read StartAccessLoggingResponse Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

Show StartAccessLoggingResponse Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

Generic StartAccessLoggingResponse Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

Associated Types

type Rep StartAccessLoggingResponse :: Type -> Type #

NFData StartAccessLoggingResponse Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

type Rep StartAccessLoggingResponse Source # 
Instance details

Defined in Amazonka.MediaStore.StartAccessLogging

type Rep StartAccessLoggingResponse = D1 ('MetaData "StartAccessLoggingResponse" "Amazonka.MediaStore.StartAccessLogging" "libZSservicesZSamazonka-mediastoreZSamazonka-mediastore" 'False) (C1 ('MetaCons "StartAccessLoggingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartAccessLoggingResponse Source #

Create a value of StartAccessLoggingResponse 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:httpStatus:StartAccessLoggingResponse', startAccessLoggingResponse_httpStatus - The response's http status code.

Response Lenses