aws-sdk-configservice 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-configservice.rb +1 -1
- data/lib/aws-sdk-configservice/client.rb +659 -74
- data/lib/aws-sdk-configservice/client_api.rb +374 -0
- data/lib/aws-sdk-configservice/types.rb +1010 -69
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0b85baac1cb10d320c85f6cc86e166cc81ac9b3
|
4
|
+
data.tar.gz: d9a5f6d1df11d54b6dfb2b3b974d59102d2d9d87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdaa705654bd2597f93b326fa32775024c549fc7f2dbc0d509604a585ba56d14cee6661b82e5d1e3cb6c6f822a5643547250c0ce059493f114961c5b302f91e7
|
7
|
+
data.tar.gz: 35e48ddfa633db3f5e844dc9f252eb52fe18186f859e51d20d8a077fc4d68263fb9f08c79f27e271a83792d7680ffdf72f7c556e9afce75d84c7d285f7f9870c
|
@@ -219,6 +219,33 @@ module Aws::ConfigService
|
|
219
219
|
req.send_request(options)
|
220
220
|
end
|
221
221
|
|
222
|
+
# Deletes the authorization granted to the specified configuration
|
223
|
+
# aggregator account in a specified region.
|
224
|
+
#
|
225
|
+
# @option params [required, String] :authorized_account_id
|
226
|
+
# The 12-digit account ID of the account authorized to aggregate data.
|
227
|
+
#
|
228
|
+
# @option params [required, String] :authorized_aws_region
|
229
|
+
# The region authorized to collect aggregated data.
|
230
|
+
#
|
231
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
232
|
+
#
|
233
|
+
# @example Request syntax with placeholder values
|
234
|
+
#
|
235
|
+
# resp = client.delete_aggregation_authorization({
|
236
|
+
# authorized_account_id: "AccountId", # required
|
237
|
+
# authorized_aws_region: "AwsRegion", # required
|
238
|
+
# })
|
239
|
+
#
|
240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteAggregationAuthorization AWS API Documentation
|
241
|
+
#
|
242
|
+
# @overload delete_aggregation_authorization(params = {})
|
243
|
+
# @param [Hash] params ({})
|
244
|
+
def delete_aggregation_authorization(params = {}, options = {})
|
245
|
+
req = build_request(:delete_aggregation_authorization, params)
|
246
|
+
req.send_request(options)
|
247
|
+
end
|
248
|
+
|
222
249
|
# Deletes the specified AWS Config rule and all of its evaluation
|
223
250
|
# results.
|
224
251
|
#
|
@@ -250,6 +277,29 @@ module Aws::ConfigService
|
|
250
277
|
req.send_request(options)
|
251
278
|
end
|
252
279
|
|
280
|
+
# Deletes the specified configuration aggregator and the aggregated data
|
281
|
+
# associated with the aggregator.
|
282
|
+
#
|
283
|
+
# @option params [required, String] :configuration_aggregator_name
|
284
|
+
# The name of the configuration aggregator.
|
285
|
+
#
|
286
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
287
|
+
#
|
288
|
+
# @example Request syntax with placeholder values
|
289
|
+
#
|
290
|
+
# resp = client.delete_configuration_aggregator({
|
291
|
+
# configuration_aggregator_name: "ConfigurationAggregatorName", # required
|
292
|
+
# })
|
293
|
+
#
|
294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationAggregator AWS API Documentation
|
295
|
+
#
|
296
|
+
# @overload delete_configuration_aggregator(params = {})
|
297
|
+
# @param [Hash] params ({})
|
298
|
+
def delete_configuration_aggregator(params = {}, options = {})
|
299
|
+
req = build_request(:delete_configuration_aggregator, params)
|
300
|
+
req.send_request(options)
|
301
|
+
end
|
302
|
+
|
253
303
|
# Deletes the configuration recorder.
|
254
304
|
#
|
255
305
|
# After the configuration recorder is deleted, AWS Config will not
|
@@ -309,13 +359,13 @@ module Aws::ConfigService
|
|
309
359
|
req.send_request(options)
|
310
360
|
end
|
311
361
|
|
312
|
-
# Deletes the evaluation results for the specified Config rule. You
|
313
|
-
# specify one Config rule per request. After you delete the
|
314
|
-
# results, you can call the StartConfigRulesEvaluation API to
|
315
|
-
# evaluating your AWS resources against the rule.
|
362
|
+
# Deletes the evaluation results for the specified AWS Config rule. You
|
363
|
+
# can specify one AWS Config rule per request. After you delete the
|
364
|
+
# evaluation results, you can call the StartConfigRulesEvaluation API to
|
365
|
+
# start evaluating your AWS resources against the rule.
|
316
366
|
#
|
317
367
|
# @option params [required, String] :config_rule_name
|
318
|
-
# The name of the Config rule for which you want to delete the
|
368
|
+
# The name of the AWS Config rule for which you want to delete the
|
319
369
|
# evaluation results.
|
320
370
|
#
|
321
371
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -335,18 +385,44 @@ module Aws::ConfigService
|
|
335
385
|
req.send_request(options)
|
336
386
|
end
|
337
387
|
|
388
|
+
# Deletes pending authorization requests for a specified aggregator
|
389
|
+
# account in a specified region.
|
390
|
+
#
|
391
|
+
# @option params [required, String] :requester_account_id
|
392
|
+
# The 12-digit account ID of the account requesting to aggregate data.
|
393
|
+
#
|
394
|
+
# @option params [required, String] :requester_aws_region
|
395
|
+
# The region requesting to aggregate data.
|
396
|
+
#
|
397
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
398
|
+
#
|
399
|
+
# @example Request syntax with placeholder values
|
400
|
+
#
|
401
|
+
# resp = client.delete_pending_aggregation_request({
|
402
|
+
# requester_account_id: "AccountId", # required
|
403
|
+
# requester_aws_region: "AwsRegion", # required
|
404
|
+
# })
|
405
|
+
#
|
406
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeletePendingAggregationRequest AWS API Documentation
|
407
|
+
#
|
408
|
+
# @overload delete_pending_aggregation_request(params = {})
|
409
|
+
# @param [Hash] params ({})
|
410
|
+
def delete_pending_aggregation_request(params = {}, options = {})
|
411
|
+
req = build_request(:delete_pending_aggregation_request, params)
|
412
|
+
req.send_request(options)
|
413
|
+
end
|
414
|
+
|
338
415
|
# Schedules delivery of a configuration snapshot to the Amazon S3 bucket
|
339
416
|
# in the specified delivery channel. After the delivery has started, AWS
|
340
|
-
# Config sends following notifications using an Amazon SNS topic
|
341
|
-
# you have specified.
|
417
|
+
# Config sends the following notifications using an Amazon SNS topic
|
418
|
+
# that you have specified.
|
342
419
|
#
|
343
|
-
# * Notification of
|
420
|
+
# * Notification of the start of the delivery.
|
344
421
|
#
|
345
|
-
# * Notification of delivery
|
346
|
-
# completed.
|
422
|
+
# * Notification of the completion of the delivery, if the delivery was
|
423
|
+
# successfully completed.
|
347
424
|
#
|
348
|
-
# * Notification of delivery failure, if the delivery failed
|
349
|
-
# complete.
|
425
|
+
# * Notification of delivery failure, if the delivery failed.
|
350
426
|
#
|
351
427
|
# @option params [required, String] :delivery_channel_name
|
352
428
|
# The name of the delivery channel through which the snapshot is
|
@@ -375,12 +451,114 @@ module Aws::ConfigService
|
|
375
451
|
req.send_request(options)
|
376
452
|
end
|
377
453
|
|
454
|
+
# Returns a list of compliant and noncompliant rules with the number of
|
455
|
+
# resources for compliant and noncompliant rules.
|
456
|
+
#
|
457
|
+
# <note markdown="1"> The results can return an empty result page, but if you have a
|
458
|
+
# nextToken, the results are displayed on the next page.
|
459
|
+
#
|
460
|
+
# </note>
|
461
|
+
#
|
462
|
+
# @option params [required, String] :configuration_aggregator_name
|
463
|
+
# The name of the configuration aggregator.
|
464
|
+
#
|
465
|
+
# @option params [Types::ConfigRuleComplianceFilters] :filters
|
466
|
+
# Filters the results by ConfigRuleComplianceFilters object.
|
467
|
+
#
|
468
|
+
# @option params [Integer] :limit
|
469
|
+
# The maximum number of evaluation results returned on each page. The
|
470
|
+
# default is maximum. If you specify 0, AWS Config uses the default.
|
471
|
+
#
|
472
|
+
# @option params [String] :next_token
|
473
|
+
# The nextToken string returned on a previous page that you use to get
|
474
|
+
# the next page of results in a paginated response.
|
475
|
+
#
|
476
|
+
# @return [Types::DescribeAggregateComplianceByConfigRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
477
|
+
#
|
478
|
+
# * {Types::DescribeAggregateComplianceByConfigRulesResponse#aggregate_compliance_by_config_rules #aggregate_compliance_by_config_rules} => Array<Types::AggregateComplianceByConfigRule>
|
479
|
+
# * {Types::DescribeAggregateComplianceByConfigRulesResponse#next_token #next_token} => String
|
480
|
+
#
|
481
|
+
# @example Request syntax with placeholder values
|
482
|
+
#
|
483
|
+
# resp = client.describe_aggregate_compliance_by_config_rules({
|
484
|
+
# configuration_aggregator_name: "ConfigurationAggregatorName", # required
|
485
|
+
# filters: {
|
486
|
+
# config_rule_name: "ConfigRuleName",
|
487
|
+
# compliance_type: "COMPLIANT", # accepts COMPLIANT, NON_COMPLIANT, NOT_APPLICABLE, INSUFFICIENT_DATA
|
488
|
+
# account_id: "AccountId",
|
489
|
+
# aws_region: "AwsRegion",
|
490
|
+
# },
|
491
|
+
# limit: 1,
|
492
|
+
# next_token: "NextToken",
|
493
|
+
# })
|
494
|
+
#
|
495
|
+
# @example Response structure
|
496
|
+
#
|
497
|
+
# resp.aggregate_compliance_by_config_rules #=> Array
|
498
|
+
# resp.aggregate_compliance_by_config_rules[0].config_rule_name #=> String
|
499
|
+
# resp.aggregate_compliance_by_config_rules[0].compliance.compliance_type #=> String, one of "COMPLIANT", "NON_COMPLIANT", "NOT_APPLICABLE", "INSUFFICIENT_DATA"
|
500
|
+
# resp.aggregate_compliance_by_config_rules[0].compliance.compliance_contributor_count.capped_count #=> Integer
|
501
|
+
# resp.aggregate_compliance_by_config_rules[0].compliance.compliance_contributor_count.cap_exceeded #=> Boolean
|
502
|
+
# resp.aggregate_compliance_by_config_rules[0].account_id #=> String
|
503
|
+
# resp.aggregate_compliance_by_config_rules[0].aws_region #=> String
|
504
|
+
# resp.next_token #=> String
|
505
|
+
#
|
506
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeAggregateComplianceByConfigRules AWS API Documentation
|
507
|
+
#
|
508
|
+
# @overload describe_aggregate_compliance_by_config_rules(params = {})
|
509
|
+
# @param [Hash] params ({})
|
510
|
+
def describe_aggregate_compliance_by_config_rules(params = {}, options = {})
|
511
|
+
req = build_request(:describe_aggregate_compliance_by_config_rules, params)
|
512
|
+
req.send_request(options)
|
513
|
+
end
|
514
|
+
|
515
|
+
# Returns a list of authorizations granted to various aggregator
|
516
|
+
# accounts and regions.
|
517
|
+
#
|
518
|
+
# @option params [Integer] :limit
|
519
|
+
# The maximum number of AggregationAuthorizations returned on each page.
|
520
|
+
# The default is maximum. If you specify 0, AWS Config uses the default.
|
521
|
+
#
|
522
|
+
# @option params [String] :next_token
|
523
|
+
# The nextToken string returned on a previous page that you use to get
|
524
|
+
# the next page of results in a paginated response.
|
525
|
+
#
|
526
|
+
# @return [Types::DescribeAggregationAuthorizationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
527
|
+
#
|
528
|
+
# * {Types::DescribeAggregationAuthorizationsResponse#aggregation_authorizations #aggregation_authorizations} => Array<Types::AggregationAuthorization>
|
529
|
+
# * {Types::DescribeAggregationAuthorizationsResponse#next_token #next_token} => String
|
530
|
+
#
|
531
|
+
# @example Request syntax with placeholder values
|
532
|
+
#
|
533
|
+
# resp = client.describe_aggregation_authorizations({
|
534
|
+
# limit: 1,
|
535
|
+
# next_token: "String",
|
536
|
+
# })
|
537
|
+
#
|
538
|
+
# @example Response structure
|
539
|
+
#
|
540
|
+
# resp.aggregation_authorizations #=> Array
|
541
|
+
# resp.aggregation_authorizations[0].aggregation_authorization_arn #=> String
|
542
|
+
# resp.aggregation_authorizations[0].authorized_account_id #=> String
|
543
|
+
# resp.aggregation_authorizations[0].authorized_aws_region #=> String
|
544
|
+
# resp.aggregation_authorizations[0].creation_time #=> Time
|
545
|
+
# resp.next_token #=> String
|
546
|
+
#
|
547
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeAggregationAuthorizations AWS API Documentation
|
548
|
+
#
|
549
|
+
# @overload describe_aggregation_authorizations(params = {})
|
550
|
+
# @param [Hash] params ({})
|
551
|
+
def describe_aggregation_authorizations(params = {}, options = {})
|
552
|
+
req = build_request(:describe_aggregation_authorizations, params)
|
553
|
+
req.send_request(options)
|
554
|
+
end
|
555
|
+
|
378
556
|
# Indicates whether the specified AWS Config rules are compliant. If a
|
379
557
|
# rule is noncompliant, this action returns the number of AWS resources
|
380
558
|
# that do not comply with the rule.
|
381
559
|
#
|
382
|
-
# A rule is compliant if all of the evaluated resources comply with it
|
383
|
-
#
|
560
|
+
# A rule is compliant if all of the evaluated resources comply with it.
|
561
|
+
# It is noncompliant if any of these resources do not comply.
|
384
562
|
#
|
385
563
|
# If AWS Config has no current evaluation results for the rule, it
|
386
564
|
# returns `INSUFFICIENT_DATA`. This result might indicate one of the
|
@@ -392,8 +570,8 @@ module Aws::ConfigService
|
|
392
570
|
# `LastFailedInvocationTime`.
|
393
571
|
#
|
394
572
|
# * The rule's AWS Lambda function is failing to send evaluation
|
395
|
-
# results to AWS Config. Verify that the role
|
396
|
-
#
|
573
|
+
# results to AWS Config. Verify that the role you assigned to your
|
574
|
+
# configuration recorder includes the `config:PutEvaluations`
|
397
575
|
# permission. If the rule is a custom rule, verify that the AWS Lambda
|
398
576
|
# execution role includes the `config:PutEvaluations` permission.
|
399
577
|
#
|
@@ -412,7 +590,7 @@ module Aws::ConfigService
|
|
412
590
|
# `INSUFFICIENT_DATA`.
|
413
591
|
#
|
414
592
|
# @option params [String] :next_token
|
415
|
-
# The `
|
593
|
+
# The `nextToken` string returned on a previous page that you use to get
|
416
594
|
# the next page of results in a paginated response.
|
417
595
|
#
|
418
596
|
# @return [Types::DescribeComplianceByConfigRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -474,8 +652,8 @@ module Aws::ConfigService
|
|
474
652
|
# or removed from the rule's scope.
|
475
653
|
#
|
476
654
|
# @option params [String] :resource_type
|
477
|
-
# The types of AWS resources for which you want compliance information
|
478
|
-
# for example, `AWS::EC2::Instance
|
655
|
+
# The types of AWS resources for which you want compliance information
|
656
|
+
# (for example, `AWS::EC2::Instance`). For this action, you can specify
|
479
657
|
# that the resource type is an AWS account by specifying
|
480
658
|
# `AWS::::Account`.
|
481
659
|
#
|
@@ -491,11 +669,11 @@ module Aws::ConfigService
|
|
491
669
|
#
|
492
670
|
# @option params [Integer] :limit
|
493
671
|
# The maximum number of evaluation results returned on each page. The
|
494
|
-
# default is 10. You cannot specify a
|
672
|
+
# default is 10. You cannot specify a number greater than 100. If you
|
495
673
|
# specify 0, AWS Config uses the default.
|
496
674
|
#
|
497
675
|
# @option params [String] :next_token
|
498
|
-
# The `
|
676
|
+
# The `nextToken` string returned on a previous page that you use to get
|
499
677
|
# the next page of results in a paginated response.
|
500
678
|
#
|
501
679
|
# @return [Types::DescribeComplianceByResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -543,7 +721,7 @@ module Aws::ConfigService
|
|
543
721
|
# status information for all AWS managed Config rules that you use.
|
544
722
|
#
|
545
723
|
# @option params [String] :next_token
|
546
|
-
# The `
|
724
|
+
# The `nextToken` string returned on a previous page that you use to get
|
547
725
|
# the next page of results in a paginated response.
|
548
726
|
#
|
549
727
|
# @option params [Integer] :limit
|
@@ -552,7 +730,7 @@ module Aws::ConfigService
|
|
552
730
|
# This parameter is required if the rule limit for your account is more
|
553
731
|
# than the default of 50 rules.
|
554
732
|
#
|
555
|
-
# For
|
733
|
+
# For information about requesting a rule limit increase, see [AWS
|
556
734
|
# Config Limits][1] in the *AWS General Reference Guide*.
|
557
735
|
#
|
558
736
|
#
|
@@ -605,7 +783,7 @@ module Aws::ConfigService
|
|
605
783
|
# rules.
|
606
784
|
#
|
607
785
|
# @option params [String] :next_token
|
608
|
-
# The `
|
786
|
+
# The `nextToken` string returned on a previous page that you use to get
|
609
787
|
# the next page of results in a paginated response.
|
610
788
|
#
|
611
789
|
# @return [Types::DescribeConfigRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -652,9 +830,126 @@ module Aws::ConfigService
|
|
652
830
|
req.send_request(options)
|
653
831
|
end
|
654
832
|
|
833
|
+
# Returns status information for sources within an aggregator. The
|
834
|
+
# status includes information about the last time AWS Config aggregated
|
835
|
+
# data from source accounts or AWS Config failed to aggregate data from
|
836
|
+
# source accounts with the related error code or message.
|
837
|
+
#
|
838
|
+
# @option params [required, String] :configuration_aggregator_name
|
839
|
+
# The name of the configuration aggregator.
|
840
|
+
#
|
841
|
+
# @option params [Array<String>] :update_status
|
842
|
+
# Filters the status type.
|
843
|
+
#
|
844
|
+
# * Valid value FAILED indicates errors while moving data.
|
845
|
+
#
|
846
|
+
# * Valid value SUCCEEDED indicates the data was successfully moved.
|
847
|
+
#
|
848
|
+
# * Valid value OUTDATED indicates the data is not the most recent.
|
849
|
+
#
|
850
|
+
# @option params [String] :next_token
|
851
|
+
# The nextToken string returned on a previous page that you use to get
|
852
|
+
# the next page of results in a paginated response.
|
853
|
+
#
|
854
|
+
# @option params [Integer] :limit
|
855
|
+
# The maximum number of AggregatorSourceStatus returned on each page.
|
856
|
+
# The default is maximum. If you specify 0, AWS Config uses the default.
|
857
|
+
#
|
858
|
+
# @return [Types::DescribeConfigurationAggregatorSourcesStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
859
|
+
#
|
860
|
+
# * {Types::DescribeConfigurationAggregatorSourcesStatusResponse#aggregated_source_status_list #aggregated_source_status_list} => Array<Types::AggregatedSourceStatus>
|
861
|
+
# * {Types::DescribeConfigurationAggregatorSourcesStatusResponse#next_token #next_token} => String
|
862
|
+
#
|
863
|
+
# @example Request syntax with placeholder values
|
864
|
+
#
|
865
|
+
# resp = client.describe_configuration_aggregator_sources_status({
|
866
|
+
# configuration_aggregator_name: "ConfigurationAggregatorName", # required
|
867
|
+
# update_status: ["FAILED"], # accepts FAILED, SUCCEEDED, OUTDATED
|
868
|
+
# next_token: "String",
|
869
|
+
# limit: 1,
|
870
|
+
# })
|
871
|
+
#
|
872
|
+
# @example Response structure
|
873
|
+
#
|
874
|
+
# resp.aggregated_source_status_list #=> Array
|
875
|
+
# resp.aggregated_source_status_list[0].source_id #=> String
|
876
|
+
# resp.aggregated_source_status_list[0].source_type #=> String, one of "ACCOUNT", "ORGANIZATION"
|
877
|
+
# resp.aggregated_source_status_list[0].aws_region #=> String
|
878
|
+
# resp.aggregated_source_status_list[0].last_update_status #=> String, one of "FAILED", "SUCCEEDED", "OUTDATED"
|
879
|
+
# resp.aggregated_source_status_list[0].last_update_time #=> Time
|
880
|
+
# resp.aggregated_source_status_list[0].last_error_code #=> String
|
881
|
+
# resp.aggregated_source_status_list[0].last_error_message #=> String
|
882
|
+
# resp.next_token #=> String
|
883
|
+
#
|
884
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationAggregatorSourcesStatus AWS API Documentation
|
885
|
+
#
|
886
|
+
# @overload describe_configuration_aggregator_sources_status(params = {})
|
887
|
+
# @param [Hash] params ({})
|
888
|
+
def describe_configuration_aggregator_sources_status(params = {}, options = {})
|
889
|
+
req = build_request(:describe_configuration_aggregator_sources_status, params)
|
890
|
+
req.send_request(options)
|
891
|
+
end
|
892
|
+
|
893
|
+
# Returns the details of one or more configuration aggregators. If the
|
894
|
+
# configuration aggregator is not specified, this action returns the
|
895
|
+
# details for all the configuration aggregators associated with the
|
896
|
+
# account.
|
897
|
+
#
|
898
|
+
# @option params [Array<String>] :configuration_aggregator_names
|
899
|
+
# The name of the configuration aggregators.
|
900
|
+
#
|
901
|
+
# @option params [String] :next_token
|
902
|
+
# The nextToken string returned on a previous page that you use to get
|
903
|
+
# the next page of results in a paginated response.
|
904
|
+
#
|
905
|
+
# @option params [Integer] :limit
|
906
|
+
# The maximum number of configuration aggregators returned on each page.
|
907
|
+
# The default is maximum. If you specify 0, AWS Config uses the default.
|
908
|
+
#
|
909
|
+
# @return [Types::DescribeConfigurationAggregatorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
910
|
+
#
|
911
|
+
# * {Types::DescribeConfigurationAggregatorsResponse#configuration_aggregators #configuration_aggregators} => Array<Types::ConfigurationAggregator>
|
912
|
+
# * {Types::DescribeConfigurationAggregatorsResponse#next_token #next_token} => String
|
913
|
+
#
|
914
|
+
# @example Request syntax with placeholder values
|
915
|
+
#
|
916
|
+
# resp = client.describe_configuration_aggregators({
|
917
|
+
# configuration_aggregator_names: ["ConfigurationAggregatorName"],
|
918
|
+
# next_token: "String",
|
919
|
+
# limit: 1,
|
920
|
+
# })
|
921
|
+
#
|
922
|
+
# @example Response structure
|
923
|
+
#
|
924
|
+
# resp.configuration_aggregators #=> Array
|
925
|
+
# resp.configuration_aggregators[0].configuration_aggregator_name #=> String
|
926
|
+
# resp.configuration_aggregators[0].configuration_aggregator_arn #=> String
|
927
|
+
# resp.configuration_aggregators[0].account_aggregation_sources #=> Array
|
928
|
+
# resp.configuration_aggregators[0].account_aggregation_sources[0].account_ids #=> Array
|
929
|
+
# resp.configuration_aggregators[0].account_aggregation_sources[0].account_ids[0] #=> String
|
930
|
+
# resp.configuration_aggregators[0].account_aggregation_sources[0].all_aws_regions #=> Boolean
|
931
|
+
# resp.configuration_aggregators[0].account_aggregation_sources[0].aws_regions #=> Array
|
932
|
+
# resp.configuration_aggregators[0].account_aggregation_sources[0].aws_regions[0] #=> String
|
933
|
+
# resp.configuration_aggregators[0].organization_aggregation_source.role_arn #=> String
|
934
|
+
# resp.configuration_aggregators[0].organization_aggregation_source.aws_regions #=> Array
|
935
|
+
# resp.configuration_aggregators[0].organization_aggregation_source.aws_regions[0] #=> String
|
936
|
+
# resp.configuration_aggregators[0].organization_aggregation_source.all_aws_regions #=> Boolean
|
937
|
+
# resp.configuration_aggregators[0].creation_time #=> Time
|
938
|
+
# resp.configuration_aggregators[0].last_updated_time #=> Time
|
939
|
+
# resp.next_token #=> String
|
940
|
+
#
|
941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationAggregators AWS API Documentation
|
942
|
+
#
|
943
|
+
# @overload describe_configuration_aggregators(params = {})
|
944
|
+
# @param [Hash] params ({})
|
945
|
+
def describe_configuration_aggregators(params = {}, options = {})
|
946
|
+
req = build_request(:describe_configuration_aggregators, params)
|
947
|
+
req.send_request(options)
|
948
|
+
end
|
949
|
+
|
655
950
|
# Returns the current status of the specified configuration recorder. If
|
656
951
|
# a configuration recorder is not specified, this action returns the
|
657
|
-
# status of all configuration
|
952
|
+
# status of all configuration recorders associated with the account.
|
658
953
|
#
|
659
954
|
# <note markdown="1"> Currently, you can specify only one configuration recorder per region
|
660
955
|
# in your account.
|
@@ -830,6 +1125,194 @@ module Aws::ConfigService
|
|
830
1125
|
req.send_request(options)
|
831
1126
|
end
|
832
1127
|
|
1128
|
+
# Returns a list of all pending aggregation requests.
|
1129
|
+
#
|
1130
|
+
# @option params [Integer] :limit
|
1131
|
+
# The maximum number of evaluation results returned on each page. The
|
1132
|
+
# default is maximum. If you specify 0, AWS Config uses the default.
|
1133
|
+
#
|
1134
|
+
# @option params [String] :next_token
|
1135
|
+
# The nextToken string returned on a previous page that you use to get
|
1136
|
+
# the next page of results in a paginated response.
|
1137
|
+
#
|
1138
|
+
# @return [Types::DescribePendingAggregationRequestsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1139
|
+
#
|
1140
|
+
# * {Types::DescribePendingAggregationRequestsResponse#pending_aggregation_requests #pending_aggregation_requests} => Array<Types::PendingAggregationRequest>
|
1141
|
+
# * {Types::DescribePendingAggregationRequestsResponse#next_token #next_token} => String
|
1142
|
+
#
|
1143
|
+
# @example Request syntax with placeholder values
|
1144
|
+
#
|
1145
|
+
# resp = client.describe_pending_aggregation_requests({
|
1146
|
+
# limit: 1,
|
1147
|
+
# next_token: "String",
|
1148
|
+
# })
|
1149
|
+
#
|
1150
|
+
# @example Response structure
|
1151
|
+
#
|
1152
|
+
# resp.pending_aggregation_requests #=> Array
|
1153
|
+
# resp.pending_aggregation_requests[0].requester_account_id #=> String
|
1154
|
+
# resp.pending_aggregation_requests[0].requester_aws_region #=> String
|
1155
|
+
# resp.next_token #=> String
|
1156
|
+
#
|
1157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribePendingAggregationRequests AWS API Documentation
|
1158
|
+
#
|
1159
|
+
# @overload describe_pending_aggregation_requests(params = {})
|
1160
|
+
# @param [Hash] params ({})
|
1161
|
+
def describe_pending_aggregation_requests(params = {}, options = {})
|
1162
|
+
req = build_request(:describe_pending_aggregation_requests, params)
|
1163
|
+
req.send_request(options)
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
# Returns the evaluation results for the specified AWS Config rule for a
|
1167
|
+
# specific resource in a rule. The results indicate which AWS resources
|
1168
|
+
# were evaluated by the rule, when each resource was last evaluated, and
|
1169
|
+
# whether each resource complies with the rule.
|
1170
|
+
#
|
1171
|
+
# <note markdown="1"> The results can return an empty result page. But if you have a
|
1172
|
+
# nextToken, the results are displayed on the next page.
|
1173
|
+
#
|
1174
|
+
# </note>
|
1175
|
+
#
|
1176
|
+
# @option params [required, String] :configuration_aggregator_name
|
1177
|
+
# The name of the configuration aggregator.
|
1178
|
+
#
|
1179
|
+
# @option params [required, String] :config_rule_name
|
1180
|
+
# The name of the AWS Config rule for which you want compliance
|
1181
|
+
# information.
|
1182
|
+
#
|
1183
|
+
# @option params [required, String] :account_id
|
1184
|
+
# The 12-digit account ID of the source account.
|
1185
|
+
#
|
1186
|
+
# @option params [required, String] :aws_region
|
1187
|
+
# The source region from where the data is aggregated.
|
1188
|
+
#
|
1189
|
+
# @option params [String] :compliance_type
|
1190
|
+
# The resource compliance status.
|
1191
|
+
#
|
1192
|
+
# <note markdown="1"> For the `GetAggregateComplianceDetailsByConfigRuleRequest` data type,
|
1193
|
+
# AWS Config supports only the `COMPLIANT` and `NON_COMPLIANT`. AWS
|
1194
|
+
# Config does not support the `NOT_APPLICABLE` and `INSUFFICIENT_DATA`
|
1195
|
+
# values.
|
1196
|
+
#
|
1197
|
+
# </note>
|
1198
|
+
#
|
1199
|
+
# @option params [Integer] :limit
|
1200
|
+
# The maximum number of evaluation results returned on each page. The
|
1201
|
+
# default is 50. You cannot specify a number greater than 100. If you
|
1202
|
+
# specify 0, AWS Config uses the default.
|
1203
|
+
#
|
1204
|
+
# @option params [String] :next_token
|
1205
|
+
# The nextToken string returned on a previous page that you use to get
|
1206
|
+
# the next page of results in a paginated response.
|
1207
|
+
#
|
1208
|
+
# @return [Types::GetAggregateComplianceDetailsByConfigRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1209
|
+
#
|
1210
|
+
# * {Types::GetAggregateComplianceDetailsByConfigRuleResponse#aggregate_evaluation_results #aggregate_evaluation_results} => Array<Types::AggregateEvaluationResult>
|
1211
|
+
# * {Types::GetAggregateComplianceDetailsByConfigRuleResponse#next_token #next_token} => String
|
1212
|
+
#
|
1213
|
+
# @example Request syntax with placeholder values
|
1214
|
+
#
|
1215
|
+
# resp = client.get_aggregate_compliance_details_by_config_rule({
|
1216
|
+
# configuration_aggregator_name: "ConfigurationAggregatorName", # required
|
1217
|
+
# config_rule_name: "ConfigRuleName", # required
|
1218
|
+
# account_id: "AccountId", # required
|
1219
|
+
# aws_region: "AwsRegion", # required
|
1220
|
+
# compliance_type: "COMPLIANT", # accepts COMPLIANT, NON_COMPLIANT, NOT_APPLICABLE, INSUFFICIENT_DATA
|
1221
|
+
# limit: 1,
|
1222
|
+
# next_token: "NextToken",
|
1223
|
+
# })
|
1224
|
+
#
|
1225
|
+
# @example Response structure
|
1226
|
+
#
|
1227
|
+
# resp.aggregate_evaluation_results #=> Array
|
1228
|
+
# resp.aggregate_evaluation_results[0].evaluation_result_identifier.evaluation_result_qualifier.config_rule_name #=> String
|
1229
|
+
# resp.aggregate_evaluation_results[0].evaluation_result_identifier.evaluation_result_qualifier.resource_type #=> String
|
1230
|
+
# resp.aggregate_evaluation_results[0].evaluation_result_identifier.evaluation_result_qualifier.resource_id #=> String
|
1231
|
+
# resp.aggregate_evaluation_results[0].evaluation_result_identifier.ordering_timestamp #=> Time
|
1232
|
+
# resp.aggregate_evaluation_results[0].compliance_type #=> String, one of "COMPLIANT", "NON_COMPLIANT", "NOT_APPLICABLE", "INSUFFICIENT_DATA"
|
1233
|
+
# resp.aggregate_evaluation_results[0].result_recorded_time #=> Time
|
1234
|
+
# resp.aggregate_evaluation_results[0].config_rule_invoked_time #=> Time
|
1235
|
+
# resp.aggregate_evaluation_results[0].annotation #=> String
|
1236
|
+
# resp.aggregate_evaluation_results[0].account_id #=> String
|
1237
|
+
# resp.aggregate_evaluation_results[0].aws_region #=> String
|
1238
|
+
# resp.next_token #=> String
|
1239
|
+
#
|
1240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateComplianceDetailsByConfigRule AWS API Documentation
|
1241
|
+
#
|
1242
|
+
# @overload get_aggregate_compliance_details_by_config_rule(params = {})
|
1243
|
+
# @param [Hash] params ({})
|
1244
|
+
def get_aggregate_compliance_details_by_config_rule(params = {}, options = {})
|
1245
|
+
req = build_request(:get_aggregate_compliance_details_by_config_rule, params)
|
1246
|
+
req.send_request(options)
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
# Returns the number of compliant and noncompliant rules for one or more
|
1250
|
+
# accounts and regions in an aggregator.
|
1251
|
+
#
|
1252
|
+
# <note markdown="1"> The results can return an empty result page, but if you have a
|
1253
|
+
# nextToken, the results are displayed on the next page.
|
1254
|
+
#
|
1255
|
+
# </note>
|
1256
|
+
#
|
1257
|
+
# @option params [required, String] :configuration_aggregator_name
|
1258
|
+
# The name of the configuration aggregator.
|
1259
|
+
#
|
1260
|
+
# @option params [Types::ConfigRuleComplianceSummaryFilters] :filters
|
1261
|
+
# Filters the results based on the ConfigRuleComplianceSummaryFilters
|
1262
|
+
# object.
|
1263
|
+
#
|
1264
|
+
# @option params [String] :group_by_key
|
1265
|
+
# Groups the result based on ACCOUNT\_ID or AWS\_REGION.
|
1266
|
+
#
|
1267
|
+
# @option params [Integer] :limit
|
1268
|
+
# The maximum number of evaluation results returned on each page. The
|
1269
|
+
# default is 1000. You cannot specify a number greater than 1000. If you
|
1270
|
+
# specify 0, AWS Config uses the default.
|
1271
|
+
#
|
1272
|
+
# @option params [String] :next_token
|
1273
|
+
# The nextToken string returned on a previous page that you use to get
|
1274
|
+
# the next page of results in a paginated response.
|
1275
|
+
#
|
1276
|
+
# @return [Types::GetAggregateConfigRuleComplianceSummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1277
|
+
#
|
1278
|
+
# * {Types::GetAggregateConfigRuleComplianceSummaryResponse#group_by_key #group_by_key} => String
|
1279
|
+
# * {Types::GetAggregateConfigRuleComplianceSummaryResponse#aggregate_compliance_counts #aggregate_compliance_counts} => Array<Types::AggregateComplianceCount>
|
1280
|
+
# * {Types::GetAggregateConfigRuleComplianceSummaryResponse#next_token #next_token} => String
|
1281
|
+
#
|
1282
|
+
# @example Request syntax with placeholder values
|
1283
|
+
#
|
1284
|
+
# resp = client.get_aggregate_config_rule_compliance_summary({
|
1285
|
+
# configuration_aggregator_name: "ConfigurationAggregatorName", # required
|
1286
|
+
# filters: {
|
1287
|
+
# account_id: "AccountId",
|
1288
|
+
# aws_region: "AwsRegion",
|
1289
|
+
# },
|
1290
|
+
# group_by_key: "ACCOUNT_ID", # accepts ACCOUNT_ID, AWS_REGION
|
1291
|
+
# limit: 1,
|
1292
|
+
# next_token: "NextToken",
|
1293
|
+
# })
|
1294
|
+
#
|
1295
|
+
# @example Response structure
|
1296
|
+
#
|
1297
|
+
# resp.group_by_key #=> String
|
1298
|
+
# resp.aggregate_compliance_counts #=> Array
|
1299
|
+
# resp.aggregate_compliance_counts[0].group_name #=> String
|
1300
|
+
# resp.aggregate_compliance_counts[0].compliance_summary.compliant_resource_count.capped_count #=> Integer
|
1301
|
+
# resp.aggregate_compliance_counts[0].compliance_summary.compliant_resource_count.cap_exceeded #=> Boolean
|
1302
|
+
# resp.aggregate_compliance_counts[0].compliance_summary.non_compliant_resource_count.capped_count #=> Integer
|
1303
|
+
# resp.aggregate_compliance_counts[0].compliance_summary.non_compliant_resource_count.cap_exceeded #=> Boolean
|
1304
|
+
# resp.aggregate_compliance_counts[0].compliance_summary.compliance_summary_timestamp #=> Time
|
1305
|
+
# resp.next_token #=> String
|
1306
|
+
#
|
1307
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateConfigRuleComplianceSummary AWS API Documentation
|
1308
|
+
#
|
1309
|
+
# @overload get_aggregate_config_rule_compliance_summary(params = {})
|
1310
|
+
# @param [Hash] params ({})
|
1311
|
+
def get_aggregate_config_rule_compliance_summary(params = {}, options = {})
|
1312
|
+
req = build_request(:get_aggregate_config_rule_compliance_summary, params)
|
1313
|
+
req.send_request(options)
|
1314
|
+
end
|
1315
|
+
|
833
1316
|
# Returns the evaluation results for the specified AWS Config rule. The
|
834
1317
|
# results indicate which AWS resources were evaluated by the rule, when
|
835
1318
|
# each resource was last evaluated, and whether each resource complies
|
@@ -847,11 +1330,11 @@ module Aws::ConfigService
|
|
847
1330
|
#
|
848
1331
|
# @option params [Integer] :limit
|
849
1332
|
# The maximum number of evaluation results returned on each page. The
|
850
|
-
# default is 10. You cannot specify a
|
1333
|
+
# default is 10. You cannot specify a number greater than 100. If you
|
851
1334
|
# specify 0, AWS Config uses the default.
|
852
1335
|
#
|
853
1336
|
# @option params [String] :next_token
|
854
|
-
# The `
|
1337
|
+
# The `nextToken` string returned on a previous page that you use to get
|
855
1338
|
# the next page of results in a paginated response.
|
856
1339
|
#
|
857
1340
|
# @return [Types::GetComplianceDetailsByConfigRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -910,7 +1393,7 @@ module Aws::ConfigService
|
|
910
1393
|
# `NOT_APPLICABLE`.
|
911
1394
|
#
|
912
1395
|
# @option params [String] :next_token
|
913
|
-
# The `
|
1396
|
+
# The `nextToken` string returned on a previous page that you use to get
|
914
1397
|
# the next page of results in a paginated response.
|
915
1398
|
#
|
916
1399
|
# @return [Types::GetComplianceDetailsByResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -985,8 +1468,8 @@ module Aws::ConfigService
|
|
985
1468
|
# type.
|
986
1469
|
#
|
987
1470
|
# For this request, you can specify an AWS resource type such as
|
988
|
-
# `AWS::EC2::Instance
|
989
|
-
#
|
1471
|
+
# `AWS::EC2::Instance`. You can specify that the resource type is an AWS
|
1472
|
+
# account by specifying `AWS::::Account`.
|
990
1473
|
#
|
991
1474
|
# @return [Types::GetComplianceSummaryByResourceTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
992
1475
|
#
|
@@ -1032,11 +1515,11 @@ module Aws::ConfigService
|
|
1032
1515
|
#
|
1033
1516
|
# 3. AWS Config returns the following:
|
1034
1517
|
#
|
1035
|
-
# * The resource types (EC2 instances, IAM users, and S3 buckets)
|
1518
|
+
# * The resource types (EC2 instances, IAM users, and S3 buckets).
|
1036
1519
|
#
|
1037
|
-
# * The number of each resource type (25, 20, and 15)
|
1520
|
+
# * The number of each resource type (25, 20, and 15).
|
1038
1521
|
#
|
1039
|
-
# * The total number of all resources (60)
|
1522
|
+
# * The total number of all resources (60).
|
1040
1523
|
#
|
1041
1524
|
# The response is paginated. By default, AWS Config lists 100
|
1042
1525
|
# ResourceCount objects on each page. You can customize this number with
|
@@ -1044,14 +1527,15 @@ module Aws::ConfigService
|
|
1044
1527
|
# get the next page of results, run the request again and specify the
|
1045
1528
|
# string for the `nextToken` parameter.
|
1046
1529
|
#
|
1047
|
-
# <note markdown="1"> If you make a call to the GetDiscoveredResourceCounts action, you
|
1048
|
-
# not immediately receive resource counts in the following
|
1530
|
+
# <note markdown="1"> If you make a call to the GetDiscoveredResourceCounts action, you
|
1531
|
+
# might not immediately receive resource counts in the following
|
1532
|
+
# situations:
|
1049
1533
|
#
|
1050
|
-
# * You are a new AWS Config customer
|
1534
|
+
# * You are a new AWS Config customer.
|
1051
1535
|
#
|
1052
|
-
# * You just enabled resource recording
|
1536
|
+
# * You just enabled resource recording.
|
1053
1537
|
#
|
1054
|
-
# It
|
1538
|
+
# It might take a few minutes for AWS Config to record and count your
|
1055
1539
|
# resources. Wait a few minutes and then retry the
|
1056
1540
|
# GetDiscoveredResourceCounts action.
|
1057
1541
|
#
|
@@ -1059,7 +1543,7 @@ module Aws::ConfigService
|
|
1059
1543
|
#
|
1060
1544
|
# @option params [Array<String>] :resource_types
|
1061
1545
|
# The comma-separated list that specifies the resource types that you
|
1062
|
-
# want
|
1546
|
+
# want AWS Config to return (for example, `"AWS::EC2::Instance"`,
|
1063
1547
|
# `"AWS::IAM::User"`).
|
1064
1548
|
#
|
1065
1549
|
# If a value for `resourceTypes` is not specified, AWS Config returns
|
@@ -1075,7 +1559,7 @@ module Aws::ConfigService
|
|
1075
1559
|
#
|
1076
1560
|
# @option params [Integer] :limit
|
1077
1561
|
# The maximum number of ResourceCount objects returned on each page. The
|
1078
|
-
# default is 100. You cannot specify a
|
1562
|
+
# default is 100. You cannot specify a number greater than 100. If you
|
1079
1563
|
# specify 0, AWS Config uses the default.
|
1080
1564
|
#
|
1081
1565
|
# @option params [String] :next_token
|
@@ -1143,15 +1627,15 @@ module Aws::ConfigService
|
|
1143
1627
|
# @option params [Time,DateTime,Date,Integer,String] :earlier_time
|
1144
1628
|
# The time stamp that indicates an earlier time. If not specified, the
|
1145
1629
|
# action returns paginated results that contain configuration items that
|
1146
|
-
# start
|
1630
|
+
# start when the first configuration item was recorded.
|
1147
1631
|
#
|
1148
1632
|
# @option params [String] :chronological_order
|
1149
|
-
# The chronological order for configuration items listed. By default
|
1150
|
-
# results are listed in reverse chronological order.
|
1633
|
+
# The chronological order for configuration items listed. By default,
|
1634
|
+
# the results are listed in reverse chronological order.
|
1151
1635
|
#
|
1152
1636
|
# @option params [Integer] :limit
|
1153
1637
|
# The maximum number of configuration items returned on each page. The
|
1154
|
-
# default is 10. You cannot specify a
|
1638
|
+
# default is 10. You cannot specify a number greater than 100. If you
|
1155
1639
|
# specify 0, AWS Config uses the default.
|
1156
1640
|
#
|
1157
1641
|
# @option params [String] :next_token
|
@@ -1222,8 +1706,8 @@ module Aws::ConfigService
|
|
1222
1706
|
# results to include only resources that have specific resource IDs or a
|
1223
1707
|
# resource name.
|
1224
1708
|
#
|
1225
|
-
# <note markdown="1"> You can specify either resource IDs or a resource name but not both
|
1226
|
-
# the same request.
|
1709
|
+
# <note markdown="1"> You can specify either resource IDs or a resource name, but not both,
|
1710
|
+
# in the same request.
|
1227
1711
|
#
|
1228
1712
|
# </note>
|
1229
1713
|
#
|
@@ -1249,7 +1733,7 @@ module Aws::ConfigService
|
|
1249
1733
|
#
|
1250
1734
|
# @option params [Integer] :limit
|
1251
1735
|
# The maximum number of resource identifiers returned on each page. The
|
1252
|
-
# default is 100. You cannot specify a
|
1736
|
+
# default is 100. You cannot specify a number greater than 100. If you
|
1253
1737
|
# specify 0, AWS Config uses the default.
|
1254
1738
|
#
|
1255
1739
|
# @option params [Boolean] :include_deleted_resources
|
@@ -1294,21 +1778,57 @@ module Aws::ConfigService
|
|
1294
1778
|
req.send_request(options)
|
1295
1779
|
end
|
1296
1780
|
|
1781
|
+
# Authorizes the aggregator account and region to collect data from the
|
1782
|
+
# source account and region.
|
1783
|
+
#
|
1784
|
+
# @option params [required, String] :authorized_account_id
|
1785
|
+
# The 12-digit account ID of the account authorized to aggregate data.
|
1786
|
+
#
|
1787
|
+
# @option params [required, String] :authorized_aws_region
|
1788
|
+
# The region authorized to collect aggregated data.
|
1789
|
+
#
|
1790
|
+
# @return [Types::PutAggregationAuthorizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1791
|
+
#
|
1792
|
+
# * {Types::PutAggregationAuthorizationResponse#aggregation_authorization #aggregation_authorization} => Types::AggregationAuthorization
|
1793
|
+
#
|
1794
|
+
# @example Request syntax with placeholder values
|
1795
|
+
#
|
1796
|
+
# resp = client.put_aggregation_authorization({
|
1797
|
+
# authorized_account_id: "AccountId", # required
|
1798
|
+
# authorized_aws_region: "AwsRegion", # required
|
1799
|
+
# })
|
1800
|
+
#
|
1801
|
+
# @example Response structure
|
1802
|
+
#
|
1803
|
+
# resp.aggregation_authorization.aggregation_authorization_arn #=> String
|
1804
|
+
# resp.aggregation_authorization.authorized_account_id #=> String
|
1805
|
+
# resp.aggregation_authorization.authorized_aws_region #=> String
|
1806
|
+
# resp.aggregation_authorization.creation_time #=> Time
|
1807
|
+
#
|
1808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutAggregationAuthorization AWS API Documentation
|
1809
|
+
#
|
1810
|
+
# @overload put_aggregation_authorization(params = {})
|
1811
|
+
# @param [Hash] params ({})
|
1812
|
+
def put_aggregation_authorization(params = {}, options = {})
|
1813
|
+
req = build_request(:put_aggregation_authorization, params)
|
1814
|
+
req.send_request(options)
|
1815
|
+
end
|
1816
|
+
|
1297
1817
|
# Adds or updates an AWS Config rule for evaluating whether your AWS
|
1298
1818
|
# resources comply with your desired configurations.
|
1299
1819
|
#
|
1300
|
-
# You can use this action for custom Config rules and AWS managed
|
1301
|
-
# rules. A custom Config rule is a rule that you develop and
|
1302
|
-
# An AWS managed Config rule is a customizable, predefined
|
1303
|
-
# Config provides.
|
1820
|
+
# You can use this action for custom AWS Config rules and AWS managed
|
1821
|
+
# Config rules. A custom AWS Config rule is a rule that you develop and
|
1822
|
+
# maintain. An AWS managed Config rule is a customizable, predefined
|
1823
|
+
# rule that AWS Config provides.
|
1304
1824
|
#
|
1305
|
-
# If you are adding a new custom Config rule, you must first create
|
1306
|
-
# AWS Lambda function that the rule invokes to evaluate your
|
1307
|
-
# When you use the `PutConfigRule` action to add the rule to
|
1308
|
-
# you must specify the Amazon Resource Name (ARN) that AWS
|
1309
|
-
# assigns to the function. Specify the ARN for the
|
1310
|
-
# key. This key is part of the `Source` object, which
|
1311
|
-
# `ConfigRule` object.
|
1825
|
+
# If you are adding a new custom AWS Config rule, you must first create
|
1826
|
+
# the AWS Lambda function that the rule invokes to evaluate your
|
1827
|
+
# resources. When you use the `PutConfigRule` action to add the rule to
|
1828
|
+
# AWS Config, you must specify the Amazon Resource Name (ARN) that AWS
|
1829
|
+
# Lambda assigns to the function. Specify the ARN for the
|
1830
|
+
# `SourceIdentifier` key. This key is part of the `Source` object, which
|
1831
|
+
# is part of the `ConfigRule` object.
|
1312
1832
|
#
|
1313
1833
|
# If you are adding an AWS managed Config rule, specify the rule's
|
1314
1834
|
# identifier for the `SourceIdentifier` key. To reference AWS managed
|
@@ -1325,7 +1845,7 @@ module Aws::ConfigService
|
|
1325
1845
|
#
|
1326
1846
|
# The maximum number of rules that AWS Config supports is 50.
|
1327
1847
|
#
|
1328
|
-
# For
|
1848
|
+
# For information about requesting a rule limit increase, see [AWS
|
1329
1849
|
# Config Limits][2] in the *AWS General Reference Guide*.
|
1330
1850
|
#
|
1331
1851
|
# For more information about developing and using AWS Config rules, see
|
@@ -1383,10 +1903,75 @@ module Aws::ConfigService
|
|
1383
1903
|
req.send_request(options)
|
1384
1904
|
end
|
1385
1905
|
|
1906
|
+
# Creates and updates the configuration aggregator with the selected
|
1907
|
+
# source accounts and regions.
|
1908
|
+
#
|
1909
|
+
# <note markdown="1"> AWS Config should be enabled in accounts and regions you want to
|
1910
|
+
# aggreagate.
|
1911
|
+
#
|
1912
|
+
# </note>
|
1913
|
+
#
|
1914
|
+
# @option params [required, String] :configuration_aggregator_name
|
1915
|
+
# The name of the configuration aggregator.
|
1916
|
+
#
|
1917
|
+
# @option params [Array<Types::AccountAggregationSource>] :account_aggregation_sources
|
1918
|
+
# A list of AccountAggregationSource object.
|
1919
|
+
#
|
1920
|
+
# @option params [Types::OrganizationAggregationSource] :organization_aggregation_source
|
1921
|
+
# An OrganizationAggregationSource object.
|
1922
|
+
#
|
1923
|
+
# @return [Types::PutConfigurationAggregatorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1924
|
+
#
|
1925
|
+
# * {Types::PutConfigurationAggregatorResponse#configuration_aggregator #configuration_aggregator} => Types::ConfigurationAggregator
|
1926
|
+
#
|
1927
|
+
# @example Request syntax with placeholder values
|
1928
|
+
#
|
1929
|
+
# resp = client.put_configuration_aggregator({
|
1930
|
+
# configuration_aggregator_name: "ConfigurationAggregatorName", # required
|
1931
|
+
# account_aggregation_sources: [
|
1932
|
+
# {
|
1933
|
+
# account_ids: ["AccountId"], # required
|
1934
|
+
# all_aws_regions: false,
|
1935
|
+
# aws_regions: ["String"],
|
1936
|
+
# },
|
1937
|
+
# ],
|
1938
|
+
# organization_aggregation_source: {
|
1939
|
+
# role_arn: "String", # required
|
1940
|
+
# aws_regions: ["String"],
|
1941
|
+
# all_aws_regions: false,
|
1942
|
+
# },
|
1943
|
+
# })
|
1944
|
+
#
|
1945
|
+
# @example Response structure
|
1946
|
+
#
|
1947
|
+
# resp.configuration_aggregator.configuration_aggregator_name #=> String
|
1948
|
+
# resp.configuration_aggregator.configuration_aggregator_arn #=> String
|
1949
|
+
# resp.configuration_aggregator.account_aggregation_sources #=> Array
|
1950
|
+
# resp.configuration_aggregator.account_aggregation_sources[0].account_ids #=> Array
|
1951
|
+
# resp.configuration_aggregator.account_aggregation_sources[0].account_ids[0] #=> String
|
1952
|
+
# resp.configuration_aggregator.account_aggregation_sources[0].all_aws_regions #=> Boolean
|
1953
|
+
# resp.configuration_aggregator.account_aggregation_sources[0].aws_regions #=> Array
|
1954
|
+
# resp.configuration_aggregator.account_aggregation_sources[0].aws_regions[0] #=> String
|
1955
|
+
# resp.configuration_aggregator.organization_aggregation_source.role_arn #=> String
|
1956
|
+
# resp.configuration_aggregator.organization_aggregation_source.aws_regions #=> Array
|
1957
|
+
# resp.configuration_aggregator.organization_aggregation_source.aws_regions[0] #=> String
|
1958
|
+
# resp.configuration_aggregator.organization_aggregation_source.all_aws_regions #=> Boolean
|
1959
|
+
# resp.configuration_aggregator.creation_time #=> Time
|
1960
|
+
# resp.configuration_aggregator.last_updated_time #=> Time
|
1961
|
+
#
|
1962
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationAggregator AWS API Documentation
|
1963
|
+
#
|
1964
|
+
# @overload put_configuration_aggregator(params = {})
|
1965
|
+
# @param [Hash] params ({})
|
1966
|
+
def put_configuration_aggregator(params = {}, options = {})
|
1967
|
+
req = build_request(:put_configuration_aggregator, params)
|
1968
|
+
req.send_request(options)
|
1969
|
+
end
|
1970
|
+
|
1386
1971
|
# Creates a new configuration recorder to record the selected resource
|
1387
1972
|
# configurations.
|
1388
1973
|
#
|
1389
|
-
# You can use this action to change the role `roleARN`
|
1974
|
+
# You can use this action to change the role `roleARN` or the
|
1390
1975
|
# `recordingGroup` of an existing recorder. To change the role, call the
|
1391
1976
|
# action on the existing configuration recorder and specify a role.
|
1392
1977
|
#
|
@@ -1447,7 +2032,7 @@ module Aws::ConfigService
|
|
1447
2032
|
#
|
1448
2033
|
# @option params [required, Types::DeliveryChannel] :delivery_channel
|
1449
2034
|
# The configuration delivery channel object that delivers the
|
1450
|
-
# configuration information to an Amazon S3 bucket
|
2035
|
+
# configuration information to an Amazon S3 bucket and to an Amazon SNS
|
1451
2036
|
# topic.
|
1452
2037
|
#
|
1453
2038
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -1486,7 +2071,7 @@ module Aws::ConfigService
|
|
1486
2071
|
#
|
1487
2072
|
# @option params [required, String] :result_token
|
1488
2073
|
# An encrypted token that associates an evaluation with an AWS Config
|
1489
|
-
# rule. Identifies the rule and the event that triggered the evaluation
|
2074
|
+
# rule. Identifies the rule and the event that triggered the evaluation.
|
1490
2075
|
#
|
1491
2076
|
# @option params [Boolean] :test_mode
|
1492
2077
|
# Use this parameter to specify a test run for `PutEvaluations`. You can
|
@@ -1537,23 +2122,23 @@ module Aws::ConfigService
|
|
1537
2122
|
req.send_request(options)
|
1538
2123
|
end
|
1539
2124
|
|
1540
|
-
# Runs an on-demand evaluation for the specified Config rules
|
1541
|
-
# the last known configuration state of the resources. Use
|
1542
|
-
# `StartConfigRulesEvaluation` when you want to test a rule
|
2125
|
+
# Runs an on-demand evaluation for the specified AWS Config rules
|
2126
|
+
# against the last known configuration state of the resources. Use
|
2127
|
+
# `StartConfigRulesEvaluation` when you want to test that a rule you
|
1543
2128
|
# updated is working as expected. `StartConfigRulesEvaluation` does not
|
1544
|
-
# re-record the latest configuration state for your resources
|
2129
|
+
# re-record the latest configuration state for your resources. It
|
1545
2130
|
# re-runs an evaluation against the last known state of your resources.
|
1546
2131
|
#
|
1547
|
-
# You can specify up to 25 Config rules per request.
|
2132
|
+
# You can specify up to 25 AWS Config rules per request.
|
1548
2133
|
#
|
1549
|
-
# An existing `StartConfigRulesEvaluation` call
|
1550
|
-
#
|
1551
|
-
#
|
2134
|
+
# An existing `StartConfigRulesEvaluation` call for the specified rules
|
2135
|
+
# must complete before you can call the API again. If you chose to have
|
2136
|
+
# AWS Config stream to an Amazon SNS topic, you will receive a
|
1552
2137
|
# `ConfigRuleEvaluationStarted` notification when the evaluation starts.
|
1553
2138
|
#
|
1554
2139
|
# <note markdown="1"> You don't need to call the `StartConfigRulesEvaluation` API to run an
|
1555
|
-
# evaluation for a new rule. When you create a
|
1556
|
-
#
|
2140
|
+
# evaluation for a new rule. When you create a rule, AWS Config
|
2141
|
+
# evaluates your resources against the rule automatically.
|
1557
2142
|
#
|
1558
2143
|
# </note>
|
1559
2144
|
#
|
@@ -1576,7 +2161,7 @@ module Aws::ConfigService
|
|
1576
2161
|
# hours.
|
1577
2162
|
#
|
1578
2163
|
# @option params [Array<String>] :config_rule_names
|
1579
|
-
# The list of names of Config rules that you want to run evaluations
|
2164
|
+
# The list of names of AWS Config rules that you want to run evaluations
|
1580
2165
|
# for.
|
1581
2166
|
#
|
1582
2167
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
@@ -1660,7 +2245,7 @@ module Aws::ConfigService
|
|
1660
2245
|
params: params,
|
1661
2246
|
config: config)
|
1662
2247
|
context[:gem_name] = 'aws-sdk-configservice'
|
1663
|
-
context[:gem_version] = '1.
|
2248
|
+
context[:gem_version] = '1.8.0'
|
1664
2249
|
Seahorse::Client::Request.new(handlers, context)
|
1665
2250
|
end
|
1666
2251
|
|