You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services
33
33
* Regions, and SMS text messages cannot be sent to some countries/regions. For more information,
34
34
* see <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-notifications">Notifications in Amazon Lightsail</a>.</p>
35
+
* <p>The <code>create contact method</code> operation supports tag-based access control via request
36
+
* tags. For more information, see the <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-controlling-access-using-tags">Lightsail Developer Guide</a>.</p>
35
37
* @example
36
38
* Use a bare-bones client and the command you need to make an API call.
* <p>When you update an existing alarm, its state is left unchanged, but the update completely
39
39
* overwrites the previous configuration of the alarm. The alarm is then evaluated with the
40
40
* updated configuration.</p>
41
+
* <p>The <code>put alarm</code> operation supports tag-based access control via request
42
+
* tags. For more information, see the <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-controlling-access-using-tags">Lightsail Developer Guide</a>.</p>
41
43
* @example
42
44
* Use a bare-bones client and the command you need to make an API call.
* <p>Describes a tag key and optional value assigned to an Amazon Lightsail resource.</p>
545
+
* <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>
546
+
* @public
547
+
*/
548
+
exportinterfaceTag{
549
+
/**
550
+
* <p>The key of the tag.</p>
551
+
* <p>Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the
552
+
* following characters: + - = . _ : / @</p>
553
+
* @public
554
+
*/
555
+
key?: string|undefined;
556
+
557
+
/**
558
+
* <p>The value of the tag.</p>
559
+
* <p>Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the
560
+
* following characters: + - = . _ : / @</p>
561
+
* @public
562
+
*/
563
+
value?: string|undefined;
564
+
}
565
+
543
566
/**
544
567
* <p>Describes an alarm.</p>
545
568
* <p>An alarm is a way to monitor your Lightsail resource metrics. For more information, see
@@ -740,6 +763,13 @@ export interface Alarm {
740
763
* @public
741
764
*/
742
765
notificationEnabled?: boolean|undefined;
766
+
767
+
/**
768
+
* <p>The tag keys and optional values for the resource. For more information about tags in
769
+
* Lightsail, see the <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags">Amazon Lightsail Developer Guide</a>.</p>
* <p>Describes a tag key and optional value assigned to an Amazon Lightsail resource.</p>
1366
-
* <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>
1367
-
* @public
1368
-
*/
1369
-
exportinterfaceTag{
1370
-
/**
1371
-
* <p>The key of the tag.</p>
1372
-
* <p>Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in UTF-8, or the
1373
-
* following characters: + - = . _ : / @</p>
1374
-
* @public
1375
-
*/
1376
-
key?: string|undefined;
1377
-
1378
-
/**
1379
-
* <p>The value of the tag.</p>
1380
-
* <p>Constraints: Tag values accept a maximum of 256 letters, numbers, spaces in UTF-8, or the
Copy file name to clipboardExpand all lines: codegen/sdk-codegen/aws-models/lightsail.json
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -486,6 +486,12 @@
486
486
"traits": {
487
487
"smithy.api#documentation": "<p>Indicates whether the alarm is enabled.</p>"
488
488
}
489
+
},
490
+
"tags": {
491
+
"target": "com.amazonaws.lightsail#TagList",
492
+
"traits": {
493
+
"smithy.api#documentation": "<p>The tag keys and optional values for the resource. For more information about tags in\n Lightsail, see the <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags\">Amazon Lightsail Developer Guide</a>.</p>"
494
+
}
489
495
}
490
496
},
491
497
"traits": {
@@ -3815,7 +3821,7 @@
3815
3821
}
3816
3822
],
3817
3823
"traits": {
3818
-
"smithy.api#documentation": "<p>Creates an email or SMS text message contact method.</p>\n <p>A contact method is used to send you notifications about your Amazon Lightsail resources.\n You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services\n Regions, and SMS text messages cannot be sent to some countries/regions. For more information,\n see <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-notifications\">Notifications in Amazon Lightsail</a>.</p>",
3824
+
"smithy.api#documentation": "<p>Creates an email or SMS text message contact method.</p>\n <p>A contact method is used to send you notifications about your Amazon Lightsail resources.\n You can add one email address and one mobile phone number contact method in each Amazon Web Services Region. However, SMS text messaging is not supported in some Amazon Web Services\n Regions, and SMS text messages cannot be sent to some countries/regions. For more information,\n see <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-notifications\">Notifications in Amazon Lightsail</a>.</p>\n <p>The <code>create contact method</code> operation supports tag-based access control via request\n tags. For more information, see the <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-controlling-access-using-tags\">Lightsail Developer Guide</a>.</p>",
3819
3825
"smithy.api#http": {
3820
3826
"method": "POST",
3821
3827
"uri": "/ls/api/2016-11-28/CreateContactMethod",
@@ -19664,7 +19670,7 @@
19664
19670
}
19665
19671
],
19666
19672
"traits": {
19667
-
"smithy.api#documentation": "<p>Creates or updates an alarm, and associates it with the specified metric.</p>\n <p>An alarm is used to monitor a single metric for one of your resources. When a metric\n condition is met, the alarm can notify you by email, SMS text message, and a banner displayed\n on the Amazon Lightsail console. For more information, see <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-alarms\">Alarms\n in Amazon Lightsail</a>.</p>\n <p>When this action creates an alarm, the alarm state is immediately set to\n <code>INSUFFICIENT_DATA</code>. The alarm is then evaluated and its state is set\n appropriately. Any actions associated with the new state are then executed.</p>\n <p>When you update an existing alarm, its state is left unchanged, but the update completely\n overwrites the previous configuration of the alarm. The alarm is then evaluated with the\n updated configuration.</p>",
19673
+
"smithy.api#documentation": "<p>Creates or updates an alarm, and associates it with the specified metric.</p>\n <p>An alarm is used to monitor a single metric for one of your resources. When a metric\n condition is met, the alarm can notify you by email, SMS text message, and a banner displayed\n on the Amazon Lightsail console. For more information, see <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-alarms\">Alarms\n in Amazon Lightsail</a>.</p>\n <p>When this action creates an alarm, the alarm state is immediately set to\n <code>INSUFFICIENT_DATA</code>. The alarm is then evaluated and its state is set\n appropriately. Any actions associated with the new state are then executed.</p>\n <p>When you update an existing alarm, its state is left unchanged, but the update completely\n overwrites the previous configuration of the alarm. The alarm is then evaluated with the\n updated configuration.</p>\n <p>The <code>put alarm</code> operation supports tag-based access control via request\n tags. For more information, see the <a href=\"https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-controlling-access-using-tags\">Lightsail Developer Guide</a>.</p>",
19668
19674
"smithy.api#http": {
19669
19675
"method": "POST",
19670
19676
"uri": "/ls/api/2016-11-28/PutAlarm",
@@ -19746,6 +19752,12 @@
19746
19752
"traits": {
19747
19753
"smithy.api#documentation": "<p>Indicates whether the alarm is enabled.</p>\n <p>Notifications are enabled by default if you don't specify this parameter.</p>"
19748
19754
}
19755
+
},
19756
+
"tags": {
19757
+
"target": "com.amazonaws.lightsail#TagList",
19758
+
"traits": {
19759
+
"smithy.api#documentation": "<p>The tag keys and optional values to add to the alarm during create.</p>\n <p>Use the <code>TagResource</code> action to tag a resource after it's created.</p>"
0 commit comments