aws_sdk_ec2/client/describe_vpc_block_public_access_exclusions.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 [`DescribeVpcBlockPublicAccessExclusions`](crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dry_run(bool)`](crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder::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_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder::set_filters):<br>required: **false**<br><p>Filters for the request:</p> <ul> <li> <p><code>resource-arn</code> - The Amazon Resource Name (ARN) of a exclusion.</p></li> <li> <p><code>internet-gateway-exclusion-mode</code> - The mode of a VPC BPA exclusion. Possible values: <code>allow-bidirectional | allow-egress</code>.</p></li> <li> <p><code>state</code> - The state of VPC BPA. Possible values: <code>create-in-progress | create-complete | update-in-progress | update-complete | delete-in-progress | deleted-complete | disable-in-progress | disable-complete</code></p></li> <li> <p><code>tag</code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p></li> <li> <p><code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p></li> <li> <p><code>tag-value</code>: The value of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific value, regardless of the tag key.</p></li> </ul><br>
8 /// - [`exclusion_ids(impl Into<String>)`](crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder::exclusion_ids) / [`set_exclusion_ids(Option<Vec::<String>>)`](crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder::set_exclusion_ids):<br>required: **false**<br><p>IDs of exclusions.</p><br>
9 /// - [`next_token(impl Into<String>)`](crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder::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>
10 /// - [`max_results(i32)`](crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder::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>
11 /// - On success, responds with [`DescribeVpcBlockPublicAccessExclusionsOutput`](crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsOutput) with field(s):
12 /// - [`vpc_block_public_access_exclusions(Option<Vec::<VpcBlockPublicAccessExclusion>>)`](crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsOutput::vpc_block_public_access_exclusions): <p>Details related to the exclusions.</p>
13 /// - [`next_token(Option<String>)`](crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsOutput::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>
14 /// - On failure, responds with [`SdkError<DescribeVpcBlockPublicAccessExclusionsError>`](crate::operation::describe_vpc_block_public_access_exclusions::DescribeVpcBlockPublicAccessExclusionsError)
15 pub fn describe_vpc_block_public_access_exclusions(
16 &self,
17 ) -> crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder {
18 crate::operation::describe_vpc_block_public_access_exclusions::builders::DescribeVpcBlockPublicAccessExclusionsFluentBuilder::new(
19 self.handle.clone(),
20 )
21 }
22}