aws-sdk-detective 1.44.0 → 1.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-detective/client.rb +1 -1
- data/lib/aws-sdk-detective/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-detective.rb +1 -1
- data/sig/client.rbs +403 -0
- data/sig/errors.rbs +44 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +526 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 257387829f039feb5112a5b8db08fbbfd2bc8f56d2d23e58f885d4febb9ba28d
|
4
|
+
data.tar.gz: 18ec55a03157b73b6b3cbd86ae81ec0de0ca8978248f36e58e54b14f739c8f29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 860141ace9ae092d305837d383da622d257d76a6abd984e37dabd07f5fc91dda5b98e5625a4d8786cd43e96cbeebd896ad477a1dca8cf6b917f8284ba1429d8b
|
7
|
+
data.tar.gz: 5ac61ad61fb0fe4325d396af1b78497bebd86c2a515c8fee7b394f60d8e85da9a9495d4649d9b0133680f44cff7ac8653d5540dd64daed4cdcdcd7ebcd5db00a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.45.0
|
@@ -1727,7 +1727,7 @@ module Aws::Detective
|
|
1727
1727
|
params: params,
|
1728
1728
|
config: config)
|
1729
1729
|
context[:gem_name] = 'aws-sdk-detective'
|
1730
|
-
context[:gem_version] = '1.
|
1730
|
+
context[:gem_version] = '1.45.0'
|
1731
1731
|
Seahorse::Client::Request.new(handlers, context)
|
1732
1732
|
end
|
1733
1733
|
|
@@ -14,6 +14,7 @@ module Aws::Detective
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::Detective::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/lib/aws-sdk-detective.rb
CHANGED
data/sig/client.rbs
ADDED
@@ -0,0 +1,403 @@
|
|
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 Detective
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#accept_invitation-instance_method
|
76
|
+
def accept_invitation: (
|
77
|
+
graph_arn: ::String
|
78
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
79
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
80
|
+
|
81
|
+
interface _BatchGetGraphMemberDatasourcesResponseSuccess
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetGraphMemberDatasourcesResponse]
|
83
|
+
def member_datasources: () -> ::Array[Types::MembershipDatasources]
|
84
|
+
def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
|
85
|
+
end
|
86
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#batch_get_graph_member_datasources-instance_method
|
87
|
+
def batch_get_graph_member_datasources: (
|
88
|
+
graph_arn: ::String,
|
89
|
+
account_ids: Array[::String]
|
90
|
+
) -> _BatchGetGraphMemberDatasourcesResponseSuccess
|
91
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetGraphMemberDatasourcesResponseSuccess
|
92
|
+
|
93
|
+
interface _BatchGetMembershipDatasourcesResponseSuccess
|
94
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetMembershipDatasourcesResponse]
|
95
|
+
def membership_datasources: () -> ::Array[Types::MembershipDatasources]
|
96
|
+
def unprocessed_graphs: () -> ::Array[Types::UnprocessedGraph]
|
97
|
+
end
|
98
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#batch_get_membership_datasources-instance_method
|
99
|
+
def batch_get_membership_datasources: (
|
100
|
+
graph_arns: Array[::String]
|
101
|
+
) -> _BatchGetMembershipDatasourcesResponseSuccess
|
102
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetMembershipDatasourcesResponseSuccess
|
103
|
+
|
104
|
+
interface _CreateGraphResponseSuccess
|
105
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateGraphResponse]
|
106
|
+
def graph_arn: () -> ::String
|
107
|
+
end
|
108
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#create_graph-instance_method
|
109
|
+
def create_graph: (
|
110
|
+
?tags: Hash[::String, ::String]
|
111
|
+
) -> _CreateGraphResponseSuccess
|
112
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGraphResponseSuccess
|
113
|
+
|
114
|
+
interface _CreateMembersResponseSuccess
|
115
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMembersResponse]
|
116
|
+
def members: () -> ::Array[Types::MemberDetail]
|
117
|
+
def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
|
118
|
+
end
|
119
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#create_members-instance_method
|
120
|
+
def create_members: (
|
121
|
+
graph_arn: ::String,
|
122
|
+
?message: ::String,
|
123
|
+
?disable_email_notification: bool,
|
124
|
+
accounts: Array[
|
125
|
+
{
|
126
|
+
account_id: ::String,
|
127
|
+
email_address: ::String
|
128
|
+
},
|
129
|
+
]
|
130
|
+
) -> _CreateMembersResponseSuccess
|
131
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMembersResponseSuccess
|
132
|
+
|
133
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#delete_graph-instance_method
|
134
|
+
def delete_graph: (
|
135
|
+
graph_arn: ::String
|
136
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
137
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
138
|
+
|
139
|
+
interface _DeleteMembersResponseSuccess
|
140
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMembersResponse]
|
141
|
+
def account_ids: () -> ::Array[::String]
|
142
|
+
def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
|
143
|
+
end
|
144
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#delete_members-instance_method
|
145
|
+
def delete_members: (
|
146
|
+
graph_arn: ::String,
|
147
|
+
account_ids: Array[::String]
|
148
|
+
) -> _DeleteMembersResponseSuccess
|
149
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMembersResponseSuccess
|
150
|
+
|
151
|
+
interface _DescribeOrganizationConfigurationResponseSuccess
|
152
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeOrganizationConfigurationResponse]
|
153
|
+
def auto_enable: () -> bool
|
154
|
+
end
|
155
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#describe_organization_configuration-instance_method
|
156
|
+
def describe_organization_configuration: (
|
157
|
+
graph_arn: ::String
|
158
|
+
) -> _DescribeOrganizationConfigurationResponseSuccess
|
159
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeOrganizationConfigurationResponseSuccess
|
160
|
+
|
161
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#disable_organization_admin_account-instance_method
|
162
|
+
def disable_organization_admin_account: () -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
163
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
164
|
+
|
165
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#disassociate_membership-instance_method
|
166
|
+
def disassociate_membership: (
|
167
|
+
graph_arn: ::String
|
168
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
169
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
170
|
+
|
171
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#enable_organization_admin_account-instance_method
|
172
|
+
def enable_organization_admin_account: (
|
173
|
+
account_id: ::String
|
174
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
175
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
176
|
+
|
177
|
+
interface _GetInvestigationResponseSuccess
|
178
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInvestigationResponse]
|
179
|
+
def graph_arn: () -> ::String
|
180
|
+
def investigation_id: () -> ::String
|
181
|
+
def entity_arn: () -> ::String
|
182
|
+
def entity_type: () -> ("IAM_ROLE" | "IAM_USER")
|
183
|
+
def created_time: () -> ::Time
|
184
|
+
def scope_start_time: () -> ::Time
|
185
|
+
def scope_end_time: () -> ::Time
|
186
|
+
def status: () -> ("RUNNING" | "FAILED" | "SUCCESSFUL")
|
187
|
+
def severity: () -> ("INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL")
|
188
|
+
def state: () -> ("ACTIVE" | "ARCHIVED")
|
189
|
+
end
|
190
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#get_investigation-instance_method
|
191
|
+
def get_investigation: (
|
192
|
+
graph_arn: ::String,
|
193
|
+
investigation_id: ::String
|
194
|
+
) -> _GetInvestigationResponseSuccess
|
195
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInvestigationResponseSuccess
|
196
|
+
|
197
|
+
interface _GetMembersResponseSuccess
|
198
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMembersResponse]
|
199
|
+
def member_details: () -> ::Array[Types::MemberDetail]
|
200
|
+
def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
|
201
|
+
end
|
202
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#get_members-instance_method
|
203
|
+
def get_members: (
|
204
|
+
graph_arn: ::String,
|
205
|
+
account_ids: Array[::String]
|
206
|
+
) -> _GetMembersResponseSuccess
|
207
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMembersResponseSuccess
|
208
|
+
|
209
|
+
interface _ListDatasourcePackagesResponseSuccess
|
210
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDatasourcePackagesResponse]
|
211
|
+
def datasource_packages: () -> ::Hash[("DETECTIVE_CORE" | "EKS_AUDIT" | "ASFF_SECURITYHUB_FINDING"), Types::DatasourcePackageIngestDetail]
|
212
|
+
def next_token: () -> ::String
|
213
|
+
end
|
214
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#list_datasource_packages-instance_method
|
215
|
+
def list_datasource_packages: (
|
216
|
+
graph_arn: ::String,
|
217
|
+
?next_token: ::String,
|
218
|
+
?max_results: ::Integer
|
219
|
+
) -> _ListDatasourcePackagesResponseSuccess
|
220
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatasourcePackagesResponseSuccess
|
221
|
+
|
222
|
+
interface _ListGraphsResponseSuccess
|
223
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListGraphsResponse]
|
224
|
+
def graph_list: () -> ::Array[Types::Graph]
|
225
|
+
def next_token: () -> ::String
|
226
|
+
end
|
227
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#list_graphs-instance_method
|
228
|
+
def list_graphs: (
|
229
|
+
?next_token: ::String,
|
230
|
+
?max_results: ::Integer
|
231
|
+
) -> _ListGraphsResponseSuccess
|
232
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGraphsResponseSuccess
|
233
|
+
|
234
|
+
interface _ListIndicatorsResponseSuccess
|
235
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListIndicatorsResponse]
|
236
|
+
def graph_arn: () -> ::String
|
237
|
+
def investigation_id: () -> ::String
|
238
|
+
def next_token: () -> ::String
|
239
|
+
def indicators: () -> ::Array[Types::Indicator]
|
240
|
+
end
|
241
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#list_indicators-instance_method
|
242
|
+
def list_indicators: (
|
243
|
+
graph_arn: ::String,
|
244
|
+
investigation_id: ::String,
|
245
|
+
?indicator_type: ("TTP_OBSERVED" | "IMPOSSIBLE_TRAVEL" | "FLAGGED_IP_ADDRESS" | "NEW_GEOLOCATION" | "NEW_ASO" | "NEW_USER_AGENT" | "RELATED_FINDING" | "RELATED_FINDING_GROUP"),
|
246
|
+
?next_token: ::String,
|
247
|
+
?max_results: ::Integer
|
248
|
+
) -> _ListIndicatorsResponseSuccess
|
249
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIndicatorsResponseSuccess
|
250
|
+
|
251
|
+
interface _ListInvestigationsResponseSuccess
|
252
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInvestigationsResponse]
|
253
|
+
def investigation_details: () -> ::Array[Types::InvestigationDetail]
|
254
|
+
def next_token: () -> ::String
|
255
|
+
end
|
256
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#list_investigations-instance_method
|
257
|
+
def list_investigations: (
|
258
|
+
graph_arn: ::String,
|
259
|
+
?next_token: ::String,
|
260
|
+
?max_results: ::Integer,
|
261
|
+
?filter_criteria: {
|
262
|
+
severity: {
|
263
|
+
value: ::String
|
264
|
+
}?,
|
265
|
+
status: {
|
266
|
+
value: ::String
|
267
|
+
}?,
|
268
|
+
state: {
|
269
|
+
value: ::String
|
270
|
+
}?,
|
271
|
+
entity_arn: {
|
272
|
+
value: ::String
|
273
|
+
}?,
|
274
|
+
created_time: {
|
275
|
+
start_inclusive: ::Time,
|
276
|
+
end_inclusive: ::Time
|
277
|
+
}?
|
278
|
+
},
|
279
|
+
?sort_criteria: {
|
280
|
+
field: ("SEVERITY" | "STATUS" | "CREATED_TIME")?,
|
281
|
+
sort_order: ("ASC" | "DESC")?
|
282
|
+
}
|
283
|
+
) -> _ListInvestigationsResponseSuccess
|
284
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInvestigationsResponseSuccess
|
285
|
+
|
286
|
+
interface _ListInvitationsResponseSuccess
|
287
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInvitationsResponse]
|
288
|
+
def invitations: () -> ::Array[Types::MemberDetail]
|
289
|
+
def next_token: () -> ::String
|
290
|
+
end
|
291
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#list_invitations-instance_method
|
292
|
+
def list_invitations: (
|
293
|
+
?next_token: ::String,
|
294
|
+
?max_results: ::Integer
|
295
|
+
) -> _ListInvitationsResponseSuccess
|
296
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInvitationsResponseSuccess
|
297
|
+
|
298
|
+
interface _ListMembersResponseSuccess
|
299
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMembersResponse]
|
300
|
+
def member_details: () -> ::Array[Types::MemberDetail]
|
301
|
+
def next_token: () -> ::String
|
302
|
+
end
|
303
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#list_members-instance_method
|
304
|
+
def list_members: (
|
305
|
+
graph_arn: ::String,
|
306
|
+
?next_token: ::String,
|
307
|
+
?max_results: ::Integer
|
308
|
+
) -> _ListMembersResponseSuccess
|
309
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMembersResponseSuccess
|
310
|
+
|
311
|
+
interface _ListOrganizationAdminAccountsResponseSuccess
|
312
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListOrganizationAdminAccountsResponse]
|
313
|
+
def administrators: () -> ::Array[Types::Administrator]
|
314
|
+
def next_token: () -> ::String
|
315
|
+
end
|
316
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#list_organization_admin_accounts-instance_method
|
317
|
+
def list_organization_admin_accounts: (
|
318
|
+
?next_token: ::String,
|
319
|
+
?max_results: ::Integer
|
320
|
+
) -> _ListOrganizationAdminAccountsResponseSuccess
|
321
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOrganizationAdminAccountsResponseSuccess
|
322
|
+
|
323
|
+
interface _ListTagsForResourceResponseSuccess
|
324
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
325
|
+
def tags: () -> ::Hash[::String, ::String]
|
326
|
+
end
|
327
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#list_tags_for_resource-instance_method
|
328
|
+
def list_tags_for_resource: (
|
329
|
+
resource_arn: ::String
|
330
|
+
) -> _ListTagsForResourceResponseSuccess
|
331
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
332
|
+
|
333
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#reject_invitation-instance_method
|
334
|
+
def reject_invitation: (
|
335
|
+
graph_arn: ::String
|
336
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
337
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
338
|
+
|
339
|
+
interface _StartInvestigationResponseSuccess
|
340
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartInvestigationResponse]
|
341
|
+
def investigation_id: () -> ::String
|
342
|
+
end
|
343
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#start_investigation-instance_method
|
344
|
+
def start_investigation: (
|
345
|
+
graph_arn: ::String,
|
346
|
+
entity_arn: ::String,
|
347
|
+
scope_start_time: ::Time,
|
348
|
+
scope_end_time: ::Time
|
349
|
+
) -> _StartInvestigationResponseSuccess
|
350
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartInvestigationResponseSuccess
|
351
|
+
|
352
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#start_monitoring_member-instance_method
|
353
|
+
def start_monitoring_member: (
|
354
|
+
graph_arn: ::String,
|
355
|
+
account_id: ::String
|
356
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
357
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
358
|
+
|
359
|
+
interface _TagResourceResponseSuccess
|
360
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
361
|
+
end
|
362
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#tag_resource-instance_method
|
363
|
+
def tag_resource: (
|
364
|
+
resource_arn: ::String,
|
365
|
+
tags: Hash[::String, ::String]
|
366
|
+
) -> _TagResourceResponseSuccess
|
367
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
368
|
+
|
369
|
+
interface _UntagResourceResponseSuccess
|
370
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
371
|
+
end
|
372
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#untag_resource-instance_method
|
373
|
+
def untag_resource: (
|
374
|
+
resource_arn: ::String,
|
375
|
+
tag_keys: Array[::String]
|
376
|
+
) -> _UntagResourceResponseSuccess
|
377
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
378
|
+
|
379
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#update_datasource_packages-instance_method
|
380
|
+
def update_datasource_packages: (
|
381
|
+
graph_arn: ::String,
|
382
|
+
datasource_packages: Array[("DETECTIVE_CORE" | "EKS_AUDIT" | "ASFF_SECURITYHUB_FINDING")]
|
383
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
384
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
385
|
+
|
386
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#update_investigation_state-instance_method
|
387
|
+
def update_investigation_state: (
|
388
|
+
graph_arn: ::String,
|
389
|
+
investigation_id: ::String,
|
390
|
+
state: ("ACTIVE" | "ARCHIVED")
|
391
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
392
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
393
|
+
|
394
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Client.html#update_organization_configuration-instance_method
|
395
|
+
def update_organization_configuration: (
|
396
|
+
graph_arn: ::String,
|
397
|
+
?auto_enable: bool
|
398
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
399
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
400
|
+
end
|
401
|
+
end
|
402
|
+
end
|
403
|
+
|
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 Detective
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
def error_code: () -> ::String
|
17
|
+
def error_code_reason: () -> ::String
|
18
|
+
def sub_error_code: () -> ::String
|
19
|
+
def sub_error_code_reason: () -> ::String
|
20
|
+
end
|
21
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
22
|
+
def message: () -> ::String
|
23
|
+
end
|
24
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
25
|
+
def message: () -> ::String
|
26
|
+
end
|
27
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
28
|
+
def message: () -> ::String
|
29
|
+
end
|
30
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
31
|
+
def message: () -> ::String
|
32
|
+
def resources: () -> ::String
|
33
|
+
end
|
34
|
+
class TooManyRequestsException < ::Aws::Errors::ServiceError
|
35
|
+
def message: () -> ::String
|
36
|
+
end
|
37
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
38
|
+
def message: () -> ::String
|
39
|
+
def error_code: () -> ::String
|
40
|
+
def error_code_reason: () -> ::String
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
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 Detective
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Detective/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,526 @@
|
|
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::Detective
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AcceptInvitationRequest
|
12
|
+
attr_accessor graph_arn: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class AccessDeniedException
|
17
|
+
attr_accessor message: ::String
|
18
|
+
attr_accessor error_code: ("INVALID_GRAPH_ARN" | "INVALID_REQUEST_BODY" | "INTERNAL_ERROR")
|
19
|
+
attr_accessor error_code_reason: ::String
|
20
|
+
attr_accessor sub_error_code: ("INVALID_GRAPH_ARN" | "INVALID_REQUEST_BODY" | "INTERNAL_ERROR")
|
21
|
+
attr_accessor sub_error_code_reason: ::String
|
22
|
+
SENSITIVE: []
|
23
|
+
end
|
24
|
+
|
25
|
+
class Account
|
26
|
+
attr_accessor account_id: ::String
|
27
|
+
attr_accessor email_address: ::String
|
28
|
+
SENSITIVE: [:email_address]
|
29
|
+
end
|
30
|
+
|
31
|
+
class Administrator
|
32
|
+
attr_accessor account_id: ::String
|
33
|
+
attr_accessor graph_arn: ::String
|
34
|
+
attr_accessor delegation_time: ::Time
|
35
|
+
SENSITIVE: []
|
36
|
+
end
|
37
|
+
|
38
|
+
class BatchGetGraphMemberDatasourcesRequest
|
39
|
+
attr_accessor graph_arn: ::String
|
40
|
+
attr_accessor account_ids: ::Array[::String]
|
41
|
+
SENSITIVE: []
|
42
|
+
end
|
43
|
+
|
44
|
+
class BatchGetGraphMemberDatasourcesResponse
|
45
|
+
attr_accessor member_datasources: ::Array[Types::MembershipDatasources]
|
46
|
+
attr_accessor unprocessed_accounts: ::Array[Types::UnprocessedAccount]
|
47
|
+
SENSITIVE: []
|
48
|
+
end
|
49
|
+
|
50
|
+
class BatchGetMembershipDatasourcesRequest
|
51
|
+
attr_accessor graph_arns: ::Array[::String]
|
52
|
+
SENSITIVE: []
|
53
|
+
end
|
54
|
+
|
55
|
+
class BatchGetMembershipDatasourcesResponse
|
56
|
+
attr_accessor membership_datasources: ::Array[Types::MembershipDatasources]
|
57
|
+
attr_accessor unprocessed_graphs: ::Array[Types::UnprocessedGraph]
|
58
|
+
SENSITIVE: []
|
59
|
+
end
|
60
|
+
|
61
|
+
class ConflictException
|
62
|
+
attr_accessor message: ::String
|
63
|
+
SENSITIVE: []
|
64
|
+
end
|
65
|
+
|
66
|
+
class CreateGraphRequest
|
67
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
68
|
+
SENSITIVE: []
|
69
|
+
end
|
70
|
+
|
71
|
+
class CreateGraphResponse
|
72
|
+
attr_accessor graph_arn: ::String
|
73
|
+
SENSITIVE: []
|
74
|
+
end
|
75
|
+
|
76
|
+
class CreateMembersRequest
|
77
|
+
attr_accessor graph_arn: ::String
|
78
|
+
attr_accessor message: ::String
|
79
|
+
attr_accessor disable_email_notification: bool
|
80
|
+
attr_accessor accounts: ::Array[Types::Account]
|
81
|
+
SENSITIVE: [:message]
|
82
|
+
end
|
83
|
+
|
84
|
+
class CreateMembersResponse
|
85
|
+
attr_accessor members: ::Array[Types::MemberDetail]
|
86
|
+
attr_accessor unprocessed_accounts: ::Array[Types::UnprocessedAccount]
|
87
|
+
SENSITIVE: []
|
88
|
+
end
|
89
|
+
|
90
|
+
class DatasourcePackageIngestDetail
|
91
|
+
attr_accessor datasource_package_ingest_state: ("STARTED" | "STOPPED" | "DISABLED")
|
92
|
+
attr_accessor last_ingest_state_change: ::Hash[("STARTED" | "STOPPED" | "DISABLED"), Types::TimestampForCollection]
|
93
|
+
SENSITIVE: []
|
94
|
+
end
|
95
|
+
|
96
|
+
class DatasourcePackageUsageInfo
|
97
|
+
attr_accessor volume_usage_in_bytes: ::Integer
|
98
|
+
attr_accessor volume_usage_update_time: ::Time
|
99
|
+
SENSITIVE: []
|
100
|
+
end
|
101
|
+
|
102
|
+
class DateFilter
|
103
|
+
attr_accessor start_inclusive: ::Time
|
104
|
+
attr_accessor end_inclusive: ::Time
|
105
|
+
SENSITIVE: []
|
106
|
+
end
|
107
|
+
|
108
|
+
class DeleteGraphRequest
|
109
|
+
attr_accessor graph_arn: ::String
|
110
|
+
SENSITIVE: []
|
111
|
+
end
|
112
|
+
|
113
|
+
class DeleteMembersRequest
|
114
|
+
attr_accessor graph_arn: ::String
|
115
|
+
attr_accessor account_ids: ::Array[::String]
|
116
|
+
SENSITIVE: []
|
117
|
+
end
|
118
|
+
|
119
|
+
class DeleteMembersResponse
|
120
|
+
attr_accessor account_ids: ::Array[::String]
|
121
|
+
attr_accessor unprocessed_accounts: ::Array[Types::UnprocessedAccount]
|
122
|
+
SENSITIVE: []
|
123
|
+
end
|
124
|
+
|
125
|
+
class DescribeOrganizationConfigurationRequest
|
126
|
+
attr_accessor graph_arn: ::String
|
127
|
+
SENSITIVE: []
|
128
|
+
end
|
129
|
+
|
130
|
+
class DescribeOrganizationConfigurationResponse
|
131
|
+
attr_accessor auto_enable: bool
|
132
|
+
SENSITIVE: []
|
133
|
+
end
|
134
|
+
|
135
|
+
class DisassociateMembershipRequest
|
136
|
+
attr_accessor graph_arn: ::String
|
137
|
+
SENSITIVE: []
|
138
|
+
end
|
139
|
+
|
140
|
+
class EnableOrganizationAdminAccountRequest
|
141
|
+
attr_accessor account_id: ::String
|
142
|
+
SENSITIVE: []
|
143
|
+
end
|
144
|
+
|
145
|
+
class FilterCriteria
|
146
|
+
attr_accessor severity: Types::StringFilter
|
147
|
+
attr_accessor status: Types::StringFilter
|
148
|
+
attr_accessor state: Types::StringFilter
|
149
|
+
attr_accessor entity_arn: Types::StringFilter
|
150
|
+
attr_accessor created_time: Types::DateFilter
|
151
|
+
SENSITIVE: []
|
152
|
+
end
|
153
|
+
|
154
|
+
class FlaggedIpAddressDetail
|
155
|
+
attr_accessor ip_address: ::String
|
156
|
+
attr_accessor reason: ("AWS_THREAT_INTELLIGENCE")
|
157
|
+
SENSITIVE: []
|
158
|
+
end
|
159
|
+
|
160
|
+
class GetInvestigationRequest
|
161
|
+
attr_accessor graph_arn: ::String
|
162
|
+
attr_accessor investigation_id: ::String
|
163
|
+
SENSITIVE: []
|
164
|
+
end
|
165
|
+
|
166
|
+
class GetInvestigationResponse
|
167
|
+
attr_accessor graph_arn: ::String
|
168
|
+
attr_accessor investigation_id: ::String
|
169
|
+
attr_accessor entity_arn: ::String
|
170
|
+
attr_accessor entity_type: ("IAM_ROLE" | "IAM_USER")
|
171
|
+
attr_accessor created_time: ::Time
|
172
|
+
attr_accessor scope_start_time: ::Time
|
173
|
+
attr_accessor scope_end_time: ::Time
|
174
|
+
attr_accessor status: ("RUNNING" | "FAILED" | "SUCCESSFUL")
|
175
|
+
attr_accessor severity: ("INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL")
|
176
|
+
attr_accessor state: ("ACTIVE" | "ARCHIVED")
|
177
|
+
SENSITIVE: []
|
178
|
+
end
|
179
|
+
|
180
|
+
class GetMembersRequest
|
181
|
+
attr_accessor graph_arn: ::String
|
182
|
+
attr_accessor account_ids: ::Array[::String]
|
183
|
+
SENSITIVE: []
|
184
|
+
end
|
185
|
+
|
186
|
+
class GetMembersResponse
|
187
|
+
attr_accessor member_details: ::Array[Types::MemberDetail]
|
188
|
+
attr_accessor unprocessed_accounts: ::Array[Types::UnprocessedAccount]
|
189
|
+
SENSITIVE: []
|
190
|
+
end
|
191
|
+
|
192
|
+
class Graph
|
193
|
+
attr_accessor arn: ::String
|
194
|
+
attr_accessor created_time: ::Time
|
195
|
+
SENSITIVE: []
|
196
|
+
end
|
197
|
+
|
198
|
+
class ImpossibleTravelDetail
|
199
|
+
attr_accessor starting_ip_address: ::String
|
200
|
+
attr_accessor ending_ip_address: ::String
|
201
|
+
attr_accessor starting_location: ::String
|
202
|
+
attr_accessor ending_location: ::String
|
203
|
+
attr_accessor hourly_time_delta: ::Integer
|
204
|
+
SENSITIVE: []
|
205
|
+
end
|
206
|
+
|
207
|
+
class Indicator
|
208
|
+
attr_accessor indicator_type: ("TTP_OBSERVED" | "IMPOSSIBLE_TRAVEL" | "FLAGGED_IP_ADDRESS" | "NEW_GEOLOCATION" | "NEW_ASO" | "NEW_USER_AGENT" | "RELATED_FINDING" | "RELATED_FINDING_GROUP")
|
209
|
+
attr_accessor indicator_detail: Types::IndicatorDetail
|
210
|
+
SENSITIVE: []
|
211
|
+
end
|
212
|
+
|
213
|
+
class IndicatorDetail
|
214
|
+
attr_accessor tt_ps_observed_detail: Types::TTPsObservedDetail
|
215
|
+
attr_accessor impossible_travel_detail: Types::ImpossibleTravelDetail
|
216
|
+
attr_accessor flagged_ip_address_detail: Types::FlaggedIpAddressDetail
|
217
|
+
attr_accessor new_geolocation_detail: Types::NewGeolocationDetail
|
218
|
+
attr_accessor new_aso_detail: Types::NewAsoDetail
|
219
|
+
attr_accessor new_user_agent_detail: Types::NewUserAgentDetail
|
220
|
+
attr_accessor related_finding_detail: Types::RelatedFindingDetail
|
221
|
+
attr_accessor related_finding_group_detail: Types::RelatedFindingGroupDetail
|
222
|
+
SENSITIVE: []
|
223
|
+
end
|
224
|
+
|
225
|
+
class InternalServerException
|
226
|
+
attr_accessor message: ::String
|
227
|
+
SENSITIVE: []
|
228
|
+
end
|
229
|
+
|
230
|
+
class InvestigationDetail
|
231
|
+
attr_accessor investigation_id: ::String
|
232
|
+
attr_accessor severity: ("INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL")
|
233
|
+
attr_accessor status: ("RUNNING" | "FAILED" | "SUCCESSFUL")
|
234
|
+
attr_accessor state: ("ACTIVE" | "ARCHIVED")
|
235
|
+
attr_accessor created_time: ::Time
|
236
|
+
attr_accessor entity_arn: ::String
|
237
|
+
attr_accessor entity_type: ("IAM_ROLE" | "IAM_USER")
|
238
|
+
SENSITIVE: []
|
239
|
+
end
|
240
|
+
|
241
|
+
class ListDatasourcePackagesRequest
|
242
|
+
attr_accessor graph_arn: ::String
|
243
|
+
attr_accessor next_token: ::String
|
244
|
+
attr_accessor max_results: ::Integer
|
245
|
+
SENSITIVE: []
|
246
|
+
end
|
247
|
+
|
248
|
+
class ListDatasourcePackagesResponse
|
249
|
+
attr_accessor datasource_packages: ::Hash[("DETECTIVE_CORE" | "EKS_AUDIT" | "ASFF_SECURITYHUB_FINDING"), Types::DatasourcePackageIngestDetail]
|
250
|
+
attr_accessor next_token: ::String
|
251
|
+
SENSITIVE: []
|
252
|
+
end
|
253
|
+
|
254
|
+
class ListGraphsRequest
|
255
|
+
attr_accessor next_token: ::String
|
256
|
+
attr_accessor max_results: ::Integer
|
257
|
+
SENSITIVE: []
|
258
|
+
end
|
259
|
+
|
260
|
+
class ListGraphsResponse
|
261
|
+
attr_accessor graph_list: ::Array[Types::Graph]
|
262
|
+
attr_accessor next_token: ::String
|
263
|
+
SENSITIVE: []
|
264
|
+
end
|
265
|
+
|
266
|
+
class ListIndicatorsRequest
|
267
|
+
attr_accessor graph_arn: ::String
|
268
|
+
attr_accessor investigation_id: ::String
|
269
|
+
attr_accessor indicator_type: ("TTP_OBSERVED" | "IMPOSSIBLE_TRAVEL" | "FLAGGED_IP_ADDRESS" | "NEW_GEOLOCATION" | "NEW_ASO" | "NEW_USER_AGENT" | "RELATED_FINDING" | "RELATED_FINDING_GROUP")
|
270
|
+
attr_accessor next_token: ::String
|
271
|
+
attr_accessor max_results: ::Integer
|
272
|
+
SENSITIVE: []
|
273
|
+
end
|
274
|
+
|
275
|
+
class ListIndicatorsResponse
|
276
|
+
attr_accessor graph_arn: ::String
|
277
|
+
attr_accessor investigation_id: ::String
|
278
|
+
attr_accessor next_token: ::String
|
279
|
+
attr_accessor indicators: ::Array[Types::Indicator]
|
280
|
+
SENSITIVE: []
|
281
|
+
end
|
282
|
+
|
283
|
+
class ListInvestigationsRequest
|
284
|
+
attr_accessor graph_arn: ::String
|
285
|
+
attr_accessor next_token: ::String
|
286
|
+
attr_accessor max_results: ::Integer
|
287
|
+
attr_accessor filter_criteria: Types::FilterCriteria
|
288
|
+
attr_accessor sort_criteria: Types::SortCriteria
|
289
|
+
SENSITIVE: []
|
290
|
+
end
|
291
|
+
|
292
|
+
class ListInvestigationsResponse
|
293
|
+
attr_accessor investigation_details: ::Array[Types::InvestigationDetail]
|
294
|
+
attr_accessor next_token: ::String
|
295
|
+
SENSITIVE: []
|
296
|
+
end
|
297
|
+
|
298
|
+
class ListInvitationsRequest
|
299
|
+
attr_accessor next_token: ::String
|
300
|
+
attr_accessor max_results: ::Integer
|
301
|
+
SENSITIVE: []
|
302
|
+
end
|
303
|
+
|
304
|
+
class ListInvitationsResponse
|
305
|
+
attr_accessor invitations: ::Array[Types::MemberDetail]
|
306
|
+
attr_accessor next_token: ::String
|
307
|
+
SENSITIVE: []
|
308
|
+
end
|
309
|
+
|
310
|
+
class ListMembersRequest
|
311
|
+
attr_accessor graph_arn: ::String
|
312
|
+
attr_accessor next_token: ::String
|
313
|
+
attr_accessor max_results: ::Integer
|
314
|
+
SENSITIVE: []
|
315
|
+
end
|
316
|
+
|
317
|
+
class ListMembersResponse
|
318
|
+
attr_accessor member_details: ::Array[Types::MemberDetail]
|
319
|
+
attr_accessor next_token: ::String
|
320
|
+
SENSITIVE: []
|
321
|
+
end
|
322
|
+
|
323
|
+
class ListOrganizationAdminAccountsRequest
|
324
|
+
attr_accessor next_token: ::String
|
325
|
+
attr_accessor max_results: ::Integer
|
326
|
+
SENSITIVE: []
|
327
|
+
end
|
328
|
+
|
329
|
+
class ListOrganizationAdminAccountsResponse
|
330
|
+
attr_accessor administrators: ::Array[Types::Administrator]
|
331
|
+
attr_accessor next_token: ::String
|
332
|
+
SENSITIVE: []
|
333
|
+
end
|
334
|
+
|
335
|
+
class ListTagsForResourceRequest
|
336
|
+
attr_accessor resource_arn: ::String
|
337
|
+
SENSITIVE: []
|
338
|
+
end
|
339
|
+
|
340
|
+
class ListTagsForResourceResponse
|
341
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
342
|
+
SENSITIVE: []
|
343
|
+
end
|
344
|
+
|
345
|
+
class MemberDetail
|
346
|
+
attr_accessor account_id: ::String
|
347
|
+
attr_accessor email_address: ::String
|
348
|
+
attr_accessor graph_arn: ::String
|
349
|
+
attr_accessor master_id: ::String
|
350
|
+
attr_accessor administrator_id: ::String
|
351
|
+
attr_accessor status: ("INVITED" | "VERIFICATION_IN_PROGRESS" | "VERIFICATION_FAILED" | "ENABLED" | "ACCEPTED_BUT_DISABLED")
|
352
|
+
attr_accessor disabled_reason: ("VOLUME_TOO_HIGH" | "VOLUME_UNKNOWN")
|
353
|
+
attr_accessor invited_time: ::Time
|
354
|
+
attr_accessor updated_time: ::Time
|
355
|
+
attr_accessor volume_usage_in_bytes: ::Integer
|
356
|
+
attr_accessor volume_usage_updated_time: ::Time
|
357
|
+
attr_accessor percent_of_graph_utilization: ::Float
|
358
|
+
attr_accessor percent_of_graph_utilization_updated_time: ::Time
|
359
|
+
attr_accessor invitation_type: ("INVITATION" | "ORGANIZATION")
|
360
|
+
attr_accessor volume_usage_by_datasource_package: ::Hash[("DETECTIVE_CORE" | "EKS_AUDIT" | "ASFF_SECURITYHUB_FINDING"), Types::DatasourcePackageUsageInfo]
|
361
|
+
attr_accessor datasource_package_ingest_states: ::Hash[("DETECTIVE_CORE" | "EKS_AUDIT" | "ASFF_SECURITYHUB_FINDING"), ("STARTED" | "STOPPED" | "DISABLED")]
|
362
|
+
SENSITIVE: [:email_address]
|
363
|
+
end
|
364
|
+
|
365
|
+
class MembershipDatasources
|
366
|
+
attr_accessor account_id: ::String
|
367
|
+
attr_accessor graph_arn: ::String
|
368
|
+
attr_accessor datasource_package_ingest_history: ::Hash[("DETECTIVE_CORE" | "EKS_AUDIT" | "ASFF_SECURITYHUB_FINDING"), ::Hash[("STARTED" | "STOPPED" | "DISABLED"), Types::TimestampForCollection]]
|
369
|
+
SENSITIVE: []
|
370
|
+
end
|
371
|
+
|
372
|
+
class NewAsoDetail
|
373
|
+
attr_accessor aso: ::String
|
374
|
+
attr_accessor is_new_for_entire_account: bool
|
375
|
+
SENSITIVE: []
|
376
|
+
end
|
377
|
+
|
378
|
+
class NewGeolocationDetail
|
379
|
+
attr_accessor location: ::String
|
380
|
+
attr_accessor ip_address: ::String
|
381
|
+
attr_accessor is_new_for_entire_account: bool
|
382
|
+
SENSITIVE: []
|
383
|
+
end
|
384
|
+
|
385
|
+
class NewUserAgentDetail
|
386
|
+
attr_accessor user_agent: ::String
|
387
|
+
attr_accessor is_new_for_entire_account: bool
|
388
|
+
SENSITIVE: []
|
389
|
+
end
|
390
|
+
|
391
|
+
class RejectInvitationRequest
|
392
|
+
attr_accessor graph_arn: ::String
|
393
|
+
SENSITIVE: []
|
394
|
+
end
|
395
|
+
|
396
|
+
class RelatedFindingDetail
|
397
|
+
attr_accessor arn: ::String
|
398
|
+
attr_accessor type: ::String
|
399
|
+
attr_accessor ip_address: ::String
|
400
|
+
SENSITIVE: []
|
401
|
+
end
|
402
|
+
|
403
|
+
class RelatedFindingGroupDetail
|
404
|
+
attr_accessor id: ::String
|
405
|
+
SENSITIVE: []
|
406
|
+
end
|
407
|
+
|
408
|
+
class ResourceNotFoundException
|
409
|
+
attr_accessor message: ::String
|
410
|
+
SENSITIVE: []
|
411
|
+
end
|
412
|
+
|
413
|
+
class ServiceQuotaExceededException
|
414
|
+
attr_accessor message: ::String
|
415
|
+
attr_accessor resources: ::Array[::String]
|
416
|
+
SENSITIVE: []
|
417
|
+
end
|
418
|
+
|
419
|
+
class SortCriteria
|
420
|
+
attr_accessor field: ("SEVERITY" | "STATUS" | "CREATED_TIME")
|
421
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
422
|
+
SENSITIVE: []
|
423
|
+
end
|
424
|
+
|
425
|
+
class StartInvestigationRequest
|
426
|
+
attr_accessor graph_arn: ::String
|
427
|
+
attr_accessor entity_arn: ::String
|
428
|
+
attr_accessor scope_start_time: ::Time
|
429
|
+
attr_accessor scope_end_time: ::Time
|
430
|
+
SENSITIVE: []
|
431
|
+
end
|
432
|
+
|
433
|
+
class StartInvestigationResponse
|
434
|
+
attr_accessor investigation_id: ::String
|
435
|
+
SENSITIVE: []
|
436
|
+
end
|
437
|
+
|
438
|
+
class StartMonitoringMemberRequest
|
439
|
+
attr_accessor graph_arn: ::String
|
440
|
+
attr_accessor account_id: ::String
|
441
|
+
SENSITIVE: []
|
442
|
+
end
|
443
|
+
|
444
|
+
class StringFilter
|
445
|
+
attr_accessor value: ::String
|
446
|
+
SENSITIVE: []
|
447
|
+
end
|
448
|
+
|
449
|
+
class TTPsObservedDetail
|
450
|
+
attr_accessor tactic: ::String
|
451
|
+
attr_accessor technique: ::String
|
452
|
+
attr_accessor procedure: ::String
|
453
|
+
attr_accessor ip_address: ::String
|
454
|
+
attr_accessor api_name: ::String
|
455
|
+
attr_accessor api_success_count: ::Integer
|
456
|
+
attr_accessor api_failure_count: ::Integer
|
457
|
+
SENSITIVE: []
|
458
|
+
end
|
459
|
+
|
460
|
+
class TagResourceRequest
|
461
|
+
attr_accessor resource_arn: ::String
|
462
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
463
|
+
SENSITIVE: []
|
464
|
+
end
|
465
|
+
|
466
|
+
class TagResourceResponse < Aws::EmptyStructure
|
467
|
+
end
|
468
|
+
|
469
|
+
class TimestampForCollection
|
470
|
+
attr_accessor timestamp: ::Time
|
471
|
+
SENSITIVE: []
|
472
|
+
end
|
473
|
+
|
474
|
+
class TooManyRequestsException
|
475
|
+
attr_accessor message: ::String
|
476
|
+
SENSITIVE: []
|
477
|
+
end
|
478
|
+
|
479
|
+
class UnprocessedAccount
|
480
|
+
attr_accessor account_id: ::String
|
481
|
+
attr_accessor reason: ::String
|
482
|
+
SENSITIVE: []
|
483
|
+
end
|
484
|
+
|
485
|
+
class UnprocessedGraph
|
486
|
+
attr_accessor graph_arn: ::String
|
487
|
+
attr_accessor reason: ::String
|
488
|
+
SENSITIVE: []
|
489
|
+
end
|
490
|
+
|
491
|
+
class UntagResourceRequest
|
492
|
+
attr_accessor resource_arn: ::String
|
493
|
+
attr_accessor tag_keys: ::Array[::String]
|
494
|
+
SENSITIVE: []
|
495
|
+
end
|
496
|
+
|
497
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
498
|
+
end
|
499
|
+
|
500
|
+
class UpdateDatasourcePackagesRequest
|
501
|
+
attr_accessor graph_arn: ::String
|
502
|
+
attr_accessor datasource_packages: ::Array[("DETECTIVE_CORE" | "EKS_AUDIT" | "ASFF_SECURITYHUB_FINDING")]
|
503
|
+
SENSITIVE: []
|
504
|
+
end
|
505
|
+
|
506
|
+
class UpdateInvestigationStateRequest
|
507
|
+
attr_accessor graph_arn: ::String
|
508
|
+
attr_accessor investigation_id: ::String
|
509
|
+
attr_accessor state: ("ACTIVE" | "ARCHIVED")
|
510
|
+
SENSITIVE: []
|
511
|
+
end
|
512
|
+
|
513
|
+
class UpdateOrganizationConfigurationRequest
|
514
|
+
attr_accessor graph_arn: ::String
|
515
|
+
attr_accessor auto_enable: bool
|
516
|
+
SENSITIVE: []
|
517
|
+
end
|
518
|
+
|
519
|
+
class ValidationException
|
520
|
+
attr_accessor message: ::String
|
521
|
+
attr_accessor error_code: ("INVALID_GRAPH_ARN" | "INVALID_REQUEST_BODY" | "INTERNAL_ERROR")
|
522
|
+
attr_accessor error_code_reason: ::String
|
523
|
+
SENSITIVE: []
|
524
|
+
end
|
525
|
+
end
|
526
|
+
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 Detective
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-detective
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-26 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.
|
22
|
+
version: 3.191.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.
|
32
|
+
version: 3.191.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,13 +66,18 @@ files:
|
|
66
66
|
- lib/aws-sdk-detective/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-detective/resource.rb
|
68
68
|
- lib/aws-sdk-detective/types.rb
|
69
|
+
- sig/client.rbs
|
70
|
+
- sig/errors.rbs
|
71
|
+
- sig/resource.rbs
|
72
|
+
- sig/types.rbs
|
73
|
+
- sig/waiters.rbs
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
70
75
|
licenses:
|
71
76
|
- Apache-2.0
|
72
77
|
metadata:
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-detective
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-detective/CHANGELOG.md
|
75
|
-
post_install_message:
|
80
|
+
post_install_message:
|
76
81
|
rdoc_options: []
|
77
82
|
require_paths:
|
78
83
|
- lib
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
92
|
- !ruby/object:Gem::Version
|
88
93
|
version: '0'
|
89
94
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
91
|
-
signing_key:
|
95
|
+
rubygems_version: 3.4.10
|
96
|
+
signing_key:
|
92
97
|
specification_version: 4
|
93
98
|
summary: AWS SDK for Ruby - Amazon Detective
|
94
99
|
test_files: []
|