@aws-sdk/client-storage-gateway 3.743.0 → 3.748.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 (33) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +233 -0
  3. package/dist-es/StorageGateway.js +10 -0
  4. package/dist-es/commands/CancelCacheReportCommand.js +22 -0
  5. package/dist-es/commands/DeleteCacheReportCommand.js +22 -0
  6. package/dist-es/commands/DescribeCacheReportCommand.js +22 -0
  7. package/dist-es/commands/ListCacheReportsCommand.js +22 -0
  8. package/dist-es/commands/StartCacheReportCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +11 -0
  11. package/dist-es/protocols/Aws_json1_1.js +131 -1
  12. package/dist-types/StorageGateway.d.ts +36 -0
  13. package/dist-types/StorageGatewayClient.d.ts +7 -2
  14. package/dist-types/commands/CancelCacheReportCommand.d.ts +83 -0
  15. package/dist-types/commands/DeleteCacheReportCommand.d.ts +85 -0
  16. package/dist-types/commands/DescribeCacheReportCommand.d.ts +112 -0
  17. package/dist-types/commands/ListCacheReportsCommand.d.ts +117 -0
  18. package/dist-types/commands/NotifyWhenUploadedCommand.d.ts +5 -4
  19. package/dist-types/commands/StartCacheReportCommand.d.ts +140 -0
  20. package/dist-types/commands/index.d.ts +5 -0
  21. package/dist-types/models/models_0.d.ts +324 -12
  22. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  23. package/dist-types/ts3.4/StorageGateway.d.ts +86 -0
  24. package/dist-types/ts3.4/StorageGatewayClient.d.ts +30 -0
  25. package/dist-types/ts3.4/commands/CancelCacheReportCommand.d.ts +50 -0
  26. package/dist-types/ts3.4/commands/DeleteCacheReportCommand.d.ts +50 -0
  27. package/dist-types/ts3.4/commands/DescribeCacheReportCommand.d.ts +51 -0
  28. package/dist-types/ts3.4/commands/ListCacheReportsCommand.d.ts +50 -0
  29. package/dist-types/ts3.4/commands/StartCacheReportCommand.d.ts +50 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +72 -0
  32. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  33. package/package.json +12 -12
@@ -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_DescribeCacheReportCommand, se_DescribeCacheReportCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DescribeCacheReportCommand 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", "DescribeCacheReport", {})
17
+ .n("StorageGatewayClient", "DescribeCacheReportCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeCacheReportCommand)
20
+ .de(de_DescribeCacheReportCommand)
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_ListCacheReportsCommand, se_ListCacheReportsCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class ListCacheReportsCommand 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", "ListCacheReports", {})
17
+ .n("StorageGatewayClient", "ListCacheReportsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListCacheReportsCommand)
20
+ .de(de_ListCacheReportsCommand)
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_StartCacheReportCommand, se_StartCacheReportCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class StartCacheReportCommand 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", "StartCacheReport", {})
17
+ .n("StorageGatewayClient", "StartCacheReportCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StartCacheReportCommand)
20
+ .de(de_StartCacheReportCommand)
21
+ .build() {
22
+ }
@@ -7,6 +7,7 @@ export * from "./AssignTapePoolCommand";
7
7
  export * from "./AssociateFileSystemCommand";
8
8
  export * from "./AttachVolumeCommand";
9
9
  export * from "./CancelArchivalCommand";
10
+ export * from "./CancelCacheReportCommand";
10
11
  export * from "./CancelRetrievalCommand";
11
12
  export * from "./CreateCachediSCSIVolumeCommand";
12
13
  export * from "./CreateNFSFileShareCommand";
@@ -19,6 +20,7 @@ export * from "./CreateTapeWithBarcodeCommand";
19
20
  export * from "./CreateTapesCommand";
20
21
  export * from "./DeleteAutomaticTapeCreationPolicyCommand";
21
22
  export * from "./DeleteBandwidthRateLimitCommand";
23
+ export * from "./DeleteCacheReportCommand";
22
24
  export * from "./DeleteChapCredentialsCommand";
23
25
  export * from "./DeleteFileShareCommand";
24
26
  export * from "./DeleteGatewayCommand";
@@ -31,6 +33,7 @@ export * from "./DescribeAvailabilityMonitorTestCommand";
31
33
  export * from "./DescribeBandwidthRateLimitCommand";
32
34
  export * from "./DescribeBandwidthRateLimitScheduleCommand";
33
35
  export * from "./DescribeCacheCommand";
36
+ export * from "./DescribeCacheReportCommand";
34
37
  export * from "./DescribeCachediSCSIVolumesCommand";
35
38
  export * from "./DescribeChapCredentialsCommand";
36
39
  export * from "./DescribeFileSystemAssociationsCommand";
@@ -52,6 +55,7 @@ export * from "./DisableGatewayCommand";
52
55
  export * from "./DisassociateFileSystemCommand";
53
56
  export * from "./JoinDomainCommand";
54
57
  export * from "./ListAutomaticTapeCreationPoliciesCommand";
58
+ export * from "./ListCacheReportsCommand";
55
59
  export * from "./ListFileSharesCommand";
56
60
  export * from "./ListFileSystemAssociationsCommand";
57
61
  export * from "./ListGatewaysCommand";
@@ -72,6 +76,7 @@ export * from "./SetLocalConsolePasswordCommand";
72
76
  export * from "./SetSMBGuestPasswordCommand";
73
77
  export * from "./ShutdownGatewayCommand";
74
78
  export * from "./StartAvailabilityMonitorTestCommand";
79
+ export * from "./StartCacheReportCommand";
75
80
  export * from "./StartGatewayCommand";
76
81
  export * from "./UpdateAutomaticTapeCreationPolicyCommand";
77
82
  export * from "./UpdateBandwidthRateLimitCommand";
@@ -110,6 +110,17 @@ export const AvailabilityMonitorTestStatus = {
110
110
  FAILED: "FAILED",
111
111
  PENDING: "PENDING",
112
112
  };
113
+ export const CacheReportFilterName = {
114
+ UploadFailureReason: "UploadFailureReason",
115
+ UploadState: "UploadState",
116
+ };
117
+ export const CacheReportStatus = {
118
+ CANCELED: "CANCELED",
119
+ COMPLETED: "COMPLETED",
120
+ ERROR: "ERROR",
121
+ FAILED: "FAILED",
122
+ IN_PROGRESS: "IN_PROGRESS",
123
+ };
113
124
  export const CaseSensitivity = {
114
125
  CaseSensitive: "CaseSensitive",
115
126
  ClientSpecified: "ClientSpecified",
@@ -1,6 +1,6 @@
1
1
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { InternalServerError, InvalidGatewayRequestException, ServiceUnavailableError, } from "../models/models_0";
5
5
  import { StorageGatewayServiceException as __BaseException } from "../models/StorageGatewayServiceException";
6
6
  export const se_ActivateGatewayCommand = async (input, context) => {
@@ -57,6 +57,12 @@ export const se_CancelArchivalCommand = async (input, context) => {
57
57
  body = JSON.stringify(_json(input));
58
58
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
59
59
  };
60
+ export const se_CancelCacheReportCommand = async (input, context) => {
61
+ const headers = sharedHeaders("CancelCacheReport");
62
+ let body;
63
+ body = JSON.stringify(_json(input));
64
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
65
+ };
60
66
  export const se_CancelRetrievalCommand = async (input, context) => {
61
67
  const headers = sharedHeaders("CancelRetrieval");
62
68
  let body;
@@ -129,6 +135,12 @@ export const se_DeleteBandwidthRateLimitCommand = async (input, context) => {
129
135
  body = JSON.stringify(_json(input));
130
136
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
131
137
  };
138
+ export const se_DeleteCacheReportCommand = async (input, context) => {
139
+ const headers = sharedHeaders("DeleteCacheReport");
140
+ let body;
141
+ body = JSON.stringify(_json(input));
142
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
143
+ };
132
144
  export const se_DeleteChapCredentialsCommand = async (input, context) => {
133
145
  const headers = sharedHeaders("DeleteChapCredentials");
134
146
  let body;
@@ -207,6 +219,12 @@ export const se_DescribeCachediSCSIVolumesCommand = async (input, context) => {
207
219
  body = JSON.stringify(_json(input));
208
220
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
209
221
  };
222
+ export const se_DescribeCacheReportCommand = async (input, context) => {
223
+ const headers = sharedHeaders("DescribeCacheReport");
224
+ let body;
225
+ body = JSON.stringify(_json(input));
226
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
227
+ };
210
228
  export const se_DescribeChapCredentialsCommand = async (input, context) => {
211
229
  const headers = sharedHeaders("DescribeChapCredentials");
212
230
  let body;
@@ -327,6 +345,12 @@ export const se_ListAutomaticTapeCreationPoliciesCommand = async (input, context
327
345
  body = JSON.stringify(_json(input));
328
346
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
329
347
  };
348
+ export const se_ListCacheReportsCommand = async (input, context) => {
349
+ const headers = sharedHeaders("ListCacheReports");
350
+ let body;
351
+ body = JSON.stringify(_json(input));
352
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
353
+ };
330
354
  export const se_ListFileSharesCommand = async (input, context) => {
331
355
  const headers = sharedHeaders("ListFileShares");
332
356
  let body;
@@ -447,6 +471,12 @@ export const se_StartAvailabilityMonitorTestCommand = async (input, context) =>
447
471
  body = JSON.stringify(_json(input));
448
472
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
449
473
  };
474
+ export const se_StartCacheReportCommand = async (input, context) => {
475
+ const headers = sharedHeaders("StartCacheReport");
476
+ let body;
477
+ body = JSON.stringify(_json(input));
478
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
479
+ };
450
480
  export const se_StartGatewayCommand = async (input, context) => {
451
481
  const headers = sharedHeaders("StartGateway");
452
482
  let body;
@@ -660,6 +690,19 @@ export const de_CancelArchivalCommand = async (output, context) => {
660
690
  };
661
691
  return response;
662
692
  };
693
+ export const de_CancelCacheReportCommand = async (output, context) => {
694
+ if (output.statusCode >= 300) {
695
+ return de_CommandError(output, context);
696
+ }
697
+ const data = await parseBody(output.body, context);
698
+ let contents = {};
699
+ contents = _json(data);
700
+ const response = {
701
+ $metadata: deserializeMetadata(output),
702
+ ...contents,
703
+ };
704
+ return response;
705
+ };
663
706
  export const de_CancelRetrievalCommand = async (output, context) => {
664
707
  if (output.statusCode >= 300) {
665
708
  return de_CommandError(output, context);
@@ -816,6 +859,19 @@ export const de_DeleteBandwidthRateLimitCommand = async (output, context) => {
816
859
  };
817
860
  return response;
818
861
  };
862
+ export const de_DeleteCacheReportCommand = async (output, context) => {
863
+ if (output.statusCode >= 300) {
864
+ return de_CommandError(output, context);
865
+ }
866
+ const data = await parseBody(output.body, context);
867
+ let contents = {};
868
+ contents = _json(data);
869
+ const response = {
870
+ $metadata: deserializeMetadata(output),
871
+ ...contents,
872
+ };
873
+ return response;
874
+ };
819
875
  export const de_DeleteChapCredentialsCommand = async (output, context) => {
820
876
  if (output.statusCode >= 300) {
821
877
  return de_CommandError(output, context);
@@ -985,6 +1041,19 @@ export const de_DescribeCachediSCSIVolumesCommand = async (output, context) => {
985
1041
  };
986
1042
  return response;
987
1043
  };
1044
+ export const de_DescribeCacheReportCommand = async (output, context) => {
1045
+ if (output.statusCode >= 300) {
1046
+ return de_CommandError(output, context);
1047
+ }
1048
+ const data = await parseBody(output.body, context);
1049
+ let contents = {};
1050
+ contents = de_DescribeCacheReportOutput(data, context);
1051
+ const response = {
1052
+ $metadata: deserializeMetadata(output),
1053
+ ...contents,
1054
+ };
1055
+ return response;
1056
+ };
988
1057
  export const de_DescribeChapCredentialsCommand = async (output, context) => {
989
1058
  if (output.statusCode >= 300) {
990
1059
  return de_CommandError(output, context);
@@ -1245,6 +1314,19 @@ export const de_ListAutomaticTapeCreationPoliciesCommand = async (output, contex
1245
1314
  };
1246
1315
  return response;
1247
1316
  };
1317
+ export const de_ListCacheReportsCommand = async (output, context) => {
1318
+ if (output.statusCode >= 300) {
1319
+ return de_CommandError(output, context);
1320
+ }
1321
+ const data = await parseBody(output.body, context);
1322
+ let contents = {};
1323
+ contents = de_ListCacheReportsOutput(data, context);
1324
+ const response = {
1325
+ $metadata: deserializeMetadata(output),
1326
+ ...contents,
1327
+ };
1328
+ return response;
1329
+ };
1248
1330
  export const de_ListFileSharesCommand = async (output, context) => {
1249
1331
  if (output.statusCode >= 300) {
1250
1332
  return de_CommandError(output, context);
@@ -1505,6 +1587,19 @@ export const de_StartAvailabilityMonitorTestCommand = async (output, context) =>
1505
1587
  };
1506
1588
  return response;
1507
1589
  };
1590
+ export const de_StartCacheReportCommand = async (output, context) => {
1591
+ if (output.statusCode >= 300) {
1592
+ return de_CommandError(output, context);
1593
+ }
1594
+ const data = await parseBody(output.body, context);
1595
+ let contents = {};
1596
+ contents = _json(data);
1597
+ const response = {
1598
+ $metadata: deserializeMetadata(output),
1599
+ ...contents,
1600
+ };
1601
+ return response;
1602
+ };
1508
1603
  export const de_StartGatewayCommand = async (output, context) => {
1509
1604
  if (output.statusCode >= 300) {
1510
1605
  return de_CommandError(output, context);
@@ -1790,6 +1885,30 @@ const de_CachediSCSIVolumes = (output, context) => {
1790
1885
  });
1791
1886
  return retVal;
1792
1887
  };
1888
+ const de_CacheReportInfo = (output, context) => {
1889
+ return take(output, {
1890
+ CacheReportARN: __expectString,
1891
+ CacheReportStatus: __expectString,
1892
+ EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1893
+ ExclusionFilters: _json,
1894
+ FileShareARN: __expectString,
1895
+ InclusionFilters: _json,
1896
+ LocationARN: __expectString,
1897
+ ReportCompletionPercent: __expectInt32,
1898
+ ReportName: __expectString,
1899
+ Role: __expectString,
1900
+ StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1901
+ Tags: _json,
1902
+ });
1903
+ };
1904
+ const de_CacheReportList = (output, context) => {
1905
+ const retVal = (output || [])
1906
+ .filter((e) => e != null)
1907
+ .map((entry) => {
1908
+ return de_CacheReportInfo(entry, context);
1909
+ });
1910
+ return retVal;
1911
+ };
1793
1912
  const de_DescribeAvailabilityMonitorTestOutput = (output, context) => {
1794
1913
  return take(output, {
1795
1914
  GatewayARN: __expectString,
@@ -1813,6 +1932,11 @@ const de_DescribeCacheOutput = (output, context) => {
1813
1932
  GatewayARN: __expectString,
1814
1933
  });
1815
1934
  };
1935
+ const de_DescribeCacheReportOutput = (output, context) => {
1936
+ return take(output, {
1937
+ CacheReportInfo: (_) => de_CacheReportInfo(_, context),
1938
+ });
1939
+ };
1816
1940
  const de_DescribeStorediSCSIVolumesOutput = (output, context) => {
1817
1941
  return take(output, {
1818
1942
  StorediSCSIVolumes: (_) => de_StorediSCSIVolumes(_, context),
@@ -1837,6 +1961,12 @@ const de_DescribeTapesOutput = (output, context) => {
1837
1961
  Tapes: (_) => de_Tapes(_, context),
1838
1962
  });
1839
1963
  };
1964
+ const de_ListCacheReportsOutput = (output, context) => {
1965
+ return take(output, {
1966
+ CacheReportList: (_) => de_CacheReportList(_, context),
1967
+ Marker: __expectString,
1968
+ });
1969
+ };
1840
1970
  const de_ListTapesOutput = (output, context) => {
1841
1971
  return take(output, {
1842
1972
  Marker: __expectString,
@@ -8,6 +8,7 @@ import { AssignTapePoolCommandInput, AssignTapePoolCommandOutput } from "./comma
8
8
  import { AssociateFileSystemCommandInput, AssociateFileSystemCommandOutput } from "./commands/AssociateFileSystemCommand";
9
9
  import { AttachVolumeCommandInput, AttachVolumeCommandOutput } from "./commands/AttachVolumeCommand";
10
10
  import { CancelArchivalCommandInput, CancelArchivalCommandOutput } from "./commands/CancelArchivalCommand";
11
+ import { CancelCacheReportCommandInput, CancelCacheReportCommandOutput } from "./commands/CancelCacheReportCommand";
11
12
  import { CancelRetrievalCommandInput, CancelRetrievalCommandOutput } from "./commands/CancelRetrievalCommand";
12
13
  import { CreateCachediSCSIVolumeCommandInput, CreateCachediSCSIVolumeCommandOutput } from "./commands/CreateCachediSCSIVolumeCommand";
13
14
  import { CreateNFSFileShareCommandInput, CreateNFSFileShareCommandOutput } from "./commands/CreateNFSFileShareCommand";
@@ -20,6 +21,7 @@ import { CreateTapesCommandInput, CreateTapesCommandOutput } from "./commands/Cr
20
21
  import { CreateTapeWithBarcodeCommandInput, CreateTapeWithBarcodeCommandOutput } from "./commands/CreateTapeWithBarcodeCommand";
21
22
  import { DeleteAutomaticTapeCreationPolicyCommandInput, DeleteAutomaticTapeCreationPolicyCommandOutput } from "./commands/DeleteAutomaticTapeCreationPolicyCommand";
22
23
  import { DeleteBandwidthRateLimitCommandInput, DeleteBandwidthRateLimitCommandOutput } from "./commands/DeleteBandwidthRateLimitCommand";
24
+ import { DeleteCacheReportCommandInput, DeleteCacheReportCommandOutput } from "./commands/DeleteCacheReportCommand";
23
25
  import { DeleteChapCredentialsCommandInput, DeleteChapCredentialsCommandOutput } from "./commands/DeleteChapCredentialsCommand";
24
26
  import { DeleteFileShareCommandInput, DeleteFileShareCommandOutput } from "./commands/DeleteFileShareCommand";
25
27
  import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./commands/DeleteGatewayCommand";
@@ -33,6 +35,7 @@ import { DescribeBandwidthRateLimitCommandInput, DescribeBandwidthRateLimitComma
33
35
  import { DescribeBandwidthRateLimitScheduleCommandInput, DescribeBandwidthRateLimitScheduleCommandOutput } from "./commands/DescribeBandwidthRateLimitScheduleCommand";
34
36
  import { DescribeCacheCommandInput, DescribeCacheCommandOutput } from "./commands/DescribeCacheCommand";
35
37
  import { DescribeCachediSCSIVolumesCommandInput, DescribeCachediSCSIVolumesCommandOutput } from "./commands/DescribeCachediSCSIVolumesCommand";
38
+ import { DescribeCacheReportCommandInput, DescribeCacheReportCommandOutput } from "./commands/DescribeCacheReportCommand";
36
39
  import { DescribeChapCredentialsCommandInput, DescribeChapCredentialsCommandOutput } from "./commands/DescribeChapCredentialsCommand";
37
40
  import { DescribeFileSystemAssociationsCommandInput, DescribeFileSystemAssociationsCommandOutput } from "./commands/DescribeFileSystemAssociationsCommand";
38
41
  import { DescribeGatewayInformationCommandInput, DescribeGatewayInformationCommandOutput } from "./commands/DescribeGatewayInformationCommand";
@@ -53,6 +56,7 @@ import { DisableGatewayCommandInput, DisableGatewayCommandOutput } from "./comma
53
56
  import { DisassociateFileSystemCommandInput, DisassociateFileSystemCommandOutput } from "./commands/DisassociateFileSystemCommand";
54
57
  import { JoinDomainCommandInput, JoinDomainCommandOutput } from "./commands/JoinDomainCommand";
55
58
  import { ListAutomaticTapeCreationPoliciesCommandInput, ListAutomaticTapeCreationPoliciesCommandOutput } from "./commands/ListAutomaticTapeCreationPoliciesCommand";
59
+ import { ListCacheReportsCommandInput, ListCacheReportsCommandOutput } from "./commands/ListCacheReportsCommand";
56
60
  import { ListFileSharesCommandInput, ListFileSharesCommandOutput } from "./commands/ListFileSharesCommand";
57
61
  import { ListFileSystemAssociationsCommandInput, ListFileSystemAssociationsCommandOutput } from "./commands/ListFileSystemAssociationsCommand";
58
62
  import { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand";
@@ -73,6 +77,7 @@ import { SetLocalConsolePasswordCommandInput, SetLocalConsolePasswordCommandOutp
73
77
  import { SetSMBGuestPasswordCommandInput, SetSMBGuestPasswordCommandOutput } from "./commands/SetSMBGuestPasswordCommand";
74
78
  import { ShutdownGatewayCommandInput, ShutdownGatewayCommandOutput } from "./commands/ShutdownGatewayCommand";
75
79
  import { StartAvailabilityMonitorTestCommandInput, StartAvailabilityMonitorTestCommandOutput } from "./commands/StartAvailabilityMonitorTestCommand";
80
+ import { StartCacheReportCommandInput, StartCacheReportCommandOutput } from "./commands/StartCacheReportCommand";
76
81
  import { StartGatewayCommandInput, StartGatewayCommandOutput } from "./commands/StartGatewayCommand";
77
82
  import { UpdateAutomaticTapeCreationPolicyCommandInput, UpdateAutomaticTapeCreationPolicyCommandOutput } from "./commands/UpdateAutomaticTapeCreationPolicyCommand";
78
83
  import { UpdateBandwidthRateLimitCommandInput, UpdateBandwidthRateLimitCommandOutput } from "./commands/UpdateBandwidthRateLimitCommand";
@@ -145,6 +150,12 @@ export interface StorageGateway {
145
150
  cancelArchival(args: CancelArchivalCommandInput, options?: __HttpHandlerOptions): Promise<CancelArchivalCommandOutput>;
146
151
  cancelArchival(args: CancelArchivalCommandInput, cb: (err: any, data?: CancelArchivalCommandOutput) => void): void;
147
152
  cancelArchival(args: CancelArchivalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelArchivalCommandOutput) => void): void;
153
+ /**
154
+ * @see {@link CancelCacheReportCommand}
155
+ */
156
+ cancelCacheReport(args: CancelCacheReportCommandInput, options?: __HttpHandlerOptions): Promise<CancelCacheReportCommandOutput>;
157
+ cancelCacheReport(args: CancelCacheReportCommandInput, cb: (err: any, data?: CancelCacheReportCommandOutput) => void): void;
158
+ cancelCacheReport(args: CancelCacheReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelCacheReportCommandOutput) => void): void;
148
159
  /**
149
160
  * @see {@link CancelRetrievalCommand}
150
161
  */
@@ -217,6 +228,12 @@ export interface StorageGateway {
217
228
  deleteBandwidthRateLimit(args: DeleteBandwidthRateLimitCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBandwidthRateLimitCommandOutput>;
218
229
  deleteBandwidthRateLimit(args: DeleteBandwidthRateLimitCommandInput, cb: (err: any, data?: DeleteBandwidthRateLimitCommandOutput) => void): void;
219
230
  deleteBandwidthRateLimit(args: DeleteBandwidthRateLimitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBandwidthRateLimitCommandOutput) => void): void;
231
+ /**
232
+ * @see {@link DeleteCacheReportCommand}
233
+ */
234
+ deleteCacheReport(args: DeleteCacheReportCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCacheReportCommandOutput>;
235
+ deleteCacheReport(args: DeleteCacheReportCommandInput, cb: (err: any, data?: DeleteCacheReportCommandOutput) => void): void;
236
+ deleteCacheReport(args: DeleteCacheReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCacheReportCommandOutput) => void): void;
220
237
  /**
221
238
  * @see {@link DeleteChapCredentialsCommand}
222
239
  */
@@ -295,6 +312,12 @@ export interface StorageGateway {
295
312
  describeCachediSCSIVolumes(args: DescribeCachediSCSIVolumesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCachediSCSIVolumesCommandOutput>;
296
313
  describeCachediSCSIVolumes(args: DescribeCachediSCSIVolumesCommandInput, cb: (err: any, data?: DescribeCachediSCSIVolumesCommandOutput) => void): void;
297
314
  describeCachediSCSIVolumes(args: DescribeCachediSCSIVolumesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCachediSCSIVolumesCommandOutput) => void): void;
315
+ /**
316
+ * @see {@link DescribeCacheReportCommand}
317
+ */
318
+ describeCacheReport(args: DescribeCacheReportCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCacheReportCommandOutput>;
319
+ describeCacheReport(args: DescribeCacheReportCommandInput, cb: (err: any, data?: DescribeCacheReportCommandOutput) => void): void;
320
+ describeCacheReport(args: DescribeCacheReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCacheReportCommandOutput) => void): void;
298
321
  /**
299
322
  * @see {@link DescribeChapCredentialsCommand}
300
323
  */
@@ -417,6 +440,13 @@ export interface StorageGateway {
417
440
  listAutomaticTapeCreationPolicies(args: ListAutomaticTapeCreationPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListAutomaticTapeCreationPoliciesCommandOutput>;
418
441
  listAutomaticTapeCreationPolicies(args: ListAutomaticTapeCreationPoliciesCommandInput, cb: (err: any, data?: ListAutomaticTapeCreationPoliciesCommandOutput) => void): void;
419
442
  listAutomaticTapeCreationPolicies(args: ListAutomaticTapeCreationPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAutomaticTapeCreationPoliciesCommandOutput) => void): void;
443
+ /**
444
+ * @see {@link ListCacheReportsCommand}
445
+ */
446
+ listCacheReports(): Promise<ListCacheReportsCommandOutput>;
447
+ listCacheReports(args: ListCacheReportsCommandInput, options?: __HttpHandlerOptions): Promise<ListCacheReportsCommandOutput>;
448
+ listCacheReports(args: ListCacheReportsCommandInput, cb: (err: any, data?: ListCacheReportsCommandOutput) => void): void;
449
+ listCacheReports(args: ListCacheReportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCacheReportsCommandOutput) => void): void;
420
450
  /**
421
451
  * @see {@link ListFileSharesCommand}
422
452
  */
@@ -543,6 +573,12 @@ export interface StorageGateway {
543
573
  startAvailabilityMonitorTest(args: StartAvailabilityMonitorTestCommandInput, options?: __HttpHandlerOptions): Promise<StartAvailabilityMonitorTestCommandOutput>;
544
574
  startAvailabilityMonitorTest(args: StartAvailabilityMonitorTestCommandInput, cb: (err: any, data?: StartAvailabilityMonitorTestCommandOutput) => void): void;
545
575
  startAvailabilityMonitorTest(args: StartAvailabilityMonitorTestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAvailabilityMonitorTestCommandOutput) => void): void;
576
+ /**
577
+ * @see {@link StartCacheReportCommand}
578
+ */
579
+ startCacheReport(args: StartCacheReportCommandInput, options?: __HttpHandlerOptions): Promise<StartCacheReportCommandOutput>;
580
+ startCacheReport(args: StartCacheReportCommandInput, cb: (err: any, data?: StartCacheReportCommandOutput) => void): void;
581
+ startCacheReport(args: StartCacheReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCacheReportCommandOutput) => void): void;
546
582
  /**
547
583
  * @see {@link StartGatewayCommand}
548
584
  */
@@ -16,6 +16,7 @@ import { AssignTapePoolCommandInput, AssignTapePoolCommandOutput } from "./comma
16
16
  import { AssociateFileSystemCommandInput, AssociateFileSystemCommandOutput } from "./commands/AssociateFileSystemCommand";
17
17
  import { AttachVolumeCommandInput, AttachVolumeCommandOutput } from "./commands/AttachVolumeCommand";
18
18
  import { CancelArchivalCommandInput, CancelArchivalCommandOutput } from "./commands/CancelArchivalCommand";
19
+ import { CancelCacheReportCommandInput, CancelCacheReportCommandOutput } from "./commands/CancelCacheReportCommand";
19
20
  import { CancelRetrievalCommandInput, CancelRetrievalCommandOutput } from "./commands/CancelRetrievalCommand";
20
21
  import { CreateCachediSCSIVolumeCommandInput, CreateCachediSCSIVolumeCommandOutput } from "./commands/CreateCachediSCSIVolumeCommand";
21
22
  import { CreateNFSFileShareCommandInput, CreateNFSFileShareCommandOutput } from "./commands/CreateNFSFileShareCommand";
@@ -28,6 +29,7 @@ import { CreateTapesCommandInput, CreateTapesCommandOutput } from "./commands/Cr
28
29
  import { CreateTapeWithBarcodeCommandInput, CreateTapeWithBarcodeCommandOutput } from "./commands/CreateTapeWithBarcodeCommand";
29
30
  import { DeleteAutomaticTapeCreationPolicyCommandInput, DeleteAutomaticTapeCreationPolicyCommandOutput } from "./commands/DeleteAutomaticTapeCreationPolicyCommand";
30
31
  import { DeleteBandwidthRateLimitCommandInput, DeleteBandwidthRateLimitCommandOutput } from "./commands/DeleteBandwidthRateLimitCommand";
32
+ import { DeleteCacheReportCommandInput, DeleteCacheReportCommandOutput } from "./commands/DeleteCacheReportCommand";
31
33
  import { DeleteChapCredentialsCommandInput, DeleteChapCredentialsCommandOutput } from "./commands/DeleteChapCredentialsCommand";
32
34
  import { DeleteFileShareCommandInput, DeleteFileShareCommandOutput } from "./commands/DeleteFileShareCommand";
33
35
  import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./commands/DeleteGatewayCommand";
@@ -41,6 +43,7 @@ import { DescribeBandwidthRateLimitCommandInput, DescribeBandwidthRateLimitComma
41
43
  import { DescribeBandwidthRateLimitScheduleCommandInput, DescribeBandwidthRateLimitScheduleCommandOutput } from "./commands/DescribeBandwidthRateLimitScheduleCommand";
42
44
  import { DescribeCacheCommandInput, DescribeCacheCommandOutput } from "./commands/DescribeCacheCommand";
43
45
  import { DescribeCachediSCSIVolumesCommandInput, DescribeCachediSCSIVolumesCommandOutput } from "./commands/DescribeCachediSCSIVolumesCommand";
46
+ import { DescribeCacheReportCommandInput, DescribeCacheReportCommandOutput } from "./commands/DescribeCacheReportCommand";
44
47
  import { DescribeChapCredentialsCommandInput, DescribeChapCredentialsCommandOutput } from "./commands/DescribeChapCredentialsCommand";
45
48
  import { DescribeFileSystemAssociationsCommandInput, DescribeFileSystemAssociationsCommandOutput } from "./commands/DescribeFileSystemAssociationsCommand";
46
49
  import { DescribeGatewayInformationCommandInput, DescribeGatewayInformationCommandOutput } from "./commands/DescribeGatewayInformationCommand";
@@ -61,6 +64,7 @@ import { DisableGatewayCommandInput, DisableGatewayCommandOutput } from "./comma
61
64
  import { DisassociateFileSystemCommandInput, DisassociateFileSystemCommandOutput } from "./commands/DisassociateFileSystemCommand";
62
65
  import { JoinDomainCommandInput, JoinDomainCommandOutput } from "./commands/JoinDomainCommand";
63
66
  import { ListAutomaticTapeCreationPoliciesCommandInput, ListAutomaticTapeCreationPoliciesCommandOutput } from "./commands/ListAutomaticTapeCreationPoliciesCommand";
67
+ import { ListCacheReportsCommandInput, ListCacheReportsCommandOutput } from "./commands/ListCacheReportsCommand";
64
68
  import { ListFileSharesCommandInput, ListFileSharesCommandOutput } from "./commands/ListFileSharesCommand";
65
69
  import { ListFileSystemAssociationsCommandInput, ListFileSystemAssociationsCommandOutput } from "./commands/ListFileSystemAssociationsCommand";
66
70
  import { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand";
@@ -81,6 +85,7 @@ import { SetLocalConsolePasswordCommandInput, SetLocalConsolePasswordCommandOutp
81
85
  import { SetSMBGuestPasswordCommandInput, SetSMBGuestPasswordCommandOutput } from "./commands/SetSMBGuestPasswordCommand";
82
86
  import { ShutdownGatewayCommandInput, ShutdownGatewayCommandOutput } from "./commands/ShutdownGatewayCommand";
83
87
  import { StartAvailabilityMonitorTestCommandInput, StartAvailabilityMonitorTestCommandOutput } from "./commands/StartAvailabilityMonitorTestCommand";
88
+ import { StartCacheReportCommandInput, StartCacheReportCommandOutput } from "./commands/StartCacheReportCommand";
84
89
  import { StartGatewayCommandInput, StartGatewayCommandOutput } from "./commands/StartGatewayCommand";
85
90
  import { UpdateAutomaticTapeCreationPolicyCommandInput, UpdateAutomaticTapeCreationPolicyCommandOutput } from "./commands/UpdateAutomaticTapeCreationPolicyCommand";
86
91
  import { UpdateBandwidthRateLimitCommandInput, UpdateBandwidthRateLimitCommandOutput } from "./commands/UpdateBandwidthRateLimitCommand";
@@ -103,11 +108,11 @@ export { __Client };
103
108
  /**
104
109
  * @public
105
110
  */
106
- export type ServiceInputTypes = ActivateGatewayCommandInput | AddCacheCommandInput | AddTagsToResourceCommandInput | AddUploadBufferCommandInput | AddWorkingStorageCommandInput | AssignTapePoolCommandInput | AssociateFileSystemCommandInput | AttachVolumeCommandInput | CancelArchivalCommandInput | CancelRetrievalCommandInput | CreateCachediSCSIVolumeCommandInput | CreateNFSFileShareCommandInput | CreateSMBFileShareCommandInput | CreateSnapshotCommandInput | CreateSnapshotFromVolumeRecoveryPointCommandInput | CreateStorediSCSIVolumeCommandInput | CreateTapePoolCommandInput | CreateTapeWithBarcodeCommandInput | CreateTapesCommandInput | DeleteAutomaticTapeCreationPolicyCommandInput | DeleteBandwidthRateLimitCommandInput | DeleteChapCredentialsCommandInput | DeleteFileShareCommandInput | DeleteGatewayCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTapeArchiveCommandInput | DeleteTapeCommandInput | DeleteTapePoolCommandInput | DeleteVolumeCommandInput | DescribeAvailabilityMonitorTestCommandInput | DescribeBandwidthRateLimitCommandInput | DescribeBandwidthRateLimitScheduleCommandInput | DescribeCacheCommandInput | DescribeCachediSCSIVolumesCommandInput | DescribeChapCredentialsCommandInput | DescribeFileSystemAssociationsCommandInput | DescribeGatewayInformationCommandInput | DescribeMaintenanceStartTimeCommandInput | DescribeNFSFileSharesCommandInput | DescribeSMBFileSharesCommandInput | DescribeSMBSettingsCommandInput | DescribeSnapshotScheduleCommandInput | DescribeStorediSCSIVolumesCommandInput | DescribeTapeArchivesCommandInput | DescribeTapeRecoveryPointsCommandInput | DescribeTapesCommandInput | DescribeUploadBufferCommandInput | DescribeVTLDevicesCommandInput | DescribeWorkingStorageCommandInput | DetachVolumeCommandInput | DisableGatewayCommandInput | DisassociateFileSystemCommandInput | JoinDomainCommandInput | ListAutomaticTapeCreationPoliciesCommandInput | ListFileSharesCommandInput | ListFileSystemAssociationsCommandInput | ListGatewaysCommandInput | ListLocalDisksCommandInput | ListTagsForResourceCommandInput | ListTapePoolsCommandInput | ListTapesCommandInput | ListVolumeInitiatorsCommandInput | ListVolumeRecoveryPointsCommandInput | ListVolumesCommandInput | NotifyWhenUploadedCommandInput | RefreshCacheCommandInput | RemoveTagsFromResourceCommandInput | ResetCacheCommandInput | RetrieveTapeArchiveCommandInput | RetrieveTapeRecoveryPointCommandInput | SetLocalConsolePasswordCommandInput | SetSMBGuestPasswordCommandInput | ShutdownGatewayCommandInput | StartAvailabilityMonitorTestCommandInput | StartGatewayCommandInput | UpdateAutomaticTapeCreationPolicyCommandInput | UpdateBandwidthRateLimitCommandInput | UpdateBandwidthRateLimitScheduleCommandInput | UpdateChapCredentialsCommandInput | UpdateFileSystemAssociationCommandInput | UpdateGatewayInformationCommandInput | UpdateGatewaySoftwareNowCommandInput | UpdateMaintenanceStartTimeCommandInput | UpdateNFSFileShareCommandInput | UpdateSMBFileShareCommandInput | UpdateSMBFileShareVisibilityCommandInput | UpdateSMBLocalGroupsCommandInput | UpdateSMBSecurityStrategyCommandInput | UpdateSnapshotScheduleCommandInput | UpdateVTLDeviceTypeCommandInput;
111
+ export type ServiceInputTypes = ActivateGatewayCommandInput | AddCacheCommandInput | AddTagsToResourceCommandInput | AddUploadBufferCommandInput | AddWorkingStorageCommandInput | AssignTapePoolCommandInput | AssociateFileSystemCommandInput | AttachVolumeCommandInput | CancelArchivalCommandInput | CancelCacheReportCommandInput | CancelRetrievalCommandInput | CreateCachediSCSIVolumeCommandInput | CreateNFSFileShareCommandInput | CreateSMBFileShareCommandInput | CreateSnapshotCommandInput | CreateSnapshotFromVolumeRecoveryPointCommandInput | CreateStorediSCSIVolumeCommandInput | CreateTapePoolCommandInput | CreateTapeWithBarcodeCommandInput | CreateTapesCommandInput | DeleteAutomaticTapeCreationPolicyCommandInput | DeleteBandwidthRateLimitCommandInput | DeleteCacheReportCommandInput | DeleteChapCredentialsCommandInput | DeleteFileShareCommandInput | DeleteGatewayCommandInput | DeleteSnapshotScheduleCommandInput | DeleteTapeArchiveCommandInput | DeleteTapeCommandInput | DeleteTapePoolCommandInput | DeleteVolumeCommandInput | DescribeAvailabilityMonitorTestCommandInput | DescribeBandwidthRateLimitCommandInput | DescribeBandwidthRateLimitScheduleCommandInput | DescribeCacheCommandInput | DescribeCacheReportCommandInput | DescribeCachediSCSIVolumesCommandInput | DescribeChapCredentialsCommandInput | DescribeFileSystemAssociationsCommandInput | DescribeGatewayInformationCommandInput | DescribeMaintenanceStartTimeCommandInput | DescribeNFSFileSharesCommandInput | DescribeSMBFileSharesCommandInput | DescribeSMBSettingsCommandInput | DescribeSnapshotScheduleCommandInput | DescribeStorediSCSIVolumesCommandInput | DescribeTapeArchivesCommandInput | DescribeTapeRecoveryPointsCommandInput | DescribeTapesCommandInput | DescribeUploadBufferCommandInput | DescribeVTLDevicesCommandInput | DescribeWorkingStorageCommandInput | DetachVolumeCommandInput | DisableGatewayCommandInput | DisassociateFileSystemCommandInput | JoinDomainCommandInput | ListAutomaticTapeCreationPoliciesCommandInput | ListCacheReportsCommandInput | ListFileSharesCommandInput | ListFileSystemAssociationsCommandInput | ListGatewaysCommandInput | ListLocalDisksCommandInput | ListTagsForResourceCommandInput | ListTapePoolsCommandInput | ListTapesCommandInput | ListVolumeInitiatorsCommandInput | ListVolumeRecoveryPointsCommandInput | ListVolumesCommandInput | NotifyWhenUploadedCommandInput | RefreshCacheCommandInput | RemoveTagsFromResourceCommandInput | ResetCacheCommandInput | RetrieveTapeArchiveCommandInput | RetrieveTapeRecoveryPointCommandInput | SetLocalConsolePasswordCommandInput | SetSMBGuestPasswordCommandInput | ShutdownGatewayCommandInput | StartAvailabilityMonitorTestCommandInput | StartCacheReportCommandInput | StartGatewayCommandInput | UpdateAutomaticTapeCreationPolicyCommandInput | UpdateBandwidthRateLimitCommandInput | UpdateBandwidthRateLimitScheduleCommandInput | UpdateChapCredentialsCommandInput | UpdateFileSystemAssociationCommandInput | UpdateGatewayInformationCommandInput | UpdateGatewaySoftwareNowCommandInput | UpdateMaintenanceStartTimeCommandInput | UpdateNFSFileShareCommandInput | UpdateSMBFileShareCommandInput | UpdateSMBFileShareVisibilityCommandInput | UpdateSMBLocalGroupsCommandInput | UpdateSMBSecurityStrategyCommandInput | UpdateSnapshotScheduleCommandInput | UpdateVTLDeviceTypeCommandInput;
107
112
  /**
108
113
  * @public
109
114
  */
110
- export type ServiceOutputTypes = ActivateGatewayCommandOutput | AddCacheCommandOutput | AddTagsToResourceCommandOutput | AddUploadBufferCommandOutput | AddWorkingStorageCommandOutput | AssignTapePoolCommandOutput | AssociateFileSystemCommandOutput | AttachVolumeCommandOutput | CancelArchivalCommandOutput | CancelRetrievalCommandOutput | CreateCachediSCSIVolumeCommandOutput | CreateNFSFileShareCommandOutput | CreateSMBFileShareCommandOutput | CreateSnapshotCommandOutput | CreateSnapshotFromVolumeRecoveryPointCommandOutput | CreateStorediSCSIVolumeCommandOutput | CreateTapePoolCommandOutput | CreateTapeWithBarcodeCommandOutput | CreateTapesCommandOutput | DeleteAutomaticTapeCreationPolicyCommandOutput | DeleteBandwidthRateLimitCommandOutput | DeleteChapCredentialsCommandOutput | DeleteFileShareCommandOutput | DeleteGatewayCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTapeArchiveCommandOutput | DeleteTapeCommandOutput | DeleteTapePoolCommandOutput | DeleteVolumeCommandOutput | DescribeAvailabilityMonitorTestCommandOutput | DescribeBandwidthRateLimitCommandOutput | DescribeBandwidthRateLimitScheduleCommandOutput | DescribeCacheCommandOutput | DescribeCachediSCSIVolumesCommandOutput | DescribeChapCredentialsCommandOutput | DescribeFileSystemAssociationsCommandOutput | DescribeGatewayInformationCommandOutput | DescribeMaintenanceStartTimeCommandOutput | DescribeNFSFileSharesCommandOutput | DescribeSMBFileSharesCommandOutput | DescribeSMBSettingsCommandOutput | DescribeSnapshotScheduleCommandOutput | DescribeStorediSCSIVolumesCommandOutput | DescribeTapeArchivesCommandOutput | DescribeTapeRecoveryPointsCommandOutput | DescribeTapesCommandOutput | DescribeUploadBufferCommandOutput | DescribeVTLDevicesCommandOutput | DescribeWorkingStorageCommandOutput | DetachVolumeCommandOutput | DisableGatewayCommandOutput | DisassociateFileSystemCommandOutput | JoinDomainCommandOutput | ListAutomaticTapeCreationPoliciesCommandOutput | ListFileSharesCommandOutput | ListFileSystemAssociationsCommandOutput | ListGatewaysCommandOutput | ListLocalDisksCommandOutput | ListTagsForResourceCommandOutput | ListTapePoolsCommandOutput | ListTapesCommandOutput | ListVolumeInitiatorsCommandOutput | ListVolumeRecoveryPointsCommandOutput | ListVolumesCommandOutput | NotifyWhenUploadedCommandOutput | RefreshCacheCommandOutput | RemoveTagsFromResourceCommandOutput | ResetCacheCommandOutput | RetrieveTapeArchiveCommandOutput | RetrieveTapeRecoveryPointCommandOutput | SetLocalConsolePasswordCommandOutput | SetSMBGuestPasswordCommandOutput | ShutdownGatewayCommandOutput | StartAvailabilityMonitorTestCommandOutput | StartGatewayCommandOutput | UpdateAutomaticTapeCreationPolicyCommandOutput | UpdateBandwidthRateLimitCommandOutput | UpdateBandwidthRateLimitScheduleCommandOutput | UpdateChapCredentialsCommandOutput | UpdateFileSystemAssociationCommandOutput | UpdateGatewayInformationCommandOutput | UpdateGatewaySoftwareNowCommandOutput | UpdateMaintenanceStartTimeCommandOutput | UpdateNFSFileShareCommandOutput | UpdateSMBFileShareCommandOutput | UpdateSMBFileShareVisibilityCommandOutput | UpdateSMBLocalGroupsCommandOutput | UpdateSMBSecurityStrategyCommandOutput | UpdateSnapshotScheduleCommandOutput | UpdateVTLDeviceTypeCommandOutput;
115
+ export type ServiceOutputTypes = ActivateGatewayCommandOutput | AddCacheCommandOutput | AddTagsToResourceCommandOutput | AddUploadBufferCommandOutput | AddWorkingStorageCommandOutput | AssignTapePoolCommandOutput | AssociateFileSystemCommandOutput | AttachVolumeCommandOutput | CancelArchivalCommandOutput | CancelCacheReportCommandOutput | CancelRetrievalCommandOutput | CreateCachediSCSIVolumeCommandOutput | CreateNFSFileShareCommandOutput | CreateSMBFileShareCommandOutput | CreateSnapshotCommandOutput | CreateSnapshotFromVolumeRecoveryPointCommandOutput | CreateStorediSCSIVolumeCommandOutput | CreateTapePoolCommandOutput | CreateTapeWithBarcodeCommandOutput | CreateTapesCommandOutput | DeleteAutomaticTapeCreationPolicyCommandOutput | DeleteBandwidthRateLimitCommandOutput | DeleteCacheReportCommandOutput | DeleteChapCredentialsCommandOutput | DeleteFileShareCommandOutput | DeleteGatewayCommandOutput | DeleteSnapshotScheduleCommandOutput | DeleteTapeArchiveCommandOutput | DeleteTapeCommandOutput | DeleteTapePoolCommandOutput | DeleteVolumeCommandOutput | DescribeAvailabilityMonitorTestCommandOutput | DescribeBandwidthRateLimitCommandOutput | DescribeBandwidthRateLimitScheduleCommandOutput | DescribeCacheCommandOutput | DescribeCacheReportCommandOutput | DescribeCachediSCSIVolumesCommandOutput | DescribeChapCredentialsCommandOutput | DescribeFileSystemAssociationsCommandOutput | DescribeGatewayInformationCommandOutput | DescribeMaintenanceStartTimeCommandOutput | DescribeNFSFileSharesCommandOutput | DescribeSMBFileSharesCommandOutput | DescribeSMBSettingsCommandOutput | DescribeSnapshotScheduleCommandOutput | DescribeStorediSCSIVolumesCommandOutput | DescribeTapeArchivesCommandOutput | DescribeTapeRecoveryPointsCommandOutput | DescribeTapesCommandOutput | DescribeUploadBufferCommandOutput | DescribeVTLDevicesCommandOutput | DescribeWorkingStorageCommandOutput | DetachVolumeCommandOutput | DisableGatewayCommandOutput | DisassociateFileSystemCommandOutput | JoinDomainCommandOutput | ListAutomaticTapeCreationPoliciesCommandOutput | ListCacheReportsCommandOutput | ListFileSharesCommandOutput | ListFileSystemAssociationsCommandOutput | ListGatewaysCommandOutput | ListLocalDisksCommandOutput | ListTagsForResourceCommandOutput | ListTapePoolsCommandOutput | ListTapesCommandOutput | ListVolumeInitiatorsCommandOutput | ListVolumeRecoveryPointsCommandOutput | ListVolumesCommandOutput | NotifyWhenUploadedCommandOutput | RefreshCacheCommandOutput | RemoveTagsFromResourceCommandOutput | ResetCacheCommandOutput | RetrieveTapeArchiveCommandOutput | RetrieveTapeRecoveryPointCommandOutput | SetLocalConsolePasswordCommandOutput | SetSMBGuestPasswordCommandOutput | ShutdownGatewayCommandOutput | StartAvailabilityMonitorTestCommandOutput | StartCacheReportCommandOutput | StartGatewayCommandOutput | UpdateAutomaticTapeCreationPolicyCommandOutput | UpdateBandwidthRateLimitCommandOutput | UpdateBandwidthRateLimitScheduleCommandOutput | UpdateChapCredentialsCommandOutput | UpdateFileSystemAssociationCommandOutput | UpdateGatewayInformationCommandOutput | UpdateGatewaySoftwareNowCommandOutput | UpdateMaintenanceStartTimeCommandOutput | UpdateNFSFileShareCommandOutput | UpdateSMBFileShareCommandOutput | UpdateSMBFileShareVisibilityCommandOutput | UpdateSMBLocalGroupsCommandOutput | UpdateSMBSecurityStrategyCommandOutput | UpdateSnapshotScheduleCommandOutput | UpdateVTLDeviceTypeCommandOutput;
111
116
  /**
112
117
  * @public
113
118
  */
@@ -0,0 +1,83 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CancelCacheReportInput, CancelCacheReportOutput } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, StorageGatewayClientResolvedConfig } from "../StorageGatewayClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CancelCacheReportCommand}.
14
+ */
15
+ export interface CancelCacheReportCommandInput extends CancelCacheReportInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CancelCacheReportCommand}.
21
+ */
22
+ export interface CancelCacheReportCommandOutput extends CancelCacheReportOutput, __MetadataBearer {
23
+ }
24
+ declare const CancelCacheReportCommand_base: {
25
+ new (input: CancelCacheReportCommandInput): import("@smithy/smithy-client").CommandImpl<CancelCacheReportCommandInput, CancelCacheReportCommandOutput, StorageGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CancelCacheReportCommandInput): import("@smithy/smithy-client").CommandImpl<CancelCacheReportCommandInput, CancelCacheReportCommandOutput, StorageGatewayClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Cancels generation of a specified cache report. You can use this operation to manually
31
+ * cancel an IN-PROGRESS report for any reason. This action changes the report status from
32
+ * IN-PROGRESS to CANCELLED. You can only cancel in-progress reports. If the the report you
33
+ * attempt to cancel is in FAILED, ERROR, or COMPLETED state, the cancel operation returns an
34
+ * error.</p>
35
+ * @example
36
+ * Use a bare-bones client and the command you need to make an API call.
37
+ * ```javascript
38
+ * import { StorageGatewayClient, CancelCacheReportCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import
39
+ * // const { StorageGatewayClient, CancelCacheReportCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import
40
+ * const client = new StorageGatewayClient(config);
41
+ * const input = { // CancelCacheReportInput
42
+ * CacheReportARN: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new CancelCacheReportCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // CancelCacheReportOutput
47
+ * // CacheReportARN: "STRING_VALUE",
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param CancelCacheReportCommandInput - {@link CancelCacheReportCommandInput}
53
+ * @returns {@link CancelCacheReportCommandOutput}
54
+ * @see {@link CancelCacheReportCommandInput} for command's `input` shape.
55
+ * @see {@link CancelCacheReportCommandOutput} for command's `response` shape.
56
+ * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
57
+ *
58
+ * @throws {@link InternalServerError} (server fault)
59
+ * <p>An internal server error has occurred during the request. For more information, see the
60
+ * error and message fields.</p>
61
+ *
62
+ * @throws {@link InvalidGatewayRequestException} (client fault)
63
+ * <p>An exception occurred because an invalid gateway request was issued to the service. For
64
+ * more information, see the error and message fields.</p>
65
+ *
66
+ * @throws {@link StorageGatewayServiceException}
67
+ * <p>Base exception class for all service exceptions from StorageGateway service.</p>
68
+ *
69
+ * @public
70
+ */
71
+ export declare class CancelCacheReportCommand extends CancelCacheReportCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: CancelCacheReportInput;
76
+ output: CancelCacheReportOutput;
77
+ };
78
+ sdk: {
79
+ input: CancelCacheReportCommandInput;
80
+ output: CancelCacheReportCommandOutput;
81
+ };
82
+ };
83
+ }