1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListSecretVersionIds`](crate::operation::list_secret_version_ids::builders::ListSecretVersionIdsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_secret_version_ids::builders::ListSecretVersionIdsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`secret_id(impl Into<String>)`](crate::operation::list_secret_version_ids::builders::ListSecretVersionIdsFluentBuilder::secret_id) / [`set_secret_id(Option<String>)`](crate::operation::list_secret_version_ids::builders::ListSecretVersionIdsFluentBuilder::set_secret_id):<br>required: **true**<br><p>The ARN or name of the secret whose versions you want to list.</p> <p>For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen">Finding a secret from a partial ARN</a>.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_secret_version_ids::builders::ListSecretVersionIdsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_secret_version_ids::builders::ListSecretVersionIdsFluentBuilder::set_max_results):<br>required: **false**<br><p>The number of results to include in the response.</p> <p>If there are more results available, in the response, Secrets Manager includes <code>NextToken</code>. To get the next results, call <code>ListSecretVersionIds</code> again with the value from <code>NextToken</code>.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_secret_version_ids::builders::ListSecretVersionIdsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_secret_version_ids::builders::ListSecretVersionIdsFluentBuilder::set_next_token):<br>required: **false**<br><p>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 <code>ListSecretVersionIds</code> again with this value.</p><br>
    ///   - [`include_deprecated(bool)`](crate::operation::list_secret_version_ids::builders::ListSecretVersionIdsFluentBuilder::include_deprecated) / [`set_include_deprecated(Option<bool>)`](crate::operation::list_secret_version_ids::builders::ListSecretVersionIdsFluentBuilder::set_include_deprecated):<br>required: **false**<br><p>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.</p><br>
    /// - On success, responds with [`ListSecretVersionIdsOutput`](crate::operation::list_secret_version_ids::ListSecretVersionIdsOutput) with field(s):
    ///   - [`versions(Option<Vec::<SecretVersionsListEntry>>)`](crate::operation::list_secret_version_ids::ListSecretVersionIdsOutput::versions): <p>A list of the versions of the secret.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_secret_version_ids::ListSecretVersionIdsOutput::next_token): <p>Secrets Manager includes this value if there's more output available than what is included in the current response. This can occur even when the response includes no values at all, such as when you ask for a filtered view of a long list. To get the next results, call <code>ListSecretVersionIds</code> again with this value.</p>
    ///   - [`arn(Option<String>)`](crate::operation::list_secret_version_ids::ListSecretVersionIdsOutput::arn): <p>The ARN of the secret.</p>
    ///   - [`name(Option<String>)`](crate::operation::list_secret_version_ids::ListSecretVersionIdsOutput::name): <p>The name of the secret.</p>
    /// - On failure, responds with [`SdkError<ListSecretVersionIdsError>`](crate::operation::list_secret_version_ids::ListSecretVersionIdsError)
    pub fn list_secret_version_ids(&self) -> crate::operation::list_secret_version_ids::builders::ListSecretVersionIdsFluentBuilder {
        crate::operation::list_secret_version_ids::builders::ListSecretVersionIdsFluentBuilder::new(self.handle.clone())
    }
}