aws-sdk-socialmessaging 1.28.0 → 1.30.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-socialmessaging/client.rb +167 -1
- data/lib/aws-sdk-socialmessaging/client_api.rb +110 -0
- data/lib/aws-sdk-socialmessaging/types.rb +171 -3
- data/lib/aws-sdk-socialmessaging.rb +1 -1
- data/sig/client.rbs +49 -2
- data/sig/types.rbs +48 -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: 1c176d344b1dd1fcba93f62a459477014be6438536934b1bccb7d182db9b1e6a
|
|
4
|
+
data.tar.gz: 9d03f356f94e4d5fcdfe642fba956e0e0da8e1980a4fe938db7762d2e6df5821
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d25d604a97f3397b9057c76c130fdd7bb32881127625ba72200eb054d47ac1565d2bfcd14399d30c187e06fe14fed2a600dc99c8f6ba0de29e68b4caedc592b
|
|
7
|
+
data.tar.gz: c56f1b3adbb1e1cd9b257a4f3da136414be8d8468095b8cd9fc626c93435a8184a7092985798fc02ca57f4bfa7f36c58d76a38e0519a0c89f61a91439453f9c7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.30.0 (2026-09-03)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adding support for WhatsApp Flows with endpoints.
|
|
8
|
+
|
|
9
|
+
1.29.0 (2026-08-06)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Add support for WhatsApp Conversions APIs.
|
|
13
|
+
|
|
4
14
|
1.28.0 (2026-07-09)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.30.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
|
|
@@ -589,6 +619,14 @@ module Aws::SocialMessaging
|
|
|
589
619
|
# The ID of an existing Flow within the same WhatsApp Business Account
|
|
590
620
|
# to clone.
|
|
591
621
|
#
|
|
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.
|
|
629
|
+
#
|
|
592
630
|
# @return [Types::CreateWhatsAppFlowOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
593
631
|
#
|
|
594
632
|
# * {Types::CreateWhatsAppFlowOutput#flow_id #flow_id} => String
|
|
@@ -603,6 +641,7 @@ module Aws::SocialMessaging
|
|
|
603
641
|
# flow_json: "data",
|
|
604
642
|
# publish: false,
|
|
605
643
|
# clone_flow_id: "MetaFlowId",
|
|
644
|
+
# endpoint_uri: "MetaFlowEndpointUri",
|
|
606
645
|
# })
|
|
607
646
|
#
|
|
608
647
|
# @example Response structure
|
|
@@ -964,6 +1003,7 @@ module Aws::SocialMessaging
|
|
|
964
1003
|
# resp.account.event_destinations[0].event_destination_arn #=> String
|
|
965
1004
|
# resp.account.event_destinations[0].role_arn #=> String
|
|
966
1005
|
# resp.account.marketing_messages_onboarding_status #=> String
|
|
1006
|
+
# resp.account.dataset_id #=> String
|
|
967
1007
|
# resp.account.phone_numbers #=> Array
|
|
968
1008
|
# resp.account.phone_numbers[0].arn #=> String
|
|
969
1009
|
# resp.account.phone_numbers[0].phone_number #=> String
|
|
@@ -1028,6 +1068,38 @@ module Aws::SocialMessaging
|
|
|
1028
1068
|
req.send_request(options)
|
|
1029
1069
|
end
|
|
1030
1070
|
|
|
1071
|
+
# Retrieves the business public key for a phone number and its signature
|
|
1072
|
+
# status.
|
|
1073
|
+
#
|
|
1074
|
+
# @option params [required, String] :origination_phone_number_id
|
|
1075
|
+
# The unique identifier of the phone number whose business public key to
|
|
1076
|
+
# retrieve.
|
|
1077
|
+
#
|
|
1078
|
+
# @return [Types::GetWhatsAppBusinessPublicKeyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1079
|
+
#
|
|
1080
|
+
# * {Types::GetWhatsAppBusinessPublicKeyOutput#business_public_key #business_public_key} => String
|
|
1081
|
+
# * {Types::GetWhatsAppBusinessPublicKeyOutput#business_public_key_signature_status #business_public_key_signature_status} => String
|
|
1082
|
+
#
|
|
1083
|
+
# @example Request syntax with placeholder values
|
|
1084
|
+
#
|
|
1085
|
+
# resp = client.get_whats_app_business_public_key({
|
|
1086
|
+
# origination_phone_number_id: "WhatsAppPhoneNumberId", # required
|
|
1087
|
+
# })
|
|
1088
|
+
#
|
|
1089
|
+
# @example Response structure
|
|
1090
|
+
#
|
|
1091
|
+
# resp.business_public_key #=> String
|
|
1092
|
+
# resp.business_public_key_signature_status #=> String
|
|
1093
|
+
#
|
|
1094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/GetWhatsAppBusinessPublicKey AWS API Documentation
|
|
1095
|
+
#
|
|
1096
|
+
# @overload get_whats_app_business_public_key(params = {})
|
|
1097
|
+
# @param [Hash] params ({})
|
|
1098
|
+
def get_whats_app_business_public_key(params = {}, options = {})
|
|
1099
|
+
req = build_request(:get_whats_app_business_public_key, params)
|
|
1100
|
+
req.send_request(options)
|
|
1101
|
+
end
|
|
1102
|
+
|
|
1031
1103
|
# Retrieves the metadata and status of a WhatsApp Flow, including
|
|
1032
1104
|
# validation errors, preview information, and health status.
|
|
1033
1105
|
#
|
|
@@ -1284,6 +1356,7 @@ module Aws::SocialMessaging
|
|
|
1284
1356
|
# resp.linked_accounts[0].event_destinations[0].event_destination_arn #=> String
|
|
1285
1357
|
# resp.linked_accounts[0].event_destinations[0].role_arn #=> String
|
|
1286
1358
|
# resp.linked_accounts[0].marketing_messages_onboarding_status #=> String
|
|
1359
|
+
# resp.linked_accounts[0].dataset_id #=> String
|
|
1287
1360
|
# resp.next_token #=> String
|
|
1288
1361
|
#
|
|
1289
1362
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/ListLinkedWhatsAppBusinessAccounts AWS API Documentation
|
|
@@ -1672,6 +1745,82 @@ module Aws::SocialMessaging
|
|
|
1672
1745
|
req.send_request(options)
|
|
1673
1746
|
end
|
|
1674
1747
|
|
|
1748
|
+
# Sets the business public key used to encrypt the data exchanged with
|
|
1749
|
+
# the endpoint of a data exchange Flow.
|
|
1750
|
+
#
|
|
1751
|
+
# @option params [required, String] :origination_phone_number_id
|
|
1752
|
+
# The unique identifier of the phone number to associate with the
|
|
1753
|
+
# business public key.
|
|
1754
|
+
#
|
|
1755
|
+
# @option params [String] :business_public_key
|
|
1756
|
+
# PEM-encoded RSA public key. Mutually exclusive with kmsKeyArn.
|
|
1757
|
+
#
|
|
1758
|
+
# @option params [String] :kms_key_arn
|
|
1759
|
+
# Customer-managed KMS asymmetric RSA key ARN. Mutually exclusive with
|
|
1760
|
+
# businessPublicKey.
|
|
1761
|
+
#
|
|
1762
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1763
|
+
#
|
|
1764
|
+
# @example Request syntax with placeholder values
|
|
1765
|
+
#
|
|
1766
|
+
# resp = client.put_whats_app_business_public_key({
|
|
1767
|
+
# origination_phone_number_id: "WhatsAppPhoneNumberId", # required
|
|
1768
|
+
# business_public_key: "BusinessPublicKeyPem",
|
|
1769
|
+
# kms_key_arn: "KmsKeyArn",
|
|
1770
|
+
# })
|
|
1771
|
+
#
|
|
1772
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/PutWhatsAppBusinessPublicKey AWS API Documentation
|
|
1773
|
+
#
|
|
1774
|
+
# @overload put_whats_app_business_public_key(params = {})
|
|
1775
|
+
# @param [Hash] params ({})
|
|
1776
|
+
def put_whats_app_business_public_key(params = {}, options = {})
|
|
1777
|
+
req = build_request(:put_whats_app_business_public_key, params)
|
|
1778
|
+
req.send_request(options)
|
|
1779
|
+
end
|
|
1780
|
+
|
|
1781
|
+
# Sends a conversion event to Meta's Conversions API for the specified
|
|
1782
|
+
# WhatsApp Business Account dataset.
|
|
1783
|
+
#
|
|
1784
|
+
# @option params [required, String] :id
|
|
1785
|
+
# The ID of the WhatsApp Business Account associated with the dataset,
|
|
1786
|
+
# formatted as `waba-01234567890123456789012345678901`.
|
|
1787
|
+
#
|
|
1788
|
+
# @option params [required, String] :dataset_id
|
|
1789
|
+
# The Meta-generated dataset ID to send the event to.
|
|
1790
|
+
#
|
|
1791
|
+
# @option params [required, String, StringIO, File] :event_data
|
|
1792
|
+
# The raw Meta Conversions API event payload as a JSON blob. See
|
|
1793
|
+
# [Meta's server event parameters][1] for the supported format.
|
|
1794
|
+
#
|
|
1795
|
+
#
|
|
1796
|
+
#
|
|
1797
|
+
# [1]: https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event
|
|
1798
|
+
#
|
|
1799
|
+
# @return [Types::SendWhatsAppConversionEventOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1800
|
+
#
|
|
1801
|
+
# * {Types::SendWhatsAppConversionEventOutput#request_id #request_id} => String
|
|
1802
|
+
#
|
|
1803
|
+
# @example Request syntax with placeholder values
|
|
1804
|
+
#
|
|
1805
|
+
# resp = client.send_whats_app_conversion_event({
|
|
1806
|
+
# id: "LinkedWhatsAppBusinessAccountId", # required
|
|
1807
|
+
# dataset_id: "WhatsAppDatasetId", # required
|
|
1808
|
+
# event_data: "data", # required
|
|
1809
|
+
# })
|
|
1810
|
+
#
|
|
1811
|
+
# @example Response structure
|
|
1812
|
+
#
|
|
1813
|
+
# resp.request_id #=> String
|
|
1814
|
+
#
|
|
1815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/SendWhatsAppConversionEvent AWS API Documentation
|
|
1816
|
+
#
|
|
1817
|
+
# @overload send_whats_app_conversion_event(params = {})
|
|
1818
|
+
# @param [Hash] params ({})
|
|
1819
|
+
def send_whats_app_conversion_event(params = {}, options = {})
|
|
1820
|
+
req = build_request(:send_whats_app_conversion_event, params)
|
|
1821
|
+
req.send_request(options)
|
|
1822
|
+
end
|
|
1823
|
+
|
|
1675
1824
|
# Send a WhatsApp message. For examples of sending a message using the
|
|
1676
1825
|
# Amazon Web Services CLI, see [Sending messages][1] in the <i>
|
|
1677
1826
|
# <i>Amazon Web Services End User Messaging Social User Guide</i> </i>.
|
|
@@ -1826,6 +1975,21 @@ module Aws::SocialMessaging
|
|
|
1826
1975
|
# @option params [Array<String>] :categories
|
|
1827
1976
|
# The updated categories for the Flow.
|
|
1828
1977
|
#
|
|
1978
|
+
# @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.
|
|
1982
|
+
#
|
|
1983
|
+
# @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.)
|
|
1992
|
+
#
|
|
1829
1993
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1830
1994
|
#
|
|
1831
1995
|
# @example Request syntax with placeholder values
|
|
@@ -1835,6 +1999,8 @@ module Aws::SocialMessaging
|
|
|
1835
1999
|
# flow_id: "MetaFlowId", # required
|
|
1836
2000
|
# flow_name: "MetaFlowName",
|
|
1837
2001
|
# categories: ["SIGN_UP"], # accepts SIGN_UP, SIGN_IN, APPOINTMENT_BOOKING, LEAD_GENERATION, SHOPPING, CONTACT_US, CUSTOMER_SUPPORT, SURVEY, OTHER
|
|
2002
|
+
# endpoint_uri: "MetaFlowEndpointUri",
|
|
2003
|
+
# meta_app_id: "MetaFlowApplicationId",
|
|
1838
2004
|
# })
|
|
1839
2005
|
#
|
|
1840
2006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/UpdateWhatsAppFlow AWS API Documentation
|
|
@@ -1960,7 +2126,7 @@ module Aws::SocialMessaging
|
|
|
1960
2126
|
tracer: tracer
|
|
1961
2127
|
)
|
|
1962
2128
|
context[:gem_name] = 'aws-sdk-socialmessaging'
|
|
1963
|
-
context[:gem_version] = '1.
|
|
2129
|
+
context[:gem_version] = '1.30.0'
|
|
1964
2130
|
Seahorse::Client::Request.new(handlers, context)
|
|
1965
2131
|
end
|
|
1966
2132
|
|
|
@@ -25,8 +25,12 @@ module Aws::SocialMessaging
|
|
|
25
25
|
AssociateWhatsAppBusinessAccountInput = Shapes::StructureShape.new(name: 'AssociateWhatsAppBusinessAccountInput')
|
|
26
26
|
AssociateWhatsAppBusinessAccountOutput = Shapes::StructureShape.new(name: 'AssociateWhatsAppBusinessAccountOutput')
|
|
27
27
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
28
|
+
BusinessPublicKeyPem = Shapes::StringShape.new(name: 'BusinessPublicKeyPem')
|
|
29
|
+
BusinessPublicKeySignatureStatus = Shapes::StringShape.new(name: 'BusinessPublicKeySignatureStatus')
|
|
28
30
|
ButtonType = Shapes::StringShape.new(name: 'ButtonType')
|
|
29
31
|
CodeExpirationMinutes = Shapes::IntegerShape.new(name: 'CodeExpirationMinutes')
|
|
32
|
+
CreateWhatsAppDatasetInput = Shapes::StructureShape.new(name: 'CreateWhatsAppDatasetInput')
|
|
33
|
+
CreateWhatsAppDatasetOutput = Shapes::StructureShape.new(name: 'CreateWhatsAppDatasetOutput')
|
|
30
34
|
CreateWhatsAppFlowInput = Shapes::StructureShape.new(name: 'CreateWhatsAppFlowInput')
|
|
31
35
|
CreateWhatsAppFlowOutput = Shapes::StructureShape.new(name: 'CreateWhatsAppFlowOutput')
|
|
32
36
|
CreateWhatsAppMessageTemplateFromLibraryInput = Shapes::StructureShape.new(name: 'CreateWhatsAppMessageTemplateFromLibraryInput')
|
|
@@ -56,6 +60,8 @@ module Aws::SocialMessaging
|
|
|
56
60
|
GetLinkedWhatsAppBusinessAccountOutput = Shapes::StructureShape.new(name: 'GetLinkedWhatsAppBusinessAccountOutput')
|
|
57
61
|
GetLinkedWhatsAppBusinessAccountPhoneNumberInput = Shapes::StructureShape.new(name: 'GetLinkedWhatsAppBusinessAccountPhoneNumberInput')
|
|
58
62
|
GetLinkedWhatsAppBusinessAccountPhoneNumberOutput = Shapes::StructureShape.new(name: 'GetLinkedWhatsAppBusinessAccountPhoneNumberOutput')
|
|
63
|
+
GetWhatsAppBusinessPublicKeyInput = Shapes::StructureShape.new(name: 'GetWhatsAppBusinessPublicKeyInput')
|
|
64
|
+
GetWhatsAppBusinessPublicKeyOutput = Shapes::StructureShape.new(name: 'GetWhatsAppBusinessPublicKeyOutput')
|
|
59
65
|
GetWhatsAppFlowInput = Shapes::StructureShape.new(name: 'GetWhatsAppFlowInput')
|
|
60
66
|
GetWhatsAppFlowOutput = Shapes::StructureShape.new(name: 'GetWhatsAppFlowOutput')
|
|
61
67
|
GetWhatsAppFlowPreviewInput = Shapes::StructureShape.new(name: 'GetWhatsAppFlowPreviewInput')
|
|
@@ -69,6 +75,7 @@ module Aws::SocialMessaging
|
|
|
69
75
|
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
|
|
70
76
|
InvalidParametersException = Shapes::StructureShape.new(name: 'InvalidParametersException')
|
|
71
77
|
IsoCountryCode = Shapes::StringShape.new(name: 'IsoCountryCode')
|
|
78
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
|
72
79
|
LibraryTemplateBodyInputs = Shapes::StructureShape.new(name: 'LibraryTemplateBodyInputs')
|
|
73
80
|
LibraryTemplateButtonInput = Shapes::StructureShape.new(name: 'LibraryTemplateButtonInput')
|
|
74
81
|
LibraryTemplateButtonList = Shapes::StructureShape.new(name: 'LibraryTemplateButtonList')
|
|
@@ -165,6 +172,8 @@ module Aws::SocialMessaging
|
|
|
165
172
|
PublishWhatsAppFlowOutput = Shapes::StructureShape.new(name: 'PublishWhatsAppFlowOutput')
|
|
166
173
|
PutWhatsAppBusinessAccountEventDestinationsInput = Shapes::StructureShape.new(name: 'PutWhatsAppBusinessAccountEventDestinationsInput')
|
|
167
174
|
PutWhatsAppBusinessAccountEventDestinationsOutput = Shapes::StructureShape.new(name: 'PutWhatsAppBusinessAccountEventDestinationsOutput')
|
|
175
|
+
PutWhatsAppBusinessPublicKeyInput = Shapes::StructureShape.new(name: 'PutWhatsAppBusinessPublicKeyInput')
|
|
176
|
+
PutWhatsAppBusinessPublicKeyOutput = Shapes::StructureShape.new(name: 'PutWhatsAppBusinessPublicKeyOutput')
|
|
168
177
|
RegistrationStatus = Shapes::StringShape.new(name: 'RegistrationStatus')
|
|
169
178
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
170
179
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
|
@@ -173,6 +182,8 @@ module Aws::SocialMessaging
|
|
|
173
182
|
S3FileKeyString = Shapes::StringShape.new(name: 'S3FileKeyString')
|
|
174
183
|
S3PresignedUrl = Shapes::StructureShape.new(name: 'S3PresignedUrl')
|
|
175
184
|
S3PresignedUrlUrlString = Shapes::StringShape.new(name: 'S3PresignedUrlUrlString')
|
|
185
|
+
SendWhatsAppConversionEventInput = Shapes::StructureShape.new(name: 'SendWhatsAppConversionEventInput')
|
|
186
|
+
SendWhatsAppConversionEventOutput = Shapes::StructureShape.new(name: 'SendWhatsAppConversionEventOutput')
|
|
176
187
|
SendWhatsAppMessageInput = Shapes::StructureShape.new(name: 'SendWhatsAppMessageInput')
|
|
177
188
|
SendWhatsAppMessageOutput = Shapes::StructureShape.new(name: 'SendWhatsAppMessageOutput')
|
|
178
189
|
String = Shapes::StringShape.new(name: 'String')
|
|
@@ -210,6 +221,8 @@ module Aws::SocialMessaging
|
|
|
210
221
|
WhatsAppBusinessAccountLinkDate = Shapes::TimestampShape.new(name: 'WhatsAppBusinessAccountLinkDate')
|
|
211
222
|
WhatsAppBusinessAccountMarketingMessagesOnboardingStatus = Shapes::StringShape.new(name: 'WhatsAppBusinessAccountMarketingMessagesOnboardingStatus')
|
|
212
223
|
WhatsAppBusinessAccountName = Shapes::StringShape.new(name: 'WhatsAppBusinessAccountName')
|
|
224
|
+
WhatsAppConversionEventBlob = Shapes::BlobShape.new(name: 'WhatsAppConversionEventBlob')
|
|
225
|
+
WhatsAppDatasetId = Shapes::StringShape.new(name: 'WhatsAppDatasetId')
|
|
213
226
|
WhatsAppDisplayPhoneNumber = Shapes::StringShape.new(name: 'WhatsAppDisplayPhoneNumber')
|
|
214
227
|
WhatsAppMediaId = Shapes::StringShape.new(name: 'WhatsAppMediaId')
|
|
215
228
|
WhatsAppMessageBlob = Shapes::BlobShape.new(name: 'WhatsAppMessageBlob')
|
|
@@ -243,12 +256,19 @@ module Aws::SocialMessaging
|
|
|
243
256
|
AssociateWhatsAppBusinessAccountOutput.add_member(:linked_whats_app_business_account_id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, location_name: "linkedWhatsAppBusinessAccountId"))
|
|
244
257
|
AssociateWhatsAppBusinessAccountOutput.struct_class = Types::AssociateWhatsAppBusinessAccountOutput
|
|
245
258
|
|
|
259
|
+
CreateWhatsAppDatasetInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
|
|
260
|
+
CreateWhatsAppDatasetInput.struct_class = Types::CreateWhatsAppDatasetInput
|
|
261
|
+
|
|
262
|
+
CreateWhatsAppDatasetOutput.add_member(:dataset_id, Shapes::ShapeRef.new(shape: WhatsAppDatasetId, required: true, location_name: "datasetId"))
|
|
263
|
+
CreateWhatsAppDatasetOutput.struct_class = Types::CreateWhatsAppDatasetOutput
|
|
264
|
+
|
|
246
265
|
CreateWhatsAppFlowInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
|
|
247
266
|
CreateWhatsAppFlowInput.add_member(:flow_name, Shapes::ShapeRef.new(shape: MetaFlowName, required: true, location_name: "flowName"))
|
|
248
267
|
CreateWhatsAppFlowInput.add_member(:categories, Shapes::ShapeRef.new(shape: MetaFlowCategoryList, required: true, location_name: "categories"))
|
|
249
268
|
CreateWhatsAppFlowInput.add_member(:flow_json, Shapes::ShapeRef.new(shape: MetaFlowJsonBlob, location_name: "flowJson"))
|
|
250
269
|
CreateWhatsAppFlowInput.add_member(:publish, Shapes::ShapeRef.new(shape: Boolean, location_name: "publish"))
|
|
251
270
|
CreateWhatsAppFlowInput.add_member(:clone_flow_id, Shapes::ShapeRef.new(shape: MetaFlowId, location_name: "cloneFlowId"))
|
|
271
|
+
CreateWhatsAppFlowInput.add_member(:endpoint_uri, Shapes::ShapeRef.new(shape: MetaFlowEndpointUri, location_name: "endpointUri"))
|
|
252
272
|
CreateWhatsAppFlowInput.struct_class = Types::CreateWhatsAppFlowInput
|
|
253
273
|
|
|
254
274
|
CreateWhatsAppFlowOutput.add_member(:flow_id, Shapes::ShapeRef.new(shape: MetaFlowId, location_name: "flowId"))
|
|
@@ -331,6 +351,13 @@ module Aws::SocialMessaging
|
|
|
331
351
|
GetLinkedWhatsAppBusinessAccountPhoneNumberOutput.add_member(:linked_whats_app_business_account_id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, location_name: "linkedWhatsAppBusinessAccountId"))
|
|
332
352
|
GetLinkedWhatsAppBusinessAccountPhoneNumberOutput.struct_class = Types::GetLinkedWhatsAppBusinessAccountPhoneNumberOutput
|
|
333
353
|
|
|
354
|
+
GetWhatsAppBusinessPublicKeyInput.add_member(:origination_phone_number_id, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberId, required: true, location: "querystring", location_name: "originationPhoneNumberId"))
|
|
355
|
+
GetWhatsAppBusinessPublicKeyInput.struct_class = Types::GetWhatsAppBusinessPublicKeyInput
|
|
356
|
+
|
|
357
|
+
GetWhatsAppBusinessPublicKeyOutput.add_member(:business_public_key, Shapes::ShapeRef.new(shape: BusinessPublicKeyPem, location_name: "businessPublicKey"))
|
|
358
|
+
GetWhatsAppBusinessPublicKeyOutput.add_member(:business_public_key_signature_status, Shapes::ShapeRef.new(shape: BusinessPublicKeySignatureStatus, location_name: "businessPublicKeySignatureStatus"))
|
|
359
|
+
GetWhatsAppBusinessPublicKeyOutput.struct_class = Types::GetWhatsAppBusinessPublicKeyOutput
|
|
360
|
+
|
|
334
361
|
GetWhatsAppFlowInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location: "querystring", location_name: "id"))
|
|
335
362
|
GetWhatsAppFlowInput.add_member(:flow_id, Shapes::ShapeRef.new(shape: MetaFlowId, required: true, location: "querystring", location_name: "flowId"))
|
|
336
363
|
GetWhatsAppFlowInput.struct_class = Types::GetWhatsAppFlowInput
|
|
@@ -425,6 +452,7 @@ module Aws::SocialMessaging
|
|
|
425
452
|
LinkedWhatsAppBusinessAccount.add_member(:waba_name, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountName, required: true, location_name: "wabaName"))
|
|
426
453
|
LinkedWhatsAppBusinessAccount.add_member(:event_destinations, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountEventDestinations, required: true, location_name: "eventDestinations"))
|
|
427
454
|
LinkedWhatsAppBusinessAccount.add_member(:marketing_messages_onboarding_status, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountMarketingMessagesOnboardingStatus, location_name: "marketingMessagesOnboardingStatus"))
|
|
455
|
+
LinkedWhatsAppBusinessAccount.add_member(:dataset_id, Shapes::ShapeRef.new(shape: WhatsAppDatasetId, location_name: "datasetId"))
|
|
428
456
|
LinkedWhatsAppBusinessAccount.add_member(:phone_numbers, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberSummaryList, required: true, location_name: "phoneNumbers"))
|
|
429
457
|
LinkedWhatsAppBusinessAccount.struct_class = Types::LinkedWhatsAppBusinessAccount
|
|
430
458
|
|
|
@@ -442,6 +470,7 @@ module Aws::SocialMessaging
|
|
|
442
470
|
LinkedWhatsAppBusinessAccountSummary.add_member(:waba_name, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountName, required: true, location_name: "wabaName"))
|
|
443
471
|
LinkedWhatsAppBusinessAccountSummary.add_member(:event_destinations, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountEventDestinations, required: true, location_name: "eventDestinations"))
|
|
444
472
|
LinkedWhatsAppBusinessAccountSummary.add_member(:marketing_messages_onboarding_status, Shapes::ShapeRef.new(shape: WhatsAppBusinessAccountMarketingMessagesOnboardingStatus, location_name: "marketingMessagesOnboardingStatus"))
|
|
473
|
+
LinkedWhatsAppBusinessAccountSummary.add_member(:dataset_id, Shapes::ShapeRef.new(shape: WhatsAppDatasetId, location_name: "datasetId"))
|
|
445
474
|
LinkedWhatsAppBusinessAccountSummary.struct_class = Types::LinkedWhatsAppBusinessAccountSummary
|
|
446
475
|
|
|
447
476
|
LinkedWhatsAppBusinessAccountSummaryList.member = Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountSummary)
|
|
@@ -598,6 +627,13 @@ module Aws::SocialMessaging
|
|
|
598
627
|
|
|
599
628
|
PutWhatsAppBusinessAccountEventDestinationsOutput.struct_class = Types::PutWhatsAppBusinessAccountEventDestinationsOutput
|
|
600
629
|
|
|
630
|
+
PutWhatsAppBusinessPublicKeyInput.add_member(:origination_phone_number_id, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberId, required: true, location_name: "originationPhoneNumberId"))
|
|
631
|
+
PutWhatsAppBusinessPublicKeyInput.add_member(:business_public_key, Shapes::ShapeRef.new(shape: BusinessPublicKeyPem, location_name: "businessPublicKey"))
|
|
632
|
+
PutWhatsAppBusinessPublicKeyInput.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
|
633
|
+
PutWhatsAppBusinessPublicKeyInput.struct_class = Types::PutWhatsAppBusinessPublicKeyInput
|
|
634
|
+
|
|
635
|
+
PutWhatsAppBusinessPublicKeyOutput.struct_class = Types::PutWhatsAppBusinessPublicKeyOutput
|
|
636
|
+
|
|
601
637
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
602
638
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
603
639
|
|
|
@@ -609,6 +645,14 @@ module Aws::SocialMessaging
|
|
|
609
645
|
S3PresignedUrl.add_member(:headers, Shapes::ShapeRef.new(shape: Headers, required: true, location_name: "headers"))
|
|
610
646
|
S3PresignedUrl.struct_class = Types::S3PresignedUrl
|
|
611
647
|
|
|
648
|
+
SendWhatsAppConversionEventInput.add_member(:id, Shapes::ShapeRef.new(shape: LinkedWhatsAppBusinessAccountId, required: true, location_name: "id"))
|
|
649
|
+
SendWhatsAppConversionEventInput.add_member(:dataset_id, Shapes::ShapeRef.new(shape: WhatsAppDatasetId, required: true, location_name: "datasetId"))
|
|
650
|
+
SendWhatsAppConversionEventInput.add_member(:event_data, Shapes::ShapeRef.new(shape: WhatsAppConversionEventBlob, required: true, location_name: "eventData"))
|
|
651
|
+
SendWhatsAppConversionEventInput.struct_class = Types::SendWhatsAppConversionEventInput
|
|
652
|
+
|
|
653
|
+
SendWhatsAppConversionEventOutput.add_member(:request_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "requestId"))
|
|
654
|
+
SendWhatsAppConversionEventOutput.struct_class = Types::SendWhatsAppConversionEventOutput
|
|
655
|
+
|
|
612
656
|
SendWhatsAppMessageInput.add_member(:origination_phone_number_id, Shapes::ShapeRef.new(shape: WhatsAppPhoneNumberId, required: true, location_name: "originationPhoneNumberId"))
|
|
613
657
|
SendWhatsAppMessageInput.add_member(:message, Shapes::ShapeRef.new(shape: WhatsAppMessageBlob, required: true, location_name: "message"))
|
|
614
658
|
SendWhatsAppMessageInput.add_member(:meta_api_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "metaApiVersion"))
|
|
@@ -669,6 +713,8 @@ module Aws::SocialMessaging
|
|
|
669
713
|
UpdateWhatsAppFlowInput.add_member(:flow_id, Shapes::ShapeRef.new(shape: MetaFlowId, required: true, location_name: "flowId"))
|
|
670
714
|
UpdateWhatsAppFlowInput.add_member(:flow_name, Shapes::ShapeRef.new(shape: MetaFlowName, location_name: "flowName"))
|
|
671
715
|
UpdateWhatsAppFlowInput.add_member(:categories, Shapes::ShapeRef.new(shape: MetaFlowCategoryList, location_name: "categories"))
|
|
716
|
+
UpdateWhatsAppFlowInput.add_member(:endpoint_uri, Shapes::ShapeRef.new(shape: MetaFlowEndpointUri, location_name: "endpointUri"))
|
|
717
|
+
UpdateWhatsAppFlowInput.add_member(:meta_app_id, Shapes::ShapeRef.new(shape: MetaFlowApplicationId, location_name: "metaAppId"))
|
|
672
718
|
UpdateWhatsAppFlowInput.struct_class = Types::UpdateWhatsAppFlowInput
|
|
673
719
|
|
|
674
720
|
UpdateWhatsAppFlowOutput.struct_class = Types::UpdateWhatsAppFlowOutput
|
|
@@ -780,6 +826,22 @@ module Aws::SocialMessaging
|
|
|
780
826
|
o.errors << Shapes::ShapeRef.new(shape: DependencyException)
|
|
781
827
|
end)
|
|
782
828
|
|
|
829
|
+
api.add_operation(:create_whats_app_dataset, Seahorse::Model::Operation.new.tap do |o|
|
|
830
|
+
o.name = "CreateWhatsAppDataset"
|
|
831
|
+
o.http_method = "POST"
|
|
832
|
+
o.http_request_uri = "/v1/whatsapp/waba/dataset"
|
|
833
|
+
o.input = Shapes::ShapeRef.new(shape: CreateWhatsAppDatasetInput)
|
|
834
|
+
o.output = Shapes::ShapeRef.new(shape: CreateWhatsAppDatasetOutput)
|
|
835
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
836
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
|
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedByMetaException)
|
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
|
|
841
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyException)
|
|
843
|
+
end)
|
|
844
|
+
|
|
783
845
|
api.add_operation(:create_whats_app_flow, Seahorse::Model::Operation.new.tap do |o|
|
|
784
846
|
o.name = "CreateWhatsAppFlow"
|
|
785
847
|
o.http_method = "POST"
|
|
@@ -952,6 +1014,22 @@ module Aws::SocialMessaging
|
|
|
952
1014
|
o.errors << Shapes::ShapeRef.new(shape: DependencyException)
|
|
953
1015
|
end)
|
|
954
1016
|
|
|
1017
|
+
api.add_operation(:get_whats_app_business_public_key, Seahorse::Model::Operation.new.tap do |o|
|
|
1018
|
+
o.name = "GetWhatsAppBusinessPublicKey"
|
|
1019
|
+
o.http_method = "GET"
|
|
1020
|
+
o.http_request_uri = "/v1/whatsapp/business-public-key"
|
|
1021
|
+
o.input = Shapes::ShapeRef.new(shape: GetWhatsAppBusinessPublicKeyInput)
|
|
1022
|
+
o.output = Shapes::ShapeRef.new(shape: GetWhatsAppBusinessPublicKeyOutput)
|
|
1023
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1024
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1025
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1026
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
|
|
1027
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedByMetaException)
|
|
1028
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
|
|
1029
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
1030
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyException)
|
|
1031
|
+
end)
|
|
1032
|
+
|
|
955
1033
|
api.add_operation(:get_whats_app_flow, Seahorse::Model::Operation.new.tap do |o|
|
|
956
1034
|
o.name = "GetWhatsAppFlow"
|
|
957
1035
|
o.http_method = "GET"
|
|
@@ -1182,6 +1260,38 @@ module Aws::SocialMessaging
|
|
|
1182
1260
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
1183
1261
|
end)
|
|
1184
1262
|
|
|
1263
|
+
api.add_operation(:put_whats_app_business_public_key, Seahorse::Model::Operation.new.tap do |o|
|
|
1264
|
+
o.name = "PutWhatsAppBusinessPublicKey"
|
|
1265
|
+
o.http_method = "PUT"
|
|
1266
|
+
o.http_request_uri = "/v1/whatsapp/business-public-key"
|
|
1267
|
+
o.input = Shapes::ShapeRef.new(shape: PutWhatsAppBusinessPublicKeyInput)
|
|
1268
|
+
o.output = Shapes::ShapeRef.new(shape: PutWhatsAppBusinessPublicKeyOutput)
|
|
1269
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1270
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1271
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1272
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
|
|
1273
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedByMetaException)
|
|
1274
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
|
|
1275
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
1276
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyException)
|
|
1277
|
+
end)
|
|
1278
|
+
|
|
1279
|
+
api.add_operation(:send_whats_app_conversion_event, Seahorse::Model::Operation.new.tap do |o|
|
|
1280
|
+
o.name = "SendWhatsAppConversionEvent"
|
|
1281
|
+
o.http_method = "POST"
|
|
1282
|
+
o.http_request_uri = "/v1/whatsapp/waba/dataset/events"
|
|
1283
|
+
o.input = Shapes::ShapeRef.new(shape: SendWhatsAppConversionEventInput)
|
|
1284
|
+
o.output = Shapes::ShapeRef.new(shape: SendWhatsAppConversionEventOutput)
|
|
1285
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1286
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1287
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
|
|
1288
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1289
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledRequestException)
|
|
1290
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedByMetaException)
|
|
1291
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
|
1292
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyException)
|
|
1293
|
+
end)
|
|
1294
|
+
|
|
1185
1295
|
api.add_operation(:send_whats_app_message, Seahorse::Model::Operation.new.tap do |o|
|
|
1186
1296
|
o.name = "SendWhatsAppMessage"
|
|
1187
1297
|
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]
|
|
@@ -106,6 +131,15 @@ module Aws::SocialMessaging
|
|
|
106
131
|
# to clone.
|
|
107
132
|
# @return [String]
|
|
108
133
|
#
|
|
134
|
+
# @!attribute [rw] endpoint_uri
|
|
135
|
+
# Optional HTTPS endpoint for a dynamic Flow, registered with Meta as
|
|
136
|
+
# the Flow's endpoint\_uri and called by Meta directly. When omitted,
|
|
137
|
+
# the Flow has no endpoint (static Flow). Meta only calls the endpoint
|
|
138
|
+
# when the Flow JSON also declares data\_api\_version. To verify that
|
|
139
|
+
# requests originate from Meta, attach your own Meta app via
|
|
140
|
+
# UpdateWhatsAppFlow.
|
|
141
|
+
# @return [String]
|
|
142
|
+
#
|
|
109
143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/CreateWhatsAppFlowInput AWS API Documentation
|
|
110
144
|
#
|
|
111
145
|
class CreateWhatsAppFlowInput < Struct.new(
|
|
@@ -114,7 +148,8 @@ module Aws::SocialMessaging
|
|
|
114
148
|
:categories,
|
|
115
149
|
:flow_json,
|
|
116
150
|
:publish,
|
|
117
|
-
:clone_flow_id
|
|
151
|
+
:clone_flow_id,
|
|
152
|
+
:endpoint_uri)
|
|
118
153
|
SENSITIVE = []
|
|
119
154
|
include Aws::Structure
|
|
120
155
|
end
|
|
@@ -471,6 +506,36 @@ module Aws::SocialMessaging
|
|
|
471
506
|
include Aws::Structure
|
|
472
507
|
end
|
|
473
508
|
|
|
509
|
+
# @!attribute [rw] origination_phone_number_id
|
|
510
|
+
# The unique identifier of the phone number whose business public key
|
|
511
|
+
# to retrieve.
|
|
512
|
+
# @return [String]
|
|
513
|
+
#
|
|
514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/GetWhatsAppBusinessPublicKeyInput AWS API Documentation
|
|
515
|
+
#
|
|
516
|
+
class GetWhatsAppBusinessPublicKeyInput < Struct.new(
|
|
517
|
+
:origination_phone_number_id)
|
|
518
|
+
SENSITIVE = []
|
|
519
|
+
include Aws::Structure
|
|
520
|
+
end
|
|
521
|
+
|
|
522
|
+
# @!attribute [rw] business_public_key
|
|
523
|
+
# The stored RSA business public key (PEM), if present.
|
|
524
|
+
# @return [String]
|
|
525
|
+
#
|
|
526
|
+
# @!attribute [rw] business_public_key_signature_status
|
|
527
|
+
# Meta's signing status: "VALID" \| "MISMATCH".
|
|
528
|
+
# @return [String]
|
|
529
|
+
#
|
|
530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/GetWhatsAppBusinessPublicKeyOutput AWS API Documentation
|
|
531
|
+
#
|
|
532
|
+
class GetWhatsAppBusinessPublicKeyOutput < Struct.new(
|
|
533
|
+
:business_public_key,
|
|
534
|
+
:business_public_key_signature_status)
|
|
535
|
+
SENSITIVE = []
|
|
536
|
+
include Aws::Structure
|
|
537
|
+
end
|
|
538
|
+
|
|
474
539
|
# @!attribute [rw] id
|
|
475
540
|
# The ID of the WhatsApp Business Account associated with this Flow.
|
|
476
541
|
# @return [String]
|
|
@@ -897,6 +962,13 @@ module Aws::SocialMessaging
|
|
|
897
962
|
# Account is onboarded for Meta's Marketing Messages API.
|
|
898
963
|
# @return [String]
|
|
899
964
|
#
|
|
965
|
+
# @!attribute [rw] dataset_id
|
|
966
|
+
# The Meta Conversions API dataset ID associated with this WhatsApp
|
|
967
|
+
# Business Account. This value is a numeric string of 10 to 20 digits.
|
|
968
|
+
# This field is not present when no dataset has been created for this
|
|
969
|
+
# account.
|
|
970
|
+
# @return [String]
|
|
971
|
+
#
|
|
900
972
|
# @!attribute [rw] phone_numbers
|
|
901
973
|
# The phone numbers associated with the Linked WhatsApp Business
|
|
902
974
|
# Account.
|
|
@@ -913,6 +985,7 @@ module Aws::SocialMessaging
|
|
|
913
985
|
:waba_name,
|
|
914
986
|
:event_destinations,
|
|
915
987
|
:marketing_messages_onboarding_status,
|
|
988
|
+
:dataset_id,
|
|
916
989
|
:phone_numbers)
|
|
917
990
|
SENSITIVE = []
|
|
918
991
|
include Aws::Structure
|
|
@@ -985,6 +1058,13 @@ module Aws::SocialMessaging
|
|
|
985
1058
|
# Account is onboarded for Meta's Marketing Messages API.
|
|
986
1059
|
# @return [String]
|
|
987
1060
|
#
|
|
1061
|
+
# @!attribute [rw] dataset_id
|
|
1062
|
+
# The Meta Conversions API dataset ID associated with this WhatsApp
|
|
1063
|
+
# Business Account. This value is a numeric string of 10 to 20 digits.
|
|
1064
|
+
# This field is not present when no dataset has been created for this
|
|
1065
|
+
# account.
|
|
1066
|
+
# @return [String]
|
|
1067
|
+
#
|
|
988
1068
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/LinkedWhatsAppBusinessAccountSummary AWS API Documentation
|
|
989
1069
|
#
|
|
990
1070
|
class LinkedWhatsAppBusinessAccountSummary < Struct.new(
|
|
@@ -995,7 +1075,8 @@ module Aws::SocialMessaging
|
|
|
995
1075
|
:link_date,
|
|
996
1076
|
:waba_name,
|
|
997
1077
|
:event_destinations,
|
|
998
|
-
:marketing_messages_onboarding_status
|
|
1078
|
+
:marketing_messages_onboarding_status,
|
|
1079
|
+
:dataset_id)
|
|
999
1080
|
SENSITIVE = []
|
|
1000
1081
|
include Aws::Structure
|
|
1001
1082
|
end
|
|
@@ -1622,6 +1703,34 @@ module Aws::SocialMessaging
|
|
|
1622
1703
|
#
|
|
1623
1704
|
class PutWhatsAppBusinessAccountEventDestinationsOutput < Aws::EmptyStructure; end
|
|
1624
1705
|
|
|
1706
|
+
# @!attribute [rw] origination_phone_number_id
|
|
1707
|
+
# The unique identifier of the phone number to associate with the
|
|
1708
|
+
# business public key.
|
|
1709
|
+
# @return [String]
|
|
1710
|
+
#
|
|
1711
|
+
# @!attribute [rw] business_public_key
|
|
1712
|
+
# PEM-encoded RSA public key. Mutually exclusive with kmsKeyArn.
|
|
1713
|
+
# @return [String]
|
|
1714
|
+
#
|
|
1715
|
+
# @!attribute [rw] kms_key_arn
|
|
1716
|
+
# Customer-managed KMS asymmetric RSA key ARN. Mutually exclusive with
|
|
1717
|
+
# businessPublicKey.
|
|
1718
|
+
# @return [String]
|
|
1719
|
+
#
|
|
1720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/PutWhatsAppBusinessPublicKeyInput AWS API Documentation
|
|
1721
|
+
#
|
|
1722
|
+
class PutWhatsAppBusinessPublicKeyInput < Struct.new(
|
|
1723
|
+
:origination_phone_number_id,
|
|
1724
|
+
:business_public_key,
|
|
1725
|
+
:kms_key_arn)
|
|
1726
|
+
SENSITIVE = []
|
|
1727
|
+
include Aws::Structure
|
|
1728
|
+
end
|
|
1729
|
+
|
|
1730
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/PutWhatsAppBusinessPublicKeyOutput AWS API Documentation
|
|
1731
|
+
#
|
|
1732
|
+
class PutWhatsAppBusinessPublicKeyOutput < Aws::EmptyStructure; end
|
|
1733
|
+
|
|
1625
1734
|
# The resource was not found.
|
|
1626
1735
|
#
|
|
1627
1736
|
# @!attribute [rw] message
|
|
@@ -1695,6 +1804,46 @@ module Aws::SocialMessaging
|
|
|
1695
1804
|
include Aws::Structure
|
|
1696
1805
|
end
|
|
1697
1806
|
|
|
1807
|
+
# @!attribute [rw] id
|
|
1808
|
+
# The ID of the WhatsApp Business Account associated with the dataset,
|
|
1809
|
+
# formatted as `waba-01234567890123456789012345678901`.
|
|
1810
|
+
# @return [String]
|
|
1811
|
+
#
|
|
1812
|
+
# @!attribute [rw] dataset_id
|
|
1813
|
+
# The Meta-generated dataset ID to send the event to.
|
|
1814
|
+
# @return [String]
|
|
1815
|
+
#
|
|
1816
|
+
# @!attribute [rw] event_data
|
|
1817
|
+
# The raw Meta Conversions API event payload as a JSON blob. See
|
|
1818
|
+
# [Meta's server event parameters][1] for the supported format.
|
|
1819
|
+
#
|
|
1820
|
+
#
|
|
1821
|
+
#
|
|
1822
|
+
# [1]: https://developers.facebook.com/docs/marketing-api/conversions-api/parameters/server-event
|
|
1823
|
+
# @return [String]
|
|
1824
|
+
#
|
|
1825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/SendWhatsAppConversionEventInput AWS API Documentation
|
|
1826
|
+
#
|
|
1827
|
+
class SendWhatsAppConversionEventInput < Struct.new(
|
|
1828
|
+
:id,
|
|
1829
|
+
:dataset_id,
|
|
1830
|
+
:event_data)
|
|
1831
|
+
SENSITIVE = [:event_data]
|
|
1832
|
+
include Aws::Structure
|
|
1833
|
+
end
|
|
1834
|
+
|
|
1835
|
+
# @!attribute [rw] request_id
|
|
1836
|
+
# The unique identifier for the conversion event request.
|
|
1837
|
+
# @return [String]
|
|
1838
|
+
#
|
|
1839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/SendWhatsAppConversionEventOutput AWS API Documentation
|
|
1840
|
+
#
|
|
1841
|
+
class SendWhatsAppConversionEventOutput < Struct.new(
|
|
1842
|
+
:request_id)
|
|
1843
|
+
SENSITIVE = []
|
|
1844
|
+
include Aws::Structure
|
|
1845
|
+
end
|
|
1846
|
+
|
|
1698
1847
|
# @!attribute [rw] origination_phone_number_id
|
|
1699
1848
|
# The ID of the phone number used to send the WhatsApp message. If you
|
|
1700
1849
|
# are sending a media file only the `originationPhoneNumberId` used to
|
|
@@ -1932,13 +2081,32 @@ module Aws::SocialMessaging
|
|
|
1932
2081
|
# The updated categories for the Flow.
|
|
1933
2082
|
# @return [Array<String>]
|
|
1934
2083
|
#
|
|
2084
|
+
# @!attribute [rw] endpoint_uri
|
|
2085
|
+
# Optional HTTPS endpoint for a dynamic Flow, registered with Meta as
|
|
2086
|
+
# the Flow's endpoint\_uri and called by Meta directly. When omitted,
|
|
2087
|
+
# the Flow's endpoint is unchanged.
|
|
2088
|
+
# @return [String]
|
|
2089
|
+
#
|
|
2090
|
+
# @!attribute [rw] meta_app_id
|
|
2091
|
+
# Optional Meta app ID to attach to the Flow. Meta signs data-exchange
|
|
2092
|
+
# requests with the attached app's secret, so attaching your own app
|
|
2093
|
+
# is what enables X-Hub-Signature-256 and flow\_token\_signature
|
|
2094
|
+
# verification at your endpoint. Meta requires the app to be owned by
|
|
2095
|
+
# the same business that owns the WABA. Attaching your own app is
|
|
2096
|
+
# one-way: the service's app cannot be re-attached afterwards. When
|
|
2097
|
+
# omitted, the attached app is unchanged. (Set via update because Meta
|
|
2098
|
+
# ignores application\_id at creation time.)
|
|
2099
|
+
# @return [String]
|
|
2100
|
+
#
|
|
1935
2101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/UpdateWhatsAppFlowInput AWS API Documentation
|
|
1936
2102
|
#
|
|
1937
2103
|
class UpdateWhatsAppFlowInput < Struct.new(
|
|
1938
2104
|
:id,
|
|
1939
2105
|
:flow_id,
|
|
1940
2106
|
:flow_name,
|
|
1941
|
-
:categories
|
|
2107
|
+
:categories,
|
|
2108
|
+
:endpoint_uri,
|
|
2109
|
+
:meta_app_id)
|
|
1942
2110
|
SENSITIVE = []
|
|
1943
2111
|
include Aws::Structure
|
|
1944
2112
|
end
|
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
|
|
@@ -137,7 +147,8 @@ module Aws
|
|
|
137
147
|
categories: Array[("SIGN_UP" | "SIGN_IN" | "APPOINTMENT_BOOKING" | "LEAD_GENERATION" | "SHOPPING" | "CONTACT_US" | "CUSTOMER_SUPPORT" | "SURVEY" | "OTHER")],
|
|
138
148
|
?flow_json: ::String,
|
|
139
149
|
?publish: bool,
|
|
140
|
-
?clone_flow_id: ::String
|
|
150
|
+
?clone_flow_id: ::String,
|
|
151
|
+
?endpoint_uri: ::String
|
|
141
152
|
) -> _CreateWhatsAppFlowResponseSuccess
|
|
142
153
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWhatsAppFlowResponseSuccess
|
|
143
154
|
|
|
@@ -278,6 +289,17 @@ module Aws
|
|
|
278
289
|
) -> _GetLinkedWhatsAppBusinessAccountPhoneNumberResponseSuccess
|
|
279
290
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLinkedWhatsAppBusinessAccountPhoneNumberResponseSuccess
|
|
280
291
|
|
|
292
|
+
interface _GetWhatsAppBusinessPublicKeyResponseSuccess
|
|
293
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetWhatsAppBusinessPublicKeyOutput]
|
|
294
|
+
def business_public_key: () -> ::String
|
|
295
|
+
def business_public_key_signature_status: () -> ::String
|
|
296
|
+
end
|
|
297
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SocialMessaging/Client.html#get_whats_app_business_public_key-instance_method
|
|
298
|
+
def get_whats_app_business_public_key: (
|
|
299
|
+
origination_phone_number_id: ::String
|
|
300
|
+
) -> _GetWhatsAppBusinessPublicKeyResponseSuccess
|
|
301
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWhatsAppBusinessPublicKeyResponseSuccess
|
|
302
|
+
|
|
281
303
|
interface _GetWhatsAppFlowResponseSuccess
|
|
282
304
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetWhatsAppFlowOutput]
|
|
283
305
|
def flow_id: () -> ::String
|
|
@@ -467,6 +489,29 @@ module Aws
|
|
|
467
489
|
) -> _PutWhatsAppBusinessAccountEventDestinationsResponseSuccess
|
|
468
490
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutWhatsAppBusinessAccountEventDestinationsResponseSuccess
|
|
469
491
|
|
|
492
|
+
interface _PutWhatsAppBusinessPublicKeyResponseSuccess
|
|
493
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutWhatsAppBusinessPublicKeyOutput]
|
|
494
|
+
end
|
|
495
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SocialMessaging/Client.html#put_whats_app_business_public_key-instance_method
|
|
496
|
+
def put_whats_app_business_public_key: (
|
|
497
|
+
origination_phone_number_id: ::String,
|
|
498
|
+
?business_public_key: ::String,
|
|
499
|
+
?kms_key_arn: ::String
|
|
500
|
+
) -> _PutWhatsAppBusinessPublicKeyResponseSuccess
|
|
501
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutWhatsAppBusinessPublicKeyResponseSuccess
|
|
502
|
+
|
|
503
|
+
interface _SendWhatsAppConversionEventResponseSuccess
|
|
504
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SendWhatsAppConversionEventOutput]
|
|
505
|
+
def request_id: () -> ::String
|
|
506
|
+
end
|
|
507
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SocialMessaging/Client.html#send_whats_app_conversion_event-instance_method
|
|
508
|
+
def send_whats_app_conversion_event: (
|
|
509
|
+
id: ::String,
|
|
510
|
+
dataset_id: ::String,
|
|
511
|
+
event_data: ::String
|
|
512
|
+
) -> _SendWhatsAppConversionEventResponseSuccess
|
|
513
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendWhatsAppConversionEventResponseSuccess
|
|
514
|
+
|
|
470
515
|
interface _SendWhatsAppMessageResponseSuccess
|
|
471
516
|
include ::Seahorse::Client::_ResponseSuccess[Types::SendWhatsAppMessageOutput]
|
|
472
517
|
def message_id: () -> ::String
|
|
@@ -514,7 +559,9 @@ module Aws
|
|
|
514
559
|
id: ::String,
|
|
515
560
|
flow_id: ::String,
|
|
516
561
|
?flow_name: ::String,
|
|
517
|
-
?categories: Array[("SIGN_UP" | "SIGN_IN" | "APPOINTMENT_BOOKING" | "LEAD_GENERATION" | "SHOPPING" | "CONTACT_US" | "CUSTOMER_SUPPORT" | "SURVEY" | "OTHER")]
|
|
562
|
+
?categories: Array[("SIGN_UP" | "SIGN_IN" | "APPOINTMENT_BOOKING" | "LEAD_GENERATION" | "SHOPPING" | "CONTACT_US" | "CUSTOMER_SUPPORT" | "SURVEY" | "OTHER")],
|
|
563
|
+
?endpoint_uri: ::String,
|
|
564
|
+
?meta_app_id: ::String
|
|
518
565
|
) -> _UpdateWhatsAppFlowResponseSuccess
|
|
519
566
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWhatsAppFlowResponseSuccess
|
|
520
567
|
|
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
|
|
@@ -38,6 +48,7 @@ module Aws::SocialMessaging
|
|
|
38
48
|
attr_accessor flow_json: ::String
|
|
39
49
|
attr_accessor publish: bool
|
|
40
50
|
attr_accessor clone_flow_id: ::String
|
|
51
|
+
attr_accessor endpoint_uri: ::String
|
|
41
52
|
SENSITIVE: []
|
|
42
53
|
end
|
|
43
54
|
|
|
@@ -158,6 +169,17 @@ module Aws::SocialMessaging
|
|
|
158
169
|
SENSITIVE: []
|
|
159
170
|
end
|
|
160
171
|
|
|
172
|
+
class GetWhatsAppBusinessPublicKeyInput
|
|
173
|
+
attr_accessor origination_phone_number_id: ::String
|
|
174
|
+
SENSITIVE: []
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
class GetWhatsAppBusinessPublicKeyOutput
|
|
178
|
+
attr_accessor business_public_key: ::String
|
|
179
|
+
attr_accessor business_public_key_signature_status: ::String
|
|
180
|
+
SENSITIVE: []
|
|
181
|
+
end
|
|
182
|
+
|
|
161
183
|
class GetWhatsAppFlowInput
|
|
162
184
|
attr_accessor id: ::String
|
|
163
185
|
attr_accessor flow_id: ::String
|
|
@@ -275,6 +297,7 @@ module Aws::SocialMessaging
|
|
|
275
297
|
attr_accessor waba_name: ::String
|
|
276
298
|
attr_accessor event_destinations: ::Array[Types::WhatsAppBusinessAccountEventDestination]
|
|
277
299
|
attr_accessor marketing_messages_onboarding_status: ::String
|
|
300
|
+
attr_accessor dataset_id: ::String
|
|
278
301
|
attr_accessor phone_numbers: ::Array[Types::WhatsAppPhoneNumberSummary]
|
|
279
302
|
SENSITIVE: []
|
|
280
303
|
end
|
|
@@ -296,6 +319,7 @@ module Aws::SocialMessaging
|
|
|
296
319
|
attr_accessor waba_name: ::String
|
|
297
320
|
attr_accessor event_destinations: ::Array[Types::WhatsAppBusinessAccountEventDestination]
|
|
298
321
|
attr_accessor marketing_messages_onboarding_status: ::String
|
|
322
|
+
attr_accessor dataset_id: ::String
|
|
299
323
|
SENSITIVE: []
|
|
300
324
|
end
|
|
301
325
|
|
|
@@ -482,6 +506,16 @@ module Aws::SocialMessaging
|
|
|
482
506
|
class PutWhatsAppBusinessAccountEventDestinationsOutput < Aws::EmptyStructure
|
|
483
507
|
end
|
|
484
508
|
|
|
509
|
+
class PutWhatsAppBusinessPublicKeyInput
|
|
510
|
+
attr_accessor origination_phone_number_id: ::String
|
|
511
|
+
attr_accessor business_public_key: ::String
|
|
512
|
+
attr_accessor kms_key_arn: ::String
|
|
513
|
+
SENSITIVE: []
|
|
514
|
+
end
|
|
515
|
+
|
|
516
|
+
class PutWhatsAppBusinessPublicKeyOutput < Aws::EmptyStructure
|
|
517
|
+
end
|
|
518
|
+
|
|
485
519
|
class ResourceNotFoundException
|
|
486
520
|
attr_accessor message: ::String
|
|
487
521
|
SENSITIVE: []
|
|
@@ -499,6 +533,18 @@ module Aws::SocialMessaging
|
|
|
499
533
|
SENSITIVE: []
|
|
500
534
|
end
|
|
501
535
|
|
|
536
|
+
class SendWhatsAppConversionEventInput
|
|
537
|
+
attr_accessor id: ::String
|
|
538
|
+
attr_accessor dataset_id: ::String
|
|
539
|
+
attr_accessor event_data: ::String
|
|
540
|
+
SENSITIVE: [:event_data]
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
class SendWhatsAppConversionEventOutput
|
|
544
|
+
attr_accessor request_id: ::String
|
|
545
|
+
SENSITIVE: []
|
|
546
|
+
end
|
|
547
|
+
|
|
502
548
|
class SendWhatsAppMessageInput
|
|
503
549
|
attr_accessor origination_phone_number_id: ::String
|
|
504
550
|
attr_accessor message: ::String
|
|
@@ -571,6 +617,8 @@ module Aws::SocialMessaging
|
|
|
571
617
|
attr_accessor flow_id: ::String
|
|
572
618
|
attr_accessor flow_name: ::String
|
|
573
619
|
attr_accessor categories: ::Array[("SIGN_UP" | "SIGN_IN" | "APPOINTMENT_BOOKING" | "LEAD_GENERATION" | "SHOPPING" | "CONTACT_US" | "CUSTOMER_SUPPORT" | "SURVEY" | "OTHER")]
|
|
620
|
+
attr_accessor endpoint_uri: ::String
|
|
621
|
+
attr_accessor meta_app_id: ::String
|
|
574
622
|
SENSITIVE: []
|
|
575
623
|
end
|
|
576
624
|
|