aws-sdk-guardduty 1.98.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: 23a519597fea3d1f529f4f8cd43e95686f0e2fbea7adae18d7abbe2a173ccd5c
4
- data.tar.gz: 0ca27de4f5f266ff3568e41f212a28ba768321381a4f734501194f40d6eebc6b
3
+ metadata.gz: b364ffa4061f3b3f36e8a29d3292638d748c813dadde24b1cf1c431cfe1e8bcb
4
+ data.tar.gz: f0a7cea0712c84f167b1009f65acff1fae0778f2168ed7d54cfaf9a4e31c3c9a
5
5
  SHA512:
6
- metadata.gz: 66ecf74d8bfc19166c77c02f2c0c1fa741a2c382e6e9e90b07f871cb4b3c3ac05d6808699606f51fef8c99d241bcbe463463013c87c85cf14365db728756b863
7
- data.tar.gz: b6added0c95ca67ed6dda9325ff5c23a28fcbb6a6ec8328d3e5acbdab22fdf25376fc6ed0380755902280667dcec169d9be0cbe9871b231397dd6aa99a3c565a
6
+ metadata.gz: 62b83b807dc6129149b88f27537223dc9efc74fc798fe5cf72e01c11653a2e727a098f6912f73036682f103408c4949d0e255dcbaba76cdd2c6e4c70365d079c
7
+ data.tar.gz: ff359f42b811c4fc6634f4f5414cceef79b765c3e2589ea52a3e3ac3a32791d25da9bfcbaba270f5b61667726ae635ac35a673b366155bb9ef4b08bca6ff8166
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.98.0 (2024-09-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.98.0
1
+ 1.99.0
@@ -670,8 +670,8 @@ module Aws::GuardDuty
670
670
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_limits.html
671
671
  #
672
672
  # @option params [required, String] :detector_id
673
- # The ID of the detector belonging to the GuardDuty account that you
674
- # want to create a filter for.
673
+ # The detector ID associated with the GuardDuty account for which you
674
+ # want to create a filter.
675
675
  #
676
676
  # @option params [required, String] :name
677
677
  # The name of the filter. Valid characters include period (.),
@@ -977,8 +977,8 @@ module Aws::GuardDuty
977
977
  # can use this operation.
978
978
  #
979
979
  # @option params [required, String] :detector_id
980
- # The unique ID of the detector of the GuardDuty account that you want
981
- # 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.
982
982
  #
983
983
  # @option params [required, String] :name
984
984
  # The user-friendly name to identify the IPSet.
@@ -1054,8 +1054,8 @@ module Aws::GuardDuty
1054
1054
  # not need to pass this option.**
1055
1055
  #
1056
1056
  # @option params [required, String] :role
1057
- # IAM role with permissions required to scan and add tags to the
1058
- # 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.
1059
1059
  #
1060
1060
  # @option params [required, Types::CreateProtectedResource] :protected_resource
1061
1061
  # Information about the protected resource that is associated with the
@@ -1144,8 +1144,8 @@ module Aws::GuardDuty
1144
1144
  # [3]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html
1145
1145
  #
1146
1146
  # @option params [required, String] :detector_id
1147
- # The unique ID of the detector of the GuardDuty account that you want
1148
- # 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.
1149
1149
  #
1150
1150
  # @option params [required, Array<Types::AccountDetail>] :account_details
1151
1151
  # A list of account ID and email address pairs of the accounts that you
@@ -1182,8 +1182,9 @@ module Aws::GuardDuty
1182
1182
  req.send_request(options)
1183
1183
  end
1184
1184
 
1185
- # Creates a publishing destination to export findings to. The resource
1186
- # 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.
1187
1188
  #
1188
1189
  # @option params [required, String] :detector_id
1189
1190
  # The ID of the GuardDuty detector associated with the publishing
@@ -1237,7 +1238,7 @@ module Aws::GuardDuty
1237
1238
  # sample findings of all supported finding types.
1238
1239
  #
1239
1240
  # @option params [required, String] :detector_id
1240
- # The ID of the detector to create sample findings for.
1241
+ # The ID of the detector for which you need to create sample findings.
1241
1242
  #
1242
1243
  # @option params [Array<String>] :finding_types
1243
1244
  # The types of sample findings to generate.
@@ -1266,8 +1267,8 @@ module Aws::GuardDuty
1266
1267
  # operation.
1267
1268
  #
1268
1269
  # @option params [required, String] :detector_id
1269
- # The unique ID of the detector of the GuardDuty account that you want
1270
- # 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`.
1271
1272
  #
1272
1273
  # @option params [required, String] :name
1273
1274
  # A user-friendly ThreatIntelSet name displayed in all findings that are
@@ -1383,7 +1384,7 @@ module Aws::GuardDuty
1383
1384
  # Deletes the filter specified by the filter name.
1384
1385
  #
1385
1386
  # @option params [required, String] :detector_id
1386
- # 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.
1387
1388
  #
1388
1389
  # @option params [required, String] :filter_name
1389
1390
  # The name of the filter that you want to delete.
@@ -1561,8 +1562,8 @@ module Aws::GuardDuty
1561
1562
  # Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
1562
1563
  #
1563
1564
  # @option params [required, String] :detector_id
1564
- # The unique ID of the detector that the threatIntelSet is associated
1565
- # with.
1565
+ # The unique ID of the detector that is associated with the
1566
+ # threatIntelSet.
1566
1567
  #
1567
1568
  # @option params [required, String] :threat_intel_set_id
1568
1569
  # The unique ID of the threatIntelSet that you want to delete.
@@ -1706,8 +1707,8 @@ module Aws::GuardDuty
1706
1707
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
1707
1708
  #
1708
1709
  # @option params [required, String] :detector_id
1709
- # The ID of the detector to retrieve information about the delegated
1710
- # administrator from.
1710
+ # The detector ID of the delegated administrator for which you need to
1711
+ # retrieve the information.
1711
1712
  #
1712
1713
  # @option params [Integer] :max_results
1713
1714
  # You can use this parameter to indicate the maximum number of items
@@ -2051,11 +2052,10 @@ module Aws::GuardDuty
2051
2052
  # GuardDuty security agent running on their resources.
2052
2053
  #
2053
2054
  # @option params [required, String] :detector_id
2054
- # The unique ID of the GuardDuty detector associated to the coverage
2055
- # statistics.
2055
+ # The unique ID of the GuardDuty detector.
2056
2056
  #
2057
2057
  # @option params [Types::CoverageFilterCriteria] :filter_criteria
2058
- # Represents the criteria used to filter the coverage statistics
2058
+ # Represents the criteria used to filter the coverage statistics.
2059
2059
  #
2060
2060
  # @option params [required, Array<String>] :statistics_type
2061
2061
  # Represents the statistics type used to aggregate the coverage details.
@@ -2098,7 +2098,7 @@ module Aws::GuardDuty
2098
2098
  req.send_request(options)
2099
2099
  end
2100
2100
 
2101
- # Retrieves an Amazon GuardDuty detector specified by the detectorId.
2101
+ # Retrieves a GuardDuty detector specified by the detectorId.
2102
2102
  #
2103
2103
  # There might be regional differences because some data sources might
2104
2104
  # not be available in all the Amazon Web Services Regions where
@@ -2167,7 +2167,7 @@ module Aws::GuardDuty
2167
2167
  # Returns the details of the filter specified by the filter name.
2168
2168
  #
2169
2169
  # @option params [required, String] :detector_id
2170
- # 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.
2171
2171
  #
2172
2172
  # @option params [required, String] :filter_name
2173
2173
  # The name of the filter you want to get.
@@ -2736,8 +2736,11 @@ module Aws::GuardDuty
2736
2736
  req.send_request(options)
2737
2737
  end
2738
2738
 
2739
- # Lists Amazon GuardDuty findings statistics for the specified detector
2740
- # 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`.
2741
2744
  #
2742
2745
  # There might be regional differences because some flags might not be
2743
2746
  # available in all the Regions where GuardDuty is currently supported.
@@ -2748,24 +2751,40 @@ module Aws::GuardDuty
2748
2751
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
2749
2752
  #
2750
2753
  # @option params [required, String] :detector_id
2751
- # The ID of the detector that specifies the GuardDuty service whose
2752
- # findings' statistics you want to retrieve.
2754
+ # The ID of the detector whose findings statistics you want to retrieve.
2753
2755
  #
2754
- # @option params [required, Array<String>] :finding_statistic_types
2756
+ # @option params [Array<String>] :finding_statistic_types
2755
2757
  # The types of finding statistics to retrieve.
2756
2758
  #
2757
2759
  # @option params [Types::FindingCriteria] :finding_criteria
2758
2760
  # Represents the criteria that is used for querying findings.
2759
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
+ #
2760
2778
  # @return [Types::GetFindingsStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2761
2779
  #
2762
2780
  # * {Types::GetFindingsStatisticsResponse#finding_statistics #finding_statistics} => Types::FindingStatistics
2781
+ # * {Types::GetFindingsStatisticsResponse#next_token #next_token} => String
2763
2782
  #
2764
2783
  # @example Request syntax with placeholder values
2765
2784
  #
2766
2785
  # resp = client.get_findings_statistics({
2767
2786
  # detector_id: "DetectorId", # required
2768
- # finding_statistic_types: ["COUNT_BY_SEVERITY"], # required, accepts COUNT_BY_SEVERITY
2787
+ # finding_statistic_types: ["COUNT_BY_SEVERITY"], # accepts COUNT_BY_SEVERITY
2769
2788
  # finding_criteria: {
2770
2789
  # criterion: {
2771
2790
  # "String" => {
@@ -2784,12 +2803,39 @@ module Aws::GuardDuty
2784
2803
  # },
2785
2804
  # },
2786
2805
  # },
2806
+ # group_by: "ACCOUNT", # accepts ACCOUNT, DATE, FINDING_TYPE, RESOURCE, SEVERITY
2807
+ # order_by: "ASC", # accepts ASC, DESC
2808
+ # max_results: 1,
2787
2809
  # })
2788
2810
  #
2789
2811
  # @example Response structure
2790
2812
  #
2791
2813
  # resp.finding_statistics.count_by_severity #=> Hash
2792
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
2793
2839
  #
2794
2840
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics AWS API Documentation
2795
2841
  #
@@ -2803,7 +2849,7 @@ module Aws::GuardDuty
2803
2849
  # Retrieves the IPSet specified by the `ipSetId`.
2804
2850
  #
2805
2851
  # @option params [required, String] :detector_id
2806
- # 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.
2807
2853
  #
2808
2854
  # @option params [required, String] :ip_set_id
2809
2855
  # The unique ID of the IPSet to retrieve.
@@ -2922,8 +2968,7 @@ module Aws::GuardDuty
2922
2968
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
2923
2969
  #
2924
2970
  # @option params [required, String] :detector_id
2925
- # The unique ID of the detector that the scan setting is associated
2926
- # with.
2971
+ # The unique ID of the detector that is associated with this scan.
2927
2972
  #
2928
2973
  # @return [Types::GetMalwareScanSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2929
2974
  #
@@ -3005,7 +3050,7 @@ module Aws::GuardDuty
3005
3050
  # The detector ID for the administrator account.
3006
3051
  #
3007
3052
  # @option params [required, Array<String>] :account_ids
3008
- # The account ID of the member account.
3053
+ # A list of member account IDs.
3009
3054
  #
3010
3055
  # @return [Types::GetMemberDetectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3011
3056
  #
@@ -3184,8 +3229,8 @@ module Aws::GuardDuty
3184
3229
  # ID.
3185
3230
  #
3186
3231
  # @option params [required, String] :detector_id
3187
- # The unique ID of the detector that the threatIntelSet is associated
3188
- # with.
3232
+ # The unique ID of the detector that is associated with the
3233
+ # threatIntelSet.
3189
3234
  #
3190
3235
  # @option params [required, String] :threat_intel_set_id
3191
3236
  # The unique ID of the threatIntelSet that you want to get.
@@ -3367,8 +3412,8 @@ module Aws::GuardDuty
3367
3412
  # [6]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html
3368
3413
  #
3369
3414
  # @option params [required, String] :detector_id
3370
- # The unique ID of the detector of the GuardDuty account that you want
3371
- # to invite members with.
3415
+ # The unique ID of the detector of the GuardDuty account with which you
3416
+ # want to invite members.
3372
3417
  #
3373
3418
  # @option params [required, Array<String>] :account_ids
3374
3419
  # A list of account IDs of the accounts that you want to invite to
@@ -3553,7 +3598,7 @@ module Aws::GuardDuty
3553
3598
  # Returns a paginated list of the current filters.
3554
3599
  #
3555
3600
  # @option params [required, String] :detector_id
3556
- # 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.
3557
3602
  #
3558
3603
  # @option params [Integer] :max_results
3559
3604
  # You can use this parameter to indicate the maximum number of items
@@ -3710,6 +3755,8 @@ module Aws::GuardDuty
3710
3755
  # listed. When this attribute is not set, all existing findings are
3711
3756
  # listed.
3712
3757
  #
3758
+ # * service.ebsVolumeScanDetails.scanId
3759
+ #
3713
3760
  # * service.resourceRole
3714
3761
  #
3715
3762
  # * severity
@@ -3792,7 +3839,7 @@ module Aws::GuardDuty
3792
3839
  # returned are the IPSets from the associated administrator account.
3793
3840
  #
3794
3841
  # @option params [required, String] :detector_id
3795
- # The unique ID of the detector that the IPSet is associated with.
3842
+ # The unique ID of the detector that is associated with IPSet.
3796
3843
  #
3797
3844
  # @option params [Integer] :max_results
3798
3845
  # You can use this parameter to indicate the maximum number of items you
@@ -3923,7 +3970,7 @@ module Aws::GuardDuty
3923
3970
  # administrator account.
3924
3971
  #
3925
3972
  # @option params [required, String] :detector_id
3926
- # The unique ID of the detector the member is associated with.
3973
+ # The unique ID of the detector that is associated with the member.
3927
3974
  #
3928
3975
  # @option params [Integer] :max_results
3929
3976
  # You can use this parameter to indicate the maximum number of items you
@@ -4034,7 +4081,8 @@ module Aws::GuardDuty
4034
4081
  # specified `detectorId`.
4035
4082
  #
4036
4083
  # @option params [required, String] :detector_id
4037
- # The ID of the detector to retrieve publishing destinations for.
4084
+ # The detector ID for which you want to retrieve the publishing
4085
+ # destination.
4038
4086
  #
4039
4087
  # @option params [Integer] :max_results
4040
4088
  # The maximum number of results to return in the response.
@@ -4116,8 +4164,8 @@ module Aws::GuardDuty
4116
4164
  # returned.
4117
4165
  #
4118
4166
  # @option params [required, String] :detector_id
4119
- # The unique ID of the detector that the threatIntelSet is associated
4120
- # with.
4167
+ # The unique ID of the detector that is associated with the
4168
+ # threatIntelSet.
4121
4169
  #
4122
4170
  # @option params [Integer] :max_results
4123
4171
  # You can use this parameter to indicate the maximum number of items
@@ -4530,8 +4578,8 @@ module Aws::GuardDuty
4530
4578
  # Marks the specified GuardDuty findings as useful or not useful.
4531
4579
  #
4532
4580
  # @option params [required, String] :detector_id
4533
- # The ID of the detector associated with the findings to update feedback
4534
- # for.
4581
+ # The ID of the detector that is associated with the findings for which
4582
+ # you want to update the feedback.
4535
4583
  #
4536
4584
  # @option params [required, Array<String>] :finding_ids
4537
4585
  # The IDs of the findings that you want to mark as useful or not useful.
@@ -4608,8 +4656,8 @@ module Aws::GuardDuty
4608
4656
  # A unique identifier associated with the Malware Protection plan.
4609
4657
  #
4610
4658
  # @option params [String] :role
4611
- # IAM role with permissions required to scan and add tags to the
4612
- # 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.
4613
4661
  #
4614
4662
  # @option params [Types::MalwareProtectionPlanActions] :actions
4615
4663
  # Information about whether the tags will be added to the S3 object
@@ -5006,7 +5054,7 @@ module Aws::GuardDuty
5006
5054
  tracer: tracer
5007
5055
  )
5008
5056
  context[:gem_name] = 'aws-sdk-guardduty'
5009
- context[:gem_version] = '1.98.0'
5057
+ context[:gem_version] = '1.99.0'
5010
5058
  Seahorse::Client::Request.new(handlers, context)
5011
5059
  end
5012
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