aws-sdk-apigatewaymanagementapi 1.50.0 → 1.51.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: b0689b4018cdeeec2de3993fa7f7e8c3a69bd978145c43965a3cb440a344849d
4
- data.tar.gz: eb20d81df5cb00057b9b3d94cea55fae714076bd6f68494f6a72d008dc533766
3
+ metadata.gz: 460fdc7d13d5f93e7f495c6d9832da2d1f810fb03f79f3ad11cb83b849dde9a7
4
+ data.tar.gz: a40a7e3a976646da08ca14824f6c78220efd08a52255f4ec4fb96be275708384
5
5
  SHA512:
6
- metadata.gz: fcb770b04e305056ffb4041ab70ebf7a27d151827a235f4f0a0efe7feaa35cc892ac631f67bc01cea5088d41d4039ad3c907820fcda8f52c92fab9f5d30ecef7
7
- data.tar.gz: a57ecf966d9e164a35bd7b28b84e2aac92150051210746f5286955a92859ddaf55ad9b6a6f943dbebd5d390be3a8e438a1dabea792eb837ad321ccc9b81a6212
6
+ metadata.gz: 8a2a19c81ff58b317797f11684f75ebb2297452fa5a24cbe1635204856431dca6217a8162c44d4bd7695ee47c798c0400f5704f3361c7aa2082c5539f15c0067
7
+ data.tar.gz: d23667bdcc96623286356ec40225a703b8e3cb32ffff7ad916e23c9e89174959bd9bc16b85588e6bc8b5a00d54a271e53ae9eef07250cfd8003e25b2ebfc1587
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2024-09-11)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.50.0 (2024-09-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.51.0
@@ -533,7 +533,7 @@ module Aws::ApiGatewayManagementApi
533
533
  tracer: tracer
534
534
  )
535
535
  context[:gem_name] = 'aws-sdk-apigatewaymanagementapi'
536
- context[:gem_version] = '1.50.0'
536
+ context[:gem_version] = '1.51.0'
537
537
  Seahorse::Client::Request.new(handlers, context)
538
538
  end
539
539
 
@@ -14,42 +14,33 @@ module Aws::ApiGatewayManagementApi
14
14
 
15
15
  class DeleteConnection
16
16
  def self.build(context)
17
- unless context.config.regional_endpoint
18
- endpoint = context.config.endpoint.to_s
19
- end
20
17
  Aws::ApiGatewayManagementApi::EndpointParameters.new(
21
18
  region: context.config.region,
22
19
  use_dual_stack: context.config.use_dualstack_endpoint,
23
20
  use_fips: context.config.use_fips_endpoint,
24
- endpoint: endpoint,
21
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
25
22
  )
26
23
  end
27
24
  end
28
25
 
29
26
  class GetConnection
30
27
  def self.build(context)
31
- unless context.config.regional_endpoint
32
- endpoint = context.config.endpoint.to_s
33
- end
34
28
  Aws::ApiGatewayManagementApi::EndpointParameters.new(
35
29
  region: context.config.region,
36
30
  use_dual_stack: context.config.use_dualstack_endpoint,
37
31
  use_fips: context.config.use_fips_endpoint,
38
- endpoint: endpoint,
32
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
39
33
  )
40
34
  end
41
35
  end
42
36
 
43
37
  class PostToConnection
44
38
  def self.build(context)
45
- unless context.config.regional_endpoint
46
- endpoint = context.config.endpoint.to_s
47
- end
48
39
  Aws::ApiGatewayManagementApi::EndpointParameters.new(
49
40
  region: context.config.region,
50
41
  use_dual_stack: context.config.use_dualstack_endpoint,
51
42
  use_fips: context.config.use_fips_endpoint,
52
- endpoint: endpoint,
43
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
53
44
  )
54
45
  end
55
46
  end
@@ -40,11 +40,20 @@ module Aws::ApiGatewayManagementApi
40
40
  context[:auth_scheme] =
41
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
42
42
 
43
- @handler.call(context)
43
+ with_metrics(context) { @handler.call(context) }
44
44
  end
45
45
 
46
46
  private
47
47
 
48
+ def with_metrics(context, &block)
49
+ metrics = []
50
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
51
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
+ metrics << 'SIGV4A_SIGNING'
53
+ end
54
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
55
+ end
56
+
48
57
  def apply_endpoint_headers(context, headers)
49
58
  headers.each do |key, values|
50
59
  value = values
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-apigatewaymanagementapi/customizations'
52
52
  # @!group service
53
53
  module Aws::ApiGatewayManagementApi
54
54
 
55
- GEM_VERSION = '1.50.0'
55
+ GEM_VERSION = '1.51.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-apigatewaymanagementapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.50.0
4
+ version: 1.51.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-09-10 00:00:00.000000000 Z
11
+ date: 2024-09-11 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.203.0
22
+ version: 3.205.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.203.0
32
+ version: 3.205.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement