amazonka-workmail-2.0: Amazon WorkMail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.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

AWSRequest DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Associated Types

type AWSResponse DeleteRetentionPolicy #

Generic DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Associated Types

type Rep DeleteRetentionPolicy :: Type -> Type #

Read DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Show DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

NFData DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Methods

rnf :: DeleteRetentionPolicy -> () #

Eq DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Hashable DeleteRetentionPolicy Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

type AWSResponse 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" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "DeleteRetentionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

DeleteRetentionPolicy, deleteRetentionPolicy_organizationId - The organization 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
Generic DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Associated Types

type Rep DeleteRetentionPolicyResponse :: Type -> Type #

Read DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Show DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

NFData DeleteRetentionPolicyResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteRetentionPolicy

Eq 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" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" '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