@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 { CreateDistributionRequestFilterSensitiveLog, CreateDistributionResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateDistributionCommand, serializeAws_json1_1CreateDistributionCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateDistributionCommand = (function (_super) {
|
|
7
|
+
__extends(CreateDistributionCommand, _super);
|
|
8
|
+
function CreateDistributionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateDistributionCommand.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 = "CreateDistributionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateDistributionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateDistributionResultFilterSensitiveLog,
|
|
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
|
+
CreateDistributionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateDistributionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateDistributionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateDistributionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateDistributionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateDistributionCommand };
|
|
@@ -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 { CreateDomainRequestFilterSensitiveLog, CreateDomainResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateDomainCommand, serializeAws_json1_1CreateDomainCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateDomainCommand = (function (_super) {
|
|
7
|
+
__extends(CreateDomainCommand, _super);
|
|
8
|
+
function CreateDomainCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateDomainCommand.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 = "CreateDomainCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateDomainRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateDomainResultFilterSensitiveLog,
|
|
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
|
+
CreateDomainCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateDomainCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateDomainCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateDomainCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateDomainCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateDomainCommand };
|
|
@@ -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 { CreateDomainEntryRequestFilterSensitiveLog, CreateDomainEntryResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateDomainEntryCommand, serializeAws_json1_1CreateDomainEntryCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateDomainEntryCommand = (function (_super) {
|
|
7
|
+
__extends(CreateDomainEntryCommand, _super);
|
|
8
|
+
function CreateDomainEntryCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateDomainEntryCommand.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 = "CreateDomainEntryCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateDomainEntryRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateDomainEntryResultFilterSensitiveLog,
|
|
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
|
+
CreateDomainEntryCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateDomainEntryCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateDomainEntryCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateDomainEntryCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateDomainEntryCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateDomainEntryCommand };
|
|
@@ -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 { CreateInstanceSnapshotRequestFilterSensitiveLog, CreateInstanceSnapshotResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateInstanceSnapshotCommand, serializeAws_json1_1CreateInstanceSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateInstanceSnapshotCommand = (function (_super) {
|
|
7
|
+
__extends(CreateInstanceSnapshotCommand, _super);
|
|
8
|
+
function CreateInstanceSnapshotCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateInstanceSnapshotCommand.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 = "CreateInstanceSnapshotCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateInstanceSnapshotRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateInstanceSnapshotResultFilterSensitiveLog,
|
|
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
|
+
CreateInstanceSnapshotCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateInstanceSnapshotCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateInstanceSnapshotCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateInstanceSnapshotCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateInstanceSnapshotCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateInstanceSnapshotCommand };
|
|
@@ -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 { CreateInstancesRequestFilterSensitiveLog, CreateInstancesResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateInstancesCommand, serializeAws_json1_1CreateInstancesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateInstancesCommand = (function (_super) {
|
|
7
|
+
__extends(CreateInstancesCommand, _super);
|
|
8
|
+
function CreateInstancesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateInstancesCommand.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 = "CreateInstancesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateInstancesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateInstancesResultFilterSensitiveLog,
|
|
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
|
+
CreateInstancesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateInstancesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateInstancesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateInstancesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateInstancesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateInstancesCommand };
|
|
@@ -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 { CreateInstancesFromSnapshotRequestFilterSensitiveLog, CreateInstancesFromSnapshotResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateInstancesFromSnapshotCommand, serializeAws_json1_1CreateInstancesFromSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateInstancesFromSnapshotCommand = (function (_super) {
|
|
7
|
+
__extends(CreateInstancesFromSnapshotCommand, _super);
|
|
8
|
+
function CreateInstancesFromSnapshotCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateInstancesFromSnapshotCommand.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 = "CreateInstancesFromSnapshotCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateInstancesFromSnapshotRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateInstancesFromSnapshotResultFilterSensitiveLog,
|
|
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
|
+
CreateInstancesFromSnapshotCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateInstancesFromSnapshotCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateInstancesFromSnapshotCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateInstancesFromSnapshotCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateInstancesFromSnapshotCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateInstancesFromSnapshotCommand };
|
|
@@ -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 { CreateKeyPairRequestFilterSensitiveLog, CreateKeyPairResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateKeyPairCommand, serializeAws_json1_1CreateKeyPairCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateKeyPairCommand = (function (_super) {
|
|
7
|
+
__extends(CreateKeyPairCommand, _super);
|
|
8
|
+
function CreateKeyPairCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateKeyPairCommand.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 = "CreateKeyPairCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateKeyPairRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateKeyPairResultFilterSensitiveLog,
|
|
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
|
+
CreateKeyPairCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateKeyPairCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateKeyPairCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateKeyPairCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateKeyPairCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateKeyPairCommand };
|
|
@@ -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 { CreateLoadBalancerRequestFilterSensitiveLog, CreateLoadBalancerResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateLoadBalancerCommand, serializeAws_json1_1CreateLoadBalancerCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateLoadBalancerCommand = (function (_super) {
|
|
7
|
+
__extends(CreateLoadBalancerCommand, _super);
|
|
8
|
+
function CreateLoadBalancerCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateLoadBalancerCommand.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 = "CreateLoadBalancerCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateLoadBalancerRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateLoadBalancerResultFilterSensitiveLog,
|
|
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
|
+
CreateLoadBalancerCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateLoadBalancerCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateLoadBalancerCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateLoadBalancerCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateLoadBalancerCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateLoadBalancerCommand };
|
|
@@ -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 { CreateLoadBalancerTlsCertificateRequestFilterSensitiveLog, CreateLoadBalancerTlsCertificateResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommand, serializeAws_json1_1CreateLoadBalancerTlsCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateLoadBalancerTlsCertificateCommand = (function (_super) {
|
|
7
|
+
__extends(CreateLoadBalancerTlsCertificateCommand, _super);
|
|
8
|
+
function CreateLoadBalancerTlsCertificateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateLoadBalancerTlsCertificateCommand.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 = "CreateLoadBalancerTlsCertificateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateLoadBalancerTlsCertificateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateLoadBalancerTlsCertificateResultFilterSensitiveLog,
|
|
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
|
+
CreateLoadBalancerTlsCertificateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateLoadBalancerTlsCertificateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateLoadBalancerTlsCertificateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateLoadBalancerTlsCertificateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateLoadBalancerTlsCertificateCommand };
|
|
@@ -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 { CreateRelationalDatabaseRequestFilterSensitiveLog, CreateRelationalDatabaseResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateRelationalDatabaseCommand, serializeAws_json1_1CreateRelationalDatabaseCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateRelationalDatabaseCommand = (function (_super) {
|
|
7
|
+
__extends(CreateRelationalDatabaseCommand, _super);
|
|
8
|
+
function CreateRelationalDatabaseCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateRelationalDatabaseCommand.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 = "CreateRelationalDatabaseCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateRelationalDatabaseRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateRelationalDatabaseResultFilterSensitiveLog,
|
|
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
|
+
CreateRelationalDatabaseCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateRelationalDatabaseCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateRelationalDatabaseCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateRelationalDatabaseCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateRelationalDatabaseCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateRelationalDatabaseCommand };
|