aws-sdk-configservice 1.38.0 → 1.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 354ee6613f1855a9725542a3fe8da9b49e4deb70
4
- data.tar.gz: e8daddc4492829ae689b4d04bd9c2610838a751b
3
+ metadata.gz: eca0a0be440274667603b5aa36c5d8664f811d4a
4
+ data.tar.gz: 1ea2dd667db44bf5c04704177786f52acd5a800c
5
5
  SHA512:
6
- metadata.gz: 1781e343b230e4c775f4a211510c173ab711e8c6b6bdf7cf2fa3a51c1a46555b8f8219eb42d50d0102dbc21df16362d1c79f349341e0f4e6fd0abb0df994a713
7
- data.tar.gz: 8a443da08a3b0d52d6d4307dcc1419f243013b493f91a237e15dada22e9ef6cd08f9af4901e3c39d6403f3e6bc0132f3c25f191d4091f558d1e3f10ddfc538fd
6
+ metadata.gz: 322973eb9be3bb00d7e68384bad88e0f29f079ab50cfa9e9aa60c3a9e581c89b5f4e6f1c4809a1bcb53e3cfa5e2c77bd6560cb0c6ec3fd1d17920f874226f9b7
7
+ data.tar.gz: dc9cafad8aa4811b7f5246229ad8d6d7d142bef94e2430576787df6c6076ebfe2f31f07cbb568bb8667328896246269140afe4a8f1e4d287ef4cacfae8c3ad43
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-configservice/customizations'
42
42
  # @service
43
43
  module Aws::ConfigService
44
44
 
45
- GEM_VERSION = '1.38.0'
45
+ GEM_VERSION = '1.39.0'
46
46
 
47
47
  end
@@ -515,6 +515,33 @@ module Aws::ConfigService
515
515
  req.send_request(options)
516
516
  end
517
517
 
518
+ # Deletes the specified conformance pack and all the AWS Config rules
519
+ # and all evaluation results within that conformance pack.
520
+ #
521
+ # AWS Config sets the conformance pack to `DELETE_IN_PROGRESS` until the
522
+ # deletion is complete. You cannot update a conformance pack while it is
523
+ # in this state.
524
+ #
525
+ # @option params [required, String] :conformance_pack_name
526
+ # Name of the conformance pack you want to delete.
527
+ #
528
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
529
+ #
530
+ # @example Request syntax with placeholder values
531
+ #
532
+ # resp = client.delete_conformance_pack({
533
+ # conformance_pack_name: "ConformancePackName", # required
534
+ # })
535
+ #
536
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConformancePack AWS API Documentation
537
+ #
538
+ # @overload delete_conformance_pack(params = {})
539
+ # @param [Hash] params ({})
540
+ def delete_conformance_pack(params = {}, options = {})
541
+ req = build_request(:delete_conformance_pack, params)
542
+ req.send_request(options)
543
+ end
544
+
518
545
  # Deletes the delivery channel.
519
546
  #
520
547
  # Before you can delete the delivery channel, you must stop the
@@ -594,6 +621,35 @@ module Aws::ConfigService
594
621
  req.send_request(options)
595
622
  end
596
623
 
624
+ # Deletes the specified organization conformance pack and all of the
625
+ # config rules and remediation actions from all member accounts in that
626
+ # organization. Only a master account can delete an organization
627
+ # conformance pack.
628
+ #
629
+ # AWS Config sets the state of a conformance pack to
630
+ # DELETE\_IN\_PROGRESS until the deletion is complete. You cannot update
631
+ # a conformance pack while it is in this state.
632
+ #
633
+ # @option params [required, String] :organization_conformance_pack_name
634
+ # The name of organization conformance pack that you want to delete.
635
+ #
636
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
637
+ #
638
+ # @example Request syntax with placeholder values
639
+ #
640
+ # resp = client.delete_organization_conformance_pack({
641
+ # organization_conformance_pack_name: "OrganizationConformancePackName", # required
642
+ # })
643
+ #
644
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteOrganizationConformancePack AWS API Documentation
645
+ #
646
+ # @overload delete_organization_conformance_pack(params = {})
647
+ # @param [Hash] params ({})
648
+ def delete_organization_conformance_pack(params = {}, options = {})
649
+ req = build_request(:delete_organization_conformance_pack, params)
650
+ req.send_request(options)
651
+ end
652
+
597
653
  # Deletes pending authorization requests for a specified aggregator
598
654
  # account in a specified region.
599
655
  #
@@ -1338,6 +1394,160 @@ module Aws::ConfigService
1338
1394
  req.send_request(options)
1339
1395
  end
1340
1396
 
1397
+ # Returns compliance information for each rule in that conformance pack.
1398
+ #
1399
+ # <note markdown="1"> You must provide exact rule names otherwise AWS Config cannot return
1400
+ # evaluation results due to insufficient data.
1401
+ #
1402
+ # </note>
1403
+ #
1404
+ # @option params [required, String] :conformance_pack_name
1405
+ # Name of the conformance pack.
1406
+ #
1407
+ # @option params [Types::ConformancePackComplianceFilters] :filters
1408
+ # A `ConformancePackComplianceFilters` object.
1409
+ #
1410
+ # @option params [Integer] :limit
1411
+ # The maximum number of AWS Config rules within a conformance pack are
1412
+ # returned on each page.
1413
+ #
1414
+ # @option params [String] :next_token
1415
+ # The `nextToken` string returned in a previous request that you use to
1416
+ # request the next page of results in a paginated response.
1417
+ #
1418
+ # @return [Types::DescribeConformancePackComplianceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1419
+ #
1420
+ # * {Types::DescribeConformancePackComplianceResponse#conformance_pack_name #conformance_pack_name} => String
1421
+ # * {Types::DescribeConformancePackComplianceResponse#conformance_pack_rule_compliance_list #conformance_pack_rule_compliance_list} => Array&lt;Types::ConformancePackRuleCompliance&gt;
1422
+ # * {Types::DescribeConformancePackComplianceResponse#next_token #next_token} => String
1423
+ #
1424
+ # @example Request syntax with placeholder values
1425
+ #
1426
+ # resp = client.describe_conformance_pack_compliance({
1427
+ # conformance_pack_name: "ConformancePackName", # required
1428
+ # filters: {
1429
+ # config_rule_names: ["StringWithCharLimit64"],
1430
+ # compliance_type: "COMPLIANT", # accepts COMPLIANT, NON_COMPLIANT
1431
+ # },
1432
+ # limit: 1,
1433
+ # next_token: "NextToken",
1434
+ # })
1435
+ #
1436
+ # @example Response structure
1437
+ #
1438
+ # resp.conformance_pack_name #=> String
1439
+ # resp.conformance_pack_rule_compliance_list #=> Array
1440
+ # resp.conformance_pack_rule_compliance_list[0].config_rule_name #=> String
1441
+ # resp.conformance_pack_rule_compliance_list[0].compliance_type #=> String, one of "COMPLIANT", "NON_COMPLIANT"
1442
+ # resp.next_token #=> String
1443
+ #
1444
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConformancePackCompliance AWS API Documentation
1445
+ #
1446
+ # @overload describe_conformance_pack_compliance(params = {})
1447
+ # @param [Hash] params ({})
1448
+ def describe_conformance_pack_compliance(params = {}, options = {})
1449
+ req = build_request(:describe_conformance_pack_compliance, params)
1450
+ req.send_request(options)
1451
+ end
1452
+
1453
+ # Provides one or more conformance packs deployment status.
1454
+ #
1455
+ # @option params [Array<String>] :conformance_pack_names
1456
+ # Comma-separated list of conformance pack names.
1457
+ #
1458
+ # @option params [Integer] :limit
1459
+ # The maximum number of conformance packs returned on each page.
1460
+ #
1461
+ # @option params [String] :next_token
1462
+ # The `nextToken` string returned in a previous request that you use to
1463
+ # request the next page of results in a paginated response.
1464
+ #
1465
+ # @return [Types::DescribeConformancePackStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1466
+ #
1467
+ # * {Types::DescribeConformancePackStatusResponse#conformance_pack_status_details #conformance_pack_status_details} => Array&lt;Types::ConformancePackStatusDetail&gt;
1468
+ # * {Types::DescribeConformancePackStatusResponse#next_token #next_token} => String
1469
+ #
1470
+ # @example Request syntax with placeholder values
1471
+ #
1472
+ # resp = client.describe_conformance_pack_status({
1473
+ # conformance_pack_names: ["ConformancePackName"],
1474
+ # limit: 1,
1475
+ # next_token: "NextToken",
1476
+ # })
1477
+ #
1478
+ # @example Response structure
1479
+ #
1480
+ # resp.conformance_pack_status_details #=> Array
1481
+ # resp.conformance_pack_status_details[0].conformance_pack_name #=> String
1482
+ # resp.conformance_pack_status_details[0].conformance_pack_id #=> String
1483
+ # resp.conformance_pack_status_details[0].conformance_pack_arn #=> String
1484
+ # resp.conformance_pack_status_details[0].conformance_pack_state #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_FAILED"
1485
+ # resp.conformance_pack_status_details[0].stack_arn #=> String
1486
+ # resp.conformance_pack_status_details[0].conformance_pack_status_reason #=> String
1487
+ # resp.conformance_pack_status_details[0].last_update_requested_time #=> Time
1488
+ # resp.conformance_pack_status_details[0].last_update_completed_time #=> Time
1489
+ # resp.next_token #=> String
1490
+ #
1491
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConformancePackStatus AWS API Documentation
1492
+ #
1493
+ # @overload describe_conformance_pack_status(params = {})
1494
+ # @param [Hash] params ({})
1495
+ def describe_conformance_pack_status(params = {}, options = {})
1496
+ req = build_request(:describe_conformance_pack_status, params)
1497
+ req.send_request(options)
1498
+ end
1499
+
1500
+ # Returns a list of one or more conformance packs.
1501
+ #
1502
+ # @option params [Array<String>] :conformance_pack_names
1503
+ # Comma-separated list of conformance pack names for which you want
1504
+ # details. If you do not specify any names, AWS Config returns details
1505
+ # for all your conformance packs.
1506
+ #
1507
+ # @option params [Integer] :limit
1508
+ # The maximum number of conformance packs returned on each page.
1509
+ #
1510
+ # @option params [String] :next_token
1511
+ # The `nextToken` string returned in a previous request that you use to
1512
+ # request the next page of results in a paginated response.
1513
+ #
1514
+ # @return [Types::DescribeConformancePacksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1515
+ #
1516
+ # * {Types::DescribeConformancePacksResponse#conformance_pack_details #conformance_pack_details} => Array&lt;Types::ConformancePackDetail&gt;
1517
+ # * {Types::DescribeConformancePacksResponse#next_token #next_token} => String
1518
+ #
1519
+ # @example Request syntax with placeholder values
1520
+ #
1521
+ # resp = client.describe_conformance_packs({
1522
+ # conformance_pack_names: ["ConformancePackName"],
1523
+ # limit: 1,
1524
+ # next_token: "NextToken",
1525
+ # })
1526
+ #
1527
+ # @example Response structure
1528
+ #
1529
+ # resp.conformance_pack_details #=> Array
1530
+ # resp.conformance_pack_details[0].conformance_pack_name #=> String
1531
+ # resp.conformance_pack_details[0].conformance_pack_arn #=> String
1532
+ # resp.conformance_pack_details[0].conformance_pack_id #=> String
1533
+ # resp.conformance_pack_details[0].delivery_s3_bucket #=> String
1534
+ # resp.conformance_pack_details[0].delivery_s3_key_prefix #=> String
1535
+ # resp.conformance_pack_details[0].conformance_pack_input_parameters #=> Array
1536
+ # resp.conformance_pack_details[0].conformance_pack_input_parameters[0].parameter_name #=> String
1537
+ # resp.conformance_pack_details[0].conformance_pack_input_parameters[0].parameter_value #=> String
1538
+ # resp.conformance_pack_details[0].last_update_requested_time #=> Time
1539
+ # resp.conformance_pack_details[0].created_by #=> String
1540
+ # resp.next_token #=> String
1541
+ #
1542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConformancePacks AWS API Documentation
1543
+ #
1544
+ # @overload describe_conformance_packs(params = {})
1545
+ # @param [Hash] params ({})
1546
+ def describe_conformance_packs(params = {}, options = {})
1547
+ req = build_request(:describe_conformance_packs, params)
1548
+ req.send_request(options)
1549
+ end
1550
+
1341
1551
  # Returns the current status of the specified delivery channel. If a
1342
1552
  # delivery channel is not specified, this action returns the current
1343
1553
  # status of all delivery channels associated with the account.
@@ -1477,7 +1687,7 @@ module Aws::ConfigService
1477
1687
  #
1478
1688
  # resp.organization_config_rule_statuses #=> Array
1479
1689
  # resp.organization_config_rule_statuses[0].organization_config_rule_name #=> String
1480
- # resp.organization_config_rule_statuses[0].organization_rule_status #=> String, one of "CREATE_SUCCESSFUL", "CREATE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_SUCCESSFUL", "UPDATE_FAILED", "UPDATE_IN_PROGRESS", "DELETE_SUCCESSFUL", "DELETE_FAILED", "DELETE_IN_PROGRESS"
1690
+ # resp.organization_config_rule_statuses[0].organization_rule_status #=> String, one of "CREATE_SUCCESSFUL", "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_SUCCESSFUL", "DELETE_FAILED", "DELETE_IN_PROGRESS", "UPDATE_SUCCESSFUL", "UPDATE_IN_PROGRESS", "UPDATE_FAILED"
1481
1691
  # resp.organization_config_rule_statuses[0].error_code #=> String
1482
1692
  # resp.organization_config_rule_statuses[0].error_message #=> String
1483
1693
  # resp.organization_config_rule_statuses[0].last_update_time #=> Time
@@ -1569,6 +1779,127 @@ module Aws::ConfigService
1569
1779
  req.send_request(options)
1570
1780
  end
1571
1781
 
1782
+ # Provides organization conformance pack deployment status for an
1783
+ # organization.
1784
+ #
1785
+ # <note markdown="1"> The status is not considered successful until organization conformance
1786
+ # pack is successfully deployed in all the member accounts with an
1787
+ # exception of excluded accounts.
1788
+ #
1789
+ # When you specify the limit and the next token, you receive a paginated
1790
+ # response. Limit and next token are not applicable if you specify
1791
+ # organization conformance pack names. They are only applicable, when
1792
+ # you request all the organization conformance packs.
1793
+ #
1794
+ # Only a master account can call this API.
1795
+ #
1796
+ # </note>
1797
+ #
1798
+ # @option params [Array<String>] :organization_conformance_pack_names
1799
+ # The names of organization conformance packs for which you want status
1800
+ # details. If you do not specify any names, AWS Config returns details
1801
+ # for all your organization conformance packs.
1802
+ #
1803
+ # @option params [Integer] :limit
1804
+ # The maximum number of OrganizationConformancePackStatuses returned on
1805
+ # each page. If you do no specify a number, AWS Config uses the default.
1806
+ # The default is 100.
1807
+ #
1808
+ # @option params [String] :next_token
1809
+ # The nextToken string returned on a previous page that you use to get
1810
+ # the next page of results in a paginated response.
1811
+ #
1812
+ # @return [Types::DescribeOrganizationConformancePackStatusesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1813
+ #
1814
+ # * {Types::DescribeOrganizationConformancePackStatusesResponse#organization_conformance_pack_statuses #organization_conformance_pack_statuses} => Array&lt;Types::OrganizationConformancePackStatus&gt;
1815
+ # * {Types::DescribeOrganizationConformancePackStatusesResponse#next_token #next_token} => String
1816
+ #
1817
+ # @example Request syntax with placeholder values
1818
+ #
1819
+ # resp = client.describe_organization_conformance_pack_statuses({
1820
+ # organization_conformance_pack_names: ["OrganizationConformancePackName"],
1821
+ # limit: 1,
1822
+ # next_token: "String",
1823
+ # })
1824
+ #
1825
+ # @example Response structure
1826
+ #
1827
+ # resp.organization_conformance_pack_statuses #=> Array
1828
+ # resp.organization_conformance_pack_statuses[0].organization_conformance_pack_name #=> String
1829
+ # resp.organization_conformance_pack_statuses[0].status #=> String, one of "CREATE_SUCCESSFUL", "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_SUCCESSFUL", "DELETE_FAILED", "DELETE_IN_PROGRESS", "UPDATE_SUCCESSFUL", "UPDATE_IN_PROGRESS", "UPDATE_FAILED"
1830
+ # resp.organization_conformance_pack_statuses[0].error_code #=> String
1831
+ # resp.organization_conformance_pack_statuses[0].error_message #=> String
1832
+ # resp.organization_conformance_pack_statuses[0].last_update_time #=> Time
1833
+ # resp.next_token #=> String
1834
+ #
1835
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeOrganizationConformancePackStatuses AWS API Documentation
1836
+ #
1837
+ # @overload describe_organization_conformance_pack_statuses(params = {})
1838
+ # @param [Hash] params ({})
1839
+ def describe_organization_conformance_pack_statuses(params = {}, options = {})
1840
+ req = build_request(:describe_organization_conformance_pack_statuses, params)
1841
+ req.send_request(options)
1842
+ end
1843
+
1844
+ # Returns a list of organization conformance packs.
1845
+ #
1846
+ # <note markdown="1"> When you specify the limit and the next token, you receive a paginated
1847
+ # response. Limit and next token are not applicable if you specify
1848
+ # organization conformance packs names. They are only applicable, when
1849
+ # you request all the organization conformance packs. Only a master
1850
+ # account can call this API.
1851
+ #
1852
+ # </note>
1853
+ #
1854
+ # @option params [Array<String>] :organization_conformance_pack_names
1855
+ # The name that you assign to an organization conformance pack.
1856
+ #
1857
+ # @option params [Integer] :limit
1858
+ # The maximum number of organization config packs returned on each page.
1859
+ # If you do no specify a number, AWS Config uses the default. The
1860
+ # default is 100.
1861
+ #
1862
+ # @option params [String] :next_token
1863
+ # The nextToken string returned on a previous page that you use to get
1864
+ # the next page of results in a paginated response.
1865
+ #
1866
+ # @return [Types::DescribeOrganizationConformancePacksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1867
+ #
1868
+ # * {Types::DescribeOrganizationConformancePacksResponse#organization_conformance_packs #organization_conformance_packs} => Array&lt;Types::OrganizationConformancePack&gt;
1869
+ # * {Types::DescribeOrganizationConformancePacksResponse#next_token #next_token} => String
1870
+ #
1871
+ # @example Request syntax with placeholder values
1872
+ #
1873
+ # resp = client.describe_organization_conformance_packs({
1874
+ # organization_conformance_pack_names: ["OrganizationConformancePackName"],
1875
+ # limit: 1,
1876
+ # next_token: "String",
1877
+ # })
1878
+ #
1879
+ # @example Response structure
1880
+ #
1881
+ # resp.organization_conformance_packs #=> Array
1882
+ # resp.organization_conformance_packs[0].organization_conformance_pack_name #=> String
1883
+ # resp.organization_conformance_packs[0].organization_conformance_pack_arn #=> String
1884
+ # resp.organization_conformance_packs[0].delivery_s3_bucket #=> String
1885
+ # resp.organization_conformance_packs[0].delivery_s3_key_prefix #=> String
1886
+ # resp.organization_conformance_packs[0].conformance_pack_input_parameters #=> Array
1887
+ # resp.organization_conformance_packs[0].conformance_pack_input_parameters[0].parameter_name #=> String
1888
+ # resp.organization_conformance_packs[0].conformance_pack_input_parameters[0].parameter_value #=> String
1889
+ # resp.organization_conformance_packs[0].excluded_accounts #=> Array
1890
+ # resp.organization_conformance_packs[0].excluded_accounts[0] #=> String
1891
+ # resp.organization_conformance_packs[0].last_update_time #=> Time
1892
+ # resp.next_token #=> String
1893
+ #
1894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeOrganizationConformancePacks AWS API Documentation
1895
+ #
1896
+ # @overload describe_organization_conformance_packs(params = {})
1897
+ # @param [Hash] params ({})
1898
+ def describe_organization_conformance_packs(params = {}, options = {})
1899
+ req = build_request(:describe_organization_conformance_packs, params)
1900
+ req.send_request(options)
1901
+ end
1902
+
1572
1903
  # Returns a list of all pending aggregation requests.
1573
1904
  #
1574
1905
  # @option params [Integer] :limit
@@ -2305,6 +2636,102 @@ module Aws::ConfigService
2305
2636
  req.send_request(options)
2306
2637
  end
2307
2638
 
2639
+ # Returns compliance details of a conformance pack for all AWS resources
2640
+ # that are monitered by conformance pack.
2641
+ #
2642
+ # @option params [required, String] :conformance_pack_name
2643
+ # Name of the conformance pack.
2644
+ #
2645
+ # @option params [Types::ConformancePackEvaluationFilters] :filters
2646
+ # A `ConformancePackEvaluationFilters` object.
2647
+ #
2648
+ # @option params [Integer] :limit
2649
+ # The maximum number of evaluation results returned on each page. If you
2650
+ # do no specify a number, AWS Config uses the default. The default is
2651
+ # 100.
2652
+ #
2653
+ # @option params [String] :next_token
2654
+ # The `nextToken` string returned in a previous request that you use to
2655
+ # request the next page of results in a paginated response.
2656
+ #
2657
+ # @return [Types::GetConformancePackComplianceDetailsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2658
+ #
2659
+ # * {Types::GetConformancePackComplianceDetailsResponse#conformance_pack_name #conformance_pack_name} => String
2660
+ # * {Types::GetConformancePackComplianceDetailsResponse#conformance_pack_rule_evaluation_results #conformance_pack_rule_evaluation_results} => Array&lt;Types::ConformancePackEvaluationResult&gt;
2661
+ # * {Types::GetConformancePackComplianceDetailsResponse#next_token #next_token} => String
2662
+ #
2663
+ # @example Request syntax with placeholder values
2664
+ #
2665
+ # resp = client.get_conformance_pack_compliance_details({
2666
+ # conformance_pack_name: "ConformancePackName", # required
2667
+ # filters: {
2668
+ # config_rule_names: ["StringWithCharLimit64"],
2669
+ # compliance_type: "COMPLIANT", # accepts COMPLIANT, NON_COMPLIANT
2670
+ # resource_type: "StringWithCharLimit256",
2671
+ # resource_ids: ["StringWithCharLimit256"],
2672
+ # },
2673
+ # limit: 1,
2674
+ # next_token: "NextToken",
2675
+ # })
2676
+ #
2677
+ # @example Response structure
2678
+ #
2679
+ # resp.conformance_pack_name #=> String
2680
+ # resp.conformance_pack_rule_evaluation_results #=> Array
2681
+ # resp.conformance_pack_rule_evaluation_results[0].compliance_type #=> String, one of "COMPLIANT", "NON_COMPLIANT"
2682
+ # resp.conformance_pack_rule_evaluation_results[0].evaluation_result_identifier.evaluation_result_qualifier.config_rule_name #=> String
2683
+ # resp.conformance_pack_rule_evaluation_results[0].evaluation_result_identifier.evaluation_result_qualifier.resource_type #=> String
2684
+ # resp.conformance_pack_rule_evaluation_results[0].evaluation_result_identifier.evaluation_result_qualifier.resource_id #=> String
2685
+ # resp.conformance_pack_rule_evaluation_results[0].evaluation_result_identifier.ordering_timestamp #=> Time
2686
+ # resp.conformance_pack_rule_evaluation_results[0].config_rule_invoked_time #=> Time
2687
+ # resp.conformance_pack_rule_evaluation_results[0].result_recorded_time #=> Time
2688
+ # resp.conformance_pack_rule_evaluation_results[0].annotation #=> String
2689
+ # resp.next_token #=> String
2690
+ #
2691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetConformancePackComplianceDetails AWS API Documentation
2692
+ #
2693
+ # @overload get_conformance_pack_compliance_details(params = {})
2694
+ # @param [Hash] params ({})
2695
+ def get_conformance_pack_compliance_details(params = {}, options = {})
2696
+ req = build_request(:get_conformance_pack_compliance_details, params)
2697
+ req.send_request(options)
2698
+ end
2699
+
2700
+ # @option params [required, Array<String>] :conformance_pack_names
2701
+ #
2702
+ # @option params [Integer] :limit
2703
+ #
2704
+ # @option params [String] :next_token
2705
+ #
2706
+ # @return [Types::GetConformancePackComplianceSummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2707
+ #
2708
+ # * {Types::GetConformancePackComplianceSummaryResponse#conformance_pack_compliance_summary_list #conformance_pack_compliance_summary_list} => Array&lt;Types::ConformancePackComplianceSummary&gt;
2709
+ # * {Types::GetConformancePackComplianceSummaryResponse#next_token #next_token} => String
2710
+ #
2711
+ # @example Request syntax with placeholder values
2712
+ #
2713
+ # resp = client.get_conformance_pack_compliance_summary({
2714
+ # conformance_pack_names: ["ConformancePackName"], # required
2715
+ # limit: 1,
2716
+ # next_token: "NextToken",
2717
+ # })
2718
+ #
2719
+ # @example Response structure
2720
+ #
2721
+ # resp.conformance_pack_compliance_summary_list #=> Array
2722
+ # resp.conformance_pack_compliance_summary_list[0].conformance_pack_name #=> String
2723
+ # resp.conformance_pack_compliance_summary_list[0].conformance_pack_compliance_status #=> String, one of "COMPLIANT", "NON_COMPLIANT"
2724
+ # resp.next_token #=> String
2725
+ #
2726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetConformancePackComplianceSummary AWS API Documentation
2727
+ #
2728
+ # @overload get_conformance_pack_compliance_summary(params = {})
2729
+ # @param [Hash] params ({})
2730
+ def get_conformance_pack_compliance_summary(params = {}, options = {})
2731
+ req = build_request(:get_conformance_pack_compliance_summary, params)
2732
+ req.send_request(options)
2733
+ end
2734
+
2308
2735
  # Returns the resource types, the number of each resource type, and the
2309
2736
  # total number of resources that AWS Config is recording in this region
2310
2737
  # for your AWS account.
@@ -2436,7 +2863,7 @@ module Aws::ConfigService
2436
2863
  # organization_config_rule_name: "OrganizationConfigRuleName", # required
2437
2864
  # filters: {
2438
2865
  # account_id: "AccountId",
2439
- # member_account_rule_status: "CREATE_SUCCESSFUL", # accepts CREATE_SUCCESSFUL, CREATE_IN_PROGRESS, CREATE_FAILED, UPDATE_SUCCESSFUL, UPDATE_FAILED, UPDATE_IN_PROGRESS, DELETE_SUCCESSFUL, DELETE_FAILED, DELETE_IN_PROGRESS
2866
+ # member_account_rule_status: "CREATE_SUCCESSFUL", # accepts CREATE_SUCCESSFUL, CREATE_IN_PROGRESS, CREATE_FAILED, DELETE_SUCCESSFUL, DELETE_FAILED, DELETE_IN_PROGRESS, UPDATE_SUCCESSFUL, UPDATE_IN_PROGRESS, UPDATE_FAILED
2440
2867
  # },
2441
2868
  # limit: 1,
2442
2869
  # next_token: "String",
@@ -2447,7 +2874,7 @@ module Aws::ConfigService
2447
2874
  # resp.organization_config_rule_detailed_status #=> Array
2448
2875
  # resp.organization_config_rule_detailed_status[0].account_id #=> String
2449
2876
  # resp.organization_config_rule_detailed_status[0].config_rule_name #=> String
2450
- # resp.organization_config_rule_detailed_status[0].member_account_rule_status #=> String, one of "CREATE_SUCCESSFUL", "CREATE_IN_PROGRESS", "CREATE_FAILED", "UPDATE_SUCCESSFUL", "UPDATE_FAILED", "UPDATE_IN_PROGRESS", "DELETE_SUCCESSFUL", "DELETE_FAILED", "DELETE_IN_PROGRESS"
2877
+ # resp.organization_config_rule_detailed_status[0].member_account_rule_status #=> String, one of "CREATE_SUCCESSFUL", "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_SUCCESSFUL", "DELETE_FAILED", "DELETE_IN_PROGRESS", "UPDATE_SUCCESSFUL", "UPDATE_IN_PROGRESS", "UPDATE_FAILED"
2451
2878
  # resp.organization_config_rule_detailed_status[0].error_code #=> String
2452
2879
  # resp.organization_config_rule_detailed_status[0].error_message #=> String
2453
2880
  # resp.organization_config_rule_detailed_status[0].last_update_time #=> Time
@@ -2462,6 +2889,64 @@ module Aws::ConfigService
2462
2889
  req.send_request(options)
2463
2890
  end
2464
2891
 
2892
+ # Returns detailed status for each member account within an organization
2893
+ # for a given organization conformance pack.
2894
+ #
2895
+ # Only a master account can call this API.
2896
+ #
2897
+ # @option params [required, String] :organization_conformance_pack_name
2898
+ # The name of organization conformance pack for which you want status
2899
+ # details for member accounts.
2900
+ #
2901
+ # @option params [Types::OrganizationResourceDetailedStatusFilters] :filters
2902
+ # An `OrganizationResourceDetailedStatusFilters` object.
2903
+ #
2904
+ # @option params [Integer] :limit
2905
+ # The maximum number of `OrganizationConformancePackDetailedStatuses`
2906
+ # returned on each page. If you do not specify a number, AWS Config uses
2907
+ # the default. The default is 100.
2908
+ #
2909
+ # @option params [String] :next_token
2910
+ # The nextToken string returned on a previous page that you use to get
2911
+ # the next page of results in a paginated response.
2912
+ #
2913
+ # @return [Types::GetOrganizationConformancePackDetailedStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2914
+ #
2915
+ # * {Types::GetOrganizationConformancePackDetailedStatusResponse#organization_conformance_pack_detailed_statuses #organization_conformance_pack_detailed_statuses} => Array&lt;Types::OrganizationConformancePackDetailedStatus&gt;
2916
+ # * {Types::GetOrganizationConformancePackDetailedStatusResponse#next_token #next_token} => String
2917
+ #
2918
+ # @example Request syntax with placeholder values
2919
+ #
2920
+ # resp = client.get_organization_conformance_pack_detailed_status({
2921
+ # organization_conformance_pack_name: "OrganizationConformancePackName", # required
2922
+ # filters: {
2923
+ # account_id: "AccountId",
2924
+ # status: "CREATE_SUCCESSFUL", # accepts CREATE_SUCCESSFUL, CREATE_IN_PROGRESS, CREATE_FAILED, DELETE_SUCCESSFUL, DELETE_FAILED, DELETE_IN_PROGRESS, UPDATE_SUCCESSFUL, UPDATE_IN_PROGRESS, UPDATE_FAILED
2925
+ # },
2926
+ # limit: 1,
2927
+ # next_token: "String",
2928
+ # })
2929
+ #
2930
+ # @example Response structure
2931
+ #
2932
+ # resp.organization_conformance_pack_detailed_statuses #=> Array
2933
+ # resp.organization_conformance_pack_detailed_statuses[0].account_id #=> String
2934
+ # resp.organization_conformance_pack_detailed_statuses[0].conformance_pack_name #=> String
2935
+ # resp.organization_conformance_pack_detailed_statuses[0].status #=> String, one of "CREATE_SUCCESSFUL", "CREATE_IN_PROGRESS", "CREATE_FAILED", "DELETE_SUCCESSFUL", "DELETE_FAILED", "DELETE_IN_PROGRESS", "UPDATE_SUCCESSFUL", "UPDATE_IN_PROGRESS", "UPDATE_FAILED"
2936
+ # resp.organization_conformance_pack_detailed_statuses[0].error_code #=> String
2937
+ # resp.organization_conformance_pack_detailed_statuses[0].error_message #=> String
2938
+ # resp.organization_conformance_pack_detailed_statuses[0].last_update_time #=> Time
2939
+ # resp.next_token #=> String
2940
+ #
2941
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetOrganizationConformancePackDetailedStatus AWS API Documentation
2942
+ #
2943
+ # @overload get_organization_conformance_pack_detailed_status(params = {})
2944
+ # @param [Hash] params ({})
2945
+ def get_organization_conformance_pack_detailed_status(params = {}, options = {})
2946
+ req = build_request(:get_organization_conformance_pack_detailed_status, params)
2947
+ req.send_request(options)
2948
+ end
2949
+
2465
2950
  # Returns a list of configuration items for the specified resource. The
2466
2951
  # list contains details about each state of the resource during the
2467
2952
  # specified time interval. If you specified a retention period to retain
@@ -3031,6 +3516,88 @@ module Aws::ConfigService
3031
3516
  req.send_request(options)
3032
3517
  end
3033
3518
 
3519
+ # Creates or updates a conformance pack. A conformance pack is a
3520
+ # collection of AWS Config rules that can be easily deployed in an
3521
+ # account and a region.
3522
+ #
3523
+ # This API creates a service linked role
3524
+ # `AWSServiceRoleForConfigConforms` in your account. The service linked
3525
+ # role is created only when the role does not exist in your account. AWS
3526
+ # Config verifies the existence of role with `GetRole` action.
3527
+ #
3528
+ # <note markdown="1"> You must specify either the `TemplateS3Uri` or the `TemplateBody`
3529
+ # parameter, but not both. If you provide both AWS Config uses the
3530
+ # `TemplateS3Uri` parameter and ignores the `TemplateBody` parameter.
3531
+ #
3532
+ # </note>
3533
+ #
3534
+ # @option params [required, String] :conformance_pack_name
3535
+ # Name of the conformance pack you want to create.
3536
+ #
3537
+ # @option params [String] :template_s3_uri
3538
+ # Location of file containing the template body. The uri must point to
3539
+ # the conformance pack template (max size: 300,000 bytes) that is
3540
+ # located in an Amazon S3 bucket in the same region as the conformance
3541
+ # pack.
3542
+ #
3543
+ # <note markdown="1"> You must have access to read Amazon S3 bucket.
3544
+ #
3545
+ # </note>
3546
+ #
3547
+ # @option params [String] :template_body
3548
+ # A string containing full conformance pack template body. Structure
3549
+ # containing the template body with a minimum length of 1 byte and a
3550
+ # maximum length of 51,200 bytes.
3551
+ #
3552
+ # <note markdown="1"> You can only use a YAML template with one resource type, that is,
3553
+ # config rule.
3554
+ #
3555
+ # </note>
3556
+ #
3557
+ # @option params [required, String] :delivery_s3_bucket
3558
+ # Location of an Amazon S3 bucket where AWS Config can deliver
3559
+ # evaluation results. AWS Config stores intermediate files while
3560
+ # processing conformance pack template.
3561
+ #
3562
+ # @option params [String] :delivery_s3_key_prefix
3563
+ # The prefix for the Amazon S3 bucket.
3564
+ #
3565
+ # @option params [Array<Types::ConformancePackInputParameter>] :conformance_pack_input_parameters
3566
+ # A list of `ConformancePackInputParameter` objects.
3567
+ #
3568
+ # @return [Types::PutConformancePackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3569
+ #
3570
+ # * {Types::PutConformancePackResponse#conformance_pack_arn #conformance_pack_arn} => String
3571
+ #
3572
+ # @example Request syntax with placeholder values
3573
+ #
3574
+ # resp = client.put_conformance_pack({
3575
+ # conformance_pack_name: "ConformancePackName", # required
3576
+ # template_s3_uri: "TemplateS3Uri",
3577
+ # template_body: "TemplateBody",
3578
+ # delivery_s3_bucket: "DeliveryS3Bucket", # required
3579
+ # delivery_s3_key_prefix: "DeliveryS3KeyPrefix",
3580
+ # conformance_pack_input_parameters: [
3581
+ # {
3582
+ # parameter_name: "ParameterName", # required
3583
+ # parameter_value: "ParameterValue", # required
3584
+ # },
3585
+ # ],
3586
+ # })
3587
+ #
3588
+ # @example Response structure
3589
+ #
3590
+ # resp.conformance_pack_arn #=> String
3591
+ #
3592
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConformancePack AWS API Documentation
3593
+ #
3594
+ # @overload put_conformance_pack(params = {})
3595
+ # @param [Hash] params ({})
3596
+ def put_conformance_pack(params = {}, options = {})
3597
+ req = build_request(:put_conformance_pack, params)
3598
+ req.send_request(options)
3599
+ end
3600
+
3034
3601
  # Creates a delivery channel object to deliver configuration information
3035
3602
  # to an Amazon S3 bucket and Amazon SNS topic.
3036
3603
  #
@@ -3227,6 +3794,89 @@ module Aws::ConfigService
3227
3794
  req.send_request(options)
3228
3795
  end
3229
3796
 
3797
+ # Deploys conformance packs across member accounts in an AWS
3798
+ # Organization.
3799
+ #
3800
+ # This API enables organization service access through the
3801
+ # `EnableAWSServiceAccess` action and creates a service linked role
3802
+ # AWSServiceRoleForConfigMultiAccountSetup in the master account of your
3803
+ # organization. The service linked role is created only when the role
3804
+ # does not exist in the master account. AWS Config verifies the
3805
+ # existence of role with GetRole action.
3806
+ #
3807
+ # <note markdown="1"> The SPN is `config-multiaccountsetup.amazonaws.com`.
3808
+ #
3809
+ # You must specify either the `TemplateS3Uri` or the `TemplateBody`
3810
+ # parameter, but not both. If you provide both AWS Config uses the
3811
+ # `TemplateS3Uri` parameter and ignores the `TemplateBody` parameter.
3812
+ #
3813
+ # </note>
3814
+ #
3815
+ # @option params [required, String] :organization_conformance_pack_name
3816
+ # Name of the organization conformance pack you want to create.
3817
+ #
3818
+ # @option params [String] :template_s3_uri
3819
+ # Location of file containing the template body. The uri must point to
3820
+ # the conformance pack template (max size: 300,000 bytes).
3821
+ #
3822
+ # <note markdown="1"> You must have access to read Amazon S3 bucket.
3823
+ #
3824
+ # </note>
3825
+ #
3826
+ # @option params [String] :template_body
3827
+ # A string containing full conformance pack template body. Structure
3828
+ # containing the template body with a minimum length of 1 byte and a
3829
+ # maximum length of 51,200 bytes.
3830
+ #
3831
+ # @option params [required, String] :delivery_s3_bucket
3832
+ # Location of an Amazon S3 bucket where AWS Config can deliver
3833
+ # evaluation results. AWS Config stores intermediate files while
3834
+ # processing conformance pack template.
3835
+ #
3836
+ # @option params [String] :delivery_s3_key_prefix
3837
+ # The prefix for the Amazon S3 bucket.
3838
+ #
3839
+ # @option params [Array<Types::ConformancePackInputParameter>] :conformance_pack_input_parameters
3840
+ # A list of `ConformancePackInputParameter` objects.
3841
+ #
3842
+ # @option params [Array<String>] :excluded_accounts
3843
+ # A list of AWS accounts to be excluded from an organization conformance
3844
+ # pack while deploying a conformance pack.
3845
+ #
3846
+ # @return [Types::PutOrganizationConformancePackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3847
+ #
3848
+ # * {Types::PutOrganizationConformancePackResponse#organization_conformance_pack_arn #organization_conformance_pack_arn} => String
3849
+ #
3850
+ # @example Request syntax with placeholder values
3851
+ #
3852
+ # resp = client.put_organization_conformance_pack({
3853
+ # organization_conformance_pack_name: "OrganizationConformancePackName", # required
3854
+ # template_s3_uri: "TemplateS3Uri",
3855
+ # template_body: "TemplateBody",
3856
+ # delivery_s3_bucket: "DeliveryS3Bucket", # required
3857
+ # delivery_s3_key_prefix: "DeliveryS3KeyPrefix",
3858
+ # conformance_pack_input_parameters: [
3859
+ # {
3860
+ # parameter_name: "ParameterName", # required
3861
+ # parameter_value: "ParameterValue", # required
3862
+ # },
3863
+ # ],
3864
+ # excluded_accounts: ["AccountId"],
3865
+ # })
3866
+ #
3867
+ # @example Response structure
3868
+ #
3869
+ # resp.organization_conformance_pack_arn #=> String
3870
+ #
3871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutOrganizationConformancePack AWS API Documentation
3872
+ #
3873
+ # @overload put_organization_conformance_pack(params = {})
3874
+ # @param [Hash] params ({})
3875
+ def put_organization_conformance_pack(params = {}, options = {})
3876
+ req = build_request(:put_organization_conformance_pack, params)
3877
+ req.send_request(options)
3878
+ end
3879
+
3230
3880
  # Adds or updates the remediation configuration with a specific AWS
3231
3881
  # Config rule with the selected target or action. The API creates the
3232
3882
  # `RemediationConfiguration` object for the AWS Config rule. The AWS
@@ -3697,7 +4347,7 @@ module Aws::ConfigService
3697
4347
  params: params,
3698
4348
  config: config)
3699
4349
  context[:gem_name] = 'aws-sdk-configservice'
3700
- context[:gem_version] = '1.38.0'
4350
+ context[:gem_version] = '1.39.0'
3701
4351
  Seahorse::Client::Request.new(handlers, context)
3702
4352
  end
3703
4353