aws-sdk-configservice 1.85.0 → 1.86.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-configservice/client.rb +223 -7
- data/lib/aws-sdk-configservice/client_api.rb +141 -2
- data/lib/aws-sdk-configservice/endpoints.rb +42 -0
- data/lib/aws-sdk-configservice/errors.rb +16 -0
- data/lib/aws-sdk-configservice/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-configservice/types.rb +527 -29
- data/lib/aws-sdk-configservice.rb +1 -1
- metadata +2 -2
@@ -59,6 +59,7 @@ module Aws::ConfigService
|
|
59
59
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
60
60
|
ChannelName = Shapes::StringShape.new(name: 'ChannelName')
|
61
61
|
ChronologicalOrder = Shapes::StringShape.new(name: 'ChronologicalOrder')
|
62
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
62
63
|
Compliance = Shapes::StructureShape.new(name: 'Compliance')
|
63
64
|
ComplianceByConfigRule = Shapes::StructureShape.new(name: 'ComplianceByConfigRule')
|
64
65
|
ComplianceByConfigRules = Shapes::ListShape.new(name: 'ComplianceByConfigRules')
|
@@ -177,6 +178,7 @@ module Aws::ConfigService
|
|
177
178
|
DescribeComplianceByResourceResponse = Shapes::StructureShape.new(name: 'DescribeComplianceByResourceResponse')
|
178
179
|
DescribeConfigRuleEvaluationStatusRequest = Shapes::StructureShape.new(name: 'DescribeConfigRuleEvaluationStatusRequest')
|
179
180
|
DescribeConfigRuleEvaluationStatusResponse = Shapes::StructureShape.new(name: 'DescribeConfigRuleEvaluationStatusResponse')
|
181
|
+
DescribeConfigRulesFilters = Shapes::StructureShape.new(name: 'DescribeConfigRulesFilters')
|
180
182
|
DescribeConfigRulesRequest = Shapes::StructureShape.new(name: 'DescribeConfigRulesRequest')
|
181
183
|
DescribeConfigRulesResponse = Shapes::StructureShape.new(name: 'DescribeConfigRulesResponse')
|
182
184
|
DescribeConfigurationAggregatorSourcesStatusRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationAggregatorSourcesStatusRequest')
|
@@ -222,10 +224,17 @@ module Aws::ConfigService
|
|
222
224
|
EmptiableStringWithCharLimit256 = Shapes::StringShape.new(name: 'EmptiableStringWithCharLimit256')
|
223
225
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
224
226
|
Evaluation = Shapes::StructureShape.new(name: 'Evaluation')
|
227
|
+
EvaluationContext = Shapes::StructureShape.new(name: 'EvaluationContext')
|
228
|
+
EvaluationContextIdentifier = Shapes::StringShape.new(name: 'EvaluationContextIdentifier')
|
229
|
+
EvaluationMode = Shapes::StringShape.new(name: 'EvaluationMode')
|
230
|
+
EvaluationModeConfiguration = Shapes::StructureShape.new(name: 'EvaluationModeConfiguration')
|
231
|
+
EvaluationModes = Shapes::ListShape.new(name: 'EvaluationModes')
|
225
232
|
EvaluationResult = Shapes::StructureShape.new(name: 'EvaluationResult')
|
226
233
|
EvaluationResultIdentifier = Shapes::StructureShape.new(name: 'EvaluationResultIdentifier')
|
227
234
|
EvaluationResultQualifier = Shapes::StructureShape.new(name: 'EvaluationResultQualifier')
|
228
235
|
EvaluationResults = Shapes::ListShape.new(name: 'EvaluationResults')
|
236
|
+
EvaluationStatus = Shapes::StructureShape.new(name: 'EvaluationStatus')
|
237
|
+
EvaluationTimeout = Shapes::IntegerShape.new(name: 'EvaluationTimeout')
|
229
238
|
Evaluations = Shapes::ListShape.new(name: 'Evaluations')
|
230
239
|
EventSource = Shapes::StringShape.new(name: 'EventSource')
|
231
240
|
ExcludedAccounts = Shapes::ListShape.new(name: 'ExcludedAccounts')
|
@@ -275,11 +284,14 @@ module Aws::ConfigService
|
|
275
284
|
GetOrganizationCustomRulePolicyResponse = Shapes::StructureShape.new(name: 'GetOrganizationCustomRulePolicyResponse')
|
276
285
|
GetResourceConfigHistoryRequest = Shapes::StructureShape.new(name: 'GetResourceConfigHistoryRequest')
|
277
286
|
GetResourceConfigHistoryResponse = Shapes::StructureShape.new(name: 'GetResourceConfigHistoryResponse')
|
287
|
+
GetResourceEvaluationSummaryRequest = Shapes::StructureShape.new(name: 'GetResourceEvaluationSummaryRequest')
|
288
|
+
GetResourceEvaluationSummaryResponse = Shapes::StructureShape.new(name: 'GetResourceEvaluationSummaryResponse')
|
278
289
|
GetStoredQueryRequest = Shapes::StructureShape.new(name: 'GetStoredQueryRequest')
|
279
290
|
GetStoredQueryResponse = Shapes::StructureShape.new(name: 'GetStoredQueryResponse')
|
280
291
|
GroupByAPILimit = Shapes::IntegerShape.new(name: 'GroupByAPILimit')
|
281
292
|
GroupedResourceCount = Shapes::StructureShape.new(name: 'GroupedResourceCount')
|
282
293
|
GroupedResourceCountList = Shapes::ListShape.new(name: 'GroupedResourceCountList')
|
294
|
+
IdempotentParameterMismatch = Shapes::StructureShape.new(name: 'IdempotentParameterMismatch')
|
283
295
|
IncludeGlobalResourceTypes = Shapes::BooleanShape.new(name: 'IncludeGlobalResourceTypes')
|
284
296
|
InsufficientDeliveryPolicyException = Shapes::StructureShape.new(name: 'InsufficientDeliveryPolicyException')
|
285
297
|
InsufficientPermissionsException = Shapes::StructureShape.new(name: 'InsufficientPermissionsException')
|
@@ -308,6 +320,9 @@ module Aws::ConfigService
|
|
308
320
|
ListConformancePackComplianceScoresResponse = Shapes::StructureShape.new(name: 'ListConformancePackComplianceScoresResponse')
|
309
321
|
ListDiscoveredResourcesRequest = Shapes::StructureShape.new(name: 'ListDiscoveredResourcesRequest')
|
310
322
|
ListDiscoveredResourcesResponse = Shapes::StructureShape.new(name: 'ListDiscoveredResourcesResponse')
|
323
|
+
ListResourceEvaluationsPageItemLimit = Shapes::IntegerShape.new(name: 'ListResourceEvaluationsPageItemLimit')
|
324
|
+
ListResourceEvaluationsRequest = Shapes::StructureShape.new(name: 'ListResourceEvaluationsRequest')
|
325
|
+
ListResourceEvaluationsResponse = Shapes::StructureShape.new(name: 'ListResourceEvaluationsResponse')
|
311
326
|
ListStoredQueriesRequest = Shapes::StructureShape.new(name: 'ListStoredQueriesRequest')
|
312
327
|
ListStoredQueriesResponse = Shapes::StructureShape.new(name: 'ListStoredQueriesResponse')
|
313
328
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
@@ -443,12 +458,20 @@ module Aws::ConfigService
|
|
443
458
|
RemediationParameters = Shapes::MapShape.new(name: 'RemediationParameters')
|
444
459
|
RemediationTargetType = Shapes::StringShape.new(name: 'RemediationTargetType')
|
445
460
|
ResourceConcurrentModificationException = Shapes::StructureShape.new(name: 'ResourceConcurrentModificationException')
|
461
|
+
ResourceConfiguration = Shapes::StringShape.new(name: 'ResourceConfiguration')
|
462
|
+
ResourceConfigurationSchemaType = Shapes::StringShape.new(name: 'ResourceConfigurationSchemaType')
|
446
463
|
ResourceCount = Shapes::StructureShape.new(name: 'ResourceCount')
|
447
464
|
ResourceCountFilters = Shapes::StructureShape.new(name: 'ResourceCountFilters')
|
448
465
|
ResourceCountGroupKey = Shapes::StringShape.new(name: 'ResourceCountGroupKey')
|
449
466
|
ResourceCounts = Shapes::ListShape.new(name: 'ResourceCounts')
|
450
467
|
ResourceCreationTime = Shapes::TimestampShape.new(name: 'ResourceCreationTime')
|
451
468
|
ResourceDeletionTime = Shapes::TimestampShape.new(name: 'ResourceDeletionTime')
|
469
|
+
ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
|
470
|
+
ResourceEvaluation = Shapes::StructureShape.new(name: 'ResourceEvaluation')
|
471
|
+
ResourceEvaluationFilters = Shapes::StructureShape.new(name: 'ResourceEvaluationFilters')
|
472
|
+
ResourceEvaluationId = Shapes::StringShape.new(name: 'ResourceEvaluationId')
|
473
|
+
ResourceEvaluationStatus = Shapes::StringShape.new(name: 'ResourceEvaluationStatus')
|
474
|
+
ResourceEvaluations = Shapes::ListShape.new(name: 'ResourceEvaluations')
|
452
475
|
ResourceFilters = Shapes::StructureShape.new(name: 'ResourceFilters')
|
453
476
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
454
477
|
ResourceIdList = Shapes::ListShape.new(name: 'ResourceIdList')
|
@@ -495,6 +518,8 @@ module Aws::ConfigService
|
|
495
518
|
StartConfigurationRecorderRequest = Shapes::StructureShape.new(name: 'StartConfigurationRecorderRequest')
|
496
519
|
StartRemediationExecutionRequest = Shapes::StructureShape.new(name: 'StartRemediationExecutionRequest')
|
497
520
|
StartRemediationExecutionResponse = Shapes::StructureShape.new(name: 'StartRemediationExecutionResponse')
|
521
|
+
StartResourceEvaluationRequest = Shapes::StructureShape.new(name: 'StartResourceEvaluationRequest')
|
522
|
+
StartResourceEvaluationResponse = Shapes::StructureShape.new(name: 'StartResourceEvaluationResponse')
|
498
523
|
StaticParameterValues = Shapes::ListShape.new(name: 'StaticParameterValues')
|
499
524
|
StaticValue = Shapes::StructureShape.new(name: 'StaticValue')
|
500
525
|
StatusDetailFilters = Shapes::StructureShape.new(name: 'StatusDetailFilters')
|
@@ -524,6 +549,7 @@ module Aws::ConfigService
|
|
524
549
|
TemplateBody = Shapes::StringShape.new(name: 'TemplateBody')
|
525
550
|
TemplateS3Uri = Shapes::StringShape.new(name: 'TemplateS3Uri')
|
526
551
|
TemplateSSMDocumentDetails = Shapes::StructureShape.new(name: 'TemplateSSMDocumentDetails')
|
552
|
+
TimeWindow = Shapes::StructureShape.new(name: 'TimeWindow')
|
527
553
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
528
554
|
UnprocessedResourceIdentifierList = Shapes::ListShape.new(name: 'UnprocessedResourceIdentifierList')
|
529
555
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
@@ -716,6 +742,7 @@ module Aws::ConfigService
|
|
716
742
|
ConfigRule.add_member(:maximum_execution_frequency, Shapes::ShapeRef.new(shape: MaximumExecutionFrequency, location_name: "MaximumExecutionFrequency"))
|
717
743
|
ConfigRule.add_member(:config_rule_state, Shapes::ShapeRef.new(shape: ConfigRuleState, location_name: "ConfigRuleState"))
|
718
744
|
ConfigRule.add_member(:created_by, Shapes::ShapeRef.new(shape: StringWithCharLimit256, location_name: "CreatedBy"))
|
745
|
+
ConfigRule.add_member(:evaluation_modes, Shapes::ShapeRef.new(shape: EvaluationModes, location_name: "EvaluationModes"))
|
719
746
|
ConfigRule.struct_class = Types::ConfigRule
|
720
747
|
|
721
748
|
ConfigRuleComplianceFilters.add_member(:config_rule_name, Shapes::ShapeRef.new(shape: ConfigRuleName, location_name: "ConfigRuleName"))
|
@@ -1052,8 +1079,12 @@ module Aws::ConfigService
|
|
1052
1079
|
DescribeConfigRuleEvaluationStatusResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
1053
1080
|
DescribeConfigRuleEvaluationStatusResponse.struct_class = Types::DescribeConfigRuleEvaluationStatusResponse
|
1054
1081
|
|
1082
|
+
DescribeConfigRulesFilters.add_member(:evaluation_mode, Shapes::ShapeRef.new(shape: EvaluationMode, location_name: "EvaluationMode"))
|
1083
|
+
DescribeConfigRulesFilters.struct_class = Types::DescribeConfigRulesFilters
|
1084
|
+
|
1055
1085
|
DescribeConfigRulesRequest.add_member(:config_rule_names, Shapes::ShapeRef.new(shape: ConfigRuleNames, location_name: "ConfigRuleNames"))
|
1056
1086
|
DescribeConfigRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
1087
|
+
DescribeConfigRulesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: DescribeConfigRulesFilters, location_name: "Filters"))
|
1057
1088
|
DescribeConfigRulesRequest.struct_class = Types::DescribeConfigRulesRequest
|
1058
1089
|
|
1059
1090
|
DescribeConfigRulesResponse.add_member(:config_rules, Shapes::ShapeRef.new(shape: ConfigRules, location_name: "ConfigRules"))
|
@@ -1219,6 +1250,14 @@ module Aws::ConfigService
|
|
1219
1250
|
Evaluation.add_member(:ordering_timestamp, Shapes::ShapeRef.new(shape: OrderingTimestamp, required: true, location_name: "OrderingTimestamp"))
|
1220
1251
|
Evaluation.struct_class = Types::Evaluation
|
1221
1252
|
|
1253
|
+
EvaluationContext.add_member(:evaluation_context_identifier, Shapes::ShapeRef.new(shape: EvaluationContextIdentifier, location_name: "EvaluationContextIdentifier"))
|
1254
|
+
EvaluationContext.struct_class = Types::EvaluationContext
|
1255
|
+
|
1256
|
+
EvaluationModeConfiguration.add_member(:mode, Shapes::ShapeRef.new(shape: EvaluationMode, location_name: "Mode"))
|
1257
|
+
EvaluationModeConfiguration.struct_class = Types::EvaluationModeConfiguration
|
1258
|
+
|
1259
|
+
EvaluationModes.member = Shapes::ShapeRef.new(shape: EvaluationModeConfiguration)
|
1260
|
+
|
1222
1261
|
EvaluationResult.add_member(:evaluation_result_identifier, Shapes::ShapeRef.new(shape: EvaluationResultIdentifier, location_name: "EvaluationResultIdentifier"))
|
1223
1262
|
EvaluationResult.add_member(:compliance_type, Shapes::ShapeRef.new(shape: ComplianceType, location_name: "ComplianceType"))
|
1224
1263
|
EvaluationResult.add_member(:result_recorded_time, Shapes::ShapeRef.new(shape: Date, location_name: "ResultRecordedTime"))
|
@@ -1229,15 +1268,21 @@ module Aws::ConfigService
|
|
1229
1268
|
|
1230
1269
|
EvaluationResultIdentifier.add_member(:evaluation_result_qualifier, Shapes::ShapeRef.new(shape: EvaluationResultQualifier, location_name: "EvaluationResultQualifier"))
|
1231
1270
|
EvaluationResultIdentifier.add_member(:ordering_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "OrderingTimestamp"))
|
1271
|
+
EvaluationResultIdentifier.add_member(:resource_evaluation_id, Shapes::ShapeRef.new(shape: ResourceEvaluationId, location_name: "ResourceEvaluationId"))
|
1232
1272
|
EvaluationResultIdentifier.struct_class = Types::EvaluationResultIdentifier
|
1233
1273
|
|
1234
1274
|
EvaluationResultQualifier.add_member(:config_rule_name, Shapes::ShapeRef.new(shape: ConfigRuleName, location_name: "ConfigRuleName"))
|
1235
1275
|
EvaluationResultQualifier.add_member(:resource_type, Shapes::ShapeRef.new(shape: StringWithCharLimit256, location_name: "ResourceType"))
|
1236
1276
|
EvaluationResultQualifier.add_member(:resource_id, Shapes::ShapeRef.new(shape: BaseResourceId, location_name: "ResourceId"))
|
1277
|
+
EvaluationResultQualifier.add_member(:evaluation_mode, Shapes::ShapeRef.new(shape: EvaluationMode, location_name: "EvaluationMode"))
|
1237
1278
|
EvaluationResultQualifier.struct_class = Types::EvaluationResultQualifier
|
1238
1279
|
|
1239
1280
|
EvaluationResults.member = Shapes::ShapeRef.new(shape: EvaluationResult)
|
1240
1281
|
|
1282
|
+
EvaluationStatus.add_member(:status, Shapes::ShapeRef.new(shape: ResourceEvaluationStatus, required: true, location_name: "Status"))
|
1283
|
+
EvaluationStatus.add_member(:failure_reason, Shapes::ShapeRef.new(shape: StringWithCharLimit1024, location_name: "FailureReason"))
|
1284
|
+
EvaluationStatus.struct_class = Types::EvaluationStatus
|
1285
|
+
|
1241
1286
|
Evaluations.member = Shapes::ShapeRef.new(shape: Evaluation)
|
1242
1287
|
|
1243
1288
|
ExcludedAccounts.member = Shapes::ShapeRef.new(shape: AccountId)
|
@@ -1342,10 +1387,11 @@ module Aws::ConfigService
|
|
1342
1387
|
GetComplianceDetailsByConfigRuleResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1343
1388
|
GetComplianceDetailsByConfigRuleResponse.struct_class = Types::GetComplianceDetailsByConfigRuleResponse
|
1344
1389
|
|
1345
|
-
GetComplianceDetailsByResourceRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: StringWithCharLimit256,
|
1346
|
-
GetComplianceDetailsByResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: BaseResourceId,
|
1390
|
+
GetComplianceDetailsByResourceRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: StringWithCharLimit256, location_name: "ResourceType"))
|
1391
|
+
GetComplianceDetailsByResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: BaseResourceId, location_name: "ResourceId"))
|
1347
1392
|
GetComplianceDetailsByResourceRequest.add_member(:compliance_types, Shapes::ShapeRef.new(shape: ComplianceTypes, location_name: "ComplianceTypes"))
|
1348
1393
|
GetComplianceDetailsByResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
1394
|
+
GetComplianceDetailsByResourceRequest.add_member(:resource_evaluation_id, Shapes::ShapeRef.new(shape: ResourceEvaluationId, location_name: "ResourceEvaluationId"))
|
1349
1395
|
GetComplianceDetailsByResourceRequest.struct_class = Types::GetComplianceDetailsByResourceRequest
|
1350
1396
|
|
1351
1397
|
GetComplianceDetailsByResourceResponse.add_member(:evaluation_results, Shapes::ShapeRef.new(shape: EvaluationResults, location_name: "EvaluationResults"))
|
@@ -1436,6 +1482,18 @@ module Aws::ConfigService
|
|
1436
1482
|
GetResourceConfigHistoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1437
1483
|
GetResourceConfigHistoryResponse.struct_class = Types::GetResourceConfigHistoryResponse
|
1438
1484
|
|
1485
|
+
GetResourceEvaluationSummaryRequest.add_member(:resource_evaluation_id, Shapes::ShapeRef.new(shape: ResourceEvaluationId, required: true, location_name: "ResourceEvaluationId"))
|
1486
|
+
GetResourceEvaluationSummaryRequest.struct_class = Types::GetResourceEvaluationSummaryRequest
|
1487
|
+
|
1488
|
+
GetResourceEvaluationSummaryResponse.add_member(:resource_evaluation_id, Shapes::ShapeRef.new(shape: ResourceEvaluationId, location_name: "ResourceEvaluationId"))
|
1489
|
+
GetResourceEvaluationSummaryResponse.add_member(:evaluation_mode, Shapes::ShapeRef.new(shape: EvaluationMode, location_name: "EvaluationMode"))
|
1490
|
+
GetResourceEvaluationSummaryResponse.add_member(:evaluation_status, Shapes::ShapeRef.new(shape: EvaluationStatus, location_name: "EvaluationStatus"))
|
1491
|
+
GetResourceEvaluationSummaryResponse.add_member(:evaluation_start_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "EvaluationStartTimestamp"))
|
1492
|
+
GetResourceEvaluationSummaryResponse.add_member(:compliance, Shapes::ShapeRef.new(shape: ComplianceType, location_name: "Compliance"))
|
1493
|
+
GetResourceEvaluationSummaryResponse.add_member(:evaluation_context, Shapes::ShapeRef.new(shape: EvaluationContext, location_name: "EvaluationContext"))
|
1494
|
+
GetResourceEvaluationSummaryResponse.add_member(:resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "ResourceDetails"))
|
1495
|
+
GetResourceEvaluationSummaryResponse.struct_class = Types::GetResourceEvaluationSummaryResponse
|
1496
|
+
|
1439
1497
|
GetStoredQueryRequest.add_member(:query_name, Shapes::ShapeRef.new(shape: QueryName, required: true, location_name: "QueryName"))
|
1440
1498
|
GetStoredQueryRequest.struct_class = Types::GetStoredQueryRequest
|
1441
1499
|
|
@@ -1448,6 +1506,9 @@ module Aws::ConfigService
|
|
1448
1506
|
|
1449
1507
|
GroupedResourceCountList.member = Shapes::ShapeRef.new(shape: GroupedResourceCount)
|
1450
1508
|
|
1509
|
+
IdempotentParameterMismatch.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
1510
|
+
IdempotentParameterMismatch.struct_class = Types::IdempotentParameterMismatch
|
1511
|
+
|
1451
1512
|
InsufficientDeliveryPolicyException.struct_class = Types::InsufficientDeliveryPolicyException
|
1452
1513
|
|
1453
1514
|
InsufficientPermissionsException.struct_class = Types::InsufficientPermissionsException
|
@@ -1516,6 +1577,15 @@ module Aws::ConfigService
|
|
1516
1577
|
ListDiscoveredResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1517
1578
|
ListDiscoveredResourcesResponse.struct_class = Types::ListDiscoveredResourcesResponse
|
1518
1579
|
|
1580
|
+
ListResourceEvaluationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ResourceEvaluationFilters, location_name: "Filters"))
|
1581
|
+
ListResourceEvaluationsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: ListResourceEvaluationsPageItemLimit, location_name: "Limit"))
|
1582
|
+
ListResourceEvaluationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
1583
|
+
ListResourceEvaluationsRequest.struct_class = Types::ListResourceEvaluationsRequest
|
1584
|
+
|
1585
|
+
ListResourceEvaluationsResponse.add_member(:resource_evaluations, Shapes::ShapeRef.new(shape: ResourceEvaluations, location_name: "ResourceEvaluations"))
|
1586
|
+
ListResourceEvaluationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
1587
|
+
ListResourceEvaluationsResponse.struct_class = Types::ListResourceEvaluationsResponse
|
1588
|
+
|
1519
1589
|
ListStoredQueriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken", metadata: {"box"=>true}))
|
1520
1590
|
ListStoredQueriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Limit, location_name: "MaxResults", metadata: {"box"=>true}))
|
1521
1591
|
ListStoredQueriesRequest.struct_class = Types::ListStoredQueriesRequest
|
@@ -1921,6 +1991,24 @@ module Aws::ConfigService
|
|
1921
1991
|
|
1922
1992
|
ResourceCounts.member = Shapes::ShapeRef.new(shape: ResourceCount)
|
1923
1993
|
|
1994
|
+
ResourceDetails.add_member(:resource_id, Shapes::ShapeRef.new(shape: BaseResourceId, required: true, location_name: "ResourceId"))
|
1995
|
+
ResourceDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: StringWithCharLimit256, required: true, location_name: "ResourceType"))
|
1996
|
+
ResourceDetails.add_member(:resource_configuration, Shapes::ShapeRef.new(shape: ResourceConfiguration, required: true, location_name: "ResourceConfiguration"))
|
1997
|
+
ResourceDetails.add_member(:resource_configuration_schema_type, Shapes::ShapeRef.new(shape: ResourceConfigurationSchemaType, location_name: "ResourceConfigurationSchemaType"))
|
1998
|
+
ResourceDetails.struct_class = Types::ResourceDetails
|
1999
|
+
|
2000
|
+
ResourceEvaluation.add_member(:resource_evaluation_id, Shapes::ShapeRef.new(shape: ResourceEvaluationId, location_name: "ResourceEvaluationId"))
|
2001
|
+
ResourceEvaluation.add_member(:evaluation_mode, Shapes::ShapeRef.new(shape: EvaluationMode, location_name: "EvaluationMode"))
|
2002
|
+
ResourceEvaluation.add_member(:evaluation_start_timestamp, Shapes::ShapeRef.new(shape: Date, location_name: "EvaluationStartTimestamp"))
|
2003
|
+
ResourceEvaluation.struct_class = Types::ResourceEvaluation
|
2004
|
+
|
2005
|
+
ResourceEvaluationFilters.add_member(:evaluation_mode, Shapes::ShapeRef.new(shape: EvaluationMode, location_name: "EvaluationMode"))
|
2006
|
+
ResourceEvaluationFilters.add_member(:time_window, Shapes::ShapeRef.new(shape: TimeWindow, location_name: "TimeWindow"))
|
2007
|
+
ResourceEvaluationFilters.add_member(:evaluation_context_identifier, Shapes::ShapeRef.new(shape: EvaluationContextIdentifier, location_name: "EvaluationContextIdentifier"))
|
2008
|
+
ResourceEvaluationFilters.struct_class = Types::ResourceEvaluationFilters
|
2009
|
+
|
2010
|
+
ResourceEvaluations.member = Shapes::ShapeRef.new(shape: ResourceEvaluation)
|
2011
|
+
|
1924
2012
|
ResourceFilters.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
1925
2013
|
ResourceFilters.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
|
1926
2014
|
ResourceFilters.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ResourceName"))
|
@@ -2031,6 +2119,16 @@ module Aws::ConfigService
|
|
2031
2119
|
StartRemediationExecutionResponse.add_member(:failed_items, Shapes::ShapeRef.new(shape: ResourceKeys, location_name: "FailedItems"))
|
2032
2120
|
StartRemediationExecutionResponse.struct_class = Types::StartRemediationExecutionResponse
|
2033
2121
|
|
2122
|
+
StartResourceEvaluationRequest.add_member(:resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, required: true, location_name: "ResourceDetails"))
|
2123
|
+
StartResourceEvaluationRequest.add_member(:evaluation_context, Shapes::ShapeRef.new(shape: EvaluationContext, location_name: "EvaluationContext"))
|
2124
|
+
StartResourceEvaluationRequest.add_member(:evaluation_mode, Shapes::ShapeRef.new(shape: EvaluationMode, required: true, location_name: "EvaluationMode"))
|
2125
|
+
StartResourceEvaluationRequest.add_member(:evaluation_timeout, Shapes::ShapeRef.new(shape: EvaluationTimeout, location_name: "EvaluationTimeout"))
|
2126
|
+
StartResourceEvaluationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
|
2127
|
+
StartResourceEvaluationRequest.struct_class = Types::StartResourceEvaluationRequest
|
2128
|
+
|
2129
|
+
StartResourceEvaluationResponse.add_member(:resource_evaluation_id, Shapes::ShapeRef.new(shape: ResourceEvaluationId, location_name: "ResourceEvaluationId"))
|
2130
|
+
StartResourceEvaluationResponse.struct_class = Types::StartResourceEvaluationResponse
|
2131
|
+
|
2034
2132
|
StaticParameterValues.member = Shapes::ShapeRef.new(shape: StringWithCharLimit256)
|
2035
2133
|
|
2036
2134
|
StaticValue.add_member(:values, Shapes::ShapeRef.new(shape: StaticParameterValues, required: true, location_name: "Values"))
|
@@ -2082,6 +2180,10 @@ module Aws::ConfigService
|
|
2082
2180
|
TemplateSSMDocumentDetails.add_member(:document_version, Shapes::ShapeRef.new(shape: SSMDocumentVersion, location_name: "DocumentVersion"))
|
2083
2181
|
TemplateSSMDocumentDetails.struct_class = Types::TemplateSSMDocumentDetails
|
2084
2182
|
|
2183
|
+
TimeWindow.add_member(:start_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartTime"))
|
2184
|
+
TimeWindow.add_member(:end_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndTime"))
|
2185
|
+
TimeWindow.struct_class = Types::TimeWindow
|
2186
|
+
|
2085
2187
|
TooManyTagsException.struct_class = Types::TooManyTagsException
|
2086
2188
|
|
2087
2189
|
UnprocessedResourceIdentifierList.member = Shapes::ShapeRef.new(shape: AggregateResourceIdentifier)
|
@@ -2401,6 +2503,7 @@ module Aws::ConfigService
|
|
2401
2503
|
o.output = Shapes::ShapeRef.new(shape: DescribeConfigRulesResponse)
|
2402
2504
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchConfigRuleException)
|
2403
2505
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
2506
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2404
2507
|
o[:pager] = Aws::Pager.new(
|
2405
2508
|
tokens: {
|
2406
2509
|
"next_token" => "next_token"
|
@@ -2940,6 +3043,15 @@ module Aws::ConfigService
|
|
2940
3043
|
)
|
2941
3044
|
end)
|
2942
3045
|
|
3046
|
+
api.add_operation(:get_resource_evaluation_summary, Seahorse::Model::Operation.new.tap do |o|
|
3047
|
+
o.name = "GetResourceEvaluationSummary"
|
3048
|
+
o.http_method = "POST"
|
3049
|
+
o.http_request_uri = "/"
|
3050
|
+
o.input = Shapes::ShapeRef.new(shape: GetResourceEvaluationSummaryRequest)
|
3051
|
+
o.output = Shapes::ShapeRef.new(shape: GetResourceEvaluationSummaryResponse)
|
3052
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3053
|
+
end)
|
3054
|
+
|
2943
3055
|
api.add_operation(:get_stored_query, Seahorse::Model::Operation.new.tap do |o|
|
2944
3056
|
o.name = "GetStoredQuery"
|
2945
3057
|
o.http_method = "POST"
|
@@ -3003,6 +3115,23 @@ module Aws::ConfigService
|
|
3003
3115
|
)
|
3004
3116
|
end)
|
3005
3117
|
|
3118
|
+
api.add_operation(:list_resource_evaluations, Seahorse::Model::Operation.new.tap do |o|
|
3119
|
+
o.name = "ListResourceEvaluations"
|
3120
|
+
o.http_method = "POST"
|
3121
|
+
o.http_request_uri = "/"
|
3122
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourceEvaluationsRequest)
|
3123
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourceEvaluationsResponse)
|
3124
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
3125
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
3126
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTimeRangeException)
|
3127
|
+
o[:pager] = Aws::Pager.new(
|
3128
|
+
limit_key: "limit",
|
3129
|
+
tokens: {
|
3130
|
+
"next_token" => "next_token"
|
3131
|
+
}
|
3132
|
+
)
|
3133
|
+
end)
|
3134
|
+
|
3006
3135
|
api.add_operation(:list_stored_queries, Seahorse::Model::Operation.new.tap do |o|
|
3007
3136
|
o.name = "ListStoredQueries"
|
3008
3137
|
o.http_method = "POST"
|
@@ -3288,6 +3417,16 @@ module Aws::ConfigService
|
|
3288
3417
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchRemediationConfigurationException)
|
3289
3418
|
end)
|
3290
3419
|
|
3420
|
+
api.add_operation(:start_resource_evaluation, Seahorse::Model::Operation.new.tap do |o|
|
3421
|
+
o.name = "StartResourceEvaluation"
|
3422
|
+
o.http_method = "POST"
|
3423
|
+
o.http_request_uri = "/"
|
3424
|
+
o.input = Shapes::ShapeRef.new(shape: StartResourceEvaluationRequest)
|
3425
|
+
o.output = Shapes::ShapeRef.new(shape: StartResourceEvaluationResponse)
|
3426
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
3427
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatch)
|
3428
|
+
end)
|
3429
|
+
|
3291
3430
|
api.add_operation(:stop_configuration_recorder, Seahorse::Model::Operation.new.tap do |o|
|
3292
3431
|
o.name = "StopConfigurationRecorder"
|
3293
3432
|
o.http_method = "POST"
|
@@ -851,6 +851,20 @@ module Aws::ConfigService
|
|
851
851
|
end
|
852
852
|
end
|
853
853
|
|
854
|
+
class GetResourceEvaluationSummary
|
855
|
+
def self.build(context)
|
856
|
+
unless context.config.regional_endpoint
|
857
|
+
endpoint = context.config.endpoint.to_s
|
858
|
+
end
|
859
|
+
Aws::ConfigService::EndpointParameters.new(
|
860
|
+
region: context.config.region,
|
861
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
862
|
+
use_fips: context.config.use_fips_endpoint,
|
863
|
+
endpoint: endpoint,
|
864
|
+
)
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
854
868
|
class GetStoredQuery
|
855
869
|
def self.build(context)
|
856
870
|
unless context.config.regional_endpoint
|
@@ -907,6 +921,20 @@ module Aws::ConfigService
|
|
907
921
|
end
|
908
922
|
end
|
909
923
|
|
924
|
+
class ListResourceEvaluations
|
925
|
+
def self.build(context)
|
926
|
+
unless context.config.regional_endpoint
|
927
|
+
endpoint = context.config.endpoint.to_s
|
928
|
+
end
|
929
|
+
Aws::ConfigService::EndpointParameters.new(
|
930
|
+
region: context.config.region,
|
931
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
932
|
+
use_fips: context.config.use_fips_endpoint,
|
933
|
+
endpoint: endpoint,
|
934
|
+
)
|
935
|
+
end
|
936
|
+
end
|
937
|
+
|
910
938
|
class ListStoredQueries
|
911
939
|
def self.build(context)
|
912
940
|
unless context.config.regional_endpoint
|
@@ -1215,6 +1243,20 @@ module Aws::ConfigService
|
|
1215
1243
|
end
|
1216
1244
|
end
|
1217
1245
|
|
1246
|
+
class StartResourceEvaluation
|
1247
|
+
def self.build(context)
|
1248
|
+
unless context.config.regional_endpoint
|
1249
|
+
endpoint = context.config.endpoint.to_s
|
1250
|
+
end
|
1251
|
+
Aws::ConfigService::EndpointParameters.new(
|
1252
|
+
region: context.config.region,
|
1253
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1254
|
+
use_fips: context.config.use_fips_endpoint,
|
1255
|
+
endpoint: endpoint,
|
1256
|
+
)
|
1257
|
+
end
|
1258
|
+
end
|
1259
|
+
|
1218
1260
|
class StopConfigurationRecorder
|
1219
1261
|
def self.build(context)
|
1220
1262
|
unless context.config.regional_endpoint
|
@@ -28,6 +28,7 @@ module Aws::ConfigService
|
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
30
|
# * {ConformancePackTemplateValidationException}
|
31
|
+
# * {IdempotentParameterMismatch}
|
31
32
|
# * {InsufficientDeliveryPolicyException}
|
32
33
|
# * {InsufficientPermissionsException}
|
33
34
|
# * {InvalidConfigurationRecorderNameException}
|
@@ -97,6 +98,21 @@ module Aws::ConfigService
|
|
97
98
|
end
|
98
99
|
end
|
99
100
|
|
101
|
+
class IdempotentParameterMismatch < ServiceError
|
102
|
+
|
103
|
+
# @param [Seahorse::Client::RequestContext] context
|
104
|
+
# @param [String] message
|
105
|
+
# @param [Aws::ConfigService::Types::IdempotentParameterMismatch] data
|
106
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
107
|
+
super(context, message, data)
|
108
|
+
end
|
109
|
+
|
110
|
+
# @return [String]
|
111
|
+
def message
|
112
|
+
@message || @data[:message]
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
100
116
|
class InsufficientDeliveryPolicyException < ServiceError
|
101
117
|
|
102
118
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -176,6 +176,8 @@ module Aws::ConfigService
|
|
176
176
|
Aws::ConfigService::Endpoints::GetOrganizationCustomRulePolicy.build(context)
|
177
177
|
when :get_resource_config_history
|
178
178
|
Aws::ConfigService::Endpoints::GetResourceConfigHistory.build(context)
|
179
|
+
when :get_resource_evaluation_summary
|
180
|
+
Aws::ConfigService::Endpoints::GetResourceEvaluationSummary.build(context)
|
179
181
|
when :get_stored_query
|
180
182
|
Aws::ConfigService::Endpoints::GetStoredQuery.build(context)
|
181
183
|
when :list_aggregate_discovered_resources
|
@@ -184,6 +186,8 @@ module Aws::ConfigService
|
|
184
186
|
Aws::ConfigService::Endpoints::ListConformancePackComplianceScores.build(context)
|
185
187
|
when :list_discovered_resources
|
186
188
|
Aws::ConfigService::Endpoints::ListDiscoveredResources.build(context)
|
189
|
+
when :list_resource_evaluations
|
190
|
+
Aws::ConfigService::Endpoints::ListResourceEvaluations.build(context)
|
187
191
|
when :list_stored_queries
|
188
192
|
Aws::ConfigService::Endpoints::ListStoredQueries.build(context)
|
189
193
|
when :list_tags_for_resource
|
@@ -228,6 +232,8 @@ module Aws::ConfigService
|
|
228
232
|
Aws::ConfigService::Endpoints::StartConfigurationRecorder.build(context)
|
229
233
|
when :start_remediation_execution
|
230
234
|
Aws::ConfigService::Endpoints::StartRemediationExecution.build(context)
|
235
|
+
when :start_resource_evaluation
|
236
|
+
Aws::ConfigService::Endpoints::StartResourceEvaluation.build(context)
|
231
237
|
when :stop_configuration_recorder
|
232
238
|
Aws::ConfigService::Endpoints::StopConfigurationRecorder.build(context)
|
233
239
|
when :tag_resource
|