aws-sdk-s3 1.180.0 → 1.181.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1605,6 +1605,7 @@ module Aws::S3
1605
1605
  HeadObjectOutput.add_member(:content_encoding, Shapes::ShapeRef.new(shape: ContentEncoding, location: "header", location_name: "Content-Encoding"))
1606
1606
  HeadObjectOutput.add_member(:content_language, Shapes::ShapeRef.new(shape: ContentLanguage, location: "header", location_name: "Content-Language"))
1607
1607
  HeadObjectOutput.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, location: "header", location_name: "Content-Type"))
1608
+ HeadObjectOutput.add_member(:content_range, Shapes::ShapeRef.new(shape: ContentRange, location: "header", location_name: "Content-Range"))
1608
1609
  HeadObjectOutput.add_member(:expires, Shapes::ShapeRef.new(shape: Expires, location: "header", location_name: "Expires"))
1609
1610
  HeadObjectOutput.add_member(:expires_string, Shapes::ShapeRef.new(shape: ExpiresString, location: "header", location_name: "Expires"))
1610
1611
  HeadObjectOutput.add_member(:website_redirect_location, Shapes::ShapeRef.new(shape: WebsiteRedirectLocation, location: "header", location_name: "x-amz-website-redirect-location"))
@@ -335,7 +335,7 @@ module Aws::S3
335
335
  # @option options [String] :checksum_crc32
336
336
  # This header can be used as a data integrity check to verify that the
337
337
  # data received is the same data that was originally sent. This header
338
- # specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object.
338
+ # specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
339
339
  # For more information, see [Checking object integrity][1] in the
340
340
  # *Amazon S3 User Guide*.
341
341
  #
@@ -345,7 +345,7 @@ module Aws::S3
345
345
  # @option options [String] :checksum_crc32c
346
346
  # This header can be used as a data integrity check to verify that the
347
347
  # data received is the same data that was originally sent. This header
348
- # specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object.
348
+ # specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
349
349
  # For more information, see [Checking object integrity][1] in the
350
350
  # *Amazon S3 User Guide*.
351
351
  #
@@ -355,10 +355,10 @@ module Aws::S3
355
355
  # @option options [String] :checksum_crc64nvme
356
356
  # This header can be used as a data integrity check to verify that the
357
357
  # data received is the same data that was originally sent. This header
358
- # specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
359
- # object. The `CRC-64NVME` checksum is always a full object checksum.
360
- # For more information, see [Checking object integrity in the Amazon S3
361
- # User Guide][1].
358
+ # specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the
359
+ # object. The `CRC64NVME` checksum is always a full object checksum. For
360
+ # more information, see [Checking object integrity in the Amazon S3 User
361
+ # Guide][1].
362
362
  #
363
363
  #
364
364
  #
@@ -366,9 +366,9 @@ module Aws::S3
366
366
  # @option options [String] :checksum_sha1
367
367
  # This header can be used as a data integrity check to verify that the
368
368
  # data received is the same data that was originally sent. This header
369
- # specifies the Base64 encoded, 160-bit `SHA-1` digest of the object.
370
- # For more information, see [Checking object integrity][1] in the
371
- # *Amazon S3 User Guide*.
369
+ # specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
370
+ # more information, see [Checking object integrity][1] in the *Amazon S3
371
+ # User Guide*.
372
372
  #
373
373
  #
374
374
  #
@@ -376,7 +376,7 @@ module Aws::S3
376
376
  # @option options [String] :checksum_sha256
377
377
  # This header can be used as a data integrity check to verify that the
378
378
  # data received is the same data that was originally sent. This header
379
- # specifies the Base64 encoded, 256-bit `SHA-256` digest of the object.
379
+ # specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
380
380
  # For more information, see [Checking object integrity][1] in the
381
381
  # *Amazon S3 User Guide*.
382
382
  #
@@ -76,10 +76,10 @@ module Aws::S3
76
76
  data[:size]
77
77
  end
78
78
 
79
- # The Base64 encoded, 32-bit `CRC-32` checksum of the part. This
80
- # checksum is present if the object was uploaded with the `CRC-32`
81
- # checksum algorithm. For more information, see [Checking object
82
- # integrity][1] in the *Amazon S3 User Guide*.
79
+ # The Base64 encoded, 32-bit `CRC32` checksum of the part. This checksum
80
+ # is present if the object was uploaded with the `CRC32` checksum
81
+ # algorithm. For more information, see [Checking object integrity][1] in
82
+ # the *Amazon S3 User Guide*.
83
83
  #
84
84
  #
85
85
  #
@@ -89,8 +89,8 @@ module Aws::S3
89
89
  data[:checksum_crc32]
90
90
  end
91
91
 
92
- # The Base64 encoded, 32-bit `CRC-32C` checksum of the part. This
93
- # checksum is present if the object was uploaded with the `CRC-32C`
92
+ # The Base64 encoded, 32-bit `CRC32C` checksum of the part. This
93
+ # checksum is present if the object was uploaded with the `CRC32C`
94
94
  # checksum algorithm. For more information, see [Checking object
95
95
  # integrity][1] in the *Amazon S3 User Guide*.
96
96
  #
@@ -102,11 +102,11 @@ module Aws::S3
102
102
  data[:checksum_crc32c]
103
103
  end
104
104
 
105
- # The Base64 encoded, 64-bit `CRC-64NVME` checksum of the part. This
105
+ # The Base64 encoded, 64-bit `CRC64NVME` checksum of the part. This
106
106
  # checksum is present if the multipart upload request was created with
107
- # the `CRC-64NVME` checksum algorithm, or if the object was uploaded
107
+ # the `CRC64NVME` checksum algorithm, or if the object was uploaded
108
108
  # without a checksum (and Amazon S3 added the default checksum,
109
- # `CRC-64NVME`, to the uploaded object). For more information, see
109
+ # `CRC64NVME`, to the uploaded object). For more information, see
110
110
  # [Checking object integrity][1] in the *Amazon S3 User Guide*.
111
111
  #
112
112
  #
@@ -117,10 +117,10 @@ module Aws::S3
117
117
  data[:checksum_crc64nvme]
118
118
  end
119
119
 
120
- # The Base64 encoded, 160-bit `SHA-1` checksum of the part. This
121
- # checksum is present if the object was uploaded with the `SHA-1`
122
- # checksum algorithm. For more information, see [Checking object
123
- # integrity][1] in the *Amazon S3 User Guide*.
120
+ # The Base64 encoded, 160-bit `SHA1` checksum of the part. This checksum
121
+ # is present if the object was uploaded with the `SHA1` checksum
122
+ # algorithm. For more information, see [Checking object integrity][1] in
123
+ # the *Amazon S3 User Guide*.
124
124
  #
125
125
  #
126
126
  #
@@ -130,8 +130,8 @@ module Aws::S3
130
130
  data[:checksum_sha1]
131
131
  end
132
132
 
133
- # The Base64 encoded, 256-bit `SHA-256` checksum of the part. This
134
- # checksum is present if the object was uploaded with the `SHA-256`
133
+ # The Base64 encoded, 256-bit `SHA256` checksum of the part. This
134
+ # checksum is present if the object was uploaded with the `SHA256`
135
135
  # checksum algorithm. For more information, see [Checking object
136
136
  # integrity][1] in the *Amazon S3 User Guide*.
137
137
  #
@@ -564,7 +564,7 @@ module Aws::S3
564
564
  # @option options [String] :checksum_crc32
565
565
  # This header can be used as a data integrity check to verify that the
566
566
  # data received is the same data that was originally sent. This header
567
- # specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object.
567
+ # specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
568
568
  # For more information, see [Checking object integrity][1] in the
569
569
  # *Amazon S3 User Guide*.
570
570
  #
@@ -574,7 +574,7 @@ module Aws::S3
574
574
  # @option options [String] :checksum_crc32c
575
575
  # This header can be used as a data integrity check to verify that the
576
576
  # data received is the same data that was originally sent. This header
577
- # specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object.
577
+ # specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
578
578
  # For more information, see [Checking object integrity][1] in the
579
579
  # *Amazon S3 User Guide*.
580
580
  #
@@ -584,8 +584,8 @@ module Aws::S3
584
584
  # @option options [String] :checksum_crc64nvme
585
585
  # This header can be used as a data integrity check to verify that the
586
586
  # data received is the same data that was originally sent. This header
587
- # specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
588
- # part. For more information, see [Checking object integrity][1] in the
587
+ # specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the part.
588
+ # For more information, see [Checking object integrity][1] in the
589
589
  # *Amazon S3 User Guide*.
590
590
  #
591
591
  #
@@ -594,9 +594,9 @@ module Aws::S3
594
594
  # @option options [String] :checksum_sha1
595
595
  # This header can be used as a data integrity check to verify that the
596
596
  # data received is the same data that was originally sent. This header
597
- # specifies the Base64 encoded, 160-bit `SHA-1` digest of the object.
598
- # For more information, see [Checking object integrity][1] in the
599
- # *Amazon S3 User Guide*.
597
+ # specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
598
+ # more information, see [Checking object integrity][1] in the *Amazon S3
599
+ # User Guide*.
600
600
  #
601
601
  #
602
602
  #
@@ -604,7 +604,7 @@ module Aws::S3
604
604
  # @option options [String] :checksum_sha256
605
605
  # This header can be used as a data integrity check to verify that the
606
606
  # data received is the same data that was originally sent. This header
607
- # specifies the Base64 encoded, 256-bit `SHA-256` digest of the object.
607
+ # specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
608
608
  # For more information, see [Checking object integrity][1] in the
609
609
  # *Amazon S3 User Guide*.
610
610
  #
@@ -134,7 +134,7 @@ module Aws::S3
134
134
  data[:content_length]
135
135
  end
136
136
 
137
- # The Base64 encoded, 32-bit `CRC-32 checksum` of the object. This
137
+ # The Base64 encoded, 32-bit `CRC32 checksum` of the object. This
138
138
  # checksum is only be present if the checksum was uploaded with the
139
139
  # object. When you use an API operation on an object that was uploaded
140
140
  # using multipart uploads, this value may not be a direct checksum value
@@ -151,7 +151,7 @@ module Aws::S3
151
151
  data[:checksum_crc32]
152
152
  end
153
153
 
154
- # The Base64 encoded, 32-bit `CRC-32C` checksum of the object. This
154
+ # The Base64 encoded, 32-bit `CRC32C` checksum of the object. This
155
155
  # checksum is only present if the checksum was uploaded with the object.
156
156
  # When you use an API operation on an object that was uploaded using
157
157
  # multipart uploads, this value may not be a direct checksum value of
@@ -168,7 +168,7 @@ module Aws::S3
168
168
  data[:checksum_crc32c]
169
169
  end
170
170
 
171
- # The Base64 encoded, 64-bit `CRC-64NVME` checksum of the object. For
171
+ # The Base64 encoded, 64-bit `CRC64NVME` checksum of the object. For
172
172
  # more information, see [Checking object integrity in the Amazon S3 User
173
173
  # Guide][1].
174
174
  #
@@ -180,7 +180,7 @@ module Aws::S3
180
180
  data[:checksum_crc64nvme]
181
181
  end
182
182
 
183
- # The Base64 encoded, 160-bit `SHA-1` digest of the object. This will
183
+ # The Base64 encoded, 160-bit `SHA1` digest of the object. This will
184
184
  # only be present if the object was uploaded with the object. When you
185
185
  # use the API operation on an object that was uploaded using multipart
186
186
  # uploads, this value may not be a direct checksum value of the full
@@ -197,7 +197,7 @@ module Aws::S3
197
197
  data[:checksum_sha1]
198
198
  end
199
199
 
200
- # The Base64 encoded, 256-bit `SHA-256` digest of the object. This will
200
+ # The Base64 encoded, 256-bit `SHA256` digest of the object. This will
201
201
  # only be present if the object was uploaded with the object. When you
202
202
  # use an API operation on an object that was uploaded using multipart
203
203
  # uploads, this value may not be a direct checksum value of the full
@@ -292,6 +292,13 @@ module Aws::S3
292
292
  data[:content_type]
293
293
  end
294
294
 
295
+ # The portion of the object returned in the response for a `GET`
296
+ # request.
297
+ # @return [String]
298
+ def content_range
299
+ data[:content_range]
300
+ end
301
+
295
302
  # The date and time at which the object is no longer cacheable.
296
303
  # @return [Time]
297
304
  def expires
@@ -2537,15 +2544,15 @@ module Aws::S3
2537
2544
  # For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
2538
2545
  # the supported algorithm from the following list:
2539
2546
  #
2540
- # * `CRC-32`
2547
+ # * `CRC32`
2541
2548
  #
2542
- # * `CRC-32C`
2549
+ # * `CRC32C`
2543
2550
  #
2544
- # * `CRC-64NVME`
2551
+ # * `CRC64NVME`
2545
2552
  #
2546
- # * `SHA-1`
2553
+ # * `SHA1`
2547
2554
  #
2548
- # * `SHA-256`
2555
+ # * `SHA256`
2549
2556
  #
2550
2557
  # For more information, see [Checking object integrity][1] in the
2551
2558
  # *Amazon S3 User Guide*.
@@ -2573,7 +2580,7 @@ module Aws::S3
2573
2580
  # @option options [String] :checksum_crc32
2574
2581
  # This header can be used as a data integrity check to verify that the
2575
2582
  # data received is the same data that was originally sent. This header
2576
- # specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object.
2583
+ # specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
2577
2584
  # For more information, see [Checking object integrity][1] in the
2578
2585
  # *Amazon S3 User Guide*.
2579
2586
  #
@@ -2583,7 +2590,7 @@ module Aws::S3
2583
2590
  # @option options [String] :checksum_crc32c
2584
2591
  # This header can be used as a data integrity check to verify that the
2585
2592
  # data received is the same data that was originally sent. This header
2586
- # specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object.
2593
+ # specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
2587
2594
  # For more information, see [Checking object integrity][1] in the
2588
2595
  # *Amazon S3 User Guide*.
2589
2596
  #
@@ -2593,10 +2600,10 @@ module Aws::S3
2593
2600
  # @option options [String] :checksum_crc64nvme
2594
2601
  # This header can be used as a data integrity check to verify that the
2595
2602
  # data received is the same data that was originally sent. This header
2596
- # specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
2597
- # object. The `CRC-64NVME` checksum is always a full object checksum.
2598
- # For more information, see [Checking object integrity in the Amazon S3
2599
- # User Guide][1].
2603
+ # specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the
2604
+ # object. The `CRC64NVME` checksum is always a full object checksum. For
2605
+ # more information, see [Checking object integrity in the Amazon S3 User
2606
+ # Guide][1].
2600
2607
  #
2601
2608
  #
2602
2609
  #
@@ -2604,9 +2611,9 @@ module Aws::S3
2604
2611
  # @option options [String] :checksum_sha1
2605
2612
  # This header can be used as a data integrity check to verify that the
2606
2613
  # data received is the same data that was originally sent. This header
2607
- # specifies the Base64 encoded, 160-bit `SHA-1` digest of the object.
2608
- # For more information, see [Checking object integrity][1] in the
2609
- # *Amazon S3 User Guide*.
2614
+ # specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
2615
+ # more information, see [Checking object integrity][1] in the *Amazon S3
2616
+ # User Guide*.
2610
2617
  #
2611
2618
  #
2612
2619
  #
@@ -2614,7 +2621,7 @@ module Aws::S3
2614
2621
  # @option options [String] :checksum_sha256
2615
2622
  # This header can be used as a data integrity check to verify that the
2616
2623
  # data received is the same data that was originally sent. This header
2617
- # specifies the Base64 encoded, 256-bit `SHA-256` digest of the object.
2624
+ # specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
2618
2625
  # For more information, see [Checking object integrity][1] in the
2619
2626
  # *Amazon S3 User Guide*.
2620
2627
  #
@@ -3506,15 +3513,15 @@ module Aws::S3
3506
3513
  # For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
3507
3514
  # the supported algorithm from the following list:
3508
3515
  #
3509
- # * `CRC-32`
3516
+ # * `CRC32`
3510
3517
  #
3511
- # * `CRC-32C`
3518
+ # * `CRC32C`
3512
3519
  #
3513
- # * `CRC-64NVME`
3520
+ # * `CRC64NVME`
3514
3521
  #
3515
- # * `SHA-1`
3522
+ # * `SHA1`
3516
3523
  #
3517
- # * `SHA-256`
3524
+ # * `SHA256`
3518
3525
  #
3519
3526
  # For more information, see [Checking object integrity][1] in the
3520
3527
  # *Amazon S3 User Guide*.
@@ -2170,15 +2170,15 @@ module Aws::S3
2170
2170
  # For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
2171
2171
  # the supported algorithm from the following list:
2172
2172
  #
2173
- # * `CRC-32`
2173
+ # * `CRC32`
2174
2174
  #
2175
- # * `CRC-32C`
2175
+ # * `CRC32C`
2176
2176
  #
2177
- # * `CRC-64NVME`
2177
+ # * `CRC64NVME`
2178
2178
  #
2179
- # * `SHA-1`
2179
+ # * `SHA1`
2180
2180
  #
2181
- # * `SHA-256`
2181
+ # * `SHA256`
2182
2182
  #
2183
2183
  # For more information, see [Checking object integrity][1] in the
2184
2184
  # *Amazon S3 User Guide*.
@@ -2206,7 +2206,7 @@ module Aws::S3
2206
2206
  # @option options [String] :checksum_crc32
2207
2207
  # This header can be used as a data integrity check to verify that the
2208
2208
  # data received is the same data that was originally sent. This header
2209
- # specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object.
2209
+ # specifies the Base64 encoded, 32-bit `CRC32` checksum of the object.
2210
2210
  # For more information, see [Checking object integrity][1] in the
2211
2211
  # *Amazon S3 User Guide*.
2212
2212
  #
@@ -2216,7 +2216,7 @@ module Aws::S3
2216
2216
  # @option options [String] :checksum_crc32c
2217
2217
  # This header can be used as a data integrity check to verify that the
2218
2218
  # data received is the same data that was originally sent. This header
2219
- # specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the object.
2219
+ # specifies the Base64 encoded, 32-bit `CRC32C` checksum of the object.
2220
2220
  # For more information, see [Checking object integrity][1] in the
2221
2221
  # *Amazon S3 User Guide*.
2222
2222
  #
@@ -2226,10 +2226,10 @@ module Aws::S3
2226
2226
  # @option options [String] :checksum_crc64nvme
2227
2227
  # This header can be used as a data integrity check to verify that the
2228
2228
  # data received is the same data that was originally sent. This header
2229
- # specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
2230
- # object. The `CRC-64NVME` checksum is always a full object checksum.
2231
- # For more information, see [Checking object integrity in the Amazon S3
2232
- # User Guide][1].
2229
+ # specifies the Base64 encoded, 64-bit `CRC64NVME` checksum of the
2230
+ # object. The `CRC64NVME` checksum is always a full object checksum. For
2231
+ # more information, see [Checking object integrity in the Amazon S3 User
2232
+ # Guide][1].
2233
2233
  #
2234
2234
  #
2235
2235
  #
@@ -2237,9 +2237,9 @@ module Aws::S3
2237
2237
  # @option options [String] :checksum_sha1
2238
2238
  # This header can be used as a data integrity check to verify that the
2239
2239
  # data received is the same data that was originally sent. This header
2240
- # specifies the Base64 encoded, 160-bit `SHA-1` digest of the object.
2241
- # For more information, see [Checking object integrity][1] in the
2242
- # *Amazon S3 User Guide*.
2240
+ # specifies the Base64 encoded, 160-bit `SHA1` digest of the object. For
2241
+ # more information, see [Checking object integrity][1] in the *Amazon S3
2242
+ # User Guide*.
2243
2243
  #
2244
2244
  #
2245
2245
  #
@@ -2247,7 +2247,7 @@ module Aws::S3
2247
2247
  # @option options [String] :checksum_sha256
2248
2248
  # This header can be used as a data integrity check to verify that the
2249
2249
  # data received is the same data that was originally sent. This header
2250
- # specifies the Base64 encoded, 256-bit `SHA-256` digest of the object.
2250
+ # specifies the Base64 encoded, 256-bit `SHA256` digest of the object.
2251
2251
  # For more information, see [Checking object integrity][1] in the
2252
2252
  # *Amazon S3 User Guide*.
2253
2253
  #
@@ -2949,15 +2949,15 @@ module Aws::S3
2949
2949
  # For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
2950
2950
  # the supported algorithm from the following list:
2951
2951
  #
2952
- # * `CRC-32`
2952
+ # * `CRC32`
2953
2953
  #
2954
- # * `CRC-32C`
2954
+ # * `CRC32C`
2955
2955
  #
2956
- # * `CRC-64NVME`
2956
+ # * `CRC64NVME`
2957
2957
  #
2958
- # * `SHA-1`
2958
+ # * `SHA1`
2959
2959
  #
2960
- # * `SHA-256`
2960
+ # * `SHA256`
2961
2961
  #
2962
2962
  # For more information, see [Checking object integrity][1] in the
2963
2963
  # *Amazon S3 User Guide*.
@@ -915,15 +915,15 @@ module Aws::S3
915
915
  # For the `x-amz-checksum-algorithm ` header, replace ` algorithm ` with
916
916
  # the supported algorithm from the following list:
917
917
  #
918
- # * `CRC-32`
918
+ # * `CRC32`
919
919
  #
920
- # * `CRC-32C`
920
+ # * `CRC32C`
921
921
  #
922
- # * `CRC-64NVME`
922
+ # * `CRC64NVME`
923
923
  #
924
- # * `SHA-1`
924
+ # * `SHA1`
925
925
  #
926
- # * `SHA-256`
926
+ # * `SHA256`
927
927
  #
928
928
  # For more information, see [Checking object integrity][1] in the
929
929
  # *Amazon S3 User Guide*.