@aws-sdk/client-storage-gateway 3.496.0 → 3.501.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +31 -30
- package/dist-types/commands/DescribeTapesCommand.d.ts +10 -4
- package/dist-types/commands/ListGatewaysCommand.d.ts +2 -0
- package/dist-types/commands/NotifyWhenUploadedCommand.d.ts +1 -1
- package/dist-types/commands/RefreshCacheCommand.d.ts +9 -6
- package/dist-types/commands/ShutdownGatewayCommand.d.ts +6 -2
- package/dist-types/models/models_0.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -6143,21 +6143,21 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
6143
6143
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6144
6144
|
|
|
6145
6145
|
0 && (module.exports = {
|
|
6146
|
+
StorageGatewayServiceException,
|
|
6147
|
+
__Client,
|
|
6148
|
+
StorageGatewayClient,
|
|
6149
|
+
StorageGateway,
|
|
6150
|
+
$Command,
|
|
6146
6151
|
ActivateGatewayCommand,
|
|
6147
|
-
ActiveDirectoryStatus,
|
|
6148
6152
|
AddCacheCommand,
|
|
6149
6153
|
AddTagsToResourceCommand,
|
|
6150
6154
|
AddUploadBufferCommand,
|
|
6151
6155
|
AddWorkingStorageCommand,
|
|
6152
6156
|
AssignTapePoolCommand,
|
|
6153
6157
|
AssociateFileSystemCommand,
|
|
6154
|
-
AssociateFileSystemInputFilterSensitiveLog,
|
|
6155
6158
|
AttachVolumeCommand,
|
|
6156
|
-
AvailabilityMonitorTestStatus,
|
|
6157
6159
|
CancelArchivalCommand,
|
|
6158
6160
|
CancelRetrievalCommand,
|
|
6159
|
-
CaseSensitivity,
|
|
6160
|
-
ChapInfoFilterSensitiveLog,
|
|
6161
6161
|
CreateCachediSCSIVolumeCommand,
|
|
6162
6162
|
CreateNFSFileShareCommand,
|
|
6163
6163
|
CreateSMBFileShareCommand,
|
|
@@ -6183,10 +6183,8 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
6183
6183
|
DescribeCacheCommand,
|
|
6184
6184
|
DescribeCachediSCSIVolumesCommand,
|
|
6185
6185
|
DescribeChapCredentialsCommand,
|
|
6186
|
-
DescribeChapCredentialsOutputFilterSensitiveLog,
|
|
6187
6186
|
DescribeFileSystemAssociationsCommand,
|
|
6188
6187
|
DescribeGatewayInformationCommand,
|
|
6189
|
-
DescribeGatewayInformationOutputFilterSensitiveLog,
|
|
6190
6188
|
DescribeMaintenanceStartTimeCommand,
|
|
6191
6189
|
DescribeNFSFileSharesCommand,
|
|
6192
6190
|
DescribeSMBFileSharesCommand,
|
|
@@ -6202,14 +6200,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
6202
6200
|
DetachVolumeCommand,
|
|
6203
6201
|
DisableGatewayCommand,
|
|
6204
6202
|
DisassociateFileSystemCommand,
|
|
6205
|
-
ErrorCode,
|
|
6206
|
-
FileShareType,
|
|
6207
|
-
GatewayCapacity,
|
|
6208
|
-
HostEnvironment,
|
|
6209
|
-
InternalServerError,
|
|
6210
|
-
InvalidGatewayRequestException,
|
|
6211
6203
|
JoinDomainCommand,
|
|
6212
|
-
JoinDomainInputFilterSensitiveLog,
|
|
6213
6204
|
ListAutomaticTapeCreationPoliciesCommand,
|
|
6214
6205
|
ListFileSharesCommand,
|
|
6215
6206
|
ListFileSystemAssociationsCommand,
|
|
@@ -6221,36 +6212,22 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
6221
6212
|
ListVolumeInitiatorsCommand,
|
|
6222
6213
|
ListVolumeRecoveryPointsCommand,
|
|
6223
6214
|
ListVolumesCommand,
|
|
6224
|
-
NetworkInterfaceFilterSensitiveLog,
|
|
6225
6215
|
NotifyWhenUploadedCommand,
|
|
6226
|
-
ObjectACL,
|
|
6227
|
-
PoolStatus,
|
|
6228
6216
|
RefreshCacheCommand,
|
|
6229
6217
|
RemoveTagsFromResourceCommand,
|
|
6230
6218
|
ResetCacheCommand,
|
|
6231
|
-
RetentionLockType,
|
|
6232
6219
|
RetrieveTapeArchiveCommand,
|
|
6233
6220
|
RetrieveTapeRecoveryPointCommand,
|
|
6234
|
-
SMBSecurityStrategy,
|
|
6235
|
-
ServiceUnavailableError,
|
|
6236
6221
|
SetLocalConsolePasswordCommand,
|
|
6237
|
-
SetLocalConsolePasswordInputFilterSensitiveLog,
|
|
6238
6222
|
SetSMBGuestPasswordCommand,
|
|
6239
|
-
SetSMBGuestPasswordInputFilterSensitiveLog,
|
|
6240
6223
|
ShutdownGatewayCommand,
|
|
6241
6224
|
StartAvailabilityMonitorTestCommand,
|
|
6242
6225
|
StartGatewayCommand,
|
|
6243
|
-
StorageGateway,
|
|
6244
|
-
StorageGatewayClient,
|
|
6245
|
-
StorageGatewayServiceException,
|
|
6246
|
-
TapeStorageClass,
|
|
6247
6226
|
UpdateAutomaticTapeCreationPolicyCommand,
|
|
6248
6227
|
UpdateBandwidthRateLimitCommand,
|
|
6249
6228
|
UpdateBandwidthRateLimitScheduleCommand,
|
|
6250
6229
|
UpdateChapCredentialsCommand,
|
|
6251
|
-
UpdateChapCredentialsInputFilterSensitiveLog,
|
|
6252
6230
|
UpdateFileSystemAssociationCommand,
|
|
6253
|
-
UpdateFileSystemAssociationInputFilterSensitiveLog,
|
|
6254
6231
|
UpdateGatewayInformationCommand,
|
|
6255
6232
|
UpdateGatewaySoftwareNowCommand,
|
|
6256
6233
|
UpdateMaintenanceStartTimeCommand,
|
|
@@ -6261,7 +6238,6 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
6261
6238
|
UpdateSMBSecurityStrategyCommand,
|
|
6262
6239
|
UpdateSnapshotScheduleCommand,
|
|
6263
6240
|
UpdateVTLDeviceTypeCommand,
|
|
6264
|
-
__Client,
|
|
6265
6241
|
paginateDescribeTapeArchives,
|
|
6266
6242
|
paginateDescribeTapeRecoveryPoints,
|
|
6267
6243
|
paginateDescribeTapes,
|
|
@@ -6272,6 +6248,31 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
6272
6248
|
paginateListTagsForResource,
|
|
6273
6249
|
paginateListTapePools,
|
|
6274
6250
|
paginateListTapes,
|
|
6275
|
-
paginateListVolumes
|
|
6251
|
+
paginateListVolumes,
|
|
6252
|
+
ErrorCode,
|
|
6253
|
+
InternalServerError,
|
|
6254
|
+
InvalidGatewayRequestException,
|
|
6255
|
+
ActiveDirectoryStatus,
|
|
6256
|
+
AvailabilityMonitorTestStatus,
|
|
6257
|
+
CaseSensitivity,
|
|
6258
|
+
ObjectACL,
|
|
6259
|
+
ServiceUnavailableError,
|
|
6260
|
+
RetentionLockType,
|
|
6261
|
+
TapeStorageClass,
|
|
6262
|
+
GatewayCapacity,
|
|
6263
|
+
HostEnvironment,
|
|
6264
|
+
SMBSecurityStrategy,
|
|
6265
|
+
FileShareType,
|
|
6266
|
+
PoolStatus,
|
|
6267
|
+
AssociateFileSystemInputFilterSensitiveLog,
|
|
6268
|
+
ChapInfoFilterSensitiveLog,
|
|
6269
|
+
DescribeChapCredentialsOutputFilterSensitiveLog,
|
|
6270
|
+
NetworkInterfaceFilterSensitiveLog,
|
|
6271
|
+
DescribeGatewayInformationOutputFilterSensitiveLog,
|
|
6272
|
+
JoinDomainInputFilterSensitiveLog,
|
|
6273
|
+
SetLocalConsolePasswordInputFilterSensitiveLog,
|
|
6274
|
+
SetSMBGuestPasswordInputFilterSensitiveLog,
|
|
6275
|
+
UpdateChapCredentialsInputFilterSensitiveLog,
|
|
6276
|
+
UpdateFileSystemAssociationInputFilterSensitiveLog
|
|
6276
6277
|
});
|
|
6277
6278
|
|
|
@@ -26,10 +26,16 @@ declare const DescribeTapesCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Returns a description of
|
|
30
|
-
*
|
|
31
|
-
* associated with the specified gateway. This operation is only supported
|
|
32
|
-
* type.</p>
|
|
29
|
+
* <p>Returns a description of virtual tapes that correspond to the specified Amazon Resource
|
|
30
|
+
* Names (ARNs). If <code>TapeARN</code> is not specified, returns a description of the
|
|
31
|
+
* virtual tapes associated with the specified gateway. This operation is only supported for
|
|
32
|
+
* the tape gateway type.</p>
|
|
33
|
+
* <p>The operation supports pagination. By default, the operation returns a maximum of up to
|
|
34
|
+
* 100 tapes. You can optionally specify the <code>Limit</code> field in the body to limit the
|
|
35
|
+
* number of tapes in the response. If the number of tapes returned in the response is
|
|
36
|
+
* truncated, the response includes a <code>Marker</code> field. You can use this
|
|
37
|
+
* <code>Marker</code> value in your subsequent request to retrieve the next set of
|
|
38
|
+
* tapes.</p>
|
|
33
39
|
* @example
|
|
34
40
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
41
|
* ```javascript
|
|
@@ -59,6 +59,8 @@ declare const ListGatewaysCommand_base: {
|
|
|
59
59
|
* // Ec2InstanceRegion: "STRING_VALUE",
|
|
60
60
|
* // HostEnvironment: "VMWARE" || "HYPER-V" || "EC2" || "KVM" || "OTHER" || "SNOWBALL",
|
|
61
61
|
* // HostEnvironmentId: "STRING_VALUE",
|
|
62
|
+
* // DeprecationDate: "STRING_VALUE",
|
|
63
|
+
* // SoftwareVersion: "STRING_VALUE",
|
|
62
64
|
* // },
|
|
63
65
|
* // ],
|
|
64
66
|
* // Marker: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ declare const NotifyWhenUploadedCommand_base: {
|
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
29
|
* <p>Sends you notification through CloudWatch Events when all files written to your file
|
|
30
|
-
* share have been uploaded to
|
|
30
|
+
* share have been uploaded to Amazon S3.</p>
|
|
31
31
|
* <p>Storage Gateway can send a notification through Amazon CloudWatch Events when all
|
|
32
32
|
* 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
|
|
33
33
|
* make a request for notification. When the upload is done, Storage Gateway sends you
|
|
@@ -33,8 +33,9 @@ declare const RefreshCacheCommand_base: {
|
|
|
33
33
|
* inventory to reflect changes in the inventory of the objects in the S3 bucket. This
|
|
34
34
|
* operation is only supported in the S3 File Gateway types.</p>
|
|
35
35
|
* <p>You can subscribe to be notified through an Amazon CloudWatch event when your
|
|
36
|
-
* <code>RefreshCache</code> operation completes. For more information, see <a href="https://docs.aws.amazon.com/
|
|
37
|
-
*
|
|
36
|
+
* <code>RefreshCache</code> operation completes. For more information, see <a href="https://docs.aws.amazon.com/filegateway/latest/files3/monitoring-file-gateway.html#get-notification">Getting
|
|
37
|
+
* notified about file operations</a> in the <i>Amazon S3 File Gateway User
|
|
38
|
+
* Guide</i>. This operation is Only supported for S3 File Gateways.</p>
|
|
38
39
|
* <p>When this API is called, it only initiates the refresh operation. When the API call
|
|
39
40
|
* completes and returns a success code, it doesn't necessarily mean that the file
|
|
40
41
|
* refresh has completed. You should use the refresh-complete notification to determine that
|
|
@@ -43,8 +44,9 @@ declare const RefreshCacheCommand_base: {
|
|
|
43
44
|
* operation completes.</p>
|
|
44
45
|
* <p>Throttle limit: This API is asynchronous, so the gateway will accept no more than two
|
|
45
46
|
* refreshes at any time. We recommend using the refresh-complete CloudWatch event
|
|
46
|
-
* notification before issuing additional requests. For more information, see <a href="https://docs.aws.amazon.com/
|
|
47
|
-
*
|
|
47
|
+
* notification before issuing additional requests. For more information, see <a href="https://docs.aws.amazon.com/filegateway/latest/files3/monitoring-file-gateway.html#get-notification">Getting
|
|
48
|
+
* notified about file operations</a> in the <i>Amazon S3 File Gateway User
|
|
49
|
+
* Guide</i>.</p>
|
|
48
50
|
* <important>
|
|
49
51
|
* <ul>
|
|
50
52
|
* <li>
|
|
@@ -62,8 +64,9 @@ declare const RefreshCacheCommand_base: {
|
|
|
62
64
|
* <p>The S3 bucket name does not need to be included when entering the list of folders in
|
|
63
65
|
* the FolderList parameter.</p>
|
|
64
66
|
* </note>
|
|
65
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/
|
|
66
|
-
*
|
|
67
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/filegateway/latest/files3/monitoring-file-gateway.html#get-notification">Getting
|
|
68
|
+
* notified about file operations</a> in the <i>Amazon S3 File Gateway User
|
|
69
|
+
* Guide</i>.</p>
|
|
67
70
|
* @example
|
|
68
71
|
* Use a bare-bones client and the command you need to make an API call.
|
|
69
72
|
* ```javascript
|
|
@@ -26,8 +26,12 @@ declare const ShutdownGatewayCommand_base: {
|
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
|
-
* <p>Shuts down a
|
|
30
|
-
* Name (ARN) of the gateway in the body of your request.</p>
|
|
29
|
+
* <p>Shuts down a Tape Gateway or Volume Gateway. To specify which gateway to shut down, use
|
|
30
|
+
* the Amazon Resource Name (ARN) of the gateway in the body of your request.</p>
|
|
31
|
+
* <note>
|
|
32
|
+
* <p>This API action cannot be used to shut down S3 File Gateway or FSx File
|
|
33
|
+
* Gateway.</p>
|
|
34
|
+
* </note>
|
|
31
35
|
* <p>The operation shuts down the gateway service component running in the gateway's
|
|
32
36
|
* virtual machine (VM) and not the host VM.</p>
|
|
33
37
|
* <note>
|
|
@@ -4881,6 +4881,17 @@ export interface GatewayInfo {
|
|
|
4881
4881
|
* host environment type.</p>
|
|
4882
4882
|
*/
|
|
4883
4883
|
HostEnvironmentId?: string;
|
|
4884
|
+
/**
|
|
4885
|
+
* @public
|
|
4886
|
+
* <p>Date after which this gateway will not receive software updates for new features and bug
|
|
4887
|
+
* fixes.</p>
|
|
4888
|
+
*/
|
|
4889
|
+
DeprecationDate?: string;
|
|
4890
|
+
/**
|
|
4891
|
+
* @public
|
|
4892
|
+
* <p>The version number of the software running on the gateway appliance.</p>
|
|
4893
|
+
*/
|
|
4894
|
+
SoftwareVersion?: string;
|
|
4884
4895
|
}
|
|
4885
4896
|
/**
|
|
4886
4897
|
* @public
|
|
@@ -922,6 +922,8 @@ export interface GatewayInfo {
|
|
|
922
922
|
Ec2InstanceRegion?: string;
|
|
923
923
|
HostEnvironment?: HostEnvironment;
|
|
924
924
|
HostEnvironmentId?: string;
|
|
925
|
+
DeprecationDate?: string;
|
|
926
|
+
SoftwareVersion?: string;
|
|
925
927
|
}
|
|
926
928
|
export interface JoinDomainInput {
|
|
927
929
|
GatewayARN: string | undefined;
|
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.
|
|
4
|
+
"version": "3.501.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-storage-gateway",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.501.0",
|
|
24
24
|
"@aws-sdk/core": "3.496.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.501.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.496.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.496.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.496.0",
|