Skip to content

Commit 808b04f

Browse files
author
awstools
committed
feat(client-storage-gateway): This release adds support for minimum of 5 character length virtual tape barcodes.
1 parent 1103688 commit 808b04f

File tree

7 files changed

+91
-69
lines changed

7 files changed

+91
-69
lines changed

clients/client-storage-gateway/src/StorageGateway.ts

+26-9
Original file line numberDiff line numberDiff line change
@@ -707,9 +707,6 @@ export class StorageGateway extends StorageGatewayClient {
707707
* the S3 storage class that is associated with the pool. When you use your backup application
708708
* to eject the tape, the tape is archived directly into the S3 storage class (S3 Glacier or
709709
* S3 Glacier Deep Archive) that corresponds to the pool.</p>
710-
*
711-
* <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
712-
* </p>
713710
*/
714711
public assignTapePool(
715712
args: AssignTapePoolCommandInput,
@@ -1473,8 +1470,8 @@ export class StorageGateway extends StorageGatewayClient {
14731470
* action enables you to delete a snapshot schedule for a volume. For more information, see
14741471
* <a href="https://docs.aws.amazon.com/storagegateway/latest/userguide/backing-up-volumes.html">Backing up your
14751472
* volumes</a>. In the <code>DeleteSnapshotSchedule</code> request, you identify the
1476-
* volume by providing its Amazon Resource Name (ARN). This operation is only supported in
1477-
* stored and cached volume gateway types.</p>
1473+
* volume by providing its Amazon Resource Name (ARN). This operation is only supported for
1474+
* cached volume gateway types.</p>
14781475
*
14791476
* <note>
14801477
*
@@ -2900,7 +2897,7 @@ export class StorageGateway extends StorageGatewayClient {
29002897

29012898
/**
29022899
* <p>Sends you notification through CloudWatch Events when all files written to your file
2903-
* share have been uploaded to Amazon S3.</p>
2900+
* share have been uploaded to S3. Amazon S3.</p>
29042901
*
29052902
* <p>Storage Gateway can send a notification through Amazon CloudWatch Events when all
29062903
* 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
@@ -2949,6 +2946,7 @@ export class StorageGateway extends StorageGatewayClient {
29492946
* does not import files into the S3 File Gateway cache storage. It only updates the cached
29502947
* inventory to reflect changes in the inventory of the objects in the S3 bucket. This
29512948
* operation is only supported in the S3 File Gateway types.</p>
2949+
*
29522950
* <p>You can subscribe to be notified through an Amazon CloudWatch event when your
29532951
* <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
29542952
* User Guide</i>. This operation is Only supported for S3 File Gateways.</p>
@@ -2965,9 +2963,28 @@ export class StorageGateway extends StorageGatewayClient {
29652963
* 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
29662964
* User Guide</i>.</p>
29672965
*
2968-
* <p>If you invoke the RefreshCache API when two requests are already being processed, any
2969-
* new request will cause an <code>InvalidGatewayRequestException</code> error because too
2970-
* many requests were sent to the server.</p>
2966+
* <important>
2967+
* <ul>
2968+
* <li>
2969+
* <p>Wait at least 60 seconds between consecutive RefreshCache API requests.</p>
2970+
* </li>
2971+
* <li>
2972+
* <p>RefreshCache does not evict cache entries if invoked consecutively within 60
2973+
* seconds of a previous RefreshCache request.</p>
2974+
* </li>
2975+
* <li>
2976+
* <p>If you invoke the RefreshCache API when two requests are already being
2977+
* processed, any new request will cause an
2978+
* <code>InvalidGatewayRequestException</code> error because too many requests
2979+
* were sent to the server.</p>
2980+
* </li>
2981+
* </ul>
2982+
* </important>
2983+
*
2984+
* <note>
2985+
* <p>The S3 bucket name does not need to be included when entering the list of folders in
2986+
* the FolderList parameter.</p>
2987+
* </note>
29712988
*
29722989
*
29732990
*

clients/client-storage-gateway/src/commands/AssignTapePoolCommand.ts

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ export interface AssignTapePoolCommandOutput extends AssignTapePoolOutput, __Met
2626
* the S3 storage class that is associated with the pool. When you use your backup application
2727
* to eject the tape, the tape is archived directly into the S3 storage class (S3 Glacier or
2828
* S3 Glacier Deep Archive) that corresponds to the pool.</p>
29-
*
30-
* <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
31-
* </p>
3229
* @example
3330
* Use a bare-bones client and the command you need to make an API call.
3431
* ```javascript

clients/client-storage-gateway/src/commands/DeleteSnapshotScheduleCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export interface DeleteSnapshotScheduleCommandOutput extends DeleteSnapshotSched
2828
* action enables you to delete a snapshot schedule for a volume. For more information, see
2929
* <a href="https://docs.aws.amazon.com/storagegateway/latest/userguide/backing-up-volumes.html">Backing up your
3030
* volumes</a>. In the <code>DeleteSnapshotSchedule</code> request, you identify the
31-
* volume by providing its Amazon Resource Name (ARN). This operation is only supported in
32-
* stored and cached volume gateway types.</p>
31+
* volume by providing its Amazon Resource Name (ARN). This operation is only supported for
32+
* cached volume gateway types.</p>
3333
*
3434
* <note>
3535
*

clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface NotifyWhenUploadedCommandOutput extends NotifyWhenUploadedOutpu
2323

2424
/**
2525
* <p>Sends you notification through CloudWatch Events when all files written to your file
26-
* share have been uploaded to Amazon S3.</p>
26+
* share have been uploaded to S3. Amazon S3.</p>
2727
*
2828
* <p>Storage Gateway can send a notification through Amazon CloudWatch Events when all
2929
* 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

clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts

+23-3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export interface RefreshCacheCommandOutput extends RefreshCacheOutput, __Metadat
2828
* does not import files into the S3 File Gateway cache storage. It only updates the cached
2929
* inventory to reflect changes in the inventory of the objects in the S3 bucket. This
3030
* operation is only supported in the S3 File Gateway types.</p>
31+
*
3132
* <p>You can subscribe to be notified through an Amazon CloudWatch event when your
3233
* <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
3334
* User Guide</i>. This operation is Only supported for S3 File Gateways.</p>
@@ -44,9 +45,28 @@ export interface RefreshCacheCommandOutput extends RefreshCacheOutput, __Metadat
4445
* 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
4546
* User Guide</i>.</p>
4647
*
47-
* <p>If you invoke the RefreshCache API when two requests are already being processed, any
48-
* new request will cause an <code>InvalidGatewayRequestException</code> error because too
49-
* many requests were sent to the server.</p>
48+
* <important>
49+
* <ul>
50+
* <li>
51+
* <p>Wait at least 60 seconds between consecutive RefreshCache API requests.</p>
52+
* </li>
53+
* <li>
54+
* <p>RefreshCache does not evict cache entries if invoked consecutively within 60
55+
* seconds of a previous RefreshCache request.</p>
56+
* </li>
57+
* <li>
58+
* <p>If you invoke the RefreshCache API when two requests are already being
59+
* processed, any new request will cause an
60+
* <code>InvalidGatewayRequestException</code> error because too many requests
61+
* were sent to the server.</p>
62+
* </li>
63+
* </ul>
64+
* </important>
65+
*
66+
* <note>
67+
* <p>The S3 bucket name does not need to be included when entering the list of folders in
68+
* the FolderList parameter.</p>
69+
* </note>
5070
*
5171
*
5272
*

clients/client-storage-gateway/src/models/models_0.ts

+17-29
Original file line numberDiff line numberDiff line change
@@ -552,9 +552,6 @@ export interface AssignTapePoolInput {
552552
* pool is archived in the S3 storage class that is associated with the pool. When you use
553553
* your backup application to eject the tape, the tape is archived directly into the storage
554554
* class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.</p>
555-
*
556-
* <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
557-
* </p>
558555
*/
559556
PoolId: string | undefined;
560557

@@ -831,9 +828,6 @@ export interface AutomaticTapeCreationRule {
831828
* When you use your backup application to eject the tape, the tape is archived directly into
832829
* the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the
833830
* pool.</p>
834-
*
835-
* <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
836-
* </p>
837831
*/
838832
PoolId: string | undefined;
839833

@@ -1071,6 +1065,12 @@ export interface CachediSCSIVolume {
10711065
* <note>
10721066
* <p>This value is not available for volumes created prior to May 13, 2015, until you
10731067
* store data on the volume.</p>
1068+
*
1069+
* <p>If you use a delete tool that overwrites the data on your volume with random data,
1070+
* your usage will not be reduced. This is because the random data is not compressible. If
1071+
* you want to reduce the amount of billed storage on your volume, we recommend overwriting
1072+
* your files with zeros to compress the data to a negligible amount of actual
1073+
* storage.</p>
10741074
* </note>
10751075
*/
10761076
VolumeUsedInBytes?: number;
@@ -1480,7 +1480,7 @@ export interface CreateNFSFileShareInput {
14801480

14811481
/**
14821482
* <p>The default storage class for objects put into an Amazon S3 bucket by the S3
1483-
* File Gateway. The default value is <code>S3_INTELLIGENT_TIERING</code>. Optional.</p>
1483+
* File Gateway. The default value is <code>S3_STANDARD</code>. Optional.</p>
14841484
*
14851485
* <p>Valid Values: <code>S3_STANDARD</code> | <code>S3_INTELLIGENT_TIERING</code> |
14861486
* <code>S3_STANDARD_IA</code> | <code>S3_ONEZONE_IA</code>
@@ -1739,7 +1739,7 @@ export interface CreateSMBFileShareInput {
17391739

17401740
/**
17411741
* <p>The default storage class for objects put into an Amazon S3 bucket by the S3
1742-
* File Gateway. The default value is <code>S3_INTELLIGENT_TIERING</code>. Optional.</p>
1742+
* File Gateway. The default value is <code>S3_STANDARD</code>. Optional.</p>
17431743
*
17441744
* <p>Valid Values: <code>S3_STANDARD</code> | <code>S3_INTELLIGENT_TIERING</code> |
17451745
* <code>S3_STANDARD_IA</code> | <code>S3_ONEZONE_IA</code>
@@ -2447,9 +2447,6 @@ export interface CreateTapesInput {
24472447
* pool is archived in the S3 storage class that is associated with the pool. When you use
24482448
* your backup application to eject the tape, the tape is archived directly into the storage
24492449
* class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.</p>
2450-
*
2451-
* <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
2452-
* </p>
24532450
*/
24542451
PoolId?: string;
24552452

@@ -2553,9 +2550,6 @@ export interface CreateTapeWithBarcodeInput {
25532550
* pool is archived in the S3 storage class that is associated with the pool. When you use
25542551
* your backup application to eject the tape, the tape is archived directly into the storage
25552552
* class (S3 Glacier or S3 Deep Archive) that corresponds to the pool.</p>
2556-
*
2557-
* <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
2558-
* </p>
25592553
*/
25602554
PoolId?: string;
25612555

@@ -3617,7 +3611,9 @@ export interface DescribeGatewayInformationOutput {
36173611

36183612
/**
36193613
* <p>The date on which the last software update was applied to the gateway. If the gateway
3620-
* has never been updated, this field does not return a value in the response.</p>
3614+
* has never been updated, this field does not return a value in the response. This only only
3615+
* exist and returns once it have been chosen and set by the SGW service, based on the OS
3616+
* version of the gateway VM</p>
36213617
*/
36223618
LastSoftwareUpdate?: string;
36233619

@@ -3646,7 +3642,8 @@ export interface DescribeGatewayInformationOutput {
36463642

36473643
/**
36483644
* <p>The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to
3649-
* monitor events in the gateway.</p>
3645+
* monitor events in the gateway. This field only only exist and returns once it have been
3646+
* chosen and set by the SGW service, based on the OS version of the gateway VM</p>
36503647
*/
36513648
CloudWatchLogGroupARN?: string;
36523649

@@ -3922,7 +3919,7 @@ export interface NFSFileShareInfo {
39223919

39233920
/**
39243921
* <p>The default storage class for objects put into an Amazon S3 bucket by the S3
3925-
* File Gateway. The default value is <code>S3_INTELLIGENT_TIERING</code>. Optional.</p>
3922+
* File Gateway. The default value is <code>S3_STANDARD</code>. Optional.</p>
39263923
*
39273924
* <p>Valid Values: <code>S3_STANDARD</code> | <code>S3_INTELLIGENT_TIERING</code> |
39283925
* <code>S3_STANDARD_IA</code> | <code>S3_ONEZONE_IA</code>
@@ -4215,7 +4212,7 @@ export interface SMBFileShareInfo {
42154212

42164213
/**
42174214
* <p>The default storage class for objects put into an Amazon S3 bucket by the S3
4218-
* File Gateway. The default value is <code>S3_INTELLIGENT_TIERING</code>. Optional.</p>
4215+
* File Gateway. The default value is <code>S3_STANDARD</code>. Optional.</p>
42194216
*
42204217
* <p>Valid Values: <code>S3_STANDARD</code> | <code>S3_INTELLIGENT_TIERING</code> |
42214218
* <code>S3_STANDARD_IA</code> | <code>S3_ONEZONE_IA</code>
@@ -5000,9 +4997,6 @@ export interface TapeArchive {
50004997
/**
50014998
* <p>The ID of the pool that was used to archive the tape. The tapes in this pool are
50024999
* archived in the S3 storage class that is associated with the pool.</p>
5003-
*
5004-
* <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
5005-
* </p>
50065000
*/
50075001
PoolId?: string;
50085002

@@ -5278,9 +5272,6 @@ export interface Tape {
52785272
* archived in the S3 storage class that is associated with the pool. When you use your backup
52795273
* application to eject the tape, the tape is archived directly into the storage class (S3
52805274
* Glacier or S3 Glacier Deep Archive) that corresponds to the pool.</p>
5281-
*
5282-
* <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
5283-
* </p>
52845275
*/
52855276
PoolId?: string;
52865277

@@ -6588,9 +6579,6 @@ export interface TapeInfo {
65886579
* pool is archived in the S3 storage class that is associated with the pool. When you use
65896580
* your backup application to eject the tape, the tape is archived directly into the storage
65906581
* class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.</p>
6591-
*
6592-
* <p>Valid Values: <code>GLACIER</code> | <code>DEEP_ARCHIVE</code>
6593-
* </p>
65946582
*/
65956583
PoolId?: string;
65966584

@@ -7941,7 +7929,7 @@ export interface UpdateNFSFileShareInput {
79417929

79427930
/**
79437931
* <p>The default storage class for objects put into an Amazon S3 bucket by the S3
7944-
* File Gateway. The default value is <code>S3_INTELLIGENT_TIERING</code>. Optional.</p>
7932+
* File Gateway. The default value is <code>S3_STANDARD</code>. Optional.</p>
79457933
*
79467934
* <p>Valid Values: <code>S3_STANDARD</code> | <code>S3_INTELLIGENT_TIERING</code> |
79477935
* <code>S3_STANDARD_IA</code> | <code>S3_ONEZONE_IA</code>
@@ -8125,7 +8113,7 @@ export interface UpdateSMBFileShareInput {
81258113

81268114
/**
81278115
* <p>The default storage class for objects put into an Amazon S3 bucket by the S3
8128-
* File Gateway. The default value is <code>S3_INTELLIGENT_TIERING</code>. Optional.</p>
8116+
* File Gateway. The default value is <code>S3_STANDARD</code>. Optional.</p>
81298117
*
81308118
* <p>Valid Values: <code>S3_STANDARD</code> | <code>S3_INTELLIGENT_TIERING</code> |
81318119
* <code>S3_STANDARD_IA</code> | <code>S3_ONEZONE_IA</code>

0 commit comments

Comments
 (0)