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

Description

Deletes the mobile device access override for the given WorkMail organization, user, and device.

Deleting already deleted and non-existing overrides does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.

Synopsis

Creating a Request

data DeleteMobileDeviceAccessOverride Source #

See: newDeleteMobileDeviceAccessOverride smart constructor.

Constructors

DeleteMobileDeviceAccessOverride' 

Fields

  • organizationId :: Text

    The WorkMail organization for which the access override will be deleted.

  • userId :: Text

    The WorkMail user for which you want to delete the override. Accepts the following types of user identities:

    • User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
    • Email address: user@domain.tld
    • User name: user
  • deviceId :: Text

    The mobile device for which you delete the override. DeviceId is case insensitive.

Instances

Instances details
ToJSON DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

ToHeaders DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

ToPath DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

ToQuery DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

AWSRequest DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

Generic DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

Associated Types

type Rep DeleteMobileDeviceAccessOverride :: Type -> Type #

Read DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

Show DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

NFData DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

Eq DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

Hashable DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

type AWSResponse DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

type Rep DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

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

newDeleteMobileDeviceAccessOverride Source #

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

DeleteMobileDeviceAccessOverride, deleteMobileDeviceAccessOverride_organizationId - The WorkMail organization for which the access override will be deleted.

DeleteMobileDeviceAccessOverride, deleteMobileDeviceAccessOverride_userId - The WorkMail user for which you want to delete the override. Accepts the following types of user identities:

  • User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
  • Email address: user@domain.tld
  • User name: user

DeleteMobileDeviceAccessOverride, deleteMobileDeviceAccessOverride_deviceId - The mobile device for which you delete the override. DeviceId is case insensitive.

Request Lenses

deleteMobileDeviceAccessOverride_organizationId :: Lens' DeleteMobileDeviceAccessOverride Text Source #

The WorkMail organization for which the access override will be deleted.

deleteMobileDeviceAccessOverride_userId :: Lens' DeleteMobileDeviceAccessOverride Text Source #

The WorkMail user for which you want to delete the override. Accepts the following types of user identities:

  • User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
  • Email address: user@domain.tld
  • User name: user

deleteMobileDeviceAccessOverride_deviceId :: Lens' DeleteMobileDeviceAccessOverride Text Source #

The mobile device for which you delete the override. DeviceId is case insensitive.

Destructuring the Response

data DeleteMobileDeviceAccessOverrideResponse Source #

Constructors

DeleteMobileDeviceAccessOverrideResponse' 

Fields

Instances

Instances details
Generic DeleteMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

Read DeleteMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

Show DeleteMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

NFData DeleteMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

Eq DeleteMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

type Rep DeleteMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

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

newDeleteMobileDeviceAccessOverrideResponse Source #

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

Response Lenses