aws-sdk-inspector 1.53.0 → 1.55.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 772667a9126e63fb4db1fe78a3b3078c67e6240d9adc7ea9e4903814c10f90a1
4
- data.tar.gz: 493183e865eb858ddca1f004416f5b8cfc5af1513b2403091ea453431ee92fd1
3
+ metadata.gz: e9657a3d06963ccc4e8cfb358371f64d7e9e1e7908b524a287e36f68cdaf7888
4
+ data.tar.gz: e380548045c92d27f41cad97ffb8e2fae9936545ef21ef4ad59c3183db14547b
5
5
  SHA512:
6
- metadata.gz: cc8128c9c2688ca02ada3161aa6424b6bbb67b2b1f27c4c0da7dcaa25cb11d337c5c36797a944c8a2a81a2c1da11db70bb7373541ef201fc73173b4267486f9a
7
- data.tar.gz: 8ad61de04df9548cfdf5726c2186a0c44167f8715bc335c5798376949a930b24b7f77ebbcaf1bcd35f2ad2cefa14a74a57c507c88d6a4871ad0bd67e12fa6046
6
+ metadata.gz: 0cf9d070d6c7a0b4ae39d9fce5635cccabb176ccc76945d7de1b819b8face6591070067b6de8139adacbececbdfb4853557becabe7f0fdb092f183d7e844696a
7
+ data.tar.gz: 9e4f3f005733c8eae32a35d559d9d353d77deaca1471f6d9907e2867aad7352a1c71ffca736690cd5264bd4d511dd2a8d491f7043f13342bcb44c123790a9cfe
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.55.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.54.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.53.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.55.0
@@ -3058,7 +3058,7 @@ module Aws::Inspector
3058
3058
  params: params,
3059
3059
  config: config)
3060
3060
  context[:gem_name] = 'aws-sdk-inspector'
3061
- context[:gem_version] = '1.53.0'
3061
+ context[:gem_version] = '1.55.0'
3062
3062
  Seahorse::Client::Request.new(handlers, context)
3063
3063
  end
3064
3064
 
@@ -14,6 +14,7 @@ module Aws::Inspector
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::Inspector::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 '\
@@ -25,16 +26,17 @@ module Aws::Inspector
25
26
  # @api private
26
27
  class Handler < Seahorse::Client::Handler
27
28
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
29
  unless context[:discovered_endpoint]
30
30
  params = parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
34
34
  apply_endpoint_headers(context, endpoint.headers)
35
+
36
+ context[:endpoint_params] = params
37
+ context[:endpoint_properties] = endpoint.properties
35
38
  end
36
39
 
37
- context[:endpoint_params] = params
38
40
  context[:auth_scheme] =
39
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
42
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-inspector/customizations'
52
52
  # @!group service
53
53
  module Aws::Inspector
54
54
 
55
- GEM_VERSION = '1.53.0'
55
+ GEM_VERSION = '1.55.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,551 @@
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 Inspector
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/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
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _AddAttributesToFindingsResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddAttributesToFindingsResponse]
78
+ def failed_items: () -> ::Hash[::String, Types::FailedItemDetails]
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#add_attributes_to_findings-instance_method
81
+ def add_attributes_to_findings: (
82
+ finding_arns: Array[::String],
83
+ attributes: Array[
84
+ {
85
+ key: ::String,
86
+ value: ::String?
87
+ },
88
+ ]
89
+ ) -> _AddAttributesToFindingsResponseSuccess
90
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddAttributesToFindingsResponseSuccess
91
+
92
+ interface _CreateAssessmentTargetResponseSuccess
93
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAssessmentTargetResponse]
94
+ def assessment_target_arn: () -> ::String
95
+ end
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#create_assessment_target-instance_method
97
+ def create_assessment_target: (
98
+ assessment_target_name: ::String,
99
+ ?resource_group_arn: ::String
100
+ ) -> _CreateAssessmentTargetResponseSuccess
101
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssessmentTargetResponseSuccess
102
+
103
+ interface _CreateAssessmentTemplateResponseSuccess
104
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAssessmentTemplateResponse]
105
+ def assessment_template_arn: () -> ::String
106
+ end
107
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#create_assessment_template-instance_method
108
+ def create_assessment_template: (
109
+ assessment_target_arn: ::String,
110
+ assessment_template_name: ::String,
111
+ duration_in_seconds: ::Integer,
112
+ rules_package_arns: Array[::String],
113
+ ?user_attributes_for_findings: Array[
114
+ {
115
+ key: ::String,
116
+ value: ::String?
117
+ },
118
+ ]
119
+ ) -> _CreateAssessmentTemplateResponseSuccess
120
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAssessmentTemplateResponseSuccess
121
+
122
+ interface _CreateExclusionsPreviewResponseSuccess
123
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateExclusionsPreviewResponse]
124
+ def preview_token: () -> ::String
125
+ end
126
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#create_exclusions_preview-instance_method
127
+ def create_exclusions_preview: (
128
+ assessment_template_arn: ::String
129
+ ) -> _CreateExclusionsPreviewResponseSuccess
130
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateExclusionsPreviewResponseSuccess
131
+
132
+ interface _CreateResourceGroupResponseSuccess
133
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateResourceGroupResponse]
134
+ def resource_group_arn: () -> ::String
135
+ end
136
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#create_resource_group-instance_method
137
+ def create_resource_group: (
138
+ resource_group_tags: Array[
139
+ {
140
+ key: ::String,
141
+ value: ::String?
142
+ },
143
+ ]
144
+ ) -> _CreateResourceGroupResponseSuccess
145
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateResourceGroupResponseSuccess
146
+
147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#delete_assessment_run-instance_method
148
+ def delete_assessment_run: (
149
+ assessment_run_arn: ::String
150
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
151
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
152
+
153
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#delete_assessment_target-instance_method
154
+ def delete_assessment_target: (
155
+ assessment_target_arn: ::String
156
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
157
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
158
+
159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#delete_assessment_template-instance_method
160
+ def delete_assessment_template: (
161
+ assessment_template_arn: ::String
162
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
163
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
164
+
165
+ interface _DescribeAssessmentRunsResponseSuccess
166
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAssessmentRunsResponse]
167
+ def assessment_runs: () -> ::Array[Types::AssessmentRun]
168
+ def failed_items: () -> ::Hash[::String, Types::FailedItemDetails]
169
+ end
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#describe_assessment_runs-instance_method
171
+ def describe_assessment_runs: (
172
+ assessment_run_arns: Array[::String]
173
+ ) -> _DescribeAssessmentRunsResponseSuccess
174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAssessmentRunsResponseSuccess
175
+
176
+ interface _DescribeAssessmentTargetsResponseSuccess
177
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAssessmentTargetsResponse]
178
+ def assessment_targets: () -> ::Array[Types::AssessmentTarget]
179
+ def failed_items: () -> ::Hash[::String, Types::FailedItemDetails]
180
+ end
181
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#describe_assessment_targets-instance_method
182
+ def describe_assessment_targets: (
183
+ assessment_target_arns: Array[::String]
184
+ ) -> _DescribeAssessmentTargetsResponseSuccess
185
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAssessmentTargetsResponseSuccess
186
+
187
+ interface _DescribeAssessmentTemplatesResponseSuccess
188
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAssessmentTemplatesResponse]
189
+ def assessment_templates: () -> ::Array[Types::AssessmentTemplate]
190
+ def failed_items: () -> ::Hash[::String, Types::FailedItemDetails]
191
+ end
192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#describe_assessment_templates-instance_method
193
+ def describe_assessment_templates: (
194
+ assessment_template_arns: Array[::String]
195
+ ) -> _DescribeAssessmentTemplatesResponseSuccess
196
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAssessmentTemplatesResponseSuccess
197
+
198
+ interface _DescribeCrossAccountAccessRoleResponseSuccess
199
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCrossAccountAccessRoleResponse]
200
+ def role_arn: () -> ::String
201
+ def valid: () -> bool
202
+ def registered_at: () -> ::Time
203
+ end
204
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#describe_cross_account_access_role-instance_method
205
+ def describe_cross_account_access_role: () -> _DescribeCrossAccountAccessRoleResponseSuccess
206
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCrossAccountAccessRoleResponseSuccess
207
+
208
+ interface _DescribeExclusionsResponseSuccess
209
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeExclusionsResponse]
210
+ def exclusions: () -> ::Hash[::String, Types::Exclusion]
211
+ def failed_items: () -> ::Hash[::String, Types::FailedItemDetails]
212
+ end
213
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#describe_exclusions-instance_method
214
+ def describe_exclusions: (
215
+ exclusion_arns: Array[::String],
216
+ ?locale: ("EN_US")
217
+ ) -> _DescribeExclusionsResponseSuccess
218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeExclusionsResponseSuccess
219
+
220
+ interface _DescribeFindingsResponseSuccess
221
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFindingsResponse]
222
+ def findings: () -> ::Array[Types::Finding]
223
+ def failed_items: () -> ::Hash[::String, Types::FailedItemDetails]
224
+ end
225
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#describe_findings-instance_method
226
+ def describe_findings: (
227
+ finding_arns: Array[::String],
228
+ ?locale: ("EN_US")
229
+ ) -> _DescribeFindingsResponseSuccess
230
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFindingsResponseSuccess
231
+
232
+ interface _DescribeResourceGroupsResponseSuccess
233
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResourceGroupsResponse]
234
+ def resource_groups: () -> ::Array[Types::ResourceGroup]
235
+ def failed_items: () -> ::Hash[::String, Types::FailedItemDetails]
236
+ end
237
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#describe_resource_groups-instance_method
238
+ def describe_resource_groups: (
239
+ resource_group_arns: Array[::String]
240
+ ) -> _DescribeResourceGroupsResponseSuccess
241
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourceGroupsResponseSuccess
242
+
243
+ interface _DescribeRulesPackagesResponseSuccess
244
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRulesPackagesResponse]
245
+ def rules_packages: () -> ::Array[Types::RulesPackage]
246
+ def failed_items: () -> ::Hash[::String, Types::FailedItemDetails]
247
+ end
248
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#describe_rules_packages-instance_method
249
+ def describe_rules_packages: (
250
+ rules_package_arns: Array[::String],
251
+ ?locale: ("EN_US")
252
+ ) -> _DescribeRulesPackagesResponseSuccess
253
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRulesPackagesResponseSuccess
254
+
255
+ interface _GetAssessmentReportResponseSuccess
256
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAssessmentReportResponse]
257
+ def status: () -> ("WORK_IN_PROGRESS" | "FAILED" | "COMPLETED")
258
+ def url: () -> ::String
259
+ end
260
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#get_assessment_report-instance_method
261
+ def get_assessment_report: (
262
+ assessment_run_arn: ::String,
263
+ report_file_format: ("HTML" | "PDF"),
264
+ report_type: ("FINDING" | "FULL")
265
+ ) -> _GetAssessmentReportResponseSuccess
266
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAssessmentReportResponseSuccess
267
+
268
+ interface _GetExclusionsPreviewResponseSuccess
269
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetExclusionsPreviewResponse]
270
+ def preview_status: () -> ("WORK_IN_PROGRESS" | "COMPLETED")
271
+ def exclusion_previews: () -> ::Array[Types::ExclusionPreview]
272
+ def next_token: () -> ::String
273
+ end
274
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#get_exclusions_preview-instance_method
275
+ def get_exclusions_preview: (
276
+ assessment_template_arn: ::String,
277
+ preview_token: ::String,
278
+ ?next_token: ::String,
279
+ ?max_results: ::Integer,
280
+ ?locale: ("EN_US")
281
+ ) -> _GetExclusionsPreviewResponseSuccess
282
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExclusionsPreviewResponseSuccess
283
+
284
+ interface _GetTelemetryMetadataResponseSuccess
285
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTelemetryMetadataResponse]
286
+ def telemetry_metadata: () -> ::Array[Types::TelemetryMetadata]
287
+ end
288
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#get_telemetry_metadata-instance_method
289
+ def get_telemetry_metadata: (
290
+ assessment_run_arn: ::String
291
+ ) -> _GetTelemetryMetadataResponseSuccess
292
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTelemetryMetadataResponseSuccess
293
+
294
+ interface _ListAssessmentRunAgentsResponseSuccess
295
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssessmentRunAgentsResponse]
296
+ def assessment_run_agents: () -> ::Array[Types::AssessmentRunAgent]
297
+ def next_token: () -> ::String
298
+ end
299
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#list_assessment_run_agents-instance_method
300
+ def list_assessment_run_agents: (
301
+ assessment_run_arn: ::String,
302
+ ?filter: {
303
+ agent_healths: Array[("HEALTHY" | "UNHEALTHY" | "UNKNOWN")],
304
+ agent_health_codes: Array[("IDLE" | "RUNNING" | "SHUTDOWN" | "UNHEALTHY" | "THROTTLED" | "UNKNOWN")]
305
+ },
306
+ ?next_token: ::String,
307
+ ?max_results: ::Integer
308
+ ) -> _ListAssessmentRunAgentsResponseSuccess
309
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssessmentRunAgentsResponseSuccess
310
+
311
+ interface _ListAssessmentRunsResponseSuccess
312
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssessmentRunsResponse]
313
+ def assessment_run_arns: () -> ::Array[::String]
314
+ def next_token: () -> ::String
315
+ end
316
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#list_assessment_runs-instance_method
317
+ def list_assessment_runs: (
318
+ ?assessment_template_arns: Array[::String],
319
+ ?filter: {
320
+ name_pattern: ::String?,
321
+ states: Array[("CREATED" | "START_DATA_COLLECTION_PENDING" | "START_DATA_COLLECTION_IN_PROGRESS" | "COLLECTING_DATA" | "STOP_DATA_COLLECTION_PENDING" | "DATA_COLLECTED" | "START_EVALUATING_RULES_PENDING" | "EVALUATING_RULES" | "FAILED" | "ERROR" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "CANCELED")]?,
322
+ duration_range: {
323
+ min_seconds: ::Integer?,
324
+ max_seconds: ::Integer?
325
+ }?,
326
+ rules_package_arns: Array[::String]?,
327
+ start_time_range: {
328
+ begin_date: ::Time?,
329
+ end_date: ::Time?
330
+ }?,
331
+ completion_time_range: {
332
+ begin_date: ::Time?,
333
+ end_date: ::Time?
334
+ }?,
335
+ state_change_time_range: {
336
+ begin_date: ::Time?,
337
+ end_date: ::Time?
338
+ }?
339
+ },
340
+ ?next_token: ::String,
341
+ ?max_results: ::Integer
342
+ ) -> _ListAssessmentRunsResponseSuccess
343
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssessmentRunsResponseSuccess
344
+
345
+ interface _ListAssessmentTargetsResponseSuccess
346
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssessmentTargetsResponse]
347
+ def assessment_target_arns: () -> ::Array[::String]
348
+ def next_token: () -> ::String
349
+ end
350
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#list_assessment_targets-instance_method
351
+ def list_assessment_targets: (
352
+ ?filter: {
353
+ assessment_target_name_pattern: ::String?
354
+ },
355
+ ?next_token: ::String,
356
+ ?max_results: ::Integer
357
+ ) -> _ListAssessmentTargetsResponseSuccess
358
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssessmentTargetsResponseSuccess
359
+
360
+ interface _ListAssessmentTemplatesResponseSuccess
361
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssessmentTemplatesResponse]
362
+ def assessment_template_arns: () -> ::Array[::String]
363
+ def next_token: () -> ::String
364
+ end
365
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#list_assessment_templates-instance_method
366
+ def list_assessment_templates: (
367
+ ?assessment_target_arns: Array[::String],
368
+ ?filter: {
369
+ name_pattern: ::String?,
370
+ duration_range: {
371
+ min_seconds: ::Integer?,
372
+ max_seconds: ::Integer?
373
+ }?,
374
+ rules_package_arns: Array[::String]?
375
+ },
376
+ ?next_token: ::String,
377
+ ?max_results: ::Integer
378
+ ) -> _ListAssessmentTemplatesResponseSuccess
379
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssessmentTemplatesResponseSuccess
380
+
381
+ interface _ListEventSubscriptionsResponseSuccess
382
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEventSubscriptionsResponse]
383
+ def subscriptions: () -> ::Array[Types::Subscription]
384
+ def next_token: () -> ::String
385
+ end
386
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#list_event_subscriptions-instance_method
387
+ def list_event_subscriptions: (
388
+ ?resource_arn: ::String,
389
+ ?next_token: ::String,
390
+ ?max_results: ::Integer
391
+ ) -> _ListEventSubscriptionsResponseSuccess
392
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventSubscriptionsResponseSuccess
393
+
394
+ interface _ListExclusionsResponseSuccess
395
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListExclusionsResponse]
396
+ def exclusion_arns: () -> ::Array[::String]
397
+ def next_token: () -> ::String
398
+ end
399
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#list_exclusions-instance_method
400
+ def list_exclusions: (
401
+ assessment_run_arn: ::String,
402
+ ?next_token: ::String,
403
+ ?max_results: ::Integer
404
+ ) -> _ListExclusionsResponseSuccess
405
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExclusionsResponseSuccess
406
+
407
+ interface _ListFindingsResponseSuccess
408
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFindingsResponse]
409
+ def finding_arns: () -> ::Array[::String]
410
+ def next_token: () -> ::String
411
+ end
412
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#list_findings-instance_method
413
+ def list_findings: (
414
+ ?assessment_run_arns: Array[::String],
415
+ ?filter: {
416
+ agent_ids: Array[::String]?,
417
+ auto_scaling_groups: Array[::String]?,
418
+ rule_names: Array[::String]?,
419
+ severities: Array[("Low" | "Medium" | "High" | "Informational" | "Undefined")]?,
420
+ rules_package_arns: Array[::String]?,
421
+ attributes: Array[
422
+ {
423
+ key: ::String,
424
+ value: ::String?
425
+ },
426
+ ]?,
427
+ user_attributes: Array[
428
+ {
429
+ key: ::String,
430
+ value: ::String?
431
+ },
432
+ ]?,
433
+ creation_time_range: {
434
+ begin_date: ::Time?,
435
+ end_date: ::Time?
436
+ }?
437
+ },
438
+ ?next_token: ::String,
439
+ ?max_results: ::Integer
440
+ ) -> _ListFindingsResponseSuccess
441
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFindingsResponseSuccess
442
+
443
+ interface _ListRulesPackagesResponseSuccess
444
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRulesPackagesResponse]
445
+ def rules_package_arns: () -> ::Array[::String]
446
+ def next_token: () -> ::String
447
+ end
448
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#list_rules_packages-instance_method
449
+ def list_rules_packages: (
450
+ ?next_token: ::String,
451
+ ?max_results: ::Integer
452
+ ) -> _ListRulesPackagesResponseSuccess
453
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRulesPackagesResponseSuccess
454
+
455
+ interface _ListTagsForResourceResponseSuccess
456
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
457
+ def tags: () -> ::Array[Types::Tag]
458
+ end
459
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#list_tags_for_resource-instance_method
460
+ def list_tags_for_resource: (
461
+ resource_arn: ::String
462
+ ) -> _ListTagsForResourceResponseSuccess
463
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
464
+
465
+ interface _PreviewAgentsResponseSuccess
466
+ include ::Seahorse::Client::_ResponseSuccess[Types::PreviewAgentsResponse]
467
+ def agent_previews: () -> ::Array[Types::AgentPreview]
468
+ def next_token: () -> ::String
469
+ end
470
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#preview_agents-instance_method
471
+ def preview_agents: (
472
+ preview_agents_arn: ::String,
473
+ ?next_token: ::String,
474
+ ?max_results: ::Integer
475
+ ) -> _PreviewAgentsResponseSuccess
476
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PreviewAgentsResponseSuccess
477
+
478
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#register_cross_account_access_role-instance_method
479
+ def register_cross_account_access_role: (
480
+ role_arn: ::String
481
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
482
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
483
+
484
+ interface _RemoveAttributesFromFindingsResponseSuccess
485
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveAttributesFromFindingsResponse]
486
+ def failed_items: () -> ::Hash[::String, Types::FailedItemDetails]
487
+ end
488
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#remove_attributes_from_findings-instance_method
489
+ def remove_attributes_from_findings: (
490
+ finding_arns: Array[::String],
491
+ attribute_keys: Array[::String]
492
+ ) -> _RemoveAttributesFromFindingsResponseSuccess
493
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveAttributesFromFindingsResponseSuccess
494
+
495
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#set_tags_for_resource-instance_method
496
+ def set_tags_for_resource: (
497
+ resource_arn: ::String,
498
+ ?tags: Array[
499
+ {
500
+ key: ::String,
501
+ value: ::String?
502
+ },
503
+ ]
504
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
505
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
506
+
507
+ interface _StartAssessmentRunResponseSuccess
508
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartAssessmentRunResponse]
509
+ def assessment_run_arn: () -> ::String
510
+ end
511
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#start_assessment_run-instance_method
512
+ def start_assessment_run: (
513
+ assessment_template_arn: ::String,
514
+ ?assessment_run_name: ::String
515
+ ) -> _StartAssessmentRunResponseSuccess
516
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAssessmentRunResponseSuccess
517
+
518
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#stop_assessment_run-instance_method
519
+ def stop_assessment_run: (
520
+ assessment_run_arn: ::String,
521
+ ?stop_action: ("START_EVALUATION" | "SKIP_EVALUATION")
522
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
523
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
524
+
525
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#subscribe_to_event-instance_method
526
+ def subscribe_to_event: (
527
+ resource_arn: ::String,
528
+ event: ("ASSESSMENT_RUN_STARTED" | "ASSESSMENT_RUN_COMPLETED" | "ASSESSMENT_RUN_STATE_CHANGED" | "FINDING_REPORTED" | "OTHER"),
529
+ topic_arn: ::String
530
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
531
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
532
+
533
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#unsubscribe_from_event-instance_method
534
+ def unsubscribe_from_event: (
535
+ resource_arn: ::String,
536
+ event: ("ASSESSMENT_RUN_STARTED" | "ASSESSMENT_RUN_COMPLETED" | "ASSESSMENT_RUN_STATE_CHANGED" | "FINDING_REPORTED" | "OTHER"),
537
+ topic_arn: ::String
538
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
539
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
540
+
541
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector/Client.html#update_assessment_target-instance_method
542
+ def update_assessment_target: (
543
+ assessment_target_arn: ::String,
544
+ assessment_target_name: ::String,
545
+ ?resource_group_arn: ::String
546
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
547
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
548
+ end
549
+ end
550
+ end
551
+