aws-sdk-guardduty 1.32.0 → 1.37.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
 
@@ -44,6 +47,28 @@ module Aws::GuardDuty
44
47
  #
45
48
  class AcceptInvitationResponse < Aws::EmptyStructure; end
46
49
 
50
+ # Contains information on the current access control policies for the
51
+ # bucket.
52
+ #
53
+ # @!attribute [rw] allows_public_read_access
54
+ # A value that indicates whether public read access for the bucket is
55
+ # enabled through an Access Control List (ACL).
56
+ # @return [Boolean]
57
+ #
58
+ # @!attribute [rw] allows_public_write_access
59
+ # A value that indicates whether public write access for the bucket is
60
+ # enabled through an Access Control List (ACL).
61
+ # @return [Boolean]
62
+ #
63
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccessControlList AWS API Documentation
64
+ #
65
+ class AccessControlList < Struct.new(
66
+ :allows_public_read_access,
67
+ :allows_public_write_access)
68
+ SENSITIVE = []
69
+ include Aws::Structure
70
+ end
71
+
47
72
  # Contains information about the access keys.
48
73
  #
49
74
  # @!attribute [rw] access_key_id
@@ -69,6 +94,7 @@ module Aws::GuardDuty
69
94
  :principal_id,
70
95
  :user_name,
71
96
  :user_type)
97
+ SENSITIVE = []
72
98
  include Aws::Structure
73
99
  end
74
100
 
@@ -95,6 +121,23 @@ module Aws::GuardDuty
95
121
  class AccountDetail < Struct.new(
96
122
  :account_id,
97
123
  :email)
124
+ SENSITIVE = []
125
+ include Aws::Structure
126
+ end
127
+
128
+ # Contains information about the account level permissions on the S3
129
+ # bucket.
130
+ #
131
+ # @!attribute [rw] block_public_access
132
+ # Describes the S3 Block Public Access settings of the bucket's
133
+ # parent account.
134
+ # @return [Types::BlockPublicAccess]
135
+ #
136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccountLevelPermissions AWS API Documentation
137
+ #
138
+ class AccountLevelPermissions < Struct.new(
139
+ :block_public_access)
140
+ SENSITIVE = []
98
141
  include Aws::Structure
99
142
  end
100
143
 
@@ -130,6 +173,7 @@ module Aws::GuardDuty
130
173
  :dns_request_action,
131
174
  :network_connection_action,
132
175
  :port_probe_action)
176
+ SENSITIVE = []
133
177
  include Aws::Structure
134
178
  end
135
179
 
@@ -150,6 +194,7 @@ module Aws::GuardDuty
150
194
  class AdminAccount < Struct.new(
151
195
  :admin_account_id,
152
196
  :admin_status)
197
+ SENSITIVE = []
153
198
  include Aws::Structure
154
199
  end
155
200
 
@@ -175,6 +220,7 @@ module Aws::GuardDuty
175
220
  class ArchiveFindingsRequest < Struct.new(
176
221
  :detector_id,
177
222
  :finding_ids)
223
+ SENSITIVE = []
178
224
  include Aws::Structure
179
225
  end
180
226
 
@@ -212,6 +258,7 @@ module Aws::GuardDuty
212
258
  :domain_details,
213
259
  :remote_ip_details,
214
260
  :service_name)
261
+ SENSITIVE = []
215
262
  include Aws::Structure
216
263
  end
217
264
 
@@ -230,6 +277,91 @@ module Aws::GuardDuty
230
277
  class BadRequestException < Struct.new(
231
278
  :message,
232
279
  :type)
280
+ SENSITIVE = []
281
+ include Aws::Structure
282
+ end
283
+
284
+ # Contains information on how the bucker owner's S3 Block Public Access
285
+ # settings are being applied to the S3 bucket. See [S3 Block Public
286
+ # Access][1] for more information.
287
+ #
288
+ #
289
+ #
290
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html
291
+ #
292
+ # @!attribute [rw] ignore_public_acls
293
+ # Indicates if S3 Block Public Access is set to `IgnorePublicAcls`.
294
+ # @return [Boolean]
295
+ #
296
+ # @!attribute [rw] restrict_public_buckets
297
+ # Indicates if S3 Block Public Access is set to
298
+ # `RestrictPublicBuckets`.
299
+ # @return [Boolean]
300
+ #
301
+ # @!attribute [rw] block_public_acls
302
+ # Indicates if S3 Block Public Access is set to `BlockPublicAcls`.
303
+ # @return [Boolean]
304
+ #
305
+ # @!attribute [rw] block_public_policy
306
+ # Indicates if S3 Block Public Access is set to `BlockPublicPolicy`.
307
+ # @return [Boolean]
308
+ #
309
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/BlockPublicAccess AWS API Documentation
310
+ #
311
+ class BlockPublicAccess < Struct.new(
312
+ :ignore_public_acls,
313
+ :restrict_public_buckets,
314
+ :block_public_acls,
315
+ :block_public_policy)
316
+ SENSITIVE = []
317
+ include Aws::Structure
318
+ end
319
+
320
+ # Contains information about the bucket level permissions for the S3
321
+ # bucket.
322
+ #
323
+ # @!attribute [rw] access_control_list
324
+ # Contains information on how Access Control Policies are applied to
325
+ # the bucket.
326
+ # @return [Types::AccessControlList]
327
+ #
328
+ # @!attribute [rw] bucket_policy
329
+ # Contains information on the bucket policies for the S3 bucket.
330
+ # @return [Types::BucketPolicy]
331
+ #
332
+ # @!attribute [rw] block_public_access
333
+ # Contains information on which account level S3 Block Public Access
334
+ # settings are applied to the S3 bucket.
335
+ # @return [Types::BlockPublicAccess]
336
+ #
337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/BucketLevelPermissions AWS API Documentation
338
+ #
339
+ class BucketLevelPermissions < Struct.new(
340
+ :access_control_list,
341
+ :bucket_policy,
342
+ :block_public_access)
343
+ SENSITIVE = []
344
+ include Aws::Structure
345
+ end
346
+
347
+ # Contains information on the current bucket policies for the S3 bucket.
348
+ #
349
+ # @!attribute [rw] allows_public_read_access
350
+ # A value that indicates whether public read access for the bucket is
351
+ # enabled through a bucket policy.
352
+ # @return [Boolean]
353
+ #
354
+ # @!attribute [rw] allows_public_write_access
355
+ # A value that indicates whether public write access for the bucket is
356
+ # enabled through a bucket policy.
357
+ # @return [Boolean]
358
+ #
359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/BucketPolicy AWS API Documentation
360
+ #
361
+ class BucketPolicy < Struct.new(
362
+ :allows_public_read_access,
363
+ :allows_public_write_access)
364
+ SENSITIVE = []
233
365
  include Aws::Structure
234
366
  end
235
367
 
@@ -243,6 +375,23 @@ module Aws::GuardDuty
243
375
  #
244
376
  class City < Struct.new(
245
377
  :city_name)
378
+ SENSITIVE = []
379
+ include Aws::Structure
380
+ end
381
+
382
+ # Contains information on the status of CloudTrail as a data source for
383
+ # the detector.
384
+ #
385
+ # @!attribute [rw] status
386
+ # Describes whether CloudTrail is enabled as a data source for the
387
+ # detector.
388
+ # @return [String]
389
+ #
390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CloudTrailConfigurationResult AWS API Documentation
391
+ #
392
+ class CloudTrailConfigurationResult < Struct.new(
393
+ :status)
394
+ SENSITIVE = []
246
395
  include Aws::Structure
247
396
  end
248
397
 
@@ -341,6 +490,7 @@ module Aws::GuardDuty
341
490
  :greater_than_or_equal,
342
491
  :less_than,
343
492
  :less_than_or_equal)
493
+ SENSITIVE = []
344
494
  include Aws::Structure
345
495
  end
346
496
 
@@ -360,6 +510,7 @@ module Aws::GuardDuty
360
510
  class Country < Struct.new(
361
511
  :country_code,
362
512
  :country_name)
513
+ SENSITIVE = []
363
514
  include Aws::Structure
364
515
  end
365
516
 
@@ -370,6 +521,11 @@ module Aws::GuardDuty
370
521
  # enable: false, # required
371
522
  # client_token: "ClientToken",
372
523
  # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
524
+ # data_sources: {
525
+ # s3_logs: {
526
+ # enable: false, # required
527
+ # },
528
+ # },
373
529
  # tags: {
374
530
  # "TagKey" => "TagValue",
375
531
  # },
@@ -392,6 +548,11 @@ module Aws::GuardDuty
392
548
  # exported.
393
549
  # @return [String]
394
550
  #
551
+ # @!attribute [rw] data_sources
552
+ # An object that describes which data sources will be enabled for the
553
+ # detector.
554
+ # @return [Types::DataSourceConfigurations]
555
+ #
395
556
  # @!attribute [rw] tags
396
557
  # The tags to be added to a new detector resource.
397
558
  # @return [Hash<String,String>]
@@ -402,7 +563,9 @@ module Aws::GuardDuty
402
563
  :enable,
403
564
  :client_token,
404
565
  :finding_publishing_frequency,
566
+ :data_sources,
405
567
  :tags)
568
+ SENSITIVE = []
406
569
  include Aws::Structure
407
570
  end
408
571
 
@@ -414,6 +577,7 @@ module Aws::GuardDuty
414
577
  #
415
578
  class CreateDetectorResponse < Struct.new(
416
579
  :detector_id)
580
+ SENSITIVE = []
417
581
  include Aws::Structure
418
582
  end
419
583
 
@@ -612,6 +776,7 @@ module Aws::GuardDuty
612
776
  :finding_criteria,
613
777
  :client_token,
614
778
  :tags)
779
+ SENSITIVE = []
615
780
  include Aws::Structure
616
781
  end
617
782
 
@@ -623,6 +788,7 @@ module Aws::GuardDuty
623
788
  #
624
789
  class CreateFilterResponse < Struct.new(
625
790
  :name)
791
+ SENSITIVE = []
626
792
  include Aws::Structure
627
793
  end
628
794
 
@@ -687,6 +853,7 @@ module Aws::GuardDuty
687
853
  :activate,
688
854
  :client_token,
689
855
  :tags)
856
+ SENSITIVE = []
690
857
  include Aws::Structure
691
858
  end
692
859
 
@@ -698,6 +865,7 @@ module Aws::GuardDuty
698
865
  #
699
866
  class CreateIPSetResponse < Struct.new(
700
867
  :ip_set_id)
868
+ SENSITIVE = []
701
869
  include Aws::Structure
702
870
  end
703
871
 
@@ -729,6 +897,7 @@ module Aws::GuardDuty
729
897
  class CreateMembersRequest < Struct.new(
730
898
  :detector_id,
731
899
  :account_details)
900
+ SENSITIVE = []
732
901
  include Aws::Structure
733
902
  end
734
903
 
@@ -741,6 +910,7 @@ module Aws::GuardDuty
741
910
  #
742
911
  class CreateMembersResponse < Struct.new(
743
912
  :unprocessed_accounts)
913
+ SENSITIVE = []
744
914
  include Aws::Structure
745
915
  end
746
916
 
@@ -786,6 +956,7 @@ module Aws::GuardDuty
786
956
  :destination_type,
787
957
  :destination_properties,
788
958
  :client_token)
959
+ SENSITIVE = []
789
960
  include Aws::Structure
790
961
  end
791
962
 
@@ -797,6 +968,7 @@ module Aws::GuardDuty
797
968
  #
798
969
  class CreatePublishingDestinationResponse < Struct.new(
799
970
  :destination_id)
971
+ SENSITIVE = []
800
972
  include Aws::Structure
801
973
  end
802
974
 
@@ -821,6 +993,7 @@ module Aws::GuardDuty
821
993
  class CreateSampleFindingsRequest < Struct.new(
822
994
  :detector_id,
823
995
  :finding_types)
996
+ SENSITIVE = []
824
997
  include Aws::Structure
825
998
  end
826
999
 
@@ -888,6 +1061,7 @@ module Aws::GuardDuty
888
1061
  :activate,
889
1062
  :client_token,
890
1063
  :tags)
1064
+ SENSITIVE = []
891
1065
  include Aws::Structure
892
1066
  end
893
1067
 
@@ -899,6 +1073,77 @@ module Aws::GuardDuty
899
1073
  #
900
1074
  class CreateThreatIntelSetResponse < Struct.new(
901
1075
  :threat_intel_set_id)
1076
+ SENSITIVE = []
1077
+ include Aws::Structure
1078
+ end
1079
+
1080
+ # Contains information on the status of DNS logs as a data source.
1081
+ #
1082
+ # @!attribute [rw] status
1083
+ # Denotes whether DNS logs is enabled as a data source.
1084
+ # @return [String]
1085
+ #
1086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DNSLogsConfigurationResult AWS API Documentation
1087
+ #
1088
+ class DNSLogsConfigurationResult < Struct.new(
1089
+ :status)
1090
+ SENSITIVE = []
1091
+ include Aws::Structure
1092
+ end
1093
+
1094
+ # Contains information about which data sources are enabled.
1095
+ #
1096
+ # @note When making an API call, you may pass DataSourceConfigurations
1097
+ # data as a hash:
1098
+ #
1099
+ # {
1100
+ # s3_logs: {
1101
+ # enable: false, # required
1102
+ # },
1103
+ # }
1104
+ #
1105
+ # @!attribute [rw] s3_logs
1106
+ # Describes whether S3 data event logs are enabled as a data source.
1107
+ # @return [Types::S3LogsConfiguration]
1108
+ #
1109
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DataSourceConfigurations AWS API Documentation
1110
+ #
1111
+ class DataSourceConfigurations < Struct.new(
1112
+ :s3_logs)
1113
+ SENSITIVE = []
1114
+ include Aws::Structure
1115
+ end
1116
+
1117
+ # Contains information on the status of data sources for the detector.
1118
+ #
1119
+ # @!attribute [rw] cloud_trail
1120
+ # An object that contains information on the status of CloudTrail as a
1121
+ # data source.
1122
+ # @return [Types::CloudTrailConfigurationResult]
1123
+ #
1124
+ # @!attribute [rw] dns_logs
1125
+ # An object that contains information on the status of DNS logs as a
1126
+ # data source.
1127
+ # @return [Types::DNSLogsConfigurationResult]
1128
+ #
1129
+ # @!attribute [rw] flow_logs
1130
+ # An object that contains information on the status of VPC flow logs
1131
+ # as a data source.
1132
+ # @return [Types::FlowLogsConfigurationResult]
1133
+ #
1134
+ # @!attribute [rw] s3_logs
1135
+ # An object that contains information on the status of S3 Data event
1136
+ # logs as a data source.
1137
+ # @return [Types::S3LogsConfigurationResult]
1138
+ #
1139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DataSourceConfigurationsResult AWS API Documentation
1140
+ #
1141
+ class DataSourceConfigurationsResult < Struct.new(
1142
+ :cloud_trail,
1143
+ :dns_logs,
1144
+ :flow_logs,
1145
+ :s3_logs)
1146
+ SENSITIVE = []
902
1147
  include Aws::Structure
903
1148
  end
904
1149
 
@@ -919,6 +1164,7 @@ module Aws::GuardDuty
919
1164
  #
920
1165
  class DeclineInvitationsRequest < Struct.new(
921
1166
  :account_ids)
1167
+ SENSITIVE = []
922
1168
  include Aws::Structure
923
1169
  end
924
1170
 
@@ -931,6 +1177,32 @@ module Aws::GuardDuty
931
1177
  #
932
1178
  class DeclineInvitationsResponse < Struct.new(
933
1179
  :unprocessed_accounts)
1180
+ SENSITIVE = []
1181
+ include Aws::Structure
1182
+ end
1183
+
1184
+ # Contains information on the server side encryption method used in the
1185
+ # S3 bucket. See [S3 Server-Side Encryption][1] for more information.
1186
+ #
1187
+ #
1188
+ #
1189
+ # [1]: https://docs.aws.amazon.com/AmazonS3/atest/dev/serv-side-encryption.html
1190
+ #
1191
+ # @!attribute [rw] encryption_type
1192
+ # The type of encryption used for objects within the S3 bucket.
1193
+ # @return [String]
1194
+ #
1195
+ # @!attribute [rw] kms_master_key_arn
1196
+ # The Amazon Resource Name (ARN) of the KMS encryption key. Only
1197
+ # available if the bucket `EncryptionType` is `aws:kms`.
1198
+ # @return [String]
1199
+ #
1200
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DefaultServerSideEncryption AWS API Documentation
1201
+ #
1202
+ class DefaultServerSideEncryption < Struct.new(
1203
+ :encryption_type,
1204
+ :kms_master_key_arn)
1205
+ SENSITIVE = []
934
1206
  include Aws::Structure
935
1207
  end
936
1208
 
@@ -949,6 +1221,7 @@ module Aws::GuardDuty
949
1221
  #
950
1222
  class DeleteDetectorRequest < Struct.new(
951
1223
  :detector_id)
1224
+ SENSITIVE = []
952
1225
  include Aws::Structure
953
1226
  end
954
1227
 
@@ -977,6 +1250,7 @@ module Aws::GuardDuty
977
1250
  class DeleteFilterRequest < Struct.new(
978
1251
  :detector_id,
979
1252
  :filter_name)
1253
+ SENSITIVE = []
980
1254
  include Aws::Structure
981
1255
  end
982
1256
 
@@ -1005,6 +1279,7 @@ module Aws::GuardDuty
1005
1279
  class DeleteIPSetRequest < Struct.new(
1006
1280
  :detector_id,
1007
1281
  :ip_set_id)
1282
+ SENSITIVE = []
1008
1283
  include Aws::Structure
1009
1284
  end
1010
1285
 
@@ -1028,6 +1303,7 @@ module Aws::GuardDuty
1028
1303
  #
1029
1304
  class DeleteInvitationsRequest < Struct.new(
1030
1305
  :account_ids)
1306
+ SENSITIVE = []
1031
1307
  include Aws::Structure
1032
1308
  end
1033
1309
 
@@ -1040,6 +1316,7 @@ module Aws::GuardDuty
1040
1316
  #
1041
1317
  class DeleteInvitationsResponse < Struct.new(
1042
1318
  :unprocessed_accounts)
1319
+ SENSITIVE = []
1043
1320
  include Aws::Structure
1044
1321
  end
1045
1322
 
@@ -1066,6 +1343,7 @@ module Aws::GuardDuty
1066
1343
  class DeleteMembersRequest < Struct.new(
1067
1344
  :detector_id,
1068
1345
  :account_ids)
1346
+ SENSITIVE = []
1069
1347
  include Aws::Structure
1070
1348
  end
1071
1349
 
@@ -1077,6 +1355,7 @@ module Aws::GuardDuty
1077
1355
  #
1078
1356
  class DeleteMembersResponse < Struct.new(
1079
1357
  :unprocessed_accounts)
1358
+ SENSITIVE = []
1080
1359
  include Aws::Structure
1081
1360
  end
1082
1361
 
@@ -1102,6 +1381,7 @@ module Aws::GuardDuty
1102
1381
  class DeletePublishingDestinationRequest < Struct.new(
1103
1382
  :detector_id,
1104
1383
  :destination_id)
1384
+ SENSITIVE = []
1105
1385
  include Aws::Structure
1106
1386
  end
1107
1387
 
@@ -1131,6 +1411,7 @@ module Aws::GuardDuty
1131
1411
  class DeleteThreatIntelSetRequest < Struct.new(
1132
1412
  :detector_id,
1133
1413
  :threat_intel_set_id)
1414
+ SENSITIVE = []
1134
1415
  include Aws::Structure
1135
1416
  end
1136
1417
 
@@ -1154,6 +1435,7 @@ module Aws::GuardDuty
1154
1435
  #
1155
1436
  class DescribeOrganizationConfigurationRequest < Struct.new(
1156
1437
  :detector_id)
1438
+ SENSITIVE = []
1157
1439
  include Aws::Structure
1158
1440
  end
1159
1441
 
@@ -1167,11 +1449,18 @@ module Aws::GuardDuty
1167
1449
  # already associated with the delegated administrator master account.
1168
1450
  # @return [Boolean]
1169
1451
  #
1452
+ # @!attribute [rw] data_sources
1453
+ # An object that describes which data sources are enabled
1454
+ # automatically for member accounts.
1455
+ # @return [Types::OrganizationDataSourceConfigurationsResult]
1456
+ #
1170
1457
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationResponse AWS API Documentation
1171
1458
  #
1172
1459
  class DescribeOrganizationConfigurationResponse < Struct.new(
1173
1460
  :auto_enable,
1174
- :member_account_limit_reached)
1461
+ :member_account_limit_reached,
1462
+ :data_sources)
1463
+ SENSITIVE = []
1175
1464
  include Aws::Structure
1176
1465
  end
1177
1466
 
@@ -1197,6 +1486,7 @@ module Aws::GuardDuty
1197
1486
  class DescribePublishingDestinationRequest < Struct.new(
1198
1487
  :detector_id,
1199
1488
  :destination_id)
1489
+ SENSITIVE = []
1200
1490
  include Aws::Structure
1201
1491
  end
1202
1492
 
@@ -1231,6 +1521,7 @@ module Aws::GuardDuty
1231
1521
  :status,
1232
1522
  :publishing_failure_start_timestamp,
1233
1523
  :destination_properties)
1524
+ SENSITIVE = []
1234
1525
  include Aws::Structure
1235
1526
  end
1236
1527
 
@@ -1256,6 +1547,7 @@ module Aws::GuardDuty
1256
1547
  :destination_id,
1257
1548
  :destination_type,
1258
1549
  :status)
1550
+ SENSITIVE = []
1259
1551
  include Aws::Structure
1260
1552
  end
1261
1553
 
@@ -1284,6 +1576,7 @@ module Aws::GuardDuty
1284
1576
  class DestinationProperties < Struct.new(
1285
1577
  :destination_arn,
1286
1578
  :kms_key_arn)
1579
+ SENSITIVE = []
1287
1580
  include Aws::Structure
1288
1581
  end
1289
1582
 
@@ -1303,6 +1596,7 @@ module Aws::GuardDuty
1303
1596
  #
1304
1597
  class DisableOrganizationAdminAccountRequest < Struct.new(
1305
1598
  :admin_account_id)
1599
+ SENSITIVE = []
1306
1600
  include Aws::Structure
1307
1601
  end
1308
1602
 
@@ -1325,6 +1619,7 @@ module Aws::GuardDuty
1325
1619
  #
1326
1620
  class DisassociateFromMasterAccountRequest < Struct.new(
1327
1621
  :detector_id)
1622
+ SENSITIVE = []
1328
1623
  include Aws::Structure
1329
1624
  end
1330
1625
 
@@ -1355,6 +1650,7 @@ module Aws::GuardDuty
1355
1650
  class DisassociateMembersRequest < Struct.new(
1356
1651
  :detector_id,
1357
1652
  :account_ids)
1653
+ SENSITIVE = []
1358
1654
  include Aws::Structure
1359
1655
  end
1360
1656
 
@@ -1367,6 +1663,7 @@ module Aws::GuardDuty
1367
1663
  #
1368
1664
  class DisassociateMembersResponse < Struct.new(
1369
1665
  :unprocessed_accounts)
1666
+ SENSITIVE = []
1370
1667
  include Aws::Structure
1371
1668
  end
1372
1669
 
@@ -1381,6 +1678,7 @@ module Aws::GuardDuty
1381
1678
  #
1382
1679
  class DnsRequestAction < Struct.new(
1383
1680
  :domain)
1681
+ SENSITIVE = []
1384
1682
  include Aws::Structure
1385
1683
  end
1386
1684
 
@@ -1394,6 +1692,7 @@ module Aws::GuardDuty
1394
1692
  #
1395
1693
  class DomainDetails < Struct.new(
1396
1694
  :domain)
1695
+ SENSITIVE = []
1397
1696
  include Aws::Structure
1398
1697
  end
1399
1698
 
@@ -1413,6 +1712,7 @@ module Aws::GuardDuty
1413
1712
  #
1414
1713
  class EnableOrganizationAdminAccountRequest < Struct.new(
1415
1714
  :admin_account_id)
1715
+ SENSITIVE = []
1416
1716
  include Aws::Structure
1417
1717
  end
1418
1718
 
@@ -1430,6 +1730,7 @@ module Aws::GuardDuty
1430
1730
  #
1431
1731
  class Evidence < Struct.new(
1432
1732
  :threat_intelligence_details)
1733
+ SENSITIVE = []
1433
1734
  include Aws::Structure
1434
1735
  end
1435
1736
 
@@ -1515,6 +1816,7 @@ module Aws::GuardDuty
1515
1816
  :title,
1516
1817
  :type,
1517
1818
  :updated_at)
1819
+ SENSITIVE = []
1518
1820
  include Aws::Structure
1519
1821
  end
1520
1822
 
@@ -1551,6 +1853,7 @@ module Aws::GuardDuty
1551
1853
  #
1552
1854
  class FindingCriteria < Struct.new(
1553
1855
  :criterion)
1856
+ SENSITIVE = []
1554
1857
  include Aws::Structure
1555
1858
  end
1556
1859
 
@@ -1565,6 +1868,21 @@ module Aws::GuardDuty
1565
1868
  #
1566
1869
  class FindingStatistics < Struct.new(
1567
1870
  :count_by_severity)
1871
+ SENSITIVE = []
1872
+ include Aws::Structure
1873
+ end
1874
+
1875
+ # Contains information on the status of VPC flow logs as a data source.
1876
+ #
1877
+ # @!attribute [rw] status
1878
+ # Denotes whether VPC flow logs is enabled as a data source.
1879
+ # @return [String]
1880
+ #
1881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FlowLogsConfigurationResult AWS API Documentation
1882
+ #
1883
+ class FlowLogsConfigurationResult < Struct.new(
1884
+ :status)
1885
+ SENSITIVE = []
1568
1886
  include Aws::Structure
1569
1887
  end
1570
1888
 
@@ -1583,6 +1901,7 @@ module Aws::GuardDuty
1583
1901
  class GeoLocation < Struct.new(
1584
1902
  :lat,
1585
1903
  :lon)
1904
+ SENSITIVE = []
1586
1905
  include Aws::Structure
1587
1906
  end
1588
1907
 
@@ -1601,6 +1920,7 @@ module Aws::GuardDuty
1601
1920
  #
1602
1921
  class GetDetectorRequest < Struct.new(
1603
1922
  :detector_id)
1923
+ SENSITIVE = []
1604
1924
  include Aws::Structure
1605
1925
  end
1606
1926
 
@@ -1624,6 +1944,11 @@ module Aws::GuardDuty
1624
1944
  # The last-updated timestamp for the detector.
1625
1945
  # @return [String]
1626
1946
  #
1947
+ # @!attribute [rw] data_sources
1948
+ # An object that describes which data sources are enabled for the
1949
+ # detector.
1950
+ # @return [Types::DataSourceConfigurationsResult]
1951
+ #
1627
1952
  # @!attribute [rw] tags
1628
1953
  # The tags of the detector resource.
1629
1954
  # @return [Hash<String,String>]
@@ -1636,7 +1961,9 @@ module Aws::GuardDuty
1636
1961
  :service_role,
1637
1962
  :status,
1638
1963
  :updated_at,
1964
+ :data_sources,
1639
1965
  :tags)
1966
+ SENSITIVE = []
1640
1967
  include Aws::Structure
1641
1968
  end
1642
1969
 
@@ -1661,6 +1988,7 @@ module Aws::GuardDuty
1661
1988
  class GetFilterRequest < Struct.new(
1662
1989
  :detector_id,
1663
1990
  :filter_name)
1991
+ SENSITIVE = []
1664
1992
  include Aws::Structure
1665
1993
  end
1666
1994
 
@@ -1701,6 +2029,7 @@ module Aws::GuardDuty
1701
2029
  :rank,
1702
2030
  :finding_criteria,
1703
2031
  :tags)
2032
+ SENSITIVE = []
1704
2033
  include Aws::Structure
1705
2034
  end
1706
2035
 
@@ -1735,6 +2064,7 @@ module Aws::GuardDuty
1735
2064
  :detector_id,
1736
2065
  :finding_ids,
1737
2066
  :sort_criteria)
2067
+ SENSITIVE = []
1738
2068
  include Aws::Structure
1739
2069
  end
1740
2070
 
@@ -1746,6 +2076,7 @@ module Aws::GuardDuty
1746
2076
  #
1747
2077
  class GetFindingsResponse < Struct.new(
1748
2078
  :findings)
2079
+ SENSITIVE = []
1749
2080
  include Aws::Structure
1750
2081
  end
1751
2082
 
@@ -1794,6 +2125,7 @@ module Aws::GuardDuty
1794
2125
  :detector_id,
1795
2126
  :finding_statistic_types,
1796
2127
  :finding_criteria)
2128
+ SENSITIVE = []
1797
2129
  include Aws::Structure
1798
2130
  end
1799
2131
 
@@ -1805,6 +2137,7 @@ module Aws::GuardDuty
1805
2137
  #
1806
2138
  class GetFindingsStatisticsResponse < Struct.new(
1807
2139
  :finding_statistics)
2140
+ SENSITIVE = []
1808
2141
  include Aws::Structure
1809
2142
  end
1810
2143
 
@@ -1829,6 +2162,7 @@ module Aws::GuardDuty
1829
2162
  class GetIPSetRequest < Struct.new(
1830
2163
  :detector_id,
1831
2164
  :ip_set_id)
2165
+ SENSITIVE = []
1832
2166
  include Aws::Structure
1833
2167
  end
1834
2168
 
@@ -1860,6 +2194,7 @@ module Aws::GuardDuty
1860
2194
  :location,
1861
2195
  :status,
1862
2196
  :tags)
2197
+ SENSITIVE = []
1863
2198
  include Aws::Structure
1864
2199
  end
1865
2200
 
@@ -1877,6 +2212,7 @@ module Aws::GuardDuty
1877
2212
  #
1878
2213
  class GetInvitationsCountResponse < Struct.new(
1879
2214
  :invitations_count)
2215
+ SENSITIVE = []
1880
2216
  include Aws::Structure
1881
2217
  end
1882
2218
 
@@ -1895,6 +2231,7 @@ module Aws::GuardDuty
1895
2231
  #
1896
2232
  class GetMasterAccountRequest < Struct.new(
1897
2233
  :detector_id)
2234
+ SENSITIVE = []
1898
2235
  include Aws::Structure
1899
2236
  end
1900
2237
 
@@ -1906,6 +2243,51 @@ module Aws::GuardDuty
1906
2243
  #
1907
2244
  class GetMasterAccountResponse < Struct.new(
1908
2245
  :master)
2246
+ SENSITIVE = []
2247
+ include Aws::Structure
2248
+ end
2249
+
2250
+ # @note When making an API call, you may pass GetMemberDetectorsRequest
2251
+ # data as a hash:
2252
+ #
2253
+ # {
2254
+ # detector_id: "DetectorId", # required
2255
+ # account_ids: ["AccountId"], # required
2256
+ # }
2257
+ #
2258
+ # @!attribute [rw] detector_id
2259
+ # The detector ID for the master account.
2260
+ # @return [String]
2261
+ #
2262
+ # @!attribute [rw] account_ids
2263
+ # The account ID of the member account.
2264
+ # @return [Array<String>]
2265
+ #
2266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectorsRequest AWS API Documentation
2267
+ #
2268
+ class GetMemberDetectorsRequest < Struct.new(
2269
+ :detector_id,
2270
+ :account_ids)
2271
+ SENSITIVE = []
2272
+ include Aws::Structure
2273
+ end
2274
+
2275
+ # @!attribute [rw] member_data_source_configurations
2276
+ # An object that describes which data sources are enabled for a member
2277
+ # account.
2278
+ # @return [Array<Types::MemberDataSourceConfiguration>]
2279
+ #
2280
+ # @!attribute [rw] unprocessed_accounts
2281
+ # A list of member account IDs that were unable to be processed along
2282
+ # with an explanation for why they were not processed.
2283
+ # @return [Array<Types::UnprocessedAccount>]
2284
+ #
2285
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectorsResponse AWS API Documentation
2286
+ #
2287
+ class GetMemberDetectorsResponse < Struct.new(
2288
+ :member_data_source_configurations,
2289
+ :unprocessed_accounts)
2290
+ SENSITIVE = []
1909
2291
  include Aws::Structure
1910
2292
  end
1911
2293
 
@@ -1932,6 +2314,7 @@ module Aws::GuardDuty
1932
2314
  class GetMembersRequest < Struct.new(
1933
2315
  :detector_id,
1934
2316
  :account_ids)
2317
+ SENSITIVE = []
1935
2318
  include Aws::Structure
1936
2319
  end
1937
2320
 
@@ -1949,6 +2332,7 @@ module Aws::GuardDuty
1949
2332
  class GetMembersResponse < Struct.new(
1950
2333
  :members,
1951
2334
  :unprocessed_accounts)
2335
+ SENSITIVE = []
1952
2336
  include Aws::Structure
1953
2337
  end
1954
2338
 
@@ -1974,6 +2358,7 @@ module Aws::GuardDuty
1974
2358
  class GetThreatIntelSetRequest < Struct.new(
1975
2359
  :detector_id,
1976
2360
  :threat_intel_set_id)
2361
+ SENSITIVE = []
1977
2362
  include Aws::Structure
1978
2363
  end
1979
2364
 
@@ -2007,6 +2392,7 @@ module Aws::GuardDuty
2007
2392
  :location,
2008
2393
  :status,
2009
2394
  :tags)
2395
+ SENSITIVE = []
2010
2396
  include Aws::Structure
2011
2397
  end
2012
2398
 
@@ -2025,6 +2411,7 @@ module Aws::GuardDuty
2025
2411
  class IamInstanceProfile < Struct.new(
2026
2412
  :arn,
2027
2413
  :id)
2414
+ SENSITIVE = []
2028
2415
  include Aws::Structure
2029
2416
  end
2030
2417
 
@@ -2099,6 +2486,7 @@ module Aws::GuardDuty
2099
2486
  :platform,
2100
2487
  :product_codes,
2101
2488
  :tags)
2489
+ SENSITIVE = []
2102
2490
  include Aws::Structure
2103
2491
  end
2104
2492
 
@@ -2117,6 +2505,7 @@ module Aws::GuardDuty
2117
2505
  class InternalServerErrorException < Struct.new(
2118
2506
  :message,
2119
2507
  :type)
2508
+ SENSITIVE = []
2120
2509
  include Aws::Structure
2121
2510
  end
2122
2511
 
@@ -2147,6 +2536,7 @@ module Aws::GuardDuty
2147
2536
  :invitation_id,
2148
2537
  :relationship_status,
2149
2538
  :invited_at)
2539
+ SENSITIVE = []
2150
2540
  include Aws::Structure
2151
2541
  end
2152
2542
 
@@ -2188,6 +2578,7 @@ module Aws::GuardDuty
2188
2578
  :account_ids,
2189
2579
  :disable_email_notification,
2190
2580
  :message)
2581
+ SENSITIVE = []
2191
2582
  include Aws::Structure
2192
2583
  end
2193
2584
 
@@ -2200,6 +2591,7 @@ module Aws::GuardDuty
2200
2591
  #
2201
2592
  class InviteMembersResponse < Struct.new(
2202
2593
  :unprocessed_accounts)
2594
+ SENSITIVE = []
2203
2595
  include Aws::Structure
2204
2596
  end
2205
2597
 
@@ -2230,6 +2622,7 @@ module Aws::GuardDuty
2230
2622
  class ListDetectorsRequest < Struct.new(
2231
2623
  :max_results,
2232
2624
  :next_token)
2625
+ SENSITIVE = []
2233
2626
  include Aws::Structure
2234
2627
  end
2235
2628
 
@@ -2247,6 +2640,7 @@ module Aws::GuardDuty
2247
2640
  class ListDetectorsResponse < Struct.new(
2248
2641
  :detector_ids,
2249
2642
  :next_token)
2643
+ SENSITIVE = []
2250
2644
  include Aws::Structure
2251
2645
  end
2252
2646
 
@@ -2283,6 +2677,7 @@ module Aws::GuardDuty
2283
2677
  :detector_id,
2284
2678
  :max_results,
2285
2679
  :next_token)
2680
+ SENSITIVE = []
2286
2681
  include Aws::Structure
2287
2682
  end
2288
2683
 
@@ -2300,6 +2695,7 @@ module Aws::GuardDuty
2300
2695
  class ListFiltersResponse < Struct.new(
2301
2696
  :filter_names,
2302
2697
  :next_token)
2698
+ SENSITIVE = []
2303
2699
  include Aws::Structure
2304
2700
  end
2305
2701
 
@@ -2479,6 +2875,7 @@ module Aws::GuardDuty
2479
2875
  :sort_criteria,
2480
2876
  :max_results,
2481
2877
  :next_token)
2878
+ SENSITIVE = []
2482
2879
  include Aws::Structure
2483
2880
  end
2484
2881
 
@@ -2496,6 +2893,7 @@ module Aws::GuardDuty
2496
2893
  class ListFindingsResponse < Struct.new(
2497
2894
  :finding_ids,
2498
2895
  :next_token)
2896
+ SENSITIVE = []
2499
2897
  include Aws::Structure
2500
2898
  end
2501
2899
 
@@ -2532,6 +2930,7 @@ module Aws::GuardDuty
2532
2930
  :detector_id,
2533
2931
  :max_results,
2534
2932
  :next_token)
2933
+ SENSITIVE = []
2535
2934
  include Aws::Structure
2536
2935
  end
2537
2936
 
@@ -2549,6 +2948,7 @@ module Aws::GuardDuty
2549
2948
  class ListIPSetsResponse < Struct.new(
2550
2949
  :ip_set_ids,
2551
2950
  :next_token)
2951
+ SENSITIVE = []
2552
2952
  include Aws::Structure
2553
2953
  end
2554
2954
 
@@ -2579,6 +2979,7 @@ module Aws::GuardDuty
2579
2979
  class ListInvitationsRequest < Struct.new(
2580
2980
  :max_results,
2581
2981
  :next_token)
2982
+ SENSITIVE = []
2582
2983
  include Aws::Structure
2583
2984
  end
2584
2985
 
@@ -2596,6 +2997,7 @@ module Aws::GuardDuty
2596
2997
  class ListInvitationsResponse < Struct.new(
2597
2998
  :invitations,
2598
2999
  :next_token)
3000
+ SENSITIVE = []
2599
3001
  include Aws::Structure
2600
3002
  end
2601
3003
 
@@ -2642,6 +3044,7 @@ module Aws::GuardDuty
2642
3044
  :max_results,
2643
3045
  :next_token,
2644
3046
  :only_associated)
3047
+ SENSITIVE = []
2645
3048
  include Aws::Structure
2646
3049
  end
2647
3050
 
@@ -2659,6 +3062,7 @@ module Aws::GuardDuty
2659
3062
  class ListMembersResponse < Struct.new(
2660
3063
  :members,
2661
3064
  :next_token)
3065
+ SENSITIVE = []
2662
3066
  include Aws::Structure
2663
3067
  end
2664
3068
 
@@ -2687,6 +3091,7 @@ module Aws::GuardDuty
2687
3091
  class ListOrganizationAdminAccountsRequest < Struct.new(
2688
3092
  :max_results,
2689
3093
  :next_token)
3094
+ SENSITIVE = []
2690
3095
  include Aws::Structure
2691
3096
  end
2692
3097
 
@@ -2705,6 +3110,7 @@ module Aws::GuardDuty
2705
3110
  class ListOrganizationAdminAccountsResponse < Struct.new(
2706
3111
  :admin_accounts,
2707
3112
  :next_token)
3113
+ SENSITIVE = []
2708
3114
  include Aws::Structure
2709
3115
  end
2710
3116
 
@@ -2739,6 +3145,7 @@ module Aws::GuardDuty
2739
3145
  :detector_id,
2740
3146
  :max_results,
2741
3147
  :next_token)
3148
+ SENSITIVE = []
2742
3149
  include Aws::Structure
2743
3150
  end
2744
3151
 
@@ -2760,6 +3167,7 @@ module Aws::GuardDuty
2760
3167
  class ListPublishingDestinationsResponse < Struct.new(
2761
3168
  :destinations,
2762
3169
  :next_token)
3170
+ SENSITIVE = []
2763
3171
  include Aws::Structure
2764
3172
  end
2765
3173
 
@@ -2778,6 +3186,7 @@ module Aws::GuardDuty
2778
3186
  #
2779
3187
  class ListTagsForResourceRequest < Struct.new(
2780
3188
  :resource_arn)
3189
+ SENSITIVE = []
2781
3190
  include Aws::Structure
2782
3191
  end
2783
3192
 
@@ -2789,6 +3198,7 @@ module Aws::GuardDuty
2789
3198
  #
2790
3199
  class ListTagsForResourceResponse < Struct.new(
2791
3200
  :tags)
3201
+ SENSITIVE = []
2792
3202
  include Aws::Structure
2793
3203
  end
2794
3204
 
@@ -2826,6 +3236,7 @@ module Aws::GuardDuty
2826
3236
  :detector_id,
2827
3237
  :max_results,
2828
3238
  :next_token)
3239
+ SENSITIVE = []
2829
3240
  include Aws::Structure
2830
3241
  end
2831
3242
 
@@ -2843,6 +3254,7 @@ module Aws::GuardDuty
2843
3254
  class ListThreatIntelSetsResponse < Struct.new(
2844
3255
  :threat_intel_set_ids,
2845
3256
  :next_token)
3257
+ SENSITIVE = []
2846
3258
  include Aws::Structure
2847
3259
  end
2848
3260
 
@@ -2856,6 +3268,7 @@ module Aws::GuardDuty
2856
3268
  #
2857
3269
  class LocalIpDetails < Struct.new(
2858
3270
  :ip_address_v4)
3271
+ SENSITIVE = []
2859
3272
  include Aws::Structure
2860
3273
  end
2861
3274
 
@@ -2874,6 +3287,7 @@ module Aws::GuardDuty
2874
3287
  class LocalPortDetails < Struct.new(
2875
3288
  :port,
2876
3289
  :port_name)
3290
+ SENSITIVE = []
2877
3291
  include Aws::Structure
2878
3292
  end
2879
3293
 
@@ -2903,6 +3317,7 @@ module Aws::GuardDuty
2903
3317
  :invitation_id,
2904
3318
  :relationship_status,
2905
3319
  :invited_at)
3320
+ SENSITIVE = []
2906
3321
  include Aws::Structure
2907
3322
  end
2908
3323
 
@@ -2946,6 +3361,27 @@ module Aws::GuardDuty
2946
3361
  :relationship_status,
2947
3362
  :invited_at,
2948
3363
  :updated_at)
3364
+ SENSITIVE = []
3365
+ include Aws::Structure
3366
+ end
3367
+
3368
+ # Contains information on which data sources are enabled for a member
3369
+ # account.
3370
+ #
3371
+ # @!attribute [rw] account_id
3372
+ # The account ID for the member account.
3373
+ # @return [String]
3374
+ #
3375
+ # @!attribute [rw] data_sources
3376
+ # Contains information on the status of data sources for the account.
3377
+ # @return [Types::DataSourceConfigurationsResult]
3378
+ #
3379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberDataSourceConfiguration AWS API Documentation
3380
+ #
3381
+ class MemberDataSourceConfiguration < Struct.new(
3382
+ :account_id,
3383
+ :data_sources)
3384
+ SENSITIVE = []
2949
3385
  include Aws::Structure
2950
3386
  end
2951
3387
 
@@ -2991,6 +3427,7 @@ module Aws::GuardDuty
2991
3427
  :local_ip_details,
2992
3428
  :remote_ip_details,
2993
3429
  :remote_port_details)
3430
+ SENSITIVE = []
2994
3431
  include Aws::Structure
2995
3432
  end
2996
3433
 
@@ -3050,6 +3487,7 @@ module Aws::GuardDuty
3050
3487
  :security_groups,
3051
3488
  :subnet_id,
3052
3489
  :vpc_id)
3490
+ SENSITIVE = []
3053
3491
  include Aws::Structure
3054
3492
  end
3055
3493
 
@@ -3080,6 +3518,129 @@ module Aws::GuardDuty
3080
3518
  :asn_org,
3081
3519
  :isp,
3082
3520
  :org)
3521
+ SENSITIVE = []
3522
+ include Aws::Structure
3523
+ end
3524
+
3525
+ # An object that contains information on which data sources will be
3526
+ # configured to be automatically enabled for new members within the
3527
+ # organization.
3528
+ #
3529
+ # @note When making an API call, you may pass OrganizationDataSourceConfigurations
3530
+ # data as a hash:
3531
+ #
3532
+ # {
3533
+ # s3_logs: {
3534
+ # auto_enable: false, # required
3535
+ # },
3536
+ # }
3537
+ #
3538
+ # @!attribute [rw] s3_logs
3539
+ # Describes whether S3 data event logs are enabled for new members of
3540
+ # the organization.
3541
+ # @return [Types::OrganizationS3LogsConfiguration]
3542
+ #
3543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationDataSourceConfigurations AWS API Documentation
3544
+ #
3545
+ class OrganizationDataSourceConfigurations < Struct.new(
3546
+ :s3_logs)
3547
+ SENSITIVE = []
3548
+ include Aws::Structure
3549
+ end
3550
+
3551
+ # An object that contains information on which data sources are
3552
+ # automatically enabled for new members within the organization.
3553
+ #
3554
+ # @!attribute [rw] s3_logs
3555
+ # Describes whether S3 data event logs are enabled as a data source.
3556
+ # @return [Types::OrganizationS3LogsConfigurationResult]
3557
+ #
3558
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationDataSourceConfigurationsResult AWS API Documentation
3559
+ #
3560
+ class OrganizationDataSourceConfigurationsResult < Struct.new(
3561
+ :s3_logs)
3562
+ SENSITIVE = []
3563
+ include Aws::Structure
3564
+ end
3565
+
3566
+ # Describes whether S3 data event logs will be automatically enabled for
3567
+ # new members of the organization.
3568
+ #
3569
+ # @note When making an API call, you may pass OrganizationS3LogsConfiguration
3570
+ # data as a hash:
3571
+ #
3572
+ # {
3573
+ # auto_enable: false, # required
3574
+ # }
3575
+ #
3576
+ # @!attribute [rw] auto_enable
3577
+ # A value that contains information on whether S3 data event logs will
3578
+ # be enabled automatically as a data source for the organization.
3579
+ # @return [Boolean]
3580
+ #
3581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationS3LogsConfiguration AWS API Documentation
3582
+ #
3583
+ class OrganizationS3LogsConfiguration < Struct.new(
3584
+ :auto_enable)
3585
+ SENSITIVE = []
3586
+ include Aws::Structure
3587
+ end
3588
+
3589
+ # The current configuration of S3 data event logs as a data source for
3590
+ # the organization.
3591
+ #
3592
+ # @!attribute [rw] auto_enable
3593
+ # A value that describes whether S3 data event logs are automatically
3594
+ # enabled for new members of the organization.
3595
+ # @return [Boolean]
3596
+ #
3597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationS3LogsConfigurationResult AWS API Documentation
3598
+ #
3599
+ class OrganizationS3LogsConfigurationResult < Struct.new(
3600
+ :auto_enable)
3601
+ SENSITIVE = []
3602
+ include Aws::Structure
3603
+ end
3604
+
3605
+ # Contains information on the owner of the bucket.
3606
+ #
3607
+ # @!attribute [rw] id
3608
+ # The canonical user ID of the bucket owner. For information about
3609
+ # locating your canonical user ID see [Finding Your Account Canonical
3610
+ # User ID.][1]
3611
+ #
3612
+ #
3613
+ #
3614
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html#FindingCanonicalId
3615
+ # @return [String]
3616
+ #
3617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Owner AWS API Documentation
3618
+ #
3619
+ class Owner < Struct.new(
3620
+ :id)
3621
+ SENSITIVE = []
3622
+ include Aws::Structure
3623
+ end
3624
+
3625
+ # Contains information about how permissions are configured for the S3
3626
+ # bucket.
3627
+ #
3628
+ # @!attribute [rw] bucket_level_permissions
3629
+ # Contains information about the bucket level permissions for the S3
3630
+ # bucket.
3631
+ # @return [Types::BucketLevelPermissions]
3632
+ #
3633
+ # @!attribute [rw] account_level_permissions
3634
+ # Contains information about the account level permissions on the S3
3635
+ # bucket.
3636
+ # @return [Types::AccountLevelPermissions]
3637
+ #
3638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PermissionConfiguration AWS API Documentation
3639
+ #
3640
+ class PermissionConfiguration < Struct.new(
3641
+ :bucket_level_permissions,
3642
+ :account_level_permissions)
3643
+ SENSITIVE = []
3083
3644
  include Aws::Structure
3084
3645
  end
3085
3646
 
@@ -3100,6 +3661,7 @@ module Aws::GuardDuty
3100
3661
  class PortProbeAction < Struct.new(
3101
3662
  :blocked,
3102
3663
  :port_probe_details)
3664
+ SENSITIVE = []
3103
3665
  include Aws::Structure
3104
3666
  end
3105
3667
 
@@ -3123,6 +3685,7 @@ module Aws::GuardDuty
3123
3685
  :local_port_details,
3124
3686
  :local_ip_details,
3125
3687
  :remote_ip_details)
3688
+ SENSITIVE = []
3126
3689
  include Aws::Structure
3127
3690
  end
3128
3691
 
@@ -3141,6 +3704,7 @@ module Aws::GuardDuty
3141
3704
  class PrivateIpAddressDetails < Struct.new(
3142
3705
  :private_dns_name,
3143
3706
  :private_ip_address)
3707
+ SENSITIVE = []
3144
3708
  include Aws::Structure
3145
3709
  end
3146
3710
 
@@ -3159,6 +3723,28 @@ module Aws::GuardDuty
3159
3723
  class ProductCode < Struct.new(
3160
3724
  :code,
3161
3725
  :product_type)
3726
+ SENSITIVE = []
3727
+ include Aws::Structure
3728
+ end
3729
+
3730
+ # Describes the public access policies that apply to the S3 bucket.
3731
+ #
3732
+ # @!attribute [rw] permission_configuration
3733
+ # Contains information about how permissions are configured for the S3
3734
+ # bucket.
3735
+ # @return [Types::PermissionConfiguration]
3736
+ #
3737
+ # @!attribute [rw] effective_permission
3738
+ # Describes the effective permission on this bucket after factoring
3739
+ # all attached policies.
3740
+ # @return [String]
3741
+ #
3742
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PublicAccess AWS API Documentation
3743
+ #
3744
+ class PublicAccess < Struct.new(
3745
+ :permission_configuration,
3746
+ :effective_permission)
3747
+ SENSITIVE = []
3162
3748
  include Aws::Structure
3163
3749
  end
3164
3750
 
@@ -3192,6 +3778,7 @@ module Aws::GuardDuty
3192
3778
  :geo_location,
3193
3779
  :ip_address_v4,
3194
3780
  :organization)
3781
+ SENSITIVE = []
3195
3782
  include Aws::Structure
3196
3783
  end
3197
3784
 
@@ -3210,6 +3797,7 @@ module Aws::GuardDuty
3210
3797
  class RemotePortDetails < Struct.new(
3211
3798
  :port,
3212
3799
  :port_name)
3800
+ SENSITIVE = []
3213
3801
  include Aws::Structure
3214
3802
  end
3215
3803
 
@@ -3222,6 +3810,10 @@ module Aws::GuardDuty
3222
3810
  # finding.
3223
3811
  # @return [Types::AccessKeyDetails]
3224
3812
  #
3813
+ # @!attribute [rw] s3_bucket_details
3814
+ # Contains information on the S3 bucket.
3815
+ # @return [Array<Types::S3BucketDetail>]
3816
+ #
3225
3817
  # @!attribute [rw] instance_details
3226
3818
  # The information about the EC2 instance associated with the activity
3227
3819
  # that prompted GuardDuty to generate a finding.
@@ -3235,8 +3827,95 @@ module Aws::GuardDuty
3235
3827
  #
3236
3828
  class Resource < Struct.new(
3237
3829
  :access_key_details,
3830
+ :s3_bucket_details,
3238
3831
  :instance_details,
3239
3832
  :resource_type)
3833
+ SENSITIVE = []
3834
+ include Aws::Structure
3835
+ end
3836
+
3837
+ # Contains information on the S3 bucket.
3838
+ #
3839
+ # @!attribute [rw] arn
3840
+ # The Amazon Resource Name (ARN) of the S3 bucket.
3841
+ # @return [String]
3842
+ #
3843
+ # @!attribute [rw] name
3844
+ # The name of the S3 bucket.
3845
+ # @return [String]
3846
+ #
3847
+ # @!attribute [rw] type
3848
+ # Describes whether the bucket is a source or destination bucket.
3849
+ # @return [String]
3850
+ #
3851
+ # @!attribute [rw] created_at
3852
+ # The date and time the bucket was created at.
3853
+ # @return [Time]
3854
+ #
3855
+ # @!attribute [rw] owner
3856
+ # The owner of the S3 bucket.
3857
+ # @return [Types::Owner]
3858
+ #
3859
+ # @!attribute [rw] tags
3860
+ # All tags attached to the S3 bucket
3861
+ # @return [Array<Types::Tag>]
3862
+ #
3863
+ # @!attribute [rw] default_server_side_encryption
3864
+ # Describes the server side encryption method used in the S3 bucket.
3865
+ # @return [Types::DefaultServerSideEncryption]
3866
+ #
3867
+ # @!attribute [rw] public_access
3868
+ # Describes the public access policies that apply to the S3 bucket.
3869
+ # @return [Types::PublicAccess]
3870
+ #
3871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/S3BucketDetail AWS API Documentation
3872
+ #
3873
+ class S3BucketDetail < Struct.new(
3874
+ :arn,
3875
+ :name,
3876
+ :type,
3877
+ :created_at,
3878
+ :owner,
3879
+ :tags,
3880
+ :default_server_side_encryption,
3881
+ :public_access)
3882
+ SENSITIVE = []
3883
+ include Aws::Structure
3884
+ end
3885
+
3886
+ # Describes whether S3 data event logs will be enabled as a data source.
3887
+ #
3888
+ # @note When making an API call, you may pass S3LogsConfiguration
3889
+ # data as a hash:
3890
+ #
3891
+ # {
3892
+ # enable: false, # required
3893
+ # }
3894
+ #
3895
+ # @!attribute [rw] enable
3896
+ # The status of S3 data event logs as a data source.
3897
+ # @return [Boolean]
3898
+ #
3899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/S3LogsConfiguration AWS API Documentation
3900
+ #
3901
+ class S3LogsConfiguration < Struct.new(
3902
+ :enable)
3903
+ SENSITIVE = []
3904
+ include Aws::Structure
3905
+ end
3906
+
3907
+ # Describes whether S3 data event logs will be enabled as a data source.
3908
+ #
3909
+ # @!attribute [rw] status
3910
+ # A value that describes whether S3 data event logs are automatically
3911
+ # enabled for new members of the organization.
3912
+ # @return [String]
3913
+ #
3914
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/S3LogsConfigurationResult AWS API Documentation
3915
+ #
3916
+ class S3LogsConfigurationResult < Struct.new(
3917
+ :status)
3918
+ SENSITIVE = []
3240
3919
  include Aws::Structure
3241
3920
  end
3242
3921
 
@@ -3256,6 +3935,7 @@ module Aws::GuardDuty
3256
3935
  class SecurityGroup < Struct.new(
3257
3936
  :group_id,
3258
3937
  :group_name)
3938
+ SENSITIVE = []
3259
3939
  include Aws::Structure
3260
3940
  end
3261
3941
 
@@ -3316,6 +3996,7 @@ module Aws::GuardDuty
3316
3996
  :resource_role,
3317
3997
  :service_name,
3318
3998
  :user_feedback)
3999
+ SENSITIVE = []
3319
4000
  include Aws::Structure
3320
4001
  end
3321
4002
 
@@ -3343,6 +4024,7 @@ module Aws::GuardDuty
3343
4024
  class SortCriteria < Struct.new(
3344
4025
  :attribute_name,
3345
4026
  :order_by)
4027
+ SENSITIVE = []
3346
4028
  include Aws::Structure
3347
4029
  end
3348
4030
 
@@ -3369,6 +4051,7 @@ module Aws::GuardDuty
3369
4051
  class StartMonitoringMembersRequest < Struct.new(
3370
4052
  :detector_id,
3371
4053
  :account_ids)
4054
+ SENSITIVE = []
3372
4055
  include Aws::Structure
3373
4056
  end
3374
4057
 
@@ -3381,6 +4064,7 @@ module Aws::GuardDuty
3381
4064
  #
3382
4065
  class StartMonitoringMembersResponse < Struct.new(
3383
4066
  :unprocessed_accounts)
4067
+ SENSITIVE = []
3384
4068
  include Aws::Structure
3385
4069
  end
3386
4070
 
@@ -3406,6 +4090,7 @@ module Aws::GuardDuty
3406
4090
  class StopMonitoringMembersRequest < Struct.new(
3407
4091
  :detector_id,
3408
4092
  :account_ids)
4093
+ SENSITIVE = []
3409
4094
  include Aws::Structure
3410
4095
  end
3411
4096
 
@@ -3419,6 +4104,7 @@ module Aws::GuardDuty
3419
4104
  #
3420
4105
  class StopMonitoringMembersResponse < Struct.new(
3421
4106
  :unprocessed_accounts)
4107
+ SENSITIVE = []
3422
4108
  include Aws::Structure
3423
4109
  end
3424
4110
 
@@ -3437,6 +4123,7 @@ module Aws::GuardDuty
3437
4123
  class Tag < Struct.new(
3438
4124
  :key,
3439
4125
  :value)
4126
+ SENSITIVE = []
3440
4127
  include Aws::Structure
3441
4128
  end
3442
4129
 
@@ -3464,6 +4151,7 @@ module Aws::GuardDuty
3464
4151
  class TagResourceRequest < Struct.new(
3465
4152
  :resource_arn,
3466
4153
  :tags)
4154
+ SENSITIVE = []
3467
4155
  include Aws::Structure
3468
4156
  end
3469
4157
 
@@ -3488,6 +4176,7 @@ module Aws::GuardDuty
3488
4176
  class ThreatIntelligenceDetail < Struct.new(
3489
4177
  :threat_list_name,
3490
4178
  :threat_names)
4179
+ SENSITIVE = []
3491
4180
  include Aws::Structure
3492
4181
  end
3493
4182
 
@@ -3512,6 +4201,7 @@ module Aws::GuardDuty
3512
4201
  class UnarchiveFindingsRequest < Struct.new(
3513
4202
  :detector_id,
3514
4203
  :finding_ids)
4204
+ SENSITIVE = []
3515
4205
  include Aws::Structure
3516
4206
  end
3517
4207
 
@@ -3534,6 +4224,7 @@ module Aws::GuardDuty
3534
4224
  class UnprocessedAccount < Struct.new(
3535
4225
  :account_id,
3536
4226
  :result)
4227
+ SENSITIVE = []
3537
4228
  include Aws::Structure
3538
4229
  end
3539
4230
 
@@ -3558,6 +4249,7 @@ module Aws::GuardDuty
3558
4249
  class UntagResourceRequest < Struct.new(
3559
4250
  :resource_arn,
3560
4251
  :tag_keys)
4252
+ SENSITIVE = []
3561
4253
  include Aws::Structure
3562
4254
  end
3563
4255
 
@@ -3572,6 +4264,11 @@ module Aws::GuardDuty
3572
4264
  # detector_id: "DetectorId", # required
3573
4265
  # enable: false,
3574
4266
  # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
4267
+ # data_sources: {
4268
+ # s3_logs: {
4269
+ # enable: false, # required
4270
+ # },
4271
+ # },
3575
4272
  # }
3576
4273
  #
3577
4274
  # @!attribute [rw] detector_id
@@ -3587,12 +4284,18 @@ module Aws::GuardDuty
3587
4284
  # such as to CloudWatch Events.
3588
4285
  # @return [String]
3589
4286
  #
4287
+ # @!attribute [rw] data_sources
4288
+ # An object that describes which data sources will be updated.
4289
+ # @return [Types::DataSourceConfigurations]
4290
+ #
3590
4291
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest AWS API Documentation
3591
4292
  #
3592
4293
  class UpdateDetectorRequest < Struct.new(
3593
4294
  :detector_id,
3594
4295
  :enable,
3595
- :finding_publishing_frequency)
4296
+ :finding_publishing_frequency,
4297
+ :data_sources)
4298
+ SENSITIVE = []
3596
4299
  include Aws::Structure
3597
4300
  end
3598
4301
 
@@ -3667,6 +4370,7 @@ module Aws::GuardDuty
3667
4370
  :action,
3668
4371
  :rank,
3669
4372
  :finding_criteria)
4373
+ SENSITIVE = []
3670
4374
  include Aws::Structure
3671
4375
  end
3672
4376
 
@@ -3678,6 +4382,7 @@ module Aws::GuardDuty
3678
4382
  #
3679
4383
  class UpdateFilterResponse < Struct.new(
3680
4384
  :name)
4385
+ SENSITIVE = []
3681
4386
  include Aws::Structure
3682
4387
  end
3683
4388
 
@@ -3716,6 +4421,7 @@ module Aws::GuardDuty
3716
4421
  :finding_ids,
3717
4422
  :feedback,
3718
4423
  :comments)
4424
+ SENSITIVE = []
3719
4425
  include Aws::Structure
3720
4426
  end
3721
4427
 
@@ -3764,6 +4470,7 @@ module Aws::GuardDuty
3764
4470
  :name,
3765
4471
  :location,
3766
4472
  :activate)
4473
+ SENSITIVE = []
3767
4474
  include Aws::Structure
3768
4475
  end
3769
4476
 
@@ -3771,12 +4478,65 @@ module Aws::GuardDuty
3771
4478
  #
3772
4479
  class UpdateIPSetResponse < Aws::EmptyStructure; end
3773
4480
 
4481
+ # @note When making an API call, you may pass UpdateMemberDetectorsRequest
4482
+ # data as a hash:
4483
+ #
4484
+ # {
4485
+ # detector_id: "DetectorId", # required
4486
+ # account_ids: ["AccountId"], # required
4487
+ # data_sources: {
4488
+ # s3_logs: {
4489
+ # enable: false, # required
4490
+ # },
4491
+ # },
4492
+ # }
4493
+ #
4494
+ # @!attribute [rw] detector_id
4495
+ # The detector ID of the master account.
4496
+ # @return [String]
4497
+ #
4498
+ # @!attribute [rw] account_ids
4499
+ # A list of member account IDs to be updated.
4500
+ # @return [Array<String>]
4501
+ #
4502
+ # @!attribute [rw] data_sources
4503
+ # An object describes which data sources will be updated.
4504
+ # @return [Types::DataSourceConfigurations]
4505
+ #
4506
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectorsRequest AWS API Documentation
4507
+ #
4508
+ class UpdateMemberDetectorsRequest < Struct.new(
4509
+ :detector_id,
4510
+ :account_ids,
4511
+ :data_sources)
4512
+ SENSITIVE = []
4513
+ include Aws::Structure
4514
+ end
4515
+
4516
+ # @!attribute [rw] unprocessed_accounts
4517
+ # A list of member account IDs that were unable to be processed along
4518
+ # with an explanation for why they were not processed.
4519
+ # @return [Array<Types::UnprocessedAccount>]
4520
+ #
4521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectorsResponse AWS API Documentation
4522
+ #
4523
+ class UpdateMemberDetectorsResponse < Struct.new(
4524
+ :unprocessed_accounts)
4525
+ SENSITIVE = []
4526
+ include Aws::Structure
4527
+ end
4528
+
3774
4529
  # @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
3775
4530
  # data as a hash:
3776
4531
  #
3777
4532
  # {
3778
4533
  # detector_id: "DetectorId", # required
3779
4534
  # auto_enable: false, # required
4535
+ # data_sources: {
4536
+ # s3_logs: {
4537
+ # auto_enable: false, # required
4538
+ # },
4539
+ # },
3780
4540
  # }
3781
4541
  #
3782
4542
  # @!attribute [rw] detector_id
@@ -3788,11 +4548,17 @@ module Aws::GuardDuty
3788
4548
  # organization.
3789
4549
  # @return [Boolean]
3790
4550
  #
4551
+ # @!attribute [rw] data_sources
4552
+ # An object describes which data sources will be updated.
4553
+ # @return [Types::OrganizationDataSourceConfigurations]
4554
+ #
3791
4555
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfigurationRequest AWS API Documentation
3792
4556
  #
3793
4557
  class UpdateOrganizationConfigurationRequest < Struct.new(
3794
4558
  :detector_id,
3795
- :auto_enable)
4559
+ :auto_enable,
4560
+ :data_sources)
4561
+ SENSITIVE = []
3796
4562
  include Aws::Structure
3797
4563
  end
3798
4564
 
@@ -3832,6 +4598,7 @@ module Aws::GuardDuty
3832
4598
  :detector_id,
3833
4599
  :destination_id,
3834
4600
  :destination_properties)
4601
+ SENSITIVE = []
3835
4602
  include Aws::Structure
3836
4603
  end
3837
4604
 
@@ -3882,6 +4649,7 @@ module Aws::GuardDuty
3882
4649
  :name,
3883
4650
  :location,
3884
4651
  :activate)
4652
+ SENSITIVE = []
3885
4653
  include Aws::Structure
3886
4654
  end
3887
4655