1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::list_access_keys::_list_access_keys_output::ListAccessKeysOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::list_access_keys::_list_access_keys_input::ListAccessKeysInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::list_access_keys::_list_access_keys_output::ListAccessKeysOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::list_access_keys::builders::ListAccessKeysInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::list_access_keys::ListAccessKeysOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::list_access_keys::ListAccessKeysError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.list_access_keys();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `ListAccessKeys`.
|
24 24 | ///
|
25 25 | /// <p>Returns information about the access key IDs associated with the specified IAM user. If there is none, the operation returns an empty list.</p>
|
26 26 | /// <p>Although each user is limited to a small number of keys, you can still paginate the results using the <code>MaxItems</code> and <code>Marker</code> parameters.</p>
|
27 27 | /// <p>If the <code>UserName</code> is not specified, the user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request. If a temporary access key is used, then <code>UserName</code> is required. If a long-term key is assigned to the user, then <code>UserName</code> is not required.</p>
|
28 28 | /// <p>This operation works for access keys under the Amazon Web Services account. If the Amazon Web Services account has no associated users, the root user returns it's own access key IDs by running this command.</p><note>
|
29 29 | /// <p>To ensure the security of your Amazon Web Services account, the secret access key is accessible only during key and user creation.</p>
|
30 30 | /// </note>
|
31 31 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
32 32 | pub struct ListAccessKeysFluentBuilder {
|
33 33 | handle: ::std::sync::Arc<crate::client::Handle>,
|
34 34 | inner: crate::operation::list_access_keys::builders::ListAccessKeysInputBuilder,
|
35 35 | config_override: ::std::option::Option<crate::config::Builder>,
|