@aws-sdk/client-storage-gateway 3.74.0 → 3.78.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 (30) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/pagination/DescribeTapeArchivesPaginator.js +2 -1
  3. package/dist-cjs/pagination/DescribeTapeRecoveryPointsPaginator.js +2 -1
  4. package/dist-cjs/pagination/DescribeTapesPaginator.js +2 -1
  5. package/dist-cjs/pagination/DescribeVTLDevicesPaginator.js +2 -1
  6. package/dist-cjs/pagination/ListFileSharesPaginator.js +2 -1
  7. package/dist-cjs/pagination/ListFileSystemAssociationsPaginator.js +2 -1
  8. package/dist-cjs/pagination/ListGatewaysPaginator.js +2 -1
  9. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -1
  10. package/dist-cjs/pagination/ListTapePoolsPaginator.js +2 -1
  11. package/dist-cjs/pagination/ListTapesPaginator.js +2 -1
  12. package/dist-cjs/pagination/ListVolumesPaginator.js +2 -1
  13. package/dist-es/pagination/DescribeTapeArchivesPaginator.js +3 -2
  14. package/dist-es/pagination/DescribeTapeRecoveryPointsPaginator.js +3 -2
  15. package/dist-es/pagination/DescribeTapesPaginator.js +3 -2
  16. package/dist-es/pagination/DescribeVTLDevicesPaginator.js +3 -2
  17. package/dist-es/pagination/ListFileSharesPaginator.js +3 -2
  18. package/dist-es/pagination/ListFileSystemAssociationsPaginator.js +3 -2
  19. package/dist-es/pagination/ListGatewaysPaginator.js +3 -2
  20. package/dist-es/pagination/ListTagsForResourcePaginator.js +3 -2
  21. package/dist-es/pagination/ListTapePoolsPaginator.js +3 -2
  22. package/dist-es/pagination/ListTapesPaginator.js +3 -2
  23. package/dist-es/pagination/ListVolumesPaginator.js +3 -2
  24. package/dist-types/StorageGateway.d.ts +26 -9
  25. package/dist-types/commands/AssignTapePoolCommand.d.ts +0 -3
  26. package/dist-types/commands/DeleteSnapshotScheduleCommand.d.ts +2 -2
  27. package/dist-types/commands/NotifyWhenUploadedCommand.d.ts +1 -1
  28. package/dist-types/commands/RefreshCacheCommand.d.ts +23 -3
  29. package/dist-types/models/models_0.d.ts +17 -29
  30. package/package.json +25 -25
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.78.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.77.0...v3.78.0) (2022-04-26)
7
+
8
+
9
+ ### Features
10
+
11
+ * **types:** add pagination stopOnSameToken option ([#3524](https://github.com/aws/aws-sdk-js-v3/issues/3524)) ([9bf73e8](https://github.com/aws/aws-sdk-js-v3/commit/9bf73e81b8d9be9f12c72cbefbe26c502d1873c6))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.76.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.75.0...v3.76.0) (2022-04-22)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-storage-gateway
20
+
21
+
22
+
23
+
24
+
25
+ # [3.75.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.74.0...v3.75.0) (2022-04-21)
26
+
27
+
28
+ ### Features
29
+
30
+ * **client-storage-gateway:** This release adds support for minimum of 5 character length virtual tape barcodes. ([808b04f](https://github.com/aws/aws-sdk-js-v3/commit/808b04f70c60206a97b6bfbebda208181fd0a85b))
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-storage-gateway
@@ -27,8 +27,9 @@ async function* paginateDescribeTapeArchives(config, input, ...additionalArgumen
27
27
  throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeTapeRecoveryPoints(config, input, ...additionalA
27
27
  throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeTapes(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateDescribeVTLDevices(config, input, ...additionalArguments
27
27
  throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListFileShares(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextMarker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListFileSystemAssociations(config, input, ...additionalA
27
27
  throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextMarker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListGateways(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListTagsForResource(config, input, ...additionalArgument
27
27
  throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListTapePools(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListTapes(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListVolumes(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected StorageGateway | StorageGatewayClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.Marker;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -36,7 +36,7 @@ export function paginateDescribeTapeArchives(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeTapeArchives_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeTapeArchives(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateDescribeTapeRecoveryPoints(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeTapeRecoveryPoints_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeTapeRecoveryPoints(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateDescribeTapes(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeTapes_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeTapes(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateDescribeVTLDevices(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateDescribeVTLDevices_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateDescribeVTLDevices(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListFileShares(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListFileShares_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListFileShares(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextMarker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListFileSystemAssociations(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListFileSystemAssociations_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListFileSystemAssociations(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextMarker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListGateways(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListGateways_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListGateways(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListTagsForResource(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListTagsForResource_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListTagsForResource(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListTapePools(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListTapePools_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListTapePools(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListTapes(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListTapes_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListTapes(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListVolumes(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListVolumes_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListVolumes(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.Marker;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -249,9 +249,6 @@ export declare class StorageGateway extends StorageGatewayClient {
249
249
  * the S3 storage class that is associated with the pool. When you use your backup application
250
250
  * to eject the tape, the tape is archived directly into the S3 storage class (S3 Glacier or
251
251
  * S3 Glacier Deep Archive) that corresponds to the pool.</p>
252
- *
253
- * <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
254
- * </p>
255
252
  */
256
253
  assignTapePool(args: AssignTapePoolCommandInput, options?: __HttpHandlerOptions): Promise<AssignTapePoolCommandOutput>;
257
254
  assignTapePool(args: AssignTapePoolCommandInput, cb: (err: any, data?: AssignTapePoolCommandOutput) => void): void;
@@ -528,8 +525,8 @@ export declare class StorageGateway extends StorageGatewayClient {
528
525
  * action enables you to delete a snapshot schedule for a volume. For more information, see
529
526
  * <a href="https://docs.aws.amazon.com/storagegateway/latest/userguide/backing-up-volumes.html">Backing up your
530
527
  * volumes</a>. In the <code>DeleteSnapshotSchedule</code> request, you identify the
531
- * volume by providing its Amazon Resource Name (ARN). This operation is only supported in
532
- * stored and cached volume gateway types.</p>
528
+ * volume by providing its Amazon Resource Name (ARN). This operation is only supported for
529
+ * cached volume gateway types.</p>
533
530
  *
534
531
  * <note>
535
532
  *
@@ -948,7 +945,7 @@ export declare class StorageGateway extends StorageGatewayClient {
948
945
  listVolumes(args: ListVolumesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVolumesCommandOutput) => void): void;
949
946
  /**
950
947
  * <p>Sends you notification through CloudWatch Events when all files written to your file
951
- * share have been uploaded to Amazon S3.</p>
948
+ * share have been uploaded to S3. Amazon S3.</p>
952
949
  *
953
950
  * <p>Storage Gateway can send a notification through Amazon CloudWatch Events when all
954
951
  * files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the file share up to the time that you
@@ -971,6 +968,7 @@ export declare class StorageGateway extends StorageGatewayClient {
971
968
  * does not import files into the S3 File Gateway cache storage. It only updates the cached
972
969
  * inventory to reflect changes in the inventory of the objects in the S3 bucket. This
973
970
  * operation is only supported in the S3 File Gateway types.</p>
971
+ *
974
972
  * <p>You can subscribe to be notified through an Amazon CloudWatch event when your
975
973
  * <code>RefreshCache</code> operation completes. For more information, see <a href="https://docs.aws.amazon.com/storagegateway/latest/userguide/monitoring-file-gateway.html#get-notification">Getting notified about file operations</a> in the <i>Storage Gateway
976
974
  * User Guide</i>. This operation is Only supported for S3 File Gateways.</p>
@@ -987,9 +985,28 @@ export declare class StorageGateway extends StorageGatewayClient {
987
985
  * notification before issuing additional requests. For more information, see <a href="https://docs.aws.amazon.com/storagegateway/latest/userguide/monitoring-file-gateway.html#get-notification">Getting notified about file operations</a> in the <i>Storage Gateway
988
986
  * User Guide</i>.</p>
989
987
  *
990
- * <p>If you invoke the RefreshCache API when two requests are already being processed, any
991
- * new request will cause an <code>InvalidGatewayRequestException</code> error because too
992
- * many requests were sent to the server.</p>
988
+ * <important>
989
+ * <ul>
990
+ * <li>
991
+ * <p>Wait at least 60 seconds between consecutive RefreshCache API requests.</p>
992
+ * </li>
993
+ * <li>
994
+ * <p>RefreshCache does not evict cache entries if invoked consecutively within 60
995
+ * seconds of a previous RefreshCache request.</p>
996
+ * </li>
997
+ * <li>
998
+ * <p>If you invoke the RefreshCache API when two requests are already being
999
+ * processed, any new request will cause an
1000
+ * <code>InvalidGatewayRequestException</code> error because too many requests
1001
+ * were sent to the server.</p>
1002
+ * </li>
1003
+ * </ul>
1004
+ * </important>
1005
+ *
1006
+ * <note>
1007
+ * <p>The S3 bucket name does not need to be included when entering the list of folders in
1008
+ * the FolderList parameter.</p>
1009
+ * </note>
993
1010
  *
994
1011
  *
995
1012
  *
@@ -11,9 +11,6 @@ export interface AssignTapePoolCommandOutput extends AssignTapePoolOutput, __Met
11
11
  * the S3 storage class that is associated with the pool. When you use your backup application
12
12
  * to eject the tape, the tape is archived directly into the S3 storage class (S3 Glacier or
13
13
  * S3 Glacier Deep Archive) that corresponds to the pool.</p>
14
- *
15
- * <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
16
- * </p>
17
14
  * @example
18
15
  * Use a bare-bones client and the command you need to make an API call.
19
16
  * ```javascript
@@ -13,8 +13,8 @@ export interface DeleteSnapshotScheduleCommandOutput extends DeleteSnapshotSched
13
13
  * action enables you to delete a snapshot schedule for a volume. For more information, see
14
14
  * <a href="https://docs.aws.amazon.com/storagegateway/latest/userguide/backing-up-volumes.html">Backing up your
15
15
  * volumes</a>. In the <code>DeleteSnapshotSchedule</code> request, you identify the
16
- * volume by providing its Amazon Resource Name (ARN). This operation is only supported in
17
- * stored and cached volume gateway types.</p>
16
+ * volume by providing its Amazon Resource Name (ARN). This operation is only supported for
17
+ * cached volume gateway types.</p>
18
18
  *
19
19
  * <note>
20
20
  *
@@ -8,7 +8,7 @@ export interface NotifyWhenUploadedCommandOutput extends NotifyWhenUploadedOutpu
8
8
  }
9
9
  /**
10
10
  * <p>Sends you notification through CloudWatch Events when all files written to your file
11
- * share have been uploaded to Amazon S3.</p>
11
+ * share have been uploaded to S3. Amazon S3.</p>
12
12
  *
13
13
  * <p>Storage Gateway can send a notification through Amazon CloudWatch Events when all
14
14
  * files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the file share up to the time that you
@@ -13,6 +13,7 @@ export interface RefreshCacheCommandOutput extends RefreshCacheOutput, __Metadat
13
13
  * does not import files into the S3 File Gateway cache storage. It only updates the cached
14
14
  * inventory to reflect changes in the inventory of the objects in the S3 bucket. This
15
15
  * operation is only supported in the S3 File Gateway types.</p>
16
+ *
16
17
  * <p>You can subscribe to be notified through an Amazon CloudWatch event when your
17
18
  * <code>RefreshCache</code> operation completes. For more information, see <a href="https://docs.aws.amazon.com/storagegateway/latest/userguide/monitoring-file-gateway.html#get-notification">Getting notified about file operations</a> in the <i>Storage Gateway
18
19
  * User Guide</i>. This operation is Only supported for S3 File Gateways.</p>
@@ -29,9 +30,28 @@ export interface RefreshCacheCommandOutput extends RefreshCacheOutput, __Metadat
29
30
  * notification before issuing additional requests. For more information, see <a href="https://docs.aws.amazon.com/storagegateway/latest/userguide/monitoring-file-gateway.html#get-notification">Getting notified about file operations</a> in the <i>Storage Gateway
30
31
  * User Guide</i>.</p>
31
32
  *
32
- * <p>If you invoke the RefreshCache API when two requests are already being processed, any
33
- * new request will cause an <code>InvalidGatewayRequestException</code> error because too
34
- * many requests were sent to the server.</p>
33
+ * <important>
34
+ * <ul>
35
+ * <li>
36
+ * <p>Wait at least 60 seconds between consecutive RefreshCache API requests.</p>
37
+ * </li>
38
+ * <li>
39
+ * <p>RefreshCache does not evict cache entries if invoked consecutively within 60
40
+ * seconds of a previous RefreshCache request.</p>
41
+ * </li>
42
+ * <li>
43
+ * <p>If you invoke the RefreshCache API when two requests are already being
44
+ * processed, any new request will cause an
45
+ * <code>InvalidGatewayRequestException</code> error because too many requests
46
+ * were sent to the server.</p>
47
+ * </li>
48
+ * </ul>
49
+ * </important>
50
+ *
51
+ * <note>
52
+ * <p>The S3 bucket name does not need to be included when entering the list of folders in
53
+ * the FolderList parameter.</p>
54
+ * </note>
35
55
  *
36
56
  *
37
57
  *
@@ -398,9 +398,6 @@ export interface AssignTapePoolInput {
398
398
  * pool is archived in the S3 storage class that is associated with the pool. When you use
399
399
  * your backup application to eject the tape, the tape is archived directly into the storage
400
400
  * class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.</p>
401
- *
402
- * <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
403
- * </p>
404
401
  */
405
402
  PoolId: string | undefined;
406
403
  /**
@@ -629,9 +626,6 @@ export interface AutomaticTapeCreationRule {
629
626
  * When you use your backup application to eject the tape, the tape is archived directly into
630
627
  * the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the
631
628
  * pool.</p>
632
- *
633
- * <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
634
- * </p>
635
629
  */
636
630
  PoolId: string | undefined;
637
631
  /**
@@ -828,6 +822,12 @@ export interface CachediSCSIVolume {
828
822
  * <note>
829
823
  * <p>This value is not available for volumes created prior to May 13, 2015, until you
830
824
  * store data on the volume.</p>
825
+ *
826
+ * <p>If you use a delete tool that overwrites the data on your volume with random data,
827
+ * your usage will not be reduced. This is because the random data is not compressible. If
828
+ * you want to reduce the amount of billed storage on your volume, we recommend overwriting
829
+ * your files with zeros to compress the data to a negligible amount of actual
830
+ * storage.</p>
831
831
  * </note>
832
832
  */
833
833
  VolumeUsedInBytes?: number;
@@ -1163,7 +1163,7 @@ export interface CreateNFSFileShareInput {
1163
1163
  LocationARN: string | undefined;
1164
1164
  /**
1165
1165
  * <p>The default storage class for objects put into an Amazon S3 bucket by the S3
1166
- * File Gateway. The default value is <code>S3_INTELLIGENT_TIERING</code>. Optional.</p>
1166
+ * File Gateway. The default value is <code>S3_STANDARD</code>. Optional.</p>
1167
1167
  *
1168
1168
  * <p>Valid Values: <code>S3_STANDARD</code> | <code>S3_INTELLIGENT_TIERING</code> |
1169
1169
  * <code>S3_STANDARD_IA</code> | <code>S3_ONEZONE_IA</code>
@@ -1395,7 +1395,7 @@ export interface CreateSMBFileShareInput {
1395
1395
  LocationARN: string | undefined;
1396
1396
  /**
1397
1397
  * <p>The default storage class for objects put into an Amazon S3 bucket by the S3
1398
- * File Gateway. The default value is <code>S3_INTELLIGENT_TIERING</code>. Optional.</p>
1398
+ * File Gateway. The default value is <code>S3_STANDARD</code>. Optional.</p>
1399
1399
  *
1400
1400
  * <p>Valid Values: <code>S3_STANDARD</code> | <code>S3_INTELLIGENT_TIERING</code> |
1401
1401
  * <code>S3_STANDARD_IA</code> | <code>S3_ONEZONE_IA</code>
@@ -2004,9 +2004,6 @@ export interface CreateTapesInput {
2004
2004
  * pool is archived in the S3 storage class that is associated with the pool. When you use
2005
2005
  * your backup application to eject the tape, the tape is archived directly into the storage
2006
2006
  * class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.</p>
2007
- *
2008
- * <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
2009
- * </p>
2010
2007
  */
2011
2008
  PoolId?: string;
2012
2009
  /**
@@ -2095,9 +2092,6 @@ export interface CreateTapeWithBarcodeInput {
2095
2092
  * pool is archived in the S3 storage class that is associated with the pool. When you use
2096
2093
  * your backup application to eject the tape, the tape is archived directly into the storage
2097
2094
  * class (S3 Glacier or S3 Deep Archive) that corresponds to the pool.</p>
2098
- *
2099
- * <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
2100
- * </p>
2101
2095
  */
2102
2096
  PoolId?: string;
2103
2097
  /**
@@ -2956,7 +2950,9 @@ export interface DescribeGatewayInformationOutput {
2956
2950
  NextUpdateAvailabilityDate?: string;
2957
2951
  /**
2958
2952
  * <p>The date on which the last software update was applied to the gateway. If the gateway
2959
- * has never been updated, this field does not return a value in the response.</p>
2953
+ * has never been updated, this field does not return a value in the response. This only only
2954
+ * exist and returns once it have been chosen and set by the SGW service, based on the OS
2955
+ * version of the gateway VM</p>
2960
2956
  */
2961
2957
  LastSoftwareUpdate?: string;
2962
2958
  /**
@@ -2980,7 +2976,8 @@ export interface DescribeGatewayInformationOutput {
2980
2976
  VPCEndpoint?: string;
2981
2977
  /**
2982
2978
  * <p>The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to
2983
- * monitor events in the gateway.</p>
2979
+ * monitor events in the gateway. This field only only exist and returns once it have been
2980
+ * chosen and set by the SGW service, based on the OS version of the gateway VM</p>
2984
2981
  */
2985
2982
  CloudWatchLogGroupARN?: string;
2986
2983
  /**
@@ -3218,7 +3215,7 @@ export interface NFSFileShareInfo {
3218
3215
  LocationARN?: string;
3219
3216
  /**
3220
3217
  * <p>The default storage class for objects put into an Amazon S3 bucket by the S3
3221
- * File Gateway. The default value is <code>S3_INTELLIGENT_TIERING</code>. Optional.</p>
3218
+ * File Gateway. The default value is <code>S3_STANDARD</code>. Optional.</p>
3222
3219
  *
3223
3220
  * <p>Valid Values: <code>S3_STANDARD</code> | <code>S3_INTELLIGENT_TIERING</code> |
3224
3221
  * <code>S3_STANDARD_IA</code> | <code>S3_ONEZONE_IA</code>
@@ -3477,7 +3474,7 @@ export interface SMBFileShareInfo {
3477
3474
  LocationARN?: string;
3478
3475
  /**
3479
3476
  * <p>The default storage class for objects put into an Amazon S3 bucket by the S3
3480
- * File Gateway. The default value is <code>S3_INTELLIGENT_TIERING</code>. Optional.</p>
3477
+ * File Gateway. The default value is <code>S3_STANDARD</code>. Optional.</p>
3481
3478
  *
3482
3479
  * <p>Valid Values: <code>S3_STANDARD</code> | <code>S3_INTELLIGENT_TIERING</code> |
3483
3480
  * <code>S3_STANDARD_IA</code> | <code>S3_ONEZONE_IA</code>
@@ -4162,9 +4159,6 @@ export interface TapeArchive {
4162
4159
  /**
4163
4160
  * <p>The ID of the pool that was used to archive the tape. The tapes in this pool are
4164
4161
  * archived in the S3 storage class that is associated with the pool.</p>
4165
- *
4166
- * <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
4167
- * </p>
4168
4162
  */
4169
4163
  PoolId?: string;
4170
4164
  /**
@@ -4393,9 +4387,6 @@ export interface Tape {
4393
4387
  * archived in the S3 storage class that is associated with the pool. When you use your backup
4394
4388
  * application to eject the tape, the tape is archived directly into the storage class (S3
4395
4389
  * Glacier or S3 Glacier Deep Archive) that corresponds to the pool.</p>
4396
- *
4397
- * <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
4398
- * </p>
4399
4390
  */
4400
4391
  PoolId?: string;
4401
4392
  /**
@@ -5465,9 +5456,6 @@ export interface TapeInfo {
5465
5456
  * pool is archived in the S3 storage class that is associated with the pool. When you use
5466
5457
  * your backup application to eject the tape, the tape is archived directly into the storage
5467
5458
  * class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.</p>
5468
- *
5469
- * <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
5470
- * </p>
5471
5459
  */
5472
5460
  PoolId?: string;
5473
5461
  /**
@@ -6570,7 +6558,7 @@ export interface UpdateNFSFileShareInput {
6570
6558
  NFSFileShareDefaults?: NFSFileShareDefaults;
6571
6559
  /**
6572
6560
  * <p>The default storage class for objects put into an Amazon S3 bucket by the S3
6573
- * File Gateway. The default value is <code>S3_INTELLIGENT_TIERING</code>. Optional.</p>
6561
+ * File Gateway. The default value is <code>S3_STANDARD</code>. Optional.</p>
6574
6562
  *
6575
6563
  * <p>Valid Values: <code>S3_STANDARD</code> | <code>S3_INTELLIGENT_TIERING</code> |
6576
6564
  * <code>S3_STANDARD_IA</code> | <code>S3_ONEZONE_IA</code>
@@ -6733,7 +6721,7 @@ export interface UpdateSMBFileShareInput {
6733
6721
  KMSKey?: string;
6734
6722
  /**
6735
6723
  * <p>The default storage class for objects put into an Amazon S3 bucket by the S3
6736
- * File Gateway. The default value is <code>S3_INTELLIGENT_TIERING</code>. Optional.</p>
6724
+ * File Gateway. The default value is <code>S3_STANDARD</code>. Optional.</p>
6737
6725
  *
6738
6726
  * <p>Valid Values: <code>S3_STANDARD</code> | <code>S3_INTELLIGENT_TIERING</code> |
6739
6727
  * <code>S3_STANDARD_IA</code> | <code>S3_ONEZONE_IA</code>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-storage-gateway",
3
3
  "description": "AWS SDK for JavaScript Storage Gateway Client for Node.js, Browser and React Native",
4
- "version": "3.74.0",
4
+ "version": "3.78.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.74.0",
22
- "@aws-sdk/config-resolver": "3.58.0",
23
- "@aws-sdk/credential-provider-node": "3.74.0",
24
- "@aws-sdk/fetch-http-handler": "3.58.0",
25
- "@aws-sdk/hash-node": "3.55.0",
26
- "@aws-sdk/invalid-dependency": "3.55.0",
27
- "@aws-sdk/middleware-content-length": "3.58.0",
28
- "@aws-sdk/middleware-host-header": "3.58.0",
29
- "@aws-sdk/middleware-logger": "3.55.0",
30
- "@aws-sdk/middleware-retry": "3.58.0",
31
- "@aws-sdk/middleware-serde": "3.55.0",
32
- "@aws-sdk/middleware-signing": "3.58.0",
33
- "@aws-sdk/middleware-stack": "3.55.0",
34
- "@aws-sdk/middleware-user-agent": "3.58.0",
35
- "@aws-sdk/node-config-provider": "3.58.0",
36
- "@aws-sdk/node-http-handler": "3.74.0",
37
- "@aws-sdk/protocol-http": "3.58.0",
38
- "@aws-sdk/smithy-client": "3.72.0",
39
- "@aws-sdk/types": "3.55.0",
40
- "@aws-sdk/url-parser": "3.55.0",
21
+ "@aws-sdk/client-sts": "3.78.0",
22
+ "@aws-sdk/config-resolver": "3.78.0",
23
+ "@aws-sdk/credential-provider-node": "3.78.0",
24
+ "@aws-sdk/fetch-http-handler": "3.78.0",
25
+ "@aws-sdk/hash-node": "3.78.0",
26
+ "@aws-sdk/invalid-dependency": "3.78.0",
27
+ "@aws-sdk/middleware-content-length": "3.78.0",
28
+ "@aws-sdk/middleware-host-header": "3.78.0",
29
+ "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-retry": "3.78.0",
31
+ "@aws-sdk/middleware-serde": "3.78.0",
32
+ "@aws-sdk/middleware-signing": "3.78.0",
33
+ "@aws-sdk/middleware-stack": "3.78.0",
34
+ "@aws-sdk/middleware-user-agent": "3.78.0",
35
+ "@aws-sdk/node-config-provider": "3.78.0",
36
+ "@aws-sdk/node-http-handler": "3.78.0",
37
+ "@aws-sdk/protocol-http": "3.78.0",
38
+ "@aws-sdk/smithy-client": "3.78.0",
39
+ "@aws-sdk/types": "3.78.0",
40
+ "@aws-sdk/url-parser": "3.78.0",
41
41
  "@aws-sdk/util-base64-browser": "3.58.0",
42
42
  "@aws-sdk/util-base64-node": "3.55.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
44
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.72.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.72.0",
47
- "@aws-sdk/util-user-agent-browser": "3.58.0",
48
- "@aws-sdk/util-user-agent-node": "3.58.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.78.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.78.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.78.0",
48
+ "@aws-sdk/util-user-agent-node": "3.78.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.55.0",
50
50
  "@aws-sdk/util-utf8-node": "3.55.0",
51
51
  "tslib": "^2.3.1"