aws-sdk-guardduty 1.133.0 → 1.134.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +232 -4
- data/lib/aws-sdk-guardduty/client_api.rb +213 -0
- data/lib/aws-sdk-guardduty/types.rb +734 -5
- data/lib/aws-sdk-guardduty.rb +1 -1
- data/sig/client.rbs +65 -1
- data/sig/types.rbs +184 -0
- metadata +1 -1
|
@@ -36,6 +36,7 @@ module Aws::GuardDuty
|
|
|
36
36
|
ActorIds = Shapes::ListShape.new(name: 'ActorIds')
|
|
37
37
|
ActorProcess = Shapes::StructureShape.new(name: 'ActorProcess')
|
|
38
38
|
Actors = Shapes::ListShape.new(name: 'Actors')
|
|
39
|
+
AdditionalInfo = Shapes::StructureShape.new(name: 'AdditionalInfo')
|
|
39
40
|
AdditionalSequenceTypes = Shapes::ListShape.new(name: 'AdditionalSequenceTypes')
|
|
40
41
|
AddonDetails = Shapes::StructureShape.new(name: 'AddonDetails')
|
|
41
42
|
AdminAccount = Shapes::StructureShape.new(name: 'AdminAccount')
|
|
@@ -162,6 +163,7 @@ module Aws::GuardDuty
|
|
|
162
163
|
DestinationType = Shapes::StringShape.new(name: 'DestinationType')
|
|
163
164
|
Destinations = Shapes::ListShape.new(name: 'Destinations')
|
|
164
165
|
Detection = Shapes::StructureShape.new(name: 'Detection')
|
|
166
|
+
DetectionSource = Shapes::StringShape.new(name: 'DetectionSource')
|
|
165
167
|
DetectorAdditionalConfiguration = Shapes::StructureShape.new(name: 'DetectorAdditionalConfiguration')
|
|
166
168
|
DetectorAdditionalConfigurationResult = Shapes::StructureShape.new(name: 'DetectorAdditionalConfigurationResult')
|
|
167
169
|
DetectorAdditionalConfigurationResults = Shapes::ListShape.new(name: 'DetectorAdditionalConfigurationResults')
|
|
@@ -186,10 +188,13 @@ module Aws::GuardDuty
|
|
|
186
188
|
DnsRequestAction = Shapes::StructureShape.new(name: 'DnsRequestAction')
|
|
187
189
|
DomainDetails = Shapes::StructureShape.new(name: 'DomainDetails')
|
|
188
190
|
Double = Shapes::FloatShape.new(name: 'Double')
|
|
191
|
+
EbsSnapshot = Shapes::StructureShape.new(name: 'EbsSnapshot')
|
|
192
|
+
EbsSnapshotDetails = Shapes::StructureShape.new(name: 'EbsSnapshotDetails')
|
|
189
193
|
EbsSnapshotPreservation = Shapes::StringShape.new(name: 'EbsSnapshotPreservation')
|
|
190
194
|
EbsVolumeDetails = Shapes::StructureShape.new(name: 'EbsVolumeDetails')
|
|
191
195
|
EbsVolumeScanDetails = Shapes::StructureShape.new(name: 'EbsVolumeScanDetails')
|
|
192
196
|
EbsVolumesResult = Shapes::StructureShape.new(name: 'EbsVolumesResult')
|
|
197
|
+
Ec2ImageDetails = Shapes::StructureShape.new(name: 'Ec2ImageDetails')
|
|
193
198
|
Ec2Instance = Shapes::StructureShape.new(name: 'Ec2Instance')
|
|
194
199
|
Ec2InstanceUid = Shapes::StringShape.new(name: 'Ec2InstanceUid')
|
|
195
200
|
Ec2InstanceUids = Shapes::ListShape.new(name: 'Ec2InstanceUids')
|
|
@@ -258,6 +263,9 @@ module Aws::GuardDuty
|
|
|
258
263
|
GetInvitationsCountResponse = Shapes::StructureShape.new(name: 'GetInvitationsCountResponse')
|
|
259
264
|
GetMalwareProtectionPlanRequest = Shapes::StructureShape.new(name: 'GetMalwareProtectionPlanRequest')
|
|
260
265
|
GetMalwareProtectionPlanResponse = Shapes::StructureShape.new(name: 'GetMalwareProtectionPlanResponse')
|
|
266
|
+
GetMalwareScanRequest = Shapes::StructureShape.new(name: 'GetMalwareScanRequest')
|
|
267
|
+
GetMalwareScanResponse = Shapes::StructureShape.new(name: 'GetMalwareScanResponse')
|
|
268
|
+
GetMalwareScanResultDetails = Shapes::StructureShape.new(name: 'GetMalwareScanResultDetails')
|
|
261
269
|
GetMalwareScanSettingsRequest = Shapes::StructureShape.new(name: 'GetMalwareScanSettingsRequest')
|
|
262
270
|
GetMalwareScanSettingsResponse = Shapes::StructureShape.new(name: 'GetMalwareScanSettingsResponse')
|
|
263
271
|
GetMasterAccountRequest = Shapes::StructureShape.new(name: 'GetMasterAccountRequest')
|
|
@@ -289,6 +297,7 @@ module Aws::GuardDuty
|
|
|
289
297
|
HostPath = Shapes::StructureShape.new(name: 'HostPath')
|
|
290
298
|
IamInstanceProfile = Shapes::StructureShape.new(name: 'IamInstanceProfile')
|
|
291
299
|
ImpersonatedUser = Shapes::StructureShape.new(name: 'ImpersonatedUser')
|
|
300
|
+
IncrementalScanDetails = Shapes::StructureShape.new(name: 'IncrementalScanDetails')
|
|
292
301
|
Indicator = Shapes::StructureShape.new(name: 'Indicator')
|
|
293
302
|
IndicatorTitle = Shapes::StringShape.new(name: 'IndicatorTitle')
|
|
294
303
|
IndicatorType = Shapes::StringShape.new(name: 'IndicatorType')
|
|
@@ -309,6 +318,8 @@ module Aws::GuardDuty
|
|
|
309
318
|
IpSetStatus = Shapes::StringShape.new(name: 'IpSetStatus')
|
|
310
319
|
Ipv6Addresses = Shapes::ListShape.new(name: 'Ipv6Addresses')
|
|
311
320
|
Issues = Shapes::ListShape.new(name: 'Issues')
|
|
321
|
+
ItemDetails = Shapes::StructureShape.new(name: 'ItemDetails')
|
|
322
|
+
ItemDetailsList = Shapes::ListShape.new(name: 'ItemDetailsList')
|
|
312
323
|
ItemPath = Shapes::StructureShape.new(name: 'ItemPath')
|
|
313
324
|
ItemPaths = Shapes::ListShape.new(name: 'ItemPaths')
|
|
314
325
|
KubernetesApiCallAction = Shapes::StructureShape.new(name: 'KubernetesApiCallAction')
|
|
@@ -342,6 +353,12 @@ module Aws::GuardDuty
|
|
|
342
353
|
ListInvitationsResponse = Shapes::StructureShape.new(name: 'ListInvitationsResponse')
|
|
343
354
|
ListMalwareProtectionPlansRequest = Shapes::StructureShape.new(name: 'ListMalwareProtectionPlansRequest')
|
|
344
355
|
ListMalwareProtectionPlansResponse = Shapes::StructureShape.new(name: 'ListMalwareProtectionPlansResponse')
|
|
356
|
+
ListMalwareScansCriterionKey = Shapes::StringShape.new(name: 'ListMalwareScansCriterionKey')
|
|
357
|
+
ListMalwareScansFilterCriteria = Shapes::StructureShape.new(name: 'ListMalwareScansFilterCriteria')
|
|
358
|
+
ListMalwareScansFilterCriterion = Shapes::StructureShape.new(name: 'ListMalwareScansFilterCriterion')
|
|
359
|
+
ListMalwareScansFilterCriterionList = Shapes::ListShape.new(name: 'ListMalwareScansFilterCriterionList')
|
|
360
|
+
ListMalwareScansRequest = Shapes::StructureShape.new(name: 'ListMalwareScansRequest')
|
|
361
|
+
ListMalwareScansResponse = Shapes::StructureShape.new(name: 'ListMalwareScansResponse')
|
|
345
362
|
ListMembersRequest = Shapes::StructureShape.new(name: 'ListMembersRequest')
|
|
346
363
|
ListMembersResponse = Shapes::StructureShape.new(name: 'ListMembersResponse')
|
|
347
364
|
ListOrganizationAdminAccountsRequest = Shapes::StructureShape.new(name: 'ListOrganizationAdminAccountsRequest')
|
|
@@ -366,6 +383,7 @@ module Aws::GuardDuty
|
|
|
366
383
|
MalwareProtectionConfiguration = Shapes::StructureShape.new(name: 'MalwareProtectionConfiguration')
|
|
367
384
|
MalwareProtectionConfigurationResult = Shapes::StructureShape.new(name: 'MalwareProtectionConfigurationResult')
|
|
368
385
|
MalwareProtectionDataSourceFreeTrial = Shapes::StructureShape.new(name: 'MalwareProtectionDataSourceFreeTrial')
|
|
386
|
+
MalwareProtectionFindingsScanConfiguration = Shapes::StructureShape.new(name: 'MalwareProtectionFindingsScanConfiguration')
|
|
369
387
|
MalwareProtectionPlanActions = Shapes::StructureShape.new(name: 'MalwareProtectionPlanActions')
|
|
370
388
|
MalwareProtectionPlanObjectPrefixesList = Shapes::ListShape.new(name: 'MalwareProtectionPlanObjectPrefixesList')
|
|
371
389
|
MalwareProtectionPlanStatus = Shapes::StringShape.new(name: 'MalwareProtectionPlanStatus')
|
|
@@ -375,7 +393,12 @@ module Aws::GuardDuty
|
|
|
375
393
|
MalwareProtectionPlanTaggingAction = Shapes::StructureShape.new(name: 'MalwareProtectionPlanTaggingAction')
|
|
376
394
|
MalwareProtectionPlanTaggingActionStatus = Shapes::StringShape.new(name: 'MalwareProtectionPlanTaggingActionStatus')
|
|
377
395
|
MalwareProtectionPlansSummary = Shapes::ListShape.new(name: 'MalwareProtectionPlansSummary')
|
|
396
|
+
MalwareProtectionResourceType = Shapes::StringShape.new(name: 'MalwareProtectionResourceType')
|
|
397
|
+
MalwareProtectionScanStatus = Shapes::StringShape.new(name: 'MalwareProtectionScanStatus')
|
|
398
|
+
MalwareProtectionScanType = Shapes::StringShape.new(name: 'MalwareProtectionScanType')
|
|
399
|
+
MalwareScan = Shapes::StructureShape.new(name: 'MalwareScan')
|
|
378
400
|
MalwareScanDetails = Shapes::StructureShape.new(name: 'MalwareScanDetails')
|
|
401
|
+
MalwareScans = Shapes::ListShape.new(name: 'MalwareScans')
|
|
379
402
|
ManagementType = Shapes::StringShape.new(name: 'ManagementType')
|
|
380
403
|
MapEquals = Shapes::ListShape.new(name: 'MapEquals')
|
|
381
404
|
Master = Shapes::StructureShape.new(name: 'Master')
|
|
@@ -406,6 +429,7 @@ module Aws::GuardDuty
|
|
|
406
429
|
NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
|
|
407
430
|
NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
|
|
408
431
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
|
432
|
+
NonNegativeInteger = Shapes::IntegerShape.new(name: 'NonNegativeInteger')
|
|
409
433
|
NotEquals = Shapes::ListShape.new(name: 'NotEquals')
|
|
410
434
|
ObservationTexts = Shapes::ListShape.new(name: 'ObservationTexts')
|
|
411
435
|
Observations = Shapes::StructureShape.new(name: 'Observations')
|
|
@@ -468,6 +492,8 @@ module Aws::GuardDuty
|
|
|
468
492
|
RdsDbUserDetails = Shapes::StructureShape.new(name: 'RdsDbUserDetails')
|
|
469
493
|
RdsLimitlessDbDetails = Shapes::StructureShape.new(name: 'RdsLimitlessDbDetails')
|
|
470
494
|
RdsLoginAttemptAction = Shapes::StructureShape.new(name: 'RdsLoginAttemptAction')
|
|
495
|
+
RecoveryPoint = Shapes::StructureShape.new(name: 'RecoveryPoint')
|
|
496
|
+
RecoveryPointDetails = Shapes::StructureShape.new(name: 'RecoveryPointDetails')
|
|
471
497
|
RemoteAccountDetails = Shapes::StructureShape.new(name: 'RemoteAccountDetails')
|
|
472
498
|
RemoteIpDetails = Shapes::StructureShape.new(name: 'RemoteIpDetails')
|
|
473
499
|
RemotePortDetails = Shapes::StructureShape.new(name: 'RemotePortDetails')
|
|
@@ -495,8 +521,11 @@ module Aws::GuardDuty
|
|
|
495
521
|
S3ObjectForSendObjectMalwareScan = Shapes::StructureShape.new(name: 'S3ObjectForSendObjectMalwareScan')
|
|
496
522
|
S3ObjectUids = Shapes::ListShape.new(name: 'S3ObjectUids')
|
|
497
523
|
Scan = Shapes::StructureShape.new(name: 'Scan')
|
|
524
|
+
ScanCategory = Shapes::StringShape.new(name: 'ScanCategory')
|
|
498
525
|
ScanCondition = Shapes::StructureShape.new(name: 'ScanCondition')
|
|
499
526
|
ScanConditionPair = Shapes::StructureShape.new(name: 'ScanConditionPair')
|
|
527
|
+
ScanConfiguration = Shapes::StructureShape.new(name: 'ScanConfiguration')
|
|
528
|
+
ScanConfigurationRecoveryPoint = Shapes::StructureShape.new(name: 'ScanConfigurationRecoveryPoint')
|
|
500
529
|
ScanCriterion = Shapes::MapShape.new(name: 'ScanCriterion')
|
|
501
530
|
ScanCriterionKey = Shapes::StringShape.new(name: 'ScanCriterionKey')
|
|
502
531
|
ScanDetections = Shapes::StructureShape.new(name: 'ScanDetections')
|
|
@@ -506,11 +535,18 @@ module Aws::GuardDuty
|
|
|
506
535
|
ScanResourceCriteria = Shapes::StructureShape.new(name: 'ScanResourceCriteria')
|
|
507
536
|
ScanResult = Shapes::StringShape.new(name: 'ScanResult')
|
|
508
537
|
ScanResultDetails = Shapes::StructureShape.new(name: 'ScanResultDetails')
|
|
538
|
+
ScanResultStatus = Shapes::StringShape.new(name: 'ScanResultStatus')
|
|
539
|
+
ScanResultThreat = Shapes::StructureShape.new(name: 'ScanResultThreat')
|
|
540
|
+
ScanResultThreats = Shapes::ListShape.new(name: 'ScanResultThreats')
|
|
509
541
|
ScanStatus = Shapes::StringShape.new(name: 'ScanStatus')
|
|
542
|
+
ScanStatusReason = Shapes::StringShape.new(name: 'ScanStatusReason')
|
|
510
543
|
ScanThreatName = Shapes::StructureShape.new(name: 'ScanThreatName')
|
|
511
544
|
ScanThreatNames = Shapes::ListShape.new(name: 'ScanThreatNames')
|
|
512
545
|
ScanType = Shapes::StringShape.new(name: 'ScanType')
|
|
513
546
|
ScannedItemCount = Shapes::StructureShape.new(name: 'ScannedItemCount')
|
|
547
|
+
ScannedResource = Shapes::StructureShape.new(name: 'ScannedResource')
|
|
548
|
+
ScannedResourceDetails = Shapes::StructureShape.new(name: 'ScannedResourceDetails')
|
|
549
|
+
ScannedResources = Shapes::ListShape.new(name: 'ScannedResources')
|
|
514
550
|
Scans = Shapes::ListShape.new(name: 'Scans')
|
|
515
551
|
SecurityContext = Shapes::StructureShape.new(name: 'SecurityContext')
|
|
516
552
|
SecurityGroup = Shapes::StructureShape.new(name: 'SecurityGroup')
|
|
@@ -532,6 +568,7 @@ module Aws::GuardDuty
|
|
|
532
568
|
SortCriteria = Shapes::StructureShape.new(name: 'SortCriteria')
|
|
533
569
|
SourceIps = Shapes::ListShape.new(name: 'SourceIps')
|
|
534
570
|
Sources = Shapes::ListShape.new(name: 'Sources')
|
|
571
|
+
StartMalwareScanConfiguration = Shapes::StructureShape.new(name: 'StartMalwareScanConfiguration')
|
|
535
572
|
StartMalwareScanRequest = Shapes::StructureShape.new(name: 'StartMalwareScanRequest')
|
|
536
573
|
StartMalwareScanResponse = Shapes::StructureShape.new(name: 'StartMalwareScanResponse')
|
|
537
574
|
StartMonitoringMembersRequest = Shapes::StructureShape.new(name: 'StartMonitoringMembersRequest')
|
|
@@ -564,6 +601,7 @@ module Aws::GuardDuty
|
|
|
564
601
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
565
602
|
Total = Shapes::StructureShape.new(name: 'Total')
|
|
566
603
|
TriggerDetails = Shapes::StructureShape.new(name: 'TriggerDetails')
|
|
604
|
+
TriggerType = Shapes::StringShape.new(name: 'TriggerType')
|
|
567
605
|
TrustedEntitySetFormat = Shapes::StringShape.new(name: 'TrustedEntitySetFormat')
|
|
568
606
|
TrustedEntitySetIds = Shapes::ListShape.new(name: 'TrustedEntitySetIds')
|
|
569
607
|
TrustedEntitySetStatus = Shapes::StringShape.new(name: 'TrustedEntitySetStatus')
|
|
@@ -712,6 +750,10 @@ module Aws::GuardDuty
|
|
|
712
750
|
|
|
713
751
|
Actors.member = Shapes::ShapeRef.new(shape: Actor)
|
|
714
752
|
|
|
753
|
+
AdditionalInfo.add_member(:version_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "versionId"))
|
|
754
|
+
AdditionalInfo.add_member(:device_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "deviceName"))
|
|
755
|
+
AdditionalInfo.struct_class = Types::AdditionalInfo
|
|
756
|
+
|
|
715
757
|
AdditionalSequenceTypes.member = Shapes::ShapeRef.new(shape: FindingType)
|
|
716
758
|
|
|
717
759
|
AddonDetails.add_member(:addon_version, Shapes::ShapeRef.new(shape: String, location_name: "addonVersion"))
|
|
@@ -1254,6 +1296,12 @@ module Aws::GuardDuty
|
|
|
1254
1296
|
DomainDetails.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "domain"))
|
|
1255
1297
|
DomainDetails.struct_class = Types::DomainDetails
|
|
1256
1298
|
|
|
1299
|
+
EbsSnapshot.add_member(:device_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "deviceName"))
|
|
1300
|
+
EbsSnapshot.struct_class = Types::EbsSnapshot
|
|
1301
|
+
|
|
1302
|
+
EbsSnapshotDetails.add_member(:snapshot_arn, Shapes::ShapeRef.new(shape: String, location_name: "snapshotArn"))
|
|
1303
|
+
EbsSnapshotDetails.struct_class = Types::EbsSnapshotDetails
|
|
1304
|
+
|
|
1257
1305
|
EbsVolumeDetails.add_member(:scanned_volume_details, Shapes::ShapeRef.new(shape: VolumeDetails, location_name: "scannedVolumeDetails"))
|
|
1258
1306
|
EbsVolumeDetails.add_member(:skipped_volume_details, Shapes::ShapeRef.new(shape: VolumeDetails, location_name: "skippedVolumeDetails"))
|
|
1259
1307
|
EbsVolumeDetails.struct_class = Types::EbsVolumeDetails
|
|
@@ -1271,6 +1319,9 @@ module Aws::GuardDuty
|
|
|
1271
1319
|
EbsVolumesResult.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
|
1272
1320
|
EbsVolumesResult.struct_class = Types::EbsVolumesResult
|
|
1273
1321
|
|
|
1322
|
+
Ec2ImageDetails.add_member(:image_arn, Shapes::ShapeRef.new(shape: String, location_name: "imageArn"))
|
|
1323
|
+
Ec2ImageDetails.struct_class = Types::Ec2ImageDetails
|
|
1324
|
+
|
|
1274
1325
|
Ec2Instance.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
|
1275
1326
|
Ec2Instance.add_member(:image_description, Shapes::ShapeRef.new(shape: String, location_name: "imageDescription"))
|
|
1276
1327
|
Ec2Instance.add_member(:instance_state, Shapes::ShapeRef.new(shape: String, location_name: "instanceState"))
|
|
@@ -1514,6 +1565,38 @@ module Aws::GuardDuty
|
|
|
1514
1565
|
GetMalwareProtectionPlanResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
1515
1566
|
GetMalwareProtectionPlanResponse.struct_class = Types::GetMalwareProtectionPlanResponse
|
|
1516
1567
|
|
|
1568
|
+
GetMalwareScanRequest.add_member(:scan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "scanId"))
|
|
1569
|
+
GetMalwareScanRequest.struct_class = Types::GetMalwareScanRequest
|
|
1570
|
+
|
|
1571
|
+
GetMalwareScanResponse.add_member(:scan_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "scanId"))
|
|
1572
|
+
GetMalwareScanResponse.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "detectorId"))
|
|
1573
|
+
GetMalwareScanResponse.add_member(:admin_detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "adminDetectorId"))
|
|
1574
|
+
GetMalwareScanResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "resourceArn"))
|
|
1575
|
+
GetMalwareScanResponse.add_member(:resource_type, Shapes::ShapeRef.new(shape: MalwareProtectionResourceType, location_name: "resourceType"))
|
|
1576
|
+
GetMalwareScanResponse.add_member(:scanned_resources_count, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "scannedResourcesCount"))
|
|
1577
|
+
GetMalwareScanResponse.add_member(:skipped_resources_count, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "skippedResourcesCount"))
|
|
1578
|
+
GetMalwareScanResponse.add_member(:failed_resources_count, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "failedResourcesCount"))
|
|
1579
|
+
GetMalwareScanResponse.add_member(:scanned_resources, Shapes::ShapeRef.new(shape: ScannedResources, location_name: "scannedResources"))
|
|
1580
|
+
GetMalwareScanResponse.add_member(:scan_configuration, Shapes::ShapeRef.new(shape: ScanConfiguration, location_name: "scanConfiguration"))
|
|
1581
|
+
GetMalwareScanResponse.add_member(:scan_category, Shapes::ShapeRef.new(shape: ScanCategory, location_name: "scanCategory"))
|
|
1582
|
+
GetMalwareScanResponse.add_member(:scan_status, Shapes::ShapeRef.new(shape: MalwareProtectionScanStatus, location_name: "scanStatus"))
|
|
1583
|
+
GetMalwareScanResponse.add_member(:scan_status_reason, Shapes::ShapeRef.new(shape: ScanStatusReason, location_name: "scanStatusReason"))
|
|
1584
|
+
GetMalwareScanResponse.add_member(:scan_type, Shapes::ShapeRef.new(shape: MalwareProtectionScanType, location_name: "scanType"))
|
|
1585
|
+
GetMalwareScanResponse.add_member(:scan_started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scanStartedAt"))
|
|
1586
|
+
GetMalwareScanResponse.add_member(:scan_completed_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scanCompletedAt"))
|
|
1587
|
+
GetMalwareScanResponse.add_member(:scan_result_details, Shapes::ShapeRef.new(shape: GetMalwareScanResultDetails, location_name: "scanResultDetails"))
|
|
1588
|
+
GetMalwareScanResponse.struct_class = Types::GetMalwareScanResponse
|
|
1589
|
+
|
|
1590
|
+
GetMalwareScanResultDetails.add_member(:scan_result_status, Shapes::ShapeRef.new(shape: ScanResultStatus, location_name: "scanResultStatus"))
|
|
1591
|
+
GetMalwareScanResultDetails.add_member(:skipped_file_count, Shapes::ShapeRef.new(shape: PositiveLong, location_name: "skippedFileCount"))
|
|
1592
|
+
GetMalwareScanResultDetails.add_member(:failed_file_count, Shapes::ShapeRef.new(shape: PositiveLong, location_name: "failedFileCount"))
|
|
1593
|
+
GetMalwareScanResultDetails.add_member(:threat_found_file_count, Shapes::ShapeRef.new(shape: PositiveLong, location_name: "threatFoundFileCount"))
|
|
1594
|
+
GetMalwareScanResultDetails.add_member(:total_file_count, Shapes::ShapeRef.new(shape: PositiveLong, location_name: "totalFileCount"))
|
|
1595
|
+
GetMalwareScanResultDetails.add_member(:total_bytes, Shapes::ShapeRef.new(shape: PositiveLong, location_name: "totalBytes"))
|
|
1596
|
+
GetMalwareScanResultDetails.add_member(:unique_threat_count, Shapes::ShapeRef.new(shape: PositiveLong, location_name: "uniqueThreatCount"))
|
|
1597
|
+
GetMalwareScanResultDetails.add_member(:threats, Shapes::ShapeRef.new(shape: ScanResultThreats, location_name: "threats"))
|
|
1598
|
+
GetMalwareScanResultDetails.struct_class = Types::GetMalwareScanResultDetails
|
|
1599
|
+
|
|
1517
1600
|
GetMalwareScanSettingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
|
1518
1601
|
GetMalwareScanSettingsRequest.struct_class = Types::GetMalwareScanSettingsRequest
|
|
1519
1602
|
|
|
@@ -1636,6 +1719,9 @@ module Aws::GuardDuty
|
|
|
1636
1719
|
ImpersonatedUser.add_member(:groups, Shapes::ShapeRef.new(shape: Groups, location_name: "groups"))
|
|
1637
1720
|
ImpersonatedUser.struct_class = Types::ImpersonatedUser
|
|
1638
1721
|
|
|
1722
|
+
IncrementalScanDetails.add_member(:baseline_resource_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "baselineResourceArn"))
|
|
1723
|
+
IncrementalScanDetails.struct_class = Types::IncrementalScanDetails
|
|
1724
|
+
|
|
1639
1725
|
Indicator.add_member(:key, Shapes::ShapeRef.new(shape: IndicatorType, required: true, location_name: "key"))
|
|
1640
1726
|
Indicator.add_member(:values, Shapes::ShapeRef.new(shape: IndicatorValues, location_name: "values"))
|
|
1641
1727
|
Indicator.add_member(:title, Shapes::ShapeRef.new(shape: IndicatorTitle, location_name: "title"))
|
|
@@ -1687,6 +1773,14 @@ module Aws::GuardDuty
|
|
|
1687
1773
|
|
|
1688
1774
|
Issues.member = Shapes::ShapeRef.new(shape: String)
|
|
1689
1775
|
|
|
1776
|
+
ItemDetails.add_member(:resource_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "resourceArn"))
|
|
1777
|
+
ItemDetails.add_member(:item_path, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "itemPath"))
|
|
1778
|
+
ItemDetails.add_member(:hash, Shapes::ShapeRef.new(shape: String, location_name: "hash"))
|
|
1779
|
+
ItemDetails.add_member(:additional_info, Shapes::ShapeRef.new(shape: AdditionalInfo, location_name: "additionalInfo"))
|
|
1780
|
+
ItemDetails.struct_class = Types::ItemDetails
|
|
1781
|
+
|
|
1782
|
+
ItemDetailsList.member = Shapes::ShapeRef.new(shape: ItemDetails)
|
|
1783
|
+
|
|
1690
1784
|
ItemPath.add_member(:nested_item_path, Shapes::ShapeRef.new(shape: String, location_name: "nestedItemPath"))
|
|
1691
1785
|
ItemPath.add_member(:hash, Shapes::ShapeRef.new(shape: String, location_name: "hash"))
|
|
1692
1786
|
ItemPath.struct_class = Types::ItemPath
|
|
@@ -1854,6 +1948,25 @@ module Aws::GuardDuty
|
|
|
1854
1948
|
ListMalwareProtectionPlansResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
1855
1949
|
ListMalwareProtectionPlansResponse.struct_class = Types::ListMalwareProtectionPlansResponse
|
|
1856
1950
|
|
|
1951
|
+
ListMalwareScansFilterCriteria.add_member(:list_malware_scans_filter_criterion, Shapes::ShapeRef.new(shape: ListMalwareScansFilterCriterionList, location_name: "filterCriterion"))
|
|
1952
|
+
ListMalwareScansFilterCriteria.struct_class = Types::ListMalwareScansFilterCriteria
|
|
1953
|
+
|
|
1954
|
+
ListMalwareScansFilterCriterion.add_member(:list_malware_scans_criterion_key, Shapes::ShapeRef.new(shape: ListMalwareScansCriterionKey, location_name: "criterionKey"))
|
|
1955
|
+
ListMalwareScansFilterCriterion.add_member(:filter_condition, Shapes::ShapeRef.new(shape: FilterCondition, location_name: "filterCondition"))
|
|
1956
|
+
ListMalwareScansFilterCriterion.struct_class = Types::ListMalwareScansFilterCriterion
|
|
1957
|
+
|
|
1958
|
+
ListMalwareScansFilterCriterionList.member = Shapes::ShapeRef.new(shape: ListMalwareScansFilterCriterion)
|
|
1959
|
+
|
|
1960
|
+
ListMalwareScansRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
1961
|
+
ListMalwareScansRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
|
1962
|
+
ListMalwareScansRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: ListMalwareScansFilterCriteria, location_name: "filterCriteria"))
|
|
1963
|
+
ListMalwareScansRequest.add_member(:sort_criteria, Shapes::ShapeRef.new(shape: SortCriteria, location_name: "sortCriteria"))
|
|
1964
|
+
ListMalwareScansRequest.struct_class = Types::ListMalwareScansRequest
|
|
1965
|
+
|
|
1966
|
+
ListMalwareScansResponse.add_member(:scans, Shapes::ShapeRef.new(shape: MalwareScans, required: true, location_name: "scans"))
|
|
1967
|
+
ListMalwareScansResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
|
1968
|
+
ListMalwareScansResponse.struct_class = Types::ListMalwareScansResponse
|
|
1969
|
+
|
|
1857
1970
|
ListMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
|
1858
1971
|
ListMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
1859
1972
|
ListMembersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
|
@@ -1940,6 +2053,10 @@ module Aws::GuardDuty
|
|
|
1940
2053
|
MalwareProtectionDataSourceFreeTrial.add_member(:scan_ec2_instance_with_findings, Shapes::ShapeRef.new(shape: DataSourceFreeTrial, location_name: "scanEc2InstanceWithFindings"))
|
|
1941
2054
|
MalwareProtectionDataSourceFreeTrial.struct_class = Types::MalwareProtectionDataSourceFreeTrial
|
|
1942
2055
|
|
|
2056
|
+
MalwareProtectionFindingsScanConfiguration.add_member(:trigger_type, Shapes::ShapeRef.new(shape: TriggerType, location_name: "triggerType"))
|
|
2057
|
+
MalwareProtectionFindingsScanConfiguration.add_member(:incremental_scan_details, Shapes::ShapeRef.new(shape: IncrementalScanDetails, location_name: "incrementalScanDetails"))
|
|
2058
|
+
MalwareProtectionFindingsScanConfiguration.struct_class = Types::MalwareProtectionFindingsScanConfiguration
|
|
2059
|
+
|
|
1943
2060
|
MalwareProtectionPlanActions.add_member(:tagging, Shapes::ShapeRef.new(shape: MalwareProtectionPlanTaggingAction, location_name: "tagging"))
|
|
1944
2061
|
MalwareProtectionPlanActions.struct_class = Types::MalwareProtectionPlanActions
|
|
1945
2062
|
|
|
@@ -1959,9 +2076,26 @@ module Aws::GuardDuty
|
|
|
1959
2076
|
|
|
1960
2077
|
MalwareProtectionPlansSummary.member = Shapes::ShapeRef.new(shape: MalwareProtectionPlanSummary)
|
|
1961
2078
|
|
|
2079
|
+
MalwareScan.add_member(:resource_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "resourceArn"))
|
|
2080
|
+
MalwareScan.add_member(:resource_type, Shapes::ShapeRef.new(shape: MalwareProtectionResourceType, location_name: "resourceType"))
|
|
2081
|
+
MalwareScan.add_member(:scan_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "scanId"))
|
|
2082
|
+
MalwareScan.add_member(:scan_status, Shapes::ShapeRef.new(shape: MalwareProtectionScanStatus, location_name: "scanStatus"))
|
|
2083
|
+
MalwareScan.add_member(:scan_result_status, Shapes::ShapeRef.new(shape: ScanResultStatus, location_name: "scanResultStatus"))
|
|
2084
|
+
MalwareScan.add_member(:scan_type, Shapes::ShapeRef.new(shape: MalwareProtectionScanType, location_name: "scanType"))
|
|
2085
|
+
MalwareScan.add_member(:scan_started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scanStartedAt"))
|
|
2086
|
+
MalwareScan.add_member(:scan_completed_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "scanCompletedAt"))
|
|
2087
|
+
MalwareScan.struct_class = Types::MalwareScan
|
|
2088
|
+
|
|
1962
2089
|
MalwareScanDetails.add_member(:threats, Shapes::ShapeRef.new(shape: Threats, location_name: "threats"))
|
|
2090
|
+
MalwareScanDetails.add_member(:scan_id, Shapes::ShapeRef.new(shape: String, location_name: "scanId"))
|
|
2091
|
+
MalwareScanDetails.add_member(:scan_type, Shapes::ShapeRef.new(shape: MalwareProtectionScanType, location_name: "scanType"))
|
|
2092
|
+
MalwareScanDetails.add_member(:scan_category, Shapes::ShapeRef.new(shape: ScanCategory, location_name: "scanCategory"))
|
|
2093
|
+
MalwareScanDetails.add_member(:scan_configuration, Shapes::ShapeRef.new(shape: MalwareProtectionFindingsScanConfiguration, location_name: "scanConfiguration"))
|
|
2094
|
+
MalwareScanDetails.add_member(:unique_threat_count, Shapes::ShapeRef.new(shape: Integer, location_name: "uniqueThreatCount"))
|
|
1963
2095
|
MalwareScanDetails.struct_class = Types::MalwareScanDetails
|
|
1964
2096
|
|
|
2097
|
+
MalwareScans.member = Shapes::ShapeRef.new(shape: MalwareScan)
|
|
2098
|
+
|
|
1965
2099
|
MapEquals.member = Shapes::ShapeRef.new(shape: ScanConditionPair)
|
|
1966
2100
|
|
|
1967
2101
|
Master.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
|
@@ -2257,6 +2391,13 @@ module Aws::GuardDuty
|
|
|
2257
2391
|
RdsLoginAttemptAction.add_member(:login_attributes, Shapes::ShapeRef.new(shape: LoginAttributes, location_name: "LoginAttributes"))
|
|
2258
2392
|
RdsLoginAttemptAction.struct_class = Types::RdsLoginAttemptAction
|
|
2259
2393
|
|
|
2394
|
+
RecoveryPoint.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "backupVaultName"))
|
|
2395
|
+
RecoveryPoint.struct_class = Types::RecoveryPoint
|
|
2396
|
+
|
|
2397
|
+
RecoveryPointDetails.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: String, location_name: "recoveryPointArn"))
|
|
2398
|
+
RecoveryPointDetails.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: String, location_name: "backupVaultName"))
|
|
2399
|
+
RecoveryPointDetails.struct_class = Types::RecoveryPointDetails
|
|
2400
|
+
|
|
2260
2401
|
RemoteAccountDetails.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
|
|
2261
2402
|
RemoteAccountDetails.add_member(:affiliated, Shapes::ShapeRef.new(shape: Boolean, location_name: "affiliated"))
|
|
2262
2403
|
RemoteAccountDetails.struct_class = Types::RemoteAccountDetails
|
|
@@ -2286,6 +2427,9 @@ module Aws::GuardDuty
|
|
|
2286
2427
|
Resource.add_member(:rds_limitless_db_details, Shapes::ShapeRef.new(shape: RdsLimitlessDbDetails, location_name: "rdsLimitlessDbDetails"))
|
|
2287
2428
|
Resource.add_member(:rds_db_user_details, Shapes::ShapeRef.new(shape: RdsDbUserDetails, location_name: "rdsDbUserDetails"))
|
|
2288
2429
|
Resource.add_member(:lambda_details, Shapes::ShapeRef.new(shape: LambdaDetails, location_name: "lambdaDetails"))
|
|
2430
|
+
Resource.add_member(:ebs_snapshot_details, Shapes::ShapeRef.new(shape: EbsSnapshotDetails, location_name: "ebsSnapshotDetails"))
|
|
2431
|
+
Resource.add_member(:ec2_image_details, Shapes::ShapeRef.new(shape: Ec2ImageDetails, location_name: "ec2ImageDetails"))
|
|
2432
|
+
Resource.add_member(:recovery_point_details, Shapes::ShapeRef.new(shape: RecoveryPointDetails, location_name: "recoveryPointDetails"))
|
|
2289
2433
|
Resource.struct_class = Types::Resource
|
|
2290
2434
|
|
|
2291
2435
|
ResourceData.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "s3Bucket"))
|
|
@@ -2436,6 +2580,15 @@ module Aws::GuardDuty
|
|
|
2436
2580
|
ScanConditionPair.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
|
|
2437
2581
|
ScanConditionPair.struct_class = Types::ScanConditionPair
|
|
2438
2582
|
|
|
2583
|
+
ScanConfiguration.add_member(:role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "role"))
|
|
2584
|
+
ScanConfiguration.add_member(:trigger_details, Shapes::ShapeRef.new(shape: TriggerDetails, location_name: "triggerDetails"))
|
|
2585
|
+
ScanConfiguration.add_member(:incremental_scan_details, Shapes::ShapeRef.new(shape: IncrementalScanDetails, location_name: "incrementalScanDetails"))
|
|
2586
|
+
ScanConfiguration.add_member(:recovery_point, Shapes::ShapeRef.new(shape: ScanConfigurationRecoveryPoint, location_name: "recoveryPoint"))
|
|
2587
|
+
ScanConfiguration.struct_class = Types::ScanConfiguration
|
|
2588
|
+
|
|
2589
|
+
ScanConfigurationRecoveryPoint.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "backupVaultName"))
|
|
2590
|
+
ScanConfigurationRecoveryPoint.struct_class = Types::ScanConfigurationRecoveryPoint
|
|
2591
|
+
|
|
2439
2592
|
ScanCriterion.key = Shapes::ShapeRef.new(shape: ScanCriterionKey)
|
|
2440
2593
|
ScanCriterion.value = Shapes::ShapeRef.new(shape: ScanCondition)
|
|
2441
2594
|
|
|
@@ -2464,6 +2617,15 @@ module Aws::GuardDuty
|
|
|
2464
2617
|
ScanResultDetails.add_member(:scan_result, Shapes::ShapeRef.new(shape: ScanResult, location_name: "scanResult"))
|
|
2465
2618
|
ScanResultDetails.struct_class = Types::ScanResultDetails
|
|
2466
2619
|
|
|
2620
|
+
ScanResultThreat.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "name"))
|
|
2621
|
+
ScanResultThreat.add_member(:source, Shapes::ShapeRef.new(shape: DetectionSource, location_name: "source"))
|
|
2622
|
+
ScanResultThreat.add_member(:count, Shapes::ShapeRef.new(shape: PositiveLong, location_name: "count"))
|
|
2623
|
+
ScanResultThreat.add_member(:hash, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "hash"))
|
|
2624
|
+
ScanResultThreat.add_member(:item_details, Shapes::ShapeRef.new(shape: ItemDetailsList, location_name: "itemDetails"))
|
|
2625
|
+
ScanResultThreat.struct_class = Types::ScanResultThreat
|
|
2626
|
+
|
|
2627
|
+
ScanResultThreats.member = Shapes::ShapeRef.new(shape: ScanResultThreat)
|
|
2628
|
+
|
|
2467
2629
|
ScanThreatName.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
2468
2630
|
ScanThreatName.add_member(:severity, Shapes::ShapeRef.new(shape: String, location_name: "severity"))
|
|
2469
2631
|
ScanThreatName.add_member(:item_count, Shapes::ShapeRef.new(shape: Integer, location_name: "itemCount"))
|
|
@@ -2477,6 +2639,19 @@ module Aws::GuardDuty
|
|
|
2477
2639
|
ScannedItemCount.add_member(:volumes, Shapes::ShapeRef.new(shape: Integer, location_name: "volumes"))
|
|
2478
2640
|
ScannedItemCount.struct_class = Types::ScannedItemCount
|
|
2479
2641
|
|
|
2642
|
+
ScannedResource.add_member(:scanned_resource_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "scannedResourceArn"))
|
|
2643
|
+
ScannedResource.add_member(:scanned_resource_type, Shapes::ShapeRef.new(shape: MalwareProtectionResourceType, location_name: "scannedResourceType"))
|
|
2644
|
+
ScannedResource.add_member(:scanned_resource_status, Shapes::ShapeRef.new(shape: MalwareProtectionScanStatus, location_name: "scannedResourceStatus"))
|
|
2645
|
+
ScannedResource.add_member(:scan_status_reason, Shapes::ShapeRef.new(shape: ScanStatusReason, location_name: "scanStatusReason"))
|
|
2646
|
+
ScannedResource.add_member(:resource_details, Shapes::ShapeRef.new(shape: ScannedResourceDetails, location_name: "resourceDetails"))
|
|
2647
|
+
ScannedResource.struct_class = Types::ScannedResource
|
|
2648
|
+
|
|
2649
|
+
ScannedResourceDetails.add_member(:ebs_volume, Shapes::ShapeRef.new(shape: VolumeDetail, location_name: "ebsVolume"))
|
|
2650
|
+
ScannedResourceDetails.add_member(:ebs_snapshot, Shapes::ShapeRef.new(shape: EbsSnapshot, location_name: "ebsSnapshot"))
|
|
2651
|
+
ScannedResourceDetails.struct_class = Types::ScannedResourceDetails
|
|
2652
|
+
|
|
2653
|
+
ScannedResources.member = Shapes::ShapeRef.new(shape: ScannedResource)
|
|
2654
|
+
|
|
2480
2655
|
Scans.member = Shapes::ShapeRef.new(shape: Scan)
|
|
2481
2656
|
|
|
2482
2657
|
SecurityContext.add_member(:privileged, Shapes::ShapeRef.new(shape: Boolean, location_name: "privileged"))
|
|
@@ -2565,7 +2740,14 @@ module Aws::GuardDuty
|
|
|
2565
2740
|
|
|
2566
2741
|
Sources.member = Shapes::ShapeRef.new(shape: String)
|
|
2567
2742
|
|
|
2743
|
+
StartMalwareScanConfiguration.add_member(:role, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "role"))
|
|
2744
|
+
StartMalwareScanConfiguration.add_member(:incremental_scan_details, Shapes::ShapeRef.new(shape: IncrementalScanDetails, location_name: "incrementalScanDetails"))
|
|
2745
|
+
StartMalwareScanConfiguration.add_member(:recovery_point, Shapes::ShapeRef.new(shape: RecoveryPoint, location_name: "recoveryPoint"))
|
|
2746
|
+
StartMalwareScanConfiguration.struct_class = Types::StartMalwareScanConfiguration
|
|
2747
|
+
|
|
2568
2748
|
StartMalwareScanRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
|
|
2749
|
+
StartMalwareScanRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
2750
|
+
StartMalwareScanRequest.add_member(:scan_configuration, Shapes::ShapeRef.new(shape: StartMalwareScanConfiguration, location_name: "scanConfiguration"))
|
|
2569
2751
|
StartMalwareScanRequest.struct_class = Types::StartMalwareScanRequest
|
|
2570
2752
|
|
|
2571
2753
|
StartMalwareScanResponse.add_member(:scan_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "scanId"))
|
|
@@ -2607,6 +2789,9 @@ module Aws::GuardDuty
|
|
|
2607
2789
|
Threat.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
2608
2790
|
Threat.add_member(:source, Shapes::ShapeRef.new(shape: String, location_name: "source"))
|
|
2609
2791
|
Threat.add_member(:item_paths, Shapes::ShapeRef.new(shape: ItemPaths, location_name: "itemPaths"))
|
|
2792
|
+
Threat.add_member(:count, Shapes::ShapeRef.new(shape: Long, location_name: "count"))
|
|
2793
|
+
Threat.add_member(:hash, Shapes::ShapeRef.new(shape: String, location_name: "hash"))
|
|
2794
|
+
Threat.add_member(:item_details, Shapes::ShapeRef.new(shape: ItemDetailsList, location_name: "itemDetails"))
|
|
2610
2795
|
Threat.struct_class = Types::Threat
|
|
2611
2796
|
|
|
2612
2797
|
ThreatDetectedByName.add_member(:item_count, Shapes::ShapeRef.new(shape: Integer, location_name: "itemCount"))
|
|
@@ -2639,6 +2824,7 @@ module Aws::GuardDuty
|
|
|
2639
2824
|
|
|
2640
2825
|
TriggerDetails.add_member(:guard_duty_finding_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "guardDutyFindingId"))
|
|
2641
2826
|
TriggerDetails.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
|
|
2827
|
+
TriggerDetails.add_member(:trigger_type, Shapes::ShapeRef.new(shape: TriggerType, location_name: "triggerType"))
|
|
2642
2828
|
TriggerDetails.struct_class = Types::TriggerDetails
|
|
2643
2829
|
|
|
2644
2830
|
TrustedEntitySetIds.member = Shapes::ShapeRef.new(shape: String)
|
|
@@ -3315,6 +3501,17 @@ module Aws::GuardDuty
|
|
|
3315
3501
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3316
3502
|
end)
|
|
3317
3503
|
|
|
3504
|
+
api.add_operation(:get_malware_scan, Seahorse::Model::Operation.new.tap do |o|
|
|
3505
|
+
o.name = "GetMalwareScan"
|
|
3506
|
+
o.http_method = "GET"
|
|
3507
|
+
o.http_request_uri = "/malware-scan/{scanId}"
|
|
3508
|
+
o.input = Shapes::ShapeRef.new(shape: GetMalwareScanRequest)
|
|
3509
|
+
o.output = Shapes::ShapeRef.new(shape: GetMalwareScanResponse)
|
|
3510
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
3511
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
3512
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3513
|
+
end)
|
|
3514
|
+
|
|
3318
3515
|
api.add_operation(:get_malware_scan_settings, Seahorse::Model::Operation.new.tap do |o|
|
|
3319
3516
|
o.name = "GetMalwareScanSettings"
|
|
3320
3517
|
o.http_method = "GET"
|
|
@@ -3539,6 +3736,22 @@ module Aws::GuardDuty
|
|
|
3539
3736
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
3540
3737
|
end)
|
|
3541
3738
|
|
|
3739
|
+
api.add_operation(:list_malware_scans, Seahorse::Model::Operation.new.tap do |o|
|
|
3740
|
+
o.name = "ListMalwareScans"
|
|
3741
|
+
o.http_method = "POST"
|
|
3742
|
+
o.http_request_uri = "/malware-scan"
|
|
3743
|
+
o.input = Shapes::ShapeRef.new(shape: ListMalwareScansRequest)
|
|
3744
|
+
o.output = Shapes::ShapeRef.new(shape: ListMalwareScansResponse)
|
|
3745
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
3746
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
3747
|
+
o[:pager] = Aws::Pager.new(
|
|
3748
|
+
limit_key: "max_results",
|
|
3749
|
+
tokens: {
|
|
3750
|
+
"next_token" => "next_token"
|
|
3751
|
+
}
|
|
3752
|
+
)
|
|
3753
|
+
end)
|
|
3754
|
+
|
|
3542
3755
|
api.add_operation(:list_members, Seahorse::Model::Operation.new.tap do |o|
|
|
3543
3756
|
o.name = "ListMembers"
|
|
3544
3757
|
o.http_method = "GET"
|