aws-sdk-socialmessaging 1.18.0 → 1.20.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: e91eee0d160ceefd66a4fd2a5609c535436cf1aff9517377bfd23254c5e6e30c
4
- data.tar.gz: 8a1be07efc64200fb4e65cca1c53e609432092add7cd2db92822773d33db9381
3
+ metadata.gz: a16a51b88d3d38c54f3c03d014fc36ddab9be52b996bfdae96bb925983104fd8
4
+ data.tar.gz: d056dbdc588be6a5fbf06aad4f9635e6371f14e04ee68842a96f56d1a69fedb4
5
5
  SHA512:
6
- metadata.gz: 5ccf8f1ea592a399534643c0759170502c7061b74063239bc70d97a2b69eeab26e37158d1f94e7557292989b252202e807333b20211370283027afce4b6026fe
7
- data.tar.gz: 121ab05d70b31095b3ab833e682f6119ec24b9a03332bdd61897da9d8e8577d1712b2979a9303908a2f563df2157e1f3b3f500b69c4ad146abaaedb310fd6110
6
+ metadata.gz: 4e489954fab6a3ad9c48898ab70f2f5cb578be985dfa494cb6684c1a9650916b33b5479bca139f6f5288bca0bb83e3b85cdef111782d10ce90ae643ef386ba12
7
+ data.tar.gz: f254554b3968a38a6230e5bc8a1080761a43a0421199188d2ef8ef9a072f90890ab5aeffa9332044ee39fd5bab2055b3fd56ce207f15eac23e409de7779c3952
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2026-01-14)
5
+ ------------------
6
+
7
+ * Feature - This release clarifies WhatsApp template operations as a resource-authenticated operation via the parent WhatsApp Business Account. It also introduces new parameters for parameter format, CTA URL link tracking, and template body examples, and increases the phone number ID length.
8
+
9
+ 1.19.0 (2026-01-08)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.18.0 (2026-01-05)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.20.0
@@ -562,6 +562,11 @@ module Aws::SocialMessaging
562
562
 
563
563
  # Creates a new WhatsApp message template from a custom definition.
564
564
  #
565
+ # <note markdown="1"> Amazon Web Services End User Messaging Social does not store any
566
+ # WhatsApp message template content.
567
+ #
568
+ # </note>
569
+ #
565
570
  # @option params [required, String, StringIO, File] :template_definition
566
571
  # The complete template definition as a JSON blob.
567
572
  #
@@ -719,7 +724,7 @@ module Aws::SocialMessaging
719
724
  #
720
725
  #
721
726
  #
722
- # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html
727
+ # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html
723
728
  #
724
729
  # @return [Types::DeleteWhatsAppMessageMediaOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
725
730
  #
@@ -862,8 +867,8 @@ module Aws::SocialMessaging
862
867
  req.send_request(options)
863
868
  end
864
869
 
865
- # Use your WhatsApp phone number id to get the WABA account id and phone
866
- # number details.
870
+ # Retrieve the WABA account id and phone number details of a WhatsApp
871
+ # business account phone number.
867
872
  #
868
873
  # @option params [required, String] :id
869
874
  # The unique identifier of the phone number. Phone number identifiers
@@ -873,7 +878,7 @@ module Aws::SocialMessaging
873
878
  #
874
879
  #
875
880
  #
876
- # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html
881
+ # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html
877
882
  #
878
883
  # @return [Types::GetLinkedWhatsAppBusinessAccountPhoneNumberOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
879
884
  #
@@ -924,7 +929,7 @@ module Aws::SocialMessaging
924
929
  #
925
930
  #
926
931
  #
927
- # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html
932
+ # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html
928
933
  #
929
934
  # @option params [Boolean] :metadata_only
930
935
  # Set to `True` to get only the metadata for the file.
@@ -1188,6 +1193,8 @@ module Aws::SocialMessaging
1188
1193
  # resp.meta_library_templates[0].template_buttons[0].supported_apps[0] #=> Hash
1189
1194
  # resp.meta_library_templates[0].template_buttons[0].supported_apps[0]["SupportedAppKeyString"] #=> String
1190
1195
  # resp.meta_library_templates[0].template_id #=> String
1196
+ # resp.meta_library_templates[0].template_body_example_params #=> Array
1197
+ # resp.meta_library_templates[0].template_body_example_params[0] #=> String
1191
1198
  # resp.next_token #=> String
1192
1199
  #
1193
1200
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/ListWhatsAppTemplateLibrary AWS API Documentation
@@ -1217,7 +1224,7 @@ module Aws::SocialMessaging
1217
1224
  #
1218
1225
  #
1219
1226
  #
1220
- # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html
1227
+ # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html
1221
1228
  #
1222
1229
  # @option params [Types::S3PresignedUrl] :source_s3_presigned_url
1223
1230
  # The source presign url of the media file.
@@ -1317,7 +1324,7 @@ module Aws::SocialMessaging
1317
1324
  #
1318
1325
  #
1319
1326
  #
1320
- # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html
1327
+ # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html
1321
1328
  #
1322
1329
  # @option params [required, String, StringIO, File] :message
1323
1330
  # The message to send through WhatsApp. The length is in KB. The message
@@ -1442,6 +1449,10 @@ module Aws::SocialMessaging
1442
1449
  # @option params [required, String] :meta_template_id
1443
1450
  # The numeric ID of the template assigned by Meta.
1444
1451
  #
1452
+ # @option params [String] :parameter_format
1453
+ # The format specification for parameters in the template, this can be
1454
+ # either 'named' or 'positional'.
1455
+ #
1445
1456
  # @option params [String] :template_category
1446
1457
  # The new category for the template (for example, UTILITY or MARKETING).
1447
1458
  #
@@ -1449,6 +1460,10 @@ module Aws::SocialMessaging
1449
1460
  # The updated components of the template as a JSON blob (maximum 3000
1450
1461
  # characters).
1451
1462
  #
1463
+ # @option params [Boolean] :cta_url_link_tracking_opted_out
1464
+ # When true, disables click tracking for call-to-action URL buttons in
1465
+ # the template.
1466
+ #
1452
1467
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1453
1468
  #
1454
1469
  # @example Request syntax with placeholder values
@@ -1456,8 +1471,10 @@ module Aws::SocialMessaging
1456
1471
  # resp = client.update_whats_app_message_template({
1457
1472
  # id: "LinkedWhatsAppBusinessAccountId", # required
1458
1473
  # meta_template_id: "MetaTemplateId", # required
1474
+ # parameter_format: "MetaParameterFormat",
1459
1475
  # template_category: "MetaTemplateCategory",
1460
1476
  # template_components: "data",
1477
+ # cta_url_link_tracking_opted_out: false,
1461
1478
  # })
1462
1479
  #
1463
1480
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/UpdateWhatsAppMessageTemplate AWS API Documentation
@@ -1487,7 +1504,7 @@ module Aws::SocialMessaging
1487
1504
  tracer: tracer
1488
1505
  )
1489
1506
  context[:gem_name] = 'aws-sdk-socialmessaging'
1490
- context[:gem_version] = '1.18.0'
1507
+ context[:gem_version] = '1.20.0'
1491
1508
  Seahorse::Client::Request.new(handlers, context)
1492
1509
  end
1493
1510
 
@@ -88,10 +88,13 @@ module Aws::SocialMessaging
88
88
  MetaLibraryTemplateButtonList = Shapes::ListShape.new(name: 'MetaLibraryTemplateButtonList')
89
89
  MetaLibraryTemplateDefinition = Shapes::StructureShape.new(name: 'MetaLibraryTemplateDefinition')
90
90
  MetaLibraryTemplatesList = Shapes::ListShape.new(name: 'MetaLibraryTemplatesList')
91
+ MetaParameterFormat = Shapes::StringShape.new(name: 'MetaParameterFormat')
91
92
  MetaTemplate = Shapes::StringShape.new(name: 'MetaTemplate')
92
93
  MetaTemplateBody = Shapes::StringShape.new(name: 'MetaTemplateBody')
94
+ MetaTemplateBodyExampleParams = Shapes::ListShape.new(name: 'MetaTemplateBodyExampleParams')
93
95
  MetaTemplateCategory = Shapes::StringShape.new(name: 'MetaTemplateCategory')
94
96
  MetaTemplateComponents = Shapes::BlobShape.new(name: 'MetaTemplateComponents')
97
+ MetaTemplateCtaLinkTrackingOptedOut = Shapes::BooleanShape.new(name: 'MetaTemplateCtaLinkTrackingOptedOut')
95
98
  MetaTemplateDefinition = Shapes::BlobShape.new(name: 'MetaTemplateDefinition')
96
99
  MetaTemplateHeader = Shapes::StringShape.new(name: 'MetaTemplateHeader')
97
100
  MetaTemplateId = Shapes::StringShape.new(name: 'MetaTemplateId')
@@ -390,10 +393,13 @@ module Aws::SocialMessaging
390
393
  MetaLibraryTemplateDefinition.add_member(:template_body, Shapes::ShapeRef.new(shape: MetaTemplateBody, location_name: "templateBody"))
391
394
  MetaLibraryTemplateDefinition.add_member(:template_buttons, Shapes::ShapeRef.new(shape: MetaLibraryTemplateButtonList, location_name: "templateButtons"))
392
395
  MetaLibraryTemplateDefinition.add_member(:template_id, Shapes::ShapeRef.new(shape: MetaTemplateId, location_name: "templateId"))
396
+ MetaLibraryTemplateDefinition.add_member(:template_body_example_params, Shapes::ShapeRef.new(shape: MetaTemplateBodyExampleParams, location_name: "templateBodyExampleParams"))
393
397
  MetaLibraryTemplateDefinition.struct_class = Types::MetaLibraryTemplateDefinition
394
398
 
395
399
  MetaLibraryTemplatesList.member = Shapes::ShapeRef.new(shape: MetaLibraryTemplateDefinition)
396
400
 
401
+ MetaTemplateBodyExampleParams.member = Shapes::ShapeRef.new(shape: String)
402
+
397
403
  MetaUrlWithSuffixExample.key = Shapes::ShapeRef.new(shape: MetaUrlWithSuffixExampleKeyString)
398
404
  MetaUrlWithSuffixExample.value = Shapes::ShapeRef.new(shape: MetaUrlWithSuffixExampleValueString)
399
405
 
@@ -472,8 +478,10 @@ module Aws::SocialMessaging
472
478
 
473
479
  UpdateWhatsAppMessageTemplateInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
474
480
  UpdateWhatsAppMessageTemplateInput.add_member(:meta_template_id, Shapes::ShapeRef.new(shape: MetaTemplateId, required: true, location_name: "metaTemplateId"))
481
+ UpdateWhatsAppMessageTemplateInput.add_member(:parameter_format, Shapes::ShapeRef.new(shape: MetaParameterFormat, location_name: "parameterFormat"))
475
482
  UpdateWhatsAppMessageTemplateInput.add_member(:template_category, Shapes::ShapeRef.new(shape: MetaTemplateCategory, location_name: "templateCategory"))
476
483
  UpdateWhatsAppMessageTemplateInput.add_member(:template_components, Shapes::ShapeRef.new(shape: MetaTemplateComponents, location_name: "templateComponents"))
484
+ UpdateWhatsAppMessageTemplateInput.add_member(:cta_url_link_tracking_opted_out, Shapes::ShapeRef.new(shape: MetaTemplateCtaLinkTrackingOptedOut, location_name: "ctaUrlLinkTrackingOptedOut"))
477
485
  UpdateWhatsAppMessageTemplateInput.struct_class = Types::UpdateWhatsAppMessageTemplateInput
478
486
 
479
487
  UpdateWhatsAppMessageTemplateOutput.struct_class = Types::UpdateWhatsAppMessageTemplateOutput
@@ -626,8 +634,8 @@ module Aws::SocialMessaging
626
634
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
627
635
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
628
636
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
629
- o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
630
637
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedByMetaException)
638
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
631
639
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
632
640
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
633
641
  end)
@@ -655,8 +663,8 @@ module Aws::SocialMessaging
655
663
  o.output = Shapes::ShapeRef.new(shape: DisassociateWhatsAppBusinessAccountOutput)
656
664
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
657
665
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
658
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
659
666
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
667
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
660
668
  o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
661
669
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
662
670
  end)
@@ -669,8 +677,8 @@ module Aws::SocialMessaging
669
677
  o.output = Shapes::ShapeRef.new(shape: GetLinkedWhatsAppBusinessAccountOutput)
670
678
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
671
679
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
672
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
673
680
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
681
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
674
682
  o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
675
683
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
676
684
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
@@ -684,8 +692,8 @@ module Aws::SocialMessaging
684
692
  o.output = Shapes::ShapeRef.new(shape: GetLinkedWhatsAppBusinessAccountPhoneNumberOutput)
685
693
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
686
694
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
687
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
688
695
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
696
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
689
697
  o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
690
698
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
691
699
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
@@ -701,8 +709,8 @@ module Aws::SocialMessaging
701
709
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
702
710
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
703
711
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
704
- o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
705
712
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedByMetaException)
713
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
706
714
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
707
715
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
708
716
  end)
@@ -730,8 +738,8 @@ module Aws::SocialMessaging
730
738
  o.output = Shapes::ShapeRef.new(shape: ListLinkedWhatsAppBusinessAccountsOutput)
731
739
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
732
740
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
733
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
734
741
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
742
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
735
743
  o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
736
744
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
737
745
  o[:pager] = Aws::Pager.new(
@@ -807,8 +815,8 @@ module Aws::SocialMessaging
807
815
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
808
816
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
809
817
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
810
- o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
811
818
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedByMetaException)
819
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
812
820
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
813
821
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
814
822
  end)
@@ -834,8 +842,8 @@ module Aws::SocialMessaging
834
842
  o.output = Shapes::ShapeRef.new(shape: SendWhatsAppMessageOutput)
835
843
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
836
844
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
837
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
838
845
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
846
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
839
847
  o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
840
848
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
841
849
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
@@ -201,7 +201,7 @@ module Aws::SocialMessaging
201
201
  #
202
202
  #
203
203
  #
204
- # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html
204
+ # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html
205
205
  # @return [String]
206
206
  #
207
207
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/DeleteWhatsAppMessageMediaInput AWS API Documentation
@@ -334,7 +334,7 @@ module Aws::SocialMessaging
334
334
  #
335
335
  #
336
336
  #
337
- # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html
337
+ # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html
338
338
  # @return [String]
339
339
  #
340
340
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/GetLinkedWhatsAppBusinessAccountPhoneNumberInput AWS API Documentation
@@ -375,7 +375,7 @@ module Aws::SocialMessaging
375
375
  #
376
376
  #
377
377
  #
378
- # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html
378
+ # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html
379
379
  # @return [String]
380
380
  #
381
381
  # @!attribute [rw] metadata_only
@@ -407,7 +407,7 @@ module Aws::SocialMessaging
407
407
  # @return [String]
408
408
  #
409
409
  # @!attribute [rw] file_size
410
- # The file size of the media, in KB.
410
+ # The size of the media file, in KB.
411
411
  # @return [Integer]
412
412
  #
413
413
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/GetWhatsAppMessageMediaOutput AWS API Documentation
@@ -968,6 +968,11 @@ module Aws::SocialMessaging
968
968
  # The ID of the template in Meta's library.
969
969
  # @return [String]
970
970
  #
971
+ # @!attribute [rw] template_body_example_params
972
+ # Example parameter values for the template body, used to demonstrate
973
+ # how dynamic content appears in the template.
974
+ # @return [Array<String>]
975
+ #
971
976
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/MetaLibraryTemplateDefinition AWS API Documentation
972
977
  #
973
978
  class MetaLibraryTemplateDefinition < Struct.new(
@@ -980,7 +985,8 @@ module Aws::SocialMessaging
980
985
  :template_header,
981
986
  :template_body,
982
987
  :template_buttons,
983
- :template_id)
988
+ :template_id,
989
+ :template_body_example_params)
984
990
  SENSITIVE = []
985
991
  include Aws::Structure
986
992
  end
@@ -993,7 +999,7 @@ module Aws::SocialMessaging
993
999
  #
994
1000
  #
995
1001
  #
996
- # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html
1002
+ # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html
997
1003
  # @return [String]
998
1004
  #
999
1005
  # @!attribute [rw] source_s3_presigned_url
@@ -1076,7 +1082,16 @@ module Aws::SocialMessaging
1076
1082
  # @return [String]
1077
1083
  #
1078
1084
  # @!attribute [rw] key
1079
- # The object key of the media file.
1085
+ # The S3 key prefix that defines the storage location of your media
1086
+ # files. The prefix works like a folder path in S3, and is combined
1087
+ # with the WhatsApp mediaId to create the final file path.
1088
+ #
1089
+ # For example, if a media file's WhatsApp mediaId is `123.ogg`, and
1090
+ # the key is `audio/example.ogg`, the final file path is
1091
+ # `audio/example.ogg123.ogg`.
1092
+ #
1093
+ # For the same mediaId, a key of `audio/` results in the file path
1094
+ # `audio/123.ogg`.
1080
1095
  # @return [String]
1081
1096
  #
1082
1097
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/S3File AWS API Documentation
@@ -1129,7 +1144,7 @@ module Aws::SocialMessaging
1129
1144
  #
1130
1145
  #
1131
1146
  #
1132
- # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html
1147
+ # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html
1133
1148
  # @return [String]
1134
1149
  #
1135
1150
  # @!attribute [rw] message
@@ -1315,6 +1330,11 @@ module Aws::SocialMessaging
1315
1330
  # The numeric ID of the template assigned by Meta.
1316
1331
  # @return [String]
1317
1332
  #
1333
+ # @!attribute [rw] parameter_format
1334
+ # The format specification for parameters in the template, this can be
1335
+ # either 'named' or 'positional'.
1336
+ # @return [String]
1337
+ #
1318
1338
  # @!attribute [rw] template_category
1319
1339
  # The new category for the template (for example, UTILITY or
1320
1340
  # MARKETING).
@@ -1325,13 +1345,20 @@ module Aws::SocialMessaging
1325
1345
  # characters).
1326
1346
  # @return [String]
1327
1347
  #
1348
+ # @!attribute [rw] cta_url_link_tracking_opted_out
1349
+ # When true, disables click tracking for call-to-action URL buttons in
1350
+ # the template.
1351
+ # @return [Boolean]
1352
+ #
1328
1353
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/UpdateWhatsAppMessageTemplateInput AWS API Documentation
1329
1354
  #
1330
1355
  class UpdateWhatsAppMessageTemplateInput < Struct.new(
1331
1356
  :id,
1332
1357
  :meta_template_id,
1358
+ :parameter_format,
1333
1359
  :template_category,
1334
- :template_components)
1360
+ :template_components,
1361
+ :cta_url_link_tracking_opted_out)
1335
1362
  SENSITIVE = []
1336
1363
  include Aws::Structure
1337
1364
  end
@@ -1358,12 +1385,13 @@ module Aws::SocialMessaging
1358
1385
  # @!attribute [rw] id
1359
1386
  # The unique identifier of the originating phone number associated
1360
1387
  # with the media. Phone number identifiers are formatted as
1361
- # `phone-number-id-01234567890123456789012345678901`. Use
1362
- # [GetLinkedWhatsAppBusinessAccount][1] to find a phone number's id.
1388
+ # `phone-number-id-01234567890123456789012345678901`. Use the
1389
+ # [GetLinkedWhatsAppBusinessAccount][1] API action to find a phone
1390
+ # number's id.
1363
1391
  #
1364
1392
  #
1365
1393
  #
1366
- # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html
1394
+ # [1]: https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccount.html
1367
1395
  # @return [String]
1368
1396
  #
1369
1397
  # @!attribute [rw] two_factor_pin
@@ -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.18.0'
57
+ GEM_VERSION = '1.20.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -402,8 +402,10 @@ module Aws
402
402
  def update_whats_app_message_template: (
403
403
  id: ::String,
404
404
  meta_template_id: ::String,
405
+ ?parameter_format: ::String,
405
406
  ?template_category: ::String,
406
- ?template_components: ::String
407
+ ?template_components: ::String,
408
+ ?cta_url_link_tracking_opted_out: bool
407
409
  ) -> _UpdateWhatsAppMessageTemplateResponseSuccess
408
410
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWhatsAppMessageTemplateResponseSuccess
409
411
  end
data/sig/types.rbs CHANGED
@@ -296,6 +296,7 @@ module Aws::SocialMessaging
296
296
  attr_accessor template_body: ::String
297
297
  attr_accessor template_buttons: ::Array[Types::LibraryTemplateButtonList]
298
298
  attr_accessor template_id: ::String
299
+ attr_accessor template_body_example_params: ::Array[::String]
299
300
  SENSITIVE: []
300
301
  end
301
302
 
@@ -395,8 +396,10 @@ module Aws::SocialMessaging
395
396
  class UpdateWhatsAppMessageTemplateInput
396
397
  attr_accessor id: ::String
397
398
  attr_accessor meta_template_id: ::String
399
+ attr_accessor parameter_format: ::String
398
400
  attr_accessor template_category: ::String
399
401
  attr_accessor template_components: ::String
402
+ attr_accessor cta_url_link_tracking_opted_out: bool
400
403
  SENSITIVE: []
401
404
  end
402
405
 
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.18.0
4
+ version: 1.20.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.241.0
21
+ version: 3.241.3
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.241.0
31
+ version: 3.241.3
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement