Class: Aws::S3::Presigner
- Inherits:
-
Object
- Object
- Aws::S3::Presigner
- Defined in:
- gems/aws-sdk-s3/lib/aws-sdk-s3/presigner.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Presigner
constructor
A new instance of Presigner.
-
#presigned_request(method, params = {}) ⇒ String, Hash
Allows you to create presigned URL requests for S3 operations.
-
#presigned_url(method, params = {}) ⇒ String
Create presigned URLs for S3 operations.
Constructor Details
Instance Method Details
#presigned_request(method, params = {}) ⇒ String, Hash
Allows you to create presigned URL requests for S3 operations. This method returns a tuple containing the URL and the signed X-amz-* headers to be used with the presigned url.
128 129 130 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/presigner.rb', line 128 def presigned_request(method, params = {}) _presigned_request(method, params, false) end |
#presigned_url(method, params = {}) ⇒ String
Create presigned URLs for S3 operations.
78 79 80 81 |
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/presigner.rb', line 78 def presigned_url(method, params = {}) url, _headers = _presigned_request(method, params) url end |