aws-sdk-health 1.74.0 → 1.76.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: da7dd3cd3698005899b53f4b8edaac68e53732917dde33fc46f3786821287380
4
+ data.tar.gz: 03c2b719fb25fd34398d60917b59391068b19566bf2a80af943878ca72d5f081
5
5
  SHA512:
6
- metadata.gz: d946ba29b91e731544607dc7930f8a7d8f78a6a2154fcebb61c3329fe964e9cf65aec2f47deaab0a99ef1b9e631a53f7160ee9c1b87878e64d0867fb2b252a69
7
- data.tar.gz: f0a943fcb9ff763ee6b48df3bee8f26eb8f60da0e8e03b1cfb7f2fcd5417a046ac766c7585b737897372537d85c40158a2238448afe0a83e09037ef5c7a06264
6
+ metadata.gz: 20a370deaf959cbed31c35c6607498f6755b4262f8e494fa4212fe9d5c9894946506a6f191ca67b22a982210bfb671e13500ed510b088659b57ef3041287f3d3
7
+ data.tar.gz: dede48c68d147dab9bae6c05c73f74dd227214853880bb99f3da8825754d6a15d7d74ef95eaed3fa5b8c18e6a184a943dd1a56633fbe4ce0538ae8f32036ebb9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.76.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.75.0 (2024-11-21)
10
+ ------------------
11
+
12
+ * Feature - Adds metadata property to an AffectedEntity.
13
+
4
14
  1.74.0 (2024-10-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.76.0
@@ -257,11 +257,34 @@ module Aws::Health
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -528,9 +551,10 @@ module Aws::Health
528
551
  # Returns a list of entities that have been affected by the specified
529
552
  # events, based on the specified filter criteria. Entities can refer to
530
553
  # 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.
554
+ # other construct, depending on the Amazon Web Services service. Events
555
+ # that have impact beyond that of the affected entities, or where the
556
+ # extent of impact is unknown, include at least one entity indicating
557
+ # this.
534
558
  #
535
559
  # At least one event ARN is required.
536
560
  #
@@ -611,6 +635,8 @@ module Aws::Health
611
635
  # resp.entities[0].status_code #=> String, one of "IMPAIRED", "UNIMPAIRED", "UNKNOWN", "PENDING", "RESOLVED"
612
636
  # resp.entities[0].tags #=> Hash
613
637
  # resp.entities[0].tags["tagKey"] #=> String
638
+ # resp.entities[0].entity_metadata #=> Hash
639
+ # resp.entities[0].entity_metadata["entityMetadataKey"] #=> String
614
640
  # resp.next_token #=> String
615
641
  #
616
642
  # @see http://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedEntities AWS API Documentation
@@ -626,7 +652,7 @@ module Aws::Health
626
652
  # events for one or more accounts in your organization in Organizations,
627
653
  # based on the filter criteria. Entities can refer to individual
628
654
  # customer resources, groups of customer resources, or any other
629
- # construct, depending on the Amazon Web Service.
655
+ # construct, depending on the Amazon Web Services service.
630
656
  #
631
657
  # At least one event Amazon Resource Name (ARN) and account ID are
632
658
  # required.
@@ -715,6 +741,8 @@ module Aws::Health
715
741
  # resp.entities[0].status_code #=> String, one of "IMPAIRED", "UNIMPAIRED", "UNKNOWN", "PENDING", "RESOLVED"
716
742
  # resp.entities[0].tags #=> Hash
717
743
  # resp.entities[0].tags["tagKey"] #=> String
744
+ # resp.entities[0].entity_metadata #=> Hash
745
+ # resp.entities[0].entity_metadata["entityMetadataKey"] #=> String
718
746
  # resp.failed_set #=> Array
719
747
  # resp.failed_set[0].aws_account_id #=> String
720
748
  # resp.failed_set[0].event_arn #=> String
@@ -1085,8 +1113,8 @@ module Aws::Health
1085
1113
 
1086
1114
  # Returns the event types that meet the specified filter criteria. You
1087
1115
  # 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.
1116
+ # such as the category, Amazon Web Services service, and event code. The
1117
+ # metadata for each event appears in the [EventType][1] object.
1090
1118
  #
1091
1119
  # If you don't specify a filter criteria, the API operation returns all
1092
1120
  # event types, in no particular order.
@@ -1519,7 +1547,7 @@ module Aws::Health
1519
1547
  tracer: tracer
1520
1548
  )
1521
1549
  context[:gem_name] = 'aws-sdk-health'
1522
- context[:gem_version] = '1.74.0'
1550
+ context[:gem_version] = '1.76.0'
1523
1551
  Seahorse::Client::Request.new(handlers, context)
1524
1552
  end
1525
1553
 
@@ -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.76.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
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.76.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: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement