@aws-sdk/client-storage-gateway 3.926.0 → 3.928.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
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.storagegateway",
32
+ serviceTarget: "StorageGateway_20130630",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Storage Gateway",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class StorageGatewayClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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_ActivateGatewayCommand, se_ActivateGatewayCommand } from "../protocols/Aws_json1_1";
4
+ import { ActivateGateway } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ActivateGatewayCommand 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", "ActivateGateway", {})
17
13
  .n("StorageGatewayClient", "ActivateGatewayCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ActivateGatewayCommand)
20
- .de(de_ActivateGatewayCommand)
14
+ .sc(ActivateGateway)
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_AddCacheCommand, se_AddCacheCommand } from "../protocols/Aws_json1_1";
4
+ import { AddCache } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddCacheCommand 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", "AddCache", {})
17
13
  .n("StorageGatewayClient", "AddCacheCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddCacheCommand)
20
- .de(de_AddCacheCommand)
14
+ .sc(AddCache)
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_AddTagsToResourceCommand, se_AddTagsToResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { AddTagsToResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddTagsToResourceCommand 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", "AddTagsToResource", {})
17
13
  .n("StorageGatewayClient", "AddTagsToResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddTagsToResourceCommand)
20
- .de(de_AddTagsToResourceCommand)
14
+ .sc(AddTagsToResource)
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_AddUploadBufferCommand, se_AddUploadBufferCommand } from "../protocols/Aws_json1_1";
4
+ import { AddUploadBuffer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddUploadBufferCommand 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", "AddUploadBuffer", {})
17
13
  .n("StorageGatewayClient", "AddUploadBufferCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddUploadBufferCommand)
20
- .de(de_AddUploadBufferCommand)
14
+ .sc(AddUploadBuffer)
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_AddWorkingStorageCommand, se_AddWorkingStorageCommand } from "../protocols/Aws_json1_1";
4
+ import { AddWorkingStorage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddWorkingStorageCommand 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", "AddWorkingStorage", {})
17
13
  .n("StorageGatewayClient", "AddWorkingStorageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddWorkingStorageCommand)
20
- .de(de_AddWorkingStorageCommand)
14
+ .sc(AddWorkingStorage)
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_AssignTapePoolCommand, se_AssignTapePoolCommand } from "../protocols/Aws_json1_1";
4
+ import { AssignTapePool } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssignTapePoolCommand 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", "AssignTapePool", {})
17
13
  .n("StorageGatewayClient", "AssignTapePoolCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssignTapePoolCommand)
20
- .de(de_AssignTapePoolCommand)
14
+ .sc(AssignTapePool)
21
15
  .build() {
22
16
  }
@@ -1,23 +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 { AssociateFileSystemInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_AssociateFileSystemCommand, se_AssociateFileSystemCommand } from "../protocols/Aws_json1_1";
4
+ import { AssociateFileSystem } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class AssociateFileSystemCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("StorageGateway_20130630", "AssociateFileSystem", {})
18
13
  .n("StorageGatewayClient", "AssociateFileSystemCommand")
19
- .f(AssociateFileSystemInputFilterSensitiveLog, void 0)
20
- .ser(se_AssociateFileSystemCommand)
21
- .de(de_AssociateFileSystemCommand)
14
+ .sc(AssociateFileSystem)
22
15
  .build() {
23
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_AttachVolumeCommand, se_AttachVolumeCommand } from "../protocols/Aws_json1_1";
4
+ import { AttachVolume } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AttachVolumeCommand 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", "AttachVolume", {})
17
13
  .n("StorageGatewayClient", "AttachVolumeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AttachVolumeCommand)
20
- .de(de_AttachVolumeCommand)
14
+ .sc(AttachVolume)
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_CancelArchivalCommand, se_CancelArchivalCommand } from "../protocols/Aws_json1_1";
4
+ import { CancelArchival } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelArchivalCommand 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", "CancelArchival", {})
17
13
  .n("StorageGatewayClient", "CancelArchivalCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelArchivalCommand)
20
- .de(de_CancelArchivalCommand)
14
+ .sc(CancelArchival)
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_CancelCacheReportCommand, se_CancelCacheReportCommand } from "../protocols/Aws_json1_1";
4
+ import { CancelCacheReport } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelCacheReportCommand 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", "CancelCacheReport", {})
17
13
  .n("StorageGatewayClient", "CancelCacheReportCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelCacheReportCommand)
20
- .de(de_CancelCacheReportCommand)
14
+ .sc(CancelCacheReport)
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_CancelRetrievalCommand, se_CancelRetrievalCommand } from "../protocols/Aws_json1_1";
4
+ import { CancelRetrieval } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelRetrievalCommand 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", "CancelRetrieval", {})
17
13
  .n("StorageGatewayClient", "CancelRetrievalCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelRetrievalCommand)
20
- .de(de_CancelRetrievalCommand)
14
+ .sc(CancelRetrieval)
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_CreateCachediSCSIVolumeCommand, se_CreateCachediSCSIVolumeCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateCachediSCSIVolume } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCachediSCSIVolumeCommand 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", "CreateCachediSCSIVolume", {})
17
13
  .n("StorageGatewayClient", "CreateCachediSCSIVolumeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCachediSCSIVolumeCommand)
20
- .de(de_CreateCachediSCSIVolumeCommand)
14
+ .sc(CreateCachediSCSIVolume)
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_CreateNFSFileShareCommand, se_CreateNFSFileShareCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateNFSFileShare } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateNFSFileShareCommand 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", "CreateNFSFileShare", {})
17
13
  .n("StorageGatewayClient", "CreateNFSFileShareCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateNFSFileShareCommand)
20
- .de(de_CreateNFSFileShareCommand)
14
+ .sc(CreateNFSFileShare)
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_CreateSMBFileShareCommand, se_CreateSMBFileShareCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateSMBFileShare } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSMBFileShareCommand 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", "CreateSMBFileShare", {})
17
13
  .n("StorageGatewayClient", "CreateSMBFileShareCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSMBFileShareCommand)
20
- .de(de_CreateSMBFileShareCommand)
14
+ .sc(CreateSMBFileShare)
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_CreateSnapshotCommand, se_CreateSnapshotCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateSnapshot } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSnapshotCommand 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", "CreateSnapshot", {})
17
13
  .n("StorageGatewayClient", "CreateSnapshotCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSnapshotCommand)
20
- .de(de_CreateSnapshotCommand)
14
+ .sc(CreateSnapshot)
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_CreateSnapshotFromVolumeRecoveryPointCommand, se_CreateSnapshotFromVolumeRecoveryPointCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateSnapshotFromVolumeRecoveryPoint } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSnapshotFromVolumeRecoveryPointCommand 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", "CreateSnapshotFromVolumeRecoveryPoint", {})
17
13
  .n("StorageGatewayClient", "CreateSnapshotFromVolumeRecoveryPointCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSnapshotFromVolumeRecoveryPointCommand)
20
- .de(de_CreateSnapshotFromVolumeRecoveryPointCommand)
14
+ .sc(CreateSnapshotFromVolumeRecoveryPoint)
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_CreateStorediSCSIVolumeCommand, se_CreateStorediSCSIVolumeCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateStorediSCSIVolume } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateStorediSCSIVolumeCommand 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", "CreateStorediSCSIVolume", {})
17
13
  .n("StorageGatewayClient", "CreateStorediSCSIVolumeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateStorediSCSIVolumeCommand)
20
- .de(de_CreateStorediSCSIVolumeCommand)
14
+ .sc(CreateStorediSCSIVolume)
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_CreateTapePoolCommand, se_CreateTapePoolCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateTapePool } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTapePoolCommand 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", "CreateTapePool", {})
17
13
  .n("StorageGatewayClient", "CreateTapePoolCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTapePoolCommand)
20
- .de(de_CreateTapePoolCommand)
14
+ .sc(CreateTapePool)
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_CreateTapeWithBarcodeCommand, se_CreateTapeWithBarcodeCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateTapeWithBarcode } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTapeWithBarcodeCommand 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", "CreateTapeWithBarcode", {})
17
13
  .n("StorageGatewayClient", "CreateTapeWithBarcodeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTapeWithBarcodeCommand)
20
- .de(de_CreateTapeWithBarcodeCommand)
14
+ .sc(CreateTapeWithBarcode)
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_CreateTapesCommand, se_CreateTapesCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateTapes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTapesCommand 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", "CreateTapes", {})
17
13
  .n("StorageGatewayClient", "CreateTapesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTapesCommand)
20
- .de(de_CreateTapesCommand)
14
+ .sc(CreateTapes)
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_DeleteAutomaticTapeCreationPolicyCommand, se_DeleteAutomaticTapeCreationPolicyCommand, } from "../protocols/Aws_json1_1";
4
+ import { DeleteAutomaticTapeCreationPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAutomaticTapeCreationPolicyCommand 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", "DeleteAutomaticTapeCreationPolicy", {})
17
13
  .n("StorageGatewayClient", "DeleteAutomaticTapeCreationPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAutomaticTapeCreationPolicyCommand)
20
- .de(de_DeleteAutomaticTapeCreationPolicyCommand)
14
+ .sc(DeleteAutomaticTapeCreationPolicy)
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_DeleteBandwidthRateLimitCommand, se_DeleteBandwidthRateLimitCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteBandwidthRateLimit } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBandwidthRateLimitCommand 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", "DeleteBandwidthRateLimit", {})
17
13
  .n("StorageGatewayClient", "DeleteBandwidthRateLimitCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBandwidthRateLimitCommand)
20
- .de(de_DeleteBandwidthRateLimitCommand)
14
+ .sc(DeleteBandwidthRateLimit)
21
15
  .build() {
22
16
  }