Class: Aws::SocialMessaging::Types::PostWhatsAppMessageMediaInput

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-socialmessaging/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:source_s3_presigned_url, :source_s3_file]

Instance Attribute Summary collapse

Instance Attribute Details

#origination_phone_number_idString

The ID of the phone number to associate with the WhatsApp media file. The phone number identifiers are formatted as ‘phone-number-id-01234567890123456789012345678901`. Use

GetLinkedWhatsAppBusinessAccount][1

to find a phone number’s id.

[1]: docs.aws.amazon.com/social-messaging/latest/APIReference/API_GetLinkedWhatsAppBusinessAccountPhoneNumber.html

Returns:

  • (String)


516
517
518
519
520
521
522
# File 'lib/aws-sdk-socialmessaging/types.rb', line 516

class PostWhatsAppMessageMediaInput < Struct.new(
  :origination_phone_number_id,
  :source_s3_presigned_url,
  :source_s3_file)
  SENSITIVE = [:source_s3_presigned_url, :source_s3_file]
  include Aws::Structure
end

#source_s3_fileTypes::S3File

The source S3 url for the media file.

Returns:



516
517
518
519
520
521
522
# File 'lib/aws-sdk-socialmessaging/types.rb', line 516

class PostWhatsAppMessageMediaInput < Struct.new(
  :origination_phone_number_id,
  :source_s3_presigned_url,
  :source_s3_file)
  SENSITIVE = [:source_s3_presigned_url, :source_s3_file]
  include Aws::Structure
end

#source_s3_presigned_urlTypes::S3PresignedUrl

The source presign url of the media file.



516
517
518
519
520
521
522
# File 'lib/aws-sdk-socialmessaging/types.rb', line 516

class PostWhatsAppMessageMediaInput < Struct.new(
  :origination_phone_number_id,
  :source_s3_presigned_url,
  :source_s3_file)
  SENSITIVE = [:source_s3_presigned_url, :source_s3_file]
  include Aws::Structure
end