From ee421eae77f20decd856f75776171cd16a1ac719 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 24 Jan 2024 19:19:17 +0000 Subject: [PATCH] feat(client-storage-gateway): Add DeprecationDate and SoftwareVersion to response of ListGateways. --- .../src/commands/DescribeTapesCommand.ts | 14 +++++--- .../src/commands/ListGatewaysCommand.ts | 2 ++ .../src/commands/NotifyWhenUploadedCommand.ts | 2 +- .../src/commands/RefreshCacheCommand.ts | 15 +++++---- .../src/commands/ShutdownGatewayCommand.ts | 8 +++-- .../src/models/models_0.ts | 13 ++++++++ .../aws-models/storage-gateway.json | 33 ++++++++++++++++--- 7 files changed, 70 insertions(+), 17 deletions(-) diff --git a/clients/client-storage-gateway/src/commands/DescribeTapesCommand.ts b/clients/client-storage-gateway/src/commands/DescribeTapesCommand.ts index 667bb076322c4..c021df559e5f9 100644 --- a/clients/client-storage-gateway/src/commands/DescribeTapesCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeTapesCommand.ts @@ -28,10 +28,16 @@ export interface DescribeTapesCommandOutput extends DescribeTapesOutput, __Metad /** * @public - *

Returns a description of the specified Amazon Resource Name (ARN) of virtual tapes. If a - * TapeARN is not specified, returns a description of all virtual tapes - * associated with the specified gateway. This operation is only supported in the tape gateway - * type.

+ *

Returns a description of virtual tapes that correspond to the specified Amazon Resource + * Names (ARNs). If TapeARN is not specified, returns a description of the + * virtual tapes associated with the specified gateway. This operation is only supported for + * the tape gateway type.

+ *

The operation supports pagination. By default, the operation returns a maximum of up to + * 100 tapes. You can optionally specify the Limit field in the body to limit the + * number of tapes in the response. If the number of tapes returned in the response is + * truncated, the response includes a Marker field. You can use this + * Marker value in your subsequent request to retrieve the next set of + * tapes.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-storage-gateway/src/commands/ListGatewaysCommand.ts b/clients/client-storage-gateway/src/commands/ListGatewaysCommand.ts index f23cb26c46a57..4d0f63e8b996f 100644 --- a/clients/client-storage-gateway/src/commands/ListGatewaysCommand.ts +++ b/clients/client-storage-gateway/src/commands/ListGatewaysCommand.ts @@ -61,6 +61,8 @@ export interface ListGatewaysCommandOutput extends ListGatewaysOutput, __Metadat * // Ec2InstanceRegion: "STRING_VALUE", * // HostEnvironment: "VMWARE" || "HYPER-V" || "EC2" || "KVM" || "OTHER" || "SNOWBALL", * // HostEnvironmentId: "STRING_VALUE", + * // DeprecationDate: "STRING_VALUE", + * // SoftwareVersion: "STRING_VALUE", * // }, * // ], * // Marker: "STRING_VALUE", diff --git a/clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts b/clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts index 0fd958ebad119..a27a505fb7ab3 100644 --- a/clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts +++ b/clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts @@ -29,7 +29,7 @@ export interface NotifyWhenUploadedCommandOutput extends NotifyWhenUploadedOutpu /** * @public *

Sends you notification through CloudWatch Events when all files written to your file - * share have been uploaded to S3. Amazon S3.

+ * share have been uploaded to Amazon S3.

*

Storage Gateway can send a notification through Amazon CloudWatch Events when all * 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 * make a request for notification. When the upload is done, Storage Gateway sends you diff --git a/clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts b/clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts index 9212af999090c..9caf444dfd15a 100644 --- a/clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts +++ b/clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts @@ -35,8 +35,9 @@ export interface RefreshCacheCommandOutput extends RefreshCacheOutput, __Metadat * inventory to reflect changes in the inventory of the objects in the S3 bucket. This * operation is only supported in the S3 File Gateway types.

*

You can subscribe to be notified through an Amazon CloudWatch event when your - * RefreshCache operation completes. For more information, see Getting notified about file operations in the Storage Gateway - * User Guide. This operation is Only supported for S3 File Gateways.

+ * RefreshCache operation completes. For more information, see Getting + * notified about file operations in the Amazon S3 File Gateway User + * Guide. This operation is Only supported for S3 File Gateways.

*

When this API is called, it only initiates the refresh operation. When the API call * completes and returns a success code, it doesn't necessarily mean that the file * refresh has completed. You should use the refresh-complete notification to determine that @@ -45,8 +46,9 @@ export interface RefreshCacheCommandOutput extends RefreshCacheOutput, __Metadat * operation completes.

*

Throttle limit: This API is asynchronous, so the gateway will accept no more than two * refreshes at any time. We recommend using the refresh-complete CloudWatch event - * notification before issuing additional requests. For more information, see Getting notified about file operations in the Storage Gateway - * User Guide.

+ * notification before issuing additional requests. For more information, see Getting + * notified about file operations in the Amazon S3 File Gateway User + * Guide.

* *