@aws-sdk/client-lightsail 3.299.0 → 3.300.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AllocateStaticIpCommand.d.ts +3 -0
- package/dist-types/commands/AttachCertificateToDistributionCommand.d.ts +4 -0
- package/dist-types/commands/AttachDiskCommand.d.ts +6 -0
- package/dist-types/commands/AttachInstancesToLoadBalancerCommand.d.ts +6 -0
- package/dist-types/commands/AttachLoadBalancerTlsCertificateCommand.d.ts +4 -0
- package/dist-types/commands/AttachStaticIpCommand.d.ts +4 -0
- package/dist-types/commands/CloseInstancePublicPortsCommand.d.ts +17 -0
- package/dist-types/commands/CopySnapshotCommand.d.ts +8 -0
- package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +3 -0
- package/dist-types/commands/CreateBucketCommand.d.ts +11 -0
- package/dist-types/commands/CreateCertificateCommand.d.ts +13 -0
- package/dist-types/commands/CreateCloudFormationStackCommand.d.ts +11 -0
- package/dist-types/commands/CreateContactMethodCommand.d.ts +4 -0
- package/dist-types/commands/CreateContainerServiceCommand.d.ts +49 -0
- package/dist-types/commands/CreateContainerServiceDeploymentCommand.d.ts +29 -0
- package/dist-types/commands/CreateContainerServiceRegistryLoginCommand.d.ts +1 -0
- package/dist-types/commands/CreateDiskCommand.d.ts +23 -0
- package/dist-types/commands/CreateDiskFromSnapshotCommand.d.ts +27 -0
- package/dist-types/commands/CreateDiskSnapshotCommand.d.ts +11 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +50 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +9 -0
- package/dist-types/commands/CreateDomainEntryCommand.d.ts +13 -0
- package/dist-types/commands/CreateGUISessionAccessDetailsCommand.d.ts +3 -0
- package/dist-types/commands/CreateInstanceSnapshotCommand.d.ts +10 -0
- package/dist-types/commands/CreateInstancesCommand.d.ts +30 -0
- package/dist-types/commands/CreateInstancesFromSnapshotCommand.d.ts +40 -0
- package/dist-types/commands/CreateKeyPairCommand.d.ts +9 -0
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +18 -0
- package/dist-types/commands/CreateLoadBalancerTlsCertificateCommand.d.ts +14 -0
- package/dist-types/commands/CreateRelationalDatabaseCommand.d.ts +18 -0
- package/dist-types/commands/CreateRelationalDatabaseFromSnapshotCommand.d.ts +16 -0
- package/dist-types/commands/CreateRelationalDatabaseSnapshotCommand.d.ts +10 -0
- package/dist-types/commands/DeleteAlarmCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAutoSnapshotCommand.d.ts +4 -0
- package/dist-types/commands/DeleteBucketAccessKeyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteBucketCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCertificateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteContactMethodCommand.d.ts +3 -0
- package/dist-types/commands/DeleteContainerImageCommand.d.ts +4 -0
- package/dist-types/commands/DeleteContainerServiceCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDiskCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDiskSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDomainCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDomainEntryCommand.d.ts +13 -0
- package/dist-types/commands/DeleteInstanceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteInstanceSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/DeleteKeyPairCommand.d.ts +4 -0
- package/dist-types/commands/DeleteKnownHostKeysCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLoadBalancerTlsCertificateCommand.d.ts +5 -0
- package/dist-types/commands/DeleteRelationalDatabaseCommand.d.ts +5 -0
- package/dist-types/commands/DeleteRelationalDatabaseSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/DetachCertificateFromDistributionCommand.d.ts +3 -0
- package/dist-types/commands/DetachDiskCommand.d.ts +3 -0
- package/dist-types/commands/DetachInstancesFromLoadBalancerCommand.d.ts +6 -0
- package/dist-types/commands/DetachStaticIpCommand.d.ts +3 -0
- package/dist-types/commands/DisableAddOnCommand.d.ts +4 -0
- package/dist-types/commands/DownloadDefaultKeyPairCommand.d.ts +1 -0
- package/dist-types/commands/EnableAddOnCommand.d.ts +13 -0
- package/dist-types/commands/ExportSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/GetActiveNamesCommand.d.ts +3 -0
- package/dist-types/commands/GetAlarmsCommand.d.ts +5 -0
- package/dist-types/commands/GetAutoSnapshotsCommand.d.ts +3 -0
- package/dist-types/commands/GetBlueprintsCommand.d.ts +5 -0
- package/dist-types/commands/GetBucketAccessKeysCommand.d.ts +3 -0
- package/dist-types/commands/GetBucketBundlesCommand.d.ts +3 -0
- package/dist-types/commands/GetBucketMetricDataCommand.d.ts +11 -0
- package/dist-types/commands/GetBucketsCommand.d.ts +5 -0
- package/dist-types/commands/GetBundlesCommand.d.ts +5 -0
- package/dist-types/commands/GetCertificatesCommand.d.ts +7 -0
- package/dist-types/commands/GetCloudFormationStackRecordsCommand.d.ts +3 -0
- package/dist-types/commands/GetContactMethodsCommand.d.ts +5 -0
- package/dist-types/commands/GetContainerAPIMetadataCommand.d.ts +1 -0
- package/dist-types/commands/GetContainerImagesCommand.d.ts +3 -0
- package/dist-types/commands/GetContainerLogCommand.d.ts +8 -0
- package/dist-types/commands/GetContainerServiceDeploymentsCommand.d.ts +3 -0
- package/dist-types/commands/GetContainerServiceMetricDataCommand.d.ts +10 -0
- package/dist-types/commands/GetContainerServicePowersCommand.d.ts +1 -0
- package/dist-types/commands/GetContainerServicesCommand.d.ts +3 -0
- package/dist-types/commands/GetCostEstimateCommand.d.ts +5 -0
- package/dist-types/commands/GetDiskCommand.d.ts +3 -0
- package/dist-types/commands/GetDiskSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/GetDiskSnapshotsCommand.d.ts +3 -0
- package/dist-types/commands/GetDisksCommand.d.ts +3 -0
- package/dist-types/commands/GetDistributionBundlesCommand.d.ts +1 -0
- package/dist-types/commands/GetDistributionLatestCacheResetCommand.d.ts +3 -0
- package/dist-types/commands/GetDistributionMetricDataCommand.d.ts +11 -0
- package/dist-types/commands/GetDistributionsCommand.d.ts +4 -0
- package/dist-types/commands/GetDomainCommand.d.ts +3 -0
- package/dist-types/commands/GetDomainsCommand.d.ts +3 -0
- package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +3 -0
- package/dist-types/commands/GetInstanceAccessDetailsCommand.d.ts +4 -0
- package/dist-types/commands/GetInstanceCommand.d.ts +3 -0
- package/dist-types/commands/GetInstanceMetricDataCommand.d.ts +11 -0
- package/dist-types/commands/GetInstancePortStatesCommand.d.ts +3 -0
- package/dist-types/commands/GetInstanceSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/GetInstanceSnapshotsCommand.d.ts +3 -0
- package/dist-types/commands/GetInstanceStateCommand.d.ts +3 -0
- package/dist-types/commands/GetInstancesCommand.d.ts +3 -0
- package/dist-types/commands/GetKeyPairCommand.d.ts +3 -0
- package/dist-types/commands/GetKeyPairsCommand.d.ts +4 -0
- package/dist-types/commands/GetLoadBalancerCommand.d.ts +3 -0
- package/dist-types/commands/GetLoadBalancerMetricDataCommand.d.ts +11 -0
- package/dist-types/commands/GetLoadBalancerTlsCertificatesCommand.d.ts +3 -0
- package/dist-types/commands/GetLoadBalancerTlsPoliciesCommand.d.ts +3 -0
- package/dist-types/commands/GetLoadBalancersCommand.d.ts +3 -0
- package/dist-types/commands/GetOperationCommand.d.ts +3 -0
- package/dist-types/commands/GetOperationsCommand.d.ts +3 -0
- package/dist-types/commands/GetOperationsForResourceCommand.d.ts +4 -0
- package/dist-types/commands/GetRegionsCommand.d.ts +4 -0
- package/dist-types/commands/GetRelationalDatabaseBlueprintsCommand.d.ts +3 -0
- package/dist-types/commands/GetRelationalDatabaseBundlesCommand.d.ts +4 -0
- package/dist-types/commands/GetRelationalDatabaseCommand.d.ts +3 -0
- package/dist-types/commands/GetRelationalDatabaseEventsCommand.d.ts +5 -0
- package/dist-types/commands/GetRelationalDatabaseLogEventsCommand.d.ts +8 -0
- package/dist-types/commands/GetRelationalDatabaseLogStreamsCommand.d.ts +3 -0
- package/dist-types/commands/GetRelationalDatabaseMasterUserPasswordCommand.d.ts +4 -0
- package/dist-types/commands/GetRelationalDatabaseMetricDataCommand.d.ts +11 -0
- package/dist-types/commands/GetRelationalDatabaseParametersCommand.d.ts +4 -0
- package/dist-types/commands/GetRelationalDatabaseSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/GetRelationalDatabaseSnapshotsCommand.d.ts +3 -0
- package/dist-types/commands/GetRelationalDatabasesCommand.d.ts +3 -0
- package/dist-types/commands/GetStaticIpCommand.d.ts +3 -0
- package/dist-types/commands/GetStaticIpsCommand.d.ts +3 -0
- package/dist-types/commands/ImportKeyPairCommand.d.ts +4 -0
- package/dist-types/commands/IsVpcPeeredCommand.d.ts +1 -0
- package/dist-types/commands/OpenInstancePublicPortsCommand.d.ts +17 -0
- package/dist-types/commands/PeerVpcCommand.d.ts +1 -0
- package/dist-types/commands/PutAlarmCommand.d.ts +17 -0
- package/dist-types/commands/PutInstancePublicPortsCommand.d.ts +19 -0
- package/dist-types/commands/RebootInstanceCommand.d.ts +3 -0
- package/dist-types/commands/RebootRelationalDatabaseCommand.d.ts +3 -0
- package/dist-types/commands/RegisterContainerImageCommand.d.ts +5 -0
- package/dist-types/commands/ReleaseStaticIpCommand.d.ts +3 -0
- package/dist-types/commands/ResetDistributionCacheCommand.d.ts +3 -0
- package/dist-types/commands/SendContactMethodVerificationCommand.d.ts +3 -0
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +5 -0
- package/dist-types/commands/SetResourceAccessForBucketCommand.d.ts +5 -0
- package/dist-types/commands/StartGUISessionCommand.d.ts +3 -0
- package/dist-types/commands/StartInstanceCommand.d.ts +3 -0
- package/dist-types/commands/StartRelationalDatabaseCommand.d.ts +3 -0
- package/dist-types/commands/StopGUISessionCommand.d.ts +3 -0
- package/dist-types/commands/StopInstanceCommand.d.ts +4 -0
- package/dist-types/commands/StopRelationalDatabaseCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +10 -0
- package/dist-types/commands/TestAlarmCommand.d.ts +4 -0
- package/dist-types/commands/UnpeerVpcCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +7 -0
- package/dist-types/commands/UpdateBucketBundleCommand.d.ts +4 -0
- package/dist-types/commands/UpdateBucketCommand.d.ts +16 -0
- package/dist-types/commands/UpdateContainerServiceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +43 -0
- package/dist-types/commands/UpdateDomainEntryCommand.d.ts +13 -0
- package/dist-types/commands/UpdateInstanceMetadataOptionsCommand.d.ts +7 -0
- package/dist-types/commands/UpdateLoadBalancerAttributeCommand.d.ts +5 -0
- package/dist-types/commands/UpdateRelationalDatabaseCommand.d.ts +12 -0
- package/dist-types/commands/UpdateRelationalDatabaseParametersCommand.d.ts +15 -0
- package/package.json +8 -8
|
@@ -26,6 +26,9 @@ export interface GetStaticIpCommandOutput extends GetStaticIpResult, __MetadataB
|
|
|
26
26
|
* import { LightsailClient, GetStaticIpCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetStaticIpCommand } = 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 GetStaticIpCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetStaticIpsCommandOutput extends GetStaticIpsResult, __Metadat
|
|
|
26
26
|
* import { LightsailClient, GetStaticIpsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, GetStaticIpsCommand } = 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 GetStaticIpsCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ImportKeyPairCommandOutput extends ImportKeyPairResult, __Metad
|
|
|
26
26
|
* import { LightsailClient, ImportKeyPairCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, ImportKeyPairCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* keyPairName: "STRING_VALUE", // required
|
|
31
|
+
* publicKeyBase64: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ImportKeyPairCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface IsVpcPeeredCommandOutput extends IsVpcPeeredResult, __MetadataB
|
|
|
26
26
|
* import { LightsailClient, IsVpcPeeredCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, IsVpcPeeredCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new IsVpcPeeredCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -30,6 +30,23 @@ export interface OpenInstancePublicPortsCommandOutput extends OpenInstancePublic
|
|
|
30
30
|
* import { LightsailClient, OpenInstancePublicPortsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, OpenInstancePublicPortsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* portInfo: {
|
|
35
|
+
* fromPort: Number("int"),
|
|
36
|
+
* toPort: Number("int"),
|
|
37
|
+
* protocol: "tcp" || "all" || "udp" || "icmp",
|
|
38
|
+
* cidrs: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* ipv6Cidrs: [
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* cidrListAliases: [
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* instanceName: "STRING_VALUE", // required
|
|
49
|
+
* };
|
|
33
50
|
* const command = new OpenInstancePublicPortsCommand(input);
|
|
34
51
|
* const response = await client.send(command);
|
|
35
52
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface PeerVpcCommandOutput extends PeerVpcResult, __MetadataBearer {
|
|
|
26
26
|
* import { LightsailClient, PeerVpcCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, PeerVpcCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new PeerVpcCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -36,6 +36,23 @@ export interface PutAlarmCommandOutput extends PutAlarmResult, __MetadataBearer
|
|
|
36
36
|
* import { LightsailClient, PutAlarmCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
37
37
|
* // const { LightsailClient, PutAlarmCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
38
38
|
* const client = new LightsailClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* alarmName: "STRING_VALUE", // required
|
|
41
|
+
* metricName: "CPUUtilization" || "NetworkIn" || "NetworkOut" || "StatusCheckFailed" || "StatusCheckFailed_Instance" || "StatusCheckFailed_System" || "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" || "DatabaseConnections" || "DiskQueueDepth" || "FreeStorageSpace" || "NetworkReceiveThroughput" || "NetworkTransmitThroughput" || "BurstCapacityTime" || "BurstCapacityPercentage", // required
|
|
42
|
+
* monitoredResourceName: "STRING_VALUE", // required
|
|
43
|
+
* comparisonOperator: "GreaterThanOrEqualToThreshold" || "GreaterThanThreshold" || "LessThanThreshold" || "LessThanOrEqualToThreshold", // required
|
|
44
|
+
* threshold: Number("double"), // required
|
|
45
|
+
* evaluationPeriods: Number("int"), // required
|
|
46
|
+
* datapointsToAlarm: Number("int"),
|
|
47
|
+
* treatMissingData: "breaching" || "notBreaching" || "ignore" || "missing",
|
|
48
|
+
* contactProtocols: [
|
|
49
|
+
* "Email" || "SMS",
|
|
50
|
+
* ],
|
|
51
|
+
* notificationTriggers: [
|
|
52
|
+
* "OK" || "ALARM" || "INSUFFICIENT_DATA",
|
|
53
|
+
* ],
|
|
54
|
+
* notificationEnabled: true || false,
|
|
55
|
+
* };
|
|
39
56
|
* const command = new PutAlarmCommand(input);
|
|
40
57
|
* const response = await client.send(command);
|
|
41
58
|
* ```
|
|
@@ -34,6 +34,25 @@ export interface PutInstancePublicPortsCommandOutput extends PutInstancePublicPo
|
|
|
34
34
|
* import { LightsailClient, PutInstancePublicPortsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
35
35
|
* // const { LightsailClient, PutInstancePublicPortsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
36
36
|
* const client = new LightsailClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* portInfos: [ // required
|
|
39
|
+
* {
|
|
40
|
+
* fromPort: Number("int"),
|
|
41
|
+
* toPort: Number("int"),
|
|
42
|
+
* protocol: "tcp" || "all" || "udp" || "icmp",
|
|
43
|
+
* cidrs: [
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* ipv6Cidrs: [
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* cidrListAliases: [
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* instanceName: "STRING_VALUE", // required
|
|
55
|
+
* };
|
|
37
56
|
* const command = new PutInstancePublicPortsCommand(input);
|
|
38
57
|
* const response = await client.send(command);
|
|
39
58
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface RebootInstanceCommandOutput extends RebootInstanceResult, __Met
|
|
|
29
29
|
* import { LightsailClient, RebootInstanceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, RebootInstanceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* instanceName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new RebootInstanceCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface RebootRelationalDatabaseCommandOutput extends RebootRelationalD
|
|
|
29
29
|
* import { LightsailClient, RebootRelationalDatabaseCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, RebootRelationalDatabaseCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new RebootRelationalDatabaseCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -32,6 +32,11 @@ export interface RegisterContainerImageCommandOutput extends RegisterContainerIm
|
|
|
32
32
|
* import { LightsailClient, RegisterContainerImageCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
33
33
|
* // const { LightsailClient, RegisterContainerImageCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
34
34
|
* const client = new LightsailClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* serviceName: "STRING_VALUE", // required
|
|
37
|
+
* label: "STRING_VALUE", // required
|
|
38
|
+
* digest: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
35
40
|
* const command = new RegisterContainerImageCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ReleaseStaticIpCommandOutput extends ReleaseStaticIpResult, __M
|
|
|
26
26
|
* import { LightsailClient, ReleaseStaticIpCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, ReleaseStaticIpCommand } = 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 ReleaseStaticIpCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface ResetDistributionCacheCommandOutput extends ResetDistributionCa
|
|
|
29
29
|
* import { LightsailClient, ResetDistributionCacheCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, ResetDistributionCacheCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* distributionName: "STRING_VALUE",
|
|
34
|
+
* };
|
|
32
35
|
* const command = new ResetDistributionCacheCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -38,6 +38,9 @@ export interface SendContactMethodVerificationCommandOutput extends SendContactM
|
|
|
38
38
|
* import { LightsailClient, SendContactMethodVerificationCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
39
39
|
* // const { LightsailClient, SendContactMethodVerificationCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
40
40
|
* const client = new LightsailClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* protocol: "Email", // required
|
|
43
|
+
* };
|
|
41
44
|
* const command = new SendContactMethodVerificationCommand(input);
|
|
42
45
|
* const response = await client.send(command);
|
|
43
46
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface SetIpAddressTypeCommandOutput extends SetIpAddressTypeResult, _
|
|
|
29
29
|
* import { LightsailClient, SetIpAddressTypeCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, SetIpAddressTypeCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket", // required
|
|
34
|
+
* resourceName: "STRING_VALUE", // required
|
|
35
|
+
* ipAddressType: "dualstack" || "ipv4", // required
|
|
36
|
+
* };
|
|
32
37
|
* const command = new SetIpAddressTypeCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface SetResourceAccessForBucketCommandOutput extends SetResourceAcce
|
|
|
29
29
|
* import { LightsailClient, SetResourceAccessForBucketCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, SetResourceAccessForBucketCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
31
31
|
* const client = new LightsailClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* resourceName: "STRING_VALUE", // required
|
|
34
|
+
* bucketName: "STRING_VALUE", // required
|
|
35
|
+
* access: "allow" || "deny", // required
|
|
36
|
+
* };
|
|
32
37
|
* const command = new SetResourceAccessForBucketCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface StartGUISessionCommandOutput extends StartGUISessionResult, __M
|
|
|
27
27
|
* import { LightsailClient, StartGUISessionCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, StartGUISessionCommand } = 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 StartGUISessionCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -35,6 +35,9 @@ export interface StartInstanceCommandOutput extends StartInstanceResult, __Metad
|
|
|
35
35
|
* import { LightsailClient, StartInstanceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
36
36
|
* // const { LightsailClient, StartInstanceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
37
37
|
* const client = new LightsailClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* instanceName: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
38
41
|
* const command = new StartInstanceCommand(input);
|
|
39
42
|
* const response = await client.send(command);
|
|
40
43
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface StartRelationalDatabaseCommandOutput extends StartRelationalDat
|
|
|
30
30
|
* import { LightsailClient, StartRelationalDatabaseCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, StartRelationalDatabaseCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new StartRelationalDatabaseCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface StopGUISessionCommandOutput extends StopGUISessionResult, __Met
|
|
|
27
27
|
* import { LightsailClient, StopGUISessionCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, StopGUISessionCommand } = 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 StopGUISessionCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -34,6 +34,10 @@ export interface StopInstanceCommandOutput extends StopInstanceResult, __Metadat
|
|
|
34
34
|
* import { LightsailClient, StopInstanceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
35
35
|
* // const { LightsailClient, StopInstanceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
36
36
|
* const client = new LightsailClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* instanceName: "STRING_VALUE", // required
|
|
39
|
+
* force: true || false,
|
|
40
|
+
* };
|
|
37
41
|
* const command = new StopInstanceCommand(input);
|
|
38
42
|
* const response = await client.send(command);
|
|
39
43
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface StopRelationalDatabaseCommandOutput extends StopRelationalDatab
|
|
|
29
29
|
* import { LightsailClient, StopRelationalDatabaseCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, StopRelationalDatabaseCommand } = 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",
|
|
35
|
+
* };
|
|
32
36
|
* const command = new StopRelationalDatabaseCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -31,6 +31,16 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
|
|
|
31
31
|
* import { LightsailClient, TagResourceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
32
32
|
* // const { LightsailClient, TagResourceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
33
33
|
* const client = new LightsailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* resourceName: "STRING_VALUE", // required
|
|
36
|
+
* resourceArn: "STRING_VALUE",
|
|
37
|
+
* tags: [ // required
|
|
38
|
+
* {
|
|
39
|
+
* key: "STRING_VALUE",
|
|
40
|
+
* value: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
34
44
|
* const command = new TagResourceCommand(input);
|
|
35
45
|
* const response = await client.send(command);
|
|
36
46
|
* ```
|
|
@@ -33,6 +33,10 @@ export interface TestAlarmCommandOutput extends TestAlarmResult, __MetadataBeare
|
|
|
33
33
|
* import { LightsailClient, TestAlarmCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
34
34
|
* // const { LightsailClient, TestAlarmCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
35
35
|
* const client = new LightsailClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* alarmName: "STRING_VALUE", // required
|
|
38
|
+
* state: "OK" || "ALARM" || "INSUFFICIENT_DATA", // required
|
|
39
|
+
* };
|
|
36
40
|
* const command = new TestAlarmCommand(input);
|
|
37
41
|
* const response = await client.send(command);
|
|
38
42
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface UnpeerVpcCommandOutput extends UnpeerVpcResult, __MetadataBeare
|
|
|
26
26
|
* import { LightsailClient, UnpeerVpcCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
27
27
|
* // const { LightsailClient, UnpeerVpcCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
28
28
|
* const client = new LightsailClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new UnpeerVpcCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -30,6 +30,13 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
|
|
|
30
30
|
* import { LightsailClient, UntagResourceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, UntagResourceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* resourceName: "STRING_VALUE", // required
|
|
35
|
+
* resourceArn: "STRING_VALUE",
|
|
36
|
+
* tagKeys: [ // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
33
40
|
* const command = new UntagResourceCommand(input);
|
|
34
41
|
* const response = await client.send(command);
|
|
35
42
|
* ```
|
|
@@ -38,6 +38,10 @@ export interface UpdateBucketBundleCommandOutput extends UpdateBucketBundleResul
|
|
|
38
38
|
* import { LightsailClient, UpdateBucketBundleCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
39
39
|
* // const { LightsailClient, UpdateBucketBundleCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
40
40
|
* const client = new LightsailClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* bucketName: "STRING_VALUE", // required
|
|
43
|
+
* bundleId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
41
45
|
* const command = new UpdateBucketBundleCommand(input);
|
|
42
46
|
* const response = await client.send(command);
|
|
43
47
|
* ```
|
|
@@ -28,6 +28,22 @@ export interface UpdateBucketCommandOutput extends UpdateBucketResult, __Metadat
|
|
|
28
28
|
* import { LightsailClient, UpdateBucketCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
29
29
|
* // const { LightsailClient, UpdateBucketCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
30
30
|
* const client = new LightsailClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* bucketName: "STRING_VALUE", // required
|
|
33
|
+
* accessRules: {
|
|
34
|
+
* getObject: "public" || "private",
|
|
35
|
+
* allowPublicOverrides: true || false,
|
|
36
|
+
* },
|
|
37
|
+
* versioning: "STRING_VALUE",
|
|
38
|
+
* readonlyAccessAccounts: [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* accessLogConfig: {
|
|
42
|
+
* enabled: true || false, // required
|
|
43
|
+
* destination: "STRING_VALUE",
|
|
44
|
+
* prefix: "STRING_VALUE",
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
31
47
|
* const command = new UpdateBucketCommand(input);
|
|
32
48
|
* const response = await client.send(command);
|
|
33
49
|
* ```
|
|
@@ -27,6 +27,22 @@ export interface UpdateContainerServiceCommandOutput extends UpdateContainerServ
|
|
|
27
27
|
* import { LightsailClient, UpdateContainerServiceCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, UpdateContainerServiceCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* serviceName: "STRING_VALUE", // required
|
|
32
|
+
* power: "nano" || "micro" || "small" || "medium" || "large" || "xlarge",
|
|
33
|
+
* scale: Number("int"),
|
|
34
|
+
* isDisabled: true || false,
|
|
35
|
+
* publicDomainNames: {
|
|
36
|
+
* "<keys>": [
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* },
|
|
40
|
+
* privateRegistryAccess: {
|
|
41
|
+
* ecrImagePullerRole: {
|
|
42
|
+
* isActive: true || false,
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
30
46
|
* const command = new UpdateContainerServiceCommand(input);
|
|
31
47
|
* const response = await client.send(command);
|
|
32
48
|
* ```
|
|
@@ -34,6 +34,10 @@ export interface UpdateDistributionBundleCommandOutput extends UpdateDistributio
|
|
|
34
34
|
* import { LightsailClient, UpdateDistributionBundleCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
35
35
|
* // const { LightsailClient, UpdateDistributionBundleCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
36
36
|
* const client = new LightsailClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* distributionName: "STRING_VALUE",
|
|
39
|
+
* bundleId: "STRING_VALUE",
|
|
40
|
+
* };
|
|
37
41
|
* const command = new UpdateDistributionBundleCommand(input);
|
|
38
42
|
* const response = await client.send(command);
|
|
39
43
|
* ```
|
|
@@ -27,6 +27,49 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
|
|
|
27
27
|
* import { LightsailClient, UpdateDistributionCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
28
28
|
* // const { LightsailClient, UpdateDistributionCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
29
29
|
* const client = new LightsailClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* distributionName: "STRING_VALUE", // required
|
|
32
|
+
* origin: {
|
|
33
|
+
* name: "STRING_VALUE",
|
|
34
|
+
* regionName: "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-central-1" || "ca-central-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-northeast-1" || "ap-northeast-2" || "eu-north-1",
|
|
35
|
+
* protocolPolicy: "http-only" || "https-only",
|
|
36
|
+
* },
|
|
37
|
+
* defaultCacheBehavior: {
|
|
38
|
+
* behavior: "dont-cache" || "cache",
|
|
39
|
+
* },
|
|
40
|
+
* cacheBehaviorSettings: {
|
|
41
|
+
* defaultTTL: Number("long"),
|
|
42
|
+
* minimumTTL: Number("long"),
|
|
43
|
+
* maximumTTL: Number("long"),
|
|
44
|
+
* allowedHTTPMethods: "STRING_VALUE",
|
|
45
|
+
* cachedHTTPMethods: "STRING_VALUE",
|
|
46
|
+
* forwardedCookies: {
|
|
47
|
+
* option: "none" || "allow-list" || "all",
|
|
48
|
+
* cookiesAllowList: [
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* forwardedHeaders: {
|
|
53
|
+
* option: "none" || "allow-list" || "all",
|
|
54
|
+
* headersAllowList: [
|
|
55
|
+
* "Accept" || "Accept-Charset" || "Accept-Datetime" || "Accept-Encoding" || "Accept-Language" || "Authorization" || "CloudFront-Forwarded-Proto" || "CloudFront-Is-Desktop-Viewer" || "CloudFront-Is-Mobile-Viewer" || "CloudFront-Is-SmartTV-Viewer" || "CloudFront-Is-Tablet-Viewer" || "CloudFront-Viewer-Country" || "Host" || "Origin" || "Referer",
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* forwardedQueryStrings: {
|
|
59
|
+
* option: true || false,
|
|
60
|
+
* queryStringsAllowList: [
|
|
61
|
+
* "STRING_VALUE",
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* },
|
|
65
|
+
* cacheBehaviors: [
|
|
66
|
+
* {
|
|
67
|
+
* path: "STRING_VALUE",
|
|
68
|
+
* behavior: "dont-cache" || "cache",
|
|
69
|
+
* },
|
|
70
|
+
* ],
|
|
71
|
+
* isEnabled: true || false,
|
|
72
|
+
* };
|
|
30
73
|
* const command = new UpdateDistributionCommand(input);
|
|
31
74
|
* const response = await client.send(command);
|
|
32
75
|
* ```
|
|
@@ -29,6 +29,19 @@ export interface UpdateDomainEntryCommandOutput extends UpdateDomainEntryResult,
|
|
|
29
29
|
* import { LightsailClient, UpdateDomainEntryCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
30
30
|
* // const { LightsailClient, UpdateDomainEntryCommand } = 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 UpdateDomainEntryCommand(input);
|
|
33
46
|
* const response = await client.send(command);
|
|
34
47
|
* ```
|
|
@@ -31,6 +31,13 @@ export interface UpdateInstanceMetadataOptionsCommandOutput extends UpdateInstan
|
|
|
31
31
|
* import { LightsailClient, UpdateInstanceMetadataOptionsCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
32
32
|
* // const { LightsailClient, UpdateInstanceMetadataOptionsCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
33
33
|
* const client = new LightsailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* instanceName: "STRING_VALUE", // required
|
|
36
|
+
* httpTokens: "optional" || "required",
|
|
37
|
+
* httpEndpoint: "disabled" || "enabled",
|
|
38
|
+
* httpPutResponseHopLimit: Number("int"),
|
|
39
|
+
* httpProtocolIpv6: "disabled" || "enabled",
|
|
40
|
+
* };
|
|
34
41
|
* const command = new UpdateInstanceMetadataOptionsCommand(input);
|
|
35
42
|
* const response = await client.send(command);
|
|
36
43
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface UpdateLoadBalancerAttributeCommandOutput extends UpdateLoadBala
|
|
|
30
30
|
* import { LightsailClient, UpdateLoadBalancerAttributeCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
31
31
|
* // const { LightsailClient, UpdateLoadBalancerAttributeCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
32
32
|
* const client = new LightsailClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* loadBalancerName: "STRING_VALUE", // required
|
|
35
|
+
* attributeName: "HealthCheckPath" || "SessionStickinessEnabled" || "SessionStickiness_LB_CookieDurationSeconds" || "HttpsRedirectionEnabled" || "TlsPolicyName", // required
|
|
36
|
+
* attributeValue: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
33
38
|
* const command = new UpdateLoadBalancerAttributeCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -31,6 +31,18 @@ export interface UpdateRelationalDatabaseCommandOutput extends UpdateRelationalD
|
|
|
31
31
|
* import { LightsailClient, UpdateRelationalDatabaseCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
32
32
|
* // const { LightsailClient, UpdateRelationalDatabaseCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
33
33
|
* const client = new LightsailClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
36
|
+
* masterUserPassword: "STRING_VALUE",
|
|
37
|
+
* rotateMasterUserPassword: true || false,
|
|
38
|
+
* preferredBackupWindow: "STRING_VALUE",
|
|
39
|
+
* preferredMaintenanceWindow: "STRING_VALUE",
|
|
40
|
+
* enableBackupRetention: true || false,
|
|
41
|
+
* disableBackupRetention: true || false,
|
|
42
|
+
* publiclyAccessible: true || false,
|
|
43
|
+
* applyImmediately: true || false,
|
|
44
|
+
* caCertificateIdentifier: "STRING_VALUE",
|
|
45
|
+
* };
|
|
34
46
|
* const command = new UpdateRelationalDatabaseCommand(input);
|
|
35
47
|
* const response = await client.send(command);
|
|
36
48
|
* ```
|
|
@@ -35,6 +35,21 @@ export interface UpdateRelationalDatabaseParametersCommandOutput extends UpdateR
|
|
|
35
35
|
* import { LightsailClient, UpdateRelationalDatabaseParametersCommand } from "@aws-sdk/client-lightsail"; // ES Modules import
|
|
36
36
|
* // const { LightsailClient, UpdateRelationalDatabaseParametersCommand } = require("@aws-sdk/client-lightsail"); // CommonJS import
|
|
37
37
|
* const client = new LightsailClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* relationalDatabaseName: "STRING_VALUE", // required
|
|
40
|
+
* parameters: [ // required
|
|
41
|
+
* {
|
|
42
|
+
* allowedValues: "STRING_VALUE",
|
|
43
|
+
* applyMethod: "STRING_VALUE",
|
|
44
|
+
* applyType: "STRING_VALUE",
|
|
45
|
+
* dataType: "STRING_VALUE",
|
|
46
|
+
* description: "STRING_VALUE",
|
|
47
|
+
* isModifiable: true || false,
|
|
48
|
+
* parameterName: "STRING_VALUE",
|
|
49
|
+
* parameterValue: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* };
|
|
38
53
|
* const command = new UpdateRelationalDatabaseParametersCommand(input);
|
|
39
54
|
* const response = await client.send(command);
|
|
40
55
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lightsail",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lightsail Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|