aws-sdk-applicationsignals 1.10.0 → 1.12.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: b7e9a118366d78f9042b48973626280351f5f147195cdb1dbb7b94d78ab9191b
4
- data.tar.gz: 9eedf7846e260be500958fb6a3378c9ba596928ec34456590e7c5dfc03312d4a
3
+ metadata.gz: 29733e28d2b169e35edf78ce52615cba06b54831f390346f9e3db9562afd42d6
4
+ data.tar.gz: 9805421d7de6245f91d8a4a0e52cca4c3ebc8a0e4ed5eff9df3c7003eae170b0
5
5
  SHA512:
6
- metadata.gz: 135ce64a99a14b6cd904157680f14bf6112212c555e4277d331d662d0864b8fab862e7da343eabe69b6758f0a309abb51912a32ce6ec648884bb931081b1dff8
7
- data.tar.gz: ced236dbd998f2d64f3c9303cdede839f242713ac37f98d588db2d9915eeeb8aac01389744ae72ecda99afb5501b391c9031e8cfb8d8da1a405025967e9041c4
6
+ metadata.gz: 4012a8b640b19231c247ee5b1229dcaa0068c8f606e639c21bc7f30c3508fe01314cba59baaecfae93cd3312e5db71694c60b115fd9e12ff833651f3acf678db
7
+ data.tar.gz: b08391ac3fe3a557b75cbc2f7d7edf7aba3f079a5d44b056beab9e1fe091ba69abfec12fab60551c90557c980072aee17cef6b04325343246562b2f833ecb4c7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.12.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.11.0 (2024-09-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.10.0 (2024-09-23)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.0
1
+ 1.12.0
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
36
36
  require 'aws-sdk-core/plugins/sign.rb'
37
37
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
38
38
 
39
- Aws::Plugins::GlobalConfiguration.add_identifier(:applicationsignals)
40
-
41
39
  module Aws::ApplicationSignals
42
40
  # An API client for ApplicationSignals. To construct a client, you need to configure a `:region` and `:credentials`.
43
41
  #
@@ -2113,7 +2111,7 @@ module Aws::ApplicationSignals
2113
2111
  tracer: tracer
2114
2112
  )
2115
2113
  context[:gem_name] = 'aws-sdk-applicationsignals'
2116
- context[:gem_version] = '1.10.0'
2114
+ context[:gem_version] = '1.12.0'
2117
2115
  Seahorse::Client::Request.new(handlers, context)
2118
2116
  end
2119
2117
 
@@ -44,11 +44,16 @@ module Aws::ApplicationSignals
44
44
  def initialize(options = {})
45
45
  self[:use_fips] = options[:use_fips]
46
46
  self[:use_fips] = false if self[:use_fips].nil?
47
- if self[:use_fips].nil?
48
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
49
- end
50
47
  self[:endpoint] = options[:endpoint]
51
48
  self[:region] = options[:region]
52
49
  end
50
+
51
+ def self.create(config, options={})
52
+ new({
53
+ use_fips: config.use_fips_endpoint,
54
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
55
+ region: config.region,
56
+ }.merge(options))
57
+ end
53
58
  end
54
59
  end
@@ -12,155 +12,9 @@ module Aws::ApplicationSignals
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class BatchGetServiceLevelObjectiveBudgetReport
16
- def self.build(context)
17
- Aws::ApplicationSignals::EndpointParameters.new(
18
- use_fips: context.config.use_fips_endpoint,
19
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
20
- region: context.config.region,
21
- )
22
- end
23
- end
24
-
25
- class CreateServiceLevelObjective
26
- def self.build(context)
27
- Aws::ApplicationSignals::EndpointParameters.new(
28
- use_fips: context.config.use_fips_endpoint,
29
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
30
- region: context.config.region,
31
- )
32
- end
33
- end
34
-
35
- class DeleteServiceLevelObjective
36
- def self.build(context)
37
- Aws::ApplicationSignals::EndpointParameters.new(
38
- use_fips: context.config.use_fips_endpoint,
39
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
40
- region: context.config.region,
41
- )
42
- end
43
- end
44
-
45
- class GetService
46
- def self.build(context)
47
- Aws::ApplicationSignals::EndpointParameters.new(
48
- use_fips: context.config.use_fips_endpoint,
49
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
50
- region: context.config.region,
51
- )
52
- end
53
- end
54
-
55
- class GetServiceLevelObjective
56
- def self.build(context)
57
- Aws::ApplicationSignals::EndpointParameters.new(
58
- use_fips: context.config.use_fips_endpoint,
59
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
60
- region: context.config.region,
61
- )
62
- end
63
- end
64
-
65
- class ListServiceDependencies
66
- def self.build(context)
67
- Aws::ApplicationSignals::EndpointParameters.new(
68
- use_fips: context.config.use_fips_endpoint,
69
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
70
- region: context.config.region,
71
- )
72
- end
73
- end
74
-
75
- class ListServiceDependents
76
- def self.build(context)
77
- Aws::ApplicationSignals::EndpointParameters.new(
78
- use_fips: context.config.use_fips_endpoint,
79
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
80
- region: context.config.region,
81
- )
82
- end
83
- end
84
-
85
- class ListServiceLevelObjectives
86
- def self.build(context)
87
- Aws::ApplicationSignals::EndpointParameters.new(
88
- use_fips: context.config.use_fips_endpoint,
89
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
90
- region: context.config.region,
91
- )
92
- end
93
- end
94
-
95
- class ListServiceOperations
96
- def self.build(context)
97
- Aws::ApplicationSignals::EndpointParameters.new(
98
- use_fips: context.config.use_fips_endpoint,
99
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
100
- region: context.config.region,
101
- )
102
- end
103
- end
104
-
105
- class ListServices
106
- def self.build(context)
107
- Aws::ApplicationSignals::EndpointParameters.new(
108
- use_fips: context.config.use_fips_endpoint,
109
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
110
- region: context.config.region,
111
- )
112
- end
113
- end
114
-
115
- class ListTagsForResource
116
- def self.build(context)
117
- Aws::ApplicationSignals::EndpointParameters.new(
118
- use_fips: context.config.use_fips_endpoint,
119
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
120
- region: context.config.region,
121
- )
122
- end
123
- end
124
15
 
125
- class StartDiscovery
126
- def self.build(context)
127
- Aws::ApplicationSignals::EndpointParameters.new(
128
- use_fips: context.config.use_fips_endpoint,
129
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
130
- region: context.config.region,
131
- )
132
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::ApplicationSignals::EndpointParameters.create(context.config)
133
18
  end
134
-
135
- class TagResource
136
- def self.build(context)
137
- Aws::ApplicationSignals::EndpointParameters.new(
138
- use_fips: context.config.use_fips_endpoint,
139
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
140
- region: context.config.region,
141
- )
142
- end
143
- end
144
-
145
- class UntagResource
146
- def self.build(context)
147
- Aws::ApplicationSignals::EndpointParameters.new(
148
- use_fips: context.config.use_fips_endpoint,
149
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
150
- region: context.config.region,
151
- )
152
- end
153
- end
154
-
155
- class UpdateServiceLevelObjective
156
- def self.build(context)
157
- Aws::ApplicationSignals::EndpointParameters.new(
158
- use_fips: context.config.use_fips_endpoint,
159
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
160
- region: context.config.region,
161
- )
162
- end
163
- end
164
-
165
19
  end
166
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::ApplicationSignals::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,41 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :batch_get_service_level_objective_budget_report
74
- Aws::ApplicationSignals::Endpoints::BatchGetServiceLevelObjectiveBudgetReport.build(context)
75
- when :create_service_level_objective
76
- Aws::ApplicationSignals::Endpoints::CreateServiceLevelObjective.build(context)
77
- when :delete_service_level_objective
78
- Aws::ApplicationSignals::Endpoints::DeleteServiceLevelObjective.build(context)
79
- when :get_service
80
- Aws::ApplicationSignals::Endpoints::GetService.build(context)
81
- when :get_service_level_objective
82
- Aws::ApplicationSignals::Endpoints::GetServiceLevelObjective.build(context)
83
- when :list_service_dependencies
84
- Aws::ApplicationSignals::Endpoints::ListServiceDependencies.build(context)
85
- when :list_service_dependents
86
- Aws::ApplicationSignals::Endpoints::ListServiceDependents.build(context)
87
- when :list_service_level_objectives
88
- Aws::ApplicationSignals::Endpoints::ListServiceLevelObjectives.build(context)
89
- when :list_service_operations
90
- Aws::ApplicationSignals::Endpoints::ListServiceOperations.build(context)
91
- when :list_services
92
- Aws::ApplicationSignals::Endpoints::ListServices.build(context)
93
- when :list_tags_for_resource
94
- Aws::ApplicationSignals::Endpoints::ListTagsForResource.build(context)
95
- when :start_discovery
96
- Aws::ApplicationSignals::Endpoints::StartDiscovery.build(context)
97
- when :tag_resource
98
- Aws::ApplicationSignals::Endpoints::TagResource.build(context)
99
- when :untag_resource
100
- Aws::ApplicationSignals::Endpoints::UntagResource.build(context)
101
- when :update_service_level_objective
102
- Aws::ApplicationSignals::Endpoints::UpdateServiceLevelObjective.build(context)
103
- end
104
- end
105
70
  end
106
71
 
107
72
  def add_handlers(handlers, _config)
@@ -11,6 +11,8 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:applicationsignals)
15
+
14
16
  # This module provides support for Amazon CloudWatch Application Signals. This module is available in the
15
17
  # `aws-sdk-applicationsignals` gem.
16
18
  #
@@ -52,7 +54,7 @@ module Aws::ApplicationSignals
52
54
  autoload :EndpointProvider, 'aws-sdk-applicationsignals/endpoint_provider'
53
55
  autoload :Endpoints, 'aws-sdk-applicationsignals/endpoints'
54
56
 
55
- GEM_VERSION = '1.10.0'
57
+ GEM_VERSION = '1.12.0'
56
58
 
57
59
  end
58
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-applicationsignals
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.12.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-23 00:00:00.000000000 Z
11
+ date: 2024-10-18 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.207.0
22
+ version: 3.210.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.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement