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.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 Amazon 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
Eq DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

Read DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

Show 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 #

NFData DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

Hashable DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

ToJSON DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

AWSRequest 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

type Rep DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

type Rep DeleteMobileDeviceAccessOverride = D1 ('MetaData "DeleteMobileDeviceAccessOverride" "Amazonka.WorkMail.DeleteMobileDeviceAccessOverride" "libZSservicesZSamazonka-workmailZSamazonka-workmail" '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))))
type AWSResponse DeleteMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

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:

$sel:organizationId:DeleteMobileDeviceAccessOverride', deleteMobileDeviceAccessOverride_organizationId - The Amazon WorkMail organization for which the access override will be deleted.

$sel:userId: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

$sel:deviceId: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 Amazon 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
Eq 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

Generic DeleteMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessOverride

NFData 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" "libZSservicesZSamazonka-workmailZSamazonka-workmail" '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