aws-sdk-s3control 1.59.0 → 1.60.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71c8947541ccf4069af71d14b3abe2d126d1231aae32f3447c4469a9e1506809
4
- data.tar.gz: 203f4f250f24a923822baa1ee2708ddaa329311dae179940ba8dd00b10145925
3
+ metadata.gz: a51b85a0904430d47d45808586fdcb1cc950b9b6f318dfe89cbb1d603696586b
4
+ data.tar.gz: 456502bf1fe8e599ab4c8a62ce0db5c410a18bfff24656f14b9598de5beca675
5
5
  SHA512:
6
- metadata.gz: '0229c228ed318a8d21e49306a5272ba38c7eb2889641fc7d016d9395e17bdb95d22d0b265c79f10f3ba5da47bb9ebd746a0dfad54deb04cadde8d1d9e1af7f17'
7
- data.tar.gz: df196836508c89746b34db6c8e28dc80bcf603a034ca926be648a2909ceef14ddb540035067de425eb200c0ab25cd86a447f80a35e8dcbf0fb0700caa6c07b11
6
+ metadata.gz: b262895d6226666fe3f6cb522b740d037799ea69f2b15fb1f3b72068c2774dc2a3a3a06855b17e8fc8f44b7e81024cafdcefd414b200bd111ff9d44b51a04778
7
+ data.tar.gz: b6d69656866ba150cbfc333f0668423928c8c721805f021cae0e0e4245c64919b96ff1dcea903def9c8a3eb10450d877656d6e25ccb56a2dffbbf023160eaa82
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.60.0 (2023-01-25)
5
+ ------------------
6
+
7
+ * Feature - Add additional endpoint tests for S3 Control. Fix missing endpoint parameters for PutBucketVersioning and GetBucketVersioning. Prior to this fix, those operations may have resulted in an invalid endpoint being resolved.
8
+
4
9
  1.59.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.59.0
1
+ 1.60.0
@@ -5104,7 +5104,7 @@ module Aws::S3Control
5104
5104
  params: params,
5105
5105
  config: config)
5106
5106
  context[:gem_name] = 'aws-sdk-s3control'
5107
- context[:gem_version] = '1.59.0'
5107
+ context[:gem_version] = '1.60.0'
5108
5108
  Seahorse::Client::Request.new(handlers, context)
5109
5109
  end
5110
5110
 
@@ -708,8 +708,8 @@ module Aws::S3Control
708
708
  GetBucketTaggingResult.add_member(:tag_set, Shapes::ShapeRef.new(shape: S3TagSet, required: true, location_name: "TagSet"))
709
709
  GetBucketTaggingResult.struct_class = Types::GetBucketTaggingResult
710
710
 
711
- GetBucketVersioningRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id"))
712
- GetBucketVersioningRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
711
+ GetBucketVersioningRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
712
+ GetBucketVersioningRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
713
713
  GetBucketVersioningRequest.struct_class = Types::GetBucketVersioningRequest
714
714
 
715
715
  GetBucketVersioningResult.add_member(:status, Shapes::ShapeRef.new(shape: BucketVersioningStatus, location_name: "Status"))
@@ -1114,8 +1114,8 @@ module Aws::S3Control
1114
1114
  PutBucketTaggingRequest[:payload] = :tagging
1115
1115
  PutBucketTaggingRequest[:payload_member] = PutBucketTaggingRequest.member(:tagging)
1116
1116
 
1117
- PutBucketVersioningRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id"))
1118
- PutBucketVersioningRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name"))
1117
+ PutBucketVersioningRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "header", location_name: "x-amz-account-id", metadata: {"contextParam"=>{"name"=>"AccountId"}}))
1118
+ PutBucketVersioningRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "name", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
1119
1119
  PutBucketVersioningRequest.add_member(:mfa, Shapes::ShapeRef.new(shape: MFA, location: "header", location_name: "x-amz-mfa"))
1120
1120
  PutBucketVersioningRequest.add_member(:versioning_configuration, Shapes::ShapeRef.new(shape: VersioningConfiguration, required: true, location_name: "VersioningConfiguration", metadata: {"xmlNamespace"=>{"uri"=>"http://awss3control.amazonaws.com/doc/2018-08-20/"}}))
1121
1121
  PutBucketVersioningRequest.struct_class = Types::PutBucketVersioningRequest
@@ -40,12 +40,12 @@ module Aws::S3Control
40
40
  raise ArgumentError, "Invalid configuration: Outposts do not support dual-stack"
41
41
  end
42
42
  if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
43
- return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3-outposts"}]})
43
+ return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
44
44
  end
45
45
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
46
- return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3-outposts"}]})
46
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
47
47
  end
48
- return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3-outposts"}]})
48
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
49
49
  end
50
50
  raise ArgumentError, "Invalid region: region was not a valid DNS name."
51
51
  end
@@ -75,12 +75,12 @@ module Aws::S3Control
75
75
  if (access_point_name = Aws::Endpoints::Matchers.attr(access_point_arn, "resourceId[3]"))
76
76
  if Aws::Endpoints::Matchers.string_equals?(outpost_type, "accesspoint")
77
77
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
78
- return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{access_point_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{access_point_arn['region']}", "disableDoubleEncoding"=>true, "signingName"=>"s3-outposts"}]})
78
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{access_point_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "disableDoubleEncoding"=>true, "signingRegion"=>"#{access_point_arn['region']}"}]})
79
79
  end
80
80
  if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
81
- return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{access_point_arn['region']}", "disableDoubleEncoding"=>true, "signingName"=>"s3-outposts"}]})
81
+ return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "disableDoubleEncoding"=>true, "signingRegion"=>"#{access_point_arn['region']}"}]})
82
82
  end
83
- return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{access_point_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{access_point_arn['region']}", "disableDoubleEncoding"=>true, "signingName"=>"s3-outposts"}]})
83
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{access_point_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{access_point_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "disableDoubleEncoding"=>true, "signingRegion"=>"#{access_point_arn['region']}"}]})
84
84
  end
85
85
  raise ArgumentError, "Expected an outpost type `accesspoint`, found `#{outpost_type}`"
86
86
  end
@@ -131,12 +131,12 @@ module Aws::S3Control
131
131
  if (bucket_name = Aws::Endpoints::Matchers.attr(bucket_arn, "resourceId[3]"))
132
132
  if Aws::Endpoints::Matchers.string_equals?(outpost_type, "bucket")
133
133
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
134
- return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{bucket_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{bucket_arn['region']}", "disableDoubleEncoding"=>true, "signingName"=>"s3-outposts"}]})
134
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts-fips.#{bucket_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "disableDoubleEncoding"=>true, "signingRegion"=>"#{bucket_arn['region']}"}]})
135
135
  end
136
136
  if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
137
- return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{bucket_arn['region']}", "disableDoubleEncoding"=>true, "signingName"=>"s3-outposts"}]})
137
+ return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "disableDoubleEncoding"=>true, "signingRegion"=>"#{bucket_arn['region']}"}]})
138
138
  end
139
- return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{bucket_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{bucket_arn['region']}", "disableDoubleEncoding"=>true, "signingName"=>"s3-outposts"}]})
139
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-outposts.#{bucket_arn['region']}.#{arn_partition['dnsSuffix']}", headers: {"x-amz-account-id"=>["#{bucket_arn['accountId']}"], "x-amz-outpost-id"=>["#{outpost_id}"]}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "disableDoubleEncoding"=>true, "signingRegion"=>"#{bucket_arn['region']}"}]})
140
140
  end
141
141
  raise ArgumentError, "Invalid ARN: Expected an outpost type `bucket`, found `#{outpost_type}`"
142
142
  end
@@ -179,33 +179,33 @@ module Aws::S3Control
179
179
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
180
180
  end
181
181
  if Aws::Endpoints::Matchers.set?(requires_account_id) && Aws::Endpoints::Matchers.boolean_equals?(requires_account_id, true) && Aws::Endpoints::Matchers.set?(account_id)
182
- return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{account_id}.#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3"}]})
182
+ return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{account_id}.#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
183
183
  end
184
- return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3"}]})
184
+ return Aws::Endpoints::Endpoint.new(url: "#{url['scheme']}://#{url['authority']}#{url['path']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
185
185
  end
186
186
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) && Aws::Endpoints::Matchers.set?(requires_account_id) && Aws::Endpoints::Matchers.boolean_equals?(requires_account_id, true) && Aws::Endpoints::Matchers.set?(account_id)
187
- return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control-fips.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3"}]})
187
+ return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control-fips.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
188
188
  end
189
189
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
190
- return Aws::Endpoints::Endpoint.new(url: "https://s3-control-fips.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3"}]})
190
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-control-fips.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
191
191
  end
192
192
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false) && Aws::Endpoints::Matchers.set?(requires_account_id) && Aws::Endpoints::Matchers.boolean_equals?(requires_account_id, true) && Aws::Endpoints::Matchers.set?(account_id)
193
- return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3"}]})
193
+ return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
194
194
  end
195
195
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
196
- return Aws::Endpoints::Endpoint.new(url: "https://s3-control-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3"}]})
196
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-control-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
197
197
  end
198
198
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) && Aws::Endpoints::Matchers.set?(requires_account_id) && Aws::Endpoints::Matchers.boolean_equals?(requires_account_id, true) && Aws::Endpoints::Matchers.set?(account_id)
199
- return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3"}]})
199
+ return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
200
200
  end
201
201
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
202
- return Aws::Endpoints::Endpoint.new(url: "https://s3-control.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3"}]})
202
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-control.dualstack.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
203
203
  end
204
204
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false) && Aws::Endpoints::Matchers.set?(requires_account_id) && Aws::Endpoints::Matchers.boolean_equals?(requires_account_id, true) && Aws::Endpoints::Matchers.set?(account_id)
205
- return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3"}]})
205
+ return Aws::Endpoints::Endpoint.new(url: "https://#{account_id}.s3-control.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
206
206
  end
207
207
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
208
- return Aws::Endpoints::Endpoint.new(url: "https://s3-control.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{region}", "disableDoubleEncoding"=>true, "signingName"=>"s3"}]})
208
+ return Aws::Endpoints::Endpoint.new(url: "https://s3-control.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"#{region}"}]})
209
209
  end
210
210
  end
211
211
  raise ArgumentError, "Invalid region: region was not a valid DNS name."
@@ -641,10 +641,10 @@ module Aws::S3Control
641
641
  use_fips: context.config.use_fips_endpoint,
642
642
  use_dual_stack: context[:use_dualstack_endpoint],
643
643
  endpoint: endpoint,
644
- account_id: nil,
645
- requires_account_id: nil,
644
+ account_id: context.params[:account_id],
645
+ requires_account_id: true,
646
646
  outpost_id: nil,
647
- bucket: nil,
647
+ bucket: context.params[:bucket],
648
648
  access_point_name: nil,
649
649
  use_arn_region: context.config.s3_use_arn_region,
650
650
  )
@@ -1061,10 +1061,10 @@ module Aws::S3Control
1061
1061
  use_fips: context.config.use_fips_endpoint,
1062
1062
  use_dual_stack: context[:use_dualstack_endpoint],
1063
1063
  endpoint: endpoint,
1064
- account_id: nil,
1065
- requires_account_id: nil,
1064
+ account_id: context.params[:account_id],
1065
+ requires_account_id: true,
1066
1066
  outpost_id: nil,
1067
- bucket: nil,
1067
+ bucket: context.params[:bucket],
1068
1068
  access_point_name: nil,
1069
1069
  use_arn_region: context.config.s3_use_arn_region,
1070
1070
  )
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-s3control/customizations'
52
52
  # @!group service
53
53
  module Aws::S3Control
54
54
 
55
- GEM_VERSION = '1.59.0'
55
+ GEM_VERSION = '1.60.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3control
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.59.0
4
+ version: 1.60.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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4