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.
| Name | Type | Required | Description |
|---|---|---|---|
portalProductId | String | True | The portal product identifier. |
| Name | Type | Required | Description |
|---|---|---|---|
nextToken | String | False | The next page of elements from this collection. Not valid for the last element of the collection. |
maxResults | String | False | The maximum number of elements to be returned for this resource. |
resourceOwnerAccountId | String | False | The account ID of the resource owner of the portal product. |
| Status code | Response model | Description |
|---|---|---|
200 | ListProductRestEndpointPagesResponseContent | Success |
400 | BadRequestExceptionResponseContent | One of the parameters in the request is invalid. |
403 | AccessDeniedExceptionResponseContent | 403 response |
404 | NotFoundExceptionResponseContent | The resource specified in the request was not found. |
429 | LimitExceededExceptionResponseContent | 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.
| Name | Type | Required | Description |
|---|---|---|---|
portalProductId | String | True | The portal product identifier. |
| Status code | Response model | Description |
|---|---|---|
201 | CreateProductRestEndpointPageResponseContent | The request has succeeded and has resulted in the creation of a resource. |
400 | BadRequestExceptionResponseContent | One of the parameters in the request is invalid. |
403 | AccessDeniedExceptionResponseContent | 403 response |
404 | NotFoundExceptionResponseContent | The resource specified in the request was not found. |
429 | LimitExceededExceptionResponseContent | 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" }
Properties
AccessDeniedExceptionResponseContent
The error message.
| Property | Type | Required | Description |
|---|---|---|---|
message | string | False | The message. |
BadRequestExceptionResponseContent
The response content for bad request exception.
| Property | Type | Required | Description |
|---|---|---|---|
message | string | False | The message of the bad request exception response content. |
CreateProductRestEndpointPageRequestContent
Creates a product REST endpoint page.
| Property | Type | Required | Description |
|---|---|---|---|
displayContent | False | The content of the product REST endpoint page. | |
restEndpointIdentifier | True | The REST endpoint identifier. | |
tryItState | False | The try it state of the product REST endpoint page. |
CreateProductRestEndpointPageResponseContent
Creates a product REST endpoint page.
| Property | Type | Required | Description |
|---|---|---|---|
displayContent | 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: MinLength: 10 MaxLength: 30 | True | The product REST endpoint page identifier. |
restEndpointIdentifier | True | The REST endpoint identifier. | |
status | True | The status. | |
statusException | False | The status exception information. | |
tryItState | True | The try it state. |
DisplayContentOverrides
Contains any values that override the default configuration generated from API Gateway.
| Property | Type | Required | Description |
|---|---|---|---|
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.
| Property | Type | Required | Description |
|---|---|---|---|
none | False | If your product REST endpoint contains no overrides, the none object is returned. | |
overrides | False | The overrides for endpoint display content. |
EndpointDisplayContentResponse
The product REST endpoint page.
| Property | Type | Required | Description |
|---|---|---|---|
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.
| Property | Type | Required | Description |
|---|---|---|---|
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.
| Property | Type | Required | Description |
|---|---|---|---|
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.
| Property | Type | Required | Description |
|---|---|---|---|
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.
| Property | Type | Required | Description |
|---|---|---|---|
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.
| Property | Type | Required | Description |
|---|---|---|---|
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: MinLength: 10 MaxLength: 30 | True | The product REST endpoint page identifier. |
restEndpointIdentifier | True | The REST endpoint identifier. | |
status | True | The status. | |
statusException | False | The status exception information. | |
tryItState | True | The try it state of a product REST endpoint page. |
RestEndpointIdentifier
The REST API endpoint identifier.
| Property | Type | Required | Description |
|---|---|---|---|
identifierParts | False | The identifier parts of the REST endpoint identifier. |
Status
The status.
AVAILABLEIN_PROGRESSFAILED
StatusException
Represents a StatusException.
| Property | Type | Required | Description |
|---|---|---|---|
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.
ENABLEDDISABLED
See also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following: