class_docstr: This operator allows you to close alerts to Opsgenie.
  
  Accepts a connection that has an Opsgenie API key as the connection's password.
  This operator sets the domain to conn_id.host, and if not set will default
  to ``https://api.opsgenie.com``.
  
  Each Opsgenie API key can be pre-configured to a team integration.
  You can override these defaults in this operator.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:OpsgenieCloseAlertOperator`
  
  :param opsgenie_conn_id: The name of the Opsgenie connection to use
  :param identifier: Identifier of alert which could be alert id, tiny id or alert alias
  :param identifier_type: Type of the identifier that is provided as an in-line parameter.
      Possible values are 'id', 'alias' or 'tiny'
  :param user: display name of the request owner
  :param note: additional note that will be added while creating the alert
  :param source: source field of the alert. Default value is IP address of the incoming request
  :param close_alert_kwargs: additional params to pass
class_docstr_tok: ["This","operator","allows","you","to","close","alerts","to","Opsgenie",".","Accepts","a","connection","that","has","an","Opsgenie","API","key","as","the","connection","'s","password",".","This","operator","sets","the","domain","to","conn_id.host",",","and","if","not","set","will","default","to","``","https",":","\/\/api.opsgenie.com","``",".","Each","Opsgenie","API","key","can","be","pre-configured","to","a","team","integration",".","You","can","override","these","defaults","in","this","operator",".","..","seealso",":",":","For","more","information","on","how","to","use","this","operator",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/operator",":","OpsgenieCloseAlertOperator","`",":","param","opsgenie_conn_id",":","The","name","of","the","Opsgenie","connection","to","use",":","param","identifier",":","Identifier","of","alert","which","could","be","alert","id",",","tiny","id","or","alert","alias",":","param","identifier_type",":","Type","of","the","identifier","that","is","provided","as","an","in-line","parameter",".","Possible","values","are","'id","'",",","'alias","'","or","'tiny'",":","param","user",":","display","name","of","the","request","owner",":","param","note",":","additional","note","that","will","be","added","while","creating","the","alert",":","param","source",":","source","field","of","the","alert",".","Default","value","is","IP","address","of","the","incoming","request",":","param","close_alert_kwargs",":","additional","params","to","pass"]
docstr: Call the OpsgenieAlertHook to close alert.
docstr_tok: ["Call","the","OpsgenieAlertHook","to","close","alert","."]
code: def execute(self, context: Context) -> None:
      """Call the OpsgenieAlertHook to close alert."""
      self.hook = OpsgenieAlertHook(self.opsgenie_conn_id)
      self.hook.close_alert(
          identifier=self.identifier,
          identifier_type=self.identifier_type,
          payload=self._build_opsgenie_close_alert_payload(),
          **(self.close_alert_kwargs or {}),
      )
  
file_path: airflow/airflow/providers/opsgenie/operators/opsgenie.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any, Sequence
  from airflow.models import BaseOperator
  from airflow.providers.opsgenie.hooks.opsgenie import OpsgenieAlertHook
label_desc: Use image node_id 3 for calling the OpsgenieCloseAlertOperator obj's underlying member method code with example usage: obj.execute(context) without return types