@aws-sdk/client-lightsail 3.299.0 → 3.301.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
|
@@ -32,6 +32,9 @@ export interface GetContainerImagesCommandOutput extends GetContainerImagesResul
|
|
|
32
32
|
* import { LightsailClient, GetContainerImagesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
33
33
|
* // const { LightsailClient, GetContainerImagesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
34
34
|
* const client = new LightsailClient(config);
|
|
35
|
+
* const input = { // GetContainerImagesRequest
|
|
36
|
+
* serviceName: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
35
38
|
* const command = new GetContainerImagesCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -35,6 +35,14 @@ export interface GetContainerLogCommandOutput extends GetContainerLogResult, __M
|
|
|
35
35
|
* import { LightsailClient, GetContainerLogCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
36
36
|
* // const { LightsailClient, GetContainerLogCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
37
37
|
* const client = new LightsailClient(config);
|
|
38
|
+
* const input = { // GetContainerLogRequest
|
|
39
|
+
* serviceName: "STRING_VALUE", // required
|
|
40
|
+
* containerName: "STRING_VALUE", // required
|
|
41
|
+
* startTime: new Date("TIMESTAMP"),
|
|
42
|
+
* endTime: new Date("TIMESTAMP"),
|
|
43
|
+
* filterPattern: "STRING_VALUE",
|
|
44
|
+
* pageToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
38
46
|
* const command = new GetContainerLogCommand(input);
|
|
39
47
|
* const response = await client.send(command);
|
|
40
48
|
* ```
|
|
@@ -36,6 +36,9 @@ export interface GetContainerServiceDeploymentsCommandOutput extends GetContaine
|
|
|
36
36
|
* import { LightsailClient, GetContainerServiceDeploymentsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
37
37
|
* // const { LightsailClient, GetContainerServiceDeploymentsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
38
38
|
* const client = new LightsailClient(config);
|
|
39
|
+
* const input = { // GetContainerServiceDeploymentsRequest
|
|
40
|
+
* serviceName: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
39
42
|
* const command = new GetContainerServiceDeploymentsCommand(input);
|
|
40
43
|
* const response = await client.send(command);
|
|
41
44
|
* ```
|
|
@@ -29,6 +29,16 @@ export interface GetContainerServiceMetricDataCommandOutput extends GetContainer
|
|
|
29
29
|
* import { LightsailClient, GetContainerServiceMetricDataCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, GetContainerServiceMetricDataCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = { // GetContainerServiceMetricDataRequest
|
|
33
|
+
* serviceName: "STRING_VALUE", // required
|
|
34
|
+
* metricName: "CPUUtilization" || "MemoryUtilization", // required
|
|
35
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
36
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
37
|
+
* period: Number("int"), // required
|
|
38
|
+
* statistics: [ // MetricStatisticList // required
|
|
39
|
+
* "Minimum" || "Maximum" || "Sum" || "Average" || "SampleCount",
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
32
42
|
* const command = new GetContainerServiceMetricDataCommand(input);
|
|
33
43
|
* const response = await client.send(command);
|
|
34
44
|
* ```
|
|
@@ -29,6 +29,7 @@ export interface GetContainerServicePowersCommandOutput extends GetContainerServ
|
|
|
29
29
|
* import { LightsailClient, GetContainerServicePowersCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, GetContainerServicePowersCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {};
|
|
32
33
|
* const command = new GetContainerServicePowersCommand(input);
|
|
33
34
|
* const response = await client.send(command);
|
|
34
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetContainerServicesCommandOutput extends ContainerServicesList
|
|
|
26
26
|
* import { LightsailClient, GetContainerServicesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetContainerServicesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetContainerServicesRequest
|
|
30
|
+
* serviceName: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetContainerServicesCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface GetCostEstimateCommandOutput extends GetCostEstimateResult, __M
|
|
|
26
26
|
* import { LightsailClient, GetCostEstimateCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetCostEstimateCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetCostEstimateRequest
|
|
30
|
+
* resourceName: "STRING_VALUE", // required
|
|
31
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
32
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new GetCostEstimateCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetDiskCommandOutput extends GetDiskResult, __MetadataBearer {
|
|
|
26
26
|
* import { LightsailClient, GetDiskCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetDiskCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetDiskRequest
|
|
30
|
+
* diskName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetDiskCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetDiskSnapshotCommandOutput extends GetDiskSnapshotResult, __M
|
|
|
26
26
|
* import { LightsailClient, GetDiskSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetDiskSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetDiskSnapshotRequest
|
|
30
|
+
* diskSnapshotName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetDiskSnapshotCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetDiskSnapshotsCommandOutput extends GetDiskSnapshotsResult, _
|
|
|
27
27
|
* import { LightsailClient, GetDiskSnapshotsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, GetDiskSnapshotsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = { // GetDiskSnapshotsRequest
|
|
31
|
+
* pageToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetDiskSnapshotsCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetDisksCommandOutput extends GetDisksResult, __MetadataBearer
|
|
|
26
26
|
* import { LightsailClient, GetDisksCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetDisksCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetDisksRequest
|
|
30
|
+
* pageToken: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetDisksCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,7 @@ export interface GetDistributionBundlesCommandOutput extends GetDistributionBund
|
|
|
29
29
|
* import { LightsailClient, GetDistributionBundlesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, GetDistributionBundlesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {};
|
|
32
33
|
* const command = new GetDistributionBundlesCommand(input);
|
|
33
34
|
* const response = await client.send(command);
|
|
34
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetDistributionLatestCacheResetCommandOutput extends GetDistrib
|
|
|
27
27
|
* import { LightsailClient, GetDistributionLatestCacheResetCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, GetDistributionLatestCacheResetCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = { // GetDistributionLatestCacheResetRequest
|
|
31
|
+
* distributionName: "STRING_VALUE",
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetDistributionLatestCacheResetCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -30,6 +30,17 @@ export interface GetDistributionMetricDataCommandOutput extends GetDistributionM
|
|
|
30
30
|
* import { LightsailClient, GetDistributionMetricDataCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, GetDistributionMetricDataCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = { // GetDistributionMetricDataRequest
|
|
34
|
+
* distributionName: "STRING_VALUE", // required
|
|
35
|
+
* metricName: "Requests" || "BytesDownloaded" || "BytesUploaded" || "TotalErrorRate" || "Http4xxErrorRate" || "Http5xxErrorRate", // required
|
|
36
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
37
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
38
|
+
* period: Number("int"), // required
|
|
39
|
+
* 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
|
|
40
|
+
* statistics: [ // MetricStatisticList // required
|
|
41
|
+
* "Minimum" || "Maximum" || "Sum" || "Average" || "SampleCount",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
33
44
|
* const command = new GetDistributionMetricDataCommand(input);
|
|
34
45
|
* const response = await client.send(command);
|
|
35
46
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface GetDistributionsCommandOutput extends GetDistributionsResult, _
|
|
|
27
27
|
* import { LightsailClient, GetDistributionsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, GetDistributionsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = { // GetDistributionsRequest
|
|
31
|
+
* distributionName: "STRING_VALUE",
|
|
32
|
+
* pageToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new GetDistributionsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetDomainCommandOutput extends GetDomainResult, __MetadataBeare
|
|
|
26
26
|
* import { LightsailClient, GetDomainCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetDomainCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetDomainRequest
|
|
30
|
+
* domainName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetDomainCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetDomainsCommandOutput extends GetDomainsResult, __MetadataBea
|
|
|
26
26
|
* import { LightsailClient, GetDomainsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetDomainsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetDomainsRequest
|
|
30
|
+
* pageToken: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetDomainsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetExportSnapshotRecordsCommandOutput extends GetExportSnapshot
|
|
|
30
30
|
* import { LightsailClient, GetExportSnapshotRecordsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, GetExportSnapshotRecordsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = { // GetExportSnapshotRecordsRequest
|
|
34
|
+
* pageToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetExportSnapshotRecordsCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface GetInstanceAccessDetailsCommandOutput extends GetInstanceAccess
|
|
|
30
30
|
* import { LightsailClient, GetInstanceAccessDetailsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, GetInstanceAccessDetailsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = { // GetInstanceAccessDetailsRequest
|
|
34
|
+
* instanceName: "STRING_VALUE", // required
|
|
35
|
+
* protocol: "ssh" || "rdp",
|
|
36
|
+
* };
|
|
33
37
|
* const command = new GetInstanceAccessDetailsCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetInstanceCommandOutput extends GetInstanceResult, __MetadataB
|
|
|
27
27
|
* import { LightsailClient, GetInstanceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, GetInstanceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = { // GetInstanceRequest
|
|
31
|
+
* instanceName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetInstanceCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -30,6 +30,17 @@ export interface GetInstanceMetricDataCommandOutput extends GetInstanceMetricDat
|
|
|
30
30
|
* import { LightsailClient, GetInstanceMetricDataCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, GetInstanceMetricDataCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = { // GetInstanceMetricDataRequest
|
|
34
|
+
* instanceName: "STRING_VALUE", // required
|
|
35
|
+
* metricName: "CPUUtilization" || "NetworkIn" || "NetworkOut" || "StatusCheckFailed" || "StatusCheckFailed_Instance" || "StatusCheckFailed_System" || "BurstCapacityTime" || "BurstCapacityPercentage" || "MetadataNoToken", // required
|
|
36
|
+
* period: Number("int"), // required
|
|
37
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
38
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
39
|
+
* 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
|
|
40
|
+
* statistics: [ // MetricStatisticList // required
|
|
41
|
+
* "Minimum" || "Maximum" || "Sum" || "Average" || "SampleCount",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
33
44
|
* const command = new GetInstanceMetricDataCommand(input);
|
|
34
45
|
* const response = await client.send(command);
|
|
35
46
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetInstancePortStatesCommandOutput extends GetInstancePortState
|
|
|
27
27
|
* import { LightsailClient, GetInstancePortStatesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, GetInstancePortStatesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = { // GetInstancePortStatesRequest
|
|
31
|
+
* instanceName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetInstancePortStatesCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetInstanceSnapshotCommandOutput extends GetInstanceSnapshotRes
|
|
|
26
26
|
* import { LightsailClient, GetInstanceSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetInstanceSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetInstanceSnapshotRequest
|
|
30
|
+
* instanceSnapshotName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetInstanceSnapshotCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetInstanceSnapshotsCommandOutput extends GetInstanceSnapshotsR
|
|
|
26
26
|
* import { LightsailClient, GetInstanceSnapshotsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetInstanceSnapshotsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetInstanceSnapshotsRequest
|
|
30
|
+
* pageToken: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetInstanceSnapshotsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetInstanceStateCommandOutput extends GetInstanceStateResult, _
|
|
|
26
26
|
* import { LightsailClient, GetInstanceStateCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetInstanceStateCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetInstanceStateRequest
|
|
30
|
+
* instanceName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetInstanceStateCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetInstancesCommandOutput extends GetInstancesResult, __Metadat
|
|
|
27
27
|
* import { LightsailClient, GetInstancesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, GetInstancesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = { // GetInstancesRequest
|
|
31
|
+
* pageToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetInstancesCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetKeyPairCommandOutput extends GetKeyPairResult, __MetadataBea
|
|
|
26
26
|
* import { LightsailClient, GetKeyPairCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetKeyPairCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetKeyPairRequest
|
|
30
|
+
* keyPairName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetKeyPairCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetKeyPairsCommandOutput extends GetKeyPairsResult, __MetadataB
|
|
|
26
26
|
* import { LightsailClient, GetKeyPairsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetKeyPairsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetKeyPairsRequest
|
|
30
|
+
* pageToken: "STRING_VALUE",
|
|
31
|
+
* includeDefaultKeyPair: true || false,
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetKeyPairsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetLoadBalancerCommandOutput extends GetLoadBalancerResult, __M
|
|
|
26
26
|
* import { LightsailClient, GetLoadBalancerCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetLoadBalancerCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetLoadBalancerRequest
|
|
30
|
+
* loadBalancerName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetLoadBalancerCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,17 @@ export interface GetLoadBalancerMetricDataCommandOutput extends GetLoadBalancerM
|
|
|
29
29
|
* import { LightsailClient, GetLoadBalancerMetricDataCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, GetLoadBalancerMetricDataCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = { // GetLoadBalancerMetricDataRequest
|
|
33
|
+
* loadBalancerName: "STRING_VALUE", // required
|
|
34
|
+
* metricName: "ClientTLSNegotiationErrorCount" || "HealthyHostCount" || "UnhealthyHostCount" || "HTTPCode_LB_4XX_Count" || "HTTPCode_LB_5XX_Count" || "HTTPCode_Instance_2XX_Count" || "HTTPCode_Instance_3XX_Count" || "HTTPCode_Instance_4XX_Count" || "HTTPCode_Instance_5XX_Count" || "InstanceResponseTime" || "RejectedConnectionCount" || "RequestCount", // required
|
|
35
|
+
* period: Number("int"), // required
|
|
36
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
37
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
38
|
+
* 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
|
|
39
|
+
* statistics: [ // MetricStatisticList // required
|
|
40
|
+
* "Minimum" || "Maximum" || "Sum" || "Average" || "SampleCount",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
32
43
|
* const command = new GetLoadBalancerMetricDataCommand(input);
|
|
33
44
|
* const response = await client.send(command);
|
|
34
45
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetLoadBalancerTlsCertificatesCommandOutput extends GetLoadBala
|
|
|
30
30
|
* import { LightsailClient, GetLoadBalancerTlsCertificatesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, GetLoadBalancerTlsCertificatesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = { // GetLoadBalancerTlsCertificatesRequest
|
|
34
|
+
* loadBalancerName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetLoadBalancerTlsCertificatesCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface GetLoadBalancerTlsPoliciesCommandOutput extends GetLoadBalancer
|
|
|
29
29
|
* import { LightsailClient, GetLoadBalancerTlsPoliciesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, GetLoadBalancerTlsPoliciesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = { // GetLoadBalancerTlsPoliciesRequest
|
|
33
|
+
* pageToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
32
35
|
* const command = new GetLoadBalancerTlsPoliciesCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetLoadBalancersCommandOutput extends GetLoadBalancersResult, _
|
|
|
26
26
|
* import { LightsailClient, GetLoadBalancersCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetLoadBalancersCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetLoadBalancersRequest
|
|
30
|
+
* pageToken: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetLoadBalancersCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetOperationCommandOutput extends GetOperationResult, __Metadat
|
|
|
27
27
|
* import { LightsailClient, GetOperationCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, GetOperationCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = { // GetOperationRequest
|
|
31
|
+
* operationId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetOperationCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface GetOperationsCommandOutput extends GetOperationsResult, __Metad
|
|
|
29
29
|
* import { LightsailClient, GetOperationsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, GetOperationsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = { // GetOperationsRequest
|
|
33
|
+
* pageToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
32
35
|
* const command = new GetOperationsCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetOperationsForResourceCommandOutput extends GetOperationsForR
|
|
|
26
26
|
* import { LightsailClient, GetOperationsForResourceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetOperationsForResourceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetOperationsForResourceRequest
|
|
30
|
+
* resourceName: "STRING_VALUE", // required
|
|
31
|
+
* pageToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetOperationsForResourceCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface GetRegionsCommandOutput extends GetRegionsResult, __MetadataBea
|
|
|
28
28
|
* import { LightsailClient, GetRegionsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
29
29
|
* // const { LightsailClient, GetRegionsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
30
30
|
* const client = new LightsailClient(config);
|
|
31
|
+
* const input = { // GetRegionsRequest
|
|
32
|
+
* includeAvailabilityZones: true || false,
|
|
33
|
+
* includeRelationalDatabaseAvailabilityZones: true || false,
|
|
34
|
+
* };
|
|
31
35
|
* const command = new GetRegionsCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface GetRelationalDatabaseBlueprintsCommandOutput extends GetRelatio
|
|
|
29
29
|
* import { LightsailClient, GetRelationalDatabaseBlueprintsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, GetRelationalDatabaseBlueprintsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = { // GetRelationalDatabaseBlueprintsRequest
|
|
33
|
+
* pageToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
32
35
|
* const command = new GetRelationalDatabaseBlueprintsCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface GetRelationalDatabaseBundlesCommandOutput extends GetRelational
|
|
|
29
29
|
* import { LightsailClient, GetRelationalDatabaseBundlesCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, GetRelationalDatabaseBundlesCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = { // GetRelationalDatabaseBundlesRequest
|
|
33
|
+
* pageToken: "STRING_VALUE",
|
|
34
|
+
* includeInactive: true || false,
|
|
35
|
+
* };
|
|
32
36
|
* const command = new GetRelationalDatabaseBundlesCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetRelationalDatabaseCommandOutput extends GetRelationalDatabas
|
|
|
26
26
|
* import { LightsailClient, GetRelationalDatabaseCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetRelationalDatabaseCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetRelationalDatabaseRequest
|
|
30
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetRelationalDatabaseCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface GetRelationalDatabaseEventsCommandOutput extends GetRelationalD
|
|
|
26
26
|
* import { LightsailClient, GetRelationalDatabaseEventsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetRelationalDatabaseEventsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetRelationalDatabaseEventsRequest
|
|
30
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
31
|
+
* durationInMinutes: Number("int"),
|
|
32
|
+
* pageToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new GetRelationalDatabaseEventsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface GetRelationalDatabaseLogEventsCommandOutput extends GetRelation
|
|
|
26
26
|
* import { LightsailClient, GetRelationalDatabaseLogEventsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetRelationalDatabaseLogEventsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetRelationalDatabaseLogEventsRequest
|
|
30
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
31
|
+
* logStreamName: "STRING_VALUE", // required
|
|
32
|
+
* startTime: new Date("TIMESTAMP"),
|
|
33
|
+
* endTime: new Date("TIMESTAMP"),
|
|
34
|
+
* startFromHead: true || false,
|
|
35
|
+
* pageToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
29
37
|
* const command = new GetRelationalDatabaseLogEventsCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetRelationalDatabaseLogStreamsCommandOutput extends GetRelatio
|
|
|
26
26
|
* import { LightsailClient, GetRelationalDatabaseLogStreamsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetRelationalDatabaseLogStreamsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetRelationalDatabaseLogStreamsRequest
|
|
30
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetRelationalDatabaseLogStreamsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface GetRelationalDatabaseMasterUserPasswordCommandOutput extends Ge
|
|
|
30
30
|
* import { LightsailClient, GetRelationalDatabaseMasterUserPasswordCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, GetRelationalDatabaseMasterUserPasswordCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = { // GetRelationalDatabaseMasterUserPasswordRequest
|
|
34
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
35
|
+
* passwordVersion: "CURRENT" || "PREVIOUS" || "PENDING",
|
|
36
|
+
* };
|
|
33
37
|
* const command = new GetRelationalDatabaseMasterUserPasswordCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -29,6 +29,17 @@ export interface GetRelationalDatabaseMetricDataCommandOutput extends GetRelatio
|
|
|
29
29
|
* import { LightsailClient, GetRelationalDatabaseMetricDataCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, GetRelationalDatabaseMetricDataCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = { // GetRelationalDatabaseMetricDataRequest
|
|
33
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
34
|
+
* metricName: "CPUUtilization" || "DatabaseConnections" || "DiskQueueDepth" || "FreeStorageSpace" || "NetworkReceiveThroughput" || "NetworkTransmitThroughput", // required
|
|
35
|
+
* period: Number("int"), // required
|
|
36
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
37
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
38
|
+
* 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
|
|
39
|
+
* statistics: [ // MetricStatisticList // required
|
|
40
|
+
* "Minimum" || "Maximum" || "Sum" || "Average" || "SampleCount",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
32
43
|
* const command = new GetRelationalDatabaseMetricDataCommand(input);
|
|
33
44
|
* const response = await client.send(command);
|
|
34
45
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface GetRelationalDatabaseParametersCommandOutput extends GetRelatio
|
|
|
30
30
|
* import { LightsailClient, GetRelationalDatabaseParametersCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, GetRelationalDatabaseParametersCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = { // GetRelationalDatabaseParametersRequest
|
|
34
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
35
|
+
* pageToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
33
37
|
* const command = new GetRelationalDatabaseParametersCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetRelationalDatabaseSnapshotCommandOutput extends GetRelationa
|
|
|
26
26
|
* import { LightsailClient, GetRelationalDatabaseSnapshotCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetRelationalDatabaseSnapshotCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetRelationalDatabaseSnapshotRequest
|
|
30
|
+
* relationalDatabaseSnapshotName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetRelationalDatabaseSnapshotCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetRelationalDatabaseSnapshotsCommandOutput extends GetRelation
|
|
|
26
26
|
* import { LightsailClient, GetRelationalDatabaseSnapshotsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetRelationalDatabaseSnapshotsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = { // GetRelationalDatabaseSnapshotsRequest
|
|
30
|
+
* pageToken: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetRelationalDatabaseSnapshotsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|