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

Description

Deletes permissions granted to a member (user or group).

Synopsis

Creating a Request

data DeleteMailboxPermissions Source #

See: newDeleteMailboxPermissions smart constructor.

Constructors

DeleteMailboxPermissions' 

Fields

  • organizationId :: Text

    The identifier of the organization under which the member (user or group) exists.

  • entityId :: Text

    The identifier of the member (user or group) that owns the mailbox.

  • granteeId :: Text

    The identifier of the member (user or group) for which to delete granted permissions.

Instances

Instances details
ToJSON DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

ToHeaders DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

ToPath DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

ToQuery DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

AWSRequest DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

Generic DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

Associated Types

type Rep DeleteMailboxPermissions :: Type -> Type #

Read DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

Show DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

NFData DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

Eq DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

Hashable DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

type AWSResponse DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

type Rep DeleteMailboxPermissions Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

type Rep DeleteMailboxPermissions = D1 ('MetaData "DeleteMailboxPermissions" "Amazonka.WorkMail.DeleteMailboxPermissions" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "DeleteMailboxPermissions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "entityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "granteeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteMailboxPermissions Source #

Create a value of DeleteMailboxPermissions 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:

DeleteMailboxPermissions, deleteMailboxPermissions_organizationId - The identifier of the organization under which the member (user or group) exists.

DeleteMailboxPermissions, deleteMailboxPermissions_entityId - The identifier of the member (user or group) that owns the mailbox.

DeleteMailboxPermissions, deleteMailboxPermissions_granteeId - The identifier of the member (user or group) for which to delete granted permissions.

Request Lenses

deleteMailboxPermissions_organizationId :: Lens' DeleteMailboxPermissions Text Source #

The identifier of the organization under which the member (user or group) exists.

deleteMailboxPermissions_entityId :: Lens' DeleteMailboxPermissions Text Source #

The identifier of the member (user or group) that owns the mailbox.

deleteMailboxPermissions_granteeId :: Lens' DeleteMailboxPermissions Text Source #

The identifier of the member (user or group) for which to delete granted permissions.

Destructuring the Response

data DeleteMailboxPermissionsResponse Source #

See: newDeleteMailboxPermissionsResponse smart constructor.

Constructors

DeleteMailboxPermissionsResponse' 

Fields

Instances

Instances details
Generic DeleteMailboxPermissionsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

Associated Types

type Rep DeleteMailboxPermissionsResponse :: Type -> Type #

Read DeleteMailboxPermissionsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

Show DeleteMailboxPermissionsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

NFData DeleteMailboxPermissionsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

Eq DeleteMailboxPermissionsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

type Rep DeleteMailboxPermissionsResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMailboxPermissions

type Rep DeleteMailboxPermissionsResponse = D1 ('MetaData "DeleteMailboxPermissionsResponse" "Amazonka.WorkMail.DeleteMailboxPermissions" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "DeleteMailboxPermissionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteMailboxPermissionsResponse Source #

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

Response Lenses