Struct aws_sdk_iam::input::DeletePolicyVersionInput [−][src]
#[non_exhaustive]pub struct DeletePolicyVersionInput {
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 from which you want to delete a version.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
version_id: Option<String>
The policy version to delete.
This parameter allows (through its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.
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<DeletePolicyVersion, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeletePolicyVersion, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeletePolicyVersion
>
Creates a new builder-style object to manufacture DeletePolicyVersionInput
The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
The policy version to delete.
This parameter allows (through its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.
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 RefUnwindSafe for DeletePolicyVersionInput
impl Send for DeletePolicyVersionInput
impl Sync for DeletePolicyVersionInput
impl Unpin for DeletePolicyVersionInput
impl UnwindSafe for DeletePolicyVersionInput
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