1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribePrincipalIdFormat`](crate::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    ///   - [`resources(impl Into<String>)`](crate::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatFluentBuilder::resources) / [`set_resources(Option<Vec::<String>>)`](crate::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatFluentBuilder::set_resources):<br>required: **false**<br><p>The type of resource: <code>bundle</code> | <code>conversion-task</code> | <code>customer-gateway</code> | <code>dhcp-options</code> | <code>elastic-ip-allocation</code> | <code>elastic-ip-association</code> | <code>export-task</code> | <code>flow-log</code> | <code>image</code> | <code>import-task</code> | <code>instance</code> | <code>internet-gateway</code> | <code>network-acl</code> | <code>network-acl-association</code> | <code>network-interface</code> | <code>network-interface-attachment</code> | <code>prefix-list</code> | <code>reservation</code> | <code>route-table</code> | <code>route-table-association</code> | <code>security-group</code> | <code>snapshot</code> | <code>subnet</code> | <code>subnet-cidr-block-association</code> | <code>volume</code> | <code>vpc</code> | <code>vpc-cidr-block-association</code> | <code>vpc-endpoint</code> | <code>vpc-peering-connection</code> | <code>vpn-connection</code> | <code>vpn-gateway</code></p><br>
    ///   - [`max_results(i32)`](crate::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to request the next page of results.</p><br>
    /// - On success, responds with [`DescribePrincipalIdFormatOutput`](crate::operation::describe_principal_id_format::DescribePrincipalIdFormatOutput) with field(s):
    ///   - [`principals(Option<Vec::<PrincipalIdFormat>>)`](crate::operation::describe_principal_id_format::DescribePrincipalIdFormatOutput::principals): <p>Information about the ID format settings for the ARN.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_principal_id_format::DescribePrincipalIdFormatOutput::next_token): <p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>
    /// - On failure, responds with [`SdkError<DescribePrincipalIdFormatError>`](crate::operation::describe_principal_id_format::DescribePrincipalIdFormatError)
    pub fn describe_principal_id_format(&self) -> crate::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatFluentBuilder {
        crate::operation::describe_principal_id_format::builders::DescribePrincipalIdFormatFluentBuilder::new(self.handle.clone())
    }
}