aws-sdk-s3 1.243.0 → 1.245.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/client.rb +125 -64
- data/lib/aws-sdk-s3/client_api.rb +28 -0
- data/lib/aws-sdk-s3/multipart_upload.rb +13 -0
- data/lib/aws-sdk-s3/types.rb +177 -203
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/client.rbs +13 -3
- data/sig/multipart_upload.rbs +3 -0
- data/sig/params.rbs +17 -0
- data/sig/types.rbs +27 -0
- metadata +1 -1
data/lib/aws-sdk-s3.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -97,6 +97,7 @@ module Aws
|
|
|
97
97
|
interface _AbortMultipartUploadResponseSuccess
|
|
98
98
|
include ::Seahorse::Client::_ResponseSuccess[Types::AbortMultipartUploadOutput]
|
|
99
99
|
def request_charged: () -> ("requester")
|
|
100
|
+
def version_id: () -> ::String
|
|
100
101
|
end
|
|
101
102
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#abort_multipart_upload-instance_method
|
|
102
103
|
def abort_multipart_upload: (
|
|
@@ -348,6 +349,7 @@ module Aws
|
|
|
348
349
|
def request_charged: () -> ("requester")
|
|
349
350
|
def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME" | "SHA512" | "MD5" | "XXHASH64" | "XXHASH3" | "XXHASH128")
|
|
350
351
|
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
|
352
|
+
def version_id: () -> ::String
|
|
351
353
|
end
|
|
352
354
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_multipart_upload-instance_method
|
|
353
355
|
def create_multipart_upload: (
|
|
@@ -1473,6 +1475,7 @@ module Aws
|
|
|
1473
1475
|
def request_charged: () -> ("requester")
|
|
1474
1476
|
def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME" | "SHA512" | "MD5" | "XXHASH64" | "XXHASH3" | "XXHASH128")
|
|
1475
1477
|
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
|
1478
|
+
def version_id: () -> ::String
|
|
1476
1479
|
end
|
|
1477
1480
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_parts-instance_method
|
|
1478
1481
|
def list_parts: (
|
|
@@ -1970,8 +1973,10 @@ module Aws
|
|
|
1970
1973
|
key: ::String,
|
|
1971
1974
|
value: ::String
|
|
1972
1975
|
}
|
|
1973
|
-
]
|
|
1974
|
-
|
|
1976
|
+
]?,
|
|
1977
|
+
not: Params::replication_rule_not_operator?
|
|
1978
|
+
}?,
|
|
1979
|
+
not: Params::replication_rule_not_operator?
|
|
1975
1980
|
}?,
|
|
1976
1981
|
status: ("Enabled" | "Disabled"),
|
|
1977
1982
|
source_selection_criteria: {
|
|
@@ -1993,7 +1998,10 @@ module Aws
|
|
|
1993
1998
|
owner: ("Destination")
|
|
1994
1999
|
}?,
|
|
1995
2000
|
encryption_configuration: {
|
|
1996
|
-
replica_kms_key_id: ::String
|
|
2001
|
+
replica_kms_key_id: ::String?,
|
|
2002
|
+
use_source_multi_region_key: {
|
|
2003
|
+
status: ("Enabled" | "Disabled")
|
|
2004
|
+
}?
|
|
1997
2005
|
}?,
|
|
1998
2006
|
replication_time: {
|
|
1999
2007
|
status: ("Enabled" | "Disabled"),
|
|
@@ -2554,6 +2562,7 @@ module Aws
|
|
|
2554
2562
|
def ssekms_key_id: () -> ::String
|
|
2555
2563
|
def bucket_key_enabled: () -> bool
|
|
2556
2564
|
def request_charged: () -> ("requester")
|
|
2565
|
+
def version_id: () -> ::String
|
|
2557
2566
|
end
|
|
2558
2567
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#upload_part-instance_method
|
|
2559
2568
|
def upload_part: (
|
|
@@ -2593,6 +2602,7 @@ module Aws
|
|
|
2593
2602
|
def ssekms_key_id: () -> ::String
|
|
2594
2603
|
def bucket_key_enabled: () -> bool
|
|
2595
2604
|
def request_charged: () -> ("requester")
|
|
2605
|
+
def version_id: () -> ::String
|
|
2596
2606
|
end
|
|
2597
2607
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#upload_part_copy-instance_method
|
|
2598
2608
|
def upload_part_copy: (
|
data/sig/multipart_upload.rbs
CHANGED
|
@@ -47,6 +47,9 @@ module Aws
|
|
|
47
47
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#checksum_type-instance_method
|
|
48
48
|
def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
|
|
49
49
|
|
|
50
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#version_id-instance_method
|
|
51
|
+
def version_id: () -> ::String
|
|
52
|
+
|
|
50
53
|
def client: () -> Client
|
|
51
54
|
|
|
52
55
|
|
data/sig/params.rbs
CHANGED
|
@@ -40,6 +40,23 @@ module Aws
|
|
|
40
40
|
}?
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
type replication_rule_not_operator = {
|
|
44
|
+
prefix: ::String?,
|
|
45
|
+
tag: {
|
|
46
|
+
key: ::String,
|
|
47
|
+
value: ::String
|
|
48
|
+
}?,
|
|
49
|
+
or: {
|
|
50
|
+
prefixes: Array[::String]?,
|
|
51
|
+
tags: Array[
|
|
52
|
+
{
|
|
53
|
+
key: ::String,
|
|
54
|
+
value: ::String
|
|
55
|
+
}
|
|
56
|
+
]?
|
|
57
|
+
}?
|
|
58
|
+
}
|
|
59
|
+
|
|
43
60
|
type csv_input = {
|
|
44
61
|
file_header_info: ("USE" | "IGNORE" | "NONE")?,
|
|
45
62
|
comments: ::String?,
|
data/sig/types.rbs
CHANGED
|
@@ -20,6 +20,7 @@ module Aws::S3
|
|
|
20
20
|
|
|
21
21
|
class AbortMultipartUploadOutput
|
|
22
22
|
attr_accessor request_charged: ("requester")
|
|
23
|
+
attr_accessor version_id: ::String
|
|
23
24
|
SENSITIVE: []
|
|
24
25
|
end
|
|
25
26
|
|
|
@@ -469,6 +470,7 @@ module Aws::S3
|
|
|
469
470
|
attr_accessor request_charged: ("requester")
|
|
470
471
|
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME" | "SHA512" | "MD5" | "XXHASH64" | "XXHASH3" | "XXHASH128")
|
|
471
472
|
attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
|
|
473
|
+
attr_accessor version_id: ::String
|
|
472
474
|
SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
|
|
473
475
|
end
|
|
474
476
|
|
|
@@ -761,6 +763,7 @@ module Aws::S3
|
|
|
761
763
|
|
|
762
764
|
class EncryptionConfiguration
|
|
763
765
|
attr_accessor replica_kms_key_id: ::String
|
|
766
|
+
attr_accessor use_source_multi_region_key: Types::UseSourceMultiRegionKey
|
|
764
767
|
SENSITIVE: []
|
|
765
768
|
end
|
|
766
769
|
|
|
@@ -1904,6 +1907,7 @@ module Aws::S3
|
|
|
1904
1907
|
attr_accessor request_charged: ("requester")
|
|
1905
1908
|
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME" | "SHA512" | "MD5" | "XXHASH64" | "XXHASH3" | "XXHASH128")
|
|
1906
1909
|
attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
|
|
1910
|
+
attr_accessor version_id: ::String
|
|
1907
1911
|
SENSITIVE: []
|
|
1908
1912
|
end
|
|
1909
1913
|
|
|
@@ -2008,6 +2012,7 @@ module Aws::S3
|
|
|
2008
2012
|
attr_accessor initiator: Types::Initiator
|
|
2009
2013
|
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME" | "SHA512" | "MD5" | "XXHASH64" | "XXHASH3" | "XXHASH128")
|
|
2010
2014
|
attr_accessor checksum_type: ("COMPOSITE" | "FULL_OBJECT")
|
|
2015
|
+
attr_accessor version_id: ::String
|
|
2011
2016
|
SENSITIVE: []
|
|
2012
2017
|
end
|
|
2013
2018
|
|
|
@@ -2739,6 +2744,7 @@ module Aws::S3
|
|
|
2739
2744
|
class ReplicationRuleAndOperator
|
|
2740
2745
|
attr_accessor prefix: ::String
|
|
2741
2746
|
attr_accessor tags: ::Array[Types::Tag]
|
|
2747
|
+
attr_accessor not: Types::ReplicationRuleNotOperator
|
|
2742
2748
|
SENSITIVE: []
|
|
2743
2749
|
end
|
|
2744
2750
|
|
|
@@ -2746,6 +2752,20 @@ module Aws::S3
|
|
|
2746
2752
|
attr_accessor prefix: ::String
|
|
2747
2753
|
attr_accessor tag: Types::Tag
|
|
2748
2754
|
attr_accessor and: Types::ReplicationRuleAndOperator
|
|
2755
|
+
attr_accessor not: Types::ReplicationRuleNotOperator
|
|
2756
|
+
SENSITIVE: []
|
|
2757
|
+
end
|
|
2758
|
+
|
|
2759
|
+
class ReplicationRuleNotOperator
|
|
2760
|
+
attr_accessor prefix: ::String
|
|
2761
|
+
attr_accessor tag: Types::Tag
|
|
2762
|
+
attr_accessor or: Types::ReplicationRuleOrOperator
|
|
2763
|
+
SENSITIVE: []
|
|
2764
|
+
end
|
|
2765
|
+
|
|
2766
|
+
class ReplicationRuleOrOperator
|
|
2767
|
+
attr_accessor prefixes: ::Array[::String]
|
|
2768
|
+
attr_accessor tags: ::Array[Types::Tag]
|
|
2749
2769
|
SENSITIVE: []
|
|
2750
2770
|
end
|
|
2751
2771
|
|
|
@@ -3077,6 +3097,7 @@ module Aws::S3
|
|
|
3077
3097
|
attr_accessor ssekms_key_id: ::String
|
|
3078
3098
|
attr_accessor bucket_key_enabled: bool
|
|
3079
3099
|
attr_accessor request_charged: ("requester")
|
|
3100
|
+
attr_accessor version_id: ::String
|
|
3080
3101
|
SENSITIVE: [:ssekms_key_id]
|
|
3081
3102
|
end
|
|
3082
3103
|
|
|
@@ -3121,6 +3142,7 @@ module Aws::S3
|
|
|
3121
3142
|
attr_accessor ssekms_key_id: ::String
|
|
3122
3143
|
attr_accessor bucket_key_enabled: bool
|
|
3123
3144
|
attr_accessor request_charged: ("requester")
|
|
3145
|
+
attr_accessor version_id: ::String
|
|
3124
3146
|
SENSITIVE: [:ssekms_key_id]
|
|
3125
3147
|
end
|
|
3126
3148
|
|
|
@@ -3151,6 +3173,11 @@ module Aws::S3
|
|
|
3151
3173
|
SENSITIVE: [:sse_customer_key]
|
|
3152
3174
|
end
|
|
3153
3175
|
|
|
3176
|
+
class UseSourceMultiRegionKey
|
|
3177
|
+
attr_accessor status: ("Enabled" | "Disabled")
|
|
3178
|
+
SENSITIVE: []
|
|
3179
|
+
end
|
|
3180
|
+
|
|
3154
3181
|
class VersioningConfiguration
|
|
3155
3182
|
attr_accessor mfa_delete: ("Enabled" | "Disabled")
|
|
3156
3183
|
attr_accessor status: ("Enabled" | "Suspended")
|