Portal products - Amazon API Gateway

Portal products

Represents the collection of portal products.

URI

/v2/portalproducts

HTTP methods

GET

Operation ID: ListPortalProducts

Lists portal products.

Query parameters
NameTypeRequiredDescription
resourceOwnerStringFalse

The resource owner of the portal product.

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.

Responses
Status codeResponse modelDescription
200ListPortalProductsResponseContent

Success

400BadRequestExceptionResponseContent

One of the parameters in the request is invalid.

403AccessDeniedExceptionResponseContent

403 response

429LimitExceededExceptionResponseContent

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

POST

Operation ID: CreatePortalProduct

Creates a new portal product.

Responses
Status codeResponse modelDescription
201CreatePortalProductResponseContent

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

429LimitExceededExceptionResponseContent

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

Schemas

Request bodies

{ "displayName": "string", "description": "string", "tags": { } }

Response bodies

{ "nextToken": "string", "items": [ { "displayName": "string", "description": "string", "portalProductId": "string", "portalProductArn": "string", "lastModified": "string", "tags": { } } ] }
{ "displayName": "string", "displayOrder": { "productPageArns": [ "string" ], "contents": [ { "sectionName": "string", "productRestEndpointPageArns": [ "string" ] } ], "overviewPageArn": "string" }, "description": "string", "portalProductId": "string", "portalProductArn": "string", "lastModified": "string", "tags": { } }
{ "message": "string" }
{ "message": "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.

CreatePortalProductRequestContent

Creates a portal product.

PropertyTypeRequiredDescription
description

string

MinLength: 0

MaxLength: 1024

False

A description of the portal product.

displayName

string

MinLength: 1

MaxLength: 255

True

The name of the portal product as it appears in a published portal.

tags

Tags

False

The collection of tags. Each tag element is associated with a given resource.

CreatePortalProductResponseContent

Creates a portal product.

PropertyTypeRequiredDescription
description

string

MinLength: 0

MaxLength: 1024

False

A description of the portal product.

displayName

string

MinLength: 1

MaxLength: 255

True

The display name for the portal product.

displayOrder

DisplayOrder

False

The visual ordering of the product pages and product REST endpoint pages in a published portal.

lastModified

string

Format: date-time

True

The timestamp when the portal product was last modified.

portalProductArn

string

MinLength: 20

MaxLength: 2048

True

The ARN of the portal product.

portalProductId

string

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

MinLength: 10

MaxLength: 30

True

The portal product identifier.

tags

Tags

False

The collection of tags. Each tag element is associated with a given resource.

DisplayOrder

The display order.

PropertyTypeRequiredDescription
contents

Array of type Section

False

Represents a list of sections which include section name and list of product REST endpoints for a product.

overviewPageArn

string

MinLength: 20

MaxLength: 2048

False

The ARN of the overview page.

productPageArns

Array of type string

MinLength: 20

MaxLength: 2048

False

The product page ARNs.

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.

ListPortalProductsResponseContent

Lists portal products.

PropertyTypeRequiredDescription
items

Array of type PortalProductSummary

False

The elements from this collection.

nextToken

string

MinLength: 1

MaxLength: 2048

False

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

PortalProductSummary

Represents a portal product.

PropertyTypeRequiredDescription
description

string

MinLength: 0

MaxLength: 1024

True

The description.

displayName

string

MinLength: 1

MaxLength: 255

True

The display name of a portal product.

lastModified

string

Format: date-time

True

The timestamp when the portal product was last modified.

portalProductArn

string

MinLength: 20

MaxLength: 2048

True

The ARN of a portal product.

portalProductId

string

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

MinLength: 10

MaxLength: 30

True

The portal product identifier.

tags

Tags

False

The collection of tags. Each tag element is associated with a given resource.

Section

Contains the section name and list of product REST endpoints for a product.

PropertyTypeRequiredDescription
productRestEndpointPageArns

Array of type string

MinLength: 20

MaxLength: 2048

True

The ARNs of the product REST endpoint pages in a portal product.

sectionName

string

True

The section name.

Tags

Represents a collection of tags associated with the resource.

PropertyTypeRequiredDescription

*

string

False

See also

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

ListPortalProducts

CreatePortalProduct