aws-sdk-ec2 1.236.0

AWS SDK for Amazon Elastic Compute Cloud
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeAccountVpcEncryptionControl`](crate::operation::describe_account_vpc_encryption_control::builders::DescribeAccountVpcEncryptionControlFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::describe_account_vpc_encryption_control::builders::DescribeAccountVpcEncryptionControlFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_account_vpc_encryption_control::builders::DescribeAccountVpcEncryptionControlFluentBuilder::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>
    /// - On success, responds with [`DescribeAccountVpcEncryptionControlOutput`](crate::operation::describe_account_vpc_encryption_control::DescribeAccountVpcEncryptionControlOutput) with field(s):
    ///   - [`account_vpc_encryption_control(Option<AccountVpcEncryptionControl>)`](crate::operation::describe_account_vpc_encryption_control::DescribeAccountVpcEncryptionControlOutput::account_vpc_encryption_control): <p>Information about the account-level VPC Encryption Control configuration.</p>
    /// - On failure, responds with [`SdkError<DescribeAccountVpcEncryptionControlError>`](crate::operation::describe_account_vpc_encryption_control::DescribeAccountVpcEncryptionControlError)
    pub fn describe_account_vpc_encryption_control(
        &self,
    ) -> crate::operation::describe_account_vpc_encryption_control::builders::DescribeAccountVpcEncryptionControlFluentBuilder {
        crate::operation::describe_account_vpc_encryption_control::builders::DescribeAccountVpcEncryptionControlFluentBuilder::new(
            self.handle.clone(),
        )
    }
}