Portals
Represents a collection of portals.
URI
/v2/portals
HTTP methods
GET
Operation ID: ListPortals
Lists portals.
| 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. |
| Status code | Response model | Description |
|---|---|---|
200 | ListPortalsResponseContent | Success |
400 | BadRequestExceptionResponseContent | One of the parameters in the request is invalid. |
403 | AccessDeniedExceptionResponseContent | 403 response |
429 | LimitExceededExceptionResponseContent | The client is sending more than the allowed number of requests per unit of time. |
POST
Operation ID: CreatePortal
Creates a portal.
| Status code | Response model | Description |
|---|---|---|
201 | CreatePortalResponseContent | 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 |
429 | LimitExceededExceptionResponseContent | The client is sending more than the allowed number of requests per unit of time. |
Schemas
Request bodies
{ "authorization": { "cognitoConfig": { "userPoolArn": "string", "userPoolDomain": "string", "appClientId": "string" }, "none": { } }, "portalContent": { "displayName": "string", "description": "string", "theme": { "logoLastUploaded": "string", "customColors": { "errorValidationColor": "string", "headerColor": "string", "backgroundColor": "string", "accentColor": "string", "navigationColor": "string", "textColor": "string" } } }, "endpointConfiguration": { "acmManaged": { "certificateArn": "string", "domainName": "string" }, "none": { } }, "logoUri": "string", "includedPortalProductArns": [ "string" ], "rumAppMonitorName": "string", "tags": { } }
Response bodies
{ "nextToken": "string", "items": [ { "preview": { "previewUrl": "string", "statusException": { "exception": "string", "message": "string" }, "previewStatus": enum }, "statusException": { "exception": "string", "message": "string" }, "portalArn": "string", "lastPublished": "string", "rumAppMonitorName": "string", "tags": { }, "authorization": { "cognitoConfig": { "userPoolArn": "string", "userPoolDomain": "string", "appClientId": "string" }, "none": { } }, "portalId": "string", "endpointConfiguration": { "certificateArn": "string", "domainName": "string", "portalDefaultDomainName": "string", "portalDomainHostedZoneId": "string" }, "portalContent": { "displayName": "string", "description": "string", "theme": { "logoLastUploaded": "string", "customColors": { "errorValidationColor": "string", "headerColor": "string", "backgroundColor": "string", "accentColor": "string", "navigationColor": "string", "textColor": "string" } } }, "lastPublishedDescription": "string", "lastModified": "string", "includedPortalProductArns": [ "string" ], "publishStatus": enum } ] }
{ "statusException": { "exception": "string", "message": "string" }, "portalArn": "string", "lastPublished": "string", "rumAppMonitorName": "string", "tags": { }, "authorization": { "cognitoConfig": { "userPoolArn": "string", "userPoolDomain": "string", "appClientId": "string" }, "none": { } }, "portalId": "string", "endpointConfiguration": { "certificateArn": "string", "domainName": "string", "portalDefaultDomainName": "string", "portalDomainHostedZoneId": "string" }, "portalContent": { "displayName": "string", "description": "string", "theme": { "logoLastUploaded": "string", "customColors": { "errorValidationColor": "string", "headerColor": "string", "backgroundColor": "string", "accentColor": "string", "navigationColor": "string", "textColor": "string" } } }, "lastPublishedDescription": "string", "lastModified": "string", "includedPortalProductArns": [ "string" ], "publishStatus": enum }
{ "message": "string" }
{ "message": "string" }
Properties
ACMManaged
Represents a domain name and certificate for a portal.
| Property | Type | Required | Description |
|---|---|---|---|
certificateArn | string MinLength: 10 MaxLength: 2048 | True | The certificate ARN. |
domainName | string MinLength: 3 MaxLength: 256 | True | The domain name. |
AccessDeniedExceptionResponseContent
The error message.
| Property | Type | Required | Description |
|---|---|---|---|
message | string | False | The message. |
Authorization
Represents an authorization configuration for a portal.
| Property | Type | Required | Description |
|---|---|---|---|
cognitoConfig | False | The Amazon Cognito configuration. | |
none | False | Provide no authorization for your portal. This makes your portal publicly accesible on the web. |
BadRequestExceptionResponseContent
The response content for bad request exception.
| Property | Type | Required | Description |
|---|---|---|---|
message | string | False | The message of the bad request exception response content. |
CognitoConfig
The configuration for using Amazon Cognito user pools to control access to your portal.
| Property | Type | Required | Description |
|---|---|---|---|
appClientId | string MinLength: 1 MaxLength: 256 | True | The app client ID. |
userPoolArn | string MinLength: 20 MaxLength: 2048 | True | The user pool ARN. |
userPoolDomain | string MinLength: 20 MaxLength: 2048 | True | The user pool domain. |
CreatePortalRequestContent
Creates a portal.
| Property | Type | Required | Description |
|---|---|---|---|
authorization | True | The authentication configuration for the portal. | |
endpointConfiguration | True | The domain configuration for the portal. Use a default domain provided by API Gateway or provide a fully-qualified domain name that you own. | |
includedPortalProductArns | Array of type string MinLength: 20 MaxLength: 2048 | False | The ARNs of the portal products included in the portal. |
logoUri | string MinLength: 0 MaxLength: 1092 | False | The URI for the portal logo image that is displayed in the portal header. |
portalContent | True | The content of the portal. | |
rumAppMonitorName | string MinLength: 0 MaxLength: 255 | False | The name of the Amazon CloudWatch RUM app monitor for the portal. |
tags | False | The collection of tags. Each tag element is associated with a given resource. |
CreatePortalResponseContent
Creates a portal.
| Property | Type | Required | Description |
|---|---|---|---|
authorization | True | The authorization for the portal. Supports Cognito-based user authentication or no authentication. | |
endpointConfiguration | True | The endpoint configuration. | |
includedPortalProductArns | Array of type string MinLength: 20 MaxLength: 2048 | True | The ARNs of the portal products included in the portal. |
lastModified | string Format: date-time | True | The timestamp when the portal configuration was last modified. |
lastPublished | string Format: date-time | False | The timestamp when the portal was last published. |
lastPublishedDescription | string MinLength: 0 MaxLength: 1024 | False | A user-written description of the changes made in the last published version of the portal. |
portalArn | string MinLength: 20 MaxLength: 2048 | True | The ARN of the portal. |
portalContent | True | The name, description, and theme for the portal. | |
portalId | string Pattern: MinLength: 10 MaxLength: 30 | True | The portal identifier. |
publishStatus | False | The current publishing status of the portal. | |
rumAppMonitorName | string MinLength: 0 MaxLength: 255 | False | The name of the Amazon CloudWatch RUM app monitor. |
statusException | False | Error information for failed portal operations. Contains details about any issues encountered during portal creation or publishing. | |
tags | False | The collection of tags. Each tag element is associated with a given resource. |
CustomColors
Represents custom colors for a published portal.
| Property | Type | Required | Description |
|---|---|---|---|
accentColor | string MinLength: 1 MaxLength: 16 | True | Represents the accent color. |
backgroundColor | string MinLength: 1 MaxLength: 16 | True | Represents the background color. |
errorValidationColor | string MinLength: 1 MaxLength: 16 | True | The errorValidationColor. |
headerColor | string MinLength: 1 MaxLength: 16 | True | Represents the header color. |
navigationColor | string MinLength: 1 MaxLength: 16 | True | Represents the navigation color. |
textColor | string MinLength: 1 MaxLength: 16 | True | Represents the text color. |
EndpointConfigurationRequest
Represents an endpoint configuration.
| Property | Type | Required | Description |
|---|---|---|---|
acmManaged | False | Represents a domain name and certificate for a portal. | |
none | False | Use the default portal domain name that is generated and managed by API Gateway. |
EndpointConfigurationResponse
Represents an endpoint configuration.
| Property | Type | Required | Description |
|---|---|---|---|
certificateArn | string MinLength: 10 MaxLength: 2048 | False | The ARN of the ACM certificate. |
domainName | string MinLength: 3 MaxLength: 256 | False | The domain name. |
portalDefaultDomainName | string MinLength: 3 MaxLength: 256 | True | The portal default domain name. This domain name is generated and managed by API Gateway. |
portalDomainHostedZoneId | string MinLength: 1 MaxLength: 64 | True | The portal domain hosted zone identifier. |
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. |
ListPortalsResponseContent
Lists portals.
| Property | Type | Required | Description |
|---|---|---|---|
items | Array of type PortalSummary | 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. |
None
The none option.
PortalContent
Contains the content that is visible to portal consumers including the themes, display names, and description.
| Property | Type | Required | Description |
|---|---|---|---|
description | string MinLength: 0 MaxLength: 1024 | False | A description of the portal. |
displayName | string MinLength: 3 MaxLength: 255 | True | The display name for the portal. |
theme | True | The theme for the portal. |
PortalSummary
Represents a portal summary.
| Property | Type | Required | Description |
|---|---|---|---|
authorization | True | The authorization of the portal. | |
endpointConfiguration | True | The endpoint configuration of the portal. | |
includedPortalProductArns | Array of type string MinLength: 20 MaxLength: 2048 | True | The ARNs of the portal products included in the portal. |
lastModified | string Format: date-time | True | The timestamp when the portal was last modified. |
lastPublished | string Format: date-time | False | The timestamp when the portal was last published. |
lastPublishedDescription | string MinLength: 0 MaxLength: 1024 | False | The description of the portal the last time it was published. |
portalArn | string MinLength: 20 MaxLength: 2048 | True | The ARN of the portal. |
portalContent | True | Contains the content that is visible to portal consumers including the themes, display names, and description. | |
portalId | string Pattern: MinLength: 10 MaxLength: 30 | True | The portal identifier. |
preview | False | Represents the preview endpoint and the any possible error messages during preview generation. | |
publishStatus | False | The publish status. | |
rumAppMonitorName | string MinLength: 0 MaxLength: 255 | False | The CloudWatch RUM app monitor name. |
statusException | False | The status exception information. | |
tags | False | The collection of tags. Each tag element is associated with a given resource. |
PortalTheme
Defines the theme for a portal.
| Property | Type | Required | Description |
|---|---|---|---|
customColors | True | Defines custom color values. | |
logoLastUploaded | string Format: date-time | False | The timestamp when the logo was last uploaded. |
Preview
Contains the preview status and preview URL.
| Property | Type | Required | Description |
|---|---|---|---|
previewStatus | True | The status of the preview. | |
previewUrl | string | False | The URL of the preview. |
statusException | False | The status exception information. |
PreviewStatus
Represents the preview status.
PREVIEW_IN_PROGRESSPREVIEW_FAILEDPREVIEW_READY
PublishStatus
Represents a publish status.
PUBLISHEDPUBLISH_IN_PROGRESSPUBLISH_FAILEDDISABLED
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. |
Tags
Represents a collection of tags associated with the resource.
| Property | Type | Required | Description |
|---|---|---|---|
| string | False |
See also
For more information about using this API in one of the language-specific AWS SDKs and references, see the following: