@aws-sdk/client-storage-gateway 3.287.0 → 3.289.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-types/commands/ActivateGatewayCommand.d.ts +22 -0
- package/dist-types/commands/AddCacheCommand.d.ts +20 -0
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +22 -0
- package/dist-types/commands/AddUploadBufferCommand.d.ts +20 -0
- package/dist-types/commands/AddWorkingStorageCommand.d.ts +20 -0
- package/dist-types/commands/CancelArchivalCommand.d.ts +17 -0
- package/dist-types/commands/CancelRetrievalCommand.d.ts +17 -0
- package/dist-types/commands/CreateCachediSCSIVolumeCommand.d.ts +22 -0
- package/dist-types/commands/CreateSnapshotCommand.d.ts +18 -0
- package/dist-types/commands/CreateSnapshotFromVolumeRecoveryPointCommand.d.ts +19 -0
- package/dist-types/commands/CreateStorediSCSIVolumeCommand.d.ts +23 -0
- package/dist-types/commands/CreateTapeWithBarcodeCommand.d.ts +18 -0
- package/dist-types/commands/CreateTapesCommand.d.ts +24 -0
- package/dist-types/commands/DeleteBandwidthRateLimitCommand.d.ts +17 -0
- package/dist-types/commands/DeleteChapCredentialsCommand.d.ts +18 -0
- package/dist-types/commands/DeleteGatewayCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSnapshotScheduleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTapeArchiveCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTapeCommand.d.ts +17 -0
- package/dist-types/commands/DeleteVolumeCommand.d.ts +16 -0
- package/dist-types/commands/DescribeBandwidthRateLimitCommand.d.ts +18 -0
- package/dist-types/commands/DescribeCacheCommand.d.ts +25 -0
- package/dist-types/commands/DescribeCachediSCSIVolumesCommand.d.ts +33 -0
- package/dist-types/commands/DescribeChapCredentialsCommand.d.ts +23 -0
- package/dist-types/commands/DescribeGatewayInformationCommand.d.ts +28 -0
- package/dist-types/commands/DescribeMaintenanceStartTimeCommand.d.ts +20 -0
- package/dist-types/commands/DescribeSnapshotScheduleCommand.d.ts +20 -0
- package/dist-types/commands/DescribeStorediSCSIVolumesCommand.d.ts +34 -0
- package/dist-types/commands/DescribeTapeArchivesCommand.d.ts +37 -0
- package/dist-types/commands/DescribeTapeRecoveryPointsCommand.d.ts +27 -0
- package/dist-types/commands/DescribeTapesCommand.d.ts +36 -0
- package/dist-types/commands/DescribeUploadBufferCommand.d.ts +44 -0
- package/dist-types/commands/DescribeVTLDevicesCommand.d.ts +58 -0
- package/dist-types/commands/DescribeWorkingStorageCommand.d.ts +22 -0
- package/dist-types/commands/DisableGatewayCommand.d.ts +16 -0
- package/dist-types/commands/ListGatewaysCommand.d.ts +25 -0
- package/dist-types/commands/ListLocalDisksCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +25 -0
- package/dist-types/commands/ListVolumeRecoveryPointsCommand.d.ts +23 -0
- package/dist-types/commands/ListVolumesCommand.d.ts +37 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +20 -0
- package/dist-types/commands/ResetCacheCommand.d.ts +16 -0
- package/dist-types/commands/RetrieveTapeArchiveCommand.d.ts +17 -0
- package/dist-types/commands/RetrieveTapeRecoveryPointCommand.d.ts +17 -0
- package/dist-types/commands/SetLocalConsolePasswordCommand.d.ts +17 -0
- package/dist-types/commands/ShutdownGatewayCommand.d.ts +16 -0
- package/dist-types/commands/StartGatewayCommand.d.ts +16 -0
- package/dist-types/commands/UpdateBandwidthRateLimitCommand.d.ts +18 -0
- package/dist-types/commands/UpdateChapCredentialsCommand.d.ts +20 -0
- package/dist-types/commands/UpdateGatewayInformationCommand.d.ts +19 -0
- package/dist-types/commands/UpdateGatewaySoftwareNowCommand.d.ts +16 -0
- package/dist-types/commands/UpdateMaintenanceStartTimeCommand.d.ts +19 -0
- package/dist-types/commands/UpdateSnapshotScheduleCommand.d.ts +19 -0
- package/dist-types/commands/UpdateVTLDeviceTypeCommand.d.ts +17 -0
- package/package.json +29 -29
|
@@ -30,6 +30,26 @@ export interface RemoveTagsFromResourceCommandOutput extends RemoveTagsFromResou
|
|
|
30
30
|
* @see {@link RemoveTagsFromResourceCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @example To remove tags from a resource
|
|
34
|
+
* ```javascript
|
|
35
|
+
* // Lists the iSCSI stored volumes of a gateway. Removes one or more tags from the specified resource.
|
|
36
|
+
* const input = {
|
|
37
|
+
* "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B",
|
|
38
|
+
* "TagKeys": [
|
|
39
|
+
* "Dev Gatgeway Region",
|
|
40
|
+
* "East Coast"
|
|
41
|
+
* ]
|
|
42
|
+
* };
|
|
43
|
+
* const command = new RemoveTagsFromResourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* /* response ==
|
|
46
|
+
* {
|
|
47
|
+
* "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B"
|
|
48
|
+
* }
|
|
49
|
+
* *\/
|
|
50
|
+
* // example id: to-remove-tags-from-a-resource-1472147210553
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
33
53
|
*/
|
|
34
54
|
export declare class RemoveTagsFromResourceCommand extends $Command<RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
35
55
|
readonly input: RemoveTagsFromResourceCommandInput;
|
|
@@ -41,6 +41,22 @@ export interface ResetCacheCommandOutput extends ResetCacheOutput, __MetadataBea
|
|
|
41
41
|
* @see {@link ResetCacheCommandOutput} for command's `response` shape.
|
|
42
42
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
43
43
|
*
|
|
44
|
+
* @example To reset cache disks in error status
|
|
45
|
+
* ```javascript
|
|
46
|
+
* // Resets all cache disks that have encountered a error and makes the disks available for reconfiguration as cache storage.
|
|
47
|
+
* const input = {
|
|
48
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-13B4567C"
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ResetCacheCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* /* response ==
|
|
53
|
+
* {
|
|
54
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-13B4567C"
|
|
55
|
+
* }
|
|
56
|
+
* *\/
|
|
57
|
+
* // example id: to-reset-cache-disks-in-error-status-1472148909807
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
44
60
|
*/
|
|
45
61
|
export declare class ResetCacheCommand extends $Command<ResetCacheCommandInput, ResetCacheCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
46
62
|
readonly input: ResetCacheCommandInput;
|
|
@@ -36,6 +36,23 @@ export interface RetrieveTapeArchiveCommandOutput extends RetrieveTapeArchiveOut
|
|
|
36
36
|
* @see {@link RetrieveTapeArchiveCommandOutput} for command's `response` shape.
|
|
37
37
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
38
38
|
*
|
|
39
|
+
* @example To retrieve an archived tape from the VTS
|
|
40
|
+
* ```javascript
|
|
41
|
+
* // Retrieves an archived virtual tape from the virtual tape shelf (VTS) to a gateway-VTL. Virtual tapes archived in the VTS are not associated with any gateway.
|
|
42
|
+
* const input = {
|
|
43
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B",
|
|
44
|
+
* "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST0AA2AF"
|
|
45
|
+
* };
|
|
46
|
+
* const command = new RetrieveTapeArchiveCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* /* response ==
|
|
49
|
+
* {
|
|
50
|
+
* "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST0AA2AF"
|
|
51
|
+
* }
|
|
52
|
+
* *\/
|
|
53
|
+
* // example id: to-retrieve-an-archived-tape-from-the-vts-1472149812358
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
39
56
|
*/
|
|
40
57
|
export declare class RetrieveTapeArchiveCommand extends $Command<RetrieveTapeArchiveCommandInput, RetrieveTapeArchiveCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
41
58
|
readonly input: RetrieveTapeArchiveCommandInput;
|
|
@@ -40,6 +40,23 @@ export interface RetrieveTapeRecoveryPointCommandOutput extends RetrieveTapeReco
|
|
|
40
40
|
* @see {@link RetrieveTapeRecoveryPointCommandOutput} for command's `response` shape.
|
|
41
41
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
42
42
|
*
|
|
43
|
+
* @example To retrieve the recovery point of a virtual tape
|
|
44
|
+
* ```javascript
|
|
45
|
+
* // Retrieves the recovery point for the specified virtual tape.
|
|
46
|
+
* const input = {
|
|
47
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B",
|
|
48
|
+
* "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST0AA2AF"
|
|
49
|
+
* };
|
|
50
|
+
* const command = new RetrieveTapeRecoveryPointCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* /* response ==
|
|
53
|
+
* {
|
|
54
|
+
* "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST0AA2AF"
|
|
55
|
+
* }
|
|
56
|
+
* *\/
|
|
57
|
+
* // example id: to-retrieve-the-recovery-point-of-a-virtual-tape-1472150014805
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
43
60
|
*/
|
|
44
61
|
export declare class RetrieveTapeRecoveryPointCommand extends $Command<RetrieveTapeRecoveryPointCommandInput, RetrieveTapeRecoveryPointCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
45
62
|
readonly input: RetrieveTapeRecoveryPointCommandInput;
|
|
@@ -32,6 +32,23 @@ export interface SetLocalConsolePasswordCommandOutput extends SetLocalConsolePas
|
|
|
32
32
|
* @see {@link SetLocalConsolePasswordCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @example To set a password for your VM
|
|
36
|
+
* ```javascript
|
|
37
|
+
* // Sets the password for your VM local console.
|
|
38
|
+
* const input = {
|
|
39
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B",
|
|
40
|
+
* "LocalConsolePassword": "PassWordMustBeAtLeast6Chars."
|
|
41
|
+
* };
|
|
42
|
+
* const command = new SetLocalConsolePasswordCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* /* response ==
|
|
45
|
+
* {
|
|
46
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B"
|
|
47
|
+
* }
|
|
48
|
+
* *\/
|
|
49
|
+
* // example id: to-set-a-password-for-your-vm-1472150202632
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
35
52
|
*/
|
|
36
53
|
export declare class SetLocalConsolePasswordCommand extends $Command<SetLocalConsolePasswordCommandInput, SetLocalConsolePasswordCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
37
54
|
readonly input: SetLocalConsolePasswordCommandInput;
|
|
@@ -52,6 +52,22 @@ export interface ShutdownGatewayCommandOutput extends ShutdownGatewayOutput, __M
|
|
|
52
52
|
* @see {@link ShutdownGatewayCommandOutput} for command's `response` shape.
|
|
53
53
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
54
54
|
*
|
|
55
|
+
* @example To shut down a gateway service
|
|
56
|
+
* ```javascript
|
|
57
|
+
* // This operation shuts down the gateway service component running in the storage gateway's virtual machine (VM) and not the VM.
|
|
58
|
+
* const input = {
|
|
59
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B"
|
|
60
|
+
* };
|
|
61
|
+
* const command = new ShutdownGatewayCommand(input);
|
|
62
|
+
* const response = await client.send(command);
|
|
63
|
+
* /* response ==
|
|
64
|
+
* {
|
|
65
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B"
|
|
66
|
+
* }
|
|
67
|
+
* *\/
|
|
68
|
+
* // example id: to-shut-down-a-gateway-service-1472150508835
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
55
71
|
*/
|
|
56
72
|
export declare class ShutdownGatewayCommand extends $Command<ShutdownGatewayCommandInput, ShutdownGatewayCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
57
73
|
readonly input: ShutdownGatewayCommandInput;
|
|
@@ -41,6 +41,22 @@ export interface StartGatewayCommandOutput extends StartGatewayOutput, __Metadat
|
|
|
41
41
|
* @see {@link StartGatewayCommandOutput} for command's `response` shape.
|
|
42
42
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
43
43
|
*
|
|
44
|
+
* @example To start a gateway service
|
|
45
|
+
* ```javascript
|
|
46
|
+
* // Starts a gateway service that was previously shut down.
|
|
47
|
+
* const input = {
|
|
48
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B"
|
|
49
|
+
* };
|
|
50
|
+
* const command = new StartGatewayCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* /* response ==
|
|
53
|
+
* {
|
|
54
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B"
|
|
55
|
+
* }
|
|
56
|
+
* *\/
|
|
57
|
+
* // example id: to-start-a-gateway-service-1472150722315
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
44
60
|
*/
|
|
45
61
|
export declare class StartGatewayCommand extends $Command<StartGatewayCommandInput, StartGatewayCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
46
62
|
readonly input: StartGatewayCommandInput;
|
|
@@ -40,6 +40,24 @@ export interface UpdateBandwidthRateLimitCommandOutput extends UpdateBandwidthRa
|
|
|
40
40
|
* @see {@link UpdateBandwidthRateLimitCommandOutput} for command's `response` shape.
|
|
41
41
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
42
42
|
*
|
|
43
|
+
* @example To update the bandwidth rate limits of a gateway
|
|
44
|
+
* ```javascript
|
|
45
|
+
* // Updates the bandwidth rate limits of a gateway. Both the upload and download bandwidth rate limit can be set, or either one of the two. If a new limit is not set, the existing rate limit remains.
|
|
46
|
+
* const input = {
|
|
47
|
+
* "AverageDownloadRateLimitInBitsPerSec": 102400,
|
|
48
|
+
* "AverageUploadRateLimitInBitsPerSec": 51200,
|
|
49
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
50
|
+
* };
|
|
51
|
+
* const command = new UpdateBandwidthRateLimitCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* /* response ==
|
|
54
|
+
* {
|
|
55
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
56
|
+
* }
|
|
57
|
+
* *\/
|
|
58
|
+
* // example id: to-update-the-bandwidth-rate-limits-of-a-gateway-1472151016202
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
43
61
|
*/
|
|
44
62
|
export declare class UpdateBandwidthRateLimitCommand extends $Command<UpdateBandwidthRateLimitCommandInput, UpdateBandwidthRateLimitCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
45
63
|
readonly input: UpdateBandwidthRateLimitCommandInput;
|
|
@@ -37,6 +37,26 @@ export interface UpdateChapCredentialsCommandOutput extends UpdateChapCredential
|
|
|
37
37
|
* @see {@link UpdateChapCredentialsCommandOutput} for command's `response` shape.
|
|
38
38
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
39
39
|
*
|
|
40
|
+
* @example To update CHAP credentials for an iSCSI target
|
|
41
|
+
* ```javascript
|
|
42
|
+
* // Updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target.
|
|
43
|
+
* const input = {
|
|
44
|
+
* "InitiatorName": "iqn.1991-05.com.microsoft:computername.domain.example.com",
|
|
45
|
+
* "SecretToAuthenticateInitiator": "111111111111",
|
|
46
|
+
* "SecretToAuthenticateTarget": "222222222222",
|
|
47
|
+
* "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume"
|
|
48
|
+
* };
|
|
49
|
+
* const command = new UpdateChapCredentialsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* /* response ==
|
|
52
|
+
* {
|
|
53
|
+
* "InitiatorName": "iqn.1991-05.com.microsoft:computername.domain.example.com",
|
|
54
|
+
* "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume"
|
|
55
|
+
* }
|
|
56
|
+
* *\/
|
|
57
|
+
* // example id: to-update-chap-credentials-for-an-iscsi-target-1472151325795
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
40
60
|
*/
|
|
41
61
|
export declare class UpdateChapCredentialsCommand extends $Command<UpdateChapCredentialsCommandInput, UpdateChapCredentialsCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
42
62
|
readonly input: UpdateChapCredentialsCommandInput;
|
|
@@ -37,6 +37,25 @@ export interface UpdateGatewayInformationCommandOutput extends UpdateGatewayInfo
|
|
|
37
37
|
* @see {@link UpdateGatewayInformationCommandOutput} for command's `response` shape.
|
|
38
38
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
39
39
|
*
|
|
40
|
+
* @example To update a gateway's metadata
|
|
41
|
+
* ```javascript
|
|
42
|
+
* // Updates a gateway's metadata, which includes the gateway's name and time zone.
|
|
43
|
+
* const input = {
|
|
44
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
|
|
45
|
+
* "GatewayName": "MyGateway2",
|
|
46
|
+
* "GatewayTimezone": "GMT-12:00"
|
|
47
|
+
* };
|
|
48
|
+
* const command = new UpdateGatewayInformationCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* /* response ==
|
|
51
|
+
* {
|
|
52
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
|
|
53
|
+
* "GatewayName": ""
|
|
54
|
+
* }
|
|
55
|
+
* *\/
|
|
56
|
+
* // example id: to-update-a-gateways-metadata-1472151688693
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
40
59
|
*/
|
|
41
60
|
export declare class UpdateGatewayInformationCommand extends $Command<UpdateGatewayInformationCommandInput, UpdateGatewayInformationCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
42
61
|
readonly input: UpdateGatewayInformationCommandInput;
|
|
@@ -44,6 +44,22 @@ export interface UpdateGatewaySoftwareNowCommandOutput extends UpdateGatewaySoft
|
|
|
44
44
|
* @see {@link UpdateGatewaySoftwareNowCommandOutput} for command's `response` shape.
|
|
45
45
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
46
46
|
*
|
|
47
|
+
* @example To update a gateway's VM software
|
|
48
|
+
* ```javascript
|
|
49
|
+
* // Updates the gateway virtual machine (VM) software. The request immediately triggers the software update.
|
|
50
|
+
* const input = {
|
|
51
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
52
|
+
* };
|
|
53
|
+
* const command = new UpdateGatewaySoftwareNowCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* /* response ==
|
|
56
|
+
* {
|
|
57
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
58
|
+
* }
|
|
59
|
+
* *\/
|
|
60
|
+
* // example id: to-update-a-gateways-vm-software-1472152020929
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
47
63
|
*/
|
|
48
64
|
export declare class UpdateGatewaySoftwareNowCommand extends $Command<UpdateGatewaySoftwareNowCommandInput, UpdateGatewaySoftwareNowCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
49
65
|
readonly input: UpdateGatewaySoftwareNowCommandInput;
|
|
@@ -30,6 +30,25 @@ export interface UpdateMaintenanceStartTimeCommandOutput extends UpdateMaintenan
|
|
|
30
30
|
* @see {@link UpdateMaintenanceStartTimeCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @example To update a gateway's maintenance start time
|
|
34
|
+
* ```javascript
|
|
35
|
+
* // Updates a gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is in your gateway's time zone.
|
|
36
|
+
* const input = {
|
|
37
|
+
* "DayOfWeek": 2,
|
|
38
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
|
|
39
|
+
* "HourOfDay": 0,
|
|
40
|
+
* "MinuteOfHour": 30
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UpdateMaintenanceStartTimeCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* /* response ==
|
|
45
|
+
* {
|
|
46
|
+
* "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
47
|
+
* }
|
|
48
|
+
* *\/
|
|
49
|
+
* // example id: to-update-a-gateways-maintenance-start-time-1472152552031
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
33
52
|
*/
|
|
34
53
|
export declare class UpdateMaintenanceStartTimeCommand extends $Command<UpdateMaintenanceStartTimeCommandInput, UpdateMaintenanceStartTimeCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
35
54
|
readonly input: UpdateMaintenanceStartTimeCommandInput;
|
|
@@ -38,6 +38,25 @@ export interface UpdateSnapshotScheduleCommandOutput extends UpdateSnapshotSched
|
|
|
38
38
|
* @see {@link UpdateSnapshotScheduleCommandOutput} for command's `response` shape.
|
|
39
39
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
40
40
|
*
|
|
41
|
+
* @example To update a volume snapshot schedule
|
|
42
|
+
* ```javascript
|
|
43
|
+
* // Updates a snapshot schedule configured for a gateway volume.
|
|
44
|
+
* const input = {
|
|
45
|
+
* "Description": "Hourly snapshot",
|
|
46
|
+
* "RecurrenceInHours": 1,
|
|
47
|
+
* "StartAt": 0,
|
|
48
|
+
* "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"
|
|
49
|
+
* };
|
|
50
|
+
* const command = new UpdateSnapshotScheduleCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* /* response ==
|
|
53
|
+
* {
|
|
54
|
+
* "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"
|
|
55
|
+
* }
|
|
56
|
+
* *\/
|
|
57
|
+
* // example id: to-update-a-volume-snapshot-schedule-1472152757068
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
41
60
|
*/
|
|
42
61
|
export declare class UpdateSnapshotScheduleCommand extends $Command<UpdateSnapshotScheduleCommandInput, UpdateSnapshotScheduleCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
43
62
|
readonly input: UpdateSnapshotScheduleCommandInput;
|
|
@@ -32,6 +32,23 @@ export interface UpdateVTLDeviceTypeCommandOutput extends UpdateVTLDeviceTypeOut
|
|
|
32
32
|
* @see {@link UpdateVTLDeviceTypeCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @example To update a VTL device type
|
|
36
|
+
* ```javascript
|
|
37
|
+
* // Updates the type of medium changer in a gateway-VTL after a gateway-VTL is activated.
|
|
38
|
+
* const input = {
|
|
39
|
+
* "DeviceType": "Medium Changer",
|
|
40
|
+
* "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001"
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UpdateVTLDeviceTypeCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* /* response ==
|
|
45
|
+
* {
|
|
46
|
+
* "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001"
|
|
47
|
+
* }
|
|
48
|
+
* *\/
|
|
49
|
+
* // example id: to-update-a-vtl-device-type-1472153012967
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
35
52
|
*/
|
|
36
53
|
export declare class UpdateVTLDeviceTypeCommand extends $Command<UpdateVTLDeviceTypeCommandInput, UpdateVTLDeviceTypeCommandOutput, StorageGatewayClientResolvedConfig> {
|
|
37
54
|
readonly input: UpdateVTLDeviceTypeCommandInput;
|
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.289.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",
|
|
@@ -20,37 +20,37 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.289.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.289.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.289.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.289.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.289.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.289.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.289.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.289.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.289.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.289.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.289.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.289.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.289.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.289.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.289.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.289.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.289.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.289.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.289.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.289.0",
|
|
43
|
+
"@aws-sdk/types": "3.289.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.289.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.289.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.289.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.289.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.289.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.289.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.289.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|