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

Description

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

Synopsis

Creating a Request

data UpdateMobileDeviceAccessRule Source #

See: newUpdateMobileDeviceAccessRule smart constructor.

Constructors

UpdateMobileDeviceAccessRule' 

Fields

Instances

Instances details
ToJSON 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

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

Read UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

Show UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

NFData UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

Eq UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

Hashable UpdateMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

type AWSResponse 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" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "UpdateMobileDeviceAccessRule'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe 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 "deviceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "deviceUserAgents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "notDeviceModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))))) :*: ((S1 ('MetaSel ('Just "notDeviceOperatingSystems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "notDeviceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "notDeviceUserAgents") '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))))))

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:

UpdateMobileDeviceAccessRule, updateMobileDeviceAccessRule_description - The updated rule description.

UpdateMobileDeviceAccessRule, updateMobileDeviceAccessRule_deviceModels - Device models that the updated rule will match.

UpdateMobileDeviceAccessRule, updateMobileDeviceAccessRule_deviceOperatingSystems - Device operating systems that the updated rule will match.

UpdateMobileDeviceAccessRule, updateMobileDeviceAccessRule_deviceTypes - Device types that the updated rule will match.

UpdateMobileDeviceAccessRule, updateMobileDeviceAccessRule_deviceUserAgents - User agents that the updated rule will match.

UpdateMobileDeviceAccessRule, updateMobileDeviceAccessRule_notDeviceModels - Device models that the updated rule will not match. All other device models will match.

UpdateMobileDeviceAccessRule, updateMobileDeviceAccessRule_notDeviceOperatingSystems - Device operating systems that the updated rule will not match. All other device operating systems will match.

UpdateMobileDeviceAccessRule, updateMobileDeviceAccessRule_notDeviceTypes - Device types that the updated rule will not match. All other device types will match.

UpdateMobileDeviceAccessRule, updateMobileDeviceAccessRule_notDeviceUserAgents - User agents that the updated rule will not match. All other user agents will match.

UpdateMobileDeviceAccessRule, updateMobileDeviceAccessRule_organizationId - The WorkMail organization under which the rule will be updated.

UpdateMobileDeviceAccessRule, updateMobileDeviceAccessRule_mobileDeviceAccessRuleId - The identifier of the rule to be updated.

UpdateMobileDeviceAccessRule, updateMobileDeviceAccessRule_name - The updated rule name.

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

Request Lenses

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

Device operating systems that the updated rule 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_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_notDeviceTypes :: Lens' UpdateMobileDeviceAccessRule (Maybe (NonEmpty Text)) Source #

Device types that the updated rule will not match. All other device types 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_organizationId :: Lens' UpdateMobileDeviceAccessRule Text Source #

The 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
Generic 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

NFData UpdateMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateMobileDeviceAccessRule

Eq 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" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" '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