Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DeleteMobileDeviceAccessRule = DeleteMobileDeviceAccessRule' {}
- newDeleteMobileDeviceAccessRule :: Text -> Text -> DeleteMobileDeviceAccessRule
- deleteMobileDeviceAccessRule_organizationId :: Lens' DeleteMobileDeviceAccessRule Text
- deleteMobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens' DeleteMobileDeviceAccessRule Text
- data DeleteMobileDeviceAccessRuleResponse = DeleteMobileDeviceAccessRuleResponse' {
- httpStatus :: Int
- newDeleteMobileDeviceAccessRuleResponse :: Int -> DeleteMobileDeviceAccessRuleResponse
- deleteMobileDeviceAccessRuleResponse_httpStatus :: Lens' DeleteMobileDeviceAccessRuleResponse Int
Creating a Request
data DeleteMobileDeviceAccessRule Source #
See: newDeleteMobileDeviceAccessRule
smart constructor.
DeleteMobileDeviceAccessRule' | |
|
Instances
newDeleteMobileDeviceAccessRule Source #
:: Text | |
-> Text | |
-> DeleteMobileDeviceAccessRule |
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.
deleteMobileDeviceAccessRule_mobileDeviceAccessRuleId :: Lens' DeleteMobileDeviceAccessRule Text Source #
The identifier of the rule to be deleted.
Destructuring the Response
data DeleteMobileDeviceAccessRuleResponse Source #
See: newDeleteMobileDeviceAccessRuleResponse
smart constructor.
DeleteMobileDeviceAccessRuleResponse' | |
|
Instances
Eq DeleteMobileDeviceAccessRuleResponse Source # | |
Read DeleteMobileDeviceAccessRuleResponse Source # | |
Show DeleteMobileDeviceAccessRuleResponse Source # | |
Generic DeleteMobileDeviceAccessRuleResponse Source # | |
Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule type Rep DeleteMobileDeviceAccessRuleResponse :: Type -> Type # | |
NFData DeleteMobileDeviceAccessRuleResponse Source # | |
Defined in Amazonka.WorkMail.DeleteMobileDeviceAccessRule rnf :: DeleteMobileDeviceAccessRuleResponse -> () # | |
type Rep DeleteMobileDeviceAccessRuleResponse Source # | |
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
deleteMobileDeviceAccessRuleResponse_httpStatus :: Lens' DeleteMobileDeviceAccessRuleResponse Int Source #
The response's http status code.