aws-sdk-mediaconvert 1.97.0 → 1.98.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: 5d4493822aa5c6a674263b92bbaae508e3549da60689e821668170aeb9426530
4
- data.tar.gz: 6badda2ff8b7162ca673dfdd3a34b474a18cc86f0f4df383e2a9ae8de579caa5
3
+ metadata.gz: 8e9e9058f9c522d40f780c92018f8c00666fb93cd60892556ced763ed785d528
4
+ data.tar.gz: d714cefb21df96a7c839223efe64fb9a45d440699cc2712016a3c35f9364a424
5
5
  SHA512:
6
- metadata.gz: 3facc577843a325562af42266b466c905e57d6b8c20fa3ad7eb9dd5b6c651962b25e389c16a114effe10ef0fce4b6849d245fdf5561f5ffaa48bcf1b0ed5d0af
7
- data.tar.gz: d23017451295e21f814e97b6d9ead7f7a8a59ea4b8c607c03c445035c75edc63c353ede39ba76259ff72797ea201f119e11e79f0b83b5ca4f69732bd9f250cd3
6
+ metadata.gz: ed05218f38a9d5a62dceacdee6f91d4ff78a87c3187bcd1e8de1b1d6a2d48595bf74fe3189cfd2204e1f9ac30f730df7208756f17758c50976110fe096df6fe3
7
+ data.tar.gz: 5399bdf03a5bd990d1c841d5374a97106deaebf0c901f3f30963b57f285ec61c51233984a4afa742afe0fdaa8c06c0d4b61cc87bb0b99927bf8a2cb8a45261ad
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.98.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.97.0 (2023-01-12)
5
12
  ------------------
6
13
 
@@ -495,4 +502,4 @@ Unreleased Changes
495
502
  1.0.0 (2017-11-27)
496
503
  ------------------
497
504
 
498
- * Feature - Initial release of `aws-sdk-mediaconvert`.
505
+ * Feature - Initial release of `aws-sdk-mediaconvert`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.97.0
1
+ 1.98.0
@@ -12204,7 +12204,7 @@ module Aws::MediaConvert
12204
12204
  params: params,
12205
12205
  config: config)
12206
12206
  context[:gem_name] = 'aws-sdk-mediaconvert'
12207
- context[:gem_version] = '1.97.0'
12207
+ context[:gem_version] = '1.98.0'
12208
12208
  Seahorse::Client::Request.new(handlers, context)
12209
12209
  end
12210
12210
 
@@ -9,108 +9,46 @@
9
9
 
10
10
  module Aws::MediaConvert
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://mediaconvert-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://mediaconvert-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://mediaconvert.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ if Aws::Endpoints::Matchers.string_equals?(region, "cn-northwest-1")
46
+ return Aws::Endpoints::Endpoint.new(url: "https://subscribe.mediaconvert.cn-northwest-1.amazonaws.com.cn", headers: {}, properties: {})
47
+ end
48
+ return Aws::Endpoints::Endpoint.new(url: "https://mediaconvert.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
49
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicm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aW9ufS57UGFydGl0aW9uUmVzdWx0I2R1YWxTdGFja0Ruc1N1ZmZpeH0i
100
- LCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9p
101
- bnQifV19LHsiY29uZGl0aW9ucyI6W10sImVycm9yIjoiRHVhbFN0YWNrIGlz
102
- IGVuYWJsZWQgYnV0IHRoaXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBvcnQg
103
- RHVhbFN0YWNrIiwidHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOltd
104
- LCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25zIjpbeyJmbiI6
105
- InN0cmluZ0VxdWFscyIsImFyZ3YiOlt7InJlZiI6IlJlZ2lvbiJ9LCJjbi1u
106
- b3J0aHdlc3QtMSJdfV0sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vc3Vi
107
- c2NyaWJlLm1lZGlhY29udmVydC5jbi1ub3J0aHdlc3QtMS5hbWF6b25hd3Mu
108
- Y29tLmNuIiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6
109
- ImVuZHBvaW50In0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJs
110
- IjoiaHR0cHM6Ly9tZWRpYWNvbnZlcnQue1JlZ2lvbn0ue1BhcnRpdGlvblJl
111
- c3VsdCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9
112
- fSwidHlwZSI6ImVuZHBvaW50In1dfV19XX0=
113
-
114
- JSON
115
53
  end
116
54
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-mediaconvert/customizations'
52
52
  # @!group service
53
53
  module Aws::MediaConvert
54
54
 
55
- GEM_VERSION = '1.97.0'
55
+ GEM_VERSION = '1.98.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediaconvert
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.97.0
4
+ version: 1.98.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-12 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core