diff --git a/api/api/ilm.js b/api/api/ilm.js index 9ded145c4..b108bbf91 100644 --- a/api/api/ilm.js +++ b/api/api/ilm.js @@ -23,8 +23,8 @@ /* eslint no-unused-vars: 0 */ const { handleError, snakeCaseKeys, normalizeArguments, kConfigurationError } = require('../utils') -const acceptedQuerystring = ['pretty', 'human', 'error_trace', 'source', 'filter_path', 'only_managed', 'only_errors'] -const snakeCase = { errorTrace: 'error_trace', filterPath: 'filter_path', onlyManaged: 'only_managed', onlyErrors: 'only_errors' } +const acceptedQuerystring = ['pretty', 'human', 'error_trace', 'source', 'filter_path', 'only_managed', 'only_errors', 'dry_run'] +const snakeCase = { errorTrace: 'error_trace', filterPath: 'filter_path', onlyManaged: 'only_managed', onlyErrors: 'only_errors', dryRun: 'dry_run' } function IlmApi (transport, ConfigurationError) { this.transport = transport @@ -132,6 +132,27 @@ IlmApi.prototype.getStatus = function ilmGetStatusApi (params, options, callback return this.transport.request(request, options, callback) } +IlmApi.prototype.migrateToDataTiers = function ilmMigrateToDataTiersApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + let { method, body, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'POST' + path = '/' + '_ilm' + '/' + 'migrate_to_data_tiers' + + // build request object + const request = { + method, + path, + body: body || '', + querystring + } + + return this.transport.request(request, options, callback) +} + IlmApi.prototype.moveToStep = function ilmMoveToStepApi (params, options, callback) { ;[params, options, callback] = normalizeArguments(params, options, callback) @@ -287,6 +308,7 @@ Object.defineProperties(IlmApi.prototype, { explain_lifecycle: { get () { return this.explainLifecycle } }, get_lifecycle: { get () { return this.getLifecycle } }, get_status: { get () { return this.getStatus } }, + migrate_to_data_tiers: { get () { return this.migrateToDataTiers } }, move_to_step: { get () { return this.moveToStep } }, put_lifecycle: { get () { return this.putLifecycle } }, remove_policy: { get () { return this.removePolicy } } diff --git a/api/api/indices.js b/api/api/indices.js index 654141cf2..3a187e34c 100644 --- a/api/api/indices.js +++ b/api/api/indices.js @@ -23,8 +23,8 @@ /* eslint no-unused-vars: 0 */ const { handleError, snakeCaseKeys, normalizeArguments, kConfigurationError } = require('../utils') -const acceptedQuerystring = ['timeout', 'master_timeout', 'ignore_unavailable', 'allow_no_indices', 'expand_wildcards', 'pretty', 'human', 'error_trace', 'source', 'filter_path', 'index', 'fielddata', 'fields', 'query', 'request', 'wait_for_active_shards', 'include_type_name', 'local', 'flat_settings', 'include_defaults', 'force', 'wait_if_ongoing', 'flush', 'max_num_segments', 'only_expunge_deletes', 'create', 'cause', 'write_index_only', 'preserve_existing', 'order', 'detailed', 'active_only', 'dry_run', 'verbose', 'status', 'copy_settings', 'completion_fields', 'fielddata_fields', 'groups', 'level', 'types', 'include_segment_file_sizes', 'include_unloaded_segments', 'forbid_closed_indices', 'wait_for_completion', 'only_ancient_segments', 'explain', 'q', 'analyzer', 'analyze_wildcard', 'default_operator', 'df', 'lenient', 'rewrite', 'all_shards'] -const snakeCase = { masterTimeout: 'master_timeout', ignoreUnavailable: 'ignore_unavailable', allowNoIndices: 'allow_no_indices', expandWildcards: 'expand_wildcards', errorTrace: 'error_trace', filterPath: 'filter_path', waitForActiveShards: 'wait_for_active_shards', includeTypeName: 'include_type_name', flatSettings: 'flat_settings', includeDefaults: 'include_defaults', waitIfOngoing: 'wait_if_ongoing', maxNumSegments: 'max_num_segments', onlyExpungeDeletes: 'only_expunge_deletes', writeIndexOnly: 'write_index_only', preserveExisting: 'preserve_existing', activeOnly: 'active_only', dryRun: 'dry_run', copySettings: 'copy_settings', completionFields: 'completion_fields', fielddataFields: 'fielddata_fields', includeSegmentFileSizes: 'include_segment_file_sizes', includeUnloadedSegments: 'include_unloaded_segments', forbidClosedIndices: 'forbid_closed_indices', waitForCompletion: 'wait_for_completion', onlyAncientSegments: 'only_ancient_segments', analyzeWildcard: 'analyze_wildcard', defaultOperator: 'default_operator', allShards: 'all_shards' } +const acceptedQuerystring = ['timeout', 'master_timeout', 'ignore_unavailable', 'allow_no_indices', 'expand_wildcards', 'pretty', 'human', 'error_trace', 'source', 'filter_path', 'index', 'fielddata', 'fields', 'query', 'request', 'wait_for_active_shards', 'include_type_name', 'run_expensive_tasks', 'flush', 'local', 'flat_settings', 'include_defaults', 'force', 'wait_if_ongoing', 'max_num_segments', 'only_expunge_deletes', 'create', 'cause', 'write_index_only', 'preserve_existing', 'order', 'detailed', 'active_only', 'dry_run', 'verbose', 'status', 'copy_settings', 'completion_fields', 'fielddata_fields', 'groups', 'level', 'types', 'include_segment_file_sizes', 'include_unloaded_segments', 'forbid_closed_indices', 'wait_for_completion', 'only_ancient_segments', 'explain', 'q', 'analyzer', 'analyze_wildcard', 'default_operator', 'df', 'lenient', 'rewrite', 'all_shards'] +const snakeCase = { masterTimeout: 'master_timeout', ignoreUnavailable: 'ignore_unavailable', allowNoIndices: 'allow_no_indices', expandWildcards: 'expand_wildcards', errorTrace: 'error_trace', filterPath: 'filter_path', waitForActiveShards: 'wait_for_active_shards', includeTypeName: 'include_type_name', runExpensiveTasks: 'run_expensive_tasks', flatSettings: 'flat_settings', includeDefaults: 'include_defaults', waitIfOngoing: 'wait_if_ongoing', maxNumSegments: 'max_num_segments', onlyExpungeDeletes: 'only_expunge_deletes', writeIndexOnly: 'write_index_only', preserveExisting: 'preserve_existing', activeOnly: 'active_only', dryRun: 'dry_run', copySettings: 'copy_settings', completionFields: 'completion_fields', fielddataFields: 'fielddata_fields', includeSegmentFileSizes: 'include_segment_file_sizes', includeUnloadedSegments: 'include_unloaded_segments', forbidClosedIndices: 'forbid_closed_indices', waitForCompletion: 'wait_for_completion', onlyAncientSegments: 'only_ancient_segments', analyzeWildcard: 'analyze_wildcard', defaultOperator: 'default_operator', allShards: 'all_shards' } function IndicesApi (transport, ConfigurationError) { this.transport = transport @@ -414,6 +414,33 @@ IndicesApi.prototype.deleteTemplate = function indicesDeleteTemplateApi (params, return this.transport.request(request, options, callback) } +IndicesApi.prototype.diskUsage = function indicesDiskUsageApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.index == null) { + const err = new this[kConfigurationError]('Missing required parameter: index') + return handleError(err, callback) + } + + let { method, body, index, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'POST' + path = '/' + encodeURIComponent(index) + '/' + '_disk_usage' + + // build request object + const request = { + method, + path, + body: body || '', + querystring + } + + return this.transport.request(request, options, callback) +} + IndicesApi.prototype.exists = function indicesExistsApi (params, options, callback) { ;[params, options, callback] = normalizeArguments(params, options, callback) @@ -564,6 +591,33 @@ IndicesApi.prototype.existsType = function indicesExistsTypeApi (params, options return this.transport.request(request, options, callback) } +IndicesApi.prototype.fieldUsageStats = function indicesFieldUsageStatsApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.index == null) { + const err = new this[kConfigurationError]('Missing required parameter: index') + return handleError(err, callback) + } + + let { method, body, index, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'GET' + path = '/' + encodeURIComponent(index) + '/' + '_field_usage_stats' + + // build request object + const request = { + method, + path, + body: null, + querystring + } + + return this.transport.request(request, options, callback) +} + IndicesApi.prototype.flush = function indicesFlushApi (params, options, callback) { ;[params, options, callback] = normalizeArguments(params, options, callback) @@ -1665,10 +1719,12 @@ Object.defineProperties(IndicesApi.prototype, { delete_data_stream: { get () { return this.deleteDataStream } }, delete_index_template: { get () { return this.deleteIndexTemplate } }, delete_template: { get () { return this.deleteTemplate } }, + disk_usage: { get () { return this.diskUsage } }, exists_alias: { get () { return this.existsAlias } }, exists_index_template: { get () { return this.existsIndexTemplate } }, exists_template: { get () { return this.existsTemplate } }, exists_type: { get () { return this.existsType } }, + field_usage_stats: { get () { return this.fieldUsageStats } }, flush_synced: { get () { return this.flushSynced } }, get_alias: { get () { return this.getAlias } }, get_data_stream: { get () { return this.getDataStream } }, diff --git a/api/api/ml.js b/api/api/ml.js index 46823e764..a803d633b 100644 --- a/api/api/ml.js +++ b/api/api/ml.js @@ -1493,6 +1493,33 @@ MlApi.prototype.putTrainedModelAlias = function mlPutTrainedModelAliasApi (param return this.transport.request(request, options, callback) } +MlApi.prototype.resetJob = function mlResetJobApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.job_id == null && params.jobId == null) { + const err = new this[kConfigurationError]('Missing required parameter: job_id or jobId') + return handleError(err, callback) + } + + let { method, body, jobId, job_id, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'POST' + path = '/' + '_ml' + '/' + 'anomaly_detectors' + '/' + encodeURIComponent(job_id || jobId) + '/' + '_reset' + + // build request object + const request = { + method, + path, + body: body || '', + querystring + } + + return this.transport.request(request, options, callback) +} + MlApi.prototype.revertModelSnapshot = function mlRevertModelSnapshotApi (params, options, callback) { ;[params, options, callback] = normalizeArguments(params, options, callback) @@ -1964,6 +1991,7 @@ Object.defineProperties(MlApi.prototype, { put_job: { get () { return this.putJob } }, put_trained_model: { get () { return this.putTrainedModel } }, put_trained_model_alias: { get () { return this.putTrainedModelAlias } }, + reset_job: { get () { return this.resetJob } }, revert_model_snapshot: { get () { return this.revertModelSnapshot } }, set_upgrade_mode: { get () { return this.setUpgradeMode } }, start_data_frame_analytics: { get () { return this.startDataFrameAnalytics } }, diff --git a/api/api/security.js b/api/api/security.js index 96d775dc5..5908f7c13 100644 --- a/api/api/security.js +++ b/api/api/security.js @@ -1032,6 +1032,168 @@ SecurityApi.prototype.putUser = function securityPutUserApi (params, options, ca return this.transport.request(request, options, callback) } +SecurityApi.prototype.samlAuthenticate = function securitySamlAuthenticateApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.body == null) { + const err = new this[kConfigurationError]('Missing required parameter: body') + return handleError(err, callback) + } + + let { method, body, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'POST' + path = '/' + '_security' + '/' + 'saml' + '/' + 'authenticate' + + // build request object + const request = { + method, + path, + body: body || '', + querystring + } + + return this.transport.request(request, options, callback) +} + +SecurityApi.prototype.samlCompleteLogout = function securitySamlCompleteLogoutApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.body == null) { + const err = new this[kConfigurationError]('Missing required parameter: body') + return handleError(err, callback) + } + + let { method, body, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'POST' + path = '/' + '_security' + '/' + 'saml' + '/' + 'complete_logout' + + // build request object + const request = { + method, + path, + body: body || '', + querystring + } + + return this.transport.request(request, options, callback) +} + +SecurityApi.prototype.samlInvalidate = function securitySamlInvalidateApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.body == null) { + const err = new this[kConfigurationError]('Missing required parameter: body') + return handleError(err, callback) + } + + let { method, body, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'POST' + path = '/' + '_security' + '/' + 'saml' + '/' + 'invalidate' + + // build request object + const request = { + method, + path, + body: body || '', + querystring + } + + return this.transport.request(request, options, callback) +} + +SecurityApi.prototype.samlLogout = function securitySamlLogoutApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.body == null) { + const err = new this[kConfigurationError]('Missing required parameter: body') + return handleError(err, callback) + } + + let { method, body, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'POST' + path = '/' + '_security' + '/' + 'saml' + '/' + 'logout' + + // build request object + const request = { + method, + path, + body: body || '', + querystring + } + + return this.transport.request(request, options, callback) +} + +SecurityApi.prototype.samlPrepareAuthentication = function securitySamlPrepareAuthenticationApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.body == null) { + const err = new this[kConfigurationError]('Missing required parameter: body') + return handleError(err, callback) + } + + let { method, body, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'POST' + path = '/' + '_security' + '/' + 'saml' + '/' + 'prepare' + + // build request object + const request = { + method, + path, + body: body || '', + querystring + } + + return this.transport.request(request, options, callback) +} + +SecurityApi.prototype.samlServiceProviderMetadata = function securitySamlServiceProviderMetadataApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.realm_name == null && params.realmName == null) { + const err = new this[kConfigurationError]('Missing required parameter: realm_name or realmName') + return handleError(err, callback) + } + + let { method, body, realmName, realm_name, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'GET' + path = '/' + '_security' + '/' + 'saml' + '/' + 'metadata' + '/' + encodeURIComponent(realm_name || realmName) + + // build request object + const request = { + method, + path, + body: null, + querystring + } + + return this.transport.request(request, options, callback) +} + Object.defineProperties(SecurityApi.prototype, { change_password: { get () { return this.changePassword } }, clear_api_key_cache: { get () { return this.clearApiKeyCache } }, @@ -1065,7 +1227,13 @@ Object.defineProperties(SecurityApi.prototype, { put_privileges: { get () { return this.putPrivileges } }, put_role: { get () { return this.putRole } }, put_role_mapping: { get () { return this.putRoleMapping } }, - put_user: { get () { return this.putUser } } + put_user: { get () { return this.putUser } }, + saml_authenticate: { get () { return this.samlAuthenticate } }, + saml_complete_logout: { get () { return this.samlCompleteLogout } }, + saml_invalidate: { get () { return this.samlInvalidate } }, + saml_logout: { get () { return this.samlLogout } }, + saml_prepare_authentication: { get () { return this.samlPrepareAuthentication } }, + saml_service_provider_metadata: { get () { return this.samlServiceProviderMetadata } } }) module.exports = SecurityApi diff --git a/api/api/snapshot.js b/api/api/snapshot.js index 911d13f2d..3028779fd 100644 --- a/api/api/snapshot.js +++ b/api/api/snapshot.js @@ -23,8 +23,8 @@ /* eslint no-unused-vars: 0 */ const { handleError, snakeCaseKeys, normalizeArguments, kConfigurationError } = require('../utils') -const acceptedQuerystring = ['master_timeout', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path', 'wait_for_completion', 'verify', 'ignore_unavailable', 'index_details', 'verbose', 'local'] -const snakeCase = { masterTimeout: 'master_timeout', errorTrace: 'error_trace', filterPath: 'filter_path', waitForCompletion: 'wait_for_completion', ignoreUnavailable: 'ignore_unavailable', indexDetails: 'index_details' } +const acceptedQuerystring = ['master_timeout', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path', 'wait_for_completion', 'verify', 'ignore_unavailable', 'index_details', 'include_repository', 'verbose', 'local', 'blob_count', 'concurrency', 'read_node_count', 'early_read_node_count', 'seed', 'rare_action_probability', 'max_blob_size', 'max_total_data_size', 'detailed', 'rarely_abort_writes'] +const snakeCase = { masterTimeout: 'master_timeout', errorTrace: 'error_trace', filterPath: 'filter_path', waitForCompletion: 'wait_for_completion', ignoreUnavailable: 'ignore_unavailable', indexDetails: 'index_details', includeRepository: 'include_repository', blobCount: 'blob_count', readNodeCount: 'read_node_count', earlyReadNodeCount: 'early_read_node_count', rareActionProbability: 'rare_action_probability', maxBlobSize: 'max_blob_size', maxTotalDataSize: 'max_total_data_size', rarelyAbortWrites: 'rarely_abort_writes' } function SnapshotApi (transport, ConfigurationError) { this.transport = transport @@ -301,6 +301,33 @@ SnapshotApi.prototype.getRepository = function snapshotGetRepositoryApi (params, return this.transport.request(request, options, callback) } +SnapshotApi.prototype.repositoryAnalyze = function snapshotRepositoryAnalyzeApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.repository == null) { + const err = new this[kConfigurationError]('Missing required parameter: repository') + return handleError(err, callback) + } + + let { method, body, repository, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'POST' + path = '/' + '_snapshot' + '/' + encodeURIComponent(repository) + '/' + '_analyze' + + // build request object + const request = { + method, + path, + body: body || '', + querystring + } + + return this.transport.request(request, options, callback) +} + SnapshotApi.prototype.restore = function snapshotRestoreApi (params, options, callback) { ;[params, options, callback] = normalizeArguments(params, options, callback) @@ -405,6 +432,7 @@ Object.defineProperties(SnapshotApi.prototype, { create_repository: { get () { return this.createRepository } }, delete_repository: { get () { return this.deleteRepository } }, get_repository: { get () { return this.getRepository } }, + repository_analyze: { get () { return this.repositoryAnalyze } }, verify_repository: { get () { return this.verifyRepository } } }) diff --git a/api/api/sql.js b/api/api/sql.js index 543a8011a..be7c56938 100644 --- a/api/api/sql.js +++ b/api/api/sql.js @@ -23,8 +23,8 @@ /* eslint no-unused-vars: 0 */ const { handleError, snakeCaseKeys, normalizeArguments, kConfigurationError } = require('../utils') -const acceptedQuerystring = ['pretty', 'human', 'error_trace', 'source', 'filter_path', 'format'] -const snakeCase = { errorTrace: 'error_trace', filterPath: 'filter_path' } +const acceptedQuerystring = ['pretty', 'human', 'error_trace', 'source', 'filter_path', 'delimiter', 'format', 'keep_alive', 'wait_for_completion_timeout'] +const snakeCase = { errorTrace: 'error_trace', filterPath: 'filter_path', keepAlive: 'keep_alive', waitForCompletionTimeout: 'wait_for_completion_timeout' } function SqlApi (transport, ConfigurationError) { this.transport = transport @@ -58,6 +58,87 @@ SqlApi.prototype.clearCursor = function sqlClearCursorApi (params, options, call return this.transport.request(request, options, callback) } +SqlApi.prototype.deleteAsync = function sqlDeleteAsyncApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.id == null) { + const err = new this[kConfigurationError]('Missing required parameter: id') + return handleError(err, callback) + } + + let { method, body, id, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'DELETE' + path = '/' + '_sql' + '/' + 'async' + '/' + 'delete' + '/' + encodeURIComponent(id) + + // build request object + const request = { + method, + path, + body: body || '', + querystring + } + + return this.transport.request(request, options, callback) +} + +SqlApi.prototype.getAsync = function sqlGetAsyncApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.id == null) { + const err = new this[kConfigurationError]('Missing required parameter: id') + return handleError(err, callback) + } + + let { method, body, id, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'GET' + path = '/' + '_sql' + '/' + 'async' + '/' + encodeURIComponent(id) + + // build request object + const request = { + method, + path, + body: null, + querystring + } + + return this.transport.request(request, options, callback) +} + +SqlApi.prototype.getAsyncStatus = function sqlGetAsyncStatusApi (params, options, callback) { + ;[params, options, callback] = normalizeArguments(params, options, callback) + + // check required parameters + if (params.id == null) { + const err = new this[kConfigurationError]('Missing required parameter: id') + return handleError(err, callback) + } + + let { method, body, id, ...querystring } = params + querystring = snakeCaseKeys(acceptedQuerystring, snakeCase, querystring) + + let path = '' + if (method == null) method = 'GET' + path = '/' + '_sql' + '/' + 'async' + '/' + 'status' + '/' + encodeURIComponent(id) + + // build request object + const request = { + method, + path, + body: null, + querystring + } + + return this.transport.request(request, options, callback) +} + SqlApi.prototype.query = function sqlQueryApi (params, options, callback) { ;[params, options, callback] = normalizeArguments(params, options, callback) @@ -113,7 +194,10 @@ SqlApi.prototype.translate = function sqlTranslateApi (params, options, callback } Object.defineProperties(SqlApi.prototype, { - clear_cursor: { get () { return this.clearCursor } } + clear_cursor: { get () { return this.clearCursor } }, + delete_async: { get () { return this.deleteAsync } }, + get_async: { get () { return this.getAsync } }, + get_async_status: { get () { return this.getAsyncStatus } } }) module.exports = SqlApi diff --git a/api/requestParams.d.ts b/api/requestParams.d.ts index 57a8a6d41..4dffe376a 100644 --- a/api/requestParams.d.ts +++ b/api/requestParams.d.ts @@ -897,6 +897,11 @@ export interface IlmGetLifecycle extends Generic { export interface IlmGetStatus extends Generic { } +export interface IlmMigrateToDataTiers extends Generic { + dry_run?: boolean; + body?: T; +} + export interface IlmMoveToStep extends Generic { index: string; body?: T; @@ -1034,6 +1039,15 @@ export interface IndicesDeleteTemplate extends Generic { master_timeout?: string; } +export interface IndicesDiskUsage extends Generic { + index: string; + run_expensive_tasks?: boolean; + flush?: boolean; + ignore_unavailable?: boolean; + allow_no_indices?: boolean; + expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all'; +} + export interface IndicesExists extends Generic { index: string | string[]; local?: boolean; @@ -1076,6 +1090,14 @@ export interface IndicesExistsType extends Generic { local?: boolean; } +export interface IndicesFieldUsageStats extends Generic { + index: string; + fields?: string | string[]; + ignore_unavailable?: boolean; + allow_no_indices?: boolean; + expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all'; +} + export interface IndicesFlush extends Generic { index?: string | string[]; force?: boolean; @@ -1842,6 +1864,10 @@ export interface MlPutFilter extends Generic { export interface MlPutJob extends Generic { job_id: string; + ignore_unavailable?: boolean; + allow_no_indices?: boolean; + ignore_throttled?: boolean; + expand_wildcards?: 'open' | 'closed' | 'hidden' | 'none' | 'all'; body: T; } @@ -1856,6 +1882,11 @@ export interface MlPutTrainedModelAlias extends Generic { reassign?: boolean; } +export interface MlResetJob extends Generic { + job_id: string; + wait_for_completion?: boolean; +} + export interface MlRevertModelSnapshot extends Generic { job_id: string; snapshot_id: string; @@ -2422,6 +2453,30 @@ export interface SecurityPutUser extends Generic { body: T; } +export interface SecuritySamlAuthenticate extends Generic { + body: T; +} + +export interface SecuritySamlCompleteLogout extends Generic { + body: T; +} + +export interface SecuritySamlInvalidate extends Generic { + body: T; +} + +export interface SecuritySamlLogout extends Generic { + body: T; +} + +export interface SecuritySamlPrepareAuthentication extends Generic { + body: T; +} + +export interface SecuritySamlServiceProviderMetadata extends Generic { + realm_name: string; +} + export interface ShutdownDeleteNode extends Generic { node_id: string; } @@ -2515,6 +2570,7 @@ export interface SnapshotGet extends Generic { master_timeout?: string; ignore_unavailable?: boolean; index_details?: boolean; + include_repository?: boolean; verbose?: boolean; } @@ -2524,6 +2580,21 @@ export interface SnapshotGetRepository extends Generic { local?: boolean; } +export interface SnapshotRepositoryAnalyze extends Generic { + repository: string; + blob_count?: number; + concurrency?: number; + read_node_count?: number; + early_read_node_count?: number; + seed?: number; + rare_action_probability?: number; + max_blob_size?: string; + max_total_data_size?: string; + timeout?: string; + detailed?: boolean; + rarely_abort_writes?: boolean; +} + export interface SnapshotRestore extends Generic { repository: string; snapshot: string; @@ -2549,6 +2620,22 @@ export interface SqlClearCursor extends Generic { body: T; } +export interface SqlDeleteAsync extends Generic { + id: string; +} + +export interface SqlGetAsync extends Generic { + id: string; + delimiter?: string; + format?: string; + keep_alive?: string; + wait_for_completion_timeout?: string; +} + +export interface SqlGetAsyncStatus extends Generic { + id: string; +} + export interface SqlQuery extends Generic { format?: string; body: T; diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index 28592627d..5d9ab959d 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -3648,6 +3648,27 @@ client.ilm.getStatus() link:{ref}/ilm-get-status.html[Documentation] + +[discrete] +=== ilm.migrateToDataTiers + +[source,ts] +---- +client.ilm.migrateToDataTiers({ + dry_run: boolean, + body: object +}) +---- +link:{ref}/ilm-migrate-to-data-tiers.html[Documentation] + +[cols=2*] +|=== +|`dry_run` or `dryRun` +|`boolean` - If set to true it will simulate the migration, providing a way to retrieve the ILM policies and indices that need to be migrated. The default is false + +|`body` +|`object` - Optionally specify a legacy index template name to delete and optionally specify a node attribute name used for index shard routing (defaults to "data") + +|=== + [discrete] === ilm.moveToStep @@ -4217,6 +4238,44 @@ link:{ref}/indices-templates.html[Documentation] + |=== +[discrete] +=== indices.diskUsage +*Stability:* experimental +[source,ts] +---- +client.indices.diskUsage({ + index: string, + run_expensive_tasks: boolean, + flush: boolean, + ignore_unavailable: boolean, + allow_no_indices: boolean, + expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' +}) +---- +link:{ref}/indices-disk-usage.html[Documentation] + +[cols=2*] +|=== +|`index` +|`string` - Comma-separated list of indices or data streams to analyze the disk usage + +|`run_expensive_tasks` or `runExpensiveTasks` +|`boolean` - Must be set to [true] in order for the task to be performed. Defaults to false. + +|`flush` +|`boolean` - Whether flush or not before analyzing the index disk usage. Defaults to true + +|`ignore_unavailable` or `ignoreUnavailable` +|`boolean` - Whether specified concrete indices should be ignored when unavailable (missing or closed) + +|`allow_no_indices` or `allowNoIndices` +|`boolean` - Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) + +|`expand_wildcards` or `expandWildcards` +|`'open' \| 'closed' \| 'hidden' \| 'none' \| 'all'` - Whether to expand wildcard expression to concrete indices that are open, closed or both. + +_Default:_ `open` + +|=== + [discrete] === indices.exists @@ -4393,6 +4452,40 @@ _Default:_ `open` |=== +[discrete] +=== indices.fieldUsageStats +*Stability:* experimental +[source,ts] +---- +client.indices.fieldUsageStats({ + index: string, + fields: string | string[], + ignore_unavailable: boolean, + allow_no_indices: boolean, + expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all' +}) +---- +link:{ref}/indices-field-usage-stats.html[Documentation] + +[cols=2*] +|=== +|`index` +|`string` - A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices + +|`fields` +|`string \| string[]` - A comma-separated list of fields to include in the stats if only a subset of fields should be returned (supports wildcards) + +|`ignore_unavailable` or `ignoreUnavailable` +|`boolean` - Whether specified concrete indices should be ignored when unavailable (missing or closed) + +|`allow_no_indices` or `allowNoIndices` +|`boolean` - Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) + +|`expand_wildcards` or `expandWildcards` +|`'open' \| 'closed' \| 'hidden' \| 'none' \| 'all'` - Whether to expand wildcard expression to concrete indices that are open, closed or both. + +_Default:_ `open` + +|=== + [discrete] === indices.flush @@ -7595,6 +7688,10 @@ link:{ref}/ml-put-filter.html[Documentation] + ---- client.ml.putJob({ job_id: string, + ignore_unavailable: boolean, + allow_no_indices: boolean, + ignore_throttled: boolean, + expand_wildcards: 'open' | 'closed' | 'hidden' | 'none' | 'all', body: object }) ---- @@ -7604,6 +7701,18 @@ link:{ref}/ml-put-job.html[Documentation] + |`job_id` or `jobId` |`string` - The ID of the job to create +|`ignore_unavailable` or `ignoreUnavailable` +|`boolean` - Ignore unavailable indexes (default: false). Only set if datafeed_config is provided. + +|`allow_no_indices` or `allowNoIndices` +|`boolean` - Ignore if the source indices expressions resolves to no concrete indices (default: true). Only set if datafeed_config is provided. + +|`ignore_throttled` or `ignoreThrottled` +|`boolean` - Ignore indices that are marked as throttled (default: true). Only set if datafeed_config is provided. + +|`expand_wildcards` or `expandWildcards` +|`'open' \| 'closed' \| 'hidden' \| 'none' \| 'all'` - Whether source index expressions should get expanded to open or closed indices (default: open). Only set if datafeed_config is provided. + |`body` |`object` - The job @@ -7655,6 +7764,28 @@ link:{ref}/put-trained-models-aliases.html[Documentation] + |=== +[discrete] +=== ml.resetJob + +[source,ts] +---- +client.ml.resetJob({ + job_id: string, + wait_for_completion: boolean +}) +---- +link:{ref}/ml-reset-job.html[Documentation] + +[cols=2*] +|=== +|`job_id` or `jobId` +|`string` - The ID of the job to reset + +|`wait_for_completion` or `waitForCompletion` +|`boolean` - Should this request wait until the operation has completed before returning + +_Default:_ `true` + +|=== + [discrete] === ml.revertModelSnapshot @@ -8623,7 +8754,7 @@ client.renderSearchTemplate({ body: object }) ---- -link:{ref}/search-template.html#_validating_templates[Documentation] + +link:{ref}/render-search-template-api.html[Documentation] + [cols=2*] |=== |`id` @@ -8725,7 +8856,7 @@ link:{ref}/rollup-put-job.html[Documentation] + [discrete] === rollup.rollup - +*Stability:* experimental [source,ts] ---- client.rollup.rollup({ @@ -8734,7 +8865,7 @@ client.rollup.rollup({ body: object }) ---- -link:{ref}/rollup-api.html[Documentation] + +link:{ref}/xpack-rollup.html[Documentation] + [cols=2*] |=== |`index` @@ -10020,6 +10151,108 @@ link:{ref}/security-api-put-user.html[Documentation] + |=== +[discrete] +=== security.samlAuthenticate + +[source,ts] +---- +client.security.samlAuthenticate({ + body: object +}) +---- +link:{ref}/security-api-saml-authenticate.html[Documentation] + +[cols=2*] +|=== +|`body` +|`object` - The SAML response to authenticate + +|=== + +[discrete] +=== security.samlCompleteLogout + +[source,ts] +---- +client.security.samlCompleteLogout({ + body: object +}) +---- +link:{ref}/security-api-saml-complete-logout.html[Documentation] + +[cols=2*] +|=== +|`body` +|`object` - The logout response to verify + +|=== + +[discrete] +=== security.samlInvalidate + +[source,ts] +---- +client.security.samlInvalidate({ + body: object +}) +---- +link:{ref}/security-api-saml-invalidate.html[Documentation] + +[cols=2*] +|=== +|`body` +|`object` - The LogoutRequest message + +|=== + +[discrete] +=== security.samlLogout + +[source,ts] +---- +client.security.samlLogout({ + body: object +}) +---- +link:{ref}/security-api-saml-logout.html[Documentation] + +[cols=2*] +|=== +|`body` +|`object` - The tokens to invalidate + +|=== + +[discrete] +=== security.samlPrepareAuthentication + +[source,ts] +---- +client.security.samlPrepareAuthentication({ + body: object +}) +---- +link:{ref}/security-api-saml-prepare-authentication.html[Documentation] + +[cols=2*] +|=== +|`body` +|`object` - The realm for which to create the authentication request, identified by either its name or the ACS URL + +|=== + +[discrete] +=== security.samlServiceProviderMetadata + +[source,ts] +---- +client.security.samlServiceProviderMetadata({ + realm_name: string +}) +---- +link:{ref}/security-api-saml-sp-metadata.html[Documentation] + +[cols=2*] +|=== +|`realm_name` or `realmName` +|`string` - The name of the SAML realm to get the metadata for + +|=== + [discrete] === shutdown.deleteNode *Stability:* experimental @@ -10382,6 +10615,7 @@ client.snapshot.get({ master_timeout: string, ignore_unavailable: boolean, index_details: boolean, + include_repository: boolean, verbose: boolean }) ---- @@ -10403,6 +10637,9 @@ link:{ref}/modules-snapshots.html[Documentation] + |`index_details` or `indexDetails` |`boolean` - Whether to include details of each index in the snapshot, if those details are available. Defaults to false. +|`include_repository` or `includeRepository` +|`boolean` - Whether to include the repository name in the snapshot info. Defaults to true. + |`verbose` |`boolean` - Whether to show verbose snapshot info or only show the basic info found in the repository index blob @@ -10433,6 +10670,67 @@ link:{ref}/modules-snapshots.html[Documentation] + |=== +[discrete] +=== snapshot.repositoryAnalyze + +[source,ts] +---- +client.snapshot.repositoryAnalyze({ + repository: string, + blob_count: number, + concurrency: number, + read_node_count: number, + early_read_node_count: number, + seed: number, + rare_action_probability: number, + max_blob_size: string, + max_total_data_size: string, + timeout: string, + detailed: boolean, + rarely_abort_writes: boolean +}) +---- +link:{ref}/modules-snapshots.html[Documentation] + +[cols=2*] +|=== +|`repository` +|`string` - A repository name + +|`blob_count` or `blobCount` +|`number` - Number of blobs to create during the test. Defaults to 100. + +|`concurrency` +|`number` - Number of operations to run concurrently during the test. Defaults to 10. + +|`read_node_count` or `readNodeCount` +|`number` - Number of nodes on which to read a blob after writing. Defaults to 10. + +|`early_read_node_count` or `earlyReadNodeCount` +|`number` - Number of nodes on which to perform an early read on a blob, i.e. before writing has completed. Early reads are rare actions so the 'rare_action_probability' parameter is also relevant. Defaults to 2. + +|`seed` +|`number` - Seed for the random number generator used to create the test workload. Defaults to a random value. + +|`rare_action_probability` or `rareActionProbability` +|`number` - Probability of taking a rare action such as an early read or an overwrite. Defaults to 0.02. + +|`max_blob_size` or `maxBlobSize` +|`string` - Maximum size of a blob to create during the test, e.g '1gb' or '100mb'. Defaults to '10mb'. + +|`max_total_data_size` or `maxTotalDataSize` +|`string` - Maximum total size of all blobs to create during the test, e.g '1tb' or '100gb'. Defaults to '1gb'. + +|`timeout` +|`string` - Explicit operation timeout. Defaults to '30s'. + +|`detailed` +|`boolean` - Whether to return detailed results or a summary. Defaults to 'false' so that only the summary is returned. + +|`rarely_abort_writes` or `rarelyAbortWrites` +|`boolean` - Whether to rarely abort writes before they complete. Defaults to 'true'. + +|=== + [discrete] === snapshot.restore @@ -10537,6 +10835,75 @@ link:{ref}/sql-pagination.html[Documentation] + |=== +[discrete] +=== sql.deleteAsync + +[source,ts] +---- +client.sql.deleteAsync({ + id: string +}) +---- +link:{ref}/delete-async-sql-search-api.html[Documentation] + +[cols=2*] +|=== +|`id` +|`string` - The async search ID + +|=== + +[discrete] +=== sql.getAsync + +[source,ts] +---- +client.sql.getAsync({ + id: string, + delimiter: string, + format: string, + keep_alive: string, + wait_for_completion_timeout: string +}) +---- +link:{ref}/get-async-sql-search-api.html[Documentation] + +[cols=2*] +|=== +|`id` +|`string` - The async search ID + +|`delimiter` +|`string` - Separator for CSV results + +_Default:_ `,` + +|`format` +|`string` - Short version of the Accept header, e.g. json, yaml + +|`keep_alive` or `keepAlive` +|`string` - Retention period for the search and its results + +_Default:_ `5d` + +|`wait_for_completion_timeout` or `waitForCompletionTimeout` +|`string` - Duration to wait for complete results + +|=== + +[discrete] +=== sql.getAsyncStatus + +[source,ts] +---- +client.sql.getAsyncStatus({ + id: string +}) +---- +link:{ref}/get-async-sql-search-status-api.html[Documentation] + +[cols=2*] +|=== +|`id` +|`string` - The async search ID + +|=== + [discrete] === sql.query diff --git a/index.d.ts b/index.d.ts index 0ff290303..ae9b70251 100644 --- a/index.d.ts +++ b/index.d.ts @@ -833,6 +833,14 @@ declare class Client { getStatus, TContext = Context>(callback: callbackFn): TransportRequestCallback getStatus, TContext = Context>(params: RequestParams.IlmGetStatus, callback: callbackFn): TransportRequestCallback getStatus, TContext = Context>(params: RequestParams.IlmGetStatus, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + migrate_to_data_tiers, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.IlmMigrateToDataTiers, options?: TransportRequestOptions): TransportRequestPromise> + migrate_to_data_tiers, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback + migrate_to_data_tiers, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.IlmMigrateToDataTiers, callback: callbackFn): TransportRequestCallback + migrate_to_data_tiers, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.IlmMigrateToDataTiers, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + migrateToDataTiers, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.IlmMigrateToDataTiers, options?: TransportRequestOptions): TransportRequestPromise> + migrateToDataTiers, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback + migrateToDataTiers, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.IlmMigrateToDataTiers, callback: callbackFn): TransportRequestCallback + migrateToDataTiers, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.IlmMigrateToDataTiers, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback move_to_step, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.IlmMoveToStep, options?: TransportRequestOptions): TransportRequestPromise> move_to_step, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback move_to_step, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.IlmMoveToStep, callback: callbackFn): TransportRequestCallback @@ -959,6 +967,14 @@ declare class Client { deleteTemplate, TContext = Context>(callback: callbackFn): TransportRequestCallback deleteTemplate, TContext = Context>(params: RequestParams.IndicesDeleteTemplate, callback: callbackFn): TransportRequestCallback deleteTemplate, TContext = Context>(params: RequestParams.IndicesDeleteTemplate, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + disk_usage, TContext = Context>(params?: RequestParams.IndicesDiskUsage, options?: TransportRequestOptions): TransportRequestPromise> + disk_usage, TContext = Context>(callback: callbackFn): TransportRequestCallback + disk_usage, TContext = Context>(params: RequestParams.IndicesDiskUsage, callback: callbackFn): TransportRequestCallback + disk_usage, TContext = Context>(params: RequestParams.IndicesDiskUsage, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + diskUsage, TContext = Context>(params?: RequestParams.IndicesDiskUsage, options?: TransportRequestOptions): TransportRequestPromise> + diskUsage, TContext = Context>(callback: callbackFn): TransportRequestCallback + diskUsage, TContext = Context>(params: RequestParams.IndicesDiskUsage, callback: callbackFn): TransportRequestCallback + diskUsage, TContext = Context>(params: RequestParams.IndicesDiskUsage, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback exists(params?: RequestParams.IndicesExists, options?: TransportRequestOptions): TransportRequestPromise> exists(callback: callbackFn): TransportRequestCallback exists(params: RequestParams.IndicesExists, callback: callbackFn): TransportRequestCallback @@ -995,6 +1011,14 @@ declare class Client { existsType(callback: callbackFn): TransportRequestCallback existsType(params: RequestParams.IndicesExistsType, callback: callbackFn): TransportRequestCallback existsType(params: RequestParams.IndicesExistsType, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + field_usage_stats, TContext = Context>(params?: RequestParams.IndicesFieldUsageStats, options?: TransportRequestOptions): TransportRequestPromise> + field_usage_stats, TContext = Context>(callback: callbackFn): TransportRequestCallback + field_usage_stats, TContext = Context>(params: RequestParams.IndicesFieldUsageStats, callback: callbackFn): TransportRequestCallback + field_usage_stats, TContext = Context>(params: RequestParams.IndicesFieldUsageStats, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + fieldUsageStats, TContext = Context>(params?: RequestParams.IndicesFieldUsageStats, options?: TransportRequestOptions): TransportRequestPromise> + fieldUsageStats, TContext = Context>(callback: callbackFn): TransportRequestCallback + fieldUsageStats, TContext = Context>(params: RequestParams.IndicesFieldUsageStats, callback: callbackFn): TransportRequestCallback + fieldUsageStats, TContext = Context>(params: RequestParams.IndicesFieldUsageStats, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback flush, TContext = Context>(params?: RequestParams.IndicesFlush, options?: TransportRequestOptions): TransportRequestPromise> flush, TContext = Context>(callback: callbackFn): TransportRequestCallback flush, TContext = Context>(params: RequestParams.IndicesFlush, callback: callbackFn): TransportRequestCallback @@ -1761,6 +1785,14 @@ declare class Client { putTrainedModelAlias, TContext = Context>(callback: callbackFn): TransportRequestCallback putTrainedModelAlias, TContext = Context>(params: RequestParams.MlPutTrainedModelAlias, callback: callbackFn): TransportRequestCallback putTrainedModelAlias, TContext = Context>(params: RequestParams.MlPutTrainedModelAlias, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + reset_job, TContext = Context>(params?: RequestParams.MlResetJob, options?: TransportRequestOptions): TransportRequestPromise> + reset_job, TContext = Context>(callback: callbackFn): TransportRequestCallback + reset_job, TContext = Context>(params: RequestParams.MlResetJob, callback: callbackFn): TransportRequestCallback + reset_job, TContext = Context>(params: RequestParams.MlResetJob, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + resetJob, TContext = Context>(params?: RequestParams.MlResetJob, options?: TransportRequestOptions): TransportRequestPromise> + resetJob, TContext = Context>(callback: callbackFn): TransportRequestCallback + resetJob, TContext = Context>(params: RequestParams.MlResetJob, callback: callbackFn): TransportRequestCallback + resetJob, TContext = Context>(params: RequestParams.MlResetJob, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback revert_model_snapshot, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.MlRevertModelSnapshot, options?: TransportRequestOptions): TransportRequestPromise> revert_model_snapshot, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback revert_model_snapshot, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.MlRevertModelSnapshot, callback: callbackFn): TransportRequestCallback @@ -2409,6 +2441,54 @@ declare class Client { putUser, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback putUser, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecurityPutUser, callback: callbackFn): TransportRequestCallback putUser, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecurityPutUser, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + saml_authenticate, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.SecuritySamlAuthenticate, options?: TransportRequestOptions): TransportRequestPromise> + saml_authenticate, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback + saml_authenticate, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlAuthenticate, callback: callbackFn): TransportRequestCallback + saml_authenticate, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlAuthenticate, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + samlAuthenticate, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.SecuritySamlAuthenticate, options?: TransportRequestOptions): TransportRequestPromise> + samlAuthenticate, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback + samlAuthenticate, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlAuthenticate, callback: callbackFn): TransportRequestCallback + samlAuthenticate, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlAuthenticate, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + saml_complete_logout, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.SecuritySamlCompleteLogout, options?: TransportRequestOptions): TransportRequestPromise> + saml_complete_logout, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback + saml_complete_logout, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlCompleteLogout, callback: callbackFn): TransportRequestCallback + saml_complete_logout, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlCompleteLogout, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + samlCompleteLogout, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.SecuritySamlCompleteLogout, options?: TransportRequestOptions): TransportRequestPromise> + samlCompleteLogout, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback + samlCompleteLogout, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlCompleteLogout, callback: callbackFn): TransportRequestCallback + samlCompleteLogout, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlCompleteLogout, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + saml_invalidate, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.SecuritySamlInvalidate, options?: TransportRequestOptions): TransportRequestPromise> + saml_invalidate, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback + saml_invalidate, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlInvalidate, callback: callbackFn): TransportRequestCallback + saml_invalidate, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlInvalidate, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + samlInvalidate, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.SecuritySamlInvalidate, options?: TransportRequestOptions): TransportRequestPromise> + samlInvalidate, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback + samlInvalidate, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlInvalidate, callback: callbackFn): TransportRequestCallback + samlInvalidate, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlInvalidate, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + saml_logout, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.SecuritySamlLogout, options?: TransportRequestOptions): TransportRequestPromise> + saml_logout, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback + saml_logout, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlLogout, callback: callbackFn): TransportRequestCallback + saml_logout, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlLogout, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + samlLogout, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.SecuritySamlLogout, options?: TransportRequestOptions): TransportRequestPromise> + samlLogout, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback + samlLogout, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlLogout, callback: callbackFn): TransportRequestCallback + samlLogout, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlLogout, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + saml_prepare_authentication, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.SecuritySamlPrepareAuthentication, options?: TransportRequestOptions): TransportRequestPromise> + saml_prepare_authentication, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback + saml_prepare_authentication, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlPrepareAuthentication, callback: callbackFn): TransportRequestCallback + saml_prepare_authentication, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlPrepareAuthentication, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + samlPrepareAuthentication, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.SecuritySamlPrepareAuthentication, options?: TransportRequestOptions): TransportRequestPromise> + samlPrepareAuthentication, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback + samlPrepareAuthentication, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlPrepareAuthentication, callback: callbackFn): TransportRequestCallback + samlPrepareAuthentication, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SecuritySamlPrepareAuthentication, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + saml_service_provider_metadata, TContext = Context>(params?: RequestParams.SecuritySamlServiceProviderMetadata, options?: TransportRequestOptions): TransportRequestPromise> + saml_service_provider_metadata, TContext = Context>(callback: callbackFn): TransportRequestCallback + saml_service_provider_metadata, TContext = Context>(params: RequestParams.SecuritySamlServiceProviderMetadata, callback: callbackFn): TransportRequestCallback + saml_service_provider_metadata, TContext = Context>(params: RequestParams.SecuritySamlServiceProviderMetadata, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + samlServiceProviderMetadata, TContext = Context>(params?: RequestParams.SecuritySamlServiceProviderMetadata, options?: TransportRequestOptions): TransportRequestPromise> + samlServiceProviderMetadata, TContext = Context>(callback: callbackFn): TransportRequestCallback + samlServiceProviderMetadata, TContext = Context>(params: RequestParams.SecuritySamlServiceProviderMetadata, callback: callbackFn): TransportRequestCallback + samlServiceProviderMetadata, TContext = Context>(params: RequestParams.SecuritySamlServiceProviderMetadata, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback } shutdown: { delete_node, TContext = Context>(params?: RequestParams.ShutdownDeleteNode, options?: TransportRequestOptions): TransportRequestPromise> @@ -2551,6 +2631,14 @@ declare class Client { getRepository, TContext = Context>(callback: callbackFn): TransportRequestCallback getRepository, TContext = Context>(params: RequestParams.SnapshotGetRepository, callback: callbackFn): TransportRequestCallback getRepository, TContext = Context>(params: RequestParams.SnapshotGetRepository, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + repository_analyze, TContext = Context>(params?: RequestParams.SnapshotRepositoryAnalyze, options?: TransportRequestOptions): TransportRequestPromise> + repository_analyze, TContext = Context>(callback: callbackFn): TransportRequestCallback + repository_analyze, TContext = Context>(params: RequestParams.SnapshotRepositoryAnalyze, callback: callbackFn): TransportRequestCallback + repository_analyze, TContext = Context>(params: RequestParams.SnapshotRepositoryAnalyze, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + repositoryAnalyze, TContext = Context>(params?: RequestParams.SnapshotRepositoryAnalyze, options?: TransportRequestOptions): TransportRequestPromise> + repositoryAnalyze, TContext = Context>(callback: callbackFn): TransportRequestCallback + repositoryAnalyze, TContext = Context>(params: RequestParams.SnapshotRepositoryAnalyze, callback: callbackFn): TransportRequestCallback + repositoryAnalyze, TContext = Context>(params: RequestParams.SnapshotRepositoryAnalyze, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback restore, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.SnapshotRestore, options?: TransportRequestOptions): TransportRequestPromise> restore, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback restore, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SnapshotRestore, callback: callbackFn): TransportRequestCallback @@ -2577,6 +2665,30 @@ declare class Client { clearCursor, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback clearCursor, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SqlClearCursor, callback: callbackFn): TransportRequestCallback clearCursor, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SqlClearCursor, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + delete_async, TContext = Context>(params?: RequestParams.SqlDeleteAsync, options?: TransportRequestOptions): TransportRequestPromise> + delete_async, TContext = Context>(callback: callbackFn): TransportRequestCallback + delete_async, TContext = Context>(params: RequestParams.SqlDeleteAsync, callback: callbackFn): TransportRequestCallback + delete_async, TContext = Context>(params: RequestParams.SqlDeleteAsync, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + deleteAsync, TContext = Context>(params?: RequestParams.SqlDeleteAsync, options?: TransportRequestOptions): TransportRequestPromise> + deleteAsync, TContext = Context>(callback: callbackFn): TransportRequestCallback + deleteAsync, TContext = Context>(params: RequestParams.SqlDeleteAsync, callback: callbackFn): TransportRequestCallback + deleteAsync, TContext = Context>(params: RequestParams.SqlDeleteAsync, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + get_async, TContext = Context>(params?: RequestParams.SqlGetAsync, options?: TransportRequestOptions): TransportRequestPromise> + get_async, TContext = Context>(callback: callbackFn): TransportRequestCallback + get_async, TContext = Context>(params: RequestParams.SqlGetAsync, callback: callbackFn): TransportRequestCallback + get_async, TContext = Context>(params: RequestParams.SqlGetAsync, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + getAsync, TContext = Context>(params?: RequestParams.SqlGetAsync, options?: TransportRequestOptions): TransportRequestPromise> + getAsync, TContext = Context>(callback: callbackFn): TransportRequestCallback + getAsync, TContext = Context>(params: RequestParams.SqlGetAsync, callback: callbackFn): TransportRequestCallback + getAsync, TContext = Context>(params: RequestParams.SqlGetAsync, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + get_async_status, TContext = Context>(params?: RequestParams.SqlGetAsyncStatus, options?: TransportRequestOptions): TransportRequestPromise> + get_async_status, TContext = Context>(callback: callbackFn): TransportRequestCallback + get_async_status, TContext = Context>(params: RequestParams.SqlGetAsyncStatus, callback: callbackFn): TransportRequestCallback + get_async_status, TContext = Context>(params: RequestParams.SqlGetAsyncStatus, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback + getAsyncStatus, TContext = Context>(params?: RequestParams.SqlGetAsyncStatus, options?: TransportRequestOptions): TransportRequestPromise> + getAsyncStatus, TContext = Context>(callback: callbackFn): TransportRequestCallback + getAsyncStatus, TContext = Context>(params: RequestParams.SqlGetAsyncStatus, callback: callbackFn): TransportRequestCallback + getAsyncStatus, TContext = Context>(params: RequestParams.SqlGetAsyncStatus, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback query, TRequestBody extends RequestBody = Record, TContext = Context>(params?: RequestParams.SqlQuery, options?: TransportRequestOptions): TransportRequestPromise> query, TRequestBody extends RequestBody = Record, TContext = Context>(callback: callbackFn): TransportRequestCallback query, TRequestBody extends RequestBody = Record, TContext = Context>(params: RequestParams.SqlQuery, callback: callbackFn): TransportRequestCallback