@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,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BackupSearchClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BackupSearchClient";
8
+ import {
9
+ StartSearchResultExportJobInput,
10
+ StartSearchResultExportJobOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StartSearchResultExportJobCommandInput
15
+ extends StartSearchResultExportJobInput {}
16
+ export interface StartSearchResultExportJobCommandOutput
17
+ extends StartSearchResultExportJobOutput,
18
+ __MetadataBearer {}
19
+ declare const StartSearchResultExportJobCommand_base: {
20
+ new (
21
+ input: StartSearchResultExportJobCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StartSearchResultExportJobCommandInput,
24
+ StartSearchResultExportJobCommandOutput,
25
+ BackupSearchClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: StartSearchResultExportJobCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StartSearchResultExportJobCommandInput,
33
+ StartSearchResultExportJobCommandOutput,
34
+ BackupSearchClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StartSearchResultExportJobCommand extends StartSearchResultExportJobCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StartSearchResultExportJobInput;
44
+ output: StartSearchResultExportJobOutput;
45
+ };
46
+ sdk: {
47
+ input: StartSearchResultExportJobCommandInput;
48
+ output: StartSearchResultExportJobCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BackupSearchClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BackupSearchClient";
8
+ import { StopSearchJobInput, StopSearchJobOutput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface StopSearchJobCommandInput extends StopSearchJobInput {}
12
+ export interface StopSearchJobCommandOutput
13
+ extends StopSearchJobOutput,
14
+ __MetadataBearer {}
15
+ declare const StopSearchJobCommand_base: {
16
+ new (
17
+ input: StopSearchJobCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ StopSearchJobCommandInput,
20
+ StopSearchJobCommandOutput,
21
+ BackupSearchClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: StopSearchJobCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ StopSearchJobCommandInput,
29
+ StopSearchJobCommandOutput,
30
+ BackupSearchClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class StopSearchJobCommand extends StopSearchJobCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: StopSearchJobInput;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: StopSearchJobCommandInput;
44
+ output: StopSearchJobCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BackupSearchClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BackupSearchClient";
8
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface TagResourceCommandInput extends TagResourceRequest {}
12
+ export interface TagResourceCommandOutput
13
+ extends TagResourceResponse,
14
+ __MetadataBearer {}
15
+ declare const TagResourceCommand_base: {
16
+ new (
17
+ input: TagResourceCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ TagResourceCommandInput,
20
+ TagResourceCommandOutput,
21
+ BackupSearchClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ __0_0: TagResourceCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ TagResourceCommandInput,
29
+ TagResourceCommandOutput,
30
+ BackupSearchClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class TagResourceCommand extends TagResourceCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: TagResourceRequest;
40
+ output: {};
41
+ };
42
+ sdk: {
43
+ input: TagResourceCommandInput;
44
+ output: TagResourceCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BackupSearchClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BackupSearchClient";
8
+ import {
9
+ UntagResourceRequest,
10
+ UntagResourceResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UntagResourceCommandInput extends UntagResourceRequest {}
15
+ export interface UntagResourceCommandOutput
16
+ extends UntagResourceResponse,
17
+ __MetadataBearer {}
18
+ declare const UntagResourceCommand_base: {
19
+ new (
20
+ input: UntagResourceCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ UntagResourceCommandInput,
23
+ UntagResourceCommandOutput,
24
+ BackupSearchClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: UntagResourceCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UntagResourceCommandInput,
32
+ UntagResourceCommandOutput,
33
+ BackupSearchClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: UntagResourceRequest;
43
+ output: {};
44
+ };
45
+ sdk: {
46
+ input: UntagResourceCommandInput;
47
+ output: UntagResourceCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,12 @@
1
+ export * from "./GetSearchJobCommand";
2
+ export * from "./GetSearchResultExportJobCommand";
3
+ export * from "./ListSearchJobBackupsCommand";
4
+ export * from "./ListSearchJobResultsCommand";
5
+ export * from "./ListSearchJobsCommand";
6
+ export * from "./ListSearchResultExportJobsCommand";
7
+ export * from "./ListTagsForResourceCommand";
8
+ export * from "./StartSearchJobCommand";
9
+ export * from "./StartSearchResultExportJobCommand";
10
+ export * from "./StopSearchJobCommand";
11
+ export * from "./TagResourceCommand";
12
+ export * from "./UntagResourceCommand";
@@ -0,0 +1,45 @@
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?:
10
+ | string
11
+ | Provider<string>
12
+ | Endpoint
13
+ | Provider<Endpoint>
14
+ | EndpointV2
15
+ | Provider<EndpointV2>;
16
+ region?: string | Provider<string>;
17
+ }
18
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export declare const resolveClientEndpointParameters: <T>(
22
+ options: T & ClientInputEndpointParameters
23
+ ) => T &
24
+ ClientInputEndpointParameters & {
25
+ defaultSigningName: string;
26
+ };
27
+ export declare const commonParams: {
28
+ readonly UseFIPS: {
29
+ readonly type: "builtInParams";
30
+ readonly name: "useFipsEndpoint";
31
+ };
32
+ readonly Endpoint: {
33
+ readonly type: "builtInParams";
34
+ readonly name: "endpoint";
35
+ };
36
+ readonly Region: {
37
+ readonly type: "builtInParams";
38
+ readonly name: "region";
39
+ };
40
+ };
41
+ export interface EndpointParameters extends __EndpointParameters {
42
+ UseFIPS?: boolean;
43
+ Endpoint?: string;
44
+ Region?: string;
45
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ export interface BackupSearchExtensionConfiguration
6
+ extends HttpHandlerExtensionConfiguration,
7
+ DefaultExtensionConfiguration,
8
+ AwsRegionExtensionConfiguration,
9
+ HttpAuthExtensionConfiguration {}
@@ -0,0 +1,9 @@
1
+ export * from "./BackupSearchClient";
2
+ export * from "./BackupSearch";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export { RuntimeExtension } from "./runtimeExtensions";
5
+ export { BackupSearchExtensionConfiguration } from "./extensionConfiguration";
6
+ export * from "./commands";
7
+ export * from "./pagination";
8
+ export * from "./models";
9
+ export { BackupSearchServiceException } from "./models/BackupSearchServiceException";
@@ -0,0 +1,9 @@
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@smithy/smithy-client";
5
+ export { __ServiceExceptionOptions };
6
+ export { __ServiceException };
7
+ export declare class BackupSearchServiceException extends __ServiceException {
8
+ constructor(options: __ServiceExceptionOptions);
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,379 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { BackupSearchServiceException as __BaseException } from "./BackupSearchServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export interface BackupCreationTimeFilter {
11
+ CreatedAfter?: Date | undefined;
12
+ CreatedBefore?: Date | undefined;
13
+ }
14
+ export declare class ConflictException extends __BaseException {
15
+ readonly name: "ConflictException";
16
+ readonly $fault: "client";
17
+ resourceId: string | undefined;
18
+ resourceType: string | undefined;
19
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
20
+ }
21
+ export declare class InternalServerException extends __BaseException {
22
+ readonly name: "InternalServerException";
23
+ readonly $fault: "server";
24
+ $retryable: {};
25
+ retryAfterSeconds?: number | undefined;
26
+ constructor(
27
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
28
+ );
29
+ }
30
+ export interface ListSearchJobBackupsInput {
31
+ SearchJobIdentifier: string | undefined;
32
+ NextToken?: string | undefined;
33
+ MaxResults?: number | undefined;
34
+ }
35
+ export declare const ResourceType: {
36
+ readonly EBS: "EBS";
37
+ readonly S3: "S3";
38
+ };
39
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
40
+ export declare const SearchJobState: {
41
+ readonly COMPLETED: "COMPLETED";
42
+ readonly FAILED: "FAILED";
43
+ readonly RUNNING: "RUNNING";
44
+ readonly STOPPED: "STOPPED";
45
+ readonly STOPPING: "STOPPING";
46
+ };
47
+ export type SearchJobState =
48
+ (typeof SearchJobState)[keyof typeof SearchJobState];
49
+ export interface SearchJobBackupsResult {
50
+ Status?: SearchJobState | undefined;
51
+ StatusMessage?: string | undefined;
52
+ ResourceType?: ResourceType | undefined;
53
+ BackupResourceArn?: string | undefined;
54
+ SourceResourceArn?: string | undefined;
55
+ IndexCreationTime?: Date | undefined;
56
+ BackupCreationTime?: Date | undefined;
57
+ }
58
+ export interface ListSearchJobBackupsOutput {
59
+ Results: SearchJobBackupsResult[] | undefined;
60
+ NextToken?: string | undefined;
61
+ }
62
+ export declare class ResourceNotFoundException extends __BaseException {
63
+ readonly name: "ResourceNotFoundException";
64
+ readonly $fault: "client";
65
+ resourceId: string | undefined;
66
+ resourceType: string | undefined;
67
+ constructor(
68
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
69
+ );
70
+ }
71
+ export declare class ThrottlingException extends __BaseException {
72
+ readonly name: "ThrottlingException";
73
+ readonly $fault: "client";
74
+ $retryable: {
75
+ throttling: boolean;
76
+ };
77
+ serviceCode?: string | undefined;
78
+ quotaCode?: string | undefined;
79
+ retryAfterSeconds?: number | undefined;
80
+ constructor(
81
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
82
+ );
83
+ }
84
+ export declare class ValidationException extends __BaseException {
85
+ readonly name: "ValidationException";
86
+ readonly $fault: "client";
87
+ constructor(
88
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
89
+ );
90
+ }
91
+ export interface ListSearchJobResultsInput {
92
+ SearchJobIdentifier: string | undefined;
93
+ NextToken?: string | undefined;
94
+ MaxResults?: number | undefined;
95
+ }
96
+ export interface EBSResultItem {
97
+ BackupResourceArn?: string | undefined;
98
+ SourceResourceArn?: string | undefined;
99
+ BackupVaultName?: string | undefined;
100
+ FileSystemIdentifier?: string | undefined;
101
+ FilePath?: string | undefined;
102
+ FileSize?: number | undefined;
103
+ CreationTime?: Date | undefined;
104
+ LastModifiedTime?: Date | undefined;
105
+ }
106
+ export interface S3ResultItem {
107
+ BackupResourceArn?: string | undefined;
108
+ SourceResourceArn?: string | undefined;
109
+ BackupVaultName?: string | undefined;
110
+ ObjectKey?: string | undefined;
111
+ ObjectSize?: number | undefined;
112
+ CreationTime?: Date | undefined;
113
+ ETag?: string | undefined;
114
+ VersionId?: string | undefined;
115
+ }
116
+ export type ResultItem =
117
+ | ResultItem.EBSResultItemMember
118
+ | ResultItem.S3ResultItemMember
119
+ | ResultItem.$UnknownMember;
120
+ export declare namespace ResultItem {
121
+ interface S3ResultItemMember {
122
+ S3ResultItem: S3ResultItem;
123
+ EBSResultItem?: never;
124
+ $unknown?: never;
125
+ }
126
+ interface EBSResultItemMember {
127
+ S3ResultItem?: never;
128
+ EBSResultItem: EBSResultItem;
129
+ $unknown?: never;
130
+ }
131
+ interface $UnknownMember {
132
+ S3ResultItem?: never;
133
+ EBSResultItem?: never;
134
+ $unknown: [string, any];
135
+ }
136
+ interface Visitor<T> {
137
+ S3ResultItem: (value: S3ResultItem) => T;
138
+ EBSResultItem: (value: EBSResultItem) => T;
139
+ _: (name: string, value: any) => T;
140
+ }
141
+ const visit: <T>(value: ResultItem, visitor: Visitor<T>) => T;
142
+ }
143
+ export interface ListSearchJobResultsOutput {
144
+ Results: ResultItem[] | undefined;
145
+ NextToken?: string | undefined;
146
+ }
147
+ export interface ListTagsForResourceRequest {
148
+ ResourceArn: string | undefined;
149
+ }
150
+ export interface ListTagsForResourceResponse {
151
+ Tags?: Record<string, string> | undefined;
152
+ }
153
+ export interface CurrentSearchProgress {
154
+ RecoveryPointsScannedCount?: number | undefined;
155
+ ItemsScannedCount?: number | undefined;
156
+ ItemsMatchedCount?: number | undefined;
157
+ }
158
+ export interface GetSearchJobInput {
159
+ SearchJobIdentifier: string | undefined;
160
+ }
161
+ export declare const TimeConditionOperator: {
162
+ readonly EQUALS_TO: "EQUALS_TO";
163
+ readonly GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO";
164
+ readonly LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO";
165
+ readonly NOT_EQUALS_TO: "NOT_EQUALS_TO";
166
+ };
167
+ export type TimeConditionOperator =
168
+ (typeof TimeConditionOperator)[keyof typeof TimeConditionOperator];
169
+ export interface TimeCondition {
170
+ Value: Date | undefined;
171
+ Operator?: TimeConditionOperator | undefined;
172
+ }
173
+ export declare const StringConditionOperator: {
174
+ readonly BEGINS_WITH: "BEGINS_WITH";
175
+ readonly CONTAINS: "CONTAINS";
176
+ readonly DOES_NOT_BEGIN_WITH: "DOES_NOT_BEGIN_WITH";
177
+ readonly DOES_NOT_CONTAIN: "DOES_NOT_CONTAIN";
178
+ readonly DOES_NOT_END_WITH: "DOES_NOT_END_WITH";
179
+ readonly ENDS_WITH: "ENDS_WITH";
180
+ readonly EQUALS_TO: "EQUALS_TO";
181
+ readonly NOT_EQUALS_TO: "NOT_EQUALS_TO";
182
+ };
183
+ export type StringConditionOperator =
184
+ (typeof StringConditionOperator)[keyof typeof StringConditionOperator];
185
+ export interface StringCondition {
186
+ Value: string | undefined;
187
+ Operator?: StringConditionOperator | undefined;
188
+ }
189
+ export declare const LongConditionOperator: {
190
+ readonly EQUALS_TO: "EQUALS_TO";
191
+ readonly GREATER_THAN_EQUAL_TO: "GREATER_THAN_EQUAL_TO";
192
+ readonly LESS_THAN_EQUAL_TO: "LESS_THAN_EQUAL_TO";
193
+ readonly NOT_EQUALS_TO: "NOT_EQUALS_TO";
194
+ };
195
+ export type LongConditionOperator =
196
+ (typeof LongConditionOperator)[keyof typeof LongConditionOperator];
197
+ export interface LongCondition {
198
+ Value: number | undefined;
199
+ Operator?: LongConditionOperator | undefined;
200
+ }
201
+ export interface EBSItemFilter {
202
+ FilePaths?: StringCondition[] | undefined;
203
+ Sizes?: LongCondition[] | undefined;
204
+ CreationTimes?: TimeCondition[] | undefined;
205
+ LastModificationTimes?: TimeCondition[] | undefined;
206
+ }
207
+ export interface S3ItemFilter {
208
+ ObjectKeys?: StringCondition[] | undefined;
209
+ Sizes?: LongCondition[] | undefined;
210
+ CreationTimes?: TimeCondition[] | undefined;
211
+ VersionIds?: StringCondition[] | undefined;
212
+ ETags?: StringCondition[] | undefined;
213
+ }
214
+ export interface ItemFilters {
215
+ S3ItemFilters?: S3ItemFilter[] | undefined;
216
+ EBSItemFilters?: EBSItemFilter[] | undefined;
217
+ }
218
+ export interface SearchScope {
219
+ BackupResourceTypes: ResourceType[] | undefined;
220
+ BackupResourceCreationTime?: BackupCreationTimeFilter | undefined;
221
+ SourceResourceArns?: string[] | undefined;
222
+ BackupResourceArns?: string[] | undefined;
223
+ BackupResourceTags?: Record<string, string> | undefined;
224
+ }
225
+ export interface SearchScopeSummary {
226
+ TotalRecoveryPointsToScanCount?: number | undefined;
227
+ TotalItemsToScanCount?: number | undefined;
228
+ }
229
+ export interface GetSearchJobOutput {
230
+ Name?: string | undefined;
231
+ SearchScopeSummary?: SearchScopeSummary | undefined;
232
+ CurrentSearchProgress?: CurrentSearchProgress | undefined;
233
+ StatusMessage?: string | undefined;
234
+ EncryptionKeyArn?: string | undefined;
235
+ CompletionTime?: Date | undefined;
236
+ Status: SearchJobState | undefined;
237
+ SearchScope: SearchScope | undefined;
238
+ ItemFilters: ItemFilters | undefined;
239
+ CreationTime: Date | undefined;
240
+ SearchJobIdentifier: string | undefined;
241
+ SearchJobArn: string | undefined;
242
+ }
243
+ export interface ListSearchJobsInput {
244
+ ByStatus?: SearchJobState | undefined;
245
+ NextToken?: string | undefined;
246
+ MaxResults?: number | undefined;
247
+ }
248
+ export interface SearchJobSummary {
249
+ SearchJobIdentifier?: string | undefined;
250
+ SearchJobArn?: string | undefined;
251
+ Name?: string | undefined;
252
+ Status?: SearchJobState | undefined;
253
+ CreationTime?: Date | undefined;
254
+ CompletionTime?: Date | undefined;
255
+ SearchScopeSummary?: SearchScopeSummary | undefined;
256
+ StatusMessage?: string | undefined;
257
+ }
258
+ export interface ListSearchJobsOutput {
259
+ SearchJobs: SearchJobSummary[] | undefined;
260
+ NextToken?: string | undefined;
261
+ }
262
+ export declare class ServiceQuotaExceededException extends __BaseException {
263
+ readonly name: "ServiceQuotaExceededException";
264
+ readonly $fault: "client";
265
+ resourceId: string | undefined;
266
+ resourceType: string | undefined;
267
+ serviceCode: string | undefined;
268
+ quotaCode: string | undefined;
269
+ constructor(
270
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
271
+ );
272
+ }
273
+ export interface StartSearchJobInput {
274
+ Tags?: Record<string, string> | undefined;
275
+ Name?: string | undefined;
276
+ EncryptionKeyArn?: string | undefined;
277
+ ClientToken?: string | undefined;
278
+ SearchScope: SearchScope | undefined;
279
+ ItemFilters?: ItemFilters | undefined;
280
+ }
281
+ export interface StartSearchJobOutput {
282
+ SearchJobArn?: string | undefined;
283
+ CreationTime?: Date | undefined;
284
+ SearchJobIdentifier?: string | undefined;
285
+ }
286
+ export interface StopSearchJobInput {
287
+ SearchJobIdentifier: string | undefined;
288
+ }
289
+ export interface StopSearchJobOutput {}
290
+ export declare const ExportJobStatus: {
291
+ readonly COMPLETED: "COMPLETED";
292
+ readonly FAILED: "FAILED";
293
+ readonly RUNNING: "RUNNING";
294
+ };
295
+ export type ExportJobStatus =
296
+ (typeof ExportJobStatus)[keyof typeof ExportJobStatus];
297
+ export interface S3ExportSpecification {
298
+ DestinationBucket: string | undefined;
299
+ DestinationPrefix?: string | undefined;
300
+ }
301
+ export type ExportSpecification =
302
+ | ExportSpecification.S3ExportSpecificationMember
303
+ | ExportSpecification.$UnknownMember;
304
+ export declare namespace ExportSpecification {
305
+ interface S3ExportSpecificationMember {
306
+ s3ExportSpecification: S3ExportSpecification;
307
+ $unknown?: never;
308
+ }
309
+ interface $UnknownMember {
310
+ s3ExportSpecification?: never;
311
+ $unknown: [string, any];
312
+ }
313
+ interface Visitor<T> {
314
+ s3ExportSpecification: (value: S3ExportSpecification) => T;
315
+ _: (name: string, value: any) => T;
316
+ }
317
+ const visit: <T>(value: ExportSpecification, visitor: Visitor<T>) => T;
318
+ }
319
+ export interface GetSearchResultExportJobInput {
320
+ ExportJobIdentifier: string | undefined;
321
+ }
322
+ export interface GetSearchResultExportJobOutput {
323
+ ExportJobIdentifier: string | undefined;
324
+ ExportJobArn?: string | undefined;
325
+ Status?: ExportJobStatus | undefined;
326
+ CreationTime?: Date | undefined;
327
+ CompletionTime?: Date | undefined;
328
+ StatusMessage?: string | undefined;
329
+ ExportSpecification?: ExportSpecification | undefined;
330
+ SearchJobArn?: string | undefined;
331
+ }
332
+ export interface ListSearchResultExportJobsInput {
333
+ Status?: ExportJobStatus | undefined;
334
+ SearchJobIdentifier?: string | undefined;
335
+ NextToken?: string | undefined;
336
+ MaxResults?: number | undefined;
337
+ }
338
+ export interface ExportJobSummary {
339
+ ExportJobIdentifier: string | undefined;
340
+ ExportJobArn?: string | undefined;
341
+ Status?: ExportJobStatus | undefined;
342
+ CreationTime?: Date | undefined;
343
+ CompletionTime?: Date | undefined;
344
+ StatusMessage?: string | undefined;
345
+ SearchJobArn?: string | undefined;
346
+ }
347
+ export interface ListSearchResultExportJobsOutput {
348
+ ExportJobs: ExportJobSummary[] | undefined;
349
+ NextToken?: string | undefined;
350
+ }
351
+ export interface StartSearchResultExportJobInput {
352
+ SearchJobIdentifier: string | undefined;
353
+ ExportSpecification: ExportSpecification | undefined;
354
+ ClientToken?: string | undefined;
355
+ Tags?: Record<string, string> | undefined;
356
+ RoleArn?: string | undefined;
357
+ }
358
+ export interface StartSearchResultExportJobOutput {
359
+ ExportJobArn?: string | undefined;
360
+ ExportJobIdentifier: string | undefined;
361
+ }
362
+ export interface TagResourceRequest {
363
+ ResourceArn: string | undefined;
364
+ Tags: Record<string, string> | undefined;
365
+ }
366
+ export interface TagResourceResponse {}
367
+ export interface UntagResourceRequest {
368
+ ResourceArn: string | undefined;
369
+ TagKeys: string[] | undefined;
370
+ }
371
+ export interface UntagResourceResponse {}
372
+ export declare const EBSResultItemFilterSensitiveLog: (
373
+ obj: EBSResultItem
374
+ ) => any;
375
+ export declare const S3ResultItemFilterSensitiveLog: (obj: S3ResultItem) => any;
376
+ export declare const ResultItemFilterSensitiveLog: (obj: ResultItem) => any;
377
+ export declare const ListSearchJobResultsOutputFilterSensitiveLog: (
378
+ obj: ListSearchJobResultsOutput
379
+ ) => any;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { BackupSearchClient } from "../BackupSearchClient";
3
+ export interface BackupSearchPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: BackupSearchClient;
6
+ }