aws-sdk-guardduty 1.92.0 → 1.94.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +243 -3
- data/lib/aws-sdk-guardduty/client_api.rb +192 -0
- data/lib/aws-sdk-guardduty/endpoints.rb +70 -0
- data/lib/aws-sdk-guardduty/errors.rb +21 -0
- data/lib/aws-sdk-guardduty/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-guardduty/types.rb +473 -7
- data/lib/aws-sdk-guardduty.rb +1 -1
- data/sig/client.rbs +74 -0
- data/sig/errors.rbs +4 -0
- data/sig/types.rbs +132 -0
- metadata +4 -4
@@ -87,10 +87,14 @@ module Aws::GuardDuty
|
|
87
87
|
CreateFilterResponse = Shapes::StructureShape.new(name: 'CreateFilterResponse')
|
88
88
|
CreateIPSetRequest = Shapes::StructureShape.new(name: 'CreateIPSetRequest')
|
89
89
|
CreateIPSetResponse = Shapes::StructureShape.new(name: 'CreateIPSetResponse')
|
90
|
+
CreateMalwareProtectionPlanRequest = Shapes::StructureShape.new(name: 'CreateMalwareProtectionPlanRequest')
|
91
|
+
CreateMalwareProtectionPlanResponse = Shapes::StructureShape.new(name: 'CreateMalwareProtectionPlanResponse')
|
90
92
|
CreateMembersRequest = Shapes::StructureShape.new(name: 'CreateMembersRequest')
|
91
93
|
CreateMembersResponse = Shapes::StructureShape.new(name: 'CreateMembersResponse')
|
94
|
+
CreateProtectedResource = Shapes::StructureShape.new(name: 'CreateProtectedResource')
|
92
95
|
CreatePublishingDestinationRequest = Shapes::StructureShape.new(name: 'CreatePublishingDestinationRequest')
|
93
96
|
CreatePublishingDestinationResponse = Shapes::StructureShape.new(name: 'CreatePublishingDestinationResponse')
|
97
|
+
CreateS3BucketResource = Shapes::StructureShape.new(name: 'CreateS3BucketResource')
|
94
98
|
CreateSampleFindingsRequest = Shapes::StructureShape.new(name: 'CreateSampleFindingsRequest')
|
95
99
|
CreateSampleFindingsResponse = Shapes::StructureShape.new(name: 'CreateSampleFindingsResponse')
|
96
100
|
CreateThreatIntelSetRequest = Shapes::StructureShape.new(name: 'CreateThreatIntelSetRequest')
|
@@ -116,6 +120,7 @@ module Aws::GuardDuty
|
|
116
120
|
DeleteIPSetResponse = Shapes::StructureShape.new(name: 'DeleteIPSetResponse')
|
117
121
|
DeleteInvitationsRequest = Shapes::StructureShape.new(name: 'DeleteInvitationsRequest')
|
118
122
|
DeleteInvitationsResponse = Shapes::StructureShape.new(name: 'DeleteInvitationsResponse')
|
123
|
+
DeleteMalwareProtectionPlanRequest = Shapes::StructureShape.new(name: 'DeleteMalwareProtectionPlanRequest')
|
119
124
|
DeleteMembersRequest = Shapes::StructureShape.new(name: 'DeleteMembersRequest')
|
120
125
|
DeleteMembersResponse = Shapes::StructureShape.new(name: 'DeleteMembersResponse')
|
121
126
|
DeletePublishingDestinationRequest = Shapes::StructureShape.new(name: 'DeletePublishingDestinationRequest')
|
@@ -217,6 +222,8 @@ module Aws::GuardDuty
|
|
217
222
|
GetIPSetResponse = Shapes::StructureShape.new(name: 'GetIPSetResponse')
|
218
223
|
GetInvitationsCountRequest = Shapes::StructureShape.new(name: 'GetInvitationsCountRequest')
|
219
224
|
GetInvitationsCountResponse = Shapes::StructureShape.new(name: 'GetInvitationsCountResponse')
|
225
|
+
GetMalwareProtectionPlanRequest = Shapes::StructureShape.new(name: 'GetMalwareProtectionPlanRequest')
|
226
|
+
GetMalwareProtectionPlanResponse = Shapes::StructureShape.new(name: 'GetMalwareProtectionPlanResponse')
|
220
227
|
GetMalwareScanSettingsRequest = Shapes::StructureShape.new(name: 'GetMalwareScanSettingsRequest')
|
221
228
|
GetMalwareScanSettingsResponse = Shapes::StructureShape.new(name: 'GetMalwareScanSettingsResponse')
|
222
229
|
GetMasterAccountRequest = Shapes::StructureShape.new(name: 'GetMasterAccountRequest')
|
@@ -252,6 +259,8 @@ module Aws::GuardDuty
|
|
252
259
|
IpSetStatus = Shapes::StringShape.new(name: 'IpSetStatus')
|
253
260
|
Ipv6Addresses = Shapes::ListShape.new(name: 'Ipv6Addresses')
|
254
261
|
Issues = Shapes::ListShape.new(name: 'Issues')
|
262
|
+
ItemPath = Shapes::StructureShape.new(name: 'ItemPath')
|
263
|
+
ItemPaths = Shapes::ListShape.new(name: 'ItemPaths')
|
255
264
|
KubernetesApiCallAction = Shapes::StructureShape.new(name: 'KubernetesApiCallAction')
|
256
265
|
KubernetesAuditLogsConfiguration = Shapes::StructureShape.new(name: 'KubernetesAuditLogsConfiguration')
|
257
266
|
KubernetesAuditLogsConfigurationResult = Shapes::StructureShape.new(name: 'KubernetesAuditLogsConfigurationResult')
|
@@ -279,6 +288,8 @@ module Aws::GuardDuty
|
|
279
288
|
ListIPSetsResponse = Shapes::StructureShape.new(name: 'ListIPSetsResponse')
|
280
289
|
ListInvitationsRequest = Shapes::StructureShape.new(name: 'ListInvitationsRequest')
|
281
290
|
ListInvitationsResponse = Shapes::StructureShape.new(name: 'ListInvitationsResponse')
|
291
|
+
ListMalwareProtectionPlansRequest = Shapes::StructureShape.new(name: 'ListMalwareProtectionPlansRequest')
|
292
|
+
ListMalwareProtectionPlansResponse = Shapes::StructureShape.new(name: 'ListMalwareProtectionPlansResponse')
|
282
293
|
ListMembersRequest = Shapes::StructureShape.new(name: 'ListMembersRequest')
|
283
294
|
ListMembersResponse = Shapes::StructureShape.new(name: 'ListMembersResponse')
|
284
295
|
ListOrganizationAdminAccountsRequest = Shapes::StructureShape.new(name: 'ListOrganizationAdminAccountsRequest')
|
@@ -299,6 +310,16 @@ module Aws::GuardDuty
|
|
299
310
|
MalwareProtectionConfiguration = Shapes::StructureShape.new(name: 'MalwareProtectionConfiguration')
|
300
311
|
MalwareProtectionConfigurationResult = Shapes::StructureShape.new(name: 'MalwareProtectionConfigurationResult')
|
301
312
|
MalwareProtectionDataSourceFreeTrial = Shapes::StructureShape.new(name: 'MalwareProtectionDataSourceFreeTrial')
|
313
|
+
MalwareProtectionPlanActions = Shapes::StructureShape.new(name: 'MalwareProtectionPlanActions')
|
314
|
+
MalwareProtectionPlanObjectPrefixesList = Shapes::ListShape.new(name: 'MalwareProtectionPlanObjectPrefixesList')
|
315
|
+
MalwareProtectionPlanStatus = Shapes::StringShape.new(name: 'MalwareProtectionPlanStatus')
|
316
|
+
MalwareProtectionPlanStatusReason = Shapes::StructureShape.new(name: 'MalwareProtectionPlanStatusReason')
|
317
|
+
MalwareProtectionPlanStatusReasonsList = Shapes::ListShape.new(name: 'MalwareProtectionPlanStatusReasonsList')
|
318
|
+
MalwareProtectionPlanSummary = Shapes::StructureShape.new(name: 'MalwareProtectionPlanSummary')
|
319
|
+
MalwareProtectionPlanTaggingAction = Shapes::StructureShape.new(name: 'MalwareProtectionPlanTaggingAction')
|
320
|
+
MalwareProtectionPlanTaggingActionStatus = Shapes::StringShape.new(name: 'MalwareProtectionPlanTaggingActionStatus')
|
321
|
+
MalwareProtectionPlansSummary = Shapes::ListShape.new(name: 'MalwareProtectionPlansSummary')
|
322
|
+
MalwareScanDetails = Shapes::StructureShape.new(name: 'MalwareScanDetails')
|
302
323
|
ManagementType = Shapes::StringShape.new(name: 'ManagementType')
|
303
324
|
MapEquals = Shapes::ListShape.new(name: 'MapEquals')
|
304
325
|
Master = Shapes::StructureShape.new(name: 'Master')
|
@@ -383,6 +404,7 @@ module Aws::GuardDuty
|
|
383
404
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
384
405
|
ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
|
385
406
|
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
|
407
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
386
408
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
387
409
|
RuntimeContext = Shapes::StructureShape.new(name: 'RuntimeContext')
|
388
410
|
RuntimeDetails = Shapes::StructureShape.new(name: 'RuntimeDetails')
|
@@ -390,6 +412,8 @@ module Aws::GuardDuty
|
|
390
412
|
S3BucketDetails = Shapes::ListShape.new(name: 'S3BucketDetails')
|
391
413
|
S3LogsConfiguration = Shapes::StructureShape.new(name: 'S3LogsConfiguration')
|
392
414
|
S3LogsConfigurationResult = Shapes::StructureShape.new(name: 'S3LogsConfigurationResult')
|
415
|
+
S3ObjectDetail = Shapes::StructureShape.new(name: 'S3ObjectDetail')
|
416
|
+
S3ObjectDetails = Shapes::ListShape.new(name: 'S3ObjectDetails')
|
393
417
|
Scan = Shapes::StructureShape.new(name: 'Scan')
|
394
418
|
ScanCondition = Shapes::StructureShape.new(name: 'ScanCondition')
|
395
419
|
ScanConditionPair = Shapes::StructureShape.new(name: 'ScanConditionPair')
|
@@ -434,6 +458,7 @@ module Aws::GuardDuty
|
|
434
458
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
435
459
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
436
460
|
Tags = Shapes::ListShape.new(name: 'Tags')
|
461
|
+
Threat = Shapes::StructureShape.new(name: 'Threat')
|
437
462
|
ThreatDetectedByName = Shapes::StructureShape.new(name: 'ThreatDetectedByName')
|
438
463
|
ThreatIntelSetFormat = Shapes::StringShape.new(name: 'ThreatIntelSetFormat')
|
439
464
|
ThreatIntelSetIds = Shapes::ListShape.new(name: 'ThreatIntelSetIds')
|
@@ -441,6 +466,7 @@ module Aws::GuardDuty
|
|
441
466
|
ThreatIntelligenceDetail = Shapes::StructureShape.new(name: 'ThreatIntelligenceDetail')
|
442
467
|
ThreatIntelligenceDetails = Shapes::ListShape.new(name: 'ThreatIntelligenceDetails')
|
443
468
|
ThreatNames = Shapes::ListShape.new(name: 'ThreatNames')
|
469
|
+
Threats = Shapes::ListShape.new(name: 'Threats')
|
444
470
|
ThreatsDetectedItemCount = Shapes::StructureShape.new(name: 'ThreatsDetectedItemCount')
|
445
471
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
446
472
|
Total = Shapes::StructureShape.new(name: 'Total')
|
@@ -460,14 +486,17 @@ module Aws::GuardDuty
|
|
460
486
|
UpdateFindingsFeedbackResponse = Shapes::StructureShape.new(name: 'UpdateFindingsFeedbackResponse')
|
461
487
|
UpdateIPSetRequest = Shapes::StructureShape.new(name: 'UpdateIPSetRequest')
|
462
488
|
UpdateIPSetResponse = Shapes::StructureShape.new(name: 'UpdateIPSetResponse')
|
489
|
+
UpdateMalwareProtectionPlanRequest = Shapes::StructureShape.new(name: 'UpdateMalwareProtectionPlanRequest')
|
463
490
|
UpdateMalwareScanSettingsRequest = Shapes::StructureShape.new(name: 'UpdateMalwareScanSettingsRequest')
|
464
491
|
UpdateMalwareScanSettingsResponse = Shapes::StructureShape.new(name: 'UpdateMalwareScanSettingsResponse')
|
465
492
|
UpdateMemberDetectorsRequest = Shapes::StructureShape.new(name: 'UpdateMemberDetectorsRequest')
|
466
493
|
UpdateMemberDetectorsResponse = Shapes::StructureShape.new(name: 'UpdateMemberDetectorsResponse')
|
467
494
|
UpdateOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationRequest')
|
468
495
|
UpdateOrganizationConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationResponse')
|
496
|
+
UpdateProtectedResource = Shapes::StructureShape.new(name: 'UpdateProtectedResource')
|
469
497
|
UpdatePublishingDestinationRequest = Shapes::StructureShape.new(name: 'UpdatePublishingDestinationRequest')
|
470
498
|
UpdatePublishingDestinationResponse = Shapes::StructureShape.new(name: 'UpdatePublishingDestinationResponse')
|
499
|
+
UpdateS3BucketResource = Shapes::StructureShape.new(name: 'UpdateS3BucketResource')
|
471
500
|
UpdateThreatIntelSetRequest = Shapes::StructureShape.new(name: 'UpdateThreatIntelSetRequest')
|
472
501
|
UpdateThreatIntelSetResponse = Shapes::StructureShape.new(name: 'UpdateThreatIntelSetResponse')
|
473
502
|
UsageAccountResult = Shapes::StructureShape.new(name: 'UsageAccountResult')
|
@@ -785,6 +814,16 @@ module Aws::GuardDuty
|
|
785
814
|
CreateIPSetResponse.add_member(:ip_set_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipSetId"))
|
786
815
|
CreateIPSetResponse.struct_class = Types::CreateIPSetResponse
|
787
816
|
|
817
|
+
CreateMalwareProtectionPlanRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
818
|
+
CreateMalwareProtectionPlanRequest.add_member(:role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "role"))
|
819
|
+
CreateMalwareProtectionPlanRequest.add_member(:protected_resource, Shapes::ShapeRef.new(shape: CreateProtectedResource, required: true, location_name: "protectedResource"))
|
820
|
+
CreateMalwareProtectionPlanRequest.add_member(:actions, Shapes::ShapeRef.new(shape: MalwareProtectionPlanActions, location_name: "actions"))
|
821
|
+
CreateMalwareProtectionPlanRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
822
|
+
CreateMalwareProtectionPlanRequest.struct_class = Types::CreateMalwareProtectionPlanRequest
|
823
|
+
|
824
|
+
CreateMalwareProtectionPlanResponse.add_member(:malware_protection_plan_id, Shapes::ShapeRef.new(shape: String, location_name: "malwareProtectionPlanId"))
|
825
|
+
CreateMalwareProtectionPlanResponse.struct_class = Types::CreateMalwareProtectionPlanResponse
|
826
|
+
|
788
827
|
CreateMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
789
828
|
CreateMembersRequest.add_member(:account_details, Shapes::ShapeRef.new(shape: AccountDetails, required: true, location_name: "accountDetails"))
|
790
829
|
CreateMembersRequest.struct_class = Types::CreateMembersRequest
|
@@ -792,6 +831,9 @@ module Aws::GuardDuty
|
|
792
831
|
CreateMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, required: true, location_name: "unprocessedAccounts"))
|
793
832
|
CreateMembersResponse.struct_class = Types::CreateMembersResponse
|
794
833
|
|
834
|
+
CreateProtectedResource.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: CreateS3BucketResource, location_name: "s3Bucket"))
|
835
|
+
CreateProtectedResource.struct_class = Types::CreateProtectedResource
|
836
|
+
|
795
837
|
CreatePublishingDestinationRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
796
838
|
CreatePublishingDestinationRequest.add_member(:destination_type, Shapes::ShapeRef.new(shape: DestinationType, required: true, location_name: "destinationType"))
|
797
839
|
CreatePublishingDestinationRequest.add_member(:destination_properties, Shapes::ShapeRef.new(shape: DestinationProperties, required: true, location_name: "destinationProperties"))
|
@@ -801,6 +843,10 @@ module Aws::GuardDuty
|
|
801
843
|
CreatePublishingDestinationResponse.add_member(:destination_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "destinationId"))
|
802
844
|
CreatePublishingDestinationResponse.struct_class = Types::CreatePublishingDestinationResponse
|
803
845
|
|
846
|
+
CreateS3BucketResource.add_member(:bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "bucketName"))
|
847
|
+
CreateS3BucketResource.add_member(:object_prefixes, Shapes::ShapeRef.new(shape: MalwareProtectionPlanObjectPrefixesList, location_name: "objectPrefixes"))
|
848
|
+
CreateS3BucketResource.struct_class = Types::CreateS3BucketResource
|
849
|
+
|
804
850
|
CreateSampleFindingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
805
851
|
CreateSampleFindingsRequest.add_member(:finding_types, Shapes::ShapeRef.new(shape: FindingTypes, location_name: "findingTypes"))
|
806
852
|
CreateSampleFindingsRequest.struct_class = Types::CreateSampleFindingsRequest
|
@@ -884,6 +930,9 @@ module Aws::GuardDuty
|
|
884
930
|
DeleteInvitationsResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, required: true, location_name: "unprocessedAccounts"))
|
885
931
|
DeleteInvitationsResponse.struct_class = Types::DeleteInvitationsResponse
|
886
932
|
|
933
|
+
DeleteMalwareProtectionPlanRequest.add_member(:malware_protection_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "malwareProtectionPlanId"))
|
934
|
+
DeleteMalwareProtectionPlanRequest.struct_class = Types::DeleteMalwareProtectionPlanRequest
|
935
|
+
|
887
936
|
DeleteMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
888
937
|
DeleteMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
|
889
938
|
DeleteMembersRequest.struct_class = Types::DeleteMembersRequest
|
@@ -1211,6 +1260,19 @@ module Aws::GuardDuty
|
|
1211
1260
|
GetInvitationsCountResponse.add_member(:invitations_count, Shapes::ShapeRef.new(shape: Integer, location_name: "invitationsCount"))
|
1212
1261
|
GetInvitationsCountResponse.struct_class = Types::GetInvitationsCountResponse
|
1213
1262
|
|
1263
|
+
GetMalwareProtectionPlanRequest.add_member(:malware_protection_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "malwareProtectionPlanId"))
|
1264
|
+
GetMalwareProtectionPlanRequest.struct_class = Types::GetMalwareProtectionPlanRequest
|
1265
|
+
|
1266
|
+
GetMalwareProtectionPlanResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
1267
|
+
GetMalwareProtectionPlanResponse.add_member(:role, Shapes::ShapeRef.new(shape: String, location_name: "role"))
|
1268
|
+
GetMalwareProtectionPlanResponse.add_member(:protected_resource, Shapes::ShapeRef.new(shape: CreateProtectedResource, location_name: "protectedResource"))
|
1269
|
+
GetMalwareProtectionPlanResponse.add_member(:actions, Shapes::ShapeRef.new(shape: MalwareProtectionPlanActions, location_name: "actions"))
|
1270
|
+
GetMalwareProtectionPlanResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1271
|
+
GetMalwareProtectionPlanResponse.add_member(:status, Shapes::ShapeRef.new(shape: MalwareProtectionPlanStatus, location_name: "status"))
|
1272
|
+
GetMalwareProtectionPlanResponse.add_member(:status_reasons, Shapes::ShapeRef.new(shape: MalwareProtectionPlanStatusReasonsList, location_name: "statusReasons"))
|
1273
|
+
GetMalwareProtectionPlanResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1274
|
+
GetMalwareProtectionPlanResponse.struct_class = Types::GetMalwareProtectionPlanResponse
|
1275
|
+
|
1214
1276
|
GetMalwareScanSettingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
1215
1277
|
GetMalwareScanSettingsRequest.struct_class = Types::GetMalwareScanSettingsRequest
|
1216
1278
|
|
@@ -1334,6 +1396,12 @@ module Aws::GuardDuty
|
|
1334
1396
|
|
1335
1397
|
Issues.member = Shapes::ShapeRef.new(shape: String)
|
1336
1398
|
|
1399
|
+
ItemPath.add_member(:nested_item_path, Shapes::ShapeRef.new(shape: String, location_name: "nestedItemPath"))
|
1400
|
+
ItemPath.add_member(:hash, Shapes::ShapeRef.new(shape: String, location_name: "hash"))
|
1401
|
+
ItemPath.struct_class = Types::ItemPath
|
1402
|
+
|
1403
|
+
ItemPaths.member = Shapes::ShapeRef.new(shape: ItemPath)
|
1404
|
+
|
1337
1405
|
KubernetesApiCallAction.add_member(:request_uri, Shapes::ShapeRef.new(shape: String, location_name: "requestUri"))
|
1338
1406
|
KubernetesApiCallAction.add_member(:verb, Shapes::ShapeRef.new(shape: String, location_name: "verb"))
|
1339
1407
|
KubernetesApiCallAction.add_member(:source_ips, Shapes::ShapeRef.new(shape: SourceIps, location_name: "sourceIps"))
|
@@ -1483,6 +1551,13 @@ module Aws::GuardDuty
|
|
1483
1551
|
ListInvitationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1484
1552
|
ListInvitationsResponse.struct_class = Types::ListInvitationsResponse
|
1485
1553
|
|
1554
|
+
ListMalwareProtectionPlansRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
1555
|
+
ListMalwareProtectionPlansRequest.struct_class = Types::ListMalwareProtectionPlansRequest
|
1556
|
+
|
1557
|
+
ListMalwareProtectionPlansResponse.add_member(:malware_protection_plans, Shapes::ShapeRef.new(shape: MalwareProtectionPlansSummary, location_name: "malwareProtectionPlans"))
|
1558
|
+
ListMalwareProtectionPlansResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1559
|
+
ListMalwareProtectionPlansResponse.struct_class = Types::ListMalwareProtectionPlansResponse
|
1560
|
+
|
1486
1561
|
ListMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
1487
1562
|
ListMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1488
1563
|
ListMembersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
@@ -1551,6 +1626,28 @@ module Aws::GuardDuty
|
|
1551
1626
|
MalwareProtectionDataSourceFreeTrial.add_member(:scan_ec2_instance_with_findings, Shapes::ShapeRef.new(shape: DataSourceFreeTrial, location_name: "scanEc2InstanceWithFindings"))
|
1552
1627
|
MalwareProtectionDataSourceFreeTrial.struct_class = Types::MalwareProtectionDataSourceFreeTrial
|
1553
1628
|
|
1629
|
+
MalwareProtectionPlanActions.add_member(:tagging, Shapes::ShapeRef.new(shape: MalwareProtectionPlanTaggingAction, location_name: "tagging"))
|
1630
|
+
MalwareProtectionPlanActions.struct_class = Types::MalwareProtectionPlanActions
|
1631
|
+
|
1632
|
+
MalwareProtectionPlanObjectPrefixesList.member = Shapes::ShapeRef.new(shape: String)
|
1633
|
+
|
1634
|
+
MalwareProtectionPlanStatusReason.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "code"))
|
1635
|
+
MalwareProtectionPlanStatusReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
1636
|
+
MalwareProtectionPlanStatusReason.struct_class = Types::MalwareProtectionPlanStatusReason
|
1637
|
+
|
1638
|
+
MalwareProtectionPlanStatusReasonsList.member = Shapes::ShapeRef.new(shape: MalwareProtectionPlanStatusReason)
|
1639
|
+
|
1640
|
+
MalwareProtectionPlanSummary.add_member(:malware_protection_plan_id, Shapes::ShapeRef.new(shape: String, location_name: "malwareProtectionPlanId"))
|
1641
|
+
MalwareProtectionPlanSummary.struct_class = Types::MalwareProtectionPlanSummary
|
1642
|
+
|
1643
|
+
MalwareProtectionPlanTaggingAction.add_member(:status, Shapes::ShapeRef.new(shape: MalwareProtectionPlanTaggingActionStatus, location_name: "status"))
|
1644
|
+
MalwareProtectionPlanTaggingAction.struct_class = Types::MalwareProtectionPlanTaggingAction
|
1645
|
+
|
1646
|
+
MalwareProtectionPlansSummary.member = Shapes::ShapeRef.new(shape: MalwareProtectionPlanSummary)
|
1647
|
+
|
1648
|
+
MalwareScanDetails.add_member(:threats, Shapes::ShapeRef.new(shape: Threats, location_name: "threats"))
|
1649
|
+
MalwareScanDetails.struct_class = Types::MalwareScanDetails
|
1650
|
+
|
1554
1651
|
MapEquals.member = Shapes::ShapeRef.new(shape: ScanConditionPair)
|
1555
1652
|
|
1556
1653
|
Master.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
@@ -1845,6 +1942,10 @@ module Aws::GuardDuty
|
|
1845
1942
|
|
1846
1943
|
ResourceList.member = Shapes::ShapeRef.new(shape: String)
|
1847
1944
|
|
1945
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
1946
|
+
ResourceNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "__type"))
|
1947
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
1948
|
+
|
1848
1949
|
RuntimeContext.add_member(:modifying_process, Shapes::ShapeRef.new(shape: ProcessDetails, location_name: "modifyingProcess"))
|
1849
1950
|
RuntimeContext.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedAt"))
|
1850
1951
|
RuntimeContext.add_member(:script_path, Shapes::ShapeRef.new(shape: String, location_name: "scriptPath"))
|
@@ -1884,6 +1985,7 @@ module Aws::GuardDuty
|
|
1884
1985
|
S3BucketDetail.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1885
1986
|
S3BucketDetail.add_member(:default_server_side_encryption, Shapes::ShapeRef.new(shape: DefaultServerSideEncryption, location_name: "defaultServerSideEncryption"))
|
1886
1987
|
S3BucketDetail.add_member(:public_access, Shapes::ShapeRef.new(shape: PublicAccess, location_name: "publicAccess"))
|
1988
|
+
S3BucketDetail.add_member(:s3_object_details, Shapes::ShapeRef.new(shape: S3ObjectDetails, location_name: "s3ObjectDetails"))
|
1887
1989
|
S3BucketDetail.struct_class = Types::S3BucketDetail
|
1888
1990
|
|
1889
1991
|
S3BucketDetails.member = Shapes::ShapeRef.new(shape: S3BucketDetail)
|
@@ -1894,6 +1996,15 @@ module Aws::GuardDuty
|
|
1894
1996
|
S3LogsConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, required: true, location_name: "status"))
|
1895
1997
|
S3LogsConfigurationResult.struct_class = Types::S3LogsConfigurationResult
|
1896
1998
|
|
1999
|
+
S3ObjectDetail.add_member(:object_arn, Shapes::ShapeRef.new(shape: String, location_name: "objectArn"))
|
2000
|
+
S3ObjectDetail.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
|
2001
|
+
S3ObjectDetail.add_member(:etag, Shapes::ShapeRef.new(shape: String, location_name: "eTag"))
|
2002
|
+
S3ObjectDetail.add_member(:hash, Shapes::ShapeRef.new(shape: String, location_name: "hash"))
|
2003
|
+
S3ObjectDetail.add_member(:version_id, Shapes::ShapeRef.new(shape: String, location_name: "versionId"))
|
2004
|
+
S3ObjectDetail.struct_class = Types::S3ObjectDetail
|
2005
|
+
|
2006
|
+
S3ObjectDetails.member = Shapes::ShapeRef.new(shape: S3ObjectDetail)
|
2007
|
+
|
1897
2008
|
Scan.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "detectorId"))
|
1898
2009
|
Scan.add_member(:admin_detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "adminDetectorId"))
|
1899
2010
|
Scan.add_member(:scan_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "scanId"))
|
@@ -1986,6 +2097,7 @@ module Aws::GuardDuty
|
|
1986
2097
|
Service.add_member(:ebs_volume_scan_details, Shapes::ShapeRef.new(shape: EbsVolumeScanDetails, location_name: "ebsVolumeScanDetails"))
|
1987
2098
|
Service.add_member(:runtime_details, Shapes::ShapeRef.new(shape: RuntimeDetails, location_name: "runtimeDetails"))
|
1988
2099
|
Service.add_member(:detection, Shapes::ShapeRef.new(shape: Detection, location_name: "detection"))
|
2100
|
+
Service.add_member(:malware_scan_details, Shapes::ShapeRef.new(shape: MalwareScanDetails, location_name: "malwareScanDetails"))
|
1989
2101
|
Service.struct_class = Types::Service
|
1990
2102
|
|
1991
2103
|
ServiceAdditionalInfo.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
@@ -2041,6 +2153,11 @@ module Aws::GuardDuty
|
|
2041
2153
|
|
2042
2154
|
Tags.member = Shapes::ShapeRef.new(shape: Tag)
|
2043
2155
|
|
2156
|
+
Threat.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
2157
|
+
Threat.add_member(:source, Shapes::ShapeRef.new(shape: String, location_name: "source"))
|
2158
|
+
Threat.add_member(:item_paths, Shapes::ShapeRef.new(shape: ItemPaths, location_name: "itemPaths"))
|
2159
|
+
Threat.struct_class = Types::Threat
|
2160
|
+
|
2044
2161
|
ThreatDetectedByName.add_member(:item_count, Shapes::ShapeRef.new(shape: Integer, location_name: "itemCount"))
|
2045
2162
|
ThreatDetectedByName.add_member(:unique_threat_name_count, Shapes::ShapeRef.new(shape: Integer, location_name: "uniqueThreatNameCount"))
|
2046
2163
|
ThreatDetectedByName.add_member(:shortened, Shapes::ShapeRef.new(shape: Boolean, location_name: "shortened"))
|
@@ -2058,6 +2175,8 @@ module Aws::GuardDuty
|
|
2058
2175
|
|
2059
2176
|
ThreatNames.member = Shapes::ShapeRef.new(shape: String)
|
2060
2177
|
|
2178
|
+
Threats.member = Shapes::ShapeRef.new(shape: Threat)
|
2179
|
+
|
2061
2180
|
ThreatsDetectedItemCount.add_member(:files, Shapes::ShapeRef.new(shape: Integer, location_name: "files"))
|
2062
2181
|
ThreatsDetectedItemCount.struct_class = Types::ThreatsDetectedItemCount
|
2063
2182
|
|
@@ -2127,6 +2246,12 @@ module Aws::GuardDuty
|
|
2127
2246
|
|
2128
2247
|
UpdateIPSetResponse.struct_class = Types::UpdateIPSetResponse
|
2129
2248
|
|
2249
|
+
UpdateMalwareProtectionPlanRequest.add_member(:malware_protection_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "malwareProtectionPlanId"))
|
2250
|
+
UpdateMalwareProtectionPlanRequest.add_member(:role, Shapes::ShapeRef.new(shape: String, location_name: "role"))
|
2251
|
+
UpdateMalwareProtectionPlanRequest.add_member(:actions, Shapes::ShapeRef.new(shape: MalwareProtectionPlanActions, location_name: "actions"))
|
2252
|
+
UpdateMalwareProtectionPlanRequest.add_member(:protected_resource, Shapes::ShapeRef.new(shape: UpdateProtectedResource, location_name: "protectedResource"))
|
2253
|
+
UpdateMalwareProtectionPlanRequest.struct_class = Types::UpdateMalwareProtectionPlanRequest
|
2254
|
+
|
2130
2255
|
UpdateMalwareScanSettingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
2131
2256
|
UpdateMalwareScanSettingsRequest.add_member(:scan_resource_criteria, Shapes::ShapeRef.new(shape: ScanResourceCriteria, location_name: "scanResourceCriteria"))
|
2132
2257
|
UpdateMalwareScanSettingsRequest.add_member(:ebs_snapshot_preservation, Shapes::ShapeRef.new(shape: EbsSnapshotPreservation, location_name: "ebsSnapshotPreservation"))
|
@@ -2152,6 +2277,9 @@ module Aws::GuardDuty
|
|
2152
2277
|
|
2153
2278
|
UpdateOrganizationConfigurationResponse.struct_class = Types::UpdateOrganizationConfigurationResponse
|
2154
2279
|
|
2280
|
+
UpdateProtectedResource.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: UpdateS3BucketResource, location_name: "s3Bucket"))
|
2281
|
+
UpdateProtectedResource.struct_class = Types::UpdateProtectedResource
|
2282
|
+
|
2155
2283
|
UpdatePublishingDestinationRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
2156
2284
|
UpdatePublishingDestinationRequest.add_member(:destination_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "destinationId"))
|
2157
2285
|
UpdatePublishingDestinationRequest.add_member(:destination_properties, Shapes::ShapeRef.new(shape: DestinationProperties, location_name: "destinationProperties"))
|
@@ -2159,6 +2287,9 @@ module Aws::GuardDuty
|
|
2159
2287
|
|
2160
2288
|
UpdatePublishingDestinationResponse.struct_class = Types::UpdatePublishingDestinationResponse
|
2161
2289
|
|
2290
|
+
UpdateS3BucketResource.add_member(:object_prefixes, Shapes::ShapeRef.new(shape: MalwareProtectionPlanObjectPrefixesList, location_name: "objectPrefixes"))
|
2291
|
+
UpdateS3BucketResource.struct_class = Types::UpdateS3BucketResource
|
2292
|
+
|
2162
2293
|
UpdateThreatIntelSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
2163
2294
|
UpdateThreatIntelSetRequest.add_member(:threat_intel_set_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "threatIntelSetId"))
|
2164
2295
|
UpdateThreatIntelSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
@@ -2256,9 +2387,11 @@ module Aws::GuardDuty
|
|
2256
2387
|
|
2257
2388
|
api.metadata = {
|
2258
2389
|
"apiVersion" => "2017-11-28",
|
2390
|
+
"auth" => ["aws.auth#sigv4"],
|
2259
2391
|
"endpointPrefix" => "guardduty",
|
2260
2392
|
"jsonVersion" => "1.1",
|
2261
2393
|
"protocol" => "rest-json",
|
2394
|
+
"protocols" => ["rest-json"],
|
2262
2395
|
"serviceFullName" => "Amazon GuardDuty",
|
2263
2396
|
"serviceId" => "GuardDuty",
|
2264
2397
|
"signatureVersion" => "v4",
|
@@ -2327,6 +2460,18 @@ module Aws::GuardDuty
|
|
2327
2460
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2328
2461
|
end)
|
2329
2462
|
|
2463
|
+
api.add_operation(:create_malware_protection_plan, Seahorse::Model::Operation.new.tap do |o|
|
2464
|
+
o.name = "CreateMalwareProtectionPlan"
|
2465
|
+
o.http_method = "POST"
|
2466
|
+
o.http_request_uri = "/malware-protection-plan"
|
2467
|
+
o.input = Shapes::ShapeRef.new(shape: CreateMalwareProtectionPlanRequest)
|
2468
|
+
o.output = Shapes::ShapeRef.new(shape: CreateMalwareProtectionPlanResponse)
|
2469
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2470
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2471
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2472
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2473
|
+
end)
|
2474
|
+
|
2330
2475
|
api.add_operation(:create_members, Seahorse::Model::Operation.new.tap do |o|
|
2331
2476
|
o.name = "CreateMembers"
|
2332
2477
|
o.http_method = "POST"
|
@@ -2417,6 +2562,18 @@ module Aws::GuardDuty
|
|
2417
2562
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2418
2563
|
end)
|
2419
2564
|
|
2565
|
+
api.add_operation(:delete_malware_protection_plan, Seahorse::Model::Operation.new.tap do |o|
|
2566
|
+
o.name = "DeleteMalwareProtectionPlan"
|
2567
|
+
o.http_method = "DELETE"
|
2568
|
+
o.http_request_uri = "/malware-protection-plan/{malwareProtectionPlanId}"
|
2569
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteMalwareProtectionPlanRequest)
|
2570
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2571
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2572
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2573
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2574
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2575
|
+
end)
|
2576
|
+
|
2420
2577
|
api.add_operation(:delete_members, Seahorse::Model::Operation.new.tap do |o|
|
2421
2578
|
o.name = "DeleteMembers"
|
2422
2579
|
o.http_method = "POST"
|
@@ -2620,6 +2777,18 @@ module Aws::GuardDuty
|
|
2620
2777
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2621
2778
|
end)
|
2622
2779
|
|
2780
|
+
api.add_operation(:get_malware_protection_plan, Seahorse::Model::Operation.new.tap do |o|
|
2781
|
+
o.name = "GetMalwareProtectionPlan"
|
2782
|
+
o.http_method = "GET"
|
2783
|
+
o.http_request_uri = "/malware-protection-plan/{malwareProtectionPlanId}"
|
2784
|
+
o.input = Shapes::ShapeRef.new(shape: GetMalwareProtectionPlanRequest)
|
2785
|
+
o.output = Shapes::ShapeRef.new(shape: GetMalwareProtectionPlanResponse)
|
2786
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2787
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2788
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2789
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2790
|
+
end)
|
2791
|
+
|
2623
2792
|
api.add_operation(:get_malware_scan_settings, Seahorse::Model::Operation.new.tap do |o|
|
2624
2793
|
o.name = "GetMalwareScanSettings"
|
2625
2794
|
o.http_method = "GET"
|
@@ -2813,6 +2982,17 @@ module Aws::GuardDuty
|
|
2813
2982
|
)
|
2814
2983
|
end)
|
2815
2984
|
|
2985
|
+
api.add_operation(:list_malware_protection_plans, Seahorse::Model::Operation.new.tap do |o|
|
2986
|
+
o.name = "ListMalwareProtectionPlans"
|
2987
|
+
o.http_method = "GET"
|
2988
|
+
o.http_request_uri = "/malware-protection-plan"
|
2989
|
+
o.input = Shapes::ShapeRef.new(shape: ListMalwareProtectionPlansRequest)
|
2990
|
+
o.output = Shapes::ShapeRef.new(shape: ListMalwareProtectionPlansResponse)
|
2991
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2992
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2993
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2994
|
+
end)
|
2995
|
+
|
2816
2996
|
api.add_operation(:list_members, Seahorse::Model::Operation.new.tap do |o|
|
2817
2997
|
o.name = "ListMembers"
|
2818
2998
|
o.http_method = "GET"
|
@@ -2991,6 +3171,18 @@ module Aws::GuardDuty
|
|
2991
3171
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2992
3172
|
end)
|
2993
3173
|
|
3174
|
+
api.add_operation(:update_malware_protection_plan, Seahorse::Model::Operation.new.tap do |o|
|
3175
|
+
o.name = "UpdateMalwareProtectionPlan"
|
3176
|
+
o.http_method = "PATCH"
|
3177
|
+
o.http_request_uri = "/malware-protection-plan/{malwareProtectionPlanId}"
|
3178
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateMalwareProtectionPlanRequest)
|
3179
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
3180
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3181
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3182
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3183
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3184
|
+
end)
|
3185
|
+
|
2994
3186
|
api.add_operation(:update_malware_scan_settings, Seahorse::Model::Operation.new.tap do |o|
|
2995
3187
|
o.name = "UpdateMalwareScanSettings"
|
2996
3188
|
o.http_method = "POST"
|
@@ -96,6 +96,20 @@ module Aws::GuardDuty
|
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
99
|
+
class CreateMalwareProtectionPlan
|
100
|
+
def self.build(context)
|
101
|
+
unless context.config.regional_endpoint
|
102
|
+
endpoint = context.config.endpoint.to_s
|
103
|
+
end
|
104
|
+
Aws::GuardDuty::EndpointParameters.new(
|
105
|
+
region: context.config.region,
|
106
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
107
|
+
use_fips: context.config.use_fips_endpoint,
|
108
|
+
endpoint: endpoint,
|
109
|
+
)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
99
113
|
class CreateMembers
|
100
114
|
def self.build(context)
|
101
115
|
unless context.config.regional_endpoint
|
@@ -222,6 +236,20 @@ module Aws::GuardDuty
|
|
222
236
|
end
|
223
237
|
end
|
224
238
|
|
239
|
+
class DeleteMalwareProtectionPlan
|
240
|
+
def self.build(context)
|
241
|
+
unless context.config.regional_endpoint
|
242
|
+
endpoint = context.config.endpoint.to_s
|
243
|
+
end
|
244
|
+
Aws::GuardDuty::EndpointParameters.new(
|
245
|
+
region: context.config.region,
|
246
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
247
|
+
use_fips: context.config.use_fips_endpoint,
|
248
|
+
endpoint: endpoint,
|
249
|
+
)
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
225
253
|
class DeleteMembers
|
226
254
|
def self.build(context)
|
227
255
|
unless context.config.regional_endpoint
|
@@ -488,6 +516,20 @@ module Aws::GuardDuty
|
|
488
516
|
end
|
489
517
|
end
|
490
518
|
|
519
|
+
class GetMalwareProtectionPlan
|
520
|
+
def self.build(context)
|
521
|
+
unless context.config.regional_endpoint
|
522
|
+
endpoint = context.config.endpoint.to_s
|
523
|
+
end
|
524
|
+
Aws::GuardDuty::EndpointParameters.new(
|
525
|
+
region: context.config.region,
|
526
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
527
|
+
use_fips: context.config.use_fips_endpoint,
|
528
|
+
endpoint: endpoint,
|
529
|
+
)
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
491
533
|
class GetMalwareScanSettings
|
492
534
|
def self.build(context)
|
493
535
|
unless context.config.regional_endpoint
|
@@ -698,6 +740,20 @@ module Aws::GuardDuty
|
|
698
740
|
end
|
699
741
|
end
|
700
742
|
|
743
|
+
class ListMalwareProtectionPlans
|
744
|
+
def self.build(context)
|
745
|
+
unless context.config.regional_endpoint
|
746
|
+
endpoint = context.config.endpoint.to_s
|
747
|
+
end
|
748
|
+
Aws::GuardDuty::EndpointParameters.new(
|
749
|
+
region: context.config.region,
|
750
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
751
|
+
use_fips: context.config.use_fips_endpoint,
|
752
|
+
endpoint: endpoint,
|
753
|
+
)
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
701
757
|
class ListMembers
|
702
758
|
def self.build(context)
|
703
759
|
unless context.config.regional_endpoint
|
@@ -908,6 +964,20 @@ module Aws::GuardDuty
|
|
908
964
|
end
|
909
965
|
end
|
910
966
|
|
967
|
+
class UpdateMalwareProtectionPlan
|
968
|
+
def self.build(context)
|
969
|
+
unless context.config.regional_endpoint
|
970
|
+
endpoint = context.config.endpoint.to_s
|
971
|
+
end
|
972
|
+
Aws::GuardDuty::EndpointParameters.new(
|
973
|
+
region: context.config.region,
|
974
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
975
|
+
use_fips: context.config.use_fips_endpoint,
|
976
|
+
endpoint: endpoint,
|
977
|
+
)
|
978
|
+
end
|
979
|
+
end
|
980
|
+
|
911
981
|
class UpdateMalwareScanSettings
|
912
982
|
def self.build(context)
|
913
983
|
unless context.config.regional_endpoint
|
@@ -31,6 +31,7 @@ module Aws::GuardDuty
|
|
31
31
|
# * {BadRequestException}
|
32
32
|
# * {ConflictException}
|
33
33
|
# * {InternalServerErrorException}
|
34
|
+
# * {ResourceNotFoundException}
|
34
35
|
#
|
35
36
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
36
37
|
# if they are not defined above.
|
@@ -118,5 +119,25 @@ module Aws::GuardDuty
|
|
118
119
|
end
|
119
120
|
end
|
120
121
|
|
122
|
+
class ResourceNotFoundException < ServiceError
|
123
|
+
|
124
|
+
# @param [Seahorse::Client::RequestContext] context
|
125
|
+
# @param [String] message
|
126
|
+
# @param [Aws::GuardDuty::Types::ResourceNotFoundException] data
|
127
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
128
|
+
super(context, message, data)
|
129
|
+
end
|
130
|
+
|
131
|
+
# @return [String]
|
132
|
+
def message
|
133
|
+
@message || @data[:message]
|
134
|
+
end
|
135
|
+
|
136
|
+
# @return [String]
|
137
|
+
def type
|
138
|
+
@data[:type]
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
121
142
|
end
|
122
143
|
end
|
@@ -70,6 +70,8 @@ module Aws::GuardDuty
|
|
70
70
|
Aws::GuardDuty::Endpoints::CreateFilter.build(context)
|
71
71
|
when :create_ip_set
|
72
72
|
Aws::GuardDuty::Endpoints::CreateIPSet.build(context)
|
73
|
+
when :create_malware_protection_plan
|
74
|
+
Aws::GuardDuty::Endpoints::CreateMalwareProtectionPlan.build(context)
|
73
75
|
when :create_members
|
74
76
|
Aws::GuardDuty::Endpoints::CreateMembers.build(context)
|
75
77
|
when :create_publishing_destination
|
@@ -88,6 +90,8 @@ module Aws::GuardDuty
|
|
88
90
|
Aws::GuardDuty::Endpoints::DeleteIPSet.build(context)
|
89
91
|
when :delete_invitations
|
90
92
|
Aws::GuardDuty::Endpoints::DeleteInvitations.build(context)
|
93
|
+
when :delete_malware_protection_plan
|
94
|
+
Aws::GuardDuty::Endpoints::DeleteMalwareProtectionPlan.build(context)
|
91
95
|
when :delete_members
|
92
96
|
Aws::GuardDuty::Endpoints::DeleteMembers.build(context)
|
93
97
|
when :delete_publishing_destination
|
@@ -126,6 +130,8 @@ module Aws::GuardDuty
|
|
126
130
|
Aws::GuardDuty::Endpoints::GetIPSet.build(context)
|
127
131
|
when :get_invitations_count
|
128
132
|
Aws::GuardDuty::Endpoints::GetInvitationsCount.build(context)
|
133
|
+
when :get_malware_protection_plan
|
134
|
+
Aws::GuardDuty::Endpoints::GetMalwareProtectionPlan.build(context)
|
129
135
|
when :get_malware_scan_settings
|
130
136
|
Aws::GuardDuty::Endpoints::GetMalwareScanSettings.build(context)
|
131
137
|
when :get_master_account
|
@@ -156,6 +162,8 @@ module Aws::GuardDuty
|
|
156
162
|
Aws::GuardDuty::Endpoints::ListIPSets.build(context)
|
157
163
|
when :list_invitations
|
158
164
|
Aws::GuardDuty::Endpoints::ListInvitations.build(context)
|
165
|
+
when :list_malware_protection_plans
|
166
|
+
Aws::GuardDuty::Endpoints::ListMalwareProtectionPlans.build(context)
|
159
167
|
when :list_members
|
160
168
|
Aws::GuardDuty::Endpoints::ListMembers.build(context)
|
161
169
|
when :list_organization_admin_accounts
|
@@ -186,6 +194,8 @@ module Aws::GuardDuty
|
|
186
194
|
Aws::GuardDuty::Endpoints::UpdateFindingsFeedback.build(context)
|
187
195
|
when :update_ip_set
|
188
196
|
Aws::GuardDuty::Endpoints::UpdateIPSet.build(context)
|
197
|
+
when :update_malware_protection_plan
|
198
|
+
Aws::GuardDuty::Endpoints::UpdateMalwareProtectionPlan.build(context)
|
189
199
|
when :update_malware_scan_settings
|
190
200
|
Aws::GuardDuty::Endpoints::UpdateMalwareScanSettings.build(context)
|
191
201
|
when :update_member_detectors
|