@aws-sdk/client-storage-gateway 3.774.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-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/StorageGatewayClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- 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 +33 -33
|
@@ -111,6 +111,7 @@ declare const DescribeSMBFileSharesCommand_base: {
|
|
|
111
111
|
* @throws {@link StorageGatewayServiceException}
|
|
112
112
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
113
113
|
*
|
|
114
|
+
*
|
|
114
115
|
* @public
|
|
115
116
|
*/
|
|
116
117
|
export declare class DescribeSMBFileSharesCommand extends DescribeSMBFileSharesCommand_base {
|
|
@@ -73,6 +73,7 @@ declare const DescribeSMBSettingsCommand_base: {
|
|
|
73
73
|
* @throws {@link StorageGatewayServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class DescribeSMBSettingsCommand extends DescribeSMBSettingsCommand_base {
|
|
@@ -75,27 +75,27 @@ declare const DescribeSnapshotScheduleCommand_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 snapshot schedule for gateway volume
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // Describes the snapshot schedule for the specified gateway volume including intervals at which snapshots are automatically initiated.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
83
|
+
* VolumeARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"
|
|
84
84
|
* };
|
|
85
85
|
* const command = new DescribeSnapshotScheduleCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
-
* /* response
|
|
87
|
+
* /* response is
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
89
|
+
* Description: "sgw-AABB1122:vol-AABB1122:Schedule",
|
|
90
|
+
* RecurrenceInHours: 24,
|
|
91
|
+
* StartAt: 6,
|
|
92
|
+
* Timezone: "GMT+7:00",
|
|
93
|
+
* VolumeARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"
|
|
94
94
|
* }
|
|
95
95
|
* *\/
|
|
96
|
-
* // example id: to-describe-snapshot-schedule-for-gateway-volume-1471471139538
|
|
97
96
|
* ```
|
|
98
97
|
*
|
|
98
|
+
* @public
|
|
99
99
|
*/
|
|
100
100
|
export declare class DescribeSnapshotScheduleCommand extends DescribeSnapshotScheduleCommand_base {
|
|
101
101
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -90,41 +90,41 @@ declare const DescribeStorediSCSIVolumesCommand_base: {
|
|
|
90
90
|
* @throws {@link StorageGatewayServiceException}
|
|
91
91
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
92
92
|
*
|
|
93
|
-
*
|
|
93
|
+
*
|
|
94
94
|
* @example To describe the volumes of a gateway
|
|
95
95
|
* ```javascript
|
|
96
96
|
* // Returns the description of the gateway volumes specified in the request belonging to the same gateway.
|
|
97
97
|
* const input = {
|
|
98
|
-
*
|
|
98
|
+
* VolumeARNs: [
|
|
99
99
|
* "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"
|
|
100
100
|
* ]
|
|
101
101
|
* };
|
|
102
102
|
* const command = new DescribeStorediSCSIVolumesCommand(input);
|
|
103
103
|
* const response = await client.send(command);
|
|
104
|
-
* /* response
|
|
104
|
+
* /* response is
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
106
|
+
* StorediSCSIVolumes: [
|
|
107
107
|
* {
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
108
|
+
* PreservedExistingData: false,
|
|
109
|
+
* VolumeARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB",
|
|
110
|
+
* VolumeDiskId: "pci-0000:03:00.0-scsi-0:0:0:0",
|
|
111
|
+
* VolumeId: "vol-1122AABB",
|
|
112
|
+
* VolumeProgress: 23.7,
|
|
113
|
+
* VolumeSizeInBytes: 1099511627776,
|
|
114
|
+
* VolumeStatus: "BOOTSTRAPPING",
|
|
115
|
+
* VolumeiSCSIAttributes: {
|
|
116
|
+
* ChapEnabled: true,
|
|
117
|
+
* NetworkInterfaceId: "10.243.43.207",
|
|
118
|
+
* NetworkInterfacePort: 3260,
|
|
119
|
+
* TargetARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume"
|
|
120
120
|
* }
|
|
121
121
|
* }
|
|
122
122
|
* ]
|
|
123
123
|
* }
|
|
124
124
|
* *\/
|
|
125
|
-
* // example id: to-describe-the-volumes-of-a-gateway-1471472640660
|
|
126
125
|
* ```
|
|
127
126
|
*
|
|
127
|
+
* @public
|
|
128
128
|
*/
|
|
129
129
|
export declare class DescribeStorediSCSIVolumesCommand extends DescribeStorediSCSIVolumesCommand_base {
|
|
130
130
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -86,44 +86,8 @@ declare const DescribeTapeArchivesCommand_base: {
|
|
|
86
86
|
* @throws {@link StorageGatewayServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from StorageGateway service.</p>
|
|
88
88
|
*
|
|
89
|
-
* @public
|
|
90
|
-
* @example To describe virtual tapes in the VTS
|
|
91
|
-
* ```javascript
|
|
92
|
-
* // Returns a description of specified virtual tapes in the virtual tape shelf (VTS).
|
|
93
|
-
* const input = {
|
|
94
|
-
* "Limit": 123,
|
|
95
|
-
* "Marker": "1",
|
|
96
|
-
* "TapeARNs": [
|
|
97
|
-
* "arn:aws:storagegateway:us-east-1:999999999999:tape/AM08A1AD",
|
|
98
|
-
* "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4"
|
|
99
|
-
* ]
|
|
100
|
-
* };
|
|
101
|
-
* const command = new DescribeTapeArchivesCommand(input);
|
|
102
|
-
* const response = await client.send(command);
|
|
103
|
-
* /* response ==
|
|
104
|
-
* {
|
|
105
|
-
* "Marker": "1",
|
|
106
|
-
* "TapeArchives": [
|
|
107
|
-
* {
|
|
108
|
-
* "CompletionTime": "2016-12-16T13:50Z",
|
|
109
|
-
* "TapeARN": "arn:aws:storagegateway:us-east-1:999999999:tape/AM08A1AD",
|
|
110
|
-
* "TapeBarcode": "AM08A1AD",
|
|
111
|
-
* "TapeSizeInBytes": 107374182400,
|
|
112
|
-
* "TapeStatus": "ARCHIVED"
|
|
113
|
-
* },
|
|
114
|
-
* {
|
|
115
|
-
* "CompletionTime": "2016-12-16T13:59Z",
|
|
116
|
-
* "TapeARN": "arn:aws:storagegateway:us-east-1:999999999:tape/AMZN01A2A4",
|
|
117
|
-
* "TapeBarcode": "AMZN01A2A4",
|
|
118
|
-
* "TapeSizeInBytes": 429496729600,
|
|
119
|
-
* "TapeStatus": "ARCHIVED"
|
|
120
|
-
* }
|
|
121
|
-
* ]
|
|
122
|
-
* }
|
|
123
|
-
* *\/
|
|
124
|
-
* // example id: to-describe-virtual-tapes-in-the-vts-1471473188198
|
|
125
|
-
* ```
|
|
126
89
|
*
|
|
90
|
+
* @public
|
|
127
91
|
*/
|
|
128
92
|
export declare class DescribeTapeArchivesCommand extends DescribeTapeArchivesCommand_base {
|
|
129
93
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -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. */
|