2025/11/19 - AmazonApiGatewayV2 - 26 new api methods
Changes Support for API Gateway portals and portal products.
Deletes a portal product.
See also: AWS API Documentation
Request Syntax
client.delete_portal_product(
PortalProductId='string'
)
string
[REQUIRED]
The portal product identifier.
None
Lists portal products.
See also: AWS API Documentation
Request Syntax
client.list_portal_products(
MaxResults='string',
NextToken='string',
ResourceOwner='string'
)
string
The maximum number of elements to be returned for this resource.
string
The next page of elements from this collection. Not valid for the last element of the collection.
string
The resource owner of the portal product.
dict
Response Syntax
{
'Items': [
{
'Description': 'string',
'DisplayName': 'string',
'LastModified': datetime(2015, 1, 1),
'PortalProductArn': 'string',
'PortalProductId': 'string',
'Tags': {
'string': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Success
Items (list) --
The elements from this collection.
(dict) --
Represents a portal product.
Description (string) --
The description.
DisplayName (string) --
The display name of a portal product.
LastModified (datetime) --
The timestamp when the portal product was last modified.
PortalProductArn (string) --
The ARN of a portal product.
PortalProductId (string) --
The portal product identifier.
Tags (dict) --
The collection of tags. Each tag element is associated with a given resource.
(string) --
(string) --
A string with a length between [0-1600].
NextToken (string) --
The next page of elements from this collection. Not valid for the last element of the collection.
Deletes the sharing policy for a portal product.
See also: AWS API Documentation
Request Syntax
client.delete_portal_product_sharing_policy(
PortalProductId='string'
)
string
[REQUIRED]
The portal product identifier.
None
Deletes a product REST endpoint page.
See also: AWS API Documentation
Request Syntax
client.delete_product_rest_endpoint_page(
PortalProductId='string',
ProductRestEndpointPageId='string'
)
string
[REQUIRED]
The portal product identifier.
string
[REQUIRED]
The product REST endpoint identifier.
None
Gets a portal.
See also: AWS API Documentation
Request Syntax
client.get_portal(
PortalId='string'
)
string
[REQUIRED]
The portal identifier.
dict
Response Syntax
{
'Authorization': {
'CognitoConfig': {
'AppClientId': 'string',
'UserPoolArn': 'string',
'UserPoolDomain': 'string'
},
'None': {}
},
'EndpointConfiguration': {
'CertificateArn': 'string',
'DomainName': 'string',
'PortalDefaultDomainName': 'string',
'PortalDomainHostedZoneId': 'string'
},
'IncludedPortalProductArns': [
'string',
],
'LastModified': datetime(2015, 1, 1),
'LastPublished': datetime(2015, 1, 1),
'LastPublishedDescription': 'string',
'PortalArn': 'string',
'PortalContent': {
'Description': 'string',
'DisplayName': 'string',
'Theme': {
'CustomColors': {
'AccentColor': 'string',
'BackgroundColor': 'string',
'ErrorValidationColor': 'string',
'HeaderColor': 'string',
'NavigationColor': 'string',
'TextColor': 'string'
},
'LogoLastUploaded': datetime(2015, 1, 1)
}
},
'PortalId': 'string',
'Preview': {
'PreviewStatus': 'PREVIEW_IN_PROGRESS'|'PREVIEW_FAILED'|'PREVIEW_READY',
'PreviewUrl': 'string',
'StatusException': {
'Exception': 'string',
'Message': 'string'
}
},
'PublishStatus': 'PUBLISHED'|'PUBLISH_IN_PROGRESS'|'PUBLISH_FAILED'|'DISABLED',
'RumAppMonitorName': 'string',
'StatusException': {
'Exception': 'string',
'Message': 'string'
},
'Tags': {
'string': 'string'
}
}
Response Structure
(dict) --
Success
Authorization (dict) --
The authorization for the portal.
CognitoConfig (dict) --
The Amazon Cognito configuration.
AppClientId (string) --
The app client ID.
UserPoolArn (string) --
The user pool ARN.
UserPoolDomain (string) --
The user pool domain.
None (dict) --
Provide no authorization for your portal. This makes your portal publicly accesible on the web.
EndpointConfiguration (dict) --
The endpoint configuration.
CertificateArn (string) --
The ARN of the ACM certificate.
DomainName (string) --
The domain name.
PortalDefaultDomainName (string) --
The portal default domain name. This domain name is generated and managed by API Gateway.
PortalDomainHostedZoneId (string) --
The portal domain hosted zone identifier.
IncludedPortalProductArns (list) --
The ARNs of the portal products included in the portal.
(string) --
LastModified (datetime) --
The timestamp when the portal was last modified.
LastPublished (datetime) --
The timestamp when the portal was last published.
LastPublishedDescription (string) --
The publish description used when the portal was last published.
PortalArn (string) --
The ARN of the portal.
PortalContent (dict) --
Contains the content that is visible to portal consumers including the themes, display names, and description.
Description (string) --
A description of the portal.
DisplayName (string) --
The display name for the portal.
Theme (dict) --
The theme for the portal.
CustomColors (dict) --
Defines custom color values.
AccentColor (string) --
Represents the accent color.
BackgroundColor (string) --
Represents the background color.
ErrorValidationColor (string) --
The errorValidationColor.
HeaderColor (string) --
Represents the header color.
NavigationColor (string) --
Represents the navigation color.
TextColor (string) --
Represents the text color.
LogoLastUploaded (datetime) --
The timestamp when the logo was last uploaded.
PortalId (string) --
The portal identifier.
Preview (dict) --
Represents the preview endpoint and the any possible error messages during preview generation.
PreviewStatus (string) --
The status of the preview.
PreviewUrl (string) --
The URL of the preview.
StatusException (dict) --
The status exception information.
Exception (string) --
The exception.
Message (string) --
The error message.
PublishStatus (string) --
The publish status of a portal.
RumAppMonitorName (string) --
The CloudWatch RUM app monitor name.
StatusException (dict) --
The status exception information.
Exception (string) --
The exception.
Message (string) --
The error message.
Tags (dict) --
The collection of tags. Each tag element is associated with a given resource.
(string) --
(string) --
A string with a length between [0-1600].
Creates a portal.
See also: AWS API Documentation
Request Syntax
client.create_portal(
Authorization={
'CognitoConfig': {
'AppClientId': 'string',
'UserPoolArn': 'string',
'UserPoolDomain': 'string'
},
'None': {}
},
EndpointConfiguration={
'AcmManaged': {
'CertificateArn': 'string',
'DomainName': 'string'
},
'None': {}
},
IncludedPortalProductArns=[
'string',
],
LogoUri='string',
PortalContent={
'Description': 'string',
'DisplayName': 'string',
'Theme': {
'CustomColors': {
'AccentColor': 'string',
'BackgroundColor': 'string',
'ErrorValidationColor': 'string',
'HeaderColor': 'string',
'NavigationColor': 'string',
'TextColor': 'string'
},
'LogoLastUploaded': datetime(2015, 1, 1)
}
},
RumAppMonitorName='string',
Tags={
'string': 'string'
}
)
dict
[REQUIRED]
The authentication configuration for the portal.
CognitoConfig (dict) --
The Amazon Cognito configuration.
AppClientId (string) -- [REQUIRED]
The app client ID.
UserPoolArn (string) -- [REQUIRED]
The user pool ARN.
UserPoolDomain (string) -- [REQUIRED]
The user pool domain.
None (dict) --
Provide no authorization for your portal. This makes your portal publicly accesible on the web.
dict
[REQUIRED]
The domain configuration for the portal. Use a default domain provided by API Gateway or provide a fully-qualified domain name that you own.
AcmManaged (dict) --
Represents a domain name and certificate for a portal.
CertificateArn (string) -- [REQUIRED]
The certificate ARN.
DomainName (string) -- [REQUIRED]
The domain name.
None (dict) --
Use the default portal domain name that is generated and managed by API Gateway.
list
The ARNs of the portal products included in the portal.
(string) --
string
The URI for the portal logo image that is displayed in the portal header.
dict
[REQUIRED]
The content of the portal.
Description (string) --
A description of the portal.
DisplayName (string) -- [REQUIRED]
The display name for the portal.
Theme (dict) -- [REQUIRED]
The theme for the portal.
CustomColors (dict) -- [REQUIRED]
Defines custom color values.
AccentColor (string) -- [REQUIRED]
Represents the accent color.
BackgroundColor (string) -- [REQUIRED]
Represents the background color.
ErrorValidationColor (string) -- [REQUIRED]
The errorValidationColor.
HeaderColor (string) -- [REQUIRED]
Represents the header color.
NavigationColor (string) -- [REQUIRED]
Represents the navigation color.
TextColor (string) -- [REQUIRED]
Represents the text color.
LogoLastUploaded (datetime) --
The timestamp when the logo was last uploaded.
string
The name of the Amazon CloudWatch RUM app monitor for the portal.
dict
The collection of tags. Each tag element is associated with a given resource.
(string) --
(string) --
A string with a length between [0-1600].
dict
Response Syntax
{
'Authorization': {
'CognitoConfig': {
'AppClientId': 'string',
'UserPoolArn': 'string',
'UserPoolDomain': 'string'
},
'None': {}
},
'EndpointConfiguration': {
'CertificateArn': 'string',
'DomainName': 'string',
'PortalDefaultDomainName': 'string',
'PortalDomainHostedZoneId': 'string'
},
'IncludedPortalProductArns': [
'string',
],
'LastModified': datetime(2015, 1, 1),
'LastPublished': datetime(2015, 1, 1),
'LastPublishedDescription': 'string',
'PortalArn': 'string',
'PortalContent': {
'Description': 'string',
'DisplayName': 'string',
'Theme': {
'CustomColors': {
'AccentColor': 'string',
'BackgroundColor': 'string',
'ErrorValidationColor': 'string',
'HeaderColor': 'string',
'NavigationColor': 'string',
'TextColor': 'string'
},
'LogoLastUploaded': datetime(2015, 1, 1)
}
},
'PortalId': 'string',
'PublishStatus': 'PUBLISHED'|'PUBLISH_IN_PROGRESS'|'PUBLISH_FAILED'|'DISABLED',
'RumAppMonitorName': 'string',
'StatusException': {
'Exception': 'string',
'Message': 'string'
},
'Tags': {
'string': 'string'
}
}
Response Structure
(dict) --
The request has succeeded and has resulted in the creation of a resource.
Authorization (dict) --
The authorization for the portal. Supports Cognito-based user authentication or no authentication.
CognitoConfig (dict) --
The Amazon Cognito configuration.
AppClientId (string) --
The app client ID.
UserPoolArn (string) --
The user pool ARN.
UserPoolDomain (string) --
The user pool domain.
None (dict) --
Provide no authorization for your portal. This makes your portal publicly accesible on the web.
EndpointConfiguration (dict) --
The endpoint configuration.
CertificateArn (string) --
The ARN of the ACM certificate.
DomainName (string) --
The domain name.
PortalDefaultDomainName (string) --
The portal default domain name. This domain name is generated and managed by API Gateway.
PortalDomainHostedZoneId (string) --
The portal domain hosted zone identifier.
IncludedPortalProductArns (list) --
The ARNs of the portal products included in the portal.
(string) --
LastModified (datetime) --
The timestamp when the portal configuration was last modified.
LastPublished (datetime) --
The timestamp when the portal was last published.
LastPublishedDescription (string) --
A user-written description of the changes made in the last published version of the portal.
PortalArn (string) --
The ARN of the portal.
PortalContent (dict) --
The name, description, and theme for the portal.
Description (string) --
A description of the portal.
DisplayName (string) --
The display name for the portal.
Theme (dict) --
The theme for the portal.
CustomColors (dict) --
Defines custom color values.
AccentColor (string) --
Represents the accent color.
BackgroundColor (string) --
Represents the background color.
ErrorValidationColor (string) --
The errorValidationColor.
HeaderColor (string) --
Represents the header color.
NavigationColor (string) --
Represents the navigation color.
TextColor (string) --
Represents the text color.
LogoLastUploaded (datetime) --
The timestamp when the logo was last uploaded.
PortalId (string) --
The portal identifier.
PublishStatus (string) --
The current publishing status of the portal.
RumAppMonitorName (string) --
The name of the Amazon CloudWatch RUM app monitor.
StatusException (dict) --
Error information for failed portal operations. Contains details about any issues encountered during portal creation or publishing.
Exception (string) --
The exception.
Message (string) --
The error message.
Tags (dict) --
The collection of tags. Each tag element is associated with a given resource.
(string) --
(string) --
A string with a length between [0-1600].
Gets a portal product.
See also: AWS API Documentation
Request Syntax
client.get_portal_product(
PortalProductId='string',
ResourceOwnerAccountId='string'
)
string
[REQUIRED]
The portal product identifier.
string
The account ID of the resource owner of the portal product.
dict
Response Syntax
{
'Description': 'string',
'DisplayName': 'string',
'DisplayOrder': {
'Contents': [
{
'ProductRestEndpointPageArns': [
'string',
],
'SectionName': 'string'
},
],
'OverviewPageArn': 'string',
'ProductPageArns': [
'string',
]
},
'LastModified': datetime(2015, 1, 1),
'PortalProductArn': 'string',
'PortalProductId': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
(dict) --
Success
Description (string) --
The description of a portal product.
DisplayName (string) --
The display name.
DisplayOrder (dict) --
The display order.
Contents (list) --
Represents a list of sections which include section name and list of product REST endpoints for a product.
(dict) --
Contains the section name and list of product REST endpoints for a product.
ProductRestEndpointPageArns (list) --
The ARNs of the product REST endpoint pages in a portal product.
(string) --
SectionName (string) --
The section name.
OverviewPageArn (string) --
The ARN of the overview page.
ProductPageArns (list) --
The product page ARNs.
(string) --
LastModified (datetime) --
The timestamp when the portal product was last modified.
PortalProductArn (string) --
The ARN of the portal product.
PortalProductId (string) --
The portal product identifier.
Tags (dict) --
The collection of tags. Each tag element is associated with a given resource.
(string) --
(string) --
A string with a length between [0-1600].
Updates a product page of a portal product.
See also: AWS API Documentation
Request Syntax
client.update_product_page(
DisplayContent={
'Body': 'string',
'Title': 'string'
},
PortalProductId='string',
ProductPageId='string'
)
dict
The content of the product page.
Body (string) -- [REQUIRED]
The body.
Title (string) -- [REQUIRED]
The title.
string
[REQUIRED]
The portal product identifier.
string
[REQUIRED]
The portal product identifier.
dict
Response Syntax
{
'DisplayContent': {
'Body': 'string',
'Title': 'string'
},
'LastModified': datetime(2015, 1, 1),
'ProductPageArn': 'string',
'ProductPageId': 'string'
}
Response Structure
(dict) --
200 response
DisplayContent (dict) --
The content of the product page.
Body (string) --
The body.
Title (string) --
The title.
LastModified (datetime) --
The timestamp when the product page was last modified.
ProductPageArn (string) --
The ARN of the product page.
ProductPageId (string) --
The product page identifier.
Gets a product page of a portal product.
See also: AWS API Documentation
Request Syntax
client.get_product_page(
PortalProductId='string',
ProductPageId='string',
ResourceOwnerAccountId='string'
)
string
[REQUIRED]
The portal product identifier.
string
[REQUIRED]
The portal product identifier.
string
The account ID of the resource owner of the portal product.
dict
Response Syntax
{
'DisplayContent': {
'Body': 'string',
'Title': 'string'
},
'LastModified': datetime(2015, 1, 1),
'ProductPageArn': 'string',
'ProductPageId': 'string'
}
Response Structure
(dict) --
Success
DisplayContent (dict) --
The content of the product page.
Body (string) --
The body.
Title (string) --
The title.
LastModified (datetime) --
The timestamp when the product page was last modified.
ProductPageArn (string) --
The ARN of the product page.
ProductPageId (string) --
The product page identifier.
Creates a portal preview.
See also: AWS API Documentation
Request Syntax
client.preview_portal(
PortalId='string'
)
string
[REQUIRED]
The portal identifier.
dict
Response Syntax
{}
Response Structure
(dict) --
202 response
Lists the product pages for a portal product.
See also: AWS API Documentation
Request Syntax
client.list_product_pages(
MaxResults='string',
NextToken='string',
PortalProductId='string',
ResourceOwnerAccountId='string'
)
string
The maximum number of elements to be returned for this resource.
string
The next page of elements from this collection. Not valid for the last element of the collection.
string
[REQUIRED]
The portal product identifier.
string
The account ID of the resource owner of the portal product.
dict
Response Syntax
{
'Items': [
{
'LastModified': datetime(2015, 1, 1),
'PageTitle': 'string',
'ProductPageArn': 'string',
'ProductPageId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Success
Items (list) --
The elements from this collection.
(dict) --
Represents a product page summary without listing any page content.
LastModified (datetime) --
The timestamp when the product page was last modified.
PageTitle (string) --
The page title.
ProductPageArn (string) --
The ARN of the product page.
ProductPageId (string) --
The product page identifier.
NextToken (string) --
The next page of elements from this collection. Not valid for the last element of the collection.
Deletes a portal.
See also: AWS API Documentation
Request Syntax
client.delete_portal(
PortalId='string'
)
string
[REQUIRED]
The portal identifier.
None
Updates the sharing policy for a portal product.
See also: AWS API Documentation
Request Syntax
client.put_portal_product_sharing_policy(
PolicyDocument='string',
PortalProductId='string'
)
string
[REQUIRED]
The product sharing policy.
string
[REQUIRED]
The portal product identifier.
dict
Response Syntax
{}
Response Structure
(dict) --
200 response
Publishes a portal.
See also: AWS API Documentation
Request Syntax
client.publish_portal(
Description='string',
PortalId='string'
)
string
The description of the portal. When the portal is published, this description becomes the last published description.
string
[REQUIRED]
The portal identifier.
dict
Response Syntax
{}
Response Structure
(dict) --
202 response
Deletes a product page of a portal product.
See also: AWS API Documentation
Request Syntax
client.delete_product_page(
PortalProductId='string',
ProductPageId='string'
)
string
[REQUIRED]
The portal product identifier.
string
[REQUIRED]
The portal product identifier.
None
Gets the sharing policy for a portal product.
See also: AWS API Documentation
Request Syntax
client.get_portal_product_sharing_policy(
PortalProductId='string'
)
string
[REQUIRED]
The portal product identifier.
dict
Response Syntax
{
'PolicyDocument': 'string',
'PortalProductId': 'string'
}
Response Structure
(dict) --
Success
PolicyDocument (string) --
The product sharing policy.
PortalProductId (string) --
The portal product identifier.
Creates a new portal product.
See also: AWS API Documentation
Request Syntax
client.create_portal_product(
Description='string',
DisplayName='string',
Tags={
'string': 'string'
}
)
string
A description of the portal product.
string
[REQUIRED]
The name of the portal product as it appears in a published portal.
dict
The collection of tags. Each tag element is associated with a given resource.
(string) --
(string) --
A string with a length between [0-1600].
dict
Response Syntax
{
'Description': 'string',
'DisplayName': 'string',
'DisplayOrder': {
'Contents': [
{
'ProductRestEndpointPageArns': [
'string',
],
'SectionName': 'string'
},
],
'OverviewPageArn': 'string',
'ProductPageArns': [
'string',
]
},
'LastModified': datetime(2015, 1, 1),
'PortalProductArn': 'string',
'PortalProductId': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
(dict) --
The request has succeeded and has resulted in the creation of a resource.
Description (string) --
A description of the portal product.
DisplayName (string) --
The display name for the portal product.
DisplayOrder (dict) --
The visual ordering of the product pages and product REST endpoint pages in a published portal.
Contents (list) --
Represents a list of sections which include section name and list of product REST endpoints for a product.
(dict) --
Contains the section name and list of product REST endpoints for a product.
ProductRestEndpointPageArns (list) --
The ARNs of the product REST endpoint pages in a portal product.
(string) --
SectionName (string) --
The section name.
OverviewPageArn (string) --
The ARN of the overview page.
ProductPageArns (list) --
The product page ARNs.
(string) --
LastModified (datetime) --
The timestamp when the portal product was last modified.
PortalProductArn (string) --
The ARN of the portal product.
PortalProductId (string) --
The portal product identifier.
Tags (dict) --
The collection of tags. Each tag element is associated with a given resource.
(string) --
(string) --
A string with a length between [0-1600].
Updates a product REST endpoint page.
See also: AWS API Documentation
Request Syntax
client.update_product_rest_endpoint_page(
DisplayContent={
'None': {}
,
'Overrides': {
'Body': 'string',
'Endpoint': 'string',
'OperationName': 'string'
}
},
PortalProductId='string',
ProductRestEndpointPageId='string',
TryItState='ENABLED'|'DISABLED'
)
dict
The display content.
None (dict) --
If your product REST endpoint contains no overrides, the none object is returned.
Overrides (dict) --
The overrides for endpoint display content.
Body (string) --
By default, this is the documentation of your REST API from API Gateway. You can provide custom documentation to override this value.
Endpoint (string) --
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) --
The operation name of the product REST endpoint.
string
[REQUIRED]
The portal product identifier.
string
[REQUIRED]
The product REST endpoint identifier.
string
The try it state of a product REST endpoint page.
dict
Response Syntax
{
'DisplayContent': {
'Body': 'string',
'Endpoint': 'string',
'OperationName': 'string'
},
'LastModified': datetime(2015, 1, 1),
'ProductRestEndpointPageArn': 'string',
'ProductRestEndpointPageId': 'string',
'RestEndpointIdentifier': {
'IdentifierParts': {
'Method': 'string',
'Path': 'string',
'RestApiId': 'string',
'Stage': 'string'
}
},
'Status': 'AVAILABLE'|'IN_PROGRESS'|'FAILED',
'StatusException': {
'Exception': 'string',
'Message': 'string'
},
'TryItState': 'ENABLED'|'DISABLED'
}
Response Structure
(dict) --
200 response
DisplayContent (dict) --
The content of the product REST endpoint page.
Body (string) --
The API documentation.
Endpoint (string) --
The URL to invoke your REST API.
OperationName (string) --
The operation name.
LastModified (datetime) --
The timestamp when the product REST endpoint page was last modified.
ProductRestEndpointPageArn (string) --
The ARN of the product REST endpoint page.
ProductRestEndpointPageId (string) --
The product REST endpoint page identifier.
RestEndpointIdentifier (dict) --
The REST endpoint identifier.
IdentifierParts (dict) --
The identifier parts of the REST endpoint identifier.
Method (string) --
The method of the product REST endpoint.
Path (string) --
The path of the product REST endpoint.
RestApiId (string) --
The REST API ID of the product REST endpoint.
Stage (string) --
The stage of the product REST endpoint.
Status (string) --
The status.
StatusException (dict) --
The status exception information.
Exception (string) --
The exception.
Message (string) --
The error message.
TryItState (string) --
The try it state of a product REST endpoint page.
Deletes the publication of a portal portal.
See also: AWS API Documentation
Request Syntax
client.disable_portal(
PortalId='string'
)
string
[REQUIRED]
The portal identifier.
None
Updates a portal.
See also: AWS API Documentation
Request Syntax
client.update_portal(
Authorization={
'CognitoConfig': {
'AppClientId': 'string',
'UserPoolArn': 'string',
'UserPoolDomain': 'string'
},
'None': {}
},
EndpointConfiguration={
'AcmManaged': {
'CertificateArn': 'string',
'DomainName': 'string'
},
'None': {}
},
IncludedPortalProductArns=[
'string',
],
LogoUri='string',
PortalContent={
'Description': 'string',
'DisplayName': 'string',
'Theme': {
'CustomColors': {
'AccentColor': 'string',
'BackgroundColor': 'string',
'ErrorValidationColor': 'string',
'HeaderColor': 'string',
'NavigationColor': 'string',
'TextColor': 'string'
},
'LogoLastUploaded': datetime(2015, 1, 1)
}
},
PortalId='string',
RumAppMonitorName='string'
)
dict
The authorization of the portal.
CognitoConfig (dict) --
The Amazon Cognito configuration.
AppClientId (string) -- [REQUIRED]
The app client ID.
UserPoolArn (string) -- [REQUIRED]
The user pool ARN.
UserPoolDomain (string) -- [REQUIRED]
The user pool domain.
None (dict) --
Provide no authorization for your portal. This makes your portal publicly accesible on the web.
dict
Represents an endpoint configuration.
AcmManaged (dict) --
Represents a domain name and certificate for a portal.
CertificateArn (string) -- [REQUIRED]
The certificate ARN.
DomainName (string) -- [REQUIRED]
The domain name.
None (dict) --
Use the default portal domain name that is generated and managed by API Gateway.
list
The ARNs of the portal products included in the portal.
(string) --
string
The logo URI.
dict
Contains the content that is visible to portal consumers including the themes, display names, and description.
Description (string) --
A description of the portal.
DisplayName (string) -- [REQUIRED]
The display name for the portal.
Theme (dict) -- [REQUIRED]
The theme for the portal.
CustomColors (dict) -- [REQUIRED]
Defines custom color values.
AccentColor (string) -- [REQUIRED]
Represents the accent color.
BackgroundColor (string) -- [REQUIRED]
Represents the background color.
ErrorValidationColor (string) -- [REQUIRED]
The errorValidationColor.
HeaderColor (string) -- [REQUIRED]
Represents the header color.
NavigationColor (string) -- [REQUIRED]
Represents the navigation color.
TextColor (string) -- [REQUIRED]
Represents the text color.
LogoLastUploaded (datetime) --
The timestamp when the logo was last uploaded.
string
[REQUIRED]
The portal identifier.
string
The CloudWatch RUM app monitor name.
dict
Response Syntax
{
'Authorization': {
'CognitoConfig': {
'AppClientId': 'string',
'UserPoolArn': 'string',
'UserPoolDomain': 'string'
},
'None': {}
},
'EndpointConfiguration': {
'CertificateArn': 'string',
'DomainName': 'string',
'PortalDefaultDomainName': 'string',
'PortalDomainHostedZoneId': 'string'
},
'IncludedPortalProductArns': [
'string',
],
'LastModified': datetime(2015, 1, 1),
'LastPublished': datetime(2015, 1, 1),
'LastPublishedDescription': 'string',
'PortalArn': 'string',
'PortalContent': {
'Description': 'string',
'DisplayName': 'string',
'Theme': {
'CustomColors': {
'AccentColor': 'string',
'BackgroundColor': 'string',
'ErrorValidationColor': 'string',
'HeaderColor': 'string',
'NavigationColor': 'string',
'TextColor': 'string'
},
'LogoLastUploaded': datetime(2015, 1, 1)
}
},
'PortalId': 'string',
'Preview': {
'PreviewStatus': 'PREVIEW_IN_PROGRESS'|'PREVIEW_FAILED'|'PREVIEW_READY',
'PreviewUrl': 'string',
'StatusException': {
'Exception': 'string',
'Message': 'string'
}
},
'PublishStatus': 'PUBLISHED'|'PUBLISH_IN_PROGRESS'|'PUBLISH_FAILED'|'DISABLED',
'RumAppMonitorName': 'string',
'StatusException': {
'Exception': 'string',
'Message': 'string'
},
'Tags': {
'string': 'string'
}
}
Response Structure
(dict) --
200 response
Authorization (dict) --
The authorization for the portal.
CognitoConfig (dict) --
The Amazon Cognito configuration.
AppClientId (string) --
The app client ID.
UserPoolArn (string) --
The user pool ARN.
UserPoolDomain (string) --
The user pool domain.
None (dict) --
Provide no authorization for your portal. This makes your portal publicly accesible on the web.
EndpointConfiguration (dict) --
The endpoint configuration.
CertificateArn (string) --
The ARN of the ACM certificate.
DomainName (string) --
The domain name.
PortalDefaultDomainName (string) --
The portal default domain name. This domain name is generated and managed by API Gateway.
PortalDomainHostedZoneId (string) --
The portal domain hosted zone identifier.
IncludedPortalProductArns (list) --
The ARNs of the portal products included in the portal.
(string) --
LastModified (datetime) --
The timestamp when the portal was last modified.
LastPublished (datetime) --
The timestamp when the portal was last published.
LastPublishedDescription (string) --
The description associated with the last time the portal was published.
PortalArn (string) --
The ARN of the portal.
PortalContent (dict) --
Contains the content that is visible to portal consumers including the themes, display names, and description.
Description (string) --
A description of the portal.
DisplayName (string) --
The display name for the portal.
Theme (dict) --
The theme for the portal.
CustomColors (dict) --
Defines custom color values.
AccentColor (string) --
Represents the accent color.
BackgroundColor (string) --
Represents the background color.
ErrorValidationColor (string) --
The errorValidationColor.
HeaderColor (string) --
Represents the header color.
NavigationColor (string) --
Represents the navigation color.
TextColor (string) --
Represents the text color.
LogoLastUploaded (datetime) --
The timestamp when the logo was last uploaded.
PortalId (string) --
The portal identifier.
Preview (dict) --
Represents the preview endpoint and the any possible error messages during preview generation.
PreviewStatus (string) --
The status of the preview.
PreviewUrl (string) --
The URL of the preview.
StatusException (dict) --
The status exception information.
Exception (string) --
The exception.
Message (string) --
The error message.
PublishStatus (string) --
The publishStatus.
RumAppMonitorName (string) --
The CloudWatch RUM app monitor name.
StatusException (dict) --
The status exception information.
Exception (string) --
The exception.
Message (string) --
The error message.
Tags (dict) --
The collection of tags. Each tag element is associated with a given resource.
(string) --
(string) --
A string with a length between [0-1600].
Lists portals.
See also: AWS API Documentation
Request Syntax
client.list_portals(
MaxResults='string',
NextToken='string'
)
string
The maximum number of elements to be returned for this resource.
string
The next page of elements from this collection. Not valid for the last element of the collection.
dict
Response Syntax
{
'Items': [
{
'Authorization': {
'CognitoConfig': {
'AppClientId': 'string',
'UserPoolArn': 'string',
'UserPoolDomain': 'string'
},
'None': {}
},
'EndpointConfiguration': {
'CertificateArn': 'string',
'DomainName': 'string',
'PortalDefaultDomainName': 'string',
'PortalDomainHostedZoneId': 'string'
},
'IncludedPortalProductArns': [
'string',
],
'LastModified': datetime(2015, 1, 1),
'LastPublished': datetime(2015, 1, 1),
'LastPublishedDescription': 'string',
'PortalArn': 'string',
'PortalContent': {
'Description': 'string',
'DisplayName': 'string',
'Theme': {
'CustomColors': {
'AccentColor': 'string',
'BackgroundColor': 'string',
'ErrorValidationColor': 'string',
'HeaderColor': 'string',
'NavigationColor': 'string',
'TextColor': 'string'
},
'LogoLastUploaded': datetime(2015, 1, 1)
}
},
'PortalId': 'string',
'Preview': {
'PreviewStatus': 'PREVIEW_IN_PROGRESS'|'PREVIEW_FAILED'|'PREVIEW_READY',
'PreviewUrl': 'string',
'StatusException': {
'Exception': 'string',
'Message': 'string'
}
},
'PublishStatus': 'PUBLISHED'|'PUBLISH_IN_PROGRESS'|'PUBLISH_FAILED'|'DISABLED',
'RumAppMonitorName': 'string',
'StatusException': {
'Exception': 'string',
'Message': 'string'
},
'Tags': {
'string': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Success
Items (list) --
The elements from this collection.
(dict) --
Represents a portal summary.
Authorization (dict) --
The authorization of the portal.
CognitoConfig (dict) --
The Amazon Cognito configuration.
AppClientId (string) --
The app client ID.
UserPoolArn (string) --
The user pool ARN.
UserPoolDomain (string) --
The user pool domain.
None (dict) --
Provide no authorization for your portal. This makes your portal publicly accesible on the web.
EndpointConfiguration (dict) --
The endpoint configuration of the portal.
CertificateArn (string) --
The ARN of the ACM certificate.
DomainName (string) --
The domain name.
PortalDefaultDomainName (string) --
The portal default domain name. This domain name is generated and managed by API Gateway.
PortalDomainHostedZoneId (string) --
The portal domain hosted zone identifier.
IncludedPortalProductArns (list) --
The ARNs of the portal products included in the portal.
(string) --
LastModified (datetime) --
The timestamp when the portal was last modified.
LastPublished (datetime) --
The timestamp when the portal was last published.
LastPublishedDescription (string) --
The description of the portal the last time it was published.
PortalArn (string) --
The ARN of the portal.
PortalContent (dict) --
Contains the content that is visible to portal consumers including the themes, display names, and description.
Description (string) --
A description of the portal.
DisplayName (string) --
The display name for the portal.
Theme (dict) --
The theme for the portal.
CustomColors (dict) --
Defines custom color values.
AccentColor (string) --
Represents the accent color.
BackgroundColor (string) --
Represents the background color.
ErrorValidationColor (string) --
The errorValidationColor.
HeaderColor (string) --
Represents the header color.
NavigationColor (string) --
Represents the navigation color.
TextColor (string) --
Represents the text color.
LogoLastUploaded (datetime) --
The timestamp when the logo was last uploaded.
PortalId (string) --
The portal identifier.
Preview (dict) --
Represents the preview endpoint and the any possible error messages during preview generation.
PreviewStatus (string) --
The status of the preview.
PreviewUrl (string) --
The URL of the preview.
StatusException (dict) --
The status exception information.
Exception (string) --
The exception.
Message (string) --
The error message.
PublishStatus (string) --
The publish status.
RumAppMonitorName (string) --
The CloudWatch RUM app monitor name.
StatusException (dict) --
The status exception information.
Exception (string) --
The exception.
Message (string) --
The error message.
Tags (dict) --
The collection of tags. Each tag element is associated with a given resource.
(string) --
(string) --
A string with a length between [0-1600].
NextToken (string) --
The next page of elements from this collection. Not valid for the last element of the collection.
Lists the product REST endpoint pages of a portal product.
See also: AWS API Documentation
Request Syntax
client.list_product_rest_endpoint_pages(
MaxResults='string',
NextToken='string',
PortalProductId='string',
ResourceOwnerAccountId='string'
)
string
The maximum number of elements to be returned for this resource.
string
The next page of elements from this collection. Not valid for the last element of the collection.
string
[REQUIRED]
The portal product identifier.
string
The account ID of the resource owner of the portal product.
dict
Response Syntax
{
'Items': [
{
'Endpoint': 'string',
'LastModified': datetime(2015, 1, 1),
'OperationName': 'string',
'ProductRestEndpointPageArn': 'string',
'ProductRestEndpointPageId': 'string',
'RestEndpointIdentifier': {
'IdentifierParts': {
'Method': 'string',
'Path': 'string',
'RestApiId': 'string',
'Stage': 'string'
}
},
'Status': 'AVAILABLE'|'IN_PROGRESS'|'FAILED',
'StatusException': {
'Exception': 'string',
'Message': 'string'
},
'TryItState': 'ENABLED'|'DISABLED'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Success
Items (list) --
The elements from this collection.
(dict) --
A summary of a product REST endpoint page, without providing the page content.
Endpoint (string) --
The endpoint of the product REST endpoint page.
LastModified (datetime) --
The timestamp when the product REST endpoint page was last modified.
OperationName (string) --
The operation name of the product REST endpoint.
ProductRestEndpointPageArn (string) --
The ARN of the product REST endpoint page.
ProductRestEndpointPageId (string) --
The product REST endpoint page identifier.
RestEndpointIdentifier (dict) --
The REST endpoint identifier.
IdentifierParts (dict) --
The identifier parts of the REST endpoint identifier.
Method (string) --
The method of the product REST endpoint.
Path (string) --
The path of the product REST endpoint.
RestApiId (string) --
The REST API ID of the product REST endpoint.
Stage (string) --
The stage of the product REST endpoint.
Status (string) --
The status.
StatusException (dict) --
The status exception information.
Exception (string) --
The exception.
Message (string) --
The error message.
TryItState (string) --
The try it state of a product REST endpoint page.
NextToken (string) --
The next page of elements from this collection. Not valid for the last element of the collection.
Gets a product REST endpoint page.
See also: AWS API Documentation
Request Syntax
client.get_product_rest_endpoint_page(
IncludeRawDisplayContent='string',
PortalProductId='string',
ProductRestEndpointPageId='string',
ResourceOwnerAccountId='string'
)
string
The query parameter to include raw display content.
string
[REQUIRED]
The portal product identifier.
string
[REQUIRED]
The product REST endpoint identifier.
string
The account ID of the resource owner of the portal product.
dict
Response Syntax
{
'DisplayContent': {
'Body': 'string',
'Endpoint': 'string',
'OperationName': 'string'
},
'LastModified': datetime(2015, 1, 1),
'ProductRestEndpointPageArn': 'string',
'ProductRestEndpointPageId': 'string',
'RawDisplayContent': 'string',
'RestEndpointIdentifier': {
'IdentifierParts': {
'Method': 'string',
'Path': 'string',
'RestApiId': 'string',
'Stage': 'string'
}
},
'Status': 'AVAILABLE'|'IN_PROGRESS'|'FAILED',
'StatusException': {
'Exception': 'string',
'Message': 'string'
},
'TryItState': 'ENABLED'|'DISABLED'
}
Response Structure
(dict) --
Success
DisplayContent (dict) --
The content of the product REST endpoint page.
Body (string) --
The API documentation.
Endpoint (string) --
The URL to invoke your REST API.
OperationName (string) --
The operation name.
LastModified (datetime) --
The timestamp when the product REST endpoint page was last modified.
ProductRestEndpointPageArn (string) --
The ARN of the product REST endpoint page.
ProductRestEndpointPageId (string) --
The product REST endpoint page identifier.
RawDisplayContent (string) --
The raw display content of the product REST endpoint page.
RestEndpointIdentifier (dict) --
The REST endpoint identifier.
IdentifierParts (dict) --
The identifier parts of the REST endpoint identifier.
Method (string) --
The method of the product REST endpoint.
Path (string) --
The path of the product REST endpoint.
RestApiId (string) --
The REST API ID of the product REST endpoint.
Stage (string) --
The stage of the product REST endpoint.
Status (string) --
The status of the product REST endpoint page.
StatusException (dict) --
The status exception information.
Exception (string) --
The exception.
Message (string) --
The error message.
TryItState (string) --
The try it state.
Creates a new product page for a portal product.
See also: AWS API Documentation
Request Syntax
client.create_product_page(
DisplayContent={
'Body': 'string',
'Title': 'string'
},
PortalProductId='string'
)
dict
[REQUIRED]
The content of the product page.
Body (string) -- [REQUIRED]
The body.
Title (string) -- [REQUIRED]
The title.
string
[REQUIRED]
The portal product identifier.
dict
Response Syntax
{
'DisplayContent': {
'Body': 'string',
'Title': 'string'
},
'LastModified': datetime(2015, 1, 1),
'ProductPageArn': 'string',
'ProductPageId': 'string'
}
Response Structure
(dict) --
The request has succeeded and has resulted in the creation of a resource.
DisplayContent (dict) --
The content of the product page.
Body (string) --
The body.
Title (string) --
The title.
LastModified (datetime) --
The timestamp when the product page was last modified.
ProductPageArn (string) --
The ARN of the product page.
ProductPageId (string) --
The product page identifier.
Creates a product REST endpoint page for a portal product.
See also: AWS API Documentation
Request Syntax
client.create_product_rest_endpoint_page(
DisplayContent={
'None': {}
,
'Overrides': {
'Body': 'string',
'Endpoint': 'string',
'OperationName': 'string'
}
},
PortalProductId='string',
RestEndpointIdentifier={
'IdentifierParts': {
'Method': 'string',
'Path': 'string',
'RestApiId': 'string',
'Stage': 'string'
}
},
TryItState='ENABLED'|'DISABLED'
)
dict
The content of the product REST endpoint page.
None (dict) --
If your product REST endpoint contains no overrides, the none object is returned.
Overrides (dict) --
The overrides for endpoint display content.
Body (string) --
By default, this is the documentation of your REST API from API Gateway. You can provide custom documentation to override this value.
Endpoint (string) --
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) --
The operation name of the product REST endpoint.
string
[REQUIRED]
The portal product identifier.
dict
[REQUIRED]
The REST endpoint identifier.
IdentifierParts (dict) --
The identifier parts of the REST endpoint identifier.
Method (string) -- [REQUIRED]
The method of the product REST endpoint.
Path (string) -- [REQUIRED]
The path of the product REST endpoint.
RestApiId (string) -- [REQUIRED]
The REST API ID of the product REST endpoint.
Stage (string) -- [REQUIRED]
The stage of the product REST endpoint.
string
The try it state of the product REST endpoint page.
dict
Response Syntax
{
'DisplayContent': {
'Body': 'string',
'Endpoint': 'string',
'OperationName': 'string'
},
'LastModified': datetime(2015, 1, 1),
'ProductRestEndpointPageArn': 'string',
'ProductRestEndpointPageId': 'string',
'RestEndpointIdentifier': {
'IdentifierParts': {
'Method': 'string',
'Path': 'string',
'RestApiId': 'string',
'Stage': 'string'
}
},
'Status': 'AVAILABLE'|'IN_PROGRESS'|'FAILED',
'StatusException': {
'Exception': 'string',
'Message': 'string'
},
'TryItState': 'ENABLED'|'DISABLED'
}
Response Structure
(dict) --
The request has succeeded and has resulted in the creation of a resource.
DisplayContent (dict) --
The display content.
Body (string) --
The API documentation.
Endpoint (string) --
The URL to invoke your REST API.
OperationName (string) --
The operation name.
LastModified (datetime) --
The timestamp when the product REST endpoint page was last modified.
ProductRestEndpointPageArn (string) --
The ARN of the product REST endpoint page.
ProductRestEndpointPageId (string) --
The product REST endpoint page identifier.
RestEndpointIdentifier (dict) --
The REST endpoint identifier.
IdentifierParts (dict) --
The identifier parts of the REST endpoint identifier.
Method (string) --
The method of the product REST endpoint.
Path (string) --
The path of the product REST endpoint.
RestApiId (string) --
The REST API ID of the product REST endpoint.
Stage (string) --
The stage of the product REST endpoint.
Status (string) --
The status.
StatusException (dict) --
The status exception information.
Exception (string) --
The exception.
Message (string) --
The error message.
TryItState (string) --
The try it state.
Updates the portal product.
See also: AWS API Documentation
Request Syntax
client.update_portal_product(
Description='string',
DisplayName='string',
DisplayOrder={
'Contents': [
{
'ProductRestEndpointPageArns': [
'string',
],
'SectionName': 'string'
},
],
'OverviewPageArn': 'string',
'ProductPageArns': [
'string',
]
},
PortalProductId='string'
)
string
The description.
string
The displayName.
dict
The display order.
Contents (list) --
Represents a list of sections which include section name and list of product REST endpoints for a product.
(dict) --
Contains the section name and list of product REST endpoints for a product.
ProductRestEndpointPageArns (list) -- [REQUIRED]
The ARNs of the product REST endpoint pages in a portal product.
(string) --
SectionName (string) -- [REQUIRED]
The section name.
OverviewPageArn (string) --
The ARN of the overview page.
ProductPageArns (list) --
The product page ARNs.
(string) --
string
[REQUIRED]
The portal product identifier.
dict
Response Syntax
{
'Description': 'string',
'DisplayName': 'string',
'DisplayOrder': {
'Contents': [
{
'ProductRestEndpointPageArns': [
'string',
],
'SectionName': 'string'
},
],
'OverviewPageArn': 'string',
'ProductPageArns': [
'string',
]
},
'LastModified': datetime(2015, 1, 1),
'PortalProductArn': 'string',
'PortalProductId': 'string',
'Tags': {
'string': 'string'
}
}
Response Structure
(dict) --
200 response
Description (string) --
The description of the portal product.
DisplayName (string) --
The display name of a portal product.
DisplayOrder (dict) --
The display order that the portal products will appear in a portal.
Contents (list) --
Represents a list of sections which include section name and list of product REST endpoints for a product.
(dict) --
Contains the section name and list of product REST endpoints for a product.
ProductRestEndpointPageArns (list) --
The ARNs of the product REST endpoint pages in a portal product.
(string) --
SectionName (string) --
The section name.
OverviewPageArn (string) --
The ARN of the overview page.
ProductPageArns (list) --
The product page ARNs.
(string) --
LastModified (datetime) --
The timestamp when the portal product was last modified.
PortalProductArn (string) --
The ARN of the portal product.
PortalProductId (string) --
The portal product identifier.
Tags (dict) --
The collection of tags. Each tag element is associated with a given resource.
(string) --
(string) --
A string with a length between [0-1600].