aws-sdk-health 1.74.0 → 1.75.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c472abf3469ec7255be4fa3c8ceb85b1331d40f18c0904ade95b9f80db6f00f
4
- data.tar.gz: 5b08c993c9f46e8682781ccd374eb364fb60e59ccccd6bfd5de006ca1f65d325
3
+ metadata.gz: 137f040a2dee4192713d8f642b51e92c85d3c8f78728499d4192333ccbb1f5bf
4
+ data.tar.gz: d49f1dafb241a81c78e6a126a94536f2fea51abaa83919fa998c085731733d0e
5
5
  SHA512:
6
- metadata.gz: d946ba29b91e731544607dc7930f8a7d8f78a6a2154fcebb61c3329fe964e9cf65aec2f47deaab0a99ef1b9e631a53f7160ee9c1b87878e64d0867fb2b252a69
7
- data.tar.gz: f0a943fcb9ff763ee6b48df3bee8f26eb8f60da0e8e03b1cfb7f2fcd5417a046ac766c7585b737897372537d85c40158a2238448afe0a83e09037ef5c7a06264
6
+ metadata.gz: 657cc5af93928014c4f7751c2d93f8d9222c9d327b6571670876f01cd1120e931834c3a63e76c6cd289a8ce23df4b03d25e702c69013cde6832ef9da98912593
7
+ data.tar.gz: 7aa8256f5053d2a3c4f84bdf049bb2a90f4e4ec393df96e53418089545fcf5bcb22e7bc0c327f573e8b01e74d08076e6874a9f53aa06916eb99d8dbe7c1b17b4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.75.0 (2024-11-21)
5
+ ------------------
6
+
7
+ * Feature - Adds metadata property to an AffectedEntity.
8
+
4
9
  1.74.0 (2024-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.75.0
@@ -528,9 +528,10 @@ module Aws::Health
528
528
  # Returns a list of entities that have been affected by the specified
529
529
  # events, based on the specified filter criteria. Entities can refer to
530
530
  # individual customer resources, groups of customer resources, or any
531
- # other construct, depending on the Amazon Web Service. Events that have
532
- # impact beyond that of the affected entities, or where the extent of
533
- # impact is unknown, include at least one entity indicating this.
531
+ # other construct, depending on the Amazon Web Services service. Events
532
+ # that have impact beyond that of the affected entities, or where the
533
+ # extent of impact is unknown, include at least one entity indicating
534
+ # this.
534
535
  #
535
536
  # At least one event ARN is required.
536
537
  #
@@ -611,6 +612,8 @@ module Aws::Health
611
612
  # resp.entities[0].status_code #=> String, one of "IMPAIRED", "UNIMPAIRED", "UNKNOWN", "PENDING", "RESOLVED"
612
613
  # resp.entities[0].tags #=> Hash
613
614
  # resp.entities[0].tags["tagKey"] #=> String
615
+ # resp.entities[0].entity_metadata #=> Hash
616
+ # resp.entities[0].entity_metadata["entityMetadataKey"] #=> String
614
617
  # resp.next_token #=> String
615
618
  #
616
619
  # @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedEntities AWS API Documentation
@@ -626,7 +629,7 @@ module Aws::Health
626
629
  # events for one or more accounts in your organization in Organizations,
627
630
  # based on the filter criteria. Entities can refer to individual
628
631
  # customer resources, groups of customer resources, or any other
629
- # construct, depending on the Amazon Web Service.
632
+ # construct, depending on the Amazon Web Services service.
630
633
  #
631
634
  # At least one event Amazon Resource Name (ARN) and account ID are
632
635
  # required.
@@ -715,6 +718,8 @@ module Aws::Health
715
718
  # resp.entities[0].status_code #=> String, one of "IMPAIRED", "UNIMPAIRED", "UNKNOWN", "PENDING", "RESOLVED"
716
719
  # resp.entities[0].tags #=> Hash
717
720
  # resp.entities[0].tags["tagKey"] #=> String
721
+ # resp.entities[0].entity_metadata #=> Hash
722
+ # resp.entities[0].entity_metadata["entityMetadataKey"] #=> String
718
723
  # resp.failed_set #=> Array
719
724
  # resp.failed_set[0].aws_account_id #=> String
720
725
  # resp.failed_set[0].event_arn #=> String
@@ -1085,8 +1090,8 @@ module Aws::Health
1085
1090
 
1086
1091
  # Returns the event types that meet the specified filter criteria. You
1087
1092
  # can use this API operation to find information about the Health event,
1088
- # such as the category, Amazon Web Service, and event code. The metadata
1089
- # for each event appears in the [EventType][1] object.
1093
+ # such as the category, Amazon Web Services service, and event code. The
1094
+ # metadata for each event appears in the [EventType][1] object.
1090
1095
  #
1091
1096
  # If you don't specify a filter criteria, the API operation returns all
1092
1097
  # event types, in no particular order.
@@ -1519,7 +1524,7 @@ module Aws::Health
1519
1524
  tracer: tracer
1520
1525
  )
1521
1526
  context[:gem_name] = 'aws-sdk-health'
1522
- context[:gem_version] = '1.74.0'
1527
+ context[:gem_version] = '1.75.0'
1523
1528
  Seahorse::Client::Request.new(handlers, context)
1524
1529
  end
1525
1530
 
@@ -92,6 +92,9 @@ module Aws::Health
92
92
  dateTimeRangeList = Shapes::ListShape.new(name: 'dateTimeRangeList')
93
93
  entityArn = Shapes::StringShape.new(name: 'entityArn')
94
94
  entityArnList = Shapes::ListShape.new(name: 'entityArnList')
95
+ entityMetadata = Shapes::MapShape.new(name: 'entityMetadata')
96
+ entityMetadataKey = Shapes::StringShape.new(name: 'entityMetadataKey')
97
+ entityMetadataValue = Shapes::StringShape.new(name: 'entityMetadataValue')
95
98
  entityStatusCode = Shapes::StringShape.new(name: 'entityStatusCode')
96
99
  entityStatusCodeList = Shapes::ListShape.new(name: 'entityStatusCodeList')
97
100
  entityStatuses = Shapes::MapShape.new(name: 'entityStatuses')
@@ -144,6 +147,7 @@ module Aws::Health
144
147
  AffectedEntity.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "lastUpdatedTime"))
145
148
  AffectedEntity.add_member(:status_code, Shapes::ShapeRef.new(shape: entityStatusCode, location_name: "statusCode"))
146
149
  AffectedEntity.add_member(:tags, Shapes::ShapeRef.new(shape: tagSet, location_name: "tags"))
150
+ AffectedEntity.add_member(:entity_metadata, Shapes::ShapeRef.new(shape: entityMetadata, location_name: "entityMetadata"))
147
151
  AffectedEntity.struct_class = Types::AffectedEntity
148
152
 
149
153
  ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
@@ -439,6 +443,9 @@ module Aws::Health
439
443
 
440
444
  entityArnList.member = Shapes::ShapeRef.new(shape: entityArn)
441
445
 
446
+ entityMetadata.key = Shapes::ShapeRef.new(shape: entityMetadataKey)
447
+ entityMetadata.value = Shapes::ShapeRef.new(shape: entityMetadataValue)
448
+
442
449
  entityStatusCodeList.member = Shapes::ShapeRef.new(shape: entityStatusCode)
443
450
 
444
451
  entityStatuses.key = Shapes::ShapeRef.new(shape: entityStatusCode)
@@ -32,7 +32,7 @@ module Aws::Health
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://health-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -87,6 +87,10 @@ module Aws::Health
87
87
  # </note>
88
88
  # @return [Hash<String,String>]
89
89
  #
90
+ # @!attribute [rw] entity_metadata
91
+ # Additional metadata about the affected entity.
92
+ # @return [Hash<String,String>]
93
+ #
90
94
  # @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/AffectedEntity AWS API Documentation
91
95
  #
92
96
  class AffectedEntity < Struct.new(
@@ -97,7 +101,8 @@ module Aws::Health
97
101
  :aws_account_id,
98
102
  :last_updated_time,
99
103
  :status_code,
100
- :tags)
104
+ :tags,
105
+ :entity_metadata)
101
106
  SENSITIVE = []
102
107
  include Aws::Structure
103
108
  end
@@ -192,7 +197,7 @@ module Aws::Health
192
197
  #
193
198
  # @!attribute [rw] event_scope_code
194
199
  # This parameter specifies if the Health event is a public Amazon Web
195
- # Service event or an account-specific event.
200
+ # Services service event or an account-specific event.
196
201
  #
197
202
  # * If the `eventScopeCode` value is `PUBLIC`, then the
198
203
  # `affectedAccounts` value is always empty.
@@ -879,8 +884,8 @@ module Aws::Health
879
884
  # @return [String]
880
885
  #
881
886
  # @!attribute [rw] service
882
- # The Amazon Web Service that is affected by the event. For example,
883
- # `EC2`, `RDS`.
887
+ # The Amazon Web Services service that is affected by the event. For
888
+ # example, `EC2`, `RDS`.
884
889
  # @return [String]
885
890
  #
886
891
  # @!attribute [rw] event_type_code
@@ -923,7 +928,7 @@ module Aws::Health
923
928
  #
924
929
  # @!attribute [rw] event_scope_code
925
930
  # This parameter specifies if the Health event is a public Amazon Web
926
- # Service event or an account-specific event.
931
+ # Services service event or an account-specific event.
927
932
  #
928
933
  # * If the `eventScopeCode` value is `PUBLIC`, then the
929
934
  # `affectedAccounts` value is always empty.
@@ -1120,8 +1125,8 @@ module Aws::Health
1120
1125
  # @return [Array<String>]
1121
1126
  #
1122
1127
  # @!attribute [rw] services
1123
- # The Amazon Web Services associated with the event. For example,
1124
- # `EC2`, `RDS`.
1128
+ # The Amazon Web Services services associated with the event. For
1129
+ # example, `EC2`, `RDS`.
1125
1130
  # @return [Array<String>]
1126
1131
  #
1127
1132
  # @!attribute [rw] regions
@@ -1212,8 +1217,8 @@ module Aws::Health
1212
1217
  # [2]: https://docs.aws.amazon.com/health/latest/ug/cloudwatch-events-health.html
1213
1218
  #
1214
1219
  # @!attribute [rw] service
1215
- # The Amazon Web Service that is affected by the event. For example,
1216
- # `EC2`, `RDS`.
1220
+ # The Amazon Web Services service that is affected by the event. For
1221
+ # example, `EC2`, `RDS`.
1217
1222
  # @return [String]
1218
1223
  #
1219
1224
  # @!attribute [rw] code
@@ -1250,8 +1255,8 @@ module Aws::Health
1250
1255
  # @return [Array<String>]
1251
1256
  #
1252
1257
  # @!attribute [rw] services
1253
- # The Amazon Web Services associated with the event. For example,
1254
- # `EC2`, `RDS`.
1258
+ # The Amazon Web Services services associated with the event. For
1259
+ # example, `EC2`, `RDS`.
1255
1260
  # @return [Array<String>]
1256
1261
  #
1257
1262
  # @!attribute [rw] event_type_categories
@@ -1387,8 +1392,8 @@ module Aws::Health
1387
1392
  # @return [String]
1388
1393
  #
1389
1394
  # @!attribute [rw] service
1390
- # The Amazon Web Service that is affected by the event, such as EC2
1391
- # and RDS.
1395
+ # The Amazon Web Services service that is affected by the event, such
1396
+ # as EC2 and RDS.
1392
1397
  # @return [String]
1393
1398
  #
1394
1399
  # @!attribute [rw] event_type_code
@@ -1405,7 +1410,7 @@ module Aws::Health
1405
1410
  #
1406
1411
  # @!attribute [rw] event_scope_code
1407
1412
  # This parameter specifies if the Health event is a public Amazon Web
1408
- # Service event or an account-specific event.
1413
+ # Services service event or an account-specific event.
1409
1414
  #
1410
1415
  # * If the `eventScopeCode` value is `PUBLIC`, then the
1411
1416
  # `affectedAccounts` value is always empty.
@@ -1608,8 +1613,8 @@ module Aws::Health
1608
1613
  # @return [Array<String>]
1609
1614
  #
1610
1615
  # @!attribute [rw] services
1611
- # The Amazon Web Services associated with the event. For example,
1612
- # `EC2`, `RDS`.
1616
+ # The Amazon Web Services services associated with the event. For
1617
+ # example, `EC2`, `RDS`.
1613
1618
  # @return [Array<String>]
1614
1619
  #
1615
1620
  # @!attribute [rw] regions
@@ -54,7 +54,7 @@ module Aws::Health
54
54
  autoload :EndpointProvider, 'aws-sdk-health/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-health/endpoints'
56
56
 
57
- GEM_VERSION = '1.74.0'
57
+ GEM_VERSION = '1.75.0'
58
58
 
59
59
  end
60
60
 
data/sig/types.rbs CHANGED
@@ -24,6 +24,7 @@ module Aws::Health
24
24
  attr_accessor last_updated_time: ::Time
25
25
  attr_accessor status_code: ("IMPAIRED" | "UNIMPAIRED" | "UNKNOWN" | "PENDING" | "RESOLVED")
26
26
  attr_accessor tags: ::Hash[::String, ::String]
27
+ attr_accessor entity_metadata: ::Hash[::String, ::String]
27
28
  SENSITIVE: []
28
29
  end
29
30
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-health
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.74.0
4
+ version: 1.75.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core