aws-sdk-organizations 1.95.0 → 1.97.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e84ce3794a4522729e318f8cb6384221a4b4224704ac2a2b0d6308dd7a7ccc6f
4
- data.tar.gz: 746b8ba22b51aaa71ce902b4c694655afc42437cc92090cefeb8293fc7be7deb
3
+ metadata.gz: 8c30d8c999d640d44407e2f4c776af465848c52b76cddf20ac4454b0eaa85167
4
+ data.tar.gz: 689e6c906db871477ce93ab69ac0aeae5c27e5e83e72db601490a503ae7c28e2
5
5
  SHA512:
6
- metadata.gz: 2deaf7af1ec9b57fb1a7477fd583bb6c8f24f4ce49a5352b1ba52477f1fe4feb14f5e040252ed677e54e2493dc4b604506e6edc5fc3039c8224ea6b2842cb0c9
7
- data.tar.gz: 19a0e2804c0a8a00010aa6e0abbaa081f6768575b40ca7dd4fedfabd66819794d54a888ddc6d969bf736e41e50c4b59f939aaf0808fa85c1138372d49cc35be5
6
+ metadata.gz: 2517b29edec7578ba91465b720f308c8b9ae51b4bcf6b44ef0ac27d239f36140ab3e4589dfd3b4b5be33400d86b24b71455eed930f756fba36a9bfd5df86aa35
7
+ data.tar.gz: f885c25733039a77e1e12e9a7247d2039a302bf1d7b263d9d4eeea875618ead4b0d84ad89130c2374ecd6adcfccc1a7d86980ac532a0591ae2557afa90df9879
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.97.0 (2024-09-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.96.0 (2024-08-23)
10
+ ------------------
11
+
12
+ * Feature - Releasing minor partitional endpoint updates.
13
+
4
14
  1.95.0 (2024-07-03)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.95.0
1
+ 1.97.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::Organizations
83
84
  add_plugin(Aws::Plugins::RequestCompression)
84
85
  add_plugin(Aws::Plugins::DefaultsMode)
85
86
  add_plugin(Aws::Plugins::RecursionDetection)
87
+ add_plugin(Aws::Plugins::Telemetry)
86
88
  add_plugin(Aws::Plugins::Sign)
87
89
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
88
90
  add_plugin(Aws::Organizations::Plugins::Endpoints)
@@ -337,6 +339,16 @@ module Aws::Organizations
337
339
  # ** Please note ** When response stubbing is enabled, no HTTP
338
340
  # requests are made, and retries are disabled.
339
341
  #
342
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
343
+ # Allows you to provide a telemetry provider, which is used to
344
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
345
+ # will not record or emit any telemetry data. The SDK supports the
346
+ # following telemetry providers:
347
+ #
348
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
349
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
350
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
351
+ #
340
352
  # @option options [Aws::TokenProvider] :token_provider
341
353
  # A Bearer Token Provider. This can be an instance of any one of the
342
354
  # following classes:
@@ -5776,14 +5788,19 @@ module Aws::Organizations
5776
5788
  # @api private
5777
5789
  def build_request(operation_name, params = {})
5778
5790
  handlers = @handlers.for(operation_name)
5791
+ tracer = config.telemetry_provider.tracer_provider.tracer(
5792
+ Aws::Telemetry.module_to_tracer_name('Aws::Organizations')
5793
+ )
5779
5794
  context = Seahorse::Client::RequestContext.new(
5780
5795
  operation_name: operation_name,
5781
5796
  operation: config.api.operation(operation_name),
5782
5797
  client: self,
5783
5798
  params: params,
5784
- config: config)
5799
+ config: config,
5800
+ tracer: tracer
5801
+ )
5785
5802
  context[:gem_name] = 'aws-sdk-organizations'
5786
- context[:gem_version] = '1.95.0'
5803
+ context[:gem_version] = '1.97.0'
5787
5804
  Seahorse::Client::Request.new(handlers, context)
5788
5805
  end
5789
5806
 
@@ -43,6 +43,12 @@ module Aws::Organizations
43
43
  if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
44
44
  return Aws::Endpoints::Endpoint.new(url: "https://organizations.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-iso-east-1"}]})
45
45
  end
46
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
47
+ return Aws::Endpoints::Endpoint.new(url: "https://organizations.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-isob-east-1"}]})
48
+ end
49
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-f") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
50
+ return Aws::Endpoints::Endpoint.new(url: "https://organizations.us-isof-south-1.csp.hci.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-isof-south-1"}]})
51
+ end
46
52
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
47
53
  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"))
48
54
  return Aws::Endpoints::Endpoint.new(url: "https://organizations-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-organizations/customizations'
52
52
  # @!group service
53
53
  module Aws::Organizations
54
54
 
55
- GEM_VERSION = '1.95.0'
55
+ GEM_VERSION = '1.97.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -51,6 +51,7 @@ module Aws
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?simple_json: bool,
53
53
  ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
54
55
  ?token_provider: untyped,
55
56
  ?use_dualstack_endpoint: bool,
56
57
  ?use_fips_endpoint: bool,
data/sig/resource.rbs CHANGED
@@ -51,6 +51,7 @@ module Aws
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?simple_json: bool,
53
53
  ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
54
55
  ?token_provider: untyped,
55
56
  ?use_dualstack_endpoint: bool,
56
57
  ?use_fips_endpoint: bool,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-organizations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.95.0
4
+ version: 1.97.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: 2024-07-03 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.201.0
22
+ version: 3.203.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement