@aws-sdk/client-backupsearch 3.714.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +317 -0
  3. package/dist-cjs/BackupSearch.js +35 -0
  4. package/dist-cjs/BackupSearchClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/GetSearchJobCommand.js +26 -0
  8. package/dist-cjs/commands/GetSearchResultExportJobCommand.js +26 -0
  9. package/dist-cjs/commands/ListSearchJobBackupsCommand.js +26 -0
  10. package/dist-cjs/commands/ListSearchJobResultsCommand.js +27 -0
  11. package/dist-cjs/commands/ListSearchJobsCommand.js +26 -0
  12. package/dist-cjs/commands/ListSearchResultExportJobsCommand.js +26 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  14. package/dist-cjs/commands/StartSearchJobCommand.js +26 -0
  15. package/dist-cjs/commands/StartSearchResultExportJobCommand.js +26 -0
  16. package/dist-cjs/commands/StopSearchJobCommand.js +26 -0
  17. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  18. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  19. package/dist-cjs/commands/index.js +15 -0
  20. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  21. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  22. package/dist-cjs/endpoint/ruleset.js +7 -0
  23. package/dist-cjs/extensionConfiguration.js +2 -0
  24. package/dist-cjs/index.js +11 -0
  25. package/dist-cjs/models/BackupSearchServiceException.js +12 -0
  26. package/dist-cjs/models/index.js +4 -0
  27. package/dist-cjs/models/models_0.js +192 -0
  28. package/dist-cjs/pagination/Interfaces.js +2 -0
  29. package/dist-cjs/pagination/ListSearchJobBackupsPaginator.js +7 -0
  30. package/dist-cjs/pagination/ListSearchJobResultsPaginator.js +7 -0
  31. package/dist-cjs/pagination/ListSearchJobsPaginator.js +7 -0
  32. package/dist-cjs/pagination/ListSearchResultExportJobsPaginator.js +7 -0
  33. package/dist-cjs/pagination/index.js +8 -0
  34. package/dist-cjs/protocols/Aws_restJson1.js +780 -0
  35. package/dist-cjs/runtimeConfig.browser.js +39 -0
  36. package/dist-cjs/runtimeConfig.js +52 -0
  37. package/dist-cjs/runtimeConfig.native.js +15 -0
  38. package/dist-cjs/runtimeConfig.shared.js +34 -0
  39. package/dist-cjs/runtimeExtensions.js +25 -0
  40. package/dist-es/BackupSearch.js +31 -0
  41. package/dist-es/BackupSearchClient.js +46 -0
  42. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  43. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  44. package/dist-es/commands/GetSearchJobCommand.js +22 -0
  45. package/dist-es/commands/GetSearchResultExportJobCommand.js +22 -0
  46. package/dist-es/commands/ListSearchJobBackupsCommand.js +22 -0
  47. package/dist-es/commands/ListSearchJobResultsCommand.js +23 -0
  48. package/dist-es/commands/ListSearchJobsCommand.js +22 -0
  49. package/dist-es/commands/ListSearchResultExportJobsCommand.js +22 -0
  50. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  51. package/dist-es/commands/StartSearchJobCommand.js +22 -0
  52. package/dist-es/commands/StartSearchResultExportJobCommand.js +22 -0
  53. package/dist-es/commands/StopSearchJobCommand.js +22 -0
  54. package/dist-es/commands/TagResourceCommand.js +22 -0
  55. package/dist-es/commands/UntagResourceCommand.js +22 -0
  56. package/dist-es/commands/index.js +12 -0
  57. package/dist-es/endpoint/EndpointParameters.js +12 -0
  58. package/dist-es/endpoint/endpointResolver.js +14 -0
  59. package/dist-es/endpoint/ruleset.js +4 -0
  60. package/dist-es/extensionConfiguration.js +1 -0
  61. package/dist-es/index.js +6 -0
  62. package/dist-es/models/BackupSearchServiceException.js +8 -0
  63. package/dist-es/models/index.js +1 -0
  64. package/dist-es/models/models_0.js +178 -0
  65. package/dist-es/pagination/Interfaces.js +1 -0
  66. package/dist-es/pagination/ListSearchJobBackupsPaginator.js +4 -0
  67. package/dist-es/pagination/ListSearchJobResultsPaginator.js +4 -0
  68. package/dist-es/pagination/ListSearchJobsPaginator.js +4 -0
  69. package/dist-es/pagination/ListSearchResultExportJobsPaginator.js +4 -0
  70. package/dist-es/pagination/index.js +5 -0
  71. package/dist-es/protocols/Aws_restJson1.js +753 -0
  72. package/dist-es/runtimeConfig.browser.js +34 -0
  73. package/dist-es/runtimeConfig.js +47 -0
  74. package/dist-es/runtimeConfig.native.js +11 -0
  75. package/dist-es/runtimeConfig.shared.js +30 -0
  76. package/dist-es/runtimeExtensions.js +21 -0
  77. package/dist-types/BackupSearch.d.ts +111 -0
  78. package/dist-types/BackupSearchClient.d.ts +214 -0
  79. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  80. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  81. package/dist-types/commands/GetSearchJobCommand.d.ts +187 -0
  82. package/dist-types/commands/GetSearchResultExportJobCommand.d.ts +105 -0
  83. package/dist-types/commands/ListSearchJobBackupsCommand.d.ts +113 -0
  84. package/dist-types/commands/ListSearchJobResultsCommand.d.ts +114 -0
  85. package/dist-types/commands/ListSearchJobsCommand.d.ts +101 -0
  86. package/dist-types/commands/ListSearchResultExportJobsCommand.d.ts +106 -0
  87. package/dist-types/commands/ListTagsForResourceCommand.d.ts +90 -0
  88. package/dist-types/commands/StartSearchJobCommand.d.ts +187 -0
  89. package/dist-types/commands/StartSearchResultExportJobCommand.d.ts +112 -0
  90. package/dist-types/commands/StopSearchJobCommand.d.ts +96 -0
  91. package/dist-types/commands/TagResourceCommand.d.ts +89 -0
  92. package/dist-types/commands/UntagResourceCommand.d.ts +89 -0
  93. package/dist-types/commands/index.d.ts +12 -0
  94. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  95. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  96. package/dist-types/endpoint/ruleset.d.ts +2 -0
  97. package/dist-types/extensionConfiguration.d.ts +9 -0
  98. package/dist-types/index.d.ts +29 -0
  99. package/dist-types/models/BackupSearchServiceException.d.ts +14 -0
  100. package/dist-types/models/index.d.ts +1 -0
  101. package/dist-types/models/models_0.d.ts +1535 -0
  102. package/dist-types/pagination/Interfaces.d.ts +8 -0
  103. package/dist-types/pagination/ListSearchJobBackupsPaginator.d.ts +7 -0
  104. package/dist-types/pagination/ListSearchJobResultsPaginator.d.ts +7 -0
  105. package/dist-types/pagination/ListSearchJobsPaginator.d.ts +7 -0
  106. package/dist-types/pagination/ListSearchResultExportJobsPaginator.d.ts +7 -0
  107. package/dist-types/pagination/index.d.ts +5 -0
  108. package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
  109. package/dist-types/runtimeConfig.browser.d.ts +49 -0
  110. package/dist-types/runtimeConfig.d.ts +49 -0
  111. package/dist-types/runtimeConfig.native.d.ts +48 -0
  112. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  113. package/dist-types/runtimeExtensions.d.ts +17 -0
  114. package/dist-types/ts3.4/BackupSearch.d.ts +213 -0
  115. package/dist-types/ts3.4/BackupSearchClient.d.ts +192 -0
  116. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  117. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  118. package/dist-types/ts3.4/commands/GetSearchJobCommand.d.ts +47 -0
  119. package/dist-types/ts3.4/commands/GetSearchResultExportJobCommand.d.ts +51 -0
  120. package/dist-types/ts3.4/commands/ListSearchJobBackupsCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/ListSearchJobResultsCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/ListSearchJobsCommand.d.ts +47 -0
  123. package/dist-types/ts3.4/commands/ListSearchResultExportJobsCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/StartSearchJobCommand.d.ts +47 -0
  126. package/dist-types/ts3.4/commands/StartSearchResultExportJobCommand.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/StopSearchJobCommand.d.ts +47 -0
  128. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  129. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  130. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  131. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  132. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  133. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  134. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  135. package/dist-types/ts3.4/index.d.ts +9 -0
  136. package/dist-types/ts3.4/models/BackupSearchServiceException.d.ts +9 -0
  137. package/dist-types/ts3.4/models/index.d.ts +1 -0
  138. package/dist-types/ts3.4/models/models_0.d.ts +379 -0
  139. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  140. package/dist-types/ts3.4/pagination/ListSearchJobBackupsPaginator.d.ts +11 -0
  141. package/dist-types/ts3.4/pagination/ListSearchJobResultsPaginator.d.ts +11 -0
  142. package/dist-types/ts3.4/pagination/ListSearchJobsPaginator.d.ts +11 -0
  143. package/dist-types/ts3.4/pagination/ListSearchResultExportJobsPaginator.d.ts +11 -0
  144. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  145. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
  146. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +94 -0
  147. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  148. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  149. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  150. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  151. package/package.json +101 -0
@@ -0,0 +1,34 @@
1
+ import packageInfo from "../package.json";
2
+ import { Sha256 } from "@aws-crypto/sha256-browser";
3
+ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
+ import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
8
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
+ export const getRuntimeConfig = (config) => {
13
+ const defaultsMode = resolveDefaultsModeConfig(config);
14
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
15
+ const clientSharedValues = getSharedRuntimeConfig(config);
16
+ return {
17
+ ...clientSharedValues,
18
+ ...config,
19
+ runtime: "browser",
20
+ defaultsMode,
21
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
+ createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
+ region: config?.region ?? invalidProvider("Region is missing"),
27
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
28
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
29
+ sha256: config?.sha256 ?? Sha256,
30
+ streamCollector: config?.streamCollector ?? streamCollector,
31
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
32
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
33
+ };
34
+ };
@@ -0,0 +1,47 @@
1
+ import packageInfo from "../package.json";
2
+ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
3
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
4
+ import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
5
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
+ import { Hash } from "@smithy/hash-node";
7
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { calculateBodyLength } from "@smithy/util-body-length-node";
11
+ import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
+ import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
+ export const getRuntimeConfig = (config) => {
17
+ emitWarningIfUnsupportedVersion(process.version);
18
+ const defaultsMode = resolveDefaultsModeConfig(config);
19
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
+ const clientSharedValues = getSharedRuntimeConfig(config);
21
+ awsCheckVersion(process.version);
22
+ const profileConfig = { profile: config?.profile };
23
+ return {
24
+ ...clientSharedValues,
25
+ ...config,
26
+ runtime: "node",
27
+ defaultsMode,
28
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
29
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
30
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
31
+ createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
32
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
33
+ region: config?.region ??
34
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
35
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
36
+ retryMode: config?.retryMode ??
37
+ loadNodeConfig({
38
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
39
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
40
+ }, config),
41
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
42
+ streamCollector: config?.streamCollector ?? streamCollector,
43
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
44
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
46
+ };
47
+ };
@@ -0,0 +1,11 @@
1
+ import { Sha256 } from "@aws-crypto/sha256-js";
2
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
+ export const getRuntimeConfig = (config) => {
4
+ const browserDefaults = getBrowserRuntimeConfig(config);
5
+ return {
6
+ ...browserDefaults,
7
+ ...config,
8
+ runtime: "react-native",
9
+ sha256: config?.sha256 ?? Sha256,
10
+ };
11
+ };
@@ -0,0 +1,30 @@
1
+ import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { NoOpLogger } from "@smithy/smithy-client";
3
+ import { parseUrl } from "@smithy/url-parser";
4
+ import { fromBase64, toBase64 } from "@smithy/util-base64";
5
+ import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
6
+ import { defaultBackupSearchHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
7
+ import { defaultEndpointResolver } from "./endpoint/endpointResolver";
8
+ export const getRuntimeConfig = (config) => {
9
+ return {
10
+ apiVersion: "2018-05-10",
11
+ base64Decoder: config?.base64Decoder ?? fromBase64,
12
+ base64Encoder: config?.base64Encoder ?? toBase64,
13
+ disableHostPrefix: config?.disableHostPrefix ?? false,
14
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
15
+ extensions: config?.extensions ?? [],
16
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultBackupSearchHttpAuthSchemeProvider,
17
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
18
+ {
19
+ schemeId: "aws.auth#sigv4",
20
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
21
+ signer: new AwsSdkSigV4Signer(),
22
+ },
23
+ ],
24
+ logger: config?.logger ?? new NoOpLogger(),
25
+ serviceId: config?.serviceId ?? "BackupSearch",
26
+ urlParser: config?.urlParser ?? parseUrl,
27
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
28
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
29
+ };
30
+ };
@@ -0,0 +1,21 @@
1
+ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
+ import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
+ const asPartial = (t) => t;
6
+ export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
+ const extensionConfiguration = {
8
+ ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
+ ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
+ ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
+ ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
+ };
13
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
+ return {
15
+ ...runtimeConfig,
16
+ ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
+ ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
+ ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
+ ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
+ };
21
+ };
@@ -0,0 +1,111 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { BackupSearchClient } from "./BackupSearchClient";
3
+ import { GetSearchJobCommandInput, GetSearchJobCommandOutput } from "./commands/GetSearchJobCommand";
4
+ import { GetSearchResultExportJobCommandInput, GetSearchResultExportJobCommandOutput } from "./commands/GetSearchResultExportJobCommand";
5
+ import { ListSearchJobBackupsCommandInput, ListSearchJobBackupsCommandOutput } from "./commands/ListSearchJobBackupsCommand";
6
+ import { ListSearchJobResultsCommandInput, ListSearchJobResultsCommandOutput } from "./commands/ListSearchJobResultsCommand";
7
+ import { ListSearchJobsCommandInput, ListSearchJobsCommandOutput } from "./commands/ListSearchJobsCommand";
8
+ import { ListSearchResultExportJobsCommandInput, ListSearchResultExportJobsCommandOutput } from "./commands/ListSearchResultExportJobsCommand";
9
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
10
+ import { StartSearchJobCommandInput, StartSearchJobCommandOutput } from "./commands/StartSearchJobCommand";
11
+ import { StartSearchResultExportJobCommandInput, StartSearchResultExportJobCommandOutput } from "./commands/StartSearchResultExportJobCommand";
12
+ import { StopSearchJobCommandInput, StopSearchJobCommandOutput } from "./commands/StopSearchJobCommand";
13
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
14
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
15
+ export interface BackupSearch {
16
+ /**
17
+ * @see {@link GetSearchJobCommand}
18
+ */
19
+ getSearchJob(args: GetSearchJobCommandInput, options?: __HttpHandlerOptions): Promise<GetSearchJobCommandOutput>;
20
+ getSearchJob(args: GetSearchJobCommandInput, cb: (err: any, data?: GetSearchJobCommandOutput) => void): void;
21
+ getSearchJob(args: GetSearchJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSearchJobCommandOutput) => void): void;
22
+ /**
23
+ * @see {@link GetSearchResultExportJobCommand}
24
+ */
25
+ getSearchResultExportJob(args: GetSearchResultExportJobCommandInput, options?: __HttpHandlerOptions): Promise<GetSearchResultExportJobCommandOutput>;
26
+ getSearchResultExportJob(args: GetSearchResultExportJobCommandInput, cb: (err: any, data?: GetSearchResultExportJobCommandOutput) => void): void;
27
+ getSearchResultExportJob(args: GetSearchResultExportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSearchResultExportJobCommandOutput) => void): void;
28
+ /**
29
+ * @see {@link ListSearchJobBackupsCommand}
30
+ */
31
+ listSearchJobBackups(args: ListSearchJobBackupsCommandInput, options?: __HttpHandlerOptions): Promise<ListSearchJobBackupsCommandOutput>;
32
+ listSearchJobBackups(args: ListSearchJobBackupsCommandInput, cb: (err: any, data?: ListSearchJobBackupsCommandOutput) => void): void;
33
+ listSearchJobBackups(args: ListSearchJobBackupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSearchJobBackupsCommandOutput) => void): void;
34
+ /**
35
+ * @see {@link ListSearchJobResultsCommand}
36
+ */
37
+ listSearchJobResults(args: ListSearchJobResultsCommandInput, options?: __HttpHandlerOptions): Promise<ListSearchJobResultsCommandOutput>;
38
+ listSearchJobResults(args: ListSearchJobResultsCommandInput, cb: (err: any, data?: ListSearchJobResultsCommandOutput) => void): void;
39
+ listSearchJobResults(args: ListSearchJobResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSearchJobResultsCommandOutput) => void): void;
40
+ /**
41
+ * @see {@link ListSearchJobsCommand}
42
+ */
43
+ listSearchJobs(): Promise<ListSearchJobsCommandOutput>;
44
+ listSearchJobs(args: ListSearchJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListSearchJobsCommandOutput>;
45
+ listSearchJobs(args: ListSearchJobsCommandInput, cb: (err: any, data?: ListSearchJobsCommandOutput) => void): void;
46
+ listSearchJobs(args: ListSearchJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSearchJobsCommandOutput) => void): void;
47
+ /**
48
+ * @see {@link ListSearchResultExportJobsCommand}
49
+ */
50
+ listSearchResultExportJobs(): Promise<ListSearchResultExportJobsCommandOutput>;
51
+ listSearchResultExportJobs(args: ListSearchResultExportJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListSearchResultExportJobsCommandOutput>;
52
+ listSearchResultExportJobs(args: ListSearchResultExportJobsCommandInput, cb: (err: any, data?: ListSearchResultExportJobsCommandOutput) => void): void;
53
+ listSearchResultExportJobs(args: ListSearchResultExportJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSearchResultExportJobsCommandOutput) => void): void;
54
+ /**
55
+ * @see {@link ListTagsForResourceCommand}
56
+ */
57
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
58
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
59
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
60
+ /**
61
+ * @see {@link StartSearchJobCommand}
62
+ */
63
+ startSearchJob(args: StartSearchJobCommandInput, options?: __HttpHandlerOptions): Promise<StartSearchJobCommandOutput>;
64
+ startSearchJob(args: StartSearchJobCommandInput, cb: (err: any, data?: StartSearchJobCommandOutput) => void): void;
65
+ startSearchJob(args: StartSearchJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSearchJobCommandOutput) => void): void;
66
+ /**
67
+ * @see {@link StartSearchResultExportJobCommand}
68
+ */
69
+ startSearchResultExportJob(args: StartSearchResultExportJobCommandInput, options?: __HttpHandlerOptions): Promise<StartSearchResultExportJobCommandOutput>;
70
+ startSearchResultExportJob(args: StartSearchResultExportJobCommandInput, cb: (err: any, data?: StartSearchResultExportJobCommandOutput) => void): void;
71
+ startSearchResultExportJob(args: StartSearchResultExportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSearchResultExportJobCommandOutput) => void): void;
72
+ /**
73
+ * @see {@link StopSearchJobCommand}
74
+ */
75
+ stopSearchJob(args: StopSearchJobCommandInput, options?: __HttpHandlerOptions): Promise<StopSearchJobCommandOutput>;
76
+ stopSearchJob(args: StopSearchJobCommandInput, cb: (err: any, data?: StopSearchJobCommandOutput) => void): void;
77
+ stopSearchJob(args: StopSearchJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopSearchJobCommandOutput) => void): void;
78
+ /**
79
+ * @see {@link TagResourceCommand}
80
+ */
81
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
82
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
83
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
84
+ /**
85
+ * @see {@link UntagResourceCommand}
86
+ */
87
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
88
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
89
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
90
+ }
91
+ /**
92
+ * <fullname>Backup Search</fullname>
93
+ * <p>Backup Search is the recovery point and item level search for Backup.</p>
94
+ * <p>For additional information, see:</p>
95
+ * <ul>
96
+ * <li>
97
+ * <p>
98
+ * <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/api-reference.html">Backup API Reference</a>
99
+ * </p>
100
+ * </li>
101
+ * <li>
102
+ * <p>
103
+ * <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html">Backup
104
+ * Developer Guide</a>
105
+ * </p>
106
+ * </li>
107
+ * </ul>
108
+ * @public
109
+ */
110
+ export declare class BackupSearch extends BackupSearchClient implements BackupSearch {
111
+ }
@@ -0,0 +1,214 @@
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { GetSearchJobCommandInput, GetSearchJobCommandOutput } from "./commands/GetSearchJobCommand";
11
+ import { GetSearchResultExportJobCommandInput, GetSearchResultExportJobCommandOutput } from "./commands/GetSearchResultExportJobCommand";
12
+ import { ListSearchJobBackupsCommandInput, ListSearchJobBackupsCommandOutput } from "./commands/ListSearchJobBackupsCommand";
13
+ import { ListSearchJobResultsCommandInput, ListSearchJobResultsCommandOutput } from "./commands/ListSearchJobResultsCommand";
14
+ import { ListSearchJobsCommandInput, ListSearchJobsCommandOutput } from "./commands/ListSearchJobsCommand";
15
+ import { ListSearchResultExportJobsCommandInput, ListSearchResultExportJobsCommandOutput } from "./commands/ListSearchResultExportJobsCommand";
16
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
17
+ import { StartSearchJobCommandInput, StartSearchJobCommandOutput } from "./commands/StartSearchJobCommand";
18
+ import { StartSearchResultExportJobCommandInput, StartSearchResultExportJobCommandOutput } from "./commands/StartSearchResultExportJobCommand";
19
+ import { StopSearchJobCommandInput, StopSearchJobCommandOutput } from "./commands/StopSearchJobCommand";
20
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
21
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
22
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
23
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
24
+ export { __Client };
25
+ /**
26
+ * @public
27
+ */
28
+ export type ServiceInputTypes = GetSearchJobCommandInput | GetSearchResultExportJobCommandInput | ListSearchJobBackupsCommandInput | ListSearchJobResultsCommandInput | ListSearchJobsCommandInput | ListSearchResultExportJobsCommandInput | ListTagsForResourceCommandInput | StartSearchJobCommandInput | StartSearchResultExportJobCommandInput | StopSearchJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
29
+ /**
30
+ * @public
31
+ */
32
+ export type ServiceOutputTypes = GetSearchJobCommandOutput | GetSearchResultExportJobCommandOutput | ListSearchJobBackupsCommandOutput | ListSearchJobResultsCommandOutput | ListSearchJobsCommandOutput | ListSearchResultExportJobsCommandOutput | ListTagsForResourceCommandOutput | StartSearchJobCommandOutput | StartSearchResultExportJobCommandOutput | StopSearchJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
33
+ /**
34
+ * @public
35
+ */
36
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
37
+ /**
38
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
39
+ */
40
+ requestHandler?: __HttpHandlerUserInput;
41
+ /**
42
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
43
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
44
+ * @internal
45
+ */
46
+ sha256?: __ChecksumConstructor | __HashConstructor;
47
+ /**
48
+ * The function that will be used to convert strings into HTTP endpoints.
49
+ * @internal
50
+ */
51
+ urlParser?: __UrlParser;
52
+ /**
53
+ * A function that can calculate the length of a request body.
54
+ * @internal
55
+ */
56
+ bodyLengthChecker?: __BodyLengthCalculator;
57
+ /**
58
+ * A function that converts a stream into an array of bytes.
59
+ * @internal
60
+ */
61
+ streamCollector?: __StreamCollector;
62
+ /**
63
+ * The function that will be used to convert a base64-encoded string to a byte array.
64
+ * @internal
65
+ */
66
+ base64Decoder?: __Decoder;
67
+ /**
68
+ * The function that will be used to convert binary data to a base64-encoded string.
69
+ * @internal
70
+ */
71
+ base64Encoder?: __Encoder;
72
+ /**
73
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
74
+ * @internal
75
+ */
76
+ utf8Decoder?: __Decoder;
77
+ /**
78
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
79
+ * @internal
80
+ */
81
+ utf8Encoder?: __Encoder;
82
+ /**
83
+ * The runtime environment.
84
+ * @internal
85
+ */
86
+ runtime?: string;
87
+ /**
88
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
89
+ * trait of an operation.
90
+ */
91
+ disableHostPrefix?: boolean;
92
+ /**
93
+ * Unique service identifier.
94
+ * @internal
95
+ */
96
+ serviceId?: string;
97
+ /**
98
+ * Enables IPv6/IPv4 dualstack endpoint.
99
+ */
100
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
101
+ /**
102
+ * Enables FIPS compatible endpoints.
103
+ */
104
+ useFipsEndpoint?: boolean | __Provider<boolean>;
105
+ /**
106
+ * The AWS region to which this client will send requests
107
+ */
108
+ region?: string | __Provider<string>;
109
+ /**
110
+ * Setting a client profile is similar to setting a value for the
111
+ * AWS_PROFILE environment variable. Setting a profile on a client
112
+ * in code only affects the single client instance, unlike AWS_PROFILE.
113
+ *
114
+ * When set, and only for environments where an AWS configuration
115
+ * file exists, fields configurable by this file will be retrieved
116
+ * from the specified profile within that file.
117
+ * Conflicting code configuration and environment variables will
118
+ * still have higher priority.
119
+ *
120
+ * For client credential resolution that involves checking the AWS
121
+ * configuration file, the client's profile (this value) will be
122
+ * used unless a different profile is set in the credential
123
+ * provider options.
124
+ *
125
+ */
126
+ profile?: string;
127
+ /**
128
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
129
+ * @internal
130
+ */
131
+ defaultUserAgentProvider?: Provider<__UserAgent>;
132
+ /**
133
+ * Default credentials provider; Not available in browser runtime.
134
+ * @deprecated
135
+ * @internal
136
+ */
137
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
138
+ /**
139
+ * Value for how many times a request will be made at most in case of retry.
140
+ */
141
+ maxAttempts?: number | __Provider<number>;
142
+ /**
143
+ * Specifies which retry algorithm to use.
144
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
145
+ *
146
+ */
147
+ retryMode?: string | __Provider<string>;
148
+ /**
149
+ * Optional logger for logging debug/info/warn/error.
150
+ */
151
+ logger?: __Logger;
152
+ /**
153
+ * Optional extensions
154
+ */
155
+ extensions?: RuntimeExtension[];
156
+ /**
157
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
158
+ */
159
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
160
+ }
161
+ /**
162
+ * @public
163
+ */
164
+ export type BackupSearchClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
165
+ /**
166
+ * @public
167
+ *
168
+ * The configuration interface of BackupSearchClient class constructor that set the region, credentials and other options.
169
+ */
170
+ export interface BackupSearchClientConfig extends BackupSearchClientConfigType {
171
+ }
172
+ /**
173
+ * @public
174
+ */
175
+ export type BackupSearchClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
176
+ /**
177
+ * @public
178
+ *
179
+ * The resolved configuration interface of BackupSearchClient class. This is resolved and normalized from the {@link BackupSearchClientConfig | constructor configuration interface}.
180
+ */
181
+ export interface BackupSearchClientResolvedConfig extends BackupSearchClientResolvedConfigType {
182
+ }
183
+ /**
184
+ * <fullname>Backup Search</fullname>
185
+ * <p>Backup Search is the recovery point and item level search for Backup.</p>
186
+ * <p>For additional information, see:</p>
187
+ * <ul>
188
+ * <li>
189
+ * <p>
190
+ * <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/api-reference.html">Backup API Reference</a>
191
+ * </p>
192
+ * </li>
193
+ * <li>
194
+ * <p>
195
+ * <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html">Backup
196
+ * Developer Guide</a>
197
+ * </p>
198
+ * </li>
199
+ * </ul>
200
+ * @public
201
+ */
202
+ export declare class BackupSearchClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BackupSearchClientResolvedConfig> {
203
+ /**
204
+ * The resolved configuration of BackupSearchClient class. This is resolved and normalized from the {@link BackupSearchClientConfig | constructor configuration interface}.
205
+ */
206
+ readonly config: BackupSearchClientResolvedConfig;
207
+ constructor(...[configuration]: __CheckOptionalClientConfig<BackupSearchClientConfig>);
208
+ /**
209
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
210
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
211
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
212
+ */
213
+ destroy(): void;
214
+ }
@@ -0,0 +1,29 @@
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import { BackupSearchHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: BackupSearchHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): BackupSearchHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: BackupSearchHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,61 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
3
+ import { BackupSearchClientResolvedConfig } from "../BackupSearchClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface BackupSearchHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface BackupSearchHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<BackupSearchClientResolvedConfig, HandlerExecutionContext, BackupSearchHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultBackupSearchHttpAuthSchemeParametersProvider: (config: BackupSearchClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<BackupSearchHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface BackupSearchHttpAuthSchemeProvider extends HttpAuthSchemeProvider<BackupSearchHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultBackupSearchHttpAuthSchemeProvider: BackupSearchHttpAuthSchemeProvider;
28
+ /**
29
+ * @internal
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
+ * @internal
35
+ */
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ /**
38
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
39
+ * @internal
40
+ */
41
+ httpAuthSchemeProvider?: BackupSearchHttpAuthSchemeProvider;
42
+ }
43
+ /**
44
+ * @internal
45
+ */
46
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
47
+ /**
48
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
+ * @internal
50
+ */
51
+ readonly httpAuthSchemes: HttpAuthScheme[];
52
+ /**
53
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
54
+ * @internal
55
+ */
56
+ readonly httpAuthSchemeProvider: BackupSearchHttpAuthSchemeProvider;
57
+ }
58
+ /**
59
+ * @internal
60
+ */
61
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;