aws-sdk-socialmessaging 1.2.0 → 1.4.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: ab3e8d562856880b02bc6d5f0b5a594eae1ad261e46f74c0c16b9f34a08d93ec
4
- data.tar.gz: d1428114f36d995d5677fe916a6d3f76c5c383b162dcc480142e324443b7e78c
3
+ metadata.gz: 68266517c555c1d246db19a0122eedac6a5ee364c8aa35622115da08be931d34
4
+ data.tar.gz: 0e5b81ed2e2cca01338179cc9c22dfbbfe280f20eefa3a60512383b4cc71cd47
5
5
  SHA512:
6
- metadata.gz: 79863f979723c4aea00928116ef6785c80573a128613cd01b4aa85c653d5860d9abfac4a7e9a78a77af6e9307c4b143959a4d98575ce1caefed2624b5ecd7eec
7
- data.tar.gz: 07107f1a382483e91852d959244b0d8e1ab235d2d656546042181eaa4e408c8f38c4bac58c177b44123801e7e41abb3a28080d5a7f61b5ad01831c0b49d597f7
6
+ metadata.gz: fd437df6e18706d05e06c6e50c192378c4d0c831c97292c7d795f97ee12962248572fc9099205e988e578dce592c175643868e2e39ce5a8d85b9b87f42cd5408
7
+ data.tar.gz: 17f6b8ab8f54cc855dd25409f7da35e3a4f5fc263090f3e0494049ff518ca36d3472e86deb85c4506a383e671f87db3ee88b8527242cc76b7c22ddf054bb9445
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.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.3.0 (2024-12-03)
10
+ ------------------
11
+
12
+ * Feature - Added support for passing role arn corresponding to the supported event destination
13
+
4
14
  1.2.0 (2024-11-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.4.0
@@ -257,11 +257,34 @@ module Aws::SocialMessaging
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.
@@ -490,6 +513,7 @@ module Aws::SocialMessaging
490
513
  # event_destinations: [
491
514
  # {
492
515
  # event_destination_arn: "EventDestinationArn", # required
516
+ # role_arn: "RoleArn",
493
517
  # },
494
518
  # ],
495
519
  # tags: [
@@ -516,6 +540,7 @@ module Aws::SocialMessaging
516
540
  # resp.signup_callback_result.linked_accounts_with_incomplete_setup["WhatsAppBusinessAccountId"].unregistered_whats_app_phone_numbers[0].display_phone_number_name #=> String
517
541
  # resp.signup_callback_result.linked_accounts_with_incomplete_setup["WhatsAppBusinessAccountId"].unregistered_whats_app_phone_numbers[0].display_phone_number #=> String
518
542
  # resp.signup_callback_result.linked_accounts_with_incomplete_setup["WhatsAppBusinessAccountId"].unregistered_whats_app_phone_numbers[0].quality_rating #=> String
543
+ # resp.signup_callback_result.linked_accounts_with_incomplete_setup["WhatsAppBusinessAccountId"].waba_id #=> String
519
544
  # resp.status_code #=> Integer
520
545
  #
521
546
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/AssociateWhatsAppBusinessAccount AWS API Documentation
@@ -635,6 +660,7 @@ module Aws::SocialMessaging
635
660
  # resp.account.waba_name #=> String
636
661
  # resp.account.event_destinations #=> Array
637
662
  # resp.account.event_destinations[0].event_destination_arn #=> String
663
+ # resp.account.event_destinations[0].role_arn #=> String
638
664
  # resp.account.phone_numbers #=> Array
639
665
  # resp.account.phone_numbers[0].arn #=> String
640
666
  # resp.account.phone_numbers[0].phone_number #=> String
@@ -796,6 +822,7 @@ module Aws::SocialMessaging
796
822
  # resp.linked_accounts[0].waba_name #=> String
797
823
  # resp.linked_accounts[0].event_destinations #=> Array
798
824
  # resp.linked_accounts[0].event_destinations[0].event_destination_arn #=> String
825
+ # resp.linked_accounts[0].event_destinations[0].role_arn #=> String
799
826
  # resp.next_token #=> String
800
827
  #
801
828
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/ListLinkedWhatsAppBusinessAccounts AWS API Documentation
@@ -928,6 +955,7 @@ module Aws::SocialMessaging
928
955
  # event_destinations: [ # required
929
956
  # {
930
957
  # event_destination_arn: "EventDestinationArn", # required
958
+ # role_arn: "RoleArn",
931
959
  # },
932
960
  # ],
933
961
  # })
@@ -1093,7 +1121,7 @@ module Aws::SocialMessaging
1093
1121
  tracer: tracer
1094
1122
  )
1095
1123
  context[:gem_name] = 'aws-sdk-socialmessaging'
1096
- context[:gem_version] = '1.2.0'
1124
+ context[:gem_version] = '1.4.0'
1097
1125
  Seahorse::Client::Request.new(handlers, context)
1098
1126
  end
1099
1127
 
@@ -61,6 +61,7 @@ module Aws::SocialMessaging
61
61
  PutWhatsAppBusinessAccountEventDestinationsOutput = Shapes::StructureShape.new(name: 'PutWhatsAppBusinessAccountEventDestinationsOutput')
62
62
  RegistrationStatus = Shapes::StringShape.new(name: 'RegistrationStatus')
63
63
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
64
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
64
65
  S3File = Shapes::StructureShape.new(name: 'S3File')
65
66
  S3FileBucketNameString = Shapes::StringShape.new(name: 'S3FileBucketNameString')
66
67
  S3FileKeyString = Shapes::StringShape.new(name: 'S3FileKeyString')
@@ -183,6 +184,7 @@ module Aws::SocialMessaging
183
184
  LinkedWhatsAppBusinessAccountIdMetaData.add_member(:account_name, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountName, location_name: "accountName"))
184
185
  LinkedWhatsAppBusinessAccountIdMetaData.add_member(:registration_status, Shapes::ShapeRef.new(shape: RegistrationStatus, location_name: "registrationStatus"))
185
186
  LinkedWhatsAppBusinessAccountIdMetaData.add_member(:unregistered_whats_app_phone_numbers, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberDetailList, location_name: "unregisteredWhatsAppPhoneNumbers"))
187
+ LinkedWhatsAppBusinessAccountIdMetaData.add_member(:waba_id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, location_name: "wabaId"))
186
188
  LinkedWhatsAppBusinessAccountIdMetaData.struct_class = Types::LinkedWhatsAppBusinessAccountIdMetaData
187
189
 
188
190
  LinkedWhatsAppBusinessAccountSummary.add_member(:arn, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountArn, required: true, location_name: "arn"))
@@ -286,6 +288,7 @@ module Aws::SocialMessaging
286
288
  WabaSetupFinalization.struct_class = Types::WabaSetupFinalization
287
289
 
288
290
  WhatsAppBusinessAccountEventDestination.add_member(:event_destination_arn, Shapes::ShapeRef.new(shape: EventDestinationArn, required: true, location_name: "eventDestinationArn"))
291
+ WhatsAppBusinessAccountEventDestination.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
289
292
  WhatsAppBusinessAccountEventDestination.struct_class = Types::WhatsAppBusinessAccountEventDestination
290
293
 
291
294
  WhatsAppBusinessAccountEventDestinations.member = Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountEventDestination)
@@ -367,12 +367,17 @@ module Aws::SocialMessaging
367
367
  # The details for unregistered WhatsApp phone numbers.
368
368
  # @return [Array<Types::WhatsAppPhoneNumberDetail>]
369
369
  #
370
+ # @!attribute [rw] waba_id
371
+ # The Amazon Resource Name (ARN) of the WhatsApp Business Account ID.
372
+ # @return [String]
373
+ #
370
374
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/LinkedWhatsAppBusinessAccountIdMetaData AWS API Documentation
371
375
  #
372
376
  class LinkedWhatsAppBusinessAccountIdMetaData < Struct.new(
373
377
  :account_name,
374
378
  :registration_status,
375
- :unregistered_whats_app_phone_numbers)
379
+ :unregistered_whats_app_phone_numbers,
380
+ :waba_id)
376
381
  SENSITIVE = []
377
382
  include Aws::Structure
378
383
  end
@@ -897,10 +902,16 @@ module Aws::SocialMessaging
897
902
  # The ARN of the event destination.
898
903
  # @return [String]
899
904
  #
905
+ # @!attribute [rw] role_arn
906
+ # The Amazon Resource Name (ARN) of an Identity and Access Management
907
+ # role that is able to import phone numbers and write events.
908
+ # @return [String]
909
+ #
900
910
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/WhatsAppBusinessAccountEventDestination AWS API Documentation
901
911
  #
902
912
  class WhatsAppBusinessAccountEventDestination < Struct.new(
903
- :event_destination_arn)
913
+ :event_destination_arn,
914
+ :role_arn)
904
915
  SENSITIVE = []
905
916
  include Aws::Structure
906
917
  end
@@ -54,7 +54,7 @@ module Aws::SocialMessaging
54
54
  autoload :EndpointProvider, 'aws-sdk-socialmessaging/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-socialmessaging/endpoints'
56
56
 
57
- GEM_VERSION = '1.2.0'
57
+ GEM_VERSION = '1.4.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),
@@ -105,7 +107,8 @@ module Aws
105
107
  id: ::String?,
106
108
  event_destinations: Array[
107
109
  {
108
- event_destination_arn: ::String
110
+ event_destination_arn: ::String,
111
+ role_arn: ::String?
109
112
  },
110
113
  ]?,
111
114
  tags: Array[
@@ -230,7 +233,8 @@ module Aws
230
233
  id: ::String,
231
234
  event_destinations: Array[
232
235
  {
233
- event_destination_arn: ::String
236
+ event_destination_arn: ::String,
237
+ role_arn: ::String?
234
238
  },
235
239
  ]
236
240
  ) -> _PutWhatsAppBusinessAccountEventDestinationsResponseSuccess
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
@@ -116,6 +116,7 @@ module Aws::SocialMessaging
116
116
  attr_accessor account_name: ::String
117
117
  attr_accessor registration_status: ("COMPLETE" | "INCOMPLETE")
118
118
  attr_accessor unregistered_whats_app_phone_numbers: ::Array[Types::WhatsAppPhoneNumberDetail]
119
+ attr_accessor waba_id: ::String
119
120
  SENSITIVE: []
120
121
  end
121
122
 
@@ -258,6 +259,7 @@ module Aws::SocialMessaging
258
259
 
259
260
  class WhatsAppBusinessAccountEventDestination
260
261
  attr_accessor event_destination_arn: ::String
262
+ attr_accessor role_arn: ::String
261
263
  SENSITIVE: []
262
264
  end
263
265
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-socialmessaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.4.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-11-06 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