@aws-sdk/client-lightsail 3.183.0 → 3.185.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/Lightsail.js +629 -622
- package/dist-es/LightsailClient.js +28 -22
- package/dist-es/commands/AllocateStaticIpCommand.js +28 -21
- package/dist-es/commands/AttachCertificateToDistributionCommand.js +28 -21
- package/dist-es/commands/AttachDiskCommand.js +28 -21
- package/dist-es/commands/AttachInstancesToLoadBalancerCommand.js +28 -21
- package/dist-es/commands/AttachLoadBalancerTlsCertificateCommand.js +28 -21
- package/dist-es/commands/AttachStaticIpCommand.js +28 -21
- package/dist-es/commands/CloseInstancePublicPortsCommand.js +28 -21
- package/dist-es/commands/CopySnapshotCommand.js +28 -21
- package/dist-es/commands/CreateBucketAccessKeyCommand.js +28 -21
- package/dist-es/commands/CreateBucketCommand.js +28 -21
- package/dist-es/commands/CreateCertificateCommand.js +28 -21
- package/dist-es/commands/CreateCloudFormationStackCommand.js +28 -21
- package/dist-es/commands/CreateContactMethodCommand.js +28 -21
- package/dist-es/commands/CreateContainerServiceCommand.js +28 -21
- package/dist-es/commands/CreateContainerServiceDeploymentCommand.js +28 -21
- package/dist-es/commands/CreateContainerServiceRegistryLoginCommand.js +28 -21
- package/dist-es/commands/CreateDiskCommand.js +28 -21
- package/dist-es/commands/CreateDiskFromSnapshotCommand.js +28 -21
- package/dist-es/commands/CreateDiskSnapshotCommand.js +28 -21
- package/dist-es/commands/CreateDistributionCommand.js +28 -21
- package/dist-es/commands/CreateDomainCommand.js +28 -21
- package/dist-es/commands/CreateDomainEntryCommand.js +28 -21
- package/dist-es/commands/CreateInstanceSnapshotCommand.js +28 -21
- package/dist-es/commands/CreateInstancesCommand.js +28 -21
- package/dist-es/commands/CreateInstancesFromSnapshotCommand.js +28 -21
- package/dist-es/commands/CreateKeyPairCommand.js +28 -21
- package/dist-es/commands/CreateLoadBalancerCommand.js +28 -21
- package/dist-es/commands/CreateLoadBalancerTlsCertificateCommand.js +28 -21
- package/dist-es/commands/CreateRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/CreateRelationalDatabaseFromSnapshotCommand.js +28 -21
- package/dist-es/commands/CreateRelationalDatabaseSnapshotCommand.js +28 -21
- package/dist-es/commands/DeleteAlarmCommand.js +28 -21
- package/dist-es/commands/DeleteAutoSnapshotCommand.js +28 -21
- package/dist-es/commands/DeleteBucketAccessKeyCommand.js +28 -21
- package/dist-es/commands/DeleteBucketCommand.js +28 -21
- package/dist-es/commands/DeleteCertificateCommand.js +28 -21
- package/dist-es/commands/DeleteContactMethodCommand.js +28 -21
- package/dist-es/commands/DeleteContainerImageCommand.js +28 -21
- package/dist-es/commands/DeleteContainerServiceCommand.js +28 -21
- package/dist-es/commands/DeleteDiskCommand.js +28 -21
- package/dist-es/commands/DeleteDiskSnapshotCommand.js +28 -21
- package/dist-es/commands/DeleteDistributionCommand.js +28 -21
- package/dist-es/commands/DeleteDomainCommand.js +28 -21
- package/dist-es/commands/DeleteDomainEntryCommand.js +28 -21
- package/dist-es/commands/DeleteInstanceCommand.js +28 -21
- package/dist-es/commands/DeleteInstanceSnapshotCommand.js +28 -21
- package/dist-es/commands/DeleteKeyPairCommand.js +28 -21
- package/dist-es/commands/DeleteKnownHostKeysCommand.js +28 -21
- package/dist-es/commands/DeleteLoadBalancerCommand.js +28 -21
- package/dist-es/commands/DeleteLoadBalancerTlsCertificateCommand.js +28 -21
- package/dist-es/commands/DeleteRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/DeleteRelationalDatabaseSnapshotCommand.js +28 -21
- package/dist-es/commands/DetachCertificateFromDistributionCommand.js +28 -21
- package/dist-es/commands/DetachDiskCommand.js +28 -21
- package/dist-es/commands/DetachInstancesFromLoadBalancerCommand.js +28 -21
- package/dist-es/commands/DetachStaticIpCommand.js +28 -21
- package/dist-es/commands/DisableAddOnCommand.js +28 -21
- package/dist-es/commands/DownloadDefaultKeyPairCommand.js +28 -21
- package/dist-es/commands/EnableAddOnCommand.js +28 -21
- package/dist-es/commands/ExportSnapshotCommand.js +28 -21
- package/dist-es/commands/GetActiveNamesCommand.js +28 -21
- package/dist-es/commands/GetAlarmsCommand.js +28 -21
- package/dist-es/commands/GetAutoSnapshotsCommand.js +28 -21
- package/dist-es/commands/GetBlueprintsCommand.js +28 -21
- package/dist-es/commands/GetBucketAccessKeysCommand.js +28 -21
- package/dist-es/commands/GetBucketBundlesCommand.js +28 -21
- package/dist-es/commands/GetBucketMetricDataCommand.js +28 -21
- package/dist-es/commands/GetBucketsCommand.js +28 -21
- package/dist-es/commands/GetBundlesCommand.js +28 -21
- package/dist-es/commands/GetCertificatesCommand.js +28 -21
- package/dist-es/commands/GetCloudFormationStackRecordsCommand.js +28 -21
- package/dist-es/commands/GetContactMethodsCommand.js +28 -21
- package/dist-es/commands/GetContainerAPIMetadataCommand.js +28 -21
- package/dist-es/commands/GetContainerImagesCommand.js +28 -21
- package/dist-es/commands/GetContainerLogCommand.js +28 -21
- package/dist-es/commands/GetContainerServiceDeploymentsCommand.js +28 -21
- package/dist-es/commands/GetContainerServiceMetricDataCommand.js +28 -21
- package/dist-es/commands/GetContainerServicePowersCommand.js +28 -21
- package/dist-es/commands/GetContainerServicesCommand.js +28 -21
- package/dist-es/commands/GetDiskCommand.js +28 -21
- package/dist-es/commands/GetDiskSnapshotCommand.js +28 -21
- package/dist-es/commands/GetDiskSnapshotsCommand.js +28 -21
- package/dist-es/commands/GetDisksCommand.js +28 -21
- package/dist-es/commands/GetDistributionBundlesCommand.js +28 -21
- package/dist-es/commands/GetDistributionLatestCacheResetCommand.js +28 -21
- package/dist-es/commands/GetDistributionMetricDataCommand.js +28 -21
- package/dist-es/commands/GetDistributionsCommand.js +28 -21
- package/dist-es/commands/GetDomainCommand.js +28 -21
- package/dist-es/commands/GetDomainsCommand.js +28 -21
- package/dist-es/commands/GetExportSnapshotRecordsCommand.js +28 -21
- package/dist-es/commands/GetInstanceAccessDetailsCommand.js +28 -21
- package/dist-es/commands/GetInstanceCommand.js +28 -21
- package/dist-es/commands/GetInstanceMetricDataCommand.js +28 -21
- package/dist-es/commands/GetInstancePortStatesCommand.js +28 -21
- package/dist-es/commands/GetInstanceSnapshotCommand.js +28 -21
- package/dist-es/commands/GetInstanceSnapshotsCommand.js +28 -21
- package/dist-es/commands/GetInstanceStateCommand.js +28 -21
- package/dist-es/commands/GetInstancesCommand.js +28 -21
- package/dist-es/commands/GetKeyPairCommand.js +28 -21
- package/dist-es/commands/GetKeyPairsCommand.js +28 -21
- package/dist-es/commands/GetLoadBalancerCommand.js +28 -21
- package/dist-es/commands/GetLoadBalancerMetricDataCommand.js +28 -21
- package/dist-es/commands/GetLoadBalancerTlsCertificatesCommand.js +28 -21
- package/dist-es/commands/GetLoadBalancerTlsPoliciesCommand.js +28 -21
- package/dist-es/commands/GetLoadBalancersCommand.js +28 -21
- package/dist-es/commands/GetOperationCommand.js +28 -21
- package/dist-es/commands/GetOperationsCommand.js +28 -21
- package/dist-es/commands/GetOperationsForResourceCommand.js +28 -21
- package/dist-es/commands/GetRegionsCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseBlueprintsCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseBundlesCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseEventsCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseLogEventsCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseLogStreamsCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseMasterUserPasswordCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseMetricDataCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseParametersCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseSnapshotCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabaseSnapshotsCommand.js +28 -21
- package/dist-es/commands/GetRelationalDatabasesCommand.js +28 -21
- package/dist-es/commands/GetStaticIpCommand.js +28 -21
- package/dist-es/commands/GetStaticIpsCommand.js +28 -21
- package/dist-es/commands/ImportKeyPairCommand.js +28 -21
- package/dist-es/commands/IsVpcPeeredCommand.js +28 -21
- package/dist-es/commands/OpenInstancePublicPortsCommand.js +28 -21
- package/dist-es/commands/PeerVpcCommand.js +28 -21
- package/dist-es/commands/PutAlarmCommand.js +28 -21
- package/dist-es/commands/PutInstancePublicPortsCommand.js +28 -21
- package/dist-es/commands/RebootInstanceCommand.js +28 -21
- package/dist-es/commands/RebootRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/RegisterContainerImageCommand.js +28 -21
- package/dist-es/commands/ReleaseStaticIpCommand.js +28 -21
- package/dist-es/commands/ResetDistributionCacheCommand.js +28 -21
- package/dist-es/commands/SendContactMethodVerificationCommand.js +28 -21
- package/dist-es/commands/SetIpAddressTypeCommand.js +28 -21
- package/dist-es/commands/SetResourceAccessForBucketCommand.js +28 -21
- package/dist-es/commands/StartInstanceCommand.js +28 -21
- package/dist-es/commands/StartRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/StopInstanceCommand.js +28 -21
- package/dist-es/commands/StopRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/TestAlarmCommand.js +28 -21
- package/dist-es/commands/UnpeerVpcCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateBucketBundleCommand.js +28 -21
- package/dist-es/commands/UpdateBucketCommand.js +28 -21
- package/dist-es/commands/UpdateContainerServiceCommand.js +28 -21
- package/dist-es/commands/UpdateDistributionBundleCommand.js +28 -21
- package/dist-es/commands/UpdateDistributionCommand.js +28 -21
- package/dist-es/commands/UpdateDomainEntryCommand.js +28 -21
- package/dist-es/commands/UpdateInstanceMetadataOptionsCommand.js +28 -21
- package/dist-es/commands/UpdateLoadBalancerAttributeCommand.js +28 -21
- package/dist-es/commands/UpdateRelationalDatabaseCommand.js +28 -21
- package/dist-es/commands/UpdateRelationalDatabaseParametersCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/LightsailServiceException.js +10 -5
- package/dist-es/models/models_0.js +348 -849
- package/dist-es/models/models_1.js +166 -497
- package/dist-es/protocols/Aws_json1_1.js +14201 -10880
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -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 { UpdateDistributionRequestFilterSensitiveLog, UpdateDistributionResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1UpdateDistributionCommand, serializeAws_json1_1UpdateDistributionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateDistributionCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateDistributionCommand, _super);
|
|
8
|
+
function UpdateDistributionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateDistributionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "UpdateDistributionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateDistributionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateDistributionResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateDistributionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateDistributionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateDistributionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateDistributionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateDistributionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateDistributionCommand };
|
|
@@ -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 { UpdateDomainEntryRequestFilterSensitiveLog, UpdateDomainEntryResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1UpdateDomainEntryCommand, serializeAws_json1_1UpdateDomainEntryCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateDomainEntryCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateDomainEntryCommand, _super);
|
|
8
|
+
function UpdateDomainEntryCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateDomainEntryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "UpdateDomainEntryCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateDomainEntryRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateDomainEntryResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateDomainEntryCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateDomainEntryCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateDomainEntryCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateDomainEntryCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateDomainEntryCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateDomainEntryCommand };
|
|
@@ -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 { UpdateInstanceMetadataOptionsRequestFilterSensitiveLog, UpdateInstanceMetadataOptionsResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1UpdateInstanceMetadataOptionsCommand, serializeAws_json1_1UpdateInstanceMetadataOptionsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateInstanceMetadataOptionsCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateInstanceMetadataOptionsCommand, _super);
|
|
8
|
+
function UpdateInstanceMetadataOptionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateInstanceMetadataOptionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "UpdateInstanceMetadataOptionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateInstanceMetadataOptionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateInstanceMetadataOptionsResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateInstanceMetadataOptionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateInstanceMetadataOptionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateInstanceMetadataOptionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateInstanceMetadataOptionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateInstanceMetadataOptionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateInstanceMetadataOptionsCommand };
|
|
@@ -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 { UpdateLoadBalancerAttributeRequestFilterSensitiveLog, UpdateLoadBalancerAttributeResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1UpdateLoadBalancerAttributeCommand, serializeAws_json1_1UpdateLoadBalancerAttributeCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateLoadBalancerAttributeCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateLoadBalancerAttributeCommand, _super);
|
|
8
|
+
function UpdateLoadBalancerAttributeCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateLoadBalancerAttributeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "UpdateLoadBalancerAttributeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateLoadBalancerAttributeRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateLoadBalancerAttributeResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateLoadBalancerAttributeCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateLoadBalancerAttributeCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateLoadBalancerAttributeCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateLoadBalancerAttributeCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateLoadBalancerAttributeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateLoadBalancerAttributeCommand };
|
|
@@ -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 { UpdateRelationalDatabaseRequestFilterSensitiveLog, UpdateRelationalDatabaseResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1UpdateRelationalDatabaseCommand, serializeAws_json1_1UpdateRelationalDatabaseCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateRelationalDatabaseCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateRelationalDatabaseCommand, _super);
|
|
8
|
+
function UpdateRelationalDatabaseCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateRelationalDatabaseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "UpdateRelationalDatabaseCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateRelationalDatabaseRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateRelationalDatabaseResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateRelationalDatabaseCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateRelationalDatabaseCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateRelationalDatabaseCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateRelationalDatabaseCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateRelationalDatabaseCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateRelationalDatabaseCommand };
|
|
@@ -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 { UpdateRelationalDatabaseParametersRequestFilterSensitiveLog, UpdateRelationalDatabaseParametersResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1UpdateRelationalDatabaseParametersCommand, serializeAws_json1_1UpdateRelationalDatabaseParametersCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateRelationalDatabaseParametersCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateRelationalDatabaseParametersCommand, _super);
|
|
8
|
+
function UpdateRelationalDatabaseParametersCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateRelationalDatabaseParametersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "UpdateRelationalDatabaseParametersCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateRelationalDatabaseParametersRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateRelationalDatabaseParametersResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateRelationalDatabaseParametersCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1UpdateRelationalDatabaseParametersCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateRelationalDatabaseParametersCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1UpdateRelationalDatabaseParametersCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateRelationalDatabaseParametersCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateRelationalDatabaseParametersCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
4
5
|
aws: {
|
|
5
6
|
regions: [
|
|
6
7
|
"af-south-1",
|
|
@@ -120,9 +121,8 @@ const partitionHash = {
|
|
|
120
121
|
],
|
|
121
122
|
},
|
|
122
123
|
};
|
|
123
|
-
export
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
124
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "lightsail", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
127
|
+
});
|
|
128
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var LightsailServiceException = (function (_super) {
|
|
4
|
+
__extends(LightsailServiceException, _super);
|
|
5
|
+
function LightsailServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, LightsailServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return LightsailServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { LightsailServiceException };
|