Class: Aws::SocialMessaging::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::SocialMessaging::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb
Overview
An API client for SocialMessaging. To construct a client, you need to configure a :region and :credentials.
client = Aws::SocialMessaging::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#associate_whats_app_business_account(params = {}) ⇒ Types::AssociateWhatsAppBusinessAccountOutput
This is only used through the Amazon Web Services console during sign-up to associate your WhatsApp Business Account to your Amazon Web Services account.
-
#create_whats_app_dataset(params = {}) ⇒ Types::CreateWhatsAppDatasetOutput
Creates a Meta Conversions API dataset for a WhatsApp Business Account.
-
#create_whats_app_flow(params = {}) ⇒ Types::CreateWhatsAppFlowOutput
Creates a new WhatsApp Flow.
-
#create_whats_app_message_template(params = {}) ⇒ Types::CreateWhatsAppMessageTemplateOutput
Creates a new WhatsApp message template from a custom definition.
-
#create_whats_app_message_template_from_library(params = {}) ⇒ Types::CreateWhatsAppMessageTemplateFromLibraryOutput
Creates a new WhatsApp message template using a template from Meta's template library.
-
#create_whats_app_message_template_media(params = {}) ⇒ Types::CreateWhatsAppMessageTemplateMediaOutput
Uploads media for use in a WhatsApp message template.
-
#delete_whats_app_flow(params = {}) ⇒ Struct
Deletes a WhatsApp Flow permanently.
-
#delete_whats_app_message_media(params = {}) ⇒ Types::DeleteWhatsAppMessageMediaOutput
Delete a media object from the WhatsApp service.
-
#delete_whats_app_message_template(params = {}) ⇒ Struct
Deletes a WhatsApp message template.
-
#deprecate_whats_app_flow(params = {}) ⇒ Struct
Deprecates a published WhatsApp Flow, marking it as no longer recommended for use.
-
#disassociate_whats_app_business_account(params = {}) ⇒ Struct
Disassociate a WhatsApp Business Account (WABA) from your Amazon Web Services account.
-
#get_linked_whats_app_business_account(params = {}) ⇒ Types::GetLinkedWhatsAppBusinessAccountOutput
Get the details of your linked WhatsApp Business Account.
-
#get_linked_whats_app_business_account_phone_number(params = {}) ⇒ Types::GetLinkedWhatsAppBusinessAccountPhoneNumberOutput
Retrieve the WABA account id and phone number details of a WhatsApp business account phone number.
-
#get_whats_app_business_public_key(params = {}) ⇒ Types::GetWhatsAppBusinessPublicKeyOutput
Retrieves the business public key for a phone number and its signature status.
-
#get_whats_app_call_permission(params = {}) ⇒ Types::GetWhatsAppCallPermissionOutput
Retrieves the current calling permission for a WhatsApp end user, along with the calling actions the business is allowed to take with that user.
-
#get_whats_app_flow(params = {}) ⇒ Types::GetWhatsAppFlowOutput
Retrieves the metadata and status of a WhatsApp Flow, including validation errors, preview information, and health status.
-
#get_whats_app_flow_preview(params = {}) ⇒ Types::GetWhatsAppFlowPreviewOutput
Generates a web preview URL for testing a WhatsApp Flow before publishing.
-
#get_whats_app_message_media(params = {}) ⇒ Types::GetWhatsAppMessageMediaOutput
Get a media file from the WhatsApp service.
-
#get_whats_app_message_template(params = {}) ⇒ Types::GetWhatsAppMessageTemplateOutput
Retrieves a specific WhatsApp message template.
-
#list_linked_whats_app_business_accounts(params = {}) ⇒ Types::ListLinkedWhatsAppBusinessAccountsOutput
List all WhatsApp Business Accounts linked to your Amazon Web Services account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
List all tags associated with a resource, such as a phone number or WABA.
-
#list_whats_app_flow_assets(params = {}) ⇒ Types::ListWhatsAppFlowAssetsOutput
Lists the assets (Flow JSON definition) of a WhatsApp Flow with presigned download URLs.
-
#list_whats_app_flows(params = {}) ⇒ Types::ListWhatsAppFlowsOutput
Lists all WhatsApp Flows for a WhatsApp Business Account.
-
#list_whats_app_message_templates(params = {}) ⇒ Types::ListWhatsAppMessageTemplatesOutput
Lists WhatsApp message templates for a specific WhatsApp Business Account.
-
#list_whats_app_template_library(params = {}) ⇒ Types::ListWhatsAppTemplateLibraryOutput
Lists templates available in Meta's template library for WhatsApp messaging.
-
#post_whats_app_message_media(params = {}) ⇒ Types::PostWhatsAppMessageMediaOutput
Upload a media file to the WhatsApp service.
-
#publish_whats_app_flow(params = {}) ⇒ Struct
Publishes a WhatsApp Flow, making it available for use in template messages.
-
#put_whats_app_business_account_event_destinations(params = {}) ⇒ Struct
Add an event destination to log event data from WhatsApp for a WhatsApp Business Account (WABA).
-
#put_whats_app_business_public_key(params = {}) ⇒ Struct
Sets the business public key used to encrypt the data exchanged with the endpoint of a data exchange Flow.
-
#send_whats_app_call_event(params = {}) ⇒ Types::SendWhatsAppCallEventOutput
Sends a WhatsApp calling event, such as connecting or terminating a call, for a business phone number.
-
#send_whats_app_conversion_event(params = {}) ⇒ Types::SendWhatsAppConversionEventOutput
Sends a conversion event to Meta's Conversions API for the specified WhatsApp Business Account dataset.
-
#send_whats_app_message(params = {}) ⇒ Types::SendWhatsAppMessageOutput
Send a WhatsApp message.
-
#tag_resource(params = {}) ⇒ Types::TagResourceOutput
Adds or overwrites only the specified tags for the specified resource.
-
#untag_resource(params = {}) ⇒ Types::UntagResourceOutput
Removes the specified tags from a resource.
-
#update_linked_whats_app_business_account_phone_number(params = {}) ⇒ Types::UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput
Updates the calling settings for a linked WhatsApp business phone number, such as whether calling is enabled and the hours during which the business accepts calls.
-
#update_whats_app_flow(params = {}) ⇒ Struct
Updates the metadata of a WhatsApp Flow, such as its name or categories.
-
#update_whats_app_flow_assets(params = {}) ⇒ Types::UpdateWhatsAppFlowAssetsOutput
Updates the Flow JSON definition (assets) of a WhatsApp Flow.
-
#update_whats_app_message_template(params = {}) ⇒ Struct
Updates an existing WhatsApp message template.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
471 472 473 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 471 def initialize(*args) super end |
Instance Method Details
#associate_whats_app_business_account(params = {}) ⇒ Types::AssociateWhatsAppBusinessAccountOutput
This is only used through the Amazon Web Services console during sign-up to associate your WhatsApp Business Account to your Amazon Web Services account.
558 559 560 561 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 558 def associate_whats_app_business_account(params = {}, = {}) req = build_request(:associate_whats_app_business_account, params) req.send_request() end |
#create_whats_app_dataset(params = {}) ⇒ Types::CreateWhatsAppDatasetOutput
Creates a Meta Conversions API dataset for a WhatsApp Business Account.
588 589 590 591 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 588 def create_whats_app_dataset(params = {}, = {}) req = build_request(:create_whats_app_dataset, params) req.send_request() end |
#create_whats_app_flow(params = {}) ⇒ Types::CreateWhatsAppFlowOutput
Creates a new WhatsApp Flow. Flows enable businesses to create rich,
interactive forms and experiences that users can complete without
leaving WhatsApp. The Flow is created in DRAFT status. If publish is
set to true and a valid flowJson is provided, the Flow is
published immediately.
652 653 654 655 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 652 def create_whats_app_flow(params = {}, = {}) req = build_request(:create_whats_app_flow, params) req.send_request() end |
#create_whats_app_message_template(params = {}) ⇒ Types::CreateWhatsAppMessageTemplateOutput
Creates a new WhatsApp message template from a custom definition.
694 695 696 697 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 694 def (params = {}, = {}) req = build_request(:create_whats_app_message_template, params) req.send_request() end |
#create_whats_app_message_template_from_library(params = {}) ⇒ Types::CreateWhatsAppMessageTemplateFromLibraryOutput
Creates a new WhatsApp message template using a template from Meta's template library.
761 762 763 764 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 761 def (params = {}, = {}) req = build_request(:create_whats_app_message_template_from_library, params) req.send_request() end |
#create_whats_app_message_template_media(params = {}) ⇒ Types::CreateWhatsAppMessageTemplateMediaOutput
Uploads media for use in a WhatsApp message template.
797 798 799 800 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 797 def (params = {}, = {}) req = build_request(:create_whats_app_message_template_media, params) req.send_request() end |
#delete_whats_app_flow(params = {}) ⇒ Struct
Deletes a WhatsApp Flow permanently. Only Flows in DRAFT status can be deleted. Published or deprecated Flows cannot be deleted.
824 825 826 827 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 824 def delete_whats_app_flow(params = {}, = {}) req = build_request(:delete_whats_app_flow, params) req.send_request() end |
#delete_whats_app_message_media(params = {}) ⇒ Types::DeleteWhatsAppMessageMediaOutput
Delete a media object from the WhatsApp service. If the object is still in an Amazon S3 bucket you should delete it from there too.
869 870 871 872 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 869 def (params = {}, = {}) req = build_request(:delete_whats_app_message_media, params) req.send_request() end |
#delete_whats_app_message_template(params = {}) ⇒ Struct
Deletes a WhatsApp message template.
903 904 905 906 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 903 def (params = {}, = {}) req = build_request(:delete_whats_app_message_template, params) req.send_request() end |
#deprecate_whats_app_flow(params = {}) ⇒ Struct
Deprecates a published WhatsApp Flow, marking it as no longer recommended for use. The Flow must be in PUBLISHED status. This is an irreversible operation.
931 932 933 934 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 931 def deprecate_whats_app_flow(params = {}, = {}) req = build_request(:deprecate_whats_app_flow, params) req.send_request() end |
#disassociate_whats_app_business_account(params = {}) ⇒ Struct
Disassociate a WhatsApp Business Account (WABA) from your Amazon Web Services account.
961 962 963 964 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 961 def disassociate_whats_app_business_account(params = {}, = {}) req = build_request(:disassociate_whats_app_business_account, params) req.send_request() end |
#get_linked_whats_app_business_account(params = {}) ⇒ Types::GetLinkedWhatsAppBusinessAccountOutput
Get the details of your linked WhatsApp Business Account.
1016 1017 1018 1019 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1016 def get_linked_whats_app_business_account(params = {}, = {}) req = build_request(:get_linked_whats_app_business_account, params) req.send_request() end |
#get_linked_whats_app_business_account_phone_number(params = {}) ⇒ Types::GetLinkedWhatsAppBusinessAccountPhoneNumberOutput
Retrieve the WABA account id and phone number details of a WhatsApp business account phone number.
1079 1080 1081 1082 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1079 def get_linked_whats_app_business_account_phone_number(params = {}, = {}) req = build_request(:get_linked_whats_app_business_account_phone_number, params) req.send_request() end |
#get_whats_app_business_public_key(params = {}) ⇒ Types::GetWhatsAppBusinessPublicKeyOutput
Retrieves the business public key for a phone number and its signature status.
1111 1112 1113 1114 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1111 def get_whats_app_business_public_key(params = {}, = {}) req = build_request(:get_whats_app_business_public_key, params) req.send_request() end |
#get_whats_app_call_permission(params = {}) ⇒ Types::GetWhatsAppCallPermissionOutput
Retrieves the current calling permission for a WhatsApp end user, along with the calling actions the business is allowed to take with that user. Provide the destination phone number or the business-scoped user ID to identify the end user.
1164 1165 1166 1167 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1164 def (params = {}, = {}) req = build_request(:get_whats_app_call_permission, params) req.send_request() end |
#get_whats_app_flow(params = {}) ⇒ Types::GetWhatsAppFlowOutput
Retrieves the metadata and status of a WhatsApp Flow, including validation errors, preview information, and health status.
1232 1233 1234 1235 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1232 def get_whats_app_flow(params = {}, = {}) req = build_request(:get_whats_app_flow, params) req.send_request() end |
#get_whats_app_flow_preview(params = {}) ⇒ Types::GetWhatsAppFlowPreviewOutput
Generates a web preview URL for testing a WhatsApp Flow before publishing. Preview URLs expire in 30 days and can be shared with stakeholders for review.
1275 1276 1277 1278 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1275 def get_whats_app_flow_preview(params = {}, = {}) req = build_request(:get_whats_app_flow_preview, params) req.send_request() end |
#get_whats_app_message_media(params = {}) ⇒ Types::GetWhatsAppMessageMediaOutput
Get a media file from the WhatsApp service. On successful completion
the media file is retrieved from Meta and stored in the specified
Amazon S3 bucket. Use either destinationS3File or
destinationS3PresignedUrl for the destination. If both are used then
an InvalidParameterException is returned.
1340 1341 1342 1343 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1340 def (params = {}, = {}) req = build_request(:get_whats_app_message_media, params) req.send_request() end |
#get_whats_app_message_template(params = {}) ⇒ Types::GetWhatsAppMessageTemplateOutput
Retrieves a specific WhatsApp message template.
1384 1385 1386 1387 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1384 def (params = {}, = {}) req = build_request(:get_whats_app_message_template, params) req.send_request() end |
#list_linked_whats_app_business_accounts(params = {}) ⇒ Types::ListLinkedWhatsAppBusinessAccountsOutput
List all WhatsApp Business Accounts linked to your Amazon Web Services account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1432 1433 1434 1435 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1432 def list_linked_whats_app_business_accounts(params = {}, = {}) req = build_request(:list_linked_whats_app_business_accounts, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
List all tags associated with a resource, such as a phone number or WABA.
1466 1467 1468 1469 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1466 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_whats_app_flow_assets(params = {}) ⇒ Types::ListWhatsAppFlowAssetsOutput
Lists the assets (Flow JSON definition) of a WhatsApp Flow with presigned download URLs. Download URLs are generated by Meta and expire after a short period.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1515 1516 1517 1518 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1515 def list_whats_app_flow_assets(params = {}, = {}) req = build_request(:list_whats_app_flow_assets, params) req.send_request() end |
#list_whats_app_flows(params = {}) ⇒ Types::ListWhatsAppFlowsOutput
Lists all WhatsApp Flows for a WhatsApp Business Account. Returns summary information including Flow ID, name, status, and categories.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1563 1564 1565 1566 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1563 def list_whats_app_flows(params = {}, = {}) req = build_request(:list_whats_app_flows, params) req.send_request() end |
#list_whats_app_message_templates(params = {}) ⇒ Types::ListWhatsAppMessageTemplatesOutput
Lists WhatsApp message templates for a specific WhatsApp Business Account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1610 1611 1612 1613 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1610 def (params = {}, = {}) req = build_request(:list_whats_app_message_templates, params) req.send_request() end |
#list_whats_app_template_library(params = {}) ⇒ Types::ListWhatsAppTemplateLibraryOutput
Lists templates available in Meta's template library for WhatsApp messaging.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1680 1681 1682 1683 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1680 def list_whats_app_template_library(params = {}, = {}) req = build_request(:list_whats_app_template_library, params) req.send_request() end |
#post_whats_app_message_media(params = {}) ⇒ Types::PostWhatsAppMessageMediaOutput
Upload a media file to the WhatsApp service. Only the specified
originationPhoneNumberId has the permissions to send the media file
when using SendWhatsAppMessage. You must use either
sourceS3File or sourceS3PresignedUrl for the source. If both or
neither are specified then an InvalidParameterException is returned.
1739 1740 1741 1742 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1739 def (params = {}, = {}) req = build_request(:post_whats_app_message_media, params) req.send_request() end |
#publish_whats_app_flow(params = {}) ⇒ Struct
Publishes a WhatsApp Flow, making it available for use in template messages. The Flow must be in DRAFT status with valid Flow JSON that passes Meta's validation. This is an irreversible operation.
1767 1768 1769 1770 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1767 def publish_whats_app_flow(params = {}, = {}) req = build_request(:publish_whats_app_flow, params) req.send_request() end |
#put_whats_app_business_account_event_destinations(params = {}) ⇒ Struct
Add an event destination to log event data from WhatsApp for a WhatsApp Business Account (WABA). A WABA can only have one event destination at a time. All resources associated with the WABA use the same event destination.
1809 1810 1811 1812 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1809 def put_whats_app_business_account_event_destinations(params = {}, = {}) req = build_request(:put_whats_app_business_account_event_destinations, params) req.send_request() end |
#put_whats_app_business_public_key(params = {}) ⇒ Struct
Sets the business public key used to encrypt the data exchanged with the endpoint of a data exchange Flow.
1843 1844 1845 1846 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1843 def put_whats_app_business_public_key(params = {}, = {}) req = build_request(:put_whats_app_business_public_key, params) req.send_request() end |
#send_whats_app_call_event(params = {}) ⇒ Types::SendWhatsAppCallEventOutput
Sends a WhatsApp calling event, such as connecting or terminating a call, for a business phone number. This operation passes the event through to Meta. To use this operation, the origination phone number must belong to a WhatsApp Business Account that is linked to your Amazon Web Services account.
1887 1888 1889 1890 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1887 def send_whats_app_call_event(params = {}, = {}) req = build_request(:send_whats_app_call_event, params) req.send_request() end |
#send_whats_app_conversion_event(params = {}) ⇒ Types::SendWhatsAppConversionEventOutput
Sends a conversion event to Meta's Conversions API for the specified WhatsApp Business Account dataset.
1930 1931 1932 1933 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1930 def send_whats_app_conversion_event(params = {}, = {}) req = build_request(:send_whats_app_conversion_event, params) req.send_request() end |
#send_whats_app_message(params = {}) ⇒ Types::SendWhatsAppMessageOutput
Send a WhatsApp message. For examples of sending a message using the Amazon Web Services CLI, see Sending messages in the Amazon Web Services End User Messaging Social User Guide .
1993 1994 1995 1996 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 1993 def (params = {}, = {}) req = build_request(:send_whats_app_message, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Types::TagResourceOutput
Adds or overwrites only the specified tags for the specified resource. When you specify an existing tag key, the value is overwritten with the new value.
2032 2033 2034 2035 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 2032 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Types::UntagResourceOutput
Removes the specified tags from a resource.
2064 2065 2066 2067 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 2064 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_linked_whats_app_business_account_phone_number(params = {}) ⇒ Types::UpdateLinkedWhatsAppBusinessAccountPhoneNumberOutput
Updates the calling settings for a linked WhatsApp business phone number, such as whether calling is enabled and the hours during which the business accepts calls.
2134 2135 2136 2137 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 2134 def update_linked_whats_app_business_account_phone_number(params = {}, = {}) req = build_request(:update_linked_whats_app_business_account_phone_number, params) req.send_request() end |
#update_whats_app_flow(params = {}) ⇒ Struct
Updates the metadata of a WhatsApp Flow, such as its name or categories. This does not update the Flow JSON definition. Use UpdateWhatsAppFlowAssets to update the Flow JSON.
2182 2183 2184 2185 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 2182 def update_whats_app_flow(params = {}, = {}) req = build_request(:update_whats_app_flow, params) req.send_request() end |
#update_whats_app_flow_assets(params = {}) ⇒ Types::UpdateWhatsAppFlowAssetsOutput
Updates the Flow JSON definition (assets) of a WhatsApp Flow. Updating a published Flow's assets reverts it to DRAFT status, requiring re-publishing.
2221 2222 2223 2224 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 2221 def update_whats_app_flow_assets(params = {}, = {}) req = build_request(:update_whats_app_flow_assets, params) req.send_request() end |
#update_whats_app_message_template(params = {}) ⇒ Struct
Updates an existing WhatsApp message template.
2278 2279 2280 2281 |
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/client.rb', line 2278 def (params = {}, = {}) req = build_request(:update_whats_app_message_template, params) req.send_request() end |