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 |
Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, or user ID.
Synopsis
- data GetAccessControlEffect = GetAccessControlEffect' {}
- newGetAccessControlEffect :: Text -> Text -> Text -> Text -> GetAccessControlEffect
- getAccessControlEffect_organizationId :: Lens' GetAccessControlEffect Text
- getAccessControlEffect_ipAddress :: Lens' GetAccessControlEffect Text
- getAccessControlEffect_action :: Lens' GetAccessControlEffect Text
- getAccessControlEffect_userId :: 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.
Instances
newGetAccessControlEffect Source #
:: Text | |
-> 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:
$sel:organizationId:GetAccessControlEffect'
, getAccessControlEffect_organizationId
- The identifier for the organization.
$sel:ipAddress:GetAccessControlEffect'
, getAccessControlEffect_ipAddress
- The IPv4 address.
$sel:action:GetAccessControlEffect'
, getAccessControlEffect_action
- The access protocol action. Valid values include ActiveSync
,
AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
, and WebMail
.
$sel:userId:GetAccessControlEffect'
, getAccessControlEffect_userId
- The user ID.
Request Lenses
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
.
getAccessControlEffect_userId :: Lens' GetAccessControlEffect Text Source #
The user ID.
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:
$sel:effect: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.