Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes the principals (service consumers) that are permitted to discover your VPC endpoint service.
- describeVPCEndpointServicePermissions :: Text -> DescribeVPCEndpointServicePermissions
- data DescribeVPCEndpointServicePermissions
- dvespFilters :: Lens' DescribeVPCEndpointServicePermissions [Filter]
- dvespNextToken :: Lens' DescribeVPCEndpointServicePermissions (Maybe Text)
- dvespDryRun :: Lens' DescribeVPCEndpointServicePermissions (Maybe Bool)
- dvespMaxResults :: Lens' DescribeVPCEndpointServicePermissions (Maybe Int)
- dvespServiceId :: Lens' DescribeVPCEndpointServicePermissions Text
- describeVPCEndpointServicePermissionsResponse :: Int -> DescribeVPCEndpointServicePermissionsResponse
- data DescribeVPCEndpointServicePermissionsResponse
- dvesprsNextToken :: Lens' DescribeVPCEndpointServicePermissionsResponse (Maybe Text)
- dvesprsAllowedPrincipals :: Lens' DescribeVPCEndpointServicePermissionsResponse [AllowedPrincipal]
- dvesprsResponseStatus :: Lens' DescribeVPCEndpointServicePermissionsResponse Int
Creating a Request
describeVPCEndpointServicePermissions Source #
Creates a value of DescribeVPCEndpointServicePermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvespFilters
- One or more filters. *principal
- The ARN of the principal. *principal-type
- The principal type (All
|Service
|OrganizationUnit
|Account
|User
|Role
).dvespNextToken
- The token to retrieve the next page of results.dvespDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.dvespMaxResults
- 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 returnedNextToken
value. This value can be between 5 and 1000; ifMaxResults
is given a value larger than 1000, only 1000 results are returned.dvespServiceId
- The ID of the service.
data DescribeVPCEndpointServicePermissions Source #
See: describeVPCEndpointServicePermissions
smart constructor.
Request Lenses
dvespFilters :: Lens' DescribeVPCEndpointServicePermissions [Filter] Source #
One or more filters. * principal
- The ARN of the principal. * principal-type
- The principal type (All
| Service
| OrganizationUnit
| Account
| User
| Role
).
dvespNextToken :: Lens' DescribeVPCEndpointServicePermissions (Maybe Text) Source #
The token to retrieve the next page of results.
dvespDryRun :: 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
.
dvespMaxResults :: 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 1000; if MaxResults
is given a value larger than 1000, only 1000 results are returned.
dvespServiceId :: Lens' DescribeVPCEndpointServicePermissions Text Source #
The ID of the service.
Destructuring the Response
describeVPCEndpointServicePermissionsResponse Source #
Creates a value of DescribeVPCEndpointServicePermissionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvesprsNextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.dvesprsAllowedPrincipals
- Information about one or more allowed principals.dvesprsResponseStatus
- -- | The response status code.
data DescribeVPCEndpointServicePermissionsResponse Source #
See: describeVPCEndpointServicePermissionsResponse
smart constructor.
Response Lenses
dvesprsNextToken :: 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.
dvesprsAllowedPrincipals :: Lens' DescribeVPCEndpointServicePermissionsResponse [AllowedPrincipal] Source #
Information about one or more allowed principals.
dvesprsResponseStatus :: Lens' DescribeVPCEndpointServicePermissionsResponse Int Source #
- - | The response status code.