aws-sdk-guardduty 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61864b87bea09903a5e5f39794cbb5c8b06770b5
4
- data.tar.gz: 5ba00e29a12d64d5ce448006c34348f67fdc2270
3
+ metadata.gz: 5cba91410d5791220c666f98ffec5fb0ecaee061
4
+ data.tar.gz: 59f6b26ce8bebd8f7ea2161ac994985a73b2d080
5
5
  SHA512:
6
- metadata.gz: 38177a6964aa64c1f097245ad05df132016f729844bf94e63d07d15f579f75031fc3686bdb59400bb77ead02b0d936466fe39b9681c57ea8c035e4ad89ab87d8
7
- data.tar.gz: 34f34041f4f35808187c400f8c5d9b312f503f54e253cabd43935efb784ac5587fef0b63889acd81bfca3024f82c210d76ec4d410678654e497e7ba9a84a0957
6
+ metadata.gz: 6efa76e2b56c8f0b8e4785b2355a504ae71451d4bb32ec2f3caa35867e43e0da7679d01da238d32fe068d5813e1a6b8dd446394533e33f9c0f02adf611a45a57
7
+ data.tar.gz: e89210783484c9fba0b57473e437736cd6f85cad169632ec98366185e9e0fbcb81f4f4286daa0a6922cbe52e09374e3533bd8f6f39f122877a362d1d76b90b65
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-guardduty/customizations'
42
42
  # @service
43
43
  module Aws::GuardDuty
44
44
 
45
- GEM_VERSION = '1.7.0'
45
+ GEM_VERSION = '1.8.0'
46
46
 
47
47
  end
@@ -180,11 +180,11 @@ module Aws::GuardDuty
180
180
  #
181
181
  # @option params [required, String] :detector_id
182
182
  #
183
- # @option params [String] :invitation_id
183
+ # @option params [required, String] :invitation_id
184
184
  # This value is used to validate the master account to the member
185
185
  # account.
186
186
  #
187
- # @option params [String] :master_id
187
+ # @option params [required, String] :master_id
188
188
  # The account ID of the master GuardDuty account whose invitation
189
189
  # you're accepting.
190
190
  #
@@ -194,8 +194,8 @@ module Aws::GuardDuty
194
194
  #
195
195
  # resp = client.accept_invitation({
196
196
  # detector_id: "__string", # required
197
- # invitation_id: "InvitationId",
198
- # master_id: "MasterId",
197
+ # invitation_id: "InvitationId", # required
198
+ # master_id: "MasterId", # required
199
199
  # })
200
200
  #
201
201
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitation AWS API Documentation
@@ -212,7 +212,7 @@ module Aws::GuardDuty
212
212
  #
213
213
  # @option params [required, String] :detector_id
214
214
  #
215
- # @option params [Array<String>] :finding_ids
215
+ # @option params [required, Array<String>] :finding_ids
216
216
  # IDs of the findings that you want to archive.
217
217
  #
218
218
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -221,7 +221,7 @@ module Aws::GuardDuty
221
221
  #
222
222
  # resp = client.archive_findings({
223
223
  # detector_id: "__string", # required
224
- # finding_ids: ["FindingId"],
224
+ # finding_ids: ["FindingId"], # required
225
225
  # })
226
226
  #
227
227
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindings AWS API Documentation
@@ -237,9 +237,17 @@ module Aws::GuardDuty
237
237
  # that represents the GuardDuty service. A detector must be created in
238
238
  # order for GuardDuty to become operational.
239
239
  #
240
- # @option params [Boolean] :enable
240
+ # @option params [String] :client_token
241
+ # The idempotency token for the create request.**A suitable default value is auto-generated.** You should normally
242
+ # not need to pass this option.**
243
+ #
244
+ # @option params [required, Boolean] :enable
241
245
  # A boolean value that specifies whether the detector is to be enabled.
242
246
  #
247
+ # @option params [String] :finding_publishing_frequency
248
+ # A enum value that specifies how frequently customer got Finding
249
+ # updates published.
250
+ #
243
251
  # @return [Types::CreateDetectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
244
252
  #
245
253
  # * {Types::CreateDetectorResponse#detector_id #detector_id} => String
@@ -247,7 +255,9 @@ module Aws::GuardDuty
247
255
  # @example Request syntax with placeholder values
248
256
  #
249
257
  # resp = client.create_detector({
250
- # enable: false,
258
+ # client_token: "__stringMin0Max64",
259
+ # enable: false, # required
260
+ # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
251
261
  # })
252
262
  #
253
263
  # @example Response structure
@@ -278,11 +288,11 @@ module Aws::GuardDuty
278
288
  #
279
289
  # @option params [required, String] :detector_id
280
290
  #
281
- # @option params [Types::FindingCriteria] :finding_criteria
291
+ # @option params [required, Types::FindingCriteria] :finding_criteria
282
292
  # Represents the criteria to be used in the filter for querying
283
293
  # findings.
284
294
  #
285
- # @option params [String] :name
295
+ # @option params [required, String] :name
286
296
  # The name of the filter.
287
297
  #
288
298
  # @option params [Integer] :rank
@@ -301,7 +311,7 @@ module Aws::GuardDuty
301
311
  # client_token: "__stringMin0Max64",
302
312
  # description: "FilterDescription",
303
313
  # detector_id: "__string", # required
304
- # finding_criteria: {
314
+ # finding_criteria: { # required
305
315
  # criterion: {
306
316
  # "__string" => {
307
317
  # eq: ["__string"],
@@ -313,7 +323,7 @@ module Aws::GuardDuty
313
323
  # },
314
324
  # },
315
325
  # },
316
- # name: "FilterName",
326
+ # name: "FilterName", # required
317
327
  # rank: 1,
318
328
  # })
319
329
  #
@@ -334,20 +344,24 @@ module Aws::GuardDuty
334
344
  # whitelisted for secure communication with AWS infrastructure and
335
345
  # applications.
336
346
  #
337
- # @option params [Boolean] :activate
347
+ # @option params [required, Boolean] :activate
338
348
  # A boolean value that indicates whether GuardDuty is to start using the
339
349
  # uploaded IPSet.
340
350
  #
351
+ # @option params [String] :client_token
352
+ # The idempotency token for the create request.**A suitable default value is auto-generated.** You should normally
353
+ # not need to pass this option.**
354
+ #
341
355
  # @option params [required, String] :detector_id
342
356
  #
343
- # @option params [String] :format
357
+ # @option params [required, String] :format
344
358
  # The format of the file that contains the IPSet.
345
359
  #
346
- # @option params [String] :location
360
+ # @option params [required, String] :location
347
361
  # The URI of the file that contains the IPSet. For example
348
362
  # (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
349
363
  #
350
- # @option params [String] :name
364
+ # @option params [required, String] :name
351
365
  # The user friendly name to identify the IPSet. This name is displayed
352
366
  # in all findings that are triggered by activity that involves IP
353
367
  # addresses included in this IPSet.
@@ -359,11 +373,12 @@ module Aws::GuardDuty
359
373
  # @example Request syntax with placeholder values
360
374
  #
361
375
  # resp = client.create_ip_set({
362
- # activate: false,
376
+ # activate: false, # required
377
+ # client_token: "__stringMin0Max64",
363
378
  # detector_id: "__string", # required
364
- # format: "TXT", # accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
365
- # location: "Location",
366
- # name: "Name",
379
+ # format: "TXT", # required, accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
380
+ # location: "Location", # required
381
+ # name: "Name", # required
367
382
  # })
368
383
  #
369
384
  # @example Response structure
@@ -383,7 +398,7 @@ module Aws::GuardDuty
383
398
  # list of AWS account IDs. The current AWS account can then invite these
384
399
  # members to manage GuardDuty in their accounts.
385
400
  #
386
- # @option params [Array<Types::AccountDetail>] :account_details
401
+ # @option params [required, Array<Types::AccountDetail>] :account_details
387
402
  # A list of account ID and email address pairs of the accounts that you
388
403
  # want to associate with the master GuardDuty account.
389
404
  #
@@ -396,7 +411,7 @@ module Aws::GuardDuty
396
411
  # @example Request syntax with placeholder values
397
412
  #
398
413
  # resp = client.create_members({
399
- # account_details: [
414
+ # account_details: [ # required
400
415
  # {
401
416
  # account_id: "AccountId", # required
402
417
  # email: "Email", # required
@@ -451,20 +466,24 @@ module Aws::GuardDuty
451
466
  # malicious IP addresses. GuardDuty generates findings based on
452
467
  # ThreatIntelSets.
453
468
  #
454
- # @option params [Boolean] :activate
469
+ # @option params [required, Boolean] :activate
455
470
  # A boolean value that indicates whether GuardDuty is to start using the
456
471
  # uploaded ThreatIntelSet.
457
472
  #
473
+ # @option params [String] :client_token
474
+ # The idempotency token for the create request.**A suitable default value is auto-generated.** You should normally
475
+ # not need to pass this option.**
476
+ #
458
477
  # @option params [required, String] :detector_id
459
478
  #
460
- # @option params [String] :format
479
+ # @option params [required, String] :format
461
480
  # The format of the file that contains the ThreatIntelSet.
462
481
  #
463
- # @option params [String] :location
482
+ # @option params [required, String] :location
464
483
  # The URI of the file that contains the ThreatIntelSet. For example
465
484
  # (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).
466
485
  #
467
- # @option params [String] :name
486
+ # @option params [required, String] :name
468
487
  # A user-friendly ThreatIntelSet name that is displayed in all finding
469
488
  # generated by activity that involves IP addresses included in this
470
489
  # ThreatIntelSet.
@@ -476,11 +495,12 @@ module Aws::GuardDuty
476
495
  # @example Request syntax with placeholder values
477
496
  #
478
497
  # resp = client.create_threat_intel_set({
479
- # activate: false,
498
+ # activate: false, # required
499
+ # client_token: "__stringMin0Max64",
480
500
  # detector_id: "__string", # required
481
- # format: "TXT", # accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
482
- # location: "Location",
483
- # name: "Name",
501
+ # format: "TXT", # required, accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
502
+ # location: "Location", # required
503
+ # name: "Name", # required
484
504
  # })
485
505
  #
486
506
  # @example Response structure
@@ -499,7 +519,7 @@ module Aws::GuardDuty
499
519
  # Declines invitations sent to the current member account by AWS account
500
520
  # specified by their account IDs.
501
521
  #
502
- # @option params [Array<String>] :account_ids
522
+ # @option params [required, Array<String>] :account_ids
503
523
  # A list of account IDs of the AWS accounts that sent invitations to the
504
524
  # current member account that you want to decline invitations from.
505
525
  #
@@ -510,7 +530,7 @@ module Aws::GuardDuty
510
530
  # @example Request syntax with placeholder values
511
531
  #
512
532
  # resp = client.decline_invitations({
513
- # account_ids: ["__string"],
533
+ # account_ids: ["__string"], # required
514
534
  # })
515
535
  #
516
536
  # @example Response structure
@@ -600,7 +620,7 @@ module Aws::GuardDuty
600
620
  # Deletes invitations sent to the current member account by AWS accounts
601
621
  # specified by their account IDs.
602
622
  #
603
- # @option params [Array<String>] :account_ids
623
+ # @option params [required, Array<String>] :account_ids
604
624
  # A list of account IDs of the AWS accounts that sent invitations to the
605
625
  # current member account that you want to delete invitations from.
606
626
  #
@@ -611,7 +631,7 @@ module Aws::GuardDuty
611
631
  # @example Request syntax with placeholder values
612
632
  #
613
633
  # resp = client.delete_invitations({
614
- # account_ids: ["__string"],
634
+ # account_ids: ["__string"], # required
615
635
  # })
616
636
  #
617
637
  # @example Response structure
@@ -632,7 +652,7 @@ module Aws::GuardDuty
632
652
  # Deletes GuardDuty member accounts (to the current GuardDuty master
633
653
  # account) specified by the account IDs.
634
654
  #
635
- # @option params [Array<String>] :account_ids
655
+ # @option params [required, Array<String>] :account_ids
636
656
  # A list of account IDs of the GuardDuty member accounts that you want
637
657
  # to delete.
638
658
  #
@@ -645,7 +665,7 @@ module Aws::GuardDuty
645
665
  # @example Request syntax with placeholder values
646
666
  #
647
667
  # resp = client.delete_members({
648
- # account_ids: ["__string"],
668
+ # account_ids: ["__string"], # required
649
669
  # detector_id: "__string", # required
650
670
  # })
651
671
  #
@@ -713,7 +733,7 @@ module Aws::GuardDuty
713
733
  # Disassociates GuardDuty member accounts (to the current GuardDuty
714
734
  # master account) specified by the account IDs.
715
735
  #
716
- # @option params [Array<String>] :account_ids
736
+ # @option params [required, Array<String>] :account_ids
717
737
  # A list of account IDs of the GuardDuty member accounts that you want
718
738
  # to disassociate from master.
719
739
  #
@@ -726,7 +746,7 @@ module Aws::GuardDuty
726
746
  # @example Request syntax with placeholder values
727
747
  #
728
748
  # resp = client.disassociate_members({
729
- # account_ids: ["__string"],
749
+ # account_ids: ["__string"], # required
730
750
  # detector_id: "__string", # required
731
751
  # })
732
752
  #
@@ -752,6 +772,7 @@ module Aws::GuardDuty
752
772
  # @return [Types::GetDetectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
753
773
  #
754
774
  # * {Types::GetDetectorResponse#created_at #created_at} => String
775
+ # * {Types::GetDetectorResponse#finding_publishing_frequency #finding_publishing_frequency} => String
755
776
  # * {Types::GetDetectorResponse#service_role #service_role} => String
756
777
  # * {Types::GetDetectorResponse#status #status} => String
757
778
  # * {Types::GetDetectorResponse#updated_at #updated_at} => String
@@ -765,6 +786,7 @@ module Aws::GuardDuty
765
786
  # @example Response structure
766
787
  #
767
788
  # resp.created_at #=> String
789
+ # resp.finding_publishing_frequency #=> String, one of "FIFTEEN_MINUTES", "ONE_HOUR", "SIX_HOURS"
768
790
  # resp.service_role #=> String
769
791
  # resp.status #=> String, one of "ENABLED", "DISABLED"
770
792
  # resp.updated_at #=> String
@@ -828,7 +850,7 @@ module Aws::GuardDuty
828
850
  #
829
851
  # @option params [required, String] :detector_id
830
852
  #
831
- # @option params [Array<String>] :finding_ids
853
+ # @option params [required, Array<String>] :finding_ids
832
854
  # IDs of the findings that you want to retrieve.
833
855
  #
834
856
  # @option params [Types::SortCriteria] :sort_criteria
@@ -842,7 +864,7 @@ module Aws::GuardDuty
842
864
  #
843
865
  # resp = client.get_findings({
844
866
  # detector_id: "__string", # required
845
- # finding_ids: ["FindingId"],
867
+ # finding_ids: ["FindingId"], # required
846
868
  # sort_criteria: {
847
869
  # attribute_name: "__string",
848
870
  # order_by: "ASC", # accepts ASC, DESC
@@ -974,7 +996,7 @@ module Aws::GuardDuty
974
996
  # @option params [Types::FindingCriteria] :finding_criteria
975
997
  # Represents the criteria used for querying findings.
976
998
  #
977
- # @option params [Array<String>] :finding_statistic_types
999
+ # @option params [required, Array<String>] :finding_statistic_types
978
1000
  # Types of finding statistics to retrieve.
979
1001
  #
980
1002
  # @return [Types::GetFindingsStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -997,7 +1019,7 @@ module Aws::GuardDuty
997
1019
  # },
998
1020
  # },
999
1021
  # },
1000
- # finding_statistic_types: ["COUNT_BY_SEVERITY"], # accepts COUNT_BY_SEVERITY
1022
+ # finding_statistic_types: ["COUNT_BY_SEVERITY"], # required, accepts COUNT_BY_SEVERITY
1001
1023
  # })
1002
1024
  #
1003
1025
  # @example Response structure
@@ -1105,7 +1127,7 @@ module Aws::GuardDuty
1105
1127
  # Retrieves GuardDuty member accounts (to the current GuardDuty master
1106
1128
  # account) specified by the account IDs.
1107
1129
  #
1108
- # @option params [Array<String>] :account_ids
1130
+ # @option params [required, Array<String>] :account_ids
1109
1131
  # A list of account IDs of the GuardDuty member accounts that you want
1110
1132
  # to describe.
1111
1133
  #
@@ -1119,7 +1141,7 @@ module Aws::GuardDuty
1119
1141
  # @example Request syntax with placeholder values
1120
1142
  #
1121
1143
  # resp = client.get_members({
1122
- # account_ids: ["__string"],
1144
+ # account_ids: ["__string"], # required
1123
1145
  # detector_id: "__string", # required
1124
1146
  # })
1125
1147
  #
@@ -1188,7 +1210,7 @@ module Aws::GuardDuty
1188
1210
  # AWS account to view and manage these accounts' GuardDuty findings on
1189
1211
  # their behalf as the master account.
1190
1212
  #
1191
- # @option params [Array<String>] :account_ids
1213
+ # @option params [required, Array<String>] :account_ids
1192
1214
  # A list of account IDs of the accounts that you want to invite to
1193
1215
  # GuardDuty as members.
1194
1216
  #
@@ -1210,7 +1232,7 @@ module Aws::GuardDuty
1210
1232
  # @example Request syntax with placeholder values
1211
1233
  #
1212
1234
  # resp = client.invite_members({
1213
- # account_ids: ["__string"],
1235
+ # account_ids: ["__string"], # required
1214
1236
  # detector_id: "__string", # required
1215
1237
  # disable_email_notification: false,
1216
1238
  # message: "Message",
@@ -1541,7 +1563,7 @@ module Aws::GuardDuty
1541
1563
  # command after disabling GuardDuty from monitoring these members'
1542
1564
  # findings by running StopMonitoringMembers.
1543
1565
  #
1544
- # @option params [Array<String>] :account_ids
1566
+ # @option params [required, Array<String>] :account_ids
1545
1567
  # A list of account IDs of the GuardDuty member accounts whose findings
1546
1568
  # you want the master account to monitor.
1547
1569
  #
@@ -1554,7 +1576,7 @@ module Aws::GuardDuty
1554
1576
  # @example Request syntax with placeholder values
1555
1577
  #
1556
1578
  # resp = client.start_monitoring_members({
1557
- # account_ids: ["__string"],
1579
+ # account_ids: ["__string"], # required
1558
1580
  # detector_id: "__string", # required
1559
1581
  # })
1560
1582
  #
@@ -1578,7 +1600,7 @@ module Aws::GuardDuty
1578
1600
  # GuardDuty account can run StartMonitoringMembers to re-enable
1579
1601
  # GuardDuty to monitor these members’ findings.
1580
1602
  #
1581
- # @option params [Array<String>] :account_ids
1603
+ # @option params [required, Array<String>] :account_ids
1582
1604
  # A list of account IDs of the GuardDuty member accounts whose findings
1583
1605
  # you want the master account to stop monitoring.
1584
1606
  #
@@ -1591,7 +1613,7 @@ module Aws::GuardDuty
1591
1613
  # @example Request syntax with placeholder values
1592
1614
  #
1593
1615
  # resp = client.stop_monitoring_members({
1594
- # account_ids: ["__string"],
1616
+ # account_ids: ["__string"], # required
1595
1617
  # detector_id: "__string", # required
1596
1618
  # })
1597
1619
  #
@@ -1615,7 +1637,7 @@ module Aws::GuardDuty
1615
1637
  #
1616
1638
  # @option params [required, String] :detector_id
1617
1639
  #
1618
- # @option params [Array<String>] :finding_ids
1640
+ # @option params [required, Array<String>] :finding_ids
1619
1641
  # IDs of the findings that you want to unarchive.
1620
1642
  #
1621
1643
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -1624,7 +1646,7 @@ module Aws::GuardDuty
1624
1646
  #
1625
1647
  # resp = client.unarchive_findings({
1626
1648
  # detector_id: "__string", # required
1627
- # finding_ids: ["FindingId"],
1649
+ # finding_ids: ["FindingId"], # required
1628
1650
  # })
1629
1651
  #
1630
1652
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindings AWS API Documentation
@@ -1644,6 +1666,10 @@ module Aws::GuardDuty
1644
1666
  # Updated boolean value for the detector that specifies whether the
1645
1667
  # detector is enabled.
1646
1668
  #
1669
+ # @option params [String] :finding_publishing_frequency
1670
+ # A enum value that specifies how frequently customer got Finding
1671
+ # updates published.
1672
+ #
1647
1673
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1648
1674
  #
1649
1675
  # @example Request syntax with placeholder values
@@ -1651,6 +1677,7 @@ module Aws::GuardDuty
1651
1677
  # resp = client.update_detector({
1652
1678
  # detector_id: "__string", # required
1653
1679
  # enable: false,
1680
+ # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
1654
1681
  # })
1655
1682
  #
1656
1683
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector AWS API Documentation
@@ -1730,10 +1757,10 @@ module Aws::GuardDuty
1730
1757
  #
1731
1758
  # @option params [required, String] :detector_id
1732
1759
  #
1733
- # @option params [String] :feedback
1760
+ # @option params [required, String] :feedback
1734
1761
  # Valid values: USEFUL \| NOT\_USEFUL
1735
1762
  #
1736
- # @option params [Array<String>] :finding_ids
1763
+ # @option params [required, Array<String>] :finding_ids
1737
1764
  # IDs of the findings that you want to mark as useful or not useful.
1738
1765
  #
1739
1766
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -1743,8 +1770,8 @@ module Aws::GuardDuty
1743
1770
  # resp = client.update_findings_feedback({
1744
1771
  # comments: "Comments",
1745
1772
  # detector_id: "__string", # required
1746
- # feedback: "USEFUL", # accepts USEFUL, NOT_USEFUL
1747
- # finding_ids: ["FindingId"],
1773
+ # feedback: "USEFUL", # required, accepts USEFUL, NOT_USEFUL
1774
+ # finding_ids: ["FindingId"], # required
1748
1775
  # })
1749
1776
  #
1750
1777
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedback AWS API Documentation
@@ -1846,7 +1873,7 @@ module Aws::GuardDuty
1846
1873
  params: params,
1847
1874
  config: config)
1848
1875
  context[:gem_name] = 'aws-sdk-guardduty'
1849
- context[:gem_version] = '1.7.0'
1876
+ context[:gem_version] = '1.8.0'
1850
1877
  Seahorse::Client::Request.new(handlers, context)
1851
1878
  end
1852
1879
 
@@ -80,6 +80,7 @@ module Aws::GuardDuty
80
80
  FindingCriteria = Shapes::StructureShape.new(name: 'FindingCriteria')
81
81
  FindingId = Shapes::StringShape.new(name: 'FindingId')
82
82
  FindingIds = Shapes::ListShape.new(name: 'FindingIds')
83
+ FindingPublishingFrequency = Shapes::StringShape.new(name: 'FindingPublishingFrequency')
83
84
  FindingStatisticType = Shapes::StringShape.new(name: 'FindingStatisticType')
84
85
  FindingStatisticTypes = Shapes::ListShape.new(name: 'FindingStatisticTypes')
85
86
  FindingStatistics = Shapes::StructureShape.new(name: 'FindingStatistics')
@@ -204,8 +205,8 @@ module Aws::GuardDuty
204
205
  __timestamp = Shapes::TimestampShape.new(name: '__timestamp')
205
206
 
206
207
  AcceptInvitationRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
207
- AcceptInvitationRequest.add_member(:invitation_id, Shapes::ShapeRef.new(shape: InvitationId, location_name: "invitationId"))
208
- AcceptInvitationRequest.add_member(:master_id, Shapes::ShapeRef.new(shape: MasterId, location_name: "masterId"))
208
+ AcceptInvitationRequest.add_member(:invitation_id, Shapes::ShapeRef.new(shape: InvitationId, required: true, location_name: "invitationId"))
209
+ AcceptInvitationRequest.add_member(:master_id, Shapes::ShapeRef.new(shape: MasterId, required: true, location_name: "masterId"))
209
210
  AcceptInvitationRequest.struct_class = Types::AcceptInvitationRequest
210
211
 
211
212
  AcceptInvitationResponse.struct_class = Types::AcceptInvitationResponse
@@ -232,7 +233,7 @@ module Aws::GuardDuty
232
233
  Action.struct_class = Types::Action
233
234
 
234
235
  ArchiveFindingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
235
- ArchiveFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, location_name: "findingIds"))
236
+ ArchiveFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, required: true, location_name: "findingIds"))
236
237
  ArchiveFindingsRequest.struct_class = Types::ArchiveFindingsRequest
237
238
 
238
239
  ArchiveFindingsResponse.struct_class = Types::ArchiveFindingsResponse
@@ -259,7 +260,9 @@ module Aws::GuardDuty
259
260
  Country.add_member(:country_name, Shapes::ShapeRef.new(shape: __string, location_name: "countryName"))
260
261
  Country.struct_class = Types::Country
261
262
 
262
- CreateDetectorRequest.add_member(:enable, Shapes::ShapeRef.new(shape: Enable, location_name: "enable"))
263
+ CreateDetectorRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __stringMin0Max64, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
264
+ CreateDetectorRequest.add_member(:enable, Shapes::ShapeRef.new(shape: Enable, required: true, location_name: "enable"))
265
+ CreateDetectorRequest.add_member(:finding_publishing_frequency, Shapes::ShapeRef.new(shape: FindingPublishingFrequency, location_name: "findingPublishingFrequency"))
263
266
  CreateDetectorRequest.struct_class = Types::CreateDetectorRequest
264
267
 
265
268
  CreateDetectorResponse.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "detectorId"))
@@ -269,25 +272,26 @@ module Aws::GuardDuty
269
272
  CreateFilterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __stringMin0Max64, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
270
273
  CreateFilterRequest.add_member(:description, Shapes::ShapeRef.new(shape: FilterDescription, location_name: "description"))
271
274
  CreateFilterRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
272
- CreateFilterRequest.add_member(:finding_criteria, Shapes::ShapeRef.new(shape: FindingCriteria, location_name: "findingCriteria"))
273
- CreateFilterRequest.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, location_name: "name"))
275
+ CreateFilterRequest.add_member(:finding_criteria, Shapes::ShapeRef.new(shape: FindingCriteria, required: true, location_name: "findingCriteria"))
276
+ CreateFilterRequest.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, required: true, location_name: "name"))
274
277
  CreateFilterRequest.add_member(:rank, Shapes::ShapeRef.new(shape: FilterRank, location_name: "rank"))
275
278
  CreateFilterRequest.struct_class = Types::CreateFilterRequest
276
279
 
277
280
  CreateFilterResponse.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, location_name: "name"))
278
281
  CreateFilterResponse.struct_class = Types::CreateFilterResponse
279
282
 
280
- CreateIPSetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Activate, location_name: "activate"))
283
+ CreateIPSetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Activate, required: true, location_name: "activate"))
284
+ CreateIPSetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __stringMin0Max64, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
281
285
  CreateIPSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
282
- CreateIPSetRequest.add_member(:format, Shapes::ShapeRef.new(shape: IpSetFormat, location_name: "format"))
283
- CreateIPSetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
284
- CreateIPSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
286
+ CreateIPSetRequest.add_member(:format, Shapes::ShapeRef.new(shape: IpSetFormat, required: true, location_name: "format"))
287
+ CreateIPSetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "location"))
288
+ CreateIPSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
285
289
  CreateIPSetRequest.struct_class = Types::CreateIPSetRequest
286
290
 
287
291
  CreateIPSetResponse.add_member(:ip_set_id, Shapes::ShapeRef.new(shape: IpSetId, location_name: "ipSetId"))
288
292
  CreateIPSetResponse.struct_class = Types::CreateIPSetResponse
289
293
 
290
- CreateMembersRequest.add_member(:account_details, Shapes::ShapeRef.new(shape: AccountDetails, location_name: "accountDetails"))
294
+ CreateMembersRequest.add_member(:account_details, Shapes::ShapeRef.new(shape: AccountDetails, required: true, location_name: "accountDetails"))
291
295
  CreateMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
292
296
  CreateMembersRequest.struct_class = Types::CreateMembersRequest
293
297
 
@@ -300,17 +304,18 @@ module Aws::GuardDuty
300
304
 
301
305
  CreateSampleFindingsResponse.struct_class = Types::CreateSampleFindingsResponse
302
306
 
303
- CreateThreatIntelSetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Activate, location_name: "activate"))
307
+ CreateThreatIntelSetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Activate, required: true, location_name: "activate"))
308
+ CreateThreatIntelSetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __stringMin0Max64, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
304
309
  CreateThreatIntelSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
305
- CreateThreatIntelSetRequest.add_member(:format, Shapes::ShapeRef.new(shape: ThreatIntelSetFormat, location_name: "format"))
306
- CreateThreatIntelSetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
307
- CreateThreatIntelSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
310
+ CreateThreatIntelSetRequest.add_member(:format, Shapes::ShapeRef.new(shape: ThreatIntelSetFormat, required: true, location_name: "format"))
311
+ CreateThreatIntelSetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "location"))
312
+ CreateThreatIntelSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
308
313
  CreateThreatIntelSetRequest.struct_class = Types::CreateThreatIntelSetRequest
309
314
 
310
315
  CreateThreatIntelSetResponse.add_member(:threat_intel_set_id, Shapes::ShapeRef.new(shape: ThreatIntelSetId, location_name: "threatIntelSetId"))
311
316
  CreateThreatIntelSetResponse.struct_class = Types::CreateThreatIntelSetResponse
312
317
 
313
- DeclineInvitationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
318
+ DeclineInvitationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
314
319
  DeclineInvitationsRequest.struct_class = Types::DeclineInvitationsRequest
315
320
 
316
321
  DeclineInvitationsResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
@@ -333,13 +338,13 @@ module Aws::GuardDuty
333
338
 
334
339
  DeleteIPSetResponse.struct_class = Types::DeleteIPSetResponse
335
340
 
336
- DeleteInvitationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
341
+ DeleteInvitationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
337
342
  DeleteInvitationsRequest.struct_class = Types::DeleteInvitationsRequest
338
343
 
339
344
  DeleteInvitationsResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
340
345
  DeleteInvitationsResponse.struct_class = Types::DeleteInvitationsResponse
341
346
 
342
- DeleteMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
347
+ DeleteMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
343
348
  DeleteMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
344
349
  DeleteMembersRequest.struct_class = Types::DeleteMembersRequest
345
350
 
@@ -359,7 +364,7 @@ module Aws::GuardDuty
359
364
 
360
365
  DisassociateFromMasterAccountResponse.struct_class = Types::DisassociateFromMasterAccountResponse
361
366
 
362
- DisassociateMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
367
+ DisassociateMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
363
368
  DisassociateMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
364
369
  DisassociateMembersRequest.struct_class = Types::DisassociateMembersRequest
365
370
 
@@ -418,6 +423,7 @@ module Aws::GuardDuty
418
423
  GetDetectorRequest.struct_class = Types::GetDetectorRequest
419
424
 
420
425
  GetDetectorResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt"))
426
+ GetDetectorResponse.add_member(:finding_publishing_frequency, Shapes::ShapeRef.new(shape: FindingPublishingFrequency, location_name: "findingPublishingFrequency"))
421
427
  GetDetectorResponse.add_member(:service_role, Shapes::ShapeRef.new(shape: ServiceRole, location_name: "serviceRole"))
422
428
  GetDetectorResponse.add_member(:status, Shapes::ShapeRef.new(shape: DetectorStatus, location_name: "status"))
423
429
  GetDetectorResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, location_name: "updatedAt"))
@@ -435,7 +441,7 @@ module Aws::GuardDuty
435
441
  GetFilterResponse.struct_class = Types::GetFilterResponse
436
442
 
437
443
  GetFindingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
438
- GetFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, location_name: "findingIds"))
444
+ GetFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, required: true, location_name: "findingIds"))
439
445
  GetFindingsRequest.add_member(:sort_criteria, Shapes::ShapeRef.new(shape: SortCriteria, location_name: "sortCriteria"))
440
446
  GetFindingsRequest.struct_class = Types::GetFindingsRequest
441
447
 
@@ -444,7 +450,7 @@ module Aws::GuardDuty
444
450
 
445
451
  GetFindingsStatisticsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
446
452
  GetFindingsStatisticsRequest.add_member(:finding_criteria, Shapes::ShapeRef.new(shape: FindingCriteria, location_name: "findingCriteria"))
447
- GetFindingsStatisticsRequest.add_member(:finding_statistic_types, Shapes::ShapeRef.new(shape: FindingStatisticTypes, location_name: "findingStatisticTypes"))
453
+ GetFindingsStatisticsRequest.add_member(:finding_statistic_types, Shapes::ShapeRef.new(shape: FindingStatisticTypes, required: true, location_name: "findingStatisticTypes"))
448
454
  GetFindingsStatisticsRequest.struct_class = Types::GetFindingsStatisticsRequest
449
455
 
450
456
  GetFindingsStatisticsResponse.add_member(:finding_statistics, Shapes::ShapeRef.new(shape: FindingStatistics, location_name: "findingStatistics"))
@@ -471,7 +477,7 @@ module Aws::GuardDuty
471
477
  GetMasterAccountResponse.add_member(:master, Shapes::ShapeRef.new(shape: Master, location_name: "master"))
472
478
  GetMasterAccountResponse.struct_class = Types::GetMasterAccountResponse
473
479
 
474
- GetMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
480
+ GetMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
475
481
  GetMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
476
482
  GetMembersRequest.struct_class = Types::GetMembersRequest
477
483
 
@@ -515,7 +521,7 @@ module Aws::GuardDuty
515
521
 
516
522
  Invitations.member = Shapes::ShapeRef.new(shape: Invitation)
517
523
 
518
- InviteMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
524
+ InviteMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
519
525
  InviteMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
520
526
  InviteMembersRequest.add_member(:disable_email_notification, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableEmailNotification"))
521
527
  InviteMembersRequest.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
@@ -700,14 +706,14 @@ module Aws::GuardDuty
700
706
  SortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
701
707
  SortCriteria.struct_class = Types::SortCriteria
702
708
 
703
- StartMonitoringMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
709
+ StartMonitoringMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
704
710
  StartMonitoringMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
705
711
  StartMonitoringMembersRequest.struct_class = Types::StartMonitoringMembersRequest
706
712
 
707
713
  StartMonitoringMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
708
714
  StartMonitoringMembersResponse.struct_class = Types::StartMonitoringMembersResponse
709
715
 
710
- StopMonitoringMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
716
+ StopMonitoringMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
711
717
  StopMonitoringMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
712
718
  StopMonitoringMembersRequest.struct_class = Types::StopMonitoringMembersRequest
713
719
 
@@ -723,7 +729,7 @@ module Aws::GuardDuty
723
729
  ThreatIntelSetIds.member = Shapes::ShapeRef.new(shape: ThreatIntelSetId)
724
730
 
725
731
  UnarchiveFindingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
726
- UnarchiveFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, location_name: "findingIds"))
732
+ UnarchiveFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, required: true, location_name: "findingIds"))
727
733
  UnarchiveFindingsRequest.struct_class = Types::UnarchiveFindingsRequest
728
734
 
729
735
  UnarchiveFindingsResponse.struct_class = Types::UnarchiveFindingsResponse
@@ -736,6 +742,7 @@ module Aws::GuardDuty
736
742
 
737
743
  UpdateDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
738
744
  UpdateDetectorRequest.add_member(:enable, Shapes::ShapeRef.new(shape: Enable, location_name: "enable"))
745
+ UpdateDetectorRequest.add_member(:finding_publishing_frequency, Shapes::ShapeRef.new(shape: FindingPublishingFrequency, location_name: "findingPublishingFrequency"))
739
746
  UpdateDetectorRequest.struct_class = Types::UpdateDetectorRequest
740
747
 
741
748
  UpdateDetectorResponse.struct_class = Types::UpdateDetectorResponse
@@ -753,8 +760,8 @@ module Aws::GuardDuty
753
760
 
754
761
  UpdateFindingsFeedbackRequest.add_member(:comments, Shapes::ShapeRef.new(shape: Comments, location_name: "comments"))
755
762
  UpdateFindingsFeedbackRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
756
- UpdateFindingsFeedbackRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: Feedback, location_name: "feedback"))
757
- UpdateFindingsFeedbackRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, location_name: "findingIds"))
763
+ UpdateFindingsFeedbackRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: Feedback, required: true, location_name: "feedback"))
764
+ UpdateFindingsFeedbackRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, required: true, location_name: "findingIds"))
758
765
  UpdateFindingsFeedbackRequest.struct_class = Types::UpdateFindingsFeedbackRequest
759
766
 
760
767
  UpdateFindingsFeedbackResponse.struct_class = Types::UpdateFindingsFeedbackResponse
@@ -15,8 +15,8 @@ module Aws::GuardDuty
15
15
  #
16
16
  # {
17
17
  # detector_id: "__string", # required
18
- # invitation_id: "InvitationId",
19
- # master_id: "MasterId",
18
+ # invitation_id: "InvitationId", # required
19
+ # master_id: "MasterId", # required
20
20
  # }
21
21
  #
22
22
  # @!attribute [rw] detector_id
@@ -142,7 +142,7 @@ module Aws::GuardDuty
142
142
  #
143
143
  # {
144
144
  # detector_id: "__string", # required
145
- # finding_ids: ["FindingId"],
145
+ # finding_ids: ["FindingId"], # required
146
146
  # }
147
147
  #
148
148
  # @!attribute [rw] detector_id
@@ -291,18 +291,32 @@ module Aws::GuardDuty
291
291
  # data as a hash:
292
292
  #
293
293
  # {
294
- # enable: false,
294
+ # client_token: "__stringMin0Max64",
295
+ # enable: false, # required
296
+ # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
295
297
  # }
296
298
  #
299
+ # @!attribute [rw] client_token
300
+ # The idempotency token for the create request.**A suitable default value is auto-generated.** You should normally
301
+ # not need to pass this option.
302
+ # @return [String]
303
+ #
297
304
  # @!attribute [rw] enable
298
305
  # A boolean value that specifies whether the detector is to be
299
306
  # enabled.
300
307
  # @return [Boolean]
301
308
  #
309
+ # @!attribute [rw] finding_publishing_frequency
310
+ # A enum value that specifies how frequently customer got Finding
311
+ # updates published.
312
+ # @return [String]
313
+ #
302
314
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorRequest AWS API Documentation
303
315
  #
304
316
  class CreateDetectorRequest < Struct.new(
305
- :enable)
317
+ :client_token,
318
+ :enable,
319
+ :finding_publishing_frequency)
306
320
  include Aws::Structure
307
321
  end
308
322
 
@@ -329,7 +343,7 @@ module Aws::GuardDuty
329
343
  # client_token: "__stringMin0Max64",
330
344
  # description: "FilterDescription",
331
345
  # detector_id: "__string", # required
332
- # finding_criteria: {
346
+ # finding_criteria: { # required
333
347
  # criterion: {
334
348
  # "__string" => {
335
349
  # eq: ["__string"],
@@ -341,7 +355,7 @@ module Aws::GuardDuty
341
355
  # },
342
356
  # },
343
357
  # },
344
- # name: "FilterName",
358
+ # name: "FilterName", # required
345
359
  # rank: 1,
346
360
  # }
347
361
  #
@@ -409,11 +423,12 @@ module Aws::GuardDuty
409
423
  # data as a hash:
410
424
  #
411
425
  # {
412
- # activate: false,
426
+ # activate: false, # required
427
+ # client_token: "__stringMin0Max64",
413
428
  # detector_id: "__string", # required
414
- # format: "TXT", # accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
415
- # location: "Location",
416
- # name: "Name",
429
+ # format: "TXT", # required, accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
430
+ # location: "Location", # required
431
+ # name: "Name", # required
417
432
  # }
418
433
  #
419
434
  # @!attribute [rw] activate
@@ -421,6 +436,11 @@ module Aws::GuardDuty
421
436
  # the uploaded IPSet.
422
437
  # @return [Boolean]
423
438
  #
439
+ # @!attribute [rw] client_token
440
+ # The idempotency token for the create request.**A suitable default value is auto-generated.** You should normally
441
+ # not need to pass this option.
442
+ # @return [String]
443
+ #
424
444
  # @!attribute [rw] detector_id
425
445
  # @return [String]
426
446
  #
@@ -443,6 +463,7 @@ module Aws::GuardDuty
443
463
  #
444
464
  class CreateIPSetRequest < Struct.new(
445
465
  :activate,
466
+ :client_token,
446
467
  :detector_id,
447
468
  :format,
448
469
  :location,
@@ -469,7 +490,7 @@ module Aws::GuardDuty
469
490
  # data as a hash:
470
491
  #
471
492
  # {
472
- # account_details: [
493
+ # account_details: [ # required
473
494
  # {
474
495
  # account_id: "AccountId", # required
475
496
  # email: "Email", # required
@@ -543,11 +564,12 @@ module Aws::GuardDuty
543
564
  # data as a hash:
544
565
  #
545
566
  # {
546
- # activate: false,
567
+ # activate: false, # required
568
+ # client_token: "__stringMin0Max64",
547
569
  # detector_id: "__string", # required
548
- # format: "TXT", # accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
549
- # location: "Location",
550
- # name: "Name",
570
+ # format: "TXT", # required, accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
571
+ # location: "Location", # required
572
+ # name: "Name", # required
551
573
  # }
552
574
  #
553
575
  # @!attribute [rw] activate
@@ -555,6 +577,11 @@ module Aws::GuardDuty
555
577
  # the uploaded ThreatIntelSet.
556
578
  # @return [Boolean]
557
579
  #
580
+ # @!attribute [rw] client_token
581
+ # The idempotency token for the create request.**A suitable default value is auto-generated.** You should normally
582
+ # not need to pass this option.
583
+ # @return [String]
584
+ #
558
585
  # @!attribute [rw] detector_id
559
586
  # @return [String]
560
587
  #
@@ -577,6 +604,7 @@ module Aws::GuardDuty
577
604
  #
578
605
  class CreateThreatIntelSetRequest < Struct.new(
579
606
  :activate,
607
+ :client_token,
580
608
  :detector_id,
581
609
  :format,
582
610
  :location,
@@ -603,7 +631,7 @@ module Aws::GuardDuty
603
631
  # data as a hash:
604
632
  #
605
633
  # {
606
- # account_ids: ["__string"],
634
+ # account_ids: ["__string"], # required
607
635
  # }
608
636
  #
609
637
  # @!attribute [rw] account_ids
@@ -712,7 +740,7 @@ module Aws::GuardDuty
712
740
  # data as a hash:
713
741
  #
714
742
  # {
715
- # account_ids: ["__string"],
743
+ # account_ids: ["__string"], # required
716
744
  # }
717
745
  #
718
746
  # @!attribute [rw] account_ids
@@ -747,7 +775,7 @@ module Aws::GuardDuty
747
775
  # data as a hash:
748
776
  #
749
777
  # {
750
- # account_ids: ["__string"],
778
+ # account_ids: ["__string"], # required
751
779
  # detector_id: "__string", # required
752
780
  # }
753
781
  #
@@ -834,7 +862,7 @@ module Aws::GuardDuty
834
862
  # data as a hash:
835
863
  #
836
864
  # {
837
- # account_ids: ["__string"],
865
+ # account_ids: ["__string"], # required
838
866
  # detector_id: "__string", # required
839
867
  # }
840
868
  #
@@ -1078,6 +1106,11 @@ module Aws::GuardDuty
1078
1106
  # The first time a resource was created. The format will be ISO-8601.
1079
1107
  # @return [String]
1080
1108
  #
1109
+ # @!attribute [rw] finding_publishing_frequency
1110
+ # A enum value that specifies how frequently customer got Finding
1111
+ # updates published.
1112
+ # @return [String]
1113
+ #
1081
1114
  # @!attribute [rw] service_role
1082
1115
  # Customer serviceRole name or ARN for accessing customer resources
1083
1116
  # @return [String]
@@ -1094,6 +1127,7 @@ module Aws::GuardDuty
1094
1127
  #
1095
1128
  class GetDetectorResponse < Struct.new(
1096
1129
  :created_at,
1130
+ :finding_publishing_frequency,
1097
1131
  :service_role,
1098
1132
  :status,
1099
1133
  :updated_at)
@@ -1166,7 +1200,7 @@ module Aws::GuardDuty
1166
1200
  #
1167
1201
  # {
1168
1202
  # detector_id: "__string", # required
1169
- # finding_ids: ["FindingId"],
1203
+ # finding_ids: ["FindingId"], # required
1170
1204
  # sort_criteria: {
1171
1205
  # attribute_name: "__string",
1172
1206
  # order_by: "ASC", # accepts ASC, DESC
@@ -1225,7 +1259,7 @@ module Aws::GuardDuty
1225
1259
  # },
1226
1260
  # },
1227
1261
  # },
1228
- # finding_statistic_types: ["COUNT_BY_SEVERITY"], # accepts COUNT_BY_SEVERITY
1262
+ # finding_statistic_types: ["COUNT_BY_SEVERITY"], # required, accepts COUNT_BY_SEVERITY
1229
1263
  # }
1230
1264
  #
1231
1265
  # @!attribute [rw] detector_id
@@ -1369,7 +1403,7 @@ module Aws::GuardDuty
1369
1403
  # data as a hash:
1370
1404
  #
1371
1405
  # {
1372
- # account_ids: ["__string"],
1406
+ # account_ids: ["__string"], # required
1373
1407
  # detector_id: "__string", # required
1374
1408
  # }
1375
1409
  #
@@ -1585,7 +1619,7 @@ module Aws::GuardDuty
1585
1619
  # data as a hash:
1586
1620
  #
1587
1621
  # {
1588
- # account_ids: ["__string"],
1622
+ # account_ids: ["__string"], # required
1589
1623
  # detector_id: "__string", # required
1590
1624
  # disable_email_notification: false,
1591
1625
  # message: "Message",
@@ -2493,7 +2527,7 @@ module Aws::GuardDuty
2493
2527
  # data as a hash:
2494
2528
  #
2495
2529
  # {
2496
- # account_ids: ["__string"],
2530
+ # account_ids: ["__string"], # required
2497
2531
  # detector_id: "__string", # required
2498
2532
  # }
2499
2533
  #
@@ -2533,7 +2567,7 @@ module Aws::GuardDuty
2533
2567
  # data as a hash:
2534
2568
  #
2535
2569
  # {
2536
- # account_ids: ["__string"],
2570
+ # account_ids: ["__string"], # required
2537
2571
  # detector_id: "__string", # required
2538
2572
  # }
2539
2573
  #
@@ -2592,7 +2626,7 @@ module Aws::GuardDuty
2592
2626
  #
2593
2627
  # {
2594
2628
  # detector_id: "__string", # required
2595
- # finding_ids: ["FindingId"],
2629
+ # finding_ids: ["FindingId"], # required
2596
2630
  # }
2597
2631
  #
2598
2632
  # @!attribute [rw] detector_id
@@ -2641,6 +2675,7 @@ module Aws::GuardDuty
2641
2675
  # {
2642
2676
  # detector_id: "__string", # required
2643
2677
  # enable: false,
2678
+ # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
2644
2679
  # }
2645
2680
  #
2646
2681
  # @!attribute [rw] detector_id
@@ -2651,11 +2686,17 @@ module Aws::GuardDuty
2651
2686
  # detector is enabled.
2652
2687
  # @return [Boolean]
2653
2688
  #
2689
+ # @!attribute [rw] finding_publishing_frequency
2690
+ # A enum value that specifies how frequently customer got Finding
2691
+ # updates published.
2692
+ # @return [String]
2693
+ #
2654
2694
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest AWS API Documentation
2655
2695
  #
2656
2696
  class UpdateDetectorRequest < Struct.new(
2657
2697
  :detector_id,
2658
- :enable)
2698
+ :enable,
2699
+ :finding_publishing_frequency)
2659
2700
  include Aws::Structure
2660
2701
  end
2661
2702
 
@@ -2747,8 +2788,8 @@ module Aws::GuardDuty
2747
2788
  # {
2748
2789
  # comments: "Comments",
2749
2790
  # detector_id: "__string", # required
2750
- # feedback: "USEFUL", # accepts USEFUL, NOT_USEFUL
2751
- # finding_ids: ["FindingId"],
2791
+ # feedback: "USEFUL", # required, accepts USEFUL, NOT_USEFUL
2792
+ # finding_ids: ["FindingId"], # required
2752
2793
  # }
2753
2794
  #
2754
2795
  # @!attribute [rw] comments
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-guardduty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
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: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core