amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DescribeVpcEndpointServicePermissions

Description

Describes the principals (service consumers) that are permitted to discover your VPC endpoint service.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeVpcEndpointServicePermissions Source #

Constructors

DescribeVpcEndpointServicePermissions' 

Fields

  • dryRun :: Maybe Bool

    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.

  • filters :: Maybe [Filter]

    One or more filters.

    • principal - The ARN of the principal.
    • principal-type - The principal type (All | Service | OrganizationUnit | Account | User | Role).
  • maxResults :: Maybe Int

    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.

  • nextToken :: Maybe Text

    The token to retrieve the next page of results.

  • serviceId :: Text

    The ID of the service.

Instances

Instances details
ToHeaders DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

ToPath DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

ToQuery DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

AWSPager DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

AWSRequest DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

Generic DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

Read DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

Show DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

NFData DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

Eq DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

Hashable DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

type AWSResponse DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

type Rep DescribeVpcEndpointServicePermissions Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

type Rep DescribeVpcEndpointServicePermissions = D1 ('MetaData "DescribeVpcEndpointServicePermissions" "Amazonka.EC2.DescribeVpcEndpointServicePermissions" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeVpcEndpointServicePermissions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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.

Destructuring the Response

data DescribeVpcEndpointServicePermissionsResponse Source #

Constructors

DescribeVpcEndpointServicePermissionsResponse' 

Fields

Instances

Instances details
Generic DescribeVpcEndpointServicePermissionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

Read DescribeVpcEndpointServicePermissionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

Show DescribeVpcEndpointServicePermissionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

NFData DescribeVpcEndpointServicePermissionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

Eq DescribeVpcEndpointServicePermissionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

type Rep DescribeVpcEndpointServicePermissionsResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeVpcEndpointServicePermissions

type Rep DescribeVpcEndpointServicePermissionsResponse = D1 ('MetaData "DescribeVpcEndpointServicePermissionsResponse" "Amazonka.EC2.DescribeVpcEndpointServicePermissions" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeVpcEndpointServicePermissionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allowedPrincipals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AllowedPrincipal])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeVpcEndpointServicePermissionsResponse Source #

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_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.