:doc:`Bedrock <../../bedrock>` / Client / list_provisioned_model_throughputs

**********************************
list_provisioned_model_throughputs
**********************************



.. py:method:: Bedrock.Client.list_provisioned_model_throughputs(**kwargs)

  

  Lists the Provisioned Throughputs in the account. For more information, see `Provisioned Throughput <https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html>`__ in the `Amazon Bedrock User Guide <https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListProvisionedModelThroughputs>`_  


  **Request Syntax**
  ::

    response = client.list_provisioned_model_throughputs(
        creationTimeAfter=datetime(2015, 1, 1),
        creationTimeBefore=datetime(2015, 1, 1),
        statusEquals='Creating'|'InService'|'Updating'|'Failed',
        modelArnEquals='string',
        nameContains='string',
        maxResults=123,
        nextToken='string',
        sortBy='CreationTime',
        sortOrder='Ascending'|'Descending'
    )
    
  :type creationTimeAfter: datetime
  :param creationTimeAfter: 

    A filter that returns Provisioned Throughputs created after the specified time.

    

  
  :type creationTimeBefore: datetime
  :param creationTimeBefore: 

    A filter that returns Provisioned Throughputs created before the specified time.

    

  
  :type statusEquals: string
  :param statusEquals: 

    A filter that returns Provisioned Throughputs if their statuses matches the value that you specify.

    

  
  :type modelArnEquals: string
  :param modelArnEquals: 

    A filter that returns Provisioned Throughputs whose model Amazon Resource Name (ARN) is equal to the value that you specify.

    

  
  :type nameContains: string
  :param nameContains: 

    A filter that returns Provisioned Throughputs if their name contains the expression that you specify.

    

  
  :type maxResults: integer
  :param maxResults: 

    THe maximum number of results to return in the response. If there are more results than the number you specified, the response returns a ``nextToken`` value. To see the next batch of results, send the ``nextToken`` value in another list request.

    

  
  :type nextToken: string
  :param nextToken: 

    If there are more results than the number you specified in the ``maxResults`` field, the response returns a ``nextToken`` value. To see the next batch of results, specify the ``nextToken`` value in this field.

    

  
  :type sortBy: string
  :param sortBy: 

    The field by which to sort the returned list of Provisioned Throughputs.

    

  
  :type sortOrder: string
  :param sortOrder: 

    The sort order of the results.

    

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

    
    ::

      {
          'nextToken': 'string',
          'provisionedModelSummaries': [
              {
                  'provisionedModelName': 'string',
                  'provisionedModelArn': 'string',
                  'modelArn': 'string',
                  'desiredModelArn': 'string',
                  'foundationModelArn': 'string',
                  'modelUnits': 123,
                  'desiredModelUnits': 123,
                  'status': 'Creating'|'InService'|'Updating'|'Failed',
                  'commitmentDuration': 'OneMonth'|'SixMonths',
                  'commitmentExpirationTime': datetime(2015, 1, 1),
                  'creationTime': datetime(2015, 1, 1),
                  'lastModifiedTime': datetime(2015, 1, 1)
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **nextToken** *(string) --* 

        If there are more results than the number you specified in the ``maxResults`` field, this value is returned. To see the next batch of results, include this value in the ``nextToken`` field in another list request.

        
      

      - **provisionedModelSummaries** *(list) --* 

        A list of summaries, one for each Provisioned Throughput in the response.

        
        

        - *(dict) --* 

          A summary of information about a Provisioned Throughput.

           

          This data type is used in the following API operations:

           

          
          * `ListProvisionedThroughputs response <https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListProvisionedModelThroughputs.html#API_ListProvisionedModelThroughputs_ResponseSyntax>`__
          

          
          

          - **provisionedModelName** *(string) --* 

            The name of the Provisioned Throughput.

            
          

          - **provisionedModelArn** *(string) --* 

            The Amazon Resource Name (ARN) of the Provisioned Throughput.

            
          

          - **modelArn** *(string) --* 

            The Amazon Resource Name (ARN) of the model associated with the Provisioned Throughput.

            
          

          - **desiredModelArn** *(string) --* 

            The Amazon Resource Name (ARN) of the model requested to be associated to this Provisioned Throughput. This value differs from the ``modelArn`` if updating hasn't completed.

            
          

          - **foundationModelArn** *(string) --* 

            The Amazon Resource Name (ARN) of the base model for which the Provisioned Throughput was created, or of the base model that the custom model for which the Provisioned Throughput was created was customized.

            
          

          - **modelUnits** *(integer) --* 

            The number of model units allocated to the Provisioned Throughput.

            
          

          - **desiredModelUnits** *(integer) --* 

            The number of model units that was requested to be allocated to the Provisioned Throughput.

            
          

          - **status** *(string) --* 

            The status of the Provisioned Throughput.

            
          

          - **commitmentDuration** *(string) --* 

            The duration for which the Provisioned Throughput was committed.

            
          

          - **commitmentExpirationTime** *(datetime) --* 

            The timestamp for when the commitment term of the Provisioned Throughput expires.

            
          

          - **creationTime** *(datetime) --* 

            The time that the Provisioned Throughput was created.

            
          

          - **lastModifiedTime** *(datetime) --* 

            The time that the Provisioned Throughput was last modified.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`Bedrock.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Bedrock.Client.exceptions.ValidationException`

  
  *   :py:class:`Bedrock.Client.exceptions.InternalServerException`

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

  