Publish - Amazon API Gateway

Publish

Represents publishing a portal.

URI

/v2/portals/portalId/publish

HTTP methods

POST

Operation ID: PublishPortal

Publishes a portal.

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.

DELETE

Operation ID: DisablePortal

Deletes the publication of a portal portal.

Path parameters
NameTypeRequiredDescription
portalIdStringTrue

The portal identifier.

Responses
Status codeResponse modelDescription
204None

The request has succeeded, and there is no additional content to send in the response payload body.

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

Request bodies

{ "description": "string" }

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.

PublishPortalRequestContent

Publish a portal.

PropertyTypeRequiredDescription
description

string

MinLength: 0

MaxLength: 1024

False

The description of the portal. When the portal is published, this description becomes the last published description.

See also

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

PublishPortal

DisablePortal