aws-sdk-cloudwatchomni 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.
data/sig/errors.rbs ADDED
@@ -0,0 +1,47 @@
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 CloudWatchOmni
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 ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ def conflict_type: () -> ::String
20
+ def resource_id: () -> ::String
21
+ def resource_type: () -> ::String
22
+ def error_code: () -> ::String
23
+ end
24
+ class InternalServerException < ::Aws::Errors::ServiceError
25
+ def message: () -> ::String
26
+ def error_code: () -> ::String
27
+ end
28
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
29
+ def message: () -> ::String
30
+ def resource_type: () -> ::String
31
+ def resource_id: () -> ::String
32
+ def error_code: () -> ::String
33
+ end
34
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
35
+ def message: () -> ::String
36
+ end
37
+ class ThrottlingException < ::Aws::Errors::ServiceError
38
+ def message: () -> ::String
39
+ def retry_after_seconds: () -> ::String
40
+ end
41
+ class ValidationException < ::Aws::Errors::ServiceError
42
+ def message: () -> ::String
43
+ def error_code: () -> ::String
44
+ end
45
+ end
46
+ end
47
+ end
data/sig/params.rbs ADDED
@@ -0,0 +1,64 @@
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 CloudWatchOmni
10
+ module Params
11
+ type telemetry_rule = {
12
+ query: {
13
+ language: ("SQL" | "PROMQL"),
14
+ expression: ::String
15
+ }?,
16
+ condition: {
17
+ threshold_mode: ("COUNT_OF_RESULTS" | "FIELD_VALUE")?,
18
+ threshold_field: ::String?,
19
+ comparator: ("GT" | "LT" | "GTE" | "LTE")?,
20
+ warning_threshold: ::Float?,
21
+ critical_threshold: ::Float?
22
+ }?,
23
+ evaluation: {
24
+ interval_seconds: ::Integer,
25
+ pending_duration_seconds: ::Integer?,
26
+ recovery_duration_seconds: ::Integer?
27
+ }?,
28
+ no_data: {
29
+ treat_as: ("OK" | "WARNING" | "CRITICAL" | "NODATA")
30
+ }?
31
+ }
32
+
33
+ type rule = {
34
+ telemetry_rule: Params::telemetry_rule?
35
+ }
36
+
37
+ type notification_rule = {
38
+ trigger: {
39
+ state_values: Array[("OK" | "WARNING" | "CRITICAL" | "NODATA")]?
40
+ },
41
+ target: {
42
+ type: ("sns" | "slack" | "pagerduty"),
43
+ arn: ::String,
44
+ metadata: Hash[::String, ::String]?
45
+ }
46
+ }
47
+
48
+ type integration_credential = {
49
+ oauth_code_credential: {
50
+ auth_code: ::String
51
+ }?,
52
+ oauth_client_credential: {
53
+ client_id: ::String,
54
+ client_secret: ::String,
55
+ provider_id: ::String?
56
+ }?,
57
+ api_key_credential: {
58
+ api_key_value: ::String
59
+ }?
60
+ }
61
+
62
+ end
63
+ end
64
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,85 @@
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 CloudWatchOmni
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchOmni/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudWatchOmni/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
+ ?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
+ ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
58
+ ?token_provider: untyped,
59
+ ?use_dualstack_endpoint: bool,
60
+ ?use_fips_endpoint: bool,
61
+ ?validate_params: bool,
62
+ ?endpoint_provider: untyped,
63
+ ?http_proxy: String,
64
+ ?http_open_timeout: (Float | Integer),
65
+ ?http_read_timeout: (Float | Integer),
66
+ ?http_idle_timeout: (Float | Integer),
67
+ ?http_continue_timeout: (Float | Integer),
68
+ ?ssl_timeout: (Float | Integer | nil),
69
+ ?http_wire_trace: bool,
70
+ ?ssl_verify_peer: bool,
71
+ ?ssl_ca_bundle: String,
72
+ ?ssl_ca_directory: String,
73
+ ?ssl_ca_store: String,
74
+ ?on_chunk_received: Proc,
75
+ ?on_chunk_sent: Proc,
76
+ ?raise_response_errors: bool
77
+ ) -> void
78
+ | (?Hash[Symbol, untyped]) -> void
79
+
80
+ def client: () -> Client
81
+
82
+
83
+ end
84
+ end
85
+ end