Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . ec2 ]

describe-vpc-endpoint-service-permissions

Description

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

See also: AWS API Documentation

Synopsis

  describe-vpc-endpoint-service-permissions
[--dry-run | --no-dry-run]
--service-id <value>
[--filters <value>]
[--max-results <value>]
[--next-token <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--dry-run | --no-dry-run (boolean)

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 .

--service-id (string)

The ID of the service.

--filters (list)

One or more filters.

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

Shorthand Syntax:

Name=string,Values=string,string ...

JSON Syntax:

[
  {
    "Name": "string",
    "Values": ["string", ...]
  }
  ...
]

--max-results (integer)

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.

--next-token (string)

The token to retrieve the next page of results.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

Output

AllowedPrincipals -> (list)

Information about one or more allowed principals.

(structure)

Describes a principal.

PrincipalType -> (string)

The type of principal.

Principal -> (string)

The Amazon Resource Name (ARN) of the principal.

NextToken -> (string)

The token to use to retrieve the next page of results. This value is null when there are no more results to return.