aws-sdk-applicationinsights 1.31.0 → 1.82.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.
@@ -11,12 +11,7 @@
11
11
  require 'aws-sdk-core'
12
12
  require 'aws-sigv4'
13
13
 
14
- require_relative 'aws-sdk-applicationinsights/types'
15
- require_relative 'aws-sdk-applicationinsights/client_api'
16
- require_relative 'aws-sdk-applicationinsights/client'
17
- require_relative 'aws-sdk-applicationinsights/errors'
18
- require_relative 'aws-sdk-applicationinsights/resource'
19
- require_relative 'aws-sdk-applicationinsights/customizations'
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:applicationinsights)
20
15
 
21
16
  # This module provides support for Amazon CloudWatch Application Insights. This module is available in the
22
17
  # `aws-sdk-applicationinsights` gem.
@@ -28,7 +23,7 @@ require_relative 'aws-sdk-applicationinsights/customizations'
28
23
  # structure.
29
24
  #
30
25
  # application_insights = Aws::ApplicationInsights::Client.new
31
- # resp = application_insights.create_application(params)
26
+ # resp = application_insights.add_workload(params)
32
27
  #
33
28
  # See {Client} for more information.
34
29
  #
@@ -47,7 +42,20 @@ require_relative 'aws-sdk-applicationinsights/customizations'
47
42
  #
48
43
  # @!group service
49
44
  module Aws::ApplicationInsights
45
+ autoload :Types, 'aws-sdk-applicationinsights/types'
46
+ autoload :ClientApi, 'aws-sdk-applicationinsights/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-applicationinsights/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-applicationinsights/client'
51
+ autoload :Errors, 'aws-sdk-applicationinsights/errors'
52
+ autoload :Resource, 'aws-sdk-applicationinsights/resource'
53
+ autoload :EndpointParameters, 'aws-sdk-applicationinsights/endpoint_parameters'
54
+ autoload :EndpointProvider, 'aws-sdk-applicationinsights/endpoint_provider'
55
+ autoload :Endpoints, 'aws-sdk-applicationinsights/endpoints'
50
56
 
51
- GEM_VERSION = '1.31.0'
57
+ GEM_VERSION = '1.82.0'
52
58
 
53
59
  end
60
+
61
+ require_relative 'aws-sdk-applicationinsights/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,542 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ApplicationInsights
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?simple_json: bool,
57
+ ?stub_responses: untyped,
58
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
59
+ ?token_provider: untyped,
60
+ ?use_dualstack_endpoint: bool,
61
+ ?use_fips_endpoint: bool,
62
+ ?validate_params: bool,
63
+ ?endpoint_provider: untyped,
64
+ ?http_proxy: String,
65
+ ?http_open_timeout: (Float | Integer),
66
+ ?http_read_timeout: (Float | Integer),
67
+ ?http_idle_timeout: (Float | Integer),
68
+ ?http_continue_timeout: (Float | Integer),
69
+ ?ssl_timeout: (Float | Integer | nil),
70
+ ?http_wire_trace: bool,
71
+ ?ssl_verify_peer: bool,
72
+ ?ssl_ca_bundle: String,
73
+ ?ssl_ca_directory: String,
74
+ ?ssl_ca_store: String,
75
+ ?on_chunk_received: Proc,
76
+ ?on_chunk_sent: Proc,
77
+ ?raise_response_errors: bool
78
+ ) -> instance
79
+ | (?Hash[Symbol, untyped]) -> instance
80
+
81
+
82
+ interface _AddWorkloadResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddWorkloadResponse]
84
+ def workload_id: () -> ::String
85
+ def workload_configuration: () -> Types::WorkloadConfiguration
86
+ end
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#add_workload-instance_method
88
+ def add_workload: (
89
+ resource_group_name: ::String,
90
+ component_name: ::String,
91
+ workload_configuration: {
92
+ workload_name: ::String?,
93
+ tier: ("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" | "SAP_ASE_SINGLE_NODE" | "SAP_ASE_HIGH_AVAILABILITY" | "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE" | "SHAREPOINT" | "ACTIVE_DIRECTORY" | "SAP_NETWEAVER_STANDARD" | "SAP_NETWEAVER_DISTRIBUTED" | "SAP_NETWEAVER_HIGH_AVAILABILITY")?,
94
+ configuration: ::String?
95
+ }
96
+ ) -> _AddWorkloadResponseSuccess
97
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddWorkloadResponseSuccess
98
+
99
+ interface _CreateApplicationResponseSuccess
100
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateApplicationResponse]
101
+ def application_info: () -> Types::ApplicationInfo
102
+ end
103
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#create_application-instance_method
104
+ def create_application: (
105
+ ?resource_group_name: ::String,
106
+ ?ops_center_enabled: bool,
107
+ ?cwe_monitor_enabled: bool,
108
+ ?ops_item_sns_topic_arn: ::String,
109
+ ?sns_notification_arn: ::String,
110
+ ?tags: Array[
111
+ {
112
+ key: ::String,
113
+ value: ::String
114
+ }
115
+ ],
116
+ ?auto_config_enabled: bool,
117
+ ?auto_create: bool,
118
+ ?grouping_type: ("ACCOUNT_BASED"),
119
+ ?attach_missing_permission: bool
120
+ ) -> _CreateApplicationResponseSuccess
121
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
122
+
123
+ interface _CreateComponentResponseSuccess
124
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateComponentResponse]
125
+ end
126
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#create_component-instance_method
127
+ def create_component: (
128
+ resource_group_name: ::String,
129
+ component_name: ::String,
130
+ resource_list: Array[::String]
131
+ ) -> _CreateComponentResponseSuccess
132
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateComponentResponseSuccess
133
+
134
+ interface _CreateLogPatternResponseSuccess
135
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLogPatternResponse]
136
+ def log_pattern: () -> Types::LogPattern
137
+ def resource_group_name: () -> ::String
138
+ end
139
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#create_log_pattern-instance_method
140
+ def create_log_pattern: (
141
+ resource_group_name: ::String,
142
+ pattern_set_name: ::String,
143
+ pattern_name: ::String,
144
+ pattern: ::String,
145
+ rank: ::Integer
146
+ ) -> _CreateLogPatternResponseSuccess
147
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLogPatternResponseSuccess
148
+
149
+ interface _DeleteApplicationResponseSuccess
150
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApplicationResponse]
151
+ end
152
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#delete_application-instance_method
153
+ def delete_application: (
154
+ resource_group_name: ::String
155
+ ) -> _DeleteApplicationResponseSuccess
156
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApplicationResponseSuccess
157
+
158
+ interface _DeleteComponentResponseSuccess
159
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteComponentResponse]
160
+ end
161
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#delete_component-instance_method
162
+ def delete_component: (
163
+ resource_group_name: ::String,
164
+ component_name: ::String
165
+ ) -> _DeleteComponentResponseSuccess
166
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteComponentResponseSuccess
167
+
168
+ interface _DeleteLogPatternResponseSuccess
169
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLogPatternResponse]
170
+ end
171
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#delete_log_pattern-instance_method
172
+ def delete_log_pattern: (
173
+ resource_group_name: ::String,
174
+ pattern_set_name: ::String,
175
+ pattern_name: ::String
176
+ ) -> _DeleteLogPatternResponseSuccess
177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLogPatternResponseSuccess
178
+
179
+ interface _DescribeApplicationResponseSuccess
180
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeApplicationResponse]
181
+ def application_info: () -> Types::ApplicationInfo
182
+ end
183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#describe_application-instance_method
184
+ def describe_application: (
185
+ resource_group_name: ::String,
186
+ ?account_id: ::String
187
+ ) -> _DescribeApplicationResponseSuccess
188
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeApplicationResponseSuccess
189
+
190
+ interface _DescribeComponentResponseSuccess
191
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeComponentResponse]
192
+ def application_component: () -> Types::ApplicationComponent
193
+ def resource_list: () -> ::Array[::String]
194
+ end
195
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#describe_component-instance_method
196
+ def describe_component: (
197
+ resource_group_name: ::String,
198
+ component_name: ::String,
199
+ ?account_id: ::String
200
+ ) -> _DescribeComponentResponseSuccess
201
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeComponentResponseSuccess
202
+
203
+ interface _DescribeComponentConfigurationResponseSuccess
204
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeComponentConfigurationResponse]
205
+ def monitor: () -> bool
206
+ def tier: () -> ("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" | "SAP_ASE_SINGLE_NODE" | "SAP_ASE_HIGH_AVAILABILITY" | "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE" | "SHAREPOINT" | "ACTIVE_DIRECTORY" | "SAP_NETWEAVER_STANDARD" | "SAP_NETWEAVER_DISTRIBUTED" | "SAP_NETWEAVER_HIGH_AVAILABILITY")
207
+ def component_configuration: () -> ::String
208
+ end
209
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#describe_component_configuration-instance_method
210
+ def describe_component_configuration: (
211
+ resource_group_name: ::String,
212
+ component_name: ::String,
213
+ ?account_id: ::String
214
+ ) -> _DescribeComponentConfigurationResponseSuccess
215
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeComponentConfigurationResponseSuccess
216
+
217
+ interface _DescribeComponentConfigurationRecommendationResponseSuccess
218
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeComponentConfigurationRecommendationResponse]
219
+ def component_configuration: () -> ::String
220
+ end
221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#describe_component_configuration_recommendation-instance_method
222
+ def describe_component_configuration_recommendation: (
223
+ resource_group_name: ::String,
224
+ component_name: ::String,
225
+ tier: ("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" | "SAP_ASE_SINGLE_NODE" | "SAP_ASE_HIGH_AVAILABILITY" | "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE" | "SHAREPOINT" | "ACTIVE_DIRECTORY" | "SAP_NETWEAVER_STANDARD" | "SAP_NETWEAVER_DISTRIBUTED" | "SAP_NETWEAVER_HIGH_AVAILABILITY"),
226
+ ?workload_name: ::String,
227
+ ?recommendation_type: ("INFRA_ONLY" | "WORKLOAD_ONLY" | "ALL")
228
+ ) -> _DescribeComponentConfigurationRecommendationResponseSuccess
229
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeComponentConfigurationRecommendationResponseSuccess
230
+
231
+ interface _DescribeLogPatternResponseSuccess
232
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLogPatternResponse]
233
+ def resource_group_name: () -> ::String
234
+ def account_id: () -> ::String
235
+ def log_pattern: () -> Types::LogPattern
236
+ end
237
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#describe_log_pattern-instance_method
238
+ def describe_log_pattern: (
239
+ resource_group_name: ::String,
240
+ pattern_set_name: ::String,
241
+ pattern_name: ::String,
242
+ ?account_id: ::String
243
+ ) -> _DescribeLogPatternResponseSuccess
244
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLogPatternResponseSuccess
245
+
246
+ interface _DescribeObservationResponseSuccess
247
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeObservationResponse]
248
+ def observation: () -> Types::Observation
249
+ end
250
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#describe_observation-instance_method
251
+ def describe_observation: (
252
+ observation_id: ::String,
253
+ ?account_id: ::String
254
+ ) -> _DescribeObservationResponseSuccess
255
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeObservationResponseSuccess
256
+
257
+ interface _DescribeProblemResponseSuccess
258
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeProblemResponse]
259
+ def problem: () -> Types::Problem
260
+ def sns_notification_arn: () -> ::String
261
+ end
262
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#describe_problem-instance_method
263
+ def describe_problem: (
264
+ problem_id: ::String,
265
+ ?account_id: ::String
266
+ ) -> _DescribeProblemResponseSuccess
267
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeProblemResponseSuccess
268
+
269
+ interface _DescribeProblemObservationsResponseSuccess
270
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeProblemObservationsResponse]
271
+ def related_observations: () -> Types::RelatedObservations
272
+ end
273
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#describe_problem_observations-instance_method
274
+ def describe_problem_observations: (
275
+ problem_id: ::String,
276
+ ?account_id: ::String
277
+ ) -> _DescribeProblemObservationsResponseSuccess
278
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeProblemObservationsResponseSuccess
279
+
280
+ interface _DescribeWorkloadResponseSuccess
281
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeWorkloadResponse]
282
+ def workload_id: () -> ::String
283
+ def workload_remarks: () -> ::String
284
+ def workload_configuration: () -> Types::WorkloadConfiguration
285
+ end
286
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#describe_workload-instance_method
287
+ def describe_workload: (
288
+ resource_group_name: ::String,
289
+ component_name: ::String,
290
+ workload_id: ::String,
291
+ ?account_id: ::String
292
+ ) -> _DescribeWorkloadResponseSuccess
293
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWorkloadResponseSuccess
294
+
295
+ interface _ListApplicationsResponseSuccess
296
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationsResponse]
297
+ def application_info_list: () -> ::Array[Types::ApplicationInfo]
298
+ def next_token: () -> ::String
299
+ end
300
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#list_applications-instance_method
301
+ def list_applications: (
302
+ ?max_results: ::Integer,
303
+ ?next_token: ::String,
304
+ ?account_id: ::String
305
+ ) -> _ListApplicationsResponseSuccess
306
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApplicationsResponseSuccess
307
+
308
+ interface _ListComponentsResponseSuccess
309
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListComponentsResponse]
310
+ def application_component_list: () -> ::Array[Types::ApplicationComponent]
311
+ def next_token: () -> ::String
312
+ end
313
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#list_components-instance_method
314
+ def list_components: (
315
+ resource_group_name: ::String,
316
+ ?max_results: ::Integer,
317
+ ?next_token: ::String,
318
+ ?account_id: ::String
319
+ ) -> _ListComponentsResponseSuccess
320
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListComponentsResponseSuccess
321
+
322
+ interface _ListConfigurationHistoryResponseSuccess
323
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListConfigurationHistoryResponse]
324
+ def event_list: () -> ::Array[Types::ConfigurationEvent]
325
+ def next_token: () -> ::String
326
+ end
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#list_configuration_history-instance_method
328
+ def list_configuration_history: (
329
+ ?resource_group_name: ::String,
330
+ ?start_time: ::Time,
331
+ ?end_time: ::Time,
332
+ ?event_status: ("INFO" | "WARN" | "ERROR"),
333
+ ?max_results: ::Integer,
334
+ ?next_token: ::String,
335
+ ?account_id: ::String
336
+ ) -> _ListConfigurationHistoryResponseSuccess
337
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListConfigurationHistoryResponseSuccess
338
+
339
+ interface _ListLogPatternSetsResponseSuccess
340
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListLogPatternSetsResponse]
341
+ def resource_group_name: () -> ::String
342
+ def account_id: () -> ::String
343
+ def log_pattern_sets: () -> ::Array[::String]
344
+ def next_token: () -> ::String
345
+ end
346
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#list_log_pattern_sets-instance_method
347
+ def list_log_pattern_sets: (
348
+ resource_group_name: ::String,
349
+ ?max_results: ::Integer,
350
+ ?next_token: ::String,
351
+ ?account_id: ::String
352
+ ) -> _ListLogPatternSetsResponseSuccess
353
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogPatternSetsResponseSuccess
354
+
355
+ interface _ListLogPatternsResponseSuccess
356
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListLogPatternsResponse]
357
+ def resource_group_name: () -> ::String
358
+ def account_id: () -> ::String
359
+ def log_patterns: () -> ::Array[Types::LogPattern]
360
+ def next_token: () -> ::String
361
+ end
362
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#list_log_patterns-instance_method
363
+ def list_log_patterns: (
364
+ resource_group_name: ::String,
365
+ ?pattern_set_name: ::String,
366
+ ?max_results: ::Integer,
367
+ ?next_token: ::String,
368
+ ?account_id: ::String
369
+ ) -> _ListLogPatternsResponseSuccess
370
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogPatternsResponseSuccess
371
+
372
+ interface _ListProblemsResponseSuccess
373
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProblemsResponse]
374
+ def problem_list: () -> ::Array[Types::Problem]
375
+ def next_token: () -> ::String
376
+ def resource_group_name: () -> ::String
377
+ def account_id: () -> ::String
378
+ end
379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#list_problems-instance_method
380
+ def list_problems: (
381
+ ?account_id: ::String,
382
+ ?resource_group_name: ::String,
383
+ ?start_time: ::Time,
384
+ ?end_time: ::Time,
385
+ ?max_results: ::Integer,
386
+ ?next_token: ::String,
387
+ ?component_name: ::String,
388
+ ?visibility: ("IGNORED" | "VISIBLE")
389
+ ) -> _ListProblemsResponseSuccess
390
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProblemsResponseSuccess
391
+
392
+ interface _ListTagsForResourceResponseSuccess
393
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
394
+ def tags: () -> ::Array[Types::Tag]
395
+ end
396
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#list_tags_for_resource-instance_method
397
+ def list_tags_for_resource: (
398
+ resource_arn: ::String
399
+ ) -> _ListTagsForResourceResponseSuccess
400
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
401
+
402
+ interface _ListWorkloadsResponseSuccess
403
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkloadsResponse]
404
+ def workload_list: () -> ::Array[Types::Workload]
405
+ def next_token: () -> ::String
406
+ end
407
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#list_workloads-instance_method
408
+ def list_workloads: (
409
+ resource_group_name: ::String,
410
+ component_name: ::String,
411
+ ?max_results: ::Integer,
412
+ ?next_token: ::String,
413
+ ?account_id: ::String
414
+ ) -> _ListWorkloadsResponseSuccess
415
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkloadsResponseSuccess
416
+
417
+ interface _RemoveWorkloadResponseSuccess
418
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveWorkloadResponse]
419
+ end
420
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#remove_workload-instance_method
421
+ def remove_workload: (
422
+ resource_group_name: ::String,
423
+ component_name: ::String,
424
+ workload_id: ::String
425
+ ) -> _RemoveWorkloadResponseSuccess
426
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveWorkloadResponseSuccess
427
+
428
+ interface _TagResourceResponseSuccess
429
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
430
+ end
431
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#tag_resource-instance_method
432
+ def tag_resource: (
433
+ resource_arn: ::String,
434
+ tags: Array[
435
+ {
436
+ key: ::String,
437
+ value: ::String
438
+ }
439
+ ]
440
+ ) -> _TagResourceResponseSuccess
441
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
442
+
443
+ interface _UntagResourceResponseSuccess
444
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
445
+ end
446
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#untag_resource-instance_method
447
+ def untag_resource: (
448
+ resource_arn: ::String,
449
+ tag_keys: Array[::String]
450
+ ) -> _UntagResourceResponseSuccess
451
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
452
+
453
+ interface _UpdateApplicationResponseSuccess
454
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApplicationResponse]
455
+ def application_info: () -> Types::ApplicationInfo
456
+ end
457
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#update_application-instance_method
458
+ def update_application: (
459
+ resource_group_name: ::String,
460
+ ?ops_center_enabled: bool,
461
+ ?cwe_monitor_enabled: bool,
462
+ ?ops_item_sns_topic_arn: ::String,
463
+ ?sns_notification_arn: ::String,
464
+ ?remove_sns_topic: bool,
465
+ ?auto_config_enabled: bool,
466
+ ?attach_missing_permission: bool
467
+ ) -> _UpdateApplicationResponseSuccess
468
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess
469
+
470
+ interface _UpdateComponentResponseSuccess
471
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateComponentResponse]
472
+ end
473
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#update_component-instance_method
474
+ def update_component: (
475
+ resource_group_name: ::String,
476
+ component_name: ::String,
477
+ ?new_component_name: ::String,
478
+ ?resource_list: Array[::String]
479
+ ) -> _UpdateComponentResponseSuccess
480
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateComponentResponseSuccess
481
+
482
+ interface _UpdateComponentConfigurationResponseSuccess
483
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateComponentConfigurationResponse]
484
+ end
485
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#update_component_configuration-instance_method
486
+ def update_component_configuration: (
487
+ resource_group_name: ::String,
488
+ component_name: ::String,
489
+ ?monitor: bool,
490
+ ?tier: ("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" | "SAP_ASE_SINGLE_NODE" | "SAP_ASE_HIGH_AVAILABILITY" | "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE" | "SHAREPOINT" | "ACTIVE_DIRECTORY" | "SAP_NETWEAVER_STANDARD" | "SAP_NETWEAVER_DISTRIBUTED" | "SAP_NETWEAVER_HIGH_AVAILABILITY"),
491
+ ?component_configuration: ::String,
492
+ ?auto_config_enabled: bool
493
+ ) -> _UpdateComponentConfigurationResponseSuccess
494
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateComponentConfigurationResponseSuccess
495
+
496
+ interface _UpdateLogPatternResponseSuccess
497
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLogPatternResponse]
498
+ def resource_group_name: () -> ::String
499
+ def log_pattern: () -> Types::LogPattern
500
+ end
501
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#update_log_pattern-instance_method
502
+ def update_log_pattern: (
503
+ resource_group_name: ::String,
504
+ pattern_set_name: ::String,
505
+ pattern_name: ::String,
506
+ ?pattern: ::String,
507
+ ?rank: ::Integer
508
+ ) -> _UpdateLogPatternResponseSuccess
509
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLogPatternResponseSuccess
510
+
511
+ interface _UpdateProblemResponseSuccess
512
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProblemResponse]
513
+ end
514
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#update_problem-instance_method
515
+ def update_problem: (
516
+ problem_id: ::String,
517
+ ?update_status: ("RESOLVED"),
518
+ ?visibility: ("IGNORED" | "VISIBLE")
519
+ ) -> _UpdateProblemResponseSuccess
520
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProblemResponseSuccess
521
+
522
+ interface _UpdateWorkloadResponseSuccess
523
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkloadResponse]
524
+ def workload_id: () -> ::String
525
+ def workload_configuration: () -> Types::WorkloadConfiguration
526
+ end
527
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ApplicationInsights/Client.html#update_workload-instance_method
528
+ def update_workload: (
529
+ resource_group_name: ::String,
530
+ component_name: ::String,
531
+ ?workload_id: ::String,
532
+ workload_configuration: {
533
+ workload_name: ::String?,
534
+ tier: ("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" | "SAP_ASE_SINGLE_NODE" | "SAP_ASE_HIGH_AVAILABILITY" | "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE" | "SHAREPOINT" | "ACTIVE_DIRECTORY" | "SAP_NETWEAVER_STANDARD" | "SAP_NETWEAVER_DISTRIBUTED" | "SAP_NETWEAVER_HIGH_AVAILABILITY")?,
535
+ configuration: ::String?
536
+ }
537
+ ) -> _UpdateWorkloadResponseSuccess
538
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkloadResponseSuccess
539
+ end
540
+ end
541
+ end
542
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,41 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ApplicationInsights
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class BadRequestException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InternalServerException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ResourceInUseException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class TagsAlreadyExistException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class TooManyTagsException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ def resource_name: () -> ::String
35
+ end
36
+ class ValidationException < ::Aws::Errors::ServiceError
37
+ def message: () -> ::String
38
+ end
39
+ end
40
+ end
41
+ end