@aws-sdk/client-storage-gateway 3.775.0 → 3.777.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 +11 -11
- package/dist-types/commands/AddCacheCommand.d.ts +6 -6
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +8 -8
- package/dist-types/commands/AddUploadBufferCommand.d.ts +6 -6
- package/dist-types/commands/AddWorkingStorageCommand.d.ts +6 -6
- package/dist-types/commands/AssignTapePoolCommand.d.ts +1 -0
- package/dist-types/commands/AssociateFileSystemCommand.d.ts +1 -0
- package/dist-types/commands/AttachVolumeCommand.d.ts +1 -0
- package/dist-types/commands/CancelArchivalCommand.d.ts +6 -6
- package/dist-types/commands/CancelCacheReportCommand.d.ts +1 -0
- package/dist-types/commands/CancelRetrievalCommand.d.ts +6 -6
- package/dist-types/commands/CreateCachediSCSIVolumeCommand.d.ts +11 -11
- package/dist-types/commands/CreateNFSFileShareCommand.d.ts +1 -0
- package/dist-types/commands/CreateSMBFileShareCommand.d.ts +1 -0
- package/dist-types/commands/CreateSnapshotCommand.d.ts +7 -7
- package/dist-types/commands/CreateSnapshotFromVolumeRecoveryPointCommand.d.ts +8 -8
- package/dist-types/commands/CreateStorediSCSIVolumeCommand.d.ts +12 -12
- package/dist-types/commands/CreateTapePoolCommand.d.ts +1 -0
- package/dist-types/commands/CreateTapeWithBarcodeCommand.d.ts +7 -7
- package/dist-types/commands/CreateTapesCommand.d.ts +9 -9
- package/dist-types/commands/DeleteAutomaticTapeCreationPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteBandwidthRateLimitCommand.d.ts +6 -6
- package/dist-types/commands/DeleteCacheReportCommand.d.ts +1 -0
- package/dist-types/commands/DeleteChapCredentialsCommand.d.ts +7 -7
- package/dist-types/commands/DeleteFileShareCommand.d.ts +1 -0
- package/dist-types/commands/DeleteGatewayCommand.d.ts +5 -5
- package/dist-types/commands/DeleteSnapshotScheduleCommand.d.ts +5 -5
- package/dist-types/commands/DeleteTapeArchiveCommand.d.ts +5 -5
- package/dist-types/commands/DeleteTapeCommand.d.ts +6 -6
- package/dist-types/commands/DeleteTapePoolCommand.d.ts +1 -0
- package/dist-types/commands/DeleteVolumeCommand.d.ts +5 -5
- package/dist-types/commands/DescribeAvailabilityMonitorTestCommand.d.ts +1 -0
- package/dist-types/commands/DescribeBandwidthRateLimitCommand.d.ts +7 -7
- package/dist-types/commands/DescribeBandwidthRateLimitScheduleCommand.d.ts +1 -0
- package/dist-types/commands/DescribeCacheCommand.d.ts +11 -11
- package/dist-types/commands/DescribeCacheReportCommand.d.ts +1 -0
- package/dist-types/commands/DescribeCachediSCSIVolumesCommand.d.ts +16 -16
- package/dist-types/commands/DescribeChapCredentialsCommand.d.ts +9 -9
- package/dist-types/commands/DescribeFileSystemAssociationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeGatewayInformationCommand.d.ts +14 -14
- package/dist-types/commands/DescribeMaintenanceStartTimeCommand.d.ts +9 -9
- package/dist-types/commands/DescribeNFSFileSharesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSMBFileSharesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSMBSettingsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSnapshotScheduleCommand.d.ts +9 -9
- package/dist-types/commands/DescribeStorediSCSIVolumesCommand.d.ts +17 -17
- package/dist-types/commands/DescribeTapeArchivesCommand.d.ts +1 -37
- package/dist-types/commands/DescribeTapeRecoveryPointsCommand.d.ts +1 -27
- package/dist-types/commands/DescribeTapesCommand.d.ts +17 -17
- package/dist-types/commands/DescribeUploadBufferCommand.d.ts +18 -19
- package/dist-types/commands/DescribeVTLDevicesCommand.d.ts +37 -37
- package/dist-types/commands/DescribeWorkingStorageCommand.d.ts +8 -8
- package/dist-types/commands/DetachVolumeCommand.d.ts +1 -0
- package/dist-types/commands/DisableGatewayCommand.d.ts +5 -5
- package/dist-types/commands/DisassociateFileSystemCommand.d.ts +1 -0
- package/dist-types/commands/EvictFilesFailingUploadCommand.d.ts +1 -0
- package/dist-types/commands/JoinDomainCommand.d.ts +1 -0
- package/dist-types/commands/ListAutomaticTapeCreationPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListCacheReportsCommand.d.ts +1 -0
- package/dist-types/commands/ListFileSharesCommand.d.ts +1 -0
- package/dist-types/commands/ListFileSystemAssociationsCommand.d.ts +1 -0
- package/dist-types/commands/ListGatewaysCommand.d.ts +9 -9
- package/dist-types/commands/ListLocalDisksCommand.d.ts +19 -19
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -11
- package/dist-types/commands/ListTapePoolsCommand.d.ts +1 -0
- package/dist-types/commands/ListTapesCommand.d.ts +1 -0
- package/dist-types/commands/ListVolumeInitiatorsCommand.d.ts +1 -0
- package/dist-types/commands/ListVolumeRecoveryPointsCommand.d.ts +9 -9
- package/dist-types/commands/ListVolumesCommand.d.ts +21 -21
- package/dist-types/commands/NotifyWhenUploadedCommand.d.ts +1 -0
- package/dist-types/commands/RefreshCacheCommand.d.ts +1 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -6
- package/dist-types/commands/ResetCacheCommand.d.ts +5 -5
- package/dist-types/commands/RetrieveTapeArchiveCommand.d.ts +6 -6
- package/dist-types/commands/RetrieveTapeRecoveryPointCommand.d.ts +6 -6
- package/dist-types/commands/SetLocalConsolePasswordCommand.d.ts +6 -6
- package/dist-types/commands/SetSMBGuestPasswordCommand.d.ts +1 -0
- package/dist-types/commands/ShutdownGatewayCommand.d.ts +5 -5
- package/dist-types/commands/StartAvailabilityMonitorTestCommand.d.ts +1 -0
- package/dist-types/commands/StartCacheReportCommand.d.ts +1 -0
- package/dist-types/commands/StartGatewayCommand.d.ts +5 -5
- package/dist-types/commands/UpdateAutomaticTapeCreationPolicyCommand.d.ts +1 -0
- package/dist-types/commands/UpdateBandwidthRateLimitCommand.d.ts +7 -7
- package/dist-types/commands/UpdateBandwidthRateLimitScheduleCommand.d.ts +1 -0
- package/dist-types/commands/UpdateChapCredentialsCommand.d.ts +9 -9
- package/dist-types/commands/UpdateFileSystemAssociationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateGatewayInformationCommand.d.ts +8 -8
- package/dist-types/commands/UpdateGatewaySoftwareNowCommand.d.ts +5 -5
- package/dist-types/commands/UpdateMaintenanceStartTimeCommand.d.ts +8 -8
- package/dist-types/commands/UpdateNFSFileShareCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSMBFileShareCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSMBFileShareVisibilityCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSMBLocalGroupsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSMBSecurityStrategyCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSnapshotScheduleCommand.d.ts +8 -8
- package/dist-types/commands/UpdateVTLDeviceTypeCommand.d.ts +6 -6
- package/package.json +2 -2
|
@@ -78,34 +78,8 @@ declare const DescribeTapeRecoveryPointsCommand_base: {
|
|
|
78
78
|
* @throws {@link StorageGatewayServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
80
80
|
*
|
|
81
|
-
* @public
|
|
82
|
-
* @example To describe virtual tape recovery points
|
|
83
|
-
* ```javascript
|
|
84
|
-
* // Returns a list of virtual tape recovery points that are available for the specified gateway-VTL.
|
|
85
|
-
* const input = {
|
|
86
|
-
* "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
|
|
87
|
-
* "Limit": 1,
|
|
88
|
-
* "Marker": "1"
|
|
89
|
-
* };
|
|
90
|
-
* const command = new DescribeTapeRecoveryPointsCommand(input);
|
|
91
|
-
* const response = await client.send(command);
|
|
92
|
-
* /* response ==
|
|
93
|
-
* {
|
|
94
|
-
* "GatewayARN": "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
|
|
95
|
-
* "Marker": "1",
|
|
96
|
-
* "TapeRecoveryPointInfos": [
|
|
97
|
-
* {
|
|
98
|
-
* "TapeARN": "arn:aws:storagegateway:us-east-1:999999999:tape/AMZN01A2A4",
|
|
99
|
-
* "TapeRecoveryPointTime": "2016-12-16T13:50Z",
|
|
100
|
-
* "TapeSizeInBytes": 1471550497,
|
|
101
|
-
* "TapeStatus": "AVAILABLE"
|
|
102
|
-
* }
|
|
103
|
-
* ]
|
|
104
|
-
* }
|
|
105
|
-
* *\/
|
|
106
|
-
* // example id: to-describe-virtual-tape-recovery-points-1471542042026
|
|
107
|
-
* ```
|
|
108
81
|
*
|
|
82
|
+
* @public
|
|
109
83
|
*/
|
|
110
84
|
export declare class DescribeTapeRecoveryPointsCommand extends DescribeTapeRecoveryPointsCommand_base {
|
|
111
85
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -93,43 +93,43 @@ declare const DescribeTapesCommand_base: {
|
|
|
93
93
|
* @throws {@link StorageGatewayServiceException}
|
|
94
94
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
95
95
|
*
|
|
96
|
-
*
|
|
96
|
+
*
|
|
97
97
|
* @example To describe virtual tape(s) associated with gateway
|
|
98
98
|
* ```javascript
|
|
99
99
|
* // 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.
|
|
100
100
|
* const input = {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
101
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B",
|
|
102
|
+
* Limit: 2,
|
|
103
|
+
* Marker: "1",
|
|
104
|
+
* TapeARNs: [
|
|
105
105
|
* "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST04A2A1",
|
|
106
106
|
* "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST05A2A0"
|
|
107
107
|
* ]
|
|
108
108
|
* };
|
|
109
109
|
* const command = new DescribeTapesCommand(input);
|
|
110
110
|
* const response = await client.send(command);
|
|
111
|
-
* /* response
|
|
111
|
+
* /* response is
|
|
112
112
|
* {
|
|
113
|
-
*
|
|
114
|
-
*
|
|
113
|
+
* Marker: "1",
|
|
114
|
+
* Tapes: [
|
|
115
115
|
* {
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
116
|
+
* TapeARN: "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST04A2A1",
|
|
117
|
+
* TapeBarcode: "TEST04A2A1",
|
|
118
|
+
* TapeSizeInBytes: 107374182400,
|
|
119
|
+
* TapeStatus: "AVAILABLE"
|
|
120
120
|
* },
|
|
121
121
|
* {
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
122
|
+
* TapeARN: "arn:aws:storagegateway:us-east-1:999999999999:tape/TEST05A2A0",
|
|
123
|
+
* TapeBarcode: "TEST05A2A0",
|
|
124
|
+
* TapeSizeInBytes: 107374182400,
|
|
125
|
+
* TapeStatus: "AVAILABLE"
|
|
126
126
|
* }
|
|
127
127
|
* ]
|
|
128
128
|
* }
|
|
129
129
|
* *\/
|
|
130
|
-
* // example id: to-describe-virtual-tapes-associated-with-gateway-1471629287727
|
|
131
130
|
* ```
|
|
132
131
|
*
|
|
132
|
+
* @public
|
|
133
133
|
*/
|
|
134
134
|
export declare class DescribeTapesCommand extends DescribeTapesCommand_base {
|
|
135
135
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -70,51 +70,50 @@ declare const DescribeUploadBufferCommand_base: {
|
|
|
70
70
|
* @throws {@link StorageGatewayServiceException}
|
|
71
71
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
72
72
|
*
|
|
73
|
-
*
|
|
74
|
-
* @example To describe upload buffer of gateway
|
|
73
|
+
*
|
|
74
|
+
* @example To describe upload buffer of a gateway
|
|
75
75
|
* ```javascript
|
|
76
|
-
* // Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated
|
|
76
|
+
* // Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated and used.
|
|
77
77
|
* const input = {
|
|
78
|
-
*
|
|
78
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
79
79
|
* };
|
|
80
80
|
* const command = new DescribeUploadBufferCommand(input);
|
|
81
81
|
* const response = await client.send(command);
|
|
82
|
-
* /* response
|
|
82
|
+
* /* response is
|
|
83
83
|
* {
|
|
84
|
-
*
|
|
84
|
+
* DiskIds: [
|
|
85
85
|
* "pci-0000:03:00.0-scsi-0:0:0:0",
|
|
86
86
|
* "pci-0000:04:00.0-scsi-0:1:0:0"
|
|
87
87
|
* ],
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
88
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
|
|
89
|
+
* UploadBufferAllocatedInBytes: 161061273600,
|
|
90
|
+
* UploadBufferUsedInBytes: 0
|
|
91
91
|
* }
|
|
92
92
|
* *\/
|
|
93
|
-
* // example id: to-describe-upload-buffer-of-gateway-1471631099003
|
|
94
93
|
* ```
|
|
95
94
|
*
|
|
96
|
-
* @example To describe upload buffer of
|
|
95
|
+
* @example To describe upload buffer of gateway
|
|
97
96
|
* ```javascript
|
|
98
|
-
* // Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated
|
|
97
|
+
* // Returns information about the upload buffer of a gateway including disk IDs and the amount of upload buffer space allocated/used.
|
|
99
98
|
* const input = {
|
|
100
|
-
*
|
|
99
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
101
100
|
* };
|
|
102
101
|
* const command = new DescribeUploadBufferCommand(input);
|
|
103
102
|
* const response = await client.send(command);
|
|
104
|
-
* /* response
|
|
103
|
+
* /* response is
|
|
105
104
|
* {
|
|
106
|
-
*
|
|
105
|
+
* DiskIds: [
|
|
107
106
|
* "pci-0000:03:00.0-scsi-0:0:0:0",
|
|
108
107
|
* "pci-0000:04:00.0-scsi-0:1:0:0"
|
|
109
108
|
* ],
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
109
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
|
|
110
|
+
* UploadBufferAllocatedInBytes: 0,
|
|
111
|
+
* UploadBufferUsedInBytes: 161061273600
|
|
113
112
|
* }
|
|
114
113
|
* *\/
|
|
115
|
-
* // example id: to-describe-upload-buffer-of-a-gateway--1471904566370
|
|
116
114
|
* ```
|
|
117
115
|
*
|
|
116
|
+
* @public
|
|
118
117
|
*/
|
|
119
118
|
export declare class DescribeUploadBufferCommand extends DescribeUploadBufferCommand_base {
|
|
120
119
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -84,65 +84,65 @@ declare const DescribeVTLDevicesCommand_base: {
|
|
|
84
84
|
* @throws {@link StorageGatewayServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
86
86
|
*
|
|
87
|
-
*
|
|
87
|
+
*
|
|
88
88
|
* @example To describe virtual tape library (VTL) devices of a single gateway
|
|
89
89
|
* ```javascript
|
|
90
90
|
* // Returns a description of virtual tape library (VTL) devices for the specified gateway.
|
|
91
91
|
* const input = {
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
92
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B",
|
|
93
|
+
* Limit: 123,
|
|
94
|
+
* Marker: "1",
|
|
95
|
+
* VTLDeviceARNs: []
|
|
96
96
|
* };
|
|
97
97
|
* const command = new DescribeVTLDevicesCommand(input);
|
|
98
98
|
* const response = await client.send(command);
|
|
99
|
-
* /* response
|
|
99
|
+
* /* response is
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
101
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B",
|
|
102
|
+
* Marker: "1",
|
|
103
|
+
* VTLDevices: [
|
|
104
104
|
* {
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
105
|
+
* DeviceiSCSIAttributes: {
|
|
106
|
+
* ChapEnabled: false,
|
|
107
|
+
* NetworkInterfaceId: "10.243.43.207",
|
|
108
|
+
* NetworkInterfacePort: 3260,
|
|
109
|
+
* TargetARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:sgw-1fad4876-mediachanger"
|
|
110
110
|
* },
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
111
|
+
* VTLDeviceARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_MEDIACHANGER_00001",
|
|
112
|
+
* VTLDeviceProductIdentifier: "L700",
|
|
113
|
+
* VTLDeviceType: "Medium Changer",
|
|
114
|
+
* VTLDeviceVendor: "STK"
|
|
115
115
|
* },
|
|
116
116
|
* {
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
117
|
+
* DeviceiSCSIAttributes: {
|
|
118
|
+
* ChapEnabled: false,
|
|
119
|
+
* NetworkInterfaceId: "10.243.43.209",
|
|
120
|
+
* NetworkInterfacePort: 3260,
|
|
121
|
+
* TargetARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:sgw-1fad4876-tapedrive-01"
|
|
122
122
|
* },
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
123
|
+
* VTLDeviceARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_TAPEDRIVE_00001",
|
|
124
|
+
* VTLDeviceProductIdentifier: "ULT3580-TD5",
|
|
125
|
+
* VTLDeviceType: "Tape Drive",
|
|
126
|
+
* VTLDeviceVendor: "IBM"
|
|
127
127
|
* },
|
|
128
128
|
* {
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
129
|
+
* DeviceiSCSIAttributes: {
|
|
130
|
+
* ChapEnabled: false,
|
|
131
|
+
* NetworkInterfaceId: "10.243.43.209",
|
|
132
|
+
* NetworkInterfacePort: 3260,
|
|
133
|
+
* TargetARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:sgw-1fad4876-tapedrive-02"
|
|
134
134
|
* },
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
135
|
+
* VTLDeviceARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B/device/AMZN_SGW-1FAD4876_TAPEDRIVE_00002",
|
|
136
|
+
* VTLDeviceProductIdentifier: "ULT3580-TD5",
|
|
137
|
+
* VTLDeviceType: "Tape Drive",
|
|
138
|
+
* VTLDeviceVendor: "IBM"
|
|
139
139
|
* }
|
|
140
140
|
* ]
|
|
141
141
|
* }
|
|
142
142
|
* *\/
|
|
143
|
-
* // example id: to-describe-virtual-tape-library-vtl-devices-of-a-single-gateway-1471906071410
|
|
144
143
|
* ```
|
|
145
144
|
*
|
|
145
|
+
* @public
|
|
146
146
|
*/
|
|
147
147
|
export declare class DescribeVTLDevicesCommand extends DescribeVTLDevicesCommand_base {
|
|
148
148
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -75,29 +75,29 @@ declare const DescribeWorkingStorageCommand_base: {
|
|
|
75
75
|
* @throws {@link StorageGatewayServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @example To describe the working storage of a gateway [Depreciated]
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // This operation is supported only for the gateway-stored volume architecture. This operation is deprecated in cached-volumes API version (20120630). Use DescribeUploadBuffer instead.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
83
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
84
84
|
* };
|
|
85
85
|
* const command = new DescribeWorkingStorageCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
-
* /* response
|
|
87
|
+
* /* response is
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
89
|
+
* DiskIds: [
|
|
90
90
|
* "pci-0000:03:00.0-scsi-0:0:0:0",
|
|
91
91
|
* "pci-0000:03:00.0-scsi-0:0:1:0"
|
|
92
92
|
* ],
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
93
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
|
|
94
|
+
* WorkingStorageAllocatedInBytes: 2199023255552,
|
|
95
|
+
* WorkingStorageUsedInBytes: 789207040
|
|
96
96
|
* }
|
|
97
97
|
* *\/
|
|
98
|
-
* // example id: to-describe-the-working-storage-of-a-gateway-depreciated-1472070842332
|
|
99
98
|
* ```
|
|
100
99
|
*
|
|
100
|
+
* @public
|
|
101
101
|
*/
|
|
102
102
|
export declare class DescribeWorkingStorageCommand extends DescribeWorkingStorageCommand_base {
|
|
103
103
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -67,6 +67,7 @@ declare const DetachVolumeCommand_base: {
|
|
|
67
67
|
* @throws {@link StorageGatewayServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class DetachVolumeCommand extends DetachVolumeCommand_base {
|
|
@@ -68,23 +68,23 @@ declare const DisableGatewayCommand_base: {
|
|
|
68
68
|
* @throws {@link StorageGatewayServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
70
70
|
*
|
|
71
|
-
*
|
|
71
|
+
*
|
|
72
72
|
* @example To disable a gateway when it is no longer functioning
|
|
73
73
|
* ```javascript
|
|
74
74
|
* // Disables a gateway when the gateway is no longer functioning. Use this operation for a gateway-VTL that is not reachable or not functioning.
|
|
75
75
|
* const input = {
|
|
76
|
-
*
|
|
76
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
77
77
|
* };
|
|
78
78
|
* const command = new DisableGatewayCommand(input);
|
|
79
79
|
* const response = await client.send(command);
|
|
80
|
-
* /* response
|
|
80
|
+
* /* response is
|
|
81
81
|
* {
|
|
82
|
-
*
|
|
82
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
83
83
|
* }
|
|
84
84
|
* *\/
|
|
85
|
-
* // example id: to-disable-a-gateway-when-it-is-no-longer-functioning-1472076046936
|
|
86
85
|
* ```
|
|
87
86
|
*
|
|
87
|
+
* @public
|
|
88
88
|
*/
|
|
89
89
|
export declare class DisableGatewayCommand extends DisableGatewayCommand_base {
|
|
90
90
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,6 +65,7 @@ declare const DisassociateFileSystemCommand_base: {
|
|
|
65
65
|
* @throws {@link StorageGatewayServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
67
67
|
*
|
|
68
|
+
*
|
|
68
69
|
* @public
|
|
69
70
|
*/
|
|
70
71
|
export declare class DisassociateFileSystemCommand extends DisassociateFileSystemCommand_base {
|
|
@@ -75,6 +75,7 @@ declare const EvictFilesFailingUploadCommand_base: {
|
|
|
75
75
|
* @throws {@link StorageGatewayServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class EvictFilesFailingUploadCommand extends EvictFilesFailingUploadCommand_base {
|
|
@@ -81,6 +81,7 @@ declare const JoinDomainCommand_base: {
|
|
|
81
81
|
* @throws {@link StorageGatewayServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
83
83
|
*
|
|
84
|
+
*
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
86
87
|
export declare class JoinDomainCommand extends JoinDomainCommand_base {
|
|
@@ -77,6 +77,7 @@ declare const ListAutomaticTapeCreationPoliciesCommand_base: {
|
|
|
77
77
|
* @throws {@link StorageGatewayServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class ListAutomaticTapeCreationPoliciesCommand extends ListAutomaticTapeCreationPoliciesCommand_base {
|
|
@@ -100,6 +100,7 @@ declare const ListCacheReportsCommand_base: {
|
|
|
100
100
|
* @throws {@link StorageGatewayServiceException}
|
|
101
101
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
102
102
|
*
|
|
103
|
+
*
|
|
103
104
|
* @public
|
|
104
105
|
*/
|
|
105
106
|
export declare class ListCacheReportsCommand extends ListCacheReportsCommand_base {
|
|
@@ -76,6 +76,7 @@ declare const ListFileSharesCommand_base: {
|
|
|
76
76
|
* @throws {@link StorageGatewayServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class ListFileSharesCommand extends ListFileSharesCommand_base {
|
|
@@ -75,6 +75,7 @@ declare const ListFileSystemAssociationsCommand_base: {
|
|
|
75
75
|
* @throws {@link StorageGatewayServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class ListFileSystemAssociationsCommand extends ListFileSystemAssociationsCommand_base {
|
|
@@ -86,32 +86,32 @@ declare const ListGatewaysCommand_base: {
|
|
|
86
86
|
* @throws {@link StorageGatewayServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
88
88
|
*
|
|
89
|
-
*
|
|
89
|
+
*
|
|
90
90
|
* @example To lists region specific gateways per AWS account
|
|
91
91
|
* ```javascript
|
|
92
92
|
* // 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.
|
|
93
93
|
* const input = {
|
|
94
|
-
*
|
|
95
|
-
*
|
|
94
|
+
* Limit: 2,
|
|
95
|
+
* Marker: "1"
|
|
96
96
|
* };
|
|
97
97
|
* const command = new ListGatewaysCommand(input);
|
|
98
98
|
* const response = await client.send(command);
|
|
99
|
-
* /* response
|
|
99
|
+
* /* response is
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
101
|
+
* Gateways: [
|
|
102
102
|
* {
|
|
103
|
-
*
|
|
103
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
104
104
|
* },
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
106
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-23A4567C"
|
|
107
107
|
* }
|
|
108
108
|
* ],
|
|
109
|
-
*
|
|
109
|
+
* Marker: "1"
|
|
110
110
|
* }
|
|
111
111
|
* *\/
|
|
112
|
-
* // example id: to-lists-region-specific-gateways-per-aws-account-1472077860657
|
|
113
112
|
* ```
|
|
114
113
|
*
|
|
114
|
+
* @public
|
|
115
115
|
*/
|
|
116
116
|
export declare class ListGatewaysCommand extends ListGatewaysCommand_base {
|
|
117
117
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -83,42 +83,42 @@ declare const ListLocalDisksCommand_base: {
|
|
|
83
83
|
* @throws {@link StorageGatewayServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
85
85
|
*
|
|
86
|
-
*
|
|
86
|
+
*
|
|
87
87
|
* @example To list the gateway's local disks
|
|
88
88
|
* ```javascript
|
|
89
89
|
* // 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.
|
|
90
90
|
* const input = {
|
|
91
|
-
*
|
|
91
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
92
92
|
* };
|
|
93
93
|
* const command = new ListLocalDisksCommand(input);
|
|
94
94
|
* const response = await client.send(command);
|
|
95
|
-
* /* response
|
|
95
|
+
* /* response is
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
97
|
+
* Disks: [
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
99
|
+
* DiskAllocationType: "CACHE_STORAGE",
|
|
100
|
+
* DiskId: "pci-0000:03:00.0-scsi-0:0:0:0",
|
|
101
|
+
* DiskNode: "SCSI(0:0)",
|
|
102
|
+
* DiskPath: "/dev/sda",
|
|
103
|
+
* DiskSizeInBytes: 1099511627776,
|
|
104
|
+
* DiskStatus: "missing"
|
|
105
105
|
* },
|
|
106
106
|
* {
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
107
|
+
* DiskAllocationResource: "",
|
|
108
|
+
* DiskAllocationType: "UPLOAD_BUFFER",
|
|
109
|
+
* DiskId: "pci-0000:03:00.0-scsi-0:0:1:0",
|
|
110
|
+
* DiskNode: "SCSI(0:1)",
|
|
111
|
+
* DiskPath: "/dev/sdb",
|
|
112
|
+
* DiskSizeInBytes: 1099511627776,
|
|
113
|
+
* DiskStatus: "present"
|
|
114
114
|
* }
|
|
115
115
|
* ],
|
|
116
|
-
*
|
|
116
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
117
117
|
* }
|
|
118
118
|
* *\/
|
|
119
|
-
* // example id: to-list-the-gateways-local-disks-1472079564618
|
|
120
119
|
* ```
|
|
121
120
|
*
|
|
121
|
+
* @public
|
|
122
122
|
*/
|
|
123
123
|
export declare class ListLocalDisksCommand extends ListLocalDisksCommand_base {
|
|
124
124
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -72,32 +72,32 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
72
72
|
* @throws {@link StorageGatewayServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
74
74
|
*
|
|
75
|
-
*
|
|
75
|
+
*
|
|
76
76
|
* @example To list tags that have been added to a resource
|
|
77
77
|
* ```javascript
|
|
78
78
|
* // Lists the tags that have been added to the specified resource.
|
|
79
79
|
* const input = {
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
80
|
+
* Limit: 1,
|
|
81
|
+
* Marker: "1",
|
|
82
|
+
* ResourceARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B"
|
|
83
83
|
* };
|
|
84
84
|
* const command = new ListTagsForResourceCommand(input);
|
|
85
85
|
* const response = await client.send(command);
|
|
86
|
-
* /* response
|
|
86
|
+
* /* response is
|
|
87
87
|
* {
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
88
|
+
* Marker: "1",
|
|
89
|
+
* ResourceARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B",
|
|
90
|
+
* Tags: [
|
|
91
91
|
* {
|
|
92
|
-
*
|
|
93
|
-
*
|
|
92
|
+
* Key: "Dev Gatgeway Region",
|
|
93
|
+
* Value: "East Coast"
|
|
94
94
|
* }
|
|
95
95
|
* ]
|
|
96
96
|
* }
|
|
97
97
|
* *\/
|
|
98
|
-
* // example id: to-list-tags-that-have-been-added-to-a-resource-1472080268972
|
|
99
98
|
* ```
|
|
100
99
|
*
|
|
100
|
+
* @public
|
|
101
101
|
*/
|
|
102
102
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
103
103
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -83,6 +83,7 @@ declare const ListTapePoolsCommand_base: {
|
|
|
83
83
|
* @throws {@link StorageGatewayServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
85
85
|
*
|
|
86
|
+
*
|
|
86
87
|
* @public
|
|
87
88
|
*/
|
|
88
89
|
export declare class ListTapePoolsCommand extends ListTapePoolsCommand_base {
|
|
@@ -87,6 +87,7 @@ declare const ListTapesCommand_base: {
|
|
|
87
87
|
* @throws {@link StorageGatewayServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
89
89
|
*
|
|
90
|
+
*
|
|
90
91
|
* @public
|
|
91
92
|
*/
|
|
92
93
|
export declare class ListTapesCommand extends ListTapesCommand_base {
|
|
@@ -66,6 +66,7 @@ declare const ListVolumeInitiatorsCommand_base: {
|
|
|
66
66
|
* @throws {@link StorageGatewayServiceException}
|
|
67
67
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
68
68
|
*
|
|
69
|
+
*
|
|
69
70
|
* @public
|
|
70
71
|
*/
|
|
71
72
|
export declare class ListVolumeInitiatorsCommand extends ListVolumeInitiatorsCommand_base {
|
|
@@ -75,30 +75,30 @@ declare const ListVolumeRecoveryPointsCommand_base: {
|
|
|
75
75
|
* @throws {@link StorageGatewayServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @example To list recovery points for a gateway
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // 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.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
83
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B"
|
|
84
84
|
* };
|
|
85
85
|
* const command = new ListVolumeRecoveryPointsCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
-
* /* response
|
|
87
|
+
* /* response is
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
90
|
-
*
|
|
89
|
+
* GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
|
|
90
|
+
* VolumeRecoveryPointInfos: [
|
|
91
91
|
* {
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
92
|
+
* VolumeARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB",
|
|
93
|
+
* VolumeRecoveryPointTime: "2012-09-04T21:08:44.627Z",
|
|
94
|
+
* VolumeSizeInBytes: 536870912000
|
|
95
95
|
* }
|
|
96
96
|
* ]
|
|
97
97
|
* }
|
|
98
98
|
* *\/
|
|
99
|
-
* // example id: to-list-recovery-points-for-a-gateway-1472143015088
|
|
100
99
|
* ```
|
|
101
100
|
*
|
|
101
|
+
* @public
|
|
102
102
|
*/
|
|
103
103
|
export declare class ListVolumeRecoveryPointsCommand extends ListVolumeRecoveryPointsCommand_base {
|
|
104
104
|
/** @internal type navigation helper, not in runtime. */
|