aws-sdk-lightsail 1.126.0 → 1.127.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 902a7ba6a2211a37ade93fee9ab621373c882ddca6458dadd368740c2b1a9c31
4
- data.tar.gz: de94b173b3ca8ac9109d2f5144028a7b67f809e0ddcc7c3e7ac7ef50fdb00bf6
3
+ metadata.gz: ff1fa74488c1c28ebe0fb33e5e96897f47e9d01d8ee2f73471ff7d858cb5e6ce
4
+ data.tar.gz: 1d76901e21e518876bf6a9fa3f5dd75dde66e6fa3cc5fdf29d4098220301fc7e
5
5
  SHA512:
6
- metadata.gz: 8aea0f696f219646f1f650ef6e4b133fb49540e8b3aae9bc1ac01ffdc5692a9751487e7f2c5afb7fec3e38edb386b9f91aceedd7174b3cc38a114fa93db73633
7
- data.tar.gz: 5f8d67ad54c63a6021125c81a9eca5acdcc469dc2d1e301ab522d44c51e21dbe9847589a2f7b482416ad07bea67f4245d820e4449679f3eaec979bd82ad59fba
6
+ metadata.gz: aad6024970fda1a7c699600012dd582679845be6b05edf9c0655a139a81d7d24083f10c25ff84826fa6d086df3ad1e00191233ba912f3741cdfe8eca3b233c46
7
+ data.tar.gz: 674f5c9913491faa88045332f9fdd8a88f7be27285f02bb84b5b1a1d1c05561cce7ffb848a445a3319d3c941d92c4af54fe0921c9d2be7c2551b9274e81f1d23
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.127.0 (2026-04-03)
5
+ ------------------
6
+
7
+ * Feature - Add support for tagging of Alarm resource type
8
+
4
9
  1.126.0 (2026-03-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.126.0
1
+ 1.127.0
@@ -1437,9 +1437,14 @@ module Aws::Lightsail
1437
1437
  # countries/regions. For more information, see [Notifications in Amazon
1438
1438
  # Lightsail][1].
1439
1439
  #
1440
+ # The `create contact method` operation supports tag-based access
1441
+ # control via request tags. For more information, see the [Lightsail
1442
+ # Developer Guide][2].
1443
+ #
1440
1444
  #
1441
1445
  #
1442
1446
  # [1]: https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-notifications
1447
+ # [2]: https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-controlling-access-using-tags
1443
1448
  #
1444
1449
  # @option params [required, String] :protocol
1445
1450
  # The protocol of the contact method, such as `Email` or `SMS` (text
@@ -5555,6 +5560,9 @@ module Aws::Lightsail
5555
5560
  # resp.alarms[0].notification_triggers #=> Array
5556
5561
  # resp.alarms[0].notification_triggers[0] #=> String, one of "OK", "ALARM", "INSUFFICIENT_DATA"
5557
5562
  # resp.alarms[0].notification_enabled #=> Boolean
5563
+ # resp.alarms[0].tags #=> Array
5564
+ # resp.alarms[0].tags[0].key #=> String
5565
+ # resp.alarms[0].tags[0].value #=> String
5558
5566
  # resp.next_page_token #=> String
5559
5567
  #
5560
5568
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAlarms AWS API Documentation
@@ -10140,9 +10148,14 @@ module Aws::Lightsail
10140
10148
  # the update completely overwrites the previous configuration of the
10141
10149
  # alarm. The alarm is then evaluated with the updated configuration.
10142
10150
  #
10151
+ # The `put alarm` operation supports tag-based access control via
10152
+ # request tags. For more information, see the [Lightsail Developer
10153
+ # Guide][2].
10154
+ #
10143
10155
  #
10144
10156
  #
10145
10157
  # [1]: https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-alarms
10158
+ # [2]: https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-controlling-access-using-tags
10146
10159
  #
10147
10160
  # @option params [required, String] :alarm_name
10148
10161
  # The name for the alarm. Specify the name of an existing alarm to
@@ -10284,6 +10297,11 @@ module Aws::Lightsail
10284
10297
  # Notifications are enabled by default if you don't specify this
10285
10298
  # parameter.
10286
10299
  #
10300
+ # @option params [Array<Types::Tag>] :tags
10301
+ # The tag keys and optional values to add to the alarm during create.
10302
+ #
10303
+ # Use the `TagResource` action to tag a resource after it's created.
10304
+ #
10287
10305
  # @return [Types::PutAlarmResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10288
10306
  #
10289
10307
  # * {Types::PutAlarmResult#operations #operations} => Array&lt;Types::Operation&gt;
@@ -10302,6 +10320,12 @@ module Aws::Lightsail
10302
10320
  # contact_protocols: ["Email"], # accepts Email, SMS
10303
10321
  # notification_triggers: ["OK"], # accepts OK, ALARM, INSUFFICIENT_DATA
10304
10322
  # notification_enabled: false,
10323
+ # tags: [
10324
+ # {
10325
+ # key: "TagKey",
10326
+ # value: "TagValue",
10327
+ # },
10328
+ # ],
10305
10329
  # })
10306
10330
  #
10307
10331
  # @example Response structure
@@ -12576,7 +12600,7 @@ module Aws::Lightsail
12576
12600
  tracer: tracer
12577
12601
  )
12578
12602
  context[:gem_name] = 'aws-sdk-lightsail'
12579
- context[:gem_version] = '1.126.0'
12603
+ context[:gem_version] = '1.127.0'
12580
12604
  Seahorse::Client::Request.new(handlers, context)
12581
12605
  end
12582
12606
 
@@ -767,6 +767,7 @@ module Aws::Lightsail
767
767
  Alarm.add_member(:contact_protocols, Shapes::ShapeRef.new(shape: ContactProtocolsList, location_name: "contactProtocols"))
768
768
  Alarm.add_member(:notification_triggers, Shapes::ShapeRef.new(shape: NotificationTriggerList, location_name: "notificationTriggers"))
769
769
  Alarm.add_member(:notification_enabled, Shapes::ShapeRef.new(shape: boolean, location_name: "notificationEnabled"))
770
+ Alarm.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
770
771
  Alarm.struct_class = Types::Alarm
771
772
 
772
773
  AlarmsList.member = Shapes::ShapeRef.new(shape: Alarm)
@@ -2681,6 +2682,7 @@ module Aws::Lightsail
2681
2682
  PutAlarmRequest.add_member(:contact_protocols, Shapes::ShapeRef.new(shape: ContactProtocolsList, location_name: "contactProtocols"))
2682
2683
  PutAlarmRequest.add_member(:notification_triggers, Shapes::ShapeRef.new(shape: NotificationTriggerList, location_name: "notificationTriggers"))
2683
2684
  PutAlarmRequest.add_member(:notification_enabled, Shapes::ShapeRef.new(shape: boolean, location_name: "notificationEnabled"))
2685
+ PutAlarmRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
2684
2686
  PutAlarmRequest.struct_class = Types::PutAlarmRequest
2685
2687
 
2686
2688
  PutAlarmResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
@@ -578,6 +578,16 @@ module Aws::Lightsail
578
578
  # Indicates whether the alarm is enabled.
579
579
  # @return [Boolean]
580
580
  #
581
+ # @!attribute [rw] tags
582
+ # The tag keys and optional values for the resource. For more
583
+ # information about tags in Lightsail, see the [Amazon Lightsail
584
+ # Developer Guide][1].
585
+ #
586
+ #
587
+ #
588
+ # [1]: https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags
589
+ # @return [Array<Types::Tag>]
590
+ #
581
591
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Alarm AWS API Documentation
582
592
  #
583
593
  class Alarm < Struct.new(
@@ -600,7 +610,8 @@ module Aws::Lightsail
600
610
  :unit,
601
611
  :contact_protocols,
602
612
  :notification_triggers,
603
- :notification_enabled)
613
+ :notification_enabled,
614
+ :tags)
604
615
  SENSITIVE = []
605
616
  include Aws::Structure
606
617
  end
@@ -12655,6 +12666,12 @@ module Aws::Lightsail
12655
12666
  # parameter.
12656
12667
  # @return [Boolean]
12657
12668
  #
12669
+ # @!attribute [rw] tags
12670
+ # The tag keys and optional values to add to the alarm during create.
12671
+ #
12672
+ # Use the `TagResource` action to tag a resource after it's created.
12673
+ # @return [Array<Types::Tag>]
12674
+ #
12658
12675
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutAlarmRequest AWS API Documentation
12659
12676
  #
12660
12677
  class PutAlarmRequest < Struct.new(
@@ -12668,7 +12685,8 @@ module Aws::Lightsail
12668
12685
  :treat_missing_data,
12669
12686
  :contact_protocols,
12670
12687
  :notification_triggers,
12671
- :notification_enabled)
12688
+ :notification_enabled,
12689
+ :tags)
12672
12690
  SENSITIVE = []
12673
12691
  include Aws::Structure
12674
12692
  end
@@ -54,7 +54,7 @@ module Aws::Lightsail
54
54
  autoload :EndpointProvider, 'aws-sdk-lightsail/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-lightsail/endpoints'
56
56
 
57
- GEM_VERSION = '1.126.0'
57
+ GEM_VERSION = '1.127.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -1892,7 +1892,13 @@ module Aws
1892
1892
  ?treat_missing_data: ("breaching" | "notBreaching" | "ignore" | "missing"),
1893
1893
  ?contact_protocols: Array[("Email" | "SMS")],
1894
1894
  ?notification_triggers: Array[("OK" | "ALARM" | "INSUFFICIENT_DATA")],
1895
- ?notification_enabled: bool
1895
+ ?notification_enabled: bool,
1896
+ ?tags: Array[
1897
+ {
1898
+ key: ::String?,
1899
+ value: ::String?
1900
+ },
1901
+ ]
1896
1902
  ) -> _PutAlarmResponseSuccess
1897
1903
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAlarmResponseSuccess
1898
1904
 
data/sig/types.rbs CHANGED
@@ -92,6 +92,7 @@ module Aws::Lightsail
92
92
  attr_accessor contact_protocols: ::Array[("Email" | "SMS")]
93
93
  attr_accessor notification_triggers: ::Array[("OK" | "ALARM" | "INSUFFICIENT_DATA")]
94
94
  attr_accessor notification_enabled: bool
95
+ attr_accessor tags: ::Array[Types::Tag]
95
96
  SENSITIVE: []
96
97
  end
97
98
 
@@ -2543,6 +2544,7 @@ module Aws::Lightsail
2543
2544
  attr_accessor contact_protocols: ::Array[("Email" | "SMS")]
2544
2545
  attr_accessor notification_triggers: ::Array[("OK" | "ALARM" | "INSUFFICIENT_DATA")]
2545
2546
  attr_accessor notification_enabled: bool
2547
+ attr_accessor tags: ::Array[Types::Tag]
2546
2548
  SENSITIVE: []
2547
2549
  end
2548
2550
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lightsail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.126.0
4
+ version: 1.127.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services