@aws-sdk/client-lightsail 3.186.0 → 3.190.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 +16 -0
- package/dist-es/Lightsail.js +622 -629
- package/dist-es/LightsailClient.js +22 -28
- package/dist-es/commands/AllocateStaticIpCommand.js +21 -28
- package/dist-es/commands/AttachCertificateToDistributionCommand.js +21 -28
- package/dist-es/commands/AttachDiskCommand.js +21 -28
- package/dist-es/commands/AttachInstancesToLoadBalancerCommand.js +21 -28
- package/dist-es/commands/AttachLoadBalancerTlsCertificateCommand.js +21 -28
- package/dist-es/commands/AttachStaticIpCommand.js +21 -28
- package/dist-es/commands/CloseInstancePublicPortsCommand.js +21 -28
- package/dist-es/commands/CopySnapshotCommand.js +21 -28
- package/dist-es/commands/CreateBucketAccessKeyCommand.js +21 -28
- package/dist-es/commands/CreateBucketCommand.js +21 -28
- package/dist-es/commands/CreateCertificateCommand.js +21 -28
- package/dist-es/commands/CreateCloudFormationStackCommand.js +21 -28
- package/dist-es/commands/CreateContactMethodCommand.js +21 -28
- package/dist-es/commands/CreateContainerServiceCommand.js +21 -28
- package/dist-es/commands/CreateContainerServiceDeploymentCommand.js +21 -28
- package/dist-es/commands/CreateContainerServiceRegistryLoginCommand.js +21 -28
- package/dist-es/commands/CreateDiskCommand.js +21 -28
- package/dist-es/commands/CreateDiskFromSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateDiskSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateDistributionCommand.js +21 -28
- package/dist-es/commands/CreateDomainCommand.js +21 -28
- package/dist-es/commands/CreateDomainEntryCommand.js +21 -28
- package/dist-es/commands/CreateInstanceSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateInstancesCommand.js +21 -28
- package/dist-es/commands/CreateInstancesFromSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateKeyPairCommand.js +21 -28
- package/dist-es/commands/CreateLoadBalancerCommand.js +21 -28
- package/dist-es/commands/CreateLoadBalancerTlsCertificateCommand.js +21 -28
- package/dist-es/commands/CreateRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/CreateRelationalDatabaseFromSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateRelationalDatabaseSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteAlarmCommand.js +21 -28
- package/dist-es/commands/DeleteAutoSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteBucketAccessKeyCommand.js +21 -28
- package/dist-es/commands/DeleteBucketCommand.js +21 -28
- package/dist-es/commands/DeleteCertificateCommand.js +21 -28
- package/dist-es/commands/DeleteContactMethodCommand.js +21 -28
- package/dist-es/commands/DeleteContainerImageCommand.js +21 -28
- package/dist-es/commands/DeleteContainerServiceCommand.js +21 -28
- package/dist-es/commands/DeleteDiskCommand.js +21 -28
- package/dist-es/commands/DeleteDiskSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteDistributionCommand.js +21 -28
- package/dist-es/commands/DeleteDomainCommand.js +21 -28
- package/dist-es/commands/DeleteDomainEntryCommand.js +21 -28
- package/dist-es/commands/DeleteInstanceCommand.js +21 -28
- package/dist-es/commands/DeleteInstanceSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteKeyPairCommand.js +21 -28
- package/dist-es/commands/DeleteKnownHostKeysCommand.js +21 -28
- package/dist-es/commands/DeleteLoadBalancerCommand.js +21 -28
- package/dist-es/commands/DeleteLoadBalancerTlsCertificateCommand.js +21 -28
- package/dist-es/commands/DeleteRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/DeleteRelationalDatabaseSnapshotCommand.js +21 -28
- package/dist-es/commands/DetachCertificateFromDistributionCommand.js +21 -28
- package/dist-es/commands/DetachDiskCommand.js +21 -28
- package/dist-es/commands/DetachInstancesFromLoadBalancerCommand.js +21 -28
- package/dist-es/commands/DetachStaticIpCommand.js +21 -28
- package/dist-es/commands/DisableAddOnCommand.js +21 -28
- package/dist-es/commands/DownloadDefaultKeyPairCommand.js +21 -28
- package/dist-es/commands/EnableAddOnCommand.js +21 -28
- package/dist-es/commands/ExportSnapshotCommand.js +21 -28
- package/dist-es/commands/GetActiveNamesCommand.js +21 -28
- package/dist-es/commands/GetAlarmsCommand.js +21 -28
- package/dist-es/commands/GetAutoSnapshotsCommand.js +21 -28
- package/dist-es/commands/GetBlueprintsCommand.js +21 -28
- package/dist-es/commands/GetBucketAccessKeysCommand.js +21 -28
- package/dist-es/commands/GetBucketBundlesCommand.js +21 -28
- package/dist-es/commands/GetBucketMetricDataCommand.js +21 -28
- package/dist-es/commands/GetBucketsCommand.js +21 -28
- package/dist-es/commands/GetBundlesCommand.js +21 -28
- package/dist-es/commands/GetCertificatesCommand.js +21 -28
- package/dist-es/commands/GetCloudFormationStackRecordsCommand.js +21 -28
- package/dist-es/commands/GetContactMethodsCommand.js +21 -28
- package/dist-es/commands/GetContainerAPIMetadataCommand.js +21 -28
- package/dist-es/commands/GetContainerImagesCommand.js +21 -28
- package/dist-es/commands/GetContainerLogCommand.js +21 -28
- package/dist-es/commands/GetContainerServiceDeploymentsCommand.js +21 -28
- package/dist-es/commands/GetContainerServiceMetricDataCommand.js +21 -28
- package/dist-es/commands/GetContainerServicePowersCommand.js +21 -28
- package/dist-es/commands/GetContainerServicesCommand.js +21 -28
- package/dist-es/commands/GetDiskCommand.js +21 -28
- package/dist-es/commands/GetDiskSnapshotCommand.js +21 -28
- package/dist-es/commands/GetDiskSnapshotsCommand.js +21 -28
- package/dist-es/commands/GetDisksCommand.js +21 -28
- package/dist-es/commands/GetDistributionBundlesCommand.js +21 -28
- package/dist-es/commands/GetDistributionLatestCacheResetCommand.js +21 -28
- package/dist-es/commands/GetDistributionMetricDataCommand.js +21 -28
- package/dist-es/commands/GetDistributionsCommand.js +21 -28
- package/dist-es/commands/GetDomainCommand.js +21 -28
- package/dist-es/commands/GetDomainsCommand.js +21 -28
- package/dist-es/commands/GetExportSnapshotRecordsCommand.js +21 -28
- package/dist-es/commands/GetInstanceAccessDetailsCommand.js +21 -28
- package/dist-es/commands/GetInstanceCommand.js +21 -28
- package/dist-es/commands/GetInstanceMetricDataCommand.js +21 -28
- package/dist-es/commands/GetInstancePortStatesCommand.js +21 -28
- package/dist-es/commands/GetInstanceSnapshotCommand.js +21 -28
- package/dist-es/commands/GetInstanceSnapshotsCommand.js +21 -28
- package/dist-es/commands/GetInstanceStateCommand.js +21 -28
- package/dist-es/commands/GetInstancesCommand.js +21 -28
- package/dist-es/commands/GetKeyPairCommand.js +21 -28
- package/dist-es/commands/GetKeyPairsCommand.js +21 -28
- package/dist-es/commands/GetLoadBalancerCommand.js +21 -28
- package/dist-es/commands/GetLoadBalancerMetricDataCommand.js +21 -28
- package/dist-es/commands/GetLoadBalancerTlsCertificatesCommand.js +21 -28
- package/dist-es/commands/GetLoadBalancerTlsPoliciesCommand.js +21 -28
- package/dist-es/commands/GetLoadBalancersCommand.js +21 -28
- package/dist-es/commands/GetOperationCommand.js +21 -28
- package/dist-es/commands/GetOperationsCommand.js +21 -28
- package/dist-es/commands/GetOperationsForResourceCommand.js +21 -28
- package/dist-es/commands/GetRegionsCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseBlueprintsCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseBundlesCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseEventsCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseLogEventsCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseLogStreamsCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseMasterUserPasswordCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseMetricDataCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseParametersCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseSnapshotCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabaseSnapshotsCommand.js +21 -28
- package/dist-es/commands/GetRelationalDatabasesCommand.js +21 -28
- package/dist-es/commands/GetStaticIpCommand.js +21 -28
- package/dist-es/commands/GetStaticIpsCommand.js +21 -28
- package/dist-es/commands/ImportKeyPairCommand.js +21 -28
- package/dist-es/commands/IsVpcPeeredCommand.js +21 -28
- package/dist-es/commands/OpenInstancePublicPortsCommand.js +21 -28
- package/dist-es/commands/PeerVpcCommand.js +21 -28
- package/dist-es/commands/PutAlarmCommand.js +21 -28
- package/dist-es/commands/PutInstancePublicPortsCommand.js +21 -28
- package/dist-es/commands/RebootInstanceCommand.js +21 -28
- package/dist-es/commands/RebootRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/RegisterContainerImageCommand.js +21 -28
- package/dist-es/commands/ReleaseStaticIpCommand.js +21 -28
- package/dist-es/commands/ResetDistributionCacheCommand.js +21 -28
- package/dist-es/commands/SendContactMethodVerificationCommand.js +21 -28
- package/dist-es/commands/SetIpAddressTypeCommand.js +21 -28
- package/dist-es/commands/SetResourceAccessForBucketCommand.js +21 -28
- package/dist-es/commands/StartInstanceCommand.js +21 -28
- package/dist-es/commands/StartRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/StopInstanceCommand.js +21 -28
- package/dist-es/commands/StopRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/TestAlarmCommand.js +21 -28
- package/dist-es/commands/UnpeerVpcCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateBucketBundleCommand.js +21 -28
- package/dist-es/commands/UpdateBucketCommand.js +21 -28
- package/dist-es/commands/UpdateContainerServiceCommand.js +21 -28
- package/dist-es/commands/UpdateDistributionBundleCommand.js +21 -28
- package/dist-es/commands/UpdateDistributionCommand.js +21 -28
- package/dist-es/commands/UpdateDomainEntryCommand.js +21 -28
- package/dist-es/commands/UpdateInstanceMetadataOptionsCommand.js +21 -28
- package/dist-es/commands/UpdateLoadBalancerAttributeCommand.js +21 -28
- package/dist-es/commands/UpdateRelationalDatabaseCommand.js +21 -28
- package/dist-es/commands/UpdateRelationalDatabaseParametersCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/LightsailServiceException.js +5 -10
- package/dist-es/models/models_0.js +849 -348
- package/dist-es/models/models_1.js +497 -166
- package/dist-es/protocols/Aws_json1_1.js +10880 -14201
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- 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 { CreateDistributionRequestFilterSensitiveLog, CreateDistributionResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CreateDistributionCommand, serializeAws_json1_1CreateDistributionCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateDistributionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LightsailClient";
|
|
15
|
+
const commandName = "CreateDistributionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateDistributionRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateDistributionResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateDistributionCommand.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_1CreateDistributionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CreateDistributionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateDistributionCommand };
|
|
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 { CreateDomainRequestFilterSensitiveLog, CreateDomainResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CreateDomainCommand, serializeAws_json1_1CreateDomainCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateDomainCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LightsailClient";
|
|
15
|
+
const commandName = "CreateDomainCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateDomainRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateDomainResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateDomainCommand.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_1CreateDomainCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CreateDomainCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateDomainCommand };
|
|
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 { CreateDomainEntryRequestFilterSensitiveLog, CreateDomainEntryResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CreateDomainEntryCommand, serializeAws_json1_1CreateDomainEntryCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateDomainEntryCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LightsailClient";
|
|
15
|
+
const commandName = "CreateDomainEntryCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateDomainEntryRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateDomainEntryResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateDomainEntryCommand.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_1CreateDomainEntryCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CreateDomainEntryCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateDomainEntryCommand };
|
|
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 { CreateInstanceSnapshotRequestFilterSensitiveLog, CreateInstanceSnapshotResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CreateInstanceSnapshotCommand, serializeAws_json1_1CreateInstanceSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateInstanceSnapshotCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LightsailClient";
|
|
15
|
+
const commandName = "CreateInstanceSnapshotCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateInstanceSnapshotRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateInstanceSnapshotResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateInstanceSnapshotCommand.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_1CreateInstanceSnapshotCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CreateInstanceSnapshotCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateInstanceSnapshotCommand };
|
|
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 { CreateInstancesRequestFilterSensitiveLog, CreateInstancesResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CreateInstancesCommand, serializeAws_json1_1CreateInstancesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateInstancesCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LightsailClient";
|
|
15
|
+
const commandName = "CreateInstancesCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateInstancesRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateInstancesResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateInstancesCommand.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_1CreateInstancesCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CreateInstancesCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateInstancesCommand };
|
|
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 { CreateInstancesFromSnapshotRequestFilterSensitiveLog, CreateInstancesFromSnapshotResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CreateInstancesFromSnapshotCommand, serializeAws_json1_1CreateInstancesFromSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateInstancesFromSnapshotCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LightsailClient";
|
|
15
|
+
const commandName = "CreateInstancesFromSnapshotCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateInstancesFromSnapshotRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateInstancesFromSnapshotResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateInstancesFromSnapshotCommand.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_1CreateInstancesFromSnapshotCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CreateInstancesFromSnapshotCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateInstancesFromSnapshotCommand };
|
|
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 { CreateKeyPairRequestFilterSensitiveLog, CreateKeyPairResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CreateKeyPairCommand, serializeAws_json1_1CreateKeyPairCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateKeyPairCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LightsailClient";
|
|
15
|
+
const commandName = "CreateKeyPairCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateKeyPairRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateKeyPairResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateKeyPairCommand.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_1CreateKeyPairCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CreateKeyPairCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateKeyPairCommand };
|
|
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 { CreateLoadBalancerRequestFilterSensitiveLog, CreateLoadBalancerResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CreateLoadBalancerCommand, serializeAws_json1_1CreateLoadBalancerCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateLoadBalancerCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LightsailClient";
|
|
15
|
+
const commandName = "CreateLoadBalancerCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateLoadBalancerRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateLoadBalancerResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateLoadBalancerCommand.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_1CreateLoadBalancerCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CreateLoadBalancerCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateLoadBalancerCommand };
|
|
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 { CreateLoadBalancerTlsCertificateRequestFilterSensitiveLog, CreateLoadBalancerTlsCertificateResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommand, serializeAws_json1_1CreateLoadBalancerTlsCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateLoadBalancerTlsCertificateCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LightsailClient";
|
|
15
|
+
const commandName = "CreateLoadBalancerTlsCertificateCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateLoadBalancerTlsCertificateRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateLoadBalancerTlsCertificateResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateLoadBalancerTlsCertificateCommand.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_1CreateLoadBalancerTlsCertificateCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CreateLoadBalancerTlsCertificateCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateLoadBalancerTlsCertificateCommand };
|
|
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 { CreateRelationalDatabaseRequestFilterSensitiveLog, CreateRelationalDatabaseResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CreateRelationalDatabaseCommand, serializeAws_json1_1CreateRelationalDatabaseCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateRelationalDatabaseCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "LightsailClient";
|
|
15
|
+
const commandName = "CreateRelationalDatabaseCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateRelationalDatabaseRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateRelationalDatabaseResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateRelationalDatabaseCommand.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_1CreateRelationalDatabaseCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CreateRelationalDatabaseCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateRelationalDatabaseCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|