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

Description

Creates or updates a mobile device access override for the given WorkMail organization, user, and device.

Synopsis

Creating a Request

data PutMobileDeviceAccessOverride Source #

See: newPutMobileDeviceAccessOverride smart constructor.

Constructors

PutMobileDeviceAccessOverride' 

Fields

  • description :: Maybe Text

    A description of the override.

  • organizationId :: Text

    Identifies the Amazon WorkMail organization for which you create the override.

  • userId :: Text

    The WorkMail user for which you create 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 create the override. DeviceId is case insensitive.

  • effect :: MobileDeviceAccessRuleEffect

    The effect of the override, ALLOW or DENY.

Instances

Instances details
Eq PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

Read PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

Show PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

Generic PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

Associated Types

type Rep PutMobileDeviceAccessOverride :: Type -> Type #

NFData PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

Hashable PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

ToJSON PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

AWSRequest PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

ToHeaders PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

ToPath PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

ToQuery PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

type Rep PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

type Rep PutMobileDeviceAccessOverride = D1 ('MetaData "PutMobileDeviceAccessOverride" "Amazonka.WorkMail.PutMobileDeviceAccessOverride" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "PutMobileDeviceAccessOverride'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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) :*: S1 ('MetaSel ('Just "effect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MobileDeviceAccessRuleEffect)))))
type AWSResponse PutMobileDeviceAccessOverride Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

newPutMobileDeviceAccessOverride Source #

Create a value of PutMobileDeviceAccessOverride 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:description:PutMobileDeviceAccessOverride', putMobileDeviceAccessOverride_description - A description of the override.

$sel:organizationId:PutMobileDeviceAccessOverride', putMobileDeviceAccessOverride_organizationId - Identifies the Amazon WorkMail organization for which you create the override.

$sel:userId:PutMobileDeviceAccessOverride', putMobileDeviceAccessOverride_userId - The WorkMail user for which you create 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:PutMobileDeviceAccessOverride', putMobileDeviceAccessOverride_deviceId - The mobile device for which you create the override. DeviceId is case insensitive.

$sel:effect:PutMobileDeviceAccessOverride', putMobileDeviceAccessOverride_effect - The effect of the override, ALLOW or DENY.

Request Lenses

putMobileDeviceAccessOverride_organizationId :: Lens' PutMobileDeviceAccessOverride Text Source #

Identifies the Amazon WorkMail organization for which you create the override.

putMobileDeviceAccessOverride_userId :: Lens' PutMobileDeviceAccessOverride Text Source #

The WorkMail user for which you create 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

putMobileDeviceAccessOverride_deviceId :: Lens' PutMobileDeviceAccessOverride Text Source #

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

Destructuring the Response

data PutMobileDeviceAccessOverrideResponse Source #

Constructors

PutMobileDeviceAccessOverrideResponse' 

Fields

Instances

Instances details
Eq PutMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

Read PutMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

Show PutMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

Generic PutMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

NFData PutMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

type Rep PutMobileDeviceAccessOverrideResponse Source # 
Instance details

Defined in Amazonka.WorkMail.PutMobileDeviceAccessOverride

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

newPutMobileDeviceAccessOverrideResponse Source #

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

Response Lenses