aws-sdk-socialmessaging 1.28.0 → 1.29.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 +76 -1
- data/lib/aws-sdk-socialmessaging/client_api.rb +54 -0
- data/lib/aws-sdk-socialmessaging/types.rb +82 -1
- data/lib/aws-sdk-socialmessaging.rb +1 -1
- data/sig/client.rbs +22 -0
- data/sig/types.rbs +24 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 27fee9c2e2a0ae1fcc95767f706964cf5a3cf0e3c553d35ee9f14ecd231668dc
|
|
4
|
+
data.tar.gz: afcf67a169dcb2a69ce1e5600cecbc4427ff7630e2c8fe98c7b67877dec66a7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef187d96000e72886c9124fc07010b5652fa4d001a8501e8481b570ae9d0470cfeca80ce9326d5309186191c0c07af44c10a635d3bffe42d0843214d3020b7ac
|
|
7
|
+
data.tar.gz: bda5e617d23daf3fb35cf86c957c768dc68304df740fc32a1cb174f8cebdb36d93fac84c7133dff229dd02f498e1640fedd57e971961d9a7615a0f94ac04c696
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.29.0
|
|
@@ -560,6 +560,36 @@ module Aws::SocialMessaging
|
|
|
560
560
|
req.send_request(options)
|
|
561
561
|
end
|
|
562
562
|
|
|
563
|
+
# Creates a Meta Conversions API dataset for a WhatsApp Business
|
|
564
|
+
# Account.
|
|
565
|
+
#
|
|
566
|
+
# @option params [required, String] :id
|
|
567
|
+
# The ID of the WhatsApp Business Account to create a dataset for,
|
|
568
|
+
# formatted as `waba-01234567890123456789012345678901`.
|
|
569
|
+
#
|
|
570
|
+
# @return [Types::CreateWhatsAppDatasetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
571
|
+
#
|
|
572
|
+
# * {Types::CreateWhatsAppDatasetOutput#dataset_id #dataset_id} => String
|
|
573
|
+
#
|
|
574
|
+
# @example Request syntax with placeholder values
|
|
575
|
+
#
|
|
576
|
+
# resp = client.create_whats_app_dataset({
|
|
577
|
+
# id: "LinkedWhatsAppBusinessAccountId", # required
|
|
578
|
+
# })
|
|
579
|
+
#
|
|
580
|
+
# @example Response structure
|
|
581
|
+
#
|
|
582
|
+
# resp.dataset_id #=> String
|
|
583
|
+
#
|
|
584
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/CreateWhatsAppDataset AWS API Documentation
|
|
585
|
+
#
|
|
586
|
+
# @overload create_whats_app_dataset(params = {})
|
|
587
|
+
# @param [Hash] params ({})
|
|
588
|
+
def create_whats_app_dataset(params = {}, options = {})
|
|
589
|
+
req = build_request(:create_whats_app_dataset, params)
|
|
590
|
+
req.send_request(options)
|
|
591
|
+
end
|
|
592
|
+
|
|
563
593
|
# Creates a new WhatsApp Flow. Flows enable businesses to create rich,
|
|
564
594
|
# interactive forms and experiences that users can complete without
|
|
565
595
|
# leaving WhatsApp. The Flow is created in DRAFT status. If `publish` is
|
|
@@ -964,6 +994,7 @@ module Aws::SocialMessaging
|
|
|
964
994
|
# resp.account.event_destinations[0].event_destination_arn #=> String
|
|
965
995
|
# resp.account.event_destinations[0].role_arn #=> String
|
|
966
996
|
# resp.account.marketing_messages_onboarding_status #=> String
|
|
997
|
+
# resp.account.dataset_id #=> String
|
|
967
998
|
# resp.account.phone_numbers #=> Array
|
|
968
999
|
# resp.account.phone_numbers[0].arn #=> String
|
|
969
1000
|
# resp.account.phone_numbers[0].phone_number #=> String
|
|
@@ -1284,6 +1315,7 @@ module Aws::SocialMessaging
|
|
|
1284
1315
|
# resp.linked_accounts[0].event_destinations[0].event_destination_arn #=> String
|
|
1285
1316
|
# resp.linked_accounts[0].event_destinations[0].role_arn #=> String
|
|
1286
1317
|
# resp.linked_accounts[0].marketing_messages_onboarding_status #=> String
|
|
1318
|
+
# resp.linked_accounts[0].dataset_id #=> String
|
|
1287
1319
|
# resp.next_token #=> String
|
|
1288
1320
|
#
|
|
1289
1321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/ListLinkedWhatsAppBusinessAccounts AWS API Documentation
|
|
@@ -1672,6 +1704,49 @@ module Aws::SocialMessaging
|
|
|
1672
1704
|
req.send_request(options)
|
|
1673
1705
|
end
|
|
1674
1706
|
|
|
1707
|
+
# Sends a conversion event to Meta's Conversions API for the specified
|
|
1708
|
+
# WhatsApp Business Account dataset.
|
|
1709
|
+
#
|
|
1710
|
+
# @option params [required, String] :id
|
|
1711
|
+
# The ID of the WhatsApp Business Account associated with the dataset,
|
|
1712
|
+
# formatted as `waba-01234567890123456789012345678901`.
|
|
1713
|
+
#
|
|
1714
|
+
# @option params [required, String] :dataset_id
|
|
1715
|
+
# The Meta-generated dataset ID to send the event to.
|
|
1716
|
+
#
|
|
1717
|
+
# @option params [required, String, StringIO, File] :event_data
|
|
1718
|
+
# The raw Meta Conversions API event payload as a JSON blob. See
|
|
1719
|
+
# [Meta's server event parameters][1] for the supported format.
|
|
1720
|
+
#
|
|
1721
|
+
#
|
|
1722
|
+
#
|
|
1723
|
+
# [1]: https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event
|
|
1724
|
+
#
|
|
1725
|
+
# @return [Types::SendWhatsAppConversionEventOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1726
|
+
#
|
|
1727
|
+
# * {Types::SendWhatsAppConversionEventOutput#request_id #request_id} => String
|
|
1728
|
+
#
|
|
1729
|
+
# @example Request syntax with placeholder values
|
|
1730
|
+
#
|
|
1731
|
+
# resp = client.send_whats_app_conversion_event({
|
|
1732
|
+
# id: "LinkedWhatsAppBusinessAccountId", # required
|
|
1733
|
+
# dataset_id: "WhatsAppDatasetId", # required
|
|
1734
|
+
# event_data: "data", # required
|
|
1735
|
+
# })
|
|
1736
|
+
#
|
|
1737
|
+
# @example Response structure
|
|
1738
|
+
#
|
|
1739
|
+
# resp.request_id #=> String
|
|
1740
|
+
#
|
|
1741
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/SendWhatsAppConversionEvent AWS API Documentation
|
|
1742
|
+
#
|
|
1743
|
+
# @overload send_whats_app_conversion_event(params = {})
|
|
1744
|
+
# @param [Hash] params ({})
|
|
1745
|
+
def send_whats_app_conversion_event(params = {}, options = {})
|
|
1746
|
+
req = build_request(:send_whats_app_conversion_event, params)
|
|
1747
|
+
req.send_request(options)
|
|
1748
|
+
end
|
|
1749
|
+
|
|
1675
1750
|
# Send a WhatsApp message. For examples of sending a message using the
|
|
1676
1751
|
# Amazon Web Services CLI, see [Sending messages][1] in the <i>
|
|
1677
1752
|
# <i>Amazon Web Services End User Messaging Social User Guide</i> </i>.
|
|
@@ -1960,7 +2035,7 @@ module Aws::SocialMessaging
|
|
|
1960
2035
|
tracer: tracer
|
|
1961
2036
|
)
|
|
1962
2037
|
context[:gem_name] = 'aws-sdk-socialmessaging'
|
|
1963
|
-
context[:gem_version] = '1.
|
|
2038
|
+
context[:gem_version] = '1.29.0'
|
|
1964
2039
|
Seahorse::Client::Request.new(handlers, context)
|
|
1965
2040
|
end
|
|
1966
2041
|
|
|
@@ -27,6 +27,8 @@ module Aws::SocialMessaging
|
|
|
27
27
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
28
28
|
ButtonType = Shapes::StringShape.new(name: 'ButtonType')
|
|
29
29
|
CodeExpirationMinutes = Shapes::IntegerShape.new(name: 'CodeExpirationMinutes')
|
|
30
|
+
CreateWhatsAppDatasetInput = Shapes::StructureShape.new(name: 'CreateWhatsAppDatasetInput')
|
|
31
|
+
CreateWhatsAppDatasetOutput = Shapes::StructureShape.new(name: 'CreateWhatsAppDatasetOutput')
|
|
30
32
|
CreateWhatsAppFlowInput = Shapes::StructureShape.new(name: 'CreateWhatsAppFlowInput')
|
|
31
33
|
CreateWhatsAppFlowOutput = Shapes::StructureShape.new(name: 'CreateWhatsAppFlowOutput')
|
|
32
34
|
CreateWhatsAppMessageTemplateFromLibraryInput = Shapes::StructureShape.new(name: 'CreateWhatsAppMessageTemplateFromLibraryInput')
|
|
@@ -173,6 +175,8 @@ module Aws::SocialMessaging
|
|
|
173
175
|
S3FileKeyString = Shapes::StringShape.new(name: 'S3FileKeyString')
|
|
174
176
|
S3PresignedUrl = Shapes::StructureShape.new(name: 'S3PresignedUrl')
|
|
175
177
|
S3PresignedUrlUrlString = Shapes::StringShape.new(name: 'S3PresignedUrlUrlString')
|
|
178
|
+
SendWhatsAppConversionEventInput = Shapes::StructureShape.new(name: 'SendWhatsAppConversionEventInput')
|
|
179
|
+
SendWhatsAppConversionEventOutput = Shapes::StructureShape.new(name: 'SendWhatsAppConversionEventOutput')
|
|
176
180
|
SendWhatsAppMessageInput = Shapes::StructureShape.new(name: 'SendWhatsAppMessageInput')
|
|
177
181
|
SendWhatsAppMessageOutput = Shapes::StructureShape.new(name: 'SendWhatsAppMessageOutput')
|
|
178
182
|
String = Shapes::StringShape.new(name: 'String')
|
|
@@ -210,6 +214,8 @@ module Aws::SocialMessaging
|
|
|
210
214
|
WhatsAppBusinessAccountLinkDate = Shapes::TimestampShape.new(name: 'WhatsAppBusinessAccountLinkDate')
|
|
211
215
|
WhatsAppBusinessAccountMarketingMessagesOnboardingStatus = Shapes::StringShape.new(name: 'WhatsAppBusinessAccountMarketingMessagesOnboardingStatus')
|
|
212
216
|
WhatsAppBusinessAccountName = Shapes::StringShape.new(name: 'WhatsAppBusinessAccountName')
|
|
217
|
+
WhatsAppConversionEventBlob = Shapes::BlobShape.new(name: 'WhatsAppConversionEventBlob')
|
|
218
|
+
WhatsAppDatasetId = Shapes::StringShape.new(name: 'WhatsAppDatasetId')
|
|
213
219
|
WhatsAppDisplayPhoneNumber = Shapes::StringShape.new(name: 'WhatsAppDisplayPhoneNumber')
|
|
214
220
|
WhatsAppMediaId = Shapes::StringShape.new(name: 'WhatsAppMediaId')
|
|
215
221
|
WhatsAppMessageBlob = Shapes::BlobShape.new(name: 'WhatsAppMessageBlob')
|
|
@@ -243,6 +249,12 @@ module Aws::SocialMessaging
|
|
|
243
249
|
AssociateWhatsAppBusinessAccountOutput.add_member(:linked_whats_app_business_account_id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, location_name: "linkedWhatsAppBusinessAccountId"))
|
|
244
250
|
AssociateWhatsAppBusinessAccountOutput.struct_class = Types::AssociateWhatsAppBusinessAccountOutput
|
|
245
251
|
|
|
252
|
+
CreateWhatsAppDatasetInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
|
|
253
|
+
CreateWhatsAppDatasetInput.struct_class = Types::CreateWhatsAppDatasetInput
|
|
254
|
+
|
|
255
|
+
CreateWhatsAppDatasetOutput.add_member(:dataset_id, Shapes::ShapeRef.new(shape: WhatsAppDatasetId, required: true, location_name: "datasetId"))
|
|
256
|
+
CreateWhatsAppDatasetOutput.struct_class = Types::CreateWhatsAppDatasetOutput
|
|
257
|
+
|
|
246
258
|
CreateWhatsAppFlowInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
|
|
247
259
|
CreateWhatsAppFlowInput.add_member(:flow_name, Shapes::ShapeRef.new(shape: MetaFlowName, required: true, location_name: "flowName"))
|
|
248
260
|
CreateWhatsAppFlowInput.add_member(:categories, Shapes::ShapeRef.new(shape: MetaFlowCategoryList, required: true, location_name: "categories"))
|
|
@@ -425,6 +437,7 @@ module Aws::SocialMessaging
|
|
|
425
437
|
LinkedWhatsAppBusinessAccount.add_member(:waba_name, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountName, required: true, location_name: "wabaName"))
|
|
426
438
|
LinkedWhatsAppBusinessAccount.add_member(:event_destinations, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountEventDestinations, required: true, location_name: "eventDestinations"))
|
|
427
439
|
LinkedWhatsAppBusinessAccount.add_member(:marketing_messages_onboarding_status, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountMarketingMessagesOnboardingStatus, location_name: "marketingMessagesOnboardingStatus"))
|
|
440
|
+
LinkedWhatsAppBusinessAccount.add_member(:dataset_id, Shapes::ShapeRef.new(shape: WhatsAppDatasetId, location_name: "datasetId"))
|
|
428
441
|
LinkedWhatsAppBusinessAccount.add_member(:phone_numbers, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberSummaryList, required: true, location_name: "phoneNumbers"))
|
|
429
442
|
LinkedWhatsAppBusinessAccount.struct_class = Types::LinkedWhatsAppBusinessAccount
|
|
430
443
|
|
|
@@ -442,6 +455,7 @@ module Aws::SocialMessaging
|
|
|
442
455
|
LinkedWhatsAppBusinessAccountSummary.add_member(:waba_name, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountName, required: true, location_name: "wabaName"))
|
|
443
456
|
LinkedWhatsAppBusinessAccountSummary.add_member(:event_destinations, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountEventDestinations, required: true, location_name: "eventDestinations"))
|
|
444
457
|
LinkedWhatsAppBusinessAccountSummary.add_member(:marketing_messages_onboarding_status, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountMarketingMessagesOnboardingStatus, location_name: "marketingMessagesOnboardingStatus"))
|
|
458
|
+
LinkedWhatsAppBusinessAccountSummary.add_member(:dataset_id, Shapes::ShapeRef.new(shape: WhatsAppDatasetId, location_name: "datasetId"))
|
|
445
459
|
LinkedWhatsAppBusinessAccountSummary.struct_class = Types::LinkedWhatsAppBusinessAccountSummary
|
|
446
460
|
|
|
447
461
|
LinkedWhatsAppBusinessAccountSummaryList.member = Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountSummary)
|
|
@@ -609,6 +623,14 @@ module Aws::SocialMessaging
|
|
|
609
623
|
S3PresignedUrl.add_member(:headers, Shapes::ShapeRef.new(shape: Headers, required: true, location_name: "headers"))
|
|
610
624
|
S3PresignedUrl.struct_class = Types::S3PresignedUrl
|
|
611
625
|
|
|
626
|
+
SendWhatsAppConversionEventInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
|
|
627
|
+
SendWhatsAppConversionEventInput.add_member(:dataset_id, Shapes::ShapeRef.new(shape: WhatsAppDatasetId, required: true, location_name: "datasetId"))
|
|
628
|
+
SendWhatsAppConversionEventInput.add_member(:event_data, Shapes::ShapeRef.new(shape: WhatsAppConversionEventBlob, required: true, location_name: "eventData"))
|
|
629
|
+
SendWhatsAppConversionEventInput.struct_class = Types::SendWhatsAppConversionEventInput
|
|
630
|
+
|
|
631
|
+
SendWhatsAppConversionEventOutput.add_member(:request_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "requestId"))
|
|
632
|
+
SendWhatsAppConversionEventOutput.struct_class = Types::SendWhatsAppConversionEventOutput
|
|
633
|
+
|
|
612
634
|
SendWhatsAppMessageInput.add_member(:origination_phone_number_id, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberId, required: true, location_name: "originationPhoneNumberId"))
|
|
613
635
|
SendWhatsAppMessageInput.add_member(:message, Shapes::ShapeRef.new(shape: WhatsAppMessageBlob, required: true, location_name: "message"))
|
|
614
636
|
SendWhatsAppMessageInput.add_member(:meta_api_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "metaApiVersion"))
|
|
@@ -780,6 +802,22 @@ module Aws::SocialMessaging
|
|
|
780
802
|
o.errors << Shapes::ShapeRef.new(shape: DependencyException)
|
|
781
803
|
end)
|
|
782
804
|
|
|
805
|
+
api.add_operation(:create_whats_app_dataset, Seahorse::Model::Operation.new.tap do |o|
|
|
806
|
+
o.name = "CreateWhatsAppDataset"
|
|
807
|
+
o.http_method = "POST"
|
|
808
|
+
o.http_request_uri = "/v1/whatsapp/waba/dataset"
|
|
809
|
+
o.input = Shapes::ShapeRef.new(shape: CreateWhatsAppDatasetInput)
|
|
810
|
+
o.output = Shapes::ShapeRef.new(shape: CreateWhatsAppDatasetOutput)
|
|
811
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
812
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
813
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
814
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
|
|
815
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedByMetaException)
|
|
816
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
|
|
817
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
818
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyException)
|
|
819
|
+
end)
|
|
820
|
+
|
|
783
821
|
api.add_operation(:create_whats_app_flow, Seahorse::Model::Operation.new.tap do |o|
|
|
784
822
|
o.name = "CreateWhatsAppFlow"
|
|
785
823
|
o.http_method = "POST"
|
|
@@ -1182,6 +1220,22 @@ module Aws::SocialMessaging
|
|
|
1182
1220
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
1183
1221
|
end)
|
|
1184
1222
|
|
|
1223
|
+
api.add_operation(:send_whats_app_conversion_event, Seahorse::Model::Operation.new.tap do |o|
|
|
1224
|
+
o.name = "SendWhatsAppConversionEvent"
|
|
1225
|
+
o.http_method = "POST"
|
|
1226
|
+
o.http_request_uri = "/v1/whatsapp/waba/dataset/events"
|
|
1227
|
+
o.input = Shapes::ShapeRef.new(shape: SendWhatsAppConversionEventInput)
|
|
1228
|
+
o.output = Shapes::ShapeRef.new(shape: SendWhatsAppConversionEventOutput)
|
|
1229
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1230
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1231
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
|
|
1232
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1233
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
|
|
1234
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedByMetaException)
|
|
1235
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
1236
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyException)
|
|
1237
|
+
end)
|
|
1238
|
+
|
|
1185
1239
|
api.add_operation(:send_whats_app_message, Seahorse::Model::Operation.new.tap do |o|
|
|
1186
1240
|
o.name = "SendWhatsAppMessage"
|
|
1187
1241
|
o.http_method = "POST"
|
|
@@ -77,6 +77,31 @@ module Aws::SocialMessaging
|
|
|
77
77
|
include Aws::Structure
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
+
# @!attribute [rw] id
|
|
81
|
+
# The ID of the WhatsApp Business Account to create a dataset for,
|
|
82
|
+
# formatted as `waba-01234567890123456789012345678901`.
|
|
83
|
+
# @return [String]
|
|
84
|
+
#
|
|
85
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/CreateWhatsAppDatasetInput AWS API Documentation
|
|
86
|
+
#
|
|
87
|
+
class CreateWhatsAppDatasetInput < Struct.new(
|
|
88
|
+
:id)
|
|
89
|
+
SENSITIVE = []
|
|
90
|
+
include Aws::Structure
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# @!attribute [rw] dataset_id
|
|
94
|
+
# The Meta-generated dataset ID, a numeric string of 10 to 20 digits.
|
|
95
|
+
# @return [String]
|
|
96
|
+
#
|
|
97
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/CreateWhatsAppDatasetOutput AWS API Documentation
|
|
98
|
+
#
|
|
99
|
+
class CreateWhatsAppDatasetOutput < Struct.new(
|
|
100
|
+
:dataset_id)
|
|
101
|
+
SENSITIVE = []
|
|
102
|
+
include Aws::Structure
|
|
103
|
+
end
|
|
104
|
+
|
|
80
105
|
# @!attribute [rw] id
|
|
81
106
|
# The ID of the WhatsApp Business Account to associate with this Flow.
|
|
82
107
|
# @return [String]
|
|
@@ -897,6 +922,13 @@ module Aws::SocialMessaging
|
|
|
897
922
|
# Account is onboarded for Meta's Marketing Messages API.
|
|
898
923
|
# @return [String]
|
|
899
924
|
#
|
|
925
|
+
# @!attribute [rw] dataset_id
|
|
926
|
+
# The Meta Conversions API dataset ID associated with this WhatsApp
|
|
927
|
+
# Business Account. This value is a numeric string of 10 to 20 digits.
|
|
928
|
+
# This field is not present when no dataset has been created for this
|
|
929
|
+
# account.
|
|
930
|
+
# @return [String]
|
|
931
|
+
#
|
|
900
932
|
# @!attribute [rw] phone_numbers
|
|
901
933
|
# The phone numbers associated with the Linked WhatsApp Business
|
|
902
934
|
# Account.
|
|
@@ -913,6 +945,7 @@ module Aws::SocialMessaging
|
|
|
913
945
|
:waba_name,
|
|
914
946
|
:event_destinations,
|
|
915
947
|
:marketing_messages_onboarding_status,
|
|
948
|
+
:dataset_id,
|
|
916
949
|
:phone_numbers)
|
|
917
950
|
SENSITIVE = []
|
|
918
951
|
include Aws::Structure
|
|
@@ -985,6 +1018,13 @@ module Aws::SocialMessaging
|
|
|
985
1018
|
# Account is onboarded for Meta's Marketing Messages API.
|
|
986
1019
|
# @return [String]
|
|
987
1020
|
#
|
|
1021
|
+
# @!attribute [rw] dataset_id
|
|
1022
|
+
# The Meta Conversions API dataset ID associated with this WhatsApp
|
|
1023
|
+
# Business Account. This value is a numeric string of 10 to 20 digits.
|
|
1024
|
+
# This field is not present when no dataset has been created for this
|
|
1025
|
+
# account.
|
|
1026
|
+
# @return [String]
|
|
1027
|
+
#
|
|
988
1028
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/LinkedWhatsAppBusinessAccountSummary AWS API Documentation
|
|
989
1029
|
#
|
|
990
1030
|
class LinkedWhatsAppBusinessAccountSummary < Struct.new(
|
|
@@ -995,7 +1035,8 @@ module Aws::SocialMessaging
|
|
|
995
1035
|
:link_date,
|
|
996
1036
|
:waba_name,
|
|
997
1037
|
:event_destinations,
|
|
998
|
-
:marketing_messages_onboarding_status
|
|
1038
|
+
:marketing_messages_onboarding_status,
|
|
1039
|
+
:dataset_id)
|
|
999
1040
|
SENSITIVE = []
|
|
1000
1041
|
include Aws::Structure
|
|
1001
1042
|
end
|
|
@@ -1695,6 +1736,46 @@ module Aws::SocialMessaging
|
|
|
1695
1736
|
include Aws::Structure
|
|
1696
1737
|
end
|
|
1697
1738
|
|
|
1739
|
+
# @!attribute [rw] id
|
|
1740
|
+
# The ID of the WhatsApp Business Account associated with the dataset,
|
|
1741
|
+
# formatted as `waba-01234567890123456789012345678901`.
|
|
1742
|
+
# @return [String]
|
|
1743
|
+
#
|
|
1744
|
+
# @!attribute [rw] dataset_id
|
|
1745
|
+
# The Meta-generated dataset ID to send the event to.
|
|
1746
|
+
# @return [String]
|
|
1747
|
+
#
|
|
1748
|
+
# @!attribute [rw] event_data
|
|
1749
|
+
# The raw Meta Conversions API event payload as a JSON blob. See
|
|
1750
|
+
# [Meta's server event parameters][1] for the supported format.
|
|
1751
|
+
#
|
|
1752
|
+
#
|
|
1753
|
+
#
|
|
1754
|
+
# [1]: https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event
|
|
1755
|
+
# @return [String]
|
|
1756
|
+
#
|
|
1757
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/SendWhatsAppConversionEventInput AWS API Documentation
|
|
1758
|
+
#
|
|
1759
|
+
class SendWhatsAppConversionEventInput < Struct.new(
|
|
1760
|
+
:id,
|
|
1761
|
+
:dataset_id,
|
|
1762
|
+
:event_data)
|
|
1763
|
+
SENSITIVE = [:event_data]
|
|
1764
|
+
include Aws::Structure
|
|
1765
|
+
end
|
|
1766
|
+
|
|
1767
|
+
# @!attribute [rw] request_id
|
|
1768
|
+
# The unique identifier for the conversion event request.
|
|
1769
|
+
# @return [String]
|
|
1770
|
+
#
|
|
1771
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/SendWhatsAppConversionEventOutput AWS API Documentation
|
|
1772
|
+
#
|
|
1773
|
+
class SendWhatsAppConversionEventOutput < Struct.new(
|
|
1774
|
+
:request_id)
|
|
1775
|
+
SENSITIVE = []
|
|
1776
|
+
include Aws::Structure
|
|
1777
|
+
end
|
|
1778
|
+
|
|
1698
1779
|
# @!attribute [rw] origination_phone_number_id
|
|
1699
1780
|
# The ID of the phone number used to send the WhatsApp message. If you
|
|
1700
1781
|
# are sending a media file only the `originationPhoneNumberId` used to
|
data/sig/client.rbs
CHANGED
|
@@ -125,6 +125,16 @@ module Aws
|
|
|
125
125
|
) -> _AssociateWhatsAppBusinessAccountResponseSuccess
|
|
126
126
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateWhatsAppBusinessAccountResponseSuccess
|
|
127
127
|
|
|
128
|
+
interface _CreateWhatsAppDatasetResponseSuccess
|
|
129
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWhatsAppDatasetOutput]
|
|
130
|
+
def dataset_id: () -> ::String
|
|
131
|
+
end
|
|
132
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SocialMessaging/Client.html#create_whats_app_dataset-instance_method
|
|
133
|
+
def create_whats_app_dataset: (
|
|
134
|
+
id: ::String
|
|
135
|
+
) -> _CreateWhatsAppDatasetResponseSuccess
|
|
136
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWhatsAppDatasetResponseSuccess
|
|
137
|
+
|
|
128
138
|
interface _CreateWhatsAppFlowResponseSuccess
|
|
129
139
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWhatsAppFlowOutput]
|
|
130
140
|
def flow_id: () -> ::String
|
|
@@ -467,6 +477,18 @@ module Aws
|
|
|
467
477
|
) -> _PutWhatsAppBusinessAccountEventDestinationsResponseSuccess
|
|
468
478
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutWhatsAppBusinessAccountEventDestinationsResponseSuccess
|
|
469
479
|
|
|
480
|
+
interface _SendWhatsAppConversionEventResponseSuccess
|
|
481
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SendWhatsAppConversionEventOutput]
|
|
482
|
+
def request_id: () -> ::String
|
|
483
|
+
end
|
|
484
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SocialMessaging/Client.html#send_whats_app_conversion_event-instance_method
|
|
485
|
+
def send_whats_app_conversion_event: (
|
|
486
|
+
id: ::String,
|
|
487
|
+
dataset_id: ::String,
|
|
488
|
+
event_data: ::String
|
|
489
|
+
) -> _SendWhatsAppConversionEventResponseSuccess
|
|
490
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendWhatsAppConversionEventResponseSuccess
|
|
491
|
+
|
|
470
492
|
interface _SendWhatsAppMessageResponseSuccess
|
|
471
493
|
include ::Seahorse::Client::_ResponseSuccess[Types::SendWhatsAppMessageOutput]
|
|
472
494
|
def message_id: () -> ::String
|
data/sig/types.rbs
CHANGED
|
@@ -31,6 +31,16 @@ module Aws::SocialMessaging
|
|
|
31
31
|
SENSITIVE: []
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
+
class CreateWhatsAppDatasetInput
|
|
35
|
+
attr_accessor id: ::String
|
|
36
|
+
SENSITIVE: []
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
class CreateWhatsAppDatasetOutput
|
|
40
|
+
attr_accessor dataset_id: ::String
|
|
41
|
+
SENSITIVE: []
|
|
42
|
+
end
|
|
43
|
+
|
|
34
44
|
class CreateWhatsAppFlowInput
|
|
35
45
|
attr_accessor id: ::String
|
|
36
46
|
attr_accessor flow_name: ::String
|
|
@@ -275,6 +285,7 @@ module Aws::SocialMessaging
|
|
|
275
285
|
attr_accessor waba_name: ::String
|
|
276
286
|
attr_accessor event_destinations: ::Array[Types::WhatsAppBusinessAccountEventDestination]
|
|
277
287
|
attr_accessor marketing_messages_onboarding_status: ::String
|
|
288
|
+
attr_accessor dataset_id: ::String
|
|
278
289
|
attr_accessor phone_numbers: ::Array[Types::WhatsAppPhoneNumberSummary]
|
|
279
290
|
SENSITIVE: []
|
|
280
291
|
end
|
|
@@ -296,6 +307,7 @@ module Aws::SocialMessaging
|
|
|
296
307
|
attr_accessor waba_name: ::String
|
|
297
308
|
attr_accessor event_destinations: ::Array[Types::WhatsAppBusinessAccountEventDestination]
|
|
298
309
|
attr_accessor marketing_messages_onboarding_status: ::String
|
|
310
|
+
attr_accessor dataset_id: ::String
|
|
299
311
|
SENSITIVE: []
|
|
300
312
|
end
|
|
301
313
|
|
|
@@ -499,6 +511,18 @@ module Aws::SocialMessaging
|
|
|
499
511
|
SENSITIVE: []
|
|
500
512
|
end
|
|
501
513
|
|
|
514
|
+
class SendWhatsAppConversionEventInput
|
|
515
|
+
attr_accessor id: ::String
|
|
516
|
+
attr_accessor dataset_id: ::String
|
|
517
|
+
attr_accessor event_data: ::String
|
|
518
|
+
SENSITIVE: [:event_data]
|
|
519
|
+
end
|
|
520
|
+
|
|
521
|
+
class SendWhatsAppConversionEventOutput
|
|
522
|
+
attr_accessor request_id: ::String
|
|
523
|
+
SENSITIVE: []
|
|
524
|
+
end
|
|
525
|
+
|
|
502
526
|
class SendWhatsAppMessageInput
|
|
503
527
|
attr_accessor origination_phone_number_id: ::String
|
|
504
528
|
attr_accessor message: ::String
|