Class: Aws::SocialMessaging::Types::S3PresignedUrl

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

Overview

You can use presigned URLs to grant time-limited access to objects in Amazon S3 without updating your bucket policy. For more information, see [Working with presigned URLs] in the *Amazon S3 User Guide*.

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/using-presigned-url.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#headersHash<String,String>

A map of headers and their values. You must specify the ‘Content-Type` header when using `PostWhatsAppMessageMedia`. For a list of common headers, see [Common Request Headers] in the *Amazon S3 API Reference*

[1]: docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html

Returns:

  • (Hash<String,String>)


623
624
625
626
627
628
# File 'lib/aws-sdk-socialmessaging/types.rb', line 623

class S3PresignedUrl < Struct.new(
  :url,
  :headers)
  SENSITIVE = []
  include Aws::Structure
end

#urlString

The presign url to the object.

Returns:

  • (String)


623
624
625
626
627
628
# File 'lib/aws-sdk-socialmessaging/types.rb', line 623

class S3PresignedUrl < Struct.new(
  :url,
  :headers)
  SENSITIVE = []
  include Aws::Structure
end