Struct aws_sdk_iam::input::SetDefaultPolicyVersionInput [−][src]
#[non_exhaustive]pub struct SetDefaultPolicyVersionInput {
pub policy_arn: Option<String>,
pub version_id: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.policy_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
version_id: Option<String>
The version of the policy to set as the default (operative) version.
For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetDefaultPolicyVersion, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetDefaultPolicyVersion, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SetDefaultPolicyVersion
>
Creates a new builder-style object to manufacture SetDefaultPolicyVersionInput
The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
The version of the policy to set as the default (operative) version.
For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for SetDefaultPolicyVersionInput
impl Sync for SetDefaultPolicyVersionInput
impl Unpin for SetDefaultPolicyVersionInput
impl UnwindSafe for SetDefaultPolicyVersionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more