1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeIdentityIdFormat`](crate::operation::describe_identity_id_format::builders::DescribeIdentityIdFormatFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`principal_arn(impl Into<String>)`](crate::operation::describe_identity_id_format::builders::DescribeIdentityIdFormatFluentBuilder::principal_arn) / [`set_principal_arn(Option<String>)`](crate::operation::describe_identity_id_format::builders::DescribeIdentityIdFormatFluentBuilder::set_principal_arn):<br>required: **true**<br><p>The ARN of the principal, which can be an IAM role, IAM user, or the root user.</p><br>
    ///   - [`resource(impl Into<String>)`](crate::operation::describe_identity_id_format::builders::DescribeIdentityIdFormatFluentBuilder::resource) / [`set_resource(Option<String>)`](crate::operation::describe_identity_id_format::builders::DescribeIdentityIdFormatFluentBuilder::set_resource):<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>
    /// - On success, responds with [`DescribeIdentityIdFormatOutput`](crate::operation::describe_identity_id_format::DescribeIdentityIdFormatOutput) with field(s):
    ///   - [`statuses(Option<Vec::<IdFormat>>)`](crate::operation::describe_identity_id_format::DescribeIdentityIdFormatOutput::statuses): <p>Information about the ID format for the resources.</p>
    /// - On failure, responds with [`SdkError<DescribeIdentityIdFormatError>`](crate::operation::describe_identity_id_format::DescribeIdentityIdFormatError)
    pub fn describe_identity_id_format(&self) -> crate::operation::describe_identity_id_format::builders::DescribeIdentityIdFormatFluentBuilder {
        crate::operation::describe_identity_id_format::builders::DescribeIdentityIdFormatFluentBuilder::new(self.handle.clone())
    }
}