aws-sdk-socialmessaging 1.32.0 → 1.33.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: b70d0af0c2ec02c310d939ae200efacb849f084f856a9dc65c5423665cc61ba0
4
- data.tar.gz: 400bb510c97962779be9566c45913f0ca7ca5a673cf9b15316845172c2b7685e
3
+ metadata.gz: e760330174c56ae6bfbb34fd69297773dbd58341c62a711efa47203d90d0d6d0
4
+ data.tar.gz: 29e7a84395d6b72b83d765741db3f0cbe07321c88aa71cc97fc7c3a4097404ec
5
5
  SHA512:
6
- metadata.gz: 629741cf61a6b1c12344096464f67cf3a70103d2f92f87af73b21335899427983ebdc0b4b24c130053133cfcdfde42eabce909599f5d746521c364f0346fb50f
7
- data.tar.gz: 6b710f91404bec1b0d8c459957393e02a5103d9b29c70b50310fd398da52fd440f25c072f7bcdadb453e167819860f26ee4412fbbb0bcc9d7efc9f1c5f3c5236
6
+ metadata.gz: 9b842096af97d135a1a277deeef5a5ce722b48cf3233d4567d485424209219fce2ee329724f383a8669d8775e4d69d4fd0891d02ffa02f42f6c1e9d62b1da0e0
7
+ data.tar.gz: 6c7099079433683239610bfbf8b1478c23c5b9b987a705a707f6d55d8324751eecead2a776d5620427d75ea31c19dd7c7b975f3ec8b95c2e5cd7f4eb4431bbe0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2026-09-17)
5
+ ------------------
6
+
7
+ * Feature - Add support for WhatsApp Calling APIs.
8
+
4
9
  1.32.0 (2026-09-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.32.0
1
+ 1.33.0
@@ -620,12 +620,7 @@ module Aws::SocialMessaging
620
620
  # to clone.
621
621
  #
622
622
  # @option params [String] :endpoint_uri
623
- # Optional HTTPS endpoint for a dynamic Flow, registered with Meta as
624
- # the Flow's endpoint\_uri and called by Meta directly. When omitted,
625
- # the Flow has no endpoint (static Flow). Meta only calls the endpoint
626
- # when the Flow JSON also declares data\_api\_version. To verify that
627
- # requests originate from Meta, attach your own Meta app via
628
- # UpdateWhatsAppFlow.
623
+ # The HTTPS endpoint that Meta calls for a data exchange Flow.
629
624
  #
630
625
  # @return [Types::CreateWhatsAppFlowOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
631
626
  #
@@ -1040,6 +1035,7 @@ module Aws::SocialMessaging
1040
1035
  #
1041
1036
  # * {Types::GetLinkedWhatsAppBusinessAccountPhoneNumberOutput#phone_number #phone_number} => Types::WhatsAppPhoneNumberDetail
1042
1037
  # * {Types::GetLinkedWhatsAppBusinessAccountPhoneNumberOutput#linked_whats_app_business_account_id #linked_whats_app_business_account_id} => String
1038
+ # * {Types::GetLinkedWhatsAppBusinessAccountPhoneNumberOutput#call_settings #call_settings} => Types::WhatsAppCallSettings
1043
1039
  #
1044
1040
  # @example Request syntax with placeholder values
1045
1041
  #
@@ -1058,6 +1054,23 @@ module Aws::SocialMessaging
1058
1054
  # resp.phone_number.quality_rating #=> String
1059
1055
  # resp.phone_number.data_localization_region #=> String
1060
1056
  # resp.linked_whats_app_business_account_id #=> String
1057
+ # resp.call_settings.call_enabled #=> Boolean
1058
+ # resp.call_settings.call_hours.enabled #=> Boolean
1059
+ # resp.call_settings.call_hours.timezone #=> String
1060
+ # resp.call_settings.call_hours.weekly_operating_hours #=> Array
1061
+ # resp.call_settings.call_hours.weekly_operating_hours[0].day_of_week #=> String, one of "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
1062
+ # resp.call_settings.call_hours.weekly_operating_hours[0].open_time.hours #=> Integer
1063
+ # resp.call_settings.call_hours.weekly_operating_hours[0].open_time.minutes #=> Integer
1064
+ # resp.call_settings.call_hours.weekly_operating_hours[0].close_time.hours #=> Integer
1065
+ # resp.call_settings.call_hours.weekly_operating_hours[0].close_time.minutes #=> Integer
1066
+ # resp.call_settings.call_hours.holiday_schedule #=> Array
1067
+ # resp.call_settings.call_hours.holiday_schedule[0].date #=> String
1068
+ # resp.call_settings.call_hours.holiday_schedule[0].start_time.hours #=> Integer
1069
+ # resp.call_settings.call_hours.holiday_schedule[0].start_time.minutes #=> Integer
1070
+ # resp.call_settings.call_hours.holiday_schedule[0].end_time.hours #=> Integer
1071
+ # resp.call_settings.call_hours.holiday_schedule[0].end_time.minutes #=> Integer
1072
+ # resp.call_settings.call_icon_visibility #=> String
1073
+ # resp.call_settings.callback_permission_status #=> String
1061
1074
  #
1062
1075
  # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/GetLinkedWhatsAppBusinessAccountPhoneNumber AWS API Documentation
1063
1076
  #
@@ -1100,6 +1113,59 @@ module Aws::SocialMessaging
1100
1113
  req.send_request(options)
1101
1114
  end
1102
1115
 
1116
+ # Retrieves the current calling permission for a WhatsApp end user,
1117
+ # along with the calling actions the business is allowed to take with
1118
+ # that user. Provide the destination phone number or the business-scoped
1119
+ # user ID to identify the end user.
1120
+ #
1121
+ # @option params [required, String] :origination_phone_number_id
1122
+ # The unique identifier of the business phone number for which to
1123
+ # retrieve the calling permission. The phone number identifiers are
1124
+ # formatted as `phone-number-id-01234567890123456789012345678901`.
1125
+ #
1126
+ # @option params [String] :destination_phone_number
1127
+ # The end user's phone number, in E.164 format, for which to retrieve
1128
+ # the calling permission.
1129
+ #
1130
+ # @option params [String] :end_user_bsuid
1131
+ # The business-scoped user identifier (BSUID) of the end user for which
1132
+ # to retrieve the calling permission.
1133
+ #
1134
+ # @return [Types::GetWhatsAppCallPermissionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1135
+ #
1136
+ # * {Types::GetWhatsAppCallPermissionOutput#permission #permission} => Types::WhatsAppCallPermission
1137
+ # * {Types::GetWhatsAppCallPermissionOutput#actions #actions} => Array<Types::WhatsAppCallPermissionAction>
1138
+ #
1139
+ # @example Request syntax with placeholder values
1140
+ #
1141
+ # resp = client.get_whats_app_call_permission({
1142
+ # origination_phone_number_id: "WhatsAppPhoneNumberId", # required
1143
+ # destination_phone_number: "WhatsAppDestinationPhoneNumber",
1144
+ # end_user_bsuid: "WhatsAppBusinessScopedUserId",
1145
+ # })
1146
+ #
1147
+ # @example Response structure
1148
+ #
1149
+ # resp.permission.status #=> String
1150
+ # resp.permission.expiration_time #=> Time
1151
+ # resp.actions #=> Array
1152
+ # resp.actions[0].action_name #=> String
1153
+ # resp.actions[0].can_perform_action #=> Boolean
1154
+ # resp.actions[0].limits #=> Array
1155
+ # resp.actions[0].limits[0].time_period #=> String
1156
+ # resp.actions[0].limits[0].max_allowed #=> Integer
1157
+ # resp.actions[0].limits[0].current_usage #=> Integer
1158
+ # resp.actions[0].limits[0].limit_expiration_time #=> Time
1159
+ #
1160
+ # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/GetWhatsAppCallPermission AWS API Documentation
1161
+ #
1162
+ # @overload get_whats_app_call_permission(params = {})
1163
+ # @param [Hash] params ({})
1164
+ def get_whats_app_call_permission(params = {}, options = {})
1165
+ req = build_request(:get_whats_app_call_permission, params)
1166
+ req.send_request(options)
1167
+ end
1168
+
1103
1169
  # Retrieves the metadata and status of a WhatsApp Flow, including
1104
1170
  # validation errors, preview information, and health status.
1105
1171
  #
@@ -1753,11 +1819,12 @@ module Aws::SocialMessaging
1753
1819
  # business public key.
1754
1820
  #
1755
1821
  # @option params [String] :business_public_key
1756
- # PEM-encoded RSA public key. Mutually exclusive with kmsKeyArn.
1822
+ # The PEM-encoded 2048-bit RSA public key to set. Mutually exclusive
1823
+ # with `kmsKeyArn`.
1757
1824
  #
1758
1825
  # @option params [String] :kms_key_arn
1759
- # Customer-managed KMS asymmetric RSA key ARN. Mutually exclusive with
1760
- # businessPublicKey.
1826
+ # The ARN of a customer managed asymmetric RSA key in Amazon Web
1827
+ # Services KMS. Mutually exclusive with `businessPublicKey`.
1761
1828
  #
1762
1829
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1763
1830
  #
@@ -1778,6 +1845,50 @@ module Aws::SocialMessaging
1778
1845
  req.send_request(options)
1779
1846
  end
1780
1847
 
1848
+ # Sends a WhatsApp calling event, such as connecting or terminating a
1849
+ # call, for a business phone number. This operation passes the event
1850
+ # through to Meta. To use this operation, the origination phone number
1851
+ # must belong to a WhatsApp Business Account that is linked to your
1852
+ # Amazon Web Services account.
1853
+ #
1854
+ # @option params [required, String] :origination_phone_number_id
1855
+ # The unique identifier of the origination phone number for the call.
1856
+ # The phone number identifiers are formatted as
1857
+ # `phone-number-id-01234567890123456789012345678901`. Use
1858
+ # `GetLinkedWhatsAppBusinessAccount` to find a phone number's ID.
1859
+ #
1860
+ # @option params [required, String] :meta_api_version
1861
+ # The version of the Meta Graph API to use for the request.
1862
+ #
1863
+ # @option params [required, String, StringIO, File] :call_event
1864
+ # The call event payload to send, as a JSON blob in the format defined
1865
+ # by the Meta calling API.
1866
+ #
1867
+ # @return [Types::SendWhatsAppCallEventOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1868
+ #
1869
+ # * {Types::SendWhatsAppCallEventOutput#call_id #call_id} => String
1870
+ #
1871
+ # @example Request syntax with placeholder values
1872
+ #
1873
+ # resp = client.send_whats_app_call_event({
1874
+ # origination_phone_number_id: "WhatsAppPhoneNumberId", # required
1875
+ # meta_api_version: "String", # required
1876
+ # call_event: "data", # required
1877
+ # })
1878
+ #
1879
+ # @example Response structure
1880
+ #
1881
+ # resp.call_id #=> String
1882
+ #
1883
+ # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/SendWhatsAppCallEvent AWS API Documentation
1884
+ #
1885
+ # @overload send_whats_app_call_event(params = {})
1886
+ # @param [Hash] params ({})
1887
+ def send_whats_app_call_event(params = {}, options = {})
1888
+ req = build_request(:send_whats_app_call_event, params)
1889
+ req.send_request(options)
1890
+ end
1891
+
1781
1892
  # Sends a conversion event to Meta's Conversions API for the specified
1782
1893
  # WhatsApp Business Account dataset.
1783
1894
  #
@@ -1955,6 +2066,76 @@ module Aws::SocialMessaging
1955
2066
  req.send_request(options)
1956
2067
  end
1957
2068
 
2069
+ # Updates the calling settings for a linked WhatsApp business phone
2070
+ # number, such as whether calling is enabled and the hours during which
2071
+ # the business accepts calls.
2072
+ #
2073
+ # @option params [required, String] :id
2074
+ # The unique identifier of the phone number to update. The phone number
2075
+ # identifiers are formatted as
2076
+ # `phone-number-id-01234567890123456789012345678901`.
2077
+ #
2078
+ # @option params [required, Types::WhatsAppCallSettings] :call_settings
2079
+ # The calling settings to apply to the phone number.
2080
+ #
2081
+ # @return [Types::UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2082
+ #
2083
+ # * {Types::UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput#phone_number_id #phone_number_id} => String
2084
+ #
2085
+ # @example Request syntax with placeholder values
2086
+ #
2087
+ # resp = client.update_linked_whats_app_business_account_phone_number({
2088
+ # id: "WhatsAppPhoneNumberId", # required
2089
+ # call_settings: { # required
2090
+ # call_enabled: false, # required
2091
+ # call_hours: {
2092
+ # enabled: false, # required
2093
+ # timezone: "IanaTimezone", # required
2094
+ # weekly_operating_hours: [ # required
2095
+ # {
2096
+ # day_of_week: "MONDAY", # required, accepts MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
2097
+ # open_time: { # required
2098
+ # hours: 1, # required
2099
+ # minutes: 1, # required
2100
+ # },
2101
+ # close_time: { # required
2102
+ # hours: 1, # required
2103
+ # minutes: 1, # required
2104
+ # },
2105
+ # },
2106
+ # ],
2107
+ # holiday_schedule: [
2108
+ # {
2109
+ # date: "WhatsAppDate", # required
2110
+ # start_time: { # required
2111
+ # hours: 1, # required
2112
+ # minutes: 1, # required
2113
+ # },
2114
+ # end_time: { # required
2115
+ # hours: 1, # required
2116
+ # minutes: 1, # required
2117
+ # },
2118
+ # },
2119
+ # ],
2120
+ # },
2121
+ # call_icon_visibility: "WhatsAppCallIconVisibility",
2122
+ # callback_permission_status: "WhatsAppCallbackPermissionStatus",
2123
+ # },
2124
+ # })
2125
+ #
2126
+ # @example Response structure
2127
+ #
2128
+ # resp.phone_number_id #=> String
2129
+ #
2130
+ # @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/UpdateLinkedWhatsAppBusinessAccountPhoneNumber AWS API Documentation
2131
+ #
2132
+ # @overload update_linked_whats_app_business_account_phone_number(params = {})
2133
+ # @param [Hash] params ({})
2134
+ def update_linked_whats_app_business_account_phone_number(params = {}, options = {})
2135
+ req = build_request(:update_linked_whats_app_business_account_phone_number, params)
2136
+ req.send_request(options)
2137
+ end
2138
+
1958
2139
  # Updates the metadata of a WhatsApp Flow, such as its name or
1959
2140
  # categories. This does not update the Flow JSON definition. Use
1960
2141
  # [UpdateWhatsAppFlowAssets][1] to update the Flow JSON.
@@ -1976,19 +2157,10 @@ module Aws::SocialMessaging
1976
2157
  # The updated categories for the Flow.
1977
2158
  #
1978
2159
  # @option params [String] :endpoint_uri
1979
- # Optional HTTPS endpoint for a dynamic Flow, registered with Meta as
1980
- # the Flow's endpoint\_uri and called by Meta directly. When omitted,
1981
- # the Flow's endpoint is unchanged.
2160
+ # The updated HTTPS endpoint for a data exchange Flow.
1982
2161
  #
1983
2162
  # @option params [String] :meta_app_id
1984
- # Optional Meta app ID to attach to the Flow. Meta signs data-exchange
1985
- # requests with the attached app's secret, so attaching your own app is
1986
- # what enables X-Hub-Signature-256 and flow\_token\_signature
1987
- # verification at your endpoint. Meta requires the app to be owned by
1988
- # the same business that owns the WABA. Attaching your own app is
1989
- # one-way: the service's app cannot be re-attached afterwards. When
1990
- # omitted, the attached app is unchanged. (Set via update because Meta
1991
- # ignores application\_id at creation time.)
2163
+ # The ID of the Meta application to attach to the Flow.
1992
2164
  #
1993
2165
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1994
2166
  #
@@ -2126,7 +2298,7 @@ module Aws::SocialMessaging
2126
2298
  tracer: tracer
2127
2299
  )
2128
2300
  context[:gem_name] = 'aws-sdk-socialmessaging'
2129
- context[:gem_version] = '1.32.0'
2301
+ context[:gem_version] = '1.33.0'
2130
2302
  Seahorse::Client::Request.new(handlers, context)
2131
2303
  end
2132
2304
 
@@ -29,6 +29,7 @@ module Aws::SocialMessaging
29
29
  BusinessPublicKeySignatureStatus = Shapes::StringShape.new(name: 'BusinessPublicKeySignatureStatus')
30
30
  ButtonType = Shapes::StringShape.new(name: 'ButtonType')
31
31
  CodeExpirationMinutes = Shapes::IntegerShape.new(name: 'CodeExpirationMinutes')
32
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
32
33
  CreateWhatsAppDatasetInput = Shapes::StructureShape.new(name: 'CreateWhatsAppDatasetInput')
33
34
  CreateWhatsAppDatasetOutput = Shapes::StructureShape.new(name: 'CreateWhatsAppDatasetOutput')
34
35
  CreateWhatsAppFlowInput = Shapes::StructureShape.new(name: 'CreateWhatsAppFlowInput')
@@ -62,6 +63,8 @@ module Aws::SocialMessaging
62
63
  GetLinkedWhatsAppBusinessAccountPhoneNumberOutput = Shapes::StructureShape.new(name: 'GetLinkedWhatsAppBusinessAccountPhoneNumberOutput')
63
64
  GetWhatsAppBusinessPublicKeyInput = Shapes::StructureShape.new(name: 'GetWhatsAppBusinessPublicKeyInput')
64
65
  GetWhatsAppBusinessPublicKeyOutput = Shapes::StructureShape.new(name: 'GetWhatsAppBusinessPublicKeyOutput')
66
+ GetWhatsAppCallPermissionInput = Shapes::StructureShape.new(name: 'GetWhatsAppCallPermissionInput')
67
+ GetWhatsAppCallPermissionOutput = Shapes::StructureShape.new(name: 'GetWhatsAppCallPermissionOutput')
65
68
  GetWhatsAppFlowInput = Shapes::StructureShape.new(name: 'GetWhatsAppFlowInput')
66
69
  GetWhatsAppFlowOutput = Shapes::StructureShape.new(name: 'GetWhatsAppFlowOutput')
67
70
  GetWhatsAppFlowPreviewInput = Shapes::StructureShape.new(name: 'GetWhatsAppFlowPreviewInput')
@@ -71,9 +74,11 @@ module Aws::SocialMessaging
71
74
  GetWhatsAppMessageTemplateInput = Shapes::StructureShape.new(name: 'GetWhatsAppMessageTemplateInput')
72
75
  GetWhatsAppMessageTemplateOutput = Shapes::StructureShape.new(name: 'GetWhatsAppMessageTemplateOutput')
73
76
  Headers = Shapes::MapShape.new(name: 'Headers')
77
+ IanaTimezone = Shapes::StringShape.new(name: 'IanaTimezone')
74
78
  Integer = Shapes::IntegerShape.new(name: 'Integer')
75
79
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
76
80
  InvalidParametersException = Shapes::StructureShape.new(name: 'InvalidParametersException')
81
+ Iso8601Duration = Shapes::StringShape.new(name: 'Iso8601Duration')
77
82
  IsoCountryCode = Shapes::StringShape.new(name: 'IsoCountryCode')
78
83
  KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
79
84
  LibraryTemplateBodyInputs = Shapes::StructureShape.new(name: 'LibraryTemplateBodyInputs')
@@ -182,6 +187,8 @@ module Aws::SocialMessaging
182
187
  S3FileKeyString = Shapes::StringShape.new(name: 'S3FileKeyString')
183
188
  S3PresignedUrl = Shapes::StructureShape.new(name: 'S3PresignedUrl')
184
189
  S3PresignedUrlUrlString = Shapes::StringShape.new(name: 'S3PresignedUrlUrlString')
190
+ SendWhatsAppCallEventInput = Shapes::StructureShape.new(name: 'SendWhatsAppCallEventInput')
191
+ SendWhatsAppCallEventOutput = Shapes::StructureShape.new(name: 'SendWhatsAppCallEventOutput')
185
192
  SendWhatsAppConversionEventInput = Shapes::StructureShape.new(name: 'SendWhatsAppConversionEventInput')
186
193
  SendWhatsAppConversionEventOutput = Shapes::StructureShape.new(name: 'SendWhatsAppConversionEventOutput')
187
194
  SendWhatsAppMessageInput = Shapes::StructureShape.new(name: 'SendWhatsAppMessageInput')
@@ -201,9 +208,12 @@ module Aws::SocialMessaging
201
208
  TemplateSummary = Shapes::StructureShape.new(name: 'TemplateSummary')
202
209
  TemplateSummaryList = Shapes::ListShape.new(name: 'TemplateSummaryList')
203
210
  ThrottledRequestException = Shapes::StructureShape.new(name: 'ThrottledRequestException')
211
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
204
212
  TwoFactorPin = Shapes::StringShape.new(name: 'TwoFactorPin')
205
213
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
206
214
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
215
+ UpdateLinkedWhatsAppBusinessAccountPhoneNumberInput = Shapes::StructureShape.new(name: 'UpdateLinkedWhatsAppBusinessAccountPhoneNumberInput')
216
+ UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput = Shapes::StructureShape.new(name: 'UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput')
207
217
  UpdateWhatsAppFlowAssetsInput = Shapes::StructureShape.new(name: 'UpdateWhatsAppFlowAssetsInput')
208
218
  UpdateWhatsAppFlowAssetsOutput = Shapes::StructureShape.new(name: 'UpdateWhatsAppFlowAssetsOutput')
209
219
  UpdateWhatsAppFlowInput = Shapes::StructureShape.new(name: 'UpdateWhatsAppFlowInput')
@@ -221,9 +231,27 @@ module Aws::SocialMessaging
221
231
  WhatsAppBusinessAccountLinkDate = Shapes::TimestampShape.new(name: 'WhatsAppBusinessAccountLinkDate')
222
232
  WhatsAppBusinessAccountMarketingMessagesOnboardingStatus = Shapes::StringShape.new(name: 'WhatsAppBusinessAccountMarketingMessagesOnboardingStatus')
223
233
  WhatsAppBusinessAccountName = Shapes::StringShape.new(name: 'WhatsAppBusinessAccountName')
234
+ WhatsAppBusinessScopedUserId = Shapes::StringShape.new(name: 'WhatsAppBusinessScopedUserId')
235
+ WhatsAppCallEventBlob = Shapes::BlobShape.new(name: 'WhatsAppCallEventBlob')
236
+ WhatsAppCallHours = Shapes::StructureShape.new(name: 'WhatsAppCallHours')
237
+ WhatsAppCallIconVisibility = Shapes::StringShape.new(name: 'WhatsAppCallIconVisibility')
238
+ WhatsAppCallPermission = Shapes::StructureShape.new(name: 'WhatsAppCallPermission')
239
+ WhatsAppCallPermissionAction = Shapes::StructureShape.new(name: 'WhatsAppCallPermissionAction')
240
+ WhatsAppCallPermissionActionList = Shapes::ListShape.new(name: 'WhatsAppCallPermissionActionList')
241
+ WhatsAppCallPermissionActionName = Shapes::StringShape.new(name: 'WhatsAppCallPermissionActionName')
242
+ WhatsAppCallPermissionLimit = Shapes::StructureShape.new(name: 'WhatsAppCallPermissionLimit')
243
+ WhatsAppCallPermissionLimitList = Shapes::ListShape.new(name: 'WhatsAppCallPermissionLimitList')
244
+ WhatsAppCallPermissionStatus = Shapes::StringShape.new(name: 'WhatsAppCallPermissionStatus')
245
+ WhatsAppCallSettings = Shapes::StructureShape.new(name: 'WhatsAppCallSettings')
246
+ WhatsAppCallbackPermissionStatus = Shapes::StringShape.new(name: 'WhatsAppCallbackPermissionStatus')
224
247
  WhatsAppConversionEventBlob = Shapes::BlobShape.new(name: 'WhatsAppConversionEventBlob')
225
248
  WhatsAppDatasetId = Shapes::StringShape.new(name: 'WhatsAppDatasetId')
249
+ WhatsAppDate = Shapes::StringShape.new(name: 'WhatsAppDate')
250
+ WhatsAppDayOfWeek = Shapes::StringShape.new(name: 'WhatsAppDayOfWeek')
251
+ WhatsAppDestinationPhoneNumber = Shapes::StringShape.new(name: 'WhatsAppDestinationPhoneNumber')
226
252
  WhatsAppDisplayPhoneNumber = Shapes::StringShape.new(name: 'WhatsAppDisplayPhoneNumber')
253
+ WhatsAppHolidayScheduleEntry = Shapes::StructureShape.new(name: 'WhatsAppHolidayScheduleEntry')
254
+ WhatsAppHolidayScheduleList = Shapes::ListShape.new(name: 'WhatsAppHolidayScheduleList')
227
255
  WhatsAppMediaId = Shapes::StringShape.new(name: 'WhatsAppMediaId')
228
256
  WhatsAppMessageBlob = Shapes::BlobShape.new(name: 'WhatsAppMessageBlob')
229
257
  WhatsAppPhoneNumber = Shapes::StringShape.new(name: 'WhatsAppPhoneNumber')
@@ -239,6 +267,11 @@ module Aws::SocialMessaging
239
267
  WhatsAppSignupCallbackAccessTokenString = Shapes::StringShape.new(name: 'WhatsAppSignupCallbackAccessTokenString')
240
268
  WhatsAppSignupCallbackCallbackUrlString = Shapes::StringShape.new(name: 'WhatsAppSignupCallbackCallbackUrlString')
241
269
  WhatsAppSignupCallbackResult = Shapes::StructureShape.new(name: 'WhatsAppSignupCallbackResult')
270
+ WhatsAppTimeOfDay = Shapes::StructureShape.new(name: 'WhatsAppTimeOfDay')
271
+ WhatsAppTimeOfDayHoursInteger = Shapes::IntegerShape.new(name: 'WhatsAppTimeOfDayHoursInteger')
272
+ WhatsAppTimeOfDayMinutesInteger = Shapes::IntegerShape.new(name: 'WhatsAppTimeOfDayMinutesInteger')
273
+ WhatsAppWeeklyOperatingHoursEntry = Shapes::StructureShape.new(name: 'WhatsAppWeeklyOperatingHoursEntry')
274
+ WhatsAppWeeklyOperatingHoursList = Shapes::ListShape.new(name: 'WhatsAppWeeklyOperatingHoursList')
242
275
  ZeroTapTermsAccepted = Shapes::BooleanShape.new(name: 'ZeroTapTermsAccepted')
243
276
 
244
277
  AccessDeniedByMetaException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -256,6 +289,9 @@ module Aws::SocialMessaging
256
289
  AssociateWhatsAppBusinessAccountOutput.add_member(:linked_whats_app_business_account_id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, location_name: "linkedWhatsAppBusinessAccountId"))
257
290
  AssociateWhatsAppBusinessAccountOutput.struct_class = Types::AssociateWhatsAppBusinessAccountOutput
258
291
 
292
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
293
+ ConflictException.struct_class = Types::ConflictException
294
+
259
295
  CreateWhatsAppDatasetInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
260
296
  CreateWhatsAppDatasetInput.struct_class = Types::CreateWhatsAppDatasetInput
261
297
 
@@ -349,6 +385,7 @@ module Aws::SocialMessaging
349
385
 
350
386
  GetLinkedWhatsAppBusinessAccountPhoneNumberOutput.add_member(:phone_number, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberDetail, location_name: "phoneNumber"))
351
387
  GetLinkedWhatsAppBusinessAccountPhoneNumberOutput.add_member(:linked_whats_app_business_account_id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, location_name: "linkedWhatsAppBusinessAccountId"))
388
+ GetLinkedWhatsAppBusinessAccountPhoneNumberOutput.add_member(:call_settings, Shapes::ShapeRef.new(shape: WhatsAppCallSettings, location_name: "callSettings"))
352
389
  GetLinkedWhatsAppBusinessAccountPhoneNumberOutput.struct_class = Types::GetLinkedWhatsAppBusinessAccountPhoneNumberOutput
353
390
 
354
391
  GetWhatsAppBusinessPublicKeyInput.add_member(:origination_phone_number_id, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberId, required: true, location: "querystring", location_name: "originationPhoneNumberId"))
@@ -358,6 +395,15 @@ module Aws::SocialMessaging
358
395
  GetWhatsAppBusinessPublicKeyOutput.add_member(:business_public_key_signature_status, Shapes::ShapeRef.new(shape: BusinessPublicKeySignatureStatus, location_name: "businessPublicKeySignatureStatus"))
359
396
  GetWhatsAppBusinessPublicKeyOutput.struct_class = Types::GetWhatsAppBusinessPublicKeyOutput
360
397
 
398
+ GetWhatsAppCallPermissionInput.add_member(:origination_phone_number_id, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberId, required: true, location_name: "originationPhoneNumberId"))
399
+ GetWhatsAppCallPermissionInput.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: WhatsAppDestinationPhoneNumber, location_name: "destinationPhoneNumber"))
400
+ GetWhatsAppCallPermissionInput.add_member(:end_user_bsuid, Shapes::ShapeRef.new(shape: WhatsAppBusinessScopedUserId, location_name: "endUserBsuid"))
401
+ GetWhatsAppCallPermissionInput.struct_class = Types::GetWhatsAppCallPermissionInput
402
+
403
+ GetWhatsAppCallPermissionOutput.add_member(:permission, Shapes::ShapeRef.new(shape: WhatsAppCallPermission, required: true, location_name: "permission"))
404
+ GetWhatsAppCallPermissionOutput.add_member(:actions, Shapes::ShapeRef.new(shape: WhatsAppCallPermissionActionList, required: true, location_name: "actions"))
405
+ GetWhatsAppCallPermissionOutput.struct_class = Types::GetWhatsAppCallPermissionOutput
406
+
361
407
  GetWhatsAppFlowInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location: "querystring", location_name: "id"))
362
408
  GetWhatsAppFlowInput.add_member(:flow_id, Shapes::ShapeRef.new(shape: MetaFlowId, required: true, location: "querystring", location_name: "flowId"))
363
409
  GetWhatsAppFlowInput.struct_class = Types::GetWhatsAppFlowInput
@@ -645,6 +691,14 @@ module Aws::SocialMessaging
645
691
  S3PresignedUrl.add_member(:headers, Shapes::ShapeRef.new(shape: Headers, required: true, location_name: "headers"))
646
692
  S3PresignedUrl.struct_class = Types::S3PresignedUrl
647
693
 
694
+ SendWhatsAppCallEventInput.add_member(:origination_phone_number_id, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberId, required: true, location_name: "originationPhoneNumberId"))
695
+ SendWhatsAppCallEventInput.add_member(:meta_api_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "metaApiVersion"))
696
+ SendWhatsAppCallEventInput.add_member(:call_event, Shapes::ShapeRef.new(shape: WhatsAppCallEventBlob, required: true, location_name: "callEvent"))
697
+ SendWhatsAppCallEventInput.struct_class = Types::SendWhatsAppCallEventInput
698
+
699
+ SendWhatsAppCallEventOutput.add_member(:call_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "callId"))
700
+ SendWhatsAppCallEventOutput.struct_class = Types::SendWhatsAppCallEventOutput
701
+
648
702
  SendWhatsAppConversionEventInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
649
703
  SendWhatsAppConversionEventInput.add_member(:dataset_id, Shapes::ShapeRef.new(shape: WhatsAppDatasetId, required: true, location_name: "datasetId"))
650
704
  SendWhatsAppConversionEventInput.add_member(:event_data, Shapes::ShapeRef.new(shape: WhatsAppConversionEventBlob, required: true, location_name: "eventData"))
@@ -701,6 +755,13 @@ module Aws::SocialMessaging
701
755
  UntagResourceOutput.add_member(:status_code, Shapes::ShapeRef.new(shape: Integer, location_name: "statusCode"))
702
756
  UntagResourceOutput.struct_class = Types::UntagResourceOutput
703
757
 
758
+ UpdateLinkedWhatsAppBusinessAccountPhoneNumberInput.add_member(:id, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberId, required: true, location: "querystring", location_name: "id"))
759
+ UpdateLinkedWhatsAppBusinessAccountPhoneNumberInput.add_member(:call_settings, Shapes::ShapeRef.new(shape: WhatsAppCallSettings, required: true, location_name: "callSettings"))
760
+ UpdateLinkedWhatsAppBusinessAccountPhoneNumberInput.struct_class = Types::UpdateLinkedWhatsAppBusinessAccountPhoneNumberInput
761
+
762
+ UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberId, required: true, location_name: "phoneNumberId"))
763
+ UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput.struct_class = Types::UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput
764
+
704
765
  UpdateWhatsAppFlowAssetsInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
705
766
  UpdateWhatsAppFlowAssetsInput.add_member(:flow_id, Shapes::ShapeRef.new(shape: MetaFlowId, required: true, location_name: "flowId"))
706
767
  UpdateWhatsAppFlowAssetsInput.add_member(:flow_json, Shapes::ShapeRef.new(shape: MetaFlowJsonBlob, required: true, location_name: "flowJson"))
@@ -755,6 +816,44 @@ module Aws::SocialMessaging
755
816
 
756
817
  WhatsAppBusinessAccountEventDestinations.member = Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountEventDestination)
757
818
 
819
+ WhatsAppCallHours.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
820
+ WhatsAppCallHours.add_member(:timezone, Shapes::ShapeRef.new(shape: IanaTimezone, required: true, location_name: "timezone"))
821
+ WhatsAppCallHours.add_member(:weekly_operating_hours, Shapes::ShapeRef.new(shape: WhatsAppWeeklyOperatingHoursList, required: true, location_name: "weeklyOperatingHours"))
822
+ WhatsAppCallHours.add_member(:holiday_schedule, Shapes::ShapeRef.new(shape: WhatsAppHolidayScheduleList, location_name: "holidaySchedule"))
823
+ WhatsAppCallHours.struct_class = Types::WhatsAppCallHours
824
+
825
+ WhatsAppCallPermission.add_member(:status, Shapes::ShapeRef.new(shape: WhatsAppCallPermissionStatus, required: true, location_name: "status"))
826
+ WhatsAppCallPermission.add_member(:expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expirationTime"))
827
+ WhatsAppCallPermission.struct_class = Types::WhatsAppCallPermission
828
+
829
+ WhatsAppCallPermissionAction.add_member(:action_name, Shapes::ShapeRef.new(shape: WhatsAppCallPermissionActionName, required: true, location_name: "actionName"))
830
+ WhatsAppCallPermissionAction.add_member(:can_perform_action, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "canPerformAction"))
831
+ WhatsAppCallPermissionAction.add_member(:limits, Shapes::ShapeRef.new(shape: WhatsAppCallPermissionLimitList, required: true, location_name: "limits"))
832
+ WhatsAppCallPermissionAction.struct_class = Types::WhatsAppCallPermissionAction
833
+
834
+ WhatsAppCallPermissionActionList.member = Shapes::ShapeRef.new(shape: WhatsAppCallPermissionAction)
835
+
836
+ WhatsAppCallPermissionLimit.add_member(:time_period, Shapes::ShapeRef.new(shape: Iso8601Duration, required: true, location_name: "timePeriod"))
837
+ WhatsAppCallPermissionLimit.add_member(:max_allowed, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "maxAllowed"))
838
+ WhatsAppCallPermissionLimit.add_member(:current_usage, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "currentUsage"))
839
+ WhatsAppCallPermissionLimit.add_member(:limit_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "limitExpirationTime"))
840
+ WhatsAppCallPermissionLimit.struct_class = Types::WhatsAppCallPermissionLimit
841
+
842
+ WhatsAppCallPermissionLimitList.member = Shapes::ShapeRef.new(shape: WhatsAppCallPermissionLimit)
843
+
844
+ WhatsAppCallSettings.add_member(:call_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "callEnabled"))
845
+ WhatsAppCallSettings.add_member(:call_hours, Shapes::ShapeRef.new(shape: WhatsAppCallHours, location_name: "callHours"))
846
+ WhatsAppCallSettings.add_member(:call_icon_visibility, Shapes::ShapeRef.new(shape: WhatsAppCallIconVisibility, location_name: "callIconVisibility"))
847
+ WhatsAppCallSettings.add_member(:callback_permission_status, Shapes::ShapeRef.new(shape: WhatsAppCallbackPermissionStatus, location_name: "callbackPermissionStatus"))
848
+ WhatsAppCallSettings.struct_class = Types::WhatsAppCallSettings
849
+
850
+ WhatsAppHolidayScheduleEntry.add_member(:date, Shapes::ShapeRef.new(shape: WhatsAppDate, required: true, location_name: "date"))
851
+ WhatsAppHolidayScheduleEntry.add_member(:start_time, Shapes::ShapeRef.new(shape: WhatsAppTimeOfDay, required: true, location_name: "startTime"))
852
+ WhatsAppHolidayScheduleEntry.add_member(:end_time, Shapes::ShapeRef.new(shape: WhatsAppTimeOfDay, required: true, location_name: "endTime"))
853
+ WhatsAppHolidayScheduleEntry.struct_class = Types::WhatsAppHolidayScheduleEntry
854
+
855
+ WhatsAppHolidayScheduleList.member = Shapes::ShapeRef.new(shape: WhatsAppHolidayScheduleEntry)
856
+
758
857
  WhatsAppPhoneNumberDetail.add_member(:arn, Shapes::ShapeRef.new(shape: LinkedWhatsAppPhoneNumberArn, required: true, location_name: "arn"))
759
858
  WhatsAppPhoneNumberDetail.add_member(:phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "phoneNumber"))
760
859
  WhatsAppPhoneNumberDetail.add_member(:phone_number_id, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberId, required: true, location_name: "phoneNumberId"))
@@ -793,6 +892,17 @@ module Aws::SocialMessaging
793
892
  WhatsAppSignupCallbackResult.add_member(:linked_accounts_with_incomplete_setup, Shapes::ShapeRef.new(shape: LinkedAccountWithIncompleteSetup, location_name: "linkedAccountsWithIncompleteSetup"))
794
893
  WhatsAppSignupCallbackResult.struct_class = Types::WhatsAppSignupCallbackResult
795
894
 
895
+ WhatsAppTimeOfDay.add_member(:hours, Shapes::ShapeRef.new(shape: WhatsAppTimeOfDayHoursInteger, required: true, location_name: "hours"))
896
+ WhatsAppTimeOfDay.add_member(:minutes, Shapes::ShapeRef.new(shape: WhatsAppTimeOfDayMinutesInteger, required: true, location_name: "minutes"))
897
+ WhatsAppTimeOfDay.struct_class = Types::WhatsAppTimeOfDay
898
+
899
+ WhatsAppWeeklyOperatingHoursEntry.add_member(:day_of_week, Shapes::ShapeRef.new(shape: WhatsAppDayOfWeek, required: true, location_name: "dayOfWeek"))
900
+ WhatsAppWeeklyOperatingHoursEntry.add_member(:open_time, Shapes::ShapeRef.new(shape: WhatsAppTimeOfDay, required: true, location_name: "openTime"))
901
+ WhatsAppWeeklyOperatingHoursEntry.add_member(:close_time, Shapes::ShapeRef.new(shape: WhatsAppTimeOfDay, required: true, location_name: "closeTime"))
902
+ WhatsAppWeeklyOperatingHoursEntry.struct_class = Types::WhatsAppWeeklyOperatingHoursEntry
903
+
904
+ WhatsAppWeeklyOperatingHoursList.member = Shapes::ShapeRef.new(shape: WhatsAppWeeklyOperatingHoursEntry)
905
+
796
906
 
797
907
  # @api private
798
908
  API = Seahorse::Model::Api.new.tap do |api|
@@ -1030,6 +1140,22 @@ module Aws::SocialMessaging
1030
1140
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
1031
1141
  end)
1032
1142
 
1143
+ api.add_operation(:get_whats_app_call_permission, Seahorse::Model::Operation.new.tap do |o|
1144
+ o.name = "GetWhatsAppCallPermission"
1145
+ o.http_method = "POST"
1146
+ o.http_request_uri = "/v1/whatsapp/call/permission/get"
1147
+ o.input = Shapes::ShapeRef.new(shape: GetWhatsAppCallPermissionInput)
1148
+ o.output = Shapes::ShapeRef.new(shape: GetWhatsAppCallPermissionOutput)
1149
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1150
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1151
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1152
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1153
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedByMetaException)
1154
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
1155
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1156
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
1157
+ end)
1158
+
1033
1159
  api.add_operation(:get_whats_app_flow, Seahorse::Model::Operation.new.tap do |o|
1034
1160
  o.name = "GetWhatsAppFlow"
1035
1161
  o.http_method = "GET"
@@ -1276,6 +1402,23 @@ module Aws::SocialMessaging
1276
1402
  o.errors << Shapes::ShapeRef.new(shape: DependencyException)
1277
1403
  end)
1278
1404
 
1405
+ api.add_operation(:send_whats_app_call_event, Seahorse::Model::Operation.new.tap do |o|
1406
+ o.name = "SendWhatsAppCallEvent"
1407
+ o.http_method = "POST"
1408
+ o.http_request_uri = "/v1/whatsapp/call/event"
1409
+ o.input = Shapes::ShapeRef.new(shape: SendWhatsAppCallEventInput)
1410
+ o.output = Shapes::ShapeRef.new(shape: SendWhatsAppCallEventOutput)
1411
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1412
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1413
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1414
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1415
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1416
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedByMetaException)
1417
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
1418
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1419
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
1420
+ end)
1421
+
1279
1422
  api.add_operation(:send_whats_app_conversion_event, Seahorse::Model::Operation.new.tap do |o|
1280
1423
  o.name = "SendWhatsAppConversionEvent"
1281
1424
  o.http_method = "POST"
@@ -1333,6 +1476,22 @@ module Aws::SocialMessaging
1333
1476
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1334
1477
  end)
1335
1478
 
1479
+ api.add_operation(:update_linked_whats_app_business_account_phone_number, Seahorse::Model::Operation.new.tap do |o|
1480
+ o.name = "UpdateLinkedWhatsAppBusinessAccountPhoneNumber"
1481
+ o.http_method = "PUT"
1482
+ o.http_request_uri = "/v1/whatsapp/waba/phone"
1483
+ o.input = Shapes::ShapeRef.new(shape: UpdateLinkedWhatsAppBusinessAccountPhoneNumberInput)
1484
+ o.output = Shapes::ShapeRef.new(shape: UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput)
1485
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1486
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1487
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1488
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1489
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedByMetaException)
1490
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
1491
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1492
+ o.errors << Shapes::ShapeRef.new(shape: DependencyException)
1493
+ end)
1494
+
1336
1495
  api.add_operation(:update_whats_app_flow, Seahorse::Model::Operation.new.tap do |o|
1337
1496
  o.name = "UpdateWhatsAppFlow"
1338
1497
  o.http_method = "POST"
@@ -29,6 +29,7 @@ module Aws::SocialMessaging
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedByMetaException}
31
31
  # * {AccessDeniedException}
32
+ # * {ConflictException}
32
33
  # * {DependencyException}
33
34
  # * {InternalServiceException}
34
35
  # * {InvalidParametersException}
@@ -73,6 +74,21 @@ module Aws::SocialMessaging
73
74
  end
74
75
  end
75
76
 
77
+ class ConflictException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::SocialMessaging::Types::ConflictException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+ end
91
+
76
92
  class DependencyException < ServiceError
77
93
 
78
94
  # @param [Seahorse::Client::RequestContext] context