1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListPublicKeys`](crate::operation::list_public_keys::builders::ListPublicKeysFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_public_keys::builders::ListPublicKeysFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`start_time(DateTime)`](crate::operation::list_public_keys::builders::ListPublicKeysFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::list_public_keys::builders::ListPublicKeysFluentBuilder::set_start_time):<br>required: **false**<br><p>Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.</p><br>
    ///   - [`end_time(DateTime)`](crate::operation::list_public_keys::builders::ListPublicKeysFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::list_public_keys::builders::ListPublicKeysFluentBuilder::set_end_time):<br>required: **false**<br><p>Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_public_keys::builders::ListPublicKeysFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_public_keys::builders::ListPublicKeysFluentBuilder::set_next_token):<br>required: **false**<br><p>Reserved for future use.</p><br>
    /// - On success, responds with [`ListPublicKeysOutput`](crate::operation::list_public_keys::ListPublicKeysOutput) with field(s):
    ///   - [`public_key_list(Option<Vec::<PublicKey>>)`](crate::operation::list_public_keys::ListPublicKeysOutput::public_key_list): <p>Contains an array of PublicKey objects.</p><note>  <p>The returned public keys may have validity time ranges that overlap.</p> </note>
    ///   - [`next_token(Option<String>)`](crate::operation::list_public_keys::ListPublicKeysOutput::next_token): <p>Reserved for future use.</p>
    /// - On failure, responds with [`SdkError<ListPublicKeysError>`](crate::operation::list_public_keys::ListPublicKeysError)
    pub fn list_public_keys(&self) -> crate::operation::list_public_keys::builders::ListPublicKeysFluentBuilder {
        crate::operation::list_public_keys::builders::ListPublicKeysFluentBuilder::new(self.handle.clone())
    }
}