Product REST endpoint pages - Amazon API Gateway

Product REST endpoint pages

Represents the collection of product REST endpoint pages for a portal product.

URI

/v2/portalproducts/portalProductId/productrestendpointpages

HTTP methods

GET

Operation ID: ListProductRestEndpointPages

Lists the product REST endpoint pages of a portal product.

Path parameters
NameTypeRequiredDescription
portalProductIdStringTrue

The portal product identifier.

Query parameters
NameTypeRequiredDescription
nextTokenStringFalse

The next page of elements from this collection. Not valid for the last element of the collection.

maxResultsStringFalse

The maximum number of elements to be returned for this resource.

resourceOwnerAccountIdStringFalse

The account ID of the resource owner of the portal product.

Responses
Status codeResponse modelDescription
200ListProductRestEndpointPagesResponseContent

Success

400BadRequestExceptionResponseContent

One of the parameters in the request is invalid.

403AccessDeniedExceptionResponseContent

403 response

404NotFoundExceptionResponseContent

The resource specified in the request was not found.

429LimitExceededExceptionResponseContent

The client is sending more than the allowed number of requests per unit of time.

POST

Operation ID: CreateProductRestEndpointPage

Creates a product REST endpoint page for a portal product.

Path parameters
NameTypeRequiredDescription
portalProductIdStringTrue

The portal product identifier.

Responses
Status codeResponse modelDescription
201CreateProductRestEndpointPageResponseContent

The request has succeeded and has resulted in the creation of a resource.

400BadRequestExceptionResponseContent

One of the parameters in the request is invalid.

403AccessDeniedExceptionResponseContent

403 response

404NotFoundExceptionResponseContent

The resource specified in the request was not found.

429LimitExceededExceptionResponseContent

The client is sending more than the allowed number of requests per unit of time.

Schemas

Request bodies

{ "displayContent": { "none": { }, "overrides": { "endpoint": "string", "operationName": "string", "body": "string" } }, "tryItState": enum, "restEndpointIdentifier": { "identifierParts": { "path": "string", "stage": "string", "method": "string", "restApiId": "string" } } }

Response bodies

{ "nextToken": "string", "items": [ { "endpoint": "string", "tryItState": enum, "statusException": { "exception": "string", "message": "string" }, "productRestEndpointPageId": "string", "operationName": "string", "lastModified": "string", "restEndpointIdentifier": { "identifierParts": { "path": "string", "stage": "string", "method": "string", "restApiId": "string" } }, "productRestEndpointPageArn": "string", "status": enum } ] }
{ "displayContent": { "endpoint": "string", "operationName": "string", "body": "string" }, "tryItState": enum, "statusException": { "exception": "string", "message": "string" }, "productRestEndpointPageId": "string", "lastModified": "string", "restEndpointIdentifier": { "identifierParts": { "path": "string", "stage": "string", "method": "string", "restApiId": "string" } }, "productRestEndpointPageArn": "string", "status": enum }
{ "message": "string" }
{ "message": "string" }
{ "message": "string", "resourceType": "string" }
{ "message": "string", "limitType": "string" }

Properties

AccessDeniedExceptionResponseContent

The error message.

PropertyTypeRequiredDescription
message

string

False

The message.

BadRequestExceptionResponseContent

The response content for bad request exception.

PropertyTypeRequiredDescription
message

string

False

The message of the bad request exception response content.

CreateProductRestEndpointPageRequestContent

Creates a product REST endpoint page.

PropertyTypeRequiredDescription
displayContent

EndpointDisplayContent

False

The content of the product REST endpoint page.

restEndpointIdentifier

RestEndpointIdentifier

True

The REST endpoint identifier.

tryItState

TryItState

False

The try it state of the product REST endpoint page.

CreateProductRestEndpointPageResponseContent

Creates a product REST endpoint page.

PropertyTypeRequiredDescription
displayContent

EndpointDisplayContentResponse

True

The display content.

lastModified

string

Format: date-time

True

The timestamp when the product REST endpoint page was last modified.

productRestEndpointPageArn

string

MinLength: 20

MaxLength: 2048

True

The ARN of the product REST endpoint page.

productRestEndpointPageId

string

Pattern: ^[a-z0-9]+$

MinLength: 10

MaxLength: 30

True

The product REST endpoint page identifier.

restEndpointIdentifier

RestEndpointIdentifier

True

The REST endpoint identifier.

status

Status

True

The status.

statusException

StatusException

False

The status exception information.

tryItState

TryItState

True

The try it state.

DisplayContentOverrides

Contains any values that override the default configuration generated from API Gateway.

PropertyTypeRequiredDescription
body

string

MinLength: 1

MaxLength: 32768

False

By default, this is the documentation of your REST API from API Gateway. You can provide custom documentation to override this value.

endpoint

string

MinLength: 1

MaxLength: 1024

False

The URL for your REST API. By default, API Gateway uses the default execute API endpoint. You can provide a custom domain to override this value.

operationName

string

MinLength: 1

MaxLength: 255

False

The operation name of the product REST endpoint.

EndpointDisplayContent

Represents the endpoint display content.

PropertyTypeRequiredDescription
none

None

False

If your product REST endpoint contains no overrides, the none object is returned.

overrides

DisplayContentOverrides

False

The overrides for endpoint display content.

EndpointDisplayContentResponse

The product REST endpoint page.

PropertyTypeRequiredDescription
body

string

MinLength: 1

MaxLength: 32768

False

The API documentation.

endpoint

string

MinLength: 1

MaxLength: 1024

True

The URL to invoke your REST API.

operationName

string

MinLength: 1

MaxLength: 255

False

The operation name.

IdentifierParts

The identifier parts of a product REST endpoint.

PropertyTypeRequiredDescription
method

string

MinLength: 1

MaxLength: 20

True

The method of the product REST endpoint.

path

string

MinLength: 1

MaxLength: 4096

True

The path of the product REST endpoint.

restApiId

string

MinLength: 1

MaxLength: 50

True

The REST API ID of the product REST endpoint.

stage

string

MinLength: 1

MaxLength: 128

True

The stage of the product REST endpoint.

LimitExceededExceptionResponseContent

The response content for limit exceeded exception.

PropertyTypeRequiredDescription
limitType

string

False

The limit type of the limit exceeded exception response content.

message

string

False

The message of the limit exceeded exception response content.

ListProductRestEndpointPagesResponseContent

Lists the product rest endpoint pages in a portal product.

PropertyTypeRequiredDescription
items

Array of type ProductRestEndpointPageSummaryNoBody

True

The elements from this collection.

nextToken

string

False

The next page of elements from this collection. Not valid for the last element of the collection.

None

The none option.

NotFoundExceptionResponseContent

The response content for not found exception.

PropertyTypeRequiredDescription
message

string

False

The message of the not found exception response content.

resourceType

string

False

The resource type of the not found exception response content.

ProductRestEndpointPageSummaryNoBody

A summary of a product REST endpoint page, without providing the page content.

PropertyTypeRequiredDescription
endpoint

string

MinLength: 1

MaxLength: 1024

True

The endpoint of the product REST endpoint page.

lastModified

string

Format: date-time

True

The timestamp when the product REST endpoint page was last modified.

operationName

string

MinLength: 1

MaxLength: 255

False

The operation name of the product REST endpoint.

productRestEndpointPageArn

string

MinLength: 20

MaxLength: 2048

True

The ARN of the product REST endpoint page.

productRestEndpointPageId

string

Pattern: ^[a-z0-9]+$

MinLength: 10

MaxLength: 30

True

The product REST endpoint page identifier.

restEndpointIdentifier

RestEndpointIdentifier

True

The REST endpoint identifier.

status

Status

True

The status.

statusException

StatusException

False

The status exception information.

tryItState

TryItState

True

The try it state of a product REST endpoint page.

RestEndpointIdentifier

The REST API endpoint identifier.

PropertyTypeRequiredDescription
identifierParts

IdentifierParts

False

The identifier parts of the REST endpoint identifier.

Status

The status.

  • AVAILABLE

  • IN_PROGRESS

  • FAILED

StatusException

Represents a StatusException.

PropertyTypeRequiredDescription
exception

string

MinLength: 1

MaxLength: 256

False

The exception.

message

string

MinLength: 1

MaxLength: 2048

False

The error message.

TryItState

Represents the try it state for a product REST endpoint page.

  • ENABLED

  • DISABLED

See also

For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

ListProductRestEndpointPages

CreateProductRestEndpointPage