@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 { GetExportSnapshotRecordsRequestFilterSensitiveLog, GetExportSnapshotRecordsResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1GetExportSnapshotRecordsCommand, serializeAws_json1_1GetExportSnapshotRecordsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetExportSnapshotRecordsCommand = (function (_super) {
|
|
7
|
+
__extends(GetExportSnapshotRecordsCommand, _super);
|
|
8
|
+
function GetExportSnapshotRecordsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetExportSnapshotRecordsCommand.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 = "GetExportSnapshotRecordsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetExportSnapshotRecordsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetExportSnapshotRecordsResultFilterSensitiveLog,
|
|
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
|
+
GetExportSnapshotRecordsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetExportSnapshotRecordsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetExportSnapshotRecordsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetExportSnapshotRecordsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetExportSnapshotRecordsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetExportSnapshotRecordsCommand };
|
|
@@ -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 { GetInstanceAccessDetailsRequestFilterSensitiveLog, GetInstanceAccessDetailsResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1GetInstanceAccessDetailsCommand, serializeAws_json1_1GetInstanceAccessDetailsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetInstanceAccessDetailsCommand = (function (_super) {
|
|
7
|
+
__extends(GetInstanceAccessDetailsCommand, _super);
|
|
8
|
+
function GetInstanceAccessDetailsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetInstanceAccessDetailsCommand.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 = "GetInstanceAccessDetailsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetInstanceAccessDetailsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetInstanceAccessDetailsResultFilterSensitiveLog,
|
|
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
|
+
GetInstanceAccessDetailsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetInstanceAccessDetailsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetInstanceAccessDetailsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetInstanceAccessDetailsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetInstanceAccessDetailsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetInstanceAccessDetailsCommand };
|
|
@@ -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 { GetInstanceRequestFilterSensitiveLog, GetInstanceResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1GetInstanceCommand, serializeAws_json1_1GetInstanceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetInstanceCommand = (function (_super) {
|
|
7
|
+
__extends(GetInstanceCommand, _super);
|
|
8
|
+
function GetInstanceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetInstanceCommand.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 = "GetInstanceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetInstanceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetInstanceResultFilterSensitiveLog,
|
|
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
|
+
GetInstanceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetInstanceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetInstanceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetInstanceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetInstanceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetInstanceCommand };
|
|
@@ -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 { GetInstanceMetricDataRequestFilterSensitiveLog, GetInstanceMetricDataResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1GetInstanceMetricDataCommand, serializeAws_json1_1GetInstanceMetricDataCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetInstanceMetricDataCommand = (function (_super) {
|
|
7
|
+
__extends(GetInstanceMetricDataCommand, _super);
|
|
8
|
+
function GetInstanceMetricDataCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetInstanceMetricDataCommand.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 = "GetInstanceMetricDataCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetInstanceMetricDataRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetInstanceMetricDataResultFilterSensitiveLog,
|
|
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
|
+
GetInstanceMetricDataCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetInstanceMetricDataCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetInstanceMetricDataCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetInstanceMetricDataCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetInstanceMetricDataCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetInstanceMetricDataCommand };
|
|
@@ -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 { GetInstancePortStatesRequestFilterSensitiveLog, GetInstancePortStatesResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1GetInstancePortStatesCommand, serializeAws_json1_1GetInstancePortStatesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetInstancePortStatesCommand = (function (_super) {
|
|
7
|
+
__extends(GetInstancePortStatesCommand, _super);
|
|
8
|
+
function GetInstancePortStatesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetInstancePortStatesCommand.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 = "GetInstancePortStatesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetInstancePortStatesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetInstancePortStatesResultFilterSensitiveLog,
|
|
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
|
+
GetInstancePortStatesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetInstancePortStatesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetInstancePortStatesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetInstancePortStatesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetInstancePortStatesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetInstancePortStatesCommand };
|
|
@@ -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 { GetInstanceSnapshotRequestFilterSensitiveLog, GetInstanceSnapshotResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1GetInstanceSnapshotCommand, serializeAws_json1_1GetInstanceSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetInstanceSnapshotCommand = (function (_super) {
|
|
7
|
+
__extends(GetInstanceSnapshotCommand, _super);
|
|
8
|
+
function GetInstanceSnapshotCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetInstanceSnapshotCommand.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 = "GetInstanceSnapshotCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetInstanceSnapshotRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetInstanceSnapshotResultFilterSensitiveLog,
|
|
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
|
+
GetInstanceSnapshotCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetInstanceSnapshotCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetInstanceSnapshotCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetInstanceSnapshotCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetInstanceSnapshotCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetInstanceSnapshotCommand };
|
|
@@ -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 { GetInstanceSnapshotsRequestFilterSensitiveLog, GetInstanceSnapshotsResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1GetInstanceSnapshotsCommand, serializeAws_json1_1GetInstanceSnapshotsCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetInstanceSnapshotsCommand = (function (_super) {
|
|
7
|
+
__extends(GetInstanceSnapshotsCommand, _super);
|
|
8
|
+
function GetInstanceSnapshotsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetInstanceSnapshotsCommand.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 = "GetInstanceSnapshotsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetInstanceSnapshotsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetInstanceSnapshotsResultFilterSensitiveLog,
|
|
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
|
+
GetInstanceSnapshotsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetInstanceSnapshotsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetInstanceSnapshotsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetInstanceSnapshotsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetInstanceSnapshotsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetInstanceSnapshotsCommand };
|
|
@@ -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 { GetInstanceStateRequestFilterSensitiveLog, GetInstanceStateResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1GetInstanceStateCommand, serializeAws_json1_1GetInstanceStateCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetInstanceStateCommand = (function (_super) {
|
|
7
|
+
__extends(GetInstanceStateCommand, _super);
|
|
8
|
+
function GetInstanceStateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetInstanceStateCommand.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 = "GetInstanceStateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetInstanceStateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetInstanceStateResultFilterSensitiveLog,
|
|
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
|
+
GetInstanceStateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetInstanceStateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetInstanceStateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetInstanceStateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetInstanceStateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetInstanceStateCommand };
|
|
@@ -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 { GetInstancesRequestFilterSensitiveLog, GetInstancesResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1GetInstancesCommand, serializeAws_json1_1GetInstancesCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetInstancesCommand = (function (_super) {
|
|
7
|
+
__extends(GetInstancesCommand, _super);
|
|
8
|
+
function GetInstancesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetInstancesCommand.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 = "GetInstancesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetInstancesRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetInstancesResultFilterSensitiveLog,
|
|
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
|
+
GetInstancesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetInstancesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetInstancesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetInstancesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetInstancesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetInstancesCommand };
|
|
@@ -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 { GetKeyPairRequestFilterSensitiveLog, GetKeyPairResultFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_json1_1GetKeyPairCommand, serializeAws_json1_1GetKeyPairCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetKeyPairCommand = (function (_super) {
|
|
7
|
+
__extends(GetKeyPairCommand, _super);
|
|
8
|
+
function GetKeyPairCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetKeyPairCommand.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 = "GetKeyPairCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetKeyPairRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetKeyPairResultFilterSensitiveLog,
|
|
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
|
+
GetKeyPairCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1GetKeyPairCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetKeyPairCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1GetKeyPairCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetKeyPairCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetKeyPairCommand };
|