pub struct DescribeIAMPolicyAssignment { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeIAMPolicyAssignment.
Describes an existing IAM policy assignment, as specified by the assignment name.
Implementations§
source§impl DescribeIAMPolicyAssignment
impl DescribeIAMPolicyAssignment
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeIAMPolicyAssignment, AwsResponseRetryClassifier>, SdkError<DescribeIAMPolicyAssignmentError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeIAMPolicyAssignment, AwsResponseRetryClassifier>, SdkError<DescribeIAMPolicyAssignmentError>>
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<DescribeIamPolicyAssignmentOutput, SdkError<DescribeIAMPolicyAssignmentError>>
pub async fn send(
self
) -> Result<DescribeIamPolicyAssignmentOutput, SdkError<DescribeIAMPolicyAssignmentError>>
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 aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that contains the assignment that you want to describe.
sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that contains the assignment that you want to describe.
sourcepub fn assignment_name(self, input: impl Into<String>) -> Self
pub fn assignment_name(self, input: impl Into<String>) -> Self
The name of the assignment, also called a rule.
sourcepub fn set_assignment_name(self, input: Option<String>) -> Self
pub fn set_assignment_name(self, input: Option<String>) -> Self
The name of the assignment, also called a rule.
sourcepub fn namespace(self, input: impl Into<String>) -> Self
pub fn namespace(self, input: impl Into<String>) -> Self
The namespace that contains the assignment.
sourcepub fn set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
The namespace that contains the assignment.
Trait Implementations§
source§impl Clone for DescribeIAMPolicyAssignment
impl Clone for DescribeIAMPolicyAssignment
source§fn clone(&self) -> DescribeIAMPolicyAssignment
fn clone(&self) -> DescribeIAMPolicyAssignment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more