libZSservicesZSamazonka-workmailZSamazonka-workmail
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.WorkMail.PutRetentionPolicy

Description

Puts a retention policy to the specified organization.

Synopsis

Creating a Request

data PutRetentionPolicy Source #

See: newPutRetentionPolicy smart constructor.

Constructors

PutRetentionPolicy' 

Fields

Instances

Instances details
Eq PutRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

Show PutRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

Generic PutRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

Associated Types

type Rep PutRetentionPolicy :: Type -> Type #

NFData PutRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

Methods

rnf :: PutRetentionPolicy -> () #

Hashable PutRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

ToJSON PutRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

AWSRequest PutRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

Associated Types

type AWSResponse PutRetentionPolicy #

ToHeaders PutRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

ToPath PutRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

ToQuery PutRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

type Rep PutRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

type Rep PutRetentionPolicy = D1 ('MetaData "PutRetentionPolicy" "Amazonka.WorkMail.PutRetentionPolicy" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "PutRetentionPolicy'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "folderConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FolderConfiguration])))))
type AWSResponse PutRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

newPutRetentionPolicy Source #

Create a value of PutRetentionPolicy 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:id:PutRetentionPolicy', putRetentionPolicy_id - The retention policy ID.

$sel:description:PutRetentionPolicy', putRetentionPolicy_description - The retention policy description.

$sel:organizationId:PutRetentionPolicy', putRetentionPolicy_organizationId - The organization ID.

$sel:name:PutRetentionPolicy', putRetentionPolicy_name - The retention policy name.

$sel:folderConfigurations:PutRetentionPolicy', putRetentionPolicy_folderConfigurations - The retention policy folder configurations.

Request Lenses

Destructuring the Response

data PutRetentionPolicyResponse Source #

See: newPutRetentionPolicyResponse smart constructor.

Constructors

PutRetentionPolicyResponse' 

Fields

Instances

Instances details
Eq PutRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

Read PutRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

Show PutRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

Generic PutRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

Associated Types

type Rep PutRetentionPolicyResponse :: Type -> Type #

NFData PutRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

type Rep PutRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutRetentionPolicy

type Rep PutRetentionPolicyResponse = D1 ('MetaData "PutRetentionPolicyResponse" "Amazonka.WorkMail.PutRetentionPolicy" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "PutRetentionPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutRetentionPolicyResponse Source #

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

Response Lenses