@aws-sdk/client-lightsail 3.299.0 → 3.300.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/dist-types/commands/AllocateStaticIpCommand.d.ts +3 -0
- package/dist-types/commands/AttachCertificateToDistributionCommand.d.ts +4 -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 +4 -0
- package/dist-types/commands/AttachStaticIpCommand.d.ts +4 -0
- package/dist-types/commands/CloseInstancePublicPortsCommand.d.ts +17 -0
- package/dist-types/commands/CopySnapshotCommand.d.ts +8 -0
- package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +3 -0
- package/dist-types/commands/CreateBucketCommand.d.ts +11 -0
- package/dist-types/commands/CreateCertificateCommand.d.ts +13 -0
- package/dist-types/commands/CreateCloudFormationStackCommand.d.ts +11 -0
- package/dist-types/commands/CreateContactMethodCommand.d.ts +4 -0
- package/dist-types/commands/CreateContainerServiceCommand.d.ts +49 -0
- package/dist-types/commands/CreateContainerServiceDeploymentCommand.d.ts +29 -0
- package/dist-types/commands/CreateContainerServiceRegistryLoginCommand.d.ts +1 -0
- package/dist-types/commands/CreateDiskCommand.d.ts +23 -0
- package/dist-types/commands/CreateDiskFromSnapshotCommand.d.ts +27 -0
- package/dist-types/commands/CreateDiskSnapshotCommand.d.ts +11 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +50 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +9 -0
- package/dist-types/commands/CreateDomainEntryCommand.d.ts +13 -0
- package/dist-types/commands/CreateGUISessionAccessDetailsCommand.d.ts +3 -0
- package/dist-types/commands/CreateInstanceSnapshotCommand.d.ts +10 -0
- package/dist-types/commands/CreateInstancesCommand.d.ts +30 -0
- package/dist-types/commands/CreateInstancesFromSnapshotCommand.d.ts +40 -0
- package/dist-types/commands/CreateKeyPairCommand.d.ts +9 -0
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +18 -0
- package/dist-types/commands/CreateLoadBalancerTlsCertificateCommand.d.ts +14 -0
- package/dist-types/commands/CreateRelationalDatabaseCommand.d.ts +18 -0
- package/dist-types/commands/CreateRelationalDatabaseFromSnapshotCommand.d.ts +16 -0
- package/dist-types/commands/CreateRelationalDatabaseSnapshotCommand.d.ts +10 -0
- package/dist-types/commands/DeleteAlarmCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAutoSnapshotCommand.d.ts +4 -0
- package/dist-types/commands/DeleteBucketAccessKeyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteBucketCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCertificateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteContactMethodCommand.d.ts +3 -0
- package/dist-types/commands/DeleteContainerImageCommand.d.ts +4 -0
- package/dist-types/commands/DeleteContainerServiceCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDiskCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDiskSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDomainEntryCommand.d.ts +13 -0
- package/dist-types/commands/DeleteInstanceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteInstanceSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/DeleteKeyPairCommand.d.ts +4 -0
- package/dist-types/commands/DeleteKnownHostKeysCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLoadBalancerTlsCertificateCommand.d.ts +5 -0
- package/dist-types/commands/DeleteRelationalDatabaseCommand.d.ts +5 -0
- package/dist-types/commands/DeleteRelationalDatabaseSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/DetachCertificateFromDistributionCommand.d.ts +3 -0
- package/dist-types/commands/DetachDiskCommand.d.ts +3 -0
- package/dist-types/commands/DetachInstancesFromLoadBalancerCommand.d.ts +6 -0
- package/dist-types/commands/DetachStaticIpCommand.d.ts +3 -0
- package/dist-types/commands/DisableAddOnCommand.d.ts +4 -0
- package/dist-types/commands/DownloadDefaultKeyPairCommand.d.ts +1 -0
- package/dist-types/commands/EnableAddOnCommand.d.ts +13 -0
- package/dist-types/commands/ExportSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/GetActiveNamesCommand.d.ts +3 -0
- package/dist-types/commands/GetAlarmsCommand.d.ts +5 -0
- package/dist-types/commands/GetAutoSnapshotsCommand.d.ts +3 -0
- package/dist-types/commands/GetBlueprintsCommand.d.ts +5 -0
- package/dist-types/commands/GetBucketAccessKeysCommand.d.ts +3 -0
- package/dist-types/commands/GetBucketBundlesCommand.d.ts +3 -0
- package/dist-types/commands/GetBucketMetricDataCommand.d.ts +11 -0
- package/dist-types/commands/GetBucketsCommand.d.ts +5 -0
- package/dist-types/commands/GetBundlesCommand.d.ts +5 -0
- package/dist-types/commands/GetCertificatesCommand.d.ts +7 -0
- package/dist-types/commands/GetCloudFormationStackRecordsCommand.d.ts +3 -0
- package/dist-types/commands/GetContactMethodsCommand.d.ts +5 -0
- package/dist-types/commands/GetContainerAPIMetadataCommand.d.ts +1 -0
- package/dist-types/commands/GetContainerImagesCommand.d.ts +3 -0
- package/dist-types/commands/GetContainerLogCommand.d.ts +8 -0
- package/dist-types/commands/GetContainerServiceDeploymentsCommand.d.ts +3 -0
- package/dist-types/commands/GetContainerServiceMetricDataCommand.d.ts +10 -0
- package/dist-types/commands/GetContainerServicePowersCommand.d.ts +1 -0
- package/dist-types/commands/GetContainerServicesCommand.d.ts +3 -0
- package/dist-types/commands/GetCostEstimateCommand.d.ts +5 -0
- package/dist-types/commands/GetDiskCommand.d.ts +3 -0
- package/dist-types/commands/GetDiskSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/GetDiskSnapshotsCommand.d.ts +3 -0
- package/dist-types/commands/GetDisksCommand.d.ts +3 -0
- package/dist-types/commands/GetDistributionBundlesCommand.d.ts +1 -0
- package/dist-types/commands/GetDistributionLatestCacheResetCommand.d.ts +3 -0
- package/dist-types/commands/GetDistributionMetricDataCommand.d.ts +11 -0
- package/dist-types/commands/GetDistributionsCommand.d.ts +4 -0
- package/dist-types/commands/GetDomainCommand.d.ts +3 -0
- package/dist-types/commands/GetDomainsCommand.d.ts +3 -0
- package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +3 -0
- package/dist-types/commands/GetInstanceAccessDetailsCommand.d.ts +4 -0
- package/dist-types/commands/GetInstanceCommand.d.ts +3 -0
- package/dist-types/commands/GetInstanceMetricDataCommand.d.ts +11 -0
- package/dist-types/commands/GetInstancePortStatesCommand.d.ts +3 -0
- package/dist-types/commands/GetInstanceSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/GetInstanceSnapshotsCommand.d.ts +3 -0
- package/dist-types/commands/GetInstanceStateCommand.d.ts +3 -0
- package/dist-types/commands/GetInstancesCommand.d.ts +3 -0
- package/dist-types/commands/GetKeyPairCommand.d.ts +3 -0
- package/dist-types/commands/GetKeyPairsCommand.d.ts +4 -0
- package/dist-types/commands/GetLoadBalancerCommand.d.ts +3 -0
- package/dist-types/commands/GetLoadBalancerMetricDataCommand.d.ts +11 -0
- package/dist-types/commands/GetLoadBalancerTlsCertificatesCommand.d.ts +3 -0
- package/dist-types/commands/GetLoadBalancerTlsPoliciesCommand.d.ts +3 -0
- package/dist-types/commands/GetLoadBalancersCommand.d.ts +3 -0
- package/dist-types/commands/GetOperationCommand.d.ts +3 -0
- package/dist-types/commands/GetOperationsCommand.d.ts +3 -0
- package/dist-types/commands/GetOperationsForResourceCommand.d.ts +4 -0
- package/dist-types/commands/GetRegionsCommand.d.ts +4 -0
- package/dist-types/commands/GetRelationalDatabaseBlueprintsCommand.d.ts +3 -0
- package/dist-types/commands/GetRelationalDatabaseBundlesCommand.d.ts +4 -0
- package/dist-types/commands/GetRelationalDatabaseCommand.d.ts +3 -0
- package/dist-types/commands/GetRelationalDatabaseEventsCommand.d.ts +5 -0
- package/dist-types/commands/GetRelationalDatabaseLogEventsCommand.d.ts +8 -0
- package/dist-types/commands/GetRelationalDatabaseLogStreamsCommand.d.ts +3 -0
- package/dist-types/commands/GetRelationalDatabaseMasterUserPasswordCommand.d.ts +4 -0
- package/dist-types/commands/GetRelationalDatabaseMetricDataCommand.d.ts +11 -0
- package/dist-types/commands/GetRelationalDatabaseParametersCommand.d.ts +4 -0
- package/dist-types/commands/GetRelationalDatabaseSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/GetRelationalDatabaseSnapshotsCommand.d.ts +3 -0
- package/dist-types/commands/GetRelationalDatabasesCommand.d.ts +3 -0
- package/dist-types/commands/GetStaticIpCommand.d.ts +3 -0
- package/dist-types/commands/GetStaticIpsCommand.d.ts +3 -0
- package/dist-types/commands/ImportKeyPairCommand.d.ts +4 -0
- package/dist-types/commands/IsVpcPeeredCommand.d.ts +1 -0
- package/dist-types/commands/OpenInstancePublicPortsCommand.d.ts +17 -0
- package/dist-types/commands/PeerVpcCommand.d.ts +1 -0
- package/dist-types/commands/PutAlarmCommand.d.ts +17 -0
- package/dist-types/commands/PutInstancePublicPortsCommand.d.ts +19 -0
- package/dist-types/commands/RebootInstanceCommand.d.ts +3 -0
- package/dist-types/commands/RebootRelationalDatabaseCommand.d.ts +3 -0
- package/dist-types/commands/RegisterContainerImageCommand.d.ts +5 -0
- package/dist-types/commands/ReleaseStaticIpCommand.d.ts +3 -0
- package/dist-types/commands/ResetDistributionCacheCommand.d.ts +3 -0
- package/dist-types/commands/SendContactMethodVerificationCommand.d.ts +3 -0
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +5 -0
- package/dist-types/commands/SetResourceAccessForBucketCommand.d.ts +5 -0
- package/dist-types/commands/StartGUISessionCommand.d.ts +3 -0
- package/dist-types/commands/StartInstanceCommand.d.ts +3 -0
- package/dist-types/commands/StartRelationalDatabaseCommand.d.ts +3 -0
- package/dist-types/commands/StopGUISessionCommand.d.ts +3 -0
- package/dist-types/commands/StopInstanceCommand.d.ts +4 -0
- package/dist-types/commands/StopRelationalDatabaseCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +10 -0
- package/dist-types/commands/TestAlarmCommand.d.ts +4 -0
- package/dist-types/commands/UnpeerVpcCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +7 -0
- package/dist-types/commands/UpdateBucketBundleCommand.d.ts +4 -0
- package/dist-types/commands/UpdateBucketCommand.d.ts +16 -0
- package/dist-types/commands/UpdateContainerServiceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +43 -0
- package/dist-types/commands/UpdateDomainEntryCommand.d.ts +13 -0
- package/dist-types/commands/UpdateInstanceMetadataOptionsCommand.d.ts +7 -0
- package/dist-types/commands/UpdateLoadBalancerAttributeCommand.d.ts +5 -0
- package/dist-types/commands/UpdateRelationalDatabaseCommand.d.ts +12 -0
- package/dist-types/commands/UpdateRelationalDatabaseParametersCommand.d.ts +15 -0
- package/package.json +8 -8
|
@@ -26,6 +26,9 @@ export interface AllocateStaticIpCommandOutput extends AllocateStaticIpResult, _
|
|
|
26
26
|
* import { LightsailClient, AllocateStaticIpCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, AllocateStaticIpCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* staticIpName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new AllocateStaticIpCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -38,6 +38,10 @@ export interface AttachCertificateToDistributionCommandOutput extends AttachCert
|
|
|
38
38
|
* import { LightsailClient, AttachCertificateToDistributionCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
39
39
|
* // const { LightsailClient, AttachCertificateToDistributionCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
40
40
|
* const client = new LightsailClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* distributionName: "STRING_VALUE", // required
|
|
43
|
+
* certificateName: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
41
45
|
* const command = new AttachCertificateToDistributionCommand(input);
|
|
42
46
|
* const response = await client.send(command);
|
|
43
47
|
* ```
|
|
@@ -30,6 +30,12 @@ export interface AttachDiskCommandOutput extends AttachDiskResult, __MetadataBea
|
|
|
30
30
|
* import { LightsailClient, AttachDiskCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, AttachDiskCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* diskName: "STRING_VALUE", // required
|
|
35
|
+
* instanceName: "STRING_VALUE", // required
|
|
36
|
+
* diskPath: "STRING_VALUE", // required
|
|
37
|
+
* autoMounting: true || false,
|
|
38
|
+
* };
|
|
33
39
|
* const command = new AttachDiskCommand(input);
|
|
34
40
|
* const response = await client.send(command);
|
|
35
41
|
* ```
|
|
@@ -31,6 +31,12 @@ export interface AttachInstancesToLoadBalancerCommandOutput extends AttachInstan
|
|
|
31
31
|
* import { LightsailClient, AttachInstancesToLoadBalancerCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
32
32
|
* // const { LightsailClient, AttachInstancesToLoadBalancerCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
33
33
|
* const client = new LightsailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* loadBalancerName: "STRING_VALUE", // required
|
|
36
|
+
* instanceNames: [ // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
34
40
|
* const command = new AttachInstancesToLoadBalancerCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -34,6 +34,10 @@ export interface AttachLoadBalancerTlsCertificateCommandOutput extends AttachLoa
|
|
|
34
34
|
* import { LightsailClient, AttachLoadBalancerTlsCertificateCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
35
35
|
* // const { LightsailClient, AttachLoadBalancerTlsCertificateCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
36
36
|
* const client = new LightsailClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* loadBalancerName: "STRING_VALUE", // required
|
|
39
|
+
* certificateName: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
37
41
|
* const command = new AttachLoadBalancerTlsCertificateCommand(input);
|
|
38
42
|
* const response = await client.send(command);
|
|
39
43
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface AttachStaticIpCommandOutput extends AttachStaticIpResult, __Met
|
|
|
26
26
|
* import { LightsailClient, AttachStaticIpCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, AttachStaticIpCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* staticIpName: "STRING_VALUE", // required
|
|
31
|
+
* instanceName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new AttachStaticIpCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -29,6 +29,23 @@ export interface CloseInstancePublicPortsCommandOutput extends CloseInstancePubl
|
|
|
29
29
|
* import { LightsailClient, CloseInstancePublicPortsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, CloseInstancePublicPortsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* portInfo: {
|
|
34
|
+
* fromPort: Number("int"),
|
|
35
|
+
* toPort: Number("int"),
|
|
36
|
+
* protocol: "tcp" || "all" || "udp" || "icmp",
|
|
37
|
+
* cidrs: [
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* ipv6Cidrs: [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* cidrListAliases: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* instanceName: "STRING_VALUE", // required
|
|
48
|
+
* };
|
|
32
49
|
* const command = new CloseInstancePublicPortsCommand(input);
|
|
33
50
|
* const response = await client.send(command);
|
|
34
51
|
* ```
|
|
@@ -35,6 +35,14 @@ export interface CopySnapshotCommandOutput extends CopySnapshotResult, __Metadat
|
|
|
35
35
|
* import { LightsailClient, CopySnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
36
36
|
* // const { LightsailClient, CopySnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
37
37
|
* const client = new LightsailClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* sourceSnapshotName: "STRING_VALUE",
|
|
40
|
+
* sourceResourceName: "STRING_VALUE",
|
|
41
|
+
* restoreDate: "STRING_VALUE",
|
|
42
|
+
* useLatestRestorableAutoSnapshot: true || false,
|
|
43
|
+
* targetSnapshotName: "STRING_VALUE", // required
|
|
44
|
+
* sourceRegion: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1", // required
|
|
45
|
+
* };
|
|
38
46
|
* const command = new CopySnapshotCommand(input);
|
|
39
47
|
* const response = await client.send(command);
|
|
40
48
|
* ```
|
|
@@ -37,6 +37,9 @@ export interface CreateBucketAccessKeyCommandOutput extends CreateBucketAccessKe
|
|
|
37
37
|
* import { LightsailClient, CreateBucketAccessKeyCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
38
38
|
* // const { LightsailClient, CreateBucketAccessKeyCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
39
39
|
* const client = new LightsailClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* bucketName: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
40
43
|
* const command = new CreateBucketAccessKeyCommand(input);
|
|
41
44
|
* const response = await client.send(command);
|
|
42
45
|
* ```
|
|
@@ -30,6 +30,17 @@ export interface CreateBucketCommandOutput extends CreateBucketResult, __Metadat
|
|
|
30
30
|
* import { LightsailClient, CreateBucketCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, CreateBucketCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* bucketName: "STRING_VALUE", // required
|
|
35
|
+
* bundleId: "STRING_VALUE", // required
|
|
36
|
+
* tags: [
|
|
37
|
+
* {
|
|
38
|
+
* key: "STRING_VALUE",
|
|
39
|
+
* value: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* enableObjectVersioning: true || false,
|
|
43
|
+
* };
|
|
33
44
|
* const command = new CreateBucketCommand(input);
|
|
34
45
|
* const response = await client.send(command);
|
|
35
46
|
* ```
|
|
@@ -38,6 +38,19 @@ export interface CreateCertificateCommandOutput extends CreateCertificateResult,
|
|
|
38
38
|
* import { LightsailClient, CreateCertificateCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
39
39
|
* // const { LightsailClient, CreateCertificateCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
40
40
|
* const client = new LightsailClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* certificateName: "STRING_VALUE", // required
|
|
43
|
+
* domainName: "STRING_VALUE", // required
|
|
44
|
+
* subjectAlternativeNames: [
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* tags: [
|
|
48
|
+
* {
|
|
49
|
+
* key: "STRING_VALUE",
|
|
50
|
+
* value: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
41
54
|
* const command = new CreateCertificateCommand(input);
|
|
42
55
|
* const response = await client.send(command);
|
|
43
56
|
* ```
|
|
@@ -33,6 +33,17 @@ export interface CreateCloudFormationStackCommandOutput extends CreateCloudForma
|
|
|
33
33
|
* import { LightsailClient, CreateCloudFormationStackCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
34
34
|
* // const { LightsailClient, CreateCloudFormationStackCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
35
35
|
* const client = new LightsailClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* instances: [ // required
|
|
38
|
+
* {
|
|
39
|
+
* sourceName: "STRING_VALUE", // required
|
|
40
|
+
* instanceType: "STRING_VALUE", // required
|
|
41
|
+
* portInfoSource: "DEFAULT" || "INSTANCE" || "NONE" || "CLOSED", // required
|
|
42
|
+
* userData: "STRING_VALUE",
|
|
43
|
+
* availabilityZone: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
36
47
|
* const command = new CreateCloudFormationStackCommand(input);
|
|
37
48
|
* const response = await client.send(command);
|
|
38
49
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface CreateContactMethodCommandOutput extends CreateContactMethodRes
|
|
|
30
30
|
* import { LightsailClient, CreateContactMethodCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, CreateContactMethodCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* protocol: "Email" || "SMS", // required
|
|
35
|
+
* contactEndpoint: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
33
37
|
* const command = new CreateContactMethodCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -29,6 +29,55 @@ export interface CreateContainerServiceCommandOutput extends CreateContainerServ
|
|
|
29
29
|
* import { LightsailClient, CreateContainerServiceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, CreateContainerServiceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* serviceName: "STRING_VALUE", // required
|
|
34
|
+
* power: "nano" || "micro" || "small" || "medium" || "large" || "xlarge", // required
|
|
35
|
+
* scale: Number("int"), // required
|
|
36
|
+
* tags: [
|
|
37
|
+
* {
|
|
38
|
+
* key: "STRING_VALUE",
|
|
39
|
+
* value: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* publicDomainNames: {
|
|
43
|
+
* "<keys>": [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* deployment: {
|
|
48
|
+
* containers: {
|
|
49
|
+
* "<keys>": {
|
|
50
|
+
* image: "STRING_VALUE",
|
|
51
|
+
* command: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* environment: {
|
|
55
|
+
* "<keys>": "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* ports: {
|
|
58
|
+
* "<keys>": "HTTP" || "HTTPS" || "TCP" || "UDP",
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* publicEndpoint: {
|
|
63
|
+
* containerName: "STRING_VALUE", // required
|
|
64
|
+
* containerPort: Number("int"), // required
|
|
65
|
+
* healthCheck: {
|
|
66
|
+
* healthyThreshold: Number("int"),
|
|
67
|
+
* unhealthyThreshold: Number("int"),
|
|
68
|
+
* timeoutSeconds: Number("int"),
|
|
69
|
+
* intervalSeconds: Number("int"),
|
|
70
|
+
* path: "STRING_VALUE",
|
|
71
|
+
* successCodes: "STRING_VALUE",
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* privateRegistryAccess: {
|
|
76
|
+
* ecrImagePullerRole: {
|
|
77
|
+
* isActive: true || false,
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
80
|
+
* };
|
|
32
81
|
* const command = new CreateContainerServiceCommand(input);
|
|
33
82
|
* const response = await client.send(command);
|
|
34
83
|
* ```
|
|
@@ -35,6 +35,35 @@ export interface CreateContainerServiceDeploymentCommandOutput extends CreateCon
|
|
|
35
35
|
* import { LightsailClient, CreateContainerServiceDeploymentCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
36
36
|
* // const { LightsailClient, CreateContainerServiceDeploymentCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
37
37
|
* const client = new LightsailClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* serviceName: "STRING_VALUE", // required
|
|
40
|
+
* containers: {
|
|
41
|
+
* "<keys>": {
|
|
42
|
+
* image: "STRING_VALUE",
|
|
43
|
+
* command: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* environment: {
|
|
47
|
+
* "<keys>": "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ports: {
|
|
50
|
+
* "<keys>": "HTTP" || "HTTPS" || "TCP" || "UDP",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* publicEndpoint: {
|
|
55
|
+
* containerName: "STRING_VALUE", // required
|
|
56
|
+
* containerPort: Number("int"), // required
|
|
57
|
+
* healthCheck: {
|
|
58
|
+
* healthyThreshold: Number("int"),
|
|
59
|
+
* unhealthyThreshold: Number("int"),
|
|
60
|
+
* timeoutSeconds: Number("int"),
|
|
61
|
+
* intervalSeconds: Number("int"),
|
|
62
|
+
* path: "STRING_VALUE",
|
|
63
|
+
* successCodes: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* };
|
|
38
67
|
* const command = new CreateContainerServiceDeploymentCommand(input);
|
|
39
68
|
* const response = await client.send(command);
|
|
40
69
|
* ```
|
|
@@ -45,6 +45,7 @@ export interface CreateContainerServiceRegistryLoginCommandOutput extends Create
|
|
|
45
45
|
* import { LightsailClient, CreateContainerServiceRegistryLoginCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
46
46
|
* // const { LightsailClient, CreateContainerServiceRegistryLoginCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
47
47
|
* const client = new LightsailClient(config);
|
|
48
|
+
* const input = {};
|
|
48
49
|
* const command = new CreateContainerServiceRegistryLoginCommand(input);
|
|
49
50
|
* const response = await client.send(command);
|
|
50
51
|
* ```
|
|
@@ -29,6 +29,29 @@ export interface CreateDiskCommandOutput extends CreateDiskResult, __MetadataBea
|
|
|
29
29
|
* import { LightsailClient, CreateDiskCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, CreateDiskCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* diskName: "STRING_VALUE", // required
|
|
34
|
+
* availabilityZone: "STRING_VALUE", // required
|
|
35
|
+
* sizeInGb: Number("int"), // required
|
|
36
|
+
* tags: [
|
|
37
|
+
* {
|
|
38
|
+
* key: "STRING_VALUE",
|
|
39
|
+
* value: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* addOns: [
|
|
43
|
+
* {
|
|
44
|
+
* addOnType: "AutoSnapshot" || "StopInstanceOnIdle", // required
|
|
45
|
+
* autoSnapshotAddOnRequest: {
|
|
46
|
+
* snapshotTimeOfDay: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* stopInstanceOnIdleRequest: {
|
|
49
|
+
* threshold: "STRING_VALUE",
|
|
50
|
+
* duration: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* };
|
|
32
55
|
* const command = new CreateDiskCommand(input);
|
|
33
56
|
* const response = await client.send(command);
|
|
34
57
|
* ```
|
|
@@ -31,6 +31,33 @@ export interface CreateDiskFromSnapshotCommandOutput extends CreateDiskFromSnaps
|
|
|
31
31
|
* import { LightsailClient, CreateDiskFromSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
32
32
|
* // const { LightsailClient, CreateDiskFromSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
33
33
|
* const client = new LightsailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* diskName: "STRING_VALUE", // required
|
|
36
|
+
* diskSnapshotName: "STRING_VALUE",
|
|
37
|
+
* availabilityZone: "STRING_VALUE", // required
|
|
38
|
+
* sizeInGb: Number("int"), // required
|
|
39
|
+
* tags: [
|
|
40
|
+
* {
|
|
41
|
+
* key: "STRING_VALUE",
|
|
42
|
+
* value: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* addOns: [
|
|
46
|
+
* {
|
|
47
|
+
* addOnType: "AutoSnapshot" || "StopInstanceOnIdle", // required
|
|
48
|
+
* autoSnapshotAddOnRequest: {
|
|
49
|
+
* snapshotTimeOfDay: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* stopInstanceOnIdleRequest: {
|
|
52
|
+
* threshold: "STRING_VALUE",
|
|
53
|
+
* duration: "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* sourceDiskName: "STRING_VALUE",
|
|
58
|
+
* restoreDate: "STRING_VALUE",
|
|
59
|
+
* useLatestRestorableAutoSnapshot: true || false,
|
|
60
|
+
* };
|
|
34
61
|
* const command = new CreateDiskFromSnapshotCommand(input);
|
|
35
62
|
* const response = await client.send(command);
|
|
36
63
|
* ```
|
|
@@ -44,6 +44,17 @@ export interface CreateDiskSnapshotCommandOutput extends CreateDiskSnapshotResul
|
|
|
44
44
|
* import { LightsailClient, CreateDiskSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
45
45
|
* // const { LightsailClient, CreateDiskSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
46
46
|
* const client = new LightsailClient(config);
|
|
47
|
+
* const input = {
|
|
48
|
+
* diskName: "STRING_VALUE",
|
|
49
|
+
* diskSnapshotName: "STRING_VALUE", // required
|
|
50
|
+
* instanceName: "STRING_VALUE",
|
|
51
|
+
* tags: [
|
|
52
|
+
* {
|
|
53
|
+
* key: "STRING_VALUE",
|
|
54
|
+
* value: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* };
|
|
47
58
|
* const command = new CreateDiskSnapshotCommand(input);
|
|
48
59
|
* const response = await client.send(command);
|
|
49
60
|
* ```
|
|
@@ -29,6 +29,56 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
|
|
|
29
29
|
* import { LightsailClient, CreateDistributionCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, CreateDistributionCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* distributionName: "STRING_VALUE", // required
|
|
34
|
+
* origin: {
|
|
35
|
+
* name: "STRING_VALUE",
|
|
36
|
+
* regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
|
|
37
|
+
* protocolPolicy: "http-only" || "https-only",
|
|
38
|
+
* },
|
|
39
|
+
* defaultCacheBehavior: {
|
|
40
|
+
* behavior: "dont-cache" || "cache",
|
|
41
|
+
* },
|
|
42
|
+
* cacheBehaviorSettings: {
|
|
43
|
+
* defaultTTL: Number("long"),
|
|
44
|
+
* minimumTTL: Number("long"),
|
|
45
|
+
* maximumTTL: Number("long"),
|
|
46
|
+
* allowedHTTPMethods: "STRING_VALUE",
|
|
47
|
+
* cachedHTTPMethods: "STRING_VALUE",
|
|
48
|
+
* forwardedCookies: {
|
|
49
|
+
* option: "none" || "allow-list" || "all",
|
|
50
|
+
* cookiesAllowList: [
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* forwardedHeaders: {
|
|
55
|
+
* option: "none" || "allow-list" || "all",
|
|
56
|
+
* headersAllowList: [
|
|
57
|
+
* "Accept" || "Accept-Charset" || "Accept-Datetime" || "Accept-Encoding" || "Accept-Language" || "Authorization" || "CloudFront-Forwarded-Proto" || "CloudFront-Is-Desktop-Viewer" || "CloudFront-Is-Mobile-Viewer" || "CloudFront-Is-SmartTV-Viewer" || "CloudFront-Is-Tablet-Viewer" || "CloudFront-Viewer-Country" || "Host" || "Origin" || "Referer",
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
60
|
+
* forwardedQueryStrings: {
|
|
61
|
+
* option: true || false,
|
|
62
|
+
* queryStringsAllowList: [
|
|
63
|
+
* "STRING_VALUE",
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* cacheBehaviors: [
|
|
68
|
+
* {
|
|
69
|
+
* path: "STRING_VALUE",
|
|
70
|
+
* behavior: "dont-cache" || "cache",
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* bundleId: "STRING_VALUE", // required
|
|
74
|
+
* ipAddressType: "dualstack" || "ipv4",
|
|
75
|
+
* tags: [
|
|
76
|
+
* {
|
|
77
|
+
* key: "STRING_VALUE",
|
|
78
|
+
* value: "STRING_VALUE",
|
|
79
|
+
* },
|
|
80
|
+
* ],
|
|
81
|
+
* };
|
|
32
82
|
* const command = new CreateDistributionCommand(input);
|
|
33
83
|
* const response = await client.send(command);
|
|
34
84
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface CreateDomainCommandOutput extends CreateDomainResult, __Metadat
|
|
|
28
28
|
* import { LightsailClient, CreateDomainCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
29
29
|
* // const { LightsailClient, CreateDomainCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
30
30
|
* const client = new LightsailClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* domainName: "STRING_VALUE", // required
|
|
33
|
+
* tags: [
|
|
34
|
+
* {
|
|
35
|
+
* key: "STRING_VALUE",
|
|
36
|
+
* value: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
31
40
|
* const command = new CreateDomainCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -31,6 +31,19 @@ export interface CreateDomainEntryCommandOutput extends CreateDomainEntryResult,
|
|
|
31
31
|
* import { LightsailClient, CreateDomainEntryCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
32
32
|
* // const { LightsailClient, CreateDomainEntryCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
33
33
|
* const client = new LightsailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* domainName: "STRING_VALUE", // required
|
|
36
|
+
* domainEntry: {
|
|
37
|
+
* id: "STRING_VALUE",
|
|
38
|
+
* name: "STRING_VALUE",
|
|
39
|
+
* target: "STRING_VALUE",
|
|
40
|
+
* isAlias: true || false,
|
|
41
|
+
* type: "STRING_VALUE",
|
|
42
|
+
* options: {
|
|
43
|
+
* "<keys>": "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
34
47
|
* const command = new CreateDomainEntryCommand(input);
|
|
35
48
|
* const response = await client.send(command);
|
|
36
49
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface CreateGUISessionAccessDetailsCommandOutput extends CreateGUISes
|
|
|
28
28
|
* import { LightsailClient, CreateGUISessionAccessDetailsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
29
29
|
* // const { LightsailClient, CreateGUISessionAccessDetailsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
30
30
|
* const client = new LightsailClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* resourceName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new CreateGUISessionAccessDetailsCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -29,6 +29,16 @@ export interface CreateInstanceSnapshotCommandOutput extends CreateInstanceSnaps
|
|
|
29
29
|
* import { LightsailClient, CreateInstanceSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, CreateInstanceSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* instanceSnapshotName: "STRING_VALUE", // required
|
|
34
|
+
* instanceName: "STRING_VALUE", // required
|
|
35
|
+
* tags: [
|
|
36
|
+
* {
|
|
37
|
+
* key: "STRING_VALUE",
|
|
38
|
+
* value: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
32
42
|
* const command = new CreateInstanceSnapshotCommand(input);
|
|
33
43
|
* const response = await client.send(command);
|
|
34
44
|
* ```
|
|
@@ -28,6 +28,36 @@ export interface CreateInstancesCommandOutput extends CreateInstancesResult, __M
|
|
|
28
28
|
* import { LightsailClient, CreateInstancesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
29
29
|
* // const { LightsailClient, CreateInstancesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
30
30
|
* const client = new LightsailClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* instanceNames: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* availabilityZone: "STRING_VALUE", // required
|
|
36
|
+
* customImageName: "STRING_VALUE",
|
|
37
|
+
* blueprintId: "STRING_VALUE", // required
|
|
38
|
+
* bundleId: "STRING_VALUE", // required
|
|
39
|
+
* userData: "STRING_VALUE",
|
|
40
|
+
* keyPairName: "STRING_VALUE",
|
|
41
|
+
* tags: [
|
|
42
|
+
* {
|
|
43
|
+
* key: "STRING_VALUE",
|
|
44
|
+
* value: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* addOns: [
|
|
48
|
+
* {
|
|
49
|
+
* addOnType: "AutoSnapshot" || "StopInstanceOnIdle", // required
|
|
50
|
+
* autoSnapshotAddOnRequest: {
|
|
51
|
+
* snapshotTimeOfDay: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* stopInstanceOnIdleRequest: {
|
|
54
|
+
* threshold: "STRING_VALUE",
|
|
55
|
+
* duration: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* ipAddressType: "dualstack" || "ipv4",
|
|
60
|
+
* };
|
|
31
61
|
* const command = new CreateInstancesCommand(input);
|
|
32
62
|
* const response = await client.send(command);
|
|
33
63
|
* ```
|
|
@@ -30,6 +30,46 @@ export interface CreateInstancesFromSnapshotCommandOutput extends CreateInstance
|
|
|
30
30
|
* import { LightsailClient, CreateInstancesFromSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, CreateInstancesFromSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* instanceNames: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* attachedDiskMapping: {
|
|
38
|
+
* "<keys>": [
|
|
39
|
+
* {
|
|
40
|
+
* originalDiskPath: "STRING_VALUE",
|
|
41
|
+
* newDiskName: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* availabilityZone: "STRING_VALUE", // required
|
|
46
|
+
* instanceSnapshotName: "STRING_VALUE",
|
|
47
|
+
* bundleId: "STRING_VALUE", // required
|
|
48
|
+
* userData: "STRING_VALUE",
|
|
49
|
+
* keyPairName: "STRING_VALUE",
|
|
50
|
+
* tags: [
|
|
51
|
+
* {
|
|
52
|
+
* key: "STRING_VALUE",
|
|
53
|
+
* value: "STRING_VALUE",
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* addOns: [
|
|
57
|
+
* {
|
|
58
|
+
* addOnType: "AutoSnapshot" || "StopInstanceOnIdle", // required
|
|
59
|
+
* autoSnapshotAddOnRequest: {
|
|
60
|
+
* snapshotTimeOfDay: "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* stopInstanceOnIdleRequest: {
|
|
63
|
+
* threshold: "STRING_VALUE",
|
|
64
|
+
* duration: "STRING_VALUE",
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* ipAddressType: "dualstack" || "ipv4",
|
|
69
|
+
* sourceInstanceName: "STRING_VALUE",
|
|
70
|
+
* restoreDate: "STRING_VALUE",
|
|
71
|
+
* useLatestRestorableAutoSnapshot: true || false,
|
|
72
|
+
* };
|
|
33
73
|
* const command = new CreateInstancesFromSnapshotCommand(input);
|
|
34
74
|
* const response = await client.send(command);
|
|
35
75
|
* ```
|
|
@@ -34,6 +34,15 @@ export interface CreateKeyPairCommandOutput extends CreateKeyPairResult, __Metad
|
|
|
34
34
|
* import { LightsailClient, CreateKeyPairCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
35
35
|
* // const { LightsailClient, CreateKeyPairCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
36
36
|
* const client = new LightsailClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* keyPairName: "STRING_VALUE", // required
|
|
39
|
+
* tags: [
|
|
40
|
+
* {
|
|
41
|
+
* key: "STRING_VALUE",
|
|
42
|
+
* value: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
37
46
|
* const command = new CreateKeyPairCommand(input);
|
|
38
47
|
* const response = await client.send(command);
|
|
39
48
|
* ```
|
|
@@ -33,6 +33,24 @@ export interface CreateLoadBalancerCommandOutput extends CreateLoadBalancerResul
|
|
|
33
33
|
* import { LightsailClient, CreateLoadBalancerCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
34
34
|
* // const { LightsailClient, CreateLoadBalancerCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
35
35
|
* const client = new LightsailClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* loadBalancerName: "STRING_VALUE", // required
|
|
38
|
+
* instancePort: Number("int"), // required
|
|
39
|
+
* healthCheckPath: "STRING_VALUE",
|
|
40
|
+
* certificateName: "STRING_VALUE",
|
|
41
|
+
* certificateDomainName: "STRING_VALUE",
|
|
42
|
+
* certificateAlternativeNames: [
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* tags: [
|
|
46
|
+
* {
|
|
47
|
+
* key: "STRING_VALUE",
|
|
48
|
+
* value: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* ipAddressType: "dualstack" || "ipv4",
|
|
52
|
+
* tlsPolicyName: "STRING_VALUE",
|
|
53
|
+
* };
|
|
36
54
|
* const command = new CreateLoadBalancerCommand(input);
|
|
37
55
|
* const response = await client.send(command);
|
|
38
56
|
* ```
|