Skip to content

Describe Vpc Endpoint Service Permissions

ec2_describe_vpc_endpoint_service_permissions R Documentation

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

Description

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

Usage

ec2_describe_vpc_endpoint_service_permissions(DryRun, ServiceId,
  Filters, MaxResults, NextToken)

Arguments

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.

ServiceId

[required] The ID of the service.

Filters

The filters.

  • principal - The ARN of the principal.

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

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.

NextToken

The token to retrieve the next page of results.

Value

A list with the following syntax:

list(
  AllowedPrincipals = list(
    list(
      PrincipalType = "All"|"Service"|"OrganizationUnit"|"Account"|"User"|"Role",
      Principal = "string",
      ServicePermissionId = "string",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      ),
      ServiceId = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_vpc_endpoint_service_permissions(
  DryRun = TRUE|FALSE,
  ServiceId = "string",
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string"
)