| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkMail.DeleteMobileDeviceAccessRule
Description
Deletes a mobile device access rule for the specified 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.
Constructors
| DeleteMobileDeviceAccessRule' | |
Fields
| |
Instances
newDeleteMobileDeviceAccessRule Source #
Arguments
| :: 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:
DeleteMobileDeviceAccessRule, deleteMobileDeviceAccessRule_organizationId - The WorkMail organization under which the rule will be deleted.
DeleteMobileDeviceAccessRule, deleteMobileDeviceAccessRule_mobileDeviceAccessRuleId - The identifier of the rule to be deleted.
Request Lenses
deleteMobileDeviceAccessRule_organizationId :: Lens' DeleteMobileDeviceAccessRule Text Source #
The 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.
Constructors
| DeleteMobileDeviceAccessRuleResponse' | |
Fields
| |
Instances
newDeleteMobileDeviceAccessRuleResponse Source #
Arguments
| :: Int | |
| -> DeleteMobileDeviceAccessRuleResponse |
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.