aws-sdk-mediastoredata 1.14.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '024159eb67f919e4265a1570bcea704b529165e2'
|
4
|
+
data.tar.gz: 5bc12256b47b59c4d81955848b0660c905890411
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe944efa62197c5e5f805043fc9cc537a7d603ef7a42c237d7db46ff59584d5a5c27195915fa7009031a6962f14eb2fa8dd8810478536da626e691330b50f689
|
7
|
+
data.tar.gz: 92ad3bce5901d765535d30372fe94c51341259a12c09e4730ea547d4d5993d2eb6f71a224932bd4dbed2e3444eb925fccbbc702b4f2a8b2a1df8238d2c9a117d
|
@@ -312,7 +312,9 @@ module Aws::MediaStoreData
|
|
312
312
|
req.send_request(options)
|
313
313
|
end
|
314
314
|
|
315
|
-
# Downloads the object at the specified path.
|
315
|
+
# Downloads the object at the specified path. If the object’s upload
|
316
|
+
# availability is set to `streaming`, AWS Elemental MediaStore downloads
|
317
|
+
# the object even if it’s still uploading the object.
|
316
318
|
#
|
317
319
|
# @option params [required, String] :path
|
318
320
|
# The path (including the file name) where the object is stored in the
|
@@ -348,8 +350,10 @@ module Aws::MediaStoreData
|
|
348
350
|
#
|
349
351
|
# @option params [String] :range
|
350
352
|
# The range bytes of an object to retrieve. For more information about
|
351
|
-
# the `Range` header,
|
353
|
+
# the `Range` header, see
|
352
354
|
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35][1].
|
355
|
+
# AWS Elemental MediaStore ignores this header for partially uploaded
|
356
|
+
# objects that have streaming upload availability.
|
353
357
|
#
|
354
358
|
#
|
355
359
|
#
|
@@ -455,7 +459,8 @@ module Aws::MediaStoreData
|
|
455
459
|
end
|
456
460
|
|
457
461
|
# Uploads an object to the specified path. Object sizes are limited to
|
458
|
-
# 25 MB
|
462
|
+
# 25 MB for standard upload availability and 10 MB for streaming upload
|
463
|
+
# availability.
|
459
464
|
#
|
460
465
|
# @option params [required, String, IO] :body
|
461
466
|
# The bytes to be stored.
|
@@ -512,6 +517,17 @@ module Aws::MediaStoreData
|
|
512
517
|
# high-performance temporal storage class, and objects are persisted
|
513
518
|
# into durable storage shortly after being received.
|
514
519
|
#
|
520
|
+
# @option params [String] :upload_availability
|
521
|
+
# Indicates the availability of an object while it is still uploading.
|
522
|
+
# If the value is set to `streaming`, the object is available for
|
523
|
+
# downloading after some initial buffering but before the object is
|
524
|
+
# uploaded completely. If the value is set to `standard`, the object is
|
525
|
+
# available for downloading only when it is uploaded completely. The
|
526
|
+
# default value for this header is `standard`.
|
527
|
+
#
|
528
|
+
# To use this header, you must also set the HTTP `Transfer-Encoding`
|
529
|
+
# header to `chunked`.
|
530
|
+
#
|
515
531
|
# @return [Types::PutObjectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
516
532
|
#
|
517
533
|
# * {Types::PutObjectResponse#content_sha256 #content_sha256} => String
|
@@ -526,6 +542,7 @@ module Aws::MediaStoreData
|
|
526
542
|
# content_type: "ContentType",
|
527
543
|
# cache_control: "StringPrimitive",
|
528
544
|
# storage_class: "TEMPORAL", # accepts TEMPORAL
|
545
|
+
# upload_availability: "STANDARD", # accepts STANDARD, STREAMING
|
529
546
|
# })
|
530
547
|
#
|
531
548
|
# @example Response structure
|
@@ -556,7 +573,7 @@ module Aws::MediaStoreData
|
|
556
573
|
params: params,
|
557
574
|
config: config)
|
558
575
|
context[:gem_name] = 'aws-sdk-mediastoredata'
|
559
|
-
context[:gem_version] = '1.
|
576
|
+
context[:gem_version] = '1.15.0'
|
560
577
|
Seahorse::Client::Request.new(handlers, context)
|
561
578
|
end
|
562
579
|
|
@@ -44,6 +44,7 @@ module Aws::MediaStoreData
|
|
44
44
|
StorageClass = Shapes::StringShape.new(name: 'StorageClass')
|
45
45
|
StringPrimitive = Shapes::StringShape.new(name: 'StringPrimitive')
|
46
46
|
TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp')
|
47
|
+
UploadAvailability = Shapes::StringShape.new(name: 'UploadAvailability')
|
47
48
|
statusCode = Shapes::IntegerShape.new(name: 'statusCode')
|
48
49
|
|
49
50
|
ContainerNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -110,6 +111,7 @@ module Aws::MediaStoreData
|
|
110
111
|
PutObjectRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location: "header", location_name: "Content-Type"))
|
111
112
|
PutObjectRequest.add_member(:cache_control, Shapes::ShapeRef.new(shape: StringPrimitive, location: "header", location_name: "Cache-Control"))
|
112
113
|
PutObjectRequest.add_member(:storage_class, Shapes::ShapeRef.new(shape: StorageClass, location: "header", location_name: "x-amz-storage-class"))
|
114
|
+
PutObjectRequest.add_member(:upload_availability, Shapes::ShapeRef.new(shape: UploadAvailability, location: "header", location_name: "x-amz-upload-availability"))
|
113
115
|
PutObjectRequest.struct_class = Types::PutObjectRequest
|
114
116
|
PutObjectRequest[:payload] = :body
|
115
117
|
PutObjectRequest[:payload_member] = PutObjectRequest.member(:body)
|
@@ -182,6 +184,12 @@ module Aws::MediaStoreData
|
|
182
184
|
o.output = Shapes::ShapeRef.new(shape: ListItemsResponse)
|
183
185
|
o.errors << Shapes::ShapeRef.new(shape: ContainerNotFoundException)
|
184
186
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
187
|
+
o[:pager] = Aws::Pager.new(
|
188
|
+
limit_key: "max_results",
|
189
|
+
tokens: {
|
190
|
+
"next_token" => "next_token"
|
191
|
+
}
|
192
|
+
)
|
185
193
|
end)
|
186
194
|
|
187
195
|
api.add_operation(:put_object, Seahorse::Model::Operation.new.tap do |o|
|
@@ -148,8 +148,10 @@ module Aws::MediaStoreData
|
|
148
148
|
#
|
149
149
|
# @!attribute [rw] range
|
150
150
|
# The range bytes of an object to retrieve. For more information about
|
151
|
-
# the `Range` header,
|
151
|
+
# the `Range` header, see
|
152
152
|
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35][1].
|
153
|
+
# AWS Elemental MediaStore ignores this header for partially uploaded
|
154
|
+
# objects that have streaming upload availability.
|
153
155
|
#
|
154
156
|
#
|
155
157
|
#
|
@@ -360,6 +362,7 @@ module Aws::MediaStoreData
|
|
360
362
|
# content_type: "ContentType",
|
361
363
|
# cache_control: "StringPrimitive",
|
362
364
|
# storage_class: "TEMPORAL", # accepts TEMPORAL
|
365
|
+
# upload_availability: "STANDARD", # accepts STANDARD, STREAMING
|
363
366
|
# }
|
364
367
|
#
|
365
368
|
# @!attribute [rw] body
|
@@ -423,6 +426,18 @@ module Aws::MediaStoreData
|
|
423
426
|
# into durable storage shortly after being received.
|
424
427
|
# @return [String]
|
425
428
|
#
|
429
|
+
# @!attribute [rw] upload_availability
|
430
|
+
# Indicates the availability of an object while it is still uploading.
|
431
|
+
# If the value is set to `streaming`, the object is available for
|
432
|
+
# downloading after some initial buffering but before the object is
|
433
|
+
# uploaded completely. If the value is set to `standard`, the object
|
434
|
+
# is available for downloading only when it is uploaded completely.
|
435
|
+
# The default value for this header is `standard`.
|
436
|
+
#
|
437
|
+
# To use this header, you must also set the HTTP `Transfer-Encoding`
|
438
|
+
# header to `chunked`.
|
439
|
+
# @return [String]
|
440
|
+
#
|
426
441
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/PutObjectRequest AWS API Documentation
|
427
442
|
#
|
428
443
|
class PutObjectRequest < Struct.new(
|
@@ -430,7 +445,8 @@ module Aws::MediaStoreData
|
|
430
445
|
:path,
|
431
446
|
:content_type,
|
432
447
|
:cache_control,
|
433
|
-
:storage_class
|
448
|
+
:storage_class,
|
449
|
+
:upload_availability)
|
434
450
|
include Aws::Structure
|
435
451
|
end
|
436
452
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-mediastoredata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|