Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
.
This operation returns paginated results.
Synopsis
- data DescribeVpcEndpointServices = DescribeVpcEndpointServices' {}
- newDescribeVpcEndpointServices :: DescribeVpcEndpointServices
- describeVpcEndpointServices_dryRun :: Lens' DescribeVpcEndpointServices (Maybe Bool)
- describeVpcEndpointServices_filters :: Lens' DescribeVpcEndpointServices (Maybe [Filter])
- describeVpcEndpointServices_maxResults :: Lens' DescribeVpcEndpointServices (Maybe Int)
- describeVpcEndpointServices_nextToken :: Lens' DescribeVpcEndpointServices (Maybe Text)
- describeVpcEndpointServices_serviceNames :: Lens' DescribeVpcEndpointServices (Maybe [Text])
- data DescribeVpcEndpointServicesResponse = DescribeVpcEndpointServicesResponse' {
- nextToken :: Maybe Text
- serviceDetails :: Maybe [ServiceDetail]
- serviceNames :: Maybe [Text]
- httpStatus :: Int
- newDescribeVpcEndpointServicesResponse :: Int -> DescribeVpcEndpointServicesResponse
- describeVpcEndpointServicesResponse_nextToken :: Lens' DescribeVpcEndpointServicesResponse (Maybe Text)
- describeVpcEndpointServicesResponse_serviceDetails :: Lens' DescribeVpcEndpointServicesResponse (Maybe [ServiceDetail])
- describeVpcEndpointServicesResponse_serviceNames :: Lens' DescribeVpcEndpointServicesResponse (Maybe [Text])
- describeVpcEndpointServicesResponse_httpStatus :: Lens' DescribeVpcEndpointServicesResponse Int
Creating a Request
data DescribeVpcEndpointServices Source #
Contains the parameters for DescribeVpcEndpointServices.
See: newDescribeVpcEndpointServices
smart constructor.
DescribeVpcEndpointServices' | |
|
Instances
newDescribeVpcEndpointServices :: DescribeVpcEndpointServices Source #
Create a value of DescribeVpcEndpointServices
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:DescribeVpcEndpointServices'
, describeVpcEndpointServices_dryRun
- 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
.
$sel:filters:DescribeVpcEndpointServices'
, describeVpcEndpointServices_filters
- One or more 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
:<key> - 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 keyOwner
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.
$sel:maxResults:DescribeVpcEndpointServices'
, describeVpcEndpointServices_maxResults
- 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.
DescribeVpcEndpointServices
, describeVpcEndpointServices_nextToken
- The token for the next set of items to return. (You received this token
from a prior call.)
DescribeVpcEndpointServices
, describeVpcEndpointServices_serviceNames
- One or more service names.
Request Lenses
describeVpcEndpointServices_dryRun :: Lens' DescribeVpcEndpointServices (Maybe Bool) Source #
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
.
describeVpcEndpointServices_filters :: Lens' DescribeVpcEndpointServices (Maybe [Filter]) Source #
One or more 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
:<key> - 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 keyOwner
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.
describeVpcEndpointServices_maxResults :: Lens' DescribeVpcEndpointServices (Maybe Int) Source #
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.
describeVpcEndpointServices_nextToken :: Lens' DescribeVpcEndpointServices (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a prior call.)
describeVpcEndpointServices_serviceNames :: Lens' DescribeVpcEndpointServices (Maybe [Text]) Source #
One or more service names.
Destructuring the Response
data DescribeVpcEndpointServicesResponse Source #
Contains the output of DescribeVpcEndpointServices.
See: newDescribeVpcEndpointServicesResponse
smart constructor.
DescribeVpcEndpointServicesResponse' | |
|
Instances
newDescribeVpcEndpointServicesResponse Source #
Create a value of DescribeVpcEndpointServicesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeVpcEndpointServices
, describeVpcEndpointServicesResponse_nextToken
- The token to use when requesting the next set of items. If there are no
additional items to return, the string is empty.
$sel:serviceDetails:DescribeVpcEndpointServicesResponse'
, describeVpcEndpointServicesResponse_serviceDetails
- Information about the service.
DescribeVpcEndpointServices
, describeVpcEndpointServicesResponse_serviceNames
- A list of supported services.
$sel:httpStatus:DescribeVpcEndpointServicesResponse'
, describeVpcEndpointServicesResponse_httpStatus
- The response's http status code.
Response Lenses
describeVpcEndpointServicesResponse_nextToken :: Lens' DescribeVpcEndpointServicesResponse (Maybe Text) Source #
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
describeVpcEndpointServicesResponse_serviceDetails :: Lens' DescribeVpcEndpointServicesResponse (Maybe [ServiceDetail]) Source #
Information about the service.
describeVpcEndpointServicesResponse_serviceNames :: Lens' DescribeVpcEndpointServicesResponse (Maybe [Text]) Source #
A list of supported services.
describeVpcEndpointServicesResponse_httpStatus :: Lens' DescribeVpcEndpointServicesResponse Int Source #
The response's http status code.