@aws-sdk/client-storage-gateway 3.288.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.
Files changed (55) hide show
  1. package/dist-types/commands/ActivateGatewayCommand.d.ts +22 -0
  2. package/dist-types/commands/AddCacheCommand.d.ts +20 -0
  3. package/dist-types/commands/AddTagsToResourceCommand.d.ts +22 -0
  4. package/dist-types/commands/AddUploadBufferCommand.d.ts +20 -0
  5. package/dist-types/commands/AddWorkingStorageCommand.d.ts +20 -0
  6. package/dist-types/commands/CancelArchivalCommand.d.ts +17 -0
  7. package/dist-types/commands/CancelRetrievalCommand.d.ts +17 -0
  8. package/dist-types/commands/CreateCachediSCSIVolumeCommand.d.ts +22 -0
  9. package/dist-types/commands/CreateSnapshotCommand.d.ts +18 -0
  10. package/dist-types/commands/CreateSnapshotFromVolumeRecoveryPointCommand.d.ts +19 -0
  11. package/dist-types/commands/CreateStorediSCSIVolumeCommand.d.ts +23 -0
  12. package/dist-types/commands/CreateTapeWithBarcodeCommand.d.ts +18 -0
  13. package/dist-types/commands/CreateTapesCommand.d.ts +24 -0
  14. package/dist-types/commands/DeleteBandwidthRateLimitCommand.d.ts +17 -0
  15. package/dist-types/commands/DeleteChapCredentialsCommand.d.ts +18 -0
  16. package/dist-types/commands/DeleteGatewayCommand.d.ts +16 -0
  17. package/dist-types/commands/DeleteSnapshotScheduleCommand.d.ts +16 -0
  18. package/dist-types/commands/DeleteTapeArchiveCommand.d.ts +16 -0
  19. package/dist-types/commands/DeleteTapeCommand.d.ts +17 -0
  20. package/dist-types/commands/DeleteVolumeCommand.d.ts +16 -0
  21. package/dist-types/commands/DescribeBandwidthRateLimitCommand.d.ts +18 -0
  22. package/dist-types/commands/DescribeCacheCommand.d.ts +25 -0
  23. package/dist-types/commands/DescribeCachediSCSIVolumesCommand.d.ts +33 -0
  24. package/dist-types/commands/DescribeChapCredentialsCommand.d.ts +23 -0
  25. package/dist-types/commands/DescribeGatewayInformationCommand.d.ts +28 -0
  26. package/dist-types/commands/DescribeMaintenanceStartTimeCommand.d.ts +20 -0
  27. package/dist-types/commands/DescribeSnapshotScheduleCommand.d.ts +20 -0
  28. package/dist-types/commands/DescribeStorediSCSIVolumesCommand.d.ts +34 -0
  29. package/dist-types/commands/DescribeTapeArchivesCommand.d.ts +37 -0
  30. package/dist-types/commands/DescribeTapeRecoveryPointsCommand.d.ts +27 -0
  31. package/dist-types/commands/DescribeTapesCommand.d.ts +36 -0
  32. package/dist-types/commands/DescribeUploadBufferCommand.d.ts +44 -0
  33. package/dist-types/commands/DescribeVTLDevicesCommand.d.ts +58 -0
  34. package/dist-types/commands/DescribeWorkingStorageCommand.d.ts +22 -0
  35. package/dist-types/commands/DisableGatewayCommand.d.ts +16 -0
  36. package/dist-types/commands/ListGatewaysCommand.d.ts +25 -0
  37. package/dist-types/commands/ListLocalDisksCommand.d.ts +35 -0
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +25 -0
  39. package/dist-types/commands/ListVolumeRecoveryPointsCommand.d.ts +23 -0
  40. package/dist-types/commands/ListVolumesCommand.d.ts +37 -0
  41. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +20 -0
  42. package/dist-types/commands/ResetCacheCommand.d.ts +16 -0
  43. package/dist-types/commands/RetrieveTapeArchiveCommand.d.ts +17 -0
  44. package/dist-types/commands/RetrieveTapeRecoveryPointCommand.d.ts +17 -0
  45. package/dist-types/commands/SetLocalConsolePasswordCommand.d.ts +17 -0
  46. package/dist-types/commands/ShutdownGatewayCommand.d.ts +16 -0
  47. package/dist-types/commands/StartGatewayCommand.d.ts +16 -0
  48. package/dist-types/commands/UpdateBandwidthRateLimitCommand.d.ts +18 -0
  49. package/dist-types/commands/UpdateChapCredentialsCommand.d.ts +20 -0
  50. package/dist-types/commands/UpdateGatewayInformationCommand.d.ts +19 -0
  51. package/dist-types/commands/UpdateGatewaySoftwareNowCommand.d.ts +16 -0
  52. package/dist-types/commands/UpdateMaintenanceStartTimeCommand.d.ts +19 -0
  53. package/dist-types/commands/UpdateSnapshotScheduleCommand.d.ts +19 -0
  54. package/dist-types/commands/UpdateVTLDeviceTypeCommand.d.ts +17 -0
  55. package/package.json +29 -29
@@ -31,6 +31,29 @@ export interface DescribeChapCredentialsCommandOutput extends DescribeChapCreden
31
31
  * @see {@link DescribeChapCredentialsCommandOutput} for command's `response` shape.
32
32
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
33
33
  *
34
+ * @example To describe CHAP credetnitals for an iSCSI
35
+ * ```javascript
36
+ * // Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair.
37
+ * const input = {
38
+ * "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume"
39
+ * };
40
+ * const command = new DescribeChapCredentialsCommand(input);
41
+ * const response = await client.send(command);
42
+ * /* response ==
43
+ * {
44
+ * "ChapCredentials": [
45
+ * {
46
+ * "InitiatorName": "iqn.1991-05.com.microsoft:computername.domain.example.com",
47
+ * "SecretToAuthenticateInitiator": "111111111111",
48
+ * "SecretToAuthenticateTarget": "222222222222",
49
+ * "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume"
50
+ * }
51
+ * ]
52
+ * }
53
+ * *\/
54
+ * // example id: to-describe-chap-credetnitals-for-an-iscsi-1471467462967
55
+ * ```
56
+ *
34
57
  */
35
58
  export declare class DescribeChapCredentialsCommand extends $Command<DescribeChapCredentialsCommandInput, DescribeChapCredentialsCommandOutput, StorageGatewayClientResolvedConfig> {
36
59
  readonly input: DescribeChapCredentialsCommandInput;
@@ -31,6 +31,34 @@ export interface DescribeGatewayInformationCommandOutput extends DescribeGateway
31
31
  * @see {@link DescribeGatewayInformationCommandOutput} for command's `response` shape.
32
32
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
33
33
  *
34
+ * @example To describe metadata about the gateway
35
+ * ```javascript
36
+ * // Returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not).
37
+ * const input = {
38
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
39
+ * };
40
+ * const command = new DescribeGatewayInformationCommand(input);
41
+ * const response = await client.send(command);
42
+ * /* response ==
43
+ * {
44
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
45
+ * "GatewayId": "sgw-AABB1122",
46
+ * "GatewayName": "My_Gateway",
47
+ * "GatewayNetworkInterfaces": [
48
+ * {
49
+ * "Ipv4Address": "10.35.69.216"
50
+ * }
51
+ * ],
52
+ * "GatewayState": "STATE_RUNNING",
53
+ * "GatewayTimezone": "GMT-8:00",
54
+ * "GatewayType": "STORED",
55
+ * "LastSoftwareUpdate": "2016-01-02T16:00:00",
56
+ * "NextUpdateAvailabilityDate": "2017-01-02T16:00:00"
57
+ * }
58
+ * *\/
59
+ * // example id: to-describe-metadata-about-the-gateway-1471467849079
60
+ * ```
61
+ *
34
62
  */
35
63
  export declare class DescribeGatewayInformationCommand extends $Command<DescribeGatewayInformationCommandInput, DescribeGatewayInformationCommandOutput, StorageGatewayClientResolvedConfig> {
36
64
  readonly input: DescribeGatewayInformationCommandInput;
@@ -30,6 +30,26 @@ export interface DescribeMaintenanceStartTimeCommandOutput extends DescribeMaint
30
30
  * @see {@link DescribeMaintenanceStartTimeCommandOutput} for command's `response` shape.
31
31
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
32
32
  *
33
+ * @example To describe gateway's maintenance start time
34
+ * ```javascript
35
+ * // Returns your gateway's weekly maintenance start time including the day and time of the week.
36
+ * const input = {
37
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
38
+ * };
39
+ * const command = new DescribeMaintenanceStartTimeCommand(input);
40
+ * const response = await client.send(command);
41
+ * /* response ==
42
+ * {
43
+ * "DayOfWeek": 2,
44
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
45
+ * "HourOfDay": 15,
46
+ * "MinuteOfHour": 35,
47
+ * "Timezone": "GMT+7:00"
48
+ * }
49
+ * *\/
50
+ * // example id: to-describe-gateways-maintenance-start-time-1471470727387
51
+ * ```
52
+ *
33
53
  */
34
54
  export declare class DescribeMaintenanceStartTimeCommand extends $Command<DescribeMaintenanceStartTimeCommandInput, DescribeMaintenanceStartTimeCommandOutput, StorageGatewayClientResolvedConfig> {
35
55
  readonly input: DescribeMaintenanceStartTimeCommandInput;
@@ -32,6 +32,26 @@ export interface DescribeSnapshotScheduleCommandOutput extends DescribeSnapshotS
32
32
  * @see {@link DescribeSnapshotScheduleCommandOutput} for command's `response` shape.
33
33
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
34
34
  *
35
+ * @example To describe snapshot schedule for gateway volume
36
+ * ```javascript
37
+ * // Describes the snapshot schedule for the specified gateway volume including intervals at which snapshots are automatically initiated.
38
+ * const input = {
39
+ * "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"
40
+ * };
41
+ * const command = new DescribeSnapshotScheduleCommand(input);
42
+ * const response = await client.send(command);
43
+ * /* response ==
44
+ * {
45
+ * "Description": "sgw-AABB1122:vol-AABB1122:Schedule",
46
+ * "RecurrenceInHours": 24,
47
+ * "StartAt": 6,
48
+ * "Timezone": "GMT+7:00",
49
+ * "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"
50
+ * }
51
+ * *\/
52
+ * // example id: to-describe-snapshot-schedule-for-gateway-volume-1471471139538
53
+ * ```
54
+ *
35
55
  */
36
56
  export declare class DescribeSnapshotScheduleCommand extends $Command<DescribeSnapshotScheduleCommandInput, DescribeSnapshotScheduleCommandOutput, StorageGatewayClientResolvedConfig> {
37
57
  readonly input: DescribeSnapshotScheduleCommandInput;
@@ -31,6 +31,40 @@ export interface DescribeStorediSCSIVolumesCommandOutput extends DescribeStoredi
31
31
  * @see {@link DescribeStorediSCSIVolumesCommandOutput} for command's `response` shape.
32
32
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
33
33
  *
34
+ * @example To describe the volumes of a gateway
35
+ * ```javascript
36
+ * // Returns the description of the gateway volumes specified in the request belonging to the same gateway.
37
+ * const input = {
38
+ * "VolumeARNs": [
39
+ * "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"
40
+ * ]
41
+ * };
42
+ * const command = new DescribeStorediSCSIVolumesCommand(input);
43
+ * const response = await client.send(command);
44
+ * /* response ==
45
+ * {
46
+ * "StorediSCSIVolumes": [
47
+ * {
48
+ * "PreservedExistingData": false,
49
+ * "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB",
50
+ * "VolumeDiskId": "pci-0000:03:00.0-scsi-0:0:0:0",
51
+ * "VolumeId": "vol-1122AABB",
52
+ * "VolumeProgress": 23.7,
53
+ * "VolumeSizeInBytes": 1099511627776,
54
+ * "VolumeStatus": "BOOTSTRAPPING",
55
+ * "VolumeiSCSIAttributes": {
56
+ * "ChapEnabled": true,
57
+ * "NetworkInterfaceId": "10.243.43.207",
58
+ * "NetworkInterfacePort": 3260,
59
+ * "TargetARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume"
60
+ * }
61
+ * }
62
+ * ]
63
+ * }
64
+ * *\/
65
+ * // example id: to-describe-the-volumes-of-a-gateway-1471472640660
66
+ * ```
67
+ *
34
68
  */
35
69
  export declare class DescribeStorediSCSIVolumesCommand extends $Command<DescribeStorediSCSIVolumesCommandInput, DescribeStorediSCSIVolumesCommandOutput, StorageGatewayClientResolvedConfig> {
36
70
  readonly input: DescribeStorediSCSIVolumesCommandInput;
@@ -33,6 +33,43 @@ export interface DescribeTapeArchivesCommandOutput extends DescribeTapeArchivesO
33
33
  * @see {@link DescribeTapeArchivesCommandOutput} for command's `response` shape.
34
34
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
35
35
  *
36
+ * @example To describe virtual tapes in the VTS
37
+ * ```javascript
38
+ * // Returns a description of specified virtual tapes in the virtual tape shelf (VTS).
39
+ * const input = {
40
+ * "Limit": 123,
41
+ * "Marker": "1",
42
+ * "TapeARNs": [
43
+ * "arn:aws:storagegateway:us-east-1:999999999999:tape/AM08A1AD",
44
+ * "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4"
45
+ * ]
46
+ * };
47
+ * const command = new DescribeTapeArchivesCommand(input);
48
+ * const response = await client.send(command);
49
+ * /* response ==
50
+ * {
51
+ * "Marker": "1",
52
+ * "TapeArchives": [
53
+ * {
54
+ * "CompletionTime": "2016-12-16T13:50Z",
55
+ * "TapeARN": "arn:aws:storagegateway:us-east-1:999999999:tape/AM08A1AD",
56
+ * "TapeBarcode": "AM08A1AD",
57
+ * "TapeSizeInBytes": 107374182400,
58
+ * "TapeStatus": "ARCHIVED"
59
+ * },
60
+ * {
61
+ * "CompletionTime": "2016-12-16T13:59Z",
62
+ * "TapeARN": "arn:aws:storagegateway:us-east-1:999999999:tape/AMZN01A2A4",
63
+ * "TapeBarcode": "AMZN01A2A4",
64
+ * "TapeSizeInBytes": 429496729600,
65
+ * "TapeStatus": "ARCHIVED"
66
+ * }
67
+ * ]
68
+ * }
69
+ * *\/
70
+ * // example id: to-describe-virtual-tapes-in-the-vts-1471473188198
71
+ * ```
72
+ *
36
73
  */
37
74
  export declare class DescribeTapeArchivesCommand extends $Command<DescribeTapeArchivesCommandInput, DescribeTapeArchivesCommandOutput, StorageGatewayClientResolvedConfig> {
38
75
  readonly input: DescribeTapeArchivesCommandInput;
@@ -35,6 +35,33 @@ export interface DescribeTapeRecoveryPointsCommandOutput extends DescribeTapeRec
35
35
  * @see {@link DescribeTapeRecoveryPointsCommandOutput} for command's `response` shape.
36
36
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
37
37
  *
38
+ * @example To describe virtual tape recovery points
39
+ * ```javascript
40
+ * // Returns a list of virtual tape recovery points that are available for the specified gateway-VTL.
41
+ * const input = {
42
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
43
+ * "Limit": 1,
44
+ * "Marker": "1"
45
+ * };
46
+ * const command = new DescribeTapeRecoveryPointsCommand(input);
47
+ * const response = await client.send(command);
48
+ * /* response ==
49
+ * {
50
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
51
+ * "Marker": "1",
52
+ * "TapeRecoveryPointInfos": [
53
+ * {
54
+ * "TapeARN": "arn:aws:storagegateway:us-east-1:999999999:tape/AMZN01A2A4",
55
+ * "TapeRecoveryPointTime": "2016-12-16T13:50Z",
56
+ * "TapeSizeInBytes": 1471550497,
57
+ * "TapeStatus": "AVAILABLE"
58
+ * }
59
+ * ]
60
+ * }
61
+ * *\/
62
+ * // example id: to-describe-virtual-tape-recovery-points-1471542042026
63
+ * ```
64
+ *
38
65
  */
39
66
  export declare class DescribeTapeRecoveryPointsCommand extends $Command<DescribeTapeRecoveryPointsCommandInput, DescribeTapeRecoveryPointsCommandOutput, StorageGatewayClientResolvedConfig> {
40
67
  readonly input: DescribeTapeRecoveryPointsCommandInput;
@@ -32,6 +32,42 @@ export interface DescribeTapesCommandOutput extends DescribeTapesOutput, __Metad
32
32
  * @see {@link DescribeTapesCommandOutput} for command's `response` shape.
33
33
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
34
34
  *
35
+ * @example To describe virtual tape(s) associated with gateway
36
+ * ```javascript
37
+ * // 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.
38
+ * const input = {
39
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B",
40
+ * "Limit": 2,
41
+ * "Marker": "1",
42
+ * "TapeARNs": [
43
+ * "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST04A2A1",
44
+ * "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST05A2A0"
45
+ * ]
46
+ * };
47
+ * const command = new DescribeTapesCommand(input);
48
+ * const response = await client.send(command);
49
+ * /* response ==
50
+ * {
51
+ * "Marker": "1",
52
+ * "Tapes": [
53
+ * {
54
+ * "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST04A2A1",
55
+ * "TapeBarcode": "TEST04A2A1",
56
+ * "TapeSizeInBytes": 107374182400,
57
+ * "TapeStatus": "AVAILABLE"
58
+ * },
59
+ * {
60
+ * "TapeARN": "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST05A2A0",
61
+ * "TapeBarcode": "TEST05A2A0",
62
+ * "TapeSizeInBytes": 107374182400,
63
+ * "TapeStatus": "AVAILABLE"
64
+ * }
65
+ * ]
66
+ * }
67
+ * *\/
68
+ * // example id: to-describe-virtual-tapes-associated-with-gateway-1471629287727
69
+ * ```
70
+ *
35
71
  */
36
72
  export declare class DescribeTapesCommand extends $Command<DescribeTapesCommandInput, DescribeTapesCommandOutput, StorageGatewayClientResolvedConfig> {
37
73
  readonly input: DescribeTapesCommandInput;
@@ -33,6 +33,50 @@ export interface DescribeUploadBufferCommandOutput extends DescribeUploadBufferO
33
33
  * @see {@link DescribeUploadBufferCommandOutput} for command's `response` shape.
34
34
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
35
35
  *
36
+ * @example To describe upload buffer of gateway
37
+ * ```javascript
38
+ * // Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated/used.
39
+ * const input = {
40
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
41
+ * };
42
+ * const command = new DescribeUploadBufferCommand(input);
43
+ * const response = await client.send(command);
44
+ * /* response ==
45
+ * {
46
+ * "DiskIds": [
47
+ * "pci-0000:03:00.0-scsi-0:0:0:0",
48
+ * "pci-0000:04:00.0-scsi-0:1:0:0"
49
+ * ],
50
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
51
+ * "UploadBufferAllocatedInBytes": 0,
52
+ * "UploadBufferUsedInBytes": 161061273600
53
+ * }
54
+ * *\/
55
+ * // example id: to-describe-upload-buffer-of-gateway-1471631099003
56
+ * ```
57
+ *
58
+ * @example To describe upload buffer of a gateway
59
+ * ```javascript
60
+ * // Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated and used.
61
+ * const input = {
62
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
63
+ * };
64
+ * const command = new DescribeUploadBufferCommand(input);
65
+ * const response = await client.send(command);
66
+ * /* response ==
67
+ * {
68
+ * "DiskIds": [
69
+ * "pci-0000:03:00.0-scsi-0:0:0:0",
70
+ * "pci-0000:04:00.0-scsi-0:1:0:0"
71
+ * ],
72
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
73
+ * "UploadBufferAllocatedInBytes": 161061273600,
74
+ * "UploadBufferUsedInBytes": 0
75
+ * }
76
+ * *\/
77
+ * // example id: to-describe-upload-buffer-of-a-gateway--1471904566370
78
+ * ```
79
+ *
36
80
  */
37
81
  export declare class DescribeUploadBufferCommand extends $Command<DescribeUploadBufferCommandInput, DescribeUploadBufferCommandOutput, StorageGatewayClientResolvedConfig> {
38
82
  readonly input: DescribeUploadBufferCommandInput;
@@ -32,6 +32,64 @@ export interface DescribeVTLDevicesCommandOutput extends DescribeVTLDevicesOutpu
32
32
  * @see {@link DescribeVTLDevicesCommandOutput} for command's `response` shape.
33
33
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
34
34
  *
35
+ * @example To describe virtual tape library (VTL) devices of a single gateway
36
+ * ```javascript
37
+ * // Returns a description of virtual tape library (VTL) devices for the specified gateway.
38
+ * const input = {
39
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B",
40
+ * "Limit": 123,
41
+ * "Marker": "1",
42
+ * "VTLDeviceARNs": []
43
+ * };
44
+ * const command = new DescribeVTLDevicesCommand(input);
45
+ * const response = await client.send(command);
46
+ * /* response ==
47
+ * {
48
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B",
49
+ * "Marker": "1",
50
+ * "VTLDevices": [
51
+ * {
52
+ * "DeviceiSCSIAttributes": {
53
+ * "ChapEnabled": false,
54
+ * "NetworkInterfaceId": "10.243.43.207",
55
+ * "NetworkInterfacePort": 3260,
56
+ * "TargetARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:sgw-1fad4876-mediachanger"
57
+ * },
58
+ * "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001",
59
+ * "VTLDeviceProductIdentifier": "L700",
60
+ * "VTLDeviceType": "Medium Changer",
61
+ * "VTLDeviceVendor": "STK"
62
+ * },
63
+ * {
64
+ * "DeviceiSCSIAttributes": {
65
+ * "ChapEnabled": false,
66
+ * "NetworkInterfaceId": "10.243.43.209",
67
+ * "NetworkInterfacePort": 3260,
68
+ * "TargetARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:sgw-1fad4876-tapedrive-01"
69
+ * },
70
+ * "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_TAPEDRIVE_00001",
71
+ * "VTLDeviceProductIdentifier": "ULT3580-TD5",
72
+ * "VTLDeviceType": "Tape Drive",
73
+ * "VTLDeviceVendor": "IBM"
74
+ * },
75
+ * {
76
+ * "DeviceiSCSIAttributes": {
77
+ * "ChapEnabled": false,
78
+ * "NetworkInterfaceId": "10.243.43.209",
79
+ * "NetworkInterfacePort": 3260,
80
+ * "TargetARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:sgw-1fad4876-tapedrive-02"
81
+ * },
82
+ * "VTLDeviceARN": "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_TAPEDRIVE_00002",
83
+ * "VTLDeviceProductIdentifier": "ULT3580-TD5",
84
+ * "VTLDeviceType": "Tape Drive",
85
+ * "VTLDeviceVendor": "IBM"
86
+ * }
87
+ * ]
88
+ * }
89
+ * *\/
90
+ * // example id: to-describe-virtual-tape-library-vtl-devices-of-a-single-gateway-1471906071410
91
+ * ```
92
+ *
35
93
  */
36
94
  export declare class DescribeVTLDevicesCommand extends $Command<DescribeVTLDevicesCommandInput, DescribeVTLDevicesCommandOutput, StorageGatewayClientResolvedConfig> {
37
95
  readonly input: DescribeVTLDevicesCommandInput;
@@ -39,6 +39,28 @@ export interface DescribeWorkingStorageCommandOutput extends DescribeWorkingStor
39
39
  * @see {@link DescribeWorkingStorageCommandOutput} for command's `response` shape.
40
40
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
41
41
  *
42
+ * @example To describe the working storage of a gateway [Depreciated]
43
+ * ```javascript
44
+ * // This operation is supported only for the gateway-stored volume architecture. This operation is deprecated in cached-volumes API version (20120630). Use DescribeUploadBuffer instead.
45
+ * const input = {
46
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
47
+ * };
48
+ * const command = new DescribeWorkingStorageCommand(input);
49
+ * const response = await client.send(command);
50
+ * /* response ==
51
+ * {
52
+ * "DiskIds": [
53
+ * "pci-0000:03:00.0-scsi-0:0:0:0",
54
+ * "pci-0000:03:00.0-scsi-0:0:1:0"
55
+ * ],
56
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
57
+ * "WorkingStorageAllocatedInBytes": 2199023255552,
58
+ * "WorkingStorageUsedInBytes": 789207040
59
+ * }
60
+ * *\/
61
+ * // example id: to-describe-the-working-storage-of-a-gateway-depreciated-1472070842332
62
+ * ```
63
+ *
42
64
  */
43
65
  export declare class DescribeWorkingStorageCommand extends $Command<DescribeWorkingStorageCommandInput, DescribeWorkingStorageCommandOutput, StorageGatewayClientResolvedConfig> {
44
66
  readonly input: DescribeWorkingStorageCommandInput;
@@ -37,6 +37,22 @@ export interface DisableGatewayCommandOutput extends DisableGatewayOutput, __Met
37
37
  * @see {@link DisableGatewayCommandOutput} for command's `response` shape.
38
38
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
39
39
  *
40
+ * @example To disable a gateway when it is no longer functioning
41
+ * ```javascript
42
+ * // Disables a gateway when the gateway is no longer functioning. Use this operation for a gateway-VTL that is not reachable or not functioning.
43
+ * const input = {
44
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
45
+ * };
46
+ * const command = new DisableGatewayCommand(input);
47
+ * const response = await client.send(command);
48
+ * /* response ==
49
+ * {
50
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
51
+ * }
52
+ * *\/
53
+ * // example id: to-disable-a-gateway-when-it-is-no-longer-functioning-1472076046936
54
+ * ```
55
+ *
40
56
  */
41
57
  export declare class DisableGatewayCommand extends $Command<DisableGatewayCommandInput, DisableGatewayCommandOutput, StorageGatewayClientResolvedConfig> {
42
58
  readonly input: DisableGatewayCommandInput;
@@ -39,6 +39,31 @@ export interface ListGatewaysCommandOutput extends ListGatewaysOutput, __Metadat
39
39
  * @see {@link ListGatewaysCommandOutput} for command's `response` shape.
40
40
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
41
41
  *
42
+ * @example To lists region specific gateways per AWS account
43
+ * ```javascript
44
+ * // Lists gateways owned by an AWS account in a specified region as requested. Results are sorted by gateway ARN up to a maximum of 100 gateways.
45
+ * const input = {
46
+ * "Limit": 2,
47
+ * "Marker": "1"
48
+ * };
49
+ * const command = new ListGatewaysCommand(input);
50
+ * const response = await client.send(command);
51
+ * /* response ==
52
+ * {
53
+ * "Gateways": [
54
+ * {
55
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
56
+ * },
57
+ * {
58
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-23A4567C"
59
+ * }
60
+ * ],
61
+ * "Marker": "1"
62
+ * }
63
+ * *\/
64
+ * // example id: to-lists-region-specific-gateways-per-aws-account-1472077860657
65
+ * ```
66
+ *
42
67
  */
43
68
  export declare class ListGatewaysCommand extends $Command<ListGatewaysCommandInput, ListGatewaysCommandOutput, StorageGatewayClientResolvedConfig> {
44
69
  readonly input: ListGatewaysCommandInput;
@@ -37,6 +37,41 @@ export interface ListLocalDisksCommandOutput extends ListLocalDisksOutput, __Met
37
37
  * @see {@link ListLocalDisksCommandOutput} for command's `response` shape.
38
38
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
39
39
  *
40
+ * @example To list the gateway's local disks
41
+ * ```javascript
42
+ * // The request returns a list of all disks, specifying which are configured as working storage, cache storage, or stored volume or not configured at all.
43
+ * const input = {
44
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
45
+ * };
46
+ * const command = new ListLocalDisksCommand(input);
47
+ * const response = await client.send(command);
48
+ * /* response ==
49
+ * {
50
+ * "Disks": [
51
+ * {
52
+ * "DiskAllocationType": "CACHE_STORAGE",
53
+ * "DiskId": "pci-0000:03:00.0-scsi-0:0:0:0",
54
+ * "DiskNode": "SCSI(0:0)",
55
+ * "DiskPath": "/dev/sda",
56
+ * "DiskSizeInBytes": 1099511627776,
57
+ * "DiskStatus": "missing"
58
+ * },
59
+ * {
60
+ * "DiskAllocationResource": "",
61
+ * "DiskAllocationType": "UPLOAD_BUFFER",
62
+ * "DiskId": "pci-0000:03:00.0-scsi-0:0:1:0",
63
+ * "DiskNode": "SCSI(0:1)",
64
+ * "DiskPath": "/dev/sdb",
65
+ * "DiskSizeInBytes": 1099511627776,
66
+ * "DiskStatus": "present"
67
+ * }
68
+ * ],
69
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
70
+ * }
71
+ * *\/
72
+ * // example id: to-list-the-gateways-local-disks-1472079564618
73
+ * ```
74
+ *
40
75
  */
41
76
  export declare class ListLocalDisksCommand extends $Command<ListLocalDisksCommandInput, ListLocalDisksCommandOutput, StorageGatewayClientResolvedConfig> {
42
77
  readonly input: ListLocalDisksCommandInput;
@@ -30,6 +30,31 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
30
30
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
31
31
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
32
32
  *
33
+ * @example To list tags that have been added to a resource
34
+ * ```javascript
35
+ * // Lists the tags that have been added to the specified resource.
36
+ * const input = {
37
+ * "Limit": 1,
38
+ * "Marker": "1",
39
+ * "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B"
40
+ * };
41
+ * const command = new ListTagsForResourceCommand(input);
42
+ * const response = await client.send(command);
43
+ * /* response ==
44
+ * {
45
+ * "Marker": "1",
46
+ * "ResourceARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B",
47
+ * "Tags": [
48
+ * {
49
+ * "Key": "Dev Gatgeway Region",
50
+ * "Value": "East Coast"
51
+ * }
52
+ * ]
53
+ * }
54
+ * *\/
55
+ * // example id: to-list-tags-that-have-been-added-to-a-resource-1472080268972
56
+ * ```
57
+ *
33
58
  */
34
59
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, StorageGatewayClientResolvedConfig> {
35
60
  readonly input: ListTagsForResourceCommandInput;
@@ -35,6 +35,29 @@ export interface ListVolumeRecoveryPointsCommandOutput extends ListVolumeRecover
35
35
  * @see {@link ListVolumeRecoveryPointsCommandOutput} for command's `response` shape.
36
36
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
37
37
  *
38
+ * @example To list recovery points for a gateway
39
+ * ```javascript
40
+ * // Lists the recovery points for a specified gateway in which all data of the volume is consistent and can be used to create a snapshot.
41
+ * const input = {
42
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
43
+ * };
44
+ * const command = new ListVolumeRecoveryPointsCommand(input);
45
+ * const response = await client.send(command);
46
+ * /* response ==
47
+ * {
48
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
49
+ * "VolumeRecoveryPointInfos": [
50
+ * {
51
+ * "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB",
52
+ * "VolumeRecoveryPointTime": "2012-09-04T21:08:44.627Z",
53
+ * "VolumeSizeInBytes": 536870912000
54
+ * }
55
+ * ]
56
+ * }
57
+ * *\/
58
+ * // example id: to-list-recovery-points-for-a-gateway-1472143015088
59
+ * ```
60
+ *
38
61
  */
39
62
  export declare class ListVolumeRecoveryPointsCommand extends $Command<ListVolumeRecoveryPointsCommandInput, ListVolumeRecoveryPointsCommandOutput, StorageGatewayClientResolvedConfig> {
40
63
  readonly input: ListVolumeRecoveryPointsCommandInput;
@@ -38,6 +38,43 @@ export interface ListVolumesCommandOutput extends ListVolumesOutput, __MetadataB
38
38
  * @see {@link ListVolumesCommandOutput} for command's `response` shape.
39
39
  * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape.
40
40
  *
41
+ * @example To list the iSCSI stored volumes of a gateway
42
+ * ```javascript
43
+ * // Lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN up to a maximum of 100 volumes.
44
+ * const input = {
45
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
46
+ * "Limit": 2,
47
+ * "Marker": "1"
48
+ * };
49
+ * const command = new ListVolumesCommand(input);
50
+ * const response = await client.send(command);
51
+ * /* response ==
52
+ * {
53
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
54
+ * "Marker": "1",
55
+ * "VolumeInfos": [
56
+ * {
57
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
58
+ * "GatewayId": "sgw-12A3456B",
59
+ * "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB",
60
+ * "VolumeId": "vol-1122AABB",
61
+ * "VolumeSizeInBytes": 107374182400,
62
+ * "VolumeType": "STORED"
63
+ * },
64
+ * {
65
+ * "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-13B4567C",
66
+ * "GatewayId": "sgw-gw-13B4567C",
67
+ * "VolumeARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-13B4567C/volume/vol-3344CCDD",
68
+ * "VolumeId": "vol-1122AABB",
69
+ * "VolumeSizeInBytes": 107374182400,
70
+ * "VolumeType": "STORED"
71
+ * }
72
+ * ]
73
+ * }
74
+ * *\/
75
+ * // example id: to-list-the-iscsi-stored-volumes-of-a-gateway-1472145723653
76
+ * ```
77
+ *
41
78
  */
42
79
  export declare class ListVolumesCommand extends $Command<ListVolumesCommandInput, ListVolumesCommandOutput, StorageGatewayClientResolvedConfig> {
43
80
  readonly input: ListVolumesCommandInput;