code: def _get_current_deployment_id(self):
          '''
          Helper method to find the deployment id that the stage name is currently assocaited with.
          '''
          deploymentId = ''
          stage = __salt__['boto_apigateway.describe_api_stage'](restApiId=self.restApiId,
                                                                 stageName=self._stage_name,
                                                                 **self._common_aws_args).get('stage')
          if stage:
              deploymentId = stage.get('deploymentId')
          return deploymentIf _get_current_deployment_id(self):
          '''
          Helper method to find the deployment id that the stage name is currently assocaited with.
          '''
          deploymentId = ''
          stage = __salt__['boto_apigateway.describe_api_stage'](restApiId=self.restApiId,
                                                                 stageName=self._stage_name,
                                                                 **self._common_aws_args).get('stage')
          if stage:
              deploymentId = stage.get('deploymentId')
          return deploymentId
docs: Helper method to find the deployment id that the stage name is currently assocaited with.