aws-sdk-guardduty 1.35.1 → 1.40.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -37,6 +39,7 @@ module Aws::GuardDuty
37
39
  :detector_id,
38
40
  :master_id,
39
41
  :invitation_id)
42
+ SENSITIVE = []
40
43
  include Aws::Structure
41
44
  end
42
45
 
@@ -62,6 +65,7 @@ module Aws::GuardDuty
62
65
  class AccessControlList < Struct.new(
63
66
  :allows_public_read_access,
64
67
  :allows_public_write_access)
68
+ SENSITIVE = []
65
69
  include Aws::Structure
66
70
  end
67
71
 
@@ -90,6 +94,7 @@ module Aws::GuardDuty
90
94
  :principal_id,
91
95
  :user_name,
92
96
  :user_type)
97
+ SENSITIVE = []
93
98
  include Aws::Structure
94
99
  end
95
100
 
@@ -116,6 +121,7 @@ module Aws::GuardDuty
116
121
  class AccountDetail < Struct.new(
117
122
  :account_id,
118
123
  :email)
124
+ SENSITIVE = []
119
125
  include Aws::Structure
120
126
  end
121
127
 
@@ -131,6 +137,7 @@ module Aws::GuardDuty
131
137
  #
132
138
  class AccountLevelPermissions < Struct.new(
133
139
  :block_public_access)
140
+ SENSITIVE = []
134
141
  include Aws::Structure
135
142
  end
136
143
 
@@ -166,6 +173,7 @@ module Aws::GuardDuty
166
173
  :dns_request_action,
167
174
  :network_connection_action,
168
175
  :port_probe_action)
176
+ SENSITIVE = []
169
177
  include Aws::Structure
170
178
  end
171
179
 
@@ -186,6 +194,7 @@ module Aws::GuardDuty
186
194
  class AdminAccount < Struct.new(
187
195
  :admin_account_id,
188
196
  :admin_status)
197
+ SENSITIVE = []
189
198
  include Aws::Structure
190
199
  end
191
200
 
@@ -211,6 +220,7 @@ module Aws::GuardDuty
211
220
  class ArchiveFindingsRequest < Struct.new(
212
221
  :detector_id,
213
222
  :finding_ids)
223
+ SENSITIVE = []
214
224
  include Aws::Structure
215
225
  end
216
226
 
@@ -218,7 +228,7 @@ module Aws::GuardDuty
218
228
  #
219
229
  class ArchiveFindingsResponse < Aws::EmptyStructure; end
220
230
 
221
- # Contains information about the API operation.
231
+ # Contains information about the API action.
222
232
  #
223
233
  # @!attribute [rw] api
224
234
  # The AWS API name.
@@ -232,8 +242,13 @@ module Aws::GuardDuty
232
242
  # The domain information for the AWS API call.
233
243
  # @return [Types::DomainDetails]
234
244
  #
245
+ # @!attribute [rw] error_code
246
+ # The error code of the failed AWS API action.
247
+ # @return [String]
248
+ #
235
249
  # @!attribute [rw] remote_ip_details
236
- # The remote IP information of the connection.
250
+ # The remote IP information of the connection that initiated the AWS
251
+ # API call.
237
252
  # @return [Types::RemoteIpDetails]
238
253
  #
239
254
  # @!attribute [rw] service_name
@@ -246,8 +261,10 @@ module Aws::GuardDuty
246
261
  :api,
247
262
  :caller_type,
248
263
  :domain_details,
264
+ :error_code,
249
265
  :remote_ip_details,
250
266
  :service_name)
267
+ SENSITIVE = []
251
268
  include Aws::Structure
252
269
  end
253
270
 
@@ -266,6 +283,7 @@ module Aws::GuardDuty
266
283
  class BadRequestException < Struct.new(
267
284
  :message,
268
285
  :type)
286
+ SENSITIVE = []
269
287
  include Aws::Structure
270
288
  end
271
289
 
@@ -301,6 +319,7 @@ module Aws::GuardDuty
301
319
  :restrict_public_buckets,
302
320
  :block_public_acls,
303
321
  :block_public_policy)
322
+ SENSITIVE = []
304
323
  include Aws::Structure
305
324
  end
306
325
 
@@ -327,6 +346,7 @@ module Aws::GuardDuty
327
346
  :access_control_list,
328
347
  :bucket_policy,
329
348
  :block_public_access)
349
+ SENSITIVE = []
330
350
  include Aws::Structure
331
351
  end
332
352
 
@@ -347,6 +367,7 @@ module Aws::GuardDuty
347
367
  class BucketPolicy < Struct.new(
348
368
  :allows_public_read_access,
349
369
  :allows_public_write_access)
370
+ SENSITIVE = []
350
371
  include Aws::Structure
351
372
  end
352
373
 
@@ -360,6 +381,23 @@ module Aws::GuardDuty
360
381
  #
361
382
  class City < Struct.new(
362
383
  :city_name)
384
+ SENSITIVE = []
385
+ include Aws::Structure
386
+ end
387
+
388
+ # Contains information on the status of CloudTrail as a data source for
389
+ # the detector.
390
+ #
391
+ # @!attribute [rw] status
392
+ # Describes whether CloudTrail is enabled as a data source for the
393
+ # detector.
394
+ # @return [String]
395
+ #
396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CloudTrailConfigurationResult AWS API Documentation
397
+ #
398
+ class CloudTrailConfigurationResult < Struct.new(
399
+ :status)
400
+ SENSITIVE = []
363
401
  include Aws::Structure
364
402
  end
365
403
 
@@ -458,6 +496,7 @@ module Aws::GuardDuty
458
496
  :greater_than_or_equal,
459
497
  :less_than,
460
498
  :less_than_or_equal)
499
+ SENSITIVE = []
461
500
  include Aws::Structure
462
501
  end
463
502
 
@@ -477,6 +516,7 @@ module Aws::GuardDuty
477
516
  class Country < Struct.new(
478
517
  :country_code,
479
518
  :country_name)
519
+ SENSITIVE = []
480
520
  include Aws::Structure
481
521
  end
482
522
 
@@ -487,6 +527,11 @@ module Aws::GuardDuty
487
527
  # enable: false, # required
488
528
  # client_token: "ClientToken",
489
529
  # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
530
+ # data_sources: {
531
+ # s3_logs: {
532
+ # enable: false, # required
533
+ # },
534
+ # },
490
535
  # tags: {
491
536
  # "TagKey" => "TagValue",
492
537
  # },
@@ -509,6 +554,11 @@ module Aws::GuardDuty
509
554
  # exported.
510
555
  # @return [String]
511
556
  #
557
+ # @!attribute [rw] data_sources
558
+ # An object that describes which data sources will be enabled for the
559
+ # detector.
560
+ # @return [Types::DataSourceConfigurations]
561
+ #
512
562
  # @!attribute [rw] tags
513
563
  # The tags to be added to a new detector resource.
514
564
  # @return [Hash<String,String>]
@@ -519,7 +569,9 @@ module Aws::GuardDuty
519
569
  :enable,
520
570
  :client_token,
521
571
  :finding_publishing_frequency,
572
+ :data_sources,
522
573
  :tags)
574
+ SENSITIVE = []
523
575
  include Aws::Structure
524
576
  end
525
577
 
@@ -531,6 +583,7 @@ module Aws::GuardDuty
531
583
  #
532
584
  class CreateDetectorResponse < Struct.new(
533
585
  :detector_id)
586
+ SENSITIVE = []
534
587
  include Aws::Structure
535
588
  end
536
589
 
@@ -729,6 +782,7 @@ module Aws::GuardDuty
729
782
  :finding_criteria,
730
783
  :client_token,
731
784
  :tags)
785
+ SENSITIVE = []
732
786
  include Aws::Structure
733
787
  end
734
788
 
@@ -740,6 +794,7 @@ module Aws::GuardDuty
740
794
  #
741
795
  class CreateFilterResponse < Struct.new(
742
796
  :name)
797
+ SENSITIVE = []
743
798
  include Aws::Structure
744
799
  end
745
800
 
@@ -805,6 +860,7 @@ module Aws::GuardDuty
805
860
  :activate,
806
861
  :client_token,
807
862
  :tags)
863
+ SENSITIVE = []
808
864
  include Aws::Structure
809
865
  end
810
866
 
@@ -816,6 +872,7 @@ module Aws::GuardDuty
816
872
  #
817
873
  class CreateIPSetResponse < Struct.new(
818
874
  :ip_set_id)
875
+ SENSITIVE = []
819
876
  include Aws::Structure
820
877
  end
821
878
 
@@ -847,6 +904,7 @@ module Aws::GuardDuty
847
904
  class CreateMembersRequest < Struct.new(
848
905
  :detector_id,
849
906
  :account_details)
907
+ SENSITIVE = []
850
908
  include Aws::Structure
851
909
  end
852
910
 
@@ -859,6 +917,7 @@ module Aws::GuardDuty
859
917
  #
860
918
  class CreateMembersResponse < Struct.new(
861
919
  :unprocessed_accounts)
920
+ SENSITIVE = []
862
921
  include Aws::Structure
863
922
  end
864
923
 
@@ -904,6 +963,7 @@ module Aws::GuardDuty
904
963
  :destination_type,
905
964
  :destination_properties,
906
965
  :client_token)
966
+ SENSITIVE = []
907
967
  include Aws::Structure
908
968
  end
909
969
 
@@ -915,6 +975,7 @@ module Aws::GuardDuty
915
975
  #
916
976
  class CreatePublishingDestinationResponse < Struct.new(
917
977
  :destination_id)
978
+ SENSITIVE = []
918
979
  include Aws::Structure
919
980
  end
920
981
 
@@ -939,6 +1000,7 @@ module Aws::GuardDuty
939
1000
  class CreateSampleFindingsRequest < Struct.new(
940
1001
  :detector_id,
941
1002
  :finding_types)
1003
+ SENSITIVE = []
942
1004
  include Aws::Structure
943
1005
  end
944
1006
 
@@ -1007,6 +1069,7 @@ module Aws::GuardDuty
1007
1069
  :activate,
1008
1070
  :client_token,
1009
1071
  :tags)
1072
+ SENSITIVE = []
1010
1073
  include Aws::Structure
1011
1074
  end
1012
1075
 
@@ -1018,6 +1081,77 @@ module Aws::GuardDuty
1018
1081
  #
1019
1082
  class CreateThreatIntelSetResponse < Struct.new(
1020
1083
  :threat_intel_set_id)
1084
+ SENSITIVE = []
1085
+ include Aws::Structure
1086
+ end
1087
+
1088
+ # Contains information on the status of DNS logs as a data source.
1089
+ #
1090
+ # @!attribute [rw] status
1091
+ # Denotes whether DNS logs is enabled as a data source.
1092
+ # @return [String]
1093
+ #
1094
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DNSLogsConfigurationResult AWS API Documentation
1095
+ #
1096
+ class DNSLogsConfigurationResult < Struct.new(
1097
+ :status)
1098
+ SENSITIVE = []
1099
+ include Aws::Structure
1100
+ end
1101
+
1102
+ # Contains information about which data sources are enabled.
1103
+ #
1104
+ # @note When making an API call, you may pass DataSourceConfigurations
1105
+ # data as a hash:
1106
+ #
1107
+ # {
1108
+ # s3_logs: {
1109
+ # enable: false, # required
1110
+ # },
1111
+ # }
1112
+ #
1113
+ # @!attribute [rw] s3_logs
1114
+ # Describes whether S3 data event logs are enabled as a data source.
1115
+ # @return [Types::S3LogsConfiguration]
1116
+ #
1117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DataSourceConfigurations AWS API Documentation
1118
+ #
1119
+ class DataSourceConfigurations < Struct.new(
1120
+ :s3_logs)
1121
+ SENSITIVE = []
1122
+ include Aws::Structure
1123
+ end
1124
+
1125
+ # Contains information on the status of data sources for the detector.
1126
+ #
1127
+ # @!attribute [rw] cloud_trail
1128
+ # An object that contains information on the status of CloudTrail as a
1129
+ # data source.
1130
+ # @return [Types::CloudTrailConfigurationResult]
1131
+ #
1132
+ # @!attribute [rw] dns_logs
1133
+ # An object that contains information on the status of DNS logs as a
1134
+ # data source.
1135
+ # @return [Types::DNSLogsConfigurationResult]
1136
+ #
1137
+ # @!attribute [rw] flow_logs
1138
+ # An object that contains information on the status of VPC flow logs
1139
+ # as a data source.
1140
+ # @return [Types::FlowLogsConfigurationResult]
1141
+ #
1142
+ # @!attribute [rw] s3_logs
1143
+ # An object that contains information on the status of S3 Data event
1144
+ # logs as a data source.
1145
+ # @return [Types::S3LogsConfigurationResult]
1146
+ #
1147
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DataSourceConfigurationsResult AWS API Documentation
1148
+ #
1149
+ class DataSourceConfigurationsResult < Struct.new(
1150
+ :cloud_trail,
1151
+ :dns_logs,
1152
+ :flow_logs,
1153
+ :s3_logs)
1154
+ SENSITIVE = []
1021
1155
  include Aws::Structure
1022
1156
  end
1023
1157
 
@@ -1038,6 +1172,7 @@ module Aws::GuardDuty
1038
1172
  #
1039
1173
  class DeclineInvitationsRequest < Struct.new(
1040
1174
  :account_ids)
1175
+ SENSITIVE = []
1041
1176
  include Aws::Structure
1042
1177
  end
1043
1178
 
@@ -1050,6 +1185,7 @@ module Aws::GuardDuty
1050
1185
  #
1051
1186
  class DeclineInvitationsResponse < Struct.new(
1052
1187
  :unprocessed_accounts)
1188
+ SENSITIVE = []
1053
1189
  include Aws::Structure
1054
1190
  end
1055
1191
 
@@ -1058,7 +1194,7 @@ module Aws::GuardDuty
1058
1194
  #
1059
1195
  #
1060
1196
  #
1061
- # [1]: https://docs.aws.amazon.com/AmazonS3/atest/dev/serv-side-encryption.html
1197
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html
1062
1198
  #
1063
1199
  # @!attribute [rw] encryption_type
1064
1200
  # The type of encryption used for objects within the S3 bucket.
@@ -1074,6 +1210,7 @@ module Aws::GuardDuty
1074
1210
  class DefaultServerSideEncryption < Struct.new(
1075
1211
  :encryption_type,
1076
1212
  :kms_master_key_arn)
1213
+ SENSITIVE = []
1077
1214
  include Aws::Structure
1078
1215
  end
1079
1216
 
@@ -1092,6 +1229,7 @@ module Aws::GuardDuty
1092
1229
  #
1093
1230
  class DeleteDetectorRequest < Struct.new(
1094
1231
  :detector_id)
1232
+ SENSITIVE = []
1095
1233
  include Aws::Structure
1096
1234
  end
1097
1235
 
@@ -1120,6 +1258,7 @@ module Aws::GuardDuty
1120
1258
  class DeleteFilterRequest < Struct.new(
1121
1259
  :detector_id,
1122
1260
  :filter_name)
1261
+ SENSITIVE = []
1123
1262
  include Aws::Structure
1124
1263
  end
1125
1264
 
@@ -1148,6 +1287,7 @@ module Aws::GuardDuty
1148
1287
  class DeleteIPSetRequest < Struct.new(
1149
1288
  :detector_id,
1150
1289
  :ip_set_id)
1290
+ SENSITIVE = []
1151
1291
  include Aws::Structure
1152
1292
  end
1153
1293
 
@@ -1171,6 +1311,7 @@ module Aws::GuardDuty
1171
1311
  #
1172
1312
  class DeleteInvitationsRequest < Struct.new(
1173
1313
  :account_ids)
1314
+ SENSITIVE = []
1174
1315
  include Aws::Structure
1175
1316
  end
1176
1317
 
@@ -1183,6 +1324,7 @@ module Aws::GuardDuty
1183
1324
  #
1184
1325
  class DeleteInvitationsResponse < Struct.new(
1185
1326
  :unprocessed_accounts)
1327
+ SENSITIVE = []
1186
1328
  include Aws::Structure
1187
1329
  end
1188
1330
 
@@ -1209,6 +1351,7 @@ module Aws::GuardDuty
1209
1351
  class DeleteMembersRequest < Struct.new(
1210
1352
  :detector_id,
1211
1353
  :account_ids)
1354
+ SENSITIVE = []
1212
1355
  include Aws::Structure
1213
1356
  end
1214
1357
 
@@ -1220,6 +1363,7 @@ module Aws::GuardDuty
1220
1363
  #
1221
1364
  class DeleteMembersResponse < Struct.new(
1222
1365
  :unprocessed_accounts)
1366
+ SENSITIVE = []
1223
1367
  include Aws::Structure
1224
1368
  end
1225
1369
 
@@ -1245,6 +1389,7 @@ module Aws::GuardDuty
1245
1389
  class DeletePublishingDestinationRequest < Struct.new(
1246
1390
  :detector_id,
1247
1391
  :destination_id)
1392
+ SENSITIVE = []
1248
1393
  include Aws::Structure
1249
1394
  end
1250
1395
 
@@ -1274,6 +1419,7 @@ module Aws::GuardDuty
1274
1419
  class DeleteThreatIntelSetRequest < Struct.new(
1275
1420
  :detector_id,
1276
1421
  :threat_intel_set_id)
1422
+ SENSITIVE = []
1277
1423
  include Aws::Structure
1278
1424
  end
1279
1425
 
@@ -1297,6 +1443,7 @@ module Aws::GuardDuty
1297
1443
  #
1298
1444
  class DescribeOrganizationConfigurationRequest < Struct.new(
1299
1445
  :detector_id)
1446
+ SENSITIVE = []
1300
1447
  include Aws::Structure
1301
1448
  end
1302
1449
 
@@ -1310,11 +1457,18 @@ module Aws::GuardDuty
1310
1457
  # already associated with the delegated administrator master account.
1311
1458
  # @return [Boolean]
1312
1459
  #
1460
+ # @!attribute [rw] data_sources
1461
+ # An object that describes which data sources are enabled
1462
+ # automatically for member accounts.
1463
+ # @return [Types::OrganizationDataSourceConfigurationsResult]
1464
+ #
1313
1465
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationResponse AWS API Documentation
1314
1466
  #
1315
1467
  class DescribeOrganizationConfigurationResponse < Struct.new(
1316
1468
  :auto_enable,
1317
- :member_account_limit_reached)
1469
+ :member_account_limit_reached,
1470
+ :data_sources)
1471
+ SENSITIVE = []
1318
1472
  include Aws::Structure
1319
1473
  end
1320
1474
 
@@ -1340,6 +1494,7 @@ module Aws::GuardDuty
1340
1494
  class DescribePublishingDestinationRequest < Struct.new(
1341
1495
  :detector_id,
1342
1496
  :destination_id)
1497
+ SENSITIVE = []
1343
1498
  include Aws::Structure
1344
1499
  end
1345
1500
 
@@ -1374,6 +1529,7 @@ module Aws::GuardDuty
1374
1529
  :status,
1375
1530
  :publishing_failure_start_timestamp,
1376
1531
  :destination_properties)
1532
+ SENSITIVE = []
1377
1533
  include Aws::Structure
1378
1534
  end
1379
1535
 
@@ -1399,6 +1555,7 @@ module Aws::GuardDuty
1399
1555
  :destination_id,
1400
1556
  :destination_type,
1401
1557
  :status)
1558
+ SENSITIVE = []
1402
1559
  include Aws::Structure
1403
1560
  end
1404
1561
 
@@ -1427,6 +1584,7 @@ module Aws::GuardDuty
1427
1584
  class DestinationProperties < Struct.new(
1428
1585
  :destination_arn,
1429
1586
  :kms_key_arn)
1587
+ SENSITIVE = []
1430
1588
  include Aws::Structure
1431
1589
  end
1432
1590
 
@@ -1446,6 +1604,7 @@ module Aws::GuardDuty
1446
1604
  #
1447
1605
  class DisableOrganizationAdminAccountRequest < Struct.new(
1448
1606
  :admin_account_id)
1607
+ SENSITIVE = []
1449
1608
  include Aws::Structure
1450
1609
  end
1451
1610
 
@@ -1468,6 +1627,7 @@ module Aws::GuardDuty
1468
1627
  #
1469
1628
  class DisassociateFromMasterAccountRequest < Struct.new(
1470
1629
  :detector_id)
1630
+ SENSITIVE = []
1471
1631
  include Aws::Structure
1472
1632
  end
1473
1633
 
@@ -1498,6 +1658,7 @@ module Aws::GuardDuty
1498
1658
  class DisassociateMembersRequest < Struct.new(
1499
1659
  :detector_id,
1500
1660
  :account_ids)
1661
+ SENSITIVE = []
1501
1662
  include Aws::Structure
1502
1663
  end
1503
1664
 
@@ -1510,6 +1671,7 @@ module Aws::GuardDuty
1510
1671
  #
1511
1672
  class DisassociateMembersResponse < Struct.new(
1512
1673
  :unprocessed_accounts)
1674
+ SENSITIVE = []
1513
1675
  include Aws::Structure
1514
1676
  end
1515
1677
 
@@ -1524,6 +1686,7 @@ module Aws::GuardDuty
1524
1686
  #
1525
1687
  class DnsRequestAction < Struct.new(
1526
1688
  :domain)
1689
+ SENSITIVE = []
1527
1690
  include Aws::Structure
1528
1691
  end
1529
1692
 
@@ -1537,6 +1700,7 @@ module Aws::GuardDuty
1537
1700
  #
1538
1701
  class DomainDetails < Struct.new(
1539
1702
  :domain)
1703
+ SENSITIVE = []
1540
1704
  include Aws::Structure
1541
1705
  end
1542
1706
 
@@ -1556,6 +1720,7 @@ module Aws::GuardDuty
1556
1720
  #
1557
1721
  class EnableOrganizationAdminAccountRequest < Struct.new(
1558
1722
  :admin_account_id)
1723
+ SENSITIVE = []
1559
1724
  include Aws::Structure
1560
1725
  end
1561
1726
 
@@ -1573,6 +1738,7 @@ module Aws::GuardDuty
1573
1738
  #
1574
1739
  class Evidence < Struct.new(
1575
1740
  :threat_intelligence_details)
1741
+ SENSITIVE = []
1576
1742
  include Aws::Structure
1577
1743
  end
1578
1744
 
@@ -1658,6 +1824,7 @@ module Aws::GuardDuty
1658
1824
  :title,
1659
1825
  :type,
1660
1826
  :updated_at)
1827
+ SENSITIVE = []
1661
1828
  include Aws::Structure
1662
1829
  end
1663
1830
 
@@ -1694,6 +1861,7 @@ module Aws::GuardDuty
1694
1861
  #
1695
1862
  class FindingCriteria < Struct.new(
1696
1863
  :criterion)
1864
+ SENSITIVE = []
1697
1865
  include Aws::Structure
1698
1866
  end
1699
1867
 
@@ -1708,6 +1876,21 @@ module Aws::GuardDuty
1708
1876
  #
1709
1877
  class FindingStatistics < Struct.new(
1710
1878
  :count_by_severity)
1879
+ SENSITIVE = []
1880
+ include Aws::Structure
1881
+ end
1882
+
1883
+ # Contains information on the status of VPC flow logs as a data source.
1884
+ #
1885
+ # @!attribute [rw] status
1886
+ # Denotes whether VPC flow logs is enabled as a data source.
1887
+ # @return [String]
1888
+ #
1889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FlowLogsConfigurationResult AWS API Documentation
1890
+ #
1891
+ class FlowLogsConfigurationResult < Struct.new(
1892
+ :status)
1893
+ SENSITIVE = []
1711
1894
  include Aws::Structure
1712
1895
  end
1713
1896
 
@@ -1726,6 +1909,7 @@ module Aws::GuardDuty
1726
1909
  class GeoLocation < Struct.new(
1727
1910
  :lat,
1728
1911
  :lon)
1912
+ SENSITIVE = []
1729
1913
  include Aws::Structure
1730
1914
  end
1731
1915
 
@@ -1744,6 +1928,7 @@ module Aws::GuardDuty
1744
1928
  #
1745
1929
  class GetDetectorRequest < Struct.new(
1746
1930
  :detector_id)
1931
+ SENSITIVE = []
1747
1932
  include Aws::Structure
1748
1933
  end
1749
1934
 
@@ -1767,6 +1952,11 @@ module Aws::GuardDuty
1767
1952
  # The last-updated timestamp for the detector.
1768
1953
  # @return [String]
1769
1954
  #
1955
+ # @!attribute [rw] data_sources
1956
+ # An object that describes which data sources are enabled for the
1957
+ # detector.
1958
+ # @return [Types::DataSourceConfigurationsResult]
1959
+ #
1770
1960
  # @!attribute [rw] tags
1771
1961
  # The tags of the detector resource.
1772
1962
  # @return [Hash<String,String>]
@@ -1779,7 +1969,9 @@ module Aws::GuardDuty
1779
1969
  :service_role,
1780
1970
  :status,
1781
1971
  :updated_at,
1972
+ :data_sources,
1782
1973
  :tags)
1974
+ SENSITIVE = []
1783
1975
  include Aws::Structure
1784
1976
  end
1785
1977
 
@@ -1804,6 +1996,7 @@ module Aws::GuardDuty
1804
1996
  class GetFilterRequest < Struct.new(
1805
1997
  :detector_id,
1806
1998
  :filter_name)
1999
+ SENSITIVE = []
1807
2000
  include Aws::Structure
1808
2001
  end
1809
2002
 
@@ -1844,6 +2037,7 @@ module Aws::GuardDuty
1844
2037
  :rank,
1845
2038
  :finding_criteria,
1846
2039
  :tags)
2040
+ SENSITIVE = []
1847
2041
  include Aws::Structure
1848
2042
  end
1849
2043
 
@@ -1878,6 +2072,7 @@ module Aws::GuardDuty
1878
2072
  :detector_id,
1879
2073
  :finding_ids,
1880
2074
  :sort_criteria)
2075
+ SENSITIVE = []
1881
2076
  include Aws::Structure
1882
2077
  end
1883
2078
 
@@ -1889,6 +2084,7 @@ module Aws::GuardDuty
1889
2084
  #
1890
2085
  class GetFindingsResponse < Struct.new(
1891
2086
  :findings)
2087
+ SENSITIVE = []
1892
2088
  include Aws::Structure
1893
2089
  end
1894
2090
 
@@ -1937,6 +2133,7 @@ module Aws::GuardDuty
1937
2133
  :detector_id,
1938
2134
  :finding_statistic_types,
1939
2135
  :finding_criteria)
2136
+ SENSITIVE = []
1940
2137
  include Aws::Structure
1941
2138
  end
1942
2139
 
@@ -1948,6 +2145,7 @@ module Aws::GuardDuty
1948
2145
  #
1949
2146
  class GetFindingsStatisticsResponse < Struct.new(
1950
2147
  :finding_statistics)
2148
+ SENSITIVE = []
1951
2149
  include Aws::Structure
1952
2150
  end
1953
2151
 
@@ -1972,6 +2170,7 @@ module Aws::GuardDuty
1972
2170
  class GetIPSetRequest < Struct.new(
1973
2171
  :detector_id,
1974
2172
  :ip_set_id)
2173
+ SENSITIVE = []
1975
2174
  include Aws::Structure
1976
2175
  end
1977
2176
 
@@ -2004,6 +2203,7 @@ module Aws::GuardDuty
2004
2203
  :location,
2005
2204
  :status,
2006
2205
  :tags)
2206
+ SENSITIVE = []
2007
2207
  include Aws::Structure
2008
2208
  end
2009
2209
 
@@ -2021,6 +2221,7 @@ module Aws::GuardDuty
2021
2221
  #
2022
2222
  class GetInvitationsCountResponse < Struct.new(
2023
2223
  :invitations_count)
2224
+ SENSITIVE = []
2024
2225
  include Aws::Structure
2025
2226
  end
2026
2227
 
@@ -2039,6 +2240,7 @@ module Aws::GuardDuty
2039
2240
  #
2040
2241
  class GetMasterAccountRequest < Struct.new(
2041
2242
  :detector_id)
2243
+ SENSITIVE = []
2042
2244
  include Aws::Structure
2043
2245
  end
2044
2246
 
@@ -2050,6 +2252,51 @@ module Aws::GuardDuty
2050
2252
  #
2051
2253
  class GetMasterAccountResponse < Struct.new(
2052
2254
  :master)
2255
+ SENSITIVE = []
2256
+ include Aws::Structure
2257
+ end
2258
+
2259
+ # @note When making an API call, you may pass GetMemberDetectorsRequest
2260
+ # data as a hash:
2261
+ #
2262
+ # {
2263
+ # detector_id: "DetectorId", # required
2264
+ # account_ids: ["AccountId"], # required
2265
+ # }
2266
+ #
2267
+ # @!attribute [rw] detector_id
2268
+ # The detector ID for the master account.
2269
+ # @return [String]
2270
+ #
2271
+ # @!attribute [rw] account_ids
2272
+ # The account ID of the member account.
2273
+ # @return [Array<String>]
2274
+ #
2275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectorsRequest AWS API Documentation
2276
+ #
2277
+ class GetMemberDetectorsRequest < Struct.new(
2278
+ :detector_id,
2279
+ :account_ids)
2280
+ SENSITIVE = []
2281
+ include Aws::Structure
2282
+ end
2283
+
2284
+ # @!attribute [rw] member_data_source_configurations
2285
+ # An object that describes which data sources are enabled for a member
2286
+ # account.
2287
+ # @return [Array<Types::MemberDataSourceConfiguration>]
2288
+ #
2289
+ # @!attribute [rw] unprocessed_accounts
2290
+ # A list of member account IDs that were unable to be processed along
2291
+ # with an explanation for why they were not processed.
2292
+ # @return [Array<Types::UnprocessedAccount>]
2293
+ #
2294
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectorsResponse AWS API Documentation
2295
+ #
2296
+ class GetMemberDetectorsResponse < Struct.new(
2297
+ :member_data_source_configurations,
2298
+ :unprocessed_accounts)
2299
+ SENSITIVE = []
2053
2300
  include Aws::Structure
2054
2301
  end
2055
2302
 
@@ -2076,6 +2323,7 @@ module Aws::GuardDuty
2076
2323
  class GetMembersRequest < Struct.new(
2077
2324
  :detector_id,
2078
2325
  :account_ids)
2326
+ SENSITIVE = []
2079
2327
  include Aws::Structure
2080
2328
  end
2081
2329
 
@@ -2093,6 +2341,7 @@ module Aws::GuardDuty
2093
2341
  class GetMembersResponse < Struct.new(
2094
2342
  :members,
2095
2343
  :unprocessed_accounts)
2344
+ SENSITIVE = []
2096
2345
  include Aws::Structure
2097
2346
  end
2098
2347
 
@@ -2118,6 +2367,7 @@ module Aws::GuardDuty
2118
2367
  class GetThreatIntelSetRequest < Struct.new(
2119
2368
  :detector_id,
2120
2369
  :threat_intel_set_id)
2370
+ SENSITIVE = []
2121
2371
  include Aws::Structure
2122
2372
  end
2123
2373
 
@@ -2152,6 +2402,85 @@ module Aws::GuardDuty
2152
2402
  :location,
2153
2403
  :status,
2154
2404
  :tags)
2405
+ SENSITIVE = []
2406
+ include Aws::Structure
2407
+ end
2408
+
2409
+ # @note When making an API call, you may pass GetUsageStatisticsRequest
2410
+ # data as a hash:
2411
+ #
2412
+ # {
2413
+ # detector_id: "DetectorId", # required
2414
+ # usage_statistic_type: "SUM_BY_ACCOUNT", # required, accepts SUM_BY_ACCOUNT, SUM_BY_DATA_SOURCE, SUM_BY_RESOURCE, TOP_RESOURCES
2415
+ # usage_criteria: { # required
2416
+ # account_ids: ["AccountId"],
2417
+ # data_sources: ["FLOW_LOGS"], # required, accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS
2418
+ # resources: ["String"],
2419
+ # },
2420
+ # unit: "String",
2421
+ # max_results: 1,
2422
+ # next_token: "String",
2423
+ # }
2424
+ #
2425
+ # @!attribute [rw] detector_id
2426
+ # The ID of the detector that specifies the GuardDuty service whose
2427
+ # usage statistics you want to retrieve.
2428
+ # @return [String]
2429
+ #
2430
+ # @!attribute [rw] usage_statistic_type
2431
+ # The type of usage statistics to retrieve.
2432
+ # @return [String]
2433
+ #
2434
+ # @!attribute [rw] usage_criteria
2435
+ # Represents the criteria used for querying usage.
2436
+ # @return [Types::UsageCriteria]
2437
+ #
2438
+ # @!attribute [rw] unit
2439
+ # The currency unit you would like to view your usage statistics in.
2440
+ # Current valid values are USD.
2441
+ # @return [String]
2442
+ #
2443
+ # @!attribute [rw] max_results
2444
+ # The maximum number of results to return in the response.
2445
+ # @return [Integer]
2446
+ #
2447
+ # @!attribute [rw] next_token
2448
+ # A token to use for paginating results that are returned in the
2449
+ # response. Set the value of this parameter to null for the first
2450
+ # request to a list action. For subsequent calls, use the NextToken
2451
+ # value returned from the previous request to continue listing results
2452
+ # after the first page.
2453
+ # @return [String]
2454
+ #
2455
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetUsageStatisticsRequest AWS API Documentation
2456
+ #
2457
+ class GetUsageStatisticsRequest < Struct.new(
2458
+ :detector_id,
2459
+ :usage_statistic_type,
2460
+ :usage_criteria,
2461
+ :unit,
2462
+ :max_results,
2463
+ :next_token)
2464
+ SENSITIVE = []
2465
+ include Aws::Structure
2466
+ end
2467
+
2468
+ # @!attribute [rw] usage_statistics
2469
+ # The usage statistics object. If a UsageStatisticType was provided,
2470
+ # the objects representing other types will be null.
2471
+ # @return [Types::UsageStatistics]
2472
+ #
2473
+ # @!attribute [rw] next_token
2474
+ # The pagination parameter to be used on the next list operation to
2475
+ # retrieve more items.
2476
+ # @return [String]
2477
+ #
2478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetUsageStatisticsResponse AWS API Documentation
2479
+ #
2480
+ class GetUsageStatisticsResponse < Struct.new(
2481
+ :usage_statistics,
2482
+ :next_token)
2483
+ SENSITIVE = []
2155
2484
  include Aws::Structure
2156
2485
  end
2157
2486
 
@@ -2170,6 +2499,7 @@ module Aws::GuardDuty
2170
2499
  class IamInstanceProfile < Struct.new(
2171
2500
  :arn,
2172
2501
  :id)
2502
+ SENSITIVE = []
2173
2503
  include Aws::Structure
2174
2504
  end
2175
2505
 
@@ -2244,6 +2574,7 @@ module Aws::GuardDuty
2244
2574
  :platform,
2245
2575
  :product_codes,
2246
2576
  :tags)
2577
+ SENSITIVE = []
2247
2578
  include Aws::Structure
2248
2579
  end
2249
2580
 
@@ -2262,6 +2593,7 @@ module Aws::GuardDuty
2262
2593
  class InternalServerErrorException < Struct.new(
2263
2594
  :message,
2264
2595
  :type)
2596
+ SENSITIVE = []
2265
2597
  include Aws::Structure
2266
2598
  end
2267
2599
 
@@ -2292,6 +2624,7 @@ module Aws::GuardDuty
2292
2624
  :invitation_id,
2293
2625
  :relationship_status,
2294
2626
  :invited_at)
2627
+ SENSITIVE = []
2295
2628
  include Aws::Structure
2296
2629
  end
2297
2630
 
@@ -2317,13 +2650,13 @@ module Aws::GuardDuty
2317
2650
  #
2318
2651
  # @!attribute [rw] disable_email_notification
2319
2652
  # A Boolean value that specifies whether you want to disable email
2320
- # notification to the accounts that you’re inviting to GuardDuty as
2653
+ # notification to the accounts that you are inviting to GuardDuty as
2321
2654
  # members.
2322
2655
  # @return [Boolean]
2323
2656
  #
2324
2657
  # @!attribute [rw] message
2325
2658
  # The invitation message that you want to send to the accounts that
2326
- # youre inviting to GuardDuty as members.
2659
+ # you're inviting to GuardDuty as members.
2327
2660
  # @return [String]
2328
2661
  #
2329
2662
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersRequest AWS API Documentation
@@ -2333,6 +2666,7 @@ module Aws::GuardDuty
2333
2666
  :account_ids,
2334
2667
  :disable_email_notification,
2335
2668
  :message)
2669
+ SENSITIVE = []
2336
2670
  include Aws::Structure
2337
2671
  end
2338
2672
 
@@ -2345,6 +2679,7 @@ module Aws::GuardDuty
2345
2679
  #
2346
2680
  class InviteMembersResponse < Struct.new(
2347
2681
  :unprocessed_accounts)
2682
+ SENSITIVE = []
2348
2683
  include Aws::Structure
2349
2684
  end
2350
2685
 
@@ -2375,6 +2710,7 @@ module Aws::GuardDuty
2375
2710
  class ListDetectorsRequest < Struct.new(
2376
2711
  :max_results,
2377
2712
  :next_token)
2713
+ SENSITIVE = []
2378
2714
  include Aws::Structure
2379
2715
  end
2380
2716
 
@@ -2392,6 +2728,7 @@ module Aws::GuardDuty
2392
2728
  class ListDetectorsResponse < Struct.new(
2393
2729
  :detector_ids,
2394
2730
  :next_token)
2731
+ SENSITIVE = []
2395
2732
  include Aws::Structure
2396
2733
  end
2397
2734
 
@@ -2428,6 +2765,7 @@ module Aws::GuardDuty
2428
2765
  :detector_id,
2429
2766
  :max_results,
2430
2767
  :next_token)
2768
+ SENSITIVE = []
2431
2769
  include Aws::Structure
2432
2770
  end
2433
2771
 
@@ -2445,6 +2783,7 @@ module Aws::GuardDuty
2445
2783
  class ListFiltersResponse < Struct.new(
2446
2784
  :filter_names,
2447
2785
  :next_token)
2786
+ SENSITIVE = []
2448
2787
  include Aws::Structure
2449
2788
  end
2450
2789
 
@@ -2620,6 +2959,7 @@ module Aws::GuardDuty
2620
2959
  :sort_criteria,
2621
2960
  :max_results,
2622
2961
  :next_token)
2962
+ SENSITIVE = []
2623
2963
  include Aws::Structure
2624
2964
  end
2625
2965
 
@@ -2637,6 +2977,7 @@ module Aws::GuardDuty
2637
2977
  class ListFindingsResponse < Struct.new(
2638
2978
  :finding_ids,
2639
2979
  :next_token)
2980
+ SENSITIVE = []
2640
2981
  include Aws::Structure
2641
2982
  end
2642
2983
 
@@ -2673,6 +3014,7 @@ module Aws::GuardDuty
2673
3014
  :detector_id,
2674
3015
  :max_results,
2675
3016
  :next_token)
3017
+ SENSITIVE = []
2676
3018
  include Aws::Structure
2677
3019
  end
2678
3020
 
@@ -2690,6 +3032,7 @@ module Aws::GuardDuty
2690
3032
  class ListIPSetsResponse < Struct.new(
2691
3033
  :ip_set_ids,
2692
3034
  :next_token)
3035
+ SENSITIVE = []
2693
3036
  include Aws::Structure
2694
3037
  end
2695
3038
 
@@ -2720,6 +3063,7 @@ module Aws::GuardDuty
2720
3063
  class ListInvitationsRequest < Struct.new(
2721
3064
  :max_results,
2722
3065
  :next_token)
3066
+ SENSITIVE = []
2723
3067
  include Aws::Structure
2724
3068
  end
2725
3069
 
@@ -2737,6 +3081,7 @@ module Aws::GuardDuty
2737
3081
  class ListInvitationsResponse < Struct.new(
2738
3082
  :invitations,
2739
3083
  :next_token)
3084
+ SENSITIVE = []
2740
3085
  include Aws::Structure
2741
3086
  end
2742
3087
 
@@ -2781,6 +3126,7 @@ module Aws::GuardDuty
2781
3126
  :max_results,
2782
3127
  :next_token,
2783
3128
  :only_associated)
3129
+ SENSITIVE = []
2784
3130
  include Aws::Structure
2785
3131
  end
2786
3132
 
@@ -2798,6 +3144,7 @@ module Aws::GuardDuty
2798
3144
  class ListMembersResponse < Struct.new(
2799
3145
  :members,
2800
3146
  :next_token)
3147
+ SENSITIVE = []
2801
3148
  include Aws::Structure
2802
3149
  end
2803
3150
 
@@ -2826,6 +3173,7 @@ module Aws::GuardDuty
2826
3173
  class ListOrganizationAdminAccountsRequest < Struct.new(
2827
3174
  :max_results,
2828
3175
  :next_token)
3176
+ SENSITIVE = []
2829
3177
  include Aws::Structure
2830
3178
  end
2831
3179
 
@@ -2844,6 +3192,7 @@ module Aws::GuardDuty
2844
3192
  class ListOrganizationAdminAccountsResponse < Struct.new(
2845
3193
  :admin_accounts,
2846
3194
  :next_token)
3195
+ SENSITIVE = []
2847
3196
  include Aws::Structure
2848
3197
  end
2849
3198
 
@@ -2878,6 +3227,7 @@ module Aws::GuardDuty
2878
3227
  :detector_id,
2879
3228
  :max_results,
2880
3229
  :next_token)
3230
+ SENSITIVE = []
2881
3231
  include Aws::Structure
2882
3232
  end
2883
3233
 
@@ -2899,6 +3249,7 @@ module Aws::GuardDuty
2899
3249
  class ListPublishingDestinationsResponse < Struct.new(
2900
3250
  :destinations,
2901
3251
  :next_token)
3252
+ SENSITIVE = []
2902
3253
  include Aws::Structure
2903
3254
  end
2904
3255
 
@@ -2917,6 +3268,7 @@ module Aws::GuardDuty
2917
3268
  #
2918
3269
  class ListTagsForResourceRequest < Struct.new(
2919
3270
  :resource_arn)
3271
+ SENSITIVE = []
2920
3272
  include Aws::Structure
2921
3273
  end
2922
3274
 
@@ -2928,6 +3280,7 @@ module Aws::GuardDuty
2928
3280
  #
2929
3281
  class ListTagsForResourceResponse < Struct.new(
2930
3282
  :tags)
3283
+ SENSITIVE = []
2931
3284
  include Aws::Structure
2932
3285
  end
2933
3286
 
@@ -2965,6 +3318,7 @@ module Aws::GuardDuty
2965
3318
  :detector_id,
2966
3319
  :max_results,
2967
3320
  :next_token)
3321
+ SENSITIVE = []
2968
3322
  include Aws::Structure
2969
3323
  end
2970
3324
 
@@ -2982,6 +3336,7 @@ module Aws::GuardDuty
2982
3336
  class ListThreatIntelSetsResponse < Struct.new(
2983
3337
  :threat_intel_set_ids,
2984
3338
  :next_token)
3339
+ SENSITIVE = []
2985
3340
  include Aws::Structure
2986
3341
  end
2987
3342
 
@@ -2995,6 +3350,7 @@ module Aws::GuardDuty
2995
3350
  #
2996
3351
  class LocalIpDetails < Struct.new(
2997
3352
  :ip_address_v4)
3353
+ SENSITIVE = []
2998
3354
  include Aws::Structure
2999
3355
  end
3000
3356
 
@@ -3013,6 +3369,7 @@ module Aws::GuardDuty
3013
3369
  class LocalPortDetails < Struct.new(
3014
3370
  :port,
3015
3371
  :port_name)
3372
+ SENSITIVE = []
3016
3373
  include Aws::Structure
3017
3374
  end
3018
3375
 
@@ -3042,6 +3399,7 @@ module Aws::GuardDuty
3042
3399
  :invitation_id,
3043
3400
  :relationship_status,
3044
3401
  :invited_at)
3402
+ SENSITIVE = []
3045
3403
  include Aws::Structure
3046
3404
  end
3047
3405
 
@@ -3085,6 +3443,27 @@ module Aws::GuardDuty
3085
3443
  :relationship_status,
3086
3444
  :invited_at,
3087
3445
  :updated_at)
3446
+ SENSITIVE = []
3447
+ include Aws::Structure
3448
+ end
3449
+
3450
+ # Contains information on which data sources are enabled for a member
3451
+ # account.
3452
+ #
3453
+ # @!attribute [rw] account_id
3454
+ # The account ID for the member account.
3455
+ # @return [String]
3456
+ #
3457
+ # @!attribute [rw] data_sources
3458
+ # Contains information on the status of data sources for the account.
3459
+ # @return [Types::DataSourceConfigurationsResult]
3460
+ #
3461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberDataSourceConfiguration AWS API Documentation
3462
+ #
3463
+ class MemberDataSourceConfiguration < Struct.new(
3464
+ :account_id,
3465
+ :data_sources)
3466
+ SENSITIVE = []
3088
3467
  include Aws::Structure
3089
3468
  end
3090
3469
 
@@ -3130,6 +3509,7 @@ module Aws::GuardDuty
3130
3509
  :local_ip_details,
3131
3510
  :remote_ip_details,
3132
3511
  :remote_port_details)
3512
+ SENSITIVE = []
3133
3513
  include Aws::Structure
3134
3514
  end
3135
3515
 
@@ -3189,6 +3569,7 @@ module Aws::GuardDuty
3189
3569
  :security_groups,
3190
3570
  :subnet_id,
3191
3571
  :vpc_id)
3572
+ SENSITIVE = []
3192
3573
  include Aws::Structure
3193
3574
  end
3194
3575
 
@@ -3219,6 +3600,87 @@ module Aws::GuardDuty
3219
3600
  :asn_org,
3220
3601
  :isp,
3221
3602
  :org)
3603
+ SENSITIVE = []
3604
+ include Aws::Structure
3605
+ end
3606
+
3607
+ # An object that contains information on which data sources will be
3608
+ # configured to be automatically enabled for new members within the
3609
+ # organization.
3610
+ #
3611
+ # @note When making an API call, you may pass OrganizationDataSourceConfigurations
3612
+ # data as a hash:
3613
+ #
3614
+ # {
3615
+ # s3_logs: {
3616
+ # auto_enable: false, # required
3617
+ # },
3618
+ # }
3619
+ #
3620
+ # @!attribute [rw] s3_logs
3621
+ # Describes whether S3 data event logs are enabled for new members of
3622
+ # the organization.
3623
+ # @return [Types::OrganizationS3LogsConfiguration]
3624
+ #
3625
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationDataSourceConfigurations AWS API Documentation
3626
+ #
3627
+ class OrganizationDataSourceConfigurations < Struct.new(
3628
+ :s3_logs)
3629
+ SENSITIVE = []
3630
+ include Aws::Structure
3631
+ end
3632
+
3633
+ # An object that contains information on which data sources are
3634
+ # automatically enabled for new members within the organization.
3635
+ #
3636
+ # @!attribute [rw] s3_logs
3637
+ # Describes whether S3 data event logs are enabled as a data source.
3638
+ # @return [Types::OrganizationS3LogsConfigurationResult]
3639
+ #
3640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationDataSourceConfigurationsResult AWS API Documentation
3641
+ #
3642
+ class OrganizationDataSourceConfigurationsResult < Struct.new(
3643
+ :s3_logs)
3644
+ SENSITIVE = []
3645
+ include Aws::Structure
3646
+ end
3647
+
3648
+ # Describes whether S3 data event logs will be automatically enabled for
3649
+ # new members of the organization.
3650
+ #
3651
+ # @note When making an API call, you may pass OrganizationS3LogsConfiguration
3652
+ # data as a hash:
3653
+ #
3654
+ # {
3655
+ # auto_enable: false, # required
3656
+ # }
3657
+ #
3658
+ # @!attribute [rw] auto_enable
3659
+ # A value that contains information on whether S3 data event logs will
3660
+ # be enabled automatically as a data source for the organization.
3661
+ # @return [Boolean]
3662
+ #
3663
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationS3LogsConfiguration AWS API Documentation
3664
+ #
3665
+ class OrganizationS3LogsConfiguration < Struct.new(
3666
+ :auto_enable)
3667
+ SENSITIVE = []
3668
+ include Aws::Structure
3669
+ end
3670
+
3671
+ # The current configuration of S3 data event logs as a data source for
3672
+ # the organization.
3673
+ #
3674
+ # @!attribute [rw] auto_enable
3675
+ # A value that describes whether S3 data event logs are automatically
3676
+ # enabled for new members of the organization.
3677
+ # @return [Boolean]
3678
+ #
3679
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationS3LogsConfigurationResult AWS API Documentation
3680
+ #
3681
+ class OrganizationS3LogsConfigurationResult < Struct.new(
3682
+ :auto_enable)
3683
+ SENSITIVE = []
3222
3684
  include Aws::Structure
3223
3685
  end
3224
3686
 
@@ -3238,6 +3700,7 @@ module Aws::GuardDuty
3238
3700
  #
3239
3701
  class Owner < Struct.new(
3240
3702
  :id)
3703
+ SENSITIVE = []
3241
3704
  include Aws::Structure
3242
3705
  end
3243
3706
 
@@ -3259,6 +3722,7 @@ module Aws::GuardDuty
3259
3722
  class PermissionConfiguration < Struct.new(
3260
3723
  :bucket_level_permissions,
3261
3724
  :account_level_permissions)
3725
+ SENSITIVE = []
3262
3726
  include Aws::Structure
3263
3727
  end
3264
3728
 
@@ -3279,6 +3743,7 @@ module Aws::GuardDuty
3279
3743
  class PortProbeAction < Struct.new(
3280
3744
  :blocked,
3281
3745
  :port_probe_details)
3746
+ SENSITIVE = []
3282
3747
  include Aws::Structure
3283
3748
  end
3284
3749
 
@@ -3302,6 +3767,7 @@ module Aws::GuardDuty
3302
3767
  :local_port_details,
3303
3768
  :local_ip_details,
3304
3769
  :remote_ip_details)
3770
+ SENSITIVE = []
3305
3771
  include Aws::Structure
3306
3772
  end
3307
3773
 
@@ -3320,6 +3786,7 @@ module Aws::GuardDuty
3320
3786
  class PrivateIpAddressDetails < Struct.new(
3321
3787
  :private_dns_name,
3322
3788
  :private_ip_address)
3789
+ SENSITIVE = []
3323
3790
  include Aws::Structure
3324
3791
  end
3325
3792
 
@@ -3338,6 +3805,7 @@ module Aws::GuardDuty
3338
3805
  class ProductCode < Struct.new(
3339
3806
  :code,
3340
3807
  :product_type)
3808
+ SENSITIVE = []
3341
3809
  include Aws::Structure
3342
3810
  end
3343
3811
 
@@ -3358,6 +3826,7 @@ module Aws::GuardDuty
3358
3826
  class PublicAccess < Struct.new(
3359
3827
  :permission_configuration,
3360
3828
  :effective_permission)
3829
+ SENSITIVE = []
3361
3830
  include Aws::Structure
3362
3831
  end
3363
3832
 
@@ -3391,6 +3860,7 @@ module Aws::GuardDuty
3391
3860
  :geo_location,
3392
3861
  :ip_address_v4,
3393
3862
  :organization)
3863
+ SENSITIVE = []
3394
3864
  include Aws::Structure
3395
3865
  end
3396
3866
 
@@ -3409,6 +3879,7 @@ module Aws::GuardDuty
3409
3879
  class RemotePortDetails < Struct.new(
3410
3880
  :port,
3411
3881
  :port_name)
3882
+ SENSITIVE = []
3412
3883
  include Aws::Structure
3413
3884
  end
3414
3885
 
@@ -3441,9 +3912,12 @@ module Aws::GuardDuty
3441
3912
  :s3_bucket_details,
3442
3913
  :instance_details,
3443
3914
  :resource_type)
3915
+ SENSITIVE = []
3444
3916
  include Aws::Structure
3445
3917
  end
3446
3918
 
3919
+ # Contains information on the S3 bucket.
3920
+ #
3447
3921
  # @!attribute [rw] arn
3448
3922
  # The Amazon Resource Name (ARN) of the S3 bucket.
3449
3923
  # @return [String]
@@ -3487,6 +3961,43 @@ module Aws::GuardDuty
3487
3961
  :tags,
3488
3962
  :default_server_side_encryption,
3489
3963
  :public_access)
3964
+ SENSITIVE = []
3965
+ include Aws::Structure
3966
+ end
3967
+
3968
+ # Describes whether S3 data event logs will be enabled as a data source.
3969
+ #
3970
+ # @note When making an API call, you may pass S3LogsConfiguration
3971
+ # data as a hash:
3972
+ #
3973
+ # {
3974
+ # enable: false, # required
3975
+ # }
3976
+ #
3977
+ # @!attribute [rw] enable
3978
+ # The status of S3 data event logs as a data source.
3979
+ # @return [Boolean]
3980
+ #
3981
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/S3LogsConfiguration AWS API Documentation
3982
+ #
3983
+ class S3LogsConfiguration < Struct.new(
3984
+ :enable)
3985
+ SENSITIVE = []
3986
+ include Aws::Structure
3987
+ end
3988
+
3989
+ # Describes whether S3 data event logs will be enabled as a data source.
3990
+ #
3991
+ # @!attribute [rw] status
3992
+ # A value that describes whether S3 data event logs are automatically
3993
+ # enabled for new members of the organization.
3994
+ # @return [String]
3995
+ #
3996
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/S3LogsConfigurationResult AWS API Documentation
3997
+ #
3998
+ class S3LogsConfigurationResult < Struct.new(
3999
+ :status)
4000
+ SENSITIVE = []
3490
4001
  include Aws::Structure
3491
4002
  end
3492
4003
 
@@ -3506,6 +4017,7 @@ module Aws::GuardDuty
3506
4017
  class SecurityGroup < Struct.new(
3507
4018
  :group_id,
3508
4019
  :group_name)
4020
+ SENSITIVE = []
3509
4021
  include Aws::Structure
3510
4022
  end
3511
4023
 
@@ -3566,6 +4078,7 @@ module Aws::GuardDuty
3566
4078
  :resource_role,
3567
4079
  :service_name,
3568
4080
  :user_feedback)
4081
+ SENSITIVE = []
3569
4082
  include Aws::Structure
3570
4083
  end
3571
4084
 
@@ -3593,6 +4106,7 @@ module Aws::GuardDuty
3593
4106
  class SortCriteria < Struct.new(
3594
4107
  :attribute_name,
3595
4108
  :order_by)
4109
+ SENSITIVE = []
3596
4110
  include Aws::Structure
3597
4111
  end
3598
4112
 
@@ -3619,6 +4133,7 @@ module Aws::GuardDuty
3619
4133
  class StartMonitoringMembersRequest < Struct.new(
3620
4134
  :detector_id,
3621
4135
  :account_ids)
4136
+ SENSITIVE = []
3622
4137
  include Aws::Structure
3623
4138
  end
3624
4139
 
@@ -3631,6 +4146,7 @@ module Aws::GuardDuty
3631
4146
  #
3632
4147
  class StartMonitoringMembersResponse < Struct.new(
3633
4148
  :unprocessed_accounts)
4149
+ SENSITIVE = []
3634
4150
  include Aws::Structure
3635
4151
  end
3636
4152
 
@@ -3656,6 +4172,7 @@ module Aws::GuardDuty
3656
4172
  class StopMonitoringMembersRequest < Struct.new(
3657
4173
  :detector_id,
3658
4174
  :account_ids)
4175
+ SENSITIVE = []
3659
4176
  include Aws::Structure
3660
4177
  end
3661
4178
 
@@ -3669,6 +4186,7 @@ module Aws::GuardDuty
3669
4186
  #
3670
4187
  class StopMonitoringMembersResponse < Struct.new(
3671
4188
  :unprocessed_accounts)
4189
+ SENSITIVE = []
3672
4190
  include Aws::Structure
3673
4191
  end
3674
4192
 
@@ -3687,6 +4205,7 @@ module Aws::GuardDuty
3687
4205
  class Tag < Struct.new(
3688
4206
  :key,
3689
4207
  :value)
4208
+ SENSITIVE = []
3690
4209
  include Aws::Structure
3691
4210
  end
3692
4211
 
@@ -3714,6 +4233,7 @@ module Aws::GuardDuty
3714
4233
  class TagResourceRequest < Struct.new(
3715
4234
  :resource_arn,
3716
4235
  :tags)
4236
+ SENSITIVE = []
3717
4237
  include Aws::Structure
3718
4238
  end
3719
4239
 
@@ -3738,6 +4258,27 @@ module Aws::GuardDuty
3738
4258
  class ThreatIntelligenceDetail < Struct.new(
3739
4259
  :threat_list_name,
3740
4260
  :threat_names)
4261
+ SENSITIVE = []
4262
+ include Aws::Structure
4263
+ end
4264
+
4265
+ # Contains the total usage with the corresponding currency unit for that
4266
+ # value.
4267
+ #
4268
+ # @!attribute [rw] amount
4269
+ # The total usage.
4270
+ # @return [String]
4271
+ #
4272
+ # @!attribute [rw] unit
4273
+ # The currency unit that the amount is given in.
4274
+ # @return [String]
4275
+ #
4276
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Total AWS API Documentation
4277
+ #
4278
+ class Total < Struct.new(
4279
+ :amount,
4280
+ :unit)
4281
+ SENSITIVE = []
3741
4282
  include Aws::Structure
3742
4283
  end
3743
4284
 
@@ -3762,6 +4303,7 @@ module Aws::GuardDuty
3762
4303
  class UnarchiveFindingsRequest < Struct.new(
3763
4304
  :detector_id,
3764
4305
  :finding_ids)
4306
+ SENSITIVE = []
3765
4307
  include Aws::Structure
3766
4308
  end
3767
4309
 
@@ -3784,6 +4326,7 @@ module Aws::GuardDuty
3784
4326
  class UnprocessedAccount < Struct.new(
3785
4327
  :account_id,
3786
4328
  :result)
4329
+ SENSITIVE = []
3787
4330
  include Aws::Structure
3788
4331
  end
3789
4332
 
@@ -3808,6 +4351,7 @@ module Aws::GuardDuty
3808
4351
  class UntagResourceRequest < Struct.new(
3809
4352
  :resource_arn,
3810
4353
  :tag_keys)
4354
+ SENSITIVE = []
3811
4355
  include Aws::Structure
3812
4356
  end
3813
4357
 
@@ -3822,6 +4366,11 @@ module Aws::GuardDuty
3822
4366
  # detector_id: "DetectorId", # required
3823
4367
  # enable: false,
3824
4368
  # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
4369
+ # data_sources: {
4370
+ # s3_logs: {
4371
+ # enable: false, # required
4372
+ # },
4373
+ # },
3825
4374
  # }
3826
4375
  #
3827
4376
  # @!attribute [rw] detector_id
@@ -3837,12 +4386,18 @@ module Aws::GuardDuty
3837
4386
  # such as to CloudWatch Events.
3838
4387
  # @return [String]
3839
4388
  #
4389
+ # @!attribute [rw] data_sources
4390
+ # An object that describes which data sources will be updated.
4391
+ # @return [Types::DataSourceConfigurations]
4392
+ #
3840
4393
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest AWS API Documentation
3841
4394
  #
3842
4395
  class UpdateDetectorRequest < Struct.new(
3843
4396
  :detector_id,
3844
4397
  :enable,
3845
- :finding_publishing_frequency)
4398
+ :finding_publishing_frequency,
4399
+ :data_sources)
4400
+ SENSITIVE = []
3846
4401
  include Aws::Structure
3847
4402
  end
3848
4403
 
@@ -3917,6 +4472,7 @@ module Aws::GuardDuty
3917
4472
  :action,
3918
4473
  :rank,
3919
4474
  :finding_criteria)
4475
+ SENSITIVE = []
3920
4476
  include Aws::Structure
3921
4477
  end
3922
4478
 
@@ -3928,6 +4484,7 @@ module Aws::GuardDuty
3928
4484
  #
3929
4485
  class UpdateFilterResponse < Struct.new(
3930
4486
  :name)
4487
+ SENSITIVE = []
3931
4488
  include Aws::Structure
3932
4489
  end
3933
4490
 
@@ -3966,6 +4523,7 @@ module Aws::GuardDuty
3966
4523
  :finding_ids,
3967
4524
  :feedback,
3968
4525
  :comments)
4526
+ SENSITIVE = []
3969
4527
  include Aws::Structure
3970
4528
  end
3971
4529
 
@@ -4015,6 +4573,7 @@ module Aws::GuardDuty
4015
4573
  :name,
4016
4574
  :location,
4017
4575
  :activate)
4576
+ SENSITIVE = []
4018
4577
  include Aws::Structure
4019
4578
  end
4020
4579
 
@@ -4022,12 +4581,65 @@ module Aws::GuardDuty
4022
4581
  #
4023
4582
  class UpdateIPSetResponse < Aws::EmptyStructure; end
4024
4583
 
4584
+ # @note When making an API call, you may pass UpdateMemberDetectorsRequest
4585
+ # data as a hash:
4586
+ #
4587
+ # {
4588
+ # detector_id: "DetectorId", # required
4589
+ # account_ids: ["AccountId"], # required
4590
+ # data_sources: {
4591
+ # s3_logs: {
4592
+ # enable: false, # required
4593
+ # },
4594
+ # },
4595
+ # }
4596
+ #
4597
+ # @!attribute [rw] detector_id
4598
+ # The detector ID of the master account.
4599
+ # @return [String]
4600
+ #
4601
+ # @!attribute [rw] account_ids
4602
+ # A list of member account IDs to be updated.
4603
+ # @return [Array<String>]
4604
+ #
4605
+ # @!attribute [rw] data_sources
4606
+ # An object describes which data sources will be updated.
4607
+ # @return [Types::DataSourceConfigurations]
4608
+ #
4609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectorsRequest AWS API Documentation
4610
+ #
4611
+ class UpdateMemberDetectorsRequest < Struct.new(
4612
+ :detector_id,
4613
+ :account_ids,
4614
+ :data_sources)
4615
+ SENSITIVE = []
4616
+ include Aws::Structure
4617
+ end
4618
+
4619
+ # @!attribute [rw] unprocessed_accounts
4620
+ # A list of member account IDs that were unable to be processed along
4621
+ # with an explanation for why they were not processed.
4622
+ # @return [Array<Types::UnprocessedAccount>]
4623
+ #
4624
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectorsResponse AWS API Documentation
4625
+ #
4626
+ class UpdateMemberDetectorsResponse < Struct.new(
4627
+ :unprocessed_accounts)
4628
+ SENSITIVE = []
4629
+ include Aws::Structure
4630
+ end
4631
+
4025
4632
  # @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
4026
4633
  # data as a hash:
4027
4634
  #
4028
4635
  # {
4029
4636
  # detector_id: "DetectorId", # required
4030
4637
  # auto_enable: false, # required
4638
+ # data_sources: {
4639
+ # s3_logs: {
4640
+ # auto_enable: false, # required
4641
+ # },
4642
+ # },
4031
4643
  # }
4032
4644
  #
4033
4645
  # @!attribute [rw] detector_id
@@ -4039,11 +4651,17 @@ module Aws::GuardDuty
4039
4651
  # organization.
4040
4652
  # @return [Boolean]
4041
4653
  #
4654
+ # @!attribute [rw] data_sources
4655
+ # An object describes which data sources will be updated.
4656
+ # @return [Types::OrganizationDataSourceConfigurations]
4657
+ #
4042
4658
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfigurationRequest AWS API Documentation
4043
4659
  #
4044
4660
  class UpdateOrganizationConfigurationRequest < Struct.new(
4045
4661
  :detector_id,
4046
- :auto_enable)
4662
+ :auto_enable,
4663
+ :data_sources)
4664
+ SENSITIVE = []
4047
4665
  include Aws::Structure
4048
4666
  end
4049
4667
 
@@ -4083,6 +4701,7 @@ module Aws::GuardDuty
4083
4701
  :detector_id,
4084
4702
  :destination_id,
4085
4703
  :destination_properties)
4704
+ SENSITIVE = []
4086
4705
  include Aws::Structure
4087
4706
  end
4088
4707
 
@@ -4134,6 +4753,7 @@ module Aws::GuardDuty
4134
4753
  :name,
4135
4754
  :location,
4136
4755
  :activate)
4756
+ SENSITIVE = []
4137
4757
  include Aws::Structure
4138
4758
  end
4139
4759
 
@@ -4141,5 +4761,128 @@ module Aws::GuardDuty
4141
4761
  #
4142
4762
  class UpdateThreatIntelSetResponse < Aws::EmptyStructure; end
4143
4763
 
4764
+ # Contains information on the total of usage based on account IDs.
4765
+ #
4766
+ # @!attribute [rw] account_id
4767
+ # The Account ID that generated usage.
4768
+ # @return [String]
4769
+ #
4770
+ # @!attribute [rw] total
4771
+ # Represents the total of usage for the Account ID.
4772
+ # @return [Types::Total]
4773
+ #
4774
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageAccountResult AWS API Documentation
4775
+ #
4776
+ class UsageAccountResult < Struct.new(
4777
+ :account_id,
4778
+ :total)
4779
+ SENSITIVE = []
4780
+ include Aws::Structure
4781
+ end
4782
+
4783
+ # Contains information about the criteria used to query usage
4784
+ # statistics.
4785
+ #
4786
+ # @note When making an API call, you may pass UsageCriteria
4787
+ # data as a hash:
4788
+ #
4789
+ # {
4790
+ # account_ids: ["AccountId"],
4791
+ # data_sources: ["FLOW_LOGS"], # required, accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS
4792
+ # resources: ["String"],
4793
+ # }
4794
+ #
4795
+ # @!attribute [rw] account_ids
4796
+ # The account IDs to aggregate usage statistics from.
4797
+ # @return [Array<String>]
4798
+ #
4799
+ # @!attribute [rw] data_sources
4800
+ # The data sources to aggregate usage statistics from.
4801
+ # @return [Array<String>]
4802
+ #
4803
+ # @!attribute [rw] resources
4804
+ # The resources to aggregate usage statistics from. Only accepts exact
4805
+ # resource names.
4806
+ # @return [Array<String>]
4807
+ #
4808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageCriteria AWS API Documentation
4809
+ #
4810
+ class UsageCriteria < Struct.new(
4811
+ :account_ids,
4812
+ :data_sources,
4813
+ :resources)
4814
+ SENSITIVE = []
4815
+ include Aws::Structure
4816
+ end
4817
+
4818
+ # Contains information on the result of usage based on data source type.
4819
+ #
4820
+ # @!attribute [rw] data_source
4821
+ # The data source type that generated usage.
4822
+ # @return [String]
4823
+ #
4824
+ # @!attribute [rw] total
4825
+ # Represents the total of usage for the specified data source.
4826
+ # @return [Types::Total]
4827
+ #
4828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageDataSourceResult AWS API Documentation
4829
+ #
4830
+ class UsageDataSourceResult < Struct.new(
4831
+ :data_source,
4832
+ :total)
4833
+ SENSITIVE = []
4834
+ include Aws::Structure
4835
+ end
4836
+
4837
+ # Contains information on the sum of usage based on an AWS resource.
4838
+ #
4839
+ # @!attribute [rw] resource
4840
+ # The AWS resource that generated usage.
4841
+ # @return [String]
4842
+ #
4843
+ # @!attribute [rw] total
4844
+ # Represents the sum total of usage for the specified resource type.
4845
+ # @return [Types::Total]
4846
+ #
4847
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageResourceResult AWS API Documentation
4848
+ #
4849
+ class UsageResourceResult < Struct.new(
4850
+ :resource,
4851
+ :total)
4852
+ SENSITIVE = []
4853
+ include Aws::Structure
4854
+ end
4855
+
4856
+ # Contains the result of GuardDuty usage. If a UsageStatisticType is
4857
+ # provided the result for other types will be null.
4858
+ #
4859
+ # @!attribute [rw] sum_by_account
4860
+ # The usage statistic sum organized by account ID.
4861
+ # @return [Array<Types::UsageAccountResult>]
4862
+ #
4863
+ # @!attribute [rw] sum_by_data_source
4864
+ # The usage statistic sum organized by on data source.
4865
+ # @return [Array<Types::UsageDataSourceResult>]
4866
+ #
4867
+ # @!attribute [rw] sum_by_resource
4868
+ # The usage statistic sum organized by resource.
4869
+ # @return [Array<Types::UsageResourceResult>]
4870
+ #
4871
+ # @!attribute [rw] top_resources
4872
+ # Lists the top 50 resources that have generated the most GuardDuty
4873
+ # usage, in order from most to least expensive.
4874
+ # @return [Array<Types::UsageResourceResult>]
4875
+ #
4876
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageStatistics AWS API Documentation
4877
+ #
4878
+ class UsageStatistics < Struct.new(
4879
+ :sum_by_account,
4880
+ :sum_by_data_source,
4881
+ :sum_by_resource,
4882
+ :top_resources)
4883
+ SENSITIVE = []
4884
+ include Aws::Structure
4885
+ end
4886
+
4144
4887
  end
4145
4888
  end