aws-sdk-inspector 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-inspector.rb +1 -1
- data/lib/aws-sdk-inspector/client.rb +67 -1
- data/lib/aws-sdk-inspector/types.rb +162 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c7ae877b80b4daca99d97b035ca71b19a07f807
|
4
|
+
data.tar.gz: 0691857843bdf08adeac8a510ac720be999ca2f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9554ab040b61b616c729ef3cd20b2d1897bdfd5c58dec826a627db71dba6d9caf43bc21fb0550496662fc9975aa648ac98fdb5a79e3dced765f95e5ed3dc6e7
|
7
|
+
data.tar.gz: 60c86df02cd33e526d4b905d35aaebfb925e553f2074422330bfc77c93e7ac5c0682f96e591ea232958986ebc6479ac9375156b0840159c953a3f14cca529f69
|
data/lib/aws-sdk-inspector.rb
CHANGED
@@ -18,6 +18,7 @@ require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
|
18
18
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
19
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
20
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
21
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
21
22
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
22
23
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
23
24
|
|
@@ -45,6 +46,7 @@ module Aws::Inspector
|
|
45
46
|
add_plugin(Aws::Plugins::ResponsePaging)
|
46
47
|
add_plugin(Aws::Plugins::StubResponses)
|
47
48
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
49
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
48
50
|
add_plugin(Aws::Plugins::SignatureV4)
|
49
51
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
50
52
|
|
@@ -185,6 +187,8 @@ module Aws::Inspector
|
|
185
187
|
# resp.failed_items["Arn"].failure_code #=> String, one of "INVALID_ARN", "DUPLICATE_ARN", "ITEM_DOES_NOT_EXIST", "ACCESS_DENIED", "LIMIT_EXCEEDED", "INTERNAL_ERROR"
|
186
188
|
# resp.failed_items["Arn"].retryable #=> Boolean
|
187
189
|
#
|
190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindings AWS API Documentation
|
191
|
+
#
|
188
192
|
# @overload add_attributes_to_findings(params = {})
|
189
193
|
# @param [Hash] params ({})
|
190
194
|
def add_attributes_to_findings(params = {}, options = {})
|
@@ -225,6 +229,8 @@ module Aws::Inspector
|
|
225
229
|
#
|
226
230
|
# resp.assessment_target_arn #=> String
|
227
231
|
#
|
232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTarget AWS API Documentation
|
233
|
+
#
|
228
234
|
# @overload create_assessment_target(params = {})
|
229
235
|
# @param [Hash] params ({})
|
230
236
|
def create_assessment_target(params = {}, options = {})
|
@@ -280,6 +286,8 @@ module Aws::Inspector
|
|
280
286
|
#
|
281
287
|
# resp.assessment_template_arn #=> String
|
282
288
|
#
|
289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplate AWS API Documentation
|
290
|
+
#
|
283
291
|
# @overload create_assessment_template(params = {})
|
284
292
|
# @param [Hash] params ({})
|
285
293
|
def create_assessment_template(params = {}, options = {})
|
@@ -319,6 +327,8 @@ module Aws::Inspector
|
|
319
327
|
#
|
320
328
|
# resp.resource_group_arn #=> String
|
321
329
|
#
|
330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroup AWS API Documentation
|
331
|
+
#
|
322
332
|
# @overload create_resource_group(params = {})
|
323
333
|
# @param [Hash] params ({})
|
324
334
|
def create_resource_group(params = {}, options = {})
|
@@ -340,6 +350,8 @@ module Aws::Inspector
|
|
340
350
|
# assessment_run_arn: "Arn", # required
|
341
351
|
# })
|
342
352
|
#
|
353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRun AWS API Documentation
|
354
|
+
#
|
343
355
|
# @overload delete_assessment_run(params = {})
|
344
356
|
# @param [Hash] params ({})
|
345
357
|
def delete_assessment_run(params = {}, options = {})
|
@@ -361,6 +373,8 @@ module Aws::Inspector
|
|
361
373
|
# assessment_target_arn: "Arn", # required
|
362
374
|
# })
|
363
375
|
#
|
376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTarget AWS API Documentation
|
377
|
+
#
|
364
378
|
# @overload delete_assessment_target(params = {})
|
365
379
|
# @param [Hash] params ({})
|
366
380
|
def delete_assessment_target(params = {}, options = {})
|
@@ -383,6 +397,8 @@ module Aws::Inspector
|
|
383
397
|
# assessment_template_arn: "Arn", # required
|
384
398
|
# })
|
385
399
|
#
|
400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplate AWS API Documentation
|
401
|
+
#
|
386
402
|
# @overload delete_assessment_template(params = {})
|
387
403
|
# @param [Hash] params ({})
|
388
404
|
def delete_assessment_template(params = {}, options = {})
|
@@ -439,6 +455,8 @@ module Aws::Inspector
|
|
439
455
|
# resp.failed_items["Arn"].failure_code #=> String, one of "INVALID_ARN", "DUPLICATE_ARN", "ITEM_DOES_NOT_EXIST", "ACCESS_DENIED", "LIMIT_EXCEEDED", "INTERNAL_ERROR"
|
440
456
|
# resp.failed_items["Arn"].retryable #=> Boolean
|
441
457
|
#
|
458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRuns AWS API Documentation
|
459
|
+
#
|
442
460
|
# @overload describe_assessment_runs(params = {})
|
443
461
|
# @param [Hash] params ({})
|
444
462
|
def describe_assessment_runs(params = {}, options = {})
|
@@ -476,6 +494,8 @@ module Aws::Inspector
|
|
476
494
|
# resp.failed_items["Arn"].failure_code #=> String, one of "INVALID_ARN", "DUPLICATE_ARN", "ITEM_DOES_NOT_EXIST", "ACCESS_DENIED", "LIMIT_EXCEEDED", "INTERNAL_ERROR"
|
477
495
|
# resp.failed_items["Arn"].retryable #=> Boolean
|
478
496
|
#
|
497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargets AWS API Documentation
|
498
|
+
#
|
479
499
|
# @overload describe_assessment_targets(params = {})
|
480
500
|
# @param [Hash] params ({})
|
481
501
|
def describe_assessment_targets(params = {}, options = {})
|
@@ -516,6 +536,8 @@ module Aws::Inspector
|
|
516
536
|
# resp.failed_items["Arn"].failure_code #=> String, one of "INVALID_ARN", "DUPLICATE_ARN", "ITEM_DOES_NOT_EXIST", "ACCESS_DENIED", "LIMIT_EXCEEDED", "INTERNAL_ERROR"
|
517
537
|
# resp.failed_items["Arn"].retryable #=> Boolean
|
518
538
|
#
|
539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplates AWS API Documentation
|
540
|
+
#
|
519
541
|
# @overload describe_assessment_templates(params = {})
|
520
542
|
# @param [Hash] params ({})
|
521
543
|
def describe_assessment_templates(params = {}, options = {})
|
@@ -538,6 +560,8 @@ module Aws::Inspector
|
|
538
560
|
# resp.valid #=> Boolean
|
539
561
|
# resp.registered_at #=> Time
|
540
562
|
#
|
563
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRole AWS API Documentation
|
564
|
+
#
|
541
565
|
# @overload describe_cross_account_access_role(params = {})
|
542
566
|
# @param [Hash] params ({})
|
543
567
|
def describe_cross_account_access_role(params = {}, options = {})
|
@@ -603,6 +627,8 @@ module Aws::Inspector
|
|
603
627
|
# resp.failed_items["Arn"].failure_code #=> String, one of "INVALID_ARN", "DUPLICATE_ARN", "ITEM_DOES_NOT_EXIST", "ACCESS_DENIED", "LIMIT_EXCEEDED", "INTERNAL_ERROR"
|
604
628
|
# resp.failed_items["Arn"].retryable #=> Boolean
|
605
629
|
#
|
630
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindings AWS API Documentation
|
631
|
+
#
|
606
632
|
# @overload describe_findings(params = {})
|
607
633
|
# @param [Hash] params ({})
|
608
634
|
def describe_findings(params = {}, options = {})
|
@@ -639,6 +665,8 @@ module Aws::Inspector
|
|
639
665
|
# resp.failed_items["Arn"].failure_code #=> String, one of "INVALID_ARN", "DUPLICATE_ARN", "ITEM_DOES_NOT_EXIST", "ACCESS_DENIED", "LIMIT_EXCEEDED", "INTERNAL_ERROR"
|
640
666
|
# resp.failed_items["Arn"].retryable #=> Boolean
|
641
667
|
#
|
668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroups AWS API Documentation
|
669
|
+
#
|
642
670
|
# @overload describe_resource_groups(params = {})
|
643
671
|
# @param [Hash] params ({})
|
644
672
|
def describe_resource_groups(params = {}, options = {})
|
@@ -680,6 +708,8 @@ module Aws::Inspector
|
|
680
708
|
# resp.failed_items["Arn"].failure_code #=> String, one of "INVALID_ARN", "DUPLICATE_ARN", "ITEM_DOES_NOT_EXIST", "ACCESS_DENIED", "LIMIT_EXCEEDED", "INTERNAL_ERROR"
|
681
709
|
# resp.failed_items["Arn"].retryable #=> Boolean
|
682
710
|
#
|
711
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackages AWS API Documentation
|
712
|
+
#
|
683
713
|
# @overload describe_rules_packages(params = {})
|
684
714
|
# @param [Hash] params ({})
|
685
715
|
def describe_rules_packages(params = {}, options = {})
|
@@ -711,6 +741,8 @@ module Aws::Inspector
|
|
711
741
|
# resp.telemetry_metadata[0].count #=> Integer
|
712
742
|
# resp.telemetry_metadata[0].data_size #=> Integer
|
713
743
|
#
|
744
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadata AWS API Documentation
|
745
|
+
#
|
714
746
|
# @overload get_telemetry_metadata(params = {})
|
715
747
|
# @param [Hash] params ({})
|
716
748
|
def get_telemetry_metadata(params = {}, options = {})
|
@@ -777,6 +809,8 @@ module Aws::Inspector
|
|
777
809
|
# resp.assessment_run_agents[0].telemetry_metadata[0].data_size #=> Integer
|
778
810
|
# resp.next_token #=> String
|
779
811
|
#
|
812
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgents AWS API Documentation
|
813
|
+
#
|
780
814
|
# @overload list_assessment_run_agents(params = {})
|
781
815
|
# @param [Hash] params ({})
|
782
816
|
def list_assessment_run_agents(params = {}, options = {})
|
@@ -851,6 +885,8 @@ module Aws::Inspector
|
|
851
885
|
# resp.assessment_run_arns[0] #=> String
|
852
886
|
# resp.next_token #=> String
|
853
887
|
#
|
888
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRuns AWS API Documentation
|
889
|
+
#
|
854
890
|
# @overload list_assessment_runs(params = {})
|
855
891
|
# @param [Hash] params ({})
|
856
892
|
def list_assessment_runs(params = {}, options = {})
|
@@ -907,6 +943,8 @@ module Aws::Inspector
|
|
907
943
|
# resp.assessment_target_arns[0] #=> String
|
908
944
|
# resp.next_token #=> String
|
909
945
|
#
|
946
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargets AWS API Documentation
|
947
|
+
#
|
910
948
|
# @overload list_assessment_targets(params = {})
|
911
949
|
# @param [Hash] params ({})
|
912
950
|
def list_assessment_targets(params = {}, options = {})
|
@@ -968,6 +1006,8 @@ module Aws::Inspector
|
|
968
1006
|
# resp.assessment_template_arns[0] #=> String
|
969
1007
|
# resp.next_token #=> String
|
970
1008
|
#
|
1009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplates AWS API Documentation
|
1010
|
+
#
|
971
1011
|
# @overload list_assessment_templates(params = {})
|
972
1012
|
# @param [Hash] params ({})
|
973
1013
|
def list_assessment_templates(params = {}, options = {})
|
@@ -1018,6 +1058,8 @@ module Aws::Inspector
|
|
1018
1058
|
# resp.subscriptions[0].event_subscriptions[0].subscribed_at #=> Time
|
1019
1059
|
# resp.next_token #=> String
|
1020
1060
|
#
|
1061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptions AWS API Documentation
|
1062
|
+
#
|
1021
1063
|
# @overload list_event_subscriptions(params = {})
|
1022
1064
|
# @param [Hash] params ({})
|
1023
1065
|
def list_event_subscriptions(params = {}, options = {})
|
@@ -1094,6 +1136,8 @@ module Aws::Inspector
|
|
1094
1136
|
# resp.finding_arns[0] #=> String
|
1095
1137
|
# resp.next_token #=> String
|
1096
1138
|
#
|
1139
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindings AWS API Documentation
|
1140
|
+
#
|
1097
1141
|
# @overload list_findings(params = {})
|
1098
1142
|
# @param [Hash] params ({})
|
1099
1143
|
def list_findings(params = {}, options = {})
|
@@ -1133,6 +1177,8 @@ module Aws::Inspector
|
|
1133
1177
|
# resp.rules_package_arns[0] #=> String
|
1134
1178
|
# resp.next_token #=> String
|
1135
1179
|
#
|
1180
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackages AWS API Documentation
|
1181
|
+
#
|
1136
1182
|
# @overload list_rules_packages(params = {})
|
1137
1183
|
# @param [Hash] params ({})
|
1138
1184
|
def list_rules_packages(params = {}, options = {})
|
@@ -1162,6 +1208,8 @@ module Aws::Inspector
|
|
1162
1208
|
# resp.tags[0].key #=> String
|
1163
1209
|
# resp.tags[0].value #=> String
|
1164
1210
|
#
|
1211
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResource AWS API Documentation
|
1212
|
+
#
|
1165
1213
|
# @overload list_tags_for_resource(params = {})
|
1166
1214
|
# @param [Hash] params ({})
|
1167
1215
|
def list_tags_for_resource(params = {}, options = {})
|
@@ -1207,6 +1255,8 @@ module Aws::Inspector
|
|
1207
1255
|
# resp.agent_previews[0].auto_scaling_group #=> String
|
1208
1256
|
# resp.next_token #=> String
|
1209
1257
|
#
|
1258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgents AWS API Documentation
|
1259
|
+
#
|
1210
1260
|
# @overload preview_agents(params = {})
|
1211
1261
|
# @param [Hash] params ({})
|
1212
1262
|
def preview_agents(params = {}, options = {})
|
@@ -1231,6 +1281,8 @@ module Aws::Inspector
|
|
1231
1281
|
# role_arn: "Arn", # required
|
1232
1282
|
# })
|
1233
1283
|
#
|
1284
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRole AWS API Documentation
|
1285
|
+
#
|
1234
1286
|
# @overload register_cross_account_access_role(params = {})
|
1235
1287
|
# @param [Hash] params ({})
|
1236
1288
|
def register_cross_account_access_role(params = {}, options = {})
|
@@ -1267,6 +1319,8 @@ module Aws::Inspector
|
|
1267
1319
|
# resp.failed_items["Arn"].failure_code #=> String, one of "INVALID_ARN", "DUPLICATE_ARN", "ITEM_DOES_NOT_EXIST", "ACCESS_DENIED", "LIMIT_EXCEEDED", "INTERNAL_ERROR"
|
1268
1320
|
# resp.failed_items["Arn"].retryable #=> Boolean
|
1269
1321
|
#
|
1322
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindings AWS API Documentation
|
1323
|
+
#
|
1270
1324
|
# @overload remove_attributes_from_findings(params = {})
|
1271
1325
|
# @param [Hash] params ({})
|
1272
1326
|
def remove_attributes_from_findings(params = {}, options = {})
|
@@ -1298,6 +1352,8 @@ module Aws::Inspector
|
|
1298
1352
|
# ],
|
1299
1353
|
# })
|
1300
1354
|
#
|
1355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResource AWS API Documentation
|
1356
|
+
#
|
1301
1357
|
# @overload set_tags_for_resource(params = {})
|
1302
1358
|
# @param [Hash] params ({})
|
1303
1359
|
def set_tags_for_resource(params = {}, options = {})
|
@@ -1333,6 +1389,8 @@ module Aws::Inspector
|
|
1333
1389
|
#
|
1334
1390
|
# resp.assessment_run_arn #=> String
|
1335
1391
|
#
|
1392
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRun AWS API Documentation
|
1393
|
+
#
|
1336
1394
|
# @overload start_assessment_run(params = {})
|
1337
1395
|
# @param [Hash] params ({})
|
1338
1396
|
def start_assessment_run(params = {}, options = {})
|
@@ -1354,6 +1412,8 @@ module Aws::Inspector
|
|
1354
1412
|
# assessment_run_arn: "Arn", # required
|
1355
1413
|
# })
|
1356
1414
|
#
|
1415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRun AWS API Documentation
|
1416
|
+
#
|
1357
1417
|
# @overload stop_assessment_run(params = {})
|
1358
1418
|
# @param [Hash] params ({})
|
1359
1419
|
def stop_assessment_run(params = {}, options = {})
|
@@ -1384,6 +1444,8 @@ module Aws::Inspector
|
|
1384
1444
|
# topic_arn: "Arn", # required
|
1385
1445
|
# })
|
1386
1446
|
#
|
1447
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEvent AWS API Documentation
|
1448
|
+
#
|
1387
1449
|
# @overload subscribe_to_event(params = {})
|
1388
1450
|
# @param [Hash] params ({})
|
1389
1451
|
def subscribe_to_event(params = {}, options = {})
|
@@ -1414,6 +1476,8 @@ module Aws::Inspector
|
|
1414
1476
|
# topic_arn: "Arn", # required
|
1415
1477
|
# })
|
1416
1478
|
#
|
1479
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEvent AWS API Documentation
|
1480
|
+
#
|
1417
1481
|
# @overload unsubscribe_from_event(params = {})
|
1418
1482
|
# @param [Hash] params ({})
|
1419
1483
|
def unsubscribe_from_event(params = {}, options = {})
|
@@ -1444,6 +1508,8 @@ module Aws::Inspector
|
|
1444
1508
|
# resource_group_arn: "Arn", # required
|
1445
1509
|
# })
|
1446
1510
|
#
|
1511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTarget AWS API Documentation
|
1512
|
+
#
|
1447
1513
|
# @overload update_assessment_target(params = {})
|
1448
1514
|
# @param [Hash] params ({})
|
1449
1515
|
def update_assessment_target(params = {}, options = {})
|
@@ -1464,7 +1530,7 @@ module Aws::Inspector
|
|
1464
1530
|
params: params,
|
1465
1531
|
config: config)
|
1466
1532
|
context[:gem_name] = 'aws-sdk-inspector'
|
1467
|
-
context[:gem_version] = '1.0.0.
|
1533
|
+
context[:gem_version] = '1.0.0.rc3'
|
1468
1534
|
Seahorse::Client::Request.new(handlers, context)
|
1469
1535
|
end
|
1470
1536
|
|
@@ -31,6 +31,8 @@ module Aws::Inspector
|
|
31
31
|
# findings.
|
32
32
|
# @return [Array<Types::Attribute>]
|
33
33
|
#
|
34
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindingsRequest AWS API Documentation
|
35
|
+
#
|
34
36
|
class AddAttributesToFindingsRequest < Struct.new(
|
35
37
|
:finding_arns,
|
36
38
|
:attributes)
|
@@ -42,6 +44,8 @@ module Aws::Inspector
|
|
42
44
|
# provided for each failed item.
|
43
45
|
# @return [Hash<String,Types::FailedItemDetails>]
|
44
46
|
#
|
47
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindingsResponse AWS API Documentation
|
48
|
+
#
|
45
49
|
class AddAttributesToFindingsResponse < Struct.new(
|
46
50
|
:failed_items)
|
47
51
|
include Aws::Structure
|
@@ -60,6 +64,8 @@ module Aws::Inspector
|
|
60
64
|
# The ARN of the assessment run that has already been started.
|
61
65
|
# @return [String]
|
62
66
|
#
|
67
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AgentAlreadyRunningAssessment AWS API Documentation
|
68
|
+
#
|
63
69
|
class AgentAlreadyRunningAssessment < Struct.new(
|
64
70
|
:agent_id,
|
65
71
|
:assessment_run_arn)
|
@@ -88,6 +94,8 @@ module Aws::Inspector
|
|
88
94
|
# and **UNKNOWN**.
|
89
95
|
# @return [Array<String>]
|
90
96
|
#
|
97
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AgentFilter AWS API Documentation
|
98
|
+
#
|
91
99
|
class AgentFilter < Struct.new(
|
92
100
|
:agent_healths,
|
93
101
|
:agent_health_codes)
|
@@ -105,6 +113,8 @@ module Aws::Inspector
|
|
105
113
|
# installed.
|
106
114
|
# @return [String]
|
107
115
|
#
|
116
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AgentPreview AWS API Documentation
|
117
|
+
#
|
108
118
|
class AgentPreview < Struct.new(
|
109
119
|
:agent_id,
|
110
120
|
:auto_scaling_group)
|
@@ -178,6 +188,8 @@ module Aws::Inspector
|
|
178
188
|
# once.
|
179
189
|
# @return [Array<Types::AssessmentRunNotification>]
|
180
190
|
#
|
191
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRun AWS API Documentation
|
192
|
+
#
|
181
193
|
class AssessmentRun < Struct.new(
|
182
194
|
:arn,
|
183
195
|
:name,
|
@@ -229,6 +241,8 @@ module Aws::Inspector
|
|
229
241
|
# the agent.
|
230
242
|
# @return [Array<Types::TelemetryMetadata>]
|
231
243
|
#
|
244
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunAgent AWS API Documentation
|
245
|
+
#
|
232
246
|
class AssessmentRunAgent < Struct.new(
|
233
247
|
:agent_id,
|
234
248
|
:assessment_run_arn,
|
@@ -313,6 +327,8 @@ module Aws::Inspector
|
|
313
327
|
# AssessmentRun data type.
|
314
328
|
# @return [Types::TimestampRange]
|
315
329
|
#
|
330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunFilter AWS API Documentation
|
331
|
+
#
|
316
332
|
class AssessmentRunFilter < Struct.new(
|
317
333
|
:name_pattern,
|
318
334
|
:states,
|
@@ -350,6 +366,8 @@ module Aws::Inspector
|
|
350
366
|
# The status code of the SNS notification.
|
351
367
|
# @return [String]
|
352
368
|
#
|
369
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunNotification AWS API Documentation
|
370
|
+
#
|
353
371
|
class AssessmentRunNotification < Struct.new(
|
354
372
|
:date,
|
355
373
|
:event,
|
@@ -370,6 +388,8 @@ module Aws::Inspector
|
|
370
388
|
# The assessment run state.
|
371
389
|
# @return [String]
|
372
390
|
#
|
391
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentRunStateChange AWS API Documentation
|
392
|
+
#
|
373
393
|
class AssessmentRunStateChange < Struct.new(
|
374
394
|
:state_changed_at,
|
375
395
|
:state)
|
@@ -401,6 +421,8 @@ module Aws::Inspector
|
|
401
421
|
# The time at which UpdateAssessmentTarget is called.
|
402
422
|
# @return [Time]
|
403
423
|
#
|
424
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTarget AWS API Documentation
|
425
|
+
#
|
404
426
|
class AssessmentTarget < Struct.new(
|
405
427
|
:arn,
|
406
428
|
:name,
|
@@ -426,6 +448,8 @@ module Aws::Inspector
|
|
426
448
|
# AssessmentTarget data type.
|
427
449
|
# @return [String]
|
428
450
|
#
|
451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTargetFilter AWS API Documentation
|
452
|
+
#
|
429
453
|
class AssessmentTargetFilter < Struct.new(
|
430
454
|
:assessment_target_name_pattern)
|
431
455
|
include Aws::Structure
|
@@ -467,6 +491,8 @@ module Aws::Inspector
|
|
467
491
|
# The time at which the assessment template is created.
|
468
492
|
# @return [Time]
|
469
493
|
#
|
494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTemplate AWS API Documentation
|
495
|
+
#
|
470
496
|
class AssessmentTemplate < Struct.new(
|
471
497
|
:arn,
|
472
498
|
:name,
|
@@ -513,6 +539,8 @@ module Aws::Inspector
|
|
513
539
|
# type.
|
514
540
|
# @return [Array<String>]
|
515
541
|
#
|
542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssessmentTemplateFilter AWS API Documentation
|
543
|
+
#
|
516
544
|
class AssessmentTemplateFilter < Struct.new(
|
517
545
|
:name_pattern,
|
518
546
|
:duration_range,
|
@@ -551,6 +579,8 @@ module Aws::Inspector
|
|
551
579
|
# generated.
|
552
580
|
# @return [Array<String>]
|
553
581
|
#
|
582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssetAttributes AWS API Documentation
|
583
|
+
#
|
554
584
|
class AssetAttributes < Struct.new(
|
555
585
|
:schema_version,
|
556
586
|
:agent_id,
|
@@ -580,6 +610,8 @@ module Aws::Inspector
|
|
580
610
|
# The value assigned to the attribute key.
|
581
611
|
# @return [String]
|
582
612
|
#
|
613
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Attribute AWS API Documentation
|
614
|
+
#
|
583
615
|
class Attribute < Struct.new(
|
584
616
|
:key,
|
585
617
|
:value)
|
@@ -604,6 +636,8 @@ module Aws::Inspector
|
|
604
636
|
# assessment target.
|
605
637
|
# @return [String]
|
606
638
|
#
|
639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTargetRequest AWS API Documentation
|
640
|
+
#
|
607
641
|
class CreateAssessmentTargetRequest < Struct.new(
|
608
642
|
:assessment_target_name,
|
609
643
|
:resource_group_arn)
|
@@ -614,6 +648,8 @@ module Aws::Inspector
|
|
614
648
|
# The ARN that specifies the assessment target that is created.
|
615
649
|
# @return [String]
|
616
650
|
#
|
651
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTargetResponse AWS API Documentation
|
652
|
+
#
|
617
653
|
class CreateAssessmentTargetResponse < Struct.new(
|
618
654
|
:assessment_target_arn)
|
619
655
|
include Aws::Structure
|
@@ -663,6 +699,8 @@ module Aws::Inspector
|
|
663
699
|
# template.
|
664
700
|
# @return [Array<Types::Attribute>]
|
665
701
|
#
|
702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplateRequest AWS API Documentation
|
703
|
+
#
|
666
704
|
class CreateAssessmentTemplateRequest < Struct.new(
|
667
705
|
:assessment_target_arn,
|
668
706
|
:assessment_template_name,
|
@@ -676,6 +714,8 @@ module Aws::Inspector
|
|
676
714
|
# The ARN that specifies the assessment template that is created.
|
677
715
|
# @return [String]
|
678
716
|
#
|
717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplateResponse AWS API Documentation
|
718
|
+
#
|
679
719
|
class CreateAssessmentTemplateResponse < Struct.new(
|
680
720
|
:assessment_template_arn)
|
681
721
|
include Aws::Structure
|
@@ -701,6 +741,8 @@ module Aws::Inspector
|
|
701
741
|
# example,'\[\\\{"key":"Name","values":\["TestEC2Instance"\]\\}\]'.
|
702
742
|
# @return [Array<Types::ResourceGroupTag>]
|
703
743
|
#
|
744
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroupRequest AWS API Documentation
|
745
|
+
#
|
704
746
|
class CreateResourceGroupRequest < Struct.new(
|
705
747
|
:resource_group_tags)
|
706
748
|
include Aws::Structure
|
@@ -710,6 +752,8 @@ module Aws::Inspector
|
|
710
752
|
# The ARN that specifies the resource group that is created.
|
711
753
|
# @return [String]
|
712
754
|
#
|
755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroupResponse AWS API Documentation
|
756
|
+
#
|
713
757
|
class CreateResourceGroupResponse < Struct.new(
|
714
758
|
:resource_group_arn)
|
715
759
|
include Aws::Structure
|
@@ -726,6 +770,8 @@ module Aws::Inspector
|
|
726
770
|
# The ARN that specifies the assessment run that you want to delete.
|
727
771
|
# @return [String]
|
728
772
|
#
|
773
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRunRequest AWS API Documentation
|
774
|
+
#
|
729
775
|
class DeleteAssessmentRunRequest < Struct.new(
|
730
776
|
:assessment_run_arn)
|
731
777
|
include Aws::Structure
|
@@ -743,6 +789,8 @@ module Aws::Inspector
|
|
743
789
|
# delete.
|
744
790
|
# @return [String]
|
745
791
|
#
|
792
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTargetRequest AWS API Documentation
|
793
|
+
#
|
746
794
|
class DeleteAssessmentTargetRequest < Struct.new(
|
747
795
|
:assessment_target_arn)
|
748
796
|
include Aws::Structure
|
@@ -760,6 +808,8 @@ module Aws::Inspector
|
|
760
808
|
# delete.
|
761
809
|
# @return [String]
|
762
810
|
#
|
811
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplateRequest AWS API Documentation
|
812
|
+
#
|
763
813
|
class DeleteAssessmentTemplateRequest < Struct.new(
|
764
814
|
:assessment_template_arn)
|
765
815
|
include Aws::Structure
|
@@ -776,6 +826,8 @@ module Aws::Inspector
|
|
776
826
|
# The ARN that specifies the assessment run that you want to describe.
|
777
827
|
# @return [Array<String>]
|
778
828
|
#
|
829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRunsRequest AWS API Documentation
|
830
|
+
#
|
779
831
|
class DescribeAssessmentRunsRequest < Struct.new(
|
780
832
|
:assessment_run_arns)
|
781
833
|
include Aws::Structure
|
@@ -790,6 +842,8 @@ module Aws::Inspector
|
|
790
842
|
# provided for each failed item.
|
791
843
|
# @return [Hash<String,Types::FailedItemDetails>]
|
792
844
|
#
|
845
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRunsResponse AWS API Documentation
|
846
|
+
#
|
793
847
|
class DescribeAssessmentRunsResponse < Struct.new(
|
794
848
|
:assessment_runs,
|
795
849
|
:failed_items)
|
@@ -808,6 +862,8 @@ module Aws::Inspector
|
|
808
862
|
# describe.
|
809
863
|
# @return [Array<String>]
|
810
864
|
#
|
865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargetsRequest AWS API Documentation
|
866
|
+
#
|
811
867
|
class DescribeAssessmentTargetsRequest < Struct.new(
|
812
868
|
:assessment_target_arns)
|
813
869
|
include Aws::Structure
|
@@ -822,6 +878,8 @@ module Aws::Inspector
|
|
822
878
|
# provided for each failed item.
|
823
879
|
# @return [Hash<String,Types::FailedItemDetails>]
|
824
880
|
#
|
881
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargetsResponse AWS API Documentation
|
882
|
+
#
|
825
883
|
class DescribeAssessmentTargetsResponse < Struct.new(
|
826
884
|
:assessment_targets,
|
827
885
|
:failed_items)
|
@@ -838,6 +896,8 @@ module Aws::Inspector
|
|
838
896
|
# @!attribute [rw] assessment_template_arns
|
839
897
|
# @return [Array<String>]
|
840
898
|
#
|
899
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplatesRequest AWS API Documentation
|
900
|
+
#
|
841
901
|
class DescribeAssessmentTemplatesRequest < Struct.new(
|
842
902
|
:assessment_template_arns)
|
843
903
|
include Aws::Structure
|
@@ -852,6 +912,8 @@ module Aws::Inspector
|
|
852
912
|
# is provided for each failed item.
|
853
913
|
# @return [Hash<String,Types::FailedItemDetails>]
|
854
914
|
#
|
915
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplatesResponse AWS API Documentation
|
916
|
+
#
|
855
917
|
class DescribeAssessmentTemplatesResponse < Struct.new(
|
856
918
|
:assessment_templates,
|
857
919
|
:failed_items)
|
@@ -873,6 +935,8 @@ module Aws::Inspector
|
|
873
935
|
# The date when the cross-account access role was registered.
|
874
936
|
# @return [Time]
|
875
937
|
#
|
938
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRoleResponse AWS API Documentation
|
939
|
+
#
|
876
940
|
class DescribeCrossAccountAccessRoleResponse < Struct.new(
|
877
941
|
:role_arn,
|
878
942
|
:valid,
|
@@ -898,6 +962,8 @@ module Aws::Inspector
|
|
898
962
|
# finding.
|
899
963
|
# @return [String]
|
900
964
|
#
|
965
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindingsRequest AWS API Documentation
|
966
|
+
#
|
901
967
|
class DescribeFindingsRequest < Struct.new(
|
902
968
|
:finding_arns,
|
903
969
|
:locale)
|
@@ -913,6 +979,8 @@ module Aws::Inspector
|
|
913
979
|
# for each failed item.
|
914
980
|
# @return [Hash<String,Types::FailedItemDetails>]
|
915
981
|
#
|
982
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindingsResponse AWS API Documentation
|
983
|
+
#
|
916
984
|
class DescribeFindingsResponse < Struct.new(
|
917
985
|
:findings,
|
918
986
|
:failed_items)
|
@@ -930,6 +998,8 @@ module Aws::Inspector
|
|
930
998
|
# The ARN that specifies the resource group that you want to describe.
|
931
999
|
# @return [Array<String>]
|
932
1000
|
#
|
1001
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroupsRequest AWS API Documentation
|
1002
|
+
#
|
933
1003
|
class DescribeResourceGroupsRequest < Struct.new(
|
934
1004
|
:resource_group_arns)
|
935
1005
|
include Aws::Structure
|
@@ -944,6 +1014,8 @@ module Aws::Inspector
|
|
944
1014
|
# provided for each failed item.
|
945
1015
|
# @return [Hash<String,Types::FailedItemDetails>]
|
946
1016
|
#
|
1017
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroupsResponse AWS API Documentation
|
1018
|
+
#
|
947
1019
|
class DescribeResourceGroupsResponse < Struct.new(
|
948
1020
|
:resource_groups,
|
949
1021
|
:failed_items)
|
@@ -967,6 +1039,8 @@ module Aws::Inspector
|
|
967
1039
|
# into.
|
968
1040
|
# @return [String]
|
969
1041
|
#
|
1042
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackagesRequest AWS API Documentation
|
1043
|
+
#
|
970
1044
|
class DescribeRulesPackagesRequest < Struct.new(
|
971
1045
|
:rules_package_arns,
|
972
1046
|
:locale)
|
@@ -982,6 +1056,8 @@ module Aws::Inspector
|
|
982
1056
|
# provided for each failed item.
|
983
1057
|
# @return [Hash<String,Types::FailedItemDetails>]
|
984
1058
|
#
|
1059
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackagesResponse AWS API Documentation
|
1060
|
+
#
|
985
1061
|
class DescribeRulesPackagesResponse < Struct.new(
|
986
1062
|
:rules_packages,
|
987
1063
|
:failed_items)
|
@@ -1007,6 +1083,8 @@ module Aws::Inspector
|
|
1007
1083
|
# to 604800 seconds (1 week).
|
1008
1084
|
# @return [Integer]
|
1009
1085
|
#
|
1086
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DurationRange AWS API Documentation
|
1087
|
+
#
|
1010
1088
|
class DurationRange < Struct.new(
|
1011
1089
|
:min_seconds,
|
1012
1090
|
:max_seconds)
|
@@ -1024,6 +1102,8 @@ module Aws::Inspector
|
|
1024
1102
|
# The time at which SubscribeToEvent is called.
|
1025
1103
|
# @return [Time]
|
1026
1104
|
#
|
1105
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/EventSubscription AWS API Documentation
|
1106
|
+
#
|
1027
1107
|
class EventSubscription < Struct.new(
|
1028
1108
|
:event,
|
1029
1109
|
:subscribed_at)
|
@@ -1041,6 +1121,8 @@ module Aws::Inspector
|
|
1041
1121
|
# for a specified resource.
|
1042
1122
|
# @return [Boolean]
|
1043
1123
|
#
|
1124
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/FailedItemDetails AWS API Documentation
|
1125
|
+
#
|
1044
1126
|
class FailedItemDetails < Struct.new(
|
1045
1127
|
:failure_code,
|
1046
1128
|
:retryable)
|
@@ -1124,6 +1206,8 @@ module Aws::Inspector
|
|
1124
1206
|
# The time when AddAttributesToFindings is called.
|
1125
1207
|
# @return [Time]
|
1126
1208
|
#
|
1209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Finding AWS API Documentation
|
1210
|
+
#
|
1127
1211
|
class Finding < Struct.new(
|
1128
1212
|
:arn,
|
1129
1213
|
:schema_version,
|
@@ -1222,6 +1306,8 @@ module Aws::Inspector
|
|
1222
1306
|
# The time range during which the finding is generated.
|
1223
1307
|
# @return [Types::TimestampRange]
|
1224
1308
|
#
|
1309
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/FindingFilter AWS API Documentation
|
1310
|
+
#
|
1225
1311
|
class FindingFilter < Struct.new(
|
1226
1312
|
:agent_ids,
|
1227
1313
|
:auto_scaling_groups,
|
@@ -1246,6 +1332,8 @@ module Aws::Inspector
|
|
1246
1332
|
# data that you want to obtain.
|
1247
1333
|
# @return [String]
|
1248
1334
|
#
|
1335
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadataRequest AWS API Documentation
|
1336
|
+
#
|
1249
1337
|
class GetTelemetryMetadataRequest < Struct.new(
|
1250
1338
|
:assessment_run_arn)
|
1251
1339
|
include Aws::Structure
|
@@ -1255,6 +1343,8 @@ module Aws::Inspector
|
|
1255
1343
|
# Telemetry details.
|
1256
1344
|
# @return [Array<Types::TelemetryMetadata>]
|
1257
1345
|
#
|
1346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadataResponse AWS API Documentation
|
1347
|
+
#
|
1258
1348
|
class GetTelemetryMetadataResponse < Struct.new(
|
1259
1349
|
:telemetry_metadata)
|
1260
1350
|
include Aws::Structure
|
@@ -1274,6 +1364,8 @@ module Aws::Inspector
|
|
1274
1364
|
# The ARN of the rules package that is used to generate the finding.
|
1275
1365
|
# @return [String]
|
1276
1366
|
#
|
1367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/InspectorServiceAttributes AWS API Documentation
|
1368
|
+
#
|
1277
1369
|
class InspectorServiceAttributes < Struct.new(
|
1278
1370
|
:schema_version,
|
1279
1371
|
:assessment_run_arn,
|
@@ -1322,6 +1414,8 @@ module Aws::Inspector
|
|
1322
1414
|
# value is 500.
|
1323
1415
|
# @return [Integer]
|
1324
1416
|
#
|
1417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgentsRequest AWS API Documentation
|
1418
|
+
#
|
1325
1419
|
class ListAssessmentRunAgentsRequest < Struct.new(
|
1326
1420
|
:assessment_run_arn,
|
1327
1421
|
:filter,
|
@@ -1342,6 +1436,8 @@ module Aws::Inspector
|
|
1342
1436
|
# set to null.
|
1343
1437
|
# @return [String]
|
1344
1438
|
#
|
1439
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgentsResponse AWS API Documentation
|
1440
|
+
#
|
1345
1441
|
class ListAssessmentRunAgentsResponse < Struct.new(
|
1346
1442
|
:assessment_run_agents,
|
1347
1443
|
:next_token)
|
@@ -1406,6 +1502,8 @@ module Aws::Inspector
|
|
1406
1502
|
# value is 500.
|
1407
1503
|
# @return [Integer]
|
1408
1504
|
#
|
1505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunsRequest AWS API Documentation
|
1506
|
+
#
|
1409
1507
|
class ListAssessmentRunsRequest < Struct.new(
|
1410
1508
|
:assessment_template_arns,
|
1411
1509
|
:filter,
|
@@ -1427,6 +1525,8 @@ module Aws::Inspector
|
|
1427
1525
|
# set to null.
|
1428
1526
|
# @return [String]
|
1429
1527
|
#
|
1528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunsResponse AWS API Documentation
|
1529
|
+
#
|
1430
1530
|
class ListAssessmentRunsResponse < Struct.new(
|
1431
1531
|
:assessment_run_arns,
|
1432
1532
|
:next_token)
|
@@ -1467,6 +1567,8 @@ module Aws::Inspector
|
|
1467
1567
|
# is 500.
|
1468
1568
|
# @return [Integer]
|
1469
1569
|
#
|
1570
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargetsRequest AWS API Documentation
|
1571
|
+
#
|
1470
1572
|
class ListAssessmentTargetsRequest < Struct.new(
|
1471
1573
|
:filter,
|
1472
1574
|
:next_token,
|
@@ -1487,6 +1589,8 @@ module Aws::Inspector
|
|
1487
1589
|
# set to null.
|
1488
1590
|
# @return [String]
|
1489
1591
|
#
|
1592
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargetsResponse AWS API Documentation
|
1593
|
+
#
|
1490
1594
|
class ListAssessmentTargetsResponse < Struct.new(
|
1491
1595
|
:assessment_target_arns,
|
1492
1596
|
:next_token)
|
@@ -1538,6 +1642,8 @@ module Aws::Inspector
|
|
1538
1642
|
# is 500.
|
1539
1643
|
# @return [Integer]
|
1540
1644
|
#
|
1645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplatesRequest AWS API Documentation
|
1646
|
+
#
|
1541
1647
|
class ListAssessmentTemplatesRequest < Struct.new(
|
1542
1648
|
:assessment_target_arns,
|
1543
1649
|
:filter,
|
@@ -1559,6 +1665,8 @@ module Aws::Inspector
|
|
1559
1665
|
# set to null.
|
1560
1666
|
# @return [String]
|
1561
1667
|
#
|
1668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplatesResponse AWS API Documentation
|
1669
|
+
#
|
1562
1670
|
class ListAssessmentTemplatesResponse < Struct.new(
|
1563
1671
|
:assessment_template_arns,
|
1564
1672
|
:next_token)
|
@@ -1593,6 +1701,8 @@ module Aws::Inspector
|
|
1593
1701
|
# is 500.
|
1594
1702
|
# @return [Integer]
|
1595
1703
|
#
|
1704
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptionsRequest AWS API Documentation
|
1705
|
+
#
|
1596
1706
|
class ListEventSubscriptionsRequest < Struct.new(
|
1597
1707
|
:resource_arn,
|
1598
1708
|
:next_token,
|
@@ -1612,6 +1722,8 @@ module Aws::Inspector
|
|
1612
1722
|
# set to null.
|
1613
1723
|
# @return [String]
|
1614
1724
|
#
|
1725
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptionsResponse AWS API Documentation
|
1726
|
+
#
|
1615
1727
|
class ListEventSubscriptionsResponse < Struct.new(
|
1616
1728
|
:subscriptions,
|
1617
1729
|
:next_token)
|
@@ -1678,6 +1790,8 @@ module Aws::Inspector
|
|
1678
1790
|
# is 500.
|
1679
1791
|
# @return [Integer]
|
1680
1792
|
#
|
1793
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindingsRequest AWS API Documentation
|
1794
|
+
#
|
1681
1795
|
class ListFindingsRequest < Struct.new(
|
1682
1796
|
:assessment_run_arns,
|
1683
1797
|
:filter,
|
@@ -1698,6 +1812,8 @@ module Aws::Inspector
|
|
1698
1812
|
# set to null.
|
1699
1813
|
# @return [String]
|
1700
1814
|
#
|
1815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindingsResponse AWS API Documentation
|
1816
|
+
#
|
1701
1817
|
class ListFindingsResponse < Struct.new(
|
1702
1818
|
:finding_arns,
|
1703
1819
|
:next_token)
|
@@ -1726,6 +1842,8 @@ module Aws::Inspector
|
|
1726
1842
|
# is 500.
|
1727
1843
|
# @return [Integer]
|
1728
1844
|
#
|
1845
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackagesRequest AWS API Documentation
|
1846
|
+
#
|
1729
1847
|
class ListRulesPackagesRequest < Struct.new(
|
1730
1848
|
:next_token,
|
1731
1849
|
:max_results)
|
@@ -1745,6 +1863,8 @@ module Aws::Inspector
|
|
1745
1863
|
# set to null.
|
1746
1864
|
# @return [String]
|
1747
1865
|
#
|
1866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackagesResponse AWS API Documentation
|
1867
|
+
#
|
1748
1868
|
class ListRulesPackagesResponse < Struct.new(
|
1749
1869
|
:rules_package_arns,
|
1750
1870
|
:next_token)
|
@@ -1763,6 +1883,8 @@ module Aws::Inspector
|
|
1763
1883
|
# to list.
|
1764
1884
|
# @return [String]
|
1765
1885
|
#
|
1886
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResourceRequest AWS API Documentation
|
1887
|
+
#
|
1766
1888
|
class ListTagsForResourceRequest < Struct.new(
|
1767
1889
|
:resource_arn)
|
1768
1890
|
include Aws::Structure
|
@@ -1772,6 +1894,8 @@ module Aws::Inspector
|
|
1772
1894
|
# A collection of key and value pairs.
|
1773
1895
|
# @return [Array<Types::Tag>]
|
1774
1896
|
#
|
1897
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResourceResponse AWS API Documentation
|
1898
|
+
#
|
1775
1899
|
class ListTagsForResourceResponse < Struct.new(
|
1776
1900
|
:tags)
|
1777
1901
|
include Aws::Structure
|
@@ -1804,6 +1928,8 @@ module Aws::Inspector
|
|
1804
1928
|
# is 500.
|
1805
1929
|
# @return [Integer]
|
1806
1930
|
#
|
1931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgentsRequest AWS API Documentation
|
1932
|
+
#
|
1807
1933
|
class PreviewAgentsRequest < Struct.new(
|
1808
1934
|
:preview_agents_arn,
|
1809
1935
|
:next_token,
|
@@ -1823,6 +1949,8 @@ module Aws::Inspector
|
|
1823
1949
|
# set to null.
|
1824
1950
|
# @return [String]
|
1825
1951
|
#
|
1952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgentsResponse AWS API Documentation
|
1953
|
+
#
|
1826
1954
|
class PreviewAgentsResponse < Struct.new(
|
1827
1955
|
:agent_previews,
|
1828
1956
|
:next_token)
|
@@ -1842,6 +1970,8 @@ module Aws::Inspector
|
|
1842
1970
|
# PreviewAgents action.
|
1843
1971
|
# @return [String]
|
1844
1972
|
#
|
1973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRoleRequest AWS API Documentation
|
1974
|
+
#
|
1845
1975
|
class RegisterCrossAccountAccessRoleRequest < Struct.new(
|
1846
1976
|
:role_arn)
|
1847
1977
|
include Aws::Structure
|
@@ -1865,6 +1995,8 @@ module Aws::Inspector
|
|
1865
1995
|
# findings.
|
1866
1996
|
# @return [Array<String>]
|
1867
1997
|
#
|
1998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindingsRequest AWS API Documentation
|
1999
|
+
#
|
1868
2000
|
class RemoveAttributesFromFindingsRequest < Struct.new(
|
1869
2001
|
:finding_arns,
|
1870
2002
|
:attribute_keys)
|
@@ -1876,6 +2008,8 @@ module Aws::Inspector
|
|
1876
2008
|
# provided for each failed item.
|
1877
2009
|
# @return [Hash<String,Types::FailedItemDetails>]
|
1878
2010
|
#
|
2011
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindingsResponse AWS API Documentation
|
2012
|
+
#
|
1879
2013
|
class RemoveAttributesFromFindingsResponse < Struct.new(
|
1880
2014
|
:failed_items)
|
1881
2015
|
include Aws::Structure
|
@@ -1899,6 +2033,8 @@ module Aws::Inspector
|
|
1899
2033
|
# The time at which resource group is created.
|
1900
2034
|
# @return [Time]
|
1901
2035
|
#
|
2036
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ResourceGroup AWS API Documentation
|
2037
|
+
#
|
1902
2038
|
class ResourceGroup < Struct.new(
|
1903
2039
|
:arn,
|
1904
2040
|
:tags,
|
@@ -1925,6 +2061,8 @@ module Aws::Inspector
|
|
1925
2061
|
# The value assigned to a tag key.
|
1926
2062
|
# @return [String]
|
1927
2063
|
#
|
2064
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ResourceGroupTag AWS API Documentation
|
2065
|
+
#
|
1928
2066
|
class ResourceGroupTag < Struct.new(
|
1929
2067
|
:key,
|
1930
2068
|
:value)
|
@@ -1955,6 +2093,8 @@ module Aws::Inspector
|
|
1955
2093
|
# The description of the rules package.
|
1956
2094
|
# @return [String]
|
1957
2095
|
#
|
2096
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RulesPackage AWS API Documentation
|
2097
|
+
#
|
1958
2098
|
class RulesPackage < Struct.new(
|
1959
2099
|
:arn,
|
1960
2100
|
:name,
|
@@ -1986,6 +2126,8 @@ module Aws::Inspector
|
|
1986
2126
|
# assessment template.
|
1987
2127
|
# @return [Array<Types::Tag>]
|
1988
2128
|
#
|
2129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResourceRequest AWS API Documentation
|
2130
|
+
#
|
1989
2131
|
class SetTagsForResourceRequest < Struct.new(
|
1990
2132
|
:resource_arn,
|
1991
2133
|
:tags)
|
@@ -2011,6 +2153,8 @@ module Aws::Inspector
|
|
2011
2153
|
# assessment run.
|
2012
2154
|
# @return [String]
|
2013
2155
|
#
|
2156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRunRequest AWS API Documentation
|
2157
|
+
#
|
2014
2158
|
class StartAssessmentRunRequest < Struct.new(
|
2015
2159
|
:assessment_template_arn,
|
2016
2160
|
:assessment_run_name)
|
@@ -2021,6 +2165,8 @@ module Aws::Inspector
|
|
2021
2165
|
# The ARN of the assessment run that has been started.
|
2022
2166
|
# @return [String]
|
2023
2167
|
#
|
2168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRunResponse AWS API Documentation
|
2169
|
+
#
|
2024
2170
|
class StartAssessmentRunResponse < Struct.new(
|
2025
2171
|
:assessment_run_arn)
|
2026
2172
|
include Aws::Structure
|
@@ -2037,6 +2183,8 @@ module Aws::Inspector
|
|
2037
2183
|
# The ARN of the assessment run that you want to stop.
|
2038
2184
|
# @return [String]
|
2039
2185
|
#
|
2186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRunRequest AWS API Documentation
|
2187
|
+
#
|
2040
2188
|
class StopAssessmentRunRequest < Struct.new(
|
2041
2189
|
:assessment_run_arn)
|
2042
2190
|
include Aws::Structure
|
@@ -2064,6 +2212,8 @@ module Aws::Inspector
|
|
2064
2212
|
# The ARN of the SNS topic to which the SNS notifications are sent.
|
2065
2213
|
# @return [String]
|
2066
2214
|
#
|
2215
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEventRequest AWS API Documentation
|
2216
|
+
#
|
2067
2217
|
class SubscribeToEventRequest < Struct.new(
|
2068
2218
|
:resource_arn,
|
2069
2219
|
:event,
|
@@ -2088,6 +2238,8 @@ module Aws::Inspector
|
|
2088
2238
|
# The list of existing event subscriptions.
|
2089
2239
|
# @return [Array<Types::EventSubscription>]
|
2090
2240
|
#
|
2241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Subscription AWS API Documentation
|
2242
|
+
#
|
2091
2243
|
class Subscription < Struct.new(
|
2092
2244
|
:resource_arn,
|
2093
2245
|
:topic_arn,
|
@@ -2115,6 +2267,8 @@ module Aws::Inspector
|
|
2115
2267
|
# A value assigned to a tag key.
|
2116
2268
|
# @return [String]
|
2117
2269
|
#
|
2270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/Tag AWS API Documentation
|
2271
|
+
#
|
2118
2272
|
class Tag < Struct.new(
|
2119
2273
|
:key,
|
2120
2274
|
:value)
|
@@ -2139,6 +2293,8 @@ module Aws::Inspector
|
|
2139
2293
|
# Inspector service.
|
2140
2294
|
# @return [Integer]
|
2141
2295
|
#
|
2296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/TelemetryMetadata AWS API Documentation
|
2297
|
+
#
|
2142
2298
|
class TelemetryMetadata < Struct.new(
|
2143
2299
|
:message_type,
|
2144
2300
|
:count,
|
@@ -2164,6 +2320,8 @@ module Aws::Inspector
|
|
2164
2320
|
# The maximum value of the timestamp range.
|
2165
2321
|
# @return [Time]
|
2166
2322
|
#
|
2323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/TimestampRange AWS API Documentation
|
2324
|
+
#
|
2167
2325
|
class TimestampRange < Struct.new(
|
2168
2326
|
:begin_date,
|
2169
2327
|
:end_date)
|
@@ -2192,6 +2350,8 @@ module Aws::Inspector
|
|
2192
2350
|
# The ARN of the SNS topic to which SNS notifications are sent.
|
2193
2351
|
# @return [String]
|
2194
2352
|
#
|
2353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEventRequest AWS API Documentation
|
2354
|
+
#
|
2195
2355
|
class UnsubscribeFromEventRequest < Struct.new(
|
2196
2356
|
:resource_arn,
|
2197
2357
|
:event,
|
@@ -2221,6 +2381,8 @@ module Aws::Inspector
|
|
2221
2381
|
# resource group to associate with the assessment target.
|
2222
2382
|
# @return [String]
|
2223
2383
|
#
|
2384
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTargetRequest AWS API Documentation
|
2385
|
+
#
|
2224
2386
|
class UpdateAssessmentTargetRequest < Struct.new(
|
2225
2387
|
:assessment_target_arn,
|
2226
2388
|
:assessment_target_name,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-inspector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|