@aws-sdk/client-lightsail 3.181.0 → 3.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -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 { GetExportSnapshotRecordsRequestFilterSensitiveLog, GetExportSnapshotRecordsResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_json1_1GetExportSnapshotRecordsCommand, serializeAws_json1_1GetExportSnapshotRecordsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetExportSnapshotRecordsCommand 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 = "GetExportSnapshotRecordsCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetExportSnapshotRecordsRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetExportSnapshotRecordsResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetExportSnapshotRecordsCommand.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_1GetExportSnapshotRecordsCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1GetExportSnapshotRecordsCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetExportSnapshotRecordsCommand };
|
|
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 { GetInstanceAccessDetailsRequestFilterSensitiveLog, GetInstanceAccessDetailsResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_json1_1GetInstanceAccessDetailsCommand, serializeAws_json1_1GetInstanceAccessDetailsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetInstanceAccessDetailsCommand 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 = "GetInstanceAccessDetailsCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetInstanceAccessDetailsRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetInstanceAccessDetailsResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetInstanceAccessDetailsCommand.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_1GetInstanceAccessDetailsCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1GetInstanceAccessDetailsCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetInstanceAccessDetailsCommand };
|
|
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 { GetInstanceRequestFilterSensitiveLog, GetInstanceResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_json1_1GetInstanceCommand, serializeAws_json1_1GetInstanceCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetInstanceCommand 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 = "GetInstanceCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetInstanceRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetInstanceResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetInstanceCommand.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_1GetInstanceCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1GetInstanceCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetInstanceCommand };
|
|
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 { GetInstanceMetricDataRequestFilterSensitiveLog, GetInstanceMetricDataResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_json1_1GetInstanceMetricDataCommand, serializeAws_json1_1GetInstanceMetricDataCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetInstanceMetricDataCommand 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 = "GetInstanceMetricDataCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetInstanceMetricDataRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetInstanceMetricDataResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetInstanceMetricDataCommand.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_1GetInstanceMetricDataCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1GetInstanceMetricDataCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetInstanceMetricDataCommand };
|
|
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 { GetInstancePortStatesRequestFilterSensitiveLog, GetInstancePortStatesResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_json1_1GetInstancePortStatesCommand, serializeAws_json1_1GetInstancePortStatesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetInstancePortStatesCommand 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 = "GetInstancePortStatesCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetInstancePortStatesRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetInstancePortStatesResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetInstancePortStatesCommand.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_1GetInstancePortStatesCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1GetInstancePortStatesCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetInstancePortStatesCommand };
|
|
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 { GetInstanceSnapshotRequestFilterSensitiveLog, GetInstanceSnapshotResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_json1_1GetInstanceSnapshotCommand, serializeAws_json1_1GetInstanceSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetInstanceSnapshotCommand 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 = "GetInstanceSnapshotCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetInstanceSnapshotRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetInstanceSnapshotResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetInstanceSnapshotCommand.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_1GetInstanceSnapshotCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1GetInstanceSnapshotCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetInstanceSnapshotCommand };
|
|
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 { GetInstanceSnapshotsRequestFilterSensitiveLog, GetInstanceSnapshotsResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_json1_1GetInstanceSnapshotsCommand, serializeAws_json1_1GetInstanceSnapshotsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetInstanceSnapshotsCommand 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 = "GetInstanceSnapshotsCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetInstanceSnapshotsRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetInstanceSnapshotsResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetInstanceSnapshotsCommand.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_1GetInstanceSnapshotsCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1GetInstanceSnapshotsCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetInstanceSnapshotsCommand };
|
|
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 { GetInstanceStateRequestFilterSensitiveLog, GetInstanceStateResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_json1_1GetInstanceStateCommand, serializeAws_json1_1GetInstanceStateCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetInstanceStateCommand 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 = "GetInstanceStateCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetInstanceStateRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetInstanceStateResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetInstanceStateCommand.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_1GetInstanceStateCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1GetInstanceStateCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetInstanceStateCommand };
|
|
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 { GetInstancesRequestFilterSensitiveLog, GetInstancesResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_json1_1GetInstancesCommand, serializeAws_json1_1GetInstancesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetInstancesCommand 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 = "GetInstancesCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetInstancesRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetInstancesResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetInstancesCommand.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_1GetInstancesCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1GetInstancesCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetInstancesCommand };
|
|
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 { GetKeyPairRequestFilterSensitiveLog, GetKeyPairResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
4
|
import { deserializeAws_json1_1GetKeyPairCommand, serializeAws_json1_1GetKeyPairCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetKeyPairCommand 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 = "GetKeyPairCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetKeyPairRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetKeyPairResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetKeyPairCommand.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_1GetKeyPairCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1GetKeyPairCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetKeyPairCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|