:doc:`MainframeModernization <../../m2>` / Client / get_deployment

**************
get_deployment
**************



.. py:method:: MainframeModernization.Client.get_deployment(**kwargs)

  

  Gets details of a specific deployment with a given deployment identifier.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/GetDeployment>`_  


  **Request Syntax**
  ::

    response = client.get_deployment(
        applicationId='string',
        deploymentId='string'
    )
    
  :type applicationId: string
  :param applicationId: **[REQUIRED]** 

    The unique identifier of the application.

    

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

    The unique identifier for the deployment.

    

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

    
    ::

      {
          'applicationId': 'string',
          'applicationVersion': 123,
          'creationTime': datetime(2015, 1, 1),
          'deploymentId': 'string',
          'environmentId': 'string',
          'status': 'Deploying'|'Succeeded'|'Failed'|'Updating Deployment',
          'statusReason': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **applicationId** *(string) --* 

        The unique identifier of the application.

        
      

      - **applicationVersion** *(integer) --* 

        The application version.

        
      

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

        The timestamp when the deployment was created.

        
      

      - **deploymentId** *(string) --* 

        The unique identifier of the deployment.

        
      

      - **environmentId** *(string) --* 

        The unique identifier of the runtime environment.

        
      

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

        The status of the deployment.

        
      

      - **statusReason** *(string) --* 

        The reason for the reported status.

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

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

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

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

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

  