aws-sdk-aiops 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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-aiops/client.rb +1106 -0
- data/lib/aws-sdk-aiops/client_api.rb +404 -0
- data/lib/aws-sdk-aiops/customizations.rb +0 -0
- data/lib/aws-sdk-aiops/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-aiops/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-aiops/endpoints.rb +20 -0
- data/lib/aws-sdk-aiops/errors.rb +186 -0
- data/lib/aws-sdk-aiops/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-aiops/resource.rb +26 -0
- data/lib/aws-sdk-aiops/types.rb +713 -0
- data/lib/aws-sdk-aiops/waiters.rb +15 -0
- data/lib/aws-sdk-aiops.rb +62 -0
- data/sig/client.rbs +219 -0
- data/sig/errors.rbs +44 -0
- data/sig/resource.rbs +84 -0
- data/sig/types.rbs +193 -0
- data/sig/waiters.rbs +13 -0
- metadata +97 -0
@@ -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::AIOps
|
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(:aiops)
|
15
|
+
|
16
|
+
# This module provides support for AWS AI Ops. This module is available in the
|
17
|
+
# `aws-sdk-aiops` 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
|
+
# ai_ops = Aws::AIOps::Client.new
|
26
|
+
# resp = ai_ops.create_investigation_group(params)
|
27
|
+
#
|
28
|
+
# See {Client} for more information.
|
29
|
+
#
|
30
|
+
# # Errors
|
31
|
+
#
|
32
|
+
# Errors returned from AWS AI Ops are defined in the
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
|
+
#
|
35
|
+
# begin
|
36
|
+
# # do stuff
|
37
|
+
# rescue Aws::AIOps::Errors::ServiceError
|
38
|
+
# # rescues all AWS AI Ops API errors
|
39
|
+
# end
|
40
|
+
#
|
41
|
+
# See {Errors} for more information.
|
42
|
+
#
|
43
|
+
# @!group service
|
44
|
+
module Aws::AIOps
|
45
|
+
autoload :Types, 'aws-sdk-aiops/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-aiops/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-aiops/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-aiops/client'
|
51
|
+
autoload :Errors, 'aws-sdk-aiops/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-aiops/waiters'
|
53
|
+
autoload :Resource, 'aws-sdk-aiops/resource'
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-aiops/endpoint_parameters'
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-aiops/endpoint_provider'
|
56
|
+
autoload :Endpoints, 'aws-sdk-aiops/endpoints'
|
57
|
+
|
58
|
+
GEM_VERSION = '1.0.0'
|
59
|
+
|
60
|
+
end
|
61
|
+
|
62
|
+
require_relative 'aws-sdk-aiops/customizations'
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,219 @@
|
|
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 AIOps
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/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_checksum_calculation: String,
|
43
|
+
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
45
|
+
?retry_backoff: Proc,
|
46
|
+
?retry_base_delay: Float,
|
47
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
48
|
+
?retry_limit: Integer,
|
49
|
+
?retry_max_delay: Integer,
|
50
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
51
|
+
?sdk_ua_app_id: String,
|
52
|
+
?secret_access_key: String,
|
53
|
+
?session_token: String,
|
54
|
+
?sigv4a_signing_region_set: Array[String],
|
55
|
+
?stub_responses: untyped,
|
56
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
57
|
+
?token_provider: untyped,
|
58
|
+
?use_dualstack_endpoint: bool,
|
59
|
+
?use_fips_endpoint: bool,
|
60
|
+
?validate_params: bool,
|
61
|
+
?endpoint_provider: untyped,
|
62
|
+
?http_proxy: String,
|
63
|
+
?http_open_timeout: (Float | Integer),
|
64
|
+
?http_read_timeout: (Float | Integer),
|
65
|
+
?http_idle_timeout: (Float | Integer),
|
66
|
+
?http_continue_timeout: (Float | Integer),
|
67
|
+
?ssl_timeout: (Float | Integer | nil),
|
68
|
+
?http_wire_trace: bool,
|
69
|
+
?ssl_verify_peer: bool,
|
70
|
+
?ssl_ca_bundle: String,
|
71
|
+
?ssl_ca_directory: String,
|
72
|
+
?ssl_ca_store: String,
|
73
|
+
?on_chunk_received: Proc,
|
74
|
+
?on_chunk_sent: Proc,
|
75
|
+
?raise_response_errors: bool
|
76
|
+
) -> instance
|
77
|
+
| (?Hash[Symbol, untyped]) -> instance
|
78
|
+
|
79
|
+
|
80
|
+
interface _CreateInvestigationGroupResponseSuccess
|
81
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateInvestigationGroupOutput]
|
82
|
+
def arn: () -> ::String
|
83
|
+
end
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Client.html#create_investigation_group-instance_method
|
85
|
+
def create_investigation_group: (
|
86
|
+
name: ::String,
|
87
|
+
role_arn: ::String,
|
88
|
+
?encryption_configuration: {
|
89
|
+
type: ("AWS_OWNED_KEY" | "CUSTOMER_MANAGED_KMS_KEY")?,
|
90
|
+
kms_key_id: ::String?
|
91
|
+
},
|
92
|
+
?retention_in_days: ::Integer,
|
93
|
+
?tags: Hash[::String, ::String],
|
94
|
+
?tag_key_boundaries: Array[::String],
|
95
|
+
?chatbot_notification_channel: Hash[::String, Array[::String]],
|
96
|
+
?is_cloud_trail_event_history_enabled: bool
|
97
|
+
) -> _CreateInvestigationGroupResponseSuccess
|
98
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInvestigationGroupResponseSuccess
|
99
|
+
|
100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Client.html#delete_investigation_group-instance_method
|
101
|
+
def delete_investigation_group: (
|
102
|
+
identifier: ::String
|
103
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
104
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
105
|
+
|
106
|
+
interface _DeleteInvestigationGroupPolicyResponseSuccess
|
107
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteInvestigationGroupPolicyOutput]
|
108
|
+
end
|
109
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Client.html#delete_investigation_group_policy-instance_method
|
110
|
+
def delete_investigation_group_policy: (
|
111
|
+
identifier: ::String
|
112
|
+
) -> _DeleteInvestigationGroupPolicyResponseSuccess
|
113
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInvestigationGroupPolicyResponseSuccess
|
114
|
+
|
115
|
+
interface _GetInvestigationGroupResponseSuccess
|
116
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInvestigationGroupResponse]
|
117
|
+
def created_by: () -> ::String
|
118
|
+
def created_at: () -> ::Time
|
119
|
+
def last_modified_by: () -> ::String
|
120
|
+
def last_modified_at: () -> ::Time
|
121
|
+
def name: () -> ::String
|
122
|
+
def arn: () -> ::String
|
123
|
+
def role_arn: () -> ::String
|
124
|
+
def encryption_configuration: () -> Types::EncryptionConfiguration
|
125
|
+
def retention_in_days: () -> ::Integer
|
126
|
+
def chatbot_notification_channel: () -> ::Hash[::String, ::Array[::String]]
|
127
|
+
def tag_key_boundaries: () -> ::Array[::String]
|
128
|
+
def is_cloud_trail_event_history_enabled: () -> bool
|
129
|
+
end
|
130
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Client.html#get_investigation_group-instance_method
|
131
|
+
def get_investigation_group: (
|
132
|
+
identifier: ::String
|
133
|
+
) -> _GetInvestigationGroupResponseSuccess
|
134
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInvestigationGroupResponseSuccess
|
135
|
+
|
136
|
+
interface _GetInvestigationGroupPolicyResponseSuccess
|
137
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInvestigationGroupPolicyResponse]
|
138
|
+
def investigation_group_arn: () -> ::String
|
139
|
+
def policy: () -> ::String
|
140
|
+
end
|
141
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Client.html#get_investigation_group_policy-instance_method
|
142
|
+
def get_investigation_group_policy: (
|
143
|
+
identifier: ::String
|
144
|
+
) -> _GetInvestigationGroupPolicyResponseSuccess
|
145
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInvestigationGroupPolicyResponseSuccess
|
146
|
+
|
147
|
+
interface _ListInvestigationGroupsResponseSuccess
|
148
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInvestigationGroupsOutput]
|
149
|
+
def next_token: () -> ::String
|
150
|
+
def investigation_groups: () -> ::Array[Types::ListInvestigationGroupsModel]
|
151
|
+
end
|
152
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Client.html#list_investigation_groups-instance_method
|
153
|
+
def list_investigation_groups: (
|
154
|
+
?next_token: ::String,
|
155
|
+
?max_results: ::Integer
|
156
|
+
) -> _ListInvestigationGroupsResponseSuccess
|
157
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInvestigationGroupsResponseSuccess
|
158
|
+
|
159
|
+
interface _ListTagsForResourceResponseSuccess
|
160
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
|
161
|
+
def tags: () -> ::Hash[::String, ::String]
|
162
|
+
end
|
163
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Client.html#list_tags_for_resource-instance_method
|
164
|
+
def list_tags_for_resource: (
|
165
|
+
resource_arn: ::String
|
166
|
+
) -> _ListTagsForResourceResponseSuccess
|
167
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
168
|
+
|
169
|
+
interface _PutInvestigationGroupPolicyResponseSuccess
|
170
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutInvestigationGroupPolicyResponse]
|
171
|
+
def investigation_group_arn: () -> ::String
|
172
|
+
end
|
173
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Client.html#put_investigation_group_policy-instance_method
|
174
|
+
def put_investigation_group_policy: (
|
175
|
+
identifier: ::String,
|
176
|
+
policy: ::String
|
177
|
+
) -> _PutInvestigationGroupPolicyResponseSuccess
|
178
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutInvestigationGroupPolicyResponseSuccess
|
179
|
+
|
180
|
+
interface _TagResourceResponseSuccess
|
181
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
182
|
+
end
|
183
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Client.html#tag_resource-instance_method
|
184
|
+
def tag_resource: (
|
185
|
+
resource_arn: ::String,
|
186
|
+
tags: Hash[::String, ::String]
|
187
|
+
) -> _TagResourceResponseSuccess
|
188
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
189
|
+
|
190
|
+
interface _UntagResourceResponseSuccess
|
191
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
192
|
+
end
|
193
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Client.html#untag_resource-instance_method
|
194
|
+
def untag_resource: (
|
195
|
+
resource_arn: ::String,
|
196
|
+
tag_keys: Array[::String]
|
197
|
+
) -> _UntagResourceResponseSuccess
|
198
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
199
|
+
|
200
|
+
interface _UpdateInvestigationGroupResponseSuccess
|
201
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateInvestigationGroupOutput]
|
202
|
+
end
|
203
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Client.html#update_investigation_group-instance_method
|
204
|
+
def update_investigation_group: (
|
205
|
+
identifier: ::String,
|
206
|
+
?role_arn: ::String,
|
207
|
+
?encryption_configuration: {
|
208
|
+
type: ("AWS_OWNED_KEY" | "CUSTOMER_MANAGED_KMS_KEY")?,
|
209
|
+
kms_key_id: ::String?
|
210
|
+
},
|
211
|
+
?tag_key_boundaries: Array[::String],
|
212
|
+
?chatbot_notification_channel: Hash[::String, Array[::String]],
|
213
|
+
?is_cloud_trail_event_history_enabled: bool
|
214
|
+
) -> _UpdateInvestigationGroupResponseSuccess
|
215
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInvestigationGroupResponseSuccess
|
216
|
+
end
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,44 @@
|
|
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 AIOps
|
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
|
+
end
|
20
|
+
class ForbiddenException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
def resource_id: () -> ::String
|
32
|
+
def resource_type: () -> ::String
|
33
|
+
def service_code: () -> ::String
|
34
|
+
def quota_code: () -> ::String
|
35
|
+
end
|
36
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
37
|
+
def message: () -> ::String
|
38
|
+
end
|
39
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
40
|
+
def message: () -> ::String
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,84 @@
|
|
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 AIOps
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/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_checksum_calculation: String,
|
43
|
+
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
45
|
+
?retry_backoff: Proc,
|
46
|
+
?retry_base_delay: Float,
|
47
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
48
|
+
?retry_limit: Integer,
|
49
|
+
?retry_max_delay: Integer,
|
50
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
51
|
+
?sdk_ua_app_id: String,
|
52
|
+
?secret_access_key: String,
|
53
|
+
?session_token: String,
|
54
|
+
?sigv4a_signing_region_set: Array[String],
|
55
|
+
?stub_responses: untyped,
|
56
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
57
|
+
?token_provider: untyped,
|
58
|
+
?use_dualstack_endpoint: bool,
|
59
|
+
?use_fips_endpoint: bool,
|
60
|
+
?validate_params: bool,
|
61
|
+
?endpoint_provider: untyped,
|
62
|
+
?http_proxy: String,
|
63
|
+
?http_open_timeout: (Float | Integer),
|
64
|
+
?http_read_timeout: (Float | Integer),
|
65
|
+
?http_idle_timeout: (Float | Integer),
|
66
|
+
?http_continue_timeout: (Float | Integer),
|
67
|
+
?ssl_timeout: (Float | Integer | nil),
|
68
|
+
?http_wire_trace: bool,
|
69
|
+
?ssl_verify_peer: bool,
|
70
|
+
?ssl_ca_bundle: String,
|
71
|
+
?ssl_ca_directory: String,
|
72
|
+
?ssl_ca_store: String,
|
73
|
+
?on_chunk_received: Proc,
|
74
|
+
?on_chunk_sent: Proc,
|
75
|
+
?raise_response_errors: bool
|
76
|
+
) -> void
|
77
|
+
| (?Hash[Symbol, untyped]) -> void
|
78
|
+
|
79
|
+
def client: () -> Client
|
80
|
+
|
81
|
+
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,193 @@
|
|
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::AIOps
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class ConflictException
|
17
|
+
attr_accessor message: ::String
|
18
|
+
SENSITIVE: []
|
19
|
+
end
|
20
|
+
|
21
|
+
class CreateInvestigationGroupInput
|
22
|
+
attr_accessor name: ::String
|
23
|
+
attr_accessor role_arn: ::String
|
24
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
25
|
+
attr_accessor retention_in_days: ::Integer
|
26
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
27
|
+
attr_accessor tag_key_boundaries: ::Array[::String]
|
28
|
+
attr_accessor chatbot_notification_channel: ::Hash[::String, ::Array[::String]]
|
29
|
+
attr_accessor is_cloud_trail_event_history_enabled: bool
|
30
|
+
SENSITIVE: []
|
31
|
+
end
|
32
|
+
|
33
|
+
class CreateInvestigationGroupOutput
|
34
|
+
attr_accessor arn: ::String
|
35
|
+
SENSITIVE: []
|
36
|
+
end
|
37
|
+
|
38
|
+
class DeleteInvestigationGroupPolicyOutput < Aws::EmptyStructure
|
39
|
+
end
|
40
|
+
|
41
|
+
class DeleteInvestigationGroupPolicyRequest
|
42
|
+
attr_accessor identifier: ::String
|
43
|
+
SENSITIVE: []
|
44
|
+
end
|
45
|
+
|
46
|
+
class DeleteInvestigationGroupRequest
|
47
|
+
attr_accessor identifier: ::String
|
48
|
+
SENSITIVE: []
|
49
|
+
end
|
50
|
+
|
51
|
+
class EncryptionConfiguration
|
52
|
+
attr_accessor type: ("AWS_OWNED_KEY" | "CUSTOMER_MANAGED_KMS_KEY")
|
53
|
+
attr_accessor kms_key_id: ::String
|
54
|
+
SENSITIVE: []
|
55
|
+
end
|
56
|
+
|
57
|
+
class ForbiddenException
|
58
|
+
attr_accessor message: ::String
|
59
|
+
SENSITIVE: []
|
60
|
+
end
|
61
|
+
|
62
|
+
class GetInvestigationGroupPolicyRequest
|
63
|
+
attr_accessor identifier: ::String
|
64
|
+
SENSITIVE: []
|
65
|
+
end
|
66
|
+
|
67
|
+
class GetInvestigationGroupPolicyResponse
|
68
|
+
attr_accessor investigation_group_arn: ::String
|
69
|
+
attr_accessor policy: ::String
|
70
|
+
SENSITIVE: []
|
71
|
+
end
|
72
|
+
|
73
|
+
class GetInvestigationGroupRequest
|
74
|
+
attr_accessor identifier: ::String
|
75
|
+
SENSITIVE: []
|
76
|
+
end
|
77
|
+
|
78
|
+
class GetInvestigationGroupResponse
|
79
|
+
attr_accessor created_by: ::String
|
80
|
+
attr_accessor created_at: ::Time
|
81
|
+
attr_accessor last_modified_by: ::String
|
82
|
+
attr_accessor last_modified_at: ::Time
|
83
|
+
attr_accessor name: ::String
|
84
|
+
attr_accessor arn: ::String
|
85
|
+
attr_accessor role_arn: ::String
|
86
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
87
|
+
attr_accessor retention_in_days: ::Integer
|
88
|
+
attr_accessor chatbot_notification_channel: ::Hash[::String, ::Array[::String]]
|
89
|
+
attr_accessor tag_key_boundaries: ::Array[::String]
|
90
|
+
attr_accessor is_cloud_trail_event_history_enabled: bool
|
91
|
+
SENSITIVE: []
|
92
|
+
end
|
93
|
+
|
94
|
+
class InternalServerException
|
95
|
+
attr_accessor message: ::String
|
96
|
+
SENSITIVE: []
|
97
|
+
end
|
98
|
+
|
99
|
+
class ListInvestigationGroupsInput
|
100
|
+
attr_accessor next_token: ::String
|
101
|
+
attr_accessor max_results: ::Integer
|
102
|
+
SENSITIVE: [:next_token]
|
103
|
+
end
|
104
|
+
|
105
|
+
class ListInvestigationGroupsModel
|
106
|
+
attr_accessor arn: ::String
|
107
|
+
attr_accessor name: ::String
|
108
|
+
SENSITIVE: []
|
109
|
+
end
|
110
|
+
|
111
|
+
class ListInvestigationGroupsOutput
|
112
|
+
attr_accessor next_token: ::String
|
113
|
+
attr_accessor investigation_groups: ::Array[Types::ListInvestigationGroupsModel]
|
114
|
+
SENSITIVE: [:next_token]
|
115
|
+
end
|
116
|
+
|
117
|
+
class ListTagsForResourceOutput
|
118
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
119
|
+
SENSITIVE: []
|
120
|
+
end
|
121
|
+
|
122
|
+
class ListTagsForResourceRequest
|
123
|
+
attr_accessor resource_arn: ::String
|
124
|
+
SENSITIVE: []
|
125
|
+
end
|
126
|
+
|
127
|
+
class PutInvestigationGroupPolicyRequest
|
128
|
+
attr_accessor identifier: ::String
|
129
|
+
attr_accessor policy: ::String
|
130
|
+
SENSITIVE: []
|
131
|
+
end
|
132
|
+
|
133
|
+
class PutInvestigationGroupPolicyResponse
|
134
|
+
attr_accessor investigation_group_arn: ::String
|
135
|
+
SENSITIVE: []
|
136
|
+
end
|
137
|
+
|
138
|
+
class ResourceNotFoundException
|
139
|
+
attr_accessor message: ::String
|
140
|
+
SENSITIVE: []
|
141
|
+
end
|
142
|
+
|
143
|
+
class ServiceQuotaExceededException
|
144
|
+
attr_accessor message: ::String
|
145
|
+
attr_accessor resource_id: ::String
|
146
|
+
attr_accessor resource_type: ::String
|
147
|
+
attr_accessor service_code: ::String
|
148
|
+
attr_accessor quota_code: ::String
|
149
|
+
SENSITIVE: []
|
150
|
+
end
|
151
|
+
|
152
|
+
class TagResourceRequest
|
153
|
+
attr_accessor resource_arn: ::String
|
154
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
155
|
+
SENSITIVE: []
|
156
|
+
end
|
157
|
+
|
158
|
+
class TagResourceResponse < Aws::EmptyStructure
|
159
|
+
end
|
160
|
+
|
161
|
+
class ThrottlingException
|
162
|
+
attr_accessor message: ::String
|
163
|
+
SENSITIVE: []
|
164
|
+
end
|
165
|
+
|
166
|
+
class UntagResourceRequest
|
167
|
+
attr_accessor resource_arn: ::String
|
168
|
+
attr_accessor tag_keys: ::Array[::String]
|
169
|
+
SENSITIVE: []
|
170
|
+
end
|
171
|
+
|
172
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
173
|
+
end
|
174
|
+
|
175
|
+
class UpdateInvestigationGroupOutput < Aws::EmptyStructure
|
176
|
+
end
|
177
|
+
|
178
|
+
class UpdateInvestigationGroupRequest
|
179
|
+
attr_accessor identifier: ::String
|
180
|
+
attr_accessor role_arn: ::String
|
181
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
182
|
+
attr_accessor tag_key_boundaries: ::Array[::String]
|
183
|
+
attr_accessor chatbot_notification_channel: ::Hash[::String, ::Array[::String]]
|
184
|
+
attr_accessor is_cloud_trail_event_history_enabled: bool
|
185
|
+
SENSITIVE: []
|
186
|
+
end
|
187
|
+
|
188
|
+
class ValidationException
|
189
|
+
attr_accessor message: ::String
|
190
|
+
SENSITIVE: []
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
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 AIOps
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|