:doc:`Connect <../../connect>` / Client / create_workspace_page

*********************
create_workspace_page
*********************



.. py:method:: Connect.Client.create_workspace_page(**kwargs)

  

  Associates a view with a page in a workspace, defining what users see when they navigate to that page.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateWorkspacePage>`_  


  **Request Syntax**
  ::

    response = client.create_workspace_page(
        InstanceId='string',
        WorkspaceId='string',
        ResourceArn='string',
        Page='string',
        Slug='string',
        InputData='string'
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance. You can `find the instance ID <https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html>`__ in the Amazon Resource Name (ARN) of the instance.

    

  
  :type WorkspaceId: string
  :param WorkspaceId: **[REQUIRED]** 

    The identifier of the workspace.

    

  
  :type ResourceArn: string
  :param ResourceArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the view to associate with the page.

    

  
  :type Page: string
  :param Page: **[REQUIRED]** 

    The page identifier. Valid system pages include ``HOME`` and ``AGENT_EXPERIENCE``. Custom pages cannot use the ``aws:`` or ``connect:`` prefixes.

    

  
  :type Slug: string
  :param Slug: 

    The URL-friendly identifier for the page.

    

  
  :type InputData: string
  :param InputData: 

    A JSON string containing input parameters for the view, validated against the view's input schema.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.DuplicateResourceException`

  
  *   :py:class:`Connect.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Connect.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Connect.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`Connect.Client.exceptions.ResourceConflictException`

  
  *   :py:class:`Connect.Client.exceptions.LimitExceededException`

  
  *   :py:class:`Connect.Client.exceptions.ServiceQuotaExceededException`

  