aws-sdk-socialmessaging 1.21.0 → 1.23.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-socialmessaging/client.rb +33 -5
- data/lib/aws-sdk-socialmessaging/client_api.rb +10 -2
- data/lib/aws-sdk-socialmessaging/types.rb +51 -3
- data/lib/aws-sdk-socialmessaging.rb +1 -1
- data/sig/client.rbs +8 -3
- data/sig/types.rbs +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c07ed44ac2b0dd92f2c8fd090f52c217140a568646fdd0f5bb0ee357f29aefd
|
|
4
|
+
data.tar.gz: 2ccd8b69a4a7baa0722143eee26372413c79735514a47a34eef9dc2c9757a160
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb01d9419c265fbe5598ae43b06cfdb6209079f9cb000e5f4da712fc70c22dfa30b3f939fab721e5b5c72bf8cac51f6c794069e601cd04628fbbeb16d1da5723
|
|
7
|
+
data.tar.gz: 59407d975fbe928215e995c8eb3e3e031cde2683ef056ba92235e4e5fd349c8b630e4f7beca5e8769f525bbbbb0e5a338123eab209b18b10711ea01741087f5e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.23.0 (2026-05-13)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds parameters to call the GetWhatsAppMessageTemplate and UpdateWhatsAppMessageTemplate APIs with a template name and language code in place of the template ID. Linked WhatsApp accounts also describe whether the WABA is onboarded to Meta's Marketing Messages API.
|
|
8
|
+
|
|
9
|
+
1.22.0 (2026-03-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.21.0 (2026-01-16)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.23.0
|
|
@@ -491,6 +491,7 @@ module Aws::SocialMessaging
|
|
|
491
491
|
#
|
|
492
492
|
# * {Types::AssociateWhatsAppBusinessAccountOutput#signup_callback_result #signup_callback_result} => Types::WhatsAppSignupCallbackResult
|
|
493
493
|
# * {Types::AssociateWhatsAppBusinessAccountOutput#status_code #status_code} => Integer
|
|
494
|
+
# * {Types::AssociateWhatsAppBusinessAccountOutput#linked_whats_app_business_account_id #linked_whats_app_business_account_id} => String
|
|
494
495
|
#
|
|
495
496
|
# @example Request syntax with placeholder values
|
|
496
497
|
#
|
|
@@ -550,6 +551,7 @@ module Aws::SocialMessaging
|
|
|
550
551
|
# resp.signup_callback_result.linked_accounts_with_incomplete_setup["WhatsAppBusinessAccountId"].unregistered_whats_app_phone_numbers[0].data_localization_region #=> String
|
|
551
552
|
# resp.signup_callback_result.linked_accounts_with_incomplete_setup["WhatsAppBusinessAccountId"].waba_id #=> String
|
|
552
553
|
# resp.status_code #=> Integer
|
|
554
|
+
# resp.linked_whats_app_business_account_id #=> String
|
|
553
555
|
#
|
|
554
556
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/AssociateWhatsAppBusinessAccount AWS API Documentation
|
|
555
557
|
#
|
|
@@ -848,6 +850,7 @@ module Aws::SocialMessaging
|
|
|
848
850
|
# resp.account.event_destinations #=> Array
|
|
849
851
|
# resp.account.event_destinations[0].event_destination_arn #=> String
|
|
850
852
|
# resp.account.event_destinations[0].role_arn #=> String
|
|
853
|
+
# resp.account.marketing_messages_onboarding_status #=> String
|
|
851
854
|
# resp.account.phone_numbers #=> Array
|
|
852
855
|
# resp.account.phone_numbers[0].arn #=> String
|
|
853
856
|
# resp.account.phone_numbers[0].phone_number #=> String
|
|
@@ -979,12 +982,22 @@ module Aws::SocialMessaging
|
|
|
979
982
|
|
|
980
983
|
# Retrieves a specific WhatsApp message template.
|
|
981
984
|
#
|
|
982
|
-
# @option params [
|
|
985
|
+
# @option params [String] :meta_template_id
|
|
983
986
|
# The numeric ID of the template assigned by Meta.
|
|
984
987
|
#
|
|
985
988
|
# @option params [required, String] :id
|
|
986
989
|
# The ID of the WhatsApp Business Account associated with this template.
|
|
987
990
|
#
|
|
991
|
+
# @option params [String] :template_name
|
|
992
|
+
# The name of the message template. Use together with
|
|
993
|
+
# `templateLanguageCode` as an alternative to `metaTemplateId` to
|
|
994
|
+
# identify a template.
|
|
995
|
+
#
|
|
996
|
+
# @option params [String] :template_language_code
|
|
997
|
+
# The language code of the message template (for example, `en` or
|
|
998
|
+
# `en_US`). Use together with `templateName` as an alternative to
|
|
999
|
+
# `metaTemplateId` to identify a template.
|
|
1000
|
+
#
|
|
988
1001
|
# @return [Types::GetWhatsAppMessageTemplateOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
989
1002
|
#
|
|
990
1003
|
# * {Types::GetWhatsAppMessageTemplateOutput#template #template} => String
|
|
@@ -992,8 +1005,10 @@ module Aws::SocialMessaging
|
|
|
992
1005
|
# @example Request syntax with placeholder values
|
|
993
1006
|
#
|
|
994
1007
|
# resp = client.get_whats_app_message_template({
|
|
995
|
-
# meta_template_id: "MetaTemplateId",
|
|
1008
|
+
# meta_template_id: "MetaTemplateId",
|
|
996
1009
|
# id: "LinkedWhatsAppBusinessAccountId", # required
|
|
1010
|
+
# template_name: "MetaTemplateName",
|
|
1011
|
+
# template_language_code: "MetaTemplateLanguage",
|
|
997
1012
|
# })
|
|
998
1013
|
#
|
|
999
1014
|
# @example Response structure
|
|
@@ -1044,6 +1059,7 @@ module Aws::SocialMessaging
|
|
|
1044
1059
|
# resp.linked_accounts[0].event_destinations #=> Array
|
|
1045
1060
|
# resp.linked_accounts[0].event_destinations[0].event_destination_arn #=> String
|
|
1046
1061
|
# resp.linked_accounts[0].event_destinations[0].role_arn #=> String
|
|
1062
|
+
# resp.linked_accounts[0].marketing_messages_onboarding_status #=> String
|
|
1047
1063
|
# resp.next_token #=> String
|
|
1048
1064
|
#
|
|
1049
1065
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/ListLinkedWhatsAppBusinessAccounts AWS API Documentation
|
|
@@ -1446,9 +1462,19 @@ module Aws::SocialMessaging
|
|
|
1446
1462
|
# @option params [required, String] :id
|
|
1447
1463
|
# The ID of the WhatsApp Business Account associated with this template.
|
|
1448
1464
|
#
|
|
1449
|
-
# @option params [
|
|
1465
|
+
# @option params [String] :meta_template_id
|
|
1450
1466
|
# The numeric ID of the template assigned by Meta.
|
|
1451
1467
|
#
|
|
1468
|
+
# @option params [String] :template_name
|
|
1469
|
+
# The name of the message template. Use together with
|
|
1470
|
+
# `templateLanguageCode` as an alternative to `metaTemplateId` to
|
|
1471
|
+
# identify a template.
|
|
1472
|
+
#
|
|
1473
|
+
# @option params [String] :template_language_code
|
|
1474
|
+
# The language code of the message template (for example, `en` or
|
|
1475
|
+
# `en_US`). Use together with `templateName` as an alternative to
|
|
1476
|
+
# `metaTemplateId` to identify a template.
|
|
1477
|
+
#
|
|
1452
1478
|
# @option params [String] :parameter_format
|
|
1453
1479
|
# The format specification for parameters in the template, this can be
|
|
1454
1480
|
# either 'named' or 'positional'.
|
|
@@ -1470,7 +1496,9 @@ module Aws::SocialMessaging
|
|
|
1470
1496
|
#
|
|
1471
1497
|
# resp = client.update_whats_app_message_template({
|
|
1472
1498
|
# id: "LinkedWhatsAppBusinessAccountId", # required
|
|
1473
|
-
# meta_template_id: "MetaTemplateId",
|
|
1499
|
+
# meta_template_id: "MetaTemplateId",
|
|
1500
|
+
# template_name: "MetaTemplateName",
|
|
1501
|
+
# template_language_code: "MetaTemplateLanguage",
|
|
1474
1502
|
# parameter_format: "MetaParameterFormat",
|
|
1475
1503
|
# template_category: "MetaTemplateCategory",
|
|
1476
1504
|
# template_components: "data",
|
|
@@ -1504,7 +1532,7 @@ module Aws::SocialMessaging
|
|
|
1504
1532
|
tracer: tracer
|
|
1505
1533
|
)
|
|
1506
1534
|
context[:gem_name] = 'aws-sdk-socialmessaging'
|
|
1507
|
-
context[:gem_version] = '1.
|
|
1535
|
+
context[:gem_version] = '1.23.0'
|
|
1508
1536
|
Seahorse::Client::Request.new(handlers, context)
|
|
1509
1537
|
end
|
|
1510
1538
|
|
|
@@ -154,6 +154,7 @@ module Aws::SocialMessaging
|
|
|
154
154
|
WhatsAppBusinessAccountEventDestinations = Shapes::ListShape.new(name: 'WhatsAppBusinessAccountEventDestinations')
|
|
155
155
|
WhatsAppBusinessAccountId = Shapes::StringShape.new(name: 'WhatsAppBusinessAccountId')
|
|
156
156
|
WhatsAppBusinessAccountLinkDate = Shapes::TimestampShape.new(name: 'WhatsAppBusinessAccountLinkDate')
|
|
157
|
+
WhatsAppBusinessAccountMarketingMessagesOnboardingStatus = Shapes::StringShape.new(name: 'WhatsAppBusinessAccountMarketingMessagesOnboardingStatus')
|
|
157
158
|
WhatsAppBusinessAccountName = Shapes::StringShape.new(name: 'WhatsAppBusinessAccountName')
|
|
158
159
|
WhatsAppDisplayPhoneNumber = Shapes::StringShape.new(name: 'WhatsAppDisplayPhoneNumber')
|
|
159
160
|
WhatsAppMediaId = Shapes::StringShape.new(name: 'WhatsAppMediaId')
|
|
@@ -185,6 +186,7 @@ module Aws::SocialMessaging
|
|
|
185
186
|
|
|
186
187
|
AssociateWhatsAppBusinessAccountOutput.add_member(:signup_callback_result, Shapes::ShapeRef.new(shape: WhatsAppSignupCallbackResult, location_name: "signupCallbackResult"))
|
|
187
188
|
AssociateWhatsAppBusinessAccountOutput.add_member(:status_code, Shapes::ShapeRef.new(shape: Integer, location_name: "statusCode"))
|
|
189
|
+
AssociateWhatsAppBusinessAccountOutput.add_member(:linked_whats_app_business_account_id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, location_name: "linkedWhatsAppBusinessAccountId"))
|
|
188
190
|
AssociateWhatsAppBusinessAccountOutput.struct_class = Types::AssociateWhatsAppBusinessAccountOutput
|
|
189
191
|
|
|
190
192
|
CreateWhatsAppMessageTemplateFromLibraryInput.add_member(:meta_library_template, Shapes::ShapeRef.new(shape: MetaLibraryTemplate, required: true, location_name: "metaLibraryTemplate"))
|
|
@@ -262,8 +264,10 @@ module Aws::SocialMessaging
|
|
|
262
264
|
GetWhatsAppMessageMediaOutput.add_member(:file_size, Shapes::ShapeRef.new(shape: Long, location_name: "fileSize"))
|
|
263
265
|
GetWhatsAppMessageMediaOutput.struct_class = Types::GetWhatsAppMessageMediaOutput
|
|
264
266
|
|
|
265
|
-
GetWhatsAppMessageTemplateInput.add_member(:meta_template_id, Shapes::ShapeRef.new(shape: MetaTemplateId,
|
|
267
|
+
GetWhatsAppMessageTemplateInput.add_member(:meta_template_id, Shapes::ShapeRef.new(shape: MetaTemplateId, location: "querystring", location_name: "metaTemplateId"))
|
|
266
268
|
GetWhatsAppMessageTemplateInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location: "querystring", location_name: "id"))
|
|
269
|
+
GetWhatsAppMessageTemplateInput.add_member(:template_name, Shapes::ShapeRef.new(shape: MetaTemplateName, location: "querystring", location_name: "templateName"))
|
|
270
|
+
GetWhatsAppMessageTemplateInput.add_member(:template_language_code, Shapes::ShapeRef.new(shape: MetaTemplateLanguage, location: "querystring", location_name: "templateLanguageCode"))
|
|
267
271
|
GetWhatsAppMessageTemplateInput.struct_class = Types::GetWhatsAppMessageTemplateInput
|
|
268
272
|
|
|
269
273
|
GetWhatsAppMessageTemplateOutput.add_member(:template, Shapes::ShapeRef.new(shape: MetaTemplate, location_name: "template"))
|
|
@@ -315,6 +319,7 @@ module Aws::SocialMessaging
|
|
|
315
319
|
LinkedWhatsAppBusinessAccount.add_member(:link_date, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountLinkDate, required: true, location_name: "linkDate"))
|
|
316
320
|
LinkedWhatsAppBusinessAccount.add_member(:waba_name, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountName, required: true, location_name: "wabaName"))
|
|
317
321
|
LinkedWhatsAppBusinessAccount.add_member(:event_destinations, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountEventDestinations, required: true, location_name: "eventDestinations"))
|
|
322
|
+
LinkedWhatsAppBusinessAccount.add_member(:marketing_messages_onboarding_status, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountMarketingMessagesOnboardingStatus, location_name: "marketingMessagesOnboardingStatus"))
|
|
318
323
|
LinkedWhatsAppBusinessAccount.add_member(:phone_numbers, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberSummaryList, required: true, location_name: "phoneNumbers"))
|
|
319
324
|
LinkedWhatsAppBusinessAccount.struct_class = Types::LinkedWhatsAppBusinessAccount
|
|
320
325
|
|
|
@@ -331,6 +336,7 @@ module Aws::SocialMessaging
|
|
|
331
336
|
LinkedWhatsAppBusinessAccountSummary.add_member(:link_date, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountLinkDate, required: true, location_name: "linkDate"))
|
|
332
337
|
LinkedWhatsAppBusinessAccountSummary.add_member(:waba_name, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountName, required: true, location_name: "wabaName"))
|
|
333
338
|
LinkedWhatsAppBusinessAccountSummary.add_member(:event_destinations, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountEventDestinations, required: true, location_name: "eventDestinations"))
|
|
339
|
+
LinkedWhatsAppBusinessAccountSummary.add_member(:marketing_messages_onboarding_status, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountMarketingMessagesOnboardingStatus, location_name: "marketingMessagesOnboardingStatus"))
|
|
334
340
|
LinkedWhatsAppBusinessAccountSummary.struct_class = Types::LinkedWhatsAppBusinessAccountSummary
|
|
335
341
|
|
|
336
342
|
LinkedWhatsAppBusinessAccountSummaryList.member = Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountSummary)
|
|
@@ -477,7 +483,9 @@ module Aws::SocialMessaging
|
|
|
477
483
|
UntagResourceOutput.struct_class = Types::UntagResourceOutput
|
|
478
484
|
|
|
479
485
|
UpdateWhatsAppMessageTemplateInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
|
|
480
|
-
UpdateWhatsAppMessageTemplateInput.add_member(:meta_template_id, Shapes::ShapeRef.new(shape: MetaTemplateId,
|
|
486
|
+
UpdateWhatsAppMessageTemplateInput.add_member(:meta_template_id, Shapes::ShapeRef.new(shape: MetaTemplateId, location_name: "metaTemplateId"))
|
|
487
|
+
UpdateWhatsAppMessageTemplateInput.add_member(:template_name, Shapes::ShapeRef.new(shape: MetaTemplateName, location_name: "templateName"))
|
|
488
|
+
UpdateWhatsAppMessageTemplateInput.add_member(:template_language_code, Shapes::ShapeRef.new(shape: MetaTemplateLanguage, location_name: "templateLanguageCode"))
|
|
481
489
|
UpdateWhatsAppMessageTemplateInput.add_member(:parameter_format, Shapes::ShapeRef.new(shape: MetaParameterFormat, location_name: "parameterFormat"))
|
|
482
490
|
UpdateWhatsAppMessageTemplateInput.add_member(:template_category, Shapes::ShapeRef.new(shape: MetaTemplateCategory, location_name: "templateCategory"))
|
|
483
491
|
UpdateWhatsAppMessageTemplateInput.add_member(:template_components, Shapes::ShapeRef.new(shape: MetaTemplateComponents, location_name: "templateComponents"))
|
|
@@ -62,11 +62,17 @@ module Aws::SocialMessaging
|
|
|
62
62
|
# The status code for the response.
|
|
63
63
|
# @return [Integer]
|
|
64
64
|
#
|
|
65
|
+
# @!attribute [rw] linked_whats_app_business_account_id
|
|
66
|
+
# The ID of the WhatsApp Business Account that was linked to your
|
|
67
|
+
# Amazon Web Services account.
|
|
68
|
+
# @return [String]
|
|
69
|
+
#
|
|
65
70
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/AssociateWhatsAppBusinessAccountOutput AWS API Documentation
|
|
66
71
|
#
|
|
67
72
|
class AssociateWhatsAppBusinessAccountOutput < Struct.new(
|
|
68
73
|
:signup_callback_result,
|
|
69
|
-
:status_code
|
|
74
|
+
:status_code,
|
|
75
|
+
:linked_whats_app_business_account_id)
|
|
70
76
|
SENSITIVE = []
|
|
71
77
|
include Aws::Structure
|
|
72
78
|
end
|
|
@@ -428,11 +434,25 @@ module Aws::SocialMessaging
|
|
|
428
434
|
# template.
|
|
429
435
|
# @return [String]
|
|
430
436
|
#
|
|
437
|
+
# @!attribute [rw] template_name
|
|
438
|
+
# The name of the message template. Use together with
|
|
439
|
+
# `templateLanguageCode` as an alternative to `metaTemplateId` to
|
|
440
|
+
# identify a template.
|
|
441
|
+
# @return [String]
|
|
442
|
+
#
|
|
443
|
+
# @!attribute [rw] template_language_code
|
|
444
|
+
# The language code of the message template (for example, `en` or
|
|
445
|
+
# `en_US`). Use together with `templateName` as an alternative to
|
|
446
|
+
# `metaTemplateId` to identify a template.
|
|
447
|
+
# @return [String]
|
|
448
|
+
#
|
|
431
449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/GetWhatsAppMessageTemplateInput AWS API Documentation
|
|
432
450
|
#
|
|
433
451
|
class GetWhatsAppMessageTemplateInput < Struct.new(
|
|
434
452
|
:meta_template_id,
|
|
435
|
-
:id
|
|
453
|
+
:id,
|
|
454
|
+
:template_name,
|
|
455
|
+
:template_language_code)
|
|
436
456
|
SENSITIVE = []
|
|
437
457
|
include Aws::Structure
|
|
438
458
|
end
|
|
@@ -641,6 +661,12 @@ module Aws::SocialMessaging
|
|
|
641
661
|
# The event destinations for the linked WhatsApp Business Account.
|
|
642
662
|
# @return [Array<Types::WhatsAppBusinessAccountEventDestination>]
|
|
643
663
|
#
|
|
664
|
+
# @!attribute [rw] marketing_messages_onboarding_status
|
|
665
|
+
# The onboarding status for the Marketing Messages API. This value is
|
|
666
|
+
# fetched from Meta and indicates whether the WhatsApp Business
|
|
667
|
+
# Account is onboarded for Meta's Marketing Messages API.
|
|
668
|
+
# @return [String]
|
|
669
|
+
#
|
|
644
670
|
# @!attribute [rw] phone_numbers
|
|
645
671
|
# The phone numbers associated with the Linked WhatsApp Business
|
|
646
672
|
# Account.
|
|
@@ -656,6 +682,7 @@ module Aws::SocialMessaging
|
|
|
656
682
|
:link_date,
|
|
657
683
|
:waba_name,
|
|
658
684
|
:event_destinations,
|
|
685
|
+
:marketing_messages_onboarding_status,
|
|
659
686
|
:phone_numbers)
|
|
660
687
|
SENSITIVE = []
|
|
661
688
|
include Aws::Structure
|
|
@@ -722,6 +749,12 @@ module Aws::SocialMessaging
|
|
|
722
749
|
# The event destinations for the linked WhatsApp Business Account.
|
|
723
750
|
# @return [Array<Types::WhatsAppBusinessAccountEventDestination>]
|
|
724
751
|
#
|
|
752
|
+
# @!attribute [rw] marketing_messages_onboarding_status
|
|
753
|
+
# The onboarding status for the Marketing Messages API. This value is
|
|
754
|
+
# fetched from Meta and indicates whether the WhatsApp Business
|
|
755
|
+
# Account is onboarded for Meta's Marketing Messages API.
|
|
756
|
+
# @return [String]
|
|
757
|
+
#
|
|
725
758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/LinkedWhatsAppBusinessAccountSummary AWS API Documentation
|
|
726
759
|
#
|
|
727
760
|
class LinkedWhatsAppBusinessAccountSummary < Struct.new(
|
|
@@ -731,7 +764,8 @@ module Aws::SocialMessaging
|
|
|
731
764
|
:registration_status,
|
|
732
765
|
:link_date,
|
|
733
766
|
:waba_name,
|
|
734
|
-
:event_destinations
|
|
767
|
+
:event_destinations,
|
|
768
|
+
:marketing_messages_onboarding_status)
|
|
735
769
|
SENSITIVE = []
|
|
736
770
|
include Aws::Structure
|
|
737
771
|
end
|
|
@@ -1330,6 +1364,18 @@ module Aws::SocialMessaging
|
|
|
1330
1364
|
# The numeric ID of the template assigned by Meta.
|
|
1331
1365
|
# @return [String]
|
|
1332
1366
|
#
|
|
1367
|
+
# @!attribute [rw] template_name
|
|
1368
|
+
# The name of the message template. Use together with
|
|
1369
|
+
# `templateLanguageCode` as an alternative to `metaTemplateId` to
|
|
1370
|
+
# identify a template.
|
|
1371
|
+
# @return [String]
|
|
1372
|
+
#
|
|
1373
|
+
# @!attribute [rw] template_language_code
|
|
1374
|
+
# The language code of the message template (for example, `en` or
|
|
1375
|
+
# `en_US`). Use together with `templateName` as an alternative to
|
|
1376
|
+
# `metaTemplateId` to identify a template.
|
|
1377
|
+
# @return [String]
|
|
1378
|
+
#
|
|
1333
1379
|
# @!attribute [rw] parameter_format
|
|
1334
1380
|
# The format specification for parameters in the template, this can be
|
|
1335
1381
|
# either 'named' or 'positional'.
|
|
@@ -1355,6 +1401,8 @@ module Aws::SocialMessaging
|
|
|
1355
1401
|
class UpdateWhatsAppMessageTemplateInput < Struct.new(
|
|
1356
1402
|
:id,
|
|
1357
1403
|
:meta_template_id,
|
|
1404
|
+
:template_name,
|
|
1405
|
+
:template_language_code,
|
|
1358
1406
|
:parameter_format,
|
|
1359
1407
|
:template_category,
|
|
1360
1408
|
:template_components,
|
data/sig/client.rbs
CHANGED
|
@@ -82,6 +82,7 @@ module Aws
|
|
|
82
82
|
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateWhatsAppBusinessAccountOutput]
|
|
83
83
|
def signup_callback_result: () -> Types::WhatsAppSignupCallbackResult
|
|
84
84
|
def status_code: () -> ::Integer
|
|
85
|
+
def linked_whats_app_business_account_id: () -> ::String
|
|
85
86
|
end
|
|
86
87
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SocialMessaging/Client.html#associate_whats_app_business_account-instance_method
|
|
87
88
|
def associate_whats_app_business_account: (
|
|
@@ -268,8 +269,10 @@ module Aws
|
|
|
268
269
|
end
|
|
269
270
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SocialMessaging/Client.html#get_whats_app_message_template-instance_method
|
|
270
271
|
def get_whats_app_message_template: (
|
|
271
|
-
meta_template_id: ::String,
|
|
272
|
-
id: ::String
|
|
272
|
+
?meta_template_id: ::String,
|
|
273
|
+
id: ::String,
|
|
274
|
+
?template_name: ::String,
|
|
275
|
+
?template_language_code: ::String
|
|
273
276
|
) -> _GetWhatsAppMessageTemplateResponseSuccess
|
|
274
277
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWhatsAppMessageTemplateResponseSuccess
|
|
275
278
|
|
|
@@ -401,7 +404,9 @@ module Aws
|
|
|
401
404
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SocialMessaging/Client.html#update_whats_app_message_template-instance_method
|
|
402
405
|
def update_whats_app_message_template: (
|
|
403
406
|
id: ::String,
|
|
404
|
-
meta_template_id: ::String,
|
|
407
|
+
?meta_template_id: ::String,
|
|
408
|
+
?template_name: ::String,
|
|
409
|
+
?template_language_code: ::String,
|
|
405
410
|
?parameter_format: ::String,
|
|
406
411
|
?template_category: ::String,
|
|
407
412
|
?template_components: ::String,
|
data/sig/types.rbs
CHANGED
|
@@ -27,6 +27,7 @@ module Aws::SocialMessaging
|
|
|
27
27
|
class AssociateWhatsAppBusinessAccountOutput
|
|
28
28
|
attr_accessor signup_callback_result: Types::WhatsAppSignupCallbackResult
|
|
29
29
|
attr_accessor status_code: ::Integer
|
|
30
|
+
attr_accessor linked_whats_app_business_account_id: ::String
|
|
30
31
|
SENSITIVE: []
|
|
31
32
|
end
|
|
32
33
|
|
|
@@ -141,6 +142,8 @@ module Aws::SocialMessaging
|
|
|
141
142
|
class GetWhatsAppMessageTemplateInput
|
|
142
143
|
attr_accessor meta_template_id: ::String
|
|
143
144
|
attr_accessor id: ::String
|
|
145
|
+
attr_accessor template_name: ::String
|
|
146
|
+
attr_accessor template_language_code: ::String
|
|
144
147
|
SENSITIVE: []
|
|
145
148
|
end
|
|
146
149
|
|
|
@@ -202,6 +205,7 @@ module Aws::SocialMessaging
|
|
|
202
205
|
attr_accessor link_date: ::Time
|
|
203
206
|
attr_accessor waba_name: ::String
|
|
204
207
|
attr_accessor event_destinations: ::Array[Types::WhatsAppBusinessAccountEventDestination]
|
|
208
|
+
attr_accessor marketing_messages_onboarding_status: ::String
|
|
205
209
|
attr_accessor phone_numbers: ::Array[Types::WhatsAppPhoneNumberSummary]
|
|
206
210
|
SENSITIVE: []
|
|
207
211
|
end
|
|
@@ -222,6 +226,7 @@ module Aws::SocialMessaging
|
|
|
222
226
|
attr_accessor link_date: ::Time
|
|
223
227
|
attr_accessor waba_name: ::String
|
|
224
228
|
attr_accessor event_destinations: ::Array[Types::WhatsAppBusinessAccountEventDestination]
|
|
229
|
+
attr_accessor marketing_messages_onboarding_status: ::String
|
|
225
230
|
SENSITIVE: []
|
|
226
231
|
end
|
|
227
232
|
|
|
@@ -396,6 +401,8 @@ module Aws::SocialMessaging
|
|
|
396
401
|
class UpdateWhatsAppMessageTemplateInput
|
|
397
402
|
attr_accessor id: ::String
|
|
398
403
|
attr_accessor meta_template_id: ::String
|
|
404
|
+
attr_accessor template_name: ::String
|
|
405
|
+
attr_accessor template_language_code: ::String
|
|
399
406
|
attr_accessor parameter_format: ::String
|
|
400
407
|
attr_accessor template_category: ::String
|
|
401
408
|
attr_accessor template_components: ::String
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-socialmessaging
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.23.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.247.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.247.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|