@aws-sdk/client-lightsail 3.1023.0 → 3.1025.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-cjs/index.js +1 -0
- package/dist-cjs/schemas/schemas_0.js +4 -4
- package/dist-es/models/enums.js +1 -0
- package/dist-es/schemas/schemas_0.js +4 -4
- package/dist-types/commands/AllocateStaticIpCommand.d.ts +1 -1
- package/dist-types/commands/AttachCertificateToDistributionCommand.d.ts +1 -1
- package/dist-types/commands/AttachDiskCommand.d.ts +1 -1
- package/dist-types/commands/AttachInstancesToLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/AttachLoadBalancerTlsCertificateCommand.d.ts +1 -1
- package/dist-types/commands/AttachStaticIpCommand.d.ts +1 -1
- package/dist-types/commands/CloseInstancePublicPortsCommand.d.ts +1 -1
- package/dist-types/commands/CopySnapshotCommand.d.ts +2 -2
- package/dist-types/commands/CreateBucketAccessKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateBucketCommand.d.ts +2 -2
- package/dist-types/commands/CreateCertificateCommand.d.ts +1 -1
- package/dist-types/commands/CreateCloudFormationStackCommand.d.ts +1 -1
- package/dist-types/commands/CreateContactMethodCommand.d.ts +3 -1
- package/dist-types/commands/CreateContainerServiceCommand.d.ts +1 -1
- package/dist-types/commands/CreateContainerServiceDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/CreateDiskCommand.d.ts +1 -1
- package/dist-types/commands/CreateDiskFromSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateDiskSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateDistributionCommand.d.ts +4 -4
- package/dist-types/commands/CreateDomainCommand.d.ts +1 -1
- package/dist-types/commands/CreateDomainEntryCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstancesCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstancesFromSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateKeyPairCommand.d.ts +2 -2
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/CreateLoadBalancerTlsCertificateCommand.d.ts +1 -1
- package/dist-types/commands/CreateRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/CreateRelationalDatabaseFromSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateRelationalDatabaseSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAlarmCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAutoSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketAccessKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContactMethodCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDiskCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDiskSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainEntryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInstanceSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKnownHostKeysCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLoadBalancerTlsCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRelationalDatabaseSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DetachCertificateFromDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DetachDiskCommand.d.ts +1 -1
- package/dist-types/commands/DetachInstancesFromLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/DetachStaticIpCommand.d.ts +1 -1
- package/dist-types/commands/DisableAddOnCommand.d.ts +1 -1
- package/dist-types/commands/EnableAddOnCommand.d.ts +1 -1
- package/dist-types/commands/ExportSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/GetAlarmsCommand.d.ts +7 -1
- package/dist-types/commands/GetBucketsCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudFormationStackRecordsCommand.d.ts +1 -1
- package/dist-types/commands/GetContactMethodsCommand.d.ts +1 -1
- package/dist-types/commands/GetContainerServicesCommand.d.ts +1 -1
- package/dist-types/commands/GetDiskCommand.d.ts +1 -1
- package/dist-types/commands/GetDiskSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/GetDiskSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/GetDisksCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionsCommand.d.ts +2 -2
- package/dist-types/commands/GetDomainCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainsCommand.d.ts +1 -1
- package/dist-types/commands/GetExportSnapshotRecordsCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceCommand.d.ts +2 -2
- package/dist-types/commands/GetInstanceSnapshotCommand.d.ts +2 -2
- package/dist-types/commands/GetInstanceSnapshotsCommand.d.ts +2 -2
- package/dist-types/commands/GetInstancesCommand.d.ts +2 -2
- package/dist-types/commands/GetKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/GetKeyPairsCommand.d.ts +1 -1
- package/dist-types/commands/GetLoadBalancerCommand.d.ts +1 -1
- package/dist-types/commands/GetLoadBalancerTlsCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/GetLoadBalancersCommand.d.ts +1 -1
- package/dist-types/commands/GetOperationCommand.d.ts +1 -1
- package/dist-types/commands/GetOperationsCommand.d.ts +1 -1
- package/dist-types/commands/GetOperationsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/GetRegionsCommand.d.ts +1 -1
- package/dist-types/commands/GetRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/GetRelationalDatabaseSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/GetRelationalDatabaseSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/GetRelationalDatabasesCommand.d.ts +1 -1
- package/dist-types/commands/GetSetupHistoryCommand.d.ts +1 -1
- package/dist-types/commands/GetStaticIpCommand.d.ts +1 -1
- package/dist-types/commands/GetStaticIpsCommand.d.ts +1 -1
- package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/OpenInstancePublicPortsCommand.d.ts +1 -1
- package/dist-types/commands/PeerVpcCommand.d.ts +1 -1
- package/dist-types/commands/PutAlarmCommand.d.ts +9 -1
- package/dist-types/commands/PutInstancePublicPortsCommand.d.ts +1 -1
- package/dist-types/commands/RebootInstanceCommand.d.ts +1 -1
- package/dist-types/commands/RebootRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseStaticIpCommand.d.ts +1 -1
- package/dist-types/commands/ResetDistributionCacheCommand.d.ts +1 -1
- package/dist-types/commands/SendContactMethodVerificationCommand.d.ts +1 -1
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +1 -1
- package/dist-types/commands/SetResourceAccessForBucketCommand.d.ts +1 -1
- package/dist-types/commands/SetupInstanceHttpsCommand.d.ts +1 -1
- package/dist-types/commands/StartGUISessionCommand.d.ts +1 -1
- package/dist-types/commands/StartInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StartRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/StopGUISessionCommand.d.ts +1 -1
- package/dist-types/commands/StopInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StopRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestAlarmCommand.d.ts +1 -1
- package/dist-types/commands/UnpeerVpcCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBucketBundleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBucketCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContainerServiceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDistributionBundleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDistributionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDomainEntryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInstanceMetadataOptionsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLoadBalancerAttributeCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRelationalDatabaseCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRelationalDatabaseParametersCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +27 -21
- package/dist-types/models/models_1.d.ts +6 -0
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -4
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/package.json +1 -1
|
@@ -442,6 +442,27 @@ export interface MonitoredResourceInfo {
|
|
|
442
442
|
*/
|
|
443
443
|
resourceType?: ResourceType | undefined;
|
|
444
444
|
}
|
|
445
|
+
/**
|
|
446
|
+
* <p>Describes a tag key and optional value assigned to an Amazon Lightsail resource.</p>
|
|
447
|
+
* <p>For more information about tags in Lightsail, see the <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags">Amazon Lightsail Developer Guide</a>.</p>
|
|
448
|
+
* @public
|
|
449
|
+
*/
|
|
450
|
+
export interface Tag {
|
|
451
|
+
/**
|
|
452
|
+
* <p>The key of the tag.</p>
|
|
453
|
+
* <p>Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the
|
|
454
|
+
* following characters: + - = . _ : / @</p>
|
|
455
|
+
* @public
|
|
456
|
+
*/
|
|
457
|
+
key?: string | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* <p>The value of the tag.</p>
|
|
460
|
+
* <p>Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the
|
|
461
|
+
* following characters: + - = . _ : / @</p>
|
|
462
|
+
* @public
|
|
463
|
+
*/
|
|
464
|
+
value?: string | undefined;
|
|
465
|
+
}
|
|
445
466
|
/**
|
|
446
467
|
* <p>Describes an alarm.</p>
|
|
447
468
|
* <p>An alarm is a way to monitor your Lightsail resource metrics. For more information, see
|
|
@@ -623,6 +644,12 @@ export interface Alarm {
|
|
|
623
644
|
* @public
|
|
624
645
|
*/
|
|
625
646
|
notificationEnabled?: boolean | undefined;
|
|
647
|
+
/**
|
|
648
|
+
* <p>The tag keys and optional values for the resource. For more information about tags in
|
|
649
|
+
* Lightsail, see the <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags">Amazon Lightsail Developer Guide</a>.</p>
|
|
650
|
+
* @public
|
|
651
|
+
*/
|
|
652
|
+
tags?: Tag[] | undefined;
|
|
626
653
|
}
|
|
627
654
|
/**
|
|
628
655
|
* @public
|
|
@@ -1177,27 +1204,6 @@ export interface BucketState {
|
|
|
1177
1204
|
*/
|
|
1178
1205
|
message?: string | undefined;
|
|
1179
1206
|
}
|
|
1180
|
-
/**
|
|
1181
|
-
* <p>Describes a tag key and optional value assigned to an Amazon Lightsail resource.</p>
|
|
1182
|
-
* <p>For more information about tags in Lightsail, see the <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags">Amazon Lightsail Developer Guide</a>.</p>
|
|
1183
|
-
* @public
|
|
1184
|
-
*/
|
|
1185
|
-
export interface Tag {
|
|
1186
|
-
/**
|
|
1187
|
-
* <p>The key of the tag.</p>
|
|
1188
|
-
* <p>Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the
|
|
1189
|
-
* following characters: + - = . _ : / @</p>
|
|
1190
|
-
* @public
|
|
1191
|
-
*/
|
|
1192
|
-
key?: string | undefined;
|
|
1193
|
-
/**
|
|
1194
|
-
* <p>The value of the tag.</p>
|
|
1195
|
-
* <p>Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the
|
|
1196
|
-
* following characters: + - = . _ : / @</p>
|
|
1197
|
-
* @public
|
|
1198
|
-
*/
|
|
1199
|
-
value?: string | undefined;
|
|
1200
|
-
}
|
|
1201
1207
|
/**
|
|
1202
1208
|
* <p>Describes an Amazon Lightsail bucket.</p>
|
|
1203
1209
|
* @public
|
|
@@ -2901,6 +2901,12 @@ export interface PutAlarmRequest {
|
|
|
2901
2901
|
* @public
|
|
2902
2902
|
*/
|
|
2903
2903
|
notificationEnabled?: boolean | undefined;
|
|
2904
|
+
/**
|
|
2905
|
+
* <p>The tag keys and optional values to add to the alarm during create.</p>
|
|
2906
|
+
* <p>Use the <code>TagResource</code> action to tag a resource after it's created.</p>
|
|
2907
|
+
* @public
|
|
2908
|
+
*/
|
|
2909
|
+
tags?: Tag[] | undefined;
|
|
2904
2910
|
}
|
|
2905
2911
|
/**
|
|
2906
2912
|
* @public
|
|
@@ -55,6 +55,7 @@ export declare const RegionName: {
|
|
|
55
55
|
readonly AP_SOUTHEAST_1: "ap-southeast-1";
|
|
56
56
|
readonly AP_SOUTHEAST_2: "ap-southeast-2";
|
|
57
57
|
readonly AP_SOUTHEAST_3: "ap-southeast-3";
|
|
58
|
+
readonly AP_SOUTHEAST_5: "ap-southeast-5";
|
|
58
59
|
readonly AP_SOUTH_1: "ap-south-1";
|
|
59
60
|
readonly CA_CENTRAL_1: "ca-central-1";
|
|
60
61
|
readonly EU_CENTRAL_1: "eu-central-1";
|
|
@@ -117,6 +117,10 @@ export interface MonitoredResourceInfo {
|
|
|
117
117
|
name?: string | undefined;
|
|
118
118
|
resourceType?: ResourceType | undefined;
|
|
119
119
|
}
|
|
120
|
+
export interface Tag {
|
|
121
|
+
key?: string | undefined;
|
|
122
|
+
value?: string | undefined;
|
|
123
|
+
}
|
|
120
124
|
export interface Alarm {
|
|
121
125
|
name?: string | undefined;
|
|
122
126
|
arn?: string | undefined;
|
|
@@ -138,6 +142,7 @@ export interface Alarm {
|
|
|
138
142
|
contactProtocols?: ContactProtocol[] | undefined;
|
|
139
143
|
notificationTriggers?: AlarmState[] | undefined;
|
|
140
144
|
notificationEnabled?: boolean | undefined;
|
|
145
|
+
tags?: Tag[] | undefined;
|
|
141
146
|
}
|
|
142
147
|
export interface AllocateStaticIpRequest {
|
|
143
148
|
staticIpName: string | undefined;
|
|
@@ -249,10 +254,6 @@ export interface BucketState {
|
|
|
249
254
|
code?: string | undefined;
|
|
250
255
|
message?: string | undefined;
|
|
251
256
|
}
|
|
252
|
-
export interface Tag {
|
|
253
|
-
key?: string | undefined;
|
|
254
|
-
value?: string | undefined;
|
|
255
|
-
}
|
|
256
257
|
export interface Bucket {
|
|
257
258
|
resourceType?: string | undefined;
|
|
258
259
|
accessRules?: AccessRules | undefined;
|
|
@@ -514,6 +514,7 @@ export interface PutAlarmRequest {
|
|
|
514
514
|
contactProtocols?: ContactProtocol[] | undefined;
|
|
515
515
|
notificationTriggers?: AlarmState[] | undefined;
|
|
516
516
|
notificationEnabled?: boolean | undefined;
|
|
517
|
+
tags?: Tag[] | undefined;
|
|
517
518
|
}
|
|
518
519
|
export interface PutAlarmResult {
|
|
519
520
|
operations?: Operation[] | undefined;
|
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.1025.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lightsail",
|