aws-sdk-socialmessaging 1.9.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.
@@ -16,29 +16,53 @@ module Aws::SocialMessaging
16
16
 
17
17
  AccessDeniedByMetaException = Shapes::StructureShape.new(name: 'AccessDeniedByMetaException')
18
18
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
19
+ AddContactNumber = Shapes::BooleanShape.new(name: 'AddContactNumber')
20
+ AddLearnMoreLink = Shapes::BooleanShape.new(name: 'AddLearnMoreLink')
21
+ AddSecurityRecommendation = Shapes::BooleanShape.new(name: 'AddSecurityRecommendation')
22
+ AddTrackPackageLink = Shapes::BooleanShape.new(name: 'AddTrackPackageLink')
19
23
  Arn = Shapes::StringShape.new(name: 'Arn')
20
24
  AssociateInProgressToken = Shapes::StringShape.new(name: 'AssociateInProgressToken')
21
25
  AssociateWhatsAppBusinessAccountInput = Shapes::StructureShape.new(name: 'AssociateWhatsAppBusinessAccountInput')
22
26
  AssociateWhatsAppBusinessAccountOutput = Shapes::StructureShape.new(name: 'AssociateWhatsAppBusinessAccountOutput')
23
27
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
28
+ ButtonType = Shapes::StringShape.new(name: 'ButtonType')
29
+ CodeExpirationMinutes = Shapes::IntegerShape.new(name: 'CodeExpirationMinutes')
30
+ CreateWhatsAppMessageTemplateFromLibraryInput = Shapes::StructureShape.new(name: 'CreateWhatsAppMessageTemplateFromLibraryInput')
31
+ CreateWhatsAppMessageTemplateFromLibraryOutput = Shapes::StructureShape.new(name: 'CreateWhatsAppMessageTemplateFromLibraryOutput')
32
+ CreateWhatsAppMessageTemplateInput = Shapes::StructureShape.new(name: 'CreateWhatsAppMessageTemplateInput')
33
+ CreateWhatsAppMessageTemplateMediaInput = Shapes::StructureShape.new(name: 'CreateWhatsAppMessageTemplateMediaInput')
34
+ CreateWhatsAppMessageTemplateMediaOutput = Shapes::StructureShape.new(name: 'CreateWhatsAppMessageTemplateMediaOutput')
35
+ CreateWhatsAppMessageTemplateOutput = Shapes::StructureShape.new(name: 'CreateWhatsAppMessageTemplateOutput')
36
+ DeleteAllLanguages = Shapes::BooleanShape.new(name: 'DeleteAllLanguages')
24
37
  DeleteWhatsAppMessageMediaInput = Shapes::StructureShape.new(name: 'DeleteWhatsAppMessageMediaInput')
25
38
  DeleteWhatsAppMessageMediaOutput = Shapes::StructureShape.new(name: 'DeleteWhatsAppMessageMediaOutput')
39
+ DeleteWhatsAppMessageTemplateInput = Shapes::StructureShape.new(name: 'DeleteWhatsAppMessageTemplateInput')
40
+ DeleteWhatsAppMessageTemplateOutput = Shapes::StructureShape.new(name: 'DeleteWhatsAppMessageTemplateOutput')
26
41
  DependencyException = Shapes::StructureShape.new(name: 'DependencyException')
27
42
  DisassociateWhatsAppBusinessAccountInput = Shapes::StructureShape.new(name: 'DisassociateWhatsAppBusinessAccountInput')
28
43
  DisassociateWhatsAppBusinessAccountOutput = Shapes::StructureShape.new(name: 'DisassociateWhatsAppBusinessAccountOutput')
29
44
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
30
45
  EventDestinationArn = Shapes::StringShape.new(name: 'EventDestinationArn')
46
+ Filter = Shapes::MapShape.new(name: 'Filter')
47
+ FilterKeyString = Shapes::StringShape.new(name: 'FilterKeyString')
48
+ FilterValueString = Shapes::StringShape.new(name: 'FilterValueString')
31
49
  GetLinkedWhatsAppBusinessAccountInput = Shapes::StructureShape.new(name: 'GetLinkedWhatsAppBusinessAccountInput')
32
50
  GetLinkedWhatsAppBusinessAccountOutput = Shapes::StructureShape.new(name: 'GetLinkedWhatsAppBusinessAccountOutput')
33
51
  GetLinkedWhatsAppBusinessAccountPhoneNumberInput = Shapes::StructureShape.new(name: 'GetLinkedWhatsAppBusinessAccountPhoneNumberInput')
34
52
  GetLinkedWhatsAppBusinessAccountPhoneNumberOutput = Shapes::StructureShape.new(name: 'GetLinkedWhatsAppBusinessAccountPhoneNumberOutput')
35
53
  GetWhatsAppMessageMediaInput = Shapes::StructureShape.new(name: 'GetWhatsAppMessageMediaInput')
36
54
  GetWhatsAppMessageMediaOutput = Shapes::StructureShape.new(name: 'GetWhatsAppMessageMediaOutput')
55
+ GetWhatsAppMessageTemplateInput = Shapes::StructureShape.new(name: 'GetWhatsAppMessageTemplateInput')
56
+ GetWhatsAppMessageTemplateOutput = Shapes::StructureShape.new(name: 'GetWhatsAppMessageTemplateOutput')
37
57
  Headers = Shapes::MapShape.new(name: 'Headers')
38
58
  Integer = Shapes::IntegerShape.new(name: 'Integer')
39
59
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
40
60
  InvalidParametersException = Shapes::StructureShape.new(name: 'InvalidParametersException')
41
61
  IsoCountryCode = Shapes::StringShape.new(name: 'IsoCountryCode')
62
+ LibraryTemplateBodyInputs = Shapes::StructureShape.new(name: 'LibraryTemplateBodyInputs')
63
+ LibraryTemplateButtonInput = Shapes::StructureShape.new(name: 'LibraryTemplateButtonInput')
64
+ LibraryTemplateButtonList = Shapes::StructureShape.new(name: 'LibraryTemplateButtonList')
65
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
42
66
  LinkedAccountWithIncompleteSetup = Shapes::MapShape.new(name: 'LinkedAccountWithIncompleteSetup')
43
67
  LinkedWhatsAppBusinessAccount = Shapes::StructureShape.new(name: 'LinkedWhatsAppBusinessAccount')
44
68
  LinkedWhatsAppBusinessAccountArn = Shapes::StringShape.new(name: 'LinkedWhatsAppBusinessAccountArn')
@@ -51,9 +75,39 @@ module Aws::SocialMessaging
51
75
  ListLinkedWhatsAppBusinessAccountsOutput = Shapes::StructureShape.new(name: 'ListLinkedWhatsAppBusinessAccountsOutput')
52
76
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
53
77
  ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
78
+ ListWhatsAppMessageTemplatesInput = Shapes::StructureShape.new(name: 'ListWhatsAppMessageTemplatesInput')
79
+ ListWhatsAppMessageTemplatesOutput = Shapes::StructureShape.new(name: 'ListWhatsAppMessageTemplatesOutput')
80
+ ListWhatsAppTemplateLibraryInput = Shapes::StructureShape.new(name: 'ListWhatsAppTemplateLibraryInput')
81
+ ListWhatsAppTemplateLibraryOutput = Shapes::StructureShape.new(name: 'ListWhatsAppTemplateLibraryOutput')
54
82
  Long = Shapes::IntegerShape.new(name: 'Long')
55
83
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
84
+ MetaIndustries = Shapes::ListShape.new(name: 'MetaIndustries')
85
+ MetaIndustry = Shapes::StringShape.new(name: 'MetaIndustry')
86
+ MetaLibraryTemplate = Shapes::StructureShape.new(name: 'MetaLibraryTemplate')
87
+ MetaLibraryTemplateButtonInputs = Shapes::ListShape.new(name: 'MetaLibraryTemplateButtonInputs')
88
+ MetaLibraryTemplateButtonList = Shapes::ListShape.new(name: 'MetaLibraryTemplateButtonList')
89
+ MetaLibraryTemplateDefinition = Shapes::StructureShape.new(name: 'MetaLibraryTemplateDefinition')
90
+ MetaLibraryTemplatesList = Shapes::ListShape.new(name: 'MetaLibraryTemplatesList')
91
+ MetaTemplate = Shapes::StringShape.new(name: 'MetaTemplate')
92
+ MetaTemplateBody = Shapes::StringShape.new(name: 'MetaTemplateBody')
93
+ MetaTemplateCategory = Shapes::StringShape.new(name: 'MetaTemplateCategory')
94
+ MetaTemplateComponents = Shapes::BlobShape.new(name: 'MetaTemplateComponents')
95
+ MetaTemplateDefinition = Shapes::BlobShape.new(name: 'MetaTemplateDefinition')
96
+ MetaTemplateHeader = Shapes::StringShape.new(name: 'MetaTemplateHeader')
97
+ MetaTemplateId = Shapes::StringShape.new(name: 'MetaTemplateId')
98
+ MetaTemplateLanguage = Shapes::StringShape.new(name: 'MetaTemplateLanguage')
99
+ MetaTemplateName = Shapes::StringShape.new(name: 'MetaTemplateName')
100
+ MetaTemplateQualityScore = Shapes::StringShape.new(name: 'MetaTemplateQualityScore')
101
+ MetaTemplateStatus = Shapes::StringShape.new(name: 'MetaTemplateStatus')
102
+ MetaTemplateTopic = Shapes::StringShape.new(name: 'MetaTemplateTopic')
103
+ MetaTemplateUseCase = Shapes::StringShape.new(name: 'MetaTemplateUseCase')
104
+ MetaText = Shapes::StringShape.new(name: 'MetaText')
105
+ MetaUrl = Shapes::StringShape.new(name: 'MetaUrl')
106
+ MetaUrlWithSuffixExample = Shapes::MapShape.new(name: 'MetaUrlWithSuffixExample')
107
+ MetaUrlWithSuffixExampleKeyString = Shapes::StringShape.new(name: 'MetaUrlWithSuffixExampleKeyString')
108
+ MetaUrlWithSuffixExampleValueString = Shapes::StringShape.new(name: 'MetaUrlWithSuffixExampleValueString')
56
109
  NextToken = Shapes::StringShape.new(name: 'NextToken')
110
+ OtpType = Shapes::StringShape.new(name: 'OtpType')
57
111
  PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
58
112
  PostWhatsAppMessageMediaInput = Shapes::StructureShape.new(name: 'PostWhatsAppMessageMediaInput')
59
113
  PostWhatsAppMessageMediaOutput = Shapes::StructureShape.new(name: 'PostWhatsAppMessageMediaOutput')
@@ -71,16 +125,24 @@ module Aws::SocialMessaging
71
125
  SendWhatsAppMessageOutput = Shapes::StructureShape.new(name: 'SendWhatsAppMessageOutput')
72
126
  String = Shapes::StringShape.new(name: 'String')
73
127
  StringList = Shapes::ListShape.new(name: 'StringList')
128
+ SupportedApp = Shapes::MapShape.new(name: 'SupportedApp')
129
+ SupportedAppKeyString = Shapes::StringShape.new(name: 'SupportedAppKeyString')
130
+ SupportedAppValueString = Shapes::StringShape.new(name: 'SupportedAppValueString')
131
+ SupportedApps = Shapes::ListShape.new(name: 'SupportedApps')
74
132
  Tag = Shapes::StructureShape.new(name: 'Tag')
75
133
  TagKeyString = Shapes::StringShape.new(name: 'TagKeyString')
76
134
  TagList = Shapes::ListShape.new(name: 'TagList')
77
135
  TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
78
136
  TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
79
137
  TagValueString = Shapes::StringShape.new(name: 'TagValueString')
138
+ TemplateSummary = Shapes::StructureShape.new(name: 'TemplateSummary')
139
+ TemplateSummaryList = Shapes::ListShape.new(name: 'TemplateSummaryList')
80
140
  ThrottledRequestException = Shapes::StructureShape.new(name: 'ThrottledRequestException')
81
141
  TwoFactorPin = Shapes::StringShape.new(name: 'TwoFactorPin')
82
142
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
83
143
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
144
+ UpdateWhatsAppMessageTemplateInput = Shapes::StructureShape.new(name: 'UpdateWhatsAppMessageTemplateInput')
145
+ UpdateWhatsAppMessageTemplateOutput = Shapes::StructureShape.new(name: 'UpdateWhatsAppMessageTemplateOutput')
84
146
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
85
147
  WabaPhoneNumberSetupFinalization = Shapes::StructureShape.new(name: 'WabaPhoneNumberSetupFinalization')
86
148
  WabaPhoneNumberSetupFinalizationList = Shapes::ListShape.new(name: 'WabaPhoneNumberSetupFinalizationList')
@@ -104,7 +166,9 @@ module Aws::SocialMessaging
104
166
  WhatsAppSetupFinalization = Shapes::StructureShape.new(name: 'WhatsAppSetupFinalization')
105
167
  WhatsAppSignupCallback = Shapes::StructureShape.new(name: 'WhatsAppSignupCallback')
106
168
  WhatsAppSignupCallbackAccessTokenString = Shapes::StringShape.new(name: 'WhatsAppSignupCallbackAccessTokenString')
169
+ WhatsAppSignupCallbackCallbackUrlString = Shapes::StringShape.new(name: 'WhatsAppSignupCallbackCallbackUrlString')
107
170
  WhatsAppSignupCallbackResult = Shapes::StructureShape.new(name: 'WhatsAppSignupCallbackResult')
171
+ ZeroTapTermsAccepted = Shapes::BooleanShape.new(name: 'ZeroTapTermsAccepted')
108
172
 
109
173
  AccessDeniedByMetaException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
110
174
  AccessDeniedByMetaException.struct_class = Types::AccessDeniedByMetaException
@@ -120,6 +184,31 @@ module Aws::SocialMessaging
120
184
  AssociateWhatsAppBusinessAccountOutput.add_member(:status_code, Shapes::ShapeRef.new(shape: Integer, location_name: "statusCode"))
121
185
  AssociateWhatsAppBusinessAccountOutput.struct_class = Types::AssociateWhatsAppBusinessAccountOutput
122
186
 
187
+ CreateWhatsAppMessageTemplateFromLibraryInput.add_member(:meta_library_template, Shapes::ShapeRef.new(shape: MetaLibraryTemplate, required: true, location_name: "metaLibraryTemplate"))
188
+ CreateWhatsAppMessageTemplateFromLibraryInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
189
+ CreateWhatsAppMessageTemplateFromLibraryInput.struct_class = Types::CreateWhatsAppMessageTemplateFromLibraryInput
190
+
191
+ CreateWhatsAppMessageTemplateFromLibraryOutput.add_member(:meta_template_id, Shapes::ShapeRef.new(shape: MetaTemplateId, location_name: "metaTemplateId"))
192
+ CreateWhatsAppMessageTemplateFromLibraryOutput.add_member(:template_status, Shapes::ShapeRef.new(shape: String, location_name: "templateStatus"))
193
+ CreateWhatsAppMessageTemplateFromLibraryOutput.add_member(:category, Shapes::ShapeRef.new(shape: MetaTemplateCategory, location_name: "category"))
194
+ CreateWhatsAppMessageTemplateFromLibraryOutput.struct_class = Types::CreateWhatsAppMessageTemplateFromLibraryOutput
195
+
196
+ CreateWhatsAppMessageTemplateInput.add_member(:template_definition, Shapes::ShapeRef.new(shape: MetaTemplateDefinition, required: true, location_name: "templateDefinition"))
197
+ CreateWhatsAppMessageTemplateInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
198
+ CreateWhatsAppMessageTemplateInput.struct_class = Types::CreateWhatsAppMessageTemplateInput
199
+
200
+ CreateWhatsAppMessageTemplateMediaInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
201
+ CreateWhatsAppMessageTemplateMediaInput.add_member(:source_s3_file, Shapes::ShapeRef.new(shape: S3File, location_name: "sourceS3File"))
202
+ CreateWhatsAppMessageTemplateMediaInput.struct_class = Types::CreateWhatsAppMessageTemplateMediaInput
203
+
204
+ CreateWhatsAppMessageTemplateMediaOutput.add_member(:meta_header_handle, Shapes::ShapeRef.new(shape: String, location_name: "metaHeaderHandle"))
205
+ CreateWhatsAppMessageTemplateMediaOutput.struct_class = Types::CreateWhatsAppMessageTemplateMediaOutput
206
+
207
+ CreateWhatsAppMessageTemplateOutput.add_member(:meta_template_id, Shapes::ShapeRef.new(shape: MetaTemplateId, location_name: "metaTemplateId"))
208
+ CreateWhatsAppMessageTemplateOutput.add_member(:template_status, Shapes::ShapeRef.new(shape: String, location_name: "templateStatus"))
209
+ CreateWhatsAppMessageTemplateOutput.add_member(:category, Shapes::ShapeRef.new(shape: MetaTemplateCategory, location_name: "category"))
210
+ CreateWhatsAppMessageTemplateOutput.struct_class = Types::CreateWhatsAppMessageTemplateOutput
211
+
123
212
  DeleteWhatsAppMessageMediaInput.add_member(:media_id, Shapes::ShapeRef.new(shape: WhatsAppMediaId, required: true, location: "querystring", location_name: "mediaId"))
124
213
  DeleteWhatsAppMessageMediaInput.add_member(:origination_phone_number_id, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberId, required: true, location: "querystring", location_name: "originationPhoneNumberId"))
125
214
  DeleteWhatsAppMessageMediaInput.struct_class = Types::DeleteWhatsAppMessageMediaInput
@@ -127,6 +216,14 @@ module Aws::SocialMessaging
127
216
  DeleteWhatsAppMessageMediaOutput.add_member(:success, Shapes::ShapeRef.new(shape: Boolean, location_name: "success"))
128
217
  DeleteWhatsAppMessageMediaOutput.struct_class = Types::DeleteWhatsAppMessageMediaOutput
129
218
 
219
+ DeleteWhatsAppMessageTemplateInput.add_member(:meta_template_id, Shapes::ShapeRef.new(shape: MetaTemplateId, location: "querystring", location_name: "metaTemplateId"))
220
+ DeleteWhatsAppMessageTemplateInput.add_member(:delete_all_languages, Shapes::ShapeRef.new(shape: DeleteAllLanguages, location: "querystring", location_name: "deleteAllTemplates"))
221
+ DeleteWhatsAppMessageTemplateInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location: "querystring", location_name: "id"))
222
+ DeleteWhatsAppMessageTemplateInput.add_member(:template_name, Shapes::ShapeRef.new(shape: MetaTemplateName, required: true, location: "querystring", location_name: "templateName"))
223
+ DeleteWhatsAppMessageTemplateInput.struct_class = Types::DeleteWhatsAppMessageTemplateInput
224
+
225
+ DeleteWhatsAppMessageTemplateOutput.struct_class = Types::DeleteWhatsAppMessageTemplateOutput
226
+
130
227
  DependencyException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
131
228
  DependencyException.struct_class = Types::DependencyException
132
229
 
@@ -135,6 +232,9 @@ module Aws::SocialMessaging
135
232
 
136
233
  DisassociateWhatsAppBusinessAccountOutput.struct_class = Types::DisassociateWhatsAppBusinessAccountOutput
137
234
 
235
+ Filter.key = Shapes::ShapeRef.new(shape: FilterKeyString)
236
+ Filter.value = Shapes::ShapeRef.new(shape: FilterValueString)
237
+
138
238
  GetLinkedWhatsAppBusinessAccountInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location: "querystring", location_name: "id"))
139
239
  GetLinkedWhatsAppBusinessAccountInput.struct_class = Types::GetLinkedWhatsAppBusinessAccountInput
140
240
 
@@ -159,6 +259,13 @@ module Aws::SocialMessaging
159
259
  GetWhatsAppMessageMediaOutput.add_member(:file_size, Shapes::ShapeRef.new(shape: Long, location_name: "fileSize"))
160
260
  GetWhatsAppMessageMediaOutput.struct_class = Types::GetWhatsAppMessageMediaOutput
161
261
 
262
+ GetWhatsAppMessageTemplateInput.add_member(:meta_template_id, Shapes::ShapeRef.new(shape: MetaTemplateId, required: true, location: "querystring", location_name: "metaTemplateId"))
263
+ GetWhatsAppMessageTemplateInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location: "querystring", location_name: "id"))
264
+ GetWhatsAppMessageTemplateInput.struct_class = Types::GetWhatsAppMessageTemplateInput
265
+
266
+ GetWhatsAppMessageTemplateOutput.add_member(:template, Shapes::ShapeRef.new(shape: MetaTemplate, location_name: "template"))
267
+ GetWhatsAppMessageTemplateOutput.struct_class = Types::GetWhatsAppMessageTemplateOutput
268
+
162
269
  Headers.key = Shapes::ShapeRef.new(shape: String)
163
270
  Headers.value = Shapes::ShapeRef.new(shape: String)
164
271
 
@@ -168,6 +275,33 @@ module Aws::SocialMessaging
168
275
  InvalidParametersException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
169
276
  InvalidParametersException.struct_class = Types::InvalidParametersException
170
277
 
278
+ LibraryTemplateBodyInputs.add_member(:add_contact_number, Shapes::ShapeRef.new(shape: AddContactNumber, location_name: "addContactNumber"))
279
+ LibraryTemplateBodyInputs.add_member(:add_learn_more_link, Shapes::ShapeRef.new(shape: AddLearnMoreLink, location_name: "addLearnMoreLink"))
280
+ LibraryTemplateBodyInputs.add_member(:add_security_recommendation, Shapes::ShapeRef.new(shape: AddSecurityRecommendation, location_name: "addSecurityRecommendation"))
281
+ LibraryTemplateBodyInputs.add_member(:add_track_package_link, Shapes::ShapeRef.new(shape: AddTrackPackageLink, location_name: "addTrackPackageLink"))
282
+ LibraryTemplateBodyInputs.add_member(:code_expiration_minutes, Shapes::ShapeRef.new(shape: CodeExpirationMinutes, location_name: "codeExpirationMinutes"))
283
+ LibraryTemplateBodyInputs.struct_class = Types::LibraryTemplateBodyInputs
284
+
285
+ LibraryTemplateButtonInput.add_member(:type, Shapes::ShapeRef.new(shape: ButtonType, location_name: "type"))
286
+ LibraryTemplateButtonInput.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "phoneNumber"))
287
+ LibraryTemplateButtonInput.add_member(:url, Shapes::ShapeRef.new(shape: MetaUrlWithSuffixExample, location_name: "url"))
288
+ LibraryTemplateButtonInput.add_member(:otp_type, Shapes::ShapeRef.new(shape: OtpType, location_name: "otpType"))
289
+ LibraryTemplateButtonInput.add_member(:zero_tap_terms_accepted, Shapes::ShapeRef.new(shape: ZeroTapTermsAccepted, location_name: "zeroTapTermsAccepted"))
290
+ LibraryTemplateButtonInput.add_member(:supported_apps, Shapes::ShapeRef.new(shape: SupportedApps, location_name: "supportedApps"))
291
+ LibraryTemplateButtonInput.struct_class = Types::LibraryTemplateButtonInput
292
+
293
+ LibraryTemplateButtonList.add_member(:type, Shapes::ShapeRef.new(shape: ButtonType, location_name: "type"))
294
+ LibraryTemplateButtonList.add_member(:text, Shapes::ShapeRef.new(shape: MetaText, location_name: "text"))
295
+ LibraryTemplateButtonList.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "phoneNumber"))
296
+ LibraryTemplateButtonList.add_member(:url, Shapes::ShapeRef.new(shape: MetaUrl, location_name: "url"))
297
+ LibraryTemplateButtonList.add_member(:otp_type, Shapes::ShapeRef.new(shape: OtpType, location_name: "otpType"))
298
+ LibraryTemplateButtonList.add_member(:zero_tap_terms_accepted, Shapes::ShapeRef.new(shape: ZeroTapTermsAccepted, location_name: "zeroTapTermsAccepted"))
299
+ LibraryTemplateButtonList.add_member(:supported_apps, Shapes::ShapeRef.new(shape: SupportedApps, location_name: "supportedApps"))
300
+ LibraryTemplateButtonList.struct_class = Types::LibraryTemplateButtonList
301
+
302
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
303
+ LimitExceededException.struct_class = Types::LimitExceededException
304
+
171
305
  LinkedAccountWithIncompleteSetup.key = Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountId)
172
306
  LinkedAccountWithIncompleteSetup.value = Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountIdMetaData)
173
307
 
@@ -213,6 +347,56 @@ module Aws::SocialMessaging
213
347
  ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
214
348
  ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
215
349
 
350
+ ListWhatsAppMessageTemplatesInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location: "querystring", location_name: "id"))
351
+ ListWhatsAppMessageTemplatesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
352
+ ListWhatsAppMessageTemplatesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
353
+ ListWhatsAppMessageTemplatesInput.struct_class = Types::ListWhatsAppMessageTemplatesInput
354
+
355
+ ListWhatsAppMessageTemplatesOutput.add_member(:templates, Shapes::ShapeRef.new(shape: TemplateSummaryList, location_name: "templates"))
356
+ ListWhatsAppMessageTemplatesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
357
+ ListWhatsAppMessageTemplatesOutput.struct_class = Types::ListWhatsAppMessageTemplatesOutput
358
+
359
+ ListWhatsAppTemplateLibraryInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
360
+ ListWhatsAppTemplateLibraryInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
361
+ ListWhatsAppTemplateLibraryInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location: "querystring", location_name: "id"))
362
+ ListWhatsAppTemplateLibraryInput.add_member(:filters, Shapes::ShapeRef.new(shape: Filter, location_name: "filters"))
363
+ ListWhatsAppTemplateLibraryInput.struct_class = Types::ListWhatsAppTemplateLibraryInput
364
+
365
+ ListWhatsAppTemplateLibraryOutput.add_member(:meta_library_templates, Shapes::ShapeRef.new(shape: MetaLibraryTemplatesList, location_name: "metaLibraryTemplates"))
366
+ ListWhatsAppTemplateLibraryOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
367
+ ListWhatsAppTemplateLibraryOutput.struct_class = Types::ListWhatsAppTemplateLibraryOutput
368
+
369
+ MetaIndustries.member = Shapes::ShapeRef.new(shape: MetaIndustry)
370
+
371
+ MetaLibraryTemplate.add_member(:template_name, Shapes::ShapeRef.new(shape: MetaTemplateName, required: true, location_name: "templateName"))
372
+ MetaLibraryTemplate.add_member(:library_template_name, Shapes::ShapeRef.new(shape: MetaTemplateName, required: true, location_name: "libraryTemplateName"))
373
+ MetaLibraryTemplate.add_member(:template_category, Shapes::ShapeRef.new(shape: MetaTemplateCategory, required: true, location_name: "templateCategory"))
374
+ MetaLibraryTemplate.add_member(:template_language, Shapes::ShapeRef.new(shape: MetaTemplateLanguage, required: true, location_name: "templateLanguage"))
375
+ MetaLibraryTemplate.add_member(:library_template_button_inputs, Shapes::ShapeRef.new(shape: MetaLibraryTemplateButtonInputs, location_name: "libraryTemplateButtonInputs"))
376
+ MetaLibraryTemplate.add_member(:library_template_body_inputs, Shapes::ShapeRef.new(shape: LibraryTemplateBodyInputs, location_name: "libraryTemplateBodyInputs"))
377
+ MetaLibraryTemplate.struct_class = Types::MetaLibraryTemplate
378
+
379
+ MetaLibraryTemplateButtonInputs.member = Shapes::ShapeRef.new(shape: LibraryTemplateButtonInput)
380
+
381
+ MetaLibraryTemplateButtonList.member = Shapes::ShapeRef.new(shape: LibraryTemplateButtonList)
382
+
383
+ MetaLibraryTemplateDefinition.add_member(:template_name, Shapes::ShapeRef.new(shape: MetaTemplateName, location_name: "templateName"))
384
+ MetaLibraryTemplateDefinition.add_member(:template_language, Shapes::ShapeRef.new(shape: MetaTemplateLanguage, location_name: "templateLanguage"))
385
+ MetaLibraryTemplateDefinition.add_member(:template_category, Shapes::ShapeRef.new(shape: MetaTemplateCategory, location_name: "templateCategory"))
386
+ MetaLibraryTemplateDefinition.add_member(:template_topic, Shapes::ShapeRef.new(shape: MetaTemplateTopic, location_name: "templateTopic"))
387
+ MetaLibraryTemplateDefinition.add_member(:template_use_case, Shapes::ShapeRef.new(shape: MetaTemplateUseCase, location_name: "templateUseCase"))
388
+ MetaLibraryTemplateDefinition.add_member(:template_industry, Shapes::ShapeRef.new(shape: MetaIndustries, location_name: "templateIndustry"))
389
+ MetaLibraryTemplateDefinition.add_member(:template_header, Shapes::ShapeRef.new(shape: MetaTemplateHeader, location_name: "templateHeader"))
390
+ MetaLibraryTemplateDefinition.add_member(:template_body, Shapes::ShapeRef.new(shape: MetaTemplateBody, location_name: "templateBody"))
391
+ MetaLibraryTemplateDefinition.add_member(:template_buttons, Shapes::ShapeRef.new(shape: MetaLibraryTemplateButtonList, location_name: "templateButtons"))
392
+ MetaLibraryTemplateDefinition.add_member(:template_id, Shapes::ShapeRef.new(shape: MetaTemplateId, location_name: "templateId"))
393
+ MetaLibraryTemplateDefinition.struct_class = Types::MetaLibraryTemplateDefinition
394
+
395
+ MetaLibraryTemplatesList.member = Shapes::ShapeRef.new(shape: MetaLibraryTemplateDefinition)
396
+
397
+ MetaUrlWithSuffixExample.key = Shapes::ShapeRef.new(shape: MetaUrlWithSuffixExampleKeyString)
398
+ MetaUrlWithSuffixExample.value = Shapes::ShapeRef.new(shape: MetaUrlWithSuffixExampleValueString)
399
+
216
400
  PostWhatsAppMessageMediaInput.add_member(:origination_phone_number_id, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberId, required: true, location_name: "originationPhoneNumberId"))
217
401
  PostWhatsAppMessageMediaInput.add_member(:source_s3_presigned_url, Shapes::ShapeRef.new(shape: S3PresignedUrl, location_name: "sourceS3PresignedUrl"))
218
402
  PostWhatsAppMessageMediaInput.add_member(:source_s3_file, Shapes::ShapeRef.new(shape: S3File, location_name: "sourceS3File"))
@@ -248,6 +432,11 @@ module Aws::SocialMessaging
248
432
 
249
433
  StringList.member = Shapes::ShapeRef.new(shape: String)
250
434
 
435
+ SupportedApp.key = Shapes::ShapeRef.new(shape: SupportedAppKeyString)
436
+ SupportedApp.value = Shapes::ShapeRef.new(shape: SupportedAppValueString)
437
+
438
+ SupportedApps.member = Shapes::ShapeRef.new(shape: SupportedApp)
439
+
251
440
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKeyString, required: true, location_name: "key"))
252
441
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValueString, location_name: "value"))
253
442
  Tag.struct_class = Types::Tag
@@ -261,6 +450,16 @@ module Aws::SocialMessaging
261
450
  TagResourceOutput.add_member(:status_code, Shapes::ShapeRef.new(shape: Integer, location_name: "statusCode"))
262
451
  TagResourceOutput.struct_class = Types::TagResourceOutput
263
452
 
453
+ TemplateSummary.add_member(:template_name, Shapes::ShapeRef.new(shape: MetaTemplateName, location_name: "templateName"))
454
+ TemplateSummary.add_member(:meta_template_id, Shapes::ShapeRef.new(shape: MetaTemplateId, location_name: "metaTemplateId"))
455
+ TemplateSummary.add_member(:template_status, Shapes::ShapeRef.new(shape: MetaTemplateStatus, location_name: "templateStatus"))
456
+ TemplateSummary.add_member(:template_quality_score, Shapes::ShapeRef.new(shape: MetaTemplateQualityScore, location_name: "templateQualityScore"))
457
+ TemplateSummary.add_member(:template_language, Shapes::ShapeRef.new(shape: MetaTemplateLanguage, location_name: "templateLanguage"))
458
+ TemplateSummary.add_member(:template_category, Shapes::ShapeRef.new(shape: MetaTemplateCategory, location_name: "templateCategory"))
459
+ TemplateSummary.struct_class = Types::TemplateSummary
460
+
461
+ TemplateSummaryList.member = Shapes::ShapeRef.new(shape: TemplateSummary)
462
+
264
463
  ThrottledRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
265
464
  ThrottledRequestException.struct_class = Types::ThrottledRequestException
266
465
 
@@ -271,6 +470,14 @@ module Aws::SocialMessaging
271
470
  UntagResourceOutput.add_member(:status_code, Shapes::ShapeRef.new(shape: Integer, location_name: "statusCode"))
272
471
  UntagResourceOutput.struct_class = Types::UntagResourceOutput
273
472
 
473
+ UpdateWhatsAppMessageTemplateInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
474
+ UpdateWhatsAppMessageTemplateInput.add_member(:meta_template_id, Shapes::ShapeRef.new(shape: MetaTemplateId, required: true, location_name: "metaTemplateId"))
475
+ UpdateWhatsAppMessageTemplateInput.add_member(:template_category, Shapes::ShapeRef.new(shape: MetaTemplateCategory, location_name: "templateCategory"))
476
+ UpdateWhatsAppMessageTemplateInput.add_member(:template_components, Shapes::ShapeRef.new(shape: MetaTemplateComponents, location_name: "templateComponents"))
477
+ UpdateWhatsAppMessageTemplateInput.struct_class = Types::UpdateWhatsAppMessageTemplateInput
478
+
479
+ UpdateWhatsAppMessageTemplateOutput.struct_class = Types::UpdateWhatsAppMessageTemplateOutput
480
+
274
481
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
275
482
  ValidationException.struct_class = Types::ValidationException
276
483
 
@@ -300,6 +507,7 @@ module Aws::SocialMessaging
300
507
  WhatsAppPhoneNumberDetail.add_member(:display_phone_number_name, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberName, required: true, location_name: "displayPhoneNumberName"))
301
508
  WhatsAppPhoneNumberDetail.add_member(:display_phone_number, Shapes::ShapeRef.new(shape: WhatsAppDisplayPhoneNumber, required: true, location_name: "displayPhoneNumber"))
302
509
  WhatsAppPhoneNumberDetail.add_member(:quality_rating, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberQualityRating, required: true, location_name: "qualityRating"))
510
+ WhatsAppPhoneNumberDetail.add_member(:data_localization_region, Shapes::ShapeRef.new(shape: IsoCountryCode, location_name: "dataLocalizationRegion"))
303
511
  WhatsAppPhoneNumberDetail.struct_class = Types::WhatsAppPhoneNumberDetail
304
512
 
305
513
  WhatsAppPhoneNumberDetailList.member = Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberDetail)
@@ -311,6 +519,7 @@ module Aws::SocialMessaging
311
519
  WhatsAppPhoneNumberSummary.add_member(:display_phone_number_name, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberName, required: true, location_name: "displayPhoneNumberName"))
312
520
  WhatsAppPhoneNumberSummary.add_member(:display_phone_number, Shapes::ShapeRef.new(shape: WhatsAppDisplayPhoneNumber, required: true, location_name: "displayPhoneNumber"))
313
521
  WhatsAppPhoneNumberSummary.add_member(:quality_rating, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberQualityRating, required: true, location_name: "qualityRating"))
522
+ WhatsAppPhoneNumberSummary.add_member(:data_localization_region, Shapes::ShapeRef.new(shape: IsoCountryCode, location_name: "dataLocalizationRegion"))
314
523
  WhatsAppPhoneNumberSummary.struct_class = Types::WhatsAppPhoneNumberSummary
315
524
 
316
525
  WhatsAppPhoneNumberSummaryList.member = Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberSummary)
@@ -322,6 +531,7 @@ module Aws::SocialMessaging
322
531
  WhatsAppSetupFinalization.struct_class = Types::WhatsAppSetupFinalization
323
532
 
324
533
  WhatsAppSignupCallback.add_member(:access_token, Shapes::ShapeRef.new(shape: WhatsAppSignupCallbackAccessTokenString, required: true, location_name: "accessToken"))
534
+ WhatsAppSignupCallback.add_member(:callback_url, Shapes::ShapeRef.new(shape: WhatsAppSignupCallbackCallbackUrlString, location_name: "callbackUrl"))
325
535
  WhatsAppSignupCallback.struct_class = Types::WhatsAppSignupCallback
326
536
 
327
537
  WhatsAppSignupCallbackResult.add_member(:associate_in_progress_token, Shapes::ShapeRef.new(shape: AssociateInProgressToken, location_name: "associateInProgressToken"))
@@ -354,12 +564,58 @@ module Aws::SocialMessaging
354
564
  o.input = Shapes::ShapeRef.new(shape: AssociateWhatsAppBusinessAccountInput)
355
565
  o.output = Shapes::ShapeRef.new(shape: AssociateWhatsAppBusinessAccountOutput)
356
566
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
567
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
357
568
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
358
569
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
359
570
  o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
360
571
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
361
572
  end)
362
573
 
574
+ api.add_operation(:create_whats_app_message_template, Seahorse::Model::Operation.new.tap do |o|
575
+ o.name = "CreateWhatsAppMessageTemplate"
576
+ o.http_method = "POST"
577
+ o.http_request_uri = "/v1/whatsapp/template/put"
578
+ o.input = Shapes::ShapeRef.new(shape: CreateWhatsAppMessageTemplateInput)
579
+ o.output = Shapes::ShapeRef.new(shape: CreateWhatsAppMessageTemplateOutput)
580
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
581
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
582
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
583
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
584
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
585
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
586
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
587
+ end)
588
+
589
+ api.add_operation(:create_whats_app_message_template_from_library, Seahorse::Model::Operation.new.tap do |o|
590
+ o.name = "CreateWhatsAppMessageTemplateFromLibrary"
591
+ o.http_method = "POST"
592
+ o.http_request_uri = "/v1/whatsapp/template/create"
593
+ o.input = Shapes::ShapeRef.new(shape: CreateWhatsAppMessageTemplateFromLibraryInput)
594
+ o.output = Shapes::ShapeRef.new(shape: CreateWhatsAppMessageTemplateFromLibraryOutput)
595
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
596
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
597
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
598
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
599
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
600
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
601
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
602
+ end)
603
+
604
+ api.add_operation(:create_whats_app_message_template_media, Seahorse::Model::Operation.new.tap do |o|
605
+ o.name = "CreateWhatsAppMessageTemplateMedia"
606
+ o.http_method = "POST"
607
+ o.http_request_uri = "/v1/whatsapp/template/media"
608
+ o.input = Shapes::ShapeRef.new(shape: CreateWhatsAppMessageTemplateMediaInput)
609
+ o.output = Shapes::ShapeRef.new(shape: CreateWhatsAppMessageTemplateMediaOutput)
610
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
611
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
612
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
613
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
614
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
615
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
616
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
617
+ end)
618
+
363
619
  api.add_operation(:delete_whats_app_message_media, Seahorse::Model::Operation.new.tap do |o|
364
620
  o.name = "DeleteWhatsAppMessageMedia"
365
621
  o.http_method = "DELETE"
@@ -376,6 +632,21 @@ module Aws::SocialMessaging
376
632
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
377
633
  end)
378
634
 
635
+ api.add_operation(:delete_whats_app_message_template, Seahorse::Model::Operation.new.tap do |o|
636
+ o.name = "DeleteWhatsAppMessageTemplate"
637
+ o.http_method = "DELETE"
638
+ o.http_request_uri = "/v1/whatsapp/template"
639
+ o.input = Shapes::ShapeRef.new(shape: DeleteWhatsAppMessageTemplateInput)
640
+ o.output = Shapes::ShapeRef.new(shape: DeleteWhatsAppMessageTemplateOutput)
641
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
642
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
643
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
644
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
645
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
646
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
647
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
648
+ end)
649
+
379
650
  api.add_operation(:disassociate_whats_app_business_account, Seahorse::Model::Operation.new.tap do |o|
380
651
  o.name = "DisassociateWhatsAppBusinessAccount"
381
652
  o.http_method = "DELETE"
@@ -436,6 +707,21 @@ module Aws::SocialMessaging
436
707
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
437
708
  end)
438
709
 
710
+ api.add_operation(:get_whats_app_message_template, Seahorse::Model::Operation.new.tap do |o|
711
+ o.name = "GetWhatsAppMessageTemplate"
712
+ o.http_method = "GET"
713
+ o.http_request_uri = "/v1/whatsapp/template"
714
+ o.input = Shapes::ShapeRef.new(shape: GetWhatsAppMessageTemplateInput)
715
+ o.output = Shapes::ShapeRef.new(shape: GetWhatsAppMessageTemplateOutput)
716
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
717
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
718
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
719
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
720
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
721
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
722
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
723
+ end)
724
+
439
725
  api.add_operation(:list_linked_whats_app_business_accounts, Seahorse::Model::Operation.new.tap do |o|
440
726
  o.name = "ListLinkedWhatsAppBusinessAccounts"
441
727
  o.http_method = "GET"
@@ -469,6 +755,48 @@ module Aws::SocialMessaging
469
755
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
470
756
  end)
471
757
 
758
+ api.add_operation(:list_whats_app_message_templates, Seahorse::Model::Operation.new.tap do |o|
759
+ o.name = "ListWhatsAppMessageTemplates"
760
+ o.http_method = "GET"
761
+ o.http_request_uri = "/v1/whatsapp/template/list"
762
+ o.input = Shapes::ShapeRef.new(shape: ListWhatsAppMessageTemplatesInput)
763
+ o.output = Shapes::ShapeRef.new(shape: ListWhatsAppMessageTemplatesOutput)
764
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
765
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
766
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
767
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
768
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
769
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
770
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
771
+ o[:pager] = Aws::Pager.new(
772
+ limit_key: "max_results",
773
+ tokens: {
774
+ "next_token" => "next_token"
775
+ }
776
+ )
777
+ end)
778
+
779
+ api.add_operation(:list_whats_app_template_library, Seahorse::Model::Operation.new.tap do |o|
780
+ o.name = "ListWhatsAppTemplateLibrary"
781
+ o.http_method = "POST"
782
+ o.http_request_uri = "/v1/whatsapp/template/library"
783
+ o.input = Shapes::ShapeRef.new(shape: ListWhatsAppTemplateLibraryInput)
784
+ o.output = Shapes::ShapeRef.new(shape: ListWhatsAppTemplateLibraryOutput)
785
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
786
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
787
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
788
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
789
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
790
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
791
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
792
+ o[:pager] = Aws::Pager.new(
793
+ limit_key: "max_results",
794
+ tokens: {
795
+ "next_token" => "next_token"
796
+ }
797
+ )
798
+ end)
799
+
472
800
  api.add_operation(:post_whats_app_message_media, Seahorse::Model::Operation.new.tap do |o|
473
801
  o.name = "PostWhatsAppMessageMedia"
474
802
  o.http_method = "POST"
@@ -538,6 +866,21 @@ module Aws::SocialMessaging
538
866
  o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
539
867
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
540
868
  end)
869
+
870
+ api.add_operation(:update_whats_app_message_template, Seahorse::Model::Operation.new.tap do |o|
871
+ o.name = "UpdateWhatsAppMessageTemplate"
872
+ o.http_method = "POST"
873
+ o.http_request_uri = "/v1/whatsapp/template"
874
+ o.input = Shapes::ShapeRef.new(shape: UpdateWhatsAppMessageTemplateInput)
875
+ o.output = Shapes::ShapeRef.new(shape: UpdateWhatsAppMessageTemplateOutput)
876
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
877
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
878
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
879
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
880
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
881
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
882
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
883
+ end)
541
884
  end
542
885
 
543
886
  end
@@ -32,6 +32,7 @@ module Aws::SocialMessaging
32
32
  # * {DependencyException}
33
33
  # * {InternalServiceException}
34
34
  # * {InvalidParametersException}
35
+ # * {LimitExceededException}
35
36
  # * {ResourceNotFoundException}
36
37
  # * {ThrottledRequestException}
37
38
  # * {ValidationException}
@@ -125,6 +126,21 @@ module Aws::SocialMessaging
125
126
  end
126
127
  end
127
128
 
129
+ class LimitExceededException < ServiceError
130
+
131
+ # @param [Seahorse::Client::RequestContext] context
132
+ # @param [String] message
133
+ # @param [Aws::SocialMessaging::Types::LimitExceededException] data
134
+ def initialize(context, message, data = Aws::EmptyStructure.new)
135
+ super(context, message, data)
136
+ end
137
+
138
+ # @return [String]
139
+ def message
140
+ @message || @data[:message]
141
+ end
142
+ end
143
+
128
144
  class ResourceNotFoundException < ServiceError
129
145
 
130
146
  # @param [Seahorse::Client::RequestContext] context