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 |
Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.
Synopsis
- data GetAccessControlEffect = GetAccessControlEffect' {}
- newGetAccessControlEffect :: Text -> Text -> Text -> GetAccessControlEffect
- getAccessControlEffect_impersonationRoleId :: Lens' GetAccessControlEffect (Maybe Text)
- getAccessControlEffect_userId :: Lens' GetAccessControlEffect (Maybe Text)
- getAccessControlEffect_organizationId :: Lens' GetAccessControlEffect Text
- getAccessControlEffect_ipAddress :: Lens' GetAccessControlEffect Text
- getAccessControlEffect_action :: Lens' GetAccessControlEffect Text
- data GetAccessControlEffectResponse = GetAccessControlEffectResponse' {}
- newGetAccessControlEffectResponse :: Int -> GetAccessControlEffectResponse
- getAccessControlEffectResponse_effect :: Lens' GetAccessControlEffectResponse (Maybe AccessControlRuleEffect)
- getAccessControlEffectResponse_matchedRules :: Lens' GetAccessControlEffectResponse (Maybe [Text])
- getAccessControlEffectResponse_httpStatus :: Lens' GetAccessControlEffectResponse Int
Creating a Request
data GetAccessControlEffect Source #
See: newGetAccessControlEffect
smart constructor.
GetAccessControlEffect' | |
|
Instances
newGetAccessControlEffect Source #
:: Text | |
-> Text | |
-> Text | |
-> GetAccessControlEffect |
Create a value of GetAccessControlEffect
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:
GetAccessControlEffect
, getAccessControlEffect_impersonationRoleId
- The impersonation role ID.
GetAccessControlEffect
, getAccessControlEffect_userId
- The user ID.
GetAccessControlEffect
, getAccessControlEffect_organizationId
- The identifier for the organization.
$sel:ipAddress:GetAccessControlEffect'
, getAccessControlEffect_ipAddress
- The IPv4 address.
GetAccessControlEffect
, getAccessControlEffect_action
- The access protocol action. Valid values include ActiveSync
,
AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
, and WebMail
.
Request Lenses
getAccessControlEffect_impersonationRoleId :: Lens' GetAccessControlEffect (Maybe Text) Source #
The impersonation role ID.
getAccessControlEffect_userId :: Lens' GetAccessControlEffect (Maybe Text) Source #
The user ID.
getAccessControlEffect_organizationId :: Lens' GetAccessControlEffect Text Source #
The identifier for the organization.
getAccessControlEffect_ipAddress :: Lens' GetAccessControlEffect Text Source #
The IPv4 address.
getAccessControlEffect_action :: Lens' GetAccessControlEffect Text Source #
The access protocol action. Valid values include ActiveSync
,
AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
, and WebMail
.
Destructuring the Response
data GetAccessControlEffectResponse Source #
See: newGetAccessControlEffectResponse
smart constructor.
GetAccessControlEffectResponse' | |
|
Instances
newGetAccessControlEffectResponse Source #
Create a value of GetAccessControlEffectResponse
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:
GetAccessControlEffectResponse
, getAccessControlEffectResponse_effect
- The rule effect.
$sel:matchedRules:GetAccessControlEffectResponse'
, getAccessControlEffectResponse_matchedRules
- The rules that match the given parameters, resulting in an effect.
$sel:httpStatus:GetAccessControlEffectResponse'
, getAccessControlEffectResponse_httpStatus
- The response's http status code.
Response Lenses
getAccessControlEffectResponse_effect :: Lens' GetAccessControlEffectResponse (Maybe AccessControlRuleEffect) Source #
The rule effect.
getAccessControlEffectResponse_matchedRules :: Lens' GetAccessControlEffectResponse (Maybe [Text]) Source #
The rules that match the given parameters, resulting in an effect.
getAccessControlEffectResponse_httpStatus :: Lens' GetAccessControlEffectResponse Int Source #
The response's http status code.