aws-sdk-guardduty 1.64.0 → 1.65.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: 78e8f067f6feba2d1554a082f114522049a2909c60e2ad2a1350406f8faaadc2
4
- data.tar.gz: 6b1ce72b1ec4a0146929d0d03f56009852bed286c58468cc8c0fe7f923bd7c82
3
+ metadata.gz: fa122ecb5a993e1f6cd51dfe75525340ace96b8aedb088e7653d73be01723290
4
+ data.tar.gz: 3bd1d115fea8ced61bbd94478af39f5764f77ea315052f2d8af1916934f9aa5c
5
5
  SHA512:
6
- metadata.gz: 83f8254fcb76d99239163e9a5e94978d56fd1e14e32810d94aef3977fab88ff51c989689f74f7b8b95c872b403dfaf3b98e39035a26f5e303de782c9c8499a34
7
- data.tar.gz: 73b0d404b2eddd2fdb3d69a93fbae813c9d9c7c3b973cc95f672a6fa8c21fed19ac1c1b655c003b38e43ce663de629e7550bd49c6d7d5ac3c0b3bc0c841bd3f0
6
+ metadata.gz: 4c8bccf1baa869990f690b2fc3fdebceff68944155d3a822b1cf4f1cdf257af8ebeb848aa31c2b41192a8e2fa0d09cb64b3a2938123952b5328aa7064d5f7b5e
7
+ data.tar.gz: e58fe1ed3921cda282e63e783239432d5b95974de9f7446c33a2c9792f2574d2ced35c8279fcb4243df302a7ce808700963f6a310572ff089cd7ac3ccc8dc131
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.65.0 (2023-03-16)
5
+ ------------------
6
+
7
+ * Feature - Updated 9 APIs for feature enablement to reflect expansion of GuardDuty to features. Added new APIs and updated existing APIs to support RDS Protection GA.
8
+
4
9
  1.64.0 (2023-02-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.0
1
+ 1.65.0
@@ -509,6 +509,9 @@ module Aws::GuardDuty
509
509
  # @option params [Hash<String,String>] :tags
510
510
  # The tags to be added to a new detector resource.
511
511
  #
512
+ # @option params [Array<Types::DetectorFeatureConfiguration>] :features
513
+ # A list of features that will be configured for the detector.
514
+ #
512
515
  # @return [Types::CreateDetectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
513
516
  #
514
517
  # * {Types::CreateDetectorResponse#detector_id #detector_id} => String
@@ -538,6 +541,12 @@ module Aws::GuardDuty
538
541
  # tags: {
539
542
  # "TagKey" => "TagValue",
540
543
  # },
544
+ # features: [
545
+ # {
546
+ # name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS
547
+ # status: "ENABLED", # accepts ENABLED, DISABLED
548
+ # },
549
+ # ],
541
550
  # })
542
551
  #
543
552
  # @example Response structure
@@ -556,7 +565,13 @@ module Aws::GuardDuty
556
565
  req.send_request(options)
557
566
  end
558
567
 
559
- # Creates a filter using the specified finding criteria.
568
+ # Creates a filter using the specified finding criteria. The maximum
569
+ # number of saved filters per Amazon Web Services account per Region is
570
+ # 100. For more information, see [Quotas for GuardDuty][1].
571
+ #
572
+ #
573
+ #
574
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_limits.html
560
575
  #
561
576
  # @option params [required, String] :detector_id
562
577
  # The ID of the detector belonging to the GuardDuty account that you
@@ -569,8 +584,10 @@ module Aws::GuardDuty
569
584
  #
570
585
  # @option params [String] :description
571
586
  # The description of the filter. Valid characters include alphanumeric
572
- # characters, and special characters such as `-`, `.`, `:`, `\{ \}`, `[
573
- # ]`, `( )`, `/`, `\t`, `\n`, `\x0B`, `\f`, `\r`, `_`, and whitespace.
587
+ # characters, and special characters such as hyphen, period, colon,
588
+ # underscore, parentheses (`\{ \}`, `[ ]`, and `( )`), forward slash,
589
+ # horizontal tab, vertical tab, newline, form feed, return, and
590
+ # whitespace.
574
591
  #
575
592
  # @option params [String] :action
576
593
  # Specifies the action that is to be applied to the findings that match
@@ -1382,16 +1399,33 @@ module Aws::GuardDuty
1382
1399
  # The ID of the detector to retrieve information about the delegated
1383
1400
  # administrator from.
1384
1401
  #
1402
+ # @option params [Integer] :max_results
1403
+ # You can use this parameter to indicate the maximum number of items
1404
+ # that you want in the response.
1405
+ #
1406
+ # @option params [String] :next_token
1407
+ # You can use this parameter when paginating results. Set the value of
1408
+ # this parameter to null on your first call to the list action. For
1409
+ # subsequent calls to the action, fill `nextToken` in the request with
1410
+ # the value of `NextToken` from the previous response to continue
1411
+ # listing data.
1412
+ #
1385
1413
  # @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1386
1414
  #
1387
1415
  # * {Types::DescribeOrganizationConfigurationResponse#auto_enable #auto_enable} => Boolean
1388
1416
  # * {Types::DescribeOrganizationConfigurationResponse#member_account_limit_reached #member_account_limit_reached} => Boolean
1389
1417
  # * {Types::DescribeOrganizationConfigurationResponse#data_sources #data_sources} => Types::OrganizationDataSourceConfigurationsResult
1418
+ # * {Types::DescribeOrganizationConfigurationResponse#features #features} => Array&lt;Types::OrganizationFeatureConfigurationResult&gt;
1419
+ # * {Types::DescribeOrganizationConfigurationResponse#next_token #next_token} => String
1420
+ #
1421
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1390
1422
  #
1391
1423
  # @example Request syntax with placeholder values
1392
1424
  #
1393
1425
  # resp = client.describe_organization_configuration({
1394
1426
  # detector_id: "DetectorId", # required
1427
+ # max_results: 1,
1428
+ # next_token: "String",
1395
1429
  # })
1396
1430
  #
1397
1431
  # @example Response structure
@@ -1401,6 +1435,10 @@ module Aws::GuardDuty
1401
1435
  # resp.data_sources.s3_logs.auto_enable #=> Boolean
1402
1436
  # resp.data_sources.kubernetes.audit_logs.auto_enable #=> Boolean
1403
1437
  # resp.data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.auto_enable #=> Boolean
1438
+ # resp.features #=> Array
1439
+ # resp.features[0].name #=> String, one of "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS"
1440
+ # resp.features[0].auto_enable #=> String, one of "NEW", "NONE"
1441
+ # resp.next_token #=> String
1404
1442
  #
1405
1443
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfiguration AWS API Documentation
1406
1444
  #
@@ -1640,6 +1678,7 @@ module Aws::GuardDuty
1640
1678
  # * {Types::GetDetectorResponse#updated_at #updated_at} => String
1641
1679
  # * {Types::GetDetectorResponse#data_sources #data_sources} => Types::DataSourceConfigurationsResult
1642
1680
  # * {Types::GetDetectorResponse#tags #tags} => Hash&lt;String,String&gt;
1681
+ # * {Types::GetDetectorResponse#features #features} => Array&lt;Types::DetectorFeatureConfigurationResult&gt;
1643
1682
  #
1644
1683
  # @example Request syntax with placeholder values
1645
1684
  #
@@ -1664,6 +1703,10 @@ module Aws::GuardDuty
1664
1703
  # resp.data_sources.malware_protection.service_role #=> String
1665
1704
  # resp.tags #=> Hash
1666
1705
  # resp.tags["TagKey"] #=> String
1706
+ # resp.features #=> Array
1707
+ # resp.features[0].name #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS"
1708
+ # resp.features[0].status #=> String, one of "ENABLED", "DISABLED"
1709
+ # resp.features[0].updated_at #=> Time
1667
1710
  #
1668
1711
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector AWS API Documentation
1669
1712
  #
@@ -1920,6 +1963,19 @@ module Aws::GuardDuty
1920
1963
  # resp.findings[0].resource.container_details.volume_mounts[0].name #=> String
1921
1964
  # resp.findings[0].resource.container_details.volume_mounts[0].mount_path #=> String
1922
1965
  # resp.findings[0].resource.container_details.security_context.privileged #=> Boolean
1966
+ # resp.findings[0].resource.rds_db_instance_details.db_instance_identifier #=> String
1967
+ # resp.findings[0].resource.rds_db_instance_details.engine #=> String
1968
+ # resp.findings[0].resource.rds_db_instance_details.engine_version #=> String
1969
+ # resp.findings[0].resource.rds_db_instance_details.db_cluster_identifier #=> String
1970
+ # resp.findings[0].resource.rds_db_instance_details.db_instance_arn #=> String
1971
+ # resp.findings[0].resource.rds_db_instance_details.tags #=> Array
1972
+ # resp.findings[0].resource.rds_db_instance_details.tags[0].key #=> String
1973
+ # resp.findings[0].resource.rds_db_instance_details.tags[0].value #=> String
1974
+ # resp.findings[0].resource.rds_db_user_details.user #=> String
1975
+ # resp.findings[0].resource.rds_db_user_details.application #=> String
1976
+ # resp.findings[0].resource.rds_db_user_details.database #=> String
1977
+ # resp.findings[0].resource.rds_db_user_details.ssl #=> String
1978
+ # resp.findings[0].resource.rds_db_user_details.auth_method #=> String
1923
1979
  # resp.findings[0].schema_version #=> String
1924
1980
  # resp.findings[0].service.action.action_type #=> String
1925
1981
  # resp.findings[0].service.action.aws_api_call_action.api #=> String
@@ -1995,6 +2051,21 @@ module Aws::GuardDuty
1995
2051
  # resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.organization.org #=> String
1996
2052
  # resp.findings[0].service.action.kubernetes_api_call_action.status_code #=> Integer
1997
2053
  # resp.findings[0].service.action.kubernetes_api_call_action.parameters #=> String
2054
+ # resp.findings[0].service.action.rds_login_attempt_action.remote_ip_details.city.city_name #=> String
2055
+ # resp.findings[0].service.action.rds_login_attempt_action.remote_ip_details.country.country_code #=> String
2056
+ # resp.findings[0].service.action.rds_login_attempt_action.remote_ip_details.country.country_name #=> String
2057
+ # resp.findings[0].service.action.rds_login_attempt_action.remote_ip_details.geo_location.lat #=> Float
2058
+ # resp.findings[0].service.action.rds_login_attempt_action.remote_ip_details.geo_location.lon #=> Float
2059
+ # resp.findings[0].service.action.rds_login_attempt_action.remote_ip_details.ip_address_v4 #=> String
2060
+ # resp.findings[0].service.action.rds_login_attempt_action.remote_ip_details.organization.asn #=> String
2061
+ # resp.findings[0].service.action.rds_login_attempt_action.remote_ip_details.organization.asn_org #=> String
2062
+ # resp.findings[0].service.action.rds_login_attempt_action.remote_ip_details.organization.isp #=> String
2063
+ # resp.findings[0].service.action.rds_login_attempt_action.remote_ip_details.organization.org #=> String
2064
+ # resp.findings[0].service.action.rds_login_attempt_action.login_attributes #=> Array
2065
+ # resp.findings[0].service.action.rds_login_attempt_action.login_attributes[0].user #=> String
2066
+ # resp.findings[0].service.action.rds_login_attempt_action.login_attributes[0].application #=> String
2067
+ # resp.findings[0].service.action.rds_login_attempt_action.login_attributes[0].failed_login_attempts #=> Integer
2068
+ # resp.findings[0].service.action.rds_login_attempt_action.login_attributes[0].successful_login_attempts #=> Integer
1998
2069
  # resp.findings[0].service.evidence.threat_intelligence_details #=> Array
1999
2070
  # resp.findings[0].service.evidence.threat_intelligence_details[0].threat_list_name #=> String
2000
2071
  # resp.findings[0].service.evidence.threat_intelligence_details[0].threat_names #=> Array
@@ -2288,6 +2359,10 @@ module Aws::GuardDuty
2288
2359
  # resp.member_data_source_configurations[0].data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.status #=> String, one of "ENABLED", "DISABLED"
2289
2360
  # resp.member_data_source_configurations[0].data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.reason #=> String
2290
2361
  # resp.member_data_source_configurations[0].data_sources.malware_protection.service_role #=> String
2362
+ # resp.member_data_source_configurations[0].features #=> Array
2363
+ # resp.member_data_source_configurations[0].features[0].name #=> String, one of "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS"
2364
+ # resp.member_data_source_configurations[0].features[0].status #=> String, one of "ENABLED", "DISABLED"
2365
+ # resp.member_data_source_configurations[0].features[0].updated_at #=> Time
2291
2366
  # resp.unprocessed_accounts #=> Array
2292
2367
  # resp.unprocessed_accounts[0].account_id #=> String
2293
2368
  # resp.unprocessed_accounts[0].result #=> String
@@ -2379,6 +2454,9 @@ module Aws::GuardDuty
2379
2454
  # resp.accounts[0].data_sources.s3_logs.free_trial_days_remaining #=> Integer
2380
2455
  # resp.accounts[0].data_sources.kubernetes.audit_logs.free_trial_days_remaining #=> Integer
2381
2456
  # resp.accounts[0].data_sources.malware_protection.scan_ec2_instance_with_findings.free_trial_days_remaining #=> Integer
2457
+ # resp.accounts[0].features #=> Array
2458
+ # resp.accounts[0].features[0].name #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS"
2459
+ # resp.accounts[0].features[0].free_trial_days_remaining #=> Integer
2382
2460
  # resp.unprocessed_accounts #=> Array
2383
2461
  # resp.unprocessed_accounts[0].account_id #=> String
2384
2462
  # resp.unprocessed_accounts[0].result #=> String
@@ -2481,11 +2559,12 @@ module Aws::GuardDuty
2481
2559
  #
2482
2560
  # resp = client.get_usage_statistics({
2483
2561
  # detector_id: "DetectorId", # required
2484
- # usage_statistic_type: "SUM_BY_ACCOUNT", # required, accepts SUM_BY_ACCOUNT, SUM_BY_DATA_SOURCE, SUM_BY_RESOURCE, TOP_RESOURCES
2562
+ # usage_statistic_type: "SUM_BY_ACCOUNT", # required, accepts SUM_BY_ACCOUNT, SUM_BY_DATA_SOURCE, SUM_BY_RESOURCE, TOP_RESOURCES, SUM_BY_FEATURES
2485
2563
  # usage_criteria: { # required
2486
2564
  # account_ids: ["AccountId"],
2487
- # data_sources: ["FLOW_LOGS"], # required, accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS, KUBERNETES_AUDIT_LOGS, EC2_MALWARE_SCAN
2565
+ # data_sources: ["FLOW_LOGS"], # accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS, KUBERNETES_AUDIT_LOGS, EC2_MALWARE_SCAN
2488
2566
  # resources: ["String"],
2567
+ # features: ["FLOW_LOGS"], # accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, LAMBDA_NETWORK_LOGS, EKS_RUNTIME_MONITORING
2489
2568
  # },
2490
2569
  # unit: "String",
2491
2570
  # max_results: 1,
@@ -2510,6 +2589,10 @@ module Aws::GuardDuty
2510
2589
  # resp.usage_statistics.top_resources[0].resource #=> String
2511
2590
  # resp.usage_statistics.top_resources[0].total.amount #=> String
2512
2591
  # resp.usage_statistics.top_resources[0].total.unit #=> String
2592
+ # resp.usage_statistics.sum_by_feature #=> Array
2593
+ # resp.usage_statistics.sum_by_feature[0].feature #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS", "LAMBDA_NETWORK_LOGS", "EKS_RUNTIME_MONITORING"
2594
+ # resp.usage_statistics.sum_by_feature[0].total.amount #=> String
2595
+ # resp.usage_statistics.sum_by_feature[0].total.unit #=> String
2513
2596
  # resp.next_token #=> String
2514
2597
  #
2515
2598
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetUsageStatistics AWS API Documentation
@@ -3368,6 +3451,9 @@ module Aws::GuardDuty
3368
3451
  #
3369
3452
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
3370
3453
  #
3454
+ # @option params [Array<Types::DetectorFeatureConfiguration>] :features
3455
+ # Provides the features that will be updated for the detector.
3456
+ #
3371
3457
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3372
3458
  #
3373
3459
  # @example Request syntax with placeholder values
@@ -3391,6 +3477,12 @@ module Aws::GuardDuty
3391
3477
  # },
3392
3478
  # },
3393
3479
  # },
3480
+ # features: [
3481
+ # {
3482
+ # name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS
3483
+ # status: "ENABLED", # accepts ENABLED, DISABLED
3484
+ # },
3485
+ # ],
3394
3486
  # })
3395
3487
  #
3396
3488
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector AWS API Documentation
@@ -3633,6 +3725,10 @@ module Aws::GuardDuty
3633
3725
  # @option params [Types::DataSourceConfigurations] :data_sources
3634
3726
  # Describes which data sources will be updated.
3635
3727
  #
3728
+ # @option params [Array<Types::MemberFeaturesConfiguration>] :features
3729
+ # A list of features that will be updated for the specified member
3730
+ # accounts.
3731
+ #
3636
3732
  # @return [Types::UpdateMemberDetectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3637
3733
  #
3638
3734
  # * {Types::UpdateMemberDetectorsResponse#unprocessed_accounts #unprocessed_accounts} => Array&lt;Types::UnprocessedAccount&gt;
@@ -3657,6 +3753,12 @@ module Aws::GuardDuty
3657
3753
  # },
3658
3754
  # },
3659
3755
  # },
3756
+ # features: [
3757
+ # {
3758
+ # name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS
3759
+ # status: "ENABLED", # accepts ENABLED, DISABLED
3760
+ # },
3761
+ # ],
3660
3762
  # })
3661
3763
  #
3662
3764
  # @example Response structure
@@ -3695,6 +3797,9 @@ module Aws::GuardDuty
3695
3797
  # @option params [Types::OrganizationDataSourceConfigurations] :data_sources
3696
3798
  # Describes which data sources will be updated.
3697
3799
  #
3800
+ # @option params [Array<Types::OrganizationFeatureConfiguration>] :features
3801
+ # A list of features that will be configured for the organization.
3802
+ #
3698
3803
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3699
3804
  #
3700
3805
  # @example Request syntax with placeholder values
@@ -3719,6 +3824,12 @@ module Aws::GuardDuty
3719
3824
  # },
3720
3825
  # },
3721
3826
  # },
3827
+ # features: [
3828
+ # {
3829
+ # name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS
3830
+ # auto_enable: "NEW", # accepts NEW, NONE
3831
+ # },
3832
+ # ],
3722
3833
  # })
3723
3834
  #
3724
3835
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfiguration AWS API Documentation
@@ -3821,7 +3932,7 @@ module Aws::GuardDuty
3821
3932
  params: params,
3822
3933
  config: config)
3823
3934
  context[:gem_name] = 'aws-sdk-guardduty'
3824
- context[:gem_version] = '1.64.0'
3935
+ context[:gem_version] = '1.65.0'
3825
3936
  Seahorse::Client::Request.new(handlers, context)
3826
3937
  end
3827
3938
 
@@ -99,6 +99,12 @@ module Aws::GuardDuty
99
99
  DestinationProperties = Shapes::StructureShape.new(name: 'DestinationProperties')
100
100
  DestinationType = Shapes::StringShape.new(name: 'DestinationType')
101
101
  Destinations = Shapes::ListShape.new(name: 'Destinations')
102
+ DetectorFeature = Shapes::StringShape.new(name: 'DetectorFeature')
103
+ DetectorFeatureConfiguration = Shapes::StructureShape.new(name: 'DetectorFeatureConfiguration')
104
+ DetectorFeatureConfigurationResult = Shapes::StructureShape.new(name: 'DetectorFeatureConfigurationResult')
105
+ DetectorFeatureConfigurations = Shapes::ListShape.new(name: 'DetectorFeatureConfigurations')
106
+ DetectorFeatureConfigurationsResults = Shapes::ListShape.new(name: 'DetectorFeatureConfigurationsResults')
107
+ DetectorFeatureResult = Shapes::StringShape.new(name: 'DetectorFeatureResult')
102
108
  DetectorId = Shapes::StringShape.new(name: 'DetectorId')
103
109
  DetectorIds = Shapes::ListShape.new(name: 'DetectorIds')
104
110
  DetectorStatus = Shapes::StringShape.new(name: 'DetectorStatus')
@@ -126,6 +132,7 @@ module Aws::GuardDuty
126
132
  Eq = Shapes::ListShape.new(name: 'Eq')
127
133
  Equals = Shapes::ListShape.new(name: 'Equals')
128
134
  Evidence = Shapes::StructureShape.new(name: 'Evidence')
135
+ FeatureStatus = Shapes::StringShape.new(name: 'FeatureStatus')
129
136
  Feedback = Shapes::StringShape.new(name: 'Feedback')
130
137
  FilePaths = Shapes::ListShape.new(name: 'FilePaths')
131
138
  FilterAction = Shapes::StringShape.new(name: 'FilterAction')
@@ -149,6 +156,9 @@ module Aws::GuardDuty
149
156
  FindingTypes = Shapes::ListShape.new(name: 'FindingTypes')
150
157
  Findings = Shapes::ListShape.new(name: 'Findings')
151
158
  FlowLogsConfigurationResult = Shapes::StructureShape.new(name: 'FlowLogsConfigurationResult')
159
+ FreeTrialFeatureConfigurationResult = Shapes::StructureShape.new(name: 'FreeTrialFeatureConfigurationResult')
160
+ FreeTrialFeatureConfigurationsResults = Shapes::ListShape.new(name: 'FreeTrialFeatureConfigurationsResults')
161
+ FreeTrialFeatureResult = Shapes::StringShape.new(name: 'FreeTrialFeatureResult')
152
162
  GeoLocation = Shapes::StructureShape.new(name: 'GeoLocation')
153
163
  GetAdministratorAccountRequest = Shapes::StructureShape.new(name: 'GetAdministratorAccountRequest')
154
164
  GetAdministratorAccountResponse = Shapes::StructureShape.new(name: 'GetAdministratorAccountResponse')
@@ -228,6 +238,8 @@ module Aws::GuardDuty
228
238
  LocalIpDetails = Shapes::StructureShape.new(name: 'LocalIpDetails')
229
239
  LocalPortDetails = Shapes::StructureShape.new(name: 'LocalPortDetails')
230
240
  Location = Shapes::StringShape.new(name: 'Location')
241
+ LoginAttribute = Shapes::StructureShape.new(name: 'LoginAttribute')
242
+ LoginAttributes = Shapes::ListShape.new(name: 'LoginAttributes')
231
243
  Long = Shapes::IntegerShape.new(name: 'Long')
232
244
  LongValue = Shapes::IntegerShape.new(name: 'LongValue')
233
245
  MalwareProtectionConfiguration = Shapes::StructureShape.new(name: 'MalwareProtectionConfiguration')
@@ -239,6 +251,10 @@ module Aws::GuardDuty
239
251
  Member = Shapes::StructureShape.new(name: 'Member')
240
252
  MemberDataSourceConfiguration = Shapes::StructureShape.new(name: 'MemberDataSourceConfiguration')
241
253
  MemberDataSourceConfigurations = Shapes::ListShape.new(name: 'MemberDataSourceConfigurations')
254
+ MemberFeaturesConfiguration = Shapes::StructureShape.new(name: 'MemberFeaturesConfiguration')
255
+ MemberFeaturesConfigurationResult = Shapes::StructureShape.new(name: 'MemberFeaturesConfigurationResult')
256
+ MemberFeaturesConfigurations = Shapes::ListShape.new(name: 'MemberFeaturesConfigurations')
257
+ MemberFeaturesConfigurationsResults = Shapes::ListShape.new(name: 'MemberFeaturesConfigurationsResults')
242
258
  Members = Shapes::ListShape.new(name: 'Members')
243
259
  Name = Shapes::StringShape.new(name: 'Name')
244
260
  Neq = Shapes::ListShape.new(name: 'Neq')
@@ -248,11 +264,17 @@ module Aws::GuardDuty
248
264
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
249
265
  NotEquals = Shapes::ListShape.new(name: 'NotEquals')
250
266
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
267
+ OrgFeature = Shapes::StringShape.new(name: 'OrgFeature')
268
+ OrgFeatureStatus = Shapes::StringShape.new(name: 'OrgFeatureStatus')
251
269
  Organization = Shapes::StructureShape.new(name: 'Organization')
252
270
  OrganizationDataSourceConfigurations = Shapes::StructureShape.new(name: 'OrganizationDataSourceConfigurations')
253
271
  OrganizationDataSourceConfigurationsResult = Shapes::StructureShape.new(name: 'OrganizationDataSourceConfigurationsResult')
254
272
  OrganizationEbsVolumes = Shapes::StructureShape.new(name: 'OrganizationEbsVolumes')
255
273
  OrganizationEbsVolumesResult = Shapes::StructureShape.new(name: 'OrganizationEbsVolumesResult')
274
+ OrganizationFeatureConfiguration = Shapes::StructureShape.new(name: 'OrganizationFeatureConfiguration')
275
+ OrganizationFeatureConfigurationResult = Shapes::StructureShape.new(name: 'OrganizationFeatureConfigurationResult')
276
+ OrganizationFeaturesConfigurations = Shapes::ListShape.new(name: 'OrganizationFeaturesConfigurations')
277
+ OrganizationFeaturesConfigurationsResults = Shapes::ListShape.new(name: 'OrganizationFeaturesConfigurationsResults')
256
278
  OrganizationKubernetesAuditLogsConfiguration = Shapes::StructureShape.new(name: 'OrganizationKubernetesAuditLogsConfiguration')
257
279
  OrganizationKubernetesAuditLogsConfigurationResult = Shapes::StructureShape.new(name: 'OrganizationKubernetesAuditLogsConfigurationResult')
258
280
  OrganizationKubernetesConfiguration = Shapes::StructureShape.new(name: 'OrganizationKubernetesConfiguration')
@@ -275,6 +297,9 @@ module Aws::GuardDuty
275
297
  ProductCodes = Shapes::ListShape.new(name: 'ProductCodes')
276
298
  PublicAccess = Shapes::StructureShape.new(name: 'PublicAccess')
277
299
  PublishingStatus = Shapes::StringShape.new(name: 'PublishingStatus')
300
+ RdsDbInstanceDetails = Shapes::StructureShape.new(name: 'RdsDbInstanceDetails')
301
+ RdsDbUserDetails = Shapes::StructureShape.new(name: 'RdsDbUserDetails')
302
+ RdsLoginAttemptAction = Shapes::StructureShape.new(name: 'RdsLoginAttemptAction')
278
303
  RemoteAccountDetails = Shapes::StructureShape.new(name: 'RemoteAccountDetails')
279
304
  RemoteIpDetails = Shapes::StructureShape.new(name: 'RemoteIpDetails')
280
305
  RemotePortDetails = Shapes::StructureShape.new(name: 'RemotePortDetails')
@@ -364,6 +389,10 @@ module Aws::GuardDuty
364
389
  UsageCriteria = Shapes::StructureShape.new(name: 'UsageCriteria')
365
390
  UsageDataSourceResult = Shapes::StructureShape.new(name: 'UsageDataSourceResult')
366
391
  UsageDataSourceResultList = Shapes::ListShape.new(name: 'UsageDataSourceResultList')
392
+ UsageFeature = Shapes::StringShape.new(name: 'UsageFeature')
393
+ UsageFeatureList = Shapes::ListShape.new(name: 'UsageFeatureList')
394
+ UsageFeatureResult = Shapes::StructureShape.new(name: 'UsageFeatureResult')
395
+ UsageFeatureResultList = Shapes::ListShape.new(name: 'UsageFeatureResultList')
367
396
  UsageResourceResult = Shapes::StructureShape.new(name: 'UsageResourceResult')
368
397
  UsageResourceResultList = Shapes::ListShape.new(name: 'UsageResourceResultList')
369
398
  UsageStatisticType = Shapes::StringShape.new(name: 'UsageStatisticType')
@@ -406,7 +435,8 @@ module Aws::GuardDuty
406
435
  AccountDetails.member = Shapes::ShapeRef.new(shape: AccountDetail)
407
436
 
408
437
  AccountFreeTrialInfo.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
409
- AccountFreeTrialInfo.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourcesFreeTrial, location_name: "dataSources"))
438
+ AccountFreeTrialInfo.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourcesFreeTrial, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
439
+ AccountFreeTrialInfo.add_member(:features, Shapes::ShapeRef.new(shape: FreeTrialFeatureConfigurationsResults, location_name: "features"))
410
440
  AccountFreeTrialInfo.struct_class = Types::AccountFreeTrialInfo
411
441
 
412
442
  AccountFreeTrialInfos.member = Shapes::ShapeRef.new(shape: AccountFreeTrialInfo)
@@ -422,6 +452,7 @@ module Aws::GuardDuty
422
452
  Action.add_member(:network_connection_action, Shapes::ShapeRef.new(shape: NetworkConnectionAction, location_name: "networkConnectionAction"))
423
453
  Action.add_member(:port_probe_action, Shapes::ShapeRef.new(shape: PortProbeAction, location_name: "portProbeAction"))
424
454
  Action.add_member(:kubernetes_api_call_action, Shapes::ShapeRef.new(shape: KubernetesApiCallAction, location_name: "kubernetesApiCallAction"))
455
+ Action.add_member(:rds_login_attempt_action, Shapes::ShapeRef.new(shape: RdsLoginAttemptAction, location_name: "rdsLoginAttemptAction"))
425
456
  Action.struct_class = Types::Action
426
457
 
427
458
  AdminAccount.add_member(:admin_account_id, Shapes::ShapeRef.new(shape: String, location_name: "adminAccountId"))
@@ -516,8 +547,9 @@ module Aws::GuardDuty
516
547
  CreateDetectorRequest.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enable"))
517
548
  CreateDetectorRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
518
549
  CreateDetectorRequest.add_member(:finding_publishing_frequency, Shapes::ShapeRef.new(shape: FindingPublishingFrequency, location_name: "findingPublishingFrequency"))
519
- CreateDetectorRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, location_name: "dataSources"))
550
+ CreateDetectorRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
520
551
  CreateDetectorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
552
+ CreateDetectorRequest.add_member(:features, Shapes::ShapeRef.new(shape: DetectorFeatureConfigurations, location_name: "features"))
521
553
  CreateDetectorRequest.struct_class = Types::CreateDetectorRequest
522
554
 
523
555
  CreateDetectorResponse.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "detectorId"))
@@ -679,11 +711,15 @@ module Aws::GuardDuty
679
711
  DescribeMalwareScansResponse.struct_class = Types::DescribeMalwareScansResponse
680
712
 
681
713
  DescribeOrganizationConfigurationRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
714
+ DescribeOrganizationConfigurationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
715
+ DescribeOrganizationConfigurationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
682
716
  DescribeOrganizationConfigurationRequest.struct_class = Types::DescribeOrganizationConfigurationRequest
683
717
 
684
718
  DescribeOrganizationConfigurationResponse.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "autoEnable"))
685
719
  DescribeOrganizationConfigurationResponse.add_member(:member_account_limit_reached, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "memberAccountLimitReached"))
686
- DescribeOrganizationConfigurationResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: OrganizationDataSourceConfigurationsResult, location_name: "dataSources"))
720
+ DescribeOrganizationConfigurationResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: OrganizationDataSourceConfigurationsResult, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
721
+ DescribeOrganizationConfigurationResponse.add_member(:features, Shapes::ShapeRef.new(shape: OrganizationFeaturesConfigurationsResults, location_name: "features"))
722
+ DescribeOrganizationConfigurationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
687
723
  DescribeOrganizationConfigurationResponse.struct_class = Types::DescribeOrganizationConfigurationResponse
688
724
 
689
725
  DescribePublishingDestinationRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
@@ -708,6 +744,19 @@ module Aws::GuardDuty
708
744
 
709
745
  Destinations.member = Shapes::ShapeRef.new(shape: Destination)
710
746
 
747
+ DetectorFeatureConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: DetectorFeature, location_name: "name"))
748
+ DetectorFeatureConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "status"))
749
+ DetectorFeatureConfiguration.struct_class = Types::DetectorFeatureConfiguration
750
+
751
+ DetectorFeatureConfigurationResult.add_member(:name, Shapes::ShapeRef.new(shape: DetectorFeatureResult, location_name: "name"))
752
+ DetectorFeatureConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "status"))
753
+ DetectorFeatureConfigurationResult.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
754
+ DetectorFeatureConfigurationResult.struct_class = Types::DetectorFeatureConfigurationResult
755
+
756
+ DetectorFeatureConfigurations.member = Shapes::ShapeRef.new(shape: DetectorFeatureConfiguration)
757
+
758
+ DetectorFeatureConfigurationsResults.member = Shapes::ShapeRef.new(shape: DetectorFeatureConfigurationResult)
759
+
711
760
  DetectorIds.member = Shapes::ShapeRef.new(shape: DetectorId)
712
761
 
713
762
  DisableOrganizationAdminAccountRequest.add_member(:admin_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "adminAccountId"))
@@ -850,6 +899,12 @@ module Aws::GuardDuty
850
899
  FlowLogsConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, required: true, location_name: "status"))
851
900
  FlowLogsConfigurationResult.struct_class = Types::FlowLogsConfigurationResult
852
901
 
902
+ FreeTrialFeatureConfigurationResult.add_member(:name, Shapes::ShapeRef.new(shape: FreeTrialFeatureResult, location_name: "name"))
903
+ FreeTrialFeatureConfigurationResult.add_member(:free_trial_days_remaining, Shapes::ShapeRef.new(shape: Integer, location_name: "freeTrialDaysRemaining"))
904
+ FreeTrialFeatureConfigurationResult.struct_class = Types::FreeTrialFeatureConfigurationResult
905
+
906
+ FreeTrialFeatureConfigurationsResults.member = Shapes::ShapeRef.new(shape: FreeTrialFeatureConfigurationResult)
907
+
853
908
  GeoLocation.add_member(:lat, Shapes::ShapeRef.new(shape: Double, location_name: "lat"))
854
909
  GeoLocation.add_member(:lon, Shapes::ShapeRef.new(shape: Double, location_name: "lon"))
855
910
  GeoLocation.struct_class = Types::GeoLocation
@@ -868,8 +923,9 @@ module Aws::GuardDuty
868
923
  GetDetectorResponse.add_member(:service_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceRole"))
869
924
  GetDetectorResponse.add_member(:status, Shapes::ShapeRef.new(shape: DetectorStatus, required: true, location_name: "status"))
870
925
  GetDetectorResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: String, location_name: "updatedAt"))
871
- GetDetectorResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurationsResult, location_name: "dataSources"))
926
+ GetDetectorResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurationsResult, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
872
927
  GetDetectorResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
928
+ GetDetectorResponse.add_member(:features, Shapes::ShapeRef.new(shape: DetectorFeatureConfigurationsResults, location_name: "features"))
873
929
  GetDetectorResponse.struct_class = Types::GetDetectorResponse
874
930
 
875
931
  GetFilterRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
@@ -1166,6 +1222,14 @@ module Aws::GuardDuty
1166
1222
  LocalPortDetails.add_member(:port_name, Shapes::ShapeRef.new(shape: String, location_name: "portName"))
1167
1223
  LocalPortDetails.struct_class = Types::LocalPortDetails
1168
1224
 
1225
+ LoginAttribute.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
1226
+ LoginAttribute.add_member(:application, Shapes::ShapeRef.new(shape: String, location_name: "application"))
1227
+ LoginAttribute.add_member(:failed_login_attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "failedLoginAttempts"))
1228
+ LoginAttribute.add_member(:successful_login_attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "successfulLoginAttempts"))
1229
+ LoginAttribute.struct_class = Types::LoginAttribute
1230
+
1231
+ LoginAttributes.member = Shapes::ShapeRef.new(shape: LoginAttribute)
1232
+
1169
1233
  MalwareProtectionConfiguration.add_member(:scan_ec2_instance_with_findings, Shapes::ShapeRef.new(shape: ScanEc2InstanceWithFindings, location_name: "scanEc2InstanceWithFindings"))
1170
1234
  MalwareProtectionConfiguration.struct_class = Types::MalwareProtectionConfiguration
1171
1235
 
@@ -1195,11 +1259,25 @@ module Aws::GuardDuty
1195
1259
  Member.struct_class = Types::Member
1196
1260
 
1197
1261
  MemberDataSourceConfiguration.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
1198
- MemberDataSourceConfiguration.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurationsResult, required: true, location_name: "dataSources"))
1262
+ MemberDataSourceConfiguration.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurationsResult, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
1263
+ MemberDataSourceConfiguration.add_member(:features, Shapes::ShapeRef.new(shape: MemberFeaturesConfigurationsResults, location_name: "features"))
1199
1264
  MemberDataSourceConfiguration.struct_class = Types::MemberDataSourceConfiguration
1200
1265
 
1201
1266
  MemberDataSourceConfigurations.member = Shapes::ShapeRef.new(shape: MemberDataSourceConfiguration)
1202
1267
 
1268
+ MemberFeaturesConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: OrgFeature, location_name: "name"))
1269
+ MemberFeaturesConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "status"))
1270
+ MemberFeaturesConfiguration.struct_class = Types::MemberFeaturesConfiguration
1271
+
1272
+ MemberFeaturesConfigurationResult.add_member(:name, Shapes::ShapeRef.new(shape: OrgFeature, location_name: "name"))
1273
+ MemberFeaturesConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "status"))
1274
+ MemberFeaturesConfigurationResult.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
1275
+ MemberFeaturesConfigurationResult.struct_class = Types::MemberFeaturesConfigurationResult
1276
+
1277
+ MemberFeaturesConfigurations.member = Shapes::ShapeRef.new(shape: MemberFeaturesConfiguration)
1278
+
1279
+ MemberFeaturesConfigurationsResults.member = Shapes::ShapeRef.new(shape: MemberFeaturesConfigurationResult)
1280
+
1203
1281
  Members.member = Shapes::ShapeRef.new(shape: Member)
1204
1282
 
1205
1283
  Neq.member = Shapes::ShapeRef.new(shape: String)
@@ -1251,6 +1329,18 @@ module Aws::GuardDuty
1251
1329
  OrganizationEbsVolumesResult.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoEnable"))
1252
1330
  OrganizationEbsVolumesResult.struct_class = Types::OrganizationEbsVolumesResult
1253
1331
 
1332
+ OrganizationFeatureConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: OrgFeature, location_name: "name"))
1333
+ OrganizationFeatureConfiguration.add_member(:auto_enable, Shapes::ShapeRef.new(shape: OrgFeatureStatus, location_name: "autoEnable"))
1334
+ OrganizationFeatureConfiguration.struct_class = Types::OrganizationFeatureConfiguration
1335
+
1336
+ OrganizationFeatureConfigurationResult.add_member(:name, Shapes::ShapeRef.new(shape: OrgFeature, location_name: "name"))
1337
+ OrganizationFeatureConfigurationResult.add_member(:auto_enable, Shapes::ShapeRef.new(shape: OrgFeatureStatus, location_name: "autoEnable"))
1338
+ OrganizationFeatureConfigurationResult.struct_class = Types::OrganizationFeatureConfigurationResult
1339
+
1340
+ OrganizationFeaturesConfigurations.member = Shapes::ShapeRef.new(shape: OrganizationFeatureConfiguration)
1341
+
1342
+ OrganizationFeaturesConfigurationsResults.member = Shapes::ShapeRef.new(shape: OrganizationFeatureConfigurationResult)
1343
+
1254
1344
  OrganizationKubernetesAuditLogsConfiguration.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "autoEnable"))
1255
1345
  OrganizationKubernetesAuditLogsConfiguration.struct_class = Types::OrganizationKubernetesAuditLogsConfiguration
1256
1346
 
@@ -1315,6 +1405,25 @@ module Aws::GuardDuty
1315
1405
  PublicAccess.add_member(:effective_permission, Shapes::ShapeRef.new(shape: String, location_name: "effectivePermission"))
1316
1406
  PublicAccess.struct_class = Types::PublicAccess
1317
1407
 
1408
+ RdsDbInstanceDetails.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "dbInstanceIdentifier"))
1409
+ RdsDbInstanceDetails.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "engine"))
1410
+ RdsDbInstanceDetails.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "engineVersion"))
1411
+ RdsDbInstanceDetails.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "dbClusterIdentifier"))
1412
+ RdsDbInstanceDetails.add_member(:db_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "dbInstanceArn"))
1413
+ RdsDbInstanceDetails.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1414
+ RdsDbInstanceDetails.struct_class = Types::RdsDbInstanceDetails
1415
+
1416
+ RdsDbUserDetails.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
1417
+ RdsDbUserDetails.add_member(:application, Shapes::ShapeRef.new(shape: String, location_name: "application"))
1418
+ RdsDbUserDetails.add_member(:database, Shapes::ShapeRef.new(shape: String, location_name: "database"))
1419
+ RdsDbUserDetails.add_member(:ssl, Shapes::ShapeRef.new(shape: String, location_name: "ssl"))
1420
+ RdsDbUserDetails.add_member(:auth_method, Shapes::ShapeRef.new(shape: String, location_name: "authMethod"))
1421
+ RdsDbUserDetails.struct_class = Types::RdsDbUserDetails
1422
+
1423
+ RdsLoginAttemptAction.add_member(:remote_ip_details, Shapes::ShapeRef.new(shape: RemoteIpDetails, location_name: "remoteIpDetails"))
1424
+ RdsLoginAttemptAction.add_member(:login_attributes, Shapes::ShapeRef.new(shape: LoginAttributes, location_name: "LoginAttributes"))
1425
+ RdsLoginAttemptAction.struct_class = Types::RdsLoginAttemptAction
1426
+
1318
1427
  RemoteAccountDetails.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
1319
1428
  RemoteAccountDetails.add_member(:affiliated, Shapes::ShapeRef.new(shape: Boolean, location_name: "affiliated"))
1320
1429
  RemoteAccountDetails.struct_class = Types::RemoteAccountDetails
@@ -1339,6 +1448,8 @@ module Aws::GuardDuty
1339
1448
  Resource.add_member(:ebs_volume_details, Shapes::ShapeRef.new(shape: EbsVolumeDetails, location_name: "ebsVolumeDetails"))
1340
1449
  Resource.add_member(:ecs_cluster_details, Shapes::ShapeRef.new(shape: EcsClusterDetails, location_name: "ecsClusterDetails"))
1341
1450
  Resource.add_member(:container_details, Shapes::ShapeRef.new(shape: Container, location_name: "containerDetails"))
1451
+ Resource.add_member(:rds_db_instance_details, Shapes::ShapeRef.new(shape: RdsDbInstanceDetails, location_name: "rdsDbInstanceDetails"))
1452
+ Resource.add_member(:rds_db_user_details, Shapes::ShapeRef.new(shape: RdsDbUserDetails, location_name: "rdsDbUserDetails"))
1342
1453
  Resource.struct_class = Types::Resource
1343
1454
 
1344
1455
  ResourceDetails.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "instanceArn"))
@@ -1548,7 +1659,8 @@ module Aws::GuardDuty
1548
1659
  UpdateDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1549
1660
  UpdateDetectorRequest.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, location_name: "enable"))
1550
1661
  UpdateDetectorRequest.add_member(:finding_publishing_frequency, Shapes::ShapeRef.new(shape: FindingPublishingFrequency, location_name: "findingPublishingFrequency"))
1551
- UpdateDetectorRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, location_name: "dataSources"))
1662
+ UpdateDetectorRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
1663
+ UpdateDetectorRequest.add_member(:features, Shapes::ShapeRef.new(shape: DetectorFeatureConfigurations, location_name: "features"))
1552
1664
  UpdateDetectorRequest.struct_class = Types::UpdateDetectorRequest
1553
1665
 
1554
1666
  UpdateDetectorResponse.struct_class = Types::UpdateDetectorResponse
@@ -1590,7 +1702,8 @@ module Aws::GuardDuty
1590
1702
 
1591
1703
  UpdateMemberDetectorsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1592
1704
  UpdateMemberDetectorsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
1593
- UpdateMemberDetectorsRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, location_name: "dataSources"))
1705
+ UpdateMemberDetectorsRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
1706
+ UpdateMemberDetectorsRequest.add_member(:features, Shapes::ShapeRef.new(shape: MemberFeaturesConfigurations, location_name: "features"))
1594
1707
  UpdateMemberDetectorsRequest.struct_class = Types::UpdateMemberDetectorsRequest
1595
1708
 
1596
1709
  UpdateMemberDetectorsResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, required: true, location_name: "unprocessedAccounts"))
@@ -1598,7 +1711,8 @@ module Aws::GuardDuty
1598
1711
 
1599
1712
  UpdateOrganizationConfigurationRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1600
1713
  UpdateOrganizationConfigurationRequest.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "autoEnable"))
1601
- UpdateOrganizationConfigurationRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: OrganizationDataSourceConfigurations, location_name: "dataSources"))
1714
+ UpdateOrganizationConfigurationRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: OrganizationDataSourceConfigurations, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
1715
+ UpdateOrganizationConfigurationRequest.add_member(:features, Shapes::ShapeRef.new(shape: OrganizationFeaturesConfigurations, location_name: "features"))
1602
1716
  UpdateOrganizationConfigurationRequest.struct_class = Types::UpdateOrganizationConfigurationRequest
1603
1717
 
1604
1718
  UpdateOrganizationConfigurationResponse.struct_class = Types::UpdateOrganizationConfigurationResponse
@@ -1626,8 +1740,9 @@ module Aws::GuardDuty
1626
1740
  UsageAccountResultList.member = Shapes::ShapeRef.new(shape: UsageAccountResult)
1627
1741
 
1628
1742
  UsageCriteria.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
1629
- UsageCriteria.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceList, required: true, location_name: "dataSources"))
1743
+ UsageCriteria.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceList, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
1630
1744
  UsageCriteria.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "resources"))
1745
+ UsageCriteria.add_member(:features, Shapes::ShapeRef.new(shape: UsageFeatureList, location_name: "features"))
1631
1746
  UsageCriteria.struct_class = Types::UsageCriteria
1632
1747
 
1633
1748
  UsageDataSourceResult.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
@@ -1636,6 +1751,14 @@ module Aws::GuardDuty
1636
1751
 
1637
1752
  UsageDataSourceResultList.member = Shapes::ShapeRef.new(shape: UsageDataSourceResult)
1638
1753
 
1754
+ UsageFeatureList.member = Shapes::ShapeRef.new(shape: UsageFeature)
1755
+
1756
+ UsageFeatureResult.add_member(:feature, Shapes::ShapeRef.new(shape: UsageFeature, location_name: "feature"))
1757
+ UsageFeatureResult.add_member(:total, Shapes::ShapeRef.new(shape: Total, location_name: "total"))
1758
+ UsageFeatureResult.struct_class = Types::UsageFeatureResult
1759
+
1760
+ UsageFeatureResultList.member = Shapes::ShapeRef.new(shape: UsageFeatureResult)
1761
+
1639
1762
  UsageResourceResult.add_member(:resource, Shapes::ShapeRef.new(shape: String, location_name: "resource"))
1640
1763
  UsageResourceResult.add_member(:total, Shapes::ShapeRef.new(shape: Total, location_name: "total"))
1641
1764
  UsageResourceResult.struct_class = Types::UsageResourceResult
@@ -1646,6 +1769,7 @@ module Aws::GuardDuty
1646
1769
  UsageStatistics.add_member(:sum_by_data_source, Shapes::ShapeRef.new(shape: UsageDataSourceResultList, location_name: "sumByDataSource"))
1647
1770
  UsageStatistics.add_member(:sum_by_resource, Shapes::ShapeRef.new(shape: UsageResourceResultList, location_name: "sumByResource"))
1648
1771
  UsageStatistics.add_member(:top_resources, Shapes::ShapeRef.new(shape: UsageResourceResultList, location_name: "topResources"))
1772
+ UsageStatistics.add_member(:sum_by_feature, Shapes::ShapeRef.new(shape: UsageFeatureResultList, location_name: "sumByFeature"))
1649
1773
  UsageStatistics.struct_class = Types::UsageStatistics
1650
1774
 
1651
1775
  Volume.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
@@ -1894,6 +2018,12 @@ module Aws::GuardDuty
1894
2018
  o.output = Shapes::ShapeRef.new(shape: DescribeOrganizationConfigurationResponse)
1895
2019
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1896
2020
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2021
+ o[:pager] = Aws::Pager.new(
2022
+ limit_key: "max_results",
2023
+ tokens: {
2024
+ "next_token" => "next_token"
2025
+ }
2026
+ )
1897
2027
  end)
1898
2028
 
1899
2029
  api.add_operation(:describe_publishing_destination, Seahorse::Model::Operation.new.tap do |o|
@@ -147,11 +147,16 @@ module Aws::GuardDuty
147
147
  # Describes the data source enabled for the GuardDuty member account.
148
148
  # @return [Types::DataSourcesFreeTrial]
149
149
  #
150
+ # @!attribute [rw] features
151
+ # A list of features enabled for the GuardDuty account.
152
+ # @return [Array<Types::FreeTrialFeatureConfigurationResult>]
153
+ #
150
154
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccountFreeTrialInfo AWS API Documentation
151
155
  #
152
156
  class AccountFreeTrialInfo < Struct.new(
153
157
  :account_id,
154
- :data_sources)
158
+ :data_sources,
159
+ :features)
155
160
  SENSITIVE = []
156
161
  include Aws::Structure
157
162
  end
@@ -201,6 +206,11 @@ module Aws::GuardDuty
201
206
  # finding.
202
207
  # @return [Types::KubernetesApiCallAction]
203
208
  #
209
+ # @!attribute [rw] rds_login_attempt_action
210
+ # Information about `RDS_LOGIN_ATTEMPT` action described in this
211
+ # finding.
212
+ # @return [Types::RdsLoginAttemptAction]
213
+ #
204
214
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Action AWS API Documentation
205
215
  #
206
216
  class Action < Struct.new(
@@ -209,7 +219,8 @@ module Aws::GuardDuty
209
219
  :dns_request_action,
210
220
  :network_connection_action,
211
221
  :port_probe_action,
212
- :kubernetes_api_call_action)
222
+ :kubernetes_api_call_action,
223
+ :rds_login_attempt_action)
213
224
  SENSITIVE = []
214
225
  include Aws::Structure
215
226
  end
@@ -662,6 +673,10 @@ module Aws::GuardDuty
662
673
  # The tags to be added to a new detector resource.
663
674
  # @return [Hash<String,String>]
664
675
  #
676
+ # @!attribute [rw] features
677
+ # A list of features that will be configured for the detector.
678
+ # @return [Array<Types::DetectorFeatureConfiguration>]
679
+ #
665
680
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorRequest AWS API Documentation
666
681
  #
667
682
  class CreateDetectorRequest < Struct.new(
@@ -669,7 +684,8 @@ module Aws::GuardDuty
669
684
  :client_token,
670
685
  :finding_publishing_frequency,
671
686
  :data_sources,
672
- :tags)
687
+ :tags,
688
+ :features)
673
689
  SENSITIVE = []
674
690
  include Aws::Structure
675
691
  end
@@ -705,8 +721,9 @@ module Aws::GuardDuty
705
721
  #
706
722
  # @!attribute [rw] description
707
723
  # The description of the filter. Valid characters include alphanumeric
708
- # characters, and special characters such as `-`, `.`, `:`, `\{ \}`,
709
- # `[ ]`, `( )`, `/`, `\t`, `\n`, `\x0B`, `\f`, `\r`, `_`, and
724
+ # characters, and special characters such as hyphen, period, colon,
725
+ # underscore, parentheses (`\{ \}`, `[ ]`, and `( )`), forward slash,
726
+ # horizontal tab, vertical tab, newline, form feed, return, and
710
727
  # whitespace.
711
728
  # @return [String]
712
729
  #
@@ -1520,10 +1537,25 @@ module Aws::GuardDuty
1520
1537
  # administrator from.
1521
1538
  # @return [String]
1522
1539
  #
1540
+ # @!attribute [rw] max_results
1541
+ # You can use this parameter to indicate the maximum number of items
1542
+ # that you want in the response.
1543
+ # @return [Integer]
1544
+ #
1545
+ # @!attribute [rw] next_token
1546
+ # You can use this parameter when paginating results. Set the value of
1547
+ # this parameter to null on your first call to the list action. For
1548
+ # subsequent calls to the action, fill `nextToken` in the request with
1549
+ # the value of `NextToken` from the previous response to continue
1550
+ # listing data.
1551
+ # @return [String]
1552
+ #
1523
1553
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationRequest AWS API Documentation
1524
1554
  #
1525
1555
  class DescribeOrganizationConfigurationRequest < Struct.new(
1526
- :detector_id)
1556
+ :detector_id,
1557
+ :max_results,
1558
+ :next_token)
1527
1559
  SENSITIVE = []
1528
1560
  include Aws::Structure
1529
1561
  end
@@ -1544,12 +1576,23 @@ module Aws::GuardDuty
1544
1576
  # accounts.
1545
1577
  # @return [Types::OrganizationDataSourceConfigurationsResult]
1546
1578
  #
1579
+ # @!attribute [rw] features
1580
+ # A list of features that are configured for this organization.
1581
+ # @return [Array<Types::OrganizationFeatureConfigurationResult>]
1582
+ #
1583
+ # @!attribute [rw] next_token
1584
+ # The pagination parameter to be used on the next list operation to
1585
+ # retrieve more items.
1586
+ # @return [String]
1587
+ #
1547
1588
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationResponse AWS API Documentation
1548
1589
  #
1549
1590
  class DescribeOrganizationConfigurationResponse < Struct.new(
1550
1591
  :auto_enable,
1551
1592
  :member_account_limit_reached,
1552
- :data_sources)
1593
+ :data_sources,
1594
+ :features,
1595
+ :next_token)
1553
1596
  SENSITIVE = []
1554
1597
  include Aws::Structure
1555
1598
  end
@@ -1657,6 +1700,51 @@ module Aws::GuardDuty
1657
1700
  include Aws::Structure
1658
1701
  end
1659
1702
 
1703
+ # Contains information about a GuardDuty feature.
1704
+ #
1705
+ # @!attribute [rw] name
1706
+ # The name of the feature.
1707
+ # @return [String]
1708
+ #
1709
+ # @!attribute [rw] status
1710
+ # The status of the feature.
1711
+ # @return [String]
1712
+ #
1713
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectorFeatureConfiguration AWS API Documentation
1714
+ #
1715
+ class DetectorFeatureConfiguration < Struct.new(
1716
+ :name,
1717
+ :status)
1718
+ SENSITIVE = []
1719
+ include Aws::Structure
1720
+ end
1721
+
1722
+ # Contains information about a GuardDuty feature.
1723
+ #
1724
+ # @!attribute [rw] name
1725
+ # Indicates the name of the feature that can be enabled for the
1726
+ # detector.
1727
+ # @return [String]
1728
+ #
1729
+ # @!attribute [rw] status
1730
+ # Indicates the status of the feature that is enabled for the
1731
+ # detector.
1732
+ # @return [String]
1733
+ #
1734
+ # @!attribute [rw] updated_at
1735
+ # The timestamp at which the feature object was updated.
1736
+ # @return [Time]
1737
+ #
1738
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectorFeatureConfigurationResult AWS API Documentation
1739
+ #
1740
+ class DetectorFeatureConfigurationResult < Struct.new(
1741
+ :name,
1742
+ :status,
1743
+ :updated_at)
1744
+ SENSITIVE = []
1745
+ include Aws::Structure
1746
+ end
1747
+
1660
1748
  # @!attribute [rw] admin_account_id
1661
1749
  # The Amazon Web Services Account ID for the organizations account to
1662
1750
  # be disabled as a GuardDuty delegated administrator.
@@ -2233,6 +2321,25 @@ module Aws::GuardDuty
2233
2321
  include Aws::Structure
2234
2322
  end
2235
2323
 
2324
+ # Contains information about the free trial period for a feature.
2325
+ #
2326
+ # @!attribute [rw] name
2327
+ # The name of the feature for which the free trial is configured.
2328
+ # @return [String]
2329
+ #
2330
+ # @!attribute [rw] free_trial_days_remaining
2331
+ # The number of the remaining free trial days for the feature.
2332
+ # @return [Integer]
2333
+ #
2334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FreeTrialFeatureConfigurationResult AWS API Documentation
2335
+ #
2336
+ class FreeTrialFeatureConfigurationResult < Struct.new(
2337
+ :name,
2338
+ :free_trial_days_remaining)
2339
+ SENSITIVE = []
2340
+ include Aws::Structure
2341
+ end
2342
+
2236
2343
  # Contains information about the location of the remote IP address.
2237
2344
  #
2238
2345
  # @!attribute [rw] lat
@@ -2316,6 +2423,10 @@ module Aws::GuardDuty
2316
2423
  # The tags of the detector resource.
2317
2424
  # @return [Hash<String,String>]
2318
2425
  #
2426
+ # @!attribute [rw] features
2427
+ # Describes the features that have been enabled for the detector.
2428
+ # @return [Array<Types::DetectorFeatureConfigurationResult>]
2429
+ #
2319
2430
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorResponse AWS API Documentation
2320
2431
  #
2321
2432
  class GetDetectorResponse < Struct.new(
@@ -2325,7 +2436,8 @@ module Aws::GuardDuty
2325
2436
  :status,
2326
2437
  :updated_at,
2327
2438
  :data_sources,
2328
- :tags)
2439
+ :tags,
2440
+ :features)
2329
2441
  SENSITIVE = []
2330
2442
  include Aws::Structure
2331
2443
  end
@@ -3831,6 +3943,37 @@ module Aws::GuardDuty
3831
3943
  include Aws::Structure
3832
3944
  end
3833
3945
 
3946
+ # Information about the login attempts.
3947
+ #
3948
+ # @!attribute [rw] user
3949
+ # Indicates the user name which attempted to log in.
3950
+ # @return [String]
3951
+ #
3952
+ # @!attribute [rw] application
3953
+ # Indicates the application name used to attempt log in.
3954
+ # @return [String]
3955
+ #
3956
+ # @!attribute [rw] failed_login_attempts
3957
+ # Represents the sum of failed (unsuccessful) login attempts made to
3958
+ # establish a connection to the database instance.
3959
+ # @return [Integer]
3960
+ #
3961
+ # @!attribute [rw] successful_login_attempts
3962
+ # Represents the sum of successful connections (a correct combination
3963
+ # of login attributes) made to the database instance by the actor.
3964
+ # @return [Integer]
3965
+ #
3966
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/LoginAttribute AWS API Documentation
3967
+ #
3968
+ class LoginAttribute < Struct.new(
3969
+ :user,
3970
+ :application,
3971
+ :failed_login_attempts,
3972
+ :successful_login_attempts)
3973
+ SENSITIVE = []
3974
+ include Aws::Structure
3975
+ end
3976
+
3834
3977
  # Describes whether Malware Protection will be enabled as a data source.
3835
3978
  #
3836
3979
  # @!attribute [rw] scan_ec2_instance_with_findings
@@ -3975,11 +4118,61 @@ module Aws::GuardDuty
3975
4118
  # Contains information on the status of data sources for the account.
3976
4119
  # @return [Types::DataSourceConfigurationsResult]
3977
4120
  #
4121
+ # @!attribute [rw] features
4122
+ # Contains information about the status of the features for the member
4123
+ # account.
4124
+ # @return [Array<Types::MemberFeaturesConfigurationResult>]
4125
+ #
3978
4126
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberDataSourceConfiguration AWS API Documentation
3979
4127
  #
3980
4128
  class MemberDataSourceConfiguration < Struct.new(
3981
4129
  :account_id,
3982
- :data_sources)
4130
+ :data_sources,
4131
+ :features)
4132
+ SENSITIVE = []
4133
+ include Aws::Structure
4134
+ end
4135
+
4136
+ # Contains information about the features for the member account.
4137
+ #
4138
+ # @!attribute [rw] name
4139
+ # The name of the feature.
4140
+ # @return [String]
4141
+ #
4142
+ # @!attribute [rw] status
4143
+ # The status of the feature.
4144
+ # @return [String]
4145
+ #
4146
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberFeaturesConfiguration AWS API Documentation
4147
+ #
4148
+ class MemberFeaturesConfiguration < Struct.new(
4149
+ :name,
4150
+ :status)
4151
+ SENSITIVE = []
4152
+ include Aws::Structure
4153
+ end
4154
+
4155
+ # Contains information about the features for the member account.
4156
+ #
4157
+ # @!attribute [rw] name
4158
+ # Indicates the name of the feature that is enabled for the detector.
4159
+ # @return [String]
4160
+ #
4161
+ # @!attribute [rw] status
4162
+ # Indicates the status of the feature that is enabled for the
4163
+ # detector.
4164
+ # @return [String]
4165
+ #
4166
+ # @!attribute [rw] updated_at
4167
+ # The timestamp at which the feature object was updated.
4168
+ # @return [Time]
4169
+ #
4170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberFeaturesConfigurationResult AWS API Documentation
4171
+ #
4172
+ class MemberFeaturesConfigurationResult < Struct.new(
4173
+ :name,
4174
+ :status,
4175
+ :updated_at)
3983
4176
  SENSITIVE = []
3984
4177
  include Aws::Structure
3985
4178
  end
@@ -4207,6 +4400,54 @@ module Aws::GuardDuty
4207
4400
  include Aws::Structure
4208
4401
  end
4209
4402
 
4403
+ # A list of features which will be configured for the organization.
4404
+ #
4405
+ # @!attribute [rw] name
4406
+ # The name of the feature that will be configured for the
4407
+ # organization.
4408
+ # @return [String]
4409
+ #
4410
+ # @!attribute [rw] auto_enable
4411
+ # The status of the feature that will be configured for the
4412
+ # organization.
4413
+ # @return [String]
4414
+ #
4415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationFeatureConfiguration AWS API Documentation
4416
+ #
4417
+ class OrganizationFeatureConfiguration < Struct.new(
4418
+ :name,
4419
+ :auto_enable)
4420
+ SENSITIVE = []
4421
+ include Aws::Structure
4422
+ end
4423
+
4424
+ # A list of features which will be configured for the organization.
4425
+ #
4426
+ # @!attribute [rw] name
4427
+ # The name of the feature that is configured for the member accounts
4428
+ # within the organization.
4429
+ # @return [String]
4430
+ #
4431
+ # @!attribute [rw] auto_enable
4432
+ # Describes how The status of the feature that are configured for the
4433
+ # member accounts within the organization.
4434
+ #
4435
+ # If you set `AutoEnable` to `NEW`, a feature will be configured for
4436
+ # only the new accounts when they join the organization.
4437
+ #
4438
+ # If you set `AutoEnable` to `NONE`, no feature will be configured for
4439
+ # the accounts when they join the organization.
4440
+ # @return [String]
4441
+ #
4442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationFeatureConfigurationResult AWS API Documentation
4443
+ #
4444
+ class OrganizationFeatureConfigurationResult < Struct.new(
4445
+ :name,
4446
+ :auto_enable)
4447
+ SENSITIVE = []
4448
+ include Aws::Structure
4449
+ end
4450
+
4210
4451
  # Organization-wide Kubernetes audit logs configuration.
4211
4452
  #
4212
4453
  # @!attribute [rw] auto_enable
@@ -4510,6 +4751,107 @@ module Aws::GuardDuty
4510
4751
  include Aws::Structure
4511
4752
  end
4512
4753
 
4754
+ # Contains information about the resource type `RDSDBInstance` involved
4755
+ # in a GuardDuty finding.
4756
+ #
4757
+ # @!attribute [rw] db_instance_identifier
4758
+ # The identifier associated to the database instance that was involved
4759
+ # in the finding.
4760
+ # @return [String]
4761
+ #
4762
+ # @!attribute [rw] engine
4763
+ # The database engine of the database instance involved in the
4764
+ # finding.
4765
+ # @return [String]
4766
+ #
4767
+ # @!attribute [rw] engine_version
4768
+ # The version of the database engine that was involved in the finding.
4769
+ # @return [String]
4770
+ #
4771
+ # @!attribute [rw] db_cluster_identifier
4772
+ # The identifier of the database cluster that contains the database
4773
+ # instance ID involved in the finding.
4774
+ # @return [String]
4775
+ #
4776
+ # @!attribute [rw] db_instance_arn
4777
+ # The Amazon Resource Name (ARN) that identifies the database instance
4778
+ # involved in the finding.
4779
+ # @return [String]
4780
+ #
4781
+ # @!attribute [rw] tags
4782
+ # Instance tag key-value pairs associated with the database instance
4783
+ # ID.
4784
+ # @return [Array<Types::Tag>]
4785
+ #
4786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RdsDbInstanceDetails AWS API Documentation
4787
+ #
4788
+ class RdsDbInstanceDetails < Struct.new(
4789
+ :db_instance_identifier,
4790
+ :engine,
4791
+ :engine_version,
4792
+ :db_cluster_identifier,
4793
+ :db_instance_arn,
4794
+ :tags)
4795
+ SENSITIVE = []
4796
+ include Aws::Structure
4797
+ end
4798
+
4799
+ # Contains information about the user and authentication details for a
4800
+ # database instance involved in the finding.
4801
+ #
4802
+ # @!attribute [rw] user
4803
+ # The user name used in the anomalous login attempt.
4804
+ # @return [String]
4805
+ #
4806
+ # @!attribute [rw] application
4807
+ # The application name used in the anomalous login attempt.
4808
+ # @return [String]
4809
+ #
4810
+ # @!attribute [rw] database
4811
+ # The name of the database instance involved in the anomalous login
4812
+ # attempt.
4813
+ # @return [String]
4814
+ #
4815
+ # @!attribute [rw] ssl
4816
+ # The version of the Secure Socket Layer (SSL) used for the network.
4817
+ # @return [String]
4818
+ #
4819
+ # @!attribute [rw] auth_method
4820
+ # The authentication method used by the user involved in the finding.
4821
+ # @return [String]
4822
+ #
4823
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RdsDbUserDetails AWS API Documentation
4824
+ #
4825
+ class RdsDbUserDetails < Struct.new(
4826
+ :user,
4827
+ :application,
4828
+ :database,
4829
+ :ssl,
4830
+ :auth_method)
4831
+ SENSITIVE = []
4832
+ include Aws::Structure
4833
+ end
4834
+
4835
+ # Indicates that a login attempt was made to the potentially compromised
4836
+ # database from a remote IP address.
4837
+ #
4838
+ # @!attribute [rw] remote_ip_details
4839
+ # Contains information about the remote IP address of the connection.
4840
+ # @return [Types::RemoteIpDetails]
4841
+ #
4842
+ # @!attribute [rw] login_attributes
4843
+ # Indicates the login attributes used in the login attempt.
4844
+ # @return [Array<Types::LoginAttribute>]
4845
+ #
4846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RdsLoginAttemptAction AWS API Documentation
4847
+ #
4848
+ class RdsLoginAttemptAction < Struct.new(
4849
+ :remote_ip_details,
4850
+ :login_attributes)
4851
+ SENSITIVE = []
4852
+ include Aws::Structure
4853
+ end
4854
+
4513
4855
  # Contains details about the remote Amazon Web Services account that
4514
4856
  # made the API call.
4515
4857
  #
@@ -4628,6 +4970,16 @@ module Aws::GuardDuty
4628
4970
  # Details of a container.
4629
4971
  # @return [Types::Container]
4630
4972
  #
4973
+ # @!attribute [rw] rds_db_instance_details
4974
+ # Contains information about the database instance to which an
4975
+ # anomalous login attempt was made.
4976
+ # @return [Types::RdsDbInstanceDetails]
4977
+ #
4978
+ # @!attribute [rw] rds_db_user_details
4979
+ # Contains information about the user details through which anomalous
4980
+ # login attempt was made.
4981
+ # @return [Types::RdsDbUserDetails]
4982
+ #
4631
4983
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Resource AWS API Documentation
4632
4984
  #
4633
4985
  class Resource < Struct.new(
@@ -4639,7 +4991,9 @@ module Aws::GuardDuty
4639
4991
  :resource_type,
4640
4992
  :ebs_volume_details,
4641
4993
  :ecs_cluster_details,
4642
- :container_details)
4994
+ :container_details,
4995
+ :rds_db_instance_details,
4996
+ :rds_db_user_details)
4643
4997
  SENSITIVE = []
4644
4998
  include Aws::Structure
4645
4999
  end
@@ -5497,13 +5851,18 @@ module Aws::GuardDuty
5497
5851
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
5498
5852
  # @return [Types::DataSourceConfigurations]
5499
5853
  #
5854
+ # @!attribute [rw] features
5855
+ # Provides the features that will be updated for the detector.
5856
+ # @return [Array<Types::DetectorFeatureConfiguration>]
5857
+ #
5500
5858
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest AWS API Documentation
5501
5859
  #
5502
5860
  class UpdateDetectorRequest < Struct.new(
5503
5861
  :detector_id,
5504
5862
  :enable,
5505
5863
  :finding_publishing_frequency,
5506
- :data_sources)
5864
+ :data_sources,
5865
+ :features)
5507
5866
  SENSITIVE = []
5508
5867
  include Aws::Structure
5509
5868
  end
@@ -5681,12 +6040,18 @@ module Aws::GuardDuty
5681
6040
  # Describes which data sources will be updated.
5682
6041
  # @return [Types::DataSourceConfigurations]
5683
6042
  #
6043
+ # @!attribute [rw] features
6044
+ # A list of features that will be updated for the specified member
6045
+ # accounts.
6046
+ # @return [Array<Types::MemberFeaturesConfiguration>]
6047
+ #
5684
6048
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectorsRequest AWS API Documentation
5685
6049
  #
5686
6050
  class UpdateMemberDetectorsRequest < Struct.new(
5687
6051
  :detector_id,
5688
6052
  :account_ids,
5689
- :data_sources)
6053
+ :data_sources,
6054
+ :features)
5690
6055
  SENSITIVE = []
5691
6056
  include Aws::Structure
5692
6057
  end
@@ -5717,12 +6082,17 @@ module Aws::GuardDuty
5717
6082
  # Describes which data sources will be updated.
5718
6083
  # @return [Types::OrganizationDataSourceConfigurations]
5719
6084
  #
6085
+ # @!attribute [rw] features
6086
+ # A list of features that will be configured for the organization.
6087
+ # @return [Array<Types::OrganizationFeatureConfiguration>]
6088
+ #
5720
6089
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfigurationRequest AWS API Documentation
5721
6090
  #
5722
6091
  class UpdateOrganizationConfigurationRequest < Struct.new(
5723
6092
  :detector_id,
5724
6093
  :auto_enable,
5725
- :data_sources)
6094
+ :data_sources,
6095
+ :features)
5726
6096
  SENSITIVE = []
5727
6097
  include Aws::Structure
5728
6098
  end
@@ -5834,12 +6204,17 @@ module Aws::GuardDuty
5834
6204
  # resource names.
5835
6205
  # @return [Array<String>]
5836
6206
  #
6207
+ # @!attribute [rw] features
6208
+ # The features to aggregate usage statistics from.
6209
+ # @return [Array<String>]
6210
+ #
5837
6211
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageCriteria AWS API Documentation
5838
6212
  #
5839
6213
  class UsageCriteria < Struct.new(
5840
6214
  :account_ids,
5841
6215
  :data_sources,
5842
- :resources)
6216
+ :resources,
6217
+ :features)
5843
6218
  SENSITIVE = []
5844
6219
  include Aws::Structure
5845
6220
  end
@@ -5863,6 +6238,27 @@ module Aws::GuardDuty
5863
6238
  include Aws::Structure
5864
6239
  end
5865
6240
 
6241
+ # Contains information about the result of the total usage based on the
6242
+ # feature.
6243
+ #
6244
+ # @!attribute [rw] feature
6245
+ # The feature that generated the usage cost.
6246
+ # @return [String]
6247
+ #
6248
+ # @!attribute [rw] total
6249
+ # Contains the total usage with the corresponding currency unit for
6250
+ # that value.
6251
+ # @return [Types::Total]
6252
+ #
6253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageFeatureResult AWS API Documentation
6254
+ #
6255
+ class UsageFeatureResult < Struct.new(
6256
+ :feature,
6257
+ :total)
6258
+ SENSITIVE = []
6259
+ include Aws::Structure
6260
+ end
6261
+
5866
6262
  # Contains information on the sum of usage based on an Amazon Web
5867
6263
  # Services resource.
5868
6264
  #
@@ -5903,13 +6299,18 @@ module Aws::GuardDuty
5903
6299
  # usage, in order from most to least expensive.
5904
6300
  # @return [Array<Types::UsageResourceResult>]
5905
6301
  #
6302
+ # @!attribute [rw] sum_by_feature
6303
+ # The usage statistic sum organized by feature.
6304
+ # @return [Array<Types::UsageFeatureResult>]
6305
+ #
5906
6306
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageStatistics AWS API Documentation
5907
6307
  #
5908
6308
  class UsageStatistics < Struct.new(
5909
6309
  :sum_by_account,
5910
6310
  :sum_by_data_source,
5911
6311
  :sum_by_resource,
5912
- :top_resources)
6312
+ :top_resources,
6313
+ :sum_by_feature)
5913
6314
  SENSITIVE = []
5914
6315
  include Aws::Structure
5915
6316
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-guardduty/customizations'
52
52
  # @!group service
53
53
  module Aws::GuardDuty
54
54
 
55
- GEM_VERSION = '1.64.0'
55
+ GEM_VERSION = '1.65.0'
56
56
 
57
57
  end
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.64.0
4
+ version: 1.65.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: 2023-02-23 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core