aws-sdk-s3control 1.94.0 → 1.96.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-s3control/client.rb +1 -1
- data/lib/aws-sdk-s3control/client_api.rb +3 -3
- data/lib/aws-sdk-s3control/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-s3control/endpoints.rb +384 -724
- data/lib/aws-sdk-s3control/plugins/endpoints.rb +1 -192
- data/lib/aws-sdk-s3control/types.rb +6 -5
- data/lib/aws-sdk-s3control.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d745370b47ef345ac8875be0b8a63b6e25398c586c325a96a745767729825852
|
4
|
+
data.tar.gz: d08dd57d095fca3deb1351832dfa5270d023017d0a351af822a0f2b65a5b1266
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64ba931d82ec11a209b308d40cf090fa0ee70800d6387194772344e7e1c0a8fbfe6cb5ecd8fc0ba8bda2790baa54eaf14bddded348cbfaa189da3fb9001fcad2
|
7
|
+
data.tar.gz: 7cea83a623e985b4dc4c81630a4a09290e665efbfded38be7fcd35727ddfa25ffb6516c21f9856d0a7b06a496c77c9dc20a12cffba031112809095815313549a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.96.0 (2024-11-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Fix ListStorageLensConfigurations and ListStorageLensGroups deserialization for Smithy SDKs.
|
8
|
+
|
9
|
+
1.95.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.94.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.96.0
|
@@ -279,7 +279,7 @@ module Aws::S3Control
|
|
279
279
|
ListRegionalBucketsResult = Shapes::StructureShape.new(name: 'ListRegionalBucketsResult')
|
280
280
|
ListStorageLensConfigurationEntry = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationEntry')
|
281
281
|
ListStorageLensConfigurationsRequest = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationsRequest')
|
282
|
-
ListStorageLensConfigurationsResult = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationsResult')
|
282
|
+
ListStorageLensConfigurationsResult = Shapes::StructureShape.new(name: 'ListStorageLensConfigurationsResult', locationName: "ListStorageLensConfigurationResult")
|
283
283
|
ListStorageLensGroupEntry = Shapes::StructureShape.new(name: 'ListStorageLensGroupEntry')
|
284
284
|
ListStorageLensGroupsRequest = Shapes::StructureShape.new(name: 'ListStorageLensGroupsRequest')
|
285
285
|
ListStorageLensGroupsResult = Shapes::StructureShape.new(name: 'ListStorageLensGroupsResult')
|
@@ -1426,7 +1426,7 @@ module Aws::S3Control
|
|
1426
1426
|
ListStorageLensConfigurationsRequest.struct_class = Types::ListStorageLensConfigurationsRequest
|
1427
1427
|
|
1428
1428
|
ListStorageLensConfigurationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: ContinuationToken, location_name: "NextToken"))
|
1429
|
-
ListStorageLensConfigurationsResult.add_member(:storage_lens_configuration_list, Shapes::ShapeRef.new(shape: StorageLensConfigurationList, location_name: "
|
1429
|
+
ListStorageLensConfigurationsResult.add_member(:storage_lens_configuration_list, Shapes::ShapeRef.new(shape: StorageLensConfigurationList, location_name: "StorageLensConfiguration"))
|
1430
1430
|
ListStorageLensConfigurationsResult.struct_class = Types::ListStorageLensConfigurationsResult
|
1431
1431
|
|
1432
1432
|
ListStorageLensGroupEntry.add_member(:name, Shapes::ShapeRef.new(shape: StorageLensGroupName, required: true, location_name: "Name"))
|
@@ -1439,7 +1439,7 @@ module Aws::S3Control
|
|
1439
1439
|
ListStorageLensGroupsRequest.struct_class = Types::ListStorageLensGroupsRequest
|
1440
1440
|
|
1441
1441
|
ListStorageLensGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: ContinuationToken, location_name: "NextToken"))
|
1442
|
-
ListStorageLensGroupsResult.add_member(:storage_lens_group_list, Shapes::ShapeRef.new(shape: StorageLensGroupList, location_name: "
|
1442
|
+
ListStorageLensGroupsResult.add_member(:storage_lens_group_list, Shapes::ShapeRef.new(shape: StorageLensGroupList, location_name: "StorageLensGroup"))
|
1443
1443
|
ListStorageLensGroupsResult.struct_class = Types::ListStorageLensGroupsResult
|
1444
1444
|
|
1445
1445
|
ListTagsForResourceRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
|
@@ -94,14 +94,8 @@ module Aws::S3Control
|
|
94
94
|
self[:region] = options[:region]
|
95
95
|
self[:use_fips] = options[:use_fips]
|
96
96
|
self[:use_fips] = false if self[:use_fips].nil?
|
97
|
-
if self[:use_fips].nil?
|
98
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
99
|
-
end
|
100
97
|
self[:use_dual_stack] = options[:use_dual_stack]
|
101
98
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
102
|
-
if self[:use_dual_stack].nil?
|
103
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
104
|
-
end
|
105
99
|
self[:endpoint] = options[:endpoint]
|
106
100
|
self[:account_id] = options[:account_id]
|
107
101
|
self[:requires_account_id] = options[:requires_account_id]
|
@@ -110,5 +104,14 @@ module Aws::S3Control
|
|
110
104
|
self[:access_point_name] = options[:access_point_name]
|
111
105
|
self[:use_arn_region] = options[:use_arn_region]
|
112
106
|
end
|
107
|
+
|
108
|
+
def self.create(config, options={})
|
109
|
+
new({
|
110
|
+
region: config.region,
|
111
|
+
use_fips: config.use_fips_endpoint,
|
112
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
113
|
+
use_arn_region: config.s3_use_arn_region,
|
114
|
+
}.merge(options))
|
115
|
+
end
|
113
116
|
end
|
114
117
|
end
|