aws_sdk_ec2/client/get_vpc_resources_blocking_encryption_enforcement.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 [`GetVpcResourcesBlockingEncryptionEnforcement`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::builders::GetVpcResourcesBlockingEncryptionEnforcementFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`vpc_id(impl Into<String>)`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::builders::GetVpcResourcesBlockingEncryptionEnforcementFluentBuilder::vpc_id) / [`set_vpc_id(Option<String>)`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::builders::GetVpcResourcesBlockingEncryptionEnforcementFluentBuilder::set_vpc_id):<br>required: **true**<br><p>The ID of the VPC to check for resources blocking encryption enforcement.</p><br>
7 /// - [`max_results(i32)`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::builders::GetVpcResourcesBlockingEncryptionEnforcementFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::builders::GetVpcResourcesBlockingEncryptionEnforcementFluentBuilder::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>
8 /// - [`next_token(impl Into<String>)`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::builders::GetVpcResourcesBlockingEncryptionEnforcementFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::builders::GetVpcResourcesBlockingEncryptionEnforcementFluentBuilder::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>
9 /// - [`dry_run(bool)`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::builders::GetVpcResourcesBlockingEncryptionEnforcementFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::builders::GetVpcResourcesBlockingEncryptionEnforcementFluentBuilder::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>
10 /// - On success, responds with [`GetVpcResourcesBlockingEncryptionEnforcementOutput`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementOutput) with field(s):
11 /// - [`non_compliant_resources(Option<Vec::<VpcEncryptionNonCompliantResource>>)`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementOutput::non_compliant_resources): <p>Information about resources that are blocking encryption enforcement.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementOutput::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>
13 /// - On failure, responds with [`SdkError<GetVpcResourcesBlockingEncryptionEnforcementError>`](crate::operation::get_vpc_resources_blocking_encryption_enforcement::GetVpcResourcesBlockingEncryptionEnforcementError)
14 pub fn get_vpc_resources_blocking_encryption_enforcement(
15 &self,
16 ) -> crate::operation::get_vpc_resources_blocking_encryption_enforcement::builders::GetVpcResourcesBlockingEncryptionEnforcementFluentBuilder
17 {
18 crate::operation::get_vpc_resources_blocking_encryption_enforcement::builders::GetVpcResourcesBlockingEncryptionEnforcementFluentBuilder::new(
19 self.handle.clone(),
20 )
21 }
22}