aws-sdk-s3 1.182.0 → 1.183.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +3 -2
- data/lib/aws-sdk-s3/client.rb +338 -296
- data/lib/aws-sdk-s3/endpoint_provider.rb +149 -44
- data/lib/aws-sdk-s3/multipart_upload.rb +4 -2
- data/lib/aws-sdk-s3/object.rb +20 -13
- data/lib/aws-sdk-s3/object_summary.rb +20 -13
- data/lib/aws-sdk-s3/types.rb +297 -210
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +2 -2
@@ -56,89 +56,194 @@ module Aws::S3
|
|
56
56
|
raise ArgumentError, "S3Express bucket name is not a valid virtual hostable name."
|
57
57
|
end
|
58
58
|
if Aws::Endpoints::Matchers.set?(parameters.use_s3_express_control_endpoint) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_s3_express_control_endpoint, true)
|
59
|
-
if (
|
60
|
-
if Aws::Endpoints::Matchers.
|
61
|
-
|
59
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
60
|
+
if (uri_encoded_bucket = Aws::Endpoints::Matchers.uri_encode(parameters.bucket)) && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(parameters.endpoint))
|
61
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
62
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3express-control-fips.#{parameters.region}.#{partition_result['dnsSuffix']}/#{uri_encoded_bucket}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
63
|
+
end
|
64
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3express-control.#{parameters.region}.#{partition_result['dnsSuffix']}/#{uri_encoded_bucket}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
62
65
|
end
|
63
|
-
return Aws::Endpoints::Endpoint.new(url: "https://s3express-control.#{parameters.region}.amazonaws.com/#{uri_encoded_bucket}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
64
66
|
end
|
65
67
|
end
|
66
68
|
if Aws::Endpoints::Matchers.aws_virtual_hostable_s3_bucket?(parameters.bucket, false)
|
67
|
-
if
|
69
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
70
|
+
if Aws::Endpoints::Matchers.set?(parameters.disable_s3_express_session_auth) && Aws::Endpoints::Matchers.boolean_equals?(parameters.disable_s3_express_session_auth, true)
|
71
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 6, 14, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 14, 16, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
72
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
73
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
74
|
+
end
|
75
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
76
|
+
end
|
77
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 6, 15, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 15, 17, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
78
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
79
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
80
|
+
end
|
81
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
82
|
+
end
|
83
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 6, 19, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 19, 21, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
84
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
85
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
86
|
+
end
|
87
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
88
|
+
end
|
89
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 6, 20, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 20, 22, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
90
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
91
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
92
|
+
end
|
93
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
94
|
+
end
|
95
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 6, 26, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 26, 28, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
96
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
97
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
98
|
+
end
|
99
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
100
|
+
end
|
101
|
+
raise ArgumentError, "Unrecognized S3Express bucket name format."
|
102
|
+
end
|
68
103
|
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 6, 14, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 14, 16, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
69
104
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
70
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}
|
105
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
71
106
|
end
|
72
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}
|
107
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
73
108
|
end
|
74
109
|
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 6, 15, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 15, 17, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
75
110
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
76
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}
|
111
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
77
112
|
end
|
78
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}
|
113
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
79
114
|
end
|
80
115
|
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 6, 19, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 19, 21, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
81
116
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
82
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}
|
117
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
83
118
|
end
|
84
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}
|
119
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
85
120
|
end
|
86
121
|
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 6, 20, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 20, 22, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
87
122
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
88
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}
|
123
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
89
124
|
end
|
90
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}
|
125
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
91
126
|
end
|
92
127
|
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 6, 26, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 26, 28, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
93
128
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
94
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}
|
129
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
95
130
|
end
|
96
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}
|
131
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
97
132
|
end
|
98
133
|
raise ArgumentError, "Unrecognized S3Express bucket name format."
|
99
134
|
end
|
100
|
-
|
101
|
-
|
102
|
-
|
135
|
+
end
|
136
|
+
raise ArgumentError, "S3Express bucket name is not a valid virtual hostable name."
|
137
|
+
end
|
138
|
+
if Aws::Endpoints::Matchers.set?(parameters.bucket) && (access_point_suffix = Aws::Endpoints::Matchers.substring(parameters.bucket, 0, 7, true)) && Aws::Endpoints::Matchers.string_equals?(access_point_suffix, "--xa-s3")
|
139
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
140
|
+
raise ArgumentError, "S3Express does not support Dual-stack."
|
141
|
+
end
|
142
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.accelerate, true)
|
143
|
+
raise ArgumentError, "S3Express does not support S3 Accelerate."
|
144
|
+
end
|
145
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint) && (url = Aws::Endpoints::Matchers.parse_url(parameters.endpoint))
|
146
|
+
if Aws::Endpoints::Matchers.set?(parameters.disable_s3_express_session_auth) && Aws::Endpoints::Matchers.boolean_equals?(parameters.disable_s3_express_session_auth, true)
|
147
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(url, "isIp"), true)
|
148
|
+
if (uri_encoded_bucket = Aws::Endpoints::Matchers.uri_encode(parameters.bucket))
|
149
|
+
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}/#{uri_encoded_bucket}#{url['path']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
150
|
+
end
|
103
151
|
end
|
104
|
-
|
105
|
-
|
106
|
-
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 6, 15, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 15, 17, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
107
|
-
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
108
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.amazonaws.com", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
152
|
+
if Aws::Endpoints::Matchers.aws_virtual_hostable_s3_bucket?(parameters.bucket, false)
|
153
|
+
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{parameters.bucket}.#{url['authority']}#{url['path']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
109
154
|
end
|
110
|
-
|
155
|
+
raise ArgumentError, "S3Express bucket name is not a valid virtual hostable name."
|
111
156
|
end
|
112
|
-
if
|
113
|
-
if Aws::Endpoints::Matchers.
|
114
|
-
return Aws::Endpoints::Endpoint.new(url: "
|
157
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(url, "isIp"), true)
|
158
|
+
if (uri_encoded_bucket = Aws::Endpoints::Matchers.uri_encode(parameters.bucket))
|
159
|
+
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}/#{uri_encoded_bucket}#{url['path']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
115
160
|
end
|
116
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.amazonaws.com", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
117
161
|
end
|
118
|
-
if
|
119
|
-
|
120
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.amazonaws.com", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
121
|
-
end
|
122
|
-
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.amazonaws.com", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
162
|
+
if Aws::Endpoints::Matchers.aws_virtual_hostable_s3_bucket?(parameters.bucket, false)
|
163
|
+
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{parameters.bucket}.#{url['authority']}#{url['path']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
123
164
|
end
|
124
|
-
|
125
|
-
|
126
|
-
|
165
|
+
raise ArgumentError, "S3Express bucket name is not a valid virtual hostable name."
|
166
|
+
end
|
167
|
+
if Aws::Endpoints::Matchers.aws_virtual_hostable_s3_bucket?(parameters.bucket, false)
|
168
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
169
|
+
if Aws::Endpoints::Matchers.set?(parameters.disable_s3_express_session_auth) && Aws::Endpoints::Matchers.boolean_equals?(parameters.disable_s3_express_session_auth, true)
|
170
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 7, 15, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 15, 17, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
171
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
172
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
173
|
+
end
|
174
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
175
|
+
end
|
176
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 7, 16, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 16, 18, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
177
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
178
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
179
|
+
end
|
180
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
181
|
+
end
|
182
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 7, 20, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 20, 22, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
183
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
184
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
185
|
+
end
|
186
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
187
|
+
end
|
188
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 7, 21, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 21, 23, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
189
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
190
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
191
|
+
end
|
192
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
193
|
+
end
|
194
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 7, 27, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 27, 29, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
195
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
196
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
197
|
+
end
|
198
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
199
|
+
end
|
200
|
+
raise ArgumentError, "Unrecognized S3Express bucket name format."
|
127
201
|
end
|
128
|
-
|
202
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 7, 15, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 15, 17, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
203
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
204
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
205
|
+
end
|
206
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
207
|
+
end
|
208
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 7, 16, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 16, 18, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
209
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
210
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
211
|
+
end
|
212
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
213
|
+
end
|
214
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 7, 20, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 20, 22, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
215
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
216
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
217
|
+
end
|
218
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
219
|
+
end
|
220
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 7, 21, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 21, 23, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
221
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
222
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
223
|
+
end
|
224
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
225
|
+
end
|
226
|
+
if (s3express_availability_zone_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 7, 27, true)) && (s3express_availability_zone_delim = Aws::Endpoints::Matchers.substring(parameters.bucket, 27, 29, true)) && Aws::Endpoints::Matchers.string_equals?(s3express_availability_zone_delim, "--")
|
227
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
228
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-fips-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
229
|
+
end
|
230
|
+
return Aws::Endpoints::Endpoint.new(url: "https://#{parameters.bucket}.s3express-#{s3express_availability_zone_id}.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
231
|
+
end
|
232
|
+
raise ArgumentError, "Unrecognized S3Express bucket name format."
|
129
233
|
end
|
130
|
-
raise ArgumentError, "Unrecognized S3Express bucket name format."
|
131
234
|
end
|
132
235
|
raise ArgumentError, "S3Express bucket name is not a valid virtual hostable name."
|
133
236
|
end
|
134
237
|
if Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(parameters.bucket)) && Aws::Endpoints::Matchers.set?(parameters.use_s3_express_control_endpoint) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_s3_express_control_endpoint, true)
|
135
|
-
if
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
238
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
239
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint) && (url = Aws::Endpoints::Matchers.parse_url(parameters.endpoint))
|
240
|
+
return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
241
|
+
end
|
242
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
243
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3express-control-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
244
|
+
end
|
245
|
+
return Aws::Endpoints::Endpoint.new(url: "https://s3express-control.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
140
246
|
end
|
141
|
-
return Aws::Endpoints::Endpoint.new(url: "https://s3express-control.#{parameters.region}.amazonaws.com", headers: {}, properties: {"backend"=>"S3Express", "authSchemes"=>[{"disableDoubleEncoding"=>true, "name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"#{parameters.region}"}]})
|
142
247
|
end
|
143
248
|
if Aws::Endpoints::Matchers.set?(parameters.bucket) && (hardware_type = Aws::Endpoints::Matchers.substring(parameters.bucket, 49, 50, true)) && (region_prefix = Aws::Endpoints::Matchers.substring(parameters.bucket, 8, 12, true)) && (bucket_alias_suffix = Aws::Endpoints::Matchers.substring(parameters.bucket, 0, 7, true)) && (outpost_id = Aws::Endpoints::Matchers.substring(parameters.bucket, 32, 49, true)) && (region_partition = Aws::Endpoints::Matchers.aws_partition(parameters.region)) && Aws::Endpoints::Matchers.string_equals?(bucket_alias_suffix, "--op-s3")
|
144
249
|
if Aws::Endpoints::Matchers.valid_host_label?(outpost_id, false)
|
@@ -70,8 +70,10 @@ module Aws::S3
|
|
70
70
|
|
71
71
|
# The class of storage used to store the object.
|
72
72
|
#
|
73
|
-
# <note markdown="1"> **Directory buckets** -
|
74
|
-
#
|
73
|
+
# <note markdown="1"> **Directory buckets** - Directory buckets only support
|
74
|
+
# `EXPRESS_ONEZONE` (the S3 Express One Zone storage class) in
|
75
|
+
# Availability Zones and `ONEZONE_IA` (the S3 One Zone-Infrequent Access
|
76
|
+
# storage class) in Dedicated Local Zones.
|
75
77
|
#
|
76
78
|
# </note>
|
77
79
|
# @return [String]
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -97,9 +97,10 @@ module Aws::S3
|
|
97
97
|
# For more information about archiving objects, see [Transitioning
|
98
98
|
# Objects: General Considerations][2].
|
99
99
|
#
|
100
|
-
# <note markdown="1"> This functionality is not supported for directory buckets.
|
101
|
-
#
|
102
|
-
#
|
100
|
+
# <note markdown="1"> This functionality is not supported for directory buckets. Directory
|
101
|
+
# buckets only support `EXPRESS_ONEZONE` (the S3 Express One Zone
|
102
|
+
# storage class) in Availability Zones and `ONEZONE_IA` (the S3 One
|
103
|
+
# Zone-Infrequent Access storage class) in Dedicated Local Zones.
|
103
104
|
#
|
104
105
|
# </note>
|
105
106
|
#
|
@@ -380,8 +381,10 @@ module Aws::S3
|
|
380
381
|
#
|
381
382
|
# For more information, see [Storage Classes][1].
|
382
383
|
#
|
383
|
-
# <note markdown="1"> <b>Directory buckets </b> -
|
384
|
-
#
|
384
|
+
# <note markdown="1"> <b>Directory buckets </b> - Directory buckets only support
|
385
|
+
# `EXPRESS_ONEZONE` (the S3 Express One Zone storage class) in
|
386
|
+
# Availability Zones and `ONEZONE_IA` (the S3 One Zone-Infrequent Access
|
387
|
+
# storage class) in Dedicated Local Zones.
|
385
388
|
#
|
386
389
|
# </note>
|
387
390
|
#
|
@@ -1135,10 +1138,12 @@ module Aws::S3
|
|
1135
1138
|
# availability. Depending on performance needs, you can specify a
|
1136
1139
|
# different Storage Class.
|
1137
1140
|
#
|
1138
|
-
# <note markdown="1"> * <b>Directory buckets </b> -
|
1139
|
-
# Express One Zone storage class
|
1140
|
-
#
|
1141
|
-
#
|
1141
|
+
# <note markdown="1"> * <b>Directory buckets </b> - Directory buckets only support
|
1142
|
+
# `EXPRESS_ONEZONE` (the S3 Express One Zone storage class) in
|
1143
|
+
# Availability Zones and `ONEZONE_IA` (the S3 One Zone-Infrequent
|
1144
|
+
# Access storage class) in Dedicated Local Zones. Unsupported storage
|
1145
|
+
# class values won't write a destination object and will respond with
|
1146
|
+
# the HTTP status code `400 Bad Request`.
|
1142
1147
|
#
|
1143
1148
|
# * <b>Amazon S3 on Outposts </b> - S3 on Outposts only uses the
|
1144
1149
|
# `OUTPOSTS` Storage Class.
|
@@ -2190,8 +2195,9 @@ module Aws::S3
|
|
2190
2195
|
# a different Storage Class. For more information, see [Storage
|
2191
2196
|
# Classes][1] in the *Amazon S3 User Guide*.
|
2192
2197
|
#
|
2193
|
-
# <note markdown="1"> *
|
2194
|
-
#
|
2198
|
+
# <note markdown="1"> * Directory buckets only support `EXPRESS_ONEZONE` (the S3 Express One
|
2199
|
+
# Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3
|
2200
|
+
# One Zone-Infrequent Access storage class) in Dedicated Local Zones.
|
2195
2201
|
#
|
2196
2202
|
# * Amazon S3 on Outposts only uses the OUTPOSTS Storage Class.
|
2197
2203
|
#
|
@@ -2789,8 +2795,9 @@ module Aws::S3
|
|
2789
2795
|
# a different Storage Class. For more information, see [Storage
|
2790
2796
|
# Classes][1] in the *Amazon S3 User Guide*.
|
2791
2797
|
#
|
2792
|
-
# <note markdown="1"> *
|
2793
|
-
#
|
2798
|
+
# <note markdown="1"> * Directory buckets only support `EXPRESS_ONEZONE` (the S3 Express One
|
2799
|
+
# Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3
|
2800
|
+
# One Zone-Infrequent Access storage class) in Dedicated Local Zones.
|
2794
2801
|
#
|
2795
2802
|
# * Amazon S3 on Outposts only uses the OUTPOSTS Storage Class.
|
2796
2803
|
#
|
@@ -104,8 +104,10 @@ module Aws::S3
|
|
104
104
|
|
105
105
|
# The class of storage used to store the object.
|
106
106
|
#
|
107
|
-
# <note markdown="1"> **Directory buckets** -
|
108
|
-
#
|
107
|
+
# <note markdown="1"> **Directory buckets** - Directory buckets only support
|
108
|
+
# `EXPRESS_ONEZONE` (the S3 Express One Zone storage class) in
|
109
|
+
# Availability Zones and `ONEZONE_IA` (the S3 One Zone-Infrequent Access
|
110
|
+
# storage class) in Dedicated Local Zones.
|
109
111
|
#
|
110
112
|
# </note>
|
111
113
|
# @return [String]
|
@@ -130,9 +132,10 @@ module Aws::S3
|
|
130
132
|
# archived objects, see [ Working with archived objects][1] in the
|
131
133
|
# *Amazon S3 User Guide*.
|
132
134
|
#
|
133
|
-
# <note markdown="1"> This functionality is not supported for directory buckets.
|
134
|
-
#
|
135
|
-
#
|
135
|
+
# <note markdown="1"> This functionality is not supported for directory buckets. Directory
|
136
|
+
# buckets only support `EXPRESS_ONEZONE` (the S3 Express One Zone
|
137
|
+
# storage class) in Availability Zones and `ONEZONE_IA` (the S3 One
|
138
|
+
# Zone-Infrequent Access storage class) in Dedicated Local Zones.
|
136
139
|
#
|
137
140
|
# </note>
|
138
141
|
#
|
@@ -761,10 +764,12 @@ module Aws::S3
|
|
761
764
|
# availability. Depending on performance needs, you can specify a
|
762
765
|
# different Storage Class.
|
763
766
|
#
|
764
|
-
# <note markdown="1"> * <b>Directory buckets </b> -
|
765
|
-
# Express One Zone storage class
|
766
|
-
#
|
767
|
-
#
|
767
|
+
# <note markdown="1"> * <b>Directory buckets </b> - Directory buckets only support
|
768
|
+
# `EXPRESS_ONEZONE` (the S3 Express One Zone storage class) in
|
769
|
+
# Availability Zones and `ONEZONE_IA` (the S3 One Zone-Infrequent
|
770
|
+
# Access storage class) in Dedicated Local Zones. Unsupported storage
|
771
|
+
# class values won't write a destination object and will respond with
|
772
|
+
# the HTTP status code `400 Bad Request`.
|
768
773
|
#
|
769
774
|
# * <b>Amazon S3 on Outposts </b> - S3 on Outposts only uses the
|
770
775
|
# `OUTPOSTS` Storage Class.
|
@@ -1816,8 +1821,9 @@ module Aws::S3
|
|
1816
1821
|
# a different Storage Class. For more information, see [Storage
|
1817
1822
|
# Classes][1] in the *Amazon S3 User Guide*.
|
1818
1823
|
#
|
1819
|
-
# <note markdown="1"> *
|
1820
|
-
#
|
1824
|
+
# <note markdown="1"> * Directory buckets only support `EXPRESS_ONEZONE` (the S3 Express One
|
1825
|
+
# Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3
|
1826
|
+
# One Zone-Infrequent Access storage class) in Dedicated Local Zones.
|
1821
1827
|
#
|
1822
1828
|
# * Amazon S3 on Outposts only uses the OUTPOSTS Storage Class.
|
1823
1829
|
#
|
@@ -2415,8 +2421,9 @@ module Aws::S3
|
|
2415
2421
|
# a different Storage Class. For more information, see [Storage
|
2416
2422
|
# Classes][1] in the *Amazon S3 User Guide*.
|
2417
2423
|
#
|
2418
|
-
# <note markdown="1"> *
|
2419
|
-
#
|
2424
|
+
# <note markdown="1"> * Directory buckets only support `EXPRESS_ONEZONE` (the S3 Express One
|
2425
|
+
# Zone storage class) in Availability Zones and `ONEZONE_IA` (the S3
|
2426
|
+
# One Zone-Infrequent Access storage class) in Dedicated Local Zones.
|
2420
2427
|
#
|
2421
2428
|
# * Amazon S3 on Outposts only uses the OUTPOSTS Storage Class.
|
2422
2429
|
#
|