@aws-sdk/client-storage-gateway 3.927.0 → 3.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2508 -2867
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/StorageGatewayClient.js +2 -0
- package/dist-es/commands/ActivateGatewayCommand.js +3 -9
- package/dist-es/commands/AddCacheCommand.js +3 -9
- package/dist-es/commands/AddTagsToResourceCommand.js +3 -9
- package/dist-es/commands/AddUploadBufferCommand.js +3 -9
- package/dist-es/commands/AddWorkingStorageCommand.js +3 -9
- package/dist-es/commands/AssignTapePoolCommand.js +3 -9
- package/dist-es/commands/AssociateFileSystemCommand.js +3 -10
- package/dist-es/commands/AttachVolumeCommand.js +3 -9
- package/dist-es/commands/CancelArchivalCommand.js +3 -9
- package/dist-es/commands/CancelCacheReportCommand.js +3 -9
- package/dist-es/commands/CancelRetrievalCommand.js +3 -9
- package/dist-es/commands/CreateCachediSCSIVolumeCommand.js +3 -9
- package/dist-es/commands/CreateNFSFileShareCommand.js +3 -9
- package/dist-es/commands/CreateSMBFileShareCommand.js +3 -9
- package/dist-es/commands/CreateSnapshotCommand.js +3 -9
- package/dist-es/commands/CreateSnapshotFromVolumeRecoveryPointCommand.js +3 -9
- package/dist-es/commands/CreateStorediSCSIVolumeCommand.js +3 -9
- package/dist-es/commands/CreateTapePoolCommand.js +3 -9
- package/dist-es/commands/CreateTapeWithBarcodeCommand.js +3 -9
- package/dist-es/commands/CreateTapesCommand.js +3 -9
- package/dist-es/commands/DeleteAutomaticTapeCreationPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteBandwidthRateLimitCommand.js +3 -9
- package/dist-es/commands/DeleteCacheReportCommand.js +3 -9
- package/dist-es/commands/DeleteChapCredentialsCommand.js +3 -9
- package/dist-es/commands/DeleteFileShareCommand.js +3 -9
- package/dist-es/commands/DeleteGatewayCommand.js +3 -9
- package/dist-es/commands/DeleteSnapshotScheduleCommand.js +3 -9
- package/dist-es/commands/DeleteTapeArchiveCommand.js +3 -9
- package/dist-es/commands/DeleteTapeCommand.js +3 -9
- package/dist-es/commands/DeleteTapePoolCommand.js +3 -9
- package/dist-es/commands/DeleteVolumeCommand.js +3 -9
- package/dist-es/commands/DescribeAvailabilityMonitorTestCommand.js +3 -9
- package/dist-es/commands/DescribeBandwidthRateLimitCommand.js +3 -9
- package/dist-es/commands/DescribeBandwidthRateLimitScheduleCommand.js +3 -9
- package/dist-es/commands/DescribeCacheCommand.js +3 -9
- package/dist-es/commands/DescribeCacheReportCommand.js +3 -9
- package/dist-es/commands/DescribeCachediSCSIVolumesCommand.js +3 -9
- package/dist-es/commands/DescribeChapCredentialsCommand.js +3 -10
- package/dist-es/commands/DescribeFileSystemAssociationsCommand.js +3 -9
- package/dist-es/commands/DescribeGatewayInformationCommand.js +3 -10
- package/dist-es/commands/DescribeMaintenanceStartTimeCommand.js +3 -9
- package/dist-es/commands/DescribeNFSFileSharesCommand.js +3 -9
- package/dist-es/commands/DescribeSMBFileSharesCommand.js +3 -9
- package/dist-es/commands/DescribeSMBSettingsCommand.js +3 -9
- package/dist-es/commands/DescribeSnapshotScheduleCommand.js +3 -9
- package/dist-es/commands/DescribeStorediSCSIVolumesCommand.js +3 -9
- package/dist-es/commands/DescribeTapeArchivesCommand.js +3 -9
- package/dist-es/commands/DescribeTapeRecoveryPointsCommand.js +3 -9
- package/dist-es/commands/DescribeTapesCommand.js +3 -9
- package/dist-es/commands/DescribeUploadBufferCommand.js +3 -9
- package/dist-es/commands/DescribeVTLDevicesCommand.js +3 -9
- package/dist-es/commands/DescribeWorkingStorageCommand.js +3 -9
- package/dist-es/commands/DetachVolumeCommand.js +3 -9
- package/dist-es/commands/DisableGatewayCommand.js +3 -9
- package/dist-es/commands/DisassociateFileSystemCommand.js +3 -9
- package/dist-es/commands/EvictFilesFailingUploadCommand.js +3 -9
- package/dist-es/commands/JoinDomainCommand.js +3 -10
- package/dist-es/commands/ListAutomaticTapeCreationPoliciesCommand.js +3 -9
- package/dist-es/commands/ListCacheReportsCommand.js +3 -9
- package/dist-es/commands/ListFileSharesCommand.js +3 -9
- package/dist-es/commands/ListFileSystemAssociationsCommand.js +3 -9
- package/dist-es/commands/ListGatewaysCommand.js +3 -9
- package/dist-es/commands/ListLocalDisksCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTapePoolsCommand.js +3 -9
- package/dist-es/commands/ListTapesCommand.js +3 -9
- package/dist-es/commands/ListVolumeInitiatorsCommand.js +3 -9
- package/dist-es/commands/ListVolumeRecoveryPointsCommand.js +3 -9
- package/dist-es/commands/ListVolumesCommand.js +3 -9
- package/dist-es/commands/NotifyWhenUploadedCommand.js +3 -9
- package/dist-es/commands/RefreshCacheCommand.js +3 -9
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +3 -9
- package/dist-es/commands/ResetCacheCommand.js +3 -9
- package/dist-es/commands/RetrieveTapeArchiveCommand.js +3 -9
- package/dist-es/commands/RetrieveTapeRecoveryPointCommand.js +3 -9
- package/dist-es/commands/SetLocalConsolePasswordCommand.js +3 -10
- package/dist-es/commands/SetSMBGuestPasswordCommand.js +3 -10
- package/dist-es/commands/ShutdownGatewayCommand.js +3 -9
- package/dist-es/commands/StartAvailabilityMonitorTestCommand.js +3 -9
- package/dist-es/commands/StartCacheReportCommand.js +3 -9
- package/dist-es/commands/StartGatewayCommand.js +3 -9
- package/dist-es/commands/UpdateAutomaticTapeCreationPolicyCommand.js +3 -9
- package/dist-es/commands/UpdateBandwidthRateLimitCommand.js +3 -9
- package/dist-es/commands/UpdateBandwidthRateLimitScheduleCommand.js +3 -9
- package/dist-es/commands/UpdateChapCredentialsCommand.js +3 -10
- package/dist-es/commands/UpdateFileSystemAssociationCommand.js +3 -10
- package/dist-es/commands/UpdateGatewayInformationCommand.js +3 -9
- package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +3 -9
- package/dist-es/commands/UpdateMaintenanceStartTimeCommand.js +3 -9
- package/dist-es/commands/UpdateNFSFileShareCommand.js +3 -9
- package/dist-es/commands/UpdateSMBFileShareCommand.js +3 -9
- package/dist-es/commands/UpdateSMBFileShareVisibilityCommand.js +3 -9
- package/dist-es/commands/UpdateSMBLocalGroupsCommand.js +3 -9
- package/dist-es/commands/UpdateSMBSecurityStrategyCommand.js +3 -9
- package/dist-es/commands/UpdateSnapshotScheduleCommand.js +3 -9
- package/dist-es/commands/UpdateVTLDeviceTypeCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -42
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2325 -0
- package/dist-types/StorageGatewayClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -40
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +377 -0
- package/dist-types/ts3.4/StorageGatewayClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -28
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +383 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -2139
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -866
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -1157
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSMBFileShareVisibility } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSMBFileShareVisibilityCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("StorageGateway_20130630", "UpdateSMBFileShareVisibility", {})
|
|
17
13
|
.n("StorageGatewayClient", "UpdateSMBFileShareVisibilityCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSMBFileShareVisibilityCommand)
|
|
20
|
-
.de(de_UpdateSMBFileShareVisibilityCommand)
|
|
14
|
+
.sc(UpdateSMBFileShareVisibility)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSMBLocalGroups } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSMBLocalGroupsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("StorageGateway_20130630", "UpdateSMBLocalGroups", {})
|
|
17
13
|
.n("StorageGatewayClient", "UpdateSMBLocalGroupsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSMBLocalGroupsCommand)
|
|
20
|
-
.de(de_UpdateSMBLocalGroupsCommand)
|
|
14
|
+
.sc(UpdateSMBLocalGroups)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSMBSecurityStrategy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSMBSecurityStrategyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("StorageGateway_20130630", "UpdateSMBSecurityStrategy", {})
|
|
17
13
|
.n("StorageGatewayClient", "UpdateSMBSecurityStrategyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSMBSecurityStrategyCommand)
|
|
20
|
-
.de(de_UpdateSMBSecurityStrategyCommand)
|
|
14
|
+
.sc(UpdateSMBSecurityStrategy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSnapshotSchedule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSnapshotScheduleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("StorageGateway_20130630", "UpdateSnapshotSchedule", {})
|
|
17
13
|
.n("StorageGatewayClient", "UpdateSnapshotScheduleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSnapshotScheduleCommand)
|
|
20
|
-
.de(de_UpdateSnapshotScheduleCommand)
|
|
14
|
+
.sc(UpdateSnapshotSchedule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateVTLDeviceType } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateVTLDeviceTypeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("StorageGateway_20130630", "UpdateVTLDeviceType", {})
|
|
17
13
|
.n("StorageGatewayClient", "UpdateVTLDeviceTypeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateVTLDeviceTypeCommand)
|
|
20
|
-
.de(de_UpdateVTLDeviceTypeCommand)
|
|
14
|
+
.sc(UpdateVTLDeviceType)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { StorageGatewayServiceException as __BaseException } from "./StorageGatewayServiceException";
|
|
3
2
|
export const ErrorCode = {
|
|
4
3
|
ActivationKeyExpired: "ActivationKeyExpired",
|
|
@@ -190,44 +189,3 @@ export const PoolStatus = {
|
|
|
190
189
|
ACTIVE: "ACTIVE",
|
|
191
190
|
DELETED: "DELETED",
|
|
192
191
|
};
|
|
193
|
-
export const AssociateFileSystemInputFilterSensitiveLog = (obj) => ({
|
|
194
|
-
...obj,
|
|
195
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
196
|
-
});
|
|
197
|
-
export const ChapInfoFilterSensitiveLog = (obj) => ({
|
|
198
|
-
...obj,
|
|
199
|
-
...(obj.SecretToAuthenticateInitiator && { SecretToAuthenticateInitiator: SENSITIVE_STRING }),
|
|
200
|
-
...(obj.SecretToAuthenticateTarget && { SecretToAuthenticateTarget: SENSITIVE_STRING }),
|
|
201
|
-
});
|
|
202
|
-
export const DescribeChapCredentialsOutputFilterSensitiveLog = (obj) => ({
|
|
203
|
-
...obj,
|
|
204
|
-
...(obj.ChapCredentials && { ChapCredentials: obj.ChapCredentials.map((item) => ChapInfoFilterSensitiveLog(item)) }),
|
|
205
|
-
});
|
|
206
|
-
export const NetworkInterfaceFilterSensitiveLog = (obj) => ({
|
|
207
|
-
...obj,
|
|
208
|
-
});
|
|
209
|
-
export const DescribeGatewayInformationOutputFilterSensitiveLog = (obj) => ({
|
|
210
|
-
...obj,
|
|
211
|
-
...(obj.GatewayNetworkInterfaces && { GatewayNetworkInterfaces: SENSITIVE_STRING }),
|
|
212
|
-
});
|
|
213
|
-
export const JoinDomainInputFilterSensitiveLog = (obj) => ({
|
|
214
|
-
...obj,
|
|
215
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
216
|
-
});
|
|
217
|
-
export const SetLocalConsolePasswordInputFilterSensitiveLog = (obj) => ({
|
|
218
|
-
...obj,
|
|
219
|
-
...(obj.LocalConsolePassword && { LocalConsolePassword: SENSITIVE_STRING }),
|
|
220
|
-
});
|
|
221
|
-
export const SetSMBGuestPasswordInputFilterSensitiveLog = (obj) => ({
|
|
222
|
-
...obj,
|
|
223
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
224
|
-
});
|
|
225
|
-
export const UpdateChapCredentialsInputFilterSensitiveLog = (obj) => ({
|
|
226
|
-
...obj,
|
|
227
|
-
...(obj.SecretToAuthenticateInitiator && { SecretToAuthenticateInitiator: SENSITIVE_STRING }),
|
|
228
|
-
...(obj.SecretToAuthenticateTarget && { SecretToAuthenticateTarget: SENSITIVE_STRING }),
|
|
229
|
-
});
|
|
230
|
-
export const UpdateFileSystemAssociationInputFilterSensitiveLog = (obj) => ({
|
|
231
|
-
...obj,
|
|
232
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
233
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.storagegateway",
|
|
29
|
+
serviceTarget: "StorageGateway_20130630",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Storage Gateway",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|