// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListKeys`](crate::operation::list_keys::builders::ListKeysFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_keys::builders::ListKeysFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`max_results(i32)`](crate::operation::list_keys::builders::ListKeysFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_keys::builders::ListKeysFluentBuilder::set_max_results):<br>required: **false**<br><p>An optional limit for the number of resources returned in a single call.</p> <p>Default value: <code>100</code></p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_keys::builders::ListKeysFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_keys::builders::ListKeysFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.</p> <p>Default value: <code>null</code></p><br>
/// - [`filter(ApiKeyFilter)`](crate::operation::list_keys::builders::ListKeysFluentBuilder::filter) / [`set_filter(Option<ApiKeyFilter>)`](crate::operation::list_keys::builders::ListKeysFluentBuilder::set_filter):<br>required: **false**<br><p>Optionally filter the list to only <code>Active</code> or <code>Expired</code> API keys.</p><br>
/// - On success, responds with [`ListKeysOutput`](crate::operation::list_keys::ListKeysOutput) with field(s):
/// - [`entries(Vec::<ListKeysResponseEntry>)`](crate::operation::list_keys::ListKeysOutput::entries): <p>Contains API key resources in your Amazon Web Services account. Details include API key name, allowed referers and timestamp for when the API key will expire.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_keys::ListKeysOutput::next_token): <p>A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.</p>
/// - On failure, responds with [`SdkError<ListKeysError>`](crate::operation::list_keys::ListKeysError)
pub fn list_keys(&self) -> crate::operation::list_keys::builders::ListKeysFluentBuilder {
crate::operation::list_keys::builders::ListKeysFluentBuilder::new(self.handle.clone())
}
}