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

Description

Updates a mobile device access rule for the specified Amazon WorkMail organization.

Synopsis

Creating a Request

data UpdateMobileDeviceAccessRule Source #

See: newUpdateMobileDeviceAccessRule smart constructor.

Constructors

UpdateMobileDeviceAccessRule' 

Fields

Instances

Instances details
Eq UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

Read UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

Show UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

Generic UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

Associated Types

type Rep UpdateMobileDeviceAccessRule :: Type -> Type #

NFData UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

Hashable UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

ToJSON UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

AWSRequest UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

ToHeaders UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

ToPath UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

ToQuery UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

type Rep UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

type Rep UpdateMobileDeviceAccessRule = D1 ('MetaData "UpdateMobileDeviceAccessRule" "Amazonka.WorkMail.UpdateMobileDeviceAccessRule" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "UpdateMobileDeviceAccessRule'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "deviceUserAgents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "deviceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "notDeviceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))) :*: (S1 ('MetaSel ('Just "notDeviceOperatingSystems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "deviceModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "deviceOperatingSystems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))))) :*: ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notDeviceUserAgents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "notDeviceModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))) :*: ((S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "mobileDeviceAccessRuleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "effect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MobileDeviceAccessRuleEffect))))))
type AWSResponse UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

newUpdateMobileDeviceAccessRule Source #

Create a value of UpdateMobileDeviceAccessRule 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:deviceUserAgents:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_deviceUserAgents - User agents that the updated rule will match.

$sel:deviceTypes:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_deviceTypes - Device types that the updated rule will match.

$sel:notDeviceTypes:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_notDeviceTypes - Device types that the updated rule will not match. All other device types will match.

$sel:notDeviceOperatingSystems:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_notDeviceOperatingSystems - Device operating systems that the updated rule will not match. All other device operating systems will match.

$sel:deviceModels:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_deviceModels - Device models that the updated rule will match.

$sel:deviceOperatingSystems:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_deviceOperatingSystems - Device operating systems that the updated rule will match.

$sel:description:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_description - The updated rule description.

$sel:notDeviceUserAgents:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_notDeviceUserAgents - User agents that the updated rule will not match. All other user agents will match.

$sel:notDeviceModels:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_notDeviceModels - Device models that the updated rule will not match. All other device models will match.

$sel:organizationId:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_organizationId - The Amazon WorkMail organization under which the rule will be updated.

$sel:mobileDeviceAccessRuleId:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_mobileDeviceAccessRuleId - The identifier of the rule to be updated.

$sel:name:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_name - The updated rule name.

$sel:effect:UpdateMobileDeviceAccessRule', updateMobileDeviceAccessRule_effect - The effect of the rule when it matches. Allowed values are ALLOW or DENY.

Request Lenses

updateMobileDeviceAccessRule_notDeviceTypes :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

Device types that the updated rule will not match. All other device types will match.

updateMobileDeviceAccessRule_notDeviceOperatingSystems :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

Device operating systems that the updated rule will not match. All other device operating systems will match.

updateMobileDeviceAccessRule_deviceOperatingSystems :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

Device operating systems that the updated rule will match.

updateMobileDeviceAccessRule_notDeviceUserAgents :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

User agents that the updated rule will not match. All other user agents will match.

updateMobileDeviceAccessRule_notDeviceModels :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

Device models that the updated rule will not match. All other device models will match.

updateMobileDeviceAccessRule_organizationId :: Lens' UpdateMobileDeviceAccessRule Text Source #

The Amazon WorkMail organization under which the rule will be updated.

updateMobileDeviceAccessRule_effect :: Lens' UpdateMobileDeviceAccessRule MobileDeviceAccessRuleEffect Source #

The effect of the rule when it matches. Allowed values are ALLOW or DENY.

Destructuring the Response

data UpdateMobileDeviceAccessRuleResponse Source #

Constructors

UpdateMobileDeviceAccessRuleResponse' 

Fields

Instances

Instances details
Eq UpdateMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

Read UpdateMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

Show UpdateMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

Generic UpdateMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

NFData UpdateMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

type Rep UpdateMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

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

newUpdateMobileDeviceAccessRuleResponse Source #

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

Response Lenses