AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetAccessControlEffectAsync.

Namespace: Amazon.WorkMail
Assembly: AWSSDK.WorkMail.dll
Version: 3.x.y.z

Syntax

C#
public virtual GetAccessControlEffectResponse GetAccessControlEffect(
         GetAccessControlEffectRequest request
)

Parameters

request
Type: Amazon.WorkMail.Model.GetAccessControlEffectRequest

Container for the necessary parameters to execute the GetAccessControlEffect service method.

Return Value


The response from the GetAccessControlEffect service method, as returned by WorkMail.

Exceptions

ExceptionCondition
EntityNotFoundException The identifier supplied for the user, group, or resource does not exist in your organization.
InvalidParameterException One or more of the input parameters don't match the service's restrictions.
OrganizationNotFoundException An operation received a valid organization identifier that either doesn't belong or exist in the system.
OrganizationStateException The organization must have a valid state to perform certain operations on the organization or its members.
ResourceNotFoundException The resource cannot be found.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also