aws-sdk-socialmessaging 1.1.0 → 1.3.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: 3f408f409dc8d62f723ab51077c298984f686b661e78ade54e4382e0fdb3a250
4
- data.tar.gz: af91e6b4f4d982c9cb74916705b82e6afe81aadafb7281f685405aab7e424705
3
+ metadata.gz: 98e51ce31550a695b372cd8cbfb779b8fe1f2127cb12147f86c426dee9d74238
4
+ data.tar.gz: eb6e24ff5af4940536ae5f14407b12500e339e0c812e2e97eeed354cd36f33c6
5
5
  SHA512:
6
- metadata.gz: 2177f301651b71d2fa7a42a7f5ad107af17d0073f907dd527077d276a957870d9278b94fd03f38e8b42a8613ffaaef2c3fbb49476279b8ed6f807712b4d36d4d
7
- data.tar.gz: 618025423782e7e11dde851c840ae477d8dd0b33ee5991c8a19639ee61d914d7ac8c69f17769bf434ad4b92eaba808c3e3d82c1638f1f5117e3d57ddf2b3c348
6
+ metadata.gz: 30eabfd1be3b3ee3ac9c0cc2d17628a94e33ca4d22153e4f9d718e078c6678dcc58c7d6353d26daec5fbb0bd4eb1332d6810c40b7a020d3149f34e7e61ba2634
7
+ data.tar.gz: 33f8d0a47f583a33a0ed93143412482ec026e4b4ae61353dc52a918fa9a6b7b12cc1b4b82f4d8a6cca8d32c6f63b538b320fcff9a00a6941ec2eab14a1474363
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.2.0 (2024-11-06)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.1.0 (2024-10-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.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
  # })
@@ -970,9 +975,9 @@ module Aws::SocialMessaging
970
975
  # [1]: https://developers.facebook.com/docs/whatsapp/cloud-api/reference/messages
971
976
  #
972
977
  # @option params [required, String] :meta_api_version
973
- # The API version for the request formatted as `v\{VersionNumber\}`. For
974
- # a list of supported API versions and Amazon Web Services Regions, see
975
- # [ *Amazon Web Services End User Messaging Social API* Service
978
+ # The API version for the request formatted as `v{VersionNumber}`. For a
979
+ # list of supported API versions and Amazon Web Services Regions, see [
980
+ # *Amazon Web Services End User Messaging Social API* Service
976
981
  # Endpoints][1] in the *Amazon Web Services General Reference*.
977
982
  #
978
983
  #
@@ -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.1.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
@@ -646,11 +651,10 @@ module Aws::SocialMessaging
646
651
  # @return [String]
647
652
  #
648
653
  # @!attribute [rw] meta_api_version
649
- # The API version for the request formatted as `v\{VersionNumber\}`.
650
- # For a list of supported API versions and Amazon Web Services
651
- # Regions, see [ *Amazon Web Services End User Messaging Social API*
652
- # Service Endpoints][1] in the *Amazon Web Services General
653
- # Reference*.
654
+ # The API version for the request formatted as `v{VersionNumber}`. For
655
+ # a list of supported API versions and Amazon Web Services Regions,
656
+ # see [ *Amazon Web Services End User Messaging Social API* Service
657
+ # Endpoints][1] in the *Amazon Web Services General Reference*.
654
658
  #
655
659
  #
656
660
  #
@@ -898,10 +902,16 @@ module Aws::SocialMessaging
898
902
  # The ARN of the event destination.
899
903
  # @return [String]
900
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
+ #
901
910
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/WhatsAppBusinessAccountEventDestination AWS API Documentation
902
911
  #
903
912
  class WhatsAppBusinessAccountEventDestination < Struct.new(
904
- :event_destination_arn)
913
+ :event_destination_arn,
914
+ :role_arn)
905
915
  SENSITIVE = []
906
916
  include Aws::Structure
907
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.1.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.1.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-10-18 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