aws-sdk-s3 1.220.0 → 1.232.2
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/CHANGELOG.md +89 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +26 -2
- data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
- data/lib/aws-sdk-s3/client.rb +869 -62
- data/lib/aws-sdk-s3/client_api.rb +301 -0
- data/lib/aws-sdk-s3/customizations/object.rb +55 -25
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +14 -1
- data/lib/aws-sdk-s3/encryptionV3/kms_cipher_provider.rb +13 -1
- data/lib/aws-sdk-s3/endpoint_provider.rb +6 -3
- data/lib/aws-sdk-s3/endpoints.rb +68 -0
- data/lib/aws-sdk-s3/errors.rb +66 -0
- data/lib/aws-sdk-s3/file_downloader.rb +3 -1
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +1 -1
- data/lib/aws-sdk-s3/object.rb +150 -8
- data/lib/aws-sdk-s3/object_copier.rb +11 -22
- data/lib/aws-sdk-s3/object_multipart_copier.rb +177 -84
- data/lib/aws-sdk-s3/object_summary.rb +117 -8
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +1 -1
- data/lib/aws-sdk-s3/transfer_manager.rb +44 -31
- data/lib/aws-sdk-s3/types.rb +1162 -46
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +7 -4
- data/sig/bucket_acl.rbs +1 -1
- data/sig/bucket_cors.rbs +1 -1
- data/sig/bucket_lifecycle.rbs +1 -1
- data/sig/bucket_lifecycle_configuration.rbs +4 -4
- data/sig/bucket_logging.rbs +1 -1
- data/sig/bucket_notification.rbs +9 -9
- data/sig/bucket_tagging.rbs +1 -1
- data/sig/bucket_website.rbs +1 -1
- data/sig/client.rbs +246 -198
- data/sig/errors.rbs +12 -0
- data/sig/multipart_upload.rbs +2 -2
- data/sig/object.rbs +32 -13
- data/sig/object_acl.rbs +1 -1
- data/sig/object_summary.rbs +22 -12
- data/sig/params.rbs +78 -0
- data/sig/resource.rbs +1 -1
- data/sig/types.rbs +249 -39
- metadata +4 -3
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/bucket.rbs
CHANGED
|
@@ -64,7 +64,7 @@ module Aws
|
|
|
64
64
|
{
|
|
65
65
|
key: ::String,
|
|
66
66
|
value: ::String
|
|
67
|
-
}
|
|
67
|
+
}
|
|
68
68
|
]?
|
|
69
69
|
},
|
|
70
70
|
?grant_full_control: ::String,
|
|
@@ -94,7 +94,7 @@ module Aws
|
|
|
94
94
|
etag: ::String?,
|
|
95
95
|
last_modified_time: ::Time?,
|
|
96
96
|
size: ::Integer?
|
|
97
|
-
}
|
|
97
|
+
}
|
|
98
98
|
],
|
|
99
99
|
quiet: bool?
|
|
100
100
|
},
|
|
@@ -138,8 +138,8 @@ module Aws
|
|
|
138
138
|
key: ::String,
|
|
139
139
|
?write_offset_bytes: ::Integer,
|
|
140
140
|
?metadata: Hash[::String, ::String],
|
|
141
|
-
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"),
|
|
142
|
-
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP"),
|
|
141
|
+
?server_side_encryption: ("AES256" | "aws:fsx" | "aws:backup" | "aws:kms" | "aws:kms:dsse"),
|
|
142
|
+
?storage_class: ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS" | "FSX_ONTAP" | "AWS_BACKUP_WARM" | "AWS_BACKUP_LOW_COST_WARM"),
|
|
143
143
|
?website_redirect_location: ::String,
|
|
144
144
|
?sse_customer_algorithm: ::String,
|
|
145
145
|
?sse_customer_key: ::String,
|
|
@@ -152,6 +152,9 @@ module Aws
|
|
|
152
152
|
?object_lock_mode: ("GOVERNANCE" | "COMPLIANCE"),
|
|
153
153
|
?object_lock_retain_until_date: ::Time,
|
|
154
154
|
?object_lock_legal_hold_status: ("ON" | "OFF"),
|
|
155
|
+
?object_lock_event_hold: ("ON" | "OFF"),
|
|
156
|
+
?object_lock_event_hold_duration_days: ::Integer,
|
|
157
|
+
?object_lock_event_hold_duration_years: ::Integer,
|
|
155
158
|
?expected_bucket_owner: ::String
|
|
156
159
|
) -> Object
|
|
157
160
|
| (?Hash[Symbol, untyped]) -> Object
|
data/sig/bucket_acl.rbs
CHANGED
data/sig/bucket_cors.rbs
CHANGED
data/sig/bucket_lifecycle.rbs
CHANGED
|
@@ -69,7 +69,7 @@ module Aws
|
|
|
69
69
|
{
|
|
70
70
|
key: ::String,
|
|
71
71
|
value: ::String
|
|
72
|
-
}
|
|
72
|
+
}
|
|
73
73
|
]?,
|
|
74
74
|
object_size_greater_than: ::Integer?,
|
|
75
75
|
object_size_less_than: ::Integer?
|
|
@@ -81,14 +81,14 @@ module Aws
|
|
|
81
81
|
date: ::Time?,
|
|
82
82
|
days: ::Integer?,
|
|
83
83
|
storage_class: ("GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "GLACIER_IR")?
|
|
84
|
-
}
|
|
84
|
+
}
|
|
85
85
|
]?,
|
|
86
86
|
noncurrent_version_transitions: Array[
|
|
87
87
|
{
|
|
88
88
|
noncurrent_days: ::Integer?,
|
|
89
89
|
storage_class: ("GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "GLACIER_IR")?,
|
|
90
90
|
newer_noncurrent_versions: ::Integer?
|
|
91
|
-
}
|
|
91
|
+
}
|
|
92
92
|
]?,
|
|
93
93
|
noncurrent_version_expiration: {
|
|
94
94
|
noncurrent_days: ::Integer?,
|
|
@@ -97,7 +97,7 @@ module Aws
|
|
|
97
97
|
abort_incomplete_multipart_upload: {
|
|
98
98
|
days_after_initiation: ::Integer?
|
|
99
99
|
}?
|
|
100
|
-
}
|
|
100
|
+
}
|
|
101
101
|
]
|
|
102
102
|
},
|
|
103
103
|
?expected_bucket_owner: ::String,
|
data/sig/bucket_logging.rbs
CHANGED
data/sig/bucket_notification.rbs
CHANGED
|
@@ -49,52 +49,52 @@ module Aws
|
|
|
49
49
|
{
|
|
50
50
|
id: ::String?,
|
|
51
51
|
topic_arn: ::String,
|
|
52
|
-
events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete")],
|
|
52
|
+
events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")],
|
|
53
53
|
filter: {
|
|
54
54
|
key: {
|
|
55
55
|
filter_rules: Array[
|
|
56
56
|
{
|
|
57
57
|
name: ("prefix" | "suffix")?,
|
|
58
58
|
value: ::String?
|
|
59
|
-
}
|
|
59
|
+
}
|
|
60
60
|
]?
|
|
61
61
|
}?
|
|
62
62
|
}?
|
|
63
|
-
}
|
|
63
|
+
}
|
|
64
64
|
]?,
|
|
65
65
|
queue_configurations: Array[
|
|
66
66
|
{
|
|
67
67
|
id: ::String?,
|
|
68
68
|
queue_arn: ::String,
|
|
69
|
-
events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete")],
|
|
69
|
+
events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")],
|
|
70
70
|
filter: {
|
|
71
71
|
key: {
|
|
72
72
|
filter_rules: Array[
|
|
73
73
|
{
|
|
74
74
|
name: ("prefix" | "suffix")?,
|
|
75
75
|
value: ::String?
|
|
76
|
-
}
|
|
76
|
+
}
|
|
77
77
|
]?
|
|
78
78
|
}?
|
|
79
79
|
}?
|
|
80
|
-
}
|
|
80
|
+
}
|
|
81
81
|
]?,
|
|
82
82
|
lambda_function_configurations: Array[
|
|
83
83
|
{
|
|
84
84
|
id: ::String?,
|
|
85
85
|
lambda_function_arn: ::String,
|
|
86
|
-
events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete")],
|
|
86
|
+
events: Array[("s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete" | "s3:ObjectAnnotation:*" | "s3:ObjectAnnotation:Put" | "s3:ObjectAnnotation:Delete" | "s3:ObjectRetention:Put")],
|
|
87
87
|
filter: {
|
|
88
88
|
key: {
|
|
89
89
|
filter_rules: Array[
|
|
90
90
|
{
|
|
91
91
|
name: ("prefix" | "suffix")?,
|
|
92
92
|
value: ::String?
|
|
93
|
-
}
|
|
93
|
+
}
|
|
94
94
|
]?
|
|
95
95
|
}?
|
|
96
96
|
}?
|
|
97
|
-
}
|
|
97
|
+
}
|
|
98
98
|
]?,
|
|
99
99
|
event_bridge_configuration: {
|
|
100
100
|
}?
|
data/sig/bucket_tagging.rbs
CHANGED