aws_sdk_ec2/client/describe_account_attributes.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 [`DescribeAccountAttributes`](crate::operation::describe_account_attributes::builders::DescribeAccountAttributesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dry_run(bool)`](crate::operation::describe_account_attributes::builders::DescribeAccountAttributesFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_account_attributes::builders::DescribeAccountAttributesFluentBuilder::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>
7 /// - [`attribute_names(AccountAttributeName)`](crate::operation::describe_account_attributes::builders::DescribeAccountAttributesFluentBuilder::attribute_names) / [`set_attribute_names(Option<Vec::<AccountAttributeName>>)`](crate::operation::describe_account_attributes::builders::DescribeAccountAttributesFluentBuilder::set_attribute_names):<br>required: **false**<br><p>The account attribute names.</p><br>
8 /// - On success, responds with [`DescribeAccountAttributesOutput`](crate::operation::describe_account_attributes::DescribeAccountAttributesOutput) with field(s):
9 /// - [`account_attributes(Option<Vec::<AccountAttribute>>)`](crate::operation::describe_account_attributes::DescribeAccountAttributesOutput::account_attributes): <p>Information about the account attributes.</p>
10 /// - On failure, responds with [`SdkError<DescribeAccountAttributesError>`](crate::operation::describe_account_attributes::DescribeAccountAttributesError)
11 pub fn describe_account_attributes(&self) -> crate::operation::describe_account_attributes::builders::DescribeAccountAttributesFluentBuilder {
12 crate::operation::describe_account_attributes::builders::DescribeAccountAttributesFluentBuilder::new(self.handle.clone())
13 }
14}