| 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 |
Amazonka.EC2.DescribeVpcEndpointServicePermissions
Description
Describes the principals (service consumers) that are permitted to discover your VPC endpoint service.
This operation returns paginated results.
Synopsis
- data DescribeVpcEndpointServicePermissions = DescribeVpcEndpointServicePermissions' {}
- newDescribeVpcEndpointServicePermissions :: Text -> DescribeVpcEndpointServicePermissions
- describeVpcEndpointServicePermissions_dryRun :: Lens' DescribeVpcEndpointServicePermissions (Maybe Bool)
- describeVpcEndpointServicePermissions_filters :: Lens' DescribeVpcEndpointServicePermissions (Maybe [Filter])
- describeVpcEndpointServicePermissions_maxResults :: Lens' DescribeVpcEndpointServicePermissions (Maybe Int)
- describeVpcEndpointServicePermissions_nextToken :: Lens' DescribeVpcEndpointServicePermissions (Maybe Text)
- describeVpcEndpointServicePermissions_serviceId :: Lens' DescribeVpcEndpointServicePermissions Text
- data DescribeVpcEndpointServicePermissionsResponse = DescribeVpcEndpointServicePermissionsResponse' {}
- newDescribeVpcEndpointServicePermissionsResponse :: Int -> DescribeVpcEndpointServicePermissionsResponse
- describeVpcEndpointServicePermissionsResponse_allowedPrincipals :: Lens' DescribeVpcEndpointServicePermissionsResponse (Maybe [AllowedPrincipal])
- describeVpcEndpointServicePermissionsResponse_nextToken :: Lens' DescribeVpcEndpointServicePermissionsResponse (Maybe Text)
- describeVpcEndpointServicePermissionsResponse_httpStatus :: Lens' DescribeVpcEndpointServicePermissionsResponse Int
Creating a Request
data DescribeVpcEndpointServicePermissions Source #
See: newDescribeVpcEndpointServicePermissions smart constructor.
Constructors
| DescribeVpcEndpointServicePermissions' | |
Fields
| |
Instances
newDescribeVpcEndpointServicePermissions Source #
Create a value of DescribeVpcEndpointServicePermissions 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:DescribeVpcEndpointServicePermissions', describeVpcEndpointServicePermissions_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:DescribeVpcEndpointServicePermissions', describeVpcEndpointServicePermissions_filters - One or more filters.
principal- The ARN of the principal.principal-type- The principal type (All|Service|OrganizationUnit|Account|User|Role).
$sel:maxResults:DescribeVpcEndpointServicePermissions', describeVpcEndpointServicePermissions_maxResults - The maximum number of results to return for the request in a single
page. The remaining results of the initial request can be seen by
sending another request with the returned NextToken value. This value
can be between 5 and 1,000; if MaxResults is given a value larger than
1,000, only 1,000 results are returned.
DescribeVpcEndpointServicePermissions, describeVpcEndpointServicePermissions_nextToken - The token to retrieve the next page of results.
DescribeVpcEndpointServicePermissions, describeVpcEndpointServicePermissions_serviceId - The ID of the service.
Request Lenses
describeVpcEndpointServicePermissions_dryRun :: Lens' DescribeVpcEndpointServicePermissions (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.
describeVpcEndpointServicePermissions_filters :: Lens' DescribeVpcEndpointServicePermissions (Maybe [Filter]) Source #
One or more filters.
principal- The ARN of the principal.principal-type- The principal type (All|Service|OrganizationUnit|Account|User|Role).
describeVpcEndpointServicePermissions_maxResults :: Lens' DescribeVpcEndpointServicePermissions (Maybe Int) Source #
The maximum number of results to return for the request in a single
page. The remaining results of the initial request can be seen by
sending another request with the returned NextToken value. This value
can be between 5 and 1,000; if MaxResults is given a value larger than
1,000, only 1,000 results are returned.
describeVpcEndpointServicePermissions_nextToken :: Lens' DescribeVpcEndpointServicePermissions (Maybe Text) Source #
The token to retrieve the next page of results.
describeVpcEndpointServicePermissions_serviceId :: Lens' DescribeVpcEndpointServicePermissions Text Source #
The ID of the service.
Destructuring the Response
data DescribeVpcEndpointServicePermissionsResponse Source #
See: newDescribeVpcEndpointServicePermissionsResponse smart constructor.
Constructors
| DescribeVpcEndpointServicePermissionsResponse' | |
Fields
| |
Instances
newDescribeVpcEndpointServicePermissionsResponse Source #
Arguments
| :: Int |
|
| -> DescribeVpcEndpointServicePermissionsResponse |
Create a value of DescribeVpcEndpointServicePermissionsResponse 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:allowedPrincipals:DescribeVpcEndpointServicePermissionsResponse', describeVpcEndpointServicePermissionsResponse_allowedPrincipals - Information about one or more allowed principals.
DescribeVpcEndpointServicePermissions, describeVpcEndpointServicePermissionsResponse_nextToken - The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
$sel:httpStatus:DescribeVpcEndpointServicePermissionsResponse', describeVpcEndpointServicePermissionsResponse_httpStatus - The response's http status code.
Response Lenses
describeVpcEndpointServicePermissionsResponse_allowedPrincipals :: Lens' DescribeVpcEndpointServicePermissionsResponse (Maybe [AllowedPrincipal]) Source #
Information about one or more allowed principals.
describeVpcEndpointServicePermissionsResponse_nextToken :: Lens' DescribeVpcEndpointServicePermissionsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
describeVpcEndpointServicePermissionsResponse_httpStatus :: Lens' DescribeVpcEndpointServicePermissionsResponse Int Source #
The response's http status code.