:doc:`SageMaker <../../sagemaker>` / Paginator / CreateHubContentPresignedUrls

*****************************
CreateHubContentPresignedUrls
*****************************



.. py:class:: SageMaker.Paginator.CreateHubContentPresignedUrls

  ::

    
    paginator = client.get_paginator('create_hub_content_presigned_urls')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`SageMaker.Client.create_hub_content_presigned_urls`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHubContentPresignedUrls>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          HubName='string',
          HubContentType='Model'|'Notebook'|'ModelReference'|'DataSet'|'JsonDoc',
          HubContentName='string',
          HubContentVersion='string',
          AccessConfig={
              'AcceptEula': True|False,
              'ExpectedS3Url': 'string'
          },
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type HubName: string
    :param HubName: **[REQUIRED]** 

      The name or Amazon Resource Name (ARN) of the hub that contains the content. For public content, use ``SageMakerPublicHub``.

      

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

      The type of hub content to access. Valid values include ``Model``, ``Notebook``, and ``ModelReference``.

      

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

      The name of the hub content for which to generate presigned URLs. This identifies the specific model or content within the hub.

      

    
    :type HubContentVersion: string
    :param HubContentVersion: 

      The version of the hub content. If not specified, the latest version is used.

      

    
    :type AccessConfig: dict
    :param AccessConfig: 

      Configuration settings for accessing the hub content, including end-user license agreement acceptance for gated models and expected S3 URL validation.

      

    
      - **AcceptEula** *(boolean) --* 

        Indicates acceptance of the End User License Agreement (EULA) for gated models. Set to true to acknowledge acceptance of the license terms required for accessing gated content.

        

      
      - **ExpectedS3Url** *(string) --* 

        The expected S3 URL prefix for validation purposes. This parameter helps ensure consistency between the resolved S3 URIs and the deployment configuration, reducing potential compatibility issues.

        

      
    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

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

      
      ::

        {
            'AuthorizedUrlConfigs': [
                {
                    'Url': 'string',
                    'LocalPath': 'string'
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **AuthorizedUrlConfigs** *(list) --* 

          An array of authorized URL configurations, each containing a presigned URL and its corresponding local file path for proper file organization during download.

          
          

          - *(dict) --* 

            Contains a presigned URL and its associated local file path for downloading hub content artifacts.

            
            

            - **Url** *(string) --* 

              The presigned S3 URL that provides temporary, secure access to download the file. URLs expire within 15 minutes for security purposes.

              
            

            - **LocalPath** *(string) --* 

              The recommended local file path where the downloaded file should be stored to maintain proper directory structure and file organization.

              
        
      
    