aws-sdk-applicationinsights 1.31.0 → 1.33.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: b4bf13c4eeb7829fab7fada61f18bb6ad57550d33b5166a6fa7cdca3527d8dc3
4
- data.tar.gz: c414e7ac90fc98d4f50e6df42204d492e2ec22ce19e022c6d272d04e68191c8b
3
+ metadata.gz: 79144213dccf1792bf05792522d95e661c3beaee254e2180486811a884ab8148
4
+ data.tar.gz: 337cf46cf55283bedb7d5f6e2f44849957c562e3c81653a1db8f7e55b4c50541
5
5
  SHA512:
6
- metadata.gz: aef8048ac833e61f95c0974e418499197646de883ecbe9c3151bebcb1dbc0af354d48475c3b33ff3531c9bcad5dcd786bc2b9e8615cc928f29abc7284a8eb031
7
- data.tar.gz: 0e7537f897a883df4cd35e9bb1de646c771515c96c18b83ca12ffbb1f5fdb3340334ef65e3e8dcba81afa943c1b5225c48c7398cca9d54e2c5714da0e0e2c63e
6
+ metadata.gz: b4525715f280d703f42100320fe4b542920cfa97e185a538af5bf454cecfb95b82e77e122a133b8a2debe3e0d78ddd4f31cdf9926a26343d64f8eed8310265f9
7
+ data.tar.gz: 4e5802c8f1fcbeb0300e88cf23cbbb98e4ac0bcb0346f807381bd04e0e69975b9856c7254d109a1a2ed87f1178778fd7191b029dd996169ec4a0bd74631cb16f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.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
+
11
+ 1.32.0 (2022-10-25)
12
+ ------------------
13
+
14
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
15
+
4
16
  1.31.0 (2022-06-02)
5
17
  ------------------
6
18
 
@@ -165,4 +177,4 @@ Unreleased Changes
165
177
  1.0.0 (2019-06-24)
166
178
  ------------------
167
179
 
168
- * Feature - Initial release of `aws-sdk-applicationinsights`.
180
+ * Feature - Initial release of `aws-sdk-applicationinsights`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.33.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:applicationinsights)
@@ -79,8 +79,9 @@ module Aws::ApplicationInsights
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
84
+ add_plugin(Aws::ApplicationInsights::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::ApplicationInsights
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::ApplicationInsights
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::ApplicationInsights::EndpointProvider] :endpoint_provider
328
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ApplicationInsights::EndpointParameters`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -1675,7 +1692,7 @@ module Aws::ApplicationInsights
1675
1692
  params: params,
1676
1693
  config: config)
1677
1694
  context[:gem_name] = 'aws-sdk-applicationinsights'
1678
- context[:gem_version] = '1.31.0'
1695
+ context[:gem_version] = '1.33.0'
1679
1696
  Seahorse::Client::Request.new(handlers, context)
1680
1697
  end
1681
1698
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::ApplicationInsights
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::ApplicationInsights
11
+ class EndpointProvider
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) && (url = Aws::Endpoints::Matchers.parse_url(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://applicationinsights-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://applicationinsights-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://applicationinsights.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://applicationinsights.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
+ end
47
+ raise ArgumentError, 'No endpoint could be resolved'
48
+
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,393 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::ApplicationInsights
12
+ module Endpoints
13
+
14
+ class CreateApplication
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::ApplicationInsights::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class CreateComponent
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::ApplicationInsights::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class CreateLogPattern
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::ApplicationInsights::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class DeleteApplication
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::ApplicationInsights::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class DeleteComponent
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::ApplicationInsights::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class DeleteLogPattern
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::ApplicationInsights::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class DescribeApplication
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::ApplicationInsights::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class DescribeComponent
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::ApplicationInsights::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class DescribeComponentConfiguration
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::ApplicationInsights::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class DescribeComponentConfigurationRecommendation
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::ApplicationInsights::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class DescribeLogPattern
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::ApplicationInsights::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class DescribeObservation
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::ApplicationInsights::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class DescribeProblem
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::ApplicationInsights::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ class DescribeProblemObservations
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::ApplicationInsights::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ class ListApplications
211
+ def self.build(context)
212
+ unless context.config.regional_endpoint
213
+ endpoint = context.config.endpoint.to_s
214
+ end
215
+ Aws::ApplicationInsights::EndpointParameters.new(
216
+ region: context.config.region,
217
+ use_dual_stack: context.config.use_dualstack_endpoint,
218
+ use_fips: context.config.use_fips_endpoint,
219
+ endpoint: endpoint,
220
+ )
221
+ end
222
+ end
223
+
224
+ class ListComponents
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::ApplicationInsights::EndpointParameters.new(
230
+ region: context.config.region,
231
+ use_dual_stack: context.config.use_dualstack_endpoint,
232
+ use_fips: context.config.use_fips_endpoint,
233
+ endpoint: endpoint,
234
+ )
235
+ end
236
+ end
237
+
238
+ class ListConfigurationHistory
239
+ def self.build(context)
240
+ unless context.config.regional_endpoint
241
+ endpoint = context.config.endpoint.to_s
242
+ end
243
+ Aws::ApplicationInsights::EndpointParameters.new(
244
+ region: context.config.region,
245
+ use_dual_stack: context.config.use_dualstack_endpoint,
246
+ use_fips: context.config.use_fips_endpoint,
247
+ endpoint: endpoint,
248
+ )
249
+ end
250
+ end
251
+
252
+ class ListLogPatternSets
253
+ def self.build(context)
254
+ unless context.config.regional_endpoint
255
+ endpoint = context.config.endpoint.to_s
256
+ end
257
+ Aws::ApplicationInsights::EndpointParameters.new(
258
+ region: context.config.region,
259
+ use_dual_stack: context.config.use_dualstack_endpoint,
260
+ use_fips: context.config.use_fips_endpoint,
261
+ endpoint: endpoint,
262
+ )
263
+ end
264
+ end
265
+
266
+ class ListLogPatterns
267
+ def self.build(context)
268
+ unless context.config.regional_endpoint
269
+ endpoint = context.config.endpoint.to_s
270
+ end
271
+ Aws::ApplicationInsights::EndpointParameters.new(
272
+ region: context.config.region,
273
+ use_dual_stack: context.config.use_dualstack_endpoint,
274
+ use_fips: context.config.use_fips_endpoint,
275
+ endpoint: endpoint,
276
+ )
277
+ end
278
+ end
279
+
280
+ class ListProblems
281
+ def self.build(context)
282
+ unless context.config.regional_endpoint
283
+ endpoint = context.config.endpoint.to_s
284
+ end
285
+ Aws::ApplicationInsights::EndpointParameters.new(
286
+ region: context.config.region,
287
+ use_dual_stack: context.config.use_dualstack_endpoint,
288
+ use_fips: context.config.use_fips_endpoint,
289
+ endpoint: endpoint,
290
+ )
291
+ end
292
+ end
293
+
294
+ class ListTagsForResource
295
+ def self.build(context)
296
+ unless context.config.regional_endpoint
297
+ endpoint = context.config.endpoint.to_s
298
+ end
299
+ Aws::ApplicationInsights::EndpointParameters.new(
300
+ region: context.config.region,
301
+ use_dual_stack: context.config.use_dualstack_endpoint,
302
+ use_fips: context.config.use_fips_endpoint,
303
+ endpoint: endpoint,
304
+ )
305
+ end
306
+ end
307
+
308
+ class TagResource
309
+ def self.build(context)
310
+ unless context.config.regional_endpoint
311
+ endpoint = context.config.endpoint.to_s
312
+ end
313
+ Aws::ApplicationInsights::EndpointParameters.new(
314
+ region: context.config.region,
315
+ use_dual_stack: context.config.use_dualstack_endpoint,
316
+ use_fips: context.config.use_fips_endpoint,
317
+ endpoint: endpoint,
318
+ )
319
+ end
320
+ end
321
+
322
+ class UntagResource
323
+ def self.build(context)
324
+ unless context.config.regional_endpoint
325
+ endpoint = context.config.endpoint.to_s
326
+ end
327
+ Aws::ApplicationInsights::EndpointParameters.new(
328
+ region: context.config.region,
329
+ use_dual_stack: context.config.use_dualstack_endpoint,
330
+ use_fips: context.config.use_fips_endpoint,
331
+ endpoint: endpoint,
332
+ )
333
+ end
334
+ end
335
+
336
+ class UpdateApplication
337
+ def self.build(context)
338
+ unless context.config.regional_endpoint
339
+ endpoint = context.config.endpoint.to_s
340
+ end
341
+ Aws::ApplicationInsights::EndpointParameters.new(
342
+ region: context.config.region,
343
+ use_dual_stack: context.config.use_dualstack_endpoint,
344
+ use_fips: context.config.use_fips_endpoint,
345
+ endpoint: endpoint,
346
+ )
347
+ end
348
+ end
349
+
350
+ class UpdateComponent
351
+ def self.build(context)
352
+ unless context.config.regional_endpoint
353
+ endpoint = context.config.endpoint.to_s
354
+ end
355
+ Aws::ApplicationInsights::EndpointParameters.new(
356
+ region: context.config.region,
357
+ use_dual_stack: context.config.use_dualstack_endpoint,
358
+ use_fips: context.config.use_fips_endpoint,
359
+ endpoint: endpoint,
360
+ )
361
+ end
362
+ end
363
+
364
+ class UpdateComponentConfiguration
365
+ def self.build(context)
366
+ unless context.config.regional_endpoint
367
+ endpoint = context.config.endpoint.to_s
368
+ end
369
+ Aws::ApplicationInsights::EndpointParameters.new(
370
+ region: context.config.region,
371
+ use_dual_stack: context.config.use_dualstack_endpoint,
372
+ use_fips: context.config.use_fips_endpoint,
373
+ endpoint: endpoint,
374
+ )
375
+ end
376
+ end
377
+
378
+ class UpdateLogPattern
379
+ def self.build(context)
380
+ unless context.config.regional_endpoint
381
+ endpoint = context.config.endpoint.to_s
382
+ end
383
+ Aws::ApplicationInsights::EndpointParameters.new(
384
+ region: context.config.region,
385
+ use_dual_stack: context.config.use_dualstack_endpoint,
386
+ use_fips: context.config.use_fips_endpoint,
387
+ endpoint: endpoint,
388
+ )
389
+ end
390
+ end
391
+
392
+ end
393
+ end
@@ -0,0 +1,122 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::ApplicationInsights
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::ApplicationInsights::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::ApplicationInsights::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::ApplicationInsights::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :create_application
60
+ Aws::ApplicationInsights::Endpoints::CreateApplication.build(context)
61
+ when :create_component
62
+ Aws::ApplicationInsights::Endpoints::CreateComponent.build(context)
63
+ when :create_log_pattern
64
+ Aws::ApplicationInsights::Endpoints::CreateLogPattern.build(context)
65
+ when :delete_application
66
+ Aws::ApplicationInsights::Endpoints::DeleteApplication.build(context)
67
+ when :delete_component
68
+ Aws::ApplicationInsights::Endpoints::DeleteComponent.build(context)
69
+ when :delete_log_pattern
70
+ Aws::ApplicationInsights::Endpoints::DeleteLogPattern.build(context)
71
+ when :describe_application
72
+ Aws::ApplicationInsights::Endpoints::DescribeApplication.build(context)
73
+ when :describe_component
74
+ Aws::ApplicationInsights::Endpoints::DescribeComponent.build(context)
75
+ when :describe_component_configuration
76
+ Aws::ApplicationInsights::Endpoints::DescribeComponentConfiguration.build(context)
77
+ when :describe_component_configuration_recommendation
78
+ Aws::ApplicationInsights::Endpoints::DescribeComponentConfigurationRecommendation.build(context)
79
+ when :describe_log_pattern
80
+ Aws::ApplicationInsights::Endpoints::DescribeLogPattern.build(context)
81
+ when :describe_observation
82
+ Aws::ApplicationInsights::Endpoints::DescribeObservation.build(context)
83
+ when :describe_problem
84
+ Aws::ApplicationInsights::Endpoints::DescribeProblem.build(context)
85
+ when :describe_problem_observations
86
+ Aws::ApplicationInsights::Endpoints::DescribeProblemObservations.build(context)
87
+ when :list_applications
88
+ Aws::ApplicationInsights::Endpoints::ListApplications.build(context)
89
+ when :list_components
90
+ Aws::ApplicationInsights::Endpoints::ListComponents.build(context)
91
+ when :list_configuration_history
92
+ Aws::ApplicationInsights::Endpoints::ListConfigurationHistory.build(context)
93
+ when :list_log_pattern_sets
94
+ Aws::ApplicationInsights::Endpoints::ListLogPatternSets.build(context)
95
+ when :list_log_patterns
96
+ Aws::ApplicationInsights::Endpoints::ListLogPatterns.build(context)
97
+ when :list_problems
98
+ Aws::ApplicationInsights::Endpoints::ListProblems.build(context)
99
+ when :list_tags_for_resource
100
+ Aws::ApplicationInsights::Endpoints::ListTagsForResource.build(context)
101
+ when :tag_resource
102
+ Aws::ApplicationInsights::Endpoints::TagResource.build(context)
103
+ when :untag_resource
104
+ Aws::ApplicationInsights::Endpoints::UntagResource.build(context)
105
+ when :update_application
106
+ Aws::ApplicationInsights::Endpoints::UpdateApplication.build(context)
107
+ when :update_component
108
+ Aws::ApplicationInsights::Endpoints::UpdateComponent.build(context)
109
+ when :update_component_configuration
110
+ Aws::ApplicationInsights::Endpoints::UpdateComponentConfiguration.build(context)
111
+ when :update_log_pattern
112
+ Aws::ApplicationInsights::Endpoints::UpdateLogPattern.build(context)
113
+ end
114
+ end
115
+ end
116
+
117
+ def add_handlers(handlers, _config)
118
+ handlers.add(Handler, step: :build, priority: 75)
119
+ end
120
+ end
121
+ end
122
+ end
@@ -185,25 +185,6 @@ module Aws::ApplicationInsights
185
185
  include Aws::Structure
186
186
  end
187
187
 
188
- # @note When making an API call, you may pass CreateApplicationRequest
189
- # data as a hash:
190
- #
191
- # {
192
- # resource_group_name: "ResourceGroupName",
193
- # ops_center_enabled: false,
194
- # cwe_monitor_enabled: false,
195
- # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
196
- # tags: [
197
- # {
198
- # key: "TagKey", # required
199
- # value: "TagValue", # required
200
- # },
201
- # ],
202
- # auto_config_enabled: false,
203
- # auto_create: false,
204
- # grouping_type: "ACCOUNT_BASED", # accepts ACCOUNT_BASED
205
- # }
206
- #
207
188
  # @!attribute [rw] resource_group_name
208
189
  # The name of the resource group.
209
190
  # @return [String]
@@ -275,15 +256,6 @@ module Aws::ApplicationInsights
275
256
  include Aws::Structure
276
257
  end
277
258
 
278
- # @note When making an API call, you may pass CreateComponentRequest
279
- # data as a hash:
280
- #
281
- # {
282
- # resource_group_name: "ResourceGroupName", # required
283
- # component_name: "CustomComponentName", # required
284
- # resource_list: ["ResourceARN"], # required
285
- # }
286
- #
287
259
  # @!attribute [rw] resource_group_name
288
260
  # The name of the resource group.
289
261
  # @return [String]
@@ -310,17 +282,6 @@ module Aws::ApplicationInsights
310
282
  #
311
283
  class CreateComponentResponse < Aws::EmptyStructure; end
312
284
 
313
- # @note When making an API call, you may pass CreateLogPatternRequest
314
- # data as a hash:
315
- #
316
- # {
317
- # resource_group_name: "ResourceGroupName", # required
318
- # pattern_set_name: "LogPatternSetName", # required
319
- # pattern_name: "LogPatternName", # required
320
- # pattern: "LogPatternRegex", # required
321
- # rank: 1, # required
322
- # }
323
- #
324
285
  # @!attribute [rw] resource_group_name
325
286
  # The name of the resource group.
326
287
  # @return [String]
@@ -381,13 +342,6 @@ module Aws::ApplicationInsights
381
342
  include Aws::Structure
382
343
  end
383
344
 
384
- # @note When making an API call, you may pass DeleteApplicationRequest
385
- # data as a hash:
386
- #
387
- # {
388
- # resource_group_name: "ResourceGroupName", # required
389
- # }
390
- #
391
345
  # @!attribute [rw] resource_group_name
392
346
  # The name of the resource group.
393
347
  # @return [String]
@@ -404,14 +358,6 @@ module Aws::ApplicationInsights
404
358
  #
405
359
  class DeleteApplicationResponse < Aws::EmptyStructure; end
406
360
 
407
- # @note When making an API call, you may pass DeleteComponentRequest
408
- # data as a hash:
409
- #
410
- # {
411
- # resource_group_name: "ResourceGroupName", # required
412
- # component_name: "CustomComponentName", # required
413
- # }
414
- #
415
361
  # @!attribute [rw] resource_group_name
416
362
  # The name of the resource group.
417
363
  # @return [String]
@@ -433,15 +379,6 @@ module Aws::ApplicationInsights
433
379
  #
434
380
  class DeleteComponentResponse < Aws::EmptyStructure; end
435
381
 
436
- # @note When making an API call, you may pass DeleteLogPatternRequest
437
- # data as a hash:
438
- #
439
- # {
440
- # resource_group_name: "ResourceGroupName", # required
441
- # pattern_set_name: "LogPatternSetName", # required
442
- # pattern_name: "LogPatternName", # required
443
- # }
444
- #
445
382
  # @!attribute [rw] resource_group_name
446
383
  # The name of the resource group.
447
384
  # @return [String]
@@ -468,13 +405,6 @@ module Aws::ApplicationInsights
468
405
  #
469
406
  class DeleteLogPatternResponse < Aws::EmptyStructure; end
470
407
 
471
- # @note When making an API call, you may pass DescribeApplicationRequest
472
- # data as a hash:
473
- #
474
- # {
475
- # resource_group_name: "ResourceGroupName", # required
476
- # }
477
- #
478
408
  # @!attribute [rw] resource_group_name
479
409
  # The name of the resource group.
480
410
  # @return [String]
@@ -499,15 +429,6 @@ module Aws::ApplicationInsights
499
429
  include Aws::Structure
500
430
  end
501
431
 
502
- # @note When making an API call, you may pass DescribeComponentConfigurationRecommendationRequest
503
- # data as a hash:
504
- #
505
- # {
506
- # resource_group_name: "ResourceGroupName", # required
507
- # component_name: "ComponentName", # required
508
- # tier: "CUSTOM", # required, accepts CUSTOM, DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB_TIER, DOT_NET_WEB, SQL_SERVER, SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP, MYSQL, POSTGRESQL, JAVA_JMX, ORACLE, SAP_HANA_MULTI_NODE, SAP_HANA_SINGLE_NODE, SAP_HANA_HIGH_AVAILABILITY, SQL_SERVER_FAILOVER_CLUSTER_INSTANCE, SHAREPOINT, ACTIVE_DIRECTORY
509
- # }
510
- #
511
432
  # @!attribute [rw] resource_group_name
512
433
  # The name of the resource group.
513
434
  # @return [String]
@@ -543,14 +464,6 @@ module Aws::ApplicationInsights
543
464
  include Aws::Structure
544
465
  end
545
466
 
546
- # @note When making an API call, you may pass DescribeComponentConfigurationRequest
547
- # data as a hash:
548
- #
549
- # {
550
- # resource_group_name: "ResourceGroupName", # required
551
- # component_name: "ComponentName", # required
552
- # }
553
- #
554
467
  # @!attribute [rw] resource_group_name
555
468
  # The name of the resource group.
556
469
  # @return [String]
@@ -593,14 +506,6 @@ module Aws::ApplicationInsights
593
506
  include Aws::Structure
594
507
  end
595
508
 
596
- # @note When making an API call, you may pass DescribeComponentRequest
597
- # data as a hash:
598
- #
599
- # {
600
- # resource_group_name: "ResourceGroupName", # required
601
- # component_name: "ComponentName", # required
602
- # }
603
- #
604
509
  # @!attribute [rw] resource_group_name
605
510
  # The name of the resource group.
606
511
  # @return [String]
@@ -636,15 +541,6 @@ module Aws::ApplicationInsights
636
541
  include Aws::Structure
637
542
  end
638
543
 
639
- # @note When making an API call, you may pass DescribeLogPatternRequest
640
- # data as a hash:
641
- #
642
- # {
643
- # resource_group_name: "ResourceGroupName", # required
644
- # pattern_set_name: "LogPatternSetName", # required
645
- # pattern_name: "LogPatternName", # required
646
- # }
647
- #
648
544
  # @!attribute [rw] resource_group_name
649
545
  # The name of the resource group.
650
546
  # @return [String]
@@ -684,13 +580,6 @@ module Aws::ApplicationInsights
684
580
  include Aws::Structure
685
581
  end
686
582
 
687
- # @note When making an API call, you may pass DescribeObservationRequest
688
- # data as a hash:
689
- #
690
- # {
691
- # observation_id: "ObservationId", # required
692
- # }
693
- #
694
583
  # @!attribute [rw] observation_id
695
584
  # The ID of the observation.
696
585
  # @return [String]
@@ -715,13 +604,6 @@ module Aws::ApplicationInsights
715
604
  include Aws::Structure
716
605
  end
717
606
 
718
- # @note When making an API call, you may pass DescribeProblemObservationsRequest
719
- # data as a hash:
720
- #
721
- # {
722
- # problem_id: "ProblemId", # required
723
- # }
724
- #
725
607
  # @!attribute [rw] problem_id
726
608
  # The ID of the problem.
727
609
  # @return [String]
@@ -746,13 +628,6 @@ module Aws::ApplicationInsights
746
628
  include Aws::Structure
747
629
  end
748
630
 
749
- # @note When making an API call, you may pass DescribeProblemRequest
750
- # data as a hash:
751
- #
752
- # {
753
- # problem_id: "ProblemId", # required
754
- # }
755
- #
756
631
  # @!attribute [rw] problem_id
757
632
  # The ID of the problem.
758
633
  # @return [String]
@@ -791,14 +666,6 @@ module Aws::ApplicationInsights
791
666
  include Aws::Structure
792
667
  end
793
668
 
794
- # @note When making an API call, you may pass ListApplicationsRequest
795
- # data as a hash:
796
- #
797
- # {
798
- # max_results: 1,
799
- # next_token: "PaginationToken",
800
- # }
801
- #
802
669
  # @!attribute [rw] max_results
803
670
  # The maximum number of results to return in a single call. To
804
671
  # retrieve the remaining results, make another call with the returned
@@ -836,15 +703,6 @@ module Aws::ApplicationInsights
836
703
  include Aws::Structure
837
704
  end
838
705
 
839
- # @note When making an API call, you may pass ListComponentsRequest
840
- # data as a hash:
841
- #
842
- # {
843
- # resource_group_name: "ResourceGroupName", # required
844
- # max_results: 1,
845
- # next_token: "PaginationToken",
846
- # }
847
- #
848
706
  # @!attribute [rw] resource_group_name
849
707
  # The name of the resource group.
850
708
  # @return [String]
@@ -886,18 +744,6 @@ module Aws::ApplicationInsights
886
744
  include Aws::Structure
887
745
  end
888
746
 
889
- # @note When making an API call, you may pass ListConfigurationHistoryRequest
890
- # data as a hash:
891
- #
892
- # {
893
- # resource_group_name: "ResourceGroupName",
894
- # start_time: Time.now,
895
- # end_time: Time.now,
896
- # event_status: "INFO", # accepts INFO, WARN, ERROR
897
- # max_results: 1,
898
- # next_token: "PaginationToken",
899
- # }
900
- #
901
747
  # @!attribute [rw] resource_group_name
902
748
  # Resource group to which the application belongs.
903
749
  # @return [String]
@@ -969,15 +815,6 @@ module Aws::ApplicationInsights
969
815
  include Aws::Structure
970
816
  end
971
817
 
972
- # @note When making an API call, you may pass ListLogPatternSetsRequest
973
- # data as a hash:
974
- #
975
- # {
976
- # resource_group_name: "ResourceGroupName", # required
977
- # max_results: 1,
978
- # next_token: "PaginationToken",
979
- # }
980
- #
981
818
  # @!attribute [rw] resource_group_name
982
819
  # The name of the resource group.
983
820
  # @return [String]
@@ -1025,16 +862,6 @@ module Aws::ApplicationInsights
1025
862
  include Aws::Structure
1026
863
  end
1027
864
 
1028
- # @note When making an API call, you may pass ListLogPatternsRequest
1029
- # data as a hash:
1030
- #
1031
- # {
1032
- # resource_group_name: "ResourceGroupName", # required
1033
- # pattern_set_name: "LogPatternSetName",
1034
- # max_results: 1,
1035
- # next_token: "PaginationToken",
1036
- # }
1037
- #
1038
865
  # @!attribute [rw] resource_group_name
1039
866
  # The name of the resource group.
1040
867
  # @return [String]
@@ -1087,18 +914,6 @@ module Aws::ApplicationInsights
1087
914
  include Aws::Structure
1088
915
  end
1089
916
 
1090
- # @note When making an API call, you may pass ListProblemsRequest
1091
- # data as a hash:
1092
- #
1093
- # {
1094
- # resource_group_name: "ResourceGroupName",
1095
- # start_time: Time.now,
1096
- # end_time: Time.now,
1097
- # max_results: 1,
1098
- # next_token: "PaginationToken",
1099
- # component_name: "ComponentName",
1100
- # }
1101
- #
1102
917
  # @!attribute [rw] resource_group_name
1103
918
  # The name of the resource group.
1104
919
  # @return [String]
@@ -1164,13 +979,6 @@ module Aws::ApplicationInsights
1164
979
  include Aws::Structure
1165
980
  end
1166
981
 
1167
- # @note When making an API call, you may pass ListTagsForResourceRequest
1168
- # data as a hash:
1169
- #
1170
- # {
1171
- # resource_arn: "AmazonResourceName", # required
1172
- # }
1173
- #
1174
982
  # @!attribute [rw] resource_arn
1175
983
  # The Amazon Resource Name (ARN) of the application that you want to
1176
984
  # retrieve tag information for.
@@ -1626,14 +1434,6 @@ module Aws::ApplicationInsights
1626
1434
  # any tag keys or values that you define. In addition, you can't edit
1627
1435
  # or remove tag keys or values that use this prefix.
1628
1436
  #
1629
- # @note When making an API call, you may pass Tag
1630
- # data as a hash:
1631
- #
1632
- # {
1633
- # key: "TagKey", # required
1634
- # value: "TagValue", # required
1635
- # }
1636
- #
1637
1437
  # @!attribute [rw] key
1638
1438
  # One part of a key-value pair that defines a tag. The maximum length
1639
1439
  # of a tag key is 128 characters. The minimum length is 1 character.
@@ -1655,19 +1455,6 @@ module Aws::ApplicationInsights
1655
1455
  include Aws::Structure
1656
1456
  end
1657
1457
 
1658
- # @note When making an API call, you may pass TagResourceRequest
1659
- # data as a hash:
1660
- #
1661
- # {
1662
- # resource_arn: "AmazonResourceName", # required
1663
- # tags: [ # required
1664
- # {
1665
- # key: "TagKey", # required
1666
- # value: "TagValue", # required
1667
- # },
1668
- # ],
1669
- # }
1670
- #
1671
1458
  # @!attribute [rw] resource_arn
1672
1459
  # The Amazon Resource Name (ARN) of the application that you want to
1673
1460
  # add one or more tags to.
@@ -1726,14 +1513,6 @@ module Aws::ApplicationInsights
1726
1513
  include Aws::Structure
1727
1514
  end
1728
1515
 
1729
- # @note When making an API call, you may pass UntagResourceRequest
1730
- # data as a hash:
1731
- #
1732
- # {
1733
- # resource_arn: "AmazonResourceName", # required
1734
- # tag_keys: ["TagKey"], # required
1735
- # }
1736
- #
1737
1516
  # @!attribute [rw] resource_arn
1738
1517
  # The Amazon Resource Name (ARN) of the application that you want to
1739
1518
  # remove one or more tags from.
@@ -1762,18 +1541,6 @@ module Aws::ApplicationInsights
1762
1541
  #
1763
1542
  class UntagResourceResponse < Aws::EmptyStructure; end
1764
1543
 
1765
- # @note When making an API call, you may pass UpdateApplicationRequest
1766
- # data as a hash:
1767
- #
1768
- # {
1769
- # resource_group_name: "ResourceGroupName", # required
1770
- # ops_center_enabled: false,
1771
- # cwe_monitor_enabled: false,
1772
- # ops_item_sns_topic_arn: "OpsItemSNSTopicArn",
1773
- # remove_sns_topic: false,
1774
- # auto_config_enabled: false,
1775
- # }
1776
- #
1777
1544
  # @!attribute [rw] resource_group_name
1778
1545
  # The name of the resource group.
1779
1546
  # @return [String]
@@ -1829,18 +1596,6 @@ module Aws::ApplicationInsights
1829
1596
  include Aws::Structure
1830
1597
  end
1831
1598
 
1832
- # @note When making an API call, you may pass UpdateComponentConfigurationRequest
1833
- # data as a hash:
1834
- #
1835
- # {
1836
- # resource_group_name: "ResourceGroupName", # required
1837
- # component_name: "ComponentName", # required
1838
- # monitor: false,
1839
- # tier: "CUSTOM", # accepts CUSTOM, DEFAULT, DOT_NET_CORE, DOT_NET_WORKER, DOT_NET_WEB_TIER, DOT_NET_WEB, SQL_SERVER, SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP, MYSQL, POSTGRESQL, JAVA_JMX, ORACLE, SAP_HANA_MULTI_NODE, SAP_HANA_SINGLE_NODE, SAP_HANA_HIGH_AVAILABILITY, SQL_SERVER_FAILOVER_CLUSTER_INSTANCE, SHAREPOINT, ACTIVE_DIRECTORY
1840
- # component_configuration: "ComponentConfiguration",
1841
- # auto_config_enabled: false,
1842
- # }
1843
- #
1844
1599
  # @!attribute [rw] resource_group_name
1845
1600
  # The name of the resource group.
1846
1601
  # @return [String]
@@ -1894,16 +1649,6 @@ module Aws::ApplicationInsights
1894
1649
  #
1895
1650
  class UpdateComponentConfigurationResponse < Aws::EmptyStructure; end
1896
1651
 
1897
- # @note When making an API call, you may pass UpdateComponentRequest
1898
- # data as a hash:
1899
- #
1900
- # {
1901
- # resource_group_name: "ResourceGroupName", # required
1902
- # component_name: "CustomComponentName", # required
1903
- # new_component_name: "CustomComponentName",
1904
- # resource_list: ["ResourceARN"],
1905
- # }
1906
- #
1907
1652
  # @!attribute [rw] resource_group_name
1908
1653
  # The name of the resource group.
1909
1654
  # @return [String]
@@ -1935,17 +1680,6 @@ module Aws::ApplicationInsights
1935
1680
  #
1936
1681
  class UpdateComponentResponse < Aws::EmptyStructure; end
1937
1682
 
1938
- # @note When making an API call, you may pass UpdateLogPatternRequest
1939
- # data as a hash:
1940
- #
1941
- # {
1942
- # resource_group_name: "ResourceGroupName", # required
1943
- # pattern_set_name: "LogPatternSetName", # required
1944
- # pattern_name: "LogPatternName", # required
1945
- # pattern: "LogPatternRegex",
1946
- # rank: 1,
1947
- # }
1948
- #
1949
1683
  # @!attribute [rw] resource_group_name
1950
1684
  # The name of the resource group.
1951
1685
  # @return [String]
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-applicationinsights/types'
15
15
  require_relative 'aws-sdk-applicationinsights/client_api'
16
+ require_relative 'aws-sdk-applicationinsights/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-applicationinsights/client'
17
18
  require_relative 'aws-sdk-applicationinsights/errors'
18
19
  require_relative 'aws-sdk-applicationinsights/resource'
20
+ require_relative 'aws-sdk-applicationinsights/endpoint_parameters'
21
+ require_relative 'aws-sdk-applicationinsights/endpoint_provider'
22
+ require_relative 'aws-sdk-applicationinsights/endpoints'
19
23
  require_relative 'aws-sdk-applicationinsights/customizations'
20
24
 
21
25
  # This module provides support for Amazon CloudWatch Application Insights. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-applicationinsights/customizations'
48
52
  # @!group service
49
53
  module Aws::ApplicationInsights
50
54
 
51
- GEM_VERSION = '1.31.0'
55
+ GEM_VERSION = '1.33.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-applicationinsights
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.31.0
4
+ version: 1.33.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: 2022-06-02 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-applicationinsights/client.rb
60
60
  - lib/aws-sdk-applicationinsights/client_api.rb
61
61
  - lib/aws-sdk-applicationinsights/customizations.rb
62
+ - lib/aws-sdk-applicationinsights/endpoint_parameters.rb
63
+ - lib/aws-sdk-applicationinsights/endpoint_provider.rb
64
+ - lib/aws-sdk-applicationinsights/endpoints.rb
62
65
  - lib/aws-sdk-applicationinsights/errors.rb
66
+ - lib/aws-sdk-applicationinsights/plugins/endpoints.rb
63
67
  - lib/aws-sdk-applicationinsights/resource.rb
64
68
  - lib/aws-sdk-applicationinsights/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby