@aws-sdk/client-backupsearch 3.975.0 → 3.978.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.
- package/dist-cjs/index.js +15 -9
- package/dist-es/BackupSearch.js +11 -1
- package/dist-types/BackupSearch.d.ts +29 -1
- package/dist-types/ts3.4/BackupSearch.d.ts +33 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -844,6 +844,14 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
844
844
|
.build() {
|
|
845
845
|
}
|
|
846
846
|
|
|
847
|
+
const paginateListSearchJobBackups = core.createPaginator(BackupSearchClient, ListSearchJobBackupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
848
|
+
|
|
849
|
+
const paginateListSearchJobResults = core.createPaginator(BackupSearchClient, ListSearchJobResultsCommand, "NextToken", "NextToken", "MaxResults");
|
|
850
|
+
|
|
851
|
+
const paginateListSearchJobs = core.createPaginator(BackupSearchClient, ListSearchJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
852
|
+
|
|
853
|
+
const paginateListSearchResultExportJobs = core.createPaginator(BackupSearchClient, ListSearchResultExportJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
854
|
+
|
|
847
855
|
const commands = {
|
|
848
856
|
GetSearchJobCommand,
|
|
849
857
|
GetSearchResultExportJobCommand,
|
|
@@ -858,17 +866,15 @@ const commands = {
|
|
|
858
866
|
TagResourceCommand,
|
|
859
867
|
UntagResourceCommand,
|
|
860
868
|
};
|
|
869
|
+
const paginators = {
|
|
870
|
+
paginateListSearchJobBackups,
|
|
871
|
+
paginateListSearchJobResults,
|
|
872
|
+
paginateListSearchJobs,
|
|
873
|
+
paginateListSearchResultExportJobs,
|
|
874
|
+
};
|
|
861
875
|
class BackupSearch extends BackupSearchClient {
|
|
862
876
|
}
|
|
863
|
-
smithyClient.createAggregatedClient(commands, BackupSearch);
|
|
864
|
-
|
|
865
|
-
const paginateListSearchJobBackups = core.createPaginator(BackupSearchClient, ListSearchJobBackupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
866
|
-
|
|
867
|
-
const paginateListSearchJobResults = core.createPaginator(BackupSearchClient, ListSearchJobResultsCommand, "NextToken", "NextToken", "MaxResults");
|
|
868
|
-
|
|
869
|
-
const paginateListSearchJobs = core.createPaginator(BackupSearchClient, ListSearchJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
870
|
-
|
|
871
|
-
const paginateListSearchResultExportJobs = core.createPaginator(BackupSearchClient, ListSearchResultExportJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
877
|
+
smithyClient.createAggregatedClient(commands, BackupSearch, { paginators });
|
|
872
878
|
|
|
873
879
|
const ResourceType = {
|
|
874
880
|
EBS: "EBS",
|
package/dist-es/BackupSearch.js
CHANGED
|
@@ -12,6 +12,10 @@ import { StartSearchResultExportJobCommand, } from "./commands/StartSearchResult
|
|
|
12
12
|
import { StopSearchJobCommand, } from "./commands/StopSearchJobCommand";
|
|
13
13
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
14
14
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
15
|
+
import { paginateListSearchJobBackups } from "./pagination/ListSearchJobBackupsPaginator";
|
|
16
|
+
import { paginateListSearchJobResults } from "./pagination/ListSearchJobResultsPaginator";
|
|
17
|
+
import { paginateListSearchJobs } from "./pagination/ListSearchJobsPaginator";
|
|
18
|
+
import { paginateListSearchResultExportJobs } from "./pagination/ListSearchResultExportJobsPaginator";
|
|
15
19
|
const commands = {
|
|
16
20
|
GetSearchJobCommand,
|
|
17
21
|
GetSearchResultExportJobCommand,
|
|
@@ -26,6 +30,12 @@ const commands = {
|
|
|
26
30
|
TagResourceCommand,
|
|
27
31
|
UntagResourceCommand,
|
|
28
32
|
};
|
|
33
|
+
const paginators = {
|
|
34
|
+
paginateListSearchJobBackups,
|
|
35
|
+
paginateListSearchJobResults,
|
|
36
|
+
paginateListSearchJobs,
|
|
37
|
+
paginateListSearchResultExportJobs,
|
|
38
|
+
};
|
|
29
39
|
export class BackupSearch extends BackupSearchClient {
|
|
30
40
|
}
|
|
31
|
-
createAggregatedClient(commands, BackupSearch);
|
|
41
|
+
createAggregatedClient(commands, BackupSearch, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { BackupSearchClient } from "./BackupSearchClient";
|
|
3
3
|
import { GetSearchJobCommandInput, GetSearchJobCommandOutput } from "./commands/GetSearchJobCommand";
|
|
4
4
|
import { GetSearchResultExportJobCommandInput, GetSearchResultExportJobCommandOutput } from "./commands/GetSearchResultExportJobCommand";
|
|
@@ -87,6 +87,34 @@ export interface BackupSearch {
|
|
|
87
87
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
88
88
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
89
89
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
90
|
+
/**
|
|
91
|
+
* @see {@link ListSearchJobBackupsCommand}
|
|
92
|
+
* @param args - command input.
|
|
93
|
+
* @param paginationConfig - optional pagination config.
|
|
94
|
+
* @returns AsyncIterable of {@link ListSearchJobBackupsCommandOutput}.
|
|
95
|
+
*/
|
|
96
|
+
paginateListSearchJobBackups(args: ListSearchJobBackupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSearchJobBackupsCommandOutput>;
|
|
97
|
+
/**
|
|
98
|
+
* @see {@link ListSearchJobResultsCommand}
|
|
99
|
+
* @param args - command input.
|
|
100
|
+
* @param paginationConfig - optional pagination config.
|
|
101
|
+
* @returns AsyncIterable of {@link ListSearchJobResultsCommandOutput}.
|
|
102
|
+
*/
|
|
103
|
+
paginateListSearchJobResults(args: ListSearchJobResultsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSearchJobResultsCommandOutput>;
|
|
104
|
+
/**
|
|
105
|
+
* @see {@link ListSearchJobsCommand}
|
|
106
|
+
* @param args - command input.
|
|
107
|
+
* @param paginationConfig - optional pagination config.
|
|
108
|
+
* @returns AsyncIterable of {@link ListSearchJobsCommandOutput}.
|
|
109
|
+
*/
|
|
110
|
+
paginateListSearchJobs(args?: ListSearchJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSearchJobsCommandOutput>;
|
|
111
|
+
/**
|
|
112
|
+
* @see {@link ListSearchResultExportJobsCommand}
|
|
113
|
+
* @param args - command input.
|
|
114
|
+
* @param paginationConfig - optional pagination config.
|
|
115
|
+
* @returns AsyncIterable of {@link ListSearchResultExportJobsCommandOutput}.
|
|
116
|
+
*/
|
|
117
|
+
paginateListSearchResultExportJobs(args?: ListSearchResultExportJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListSearchResultExportJobsCommandOutput>;
|
|
90
118
|
}
|
|
91
119
|
/**
|
|
92
120
|
* <fullname>Backup Search</fullname> <p>Backup Search is the recovery point and item level search for Backup.</p> <p>For additional information, see:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/api-reference.html">Backup API Reference</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html">Backup Developer Guide</a> </p> </li> </ul>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { BackupSearchClient } from "./BackupSearchClient";
|
|
3
7
|
import {
|
|
4
8
|
GetSearchJobCommandInput,
|
|
@@ -207,6 +211,34 @@ export interface BackupSearch {
|
|
|
207
211
|
options: __HttpHandlerOptions,
|
|
208
212
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
209
213
|
): void;
|
|
214
|
+
paginateListSearchJobBackups(
|
|
215
|
+
args: ListSearchJobBackupsCommandInput,
|
|
216
|
+
paginationConfig?: Pick<
|
|
217
|
+
PaginationConfiguration,
|
|
218
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
219
|
+
>
|
|
220
|
+
): Paginator<ListSearchJobBackupsCommandOutput>;
|
|
221
|
+
paginateListSearchJobResults(
|
|
222
|
+
args: ListSearchJobResultsCommandInput,
|
|
223
|
+
paginationConfig?: Pick<
|
|
224
|
+
PaginationConfiguration,
|
|
225
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
226
|
+
>
|
|
227
|
+
): Paginator<ListSearchJobResultsCommandOutput>;
|
|
228
|
+
paginateListSearchJobs(
|
|
229
|
+
args?: ListSearchJobsCommandInput,
|
|
230
|
+
paginationConfig?: Pick<
|
|
231
|
+
PaginationConfiguration,
|
|
232
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
233
|
+
>
|
|
234
|
+
): Paginator<ListSearchJobsCommandOutput>;
|
|
235
|
+
paginateListSearchResultExportJobs(
|
|
236
|
+
args?: ListSearchResultExportJobsCommandInput,
|
|
237
|
+
paginationConfig?: Pick<
|
|
238
|
+
PaginationConfiguration,
|
|
239
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
240
|
+
>
|
|
241
|
+
): Paginator<ListSearchResultExportJobsCommandOutput>;
|
|
210
242
|
}
|
|
211
243
|
export declare class BackupSearch
|
|
212
244
|
extends BackupSearchClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-backupsearch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Backupsearch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-backupsearch",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|