aws-sdk-guardduty 1.97.0 → 1.99.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f18dc06c69b3deef4a709fc1eb6d811ed1d39de57a725f68e24a15b5ff989a9
4
- data.tar.gz: c636b642bbe68eac79509170b4b4e70367634e90d212f48e87547be962d66aff
3
+ metadata.gz: b364ffa4061f3b3f36e8a29d3292638d748c813dadde24b1cf1c431cfe1e8bcb
4
+ data.tar.gz: f0a7cea0712c84f167b1009f65acff1fae0778f2168ed7d54cfaf9a4e31c3c9a
5
5
  SHA512:
6
- metadata.gz: ade91017393d9592ab229bc67c259a2a8ec55b6f6317004f9f05c30c3d0964d1dab18c1d84736c65adcd20d70ffe091d4dc8093c911876e7fb01c6d8154cf11b
7
- data.tar.gz: a131c1804bdaeaf833d825d59c95841561d42dd9687cdb94d57116acc5f0bccfe7375f8b233b26942cbf3a8e92842e05fcdd63b971a2e5f349ba387336ac04fb
6
+ metadata.gz: 62b83b807dc6129149b88f27537223dc9efc74fc798fe5cf72e01c11653a2e727a098f6912f73036682f103408c4949d0e255dcbaba76cdd2c6e4c70365d079c
7
+ data.tar.gz: ff359f42b811c4fc6634f4f5414cceef79b765c3e2589ea52a3e3ac3a32791d25da9bfcbaba270f5b61667726ae635ac35a673b366155bb9ef4b08bca6ff8166
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.99.0 (2024-09-11)
5
+ ------------------
6
+
7
+ * Feature - Add support for new statistic types in GetFindingsStatistics.
8
+
9
+ 1.98.0 (2024-09-10)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.97.0 (2024-09-03)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.97.0
1
+ 1.99.0
@@ -425,6 +425,12 @@ module Aws::GuardDuty
425
425
  # @option options [String] :ssl_ca_store
426
426
  # Sets the X509::Store to verify peer certificate.
427
427
  #
428
+ # @option options [OpenSSL::X509::Certificate] :ssl_cert
429
+ # Sets a client certificate when creating http connections.
430
+ #
431
+ # @option options [OpenSSL::PKey] :ssl_key
432
+ # Sets a client key when creating http connections.
433
+ #
428
434
  # @option options [Float] :ssl_timeout
429
435
  # Sets the SSL timeout in seconds
430
436
  #
@@ -664,8 +670,8 @@ module Aws::GuardDuty
664
670
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_limits.html
665
671
  #
666
672
  # @option params [required, String] :detector_id
667
- # The ID of the detector belonging to the GuardDuty account that you
668
- # want to create a filter for.
673
+ # The detector ID associated with the GuardDuty account for which you
674
+ # want to create a filter.
669
675
  #
670
676
  # @option params [required, String] :name
671
677
  # The name of the filter. Valid characters include period (.),
@@ -971,8 +977,8 @@ module Aws::GuardDuty
971
977
  # can use this operation.
972
978
  #
973
979
  # @option params [required, String] :detector_id
974
- # The unique ID of the detector of the GuardDuty account that you want
975
- # to create an IPSet for.
980
+ # The unique ID of the detector of the GuardDuty account for which you
981
+ # want to create an IPSet.
976
982
  #
977
983
  # @option params [required, String] :name
978
984
  # The user-friendly name to identify the IPSet.
@@ -1048,8 +1054,8 @@ module Aws::GuardDuty
1048
1054
  # not need to pass this option.**
1049
1055
  #
1050
1056
  # @option params [required, String] :role
1051
- # IAM role with permissions required to scan and add tags to the
1052
- # associated protected resource.
1057
+ # Amazon Resource Name (ARN) of the IAM role that has the permissions to
1058
+ # scan and add tags to the associated protected resource.
1053
1059
  #
1054
1060
  # @option params [required, Types::CreateProtectedResource] :protected_resource
1055
1061
  # Information about the protected resource that is associated with the
@@ -1138,8 +1144,8 @@ module Aws::GuardDuty
1138
1144
  # [3]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html
1139
1145
  #
1140
1146
  # @option params [required, String] :detector_id
1141
- # The unique ID of the detector of the GuardDuty account that you want
1142
- # to associate member accounts with.
1147
+ # The unique ID of the detector of the GuardDuty account for which you
1148
+ # want to associate member accounts.
1143
1149
  #
1144
1150
  # @option params [required, Array<Types::AccountDetail>] :account_details
1145
1151
  # A list of account ID and email address pairs of the accounts that you
@@ -1176,8 +1182,9 @@ module Aws::GuardDuty
1176
1182
  req.send_request(options)
1177
1183
  end
1178
1184
 
1179
- # Creates a publishing destination to export findings to. The resource
1180
- # to export findings to must exist before you use this operation.
1185
+ # Creates a publishing destination where you can export your GuardDuty
1186
+ # findings. Before you start exporting the findings, the destination
1187
+ # resource must exist.
1181
1188
  #
1182
1189
  # @option params [required, String] :detector_id
1183
1190
  # The ID of the GuardDuty detector associated with the publishing
@@ -1231,7 +1238,7 @@ module Aws::GuardDuty
1231
1238
  # sample findings of all supported finding types.
1232
1239
  #
1233
1240
  # @option params [required, String] :detector_id
1234
- # The ID of the detector to create sample findings for.
1241
+ # The ID of the detector for which you need to create sample findings.
1235
1242
  #
1236
1243
  # @option params [Array<String>] :finding_types
1237
1244
  # The types of sample findings to generate.
@@ -1260,8 +1267,8 @@ module Aws::GuardDuty
1260
1267
  # operation.
1261
1268
  #
1262
1269
  # @option params [required, String] :detector_id
1263
- # The unique ID of the detector of the GuardDuty account that you want
1264
- # to create a threatIntelSet for.
1270
+ # The unique ID of the detector of the GuardDuty account for which you
1271
+ # want to create a `ThreatIntelSet`.
1265
1272
  #
1266
1273
  # @option params [required, String] :name
1267
1274
  # A user-friendly ThreatIntelSet name displayed in all findings that are
@@ -1377,7 +1384,7 @@ module Aws::GuardDuty
1377
1384
  # Deletes the filter specified by the filter name.
1378
1385
  #
1379
1386
  # @option params [required, String] :detector_id
1380
- # The unique ID of the detector that the filter is associated with.
1387
+ # The unique ID of the detector that is associated with the filter.
1381
1388
  #
1382
1389
  # @option params [required, String] :filter_name
1383
1390
  # The name of the filter that you want to delete.
@@ -1555,8 +1562,8 @@ module Aws::GuardDuty
1555
1562
  # Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
1556
1563
  #
1557
1564
  # @option params [required, String] :detector_id
1558
- # The unique ID of the detector that the threatIntelSet is associated
1559
- # with.
1565
+ # The unique ID of the detector that is associated with the
1566
+ # threatIntelSet.
1560
1567
  #
1561
1568
  # @option params [required, String] :threat_intel_set_id
1562
1569
  # The unique ID of the threatIntelSet that you want to delete.
@@ -1700,8 +1707,8 @@ module Aws::GuardDuty
1700
1707
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
1701
1708
  #
1702
1709
  # @option params [required, String] :detector_id
1703
- # The ID of the detector to retrieve information about the delegated
1704
- # administrator from.
1710
+ # The detector ID of the delegated administrator for which you need to
1711
+ # retrieve the information.
1705
1712
  #
1706
1713
  # @option params [Integer] :max_results
1707
1714
  # You can use this parameter to indicate the maximum number of items
@@ -2045,11 +2052,10 @@ module Aws::GuardDuty
2045
2052
  # GuardDuty security agent running on their resources.
2046
2053
  #
2047
2054
  # @option params [required, String] :detector_id
2048
- # The unique ID of the GuardDuty detector associated to the coverage
2049
- # statistics.
2055
+ # The unique ID of the GuardDuty detector.
2050
2056
  #
2051
2057
  # @option params [Types::CoverageFilterCriteria] :filter_criteria
2052
- # Represents the criteria used to filter the coverage statistics
2058
+ # Represents the criteria used to filter the coverage statistics.
2053
2059
  #
2054
2060
  # @option params [required, Array<String>] :statistics_type
2055
2061
  # Represents the statistics type used to aggregate the coverage details.
@@ -2092,7 +2098,7 @@ module Aws::GuardDuty
2092
2098
  req.send_request(options)
2093
2099
  end
2094
2100
 
2095
- # Retrieves an Amazon GuardDuty detector specified by the detectorId.
2101
+ # Retrieves a GuardDuty detector specified by the detectorId.
2096
2102
  #
2097
2103
  # There might be regional differences because some data sources might
2098
2104
  # not be available in all the Amazon Web Services Regions where
@@ -2161,7 +2167,7 @@ module Aws::GuardDuty
2161
2167
  # Returns the details of the filter specified by the filter name.
2162
2168
  #
2163
2169
  # @option params [required, String] :detector_id
2164
- # The unique ID of the detector that the filter is associated with.
2170
+ # The unique ID of the detector that is associated with this filter.
2165
2171
  #
2166
2172
  # @option params [required, String] :filter_name
2167
2173
  # The name of the filter you want to get.
@@ -2730,8 +2736,11 @@ module Aws::GuardDuty
2730
2736
  req.send_request(options)
2731
2737
  end
2732
2738
 
2733
- # Lists Amazon GuardDuty findings statistics for the specified detector
2734
- # ID.
2739
+ # Lists GuardDuty findings statistics for the specified detector ID.
2740
+ #
2741
+ # You must provide either `findingStatisticTypes` or `groupBy`
2742
+ # parameter, and not both. You can use the `maxResults` and `orderBy`
2743
+ # parameters only when using `groupBy`.
2735
2744
  #
2736
2745
  # There might be regional differences because some flags might not be
2737
2746
  # available in all the Regions where GuardDuty is currently supported.
@@ -2742,24 +2751,40 @@ module Aws::GuardDuty
2742
2751
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
2743
2752
  #
2744
2753
  # @option params [required, String] :detector_id
2745
- # The ID of the detector that specifies the GuardDuty service whose
2746
- # findings' statistics you want to retrieve.
2754
+ # The ID of the detector whose findings statistics you want to retrieve.
2747
2755
  #
2748
- # @option params [required, Array<String>] :finding_statistic_types
2756
+ # @option params [Array<String>] :finding_statistic_types
2749
2757
  # The types of finding statistics to retrieve.
2750
2758
  #
2751
2759
  # @option params [Types::FindingCriteria] :finding_criteria
2752
2760
  # Represents the criteria that is used for querying findings.
2753
2761
  #
2762
+ # @option params [String] :group_by
2763
+ # Displays the findings statistics grouped by one of the listed valid
2764
+ # values.
2765
+ #
2766
+ # @option params [String] :order_by
2767
+ # Displays the sorted findings in the requested order. The default value
2768
+ # of `orderBy` is `DESC`.
2769
+ #
2770
+ # You can use this parameter only with the `groupBy` parameter.
2771
+ #
2772
+ # @option params [Integer] :max_results
2773
+ # The maximum number of results to be returned in the response. The
2774
+ # default value is 25.
2775
+ #
2776
+ # You can use this parameter only with the `groupBy` parameter.
2777
+ #
2754
2778
  # @return [Types::GetFindingsStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2755
2779
  #
2756
2780
  # * {Types::GetFindingsStatisticsResponse#finding_statistics #finding_statistics} => Types::FindingStatistics
2781
+ # * {Types::GetFindingsStatisticsResponse#next_token #next_token} => String
2757
2782
  #
2758
2783
  # @example Request syntax with placeholder values
2759
2784
  #
2760
2785
  # resp = client.get_findings_statistics({
2761
2786
  # detector_id: "DetectorId", # required
2762
- # finding_statistic_types: ["COUNT_BY_SEVERITY"], # required, accepts COUNT_BY_SEVERITY
2787
+ # finding_statistic_types: ["COUNT_BY_SEVERITY"], # accepts COUNT_BY_SEVERITY
2763
2788
  # finding_criteria: {
2764
2789
  # criterion: {
2765
2790
  # "String" => {
@@ -2778,12 +2803,39 @@ module Aws::GuardDuty
2778
2803
  # },
2779
2804
  # },
2780
2805
  # },
2806
+ # group_by: "ACCOUNT", # accepts ACCOUNT, DATE, FINDING_TYPE, RESOURCE, SEVERITY
2807
+ # order_by: "ASC", # accepts ASC, DESC
2808
+ # max_results: 1,
2781
2809
  # })
2782
2810
  #
2783
2811
  # @example Response structure
2784
2812
  #
2785
2813
  # resp.finding_statistics.count_by_severity #=> Hash
2786
2814
  # resp.finding_statistics.count_by_severity["String"] #=> Integer
2815
+ # resp.finding_statistics.grouped_by_account #=> Array
2816
+ # resp.finding_statistics.grouped_by_account[0].account_id #=> String
2817
+ # resp.finding_statistics.grouped_by_account[0].last_generated_at #=> Time
2818
+ # resp.finding_statistics.grouped_by_account[0].total_findings #=> Integer
2819
+ # resp.finding_statistics.grouped_by_date #=> Array
2820
+ # resp.finding_statistics.grouped_by_date[0].date #=> Time
2821
+ # resp.finding_statistics.grouped_by_date[0].last_generated_at #=> Time
2822
+ # resp.finding_statistics.grouped_by_date[0].severity #=> Float
2823
+ # resp.finding_statistics.grouped_by_date[0].total_findings #=> Integer
2824
+ # resp.finding_statistics.grouped_by_finding_type #=> Array
2825
+ # resp.finding_statistics.grouped_by_finding_type[0].finding_type #=> String
2826
+ # resp.finding_statistics.grouped_by_finding_type[0].last_generated_at #=> Time
2827
+ # resp.finding_statistics.grouped_by_finding_type[0].total_findings #=> Integer
2828
+ # resp.finding_statistics.grouped_by_resource #=> Array
2829
+ # resp.finding_statistics.grouped_by_resource[0].account_id #=> String
2830
+ # resp.finding_statistics.grouped_by_resource[0].last_generated_at #=> Time
2831
+ # resp.finding_statistics.grouped_by_resource[0].resource_id #=> String
2832
+ # resp.finding_statistics.grouped_by_resource[0].resource_type #=> String
2833
+ # resp.finding_statistics.grouped_by_resource[0].total_findings #=> Integer
2834
+ # resp.finding_statistics.grouped_by_severity #=> Array
2835
+ # resp.finding_statistics.grouped_by_severity[0].last_generated_at #=> Time
2836
+ # resp.finding_statistics.grouped_by_severity[0].severity #=> Float
2837
+ # resp.finding_statistics.grouped_by_severity[0].total_findings #=> Integer
2838
+ # resp.next_token #=> String
2787
2839
  #
2788
2840
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics AWS API Documentation
2789
2841
  #
@@ -2797,7 +2849,7 @@ module Aws::GuardDuty
2797
2849
  # Retrieves the IPSet specified by the `ipSetId`.
2798
2850
  #
2799
2851
  # @option params [required, String] :detector_id
2800
- # The unique ID of the detector that the IPSet is associated with.
2852
+ # The unique ID of the detector that is associated with the IPSet.
2801
2853
  #
2802
2854
  # @option params [required, String] :ip_set_id
2803
2855
  # The unique ID of the IPSet to retrieve.
@@ -2916,8 +2968,7 @@ module Aws::GuardDuty
2916
2968
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
2917
2969
  #
2918
2970
  # @option params [required, String] :detector_id
2919
- # The unique ID of the detector that the scan setting is associated
2920
- # with.
2971
+ # The unique ID of the detector that is associated with this scan.
2921
2972
  #
2922
2973
  # @return [Types::GetMalwareScanSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2923
2974
  #
@@ -2999,7 +3050,7 @@ module Aws::GuardDuty
2999
3050
  # The detector ID for the administrator account.
3000
3051
  #
3001
3052
  # @option params [required, Array<String>] :account_ids
3002
- # The account ID of the member account.
3053
+ # A list of member account IDs.
3003
3054
  #
3004
3055
  # @return [Types::GetMemberDetectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3005
3056
  #
@@ -3178,8 +3229,8 @@ module Aws::GuardDuty
3178
3229
  # ID.
3179
3230
  #
3180
3231
  # @option params [required, String] :detector_id
3181
- # The unique ID of the detector that the threatIntelSet is associated
3182
- # with.
3232
+ # The unique ID of the detector that is associated with the
3233
+ # threatIntelSet.
3183
3234
  #
3184
3235
  # @option params [required, String] :threat_intel_set_id
3185
3236
  # The unique ID of the threatIntelSet that you want to get.
@@ -3361,8 +3412,8 @@ module Aws::GuardDuty
3361
3412
  # [6]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html
3362
3413
  #
3363
3414
  # @option params [required, String] :detector_id
3364
- # The unique ID of the detector of the GuardDuty account that you want
3365
- # to invite members with.
3415
+ # The unique ID of the detector of the GuardDuty account with which you
3416
+ # want to invite members.
3366
3417
  #
3367
3418
  # @option params [required, Array<String>] :account_ids
3368
3419
  # A list of account IDs of the accounts that you want to invite to
@@ -3547,7 +3598,7 @@ module Aws::GuardDuty
3547
3598
  # Returns a paginated list of the current filters.
3548
3599
  #
3549
3600
  # @option params [required, String] :detector_id
3550
- # The unique ID of the detector that the filter is associated with.
3601
+ # The unique ID of the detector that is associated with the filter.
3551
3602
  #
3552
3603
  # @option params [Integer] :max_results
3553
3604
  # You can use this parameter to indicate the maximum number of items
@@ -3704,6 +3755,8 @@ module Aws::GuardDuty
3704
3755
  # listed. When this attribute is not set, all existing findings are
3705
3756
  # listed.
3706
3757
  #
3758
+ # * service.ebsVolumeScanDetails.scanId
3759
+ #
3707
3760
  # * service.resourceRole
3708
3761
  #
3709
3762
  # * severity
@@ -3786,7 +3839,7 @@ module Aws::GuardDuty
3786
3839
  # returned are the IPSets from the associated administrator account.
3787
3840
  #
3788
3841
  # @option params [required, String] :detector_id
3789
- # The unique ID of the detector that the IPSet is associated with.
3842
+ # The unique ID of the detector that is associated with IPSet.
3790
3843
  #
3791
3844
  # @option params [Integer] :max_results
3792
3845
  # You can use this parameter to indicate the maximum number of items you
@@ -3917,7 +3970,7 @@ module Aws::GuardDuty
3917
3970
  # administrator account.
3918
3971
  #
3919
3972
  # @option params [required, String] :detector_id
3920
- # The unique ID of the detector the member is associated with.
3973
+ # The unique ID of the detector that is associated with the member.
3921
3974
  #
3922
3975
  # @option params [Integer] :max_results
3923
3976
  # You can use this parameter to indicate the maximum number of items you
@@ -4028,7 +4081,8 @@ module Aws::GuardDuty
4028
4081
  # specified `detectorId`.
4029
4082
  #
4030
4083
  # @option params [required, String] :detector_id
4031
- # The ID of the detector to retrieve publishing destinations for.
4084
+ # The detector ID for which you want to retrieve the publishing
4085
+ # destination.
4032
4086
  #
4033
4087
  # @option params [Integer] :max_results
4034
4088
  # The maximum number of results to return in the response.
@@ -4110,8 +4164,8 @@ module Aws::GuardDuty
4110
4164
  # returned.
4111
4165
  #
4112
4166
  # @option params [required, String] :detector_id
4113
- # The unique ID of the detector that the threatIntelSet is associated
4114
- # with.
4167
+ # The unique ID of the detector that is associated with the
4168
+ # threatIntelSet.
4115
4169
  #
4116
4170
  # @option params [Integer] :max_results
4117
4171
  # You can use this parameter to indicate the maximum number of items
@@ -4524,8 +4578,8 @@ module Aws::GuardDuty
4524
4578
  # Marks the specified GuardDuty findings as useful or not useful.
4525
4579
  #
4526
4580
  # @option params [required, String] :detector_id
4527
- # The ID of the detector associated with the findings to update feedback
4528
- # for.
4581
+ # The ID of the detector that is associated with the findings for which
4582
+ # you want to update the feedback.
4529
4583
  #
4530
4584
  # @option params [required, Array<String>] :finding_ids
4531
4585
  # The IDs of the findings that you want to mark as useful or not useful.
@@ -4602,8 +4656,8 @@ module Aws::GuardDuty
4602
4656
  # A unique identifier associated with the Malware Protection plan.
4603
4657
  #
4604
4658
  # @option params [String] :role
4605
- # IAM role with permissions required to scan and add tags to the
4606
- # associated protected resource.
4659
+ # Amazon Resource Name (ARN) of the IAM role with permissions to scan
4660
+ # and add tags to the associated protected resource.
4607
4661
  #
4608
4662
  # @option params [Types::MalwareProtectionPlanActions] :actions
4609
4663
  # Information about whether the tags will be added to the S3 object
@@ -5000,7 +5054,7 @@ module Aws::GuardDuty
5000
5054
  tracer: tracer
5001
5055
  )
5002
5056
  context[:gem_name] = 'aws-sdk-guardduty'
5003
- context[:gem_version] = '1.97.0'
5057
+ context[:gem_version] = '1.99.0'
5004
5058
  Seahorse::Client::Request.new(handlers, context)
5005
5059
  end
5006
5060
 
@@ -27,6 +27,7 @@ module Aws::GuardDuty
27
27
  AccountId = Shapes::StringShape.new(name: 'AccountId')
28
28
  AccountIds = Shapes::ListShape.new(name: 'AccountIds')
29
29
  AccountLevelPermissions = Shapes::StructureShape.new(name: 'AccountLevelPermissions')
30
+ AccountStatistics = Shapes::StructureShape.new(name: 'AccountStatistics')
30
31
  Action = Shapes::StructureShape.new(name: 'Action')
31
32
  AddonDetails = Shapes::StructureShape.new(name: 'AddonDetails')
32
33
  AdminAccount = Shapes::StructureShape.new(name: 'AdminAccount')
@@ -109,6 +110,7 @@ module Aws::GuardDuty
109
110
  DataSourceList = Shapes::ListShape.new(name: 'DataSourceList')
110
111
  DataSourceStatus = Shapes::StringShape.new(name: 'DataSourceStatus')
111
112
  DataSourcesFreeTrial = Shapes::StructureShape.new(name: 'DataSourcesFreeTrial')
113
+ DateStatistics = Shapes::StructureShape.new(name: 'DateStatistics')
112
114
  DeclineInvitationsRequest = Shapes::StructureShape.new(name: 'DeclineInvitationsRequest')
113
115
  DeclineInvitationsResponse = Shapes::StructureShape.new(name: 'DeclineInvitationsResponse')
114
116
  DefaultServerSideEncryption = Shapes::StructureShape.new(name: 'DefaultServerSideEncryption')
@@ -198,6 +200,7 @@ module Aws::GuardDuty
198
200
  FindingStatisticTypes = Shapes::ListShape.new(name: 'FindingStatisticTypes')
199
201
  FindingStatistics = Shapes::StructureShape.new(name: 'FindingStatistics')
200
202
  FindingType = Shapes::StringShape.new(name: 'FindingType')
203
+ FindingTypeStatistics = Shapes::StructureShape.new(name: 'FindingTypeStatistics')
201
204
  FindingTypes = Shapes::ListShape.new(name: 'FindingTypes')
202
205
  Findings = Shapes::ListShape.new(name: 'Findings')
203
206
  FlagsList = Shapes::ListShape.new(name: 'FlagsList')
@@ -239,6 +242,12 @@ module Aws::GuardDuty
239
242
  GetThreatIntelSetResponse = Shapes::StructureShape.new(name: 'GetThreatIntelSetResponse')
240
243
  GetUsageStatisticsRequest = Shapes::StructureShape.new(name: 'GetUsageStatisticsRequest')
241
244
  GetUsageStatisticsResponse = Shapes::StructureShape.new(name: 'GetUsageStatisticsResponse')
245
+ GroupByType = Shapes::StringShape.new(name: 'GroupByType')
246
+ GroupedByAccount = Shapes::ListShape.new(name: 'GroupedByAccount')
247
+ GroupedByDate = Shapes::ListShape.new(name: 'GroupedByDate')
248
+ GroupedByFindingType = Shapes::ListShape.new(name: 'GroupedByFindingType')
249
+ GroupedByResource = Shapes::ListShape.new(name: 'GroupedByResource')
250
+ GroupedBySeverity = Shapes::ListShape.new(name: 'GroupedBySeverity')
242
251
  Groups = Shapes::ListShape.new(name: 'Groups')
243
252
  GuardDutyArn = Shapes::StringShape.new(name: 'GuardDutyArn')
244
253
  HighestSeverityThreatDetails = Shapes::StructureShape.new(name: 'HighestSeverityThreatDetails')
@@ -324,6 +333,7 @@ module Aws::GuardDuty
324
333
  MapEquals = Shapes::ListShape.new(name: 'MapEquals')
325
334
  Master = Shapes::StructureShape.new(name: 'Master')
326
335
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
336
+ MaxResults100 = Shapes::IntegerShape.new(name: 'MaxResults100')
327
337
  Member = Shapes::StructureShape.new(name: 'Member')
328
338
  MemberAdditionalConfiguration = Shapes::StructureShape.new(name: 'MemberAdditionalConfiguration')
329
339
  MemberAdditionalConfigurationResult = Shapes::StructureShape.new(name: 'MemberAdditionalConfigurationResult')
@@ -405,6 +415,7 @@ module Aws::GuardDuty
405
415
  ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
406
416
  ResourceList = Shapes::ListShape.new(name: 'ResourceList')
407
417
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
418
+ ResourceStatistics = Shapes::StructureShape.new(name: 'ResourceStatistics')
408
419
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
409
420
  RuntimeContext = Shapes::StructureShape.new(name: 'RuntimeContext')
410
421
  RuntimeDetails = Shapes::StructureShape.new(name: 'RuntimeDetails')
@@ -439,6 +450,7 @@ module Aws::GuardDuty
439
450
  Service = Shapes::StructureShape.new(name: 'Service')
440
451
  ServiceAdditionalInfo = Shapes::StructureShape.new(name: 'ServiceAdditionalInfo')
441
452
  SessionNameList = Shapes::ListShape.new(name: 'SessionNameList')
453
+ SeverityStatistics = Shapes::StructureShape.new(name: 'SeverityStatistics')
442
454
  SortCriteria = Shapes::StructureShape.new(name: 'SortCriteria')
443
455
  SourceIps = Shapes::ListShape.new(name: 'SourceIps')
444
456
  Sources = Shapes::ListShape.new(name: 'Sources')
@@ -570,6 +582,11 @@ module Aws::GuardDuty
570
582
  AccountLevelPermissions.add_member(:block_public_access, Shapes::ShapeRef.new(shape: BlockPublicAccess, location_name: "blockPublicAccess"))
571
583
  AccountLevelPermissions.struct_class = Types::AccountLevelPermissions
572
584
 
585
+ AccountStatistics.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
586
+ AccountStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
587
+ AccountStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
588
+ AccountStatistics.struct_class = Types::AccountStatistics
589
+
573
590
  Action.add_member(:action_type, Shapes::ShapeRef.new(shape: String, location_name: "actionType"))
574
591
  Action.add_member(:aws_api_call_action, Shapes::ShapeRef.new(shape: AwsApiCallAction, location_name: "awsApiCallAction"))
575
592
  Action.add_member(:dns_request_action, Shapes::ShapeRef.new(shape: DnsRequestAction, location_name: "dnsRequestAction"))
@@ -897,6 +914,12 @@ module Aws::GuardDuty
897
914
  DataSourcesFreeTrial.add_member(:malware_protection, Shapes::ShapeRef.new(shape: MalwareProtectionDataSourceFreeTrial, location_name: "malwareProtection"))
898
915
  DataSourcesFreeTrial.struct_class = Types::DataSourcesFreeTrial
899
916
 
917
+ DateStatistics.add_member(:date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "date"))
918
+ DateStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
919
+ DateStatistics.add_member(:severity, Shapes::ShapeRef.new(shape: Double, location_name: "severity"))
920
+ DateStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
921
+ DateStatistics.struct_class = Types::DateStatistics
922
+
900
923
  DeclineInvitationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
901
924
  DeclineInvitationsRequest.struct_class = Types::DeclineInvitationsRequest
902
925
 
@@ -1167,9 +1190,19 @@ module Aws::GuardDuty
1167
1190
 
1168
1191
  FindingStatisticTypes.member = Shapes::ShapeRef.new(shape: FindingStatisticType)
1169
1192
 
1170
- FindingStatistics.add_member(:count_by_severity, Shapes::ShapeRef.new(shape: CountBySeverity, location_name: "countBySeverity"))
1193
+ FindingStatistics.add_member(:count_by_severity, Shapes::ShapeRef.new(shape: CountBySeverity, deprecated: true, location_name: "countBySeverity", metadata: {"deprecatedMessage"=>"This parameter is deprecated. Please set GroupBy to 'SEVERITY' to return GroupedBySeverity instead."}))
1194
+ FindingStatistics.add_member(:grouped_by_account, Shapes::ShapeRef.new(shape: GroupedByAccount, location_name: "groupedByAccount"))
1195
+ FindingStatistics.add_member(:grouped_by_date, Shapes::ShapeRef.new(shape: GroupedByDate, location_name: "groupedByDate"))
1196
+ FindingStatistics.add_member(:grouped_by_finding_type, Shapes::ShapeRef.new(shape: GroupedByFindingType, location_name: "groupedByFindingType"))
1197
+ FindingStatistics.add_member(:grouped_by_resource, Shapes::ShapeRef.new(shape: GroupedByResource, location_name: "groupedByResource"))
1198
+ FindingStatistics.add_member(:grouped_by_severity, Shapes::ShapeRef.new(shape: GroupedBySeverity, location_name: "groupedBySeverity"))
1171
1199
  FindingStatistics.struct_class = Types::FindingStatistics
1172
1200
 
1201
+ FindingTypeStatistics.add_member(:finding_type, Shapes::ShapeRef.new(shape: String, location_name: "findingType"))
1202
+ FindingTypeStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
1203
+ FindingTypeStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
1204
+ FindingTypeStatistics.struct_class = Types::FindingTypeStatistics
1205
+
1173
1206
  FindingTypes.member = Shapes::ShapeRef.new(shape: FindingType)
1174
1207
 
1175
1208
  Findings.member = Shapes::ShapeRef.new(shape: Finding)
@@ -1237,11 +1270,15 @@ module Aws::GuardDuty
1237
1270
  GetFindingsResponse.struct_class = Types::GetFindingsResponse
1238
1271
 
1239
1272
  GetFindingsStatisticsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1240
- GetFindingsStatisticsRequest.add_member(:finding_statistic_types, Shapes::ShapeRef.new(shape: FindingStatisticTypes, required: true, location_name: "findingStatisticTypes"))
1273
+ GetFindingsStatisticsRequest.add_member(:finding_statistic_types, Shapes::ShapeRef.new(shape: FindingStatisticTypes, deprecated: true, location_name: "findingStatisticTypes", metadata: {"deprecatedMessage"=>"This parameter is deprecated, please use GroupBy instead"}))
1241
1274
  GetFindingsStatisticsRequest.add_member(:finding_criteria, Shapes::ShapeRef.new(shape: FindingCriteria, location_name: "findingCriteria"))
1275
+ GetFindingsStatisticsRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupByType, location_name: "groupBy"))
1276
+ GetFindingsStatisticsRequest.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
1277
+ GetFindingsStatisticsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults100, location_name: "maxResults"))
1242
1278
  GetFindingsStatisticsRequest.struct_class = Types::GetFindingsStatisticsRequest
1243
1279
 
1244
1280
  GetFindingsStatisticsResponse.add_member(:finding_statistics, Shapes::ShapeRef.new(shape: FindingStatistics, required: true, location_name: "findingStatistics"))
1281
+ GetFindingsStatisticsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1245
1282
  GetFindingsStatisticsResponse.struct_class = Types::GetFindingsStatisticsResponse
1246
1283
 
1247
1284
  GetIPSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
@@ -1336,6 +1373,16 @@ module Aws::GuardDuty
1336
1373
  GetUsageStatisticsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1337
1374
  GetUsageStatisticsResponse.struct_class = Types::GetUsageStatisticsResponse
1338
1375
 
1376
+ GroupedByAccount.member = Shapes::ShapeRef.new(shape: AccountStatistics)
1377
+
1378
+ GroupedByDate.member = Shapes::ShapeRef.new(shape: DateStatistics)
1379
+
1380
+ GroupedByFindingType.member = Shapes::ShapeRef.new(shape: FindingTypeStatistics)
1381
+
1382
+ GroupedByResource.member = Shapes::ShapeRef.new(shape: ResourceStatistics)
1383
+
1384
+ GroupedBySeverity.member = Shapes::ShapeRef.new(shape: SeverityStatistics)
1385
+
1339
1386
  Groups.member = Shapes::ShapeRef.new(shape: String)
1340
1387
 
1341
1388
  HighestSeverityThreatDetails.add_member(:severity, Shapes::ShapeRef.new(shape: String, location_name: "severity"))
@@ -1946,6 +1993,13 @@ module Aws::GuardDuty
1946
1993
  ResourceNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "__type"))
1947
1994
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1948
1995
 
1996
+ ResourceStatistics.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
1997
+ ResourceStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
1998
+ ResourceStatistics.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
1999
+ ResourceStatistics.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
2000
+ ResourceStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
2001
+ ResourceStatistics.struct_class = Types::ResourceStatistics
2002
+
1949
2003
  RuntimeContext.add_member(:modifying_process, Shapes::ShapeRef.new(shape: ProcessDetails, location_name: "modifyingProcess"))
1950
2004
  RuntimeContext.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedAt"))
1951
2005
  RuntimeContext.add_member(:script_path, Shapes::ShapeRef.new(shape: String, location_name: "scriptPath"))
@@ -2106,6 +2160,11 @@ module Aws::GuardDuty
2106
2160
 
2107
2161
  SessionNameList.member = Shapes::ShapeRef.new(shape: String)
2108
2162
 
2163
+ SeverityStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
2164
+ SeverityStatistics.add_member(:severity, Shapes::ShapeRef.new(shape: Double, location_name: "severity"))
2165
+ SeverityStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
2166
+ SeverityStatistics.struct_class = Types::SeverityStatistics
2167
+
2109
2168
  SortCriteria.add_member(:attribute_name, Shapes::ShapeRef.new(shape: String, location_name: "attributeName"))
2110
2169
  SortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
2111
2170
  SortCriteria.struct_class = Types::SortCriteria