update_portal
async
¶
update_portal(
portal_id: PortalId,
*,
config_overrides: Optional[AsyncAPIPortalClientConfig] = None,
portal_content: Optional[PortalContent] = None,
endpoint_configuration: Optional[EndpointConfigurationRequest] = None,
authorization: Optional[Authorization] = None,
rum_app_monitor_name: Optional[RUMAppMonitorName] = None,
included_product_arns: Optional[IncludedProductArns] = None,
logo_uri: Optional[LogoUri] = None,
) -> UpdatePortalResponse
Updates a portal. Only the fields supplied in the request are changed.
Parameters:
-
portal_id(PortalId) –The identifier of the portal.
-
portal_content(Optional[PortalContent], default:None) –The new display name, description, and theme. Omit it to keep the current values.
-
authorization(Optional[Authorization], default:None) –The new authorization settings. Omit it to keep the current settings.
-
rum_app_monitor_name(Optional[RUMAppMonitorName], default:None) –The new CloudWatch RUM app monitor name. Omit it to keep the current value.
-
included_product_arns(Optional[IncludedProductArns], default:None) –The new list of product ARNs, up to 200. It replaces the current list. Omit it to keep the current list.
-
logo_uri(Optional[LogoUri], default:None) –The new S3 location of the portal logo, in the form
s3://bucket/key. An empty string removes the logo. Omit it to keep the current logo.
Raises:
-
AccessDeniedException–You do not have permission to perform this operation.
-
BadRequestException–The request is not valid. The message identifies the field or value that failed validation.
-
ConflictException–The request conflicts with the current state of the resource, for example because another operation on it is still in progress.
-
LimitExceededException–The request rate or a service quota was exceeded. Reduce the request rate or the number of resources and try again.
-
ResourceNotFoundException–The requested resource does not exist, or you do not have access to it.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_apiportal/_services/async_api_portal.py
1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 | |