Preview - Amazon API Gateway
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Preview

Represents a portal preview.

URI

/v2/portals/portalId/preview

HTTP methods

POST

Operation ID: PreviewPortal

Creates a portal preview.

Path parameters
NameTypeRequiredDescription
portalIdStringTrue

The portal identifier.

Responses
Status codeResponse modelDescription
202None

202 response

400BadRequestExceptionResponseContent

One of the parameters in the request is invalid.

403AccessDeniedExceptionResponseContent

403 response

404NotFoundExceptionResponseContent

The resource specified in the request was not found.

409ConflictExceptionResponseContent

The resource already exists.

429LimitExceededExceptionResponseContent

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

Schemas

Response bodies

{ "message": "string" }
{ "message": "string" }
{ "message": "string", "resourceType": "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.

ConflictExceptionResponseContent

The resource identifier.

PropertyTypeRequiredDescription
message

string

False

The error message.

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.

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.