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

Description

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

Deleting already deleted and non-existing rules 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 DeleteMobileDeviceAccessRule Source #

See: newDeleteMobileDeviceAccessRule smart constructor.

Constructors

DeleteMobileDeviceAccessRule' 

Fields

Instances

Instances details
Eq DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

Read DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

Show DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

Generic DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

Associated Types

type Rep DeleteMobileDeviceAccessRule :: Type -> Type #

NFData DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

Hashable DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

ToJSON DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

AWSRequest DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

ToHeaders DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

ToPath DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

ToQuery DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

type Rep DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

type Rep DeleteMobileDeviceAccessRule = D1 ('MetaData "DeleteMobileDeviceAccessRule" "Amazonka.WorkMail.DeleteMobileDeviceAccessRule" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "DeleteMobileDeviceAccessRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "mobileDeviceAccessRuleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteMobileDeviceAccessRule Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

newDeleteMobileDeviceAccessRule Source #

Create a value of DeleteMobileDeviceAccessRule 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:DeleteMobileDeviceAccessRule', deleteMobileDeviceAccessRule_organizationId - The Amazon WorkMail organization under which the rule will be deleted.

$sel:mobileDeviceAccessRuleId:DeleteMobileDeviceAccessRule', deleteMobileDeviceAccessRule_mobileDeviceAccessRuleId - The identifier of the rule to be deleted.

Request Lenses

deleteMobileDeviceAccessRule_organizationId :: Lens' DeleteMobileDeviceAccessRule Text Source #

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

Destructuring the Response

data DeleteMobileDeviceAccessRuleResponse Source #

Constructors

DeleteMobileDeviceAccessRuleResponse' 

Fields

Instances

Instances details
Eq DeleteMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

Read DeleteMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

Show DeleteMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

Generic DeleteMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

NFData DeleteMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

type Rep DeleteMobileDeviceAccessRuleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule

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

newDeleteMobileDeviceAccessRuleResponse Source #

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

Response Lenses