aws-sdk-socialmessaging 1.2.0 → 1.3.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: 98e51ce31550a695b372cd8cbfb779b8fe1f2127cb12147f86c426dee9d74238
4
+ data.tar.gz: eb6e24ff5af4940536ae5f14407b12500e339e0c812e2e97eeed354cd36f33c6
5
5
  SHA512:
6
- metadata.gz: 79863f979723c4aea00928116ef6785c80573a128613cd01b4aa85c653d5860d9abfac4a7e9a78a77af6e9307c4b143959a4d98575ce1caefed2624b5ecd7eec
7
- data.tar.gz: 07107f1a382483e91852d959244b0d8e1ab235d2d656546042181eaa4e408c8f38c4bac58c177b44123801e7e41abb3a28080d5a7f61b5ad01831c0b49d597f7
6
+ metadata.gz: 30eabfd1be3b3ee3ac9c0cc2d17628a94e33ca4d22153e4f9d718e078c6678dcc58c7d6353d26daec5fbb0bd4eb1332d6810c40b7a020d3149f34e7e61ba2634
7
+ data.tar.gz: 33f8d0a47f583a33a0ed93143412482ec026e4b4ae61353dc52a918fa9a6b7b12cc1b4b82f4d8a6cca8d32c6f63b538b320fcff9a00a6941ec2eab14a1474363
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.3.0 (2024-12-03)
5
+ ------------------
6
+
7
+ * Feature - Added support for passing role arn corresponding to the supported event destination
8
+
4
9
  1.2.0 (2024-11-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -490,6 +490,7 @@ module Aws::SocialMessaging
490
490
  # event_destinations: [
491
491
  # {
492
492
  # event_destination_arn: "EventDestinationArn", # required
493
+ # role_arn: "RoleArn",
493
494
  # },
494
495
  # ],
495
496
  # tags: [
@@ -516,6 +517,7 @@ module Aws::SocialMessaging
516
517
  # resp.signup_callback_result.linked_accounts_with_incomplete_setup["WhatsAppBusinessAccountId"].unregistered_whats_app_phone_numbers[0].display_phone_number_name #=> String
517
518
  # resp.signup_callback_result.linked_accounts_with_incomplete_setup["WhatsAppBusinessAccountId"].unregistered_whats_app_phone_numbers[0].display_phone_number #=> String
518
519
  # resp.signup_callback_result.linked_accounts_with_incomplete_setup["WhatsAppBusinessAccountId"].unregistered_whats_app_phone_numbers[0].quality_rating #=> String
520
+ # resp.signup_callback_result.linked_accounts_with_incomplete_setup["WhatsAppBusinessAccountId"].waba_id #=> String
519
521
  # resp.status_code #=> Integer
520
522
  #
521
523
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/AssociateWhatsAppBusinessAccount AWS API Documentation
@@ -635,6 +637,7 @@ module Aws::SocialMessaging
635
637
  # resp.account.waba_name #=> String
636
638
  # resp.account.event_destinations #=> Array
637
639
  # resp.account.event_destinations[0].event_destination_arn #=> String
640
+ # resp.account.event_destinations[0].role_arn #=> String
638
641
  # resp.account.phone_numbers #=> Array
639
642
  # resp.account.phone_numbers[0].arn #=> String
640
643
  # resp.account.phone_numbers[0].phone_number #=> String
@@ -796,6 +799,7 @@ module Aws::SocialMessaging
796
799
  # resp.linked_accounts[0].waba_name #=> String
797
800
  # resp.linked_accounts[0].event_destinations #=> Array
798
801
  # resp.linked_accounts[0].event_destinations[0].event_destination_arn #=> String
802
+ # resp.linked_accounts[0].event_destinations[0].role_arn #=> String
799
803
  # resp.next_token #=> String
800
804
  #
801
805
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/ListLinkedWhatsAppBusinessAccounts AWS API Documentation
@@ -928,6 +932,7 @@ module Aws::SocialMessaging
928
932
  # event_destinations: [ # required
929
933
  # {
930
934
  # event_destination_arn: "EventDestinationArn", # required
935
+ # role_arn: "RoleArn",
931
936
  # },
932
937
  # ],
933
938
  # })
@@ -1093,7 +1098,7 @@ module Aws::SocialMessaging
1093
1098
  tracer: tracer
1094
1099
  )
1095
1100
  context[:gem_name] = 'aws-sdk-socialmessaging'
1096
- context[:gem_version] = '1.2.0'
1101
+ context[:gem_version] = '1.3.0'
1097
1102
  Seahorse::Client::Request.new(handlers, context)
1098
1103
  end
1099
1104
 
@@ -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.3.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -105,7 +105,8 @@ module Aws
105
105
  id: ::String?,
106
106
  event_destinations: Array[
107
107
  {
108
- event_destination_arn: ::String
108
+ event_destination_arn: ::String,
109
+ role_arn: ::String?
109
110
  },
110
111
  ]?,
111
112
  tags: Array[
@@ -230,7 +231,8 @@ module Aws
230
231
  id: ::String,
231
232
  event_destinations: Array[
232
233
  {
233
- event_destination_arn: ::String
234
+ event_destination_arn: ::String,
235
+ role_arn: ::String?
234
236
  },
235
237
  ]
236
238
  ) -> _PutWhatsAppBusinessAccountEventDestinationsResponseSuccess
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.3.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: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core