create_workspace_page
async
¶
create_workspace_page(
instance_id: InstanceId,
workspace_id: WorkspaceId,
resource_arn: ARN,
page: Page,
*,
config_overrides: Optional[AsyncConnectClientConfig] = 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/async_connect.py
6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 | |