create_workspace_page
¶
create_workspace_page(
instance_id: InstanceId,
workspace_id: WorkspaceId,
resource_arn: ARN,
page: Page,
*,
config_overrides: Optional[ConnectClientConfig] = None,
slug: Optional[Slug] = None,
input_data: Optional[InputData] = None,
) -> CreateWorkspacePageResponse
Associates a view with a page in a workspace, defining what users see when they navigate to that page.
Parameters:
-
instance_id(InstanceId) –The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
workspace_id(WorkspaceId) –The identifier of the workspace.
-
resource_arn(ARN) –The Amazon Resource Name (ARN) of the view to associate with the page.
-
page(Page) –The page identifier. Valid system pages include
HOMEandAGENT_EXPERIENCE. Custom pages cannot use theaws:orconnect:prefixes. -
slug(Optional[Slug], default:None) –The URL-friendly identifier for the page.
-
input_data(Optional[InputData], default:None) –A JSON string containing input parameters for the view, validated against the view's input schema.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
DuplicateResourceException–A resource with the specified name already exists.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
LimitExceededException–The allowed limit for the resource has been exceeded.
-
ResourceConflictException–A resource already has that name.
-
ResourceNotFoundException–The specified resource was not found.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/connect.py
6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 | |