Struct aws_sdk_accessanalyzer::operation::check_access_not_granted::builders::CheckAccessNotGrantedFluentBuilder
source · pub struct CheckAccessNotGrantedFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CheckAccessNotGranted.
Checks whether the specified access isn't allowed by a policy.
Implementations§
source§impl CheckAccessNotGrantedFluentBuilder
impl CheckAccessNotGrantedFluentBuilder
sourcepub fn as_input(&self) -> &CheckAccessNotGrantedInputBuilder
pub fn as_input(&self) -> &CheckAccessNotGrantedInputBuilder
Access the CheckAccessNotGranted as a reference.
sourcepub async fn send(
self
) -> Result<CheckAccessNotGrantedOutput, SdkError<CheckAccessNotGrantedError, HttpResponse>>
pub async fn send( self ) -> Result<CheckAccessNotGrantedOutput, SdkError<CheckAccessNotGrantedError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CheckAccessNotGrantedOutput, CheckAccessNotGrantedError, Self>
pub fn customize( self ) -> CustomizableOperation<CheckAccessNotGrantedOutput, CheckAccessNotGrantedError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn policy_document(self, input: impl Into<String>) -> Self
pub fn policy_document(self, input: impl Into<String>) -> Self
The JSON policy document to use as the content for the policy.
sourcepub fn set_policy_document(self, input: Option<String>) -> Self
pub fn set_policy_document(self, input: Option<String>) -> Self
The JSON policy document to use as the content for the policy.
sourcepub fn get_policy_document(&self) -> &Option<String>
pub fn get_policy_document(&self) -> &Option<String>
The JSON policy document to use as the content for the policy.
sourcepub fn access(self, input: Access) -> Self
pub fn access(self, input: Access) -> Self
Appends an item to access.
To override the contents of this collection use set_access.
An access object containing the permissions that shouldn't be granted by the specified policy.
sourcepub fn set_access(self, input: Option<Vec<Access>>) -> Self
pub fn set_access(self, input: Option<Vec<Access>>) -> Self
An access object containing the permissions that shouldn't be granted by the specified policy.
sourcepub fn get_access(&self) -> &Option<Vec<Access>>
pub fn get_access(&self) -> &Option<Vec<Access>>
An access object containing the permissions that shouldn't be granted by the specified policy.
sourcepub fn policy_type(self, input: AccessCheckPolicyType) -> Self
pub fn policy_type(self, input: AccessCheckPolicyType) -> Self
The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
sourcepub fn set_policy_type(self, input: Option<AccessCheckPolicyType>) -> Self
pub fn set_policy_type(self, input: Option<AccessCheckPolicyType>) -> Self
The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
sourcepub fn get_policy_type(&self) -> &Option<AccessCheckPolicyType>
pub fn get_policy_type(&self) -> &Option<AccessCheckPolicyType>
The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups.
Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy.
Trait Implementations§
source§impl Clone for CheckAccessNotGrantedFluentBuilder
impl Clone for CheckAccessNotGrantedFluentBuilder
source§fn clone(&self) -> CheckAccessNotGrantedFluentBuilder
fn clone(&self) -> CheckAccessNotGrantedFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more