#[non_exhaustive]pub struct UpdateSecretVersionStageInput {
pub secret_id: Option<String>,
pub version_stage: Option<String>,
pub remove_from_version_id: Option<String>,
pub move_to_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.secret_id: Option<String>
The ARN or the name of the secret with the version and staging labelsto modify.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
version_stage: Option<String>
The staging label to add to this version.
remove_from_version_id: Option<String>
The ID of the version that the staging label is to be removed from. If the staging label you are trying to attach to one version is already attached to a different version, then you must include this parameter and specify the version that the label is to be removed from. If the label is attached and you either do not specify this parameter, or the version ID does not match, then the operation fails.
move_to_version_id: Option<String>
The ID of the version to add the staging label to. To remove a label from a version, then do not specify this parameter.
If the staging label is already attached to a different version of the secret, then you must also specify the RemoveFromVersionId
parameter.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateSecretVersionStage, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateSecretVersionStage, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateSecretVersionStage
>
Creates a new builder-style object to manufacture UpdateSecretVersionStageInput
The ARN or the name of the secret with the version and staging labelsto modify.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
The staging label to add to this version.
The ID of the version that the staging label is to be removed from. If the staging label you are trying to attach to one version is already attached to a different version, then you must include this parameter and specify the version that the label is to be removed from. If the label is attached and you either do not specify this parameter, or the version ID does not match, then the operation fails.
The ID of the version to add the staging label to. To remove a label from a version, then do not specify this parameter.
If the staging label is already attached to a different version of the secret, then you must also specify the RemoveFromVersionId
parameter.
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 UpdateSecretVersionStageInput
impl Sync for UpdateSecretVersionStageInput
impl Unpin for UpdateSecretVersionStageInput
impl UnwindSafe for UpdateSecretVersionStageInput
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