1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAuthorizationToken`](crate::operation::get_authorization_token::builders::GetAuthorizationTokenFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`registry_ids(impl Into<String>)`](crate::operation::get_authorization_token::builders::GetAuthorizationTokenFluentBuilder::registry_ids) / [`set_registry_ids(Option<Vec::<String>>)`](crate::operation::get_authorization_token::builders::GetAuthorizationTokenFluentBuilder::set_registry_ids):<br>required: **false**<br><p>A list of Amazon Web Services account IDs that are associated with the registries for which to get AuthorizationData objects. If you do not specify a registry, the default registry is assumed.</p><br>
    /// - On success, responds with [`GetAuthorizationTokenOutput`](crate::operation::get_authorization_token::GetAuthorizationTokenOutput) with field(s):
    ///   - [`authorization_data(Option<Vec::<AuthorizationData>>)`](crate::operation::get_authorization_token::GetAuthorizationTokenOutput::authorization_data): <p>A list of authorization token data objects that correspond to the <code>registryIds</code> values in the request.</p>
    /// - On failure, responds with [`SdkError<GetAuthorizationTokenError>`](crate::operation::get_authorization_token::GetAuthorizationTokenError)
    pub fn get_authorization_token(&self) -> crate::operation::get_authorization_token::builders::GetAuthorizationTokenFluentBuilder {
        crate::operation::get_authorization_token::builders::GetAuthorizationTokenFluentBuilder::new(self.handle.clone())
    }
}