ApiGatewayV2 / Client / update_portal_product
update_portal_product¶
- ApiGatewayV2.Client.update_portal_product(**kwargs)¶
Updates the portal product.
See also: AWS API Documentation
Request Syntax
response = client.update_portal_product( Description='string', DisplayName='string', DisplayOrder={ 'Contents': [ { 'ProductRestEndpointPageArns': [ 'string', ], 'SectionName': 'string' }, ], 'OverviewPageArn': 'string', 'ProductPageArns': [ 'string', ] }, PortalProductId='string' )
- Parameters:
Description (string) – The description.
DisplayName (string) – The displayName.
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) – [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) –
PortalProductId (string) –
[REQUIRED]
The portal product identifier.
- Return type:
dict
- Returns:
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].
Exceptions