aws-sdk-socialmessaging 1.10.0 → 1.11.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-socialmessaging/client.rb +361 -1
- data/lib/aws-sdk-socialmessaging/client_api.rb +343 -0
- data/lib/aws-sdk-socialmessaging/errors.rb +16 -0
- data/lib/aws-sdk-socialmessaging/types.rb +588 -3
- data/lib/aws-sdk-socialmessaging.rb +1 -1
- data/sig/client.rbs +128 -1
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +169 -0
- metadata +1 -1
@@ -71,6 +71,119 @@ module Aws::SocialMessaging
|
|
71
71
|
include Aws::Structure
|
72
72
|
end
|
73
73
|
|
74
|
+
# @!attribute [rw] meta_library_template
|
75
|
+
# The template configuration from Meta's library, including
|
76
|
+
# customizations for buttons and body text.
|
77
|
+
# @return [Types::MetaLibraryTemplate]
|
78
|
+
#
|
79
|
+
# @!attribute [rw] id
|
80
|
+
# The ID of the WhatsApp Business Account to associate with this
|
81
|
+
# template.
|
82
|
+
# @return [String]
|
83
|
+
#
|
84
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/CreateWhatsAppMessageTemplateFromLibraryInput AWS API Documentation
|
85
|
+
#
|
86
|
+
class CreateWhatsAppMessageTemplateFromLibraryInput < Struct.new(
|
87
|
+
:meta_library_template,
|
88
|
+
:id)
|
89
|
+
SENSITIVE = []
|
90
|
+
include Aws::Structure
|
91
|
+
end
|
92
|
+
|
93
|
+
# @!attribute [rw] meta_template_id
|
94
|
+
# The numeric ID assigned to the template by Meta.
|
95
|
+
# @return [String]
|
96
|
+
#
|
97
|
+
# @!attribute [rw] template_status
|
98
|
+
# The status of the created template (for example, PENDING or
|
99
|
+
# APPROVED).
|
100
|
+
# @return [String]
|
101
|
+
#
|
102
|
+
# @!attribute [rw] category
|
103
|
+
# The category of the template (for example, UTILITY or MARKETING).
|
104
|
+
# @return [String]
|
105
|
+
#
|
106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/CreateWhatsAppMessageTemplateFromLibraryOutput AWS API Documentation
|
107
|
+
#
|
108
|
+
class CreateWhatsAppMessageTemplateFromLibraryOutput < Struct.new(
|
109
|
+
:meta_template_id,
|
110
|
+
:template_status,
|
111
|
+
:category)
|
112
|
+
SENSITIVE = []
|
113
|
+
include Aws::Structure
|
114
|
+
end
|
115
|
+
|
116
|
+
# @!attribute [rw] template_definition
|
117
|
+
# The complete template definition as a JSON blob.
|
118
|
+
# @return [String]
|
119
|
+
#
|
120
|
+
# @!attribute [rw] id
|
121
|
+
# The ID of the WhatsApp Business Account to associate with this
|
122
|
+
# template.
|
123
|
+
# @return [String]
|
124
|
+
#
|
125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/CreateWhatsAppMessageTemplateInput AWS API Documentation
|
126
|
+
#
|
127
|
+
class CreateWhatsAppMessageTemplateInput < Struct.new(
|
128
|
+
:template_definition,
|
129
|
+
:id)
|
130
|
+
SENSITIVE = []
|
131
|
+
include Aws::Structure
|
132
|
+
end
|
133
|
+
|
134
|
+
# @!attribute [rw] id
|
135
|
+
# The ID of the WhatsApp Business Account associated with this media
|
136
|
+
# upload.
|
137
|
+
# @return [String]
|
138
|
+
#
|
139
|
+
# @!attribute [rw] source_s3_file
|
140
|
+
# Contains information for the S3 bucket that contains media files.
|
141
|
+
# @return [Types::S3File]
|
142
|
+
#
|
143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/CreateWhatsAppMessageTemplateMediaInput AWS API Documentation
|
144
|
+
#
|
145
|
+
class CreateWhatsAppMessageTemplateMediaInput < Struct.new(
|
146
|
+
:id,
|
147
|
+
:source_s3_file)
|
148
|
+
SENSITIVE = [:source_s3_file]
|
149
|
+
include Aws::Structure
|
150
|
+
end
|
151
|
+
|
152
|
+
# @!attribute [rw] meta_header_handle
|
153
|
+
# The handle assigned to the uploaded media by Meta, used to reference
|
154
|
+
# the media in templates.
|
155
|
+
# @return [String]
|
156
|
+
#
|
157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/CreateWhatsAppMessageTemplateMediaOutput AWS API Documentation
|
158
|
+
#
|
159
|
+
class CreateWhatsAppMessageTemplateMediaOutput < Struct.new(
|
160
|
+
:meta_header_handle)
|
161
|
+
SENSITIVE = []
|
162
|
+
include Aws::Structure
|
163
|
+
end
|
164
|
+
|
165
|
+
# @!attribute [rw] meta_template_id
|
166
|
+
# The numeric ID assigned to the template by Meta.
|
167
|
+
# @return [String]
|
168
|
+
#
|
169
|
+
# @!attribute [rw] template_status
|
170
|
+
# The status of the created template, such as PENDING or APPROVED..
|
171
|
+
# @return [String]
|
172
|
+
#
|
173
|
+
# @!attribute [rw] category
|
174
|
+
# The category of the template, such as UTILITY or MARKETING.
|
175
|
+
# @return [String]
|
176
|
+
#
|
177
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/CreateWhatsAppMessageTemplateOutput AWS API Documentation
|
178
|
+
#
|
179
|
+
class CreateWhatsAppMessageTemplateOutput < Struct.new(
|
180
|
+
:meta_template_id,
|
181
|
+
:template_status,
|
182
|
+
:category)
|
183
|
+
SENSITIVE = []
|
184
|
+
include Aws::Structure
|
185
|
+
end
|
186
|
+
|
74
187
|
# @!attribute [rw] media_id
|
75
188
|
# The unique identifier of the media file to delete. Use the `mediaId`
|
76
189
|
# returned from [PostWhatsAppMessageMedia][1].
|
@@ -112,6 +225,38 @@ module Aws::SocialMessaging
|
|
112
225
|
include Aws::Structure
|
113
226
|
end
|
114
227
|
|
228
|
+
# @!attribute [rw] meta_template_id
|
229
|
+
# The numeric ID of the template assigned by Meta.
|
230
|
+
# @return [String]
|
231
|
+
#
|
232
|
+
# @!attribute [rw] delete_all_languages
|
233
|
+
# If true, deletes all language versions of the template.
|
234
|
+
# @return [Boolean]
|
235
|
+
#
|
236
|
+
# @!attribute [rw] id
|
237
|
+
# The ID of the WhatsApp Business Account associated with this
|
238
|
+
# template.
|
239
|
+
# @return [String]
|
240
|
+
#
|
241
|
+
# @!attribute [rw] template_name
|
242
|
+
# The name of the template to delete.
|
243
|
+
# @return [String]
|
244
|
+
#
|
245
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/DeleteWhatsAppMessageTemplateInput AWS API Documentation
|
246
|
+
#
|
247
|
+
class DeleteWhatsAppMessageTemplateInput < Struct.new(
|
248
|
+
:meta_template_id,
|
249
|
+
:delete_all_languages,
|
250
|
+
:id,
|
251
|
+
:template_name)
|
252
|
+
SENSITIVE = []
|
253
|
+
include Aws::Structure
|
254
|
+
end
|
255
|
+
|
256
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/DeleteWhatsAppMessageTemplateOutput AWS API Documentation
|
257
|
+
#
|
258
|
+
class DeleteWhatsAppMessageTemplateOutput < Aws::EmptyStructure; end
|
259
|
+
|
115
260
|
# Thrown when performing an action because a dependency would be broken.
|
116
261
|
#
|
117
262
|
# @!attribute [rw] message
|
@@ -274,6 +419,37 @@ module Aws::SocialMessaging
|
|
274
419
|
include Aws::Structure
|
275
420
|
end
|
276
421
|
|
422
|
+
# @!attribute [rw] meta_template_id
|
423
|
+
# The numeric ID of the template assigned by Meta.
|
424
|
+
# @return [String]
|
425
|
+
#
|
426
|
+
# @!attribute [rw] id
|
427
|
+
# The ID of the WhatsApp Business Account associated with this
|
428
|
+
# template.
|
429
|
+
# @return [String]
|
430
|
+
#
|
431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/GetWhatsAppMessageTemplateInput AWS API Documentation
|
432
|
+
#
|
433
|
+
class GetWhatsAppMessageTemplateInput < Struct.new(
|
434
|
+
:meta_template_id,
|
435
|
+
:id)
|
436
|
+
SENSITIVE = []
|
437
|
+
include Aws::Structure
|
438
|
+
end
|
439
|
+
|
440
|
+
# @!attribute [rw] template
|
441
|
+
# The complete template definition as a JSON string (maximum 6000
|
442
|
+
# characters).
|
443
|
+
# @return [String]
|
444
|
+
#
|
445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/GetWhatsAppMessageTemplateOutput AWS API Documentation
|
446
|
+
#
|
447
|
+
class GetWhatsAppMessageTemplateOutput < Struct.new(
|
448
|
+
:template)
|
449
|
+
SENSITIVE = []
|
450
|
+
include Aws::Structure
|
451
|
+
end
|
452
|
+
|
277
453
|
# The request processing has failed because of an unknown error,
|
278
454
|
# exception, or failure.
|
279
455
|
#
|
@@ -301,6 +477,139 @@ module Aws::SocialMessaging
|
|
301
477
|
include Aws::Structure
|
302
478
|
end
|
303
479
|
|
480
|
+
# Configuration options for customizing the body content of a template
|
481
|
+
# from Meta's library.
|
482
|
+
#
|
483
|
+
# @!attribute [rw] add_contact_number
|
484
|
+
# When true, includes a contact number in the template body.
|
485
|
+
# @return [Boolean]
|
486
|
+
#
|
487
|
+
# @!attribute [rw] add_learn_more_link
|
488
|
+
# When true, includes a "learn more" link in the template body.
|
489
|
+
# @return [Boolean]
|
490
|
+
#
|
491
|
+
# @!attribute [rw] add_security_recommendation
|
492
|
+
# When true, includes security recommendations in the template body.
|
493
|
+
# @return [Boolean]
|
494
|
+
#
|
495
|
+
# @!attribute [rw] add_track_package_link
|
496
|
+
# When true, includes a package tracking link in the template body.
|
497
|
+
# @return [Boolean]
|
498
|
+
#
|
499
|
+
# @!attribute [rw] code_expiration_minutes
|
500
|
+
# The number of minutes until a verification code or OTP expires.
|
501
|
+
# @return [Integer]
|
502
|
+
#
|
503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/LibraryTemplateBodyInputs AWS API Documentation
|
504
|
+
#
|
505
|
+
class LibraryTemplateBodyInputs < Struct.new(
|
506
|
+
:add_contact_number,
|
507
|
+
:add_learn_more_link,
|
508
|
+
:add_security_recommendation,
|
509
|
+
:add_track_package_link,
|
510
|
+
:code_expiration_minutes)
|
511
|
+
SENSITIVE = []
|
512
|
+
include Aws::Structure
|
513
|
+
end
|
514
|
+
|
515
|
+
# Configuration options for customizing buttons in a template from
|
516
|
+
# Meta's library.
|
517
|
+
#
|
518
|
+
# @!attribute [rw] type
|
519
|
+
# The type of button (for example, QUICK\_REPLY, CALL, or URL).
|
520
|
+
# @return [String]
|
521
|
+
#
|
522
|
+
# @!attribute [rw] phone_number
|
523
|
+
# The phone number in E.164 format for CALL-type buttons.
|
524
|
+
# @return [String]
|
525
|
+
#
|
526
|
+
# @!attribute [rw] url
|
527
|
+
# The URL with dynamic parameters for URL-type buttons.
|
528
|
+
# @return [Hash<String,String>]
|
529
|
+
#
|
530
|
+
# @!attribute [rw] otp_type
|
531
|
+
# The type of one-time password for OTP buttons.
|
532
|
+
# @return [String]
|
533
|
+
#
|
534
|
+
# @!attribute [rw] zero_tap_terms_accepted
|
535
|
+
# When true, indicates acceptance of zero-tap terms for the button.
|
536
|
+
# @return [Boolean]
|
537
|
+
#
|
538
|
+
# @!attribute [rw] supported_apps
|
539
|
+
# List of supported applications for this button type.
|
540
|
+
# @return [Array<Hash<String,String>>]
|
541
|
+
#
|
542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/LibraryTemplateButtonInput AWS API Documentation
|
543
|
+
#
|
544
|
+
class LibraryTemplateButtonInput < Struct.new(
|
545
|
+
:type,
|
546
|
+
:phone_number,
|
547
|
+
:url,
|
548
|
+
:otp_type,
|
549
|
+
:zero_tap_terms_accepted,
|
550
|
+
:supported_apps)
|
551
|
+
SENSITIVE = []
|
552
|
+
include Aws::Structure
|
553
|
+
end
|
554
|
+
|
555
|
+
# Defines a button in a template from Meta's library.
|
556
|
+
#
|
557
|
+
# @!attribute [rw] type
|
558
|
+
# The type of button (for example, QUICK\_REPLY, CALL, or URL).
|
559
|
+
# @return [String]
|
560
|
+
#
|
561
|
+
# @!attribute [rw] text
|
562
|
+
# The text displayed on the button (maximum 40 characters).
|
563
|
+
# @return [String]
|
564
|
+
#
|
565
|
+
# @!attribute [rw] phone_number
|
566
|
+
# The phone number in E.164 format for CALL-type buttons.
|
567
|
+
# @return [String]
|
568
|
+
#
|
569
|
+
# @!attribute [rw] url
|
570
|
+
# The URL for URL-type buttons.
|
571
|
+
# @return [String]
|
572
|
+
#
|
573
|
+
# @!attribute [rw] otp_type
|
574
|
+
# The type of one-time password for OTP buttons.
|
575
|
+
# @return [String]
|
576
|
+
#
|
577
|
+
# @!attribute [rw] zero_tap_terms_accepted
|
578
|
+
# When true, indicates acceptance of zero-tap terms for the button.
|
579
|
+
# @return [Boolean]
|
580
|
+
#
|
581
|
+
# @!attribute [rw] supported_apps
|
582
|
+
# List of supported applications for this button type.
|
583
|
+
# @return [Array<Hash<String,String>>]
|
584
|
+
#
|
585
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/LibraryTemplateButtonList AWS API Documentation
|
586
|
+
#
|
587
|
+
class LibraryTemplateButtonList < Struct.new(
|
588
|
+
:type,
|
589
|
+
:text,
|
590
|
+
:phone_number,
|
591
|
+
:url,
|
592
|
+
:otp_type,
|
593
|
+
:zero_tap_terms_accepted,
|
594
|
+
:supported_apps)
|
595
|
+
SENSITIVE = []
|
596
|
+
include Aws::Structure
|
597
|
+
end
|
598
|
+
|
599
|
+
# The request was denied because it would exceed one or more service
|
600
|
+
# quotas or limits.
|
601
|
+
#
|
602
|
+
# @!attribute [rw] message
|
603
|
+
# @return [String]
|
604
|
+
#
|
605
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/LimitExceededException AWS API Documentation
|
606
|
+
#
|
607
|
+
class LimitExceededException < Struct.new(
|
608
|
+
:message)
|
609
|
+
SENSITIVE = []
|
610
|
+
include Aws::Structure
|
611
|
+
end
|
612
|
+
|
304
613
|
# The details of your linked WhatsApp Business Account.
|
305
614
|
#
|
306
615
|
# @!attribute [rw] arn
|
@@ -492,6 +801,190 @@ module Aws::SocialMessaging
|
|
492
801
|
include Aws::Structure
|
493
802
|
end
|
494
803
|
|
804
|
+
# @!attribute [rw] id
|
805
|
+
# The ID of the WhatsApp Business Account to list templates for.
|
806
|
+
# @return [String]
|
807
|
+
#
|
808
|
+
# @!attribute [rw] next_token
|
809
|
+
# The token for the next page of results.
|
810
|
+
# @return [String]
|
811
|
+
#
|
812
|
+
# @!attribute [rw] max_results
|
813
|
+
# The maximum number of results to return per page (1-100).
|
814
|
+
# @return [Integer]
|
815
|
+
#
|
816
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/ListWhatsAppMessageTemplatesInput AWS API Documentation
|
817
|
+
#
|
818
|
+
class ListWhatsAppMessageTemplatesInput < Struct.new(
|
819
|
+
:id,
|
820
|
+
:next_token,
|
821
|
+
:max_results)
|
822
|
+
SENSITIVE = []
|
823
|
+
include Aws::Structure
|
824
|
+
end
|
825
|
+
|
826
|
+
# @!attribute [rw] templates
|
827
|
+
# A list of template summaries.
|
828
|
+
# @return [Array<Types::TemplateSummary>]
|
829
|
+
#
|
830
|
+
# @!attribute [rw] next_token
|
831
|
+
# The token to retrieve the next page of results, if any.
|
832
|
+
# @return [String]
|
833
|
+
#
|
834
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/ListWhatsAppMessageTemplatesOutput AWS API Documentation
|
835
|
+
#
|
836
|
+
class ListWhatsAppMessageTemplatesOutput < Struct.new(
|
837
|
+
:templates,
|
838
|
+
:next_token)
|
839
|
+
SENSITIVE = []
|
840
|
+
include Aws::Structure
|
841
|
+
end
|
842
|
+
|
843
|
+
# @!attribute [rw] next_token
|
844
|
+
# The token for the next page of results.
|
845
|
+
# @return [String]
|
846
|
+
#
|
847
|
+
# @!attribute [rw] max_results
|
848
|
+
# The maximum number of results to return per page (1-100).
|
849
|
+
# @return [Integer]
|
850
|
+
#
|
851
|
+
# @!attribute [rw] id
|
852
|
+
# The ID of the WhatsApp Business Account to list library templates
|
853
|
+
# for.
|
854
|
+
# @return [String]
|
855
|
+
#
|
856
|
+
# @!attribute [rw] filters
|
857
|
+
# Map of filters to apply (searchKey, topic, usecase, industry,
|
858
|
+
# language).
|
859
|
+
# @return [Hash<String,String>]
|
860
|
+
#
|
861
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/ListWhatsAppTemplateLibraryInput AWS API Documentation
|
862
|
+
#
|
863
|
+
class ListWhatsAppTemplateLibraryInput < Struct.new(
|
864
|
+
:next_token,
|
865
|
+
:max_results,
|
866
|
+
:id,
|
867
|
+
:filters)
|
868
|
+
SENSITIVE = []
|
869
|
+
include Aws::Structure
|
870
|
+
end
|
871
|
+
|
872
|
+
# @!attribute [rw] meta_library_templates
|
873
|
+
# A list of templates from Meta's library.
|
874
|
+
# @return [Array<Types::MetaLibraryTemplateDefinition>]
|
875
|
+
#
|
876
|
+
# @!attribute [rw] next_token
|
877
|
+
# The token to retrieve the next page of results, if any.
|
878
|
+
# @return [String]
|
879
|
+
#
|
880
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/ListWhatsAppTemplateLibraryOutput AWS API Documentation
|
881
|
+
#
|
882
|
+
class ListWhatsAppTemplateLibraryOutput < Struct.new(
|
883
|
+
:meta_library_templates,
|
884
|
+
:next_token)
|
885
|
+
SENSITIVE = []
|
886
|
+
include Aws::Structure
|
887
|
+
end
|
888
|
+
|
889
|
+
# Represents a template from Meta's library with customization options.
|
890
|
+
#
|
891
|
+
# @!attribute [rw] template_name
|
892
|
+
# The name to assign to the template.
|
893
|
+
# @return [String]
|
894
|
+
#
|
895
|
+
# @!attribute [rw] library_template_name
|
896
|
+
# The name of the template in Meta's library.
|
897
|
+
# @return [String]
|
898
|
+
#
|
899
|
+
# @!attribute [rw] template_category
|
900
|
+
# The category of the template (for example, UTILITY or MARKETING).
|
901
|
+
# @return [String]
|
902
|
+
#
|
903
|
+
# @!attribute [rw] template_language
|
904
|
+
# The language code for the template (for example, en\_US).
|
905
|
+
# @return [String]
|
906
|
+
#
|
907
|
+
# @!attribute [rw] library_template_button_inputs
|
908
|
+
# Button customizations for the template.
|
909
|
+
# @return [Array<Types::LibraryTemplateButtonInput>]
|
910
|
+
#
|
911
|
+
# @!attribute [rw] library_template_body_inputs
|
912
|
+
# Body text customizations for the template.
|
913
|
+
# @return [Types::LibraryTemplateBodyInputs]
|
914
|
+
#
|
915
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/MetaLibraryTemplate AWS API Documentation
|
916
|
+
#
|
917
|
+
class MetaLibraryTemplate < Struct.new(
|
918
|
+
:template_name,
|
919
|
+
:library_template_name,
|
920
|
+
:template_category,
|
921
|
+
:template_language,
|
922
|
+
:library_template_button_inputs,
|
923
|
+
:library_template_body_inputs)
|
924
|
+
SENSITIVE = []
|
925
|
+
include Aws::Structure
|
926
|
+
end
|
927
|
+
|
928
|
+
# Defines the complete structure and content of a template in Meta's
|
929
|
+
# library.
|
930
|
+
#
|
931
|
+
# @!attribute [rw] template_name
|
932
|
+
# The name of the template.
|
933
|
+
# @return [String]
|
934
|
+
#
|
935
|
+
# @!attribute [rw] template_language
|
936
|
+
# The language code for the template (for example, en\_US).
|
937
|
+
# @return [String]
|
938
|
+
#
|
939
|
+
# @!attribute [rw] template_category
|
940
|
+
# The category of the template (for example, UTILITY or MARKETING).
|
941
|
+
# @return [String]
|
942
|
+
#
|
943
|
+
# @!attribute [rw] template_topic
|
944
|
+
# The topic or subject matter of the template.
|
945
|
+
# @return [String]
|
946
|
+
#
|
947
|
+
# @!attribute [rw] template_use_case
|
948
|
+
# The intended use case for the template.
|
949
|
+
# @return [String]
|
950
|
+
#
|
951
|
+
# @!attribute [rw] template_industry
|
952
|
+
# The industries the template is designed for.
|
953
|
+
# @return [Array<String>]
|
954
|
+
#
|
955
|
+
# @!attribute [rw] template_header
|
956
|
+
# The header text of the template.
|
957
|
+
# @return [String]
|
958
|
+
#
|
959
|
+
# @!attribute [rw] template_body
|
960
|
+
# The body text of the template.
|
961
|
+
# @return [String]
|
962
|
+
#
|
963
|
+
# @!attribute [rw] template_buttons
|
964
|
+
# The buttons included in the template.
|
965
|
+
# @return [Array<Types::LibraryTemplateButtonList>]
|
966
|
+
#
|
967
|
+
# @!attribute [rw] template_id
|
968
|
+
# The ID of the template in Meta's library.
|
969
|
+
# @return [String]
|
970
|
+
#
|
971
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/MetaLibraryTemplateDefinition AWS API Documentation
|
972
|
+
#
|
973
|
+
class MetaLibraryTemplateDefinition < Struct.new(
|
974
|
+
:template_name,
|
975
|
+
:template_language,
|
976
|
+
:template_category,
|
977
|
+
:template_topic,
|
978
|
+
:template_use_case,
|
979
|
+
:template_industry,
|
980
|
+
:template_header,
|
981
|
+
:template_body,
|
982
|
+
:template_buttons,
|
983
|
+
:template_id)
|
984
|
+
SENSITIVE = []
|
985
|
+
include Aws::Structure
|
986
|
+
end
|
987
|
+
|
495
988
|
# @!attribute [rw] origination_phone_number_id
|
496
989
|
# The ID of the phone number to associate with the WhatsApp media
|
497
990
|
# file. The phone number identifiers are formatted as
|
@@ -731,6 +1224,46 @@ module Aws::SocialMessaging
|
|
731
1224
|
include Aws::Structure
|
732
1225
|
end
|
733
1226
|
|
1227
|
+
# Provides a summary of a WhatsApp message template's key attributes.
|
1228
|
+
#
|
1229
|
+
# @!attribute [rw] template_name
|
1230
|
+
# The name of the template.
|
1231
|
+
# @return [String]
|
1232
|
+
#
|
1233
|
+
# @!attribute [rw] meta_template_id
|
1234
|
+
# The numeric ID assigned to the template by Meta.
|
1235
|
+
# @return [String]
|
1236
|
+
#
|
1237
|
+
# @!attribute [rw] template_status
|
1238
|
+
# The current status of the template (for example, APPROVED, PENDING,
|
1239
|
+
# or REJECTED).
|
1240
|
+
# @return [String]
|
1241
|
+
#
|
1242
|
+
# @!attribute [rw] template_quality_score
|
1243
|
+
# The quality score assigned to the template by Meta.
|
1244
|
+
# @return [String]
|
1245
|
+
#
|
1246
|
+
# @!attribute [rw] template_language
|
1247
|
+
# The language code of the template (for example, en\_US).
|
1248
|
+
# @return [String]
|
1249
|
+
#
|
1250
|
+
# @!attribute [rw] template_category
|
1251
|
+
# The category of the template (for example, UTILITY or MARKETING).
|
1252
|
+
# @return [String]
|
1253
|
+
#
|
1254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/TemplateSummary AWS API Documentation
|
1255
|
+
#
|
1256
|
+
class TemplateSummary < Struct.new(
|
1257
|
+
:template_name,
|
1258
|
+
:meta_template_id,
|
1259
|
+
:template_status,
|
1260
|
+
:template_quality_score,
|
1261
|
+
:template_language,
|
1262
|
+
:template_category)
|
1263
|
+
SENSITIVE = []
|
1264
|
+
include Aws::Structure
|
1265
|
+
end
|
1266
|
+
|
734
1267
|
# The request was denied due to request throttling.
|
735
1268
|
#
|
736
1269
|
# @!attribute [rw] message
|
@@ -773,6 +1306,40 @@ module Aws::SocialMessaging
|
|
773
1306
|
include Aws::Structure
|
774
1307
|
end
|
775
1308
|
|
1309
|
+
# @!attribute [rw] id
|
1310
|
+
# The ID of the WhatsApp Business Account associated with this
|
1311
|
+
# template.
|
1312
|
+
# @return [String]
|
1313
|
+
#
|
1314
|
+
# @!attribute [rw] meta_template_id
|
1315
|
+
# The numeric ID of the template assigned by Meta.
|
1316
|
+
# @return [String]
|
1317
|
+
#
|
1318
|
+
# @!attribute [rw] template_category
|
1319
|
+
# The new category for the template (for example, UTILITY or
|
1320
|
+
# MARKETING).
|
1321
|
+
# @return [String]
|
1322
|
+
#
|
1323
|
+
# @!attribute [rw] template_components
|
1324
|
+
# The updated components of the template as a JSON blob (maximum 3000
|
1325
|
+
# characters).
|
1326
|
+
# @return [String]
|
1327
|
+
#
|
1328
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/UpdateWhatsAppMessageTemplateInput AWS API Documentation
|
1329
|
+
#
|
1330
|
+
class UpdateWhatsAppMessageTemplateInput < Struct.new(
|
1331
|
+
:id,
|
1332
|
+
:meta_template_id,
|
1333
|
+
:template_category,
|
1334
|
+
:template_components)
|
1335
|
+
SENSITIVE = []
|
1336
|
+
include Aws::Structure
|
1337
|
+
end
|
1338
|
+
|
1339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/UpdateWhatsAppMessageTemplateOutput AWS API Documentation
|
1340
|
+
#
|
1341
|
+
class UpdateWhatsAppMessageTemplateOutput < Aws::EmptyStructure; end
|
1342
|
+
|
776
1343
|
# The request contains an invalid parameter value.
|
777
1344
|
#
|
778
1345
|
# @!attribute [rw] message
|
@@ -947,6 +1514,11 @@ module Aws::SocialMessaging
|
|
947
1514
|
# The quality rating of the phone number.
|
948
1515
|
# @return [String]
|
949
1516
|
#
|
1517
|
+
# @!attribute [rw] data_localization_region
|
1518
|
+
# The geographic region where the WhatsApp phone number's data is
|
1519
|
+
# stored and processed.
|
1520
|
+
# @return [String]
|
1521
|
+
#
|
950
1522
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/WhatsAppPhoneNumberDetail AWS API Documentation
|
951
1523
|
#
|
952
1524
|
class WhatsAppPhoneNumberDetail < Struct.new(
|
@@ -956,7 +1528,8 @@ module Aws::SocialMessaging
|
|
956
1528
|
:meta_phone_number_id,
|
957
1529
|
:display_phone_number_name,
|
958
1530
|
:display_phone_number,
|
959
|
-
:quality_rating
|
1531
|
+
:quality_rating,
|
1532
|
+
:data_localization_region)
|
960
1533
|
SENSITIVE = []
|
961
1534
|
include Aws::Structure
|
962
1535
|
end
|
@@ -993,6 +1566,11 @@ module Aws::SocialMessaging
|
|
993
1566
|
# The quality rating of the phone number. This is from Meta.
|
994
1567
|
# @return [String]
|
995
1568
|
#
|
1569
|
+
# @!attribute [rw] data_localization_region
|
1570
|
+
# The geographic region where the WhatsApp phone number's data is
|
1571
|
+
# stored and processed.
|
1572
|
+
# @return [String]
|
1573
|
+
#
|
996
1574
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/WhatsAppPhoneNumberSummary AWS API Documentation
|
997
1575
|
#
|
998
1576
|
class WhatsAppPhoneNumberSummary < Struct.new(
|
@@ -1002,7 +1580,8 @@ module Aws::SocialMessaging
|
|
1002
1580
|
:meta_phone_number_id,
|
1003
1581
|
:display_phone_number_name,
|
1004
1582
|
:display_phone_number,
|
1005
|
-
:quality_rating
|
1583
|
+
:quality_rating,
|
1584
|
+
:data_localization_region)
|
1006
1585
|
SENSITIVE = []
|
1007
1586
|
include Aws::Structure
|
1008
1587
|
end
|
@@ -1050,10 +1629,16 @@ module Aws::SocialMessaging
|
|
1050
1629
|
# `accessToken` value is provided by Meta.
|
1051
1630
|
# @return [String]
|
1052
1631
|
#
|
1632
|
+
# @!attribute [rw] callback_url
|
1633
|
+
# The URL where WhatsApp will send callback notifications for this
|
1634
|
+
# account.
|
1635
|
+
# @return [String]
|
1636
|
+
#
|
1053
1637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/WhatsAppSignupCallback AWS API Documentation
|
1054
1638
|
#
|
1055
1639
|
class WhatsAppSignupCallback < Struct.new(
|
1056
|
-
:access_token
|
1640
|
+
:access_token,
|
1641
|
+
:callback_url)
|
1057
1642
|
SENSITIVE = []
|
1058
1643
|
include Aws::Structure
|
1059
1644
|
end
|