aws-sdk-guardduty 1.64.0 → 1.66.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +161 -11
- data/lib/aws-sdk-guardduty/client_api.rb +144 -11
- data/lib/aws-sdk-guardduty/types.rb +449 -16
- data/lib/aws-sdk-guardduty.rb +1 -1
- metadata +2 -2
@@ -34,6 +34,7 @@ module Aws::GuardDuty
|
|
34
34
|
AffectedResources = Shapes::MapShape.new(name: 'AffectedResources')
|
35
35
|
ArchiveFindingsRequest = Shapes::StructureShape.new(name: 'ArchiveFindingsRequest')
|
36
36
|
ArchiveFindingsResponse = Shapes::StructureShape.new(name: 'ArchiveFindingsResponse')
|
37
|
+
AutoEnableMembers = Shapes::StringShape.new(name: 'AutoEnableMembers')
|
37
38
|
AwsApiCallAction = Shapes::StructureShape.new(name: 'AwsApiCallAction')
|
38
39
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
39
40
|
BlockPublicAccess = Shapes::StructureShape.new(name: 'BlockPublicAccess')
|
@@ -99,6 +100,12 @@ module Aws::GuardDuty
|
|
99
100
|
DestinationProperties = Shapes::StructureShape.new(name: 'DestinationProperties')
|
100
101
|
DestinationType = Shapes::StringShape.new(name: 'DestinationType')
|
101
102
|
Destinations = Shapes::ListShape.new(name: 'Destinations')
|
103
|
+
DetectorFeature = Shapes::StringShape.new(name: 'DetectorFeature')
|
104
|
+
DetectorFeatureConfiguration = Shapes::StructureShape.new(name: 'DetectorFeatureConfiguration')
|
105
|
+
DetectorFeatureConfigurationResult = Shapes::StructureShape.new(name: 'DetectorFeatureConfigurationResult')
|
106
|
+
DetectorFeatureConfigurations = Shapes::ListShape.new(name: 'DetectorFeatureConfigurations')
|
107
|
+
DetectorFeatureConfigurationsResults = Shapes::ListShape.new(name: 'DetectorFeatureConfigurationsResults')
|
108
|
+
DetectorFeatureResult = Shapes::StringShape.new(name: 'DetectorFeatureResult')
|
102
109
|
DetectorId = Shapes::StringShape.new(name: 'DetectorId')
|
103
110
|
DetectorIds = Shapes::ListShape.new(name: 'DetectorIds')
|
104
111
|
DetectorStatus = Shapes::StringShape.new(name: 'DetectorStatus')
|
@@ -126,6 +133,7 @@ module Aws::GuardDuty
|
|
126
133
|
Eq = Shapes::ListShape.new(name: 'Eq')
|
127
134
|
Equals = Shapes::ListShape.new(name: 'Equals')
|
128
135
|
Evidence = Shapes::StructureShape.new(name: 'Evidence')
|
136
|
+
FeatureStatus = Shapes::StringShape.new(name: 'FeatureStatus')
|
129
137
|
Feedback = Shapes::StringShape.new(name: 'Feedback')
|
130
138
|
FilePaths = Shapes::ListShape.new(name: 'FilePaths')
|
131
139
|
FilterAction = Shapes::StringShape.new(name: 'FilterAction')
|
@@ -149,6 +157,9 @@ module Aws::GuardDuty
|
|
149
157
|
FindingTypes = Shapes::ListShape.new(name: 'FindingTypes')
|
150
158
|
Findings = Shapes::ListShape.new(name: 'Findings')
|
151
159
|
FlowLogsConfigurationResult = Shapes::StructureShape.new(name: 'FlowLogsConfigurationResult')
|
160
|
+
FreeTrialFeatureConfigurationResult = Shapes::StructureShape.new(name: 'FreeTrialFeatureConfigurationResult')
|
161
|
+
FreeTrialFeatureConfigurationsResults = Shapes::ListShape.new(name: 'FreeTrialFeatureConfigurationsResults')
|
162
|
+
FreeTrialFeatureResult = Shapes::StringShape.new(name: 'FreeTrialFeatureResult')
|
152
163
|
GeoLocation = Shapes::StructureShape.new(name: 'GeoLocation')
|
153
164
|
GetAdministratorAccountRequest = Shapes::StructureShape.new(name: 'GetAdministratorAccountRequest')
|
154
165
|
GetAdministratorAccountResponse = Shapes::StructureShape.new(name: 'GetAdministratorAccountResponse')
|
@@ -228,6 +239,8 @@ module Aws::GuardDuty
|
|
228
239
|
LocalIpDetails = Shapes::StructureShape.new(name: 'LocalIpDetails')
|
229
240
|
LocalPortDetails = Shapes::StructureShape.new(name: 'LocalPortDetails')
|
230
241
|
Location = Shapes::StringShape.new(name: 'Location')
|
242
|
+
LoginAttribute = Shapes::StructureShape.new(name: 'LoginAttribute')
|
243
|
+
LoginAttributes = Shapes::ListShape.new(name: 'LoginAttributes')
|
231
244
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
232
245
|
LongValue = Shapes::IntegerShape.new(name: 'LongValue')
|
233
246
|
MalwareProtectionConfiguration = Shapes::StructureShape.new(name: 'MalwareProtectionConfiguration')
|
@@ -239,6 +252,10 @@ module Aws::GuardDuty
|
|
239
252
|
Member = Shapes::StructureShape.new(name: 'Member')
|
240
253
|
MemberDataSourceConfiguration = Shapes::StructureShape.new(name: 'MemberDataSourceConfiguration')
|
241
254
|
MemberDataSourceConfigurations = Shapes::ListShape.new(name: 'MemberDataSourceConfigurations')
|
255
|
+
MemberFeaturesConfiguration = Shapes::StructureShape.new(name: 'MemberFeaturesConfiguration')
|
256
|
+
MemberFeaturesConfigurationResult = Shapes::StructureShape.new(name: 'MemberFeaturesConfigurationResult')
|
257
|
+
MemberFeaturesConfigurations = Shapes::ListShape.new(name: 'MemberFeaturesConfigurations')
|
258
|
+
MemberFeaturesConfigurationsResults = Shapes::ListShape.new(name: 'MemberFeaturesConfigurationsResults')
|
242
259
|
Members = Shapes::ListShape.new(name: 'Members')
|
243
260
|
Name = Shapes::StringShape.new(name: 'Name')
|
244
261
|
Neq = Shapes::ListShape.new(name: 'Neq')
|
@@ -248,11 +265,17 @@ module Aws::GuardDuty
|
|
248
265
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
249
266
|
NotEquals = Shapes::ListShape.new(name: 'NotEquals')
|
250
267
|
OrderBy = Shapes::StringShape.new(name: 'OrderBy')
|
268
|
+
OrgFeature = Shapes::StringShape.new(name: 'OrgFeature')
|
269
|
+
OrgFeatureStatus = Shapes::StringShape.new(name: 'OrgFeatureStatus')
|
251
270
|
Organization = Shapes::StructureShape.new(name: 'Organization')
|
252
271
|
OrganizationDataSourceConfigurations = Shapes::StructureShape.new(name: 'OrganizationDataSourceConfigurations')
|
253
272
|
OrganizationDataSourceConfigurationsResult = Shapes::StructureShape.new(name: 'OrganizationDataSourceConfigurationsResult')
|
254
273
|
OrganizationEbsVolumes = Shapes::StructureShape.new(name: 'OrganizationEbsVolumes')
|
255
274
|
OrganizationEbsVolumesResult = Shapes::StructureShape.new(name: 'OrganizationEbsVolumesResult')
|
275
|
+
OrganizationFeatureConfiguration = Shapes::StructureShape.new(name: 'OrganizationFeatureConfiguration')
|
276
|
+
OrganizationFeatureConfigurationResult = Shapes::StructureShape.new(name: 'OrganizationFeatureConfigurationResult')
|
277
|
+
OrganizationFeaturesConfigurations = Shapes::ListShape.new(name: 'OrganizationFeaturesConfigurations')
|
278
|
+
OrganizationFeaturesConfigurationsResults = Shapes::ListShape.new(name: 'OrganizationFeaturesConfigurationsResults')
|
256
279
|
OrganizationKubernetesAuditLogsConfiguration = Shapes::StructureShape.new(name: 'OrganizationKubernetesAuditLogsConfiguration')
|
257
280
|
OrganizationKubernetesAuditLogsConfigurationResult = Shapes::StructureShape.new(name: 'OrganizationKubernetesAuditLogsConfigurationResult')
|
258
281
|
OrganizationKubernetesConfiguration = Shapes::StructureShape.new(name: 'OrganizationKubernetesConfiguration')
|
@@ -275,6 +298,9 @@ module Aws::GuardDuty
|
|
275
298
|
ProductCodes = Shapes::ListShape.new(name: 'ProductCodes')
|
276
299
|
PublicAccess = Shapes::StructureShape.new(name: 'PublicAccess')
|
277
300
|
PublishingStatus = Shapes::StringShape.new(name: 'PublishingStatus')
|
301
|
+
RdsDbInstanceDetails = Shapes::StructureShape.new(name: 'RdsDbInstanceDetails')
|
302
|
+
RdsDbUserDetails = Shapes::StructureShape.new(name: 'RdsDbUserDetails')
|
303
|
+
RdsLoginAttemptAction = Shapes::StructureShape.new(name: 'RdsLoginAttemptAction')
|
278
304
|
RemoteAccountDetails = Shapes::StructureShape.new(name: 'RemoteAccountDetails')
|
279
305
|
RemoteIpDetails = Shapes::StructureShape.new(name: 'RemoteIpDetails')
|
280
306
|
RemotePortDetails = Shapes::StructureShape.new(name: 'RemotePortDetails')
|
@@ -364,6 +390,10 @@ module Aws::GuardDuty
|
|
364
390
|
UsageCriteria = Shapes::StructureShape.new(name: 'UsageCriteria')
|
365
391
|
UsageDataSourceResult = Shapes::StructureShape.new(name: 'UsageDataSourceResult')
|
366
392
|
UsageDataSourceResultList = Shapes::ListShape.new(name: 'UsageDataSourceResultList')
|
393
|
+
UsageFeature = Shapes::StringShape.new(name: 'UsageFeature')
|
394
|
+
UsageFeatureList = Shapes::ListShape.new(name: 'UsageFeatureList')
|
395
|
+
UsageFeatureResult = Shapes::StructureShape.new(name: 'UsageFeatureResult')
|
396
|
+
UsageFeatureResultList = Shapes::ListShape.new(name: 'UsageFeatureResultList')
|
367
397
|
UsageResourceResult = Shapes::StructureShape.new(name: 'UsageResourceResult')
|
368
398
|
UsageResourceResultList = Shapes::ListShape.new(name: 'UsageResourceResultList')
|
369
399
|
UsageStatisticType = Shapes::StringShape.new(name: 'UsageStatisticType')
|
@@ -406,7 +436,8 @@ module Aws::GuardDuty
|
|
406
436
|
AccountDetails.member = Shapes::ShapeRef.new(shape: AccountDetail)
|
407
437
|
|
408
438
|
AccountFreeTrialInfo.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
|
409
|
-
AccountFreeTrialInfo.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourcesFreeTrial, location_name: "dataSources"))
|
439
|
+
AccountFreeTrialInfo.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourcesFreeTrial, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
|
440
|
+
AccountFreeTrialInfo.add_member(:features, Shapes::ShapeRef.new(shape: FreeTrialFeatureConfigurationsResults, location_name: "features"))
|
410
441
|
AccountFreeTrialInfo.struct_class = Types::AccountFreeTrialInfo
|
411
442
|
|
412
443
|
AccountFreeTrialInfos.member = Shapes::ShapeRef.new(shape: AccountFreeTrialInfo)
|
@@ -422,6 +453,7 @@ module Aws::GuardDuty
|
|
422
453
|
Action.add_member(:network_connection_action, Shapes::ShapeRef.new(shape: NetworkConnectionAction, location_name: "networkConnectionAction"))
|
423
454
|
Action.add_member(:port_probe_action, Shapes::ShapeRef.new(shape: PortProbeAction, location_name: "portProbeAction"))
|
424
455
|
Action.add_member(:kubernetes_api_call_action, Shapes::ShapeRef.new(shape: KubernetesApiCallAction, location_name: "kubernetesApiCallAction"))
|
456
|
+
Action.add_member(:rds_login_attempt_action, Shapes::ShapeRef.new(shape: RdsLoginAttemptAction, location_name: "rdsLoginAttemptAction"))
|
425
457
|
Action.struct_class = Types::Action
|
426
458
|
|
427
459
|
AdminAccount.add_member(:admin_account_id, Shapes::ShapeRef.new(shape: String, location_name: "adminAccountId"))
|
@@ -516,8 +548,9 @@ module Aws::GuardDuty
|
|
516
548
|
CreateDetectorRequest.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enable"))
|
517
549
|
CreateDetectorRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
518
550
|
CreateDetectorRequest.add_member(:finding_publishing_frequency, Shapes::ShapeRef.new(shape: FindingPublishingFrequency, location_name: "findingPublishingFrequency"))
|
519
|
-
CreateDetectorRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, location_name: "dataSources"))
|
551
|
+
CreateDetectorRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
|
520
552
|
CreateDetectorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
553
|
+
CreateDetectorRequest.add_member(:features, Shapes::ShapeRef.new(shape: DetectorFeatureConfigurations, location_name: "features"))
|
521
554
|
CreateDetectorRequest.struct_class = Types::CreateDetectorRequest
|
522
555
|
|
523
556
|
CreateDetectorResponse.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "detectorId"))
|
@@ -679,11 +712,16 @@ module Aws::GuardDuty
|
|
679
712
|
DescribeMalwareScansResponse.struct_class = Types::DescribeMalwareScansResponse
|
680
713
|
|
681
714
|
DescribeOrganizationConfigurationRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
715
|
+
DescribeOrganizationConfigurationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
716
|
+
DescribeOrganizationConfigurationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
682
717
|
DescribeOrganizationConfigurationRequest.struct_class = Types::DescribeOrganizationConfigurationRequest
|
683
718
|
|
684
|
-
DescribeOrganizationConfigurationResponse.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean,
|
719
|
+
DescribeOrganizationConfigurationResponse.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "autoEnable", metadata: {"deprecatedMessage"=>"This field is deprecated, use AutoEnableOrganizationMembers instead"}))
|
685
720
|
DescribeOrganizationConfigurationResponse.add_member(:member_account_limit_reached, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "memberAccountLimitReached"))
|
686
|
-
DescribeOrganizationConfigurationResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: OrganizationDataSourceConfigurationsResult, location_name: "dataSources"))
|
721
|
+
DescribeOrganizationConfigurationResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: OrganizationDataSourceConfigurationsResult, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
|
722
|
+
DescribeOrganizationConfigurationResponse.add_member(:features, Shapes::ShapeRef.new(shape: OrganizationFeaturesConfigurationsResults, location_name: "features"))
|
723
|
+
DescribeOrganizationConfigurationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
724
|
+
DescribeOrganizationConfigurationResponse.add_member(:auto_enable_organization_members, Shapes::ShapeRef.new(shape: AutoEnableMembers, location_name: "autoEnableOrganizationMembers"))
|
687
725
|
DescribeOrganizationConfigurationResponse.struct_class = Types::DescribeOrganizationConfigurationResponse
|
688
726
|
|
689
727
|
DescribePublishingDestinationRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
@@ -708,6 +746,19 @@ module Aws::GuardDuty
|
|
708
746
|
|
709
747
|
Destinations.member = Shapes::ShapeRef.new(shape: Destination)
|
710
748
|
|
749
|
+
DetectorFeatureConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: DetectorFeature, location_name: "name"))
|
750
|
+
DetectorFeatureConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "status"))
|
751
|
+
DetectorFeatureConfiguration.struct_class = Types::DetectorFeatureConfiguration
|
752
|
+
|
753
|
+
DetectorFeatureConfigurationResult.add_member(:name, Shapes::ShapeRef.new(shape: DetectorFeatureResult, location_name: "name"))
|
754
|
+
DetectorFeatureConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "status"))
|
755
|
+
DetectorFeatureConfigurationResult.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
756
|
+
DetectorFeatureConfigurationResult.struct_class = Types::DetectorFeatureConfigurationResult
|
757
|
+
|
758
|
+
DetectorFeatureConfigurations.member = Shapes::ShapeRef.new(shape: DetectorFeatureConfiguration)
|
759
|
+
|
760
|
+
DetectorFeatureConfigurationsResults.member = Shapes::ShapeRef.new(shape: DetectorFeatureConfigurationResult)
|
761
|
+
|
711
762
|
DetectorIds.member = Shapes::ShapeRef.new(shape: DetectorId)
|
712
763
|
|
713
764
|
DisableOrganizationAdminAccountRequest.add_member(:admin_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "adminAccountId"))
|
@@ -850,6 +901,12 @@ module Aws::GuardDuty
|
|
850
901
|
FlowLogsConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, required: true, location_name: "status"))
|
851
902
|
FlowLogsConfigurationResult.struct_class = Types::FlowLogsConfigurationResult
|
852
903
|
|
904
|
+
FreeTrialFeatureConfigurationResult.add_member(:name, Shapes::ShapeRef.new(shape: FreeTrialFeatureResult, location_name: "name"))
|
905
|
+
FreeTrialFeatureConfigurationResult.add_member(:free_trial_days_remaining, Shapes::ShapeRef.new(shape: Integer, location_name: "freeTrialDaysRemaining"))
|
906
|
+
FreeTrialFeatureConfigurationResult.struct_class = Types::FreeTrialFeatureConfigurationResult
|
907
|
+
|
908
|
+
FreeTrialFeatureConfigurationsResults.member = Shapes::ShapeRef.new(shape: FreeTrialFeatureConfigurationResult)
|
909
|
+
|
853
910
|
GeoLocation.add_member(:lat, Shapes::ShapeRef.new(shape: Double, location_name: "lat"))
|
854
911
|
GeoLocation.add_member(:lon, Shapes::ShapeRef.new(shape: Double, location_name: "lon"))
|
855
912
|
GeoLocation.struct_class = Types::GeoLocation
|
@@ -868,8 +925,9 @@ module Aws::GuardDuty
|
|
868
925
|
GetDetectorResponse.add_member(:service_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceRole"))
|
869
926
|
GetDetectorResponse.add_member(:status, Shapes::ShapeRef.new(shape: DetectorStatus, required: true, location_name: "status"))
|
870
927
|
GetDetectorResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: String, location_name: "updatedAt"))
|
871
|
-
GetDetectorResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurationsResult, location_name: "dataSources"))
|
928
|
+
GetDetectorResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurationsResult, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
|
872
929
|
GetDetectorResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
930
|
+
GetDetectorResponse.add_member(:features, Shapes::ShapeRef.new(shape: DetectorFeatureConfigurationsResults, location_name: "features"))
|
873
931
|
GetDetectorResponse.struct_class = Types::GetDetectorResponse
|
874
932
|
|
875
933
|
GetFilterRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
@@ -1166,6 +1224,14 @@ module Aws::GuardDuty
|
|
1166
1224
|
LocalPortDetails.add_member(:port_name, Shapes::ShapeRef.new(shape: String, location_name: "portName"))
|
1167
1225
|
LocalPortDetails.struct_class = Types::LocalPortDetails
|
1168
1226
|
|
1227
|
+
LoginAttribute.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
|
1228
|
+
LoginAttribute.add_member(:application, Shapes::ShapeRef.new(shape: String, location_name: "application"))
|
1229
|
+
LoginAttribute.add_member(:failed_login_attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "failedLoginAttempts"))
|
1230
|
+
LoginAttribute.add_member(:successful_login_attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "successfulLoginAttempts"))
|
1231
|
+
LoginAttribute.struct_class = Types::LoginAttribute
|
1232
|
+
|
1233
|
+
LoginAttributes.member = Shapes::ShapeRef.new(shape: LoginAttribute)
|
1234
|
+
|
1169
1235
|
MalwareProtectionConfiguration.add_member(:scan_ec2_instance_with_findings, Shapes::ShapeRef.new(shape: ScanEc2InstanceWithFindings, location_name: "scanEc2InstanceWithFindings"))
|
1170
1236
|
MalwareProtectionConfiguration.struct_class = Types::MalwareProtectionConfiguration
|
1171
1237
|
|
@@ -1195,11 +1261,25 @@ module Aws::GuardDuty
|
|
1195
1261
|
Member.struct_class = Types::Member
|
1196
1262
|
|
1197
1263
|
MemberDataSourceConfiguration.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
1198
|
-
MemberDataSourceConfiguration.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurationsResult,
|
1264
|
+
MemberDataSourceConfiguration.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurationsResult, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
|
1265
|
+
MemberDataSourceConfiguration.add_member(:features, Shapes::ShapeRef.new(shape: MemberFeaturesConfigurationsResults, location_name: "features"))
|
1199
1266
|
MemberDataSourceConfiguration.struct_class = Types::MemberDataSourceConfiguration
|
1200
1267
|
|
1201
1268
|
MemberDataSourceConfigurations.member = Shapes::ShapeRef.new(shape: MemberDataSourceConfiguration)
|
1202
1269
|
|
1270
|
+
MemberFeaturesConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: OrgFeature, location_name: "name"))
|
1271
|
+
MemberFeaturesConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "status"))
|
1272
|
+
MemberFeaturesConfiguration.struct_class = Types::MemberFeaturesConfiguration
|
1273
|
+
|
1274
|
+
MemberFeaturesConfigurationResult.add_member(:name, Shapes::ShapeRef.new(shape: OrgFeature, location_name: "name"))
|
1275
|
+
MemberFeaturesConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "status"))
|
1276
|
+
MemberFeaturesConfigurationResult.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
1277
|
+
MemberFeaturesConfigurationResult.struct_class = Types::MemberFeaturesConfigurationResult
|
1278
|
+
|
1279
|
+
MemberFeaturesConfigurations.member = Shapes::ShapeRef.new(shape: MemberFeaturesConfiguration)
|
1280
|
+
|
1281
|
+
MemberFeaturesConfigurationsResults.member = Shapes::ShapeRef.new(shape: MemberFeaturesConfigurationResult)
|
1282
|
+
|
1203
1283
|
Members.member = Shapes::ShapeRef.new(shape: Member)
|
1204
1284
|
|
1205
1285
|
Neq.member = Shapes::ShapeRef.new(shape: String)
|
@@ -1251,6 +1331,18 @@ module Aws::GuardDuty
|
|
1251
1331
|
OrganizationEbsVolumesResult.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, location_name: "autoEnable"))
|
1252
1332
|
OrganizationEbsVolumesResult.struct_class = Types::OrganizationEbsVolumesResult
|
1253
1333
|
|
1334
|
+
OrganizationFeatureConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: OrgFeature, location_name: "name"))
|
1335
|
+
OrganizationFeatureConfiguration.add_member(:auto_enable, Shapes::ShapeRef.new(shape: OrgFeatureStatus, location_name: "autoEnable"))
|
1336
|
+
OrganizationFeatureConfiguration.struct_class = Types::OrganizationFeatureConfiguration
|
1337
|
+
|
1338
|
+
OrganizationFeatureConfigurationResult.add_member(:name, Shapes::ShapeRef.new(shape: OrgFeature, location_name: "name"))
|
1339
|
+
OrganizationFeatureConfigurationResult.add_member(:auto_enable, Shapes::ShapeRef.new(shape: OrgFeatureStatus, location_name: "autoEnable"))
|
1340
|
+
OrganizationFeatureConfigurationResult.struct_class = Types::OrganizationFeatureConfigurationResult
|
1341
|
+
|
1342
|
+
OrganizationFeaturesConfigurations.member = Shapes::ShapeRef.new(shape: OrganizationFeatureConfiguration)
|
1343
|
+
|
1344
|
+
OrganizationFeaturesConfigurationsResults.member = Shapes::ShapeRef.new(shape: OrganizationFeatureConfigurationResult)
|
1345
|
+
|
1254
1346
|
OrganizationKubernetesAuditLogsConfiguration.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "autoEnable"))
|
1255
1347
|
OrganizationKubernetesAuditLogsConfiguration.struct_class = Types::OrganizationKubernetesAuditLogsConfiguration
|
1256
1348
|
|
@@ -1315,6 +1407,25 @@ module Aws::GuardDuty
|
|
1315
1407
|
PublicAccess.add_member(:effective_permission, Shapes::ShapeRef.new(shape: String, location_name: "effectivePermission"))
|
1316
1408
|
PublicAccess.struct_class = Types::PublicAccess
|
1317
1409
|
|
1410
|
+
RdsDbInstanceDetails.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "dbInstanceIdentifier"))
|
1411
|
+
RdsDbInstanceDetails.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "engine"))
|
1412
|
+
RdsDbInstanceDetails.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "engineVersion"))
|
1413
|
+
RdsDbInstanceDetails.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "dbClusterIdentifier"))
|
1414
|
+
RdsDbInstanceDetails.add_member(:db_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "dbInstanceArn"))
|
1415
|
+
RdsDbInstanceDetails.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1416
|
+
RdsDbInstanceDetails.struct_class = Types::RdsDbInstanceDetails
|
1417
|
+
|
1418
|
+
RdsDbUserDetails.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
|
1419
|
+
RdsDbUserDetails.add_member(:application, Shapes::ShapeRef.new(shape: String, location_name: "application"))
|
1420
|
+
RdsDbUserDetails.add_member(:database, Shapes::ShapeRef.new(shape: String, location_name: "database"))
|
1421
|
+
RdsDbUserDetails.add_member(:ssl, Shapes::ShapeRef.new(shape: String, location_name: "ssl"))
|
1422
|
+
RdsDbUserDetails.add_member(:auth_method, Shapes::ShapeRef.new(shape: String, location_name: "authMethod"))
|
1423
|
+
RdsDbUserDetails.struct_class = Types::RdsDbUserDetails
|
1424
|
+
|
1425
|
+
RdsLoginAttemptAction.add_member(:remote_ip_details, Shapes::ShapeRef.new(shape: RemoteIpDetails, location_name: "remoteIpDetails"))
|
1426
|
+
RdsLoginAttemptAction.add_member(:login_attributes, Shapes::ShapeRef.new(shape: LoginAttributes, location_name: "LoginAttributes"))
|
1427
|
+
RdsLoginAttemptAction.struct_class = Types::RdsLoginAttemptAction
|
1428
|
+
|
1318
1429
|
RemoteAccountDetails.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
|
1319
1430
|
RemoteAccountDetails.add_member(:affiliated, Shapes::ShapeRef.new(shape: Boolean, location_name: "affiliated"))
|
1320
1431
|
RemoteAccountDetails.struct_class = Types::RemoteAccountDetails
|
@@ -1339,6 +1450,8 @@ module Aws::GuardDuty
|
|
1339
1450
|
Resource.add_member(:ebs_volume_details, Shapes::ShapeRef.new(shape: EbsVolumeDetails, location_name: "ebsVolumeDetails"))
|
1340
1451
|
Resource.add_member(:ecs_cluster_details, Shapes::ShapeRef.new(shape: EcsClusterDetails, location_name: "ecsClusterDetails"))
|
1341
1452
|
Resource.add_member(:container_details, Shapes::ShapeRef.new(shape: Container, location_name: "containerDetails"))
|
1453
|
+
Resource.add_member(:rds_db_instance_details, Shapes::ShapeRef.new(shape: RdsDbInstanceDetails, location_name: "rdsDbInstanceDetails"))
|
1454
|
+
Resource.add_member(:rds_db_user_details, Shapes::ShapeRef.new(shape: RdsDbUserDetails, location_name: "rdsDbUserDetails"))
|
1342
1455
|
Resource.struct_class = Types::Resource
|
1343
1456
|
|
1344
1457
|
ResourceDetails.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "instanceArn"))
|
@@ -1548,7 +1661,8 @@ module Aws::GuardDuty
|
|
1548
1661
|
UpdateDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
1549
1662
|
UpdateDetectorRequest.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, location_name: "enable"))
|
1550
1663
|
UpdateDetectorRequest.add_member(:finding_publishing_frequency, Shapes::ShapeRef.new(shape: FindingPublishingFrequency, location_name: "findingPublishingFrequency"))
|
1551
|
-
UpdateDetectorRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, location_name: "dataSources"))
|
1664
|
+
UpdateDetectorRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
|
1665
|
+
UpdateDetectorRequest.add_member(:features, Shapes::ShapeRef.new(shape: DetectorFeatureConfigurations, location_name: "features"))
|
1552
1666
|
UpdateDetectorRequest.struct_class = Types::UpdateDetectorRequest
|
1553
1667
|
|
1554
1668
|
UpdateDetectorResponse.struct_class = Types::UpdateDetectorResponse
|
@@ -1590,15 +1704,18 @@ module Aws::GuardDuty
|
|
1590
1704
|
|
1591
1705
|
UpdateMemberDetectorsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
1592
1706
|
UpdateMemberDetectorsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
|
1593
|
-
UpdateMemberDetectorsRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, location_name: "dataSources"))
|
1707
|
+
UpdateMemberDetectorsRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
|
1708
|
+
UpdateMemberDetectorsRequest.add_member(:features, Shapes::ShapeRef.new(shape: MemberFeaturesConfigurations, location_name: "features"))
|
1594
1709
|
UpdateMemberDetectorsRequest.struct_class = Types::UpdateMemberDetectorsRequest
|
1595
1710
|
|
1596
1711
|
UpdateMemberDetectorsResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, required: true, location_name: "unprocessedAccounts"))
|
1597
1712
|
UpdateMemberDetectorsResponse.struct_class = Types::UpdateMemberDetectorsResponse
|
1598
1713
|
|
1599
1714
|
UpdateOrganizationConfigurationRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
|
1600
|
-
UpdateOrganizationConfigurationRequest.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean,
|
1601
|
-
UpdateOrganizationConfigurationRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: OrganizationDataSourceConfigurations, location_name: "dataSources"))
|
1715
|
+
UpdateOrganizationConfigurationRequest.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "autoEnable", metadata: {"deprecatedMessage"=>"This field is deprecated, use AutoEnableOrganizationMembers instead"}))
|
1716
|
+
UpdateOrganizationConfigurationRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: OrganizationDataSourceConfigurations, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
|
1717
|
+
UpdateOrganizationConfigurationRequest.add_member(:features, Shapes::ShapeRef.new(shape: OrganizationFeaturesConfigurations, location_name: "features"))
|
1718
|
+
UpdateOrganizationConfigurationRequest.add_member(:auto_enable_organization_members, Shapes::ShapeRef.new(shape: AutoEnableMembers, location_name: "autoEnableOrganizationMembers"))
|
1602
1719
|
UpdateOrganizationConfigurationRequest.struct_class = Types::UpdateOrganizationConfigurationRequest
|
1603
1720
|
|
1604
1721
|
UpdateOrganizationConfigurationResponse.struct_class = Types::UpdateOrganizationConfigurationResponse
|
@@ -1626,8 +1743,9 @@ module Aws::GuardDuty
|
|
1626
1743
|
UsageAccountResultList.member = Shapes::ShapeRef.new(shape: UsageAccountResult)
|
1627
1744
|
|
1628
1745
|
UsageCriteria.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
1629
|
-
UsageCriteria.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceList,
|
1746
|
+
UsageCriteria.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceList, deprecated: true, location_name: "dataSources", metadata: {"deprecatedMessage"=>"This parameter is deprecated, use Features instead"}))
|
1630
1747
|
UsageCriteria.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "resources"))
|
1748
|
+
UsageCriteria.add_member(:features, Shapes::ShapeRef.new(shape: UsageFeatureList, location_name: "features"))
|
1631
1749
|
UsageCriteria.struct_class = Types::UsageCriteria
|
1632
1750
|
|
1633
1751
|
UsageDataSourceResult.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
|
@@ -1636,6 +1754,14 @@ module Aws::GuardDuty
|
|
1636
1754
|
|
1637
1755
|
UsageDataSourceResultList.member = Shapes::ShapeRef.new(shape: UsageDataSourceResult)
|
1638
1756
|
|
1757
|
+
UsageFeatureList.member = Shapes::ShapeRef.new(shape: UsageFeature)
|
1758
|
+
|
1759
|
+
UsageFeatureResult.add_member(:feature, Shapes::ShapeRef.new(shape: UsageFeature, location_name: "feature"))
|
1760
|
+
UsageFeatureResult.add_member(:total, Shapes::ShapeRef.new(shape: Total, location_name: "total"))
|
1761
|
+
UsageFeatureResult.struct_class = Types::UsageFeatureResult
|
1762
|
+
|
1763
|
+
UsageFeatureResultList.member = Shapes::ShapeRef.new(shape: UsageFeatureResult)
|
1764
|
+
|
1639
1765
|
UsageResourceResult.add_member(:resource, Shapes::ShapeRef.new(shape: String, location_name: "resource"))
|
1640
1766
|
UsageResourceResult.add_member(:total, Shapes::ShapeRef.new(shape: Total, location_name: "total"))
|
1641
1767
|
UsageResourceResult.struct_class = Types::UsageResourceResult
|
@@ -1646,6 +1772,7 @@ module Aws::GuardDuty
|
|
1646
1772
|
UsageStatistics.add_member(:sum_by_data_source, Shapes::ShapeRef.new(shape: UsageDataSourceResultList, location_name: "sumByDataSource"))
|
1647
1773
|
UsageStatistics.add_member(:sum_by_resource, Shapes::ShapeRef.new(shape: UsageResourceResultList, location_name: "sumByResource"))
|
1648
1774
|
UsageStatistics.add_member(:top_resources, Shapes::ShapeRef.new(shape: UsageResourceResultList, location_name: "topResources"))
|
1775
|
+
UsageStatistics.add_member(:sum_by_feature, Shapes::ShapeRef.new(shape: UsageFeatureResultList, location_name: "sumByFeature"))
|
1649
1776
|
UsageStatistics.struct_class = Types::UsageStatistics
|
1650
1777
|
|
1651
1778
|
Volume.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
@@ -1894,6 +2021,12 @@ module Aws::GuardDuty
|
|
1894
2021
|
o.output = Shapes::ShapeRef.new(shape: DescribeOrganizationConfigurationResponse)
|
1895
2022
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1896
2023
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
2024
|
+
o[:pager] = Aws::Pager.new(
|
2025
|
+
limit_key: "max_results",
|
2026
|
+
tokens: {
|
2027
|
+
"next_token" => "next_token"
|
2028
|
+
}
|
2029
|
+
)
|
1897
2030
|
end)
|
1898
2031
|
|
1899
2032
|
api.add_operation(:describe_publishing_destination, Seahorse::Model::Operation.new.tap do |o|
|