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