[[reference-snapshot-get]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] === client.snapshot.get Returns information about a snapshot. {ref}/modules-snapshots.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (SnapshotGetRequest, options?): Promise ---- [discrete] ==== SnapshotGetRequest [pass] ++++
++++
interface SnapshotGetRequest extends <> {
  repository: <>
  snapshot: <>
  ignore_unavailable?: boolean
  master_timeout?: <>
  verbose?: boolean
  index_details?: boolean
  index_names?: boolean
  include_repository?: boolean
  sort?: SnapshotSnapshotSort
  size?: <<_integer, integer>>
  order?: <>
  after?: string
  offset?: <<_integer, integer>>
  from_sort_value?: string
  slm_policy_filter?: <>
}

[pass]
++++
++++ [discrete] ==== SnapshotGetResponse [pass] ++++
++++
interface SnapshotGetResponse {
  responses?: SnapshotGetSnapshotResponseItem[]
  snapshots?: SnapshotSnapshotInfo[]
  total: <<_integer, integer>>
  remaining: <<_integer, integer>>
}

[pass]
++++
++++