pub struct GetAccessControlEffect { /* private fields */ }
Expand description
Fluent builder constructing a request to GetAccessControlEffect
.
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.
Implementations§
source§impl GetAccessControlEffect
impl GetAccessControlEffect
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetAccessControlEffect, AwsResponseRetryClassifier>, SdkError<GetAccessControlEffectError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetAccessControlEffect, AwsResponseRetryClassifier>, SdkError<GetAccessControlEffectError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetAccessControlEffectOutput, SdkError<GetAccessControlEffectError>>
pub async fn send(
self
) -> Result<GetAccessControlEffectOutput, SdkError<GetAccessControlEffectError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The identifier for the organization.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The identifier for the organization.
sourcepub fn ip_address(self, input: impl Into<String>) -> Self
pub fn ip_address(self, input: impl Into<String>) -> Self
The IPv4 address.
sourcepub fn set_ip_address(self, input: Option<String>) -> Self
pub fn set_ip_address(self, input: Option<String>) -> Self
The IPv4 address.
sourcepub fn action(self, input: impl Into<String>) -> Self
pub fn action(self, input: impl Into<String>) -> Self
The access protocol action. Valid values include ActiveSync
, AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
, and WebMail
.
sourcepub fn set_action(self, input: Option<String>) -> Self
pub fn set_action(self, input: Option<String>) -> Self
The access protocol action. Valid values include ActiveSync
, AutoDiscover
, EWS
, IMAP
, SMTP
, WindowsOutlook
, and WebMail
.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The user ID.
sourcepub fn impersonation_role_id(self, input: impl Into<String>) -> Self
pub fn impersonation_role_id(self, input: impl Into<String>) -> Self
The impersonation role ID.
sourcepub fn set_impersonation_role_id(self, input: Option<String>) -> Self
pub fn set_impersonation_role_id(self, input: Option<String>) -> Self
The impersonation role ID.
Trait Implementations§
source§impl Clone for GetAccessControlEffect
impl Clone for GetAccessControlEffect
source§fn clone(&self) -> GetAccessControlEffect
fn clone(&self) -> GetAccessControlEffect
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more