update_portal
¶
update_portal(
portal_id: ID,
portal_name: Name,
portal_contact_email: Email,
role_arn: IamArn,
*,
config_overrides: Optional[IoTSiteWiseClientConfig] = 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/io_t_site_wise.py
11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 | |