libZSservicesZSamazonka-chimeZSamazonka-chime
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.Chime.PutRetentionSettings

Description

Puts retention settings for the specified Amazon Chime Enterprise account. We recommend using AWS CloudTrail to monitor usage of this API for your account. For more information, see Logging Amazon Chime API Calls with AWS CloudTrail in the Amazon Chime Administration Guide.

To turn off existing retention settings, remove the number of days from the corresponding RetentionDays field in the RetentionSettings object. For more information about retention settings, see Managing Chat Retention Policies in the Amazon Chime Administration Guide.

Synopsis

Creating a Request

data PutRetentionSettings Source #

See: newPutRetentionSettings smart constructor.

Constructors

PutRetentionSettings' 

Fields

Instances

Instances details
Eq PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

Read PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

Show PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

Generic PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

Associated Types

type Rep PutRetentionSettings :: Type -> Type #

NFData PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

Methods

rnf :: PutRetentionSettings -> () #

Hashable PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

ToJSON PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

AWSRequest PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

Associated Types

type AWSResponse PutRetentionSettings #

ToHeaders PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

ToPath PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

ToQuery PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

type Rep PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

type Rep PutRetentionSettings = D1 ('MetaData "PutRetentionSettings" "Amazonka.Chime.PutRetentionSettings" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "PutRetentionSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "retentionSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RetentionSettings)))
type AWSResponse PutRetentionSettings Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

newPutRetentionSettings Source #

Create a value of PutRetentionSettings 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:accountId:PutRetentionSettings', putRetentionSettings_accountId - The Amazon Chime account ID.

$sel:retentionSettings:PutRetentionSettings', putRetentionSettings_retentionSettings - The retention settings.

Request Lenses

Destructuring the Response

data PutRetentionSettingsResponse Source #

See: newPutRetentionSettingsResponse smart constructor.

Constructors

PutRetentionSettingsResponse' 

Fields

Instances

Instances details
Eq PutRetentionSettingsResponse Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

Read PutRetentionSettingsResponse Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

Show PutRetentionSettingsResponse Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

Generic PutRetentionSettingsResponse Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

Associated Types

type Rep PutRetentionSettingsResponse :: Type -> Type #

NFData PutRetentionSettingsResponse Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

type Rep PutRetentionSettingsResponse Source # 
Instance details

Defined in Amazonka.Chime.PutRetentionSettings

type Rep PutRetentionSettingsResponse = D1 ('MetaData "PutRetentionSettingsResponse" "Amazonka.Chime.PutRetentionSettings" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "PutRetentionSettingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "retentionSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionSettings)) :*: (S1 ('MetaSel ('Just "initiateDeletionTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPutRetentionSettingsResponse Source #

Create a value of PutRetentionSettingsResponse 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:retentionSettings:PutRetentionSettings', putRetentionSettingsResponse_retentionSettings - The retention settings.

$sel:initiateDeletionTimestamp:PutRetentionSettingsResponse', putRetentionSettingsResponse_initiateDeletionTimestamp - The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.

$sel:httpStatus:PutRetentionSettingsResponse', putRetentionSettingsResponse_httpStatus - The response's http status code.

Response Lenses

putRetentionSettingsResponse_initiateDeletionTimestamp :: Lens' PutRetentionSettingsResponse (Maybe UTCTime) Source #

The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.