#[non_exhaustive]pub struct UpdateIamPolicyAssignmentInput { /* private fields */ }Implementations§
source§impl UpdateIamPolicyAssignmentInput
impl UpdateIamPolicyAssignmentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateIAMPolicyAssignment, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateIAMPolicyAssignment, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateIAMPolicyAssignment>
Examples found in repository?
14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateIAMPolicyAssignment,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateIAMPolicyAssignmentError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateIamPolicyAssignmentOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateIAMPolicyAssignmentError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateIamPolicyAssignmentInput.
source§impl UpdateIamPolicyAssignmentInput
impl UpdateIamPolicyAssignmentInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that contains the IAM policy assignment.
sourcepub fn assignment_name(&self) -> Option<&str>
pub fn assignment_name(&self) -> Option<&str>
The name of the assignment, also called a rule. This name must be unique within an Amazon Web Services account.
sourcepub fn assignment_status(&self) -> Option<&AssignmentStatus>
pub fn assignment_status(&self) -> Option<&AssignmentStatus>
The status of the assignment. Possible values are as follows:
-
ENABLED- Anything specified in this assignment is used when creating the data source. -
DISABLED- This assignment isn't used when creating the data source. -
DRAFT- This assignment is an unfinished draft and isn't used when creating the data source.
sourcepub fn policy_arn(&self) -> Option<&str>
pub fn policy_arn(&self) -> Option<&str>
The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
Trait Implementations§
source§impl Clone for UpdateIamPolicyAssignmentInput
impl Clone for UpdateIamPolicyAssignmentInput
source§fn clone(&self) -> UpdateIamPolicyAssignmentInput
fn clone(&self) -> UpdateIamPolicyAssignmentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more