Class: Aws::SocialMessaging::Types::GetWhatsAppMessageMediaInput

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

Overview

Constant Summary collapse

SENSITIVE =
[:destination_s3_presigned_url, :destination_s3_file]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_s3_fileTypes::S3File

The ‘bucketName` and `key` of the S3 media file.

Returns:



250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-socialmessaging/types.rb', line 250

class GetWhatsAppMessageMediaInput < Struct.new(
  :media_id,
  :origination_phone_number_id,
  :metadata_only,
  :destination_s3_presigned_url,
  :destination_s3_file)
  SENSITIVE = [:destination_s3_presigned_url, :destination_s3_file]
  include Aws::Structure
end

#destination_s3_presigned_urlTypes::S3PresignedUrl

The presign url of the media file.



250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-socialmessaging/types.rb', line 250

class GetWhatsAppMessageMediaInput < Struct.new(
  :media_id,
  :origination_phone_number_id,
  :metadata_only,
  :destination_s3_presigned_url,
  :destination_s3_file)
  SENSITIVE = [:destination_s3_presigned_url, :destination_s3_file]
  include Aws::Structure
end

#media_idString

The unique identifier for the media file.

Returns:

  • (String)


250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-socialmessaging/types.rb', line 250

class GetWhatsAppMessageMediaInput < Struct.new(
  :media_id,
  :origination_phone_number_id,
  :metadata_only,
  :destination_s3_presigned_url,
  :destination_s3_file)
  SENSITIVE = [:destination_s3_presigned_url, :destination_s3_file]
  include Aws::Structure
end

#metadata_onlyBoolean

Set to ‘True` to get only the metadata for the file.

Returns:

  • (Boolean)


250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-socialmessaging/types.rb', line 250

class GetWhatsAppMessageMediaInput < Struct.new(
  :media_id,
  :origination_phone_number_id,
  :metadata_only,
  :destination_s3_presigned_url,
  :destination_s3_file)
  SENSITIVE = [:destination_s3_presigned_url, :destination_s3_file]
  include Aws::Structure
end

#origination_phone_number_idString

The unique identifier of the originating phone number for the WhatsApp message media. 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)


250
251
252
253
254
255
256
257
258
# File 'lib/aws-sdk-socialmessaging/types.rb', line 250

class GetWhatsAppMessageMediaInput < Struct.new(
  :media_id,
  :origination_phone_number_id,
  :metadata_only,
  :destination_s3_presigned_url,
  :destination_s3_file)
  SENSITIVE = [:destination_s3_presigned_url, :destination_s3_file]
  include Aws::Structure
end