@aws-sdk/client-backup 3.81.0 → 3.85.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.85.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.84.0...v3.85.0) (2022-05-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **codegen:** add codegen indicator comment to all generated files ([#3592](https://github.com/aws/aws-sdk-js-v3/issues/3592)) ([567a530](https://github.com/aws/aws-sdk-js-v3/commit/567a5304232fcc1f9db3fd3df545054de8336b4b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.84.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.83.0...v3.84.0) (2022-05-04)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **client-backup:** Adds support to 2 new filters about job complete time for 3 list jobs APIs in AWS Backup ([164cdf7](https://github.com/aws/aws-sdk-js-v3/commit/164cdf71890150f74c87ee570787332fc07252ed))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.82.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.81.0...v3.82.0) (2022-05-02)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-backup
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.81.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.80.0...v3.81.0) (2022-04-29)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-backup
|
package/README.md
CHANGED
|
@@ -1026,6 +1026,12 @@ const serializeAws_restJson1ListBackupJobsCommand = async (input, context) => {
|
|
|
1026
1026
|
}),
|
|
1027
1027
|
...(input.ByResourceType !== undefined && { resourceType: input.ByResourceType }),
|
|
1028
1028
|
...(input.ByAccountId !== undefined && { accountId: input.ByAccountId }),
|
|
1029
|
+
...(input.ByCompleteAfter !== undefined && {
|
|
1030
|
+
completeAfter: (input.ByCompleteAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
1031
|
+
}),
|
|
1032
|
+
...(input.ByCompleteBefore !== undefined && {
|
|
1033
|
+
completeBefore: (input.ByCompleteBefore.toISOString().split(".")[0] + "Z").toString(),
|
|
1034
|
+
}),
|
|
1029
1035
|
};
|
|
1030
1036
|
let body;
|
|
1031
1037
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1184,6 +1190,12 @@ const serializeAws_restJson1ListCopyJobsCommand = async (input, context) => {
|
|
|
1184
1190
|
...(input.ByResourceType !== undefined && { resourceType: input.ByResourceType }),
|
|
1185
1191
|
...(input.ByDestinationVaultArn !== undefined && { destinationVaultArn: input.ByDestinationVaultArn }),
|
|
1186
1192
|
...(input.ByAccountId !== undefined && { accountId: input.ByAccountId }),
|
|
1193
|
+
...(input.ByCompleteBefore !== undefined && {
|
|
1194
|
+
completeBefore: (input.ByCompleteBefore.toISOString().split(".")[0] + "Z").toString(),
|
|
1195
|
+
}),
|
|
1196
|
+
...(input.ByCompleteAfter !== undefined && {
|
|
1197
|
+
completeAfter: (input.ByCompleteAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
1198
|
+
}),
|
|
1187
1199
|
};
|
|
1188
1200
|
let body;
|
|
1189
1201
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1377,6 +1389,12 @@ const serializeAws_restJson1ListRestoreJobsCommand = async (input, context) => {
|
|
|
1377
1389
|
createdAfter: (input.ByCreatedAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
1378
1390
|
}),
|
|
1379
1391
|
...(input.ByStatus !== undefined && { status: input.ByStatus }),
|
|
1392
|
+
...(input.ByCompleteBefore !== undefined && {
|
|
1393
|
+
completeBefore: (input.ByCompleteBefore.toISOString().split(".")[0] + "Z").toString(),
|
|
1394
|
+
}),
|
|
1395
|
+
...(input.ByCompleteAfter !== undefined && {
|
|
1396
|
+
completeAfter: (input.ByCompleteAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
1397
|
+
}),
|
|
1380
1398
|
};
|
|
1381
1399
|
let body;
|
|
1382
1400
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1160,11 +1160,15 @@ export var serializeAws_restJson1ListBackupJobsCommand = function (input, contex
|
|
|
1160
1160
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1161
1161
|
headers = {};
|
|
1162
1162
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/backup-jobs";
|
|
1163
|
-
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.ByResourceArn !== undefined && { resourceArn: input.ByResourceArn })), (input.ByState !== undefined && { state: input.ByState })), (input.ByBackupVaultName !== undefined && { backupVaultName: input.ByBackupVaultName })), (input.ByCreatedBefore !== undefined && {
|
|
1163
|
+
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.ByResourceArn !== undefined && { resourceArn: input.ByResourceArn })), (input.ByState !== undefined && { state: input.ByState })), (input.ByBackupVaultName !== undefined && { backupVaultName: input.ByBackupVaultName })), (input.ByCreatedBefore !== undefined && {
|
|
1164
1164
|
createdBefore: (input.ByCreatedBefore.toISOString().split(".")[0] + "Z").toString(),
|
|
1165
1165
|
})), (input.ByCreatedAfter !== undefined && {
|
|
1166
1166
|
createdAfter: (input.ByCreatedAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
1167
|
-
})), (input.ByResourceType !== undefined && { resourceType: input.ByResourceType })), (input.ByAccountId !== undefined && { accountId: input.ByAccountId }))
|
|
1167
|
+
})), (input.ByResourceType !== undefined && { resourceType: input.ByResourceType })), (input.ByAccountId !== undefined && { accountId: input.ByAccountId })), (input.ByCompleteAfter !== undefined && {
|
|
1168
|
+
completeAfter: (input.ByCompleteAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
1169
|
+
})), (input.ByCompleteBefore !== undefined && {
|
|
1170
|
+
completeBefore: (input.ByCompleteBefore.toISOString().split(".")[0] + "Z").toString(),
|
|
1171
|
+
}));
|
|
1168
1172
|
return [2, new __HttpRequest({
|
|
1169
1173
|
protocol: protocol,
|
|
1170
1174
|
hostname: hostname,
|
|
@@ -1322,11 +1326,15 @@ export var serializeAws_restJson1ListCopyJobsCommand = function (input, context)
|
|
|
1322
1326
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1323
1327
|
headers = {};
|
|
1324
1328
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/copy-jobs";
|
|
1325
|
-
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.ByResourceArn !== undefined && { resourceArn: input.ByResourceArn })), (input.ByState !== undefined && { state: input.ByState })), (input.ByCreatedBefore !== undefined && {
|
|
1329
|
+
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.ByResourceArn !== undefined && { resourceArn: input.ByResourceArn })), (input.ByState !== undefined && { state: input.ByState })), (input.ByCreatedBefore !== undefined && {
|
|
1326
1330
|
createdBefore: (input.ByCreatedBefore.toISOString().split(".")[0] + "Z").toString(),
|
|
1327
1331
|
})), (input.ByCreatedAfter !== undefined && {
|
|
1328
1332
|
createdAfter: (input.ByCreatedAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
1329
|
-
})), (input.ByResourceType !== undefined && { resourceType: input.ByResourceType })), (input.ByDestinationVaultArn !== undefined && { destinationVaultArn: input.ByDestinationVaultArn })), (input.ByAccountId !== undefined && { accountId: input.ByAccountId }))
|
|
1333
|
+
})), (input.ByResourceType !== undefined && { resourceType: input.ByResourceType })), (input.ByDestinationVaultArn !== undefined && { destinationVaultArn: input.ByDestinationVaultArn })), (input.ByAccountId !== undefined && { accountId: input.ByAccountId })), (input.ByCompleteBefore !== undefined && {
|
|
1334
|
+
completeBefore: (input.ByCompleteBefore.toISOString().split(".")[0] + "Z").toString(),
|
|
1335
|
+
})), (input.ByCompleteAfter !== undefined && {
|
|
1336
|
+
completeAfter: (input.ByCompleteAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
1337
|
+
}));
|
|
1330
1338
|
return [2, new __HttpRequest({
|
|
1331
1339
|
protocol: protocol,
|
|
1332
1340
|
hostname: hostname,
|
|
@@ -1516,11 +1524,15 @@ export var serializeAws_restJson1ListRestoreJobsCommand = function (input, conte
|
|
|
1516
1524
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1517
1525
|
headers = {};
|
|
1518
1526
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/restore-jobs";
|
|
1519
|
-
query = __assign(__assign(__assign(__assign(__assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.ByAccountId !== undefined && { accountId: input.ByAccountId })), (input.ByCreatedBefore !== undefined && {
|
|
1527
|
+
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.ByAccountId !== undefined && { accountId: input.ByAccountId })), (input.ByCreatedBefore !== undefined && {
|
|
1520
1528
|
createdBefore: (input.ByCreatedBefore.toISOString().split(".")[0] + "Z").toString(),
|
|
1521
1529
|
})), (input.ByCreatedAfter !== undefined && {
|
|
1522
1530
|
createdAfter: (input.ByCreatedAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
1523
|
-
})), (input.ByStatus !== undefined && { status: input.ByStatus }))
|
|
1531
|
+
})), (input.ByStatus !== undefined && { status: input.ByStatus })), (input.ByCompleteBefore !== undefined && {
|
|
1532
|
+
completeBefore: (input.ByCompleteBefore.toISOString().split(".")[0] + "Z").toString(),
|
|
1533
|
+
})), (input.ByCompleteAfter !== undefined && {
|
|
1534
|
+
completeAfter: (input.ByCompleteAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
1535
|
+
}));
|
|
1524
1536
|
return [2, new __HttpRequest({
|
|
1525
1537
|
protocol: protocol,
|
|
1526
1538
|
hostname: hostname,
|
|
@@ -1373,7 +1373,9 @@ export interface FrameworkControl {
|
|
|
1373
1373
|
/**
|
|
1374
1374
|
* <p>The scope of a control. The control scope defines what the control will evaluate. Three
|
|
1375
1375
|
* examples of control scopes are: a specific backup plan, all backup plans with a specific
|
|
1376
|
-
* tag, or all backup plans. For more information, see <
|
|
1376
|
+
* tag, or all backup plans. For more information, see <a href="aws-backup/latest/devguide/API_ControlScope.html">
|
|
1377
|
+
* <code>ControlScope</code>.</a>
|
|
1378
|
+
* </p>
|
|
1377
1379
|
*/
|
|
1378
1380
|
ControlScope?: ControlScope;
|
|
1379
1381
|
}
|
|
@@ -3216,6 +3218,16 @@ export interface ListBackupJobsInput {
|
|
|
3216
3218
|
* all jobs across the organization.</p>
|
|
3217
3219
|
*/
|
|
3218
3220
|
ByAccountId?: string;
|
|
3221
|
+
/**
|
|
3222
|
+
* <p>Returns only backup jobs completed after a date expressed in Unix format and Coordinated
|
|
3223
|
+
* Universal Time (UTC).</p>
|
|
3224
|
+
*/
|
|
3225
|
+
ByCompleteAfter?: Date;
|
|
3226
|
+
/**
|
|
3227
|
+
* <p>Returns only backup jobs completed before a date expressed in Unix format and
|
|
3228
|
+
* Coordinated Universal Time (UTC).</p>
|
|
3229
|
+
*/
|
|
3230
|
+
ByCompleteBefore?: Date;
|
|
3219
3231
|
}
|
|
3220
3232
|
export declare namespace ListBackupJobsInput {
|
|
3221
3233
|
/**
|
|
@@ -3543,6 +3555,16 @@ export interface ListCopyJobsInput {
|
|
|
3543
3555
|
* specified account ID.</p>
|
|
3544
3556
|
*/
|
|
3545
3557
|
ByAccountId?: string;
|
|
3558
|
+
/**
|
|
3559
|
+
* <p>Returns only copy jobs completed before a date expressed in Unix format and Coordinated
|
|
3560
|
+
* Universal Time (UTC).</p>
|
|
3561
|
+
*/
|
|
3562
|
+
ByCompleteBefore?: Date;
|
|
3563
|
+
/**
|
|
3564
|
+
* <p>Returns only copy jobs completed after a date expressed in Unix format and Coordinated
|
|
3565
|
+
* Universal Time (UTC).</p>
|
|
3566
|
+
*/
|
|
3567
|
+
ByCompleteAfter?: Date;
|
|
3546
3568
|
}
|
|
3547
3569
|
export declare namespace ListCopyJobsInput {
|
|
3548
3570
|
/**
|
|
@@ -4133,6 +4155,16 @@ export interface ListRestoreJobsInput {
|
|
|
4133
4155
|
* <p>Returns only restore jobs associated with the specified job status.</p>
|
|
4134
4156
|
*/
|
|
4135
4157
|
ByStatus?: RestoreJobStatus | string;
|
|
4158
|
+
/**
|
|
4159
|
+
* <p>Returns only copy jobs completed before a date expressed in Unix format and Coordinated
|
|
4160
|
+
* Universal Time (UTC).</p>
|
|
4161
|
+
*/
|
|
4162
|
+
ByCompleteBefore?: Date;
|
|
4163
|
+
/**
|
|
4164
|
+
* <p>Returns only copy jobs completed after a date expressed in Unix format and Coordinated
|
|
4165
|
+
* Universal Time (UTC).</p>
|
|
4166
|
+
*/
|
|
4167
|
+
ByCompleteAfter?: Date;
|
|
4136
4168
|
}
|
|
4137
4169
|
export declare namespace ListRestoreJobsInput {
|
|
4138
4170
|
/**
|
|
@@ -1446,6 +1446,10 @@ export interface ListBackupJobsInput {
|
|
|
1446
1446
|
ByResourceType?: string;
|
|
1447
1447
|
|
|
1448
1448
|
ByAccountId?: string;
|
|
1449
|
+
|
|
1450
|
+
ByCompleteAfter?: Date;
|
|
1451
|
+
|
|
1452
|
+
ByCompleteBefore?: Date;
|
|
1449
1453
|
}
|
|
1450
1454
|
export declare namespace ListBackupJobsInput {
|
|
1451
1455
|
|
|
@@ -1586,6 +1590,10 @@ export interface ListCopyJobsInput {
|
|
|
1586
1590
|
ByDestinationVaultArn?: string;
|
|
1587
1591
|
|
|
1588
1592
|
ByAccountId?: string;
|
|
1593
|
+
|
|
1594
|
+
ByCompleteBefore?: Date;
|
|
1595
|
+
|
|
1596
|
+
ByCompleteAfter?: Date;
|
|
1589
1597
|
}
|
|
1590
1598
|
export declare namespace ListCopyJobsInput {
|
|
1591
1599
|
|
|
@@ -1852,6 +1860,10 @@ export interface ListRestoreJobsInput {
|
|
|
1852
1860
|
ByCreatedAfter?: Date;
|
|
1853
1861
|
|
|
1854
1862
|
ByStatus?: RestoreJobStatus | string;
|
|
1863
|
+
|
|
1864
|
+
ByCompleteBefore?: Date;
|
|
1865
|
+
|
|
1866
|
+
ByCompleteAfter?: Date;
|
|
1855
1867
|
}
|
|
1856
1868
|
export declare namespace ListRestoreJobsInput {
|
|
1857
1869
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-backup",
|
|
3
3
|
"description": "AWS SDK for JavaScript Backup Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.85.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.85.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.85.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.82.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
38
|
+
"@aws-sdk/smithy-client": "3.85.0",
|
|
39
39
|
"@aws-sdk/types": "3.78.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.78.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.85.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.85.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-node": "3.80.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|