:doc:`BillingandCostManagementPricingCalculator <../../bcm-pricing-calculator>` / Client / get_workload_estimate

*********************
get_workload_estimate
*********************



.. py:method:: BillingandCostManagementPricingCalculator.Client.get_workload_estimate(**kwargs)

  

  Retrieves details of a specific workload estimate.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/GetWorkloadEstimate>`_  


  **Request Syntax**
  ::

    response = client.get_workload_estimate(
        identifier='string'
    )
    
  :type identifier: string
  :param identifier: **[REQUIRED]** 

    The unique identifier of the workload estimate to retrieve.

    

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

    
    ::

      {
          'id': 'string',
          'name': 'string',
          'createdAt': datetime(2015, 1, 1),
          'expiresAt': datetime(2015, 1, 1),
          'rateType': 'BEFORE_DISCOUNTS'|'AFTER_DISCOUNTS'|'AFTER_DISCOUNTS_AND_COMMITMENTS',
          'rateTimestamp': datetime(2015, 1, 1),
          'status': 'UPDATING'|'VALID'|'INVALID'|'ACTION_NEEDED',
          'totalCost': 123.0,
          'costCurrency': 'USD',
          'failureMessage': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Mixin for common fields returned by CRUD APIs

      
      

      - **id** *(string) --* 

        The unique identifier of the retrieved workload estimate.

        
      

      - **name** *(string) --* 

        The name of the retrieved workload estimate.

        
      

      - **createdAt** *(datetime) --* 

        The timestamp when the workload estimate was created.

        
      

      - **expiresAt** *(datetime) --* 

        The timestamp when the workload estimate will expire.

        
      

      - **rateType** *(string) --* 

        The type of pricing rates used for the estimate.

        
      

      - **rateTimestamp** *(datetime) --* 

        The timestamp of the pricing rates used for the estimate.

        
      

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

        The current status of the workload estimate.

        
      

      - **totalCost** *(float) --* 

        The total estimated cost for the workload.

        
      

      - **costCurrency** *(string) --* 

        The currency of the estimated cost.

        
      

      - **failureMessage** *(string) --* 

        An error message if the workload estimate retrieval failed.

        
  
  **Exceptions**
  
  *   :py:class:`BillingandCostManagementPricingCalculator.Client.exceptions.ValidationException`

  
  *   :py:class:`BillingandCostManagementPricingCalculator.Client.exceptions.DataUnavailableException`

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

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

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

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

  