@aws-sdk/client-lightsail 3.278.0 → 3.281.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 +6 -6
package/dist-es/Lightsail.js
CHANGED
|
@@ -20,6 +20,7 @@ import { CreateDiskSnapshotCommand, } from "./commands/CreateDiskSnapshotCommand
|
|
|
20
20
|
import { CreateDistributionCommand, } from "./commands/CreateDistributionCommand";
|
|
21
21
|
import { CreateDomainCommand, } from "./commands/CreateDomainCommand";
|
|
22
22
|
import { CreateDomainEntryCommand, } from "./commands/CreateDomainEntryCommand";
|
|
23
|
+
import { CreateGUISessionAccessDetailsCommand, } from "./commands/CreateGUISessionAccessDetailsCommand";
|
|
23
24
|
import { CreateInstancesCommand, } from "./commands/CreateInstancesCommand";
|
|
24
25
|
import { CreateInstancesFromSnapshotCommand, } from "./commands/CreateInstancesFromSnapshotCommand";
|
|
25
26
|
import { CreateInstanceSnapshotCommand, } from "./commands/CreateInstanceSnapshotCommand";
|
|
@@ -77,6 +78,7 @@ import { GetContainerServiceDeploymentsCommand, } from "./commands/GetContainerS
|
|
|
77
78
|
import { GetContainerServiceMetricDataCommand, } from "./commands/GetContainerServiceMetricDataCommand";
|
|
78
79
|
import { GetContainerServicePowersCommand, } from "./commands/GetContainerServicePowersCommand";
|
|
79
80
|
import { GetContainerServicesCommand, } from "./commands/GetContainerServicesCommand";
|
|
81
|
+
import { GetCostEstimateCommand, } from "./commands/GetCostEstimateCommand";
|
|
80
82
|
import { GetDiskCommand } from "./commands/GetDiskCommand";
|
|
81
83
|
import { GetDisksCommand } from "./commands/GetDisksCommand";
|
|
82
84
|
import { GetDiskSnapshotCommand, } from "./commands/GetDiskSnapshotCommand";
|
|
@@ -135,8 +137,10 @@ import { ResetDistributionCacheCommand, } from "./commands/ResetDistributionCach
|
|
|
135
137
|
import { SendContactMethodVerificationCommand, } from "./commands/SendContactMethodVerificationCommand";
|
|
136
138
|
import { SetIpAddressTypeCommand, } from "./commands/SetIpAddressTypeCommand";
|
|
137
139
|
import { SetResourceAccessForBucketCommand, } from "./commands/SetResourceAccessForBucketCommand";
|
|
140
|
+
import { StartGUISessionCommand, } from "./commands/StartGUISessionCommand";
|
|
138
141
|
import { StartInstanceCommand, } from "./commands/StartInstanceCommand";
|
|
139
142
|
import { StartRelationalDatabaseCommand, } from "./commands/StartRelationalDatabaseCommand";
|
|
143
|
+
import { StopGUISessionCommand, } from "./commands/StopGUISessionCommand";
|
|
140
144
|
import { StopInstanceCommand, } from "./commands/StopInstanceCommand";
|
|
141
145
|
import { StopRelationalDatabaseCommand, } from "./commands/StopRelationalDatabaseCommand";
|
|
142
146
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -463,6 +467,20 @@ export class Lightsail extends LightsailClient {
|
|
|
463
467
|
return this.send(command, optionsOrCb);
|
|
464
468
|
}
|
|
465
469
|
}
|
|
470
|
+
createGUISessionAccessDetails(args, optionsOrCb, cb) {
|
|
471
|
+
const command = new CreateGUISessionAccessDetailsCommand(args);
|
|
472
|
+
if (typeof optionsOrCb === "function") {
|
|
473
|
+
this.send(command, optionsOrCb);
|
|
474
|
+
}
|
|
475
|
+
else if (typeof cb === "function") {
|
|
476
|
+
if (typeof optionsOrCb !== "object")
|
|
477
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
478
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
479
|
+
}
|
|
480
|
+
else {
|
|
481
|
+
return this.send(command, optionsOrCb);
|
|
482
|
+
}
|
|
483
|
+
}
|
|
466
484
|
createInstances(args, optionsOrCb, cb) {
|
|
467
485
|
const command = new CreateInstancesCommand(args);
|
|
468
486
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1261,6 +1279,20 @@ export class Lightsail extends LightsailClient {
|
|
|
1261
1279
|
return this.send(command, optionsOrCb);
|
|
1262
1280
|
}
|
|
1263
1281
|
}
|
|
1282
|
+
getCostEstimate(args, optionsOrCb, cb) {
|
|
1283
|
+
const command = new GetCostEstimateCommand(args);
|
|
1284
|
+
if (typeof optionsOrCb === "function") {
|
|
1285
|
+
this.send(command, optionsOrCb);
|
|
1286
|
+
}
|
|
1287
|
+
else if (typeof cb === "function") {
|
|
1288
|
+
if (typeof optionsOrCb !== "object")
|
|
1289
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1290
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1291
|
+
}
|
|
1292
|
+
else {
|
|
1293
|
+
return this.send(command, optionsOrCb);
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1264
1296
|
getDisk(args, optionsOrCb, cb) {
|
|
1265
1297
|
const command = new GetDiskCommand(args);
|
|
1266
1298
|
if (typeof optionsOrCb === "function") {
|
|
@@ -2073,6 +2105,20 @@ export class Lightsail extends LightsailClient {
|
|
|
2073
2105
|
return this.send(command, optionsOrCb);
|
|
2074
2106
|
}
|
|
2075
2107
|
}
|
|
2108
|
+
startGUISession(args, optionsOrCb, cb) {
|
|
2109
|
+
const command = new StartGUISessionCommand(args);
|
|
2110
|
+
if (typeof optionsOrCb === "function") {
|
|
2111
|
+
this.send(command, optionsOrCb);
|
|
2112
|
+
}
|
|
2113
|
+
else if (typeof cb === "function") {
|
|
2114
|
+
if (typeof optionsOrCb !== "object")
|
|
2115
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2116
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2117
|
+
}
|
|
2118
|
+
else {
|
|
2119
|
+
return this.send(command, optionsOrCb);
|
|
2120
|
+
}
|
|
2121
|
+
}
|
|
2076
2122
|
startInstance(args, optionsOrCb, cb) {
|
|
2077
2123
|
const command = new StartInstanceCommand(args);
|
|
2078
2124
|
if (typeof optionsOrCb === "function") {
|
|
@@ -2101,6 +2147,20 @@ export class Lightsail extends LightsailClient {
|
|
|
2101
2147
|
return this.send(command, optionsOrCb);
|
|
2102
2148
|
}
|
|
2103
2149
|
}
|
|
2150
|
+
stopGUISession(args, optionsOrCb, cb) {
|
|
2151
|
+
const command = new StopGUISessionCommand(args);
|
|
2152
|
+
if (typeof optionsOrCb === "function") {
|
|
2153
|
+
this.send(command, optionsOrCb);
|
|
2154
|
+
}
|
|
2155
|
+
else if (typeof cb === "function") {
|
|
2156
|
+
if (typeof optionsOrCb !== "object")
|
|
2157
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2158
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2159
|
+
}
|
|
2160
|
+
else {
|
|
2161
|
+
return this.send(command, optionsOrCb);
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2104
2164
|
stopInstance(args, optionsOrCb, cb) {
|
|
2105
2165
|
const command = new StopInstanceCommand(args);
|
|
2106
2166
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateGUISessionAccessDetailsRequestFilterSensitiveLog, CreateGUISessionAccessDetailsResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateGUISessionAccessDetailsCommand, serializeAws_json1_1CreateGUISessionAccessDetailsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class CreateGUISessionAccessDetailsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateGUISessionAccessDetailsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LightsailClient";
|
|
25
|
+
const commandName = "CreateGUISessionAccessDetailsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CreateGUISessionAccessDetailsRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: CreateGUISessionAccessDetailsResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1CreateGUISessionAccessDetailsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1CreateGUISessionAccessDetailsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetCostEstimateRequestFilterSensitiveLog, GetCostEstimateResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_json1_1GetCostEstimateCommand, serializeAws_json1_1GetCostEstimateCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class GetCostEstimateCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetCostEstimateCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LightsailClient";
|
|
25
|
+
const commandName = "GetCostEstimateCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: GetCostEstimateRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: GetCostEstimateResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1GetCostEstimateCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1GetCostEstimateCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetDiskRequestFilterSensitiveLog, GetDiskResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { GetDiskRequestFilterSensitiveLog, GetDiskResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1GetDiskCommand, serializeAws_json1_1GetDiskCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class GetDiskCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetDiskSnapshotRequestFilterSensitiveLog, GetDiskSnapshotResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { GetDiskSnapshotRequestFilterSensitiveLog, GetDiskSnapshotResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1GetDiskSnapshotCommand, serializeAws_json1_1GetDiskSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class GetDiskSnapshotCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetDiskSnapshotsRequestFilterSensitiveLog, GetDiskSnapshotsResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { GetDiskSnapshotsRequestFilterSensitiveLog, GetDiskSnapshotsResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1GetDiskSnapshotsCommand, serializeAws_json1_1GetDiskSnapshotsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class GetDiskSnapshotsCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetDisksRequestFilterSensitiveLog, GetDisksResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { GetDisksRequestFilterSensitiveLog, GetDisksResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1GetDisksCommand, serializeAws_json1_1GetDisksCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class GetDisksCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetDistributionBundlesRequestFilterSensitiveLog, GetDistributionBundlesResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { GetDistributionBundlesRequestFilterSensitiveLog, GetDistributionBundlesResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1GetDistributionBundlesCommand, serializeAws_json1_1GetDistributionBundlesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class GetDistributionBundlesCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetDistributionLatestCacheResetRequestFilterSensitiveLog, GetDistributionLatestCacheResetResultFilterSensitiveLog, } from "../models/
|
|
4
|
+
import { GetDistributionLatestCacheResetRequestFilterSensitiveLog, GetDistributionLatestCacheResetResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_json1_1GetDistributionLatestCacheResetCommand, serializeAws_json1_1GetDistributionLatestCacheResetCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export class GetDistributionLatestCacheResetCommand extends $Command {
|
|
7
7
|
constructor(input) {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartGUISessionRequestFilterSensitiveLog, StartGUISessionResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_json1_1StartGUISessionCommand, serializeAws_json1_1StartGUISessionCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class StartGUISessionCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartGUISessionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LightsailClient";
|
|
25
|
+
const commandName = "StartGUISessionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: StartGUISessionRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: StartGUISessionResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1StartGUISessionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1StartGUISessionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StopGUISessionRequestFilterSensitiveLog, StopGUISessionResultFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { deserializeAws_json1_1StopGUISessionCommand, serializeAws_json1_1StopGUISessionCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class StopGUISessionCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StopGUISessionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LightsailClient";
|
|
25
|
+
const commandName = "StopGUISessionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: StopGUISessionRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: StopGUISessionResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1StopGUISessionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1StopGUISessionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -20,6 +20,7 @@ export * from "./CreateDiskSnapshotCommand";
|
|
|
20
20
|
export * from "./CreateDistributionCommand";
|
|
21
21
|
export * from "./CreateDomainCommand";
|
|
22
22
|
export * from "./CreateDomainEntryCommand";
|
|
23
|
+
export * from "./CreateGUISessionAccessDetailsCommand";
|
|
23
24
|
export * from "./CreateInstanceSnapshotCommand";
|
|
24
25
|
export * from "./CreateInstancesCommand";
|
|
25
26
|
export * from "./CreateInstancesFromSnapshotCommand";
|
|
@@ -77,6 +78,7 @@ export * from "./GetContainerServiceDeploymentsCommand";
|
|
|
77
78
|
export * from "./GetContainerServiceMetricDataCommand";
|
|
78
79
|
export * from "./GetContainerServicePowersCommand";
|
|
79
80
|
export * from "./GetContainerServicesCommand";
|
|
81
|
+
export * from "./GetCostEstimateCommand";
|
|
80
82
|
export * from "./GetDiskCommand";
|
|
81
83
|
export * from "./GetDiskSnapshotCommand";
|
|
82
84
|
export * from "./GetDiskSnapshotsCommand";
|
|
@@ -135,8 +137,10 @@ export * from "./ResetDistributionCacheCommand";
|
|
|
135
137
|
export * from "./SendContactMethodVerificationCommand";
|
|
136
138
|
export * from "./SetIpAddressTypeCommand";
|
|
137
139
|
export * from "./SetResourceAccessForBucketCommand";
|
|
140
|
+
export * from "./StartGUISessionCommand";
|
|
138
141
|
export * from "./StartInstanceCommand";
|
|
139
142
|
export * from "./StartRelationalDatabaseCommand";
|
|
143
|
+
export * from "./StopGUISessionCommand";
|
|
140
144
|
export * from "./StopInstanceCommand";
|
|
141
145
|
export * from "./StopRelationalDatabaseCommand";
|
|
142
146
|
export * from "./TagResourceCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const q = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
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" }];
|
|
3
|
+
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 }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -62,6 +62,7 @@ export class AccountSetupInProgressException extends __BaseException {
|
|
|
62
62
|
export var AddOnType;
|
|
63
63
|
(function (AddOnType) {
|
|
64
64
|
AddOnType["AutoSnapshot"] = "AutoSnapshot";
|
|
65
|
+
AddOnType["StopInstanceOnIdle"] = "StopInstanceOnIdle";
|
|
65
66
|
})(AddOnType || (AddOnType = {}));
|
|
66
67
|
export var ComparisonOperator;
|
|
67
68
|
(function (ComparisonOperator) {
|
|
@@ -262,8 +263,10 @@ export var OperationType;
|
|
|
262
263
|
OperationType["SendContactMethodVerification"] = "SendContactMethodVerification";
|
|
263
264
|
OperationType["SetIpAddressType"] = "SetIpAddressType";
|
|
264
265
|
OperationType["SetResourceAccessForBucket"] = "SetResourceAccessForBucket";
|
|
266
|
+
OperationType["StartGUISession"] = "StartGUISession";
|
|
265
267
|
OperationType["StartInstance"] = "StartInstance";
|
|
266
268
|
OperationType["StartRelationalDatabase"] = "StartRelationalDatabase";
|
|
269
|
+
OperationType["StopGUISession"] = "StopGUISession";
|
|
267
270
|
OperationType["StopInstance"] = "StopInstance";
|
|
268
271
|
OperationType["StopRelationalDatabase"] = "StopRelationalDatabase";
|
|
269
272
|
OperationType["TestAlarm"] = "TestAlarm";
|
|
@@ -361,6 +364,17 @@ export class UnauthenticatedException extends __BaseException {
|
|
|
361
364
|
this.tip = opts.tip;
|
|
362
365
|
}
|
|
363
366
|
}
|
|
367
|
+
export var AppCategory;
|
|
368
|
+
(function (AppCategory) {
|
|
369
|
+
AppCategory["LfR"] = "LfR";
|
|
370
|
+
})(AppCategory || (AppCategory = {}));
|
|
371
|
+
export var AutoMountStatus;
|
|
372
|
+
(function (AutoMountStatus) {
|
|
373
|
+
AutoMountStatus["Failed"] = "Failed";
|
|
374
|
+
AutoMountStatus["Mounted"] = "Mounted";
|
|
375
|
+
AutoMountStatus["NotMounted"] = "NotMounted";
|
|
376
|
+
AutoMountStatus["Pending"] = "Pending";
|
|
377
|
+
})(AutoMountStatus || (AutoMountStatus = {}));
|
|
364
378
|
export var AutoSnapshotStatus;
|
|
365
379
|
(function (AutoSnapshotStatus) {
|
|
366
380
|
AutoSnapshotStatus["FAILED"] = "Failed";
|
|
@@ -518,6 +532,18 @@ export var ContainerServiceMetricName;
|
|
|
518
532
|
ContainerServiceMetricName["CPUUtilization"] = "CPUUtilization";
|
|
519
533
|
ContainerServiceMetricName["MemoryUtilization"] = "MemoryUtilization";
|
|
520
534
|
})(ContainerServiceMetricName || (ContainerServiceMetricName = {}));
|
|
535
|
+
export var Currency;
|
|
536
|
+
(function (Currency) {
|
|
537
|
+
Currency["USD"] = "USD";
|
|
538
|
+
})(Currency || (Currency = {}));
|
|
539
|
+
export var PricingUnit;
|
|
540
|
+
(function (PricingUnit) {
|
|
541
|
+
PricingUnit["Bundles"] = "Bundles";
|
|
542
|
+
PricingUnit["GB"] = "GB";
|
|
543
|
+
PricingUnit["GBMo"] = "GB-Mo";
|
|
544
|
+
PricingUnit["Hrs"] = "Hrs";
|
|
545
|
+
PricingUnit["Queries"] = "Queries";
|
|
546
|
+
})(PricingUnit || (PricingUnit = {}));
|
|
521
547
|
export var PortInfoSourceType;
|
|
522
548
|
(function (PortInfoSourceType) {
|
|
523
549
|
PortInfoSourceType["Closed"] = "CLOSED";
|
|
@@ -535,6 +561,19 @@ export var OriginProtocolPolicyEnum;
|
|
|
535
561
|
OriginProtocolPolicyEnum["HTTPOnly"] = "http-only";
|
|
536
562
|
OriginProtocolPolicyEnum["HTTPSOnly"] = "https-only";
|
|
537
563
|
})(OriginProtocolPolicyEnum || (OriginProtocolPolicyEnum = {}));
|
|
564
|
+
export var Status;
|
|
565
|
+
(function (Status) {
|
|
566
|
+
Status["FailedInstanceCreation"] = "failedInstanceCreation";
|
|
567
|
+
Status["FailedStartingGUISession"] = "failedStartingGUISession";
|
|
568
|
+
Status["FailedStoppingGUISession"] = "failedStoppingGUISession";
|
|
569
|
+
Status["NotStarted"] = "notStarted";
|
|
570
|
+
Status["SettingUpInstance"] = "settingUpInstance";
|
|
571
|
+
Status["StartExpired"] = "startExpired";
|
|
572
|
+
Status["Started"] = "started";
|
|
573
|
+
Status["Starting"] = "starting";
|
|
574
|
+
Status["Stopped"] = "stopped";
|
|
575
|
+
Status["Stopping"] = "stopping";
|
|
576
|
+
})(Status || (Status = {}));
|
|
538
577
|
export var DiskState;
|
|
539
578
|
(function (DiskState) {
|
|
540
579
|
DiskState["Available"] = "available";
|
|
@@ -600,6 +639,9 @@ export const AddOnFilterSensitiveLog = (obj) => ({
|
|
|
600
639
|
export const AutoSnapshotAddOnRequestFilterSensitiveLog = (obj) => ({
|
|
601
640
|
...obj,
|
|
602
641
|
});
|
|
642
|
+
export const StopInstanceOnIdleRequestFilterSensitiveLog = (obj) => ({
|
|
643
|
+
...obj,
|
|
644
|
+
});
|
|
603
645
|
export const AddOnRequestFilterSensitiveLog = (obj) => ({
|
|
604
646
|
...obj,
|
|
605
647
|
});
|
|
@@ -795,6 +837,15 @@ export const CopySnapshotRequestFilterSensitiveLog = (obj) => ({
|
|
|
795
837
|
export const CopySnapshotResultFilterSensitiveLog = (obj) => ({
|
|
796
838
|
...obj,
|
|
797
839
|
});
|
|
840
|
+
export const TimePeriodFilterSensitiveLog = (obj) => ({
|
|
841
|
+
...obj,
|
|
842
|
+
});
|
|
843
|
+
export const EstimateByTimeFilterSensitiveLog = (obj) => ({
|
|
844
|
+
...obj,
|
|
845
|
+
});
|
|
846
|
+
export const CostEstimateFilterSensitiveLog = (obj) => ({
|
|
847
|
+
...obj,
|
|
848
|
+
});
|
|
798
849
|
export const CreateBucketRequestFilterSensitiveLog = (obj) => ({
|
|
799
850
|
...obj,
|
|
800
851
|
});
|
|
@@ -898,6 +949,17 @@ export const CreateDomainEntryRequestFilterSensitiveLog = (obj) => ({
|
|
|
898
949
|
export const CreateDomainEntryResultFilterSensitiveLog = (obj) => ({
|
|
899
950
|
...obj,
|
|
900
951
|
});
|
|
952
|
+
export const CreateGUISessionAccessDetailsRequestFilterSensitiveLog = (obj) => ({
|
|
953
|
+
...obj,
|
|
954
|
+
});
|
|
955
|
+
export const SessionFilterSensitiveLog = (obj) => ({
|
|
956
|
+
...obj,
|
|
957
|
+
...(obj.url && { url: SENSITIVE_STRING }),
|
|
958
|
+
});
|
|
959
|
+
export const CreateGUISessionAccessDetailsResultFilterSensitiveLog = (obj) => ({
|
|
960
|
+
...obj,
|
|
961
|
+
...(obj.sessions && { sessions: obj.sessions.map((item) => SessionFilterSensitiveLog(item)) }),
|
|
962
|
+
});
|
|
901
963
|
export const CreateInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
902
964
|
...obj,
|
|
903
965
|
});
|
|
@@ -1281,39 +1343,3 @@ export const GetContainerServicePowersResultFilterSensitiveLog = (obj) => ({
|
|
|
1281
1343
|
export const GetContainerServicesRequestFilterSensitiveLog = (obj) => ({
|
|
1282
1344
|
...obj,
|
|
1283
1345
|
});
|
|
1284
|
-
export const GetDiskRequestFilterSensitiveLog = (obj) => ({
|
|
1285
|
-
...obj,
|
|
1286
|
-
});
|
|
1287
|
-
export const GetDiskResultFilterSensitiveLog = (obj) => ({
|
|
1288
|
-
...obj,
|
|
1289
|
-
});
|
|
1290
|
-
export const GetDisksRequestFilterSensitiveLog = (obj) => ({
|
|
1291
|
-
...obj,
|
|
1292
|
-
});
|
|
1293
|
-
export const GetDisksResultFilterSensitiveLog = (obj) => ({
|
|
1294
|
-
...obj,
|
|
1295
|
-
});
|
|
1296
|
-
export const GetDiskSnapshotRequestFilterSensitiveLog = (obj) => ({
|
|
1297
|
-
...obj,
|
|
1298
|
-
});
|
|
1299
|
-
export const GetDiskSnapshotResultFilterSensitiveLog = (obj) => ({
|
|
1300
|
-
...obj,
|
|
1301
|
-
});
|
|
1302
|
-
export const GetDiskSnapshotsRequestFilterSensitiveLog = (obj) => ({
|
|
1303
|
-
...obj,
|
|
1304
|
-
});
|
|
1305
|
-
export const GetDiskSnapshotsResultFilterSensitiveLog = (obj) => ({
|
|
1306
|
-
...obj,
|
|
1307
|
-
});
|
|
1308
|
-
export const GetDistributionBundlesRequestFilterSensitiveLog = (obj) => ({
|
|
1309
|
-
...obj,
|
|
1310
|
-
});
|
|
1311
|
-
export const GetDistributionBundlesResultFilterSensitiveLog = (obj) => ({
|
|
1312
|
-
...obj,
|
|
1313
|
-
});
|
|
1314
|
-
export const GetDistributionLatestCacheResetRequestFilterSensitiveLog = (obj) => ({
|
|
1315
|
-
...obj,
|
|
1316
|
-
});
|
|
1317
|
-
export const GetDistributionLatestCacheResetResultFilterSensitiveLog = (obj) => ({
|
|
1318
|
-
...obj,
|
|
1319
|
-
});
|
|
@@ -186,6 +186,51 @@ export var ResourceBucketAccess;
|
|
|
186
186
|
ResourceBucketAccess["Allow"] = "allow";
|
|
187
187
|
ResourceBucketAccess["Deny"] = "deny";
|
|
188
188
|
})(ResourceBucketAccess || (ResourceBucketAccess = {}));
|
|
189
|
+
export const GetCostEstimateRequestFilterSensitiveLog = (obj) => ({
|
|
190
|
+
...obj,
|
|
191
|
+
});
|
|
192
|
+
export const ResourceBudgetEstimateFilterSensitiveLog = (obj) => ({
|
|
193
|
+
...obj,
|
|
194
|
+
});
|
|
195
|
+
export const GetCostEstimateResultFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
});
|
|
198
|
+
export const GetDiskRequestFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
});
|
|
201
|
+
export const GetDiskResultFilterSensitiveLog = (obj) => ({
|
|
202
|
+
...obj,
|
|
203
|
+
});
|
|
204
|
+
export const GetDisksRequestFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
});
|
|
207
|
+
export const GetDisksResultFilterSensitiveLog = (obj) => ({
|
|
208
|
+
...obj,
|
|
209
|
+
});
|
|
210
|
+
export const GetDiskSnapshotRequestFilterSensitiveLog = (obj) => ({
|
|
211
|
+
...obj,
|
|
212
|
+
});
|
|
213
|
+
export const GetDiskSnapshotResultFilterSensitiveLog = (obj) => ({
|
|
214
|
+
...obj,
|
|
215
|
+
});
|
|
216
|
+
export const GetDiskSnapshotsRequestFilterSensitiveLog = (obj) => ({
|
|
217
|
+
...obj,
|
|
218
|
+
});
|
|
219
|
+
export const GetDiskSnapshotsResultFilterSensitiveLog = (obj) => ({
|
|
220
|
+
...obj,
|
|
221
|
+
});
|
|
222
|
+
export const GetDistributionBundlesRequestFilterSensitiveLog = (obj) => ({
|
|
223
|
+
...obj,
|
|
224
|
+
});
|
|
225
|
+
export const GetDistributionBundlesResultFilterSensitiveLog = (obj) => ({
|
|
226
|
+
...obj,
|
|
227
|
+
});
|
|
228
|
+
export const GetDistributionLatestCacheResetRequestFilterSensitiveLog = (obj) => ({
|
|
229
|
+
...obj,
|
|
230
|
+
});
|
|
231
|
+
export const GetDistributionLatestCacheResetResultFilterSensitiveLog = (obj) => ({
|
|
232
|
+
...obj,
|
|
233
|
+
});
|
|
189
234
|
export const GetDistributionMetricDataRequestFilterSensitiveLog = (obj) => ({
|
|
190
235
|
...obj,
|
|
191
236
|
});
|
|
@@ -601,6 +646,12 @@ export const SetResourceAccessForBucketRequestFilterSensitiveLog = (obj) => ({
|
|
|
601
646
|
export const SetResourceAccessForBucketResultFilterSensitiveLog = (obj) => ({
|
|
602
647
|
...obj,
|
|
603
648
|
});
|
|
649
|
+
export const StartGUISessionRequestFilterSensitiveLog = (obj) => ({
|
|
650
|
+
...obj,
|
|
651
|
+
});
|
|
652
|
+
export const StartGUISessionResultFilterSensitiveLog = (obj) => ({
|
|
653
|
+
...obj,
|
|
654
|
+
});
|
|
604
655
|
export const StartInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
605
656
|
...obj,
|
|
606
657
|
});
|
|
@@ -613,6 +664,12 @@ export const StartRelationalDatabaseRequestFilterSensitiveLog = (obj) => ({
|
|
|
613
664
|
export const StartRelationalDatabaseResultFilterSensitiveLog = (obj) => ({
|
|
614
665
|
...obj,
|
|
615
666
|
});
|
|
667
|
+
export const StopGUISessionRequestFilterSensitiveLog = (obj) => ({
|
|
668
|
+
...obj,
|
|
669
|
+
});
|
|
670
|
+
export const StopGUISessionResultFilterSensitiveLog = (obj) => ({
|
|
671
|
+
...obj,
|
|
672
|
+
});
|
|
616
673
|
export const StopInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
617
674
|
...obj,
|
|
618
675
|
});
|