aws_sdk_ec2/client/
describe_vpc_encryption_controls.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 [`DescribeVpcEncryptionControls`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`dry_run(bool)`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::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    ///   - [`filters(Filter)`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::set_filters):<br>required: **false**<br><p>The filters to apply to the request.</p><br>
8    ///   - [`vpc_encryption_control_ids(impl Into<String>)`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::vpc_encryption_control_ids) / [`set_vpc_encryption_control_ids(Option<Vec::<String>>)`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::set_vpc_encryption_control_ids):<br>required: **false**<br><p>The IDs of the VPC Encryption Control configurations to describe.</p><br>
9    ///   - [`vpc_ids(impl Into<String>)`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::vpc_ids) / [`set_vpc_ids(Option<Vec::<String>>)`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::set_vpc_ids):<br>required: **false**<br><p>The IDs of the VPCs to describe encryption control configurations for.</p><br>
10    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p><br>
11    ///   - [`max_results(i32)`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p><br>
12    /// - On success, responds with [`DescribeVpcEncryptionControlsOutput`](crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsOutput) with field(s):
13    ///   - [`vpc_encryption_controls(Option<Vec::<VpcEncryptionControl>>)`](crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsOutput::vpc_encryption_controls): <p>Information about the VPC Encryption Control configurations.</p>
14    ///   - [`next_token(Option<String>)`](crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsOutput::next_token): <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
15    /// - On failure, responds with [`SdkError<DescribeVpcEncryptionControlsError>`](crate::operation::describe_vpc_encryption_controls::DescribeVpcEncryptionControlsError)
16    pub fn describe_vpc_encryption_controls(
17        &self,
18    ) -> crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder {
19        crate::operation::describe_vpc_encryption_controls::builders::DescribeVpcEncryptionControlsFluentBuilder::new(self.handle.clone())
20    }
21}