:doc:`ARCRegionswitch <../../arc-region-switch>` / Client / get_plan_evaluation_status

**************************
get_plan_evaluation_status
**************************



.. py:method:: ARCRegionswitch.Client.get_plan_evaluation_status(**kwargs)

  

  Retrieves the evaluation status of a Region switch plan. The evaluation status provides information about the last time the plan was evaluated and any warnings or issues detected.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/GetPlanEvaluationStatus>`_  


  **Request Syntax**
  ::

    response = client.get_plan_evaluation_status(
        planArn='string',
        maxResults=123,
        nextToken='string'
    )
    
  :type planArn: string
  :param planArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the Region switch plan to retrieve evaluation status for.

    

  
  :type maxResults: integer
  :param maxResults: 

    The number of objects that you want to return with this call.

    

  
  :type nextToken: string
  :param nextToken: 

    Specifies that you want to receive the next page of results. Valid only if you received a ``nextToken`` response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's ``nextToken`` response to request the next page of results.

    

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

    
    ::

      {
          'planArn': 'string',
          'lastEvaluationTime': datetime(2015, 1, 1),
          'lastEvaluatedVersion': 'string',
          'region': 'string',
          'evaluationState': 'passed'|'actionRequired'|'pendingEvaluation'|'unknown',
          'warnings': [
              {
                  'workflow': {
                      'action': 'activate'|'deactivate',
                      'name': 'string'
                  },
                  'version': 'string',
                  'stepName': 'string',
                  'resourceArn': 'string',
                  'warningStatus': 'active'|'resolved',
                  'warningUpdatedTime': datetime(2015, 1, 1),
                  'warningMessage': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **planArn** *(string) --* 

        The Amazon Resource Name (ARN) of the plan.

        
      

      - **lastEvaluationTime** *(datetime) --* 

        The time of the last time that Region switch ran an evaluation of the plan.

        
      

      - **lastEvaluatedVersion** *(string) --* 

        The version of the last evaluation of the plan.

        
      

      - **region** *(string) --* 

        The Amazon Web Services Region for the plan.

        
      

      - **evaluationState** *(string) --* 

        The evaluation state for the plan.

        
      

      - **warnings** *(list) --* 

        The current evaluation warnings for the plan.

        
        

        - *(dict) --* 

          Represents a warning about a resource in a Region switch plan.

          
          

          - **workflow** *(dict) --* 

            The workflow for the resource warning.

            
            

            - **action** *(string) --* 

              The action for a minimal workflow, which can be Activate or Deactivate.

              
            

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

              The name for a minimal workflow

              
        
          

          - **version** *(string) --* 

            The version for the resource warning.

            
          

          - **stepName** *(string) --* 

            The name of the step for the resource warning.

            
          

          - **resourceArn** *(string) --* 

            The Amazon Resource Name (ARN) of the resource.

            
          

          - **warningStatus** *(string) --* 

            The status of the resource warning.

            
          

          - **warningUpdatedTime** *(datetime) --* 

            The timestamp when the warning was last updated.

            
          

          - **warningMessage** *(string) --* 

            The warning message about what needs to be corrected.

            
      
    
      

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

        Specifies that you want to receive the next page of results. Valid only if you received a ``nextToken`` response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's ``nextToken`` response to request the next page of results.

        
  
  **Exceptions**
  
  *   :py:class:`ARCRegionswitch.Client.exceptions.ResourceNotFoundException`

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

  