@aws-sdk/client-lightsail 3.279.0 → 3.282.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/README.md +1275 -0
- package/dist-cjs/Lightsail.js +60 -0
- package/dist-cjs/commands/CreateGUISessionAccessDetailsCommand.js +46 -0
- package/dist-cjs/commands/GetCostEstimateCommand.js +46 -0
- package/dist-cjs/commands/GetDiskCommand.js +3 -3
- package/dist-cjs/commands/GetDiskSnapshotCommand.js +3 -3
- package/dist-cjs/commands/GetDiskSnapshotsCommand.js +3 -3
- package/dist-cjs/commands/GetDisksCommand.js +3 -3
- package/dist-cjs/commands/GetDistributionBundlesCommand.js +3 -3
- package/dist-cjs/commands/GetDistributionLatestCacheResetCommand.js +3 -3
- package/dist-cjs/commands/StartGUISessionCommand.js +46 -0
- package/dist-cjs/commands/StopGUISessionCommand.js +46 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +75 -54
- package/dist-cjs/models/models_1.js +81 -4
- package/dist-cjs/protocols/Aws_json1_1.js +390 -7
- package/dist-es/Lightsail.js +60 -0
- package/dist-es/commands/CreateGUISessionAccessDetailsCommand.js +42 -0
- package/dist-es/commands/GetCostEstimateCommand.js +42 -0
- package/dist-es/commands/GetDiskCommand.js +1 -1
- package/dist-es/commands/GetDiskSnapshotCommand.js +1 -1
- package/dist-es/commands/GetDiskSnapshotsCommand.js +1 -1
- package/dist-es/commands/GetDisksCommand.js +1 -1
- package/dist-es/commands/GetDistributionBundlesCommand.js +1 -1
- package/dist-es/commands/GetDistributionLatestCacheResetCommand.js +1 -1
- package/dist-es/commands/StartGUISessionCommand.js +42 -0
- package/dist-es/commands/StopGUISessionCommand.js +42 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +62 -36
- package/dist-es/models/models_1.js +57 -0
- package/dist-es/protocols/Aws_json1_1.js +375 -0
- package/dist-types/Lightsail.d.ts +32 -0
- package/dist-types/LightsailClient.d.ts +6 -2
- package/dist-types/commands/AllocateStaticIpCommand.d.ts +6 -0
- package/dist-types/commands/AttachCertificateToDistributionCommand.d.ts +6 -0
- package/dist-types/commands/AttachDiskCommand.d.ts +6 -0
- package/dist-types/commands/AttachInstancesToLoadBalancerCommand.d.ts +6 -0
- package/dist-types/commands/AttachLoadBalancerTlsCertificateCommand.d.ts +6 -0
- package/dist-types/commands/AttachStaticIpCommand.d.ts +6 -0
- package/dist-types/commands/CloseInstancePublicPortsCommand.d.ts +6 -0
- package/dist-types/commands/CopySnapshotCommand.d.ts +6 -0
- package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +6 -0
- package/dist-types/commands/CreateBucketCommand.d.ts +6 -0
- package/dist-types/commands/CreateCertificateCommand.d.ts +6 -0
- package/dist-types/commands/CreateCloudFormationStackCommand.d.ts +6 -0
- package/dist-types/commands/CreateContactMethodCommand.d.ts +6 -0
- package/dist-types/commands/CreateContainerServiceCommand.d.ts +6 -0
- package/dist-types/commands/CreateContainerServiceDeploymentCommand.d.ts +6 -0
- package/dist-types/commands/CreateContainerServiceRegistryLoginCommand.d.ts +6 -0
- package/dist-types/commands/CreateDiskCommand.d.ts +6 -0
- package/dist-types/commands/CreateDiskFromSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/CreateDiskSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +6 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +6 -0
- package/dist-types/commands/CreateDomainEntryCommand.d.ts +6 -0
- package/dist-types/commands/CreateGUISessionAccessDetailsCommand.d.ts +45 -0
- package/dist-types/commands/CreateInstanceSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/CreateInstancesCommand.d.ts +6 -0
- package/dist-types/commands/CreateInstancesFromSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/CreateKeyPairCommand.d.ts +6 -0
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +6 -0
- package/dist-types/commands/CreateLoadBalancerTlsCertificateCommand.d.ts +6 -0
- package/dist-types/commands/CreateRelationalDatabaseCommand.d.ts +6 -0
- package/dist-types/commands/CreateRelationalDatabaseFromSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/CreateRelationalDatabaseSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/DeleteAlarmCommand.d.ts +6 -0
- package/dist-types/commands/DeleteAutoSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/DeleteBucketAccessKeyCommand.d.ts +6 -0
- package/dist-types/commands/DeleteBucketCommand.d.ts +6 -0
- package/dist-types/commands/DeleteCertificateCommand.d.ts +6 -0
- package/dist-types/commands/DeleteContactMethodCommand.d.ts +6 -0
- package/dist-types/commands/DeleteContainerImageCommand.d.ts +6 -0
- package/dist-types/commands/DeleteContainerServiceCommand.d.ts +6 -0
- package/dist-types/commands/DeleteDiskCommand.d.ts +6 -0
- package/dist-types/commands/DeleteDiskSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +6 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +6 -0
- package/dist-types/commands/DeleteDomainEntryCommand.d.ts +6 -0
- package/dist-types/commands/DeleteInstanceCommand.d.ts +6 -0
- package/dist-types/commands/DeleteInstanceSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/DeleteKeyPairCommand.d.ts +6 -0
- package/dist-types/commands/DeleteKnownHostKeysCommand.d.ts +6 -0
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +6 -0
- package/dist-types/commands/DeleteLoadBalancerTlsCertificateCommand.d.ts +6 -0
- package/dist-types/commands/DeleteRelationalDatabaseCommand.d.ts +6 -0
- package/dist-types/commands/DeleteRelationalDatabaseSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/DetachCertificateFromDistributionCommand.d.ts +6 -0
- package/dist-types/commands/DetachDiskCommand.d.ts +6 -0
- package/dist-types/commands/DetachInstancesFromLoadBalancerCommand.d.ts +6 -0
- package/dist-types/commands/DetachStaticIpCommand.d.ts +6 -0
- package/dist-types/commands/DisableAddOnCommand.d.ts +6 -0
- package/dist-types/commands/DownloadDefaultKeyPairCommand.d.ts +6 -0
- package/dist-types/commands/EnableAddOnCommand.d.ts +6 -0
- package/dist-types/commands/ExportSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/GetActiveNamesCommand.d.ts +6 -0
- package/dist-types/commands/GetAlarmsCommand.d.ts +6 -0
- package/dist-types/commands/GetAutoSnapshotsCommand.d.ts +6 -0
- package/dist-types/commands/GetBlueprintsCommand.d.ts +6 -0
- package/dist-types/commands/GetBucketAccessKeysCommand.d.ts +6 -0
- package/dist-types/commands/GetBucketBundlesCommand.d.ts +6 -0
- package/dist-types/commands/GetBucketMetricDataCommand.d.ts +6 -0
- package/dist-types/commands/GetBucketsCommand.d.ts +6 -0
- package/dist-types/commands/GetBundlesCommand.d.ts +6 -0
- package/dist-types/commands/GetCertificatesCommand.d.ts +6 -0
- package/dist-types/commands/GetCloudFormationStackRecordsCommand.d.ts +6 -0
- package/dist-types/commands/GetContactMethodsCommand.d.ts +6 -0
- package/dist-types/commands/GetContainerAPIMetadataCommand.d.ts +6 -0
- package/dist-types/commands/GetContainerImagesCommand.d.ts +6 -0
- package/dist-types/commands/GetContainerLogCommand.d.ts +6 -0
- package/dist-types/commands/GetContainerServiceDeploymentsCommand.d.ts +6 -0
- package/dist-types/commands/GetContainerServiceMetricDataCommand.d.ts +6 -0
- package/dist-types/commands/GetContainerServicePowersCommand.d.ts +6 -0
- package/dist-types/commands/GetContainerServicesCommand.d.ts +6 -0
- package/dist-types/commands/GetCostEstimateCommand.d.ts +43 -0
- package/dist-types/commands/GetDiskCommand.d.ts +7 -1
- package/dist-types/commands/GetDiskSnapshotCommand.d.ts +7 -1
- package/dist-types/commands/GetDiskSnapshotsCommand.d.ts +7 -1
- package/dist-types/commands/GetDisksCommand.d.ts +7 -1
- package/dist-types/commands/GetDistributionBundlesCommand.d.ts +7 -1
- package/dist-types/commands/GetDistributionLatestCacheResetCommand.d.ts +7 -1
- package/dist-types/commands/GetDistributionMetricDataCommand.d.ts +6 -0
- package/dist-types/commands/GetDistributionsCommand.d.ts +6 -0
- package/dist-types/commands/GetDomainCommand.d.ts +6 -0
- package/dist-types/commands/GetDomainsCommand.d.ts +6 -0
- package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +6 -0
- package/dist-types/commands/GetInstanceAccessDetailsCommand.d.ts +6 -0
- package/dist-types/commands/GetInstanceCommand.d.ts +6 -0
- package/dist-types/commands/GetInstanceMetricDataCommand.d.ts +6 -0
- package/dist-types/commands/GetInstancePortStatesCommand.d.ts +6 -0
- package/dist-types/commands/GetInstanceSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/GetInstanceSnapshotsCommand.d.ts +6 -0
- package/dist-types/commands/GetInstanceStateCommand.d.ts +6 -0
- package/dist-types/commands/GetInstancesCommand.d.ts +6 -0
- package/dist-types/commands/GetKeyPairCommand.d.ts +6 -0
- package/dist-types/commands/GetKeyPairsCommand.d.ts +6 -0
- package/dist-types/commands/GetLoadBalancerCommand.d.ts +6 -0
- package/dist-types/commands/GetLoadBalancerMetricDataCommand.d.ts +6 -0
- package/dist-types/commands/GetLoadBalancerTlsCertificatesCommand.d.ts +6 -0
- package/dist-types/commands/GetLoadBalancerTlsPoliciesCommand.d.ts +6 -0
- package/dist-types/commands/GetLoadBalancersCommand.d.ts +6 -0
- package/dist-types/commands/GetOperationCommand.d.ts +6 -0
- package/dist-types/commands/GetOperationsCommand.d.ts +6 -0
- package/dist-types/commands/GetOperationsForResourceCommand.d.ts +6 -0
- package/dist-types/commands/GetRegionsCommand.d.ts +6 -0
- package/dist-types/commands/GetRelationalDatabaseBlueprintsCommand.d.ts +6 -0
- package/dist-types/commands/GetRelationalDatabaseBundlesCommand.d.ts +6 -0
- package/dist-types/commands/GetRelationalDatabaseCommand.d.ts +6 -0
- package/dist-types/commands/GetRelationalDatabaseEventsCommand.d.ts +6 -0
- package/dist-types/commands/GetRelationalDatabaseLogEventsCommand.d.ts +6 -0
- package/dist-types/commands/GetRelationalDatabaseLogStreamsCommand.d.ts +6 -0
- package/dist-types/commands/GetRelationalDatabaseMasterUserPasswordCommand.d.ts +6 -0
- package/dist-types/commands/GetRelationalDatabaseMetricDataCommand.d.ts +6 -0
- package/dist-types/commands/GetRelationalDatabaseParametersCommand.d.ts +6 -0
- package/dist-types/commands/GetRelationalDatabaseSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/GetRelationalDatabaseSnapshotsCommand.d.ts +6 -0
- package/dist-types/commands/GetRelationalDatabasesCommand.d.ts +6 -0
- package/dist-types/commands/GetStaticIpCommand.d.ts +6 -0
- package/dist-types/commands/GetStaticIpsCommand.d.ts +6 -0
- package/dist-types/commands/ImportKeyPairCommand.d.ts +6 -0
- package/dist-types/commands/IsVpcPeeredCommand.d.ts +6 -0
- package/dist-types/commands/OpenInstancePublicPortsCommand.d.ts +6 -0
- package/dist-types/commands/PeerVpcCommand.d.ts +6 -0
- package/dist-types/commands/PutAlarmCommand.d.ts +6 -0
- package/dist-types/commands/PutInstancePublicPortsCommand.d.ts +6 -0
- package/dist-types/commands/RebootInstanceCommand.d.ts +6 -0
- package/dist-types/commands/RebootRelationalDatabaseCommand.d.ts +6 -0
- package/dist-types/commands/RegisterContainerImageCommand.d.ts +6 -0
- package/dist-types/commands/ReleaseStaticIpCommand.d.ts +6 -0
- package/dist-types/commands/ResetDistributionCacheCommand.d.ts +6 -0
- package/dist-types/commands/SendContactMethodVerificationCommand.d.ts +6 -0
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +6 -0
- package/dist-types/commands/SetResourceAccessForBucketCommand.d.ts +6 -0
- package/dist-types/commands/StartGUISessionCommand.d.ts +44 -0
- package/dist-types/commands/StartInstanceCommand.d.ts +6 -0
- package/dist-types/commands/StartRelationalDatabaseCommand.d.ts +6 -0
- package/dist-types/commands/StopGUISessionCommand.d.ts +44 -0
- package/dist-types/commands/StopInstanceCommand.d.ts +6 -0
- package/dist-types/commands/StopRelationalDatabaseCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/TestAlarmCommand.d.ts +6 -0
- package/dist-types/commands/UnpeerVpcCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateBucketBundleCommand.d.ts +6 -0
- package/dist-types/commands/UpdateBucketCommand.d.ts +6 -0
- package/dist-types/commands/UpdateContainerServiceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDomainEntryCommand.d.ts +6 -0
- package/dist-types/commands/UpdateInstanceMetadataOptionsCommand.d.ts +6 -0
- package/dist-types/commands/UpdateLoadBalancerAttributeCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRelationalDatabaseCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRelationalDatabaseParametersCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +244 -147
- package/dist-types/models/models_1.d.ts +268 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/ts3.4/Lightsail.d.ts +68 -0
- package/dist-types/ts3.4/LightsailClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateGUISessionAccessDetailsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetCostEstimateCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetDiskCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDiskSnapshotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDiskSnapshotsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDisksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionBundlesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDistributionLatestCacheResetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartGUISessionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/StopGUISessionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +92 -73
- package/dist-types/ts3.4/models/models_1.d.ts +124 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +17 -17
package/dist-cjs/Lightsail.js
CHANGED
|
@@ -23,6 +23,7 @@ const CreateDiskSnapshotCommand_1 = require("./commands/CreateDiskSnapshotComman
|
|
|
23
23
|
const CreateDistributionCommand_1 = require("./commands/CreateDistributionCommand");
|
|
24
24
|
const CreateDomainCommand_1 = require("./commands/CreateDomainCommand");
|
|
25
25
|
const CreateDomainEntryCommand_1 = require("./commands/CreateDomainEntryCommand");
|
|
26
|
+
const CreateGUISessionAccessDetailsCommand_1 = require("./commands/CreateGUISessionAccessDetailsCommand");
|
|
26
27
|
const CreateInstancesCommand_1 = require("./commands/CreateInstancesCommand");
|
|
27
28
|
const CreateInstancesFromSnapshotCommand_1 = require("./commands/CreateInstancesFromSnapshotCommand");
|
|
28
29
|
const CreateInstanceSnapshotCommand_1 = require("./commands/CreateInstanceSnapshotCommand");
|
|
@@ -80,6 +81,7 @@ const GetContainerServiceDeploymentsCommand_1 = require("./commands/GetContainer
|
|
|
80
81
|
const GetContainerServiceMetricDataCommand_1 = require("./commands/GetContainerServiceMetricDataCommand");
|
|
81
82
|
const GetContainerServicePowersCommand_1 = require("./commands/GetContainerServicePowersCommand");
|
|
82
83
|
const GetContainerServicesCommand_1 = require("./commands/GetContainerServicesCommand");
|
|
84
|
+
const GetCostEstimateCommand_1 = require("./commands/GetCostEstimateCommand");
|
|
83
85
|
const GetDiskCommand_1 = require("./commands/GetDiskCommand");
|
|
84
86
|
const GetDisksCommand_1 = require("./commands/GetDisksCommand");
|
|
85
87
|
const GetDiskSnapshotCommand_1 = require("./commands/GetDiskSnapshotCommand");
|
|
@@ -138,8 +140,10 @@ const ResetDistributionCacheCommand_1 = require("./commands/ResetDistributionCac
|
|
|
138
140
|
const SendContactMethodVerificationCommand_1 = require("./commands/SendContactMethodVerificationCommand");
|
|
139
141
|
const SetIpAddressTypeCommand_1 = require("./commands/SetIpAddressTypeCommand");
|
|
140
142
|
const SetResourceAccessForBucketCommand_1 = require("./commands/SetResourceAccessForBucketCommand");
|
|
143
|
+
const StartGUISessionCommand_1 = require("./commands/StartGUISessionCommand");
|
|
141
144
|
const StartInstanceCommand_1 = require("./commands/StartInstanceCommand");
|
|
142
145
|
const StartRelationalDatabaseCommand_1 = require("./commands/StartRelationalDatabaseCommand");
|
|
146
|
+
const StopGUISessionCommand_1 = require("./commands/StopGUISessionCommand");
|
|
143
147
|
const StopInstanceCommand_1 = require("./commands/StopInstanceCommand");
|
|
144
148
|
const StopRelationalDatabaseCommand_1 = require("./commands/StopRelationalDatabaseCommand");
|
|
145
149
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
@@ -466,6 +470,20 @@ class Lightsail extends LightsailClient_1.LightsailClient {
|
|
|
466
470
|
return this.send(command, optionsOrCb);
|
|
467
471
|
}
|
|
468
472
|
}
|
|
473
|
+
createGUISessionAccessDetails(args, optionsOrCb, cb) {
|
|
474
|
+
const command = new CreateGUISessionAccessDetailsCommand_1.CreateGUISessionAccessDetailsCommand(args);
|
|
475
|
+
if (typeof optionsOrCb === "function") {
|
|
476
|
+
this.send(command, optionsOrCb);
|
|
477
|
+
}
|
|
478
|
+
else if (typeof cb === "function") {
|
|
479
|
+
if (typeof optionsOrCb !== "object")
|
|
480
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
481
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
482
|
+
}
|
|
483
|
+
else {
|
|
484
|
+
return this.send(command, optionsOrCb);
|
|
485
|
+
}
|
|
486
|
+
}
|
|
469
487
|
createInstances(args, optionsOrCb, cb) {
|
|
470
488
|
const command = new CreateInstancesCommand_1.CreateInstancesCommand(args);
|
|
471
489
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1264,6 +1282,20 @@ class Lightsail extends LightsailClient_1.LightsailClient {
|
|
|
1264
1282
|
return this.send(command, optionsOrCb);
|
|
1265
1283
|
}
|
|
1266
1284
|
}
|
|
1285
|
+
getCostEstimate(args, optionsOrCb, cb) {
|
|
1286
|
+
const command = new GetCostEstimateCommand_1.GetCostEstimateCommand(args);
|
|
1287
|
+
if (typeof optionsOrCb === "function") {
|
|
1288
|
+
this.send(command, optionsOrCb);
|
|
1289
|
+
}
|
|
1290
|
+
else if (typeof cb === "function") {
|
|
1291
|
+
if (typeof optionsOrCb !== "object")
|
|
1292
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1293
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1294
|
+
}
|
|
1295
|
+
else {
|
|
1296
|
+
return this.send(command, optionsOrCb);
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1267
1299
|
getDisk(args, optionsOrCb, cb) {
|
|
1268
1300
|
const command = new GetDiskCommand_1.GetDiskCommand(args);
|
|
1269
1301
|
if (typeof optionsOrCb === "function") {
|
|
@@ -2076,6 +2108,20 @@ class Lightsail extends LightsailClient_1.LightsailClient {
|
|
|
2076
2108
|
return this.send(command, optionsOrCb);
|
|
2077
2109
|
}
|
|
2078
2110
|
}
|
|
2111
|
+
startGUISession(args, optionsOrCb, cb) {
|
|
2112
|
+
const command = new StartGUISessionCommand_1.StartGUISessionCommand(args);
|
|
2113
|
+
if (typeof optionsOrCb === "function") {
|
|
2114
|
+
this.send(command, optionsOrCb);
|
|
2115
|
+
}
|
|
2116
|
+
else if (typeof cb === "function") {
|
|
2117
|
+
if (typeof optionsOrCb !== "object")
|
|
2118
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2119
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2120
|
+
}
|
|
2121
|
+
else {
|
|
2122
|
+
return this.send(command, optionsOrCb);
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2079
2125
|
startInstance(args, optionsOrCb, cb) {
|
|
2080
2126
|
const command = new StartInstanceCommand_1.StartInstanceCommand(args);
|
|
2081
2127
|
if (typeof optionsOrCb === "function") {
|
|
@@ -2104,6 +2150,20 @@ class Lightsail extends LightsailClient_1.LightsailClient {
|
|
|
2104
2150
|
return this.send(command, optionsOrCb);
|
|
2105
2151
|
}
|
|
2106
2152
|
}
|
|
2153
|
+
stopGUISession(args, optionsOrCb, cb) {
|
|
2154
|
+
const command = new StopGUISessionCommand_1.StopGUISessionCommand(args);
|
|
2155
|
+
if (typeof optionsOrCb === "function") {
|
|
2156
|
+
this.send(command, optionsOrCb);
|
|
2157
|
+
}
|
|
2158
|
+
else if (typeof cb === "function") {
|
|
2159
|
+
if (typeof optionsOrCb !== "object")
|
|
2160
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2161
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2162
|
+
}
|
|
2163
|
+
else {
|
|
2164
|
+
return this.send(command, optionsOrCb);
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2107
2167
|
stopInstance(args, optionsOrCb, cb) {
|
|
2108
2168
|
const command = new StopInstanceCommand_1.StopInstanceCommand(args);
|
|
2109
2169
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateGUISessionAccessDetailsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class CreateGUISessionAccessDetailsCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateGUISessionAccessDetailsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "LightsailClient";
|
|
28
|
+
const commandName = "CreateGUISessionAccessDetailsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.CreateGUISessionAccessDetailsRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.CreateGUISessionAccessDetailsResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateGUISessionAccessDetailsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateGUISessionAccessDetailsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CreateGUISessionAccessDetailsCommand = CreateGUISessionAccessDetailsCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetCostEstimateCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_1_1 = require("../models/models_1");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class GetCostEstimateCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetCostEstimateCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "LightsailClient";
|
|
28
|
+
const commandName = "GetCostEstimateCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_1_1.GetCostEstimateRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_1_1.GetCostEstimateResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetCostEstimateCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetCostEstimateCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetCostEstimateCommand = GetCostEstimateCommand;
|
|
@@ -4,7 +4,7 @@ exports.GetDiskCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
9
|
class GetDiskCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class GetDiskCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_1_1.GetDiskRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_1_1.GetDiskResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,7 @@ exports.GetDiskSnapshotCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
9
|
class GetDiskSnapshotCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class GetDiskSnapshotCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_1_1.GetDiskSnapshotRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_1_1.GetDiskSnapshotResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,7 @@ exports.GetDiskSnapshotsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
9
|
class GetDiskSnapshotsCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class GetDiskSnapshotsCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_1_1.GetDiskSnapshotsRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_1_1.GetDiskSnapshotsResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,7 @@ exports.GetDisksCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
9
|
class GetDisksCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class GetDisksCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_1_1.GetDisksRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_1_1.GetDisksResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,7 @@ exports.GetDistributionBundlesCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
9
|
class GetDistributionBundlesCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class GetDistributionBundlesCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_1_1.GetDistributionBundlesRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_1_1.GetDistributionBundlesResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -4,7 +4,7 @@ exports.GetDistributionLatestCacheResetCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const
|
|
7
|
+
const models_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
9
|
class GetDistributionLatestCacheResetCommand extends smithy_client_1.Command {
|
|
10
10
|
constructor(input) {
|
|
@@ -30,8 +30,8 @@ class GetDistributionLatestCacheResetCommand extends smithy_client_1.Command {
|
|
|
30
30
|
logger,
|
|
31
31
|
clientName,
|
|
32
32
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
33
|
+
inputFilterSensitiveLog: models_1_1.GetDistributionLatestCacheResetRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_1_1.GetDistributionLatestCacheResetResultFilterSensitiveLog,
|
|
35
35
|
};
|
|
36
36
|
const { requestHandler } = configuration;
|
|
37
37
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartGUISessionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_1_1 = require("../models/models_1");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class StartGUISessionCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartGUISessionCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "LightsailClient";
|
|
28
|
+
const commandName = "StartGUISessionCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_1_1.StartGUISessionRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_1_1.StartGUISessionResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StartGUISessionCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StartGUISessionCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.StartGUISessionCommand = StartGUISessionCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StopGUISessionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_1_1 = require("../models/models_1");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class StopGUISessionCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopGUISessionCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "LightsailClient";
|
|
28
|
+
const commandName = "StopGUISessionCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_1_1.StopGUISessionRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_1_1.StopGUISessionResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StopGUISessionCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StopGUISessionCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.StopGUISessionCommand = StopGUISessionCommand;
|
|
@@ -23,6 +23,7 @@ tslib_1.__exportStar(require("./CreateDiskSnapshotCommand"), exports);
|
|
|
23
23
|
tslib_1.__exportStar(require("./CreateDistributionCommand"), exports);
|
|
24
24
|
tslib_1.__exportStar(require("./CreateDomainCommand"), exports);
|
|
25
25
|
tslib_1.__exportStar(require("./CreateDomainEntryCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./CreateGUISessionAccessDetailsCommand"), exports);
|
|
26
27
|
tslib_1.__exportStar(require("./CreateInstanceSnapshotCommand"), exports);
|
|
27
28
|
tslib_1.__exportStar(require("./CreateInstancesCommand"), exports);
|
|
28
29
|
tslib_1.__exportStar(require("./CreateInstancesFromSnapshotCommand"), exports);
|
|
@@ -80,6 +81,7 @@ tslib_1.__exportStar(require("./GetContainerServiceDeploymentsCommand"), exports
|
|
|
80
81
|
tslib_1.__exportStar(require("./GetContainerServiceMetricDataCommand"), exports);
|
|
81
82
|
tslib_1.__exportStar(require("./GetContainerServicePowersCommand"), exports);
|
|
82
83
|
tslib_1.__exportStar(require("./GetContainerServicesCommand"), exports);
|
|
84
|
+
tslib_1.__exportStar(require("./GetCostEstimateCommand"), exports);
|
|
83
85
|
tslib_1.__exportStar(require("./GetDiskCommand"), exports);
|
|
84
86
|
tslib_1.__exportStar(require("./GetDiskSnapshotCommand"), exports);
|
|
85
87
|
tslib_1.__exportStar(require("./GetDiskSnapshotsCommand"), exports);
|
|
@@ -138,8 +140,10 @@ tslib_1.__exportStar(require("./ResetDistributionCacheCommand"), exports);
|
|
|
138
140
|
tslib_1.__exportStar(require("./SendContactMethodVerificationCommand"), exports);
|
|
139
141
|
tslib_1.__exportStar(require("./SetIpAddressTypeCommand"), exports);
|
|
140
142
|
tslib_1.__exportStar(require("./SetResourceAccessForBucketCommand"), exports);
|
|
143
|
+
tslib_1.__exportStar(require("./StartGUISessionCommand"), exports);
|
|
141
144
|
tslib_1.__exportStar(require("./StartInstanceCommand"), exports);
|
|
142
145
|
tslib_1.__exportStar(require("./StartRelationalDatabaseCommand"), exports);
|
|
146
|
+
tslib_1.__exportStar(require("./StopGUISessionCommand"), exports);
|
|
143
147
|
tslib_1.__exportStar(require("./StopInstanceCommand"), exports);
|
|
144
148
|
tslib_1.__exportStar(require("./StopRelationalDatabaseCommand"), exports);
|
|
145
149
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const q = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://lightsail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://lightsail-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://lightsail.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://lightsail.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|