aws-sdk-s3 1.13.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-s3/client.rb +262 -181
- data/lib/aws-sdk-s3/client_api.rb +33 -2
- data/lib/aws-sdk-s3/customizations/bucket.rb +2 -2
- data/lib/aws-sdk-s3/customizations/object.rb +60 -0
- data/lib/aws-sdk-s3/customizations/object_summary.rb +7 -0
- data/lib/aws-sdk-s3/customizations.rb +1 -0
- data/lib/aws-sdk-s3/file_downloader.rb +10 -9
- data/lib/aws-sdk-s3/file_part.rb +5 -7
- data/lib/aws-sdk-s3/file_uploader.rb +1 -3
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +160 -0
- data/lib/aws-sdk-s3/object.rb +4 -1
- data/lib/aws-sdk-s3/object_summary.rb +4 -1
- data/lib/aws-sdk-s3/plugins/md5s.rb +1 -1
- data/lib/aws-sdk-s3/plugins/redirects.rb +3 -1
- data/lib/aws-sdk-s3/plugins/s3_signer.rb +5 -1
- data/lib/aws-sdk-s3/presigner.rb +1 -0
- data/lib/aws-sdk-s3/types.rb +296 -29
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +5 -4
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -549,6 +549,7 @@ module Aws::S3
|
|
549
549
|
# record_delimiter: "RecordDelimiter",
|
550
550
|
# field_delimiter: "FieldDelimiter",
|
551
551
|
# quote_character: "QuoteCharacter",
|
552
|
+
# allow_quoted_record_delimiter: false,
|
552
553
|
# }
|
553
554
|
#
|
554
555
|
# @!attribute [rw] file_header_info
|
@@ -578,6 +579,12 @@ module Aws::S3
|
|
578
579
|
# value.
|
579
580
|
# @return [String]
|
580
581
|
#
|
582
|
+
# @!attribute [rw] allow_quoted_record_delimiter
|
583
|
+
# Specifies that CSV field values may contain quoted record delimiters
|
584
|
+
# and such records should be allowed. Default value is FALSE. Setting
|
585
|
+
# this value to TRUE may lower performance.
|
586
|
+
# @return [Boolean]
|
587
|
+
#
|
581
588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CSVInput AWS API Documentation
|
582
589
|
#
|
583
590
|
class CSVInput < Struct.new(
|
@@ -586,7 +593,8 @@ module Aws::S3
|
|
586
593
|
:quote_escape_character,
|
587
594
|
:record_delimiter,
|
588
595
|
:field_delimiter,
|
589
|
-
:quote_character
|
596
|
+
:quote_character,
|
597
|
+
:allow_quoted_record_delimiter)
|
590
598
|
include Aws::Structure
|
591
599
|
end
|
592
600
|
|
@@ -1723,6 +1731,17 @@ module Aws::S3
|
|
1723
1731
|
# }
|
1724
1732
|
#
|
1725
1733
|
# @!attribute [rw] bucket
|
1734
|
+
# Deletes the replication subresource associated with the specified
|
1735
|
+
# bucket.
|
1736
|
+
#
|
1737
|
+
# <note markdown="1"> There is usually some time lag before replication configuration
|
1738
|
+
# deletion is fully propagated to all the Amazon S3 systems.
|
1739
|
+
#
|
1740
|
+
# </note>
|
1741
|
+
#
|
1742
|
+
# For more information, see [Cross-Region Replication (CRR)](
|
1743
|
+
# https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html) in the
|
1744
|
+
# Amazon S3 Developer Guide.
|
1726
1745
|
# @return [String]
|
1727
1746
|
#
|
1728
1747
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplicationRequest AWS API Documentation
|
@@ -1814,6 +1833,31 @@ module Aws::S3
|
|
1814
1833
|
include Aws::Structure
|
1815
1834
|
end
|
1816
1835
|
|
1836
|
+
# Specifies whether Amazon S3 should replicate delete makers.
|
1837
|
+
#
|
1838
|
+
# @note When making an API call, you may pass DeleteMarkerReplication
|
1839
|
+
# data as a hash:
|
1840
|
+
#
|
1841
|
+
# {
|
1842
|
+
# status: "Enabled", # accepts Enabled, Disabled
|
1843
|
+
# }
|
1844
|
+
#
|
1845
|
+
# @!attribute [rw] status
|
1846
|
+
# The status of the delete marker replication.
|
1847
|
+
#
|
1848
|
+
# <note markdown="1"> In the current implementation, Amazon S3 does not replicate the
|
1849
|
+
# delete markers. Therefore, the status must be `Disabled`.
|
1850
|
+
#
|
1851
|
+
# </note>
|
1852
|
+
# @return [String]
|
1853
|
+
#
|
1854
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteMarkerReplication AWS API Documentation
|
1855
|
+
#
|
1856
|
+
class DeleteMarkerReplication < Struct.new(
|
1857
|
+
:status)
|
1858
|
+
include Aws::Structure
|
1859
|
+
end
|
1860
|
+
|
1817
1861
|
# @!attribute [rw] delete_marker
|
1818
1862
|
# Specifies whether the versioned object that was permanently deleted
|
1819
1863
|
# was (true) or was not (false) a delete marker.
|
@@ -2033,11 +2077,20 @@ module Aws::S3
|
|
2033
2077
|
# @!attribute [rw] bucket
|
2034
2078
|
# Amazon resource name (ARN) of the bucket where you want Amazon S3 to
|
2035
2079
|
# store replicas of the object identified by the rule.
|
2080
|
+
#
|
2081
|
+
# If you have multiple rules in your replication configuration, all
|
2082
|
+
# rules must specify the same bucket as the destination. A replication
|
2083
|
+
# configuration can replicate objects only to one destination bucket.
|
2036
2084
|
# @return [String]
|
2037
2085
|
#
|
2038
2086
|
# @!attribute [rw] account
|
2039
|
-
# Account ID of the destination bucket. Currently
|
2040
|
-
#
|
2087
|
+
# Account ID of the destination bucket. Currently Amazon S3 verifies
|
2088
|
+
# this value only if Access Control Translation is enabled.
|
2089
|
+
#
|
2090
|
+
# In a cross-account scenario, if you tell Amazon S3 to change replica
|
2091
|
+
# ownership to the AWS account that owns the destination bucket by
|
2092
|
+
# adding the `AccessControlTranslation` element, this is the account
|
2093
|
+
# ID of the destination bucket owner.
|
2041
2094
|
# @return [String]
|
2042
2095
|
#
|
2043
2096
|
# @!attribute [rw] storage_class
|
@@ -2046,11 +2099,17 @@ module Aws::S3
|
|
2046
2099
|
#
|
2047
2100
|
# @!attribute [rw] access_control_translation
|
2048
2101
|
# Container for information regarding the access control for replicas.
|
2102
|
+
#
|
2103
|
+
# Use only in a cross-account scenario, where source and destination
|
2104
|
+
# bucket owners are not the same, when you want to change replica
|
2105
|
+
# ownership to the AWS account that owns the destination bucket. If
|
2106
|
+
# you don't add this element to the replication configuration, the
|
2107
|
+
# replicas are owned by same AWS account that owns the source object.
|
2049
2108
|
# @return [Types::AccessControlTranslation]
|
2050
2109
|
#
|
2051
2110
|
# @!attribute [rw] encryption_configuration
|
2052
|
-
# Container
|
2053
|
-
#
|
2111
|
+
# Container that provides encryption-related information. You must
|
2112
|
+
# specify this element if the `SourceSelectionCriteria` is specified.
|
2054
2113
|
# @return [Types::EncryptionConfiguration]
|
2055
2114
|
#
|
2056
2115
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Destination AWS API Documentation
|
@@ -2111,7 +2170,9 @@ module Aws::S3
|
|
2111
2170
|
# }
|
2112
2171
|
#
|
2113
2172
|
# @!attribute [rw] replica_kms_key_id
|
2114
|
-
# The
|
2173
|
+
# The ID of the AWS KMS key for the region where the destination
|
2174
|
+
# bucket resides. Amazon S3 uses this key to encrypt the replica
|
2175
|
+
# object.
|
2115
2176
|
# @return [String]
|
2116
2177
|
#
|
2117
2178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/EncryptionConfiguration AWS API Documentation
|
@@ -3632,11 +3693,14 @@ module Aws::S3
|
|
3632
3693
|
# record_delimiter: "RecordDelimiter",
|
3633
3694
|
# field_delimiter: "FieldDelimiter",
|
3634
3695
|
# quote_character: "QuoteCharacter",
|
3696
|
+
# allow_quoted_record_delimiter: false,
|
3635
3697
|
# },
|
3636
|
-
# compression_type: "NONE", # accepts NONE, GZIP
|
3698
|
+
# compression_type: "NONE", # accepts NONE, GZIP, BZIP2
|
3637
3699
|
# json: {
|
3638
3700
|
# type: "DOCUMENT", # accepts DOCUMENT, LINES
|
3639
3701
|
# },
|
3702
|
+
# parquet: {
|
3703
|
+
# },
|
3640
3704
|
# }
|
3641
3705
|
#
|
3642
3706
|
# @!attribute [rw] csv
|
@@ -3644,20 +3708,25 @@ module Aws::S3
|
|
3644
3708
|
# @return [Types::CSVInput]
|
3645
3709
|
#
|
3646
3710
|
# @!attribute [rw] compression_type
|
3647
|
-
# Specifies object's compression format. Valid values: NONE, GZIP
|
3648
|
-
# Default Value: NONE.
|
3711
|
+
# Specifies object's compression format. Valid values: NONE, GZIP,
|
3712
|
+
# BZIP2. Default Value: NONE.
|
3649
3713
|
# @return [String]
|
3650
3714
|
#
|
3651
3715
|
# @!attribute [rw] json
|
3652
3716
|
# Specifies JSON as object's input serialization format.
|
3653
3717
|
# @return [Types::JSONInput]
|
3654
3718
|
#
|
3719
|
+
# @!attribute [rw] parquet
|
3720
|
+
# Specifies Parquet as object's input serialization format.
|
3721
|
+
# @return [Types::ParquetInput]
|
3722
|
+
#
|
3655
3723
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/InputSerialization AWS API Documentation
|
3656
3724
|
#
|
3657
3725
|
class InputSerialization < Struct.new(
|
3658
3726
|
:csv,
|
3659
3727
|
:compression_type,
|
3660
|
-
:json
|
3728
|
+
:json,
|
3729
|
+
:parquet)
|
3661
3730
|
include Aws::Structure
|
3662
3731
|
end
|
3663
3732
|
|
@@ -5773,6 +5842,12 @@ module Aws::S3
|
|
5773
5842
|
include Aws::Structure
|
5774
5843
|
end
|
5775
5844
|
|
5845
|
+
# @api private
|
5846
|
+
#
|
5847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ParquetInput AWS API Documentation
|
5848
|
+
#
|
5849
|
+
class ParquetInput < Aws::EmptyStructure; end
|
5850
|
+
|
5776
5851
|
# @!attribute [rw] part_number
|
5777
5852
|
# Part number identifying the part. This is a positive integer between
|
5778
5853
|
# 1 and 10,000.
|
@@ -6527,7 +6602,24 @@ module Aws::S3
|
|
6527
6602
|
# rules: [ # required
|
6528
6603
|
# {
|
6529
6604
|
# id: "ID",
|
6530
|
-
#
|
6605
|
+
# priority: 1,
|
6606
|
+
# prefix: "Prefix",
|
6607
|
+
# filter: {
|
6608
|
+
# prefix: "Prefix",
|
6609
|
+
# tag: {
|
6610
|
+
# key: "ObjectKey", # required
|
6611
|
+
# value: "Value", # required
|
6612
|
+
# },
|
6613
|
+
# and: {
|
6614
|
+
# prefix: "Prefix",
|
6615
|
+
# tags: [
|
6616
|
+
# {
|
6617
|
+
# key: "ObjectKey", # required
|
6618
|
+
# value: "Value", # required
|
6619
|
+
# },
|
6620
|
+
# ],
|
6621
|
+
# },
|
6622
|
+
# },
|
6531
6623
|
# status: "Enabled", # required, accepts Enabled, Disabled
|
6532
6624
|
# source_selection_criteria: {
|
6533
6625
|
# sse_kms_encrypted_objects: {
|
@@ -6545,6 +6637,9 @@ module Aws::S3
|
|
6545
6637
|
# replica_kms_key_id: "ReplicaKmsKeyID",
|
6546
6638
|
# },
|
6547
6639
|
# },
|
6640
|
+
# delete_marker_replication: {
|
6641
|
+
# status: "Enabled", # accepts Enabled, Disabled
|
6642
|
+
# },
|
6548
6643
|
# },
|
6549
6644
|
# ],
|
6550
6645
|
# },
|
@@ -7336,7 +7431,24 @@ module Aws::S3
|
|
7336
7431
|
# rules: [ # required
|
7337
7432
|
# {
|
7338
7433
|
# id: "ID",
|
7339
|
-
#
|
7434
|
+
# priority: 1,
|
7435
|
+
# prefix: "Prefix",
|
7436
|
+
# filter: {
|
7437
|
+
# prefix: "Prefix",
|
7438
|
+
# tag: {
|
7439
|
+
# key: "ObjectKey", # required
|
7440
|
+
# value: "Value", # required
|
7441
|
+
# },
|
7442
|
+
# and: {
|
7443
|
+
# prefix: "Prefix",
|
7444
|
+
# tags: [
|
7445
|
+
# {
|
7446
|
+
# key: "ObjectKey", # required
|
7447
|
+
# value: "Value", # required
|
7448
|
+
# },
|
7449
|
+
# ],
|
7450
|
+
# },
|
7451
|
+
# },
|
7340
7452
|
# status: "Enabled", # required, accepts Enabled, Disabled
|
7341
7453
|
# source_selection_criteria: {
|
7342
7454
|
# sse_kms_encrypted_objects: {
|
@@ -7354,6 +7466,9 @@ module Aws::S3
|
|
7354
7466
|
# replica_kms_key_id: "ReplicaKmsKeyID",
|
7355
7467
|
# },
|
7356
7468
|
# },
|
7469
|
+
# delete_marker_replication: {
|
7470
|
+
# status: "Enabled", # accepts Enabled, Disabled
|
7471
|
+
# },
|
7357
7472
|
# },
|
7358
7473
|
# ],
|
7359
7474
|
# }
|
@@ -7364,9 +7479,9 @@ module Aws::S3
|
|
7364
7479
|
# @return [String]
|
7365
7480
|
#
|
7366
7481
|
# @!attribute [rw] rules
|
7367
|
-
# Container for
|
7368
|
-
#
|
7369
|
-
#
|
7482
|
+
# Container for one or more replication rules. Replication
|
7483
|
+
# configuration must have at least one rule and can contain up to
|
7484
|
+
# 1,000 rules.
|
7370
7485
|
# @return [Array<Types::ReplicationRule>]
|
7371
7486
|
#
|
7372
7487
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationConfiguration AWS API Documentation
|
@@ -7384,7 +7499,24 @@ module Aws::S3
|
|
7384
7499
|
#
|
7385
7500
|
# {
|
7386
7501
|
# id: "ID",
|
7387
|
-
#
|
7502
|
+
# priority: 1,
|
7503
|
+
# prefix: "Prefix",
|
7504
|
+
# filter: {
|
7505
|
+
# prefix: "Prefix",
|
7506
|
+
# tag: {
|
7507
|
+
# key: "ObjectKey", # required
|
7508
|
+
# value: "Value", # required
|
7509
|
+
# },
|
7510
|
+
# and: {
|
7511
|
+
# prefix: "Prefix",
|
7512
|
+
# tags: [
|
7513
|
+
# {
|
7514
|
+
# key: "ObjectKey", # required
|
7515
|
+
# value: "Value", # required
|
7516
|
+
# },
|
7517
|
+
# ],
|
7518
|
+
# },
|
7519
|
+
# },
|
7388
7520
|
# status: "Enabled", # required, accepts Enabled, Disabled
|
7389
7521
|
# source_selection_criteria: {
|
7390
7522
|
# sse_kms_encrypted_objects: {
|
@@ -7402,6 +7534,9 @@ module Aws::S3
|
|
7402
7534
|
# replica_kms_key_id: "ReplicaKmsKeyID",
|
7403
7535
|
# },
|
7404
7536
|
# },
|
7537
|
+
# delete_marker_replication: {
|
7538
|
+
# status: "Enabled", # accepts Enabled, Disabled
|
7539
|
+
# },
|
7405
7540
|
# }
|
7406
7541
|
#
|
7407
7542
|
# @!attribute [rw] id
|
@@ -7409,33 +7544,152 @@ module Aws::S3
|
|
7409
7544
|
# characters.
|
7410
7545
|
# @return [String]
|
7411
7546
|
#
|
7547
|
+
# @!attribute [rw] priority
|
7548
|
+
# The priority associated with the rule. If you specify multiple rules
|
7549
|
+
# in a replication configuration, then Amazon S3 applies rule priority
|
7550
|
+
# in the event there are conflicts (two or more rules identify the
|
7551
|
+
# same object based on filter specified). The rule with higher
|
7552
|
+
# priority takes precedence. For example,
|
7553
|
+
#
|
7554
|
+
# * Same object quality prefix based filter criteria If prefixes you
|
7555
|
+
# specified in multiple rules overlap.
|
7556
|
+
#
|
7557
|
+
# * Same object qualify tag based filter criteria specified in
|
7558
|
+
# multiple rules
|
7559
|
+
#
|
7560
|
+
# For more information, see [Cross-Region Replication (CRR)](
|
7561
|
+
# https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html) in the
|
7562
|
+
# Amazon S3 Developer Guide.
|
7563
|
+
# @return [Integer]
|
7564
|
+
#
|
7412
7565
|
# @!attribute [rw] prefix
|
7413
7566
|
# Object keyname prefix identifying one or more objects to which the
|
7414
7567
|
# rule applies. Maximum prefix length can be up to 1,024 characters.
|
7415
|
-
# Overlapping prefixes are not supported.
|
7416
7568
|
# @return [String]
|
7417
7569
|
#
|
7570
|
+
# @!attribute [rw] filter
|
7571
|
+
# Filter that identifies subset of objects to which the replication
|
7572
|
+
# rule applies. A `Filter` must specify exactly one `Prefix`, `Tag`,
|
7573
|
+
# or an `And` child element.
|
7574
|
+
# @return [Types::ReplicationRuleFilter]
|
7575
|
+
#
|
7418
7576
|
# @!attribute [rw] status
|
7419
7577
|
# The rule is ignored if status is not Enabled.
|
7420
7578
|
# @return [String]
|
7421
7579
|
#
|
7422
7580
|
# @!attribute [rw] source_selection_criteria
|
7423
|
-
# Container
|
7424
|
-
#
|
7581
|
+
# Container that describes additional filters in identifying source
|
7582
|
+
# objects that you want to replicate. Currently, Amazon S3 supports
|
7583
|
+
# only the filter that you can specify for objects created with
|
7584
|
+
# server-side encryption using an AWS KMS-managed key. You can choose
|
7585
|
+
# to enable or disable replication of these objects.
|
7586
|
+
#
|
7587
|
+
# if you want Amazon S3 to replicate objects created with server-side
|
7588
|
+
# encryption using AWS KMS-managed keys.
|
7425
7589
|
# @return [Types::SourceSelectionCriteria]
|
7426
7590
|
#
|
7427
7591
|
# @!attribute [rw] destination
|
7428
7592
|
# Container for replication destination information.
|
7429
7593
|
# @return [Types::Destination]
|
7430
7594
|
#
|
7595
|
+
# @!attribute [rw] delete_marker_replication
|
7596
|
+
# Specifies whether Amazon S3 should replicate delete makers.
|
7597
|
+
# @return [Types::DeleteMarkerReplication]
|
7598
|
+
#
|
7431
7599
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRule AWS API Documentation
|
7432
7600
|
#
|
7433
7601
|
class ReplicationRule < Struct.new(
|
7434
7602
|
:id,
|
7603
|
+
:priority,
|
7435
7604
|
:prefix,
|
7605
|
+
:filter,
|
7436
7606
|
:status,
|
7437
7607
|
:source_selection_criteria,
|
7438
|
-
:destination
|
7608
|
+
:destination,
|
7609
|
+
:delete_marker_replication)
|
7610
|
+
include Aws::Structure
|
7611
|
+
end
|
7612
|
+
|
7613
|
+
# @note When making an API call, you may pass ReplicationRuleAndOperator
|
7614
|
+
# data as a hash:
|
7615
|
+
#
|
7616
|
+
# {
|
7617
|
+
# prefix: "Prefix",
|
7618
|
+
# tags: [
|
7619
|
+
# {
|
7620
|
+
# key: "ObjectKey", # required
|
7621
|
+
# value: "Value", # required
|
7622
|
+
# },
|
7623
|
+
# ],
|
7624
|
+
# }
|
7625
|
+
#
|
7626
|
+
# @!attribute [rw] prefix
|
7627
|
+
# @return [String]
|
7628
|
+
#
|
7629
|
+
# @!attribute [rw] tags
|
7630
|
+
# @return [Array<Types::Tag>]
|
7631
|
+
#
|
7632
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRuleAndOperator AWS API Documentation
|
7633
|
+
#
|
7634
|
+
class ReplicationRuleAndOperator < Struct.new(
|
7635
|
+
:prefix,
|
7636
|
+
:tags)
|
7637
|
+
include Aws::Structure
|
7638
|
+
end
|
7639
|
+
|
7640
|
+
# Filter that identifies subset of objects to which the replication rule
|
7641
|
+
# applies. A `Filter` must specify exactly one `Prefix`, `Tag`, or an
|
7642
|
+
# `And` child element.
|
7643
|
+
#
|
7644
|
+
# @note When making an API call, you may pass ReplicationRuleFilter
|
7645
|
+
# data as a hash:
|
7646
|
+
#
|
7647
|
+
# {
|
7648
|
+
# prefix: "Prefix",
|
7649
|
+
# tag: {
|
7650
|
+
# key: "ObjectKey", # required
|
7651
|
+
# value: "Value", # required
|
7652
|
+
# },
|
7653
|
+
# and: {
|
7654
|
+
# prefix: "Prefix",
|
7655
|
+
# tags: [
|
7656
|
+
# {
|
7657
|
+
# key: "ObjectKey", # required
|
7658
|
+
# value: "Value", # required
|
7659
|
+
# },
|
7660
|
+
# ],
|
7661
|
+
# },
|
7662
|
+
# }
|
7663
|
+
#
|
7664
|
+
# @!attribute [rw] prefix
|
7665
|
+
# Object keyname prefix that identifies subset of objects to which the
|
7666
|
+
# rule applies.
|
7667
|
+
# @return [String]
|
7668
|
+
#
|
7669
|
+
# @!attribute [rw] tag
|
7670
|
+
# Container for specifying a tag key and value.
|
7671
|
+
#
|
7672
|
+
# The rule applies only to objects having the tag in its tagset.
|
7673
|
+
# @return [Types::Tag]
|
7674
|
+
#
|
7675
|
+
# @!attribute [rw] and
|
7676
|
+
# Container for specifying rule filters. These filters determine the
|
7677
|
+
# subset of objects to which the rule applies. The element is required
|
7678
|
+
# only if you specify more than one filter. For example:
|
7679
|
+
#
|
7680
|
+
# * You specify both a `Prefix` and a `Tag` filters. Then you wrap
|
7681
|
+
# these in an `And` tag.
|
7682
|
+
#
|
7683
|
+
# * You specify filter based on multiple tags. Then you wrap the `Tag`
|
7684
|
+
# elements in an `And` tag.
|
7685
|
+
# @return [Types::ReplicationRuleAndOperator]
|
7686
|
+
#
|
7687
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ReplicationRuleFilter AWS API Documentation
|
7688
|
+
#
|
7689
|
+
class ReplicationRuleFilter < Struct.new(
|
7690
|
+
:prefix,
|
7691
|
+
:tag,
|
7692
|
+
:and)
|
7439
7693
|
include Aws::Structure
|
7440
7694
|
end
|
7441
7695
|
|
@@ -7518,11 +7772,14 @@ module Aws::S3
|
|
7518
7772
|
# record_delimiter: "RecordDelimiter",
|
7519
7773
|
# field_delimiter: "FieldDelimiter",
|
7520
7774
|
# quote_character: "QuoteCharacter",
|
7775
|
+
# allow_quoted_record_delimiter: false,
|
7521
7776
|
# },
|
7522
|
-
# compression_type: "NONE", # accepts NONE, GZIP
|
7777
|
+
# compression_type: "NONE", # accepts NONE, GZIP, BZIP2
|
7523
7778
|
# json: {
|
7524
7779
|
# type: "DOCUMENT", # accepts DOCUMENT, LINES
|
7525
7780
|
# },
|
7781
|
+
# parquet: {
|
7782
|
+
# },
|
7526
7783
|
# },
|
7527
7784
|
# expression_type: "SQL", # required, accepts SQL
|
7528
7785
|
# expression: "Expression", # required
|
@@ -7636,11 +7893,14 @@ module Aws::S3
|
|
7636
7893
|
# record_delimiter: "RecordDelimiter",
|
7637
7894
|
# field_delimiter: "FieldDelimiter",
|
7638
7895
|
# quote_character: "QuoteCharacter",
|
7896
|
+
# allow_quoted_record_delimiter: false,
|
7639
7897
|
# },
|
7640
|
-
# compression_type: "NONE", # accepts NONE, GZIP
|
7898
|
+
# compression_type: "NONE", # accepts NONE, GZIP, BZIP2
|
7641
7899
|
# json: {
|
7642
7900
|
# type: "DOCUMENT", # accepts DOCUMENT, LINES
|
7643
7901
|
# },
|
7902
|
+
# parquet: {
|
7903
|
+
# },
|
7644
7904
|
# },
|
7645
7905
|
# expression_type: "SQL", # required, accepts SQL
|
7646
7906
|
# expression: "Expression", # required
|
@@ -8037,7 +8297,7 @@ module Aws::S3
|
|
8037
8297
|
#
|
8038
8298
|
#
|
8039
8299
|
#
|
8040
|
-
# [1]:
|
8300
|
+
# [1]: http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html
|
8041
8301
|
#
|
8042
8302
|
# @note When making an API call, you may pass SelectObjectContentRequest
|
8043
8303
|
# data as a hash:
|
@@ -8061,11 +8321,14 @@ module Aws::S3
|
|
8061
8321
|
# record_delimiter: "RecordDelimiter",
|
8062
8322
|
# field_delimiter: "FieldDelimiter",
|
8063
8323
|
# quote_character: "QuoteCharacter",
|
8324
|
+
# allow_quoted_record_delimiter: false,
|
8064
8325
|
# },
|
8065
|
-
# compression_type: "NONE", # accepts NONE, GZIP
|
8326
|
+
# compression_type: "NONE", # accepts NONE, GZIP, BZIP2
|
8066
8327
|
# json: {
|
8067
8328
|
# type: "DOCUMENT", # accepts DOCUMENT, LINES
|
8068
8329
|
# },
|
8330
|
+
# parquet: {
|
8331
|
+
# },
|
8069
8332
|
# },
|
8070
8333
|
# output_serialization: { # required
|
8071
8334
|
# csv: {
|
@@ -8096,7 +8359,7 @@ module Aws::S3
|
|
8096
8359
|
#
|
8097
8360
|
#
|
8098
8361
|
#
|
8099
|
-
# [1]:
|
8362
|
+
# [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
|
8100
8363
|
# @return [String]
|
8101
8364
|
#
|
8102
8365
|
# @!attribute [rw] sse_customer_key
|
@@ -8105,7 +8368,7 @@ module Aws::S3
|
|
8105
8368
|
#
|
8106
8369
|
#
|
8107
8370
|
#
|
8108
|
-
# [1]:
|
8371
|
+
# [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
|
8109
8372
|
# @return [String]
|
8110
8373
|
#
|
8111
8374
|
# @!attribute [rw] sse_customer_key_md5
|
@@ -8114,7 +8377,7 @@ module Aws::S3
|
|
8114
8377
|
#
|
8115
8378
|
#
|
8116
8379
|
#
|
8117
|
-
# [1]:
|
8380
|
+
# [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
|
8118
8381
|
# @return [String]
|
8119
8382
|
#
|
8120
8383
|
# @!attribute [rw] expression
|
@@ -8170,11 +8433,14 @@ module Aws::S3
|
|
8170
8433
|
# record_delimiter: "RecordDelimiter",
|
8171
8434
|
# field_delimiter: "FieldDelimiter",
|
8172
8435
|
# quote_character: "QuoteCharacter",
|
8436
|
+
# allow_quoted_record_delimiter: false,
|
8173
8437
|
# },
|
8174
|
-
# compression_type: "NONE", # accepts NONE, GZIP
|
8438
|
+
# compression_type: "NONE", # accepts NONE, GZIP, BZIP2
|
8175
8439
|
# json: {
|
8176
8440
|
# type: "DOCUMENT", # accepts DOCUMENT, LINES
|
8177
8441
|
# },
|
8442
|
+
# parquet: {
|
8443
|
+
# },
|
8178
8444
|
# },
|
8179
8445
|
# expression_type: "SQL", # required, accepts SQL
|
8180
8446
|
# expression: "Expression", # required
|
@@ -8316,7 +8582,8 @@ module Aws::S3
|
|
8316
8582
|
#
|
8317
8583
|
# @!attribute [rw] sse_kms_encrypted_objects
|
8318
8584
|
# Container for filter information of selection of KMS Encrypted S3
|
8319
|
-
# objects.
|
8585
|
+
# objects. The element is required if you include
|
8586
|
+
# `SourceSelectionCriteria` in the replication configuration.
|
8320
8587
|
# @return [Types::SseKmsEncryptedObjects]
|
8321
8588
|
#
|
8322
8589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SourceSelectionCriteria AWS API Documentation
|
data/lib/aws-sdk-s3.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.23.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: 2018-
|
11
|
+
date: 2018-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: '3'
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 3.
|
50
|
+
version: 3.26.0
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: '3'
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 3.
|
60
|
+
version: 3.26.0
|
61
61
|
description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
|
62
62
|
This gem is part of the AWS SDK for Ruby.
|
63
63
|
email:
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- lib/aws-sdk-s3/file_uploader.rb
|
110
110
|
- lib/aws-sdk-s3/legacy_signer.rb
|
111
111
|
- lib/aws-sdk-s3/multipart_file_uploader.rb
|
112
|
+
- lib/aws-sdk-s3/multipart_stream_uploader.rb
|
112
113
|
- lib/aws-sdk-s3/multipart_upload.rb
|
113
114
|
- lib/aws-sdk-s3/multipart_upload_error.rb
|
114
115
|
- lib/aws-sdk-s3/multipart_upload_part.rb
|