aws-sdk-observabilityadmin 1.0.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.
@@ -0,0 +1,300 @@
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::ObservabilityAdmin
11
+ module Types
12
+
13
+ # Indicates you don't have permissions to perform the requested
14
+ # operation. The user or role that is making the request must have at
15
+ # least one IAM permissions policy attached that grants the required
16
+ # permissions. For more information, see [Access management for AWS
17
+ # resources][1] in the IAM user guide.
18
+ #
19
+ #
20
+ #
21
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html
22
+ #
23
+ # @!attribute [rw] message
24
+ # @return [String]
25
+ #
26
+ # @!attribute [rw] amzn_error_type
27
+ # The name of the exception.
28
+ # @return [String]
29
+ #
30
+ # @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/AccessDeniedException AWS API Documentation
31
+ #
32
+ class AccessDeniedException < Struct.new(
33
+ :message,
34
+ :amzn_error_type)
35
+ SENSITIVE = []
36
+ include Aws::Structure
37
+ end
38
+
39
+ # @!attribute [rw] status
40
+ # The onboarding status of the telemetry config feature for the
41
+ # organization.
42
+ # @return [String]
43
+ #
44
+ # @!attribute [rw] failure_reason
45
+ # This field describes the reason for the failure status. The field
46
+ # will only be populated if `Status` is `FAILED_START` or
47
+ # `FAILED_STOP`.
48
+ # @return [String]
49
+ #
50
+ # @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetTelemetryEvaluationStatusForOrganizationOutput AWS API Documentation
51
+ #
52
+ class GetTelemetryEvaluationStatusForOrganizationOutput < Struct.new(
53
+ :status,
54
+ :failure_reason)
55
+ SENSITIVE = []
56
+ include Aws::Structure
57
+ end
58
+
59
+ # @!attribute [rw] status
60
+ # The onboarding status of the telemetry config feature.
61
+ # @return [String]
62
+ #
63
+ # @!attribute [rw] failure_reason
64
+ # Describes the reason for the failure status. The field will only be
65
+ # populated if `Status` is `FAILED_START` or `FAILED_STOP`.
66
+ # @return [String]
67
+ #
68
+ # @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/GetTelemetryEvaluationStatusOutput AWS API Documentation
69
+ #
70
+ class GetTelemetryEvaluationStatusOutput < Struct.new(
71
+ :status,
72
+ :failure_reason)
73
+ SENSITIVE = []
74
+ include Aws::Structure
75
+ end
76
+
77
+ # Indicates the request has failed to process because of an unknown
78
+ # server error, exception, or failure.
79
+ #
80
+ # @!attribute [rw] message
81
+ # @return [String]
82
+ #
83
+ # @!attribute [rw] amzn_error_type
84
+ # The name of the exception.
85
+ # @return [String]
86
+ #
87
+ # @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/InternalServerException AWS API Documentation
88
+ #
89
+ class InternalServerException < Struct.new(
90
+ :message,
91
+ :amzn_error_type)
92
+ SENSITIVE = []
93
+ include Aws::Structure
94
+ end
95
+
96
+ # @!attribute [rw] account_identifiers
97
+ # A list of AWS account IDs used to filter the resources to those
98
+ # associated with the specified accounts.
99
+ # @return [Array<String>]
100
+ #
101
+ # @!attribute [rw] resource_identifier_prefix
102
+ # A string used to filter resources in the organization which have a
103
+ # `ResourceIdentifier` starting with the `ResourceIdentifierPrefix`.
104
+ # @return [String]
105
+ #
106
+ # @!attribute [rw] resource_types
107
+ # A list of resource types used to filter resources in the
108
+ # organization. If this parameter is provided, the resources will be
109
+ # returned in the same order used in the request.
110
+ # @return [Array<String>]
111
+ #
112
+ # @!attribute [rw] telemetry_configuration_state
113
+ # A key-value pair to filter resources in the organization based on
114
+ # the telemetry type and the state of the telemetry configuration. The
115
+ # key is the telemetry type and the value is the state.
116
+ # @return [Hash<String,String>]
117
+ #
118
+ # @!attribute [rw] resource_tags
119
+ # A key-value pair to filter resources in the organization based on
120
+ # tags associated with the resource. Fore more information about tags,
121
+ # see [What are tags?][1]
122
+ #
123
+ #
124
+ #
125
+ # [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/what-are-tags.html
126
+ # @return [Hash<String,String>]
127
+ #
128
+ # @!attribute [rw] max_results
129
+ # A number field used to limit the number of results within the
130
+ # returned list.
131
+ # @return [Integer]
132
+ #
133
+ # @!attribute [rw] next_token
134
+ # The token for the next set of items to return. A previous call
135
+ # provides this token.
136
+ # @return [String]
137
+ #
138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListResourceTelemetryForOrganizationInput AWS API Documentation
139
+ #
140
+ class ListResourceTelemetryForOrganizationInput < Struct.new(
141
+ :account_identifiers,
142
+ :resource_identifier_prefix,
143
+ :resource_types,
144
+ :telemetry_configuration_state,
145
+ :resource_tags,
146
+ :max_results,
147
+ :next_token)
148
+ SENSITIVE = []
149
+ include Aws::Structure
150
+ end
151
+
152
+ # @!attribute [rw] telemetry_configurations
153
+ # A list of telemetry configurations for AWS resources supported by
154
+ # telemetry config in the organization.
155
+ # @return [Array<Types::TelemetryConfiguration>]
156
+ #
157
+ # @!attribute [rw] next_token
158
+ # The token for the next set of items to return. A previous call
159
+ # provides this token.
160
+ # @return [String]
161
+ #
162
+ # @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListResourceTelemetryForOrganizationOutput AWS API Documentation
163
+ #
164
+ class ListResourceTelemetryForOrganizationOutput < Struct.new(
165
+ :telemetry_configurations,
166
+ :next_token)
167
+ SENSITIVE = []
168
+ include Aws::Structure
169
+ end
170
+
171
+ # @!attribute [rw] resource_identifier_prefix
172
+ # A string used to filter resources which have a `ResourceIdentifier`
173
+ # starting with the `ResourceIdentifierPrefix`.
174
+ # @return [String]
175
+ #
176
+ # @!attribute [rw] resource_types
177
+ # A list of resource types used to filter resources supported by
178
+ # telemetry config. If this parameter is provided, the resources will
179
+ # be returned in the same order used in the request.
180
+ # @return [Array<String>]
181
+ #
182
+ # @!attribute [rw] telemetry_configuration_state
183
+ # A key-value pair to filter resources based on the telemetry type and
184
+ # the state of the telemetry configuration. The key is the telemetry
185
+ # type and the value is the state.
186
+ # @return [Hash<String,String>]
187
+ #
188
+ # @!attribute [rw] resource_tags
189
+ # A key-value pair to filter resources based on tags associated with
190
+ # the resource. For more information about tags, see [What are
191
+ # tags?][1]
192
+ #
193
+ #
194
+ #
195
+ # [1]: https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/what-are-tags.html
196
+ # @return [Hash<String,String>]
197
+ #
198
+ # @!attribute [rw] max_results
199
+ # A number field used to limit the number of results within the
200
+ # returned list.
201
+ # @return [Integer]
202
+ #
203
+ # @!attribute [rw] next_token
204
+ # The token for the next set of items to return. A previous call
205
+ # generates this token.
206
+ # @return [String]
207
+ #
208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListResourceTelemetryInput AWS API Documentation
209
+ #
210
+ class ListResourceTelemetryInput < Struct.new(
211
+ :resource_identifier_prefix,
212
+ :resource_types,
213
+ :telemetry_configuration_state,
214
+ :resource_tags,
215
+ :max_results,
216
+ :next_token)
217
+ SENSITIVE = []
218
+ include Aws::Structure
219
+ end
220
+
221
+ # @!attribute [rw] telemetry_configurations
222
+ # A list of telemetry configurations for AWS resources supported by
223
+ # telemetry config in the caller's account.
224
+ # @return [Array<Types::TelemetryConfiguration>]
225
+ #
226
+ # @!attribute [rw] next_token
227
+ # The token for the next set of items to return. A previous call
228
+ # generates this token.
229
+ # @return [String]
230
+ #
231
+ # @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ListResourceTelemetryOutput AWS API Documentation
232
+ #
233
+ class ListResourceTelemetryOutput < Struct.new(
234
+ :telemetry_configurations,
235
+ :next_token)
236
+ SENSITIVE = []
237
+ include Aws::Structure
238
+ end
239
+
240
+ # A model representing the state of a resource within an account
241
+ # according to telemetry config.
242
+ #
243
+ # @!attribute [rw] account_identifier
244
+ # The account ID which contains the resource managed in telemetry
245
+ # configuration. An example of a valid account ID is `012345678901`.
246
+ # @return [String]
247
+ #
248
+ # @!attribute [rw] telemetry_configuration_state
249
+ # The configuration state for the resource, for example `{ Logs:
250
+ # NotApplicable; Metrics: Enabled; Traces: NotApplicable; }`.
251
+ # @return [Hash<String,String>]
252
+ #
253
+ # @!attribute [rw] resource_type
254
+ # The type of resource, for example `AWS::EC2::Instance`.
255
+ # @return [String]
256
+ #
257
+ # @!attribute [rw] resource_identifier
258
+ # The identifier of the resource, for example `i-0b22a22eec53b9321`.
259
+ # @return [String]
260
+ #
261
+ # @!attribute [rw] resource_tags
262
+ # Tags associated with the resource, for example `{ Name:
263
+ # "ExampleInstance", Environment: "Development" }`.
264
+ # @return [Hash<String,String>]
265
+ #
266
+ # @!attribute [rw] last_update_time_stamp
267
+ # The timestamp of the last change to the telemetry configuration for
268
+ # the resource. For example, `1728679196318`.
269
+ # @return [Integer]
270
+ #
271
+ # @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/TelemetryConfiguration AWS API Documentation
272
+ #
273
+ class TelemetryConfiguration < Struct.new(
274
+ :account_identifier,
275
+ :telemetry_configuration_state,
276
+ :resource_type,
277
+ :resource_identifier,
278
+ :resource_tags,
279
+ :last_update_time_stamp)
280
+ SENSITIVE = []
281
+ include Aws::Structure
282
+ end
283
+
284
+ # Indicates input validation failed. Check your request parameters and
285
+ # retry the request.
286
+ #
287
+ # @!attribute [rw] message
288
+ # @return [String]
289
+ #
290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/observabilityadmin-2018-05-10/ValidationException AWS API Documentation
291
+ #
292
+ class ValidationException < Struct.new(
293
+ :message)
294
+ SENSITIVE = []
295
+ include Aws::Structure
296
+ end
297
+
298
+ end
299
+ end
300
+
@@ -0,0 +1,15 @@
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
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::ObservabilityAdmin
13
+ module Waiters
14
+ end
15
+ end
@@ -0,0 +1,62 @@
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
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:observabilityadmin)
15
+
16
+ # This module provides support for CloudWatch Observability Admin Service. This module is available in the
17
+ # `aws-sdk-observabilityadmin` gem.
18
+ #
19
+ # # Client
20
+ #
21
+ # The {Client} class provides one method for each API operation. Operation
22
+ # methods each accept a hash of request parameters and return a response
23
+ # structure.
24
+ #
25
+ # observability_admin = Aws::ObservabilityAdmin::Client.new
26
+ # resp = observability_admin.get_telemetry_evaluation_status(params)
27
+ #
28
+ # See {Client} for more information.
29
+ #
30
+ # # Errors
31
+ #
32
+ # Errors returned from CloudWatch Observability Admin Service are defined in the
33
+ # {Errors} module and all extend {Errors::ServiceError}.
34
+ #
35
+ # begin
36
+ # # do stuff
37
+ # rescue Aws::ObservabilityAdmin::Errors::ServiceError
38
+ # # rescues all CloudWatch Observability Admin Service API errors
39
+ # end
40
+ #
41
+ # See {Errors} for more information.
42
+ #
43
+ # @!group service
44
+ module Aws::ObservabilityAdmin
45
+ autoload :Types, 'aws-sdk-observabilityadmin/types'
46
+ autoload :ClientApi, 'aws-sdk-observabilityadmin/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-observabilityadmin/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-observabilityadmin/client'
51
+ autoload :Errors, 'aws-sdk-observabilityadmin/errors'
52
+ autoload :Waiters, 'aws-sdk-observabilityadmin/waiters'
53
+ autoload :Resource, 'aws-sdk-observabilityadmin/resource'
54
+ autoload :EndpointParameters, 'aws-sdk-observabilityadmin/endpoint_parameters'
55
+ autoload :EndpointProvider, 'aws-sdk-observabilityadmin/endpoint_provider'
56
+ autoload :Endpoints, 'aws-sdk-observabilityadmin/endpoints'
57
+
58
+ GEM_VERSION = '1.0.0'
59
+
60
+ end
61
+
62
+ require_relative 'aws-sdk-observabilityadmin/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,147 @@
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 ObservabilityAdmin
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/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
+ ?client_side_monitoring: bool,
22
+ ?client_side_monitoring_client_id: String,
23
+ ?client_side_monitoring_host: String,
24
+ ?client_side_monitoring_port: Integer,
25
+ ?client_side_monitoring_publisher: untyped,
26
+ ?convert_params: bool,
27
+ ?correct_clock_skew: bool,
28
+ ?defaults_mode: String,
29
+ ?disable_host_prefix_injection: bool,
30
+ ?disable_request_compression: bool,
31
+ ?endpoint: String,
32
+ ?endpoint_cache_max_entries: Integer,
33
+ ?endpoint_cache_max_threads: Integer,
34
+ ?endpoint_cache_poll_interval: Integer,
35
+ ?endpoint_discovery: bool,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?log_formatter: untyped,
38
+ ?log_level: Symbol,
39
+ ?logger: untyped,
40
+ ?max_attempts: Integer,
41
+ ?profile: String,
42
+ ?request_min_compression_size_bytes: Integer,
43
+ ?retry_backoff: Proc,
44
+ ?retry_base_delay: Float,
45
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
46
+ ?retry_limit: Integer,
47
+ ?retry_max_delay: Integer,
48
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
49
+ ?sdk_ua_app_id: String,
50
+ ?secret_access_key: String,
51
+ ?session_token: String,
52
+ ?sigv4a_signing_region_set: Array[String],
53
+ ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
55
+ ?token_provider: untyped,
56
+ ?use_dualstack_endpoint: bool,
57
+ ?use_fips_endpoint: bool,
58
+ ?validate_params: bool,
59
+ ?endpoint_provider: untyped,
60
+ ?http_proxy: String,
61
+ ?http_open_timeout: (Float | Integer),
62
+ ?http_read_timeout: (Float | Integer),
63
+ ?http_idle_timeout: (Float | Integer),
64
+ ?http_continue_timeout: (Float | Integer),
65
+ ?ssl_timeout: (Float | Integer | nil),
66
+ ?http_wire_trace: bool,
67
+ ?ssl_verify_peer: bool,
68
+ ?ssl_ca_bundle: String,
69
+ ?ssl_ca_directory: String,
70
+ ?ssl_ca_store: String,
71
+ ?on_chunk_received: Proc,
72
+ ?on_chunk_sent: Proc,
73
+ ?raise_response_errors: bool
74
+ ) -> instance
75
+ | (?Hash[Symbol, untyped]) -> instance
76
+
77
+
78
+ interface _GetTelemetryEvaluationStatusResponseSuccess
79
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryEvaluationStatusOutput]
80
+ def status: () -> ("NOT_STARTED" | "STARTING" | "FAILED_START" | "RUNNING" | "STOPPING" | "FAILED_STOP" | "STOPPED")
81
+ def failure_reason: () -> ::String
82
+ end
83
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#get_telemetry_evaluation_status-instance_method
84
+ def get_telemetry_evaluation_status: () -> _GetTelemetryEvaluationStatusResponseSuccess
85
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTelemetryEvaluationStatusResponseSuccess
86
+
87
+ interface _GetTelemetryEvaluationStatusForOrganizationResponseSuccess
88
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryEvaluationStatusForOrganizationOutput]
89
+ def status: () -> ("NOT_STARTED" | "STARTING" | "FAILED_START" | "RUNNING" | "STOPPING" | "FAILED_STOP" | "STOPPED")
90
+ def failure_reason: () -> ::String
91
+ end
92
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#get_telemetry_evaluation_status_for_organization-instance_method
93
+ def get_telemetry_evaluation_status_for_organization: () -> _GetTelemetryEvaluationStatusForOrganizationResponseSuccess
94
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTelemetryEvaluationStatusForOrganizationResponseSuccess
95
+
96
+ interface _ListResourceTelemetryResponseSuccess
97
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceTelemetryOutput]
98
+ def telemetry_configurations: () -> ::Array[Types::TelemetryConfiguration]
99
+ def next_token: () -> ::String
100
+ end
101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#list_resource_telemetry-instance_method
102
+ def list_resource_telemetry: (
103
+ ?resource_identifier_prefix: ::String,
104
+ ?resource_types: Array[("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")],
105
+ ?telemetry_configuration_state: Hash[("Logs" | "Metrics" | "Traces"), ("Enabled" | "Disabled" | "NotApplicable")],
106
+ ?resource_tags: Hash[::String, ::String],
107
+ ?max_results: ::Integer,
108
+ ?next_token: ::String
109
+ ) -> _ListResourceTelemetryResponseSuccess
110
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceTelemetryResponseSuccess
111
+
112
+ interface _ListResourceTelemetryForOrganizationResponseSuccess
113
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceTelemetryForOrganizationOutput]
114
+ def telemetry_configurations: () -> ::Array[Types::TelemetryConfiguration]
115
+ def next_token: () -> ::String
116
+ end
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#list_resource_telemetry_for_organization-instance_method
118
+ def list_resource_telemetry_for_organization: (
119
+ ?account_identifiers: Array[::String],
120
+ ?resource_identifier_prefix: ::String,
121
+ ?resource_types: Array[("AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function")],
122
+ ?telemetry_configuration_state: Hash[("Logs" | "Metrics" | "Traces"), ("Enabled" | "Disabled" | "NotApplicable")],
123
+ ?resource_tags: Hash[::String, ::String],
124
+ ?max_results: ::Integer,
125
+ ?next_token: ::String
126
+ ) -> _ListResourceTelemetryForOrganizationResponseSuccess
127
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceTelemetryForOrganizationResponseSuccess
128
+
129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#start_telemetry_evaluation-instance_method
130
+ def start_telemetry_evaluation: () -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
131
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
132
+
133
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#start_telemetry_evaluation_for_organization-instance_method
134
+ def start_telemetry_evaluation_for_organization: () -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
135
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
136
+
137
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#stop_telemetry_evaluation-instance_method
138
+ def stop_telemetry_evaluation: () -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
139
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
140
+
141
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Client.html#stop_telemetry_evaluation_for_organization-instance_method
142
+ def stop_telemetry_evaluation_for_organization: () -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
143
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
144
+ end
145
+ end
146
+ end
147
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,27 @@
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 ObservabilityAdmin
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ def amzn_error_type: () -> ::String
17
+ end
18
+ class InternalServerException < ::Aws::Errors::ServiceError
19
+ def message: () -> ::String
20
+ def amzn_error_type: () -> ::String
21
+ end
22
+ class ValidationException < ::Aws::Errors::ServiceError
23
+ def message: () -> ::String
24
+ end
25
+ end
26
+ end
27
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,82 @@
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 ObservabilityAdmin
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ObservabilityAdmin/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
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
+ ?client_side_monitoring: bool,
22
+ ?client_side_monitoring_client_id: String,
23
+ ?client_side_monitoring_host: String,
24
+ ?client_side_monitoring_port: Integer,
25
+ ?client_side_monitoring_publisher: untyped,
26
+ ?convert_params: bool,
27
+ ?correct_clock_skew: bool,
28
+ ?defaults_mode: String,
29
+ ?disable_host_prefix_injection: bool,
30
+ ?disable_request_compression: bool,
31
+ ?endpoint: String,
32
+ ?endpoint_cache_max_entries: Integer,
33
+ ?endpoint_cache_max_threads: Integer,
34
+ ?endpoint_cache_poll_interval: Integer,
35
+ ?endpoint_discovery: bool,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?log_formatter: untyped,
38
+ ?log_level: Symbol,
39
+ ?logger: untyped,
40
+ ?max_attempts: Integer,
41
+ ?profile: String,
42
+ ?request_min_compression_size_bytes: Integer,
43
+ ?retry_backoff: Proc,
44
+ ?retry_base_delay: Float,
45
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
46
+ ?retry_limit: Integer,
47
+ ?retry_max_delay: Integer,
48
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
49
+ ?sdk_ua_app_id: String,
50
+ ?secret_access_key: String,
51
+ ?session_token: String,
52
+ ?sigv4a_signing_region_set: Array[String],
53
+ ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
55
+ ?token_provider: untyped,
56
+ ?use_dualstack_endpoint: bool,
57
+ ?use_fips_endpoint: bool,
58
+ ?validate_params: bool,
59
+ ?endpoint_provider: untyped,
60
+ ?http_proxy: String,
61
+ ?http_open_timeout: (Float | Integer),
62
+ ?http_read_timeout: (Float | Integer),
63
+ ?http_idle_timeout: (Float | Integer),
64
+ ?http_continue_timeout: (Float | Integer),
65
+ ?ssl_timeout: (Float | Integer | nil),
66
+ ?http_wire_trace: bool,
67
+ ?ssl_verify_peer: bool,
68
+ ?ssl_ca_bundle: String,
69
+ ?ssl_ca_directory: String,
70
+ ?ssl_ca_store: String,
71
+ ?on_chunk_received: Proc,
72
+ ?on_chunk_sent: Proc,
73
+ ?raise_response_errors: bool
74
+ ) -> void
75
+ | (?Hash[Symbol, untyped]) -> void
76
+
77
+ def client: () -> Client
78
+
79
+
80
+ end
81
+ end
82
+ end