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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-socialmessaging/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.

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

Returns:

  • (Hash<String,String>)


618
619
620
621
622
623
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 618

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

#urlString

The presign url to the object.

Returns:

  • (String)


618
619
620
621
622
623
# File 'gems/aws-sdk-socialmessaging/lib/aws-sdk-socialmessaging/types.rb', line 618

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