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

Description

Deletes the specified retention policy from the specified organization.

Synopsis

Creating a Request

data DeleteRetentionPolicy Source #

See: newDeleteRetentionPolicy smart constructor.

Constructors

DeleteRetentionPolicy' 

Fields

Instances

Instances details
Eq DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Read DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Show DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Generic DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Associated Types

type Rep DeleteRetentionPolicy :: Type -> Type #

NFData DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Methods

rnf :: DeleteRetentionPolicy -> () #

Hashable DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

ToJSON DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

AWSRequest DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Associated Types

type AWSResponse DeleteRetentionPolicy #

ToHeaders DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

ToPath DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

ToQuery DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

type Rep DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

type Rep DeleteRetentionPolicy = D1 ('MetaData "DeleteRetentionPolicy" "Amazonka.WorkMail.DeleteRetentionPolicy" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "DeleteRetentionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

newDeleteRetentionPolicy Source #

Create a value of DeleteRetentionPolicy 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:organizationId:DeleteRetentionPolicy', deleteRetentionPolicy_organizationId - The organization ID.

$sel:id:DeleteRetentionPolicy', deleteRetentionPolicy_id - The retention policy ID.

Request Lenses

Destructuring the Response

data DeleteRetentionPolicyResponse Source #

See: newDeleteRetentionPolicyResponse smart constructor.

Constructors

DeleteRetentionPolicyResponse' 

Fields

Instances

Instances details
Eq DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Read DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Show DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Generic DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Associated Types

type Rep DeleteRetentionPolicyResponse :: Type -> Type #

NFData DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

type Rep DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

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

newDeleteRetentionPolicyResponse Source #

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

Response Lenses