aws-sdk-applicationsignals 1.11.0 → 1.12.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: a60cc80d1bcf4dec80aab7d74a0e40ab0bd0c86c736778c3d8746dabc6d17370
4
- data.tar.gz: 0d7bd0ea836aa93b5d16ab8ccf5e0254f03490d805a26fe938f2f576500737de
3
+ metadata.gz: 29733e28d2b169e35edf78ce52615cba06b54831f390346f9e3db9562afd42d6
4
+ data.tar.gz: 9805421d7de6245f91d8a4a0e52cca4c3ebc8a0e4ed5eff9df3c7003eae170b0
5
5
  SHA512:
6
- metadata.gz: 8a4237e190164f6124b5502ee208097343489d874d8e41995e8bc11ef19a26662e0d26bc7383c089f932e15521ec6883aabaf3981b77b42b54bf45108fe37194
7
- data.tar.gz: 690fd975d0a0d83539654429c3f9e18926fbd7389e043d66171a126dea1521d270881f73a8f40a19e5a30d2e2c35d8535a43dc0d219c3d51e465d74e2df3bf83
6
+ metadata.gz: 4012a8b640b19231c247ee5b1229dcaa0068c8f606e639c21bc7f30c3508fe01314cba59baaecfae93cd3312e5db71694c60b115fd9e12ff833651f3acf678db
7
+ data.tar.gz: b08391ac3fe3a557b75cbc2f7d7edf7aba3f079a5d44b056beab9e1fe091ba69abfec12fab60551c90557c980072aee17cef6b04325343246562b2f833ecb4c7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.11.0 (2024-09-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.12.0
@@ -2111,7 +2111,7 @@ module Aws::ApplicationSignals
2111
2111
  tracer: tracer
2112
2112
  )
2113
2113
  context[:gem_name] = 'aws-sdk-applicationsignals'
2114
- context[:gem_version] = '1.11.0'
2114
+ context[:gem_version] = '1.12.0'
2115
2115
  Seahorse::Client::Request.new(handlers, context)
2116
2116
  end
2117
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)
@@ -54,7 +54,7 @@ module Aws::ApplicationSignals
54
54
  autoload :EndpointProvider, 'aws-sdk-applicationsignals/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-applicationsignals/endpoints'
56
56
 
57
- GEM_VERSION = '1.11.0'
57
+ GEM_VERSION = '1.12.0'
58
58
 
59
59
  end
60
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.11.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-24 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