@aws-sdk/client-storage-gateway 3.744.0 → 3.749.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/README.md +40 -0
- package/dist-cjs/index.js +233 -0
- package/dist-es/StorageGateway.js +10 -0
- package/dist-es/commands/CancelCacheReportCommand.js +22 -0
- package/dist-es/commands/DeleteCacheReportCommand.js +22 -0
- package/dist-es/commands/DescribeCacheReportCommand.js +22 -0
- package/dist-es/commands/ListCacheReportsCommand.js +22 -0
- package/dist-es/commands/StartCacheReportCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +11 -0
- package/dist-es/protocols/Aws_json1_1.js +131 -1
- package/dist-types/StorageGateway.d.ts +36 -0
- package/dist-types/StorageGatewayClient.d.ts +7 -2
- package/dist-types/commands/CancelCacheReportCommand.d.ts +83 -0
- package/dist-types/commands/DeleteCacheReportCommand.d.ts +85 -0
- package/dist-types/commands/DescribeCacheReportCommand.d.ts +112 -0
- package/dist-types/commands/ListCacheReportsCommand.d.ts +117 -0
- package/dist-types/commands/NotifyWhenUploadedCommand.d.ts +5 -4
- package/dist-types/commands/StartCacheReportCommand.d.ts +140 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +312 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/StorageGateway.d.ts +86 -0
- package/dist-types/ts3.4/StorageGatewayClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CancelCacheReportCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteCacheReportCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeCacheReportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCacheReportsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/StartCacheReportCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +72 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -338,6 +338,14 @@ CancelArchival
|
|
|
338
338
|
|
|
339
339
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/storage-gateway/command/CancelArchivalCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/CancelArchivalCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/CancelArchivalCommandOutput/)
|
|
340
340
|
|
|
341
|
+
</details>
|
|
342
|
+
<details>
|
|
343
|
+
<summary>
|
|
344
|
+
CancelCacheReport
|
|
345
|
+
</summary>
|
|
346
|
+
|
|
347
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/storage-gateway/command/CancelCacheReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/CancelCacheReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/CancelCacheReportCommandOutput/)
|
|
348
|
+
|
|
341
349
|
</details>
|
|
342
350
|
<details>
|
|
343
351
|
<summary>
|
|
@@ -434,6 +442,14 @@ DeleteBandwidthRateLimit
|
|
|
434
442
|
|
|
435
443
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/storage-gateway/command/DeleteBandwidthRateLimitCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/DeleteBandwidthRateLimitCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/DeleteBandwidthRateLimitCommandOutput/)
|
|
436
444
|
|
|
445
|
+
</details>
|
|
446
|
+
<details>
|
|
447
|
+
<summary>
|
|
448
|
+
DeleteCacheReport
|
|
449
|
+
</summary>
|
|
450
|
+
|
|
451
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/storage-gateway/command/DeleteCacheReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/DeleteCacheReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/DeleteCacheReportCommandOutput/)
|
|
452
|
+
|
|
437
453
|
</details>
|
|
438
454
|
<details>
|
|
439
455
|
<summary>
|
|
@@ -538,6 +554,14 @@ DescribeCachediSCSIVolumes
|
|
|
538
554
|
|
|
539
555
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/storage-gateway/command/DescribeCachediSCSIVolumesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/DescribeCachediSCSIVolumesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/DescribeCachediSCSIVolumesCommandOutput/)
|
|
540
556
|
|
|
557
|
+
</details>
|
|
558
|
+
<details>
|
|
559
|
+
<summary>
|
|
560
|
+
DescribeCacheReport
|
|
561
|
+
</summary>
|
|
562
|
+
|
|
563
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/storage-gateway/command/DescribeCacheReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/DescribeCacheReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/DescribeCacheReportCommandOutput/)
|
|
564
|
+
|
|
541
565
|
</details>
|
|
542
566
|
<details>
|
|
543
567
|
<summary>
|
|
@@ -698,6 +722,14 @@ ListAutomaticTapeCreationPolicies
|
|
|
698
722
|
|
|
699
723
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/storage-gateway/command/ListAutomaticTapeCreationPoliciesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/ListAutomaticTapeCreationPoliciesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/ListAutomaticTapeCreationPoliciesCommandOutput/)
|
|
700
724
|
|
|
725
|
+
</details>
|
|
726
|
+
<details>
|
|
727
|
+
<summary>
|
|
728
|
+
ListCacheReports
|
|
729
|
+
</summary>
|
|
730
|
+
|
|
731
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/storage-gateway/command/ListCacheReportsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/ListCacheReportsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/ListCacheReportsCommandOutput/)
|
|
732
|
+
|
|
701
733
|
</details>
|
|
702
734
|
<details>
|
|
703
735
|
<summary>
|
|
@@ -858,6 +890,14 @@ StartAvailabilityMonitorTest
|
|
|
858
890
|
|
|
859
891
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/storage-gateway/command/StartAvailabilityMonitorTestCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/StartAvailabilityMonitorTestCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/StartAvailabilityMonitorTestCommandOutput/)
|
|
860
892
|
|
|
893
|
+
</details>
|
|
894
|
+
<details>
|
|
895
|
+
<summary>
|
|
896
|
+
StartCacheReport
|
|
897
|
+
</summary>
|
|
898
|
+
|
|
899
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/storage-gateway/command/StartCacheReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/StartCacheReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-storage-gateway/Interface/StartCacheReportCommandOutput/)
|
|
900
|
+
|
|
861
901
|
</details>
|
|
862
902
|
<details>
|
|
863
903
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -33,7 +33,10 @@ __export(src_exports, {
|
|
|
33
33
|
AttachVolumeCommand: () => AttachVolumeCommand,
|
|
34
34
|
AutomaticUpdatePolicy: () => AutomaticUpdatePolicy,
|
|
35
35
|
AvailabilityMonitorTestStatus: () => AvailabilityMonitorTestStatus,
|
|
36
|
+
CacheReportFilterName: () => CacheReportFilterName,
|
|
37
|
+
CacheReportStatus: () => CacheReportStatus,
|
|
36
38
|
CancelArchivalCommand: () => CancelArchivalCommand,
|
|
39
|
+
CancelCacheReportCommand: () => CancelCacheReportCommand,
|
|
37
40
|
CancelRetrievalCommand: () => CancelRetrievalCommand,
|
|
38
41
|
CaseSensitivity: () => CaseSensitivity,
|
|
39
42
|
ChapInfoFilterSensitiveLog: () => ChapInfoFilterSensitiveLog,
|
|
@@ -48,6 +51,7 @@ __export(src_exports, {
|
|
|
48
51
|
CreateTapesCommand: () => CreateTapesCommand,
|
|
49
52
|
DeleteAutomaticTapeCreationPolicyCommand: () => DeleteAutomaticTapeCreationPolicyCommand,
|
|
50
53
|
DeleteBandwidthRateLimitCommand: () => DeleteBandwidthRateLimitCommand,
|
|
54
|
+
DeleteCacheReportCommand: () => DeleteCacheReportCommand,
|
|
51
55
|
DeleteChapCredentialsCommand: () => DeleteChapCredentialsCommand,
|
|
52
56
|
DeleteFileShareCommand: () => DeleteFileShareCommand,
|
|
53
57
|
DeleteGatewayCommand: () => DeleteGatewayCommand,
|
|
@@ -60,6 +64,7 @@ __export(src_exports, {
|
|
|
60
64
|
DescribeBandwidthRateLimitCommand: () => DescribeBandwidthRateLimitCommand,
|
|
61
65
|
DescribeBandwidthRateLimitScheduleCommand: () => DescribeBandwidthRateLimitScheduleCommand,
|
|
62
66
|
DescribeCacheCommand: () => DescribeCacheCommand,
|
|
67
|
+
DescribeCacheReportCommand: () => DescribeCacheReportCommand,
|
|
63
68
|
DescribeCachediSCSIVolumesCommand: () => DescribeCachediSCSIVolumesCommand,
|
|
64
69
|
DescribeChapCredentialsCommand: () => DescribeChapCredentialsCommand,
|
|
65
70
|
DescribeChapCredentialsOutputFilterSensitiveLog: () => DescribeChapCredentialsOutputFilterSensitiveLog,
|
|
@@ -91,6 +96,7 @@ __export(src_exports, {
|
|
|
91
96
|
JoinDomainCommand: () => JoinDomainCommand,
|
|
92
97
|
JoinDomainInputFilterSensitiveLog: () => JoinDomainInputFilterSensitiveLog,
|
|
93
98
|
ListAutomaticTapeCreationPoliciesCommand: () => ListAutomaticTapeCreationPoliciesCommand,
|
|
99
|
+
ListCacheReportsCommand: () => ListCacheReportsCommand,
|
|
94
100
|
ListFileSharesCommand: () => ListFileSharesCommand,
|
|
95
101
|
ListFileSystemAssociationsCommand: () => ListFileSystemAssociationsCommand,
|
|
96
102
|
ListGatewaysCommand: () => ListGatewaysCommand,
|
|
@@ -119,6 +125,7 @@ __export(src_exports, {
|
|
|
119
125
|
SetSMBGuestPasswordInputFilterSensitiveLog: () => SetSMBGuestPasswordInputFilterSensitiveLog,
|
|
120
126
|
ShutdownGatewayCommand: () => ShutdownGatewayCommand,
|
|
121
127
|
StartAvailabilityMonitorTestCommand: () => StartAvailabilityMonitorTestCommand,
|
|
128
|
+
StartCacheReportCommand: () => StartCacheReportCommand,
|
|
122
129
|
StartGatewayCommand: () => StartGatewayCommand,
|
|
123
130
|
StorageGateway: () => StorageGateway,
|
|
124
131
|
StorageGatewayClient: () => StorageGatewayClient,
|
|
@@ -462,6 +469,17 @@ var AvailabilityMonitorTestStatus = {
|
|
|
462
469
|
FAILED: "FAILED",
|
|
463
470
|
PENDING: "PENDING"
|
|
464
471
|
};
|
|
472
|
+
var CacheReportFilterName = {
|
|
473
|
+
UploadFailureReason: "UploadFailureReason",
|
|
474
|
+
UploadState: "UploadState"
|
|
475
|
+
};
|
|
476
|
+
var CacheReportStatus = {
|
|
477
|
+
CANCELED: "CANCELED",
|
|
478
|
+
COMPLETED: "COMPLETED",
|
|
479
|
+
ERROR: "ERROR",
|
|
480
|
+
FAILED: "FAILED",
|
|
481
|
+
IN_PROGRESS: "IN_PROGRESS"
|
|
482
|
+
};
|
|
465
483
|
var CaseSensitivity = {
|
|
466
484
|
CaseSensitive: "CaseSensitive",
|
|
467
485
|
ClientSpecified: "ClientSpecified"
|
|
@@ -638,6 +656,12 @@ var se_CancelArchivalCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
638
656
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
639
657
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
640
658
|
}, "se_CancelArchivalCommand");
|
|
659
|
+
var se_CancelCacheReportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
660
|
+
const headers = sharedHeaders("CancelCacheReport");
|
|
661
|
+
let body;
|
|
662
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
663
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
664
|
+
}, "se_CancelCacheReportCommand");
|
|
641
665
|
var se_CancelRetrievalCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
642
666
|
const headers = sharedHeaders("CancelRetrieval");
|
|
643
667
|
let body;
|
|
@@ -710,6 +734,12 @@ var se_DeleteBandwidthRateLimitCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
710
734
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
711
735
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
712
736
|
}, "se_DeleteBandwidthRateLimitCommand");
|
|
737
|
+
var se_DeleteCacheReportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
738
|
+
const headers = sharedHeaders("DeleteCacheReport");
|
|
739
|
+
let body;
|
|
740
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
741
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
742
|
+
}, "se_DeleteCacheReportCommand");
|
|
713
743
|
var se_DeleteChapCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
714
744
|
const headers = sharedHeaders("DeleteChapCredentials");
|
|
715
745
|
let body;
|
|
@@ -788,6 +818,12 @@ var se_DescribeCachediSCSIVolumesCommand = /* @__PURE__ */ __name(async (input,
|
|
|
788
818
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
789
819
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
790
820
|
}, "se_DescribeCachediSCSIVolumesCommand");
|
|
821
|
+
var se_DescribeCacheReportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
822
|
+
const headers = sharedHeaders("DescribeCacheReport");
|
|
823
|
+
let body;
|
|
824
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
825
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
826
|
+
}, "se_DescribeCacheReportCommand");
|
|
791
827
|
var se_DescribeChapCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
792
828
|
const headers = sharedHeaders("DescribeChapCredentials");
|
|
793
829
|
let body;
|
|
@@ -908,6 +944,12 @@ var se_ListAutomaticTapeCreationPoliciesCommand = /* @__PURE__ */ __name(async (
|
|
|
908
944
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
909
945
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
910
946
|
}, "se_ListAutomaticTapeCreationPoliciesCommand");
|
|
947
|
+
var se_ListCacheReportsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
948
|
+
const headers = sharedHeaders("ListCacheReports");
|
|
949
|
+
let body;
|
|
950
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
951
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
952
|
+
}, "se_ListCacheReportsCommand");
|
|
911
953
|
var se_ListFileSharesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
912
954
|
const headers = sharedHeaders("ListFileShares");
|
|
913
955
|
let body;
|
|
@@ -1028,6 +1070,12 @@ var se_StartAvailabilityMonitorTestCommand = /* @__PURE__ */ __name(async (input
|
|
|
1028
1070
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1029
1071
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1030
1072
|
}, "se_StartAvailabilityMonitorTestCommand");
|
|
1073
|
+
var se_StartCacheReportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1074
|
+
const headers = sharedHeaders("StartCacheReport");
|
|
1075
|
+
let body;
|
|
1076
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1077
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1078
|
+
}, "se_StartCacheReportCommand");
|
|
1031
1079
|
var se_StartGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1032
1080
|
const headers = sharedHeaders("StartGateway");
|
|
1033
1081
|
let body;
|
|
@@ -1241,6 +1289,19 @@ var de_CancelArchivalCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1241
1289
|
};
|
|
1242
1290
|
return response;
|
|
1243
1291
|
}, "de_CancelArchivalCommand");
|
|
1292
|
+
var de_CancelCacheReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1293
|
+
if (output.statusCode >= 300) {
|
|
1294
|
+
return de_CommandError(output, context);
|
|
1295
|
+
}
|
|
1296
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1297
|
+
let contents = {};
|
|
1298
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1299
|
+
const response = {
|
|
1300
|
+
$metadata: deserializeMetadata(output),
|
|
1301
|
+
...contents
|
|
1302
|
+
};
|
|
1303
|
+
return response;
|
|
1304
|
+
}, "de_CancelCacheReportCommand");
|
|
1244
1305
|
var de_CancelRetrievalCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1245
1306
|
if (output.statusCode >= 300) {
|
|
1246
1307
|
return de_CommandError(output, context);
|
|
@@ -1397,6 +1458,19 @@ var de_DeleteBandwidthRateLimitCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1397
1458
|
};
|
|
1398
1459
|
return response;
|
|
1399
1460
|
}, "de_DeleteBandwidthRateLimitCommand");
|
|
1461
|
+
var de_DeleteCacheReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1462
|
+
if (output.statusCode >= 300) {
|
|
1463
|
+
return de_CommandError(output, context);
|
|
1464
|
+
}
|
|
1465
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1466
|
+
let contents = {};
|
|
1467
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1468
|
+
const response = {
|
|
1469
|
+
$metadata: deserializeMetadata(output),
|
|
1470
|
+
...contents
|
|
1471
|
+
};
|
|
1472
|
+
return response;
|
|
1473
|
+
}, "de_DeleteCacheReportCommand");
|
|
1400
1474
|
var de_DeleteChapCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1401
1475
|
if (output.statusCode >= 300) {
|
|
1402
1476
|
return de_CommandError(output, context);
|
|
@@ -1566,6 +1640,19 @@ var de_DescribeCachediSCSIVolumesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1566
1640
|
};
|
|
1567
1641
|
return response;
|
|
1568
1642
|
}, "de_DescribeCachediSCSIVolumesCommand");
|
|
1643
|
+
var de_DescribeCacheReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1644
|
+
if (output.statusCode >= 300) {
|
|
1645
|
+
return de_CommandError(output, context);
|
|
1646
|
+
}
|
|
1647
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1648
|
+
let contents = {};
|
|
1649
|
+
contents = de_DescribeCacheReportOutput(data, context);
|
|
1650
|
+
const response = {
|
|
1651
|
+
$metadata: deserializeMetadata(output),
|
|
1652
|
+
...contents
|
|
1653
|
+
};
|
|
1654
|
+
return response;
|
|
1655
|
+
}, "de_DescribeCacheReportCommand");
|
|
1569
1656
|
var de_DescribeChapCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1570
1657
|
if (output.statusCode >= 300) {
|
|
1571
1658
|
return de_CommandError(output, context);
|
|
@@ -1826,6 +1913,19 @@ var de_ListAutomaticTapeCreationPoliciesCommand = /* @__PURE__ */ __name(async (
|
|
|
1826
1913
|
};
|
|
1827
1914
|
return response;
|
|
1828
1915
|
}, "de_ListAutomaticTapeCreationPoliciesCommand");
|
|
1916
|
+
var de_ListCacheReportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1917
|
+
if (output.statusCode >= 300) {
|
|
1918
|
+
return de_CommandError(output, context);
|
|
1919
|
+
}
|
|
1920
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1921
|
+
let contents = {};
|
|
1922
|
+
contents = de_ListCacheReportsOutput(data, context);
|
|
1923
|
+
const response = {
|
|
1924
|
+
$metadata: deserializeMetadata(output),
|
|
1925
|
+
...contents
|
|
1926
|
+
};
|
|
1927
|
+
return response;
|
|
1928
|
+
}, "de_ListCacheReportsCommand");
|
|
1829
1929
|
var de_ListFileSharesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1830
1930
|
if (output.statusCode >= 300) {
|
|
1831
1931
|
return de_CommandError(output, context);
|
|
@@ -2086,6 +2186,19 @@ var de_StartAvailabilityMonitorTestCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2086
2186
|
};
|
|
2087
2187
|
return response;
|
|
2088
2188
|
}, "de_StartAvailabilityMonitorTestCommand");
|
|
2189
|
+
var de_StartCacheReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2190
|
+
if (output.statusCode >= 300) {
|
|
2191
|
+
return de_CommandError(output, context);
|
|
2192
|
+
}
|
|
2193
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2194
|
+
let contents = {};
|
|
2195
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2196
|
+
const response = {
|
|
2197
|
+
$metadata: deserializeMetadata(output),
|
|
2198
|
+
...contents
|
|
2199
|
+
};
|
|
2200
|
+
return response;
|
|
2201
|
+
}, "de_StartCacheReportCommand");
|
|
2089
2202
|
var de_StartGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2090
2203
|
if (output.statusCode >= 300) {
|
|
2091
2204
|
return de_CommandError(output, context);
|
|
@@ -2369,6 +2482,28 @@ var de_CachediSCSIVolumes = /* @__PURE__ */ __name((output, context) => {
|
|
|
2369
2482
|
});
|
|
2370
2483
|
return retVal;
|
|
2371
2484
|
}, "de_CachediSCSIVolumes");
|
|
2485
|
+
var de_CacheReportInfo = /* @__PURE__ */ __name((output, context) => {
|
|
2486
|
+
return (0, import_smithy_client.take)(output, {
|
|
2487
|
+
CacheReportARN: import_smithy_client.expectString,
|
|
2488
|
+
CacheReportStatus: import_smithy_client.expectString,
|
|
2489
|
+
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2490
|
+
ExclusionFilters: import_smithy_client._json,
|
|
2491
|
+
FileShareARN: import_smithy_client.expectString,
|
|
2492
|
+
InclusionFilters: import_smithy_client._json,
|
|
2493
|
+
LocationARN: import_smithy_client.expectString,
|
|
2494
|
+
ReportCompletionPercent: import_smithy_client.expectInt32,
|
|
2495
|
+
ReportName: import_smithy_client.expectString,
|
|
2496
|
+
Role: import_smithy_client.expectString,
|
|
2497
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2498
|
+
Tags: import_smithy_client._json
|
|
2499
|
+
});
|
|
2500
|
+
}, "de_CacheReportInfo");
|
|
2501
|
+
var de_CacheReportList = /* @__PURE__ */ __name((output, context) => {
|
|
2502
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2503
|
+
return de_CacheReportInfo(entry, context);
|
|
2504
|
+
});
|
|
2505
|
+
return retVal;
|
|
2506
|
+
}, "de_CacheReportList");
|
|
2372
2507
|
var de_DescribeAvailabilityMonitorTestOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2373
2508
|
return (0, import_smithy_client.take)(output, {
|
|
2374
2509
|
GatewayARN: import_smithy_client.expectString,
|
|
@@ -2392,6 +2527,11 @@ var de_DescribeCacheOutput = /* @__PURE__ */ __name((output, context) => {
|
|
|
2392
2527
|
GatewayARN: import_smithy_client.expectString
|
|
2393
2528
|
});
|
|
2394
2529
|
}, "de_DescribeCacheOutput");
|
|
2530
|
+
var de_DescribeCacheReportOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2531
|
+
return (0, import_smithy_client.take)(output, {
|
|
2532
|
+
CacheReportInfo: (_) => de_CacheReportInfo(_, context)
|
|
2533
|
+
});
|
|
2534
|
+
}, "de_DescribeCacheReportOutput");
|
|
2395
2535
|
var de_DescribeStorediSCSIVolumesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2396
2536
|
return (0, import_smithy_client.take)(output, {
|
|
2397
2537
|
StorediSCSIVolumes: (_) => de_StorediSCSIVolumes(_, context)
|
|
@@ -2416,6 +2556,12 @@ var de_DescribeTapesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
|
2416
2556
|
Tapes: (_) => de_Tapes(_, context)
|
|
2417
2557
|
});
|
|
2418
2558
|
}, "de_DescribeTapesOutput");
|
|
2559
|
+
var de_ListCacheReportsOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2560
|
+
return (0, import_smithy_client.take)(output, {
|
|
2561
|
+
CacheReportList: (_) => de_CacheReportList(_, context),
|
|
2562
|
+
Marker: import_smithy_client.expectString
|
|
2563
|
+
});
|
|
2564
|
+
}, "de_ListCacheReportsOutput");
|
|
2419
2565
|
var de_ListTapesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2420
2566
|
return (0, import_smithy_client.take)(output, {
|
|
2421
2567
|
Marker: import_smithy_client.expectString,
|
|
@@ -2690,6 +2836,21 @@ var CancelArchivalCommand = class extends import_smithy_client.Command.classBuil
|
|
|
2690
2836
|
}
|
|
2691
2837
|
};
|
|
2692
2838
|
|
|
2839
|
+
// src/commands/CancelCacheReportCommand.ts
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
|
|
2843
|
+
var CancelCacheReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2844
|
+
return [
|
|
2845
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2846
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2847
|
+
];
|
|
2848
|
+
}).s("StorageGateway_20130630", "CancelCacheReport", {}).n("StorageGatewayClient", "CancelCacheReportCommand").f(void 0, void 0).ser(se_CancelCacheReportCommand).de(de_CancelCacheReportCommand).build() {
|
|
2849
|
+
static {
|
|
2850
|
+
__name(this, "CancelCacheReportCommand");
|
|
2851
|
+
}
|
|
2852
|
+
};
|
|
2853
|
+
|
|
2693
2854
|
// src/commands/CancelRetrievalCommand.ts
|
|
2694
2855
|
|
|
2695
2856
|
|
|
@@ -2870,6 +3031,21 @@ var DeleteBandwidthRateLimitCommand = class extends import_smithy_client.Command
|
|
|
2870
3031
|
}
|
|
2871
3032
|
};
|
|
2872
3033
|
|
|
3034
|
+
// src/commands/DeleteCacheReportCommand.ts
|
|
3035
|
+
|
|
3036
|
+
|
|
3037
|
+
|
|
3038
|
+
var DeleteCacheReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3039
|
+
return [
|
|
3040
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3041
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3042
|
+
];
|
|
3043
|
+
}).s("StorageGateway_20130630", "DeleteCacheReport", {}).n("StorageGatewayClient", "DeleteCacheReportCommand").f(void 0, void 0).ser(se_DeleteCacheReportCommand).de(de_DeleteCacheReportCommand).build() {
|
|
3044
|
+
static {
|
|
3045
|
+
__name(this, "DeleteCacheReportCommand");
|
|
3046
|
+
}
|
|
3047
|
+
};
|
|
3048
|
+
|
|
2873
3049
|
// src/commands/DeleteChapCredentialsCommand.ts
|
|
2874
3050
|
|
|
2875
3051
|
|
|
@@ -3065,6 +3241,21 @@ var DescribeCachediSCSIVolumesCommand = class extends import_smithy_client.Comma
|
|
|
3065
3241
|
}
|
|
3066
3242
|
};
|
|
3067
3243
|
|
|
3244
|
+
// src/commands/DescribeCacheReportCommand.ts
|
|
3245
|
+
|
|
3246
|
+
|
|
3247
|
+
|
|
3248
|
+
var DescribeCacheReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3249
|
+
return [
|
|
3250
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3251
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3252
|
+
];
|
|
3253
|
+
}).s("StorageGateway_20130630", "DescribeCacheReport", {}).n("StorageGatewayClient", "DescribeCacheReportCommand").f(void 0, void 0).ser(se_DescribeCacheReportCommand).de(de_DescribeCacheReportCommand).build() {
|
|
3254
|
+
static {
|
|
3255
|
+
__name(this, "DescribeCacheReportCommand");
|
|
3256
|
+
}
|
|
3257
|
+
};
|
|
3258
|
+
|
|
3068
3259
|
// src/commands/DescribeChapCredentialsCommand.ts
|
|
3069
3260
|
|
|
3070
3261
|
|
|
@@ -3365,6 +3556,21 @@ var ListAutomaticTapeCreationPoliciesCommand = class extends import_smithy_clien
|
|
|
3365
3556
|
}
|
|
3366
3557
|
};
|
|
3367
3558
|
|
|
3559
|
+
// src/commands/ListCacheReportsCommand.ts
|
|
3560
|
+
|
|
3561
|
+
|
|
3562
|
+
|
|
3563
|
+
var ListCacheReportsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3564
|
+
return [
|
|
3565
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3566
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3567
|
+
];
|
|
3568
|
+
}).s("StorageGateway_20130630", "ListCacheReports", {}).n("StorageGatewayClient", "ListCacheReportsCommand").f(void 0, void 0).ser(se_ListCacheReportsCommand).de(de_ListCacheReportsCommand).build() {
|
|
3569
|
+
static {
|
|
3570
|
+
__name(this, "ListCacheReportsCommand");
|
|
3571
|
+
}
|
|
3572
|
+
};
|
|
3573
|
+
|
|
3368
3574
|
// src/commands/ListFileSharesCommand.ts
|
|
3369
3575
|
|
|
3370
3576
|
|
|
@@ -3665,6 +3871,21 @@ var StartAvailabilityMonitorTestCommand = class extends import_smithy_client.Com
|
|
|
3665
3871
|
}
|
|
3666
3872
|
};
|
|
3667
3873
|
|
|
3874
|
+
// src/commands/StartCacheReportCommand.ts
|
|
3875
|
+
|
|
3876
|
+
|
|
3877
|
+
|
|
3878
|
+
var StartCacheReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3879
|
+
return [
|
|
3880
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3881
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3882
|
+
];
|
|
3883
|
+
}).s("StorageGateway_20130630", "StartCacheReport", {}).n("StorageGatewayClient", "StartCacheReportCommand").f(void 0, void 0).ser(se_StartCacheReportCommand).de(de_StartCacheReportCommand).build() {
|
|
3884
|
+
static {
|
|
3885
|
+
__name(this, "StartCacheReportCommand");
|
|
3886
|
+
}
|
|
3887
|
+
};
|
|
3888
|
+
|
|
3668
3889
|
// src/commands/StartGatewayCommand.ts
|
|
3669
3890
|
|
|
3670
3891
|
|
|
@@ -3916,6 +4137,7 @@ var commands = {
|
|
|
3916
4137
|
AssociateFileSystemCommand,
|
|
3917
4138
|
AttachVolumeCommand,
|
|
3918
4139
|
CancelArchivalCommand,
|
|
4140
|
+
CancelCacheReportCommand,
|
|
3919
4141
|
CancelRetrievalCommand,
|
|
3920
4142
|
CreateCachediSCSIVolumeCommand,
|
|
3921
4143
|
CreateNFSFileShareCommand,
|
|
@@ -3928,6 +4150,7 @@ var commands = {
|
|
|
3928
4150
|
CreateTapeWithBarcodeCommand,
|
|
3929
4151
|
DeleteAutomaticTapeCreationPolicyCommand,
|
|
3930
4152
|
DeleteBandwidthRateLimitCommand,
|
|
4153
|
+
DeleteCacheReportCommand,
|
|
3931
4154
|
DeleteChapCredentialsCommand,
|
|
3932
4155
|
DeleteFileShareCommand,
|
|
3933
4156
|
DeleteGatewayCommand,
|
|
@@ -3941,6 +4164,7 @@ var commands = {
|
|
|
3941
4164
|
DescribeBandwidthRateLimitScheduleCommand,
|
|
3942
4165
|
DescribeCacheCommand,
|
|
3943
4166
|
DescribeCachediSCSIVolumesCommand,
|
|
4167
|
+
DescribeCacheReportCommand,
|
|
3944
4168
|
DescribeChapCredentialsCommand,
|
|
3945
4169
|
DescribeFileSystemAssociationsCommand,
|
|
3946
4170
|
DescribeGatewayInformationCommand,
|
|
@@ -3961,6 +4185,7 @@ var commands = {
|
|
|
3961
4185
|
DisassociateFileSystemCommand,
|
|
3962
4186
|
JoinDomainCommand,
|
|
3963
4187
|
ListAutomaticTapeCreationPoliciesCommand,
|
|
4188
|
+
ListCacheReportsCommand,
|
|
3964
4189
|
ListFileSharesCommand,
|
|
3965
4190
|
ListFileSystemAssociationsCommand,
|
|
3966
4191
|
ListGatewaysCommand,
|
|
@@ -3981,6 +4206,7 @@ var commands = {
|
|
|
3981
4206
|
SetSMBGuestPasswordCommand,
|
|
3982
4207
|
ShutdownGatewayCommand,
|
|
3983
4208
|
StartAvailabilityMonitorTestCommand,
|
|
4209
|
+
StartCacheReportCommand,
|
|
3984
4210
|
StartGatewayCommand,
|
|
3985
4211
|
UpdateAutomaticTapeCreationPolicyCommand,
|
|
3986
4212
|
UpdateBandwidthRateLimitCommand,
|
|
@@ -4065,6 +4291,7 @@ var paginateListVolumes = (0, import_core.createPaginator)(StorageGatewayClient,
|
|
|
4065
4291
|
AssociateFileSystemCommand,
|
|
4066
4292
|
AttachVolumeCommand,
|
|
4067
4293
|
CancelArchivalCommand,
|
|
4294
|
+
CancelCacheReportCommand,
|
|
4068
4295
|
CancelRetrievalCommand,
|
|
4069
4296
|
CreateCachediSCSIVolumeCommand,
|
|
4070
4297
|
CreateNFSFileShareCommand,
|
|
@@ -4077,6 +4304,7 @@ var paginateListVolumes = (0, import_core.createPaginator)(StorageGatewayClient,
|
|
|
4077
4304
|
CreateTapesCommand,
|
|
4078
4305
|
DeleteAutomaticTapeCreationPolicyCommand,
|
|
4079
4306
|
DeleteBandwidthRateLimitCommand,
|
|
4307
|
+
DeleteCacheReportCommand,
|
|
4080
4308
|
DeleteChapCredentialsCommand,
|
|
4081
4309
|
DeleteFileShareCommand,
|
|
4082
4310
|
DeleteGatewayCommand,
|
|
@@ -4089,6 +4317,7 @@ var paginateListVolumes = (0, import_core.createPaginator)(StorageGatewayClient,
|
|
|
4089
4317
|
DescribeBandwidthRateLimitCommand,
|
|
4090
4318
|
DescribeBandwidthRateLimitScheduleCommand,
|
|
4091
4319
|
DescribeCacheCommand,
|
|
4320
|
+
DescribeCacheReportCommand,
|
|
4092
4321
|
DescribeCachediSCSIVolumesCommand,
|
|
4093
4322
|
DescribeChapCredentialsCommand,
|
|
4094
4323
|
DescribeFileSystemAssociationsCommand,
|
|
@@ -4110,6 +4339,7 @@ var paginateListVolumes = (0, import_core.createPaginator)(StorageGatewayClient,
|
|
|
4110
4339
|
DisassociateFileSystemCommand,
|
|
4111
4340
|
JoinDomainCommand,
|
|
4112
4341
|
ListAutomaticTapeCreationPoliciesCommand,
|
|
4342
|
+
ListCacheReportsCommand,
|
|
4113
4343
|
ListFileSharesCommand,
|
|
4114
4344
|
ListFileSystemAssociationsCommand,
|
|
4115
4345
|
ListGatewaysCommand,
|
|
@@ -4130,6 +4360,7 @@ var paginateListVolumes = (0, import_core.createPaginator)(StorageGatewayClient,
|
|
|
4130
4360
|
SetSMBGuestPasswordCommand,
|
|
4131
4361
|
ShutdownGatewayCommand,
|
|
4132
4362
|
StartAvailabilityMonitorTestCommand,
|
|
4363
|
+
StartCacheReportCommand,
|
|
4133
4364
|
StartGatewayCommand,
|
|
4134
4365
|
UpdateAutomaticTapeCreationPolicyCommand,
|
|
4135
4366
|
UpdateBandwidthRateLimitCommand,
|
|
@@ -4163,6 +4394,8 @@ var paginateListVolumes = (0, import_core.createPaginator)(StorageGatewayClient,
|
|
|
4163
4394
|
ActiveDirectoryStatus,
|
|
4164
4395
|
AutomaticUpdatePolicy,
|
|
4165
4396
|
AvailabilityMonitorTestStatus,
|
|
4397
|
+
CacheReportFilterName,
|
|
4398
|
+
CacheReportStatus,
|
|
4166
4399
|
CaseSensitivity,
|
|
4167
4400
|
EncryptionType,
|
|
4168
4401
|
ObjectACL,
|
|
@@ -8,6 +8,7 @@ import { AssignTapePoolCommand, } from "./commands/AssignTapePoolCommand";
|
|
|
8
8
|
import { AssociateFileSystemCommand, } from "./commands/AssociateFileSystemCommand";
|
|
9
9
|
import { AttachVolumeCommand, } from "./commands/AttachVolumeCommand";
|
|
10
10
|
import { CancelArchivalCommand, } from "./commands/CancelArchivalCommand";
|
|
11
|
+
import { CancelCacheReportCommand, } from "./commands/CancelCacheReportCommand";
|
|
11
12
|
import { CancelRetrievalCommand, } from "./commands/CancelRetrievalCommand";
|
|
12
13
|
import { CreateCachediSCSIVolumeCommand, } from "./commands/CreateCachediSCSIVolumeCommand";
|
|
13
14
|
import { CreateNFSFileShareCommand, } from "./commands/CreateNFSFileShareCommand";
|
|
@@ -20,6 +21,7 @@ import { CreateTapesCommand } from "./commands/CreateTapesCommand";
|
|
|
20
21
|
import { CreateTapeWithBarcodeCommand, } from "./commands/CreateTapeWithBarcodeCommand";
|
|
21
22
|
import { DeleteAutomaticTapeCreationPolicyCommand, } from "./commands/DeleteAutomaticTapeCreationPolicyCommand";
|
|
22
23
|
import { DeleteBandwidthRateLimitCommand, } from "./commands/DeleteBandwidthRateLimitCommand";
|
|
24
|
+
import { DeleteCacheReportCommand, } from "./commands/DeleteCacheReportCommand";
|
|
23
25
|
import { DeleteChapCredentialsCommand, } from "./commands/DeleteChapCredentialsCommand";
|
|
24
26
|
import { DeleteFileShareCommand, } from "./commands/DeleteFileShareCommand";
|
|
25
27
|
import { DeleteGatewayCommand, } from "./commands/DeleteGatewayCommand";
|
|
@@ -33,6 +35,7 @@ import { DescribeBandwidthRateLimitCommand, } from "./commands/DescribeBandwidth
|
|
|
33
35
|
import { DescribeBandwidthRateLimitScheduleCommand, } from "./commands/DescribeBandwidthRateLimitScheduleCommand";
|
|
34
36
|
import { DescribeCacheCommand, } from "./commands/DescribeCacheCommand";
|
|
35
37
|
import { DescribeCachediSCSIVolumesCommand, } from "./commands/DescribeCachediSCSIVolumesCommand";
|
|
38
|
+
import { DescribeCacheReportCommand, } from "./commands/DescribeCacheReportCommand";
|
|
36
39
|
import { DescribeChapCredentialsCommand, } from "./commands/DescribeChapCredentialsCommand";
|
|
37
40
|
import { DescribeFileSystemAssociationsCommand, } from "./commands/DescribeFileSystemAssociationsCommand";
|
|
38
41
|
import { DescribeGatewayInformationCommand, } from "./commands/DescribeGatewayInformationCommand";
|
|
@@ -53,6 +56,7 @@ import { DisableGatewayCommand, } from "./commands/DisableGatewayCommand";
|
|
|
53
56
|
import { DisassociateFileSystemCommand, } from "./commands/DisassociateFileSystemCommand";
|
|
54
57
|
import { JoinDomainCommand } from "./commands/JoinDomainCommand";
|
|
55
58
|
import { ListAutomaticTapeCreationPoliciesCommand, } from "./commands/ListAutomaticTapeCreationPoliciesCommand";
|
|
59
|
+
import { ListCacheReportsCommand, } from "./commands/ListCacheReportsCommand";
|
|
56
60
|
import { ListFileSharesCommand, } from "./commands/ListFileSharesCommand";
|
|
57
61
|
import { ListFileSystemAssociationsCommand, } from "./commands/ListFileSystemAssociationsCommand";
|
|
58
62
|
import { ListGatewaysCommand, } from "./commands/ListGatewaysCommand";
|
|
@@ -73,6 +77,7 @@ import { SetLocalConsolePasswordCommand, } from "./commands/SetLocalConsolePassw
|
|
|
73
77
|
import { SetSMBGuestPasswordCommand, } from "./commands/SetSMBGuestPasswordCommand";
|
|
74
78
|
import { ShutdownGatewayCommand, } from "./commands/ShutdownGatewayCommand";
|
|
75
79
|
import { StartAvailabilityMonitorTestCommand, } from "./commands/StartAvailabilityMonitorTestCommand";
|
|
80
|
+
import { StartCacheReportCommand, } from "./commands/StartCacheReportCommand";
|
|
76
81
|
import { StartGatewayCommand, } from "./commands/StartGatewayCommand";
|
|
77
82
|
import { UpdateAutomaticTapeCreationPolicyCommand, } from "./commands/UpdateAutomaticTapeCreationPolicyCommand";
|
|
78
83
|
import { UpdateBandwidthRateLimitCommand, } from "./commands/UpdateBandwidthRateLimitCommand";
|
|
@@ -100,6 +105,7 @@ const commands = {
|
|
|
100
105
|
AssociateFileSystemCommand,
|
|
101
106
|
AttachVolumeCommand,
|
|
102
107
|
CancelArchivalCommand,
|
|
108
|
+
CancelCacheReportCommand,
|
|
103
109
|
CancelRetrievalCommand,
|
|
104
110
|
CreateCachediSCSIVolumeCommand,
|
|
105
111
|
CreateNFSFileShareCommand,
|
|
@@ -112,6 +118,7 @@ const commands = {
|
|
|
112
118
|
CreateTapeWithBarcodeCommand,
|
|
113
119
|
DeleteAutomaticTapeCreationPolicyCommand,
|
|
114
120
|
DeleteBandwidthRateLimitCommand,
|
|
121
|
+
DeleteCacheReportCommand,
|
|
115
122
|
DeleteChapCredentialsCommand,
|
|
116
123
|
DeleteFileShareCommand,
|
|
117
124
|
DeleteGatewayCommand,
|
|
@@ -125,6 +132,7 @@ const commands = {
|
|
|
125
132
|
DescribeBandwidthRateLimitScheduleCommand,
|
|
126
133
|
DescribeCacheCommand,
|
|
127
134
|
DescribeCachediSCSIVolumesCommand,
|
|
135
|
+
DescribeCacheReportCommand,
|
|
128
136
|
DescribeChapCredentialsCommand,
|
|
129
137
|
DescribeFileSystemAssociationsCommand,
|
|
130
138
|
DescribeGatewayInformationCommand,
|
|
@@ -145,6 +153,7 @@ const commands = {
|
|
|
145
153
|
DisassociateFileSystemCommand,
|
|
146
154
|
JoinDomainCommand,
|
|
147
155
|
ListAutomaticTapeCreationPoliciesCommand,
|
|
156
|
+
ListCacheReportsCommand,
|
|
148
157
|
ListFileSharesCommand,
|
|
149
158
|
ListFileSystemAssociationsCommand,
|
|
150
159
|
ListGatewaysCommand,
|
|
@@ -165,6 +174,7 @@ const commands = {
|
|
|
165
174
|
SetSMBGuestPasswordCommand,
|
|
166
175
|
ShutdownGatewayCommand,
|
|
167
176
|
StartAvailabilityMonitorTestCommand,
|
|
177
|
+
StartCacheReportCommand,
|
|
168
178
|
StartGatewayCommand,
|
|
169
179
|
UpdateAutomaticTapeCreationPolicyCommand,
|
|
170
180
|
UpdateBandwidthRateLimitCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CancelCacheReportCommand, se_CancelCacheReportCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CancelCacheReportCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("StorageGateway_20130630", "CancelCacheReport", {})
|
|
17
|
+
.n("StorageGatewayClient", "CancelCacheReportCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CancelCacheReportCommand)
|
|
20
|
+
.de(de_CancelCacheReportCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteCacheReportCommand, se_DeleteCacheReportCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteCacheReportCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("StorageGateway_20130630", "DeleteCacheReport", {})
|
|
17
|
+
.n("StorageGatewayClient", "DeleteCacheReportCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteCacheReportCommand)
|
|
20
|
+
.de(de_DeleteCacheReportCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|