aws_sdk_ec2/client/
describe_identity_id_format.rs

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