update_portal
async
¶
update_portal(
portal_id: ID,
portal_name: Name,
portal_contact_email: Email,
role_arn: IamArn,
*,
config_overrides: Optional[AsyncIoTSiteWiseClientConfig] = None,
portal_description: Optional[Description] = None,
portal_logo_image: Optional[Image] = None,
client_token: Optional[ClientToken] = None,
notification_sender_email: Optional[Email] = None,
alarms: Optional[Alarms] = None,
portal_type: Optional[PortalType] = None,
portal_type_configuration: Optional[PortalTypeConfiguration] = None,
) -> UpdatePortalResponse
The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see IoT SiteWise Monitor availability change.
Updates an IoT SiteWise Monitor portal.
Parameters:
-
portal_id(ID) –The ID of the portal to update.
-
portal_name(Name) –A new friendly name for the portal.
-
portal_description(Optional[Description], default:None) –A new description for the portal.
-
portal_contact_email(Email) –The Amazon Web Services administrator's contact email address.
-
role_arn(IamArn) –The ARN of a service role that allows the portal's users to access your IoT SiteWise resources on your behalf. For more information, see Using service roles for IoT SiteWise Monitor in the IoT SiteWise User Guide.
-
client_token(Optional[ClientToken], default:None) –A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
-
notification_sender_email(Optional[Email], default:None) –The email address that sends alarm notifications.
-
alarms(Optional[Alarms], default:None) –Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal. You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range. For more information, see Monitoring with alarms in the IoT SiteWise Application Guide.
-
portal_type(Optional[PortalType], default:None) –Define the type of portal. The value for IoT SiteWise Monitor (Classic) is
SITEWISE_PORTAL_V1. The value for IoT SiteWise Monitor (AI-aware) isSITEWISE_PORTAL_V2. -
portal_type_configuration(Optional[PortalTypeConfiguration], default:None) –The configuration entry associated with the specific portal type. The value for IoT SiteWise Monitor (Classic) is
SITEWISE_PORTAL_V1. The value for IoT SiteWise Monitor (AI-aware) isSITEWISE_PORTAL_V2.
Raises:
-
ConflictingOperationException–Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.
-
InternalFailureException–IoT SiteWise can't process your request right now. Try again later.
-
InvalidRequestException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.
For more information, see Quotas in the IoT SiteWise User Guide.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iotsitewise/_services/async_io_t_site_wise.py
11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 | |