@aws-sdk/client-lightsail 3.186.0 → 3.188.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,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
3
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
10
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
-
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
-
return _this;
|
|
11
|
+
export class LightsailClient extends __Client {
|
|
12
|
+
constructor(configuration) {
|
|
13
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
15
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
16
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
17
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
18
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
19
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
20
|
+
super(_config_6);
|
|
21
|
+
this.config = _config_6;
|
|
22
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
28
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}(__Client));
|
|
39
|
-
export { LightsailClient };
|
|
30
|
+
destroy() {
|
|
31
|
+
super.destroy();
|
|
32
|
+
}
|
|
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 { AllocateStaticIpRequestFilterSensitiveLog, AllocateStaticIpResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1AllocateStaticIpCommand, serializeAws_json1_1AllocateStaticIpCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AllocateStaticIpCommand 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 = "AllocateStaticIpCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AllocateStaticIpRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AllocateStaticIpResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AllocateStaticIpCommand.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_1AllocateStaticIpCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1AllocateStaticIpCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AllocateStaticIpCommand };
|
|
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 { AttachCertificateToDistributionRequestFilterSensitiveLog, AttachCertificateToDistributionResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1AttachCertificateToDistributionCommand, serializeAws_json1_1AttachCertificateToDistributionCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AttachCertificateToDistributionCommand 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 = "AttachCertificateToDistributionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AttachCertificateToDistributionRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AttachCertificateToDistributionResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AttachCertificateToDistributionCommand.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_1AttachCertificateToDistributionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1AttachCertificateToDistributionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AttachCertificateToDistributionCommand };
|
|
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 { AttachDiskRequestFilterSensitiveLog, AttachDiskResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1AttachDiskCommand, serializeAws_json1_1AttachDiskCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AttachDiskCommand 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 = "AttachDiskCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AttachDiskRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AttachDiskResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AttachDiskCommand.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_1AttachDiskCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1AttachDiskCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AttachDiskCommand };
|
|
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 { AttachInstancesToLoadBalancerRequestFilterSensitiveLog, AttachInstancesToLoadBalancerResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1AttachInstancesToLoadBalancerCommand, serializeAws_json1_1AttachInstancesToLoadBalancerCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AttachInstancesToLoadBalancerCommand 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 = "AttachInstancesToLoadBalancerCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AttachInstancesToLoadBalancerRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AttachInstancesToLoadBalancerResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AttachInstancesToLoadBalancerCommand.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_1AttachInstancesToLoadBalancerCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1AttachInstancesToLoadBalancerCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AttachInstancesToLoadBalancerCommand };
|
|
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 { AttachLoadBalancerTlsCertificateRequestFilterSensitiveLog, AttachLoadBalancerTlsCertificateResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1AttachLoadBalancerTlsCertificateCommand, serializeAws_json1_1AttachLoadBalancerTlsCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AttachLoadBalancerTlsCertificateCommand 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 = "AttachLoadBalancerTlsCertificateCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AttachLoadBalancerTlsCertificateRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AttachLoadBalancerTlsCertificateResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AttachLoadBalancerTlsCertificateCommand.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_1AttachLoadBalancerTlsCertificateCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1AttachLoadBalancerTlsCertificateCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AttachLoadBalancerTlsCertificateCommand };
|
|
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 { AttachStaticIpRequestFilterSensitiveLog, AttachStaticIpResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1AttachStaticIpCommand, serializeAws_json1_1AttachStaticIpCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class AttachStaticIpCommand 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 = "AttachStaticIpCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: AttachStaticIpRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: AttachStaticIpResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
AttachStaticIpCommand.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_1AttachStaticIpCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1AttachStaticIpCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { AttachStaticIpCommand };
|
|
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 { CloseInstancePublicPortsRequestFilterSensitiveLog, CloseInstancePublicPortsResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CloseInstancePublicPortsCommand, serializeAws_json1_1CloseInstancePublicPortsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CloseInstancePublicPortsCommand 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 = "CloseInstancePublicPortsCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CloseInstancePublicPortsRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CloseInstancePublicPortsResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CloseInstancePublicPortsCommand.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_1CloseInstancePublicPortsCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CloseInstancePublicPortsCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CloseInstancePublicPortsCommand };
|
|
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 { CopySnapshotRequestFilterSensitiveLog, CopySnapshotResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CopySnapshotCommand, serializeAws_json1_1CopySnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CopySnapshotCommand 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 = "CopySnapshotCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CopySnapshotRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CopySnapshotResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CopySnapshotCommand.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_1CopySnapshotCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CopySnapshotCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CopySnapshotCommand };
|
|
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 { CreateBucketAccessKeyRequestFilterSensitiveLog, CreateBucketAccessKeyResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_json1_1CreateBucketAccessKeyCommand, serializeAws_json1_1CreateBucketAccessKeyCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class CreateBucketAccessKeyCommand 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 = "CreateBucketAccessKeyCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: CreateBucketAccessKeyRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: CreateBucketAccessKeyResultFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
CreateBucketAccessKeyCommand.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_1CreateBucketAccessKeyCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_json1_1CreateBucketAccessKeyCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { CreateBucketAccessKeyCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|