code: def describe_api_deployment(restApiId, deploymentId, region=None, key=None, keyid=None, profile=None):
      '''
      Get API deployment for a given restApiId and deploymentId.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_apigateway.describe_api_deployent restApiId deploymentId
  
      '''
      try:
          conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
          deployment = conn.get_deployment(restApiId=restApiId, deploymentId=deploymentId)
          return {'deployment': _convert_datetime_str(deployment)}
      except ClientError as e:
          return {'error': __utils__['boto3.get_error'](e)f describe_api_deployment(restApiId, deploymentId, region=None, key=None, keyid=None, profile=None):
      '''
      Get API deployment for a given restApiId and deploymentId.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_apigateway.describe_api_deployent restApiId deploymentId
  
      '''
      try:
          conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
          deployment = conn.get_deployment(restApiId=restApiId, deploymentId=deploymentId)
          return {'deployment': _convert_datetime_str(deployment)}
      except ClientError as e:
          return {'error': __utils__['boto3.get_error'](e)}
docs: Get API deployment for a given restApiId and deploymentId.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_apigateway.describe_api_deployent restApiId deploymentId