pub struct DescribeVpcEndpointServices { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeVpcEndpointServices
.
Describes available services to which you can create a VPC endpoint.
When the service provider and the consumer have different accounts in multiple Availability Zones, and the consumer views the VPC endpoint service information, the response only includes the common Availability Zones. For example, when the service provider account uses us-east-1a
and us-east-1c
and the consumer uses us-east-1a
and us-east-1b
, the response includes the VPC endpoint services in the common Availability Zone, us-east-1a
.
Implementations§
source§impl DescribeVpcEndpointServices
impl DescribeVpcEndpointServices
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeVpcEndpointServices, AwsResponseRetryClassifier>, SdkError<DescribeVpcEndpointServicesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeVpcEndpointServices, AwsResponseRetryClassifier>, SdkError<DescribeVpcEndpointServicesError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeVpcEndpointServicesOutput, SdkError<DescribeVpcEndpointServicesError>>
pub async fn send(
self
) -> Result<DescribeVpcEndpointServicesOutput, SdkError<DescribeVpcEndpointServicesError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
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 DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
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 DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn service_names(self, input: impl Into<String>) -> Self
pub fn service_names(self, input: impl Into<String>) -> Self
Appends an item to ServiceNames
.
To override the contents of this collection use set_service_names
.
The service names.
sourcepub fn set_service_names(self, input: Option<Vec<String>>) -> Self
pub fn set_service_names(self, input: Option<Vec<String>>) -> Self
The service names.
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
The filters.
-
owner
- The ID or alias of the Amazon Web Services account that owns the service. -
service-name
- The name of the service. -
service-type
- The type of service (Interface
|Gateway
|GatewayLoadBalancer
). -
supported-ip-address-types
- The IP address type (ipv4
|ipv6
). -
tag
:- 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 Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- 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.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
The filters.
-
owner
- The ID or alias of the Amazon Web Services account that owns the service. -
service-name
- The name of the service. -
service-type
- The type of service (Interface
|Gateway
|GatewayLoadBalancer
). -
supported-ip-address-types
- The IP address type (ipv4
|ipv6
). -
tag
:- 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 Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value. -
tag-key
- 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.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value is greater than 1,000, we return only 1,000 items.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value is greater than 1,000, we return only 1,000 items.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of items to return. (You received this token from a prior call.)
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of items to return. (You received this token from a prior call.)
Trait Implementations§
source§impl Clone for DescribeVpcEndpointServices
impl Clone for DescribeVpcEndpointServices
source§fn clone(&self) -> DescribeVpcEndpointServices
fn clone(&self) -> DescribeVpcEndpointServices
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more