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
6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 | |