@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.
Files changed (120) hide show
  1. package/dist-cjs/index.js +2508 -2867
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/StorageGatewayClient.js +2 -0
  4. package/dist-es/commands/ActivateGatewayCommand.js +3 -9
  5. package/dist-es/commands/AddCacheCommand.js +3 -9
  6. package/dist-es/commands/AddTagsToResourceCommand.js +3 -9
  7. package/dist-es/commands/AddUploadBufferCommand.js +3 -9
  8. package/dist-es/commands/AddWorkingStorageCommand.js +3 -9
  9. package/dist-es/commands/AssignTapePoolCommand.js +3 -9
  10. package/dist-es/commands/AssociateFileSystemCommand.js +3 -10
  11. package/dist-es/commands/AttachVolumeCommand.js +3 -9
  12. package/dist-es/commands/CancelArchivalCommand.js +3 -9
  13. package/dist-es/commands/CancelCacheReportCommand.js +3 -9
  14. package/dist-es/commands/CancelRetrievalCommand.js +3 -9
  15. package/dist-es/commands/CreateCachediSCSIVolumeCommand.js +3 -9
  16. package/dist-es/commands/CreateNFSFileShareCommand.js +3 -9
  17. package/dist-es/commands/CreateSMBFileShareCommand.js +3 -9
  18. package/dist-es/commands/CreateSnapshotCommand.js +3 -9
  19. package/dist-es/commands/CreateSnapshotFromVolumeRecoveryPointCommand.js +3 -9
  20. package/dist-es/commands/CreateStorediSCSIVolumeCommand.js +3 -9
  21. package/dist-es/commands/CreateTapePoolCommand.js +3 -9
  22. package/dist-es/commands/CreateTapeWithBarcodeCommand.js +3 -9
  23. package/dist-es/commands/CreateTapesCommand.js +3 -9
  24. package/dist-es/commands/DeleteAutomaticTapeCreationPolicyCommand.js +3 -9
  25. package/dist-es/commands/DeleteBandwidthRateLimitCommand.js +3 -9
  26. package/dist-es/commands/DeleteCacheReportCommand.js +3 -9
  27. package/dist-es/commands/DeleteChapCredentialsCommand.js +3 -9
  28. package/dist-es/commands/DeleteFileShareCommand.js +3 -9
  29. package/dist-es/commands/DeleteGatewayCommand.js +3 -9
  30. package/dist-es/commands/DeleteSnapshotScheduleCommand.js +3 -9
  31. package/dist-es/commands/DeleteTapeArchiveCommand.js +3 -9
  32. package/dist-es/commands/DeleteTapeCommand.js +3 -9
  33. package/dist-es/commands/DeleteTapePoolCommand.js +3 -9
  34. package/dist-es/commands/DeleteVolumeCommand.js +3 -9
  35. package/dist-es/commands/DescribeAvailabilityMonitorTestCommand.js +3 -9
  36. package/dist-es/commands/DescribeBandwidthRateLimitCommand.js +3 -9
  37. package/dist-es/commands/DescribeBandwidthRateLimitScheduleCommand.js +3 -9
  38. package/dist-es/commands/DescribeCacheCommand.js +3 -9
  39. package/dist-es/commands/DescribeCacheReportCommand.js +3 -9
  40. package/dist-es/commands/DescribeCachediSCSIVolumesCommand.js +3 -9
  41. package/dist-es/commands/DescribeChapCredentialsCommand.js +3 -10
  42. package/dist-es/commands/DescribeFileSystemAssociationsCommand.js +3 -9
  43. package/dist-es/commands/DescribeGatewayInformationCommand.js +3 -10
  44. package/dist-es/commands/DescribeMaintenanceStartTimeCommand.js +3 -9
  45. package/dist-es/commands/DescribeNFSFileSharesCommand.js +3 -9
  46. package/dist-es/commands/DescribeSMBFileSharesCommand.js +3 -9
  47. package/dist-es/commands/DescribeSMBSettingsCommand.js +3 -9
  48. package/dist-es/commands/DescribeSnapshotScheduleCommand.js +3 -9
  49. package/dist-es/commands/DescribeStorediSCSIVolumesCommand.js +3 -9
  50. package/dist-es/commands/DescribeTapeArchivesCommand.js +3 -9
  51. package/dist-es/commands/DescribeTapeRecoveryPointsCommand.js +3 -9
  52. package/dist-es/commands/DescribeTapesCommand.js +3 -9
  53. package/dist-es/commands/DescribeUploadBufferCommand.js +3 -9
  54. package/dist-es/commands/DescribeVTLDevicesCommand.js +3 -9
  55. package/dist-es/commands/DescribeWorkingStorageCommand.js +3 -9
  56. package/dist-es/commands/DetachVolumeCommand.js +3 -9
  57. package/dist-es/commands/DisableGatewayCommand.js +3 -9
  58. package/dist-es/commands/DisassociateFileSystemCommand.js +3 -9
  59. package/dist-es/commands/EvictFilesFailingUploadCommand.js +3 -9
  60. package/dist-es/commands/JoinDomainCommand.js +3 -10
  61. package/dist-es/commands/ListAutomaticTapeCreationPoliciesCommand.js +3 -9
  62. package/dist-es/commands/ListCacheReportsCommand.js +3 -9
  63. package/dist-es/commands/ListFileSharesCommand.js +3 -9
  64. package/dist-es/commands/ListFileSystemAssociationsCommand.js +3 -9
  65. package/dist-es/commands/ListGatewaysCommand.js +3 -9
  66. package/dist-es/commands/ListLocalDisksCommand.js +3 -9
  67. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  68. package/dist-es/commands/ListTapePoolsCommand.js +3 -9
  69. package/dist-es/commands/ListTapesCommand.js +3 -9
  70. package/dist-es/commands/ListVolumeInitiatorsCommand.js +3 -9
  71. package/dist-es/commands/ListVolumeRecoveryPointsCommand.js +3 -9
  72. package/dist-es/commands/ListVolumesCommand.js +3 -9
  73. package/dist-es/commands/NotifyWhenUploadedCommand.js +3 -9
  74. package/dist-es/commands/RefreshCacheCommand.js +3 -9
  75. package/dist-es/commands/RemoveTagsFromResourceCommand.js +3 -9
  76. package/dist-es/commands/ResetCacheCommand.js +3 -9
  77. package/dist-es/commands/RetrieveTapeArchiveCommand.js +3 -9
  78. package/dist-es/commands/RetrieveTapeRecoveryPointCommand.js +3 -9
  79. package/dist-es/commands/SetLocalConsolePasswordCommand.js +3 -10
  80. package/dist-es/commands/SetSMBGuestPasswordCommand.js +3 -10
  81. package/dist-es/commands/ShutdownGatewayCommand.js +3 -9
  82. package/dist-es/commands/StartAvailabilityMonitorTestCommand.js +3 -9
  83. package/dist-es/commands/StartCacheReportCommand.js +3 -9
  84. package/dist-es/commands/StartGatewayCommand.js +3 -9
  85. package/dist-es/commands/UpdateAutomaticTapeCreationPolicyCommand.js +3 -9
  86. package/dist-es/commands/UpdateBandwidthRateLimitCommand.js +3 -9
  87. package/dist-es/commands/UpdateBandwidthRateLimitScheduleCommand.js +3 -9
  88. package/dist-es/commands/UpdateChapCredentialsCommand.js +3 -10
  89. package/dist-es/commands/UpdateFileSystemAssociationCommand.js +3 -10
  90. package/dist-es/commands/UpdateGatewayInformationCommand.js +3 -9
  91. package/dist-es/commands/UpdateGatewaySoftwareNowCommand.js +3 -9
  92. package/dist-es/commands/UpdateMaintenanceStartTimeCommand.js +3 -9
  93. package/dist-es/commands/UpdateNFSFileShareCommand.js +3 -9
  94. package/dist-es/commands/UpdateSMBFileShareCommand.js +3 -9
  95. package/dist-es/commands/UpdateSMBFileShareVisibilityCommand.js +3 -9
  96. package/dist-es/commands/UpdateSMBLocalGroupsCommand.js +3 -9
  97. package/dist-es/commands/UpdateSMBSecurityStrategyCommand.js +3 -9
  98. package/dist-es/commands/UpdateSnapshotScheduleCommand.js +3 -9
  99. package/dist-es/commands/UpdateVTLDeviceTypeCommand.js +3 -9
  100. package/dist-es/models/models_0.js +0 -42
  101. package/dist-es/runtimeConfig.shared.js +7 -0
  102. package/dist-es/schemas/schemas_0.js +2325 -0
  103. package/dist-types/StorageGatewayClient.d.ts +10 -1
  104. package/dist-types/models/models_0.d.ts +0 -40
  105. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  106. package/dist-types/runtimeConfig.d.ts +1 -0
  107. package/dist-types/runtimeConfig.native.d.ts +1 -0
  108. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  109. package/dist-types/schemas/schemas_0.d.ts +377 -0
  110. package/dist-types/ts3.4/StorageGatewayClient.d.ts +4 -0
  111. package/dist-types/ts3.4/models/models_0.d.ts +0 -28
  112. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  113. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  114. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  115. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  116. package/dist-types/ts3.4/schemas/schemas_0.d.ts +383 -0
  117. package/package.json +5 -5
  118. package/dist-es/protocols/Aws_json1_1.js +0 -2139
  119. package/dist-types/protocols/Aws_json1_1.d.ts +0 -866
  120. 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 { de_UpdateSMBFileShareVisibilityCommand, se_UpdateSMBFileShareVisibilityCommand, } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateSMBLocalGroupsCommand, se_UpdateSMBLocalGroupsCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateSMBSecurityStrategyCommand, se_UpdateSMBSecurityStrategyCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateSnapshotScheduleCommand, se_UpdateSnapshotScheduleCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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 { de_UpdateVTLDeviceTypeCommand, se_UpdateVTLDeviceTypeCommand } from "../protocols/Aws_json1_1";
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
- .f(void 0, void 0)
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,