Struct aws_sdk_secretsmanager::operation::list_secret_version_ids::ListSecretVersionIdsInput
source · #[non_exhaustive]pub struct ListSecretVersionIdsInput {
pub secret_id: Option<String>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub include_deprecated: Option<bool>,
}
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 name of the secret whose versions you want to list.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
max_results: Option<i32>
The number of results to include in the response.
If there are more results available, in the response, Secrets Manager includes NextToken
. To get the next results, call ListSecretVersionIds
again with the value from NextToken
.
next_token: Option<String>
A token that indicates where the output should continue from, if a previous call did not show all results. To get the next results, call ListSecretVersionIds
again with this value.
include_deprecated: Option<bool>
Specifies whether to include versions of secrets that don't have any staging labels attached to them. Versions without staging labels are considered deprecated and are subject to deletion by Secrets Manager. By default, versions without staging labels aren't included.
Implementations§
source§impl ListSecretVersionIdsInput
impl ListSecretVersionIdsInput
sourcepub fn secret_id(&self) -> Option<&str>
pub fn secret_id(&self) -> Option<&str>
The ARN or name of the secret whose versions you want to list.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The number of results to include in the response.
If there are more results available, in the response, Secrets Manager includes NextToken
. To get the next results, call ListSecretVersionIds
again with the value from NextToken
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token that indicates where the output should continue from, if a previous call did not show all results. To get the next results, call ListSecretVersionIds
again with this value.
sourcepub fn include_deprecated(&self) -> Option<bool>
pub fn include_deprecated(&self) -> Option<bool>
Specifies whether to include versions of secrets that don't have any staging labels attached to them. Versions without staging labels are considered deprecated and are subject to deletion by Secrets Manager. By default, versions without staging labels aren't included.
source§impl ListSecretVersionIdsInput
impl ListSecretVersionIdsInput
sourcepub fn builder() -> ListSecretVersionIdsInputBuilder
pub fn builder() -> ListSecretVersionIdsInputBuilder
Creates a new builder-style object to manufacture ListSecretVersionIdsInput
.
Trait Implementations§
source§impl Clone for ListSecretVersionIdsInput
impl Clone for ListSecretVersionIdsInput
source§fn clone(&self) -> ListSecretVersionIdsInput
fn clone(&self) -> ListSecretVersionIdsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListSecretVersionIdsInput
impl Debug for ListSecretVersionIdsInput
impl StructuralPartialEq for ListSecretVersionIdsInput
Auto Trait Implementations§
impl Freeze for ListSecretVersionIdsInput
impl RefUnwindSafe for ListSecretVersionIdsInput
impl Send for ListSecretVersionIdsInput
impl Sync for ListSecretVersionIdsInput
impl Unpin for ListSecretVersionIdsInput
impl UnwindSafe for ListSecretVersionIdsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)