@aws-sdk/client-lightsail 3.183.0 → 3.186.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 (169) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/Lightsail.js +629 -622
  4. package/dist-es/LightsailClient.js +28 -22
  5. package/dist-es/commands/AllocateStaticIpCommand.js +28 -21
  6. package/dist-es/commands/AttachCertificateToDistributionCommand.js +28 -21
  7. package/dist-es/commands/AttachDiskCommand.js +28 -21
  8. package/dist-es/commands/AttachInstancesToLoadBalancerCommand.js +28 -21
  9. package/dist-es/commands/AttachLoadBalancerTlsCertificateCommand.js +28 -21
  10. package/dist-es/commands/AttachStaticIpCommand.js +28 -21
  11. package/dist-es/commands/CloseInstancePublicPortsCommand.js +28 -21
  12. package/dist-es/commands/CopySnapshotCommand.js +28 -21
  13. package/dist-es/commands/CreateBucketAccessKeyCommand.js +28 -21
  14. package/dist-es/commands/CreateBucketCommand.js +28 -21
  15. package/dist-es/commands/CreateCertificateCommand.js +28 -21
  16. package/dist-es/commands/CreateCloudFormationStackCommand.js +28 -21
  17. package/dist-es/commands/CreateContactMethodCommand.js +28 -21
  18. package/dist-es/commands/CreateContainerServiceCommand.js +28 -21
  19. package/dist-es/commands/CreateContainerServiceDeploymentCommand.js +28 -21
  20. package/dist-es/commands/CreateContainerServiceRegistryLoginCommand.js +28 -21
  21. package/dist-es/commands/CreateDiskCommand.js +28 -21
  22. package/dist-es/commands/CreateDiskFromSnapshotCommand.js +28 -21
  23. package/dist-es/commands/CreateDiskSnapshotCommand.js +28 -21
  24. package/dist-es/commands/CreateDistributionCommand.js +28 -21
  25. package/dist-es/commands/CreateDomainCommand.js +28 -21
  26. package/dist-es/commands/CreateDomainEntryCommand.js +28 -21
  27. package/dist-es/commands/CreateInstanceSnapshotCommand.js +28 -21
  28. package/dist-es/commands/CreateInstancesCommand.js +28 -21
  29. package/dist-es/commands/CreateInstancesFromSnapshotCommand.js +28 -21
  30. package/dist-es/commands/CreateKeyPairCommand.js +28 -21
  31. package/dist-es/commands/CreateLoadBalancerCommand.js +28 -21
  32. package/dist-es/commands/CreateLoadBalancerTlsCertificateCommand.js +28 -21
  33. package/dist-es/commands/CreateRelationalDatabaseCommand.js +28 -21
  34. package/dist-es/commands/CreateRelationalDatabaseFromSnapshotCommand.js +28 -21
  35. package/dist-es/commands/CreateRelationalDatabaseSnapshotCommand.js +28 -21
  36. package/dist-es/commands/DeleteAlarmCommand.js +28 -21
  37. package/dist-es/commands/DeleteAutoSnapshotCommand.js +28 -21
  38. package/dist-es/commands/DeleteBucketAccessKeyCommand.js +28 -21
  39. package/dist-es/commands/DeleteBucketCommand.js +28 -21
  40. package/dist-es/commands/DeleteCertificateCommand.js +28 -21
  41. package/dist-es/commands/DeleteContactMethodCommand.js +28 -21
  42. package/dist-es/commands/DeleteContainerImageCommand.js +28 -21
  43. package/dist-es/commands/DeleteContainerServiceCommand.js +28 -21
  44. package/dist-es/commands/DeleteDiskCommand.js +28 -21
  45. package/dist-es/commands/DeleteDiskSnapshotCommand.js +28 -21
  46. package/dist-es/commands/DeleteDistributionCommand.js +28 -21
  47. package/dist-es/commands/DeleteDomainCommand.js +28 -21
  48. package/dist-es/commands/DeleteDomainEntryCommand.js +28 -21
  49. package/dist-es/commands/DeleteInstanceCommand.js +28 -21
  50. package/dist-es/commands/DeleteInstanceSnapshotCommand.js +28 -21
  51. package/dist-es/commands/DeleteKeyPairCommand.js +28 -21
  52. package/dist-es/commands/DeleteKnownHostKeysCommand.js +28 -21
  53. package/dist-es/commands/DeleteLoadBalancerCommand.js +28 -21
  54. package/dist-es/commands/DeleteLoadBalancerTlsCertificateCommand.js +28 -21
  55. package/dist-es/commands/DeleteRelationalDatabaseCommand.js +28 -21
  56. package/dist-es/commands/DeleteRelationalDatabaseSnapshotCommand.js +28 -21
  57. package/dist-es/commands/DetachCertificateFromDistributionCommand.js +28 -21
  58. package/dist-es/commands/DetachDiskCommand.js +28 -21
  59. package/dist-es/commands/DetachInstancesFromLoadBalancerCommand.js +28 -21
  60. package/dist-es/commands/DetachStaticIpCommand.js +28 -21
  61. package/dist-es/commands/DisableAddOnCommand.js +28 -21
  62. package/dist-es/commands/DownloadDefaultKeyPairCommand.js +28 -21
  63. package/dist-es/commands/EnableAddOnCommand.js +28 -21
  64. package/dist-es/commands/ExportSnapshotCommand.js +28 -21
  65. package/dist-es/commands/GetActiveNamesCommand.js +28 -21
  66. package/dist-es/commands/GetAlarmsCommand.js +28 -21
  67. package/dist-es/commands/GetAutoSnapshotsCommand.js +28 -21
  68. package/dist-es/commands/GetBlueprintsCommand.js +28 -21
  69. package/dist-es/commands/GetBucketAccessKeysCommand.js +28 -21
  70. package/dist-es/commands/GetBucketBundlesCommand.js +28 -21
  71. package/dist-es/commands/GetBucketMetricDataCommand.js +28 -21
  72. package/dist-es/commands/GetBucketsCommand.js +28 -21
  73. package/dist-es/commands/GetBundlesCommand.js +28 -21
  74. package/dist-es/commands/GetCertificatesCommand.js +28 -21
  75. package/dist-es/commands/GetCloudFormationStackRecordsCommand.js +28 -21
  76. package/dist-es/commands/GetContactMethodsCommand.js +28 -21
  77. package/dist-es/commands/GetContainerAPIMetadataCommand.js +28 -21
  78. package/dist-es/commands/GetContainerImagesCommand.js +28 -21
  79. package/dist-es/commands/GetContainerLogCommand.js +28 -21
  80. package/dist-es/commands/GetContainerServiceDeploymentsCommand.js +28 -21
  81. package/dist-es/commands/GetContainerServiceMetricDataCommand.js +28 -21
  82. package/dist-es/commands/GetContainerServicePowersCommand.js +28 -21
  83. package/dist-es/commands/GetContainerServicesCommand.js +28 -21
  84. package/dist-es/commands/GetDiskCommand.js +28 -21
  85. package/dist-es/commands/GetDiskSnapshotCommand.js +28 -21
  86. package/dist-es/commands/GetDiskSnapshotsCommand.js +28 -21
  87. package/dist-es/commands/GetDisksCommand.js +28 -21
  88. package/dist-es/commands/GetDistributionBundlesCommand.js +28 -21
  89. package/dist-es/commands/GetDistributionLatestCacheResetCommand.js +28 -21
  90. package/dist-es/commands/GetDistributionMetricDataCommand.js +28 -21
  91. package/dist-es/commands/GetDistributionsCommand.js +28 -21
  92. package/dist-es/commands/GetDomainCommand.js +28 -21
  93. package/dist-es/commands/GetDomainsCommand.js +28 -21
  94. package/dist-es/commands/GetExportSnapshotRecordsCommand.js +28 -21
  95. package/dist-es/commands/GetInstanceAccessDetailsCommand.js +28 -21
  96. package/dist-es/commands/GetInstanceCommand.js +28 -21
  97. package/dist-es/commands/GetInstanceMetricDataCommand.js +28 -21
  98. package/dist-es/commands/GetInstancePortStatesCommand.js +28 -21
  99. package/dist-es/commands/GetInstanceSnapshotCommand.js +28 -21
  100. package/dist-es/commands/GetInstanceSnapshotsCommand.js +28 -21
  101. package/dist-es/commands/GetInstanceStateCommand.js +28 -21
  102. package/dist-es/commands/GetInstancesCommand.js +28 -21
  103. package/dist-es/commands/GetKeyPairCommand.js +28 -21
  104. package/dist-es/commands/GetKeyPairsCommand.js +28 -21
  105. package/dist-es/commands/GetLoadBalancerCommand.js +28 -21
  106. package/dist-es/commands/GetLoadBalancerMetricDataCommand.js +28 -21
  107. package/dist-es/commands/GetLoadBalancerTlsCertificatesCommand.js +28 -21
  108. package/dist-es/commands/GetLoadBalancerTlsPoliciesCommand.js +28 -21
  109. package/dist-es/commands/GetLoadBalancersCommand.js +28 -21
  110. package/dist-es/commands/GetOperationCommand.js +28 -21
  111. package/dist-es/commands/GetOperationsCommand.js +28 -21
  112. package/dist-es/commands/GetOperationsForResourceCommand.js +28 -21
  113. package/dist-es/commands/GetRegionsCommand.js +28 -21
  114. package/dist-es/commands/GetRelationalDatabaseBlueprintsCommand.js +28 -21
  115. package/dist-es/commands/GetRelationalDatabaseBundlesCommand.js +28 -21
  116. package/dist-es/commands/GetRelationalDatabaseCommand.js +28 -21
  117. package/dist-es/commands/GetRelationalDatabaseEventsCommand.js +28 -21
  118. package/dist-es/commands/GetRelationalDatabaseLogEventsCommand.js +28 -21
  119. package/dist-es/commands/GetRelationalDatabaseLogStreamsCommand.js +28 -21
  120. package/dist-es/commands/GetRelationalDatabaseMasterUserPasswordCommand.js +28 -21
  121. package/dist-es/commands/GetRelationalDatabaseMetricDataCommand.js +28 -21
  122. package/dist-es/commands/GetRelationalDatabaseParametersCommand.js +28 -21
  123. package/dist-es/commands/GetRelationalDatabaseSnapshotCommand.js +28 -21
  124. package/dist-es/commands/GetRelationalDatabaseSnapshotsCommand.js +28 -21
  125. package/dist-es/commands/GetRelationalDatabasesCommand.js +28 -21
  126. package/dist-es/commands/GetStaticIpCommand.js +28 -21
  127. package/dist-es/commands/GetStaticIpsCommand.js +28 -21
  128. package/dist-es/commands/ImportKeyPairCommand.js +28 -21
  129. package/dist-es/commands/IsVpcPeeredCommand.js +28 -21
  130. package/dist-es/commands/OpenInstancePublicPortsCommand.js +28 -21
  131. package/dist-es/commands/PeerVpcCommand.js +28 -21
  132. package/dist-es/commands/PutAlarmCommand.js +28 -21
  133. package/dist-es/commands/PutInstancePublicPortsCommand.js +28 -21
  134. package/dist-es/commands/RebootInstanceCommand.js +28 -21
  135. package/dist-es/commands/RebootRelationalDatabaseCommand.js +28 -21
  136. package/dist-es/commands/RegisterContainerImageCommand.js +28 -21
  137. package/dist-es/commands/ReleaseStaticIpCommand.js +28 -21
  138. package/dist-es/commands/ResetDistributionCacheCommand.js +28 -21
  139. package/dist-es/commands/SendContactMethodVerificationCommand.js +28 -21
  140. package/dist-es/commands/SetIpAddressTypeCommand.js +28 -21
  141. package/dist-es/commands/SetResourceAccessForBucketCommand.js +28 -21
  142. package/dist-es/commands/StartInstanceCommand.js +28 -21
  143. package/dist-es/commands/StartRelationalDatabaseCommand.js +28 -21
  144. package/dist-es/commands/StopInstanceCommand.js +28 -21
  145. package/dist-es/commands/StopRelationalDatabaseCommand.js +28 -21
  146. package/dist-es/commands/TagResourceCommand.js +28 -21
  147. package/dist-es/commands/TestAlarmCommand.js +28 -21
  148. package/dist-es/commands/UnpeerVpcCommand.js +28 -21
  149. package/dist-es/commands/UntagResourceCommand.js +28 -21
  150. package/dist-es/commands/UpdateBucketBundleCommand.js +28 -21
  151. package/dist-es/commands/UpdateBucketCommand.js +28 -21
  152. package/dist-es/commands/UpdateContainerServiceCommand.js +28 -21
  153. package/dist-es/commands/UpdateDistributionBundleCommand.js +28 -21
  154. package/dist-es/commands/UpdateDistributionCommand.js +28 -21
  155. package/dist-es/commands/UpdateDomainEntryCommand.js +28 -21
  156. package/dist-es/commands/UpdateInstanceMetadataOptionsCommand.js +28 -21
  157. package/dist-es/commands/UpdateLoadBalancerAttributeCommand.js +28 -21
  158. package/dist-es/commands/UpdateRelationalDatabaseCommand.js +28 -21
  159. package/dist-es/commands/UpdateRelationalDatabaseParametersCommand.js +28 -21
  160. package/dist-es/endpoints.js +8 -8
  161. package/dist-es/models/LightsailServiceException.js +10 -5
  162. package/dist-es/models/models_0.js +348 -849
  163. package/dist-es/models/models_1.js +166 -497
  164. package/dist-es/protocols/Aws_json1_1.js +14201 -10880
  165. package/dist-es/runtimeConfig.browser.js +12 -26
  166. package/dist-es/runtimeConfig.js +12 -30
  167. package/dist-es/runtimeConfig.native.js +5 -8
  168. package/dist-es/runtimeConfig.shared.js +11 -8
  169. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetKeyPairsRequestFilterSensitiveLog, GetKeyPairsResultFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_json1_1GetKeyPairsCommand, serializeAws_json1_1GetKeyPairsCommand, } from "../protocols/Aws_json1_1";
5
- export class GetKeyPairsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetKeyPairsCommand = (function (_super) {
7
+ __extends(GetKeyPairsCommand, _super);
8
+ function GetKeyPairsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetKeyPairsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LightsailClient";
15
- const commandName = "GetKeyPairsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LightsailClient";
18
+ var commandName = "GetKeyPairsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetKeyPairsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetKeyPairsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetKeyPairsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetKeyPairsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetKeyPairsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetKeyPairsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetKeyPairsCommand;
38
+ }($Command));
39
+ export { GetKeyPairsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetLoadBalancerRequestFilterSensitiveLog, GetLoadBalancerResultFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_json1_1GetLoadBalancerCommand, serializeAws_json1_1GetLoadBalancerCommand, } from "../protocols/Aws_json1_1";
5
- export class GetLoadBalancerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetLoadBalancerCommand = (function (_super) {
7
+ __extends(GetLoadBalancerCommand, _super);
8
+ function GetLoadBalancerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetLoadBalancerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LightsailClient";
15
- const commandName = "GetLoadBalancerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LightsailClient";
18
+ var commandName = "GetLoadBalancerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetLoadBalancerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetLoadBalancerResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetLoadBalancerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetLoadBalancerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetLoadBalancerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetLoadBalancerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetLoadBalancerCommand;
38
+ }($Command));
39
+ export { GetLoadBalancerCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetLoadBalancerMetricDataRequestFilterSensitiveLog, GetLoadBalancerMetricDataResultFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_json1_1GetLoadBalancerMetricDataCommand, serializeAws_json1_1GetLoadBalancerMetricDataCommand, } from "../protocols/Aws_json1_1";
5
- export class GetLoadBalancerMetricDataCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetLoadBalancerMetricDataCommand = (function (_super) {
7
+ __extends(GetLoadBalancerMetricDataCommand, _super);
8
+ function GetLoadBalancerMetricDataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetLoadBalancerMetricDataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LightsailClient";
15
- const commandName = "GetLoadBalancerMetricDataCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LightsailClient";
18
+ var commandName = "GetLoadBalancerMetricDataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetLoadBalancerMetricDataRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetLoadBalancerMetricDataResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetLoadBalancerMetricDataCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetLoadBalancerMetricDataCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetLoadBalancerMetricDataCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetLoadBalancerMetricDataCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetLoadBalancerMetricDataCommand;
38
+ }($Command));
39
+ export { GetLoadBalancerMetricDataCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetLoadBalancerTlsCertificatesRequestFilterSensitiveLog, GetLoadBalancerTlsCertificatesResultFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommand, serializeAws_json1_1GetLoadBalancerTlsCertificatesCommand, } from "../protocols/Aws_json1_1";
5
- export class GetLoadBalancerTlsCertificatesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetLoadBalancerTlsCertificatesCommand = (function (_super) {
7
+ __extends(GetLoadBalancerTlsCertificatesCommand, _super);
8
+ function GetLoadBalancerTlsCertificatesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetLoadBalancerTlsCertificatesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LightsailClient";
15
- const commandName = "GetLoadBalancerTlsCertificatesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LightsailClient";
18
+ var commandName = "GetLoadBalancerTlsCertificatesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetLoadBalancerTlsCertificatesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetLoadBalancerTlsCertificatesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetLoadBalancerTlsCertificatesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetLoadBalancerTlsCertificatesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetLoadBalancerTlsCertificatesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetLoadBalancerTlsCertificatesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetLoadBalancerTlsCertificatesCommand;
38
+ }($Command));
39
+ export { GetLoadBalancerTlsCertificatesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetLoadBalancerTlsPoliciesRequestFilterSensitiveLog, GetLoadBalancerTlsPoliciesResultFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_json1_1GetLoadBalancerTlsPoliciesCommand, serializeAws_json1_1GetLoadBalancerTlsPoliciesCommand, } from "../protocols/Aws_json1_1";
5
- export class GetLoadBalancerTlsPoliciesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetLoadBalancerTlsPoliciesCommand = (function (_super) {
7
+ __extends(GetLoadBalancerTlsPoliciesCommand, _super);
8
+ function GetLoadBalancerTlsPoliciesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetLoadBalancerTlsPoliciesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LightsailClient";
15
- const commandName = "GetLoadBalancerTlsPoliciesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LightsailClient";
18
+ var commandName = "GetLoadBalancerTlsPoliciesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetLoadBalancerTlsPoliciesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetLoadBalancerTlsPoliciesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetLoadBalancerTlsPoliciesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetLoadBalancerTlsPoliciesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetLoadBalancerTlsPoliciesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetLoadBalancerTlsPoliciesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetLoadBalancerTlsPoliciesCommand;
38
+ }($Command));
39
+ export { GetLoadBalancerTlsPoliciesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetLoadBalancersRequestFilterSensitiveLog, GetLoadBalancersResultFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_json1_1GetLoadBalancersCommand, serializeAws_json1_1GetLoadBalancersCommand, } from "../protocols/Aws_json1_1";
5
- export class GetLoadBalancersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetLoadBalancersCommand = (function (_super) {
7
+ __extends(GetLoadBalancersCommand, _super);
8
+ function GetLoadBalancersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetLoadBalancersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LightsailClient";
15
- const commandName = "GetLoadBalancersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LightsailClient";
18
+ var commandName = "GetLoadBalancersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetLoadBalancersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetLoadBalancersResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetLoadBalancersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetLoadBalancersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetLoadBalancersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetLoadBalancersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetLoadBalancersCommand;
38
+ }($Command));
39
+ export { GetLoadBalancersCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetOperationRequestFilterSensitiveLog, GetOperationResultFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_json1_1GetOperationCommand, serializeAws_json1_1GetOperationCommand, } from "../protocols/Aws_json1_1";
5
- export class GetOperationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetOperationCommand = (function (_super) {
7
+ __extends(GetOperationCommand, _super);
8
+ function GetOperationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetOperationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LightsailClient";
15
- const commandName = "GetOperationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LightsailClient";
18
+ var commandName = "GetOperationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetOperationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetOperationResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetOperationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetOperationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetOperationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetOperationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetOperationCommand;
38
+ }($Command));
39
+ export { GetOperationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetOperationsRequestFilterSensitiveLog, GetOperationsResultFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_json1_1GetOperationsCommand, serializeAws_json1_1GetOperationsCommand, } from "../protocols/Aws_json1_1";
5
- export class GetOperationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetOperationsCommand = (function (_super) {
7
+ __extends(GetOperationsCommand, _super);
8
+ function GetOperationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetOperationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LightsailClient";
15
- const commandName = "GetOperationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LightsailClient";
18
+ var commandName = "GetOperationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetOperationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetOperationsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetOperationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetOperationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetOperationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetOperationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetOperationsCommand;
38
+ }($Command));
39
+ export { GetOperationsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetOperationsForResourceRequestFilterSensitiveLog, GetOperationsForResourceResultFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_json1_1GetOperationsForResourceCommand, serializeAws_json1_1GetOperationsForResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class GetOperationsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetOperationsForResourceCommand = (function (_super) {
7
+ __extends(GetOperationsForResourceCommand, _super);
8
+ function GetOperationsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetOperationsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LightsailClient";
15
- const commandName = "GetOperationsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LightsailClient";
18
+ var commandName = "GetOperationsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetOperationsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetOperationsForResourceResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetOperationsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetOperationsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetOperationsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetOperationsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetOperationsForResourceCommand;
38
+ }($Command));
39
+ export { GetOperationsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetRegionsRequestFilterSensitiveLog, GetRegionsResultFilterSensitiveLog, } from "../models/models_1";
4
5
  import { deserializeAws_json1_1GetRegionsCommand, serializeAws_json1_1GetRegionsCommand, } from "../protocols/Aws_json1_1";
5
- export class GetRegionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetRegionsCommand = (function (_super) {
7
+ __extends(GetRegionsCommand, _super);
8
+ function GetRegionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRegionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LightsailClient";
15
- const commandName = "GetRegionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LightsailClient";
18
+ var commandName = "GetRegionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetRegionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRegionsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetRegionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1GetRegionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRegionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1GetRegionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRegionsCommand;
38
+ }($Command));
39
+ export { GetRegionsCommand };