@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
|
@@ -30,6 +30,20 @@ export interface CreateLoadBalancerTlsCertificateCommandOutput extends CreateLoa
|
|
|
30
30
|
* import { LightsailClient, CreateLoadBalancerTlsCertificateCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, CreateLoadBalancerTlsCertificateCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* loadBalancerName: "STRING_VALUE", // required
|
|
35
|
+
* certificateName: "STRING_VALUE", // required
|
|
36
|
+
* certificateDomainName: "STRING_VALUE", // required
|
|
37
|
+
* certificateAlternativeNames: [
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* tags: [
|
|
41
|
+
* {
|
|
42
|
+
* key: "STRING_VALUE",
|
|
43
|
+
* value: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
33
47
|
* const command = new CreateLoadBalancerTlsCertificateCommand(input);
|
|
34
48
|
* const response = await client.send(command);
|
|
35
49
|
* ```
|
|
@@ -28,6 +28,24 @@ export interface CreateRelationalDatabaseCommandOutput extends CreateRelationalD
|
|
|
28
28
|
* import { LightsailClient, CreateRelationalDatabaseCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
29
29
|
* // const { LightsailClient, CreateRelationalDatabaseCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
30
30
|
* const client = new LightsailClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
33
|
+
* availabilityZone: "STRING_VALUE",
|
|
34
|
+
* relationalDatabaseBlueprintId: "STRING_VALUE", // required
|
|
35
|
+
* relationalDatabaseBundleId: "STRING_VALUE", // required
|
|
36
|
+
* masterDatabaseName: "STRING_VALUE", // required
|
|
37
|
+
* masterUsername: "STRING_VALUE", // required
|
|
38
|
+
* masterUserPassword: "STRING_VALUE",
|
|
39
|
+
* preferredBackupWindow: "STRING_VALUE",
|
|
40
|
+
* preferredMaintenanceWindow: "STRING_VALUE",
|
|
41
|
+
* publiclyAccessible: true || false,
|
|
42
|
+
* tags: [
|
|
43
|
+
* {
|
|
44
|
+
* key: "STRING_VALUE",
|
|
45
|
+
* value: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
31
49
|
* const command = new CreateRelationalDatabaseCommand(input);
|
|
32
50
|
* const response = await client.send(command);
|
|
33
51
|
* ```
|
|
@@ -32,6 +32,22 @@ export interface CreateRelationalDatabaseFromSnapshotCommandOutput extends Creat
|
|
|
32
32
|
* import { LightsailClient, CreateRelationalDatabaseFromSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
33
33
|
* // const { LightsailClient, CreateRelationalDatabaseFromSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
34
34
|
* const client = new LightsailClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
37
|
+
* availabilityZone: "STRING_VALUE",
|
|
38
|
+
* publiclyAccessible: true || false,
|
|
39
|
+
* relationalDatabaseSnapshotName: "STRING_VALUE",
|
|
40
|
+
* relationalDatabaseBundleId: "STRING_VALUE",
|
|
41
|
+
* sourceRelationalDatabaseName: "STRING_VALUE",
|
|
42
|
+
* restoreTime: new Date("TIMESTAMP"),
|
|
43
|
+
* useLatestRestorableTime: true || false,
|
|
44
|
+
* tags: [
|
|
45
|
+
* {
|
|
46
|
+
* key: "STRING_VALUE",
|
|
47
|
+
* value: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* };
|
|
35
51
|
* const command = new CreateRelationalDatabaseFromSnapshotCommand(input);
|
|
36
52
|
* const response = await client.send(command);
|
|
37
53
|
* ```
|
|
@@ -29,6 +29,16 @@ export interface CreateRelationalDatabaseSnapshotCommandOutput extends CreateRel
|
|
|
29
29
|
* import { LightsailClient, CreateRelationalDatabaseSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, CreateRelationalDatabaseSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
34
|
+
* relationalDatabaseSnapshotName: "STRING_VALUE", // required
|
|
35
|
+
* tags: [
|
|
36
|
+
* {
|
|
37
|
+
* key: "STRING_VALUE",
|
|
38
|
+
* value: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
32
42
|
* const command = new CreateRelationalDatabaseSnapshotCommand(input);
|
|
33
43
|
* const response = await client.send(command);
|
|
34
44
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DeleteAlarmCommandOutput extends DeleteAlarmResult, __MetadataB
|
|
|
30
30
|
* import { LightsailClient, DeleteAlarmCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, DeleteAlarmCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* alarmName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DeleteAlarmCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteAutoSnapshotCommandOutput extends DeleteAutoSnapshotResul
|
|
|
26
26
|
* import { LightsailClient, DeleteAutoSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, DeleteAutoSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceName: "STRING_VALUE", // required
|
|
31
|
+
* date: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteAutoSnapshotCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DeleteBucketAccessKeyCommandOutput extends DeleteBucketAccessKe
|
|
|
29
29
|
* import { LightsailClient, DeleteBucketAccessKeyCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, DeleteBucketAccessKeyCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* bucketName: "STRING_VALUE", // required
|
|
34
|
+
* accessKeyId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DeleteBucketAccessKeyCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface DeleteBucketCommandOutput extends DeleteBucketResult, __Metadat
|
|
|
30
30
|
* import { LightsailClient, DeleteBucketCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, DeleteBucketCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* bucketName: "STRING_VALUE", // required
|
|
35
|
+
* forceDelete: true || false,
|
|
36
|
+
* };
|
|
33
37
|
* const command = new DeleteBucketCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DeleteCertificateCommandOutput extends DeleteCertificateResult,
|
|
|
30
30
|
* import { LightsailClient, DeleteCertificateCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, DeleteCertificateCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* certificateName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DeleteCertificateCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DeleteContactMethodCommandOutput extends DeleteContactMethodRes
|
|
|
30
30
|
* import { LightsailClient, DeleteContactMethodCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, DeleteContactMethodCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* protocol: "Email" || "SMS", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DeleteContactMethodCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DeleteContainerImageCommandOutput extends DeleteContainerImageR
|
|
|
27
27
|
* import { LightsailClient, DeleteContainerImageCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, DeleteContainerImageCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* serviceName: "STRING_VALUE", // required
|
|
32
|
+
* image: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DeleteContainerImageCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteContainerServiceCommandOutput extends DeleteContainerServ
|
|
|
26
26
|
* import { LightsailClient, DeleteContainerServiceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, DeleteContainerServiceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* serviceName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteContainerServiceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -33,6 +33,10 @@ export interface DeleteDiskCommandOutput extends DeleteDiskResult, __MetadataBea
|
|
|
33
33
|
* import { LightsailClient, DeleteDiskCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
34
34
|
* // const { LightsailClient, DeleteDiskCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
35
35
|
* const client = new LightsailClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* diskName: "STRING_VALUE", // required
|
|
38
|
+
* forceDeleteAddOns: true || false,
|
|
39
|
+
* };
|
|
36
40
|
* const command = new DeleteDiskCommand(input);
|
|
37
41
|
* const response = await client.send(command);
|
|
38
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface DeleteDiskSnapshotCommandOutput extends DeleteDiskSnapshotResul
|
|
|
34
34
|
* import { LightsailClient, DeleteDiskSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
35
35
|
* // const { LightsailClient, DeleteDiskSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
36
36
|
* const client = new LightsailClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* diskSnapshotName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new DeleteDiskSnapshotCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteDistributionCommandOutput extends DeleteDistributionResul
|
|
|
26
26
|
* import { LightsailClient, DeleteDistributionCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, DeleteDistributionCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* distributionName: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteDistributionCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResult, __Metadat
|
|
|
29
29
|
* import { LightsailClient, DeleteDomainCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, DeleteDomainCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* domainName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteDomainCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -29,6 +29,19 @@ export interface DeleteDomainEntryCommandOutput extends DeleteDomainEntryResult,
|
|
|
29
29
|
* import { LightsailClient, DeleteDomainEntryCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, DeleteDomainEntryCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* domainName: "STRING_VALUE", // required
|
|
34
|
+
* domainEntry: {
|
|
35
|
+
* id: "STRING_VALUE",
|
|
36
|
+
* name: "STRING_VALUE",
|
|
37
|
+
* target: "STRING_VALUE",
|
|
38
|
+
* isAlias: true || false,
|
|
39
|
+
* type: "STRING_VALUE",
|
|
40
|
+
* options: {
|
|
41
|
+
* "<keys>": "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
32
45
|
* const command = new DeleteDomainEntryCommand(input);
|
|
33
46
|
* const response = await client.send(command);
|
|
34
47
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DeleteInstanceCommandOutput extends DeleteInstanceResult, __Met
|
|
|
29
29
|
* import { LightsailClient, DeleteInstanceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, DeleteInstanceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* instanceName: "STRING_VALUE", // required
|
|
34
|
+
* forceDeleteAddOns: true || false,
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DeleteInstanceCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DeleteInstanceSnapshotCommandOutput extends DeleteInstanceSnaps
|
|
|
30
30
|
* import { LightsailClient, DeleteInstanceSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, DeleteInstanceSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* instanceSnapshotName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DeleteInstanceSnapshotCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -33,6 +33,10 @@ export interface DeleteKeyPairCommandOutput extends DeleteKeyPairResult, __Metad
|
|
|
33
33
|
* import { LightsailClient, DeleteKeyPairCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
34
34
|
* // const { LightsailClient, DeleteKeyPairCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
35
35
|
* const client = new LightsailClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* keyPairName: "STRING_VALUE", // required
|
|
38
|
+
* expectedFingerprint: "STRING_VALUE",
|
|
39
|
+
* };
|
|
36
40
|
* const command = new DeleteKeyPairCommand(input);
|
|
37
41
|
* const response = await client.send(command);
|
|
38
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface DeleteKnownHostKeysCommandOutput extends DeleteKnownHostKeysRes
|
|
|
34
34
|
* import { LightsailClient, DeleteKnownHostKeysCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
35
35
|
* // const { LightsailClient, DeleteKnownHostKeysCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
36
36
|
* const client = new LightsailClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* instanceName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new DeleteKnownHostKeysCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DeleteLoadBalancerCommandOutput extends DeleteLoadBalancerResul
|
|
|
31
31
|
* import { LightsailClient, DeleteLoadBalancerCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
32
32
|
* // const { LightsailClient, DeleteLoadBalancerCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
33
33
|
* const client = new LightsailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* loadBalancerName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DeleteLoadBalancerCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface DeleteLoadBalancerTlsCertificateCommandOutput extends DeleteLoa
|
|
|
29
29
|
* import { LightsailClient, DeleteLoadBalancerTlsCertificateCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, DeleteLoadBalancerTlsCertificateCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* loadBalancerName: "STRING_VALUE", // required
|
|
34
|
+
* certificateName: "STRING_VALUE", // required
|
|
35
|
+
* force: true || false,
|
|
36
|
+
* };
|
|
32
37
|
* const command = new DeleteLoadBalancerTlsCertificateCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface DeleteRelationalDatabaseCommandOutput extends DeleteRelationalD
|
|
|
29
29
|
* import { LightsailClient, DeleteRelationalDatabaseCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, DeleteRelationalDatabaseCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
34
|
+
* skipFinalSnapshot: true || false,
|
|
35
|
+
* finalRelationalDatabaseSnapshotName: "STRING_VALUE",
|
|
36
|
+
* };
|
|
32
37
|
* const command = new DeleteRelationalDatabaseCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteRelationalDatabaseSnapshotCommandOutput extends DeleteRel
|
|
|
29
29
|
* import { LightsailClient, DeleteRelationalDatabaseSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, DeleteRelationalDatabaseSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* relationalDatabaseSnapshotName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteRelationalDatabaseSnapshotCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DetachCertificateFromDistributionCommandOutput extends DetachCe
|
|
|
29
29
|
* import { LightsailClient, DetachCertificateFromDistributionCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, DetachCertificateFromDistributionCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* distributionName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DetachCertificateFromDistributionCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DetachDiskCommandOutput extends DetachDiskResult, __MetadataBea
|
|
|
31
31
|
* import { LightsailClient, DetachDiskCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
32
32
|
* // const { LightsailClient, DetachDiskCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
33
33
|
* const client = new LightsailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* diskName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DetachDiskCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -31,6 +31,12 @@ export interface DetachInstancesFromLoadBalancerCommandOutput extends DetachInst
|
|
|
31
31
|
* import { LightsailClient, DetachInstancesFromLoadBalancerCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
32
32
|
* // const { LightsailClient, DetachInstancesFromLoadBalancerCommand } = 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 DetachInstancesFromLoadBalancerCommand(input);
|
|
35
41
|
* const response = await client.send(command);
|
|
36
42
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DetachStaticIpCommandOutput extends DetachStaticIpResult, __Met
|
|
|
26
26
|
* import { LightsailClient, DetachStaticIpCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, DetachStaticIpCommand } = 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 DetachStaticIpCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DisableAddOnCommandOutput extends DisableAddOnResult, __Metadat
|
|
|
26
26
|
* import { LightsailClient, DisableAddOnCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, DisableAddOnCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* addOnType: "AutoSnapshot" || "StopInstanceOnIdle", // required
|
|
31
|
+
* resourceName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DisableAddOnCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,7 @@ export interface DownloadDefaultKeyPairCommandOutput extends DownloadDefaultKeyP
|
|
|
28
28
|
* import { LightsailClient, DownloadDefaultKeyPairCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
29
29
|
* // const { LightsailClient, DownloadDefaultKeyPairCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
30
30
|
* const client = new LightsailClient(config);
|
|
31
|
+
* const input = {};
|
|
31
32
|
* const command = new DownloadDefaultKeyPairCommand(input);
|
|
32
33
|
* const response = await client.send(command);
|
|
33
34
|
* ```
|
|
@@ -27,6 +27,19 @@ export interface EnableAddOnCommandOutput extends EnableAddOnResult, __MetadataB
|
|
|
27
27
|
* import { LightsailClient, EnableAddOnCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, EnableAddOnCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* resourceName: "STRING_VALUE", // required
|
|
32
|
+
* addOnRequest: {
|
|
33
|
+
* addOnType: "AutoSnapshot" || "StopInstanceOnIdle", // required
|
|
34
|
+
* autoSnapshotAddOnRequest: {
|
|
35
|
+
* snapshotTimeOfDay: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* stopInstanceOnIdleRequest: {
|
|
38
|
+
* threshold: "STRING_VALUE",
|
|
39
|
+
* duration: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
30
43
|
* const command = new EnableAddOnCommand(input);
|
|
31
44
|
* const response = await client.send(command);
|
|
32
45
|
* ```
|
|
@@ -40,6 +40,9 @@ export interface ExportSnapshotCommandOutput extends ExportSnapshotResult, __Met
|
|
|
40
40
|
* import { LightsailClient, ExportSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
41
41
|
* // const { LightsailClient, ExportSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
42
42
|
* const client = new LightsailClient(config);
|
|
43
|
+
* const input = {
|
|
44
|
+
* sourceSnapshotName: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
43
46
|
* const command = new ExportSnapshotCommand(input);
|
|
44
47
|
* const response = await client.send(command);
|
|
45
48
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetActiveNamesCommandOutput extends GetActiveNamesResult, __Met
|
|
|
26
26
|
* import { LightsailClient, GetActiveNamesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetActiveNamesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* pageToken: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetActiveNamesCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -32,6 +32,11 @@ export interface GetAlarmsCommandOutput extends GetAlarmsResult, __MetadataBeare
|
|
|
32
32
|
* import { LightsailClient, GetAlarmsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
33
33
|
* // const { LightsailClient, GetAlarmsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
34
34
|
* const client = new LightsailClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* alarmName: "STRING_VALUE",
|
|
37
|
+
* pageToken: "STRING_VALUE",
|
|
38
|
+
* monitoredResourceName: "STRING_VALUE",
|
|
39
|
+
* };
|
|
35
40
|
* const command = new GetAlarmsCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetAutoSnapshotsCommandOutput extends GetAutoSnapshotsResult, _
|
|
|
27
27
|
* import { LightsailClient, GetAutoSnapshotsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, GetAutoSnapshotsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* resourceName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetAutoSnapshotsCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -35,6 +35,11 @@ export interface GetBlueprintsCommandOutput extends GetBlueprintsResult, __Metad
|
|
|
35
35
|
* import { LightsailClient, GetBlueprintsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
36
36
|
* // const { LightsailClient, GetBlueprintsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
37
37
|
* const client = new LightsailClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* includeInactive: true || false,
|
|
40
|
+
* pageToken: "STRING_VALUE",
|
|
41
|
+
* appCategory: "LfR",
|
|
42
|
+
* };
|
|
38
43
|
* const command = new GetBlueprintsCommand(input);
|
|
39
44
|
* const response = await client.send(command);
|
|
40
45
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface GetBucketAccessKeysCommandOutput extends GetBucketAccessKeysRes
|
|
|
31
31
|
* import { LightsailClient, GetBucketAccessKeysCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
32
32
|
* // const { LightsailClient, GetBucketAccessKeysCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
33
33
|
* const client = new LightsailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* bucketName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new GetBucketAccessKeysCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetBucketBundlesCommandOutput extends GetBucketBundlesResult, _
|
|
|
30
30
|
* import { LightsailClient, GetBucketBundlesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, GetBucketBundlesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* includeInactive: true || false,
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetBucketBundlesCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -29,6 +29,17 @@ export interface GetBucketMetricDataCommandOutput extends GetBucketMetricDataRes
|
|
|
29
29
|
* import { LightsailClient, GetBucketMetricDataCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, GetBucketMetricDataCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* bucketName: "STRING_VALUE", // required
|
|
34
|
+
* metricName: "BucketSizeBytes" || "NumberOfObjects", // required
|
|
35
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
36
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
37
|
+
* period: Number("int"), // required
|
|
38
|
+
* statistics: [ // required
|
|
39
|
+
* "Minimum" || "Maximum" || "Sum" || "Average" || "SampleCount",
|
|
40
|
+
* ],
|
|
41
|
+
* unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None", // required
|
|
42
|
+
* };
|
|
32
43
|
* const command = new GetBucketMetricDataCommand(input);
|
|
33
44
|
* const response = await client.send(command);
|
|
34
45
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface GetBucketsCommandOutput extends GetBucketsResult, __MetadataBea
|
|
|
30
30
|
* import { LightsailClient, GetBucketsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, GetBucketsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* bucketName: "STRING_VALUE",
|
|
35
|
+
* pageToken: "STRING_VALUE",
|
|
36
|
+
* includeConnectedResources: true || false,
|
|
37
|
+
* };
|
|
33
38
|
* const command = new GetBucketsCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -34,6 +34,11 @@ export interface GetBundlesCommandOutput extends GetBundlesResult, __MetadataBea
|
|
|
34
34
|
* import { LightsailClient, GetBundlesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
35
35
|
* // const { LightsailClient, GetBundlesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
36
36
|
* const client = new LightsailClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* includeInactive: true || false,
|
|
39
|
+
* pageToken: "STRING_VALUE",
|
|
40
|
+
* appCategory: "LfR",
|
|
41
|
+
* };
|
|
37
42
|
* const command = new GetBundlesCommand(input);
|
|
38
43
|
* const response = await client.send(command);
|
|
39
44
|
* ```
|
|
@@ -31,6 +31,13 @@ export interface GetCertificatesCommandOutput extends GetCertificatesResult, __M
|
|
|
31
31
|
* import { LightsailClient, GetCertificatesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
32
32
|
* // const { LightsailClient, GetCertificatesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
33
33
|
* const client = new LightsailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* certificateStatuses: [
|
|
36
|
+
* "PENDING_VALIDATION" || "ISSUED" || "INACTIVE" || "EXPIRED" || "VALIDATION_TIMED_OUT" || "REVOKED" || "FAILED",
|
|
37
|
+
* ],
|
|
38
|
+
* includeCertificateDetails: true || false,
|
|
39
|
+
* certificateName: "STRING_VALUE",
|
|
40
|
+
* };
|
|
34
41
|
* const command = new GetCertificatesCommand(input);
|
|
35
42
|
* const response = await client.send(command);
|
|
36
43
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface GetCloudFormationStackRecordsCommandOutput extends GetCloudForm
|
|
|
29
29
|
* import { LightsailClient, GetCloudFormationStackRecordsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, GetCloudFormationStackRecordsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* pageToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
32
35
|
* const command = new GetCloudFormationStackRecordsCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface GetContactMethodsCommandOutput extends GetContactMethodsResult,
|
|
|
31
31
|
* import { LightsailClient, GetContactMethodsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
32
32
|
* // const { LightsailClient, GetContactMethodsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
33
33
|
* const client = new LightsailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* protocols: [
|
|
36
|
+
* "Email" || "SMS",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
34
39
|
* const command = new GetContactMethodsCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -27,6 +27,7 @@ export interface GetContainerAPIMetadataCommandOutput extends GetContainerAPIMet
|
|
|
27
27
|
* import { LightsailClient, GetContainerAPIMetadataCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, GetContainerAPIMetadataCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = {};
|
|
30
31
|
* const command = new GetContainerAPIMetadataCommand(input);
|
|
31
32
|
* const response = await client.send(command);
|
|
32
33
|
* ```
|