@aws-sdk/client-config-service 3.699.0 → 3.709.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.
Files changed (107) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +304 -36
  3. package/dist-es/ConfigService.js +10 -0
  4. package/dist-es/commands/AssociateResourceTypesCommand.js +22 -0
  5. package/dist-es/commands/DeleteServiceLinkedConfigurationRecorderCommand.js +22 -0
  6. package/dist-es/commands/DisassociateResourceTypesCommand.js +22 -0
  7. package/dist-es/commands/ListConfigurationRecordersCommand.js +22 -0
  8. package/dist-es/commands/PutServiceLinkedConfigurationRecorderCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +53 -25
  11. package/dist-es/models/models_1.js +7 -0
  12. package/dist-es/pagination/ListConfigurationRecordersPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/protocols/Aws_json1_1.js +129 -7
  15. package/dist-types/ConfigService.d.ts +36 -0
  16. package/dist-types/ConfigServiceClient.d.ts +7 -2
  17. package/dist-types/commands/AssociateResourceTypesCommand.d.ts +163 -0
  18. package/dist-types/commands/BatchGetAggregateResourceConfigCommand.d.ts +34 -3
  19. package/dist-types/commands/BatchGetResourceConfigCommand.d.ts +35 -5
  20. package/dist-types/commands/DeleteConfigRuleCommand.d.ts +24 -0
  21. package/dist-types/commands/DeleteConfigurationRecorderCommand.d.ts +15 -7
  22. package/dist-types/commands/DeleteDeliveryChannelCommand.d.ts +2 -4
  23. package/dist-types/commands/DeleteOrganizationConfigRuleCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteOrganizationConformancePackCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteRemediationConfigurationCommand.d.ts +7 -4
  26. package/dist-types/commands/DeleteResourceConfigCommand.d.ts +34 -3
  27. package/dist-types/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +138 -0
  28. package/dist-types/commands/DeleteStoredQueryCommand.d.ts +34 -3
  29. package/dist-types/commands/DeliverConfigSnapshotCommand.d.ts +1 -2
  30. package/dist-types/commands/DescribeAggregateComplianceByConfigRulesCommand.d.ts +34 -3
  31. package/dist-types/commands/DescribeAggregateComplianceByConformancePacksCommand.d.ts +35 -4
  32. package/dist-types/commands/DescribeComplianceByConfigRuleCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeComplianceByResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeConfigurationAggregatorsCommand.d.ts +15 -1
  35. package/dist-types/commands/DescribeConfigurationRecorderStatusCommand.d.ts +47 -7
  36. package/dist-types/commands/DescribeConfigurationRecordersCommand.d.ts +45 -5
  37. package/dist-types/commands/DescribeDeliveryChannelStatusCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeDeliveryChannelsCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeOrganizationConfigRuleStatusesCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeOrganizationConformancePackStatusesCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeOrganizationConformancePacksCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeRetentionConfigurationsCommand.d.ts +1 -1
  44. package/dist-types/commands/DisassociateResourceTypesCommand.d.ts +163 -0
  45. package/dist-types/commands/GetAggregateComplianceDetailsByConfigRuleCommand.d.ts +34 -3
  46. package/dist-types/commands/GetAggregateConfigRuleComplianceSummaryCommand.d.ts +34 -3
  47. package/dist-types/commands/GetAggregateConformancePackComplianceSummaryCommand.d.ts +34 -3
  48. package/dist-types/commands/GetAggregateDiscoveredResourceCountsCommand.d.ts +34 -3
  49. package/dist-types/commands/GetAggregateResourceConfigCommand.d.ts +37 -3
  50. package/dist-types/commands/GetDiscoveredResourceCountsCommand.d.ts +34 -3
  51. package/dist-types/commands/GetOrganizationConfigRuleDetailedStatusCommand.d.ts +1 -1
  52. package/dist-types/commands/GetOrganizationConformancePackDetailedStatusCommand.d.ts +1 -1
  53. package/dist-types/commands/GetOrganizationCustomRulePolicyCommand.d.ts +1 -1
  54. package/dist-types/commands/GetResourceConfigHistoryCommand.d.ts +35 -5
  55. package/dist-types/commands/GetStoredQueryCommand.d.ts +34 -3
  56. package/dist-types/commands/ListAggregateDiscoveredResourcesCommand.d.ts +34 -3
  57. package/dist-types/commands/ListConfigurationRecordersCommand.d.ts +124 -0
  58. package/dist-types/commands/ListConformancePackComplianceScoresCommand.d.ts +1 -1
  59. package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +36 -6
  60. package/dist-types/commands/ListResourceEvaluationsCommand.d.ts +1 -1
  61. package/dist-types/commands/ListStoredQueriesCommand.d.ts +35 -4
  62. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -5
  63. package/dist-types/commands/PutAggregationAuthorizationCommand.d.ts +4 -0
  64. package/dist-types/commands/PutConfigRuleCommand.d.ts +12 -6
  65. package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +37 -3
  66. package/dist-types/commands/PutConfigurationRecorderCommand.d.ts +79 -16
  67. package/dist-types/commands/PutConformancePackCommand.d.ts +7 -4
  68. package/dist-types/commands/PutDeliveryChannelCommand.d.ts +14 -18
  69. package/dist-types/commands/PutEvaluationsCommand.d.ts +1 -1
  70. package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +42 -8
  71. package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +42 -8
  72. package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +7 -4
  73. package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +13 -4
  74. package/dist-types/commands/PutResourceConfigCommand.d.ts +41 -7
  75. package/dist-types/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +182 -0
  76. package/dist-types/commands/PutStoredQueryCommand.d.ts +37 -3
  77. package/dist-types/commands/StartConfigRulesEvaluationCommand.d.ts +3 -1
  78. package/dist-types/commands/StartConfigurationRecorderCommand.d.ts +14 -4
  79. package/dist-types/commands/StartRemediationExecutionCommand.d.ts +7 -4
  80. package/dist-types/commands/StopConfigurationRecorderCommand.d.ts +12 -1
  81. package/dist-types/commands/TagResourceCommand.d.ts +35 -4
  82. package/dist-types/commands/UntagResourceCommand.d.ts +34 -3
  83. package/dist-types/commands/index.d.ts +5 -0
  84. package/dist-types/models/models_0.d.ts +1288 -1339
  85. package/dist-types/models/models_1.d.ts +551 -12
  86. package/dist-types/pagination/ListConfigurationRecordersPaginator.d.ts +7 -0
  87. package/dist-types/pagination/index.d.ts +1 -0
  88. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  89. package/dist-types/ts3.4/ConfigService.d.ts +98 -0
  90. package/dist-types/ts3.4/ConfigServiceClient.d.ts +30 -0
  91. package/dist-types/ts3.4/commands/AssociateResourceTypesCommand.d.ts +51 -0
  92. package/dist-types/ts3.4/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/DisassociateResourceTypesCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/ListConfigurationRecordersCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/ListConformancePackComplianceScoresCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/ListResourceEvaluationsCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/ListStoredQueriesCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -2
  100. package/dist-types/ts3.4/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  102. package/dist-types/ts3.4/models/models_0.d.ts +134 -132
  103. package/dist-types/ts3.4/models/models_1.d.ts +105 -0
  104. package/dist-types/ts3.4/pagination/ListConfigurationRecordersPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  106. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  107. package/package.json +35 -35
@@ -102,14 +102,44 @@ declare const BatchGetResourceConfigCommand_base: {
102
102
  * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape.
103
103
  *
104
104
  * @throws {@link NoAvailableConfigurationRecorderException} (client fault)
105
- * <p>There are no configuration recorders available to provide the
106
- * role needed to describe your resources. Create a configuration
105
+ * <p>There are no customer managed configuration recorders available to record your resources. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigurationRecorder.html">PutConfigurationRecorder</a> operation to create the customer managed configuration
107
106
  * recorder.</p>
108
107
  *
109
108
  * @throws {@link ValidationException} (client fault)
110
- * <p>The requested action is not valid.</p>
111
- * <p>For PutStoredQuery, you will see this exception if there are missing required fields or if the input value fails the validation, or if you are trying to create more than 300 queries.</p>
112
- * <p>For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are missing required fields or if the input value fails the validation.</p>
109
+ * <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
110
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
111
+ * <ul>
112
+ * <li>
113
+ * <p>There are missing required fields.</p>
114
+ * </li>
115
+ * <li>
116
+ * <p>The input value fails the validation.</p>
117
+ * </li>
118
+ * <li>
119
+ * <p>You are trying to create more than 300 queries.</p>
120
+ * </li>
121
+ * </ul>
122
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
123
+ * <ul>
124
+ * <li>
125
+ * <p>You have specified more than one configuration recorder.</p>
126
+ * </li>
127
+ * <li>
128
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
129
+ * </li>
130
+ * </ul>
131
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
132
+ * <ul>
133
+ * <li>
134
+ * <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
135
+ * </li>
136
+ * <li>
137
+ * <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
138
+ * </li>
139
+ * <li>
140
+ * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
141
+ * </li>
142
+ * </ul>
113
143
  *
114
144
  * @throws {@link ConfigServiceServiceException}
115
145
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -36,6 +36,30 @@ declare const DeleteConfigRuleCommand_base: {
36
36
  * receive a <code>ResourceInUseException</code>.</p>
37
37
  * <p>You can check the state of a rule by using the
38
38
  * <code>DescribeConfigRules</code> request.</p>
39
+ * <note>
40
+ * <p>
41
+ * <b>Recommendation: Stop recording resource compliance before deleting rules</b>
42
+ * </p>
43
+ * <p>It is highly recommended that you stop recording for the <code>AWS::Config::ResourceCompliance</code> resource type before you delete rules in your account.
44
+ * Deleting rules creates CIs for <code>AWS::Config::ResourceCompliance</code> and can affect your Config <a href="https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html">configuration recorder</a> costs.
45
+ *
46
+ * If you are deleting rules which evaluate a large number of resource types,
47
+ * this can lead to a spike in the number of CIs recorded.</p>
48
+ * <p>Best practice:</p>
49
+ * <ol>
50
+ * <li>
51
+ * <p>Stop recording <code>AWS::Config::ResourceCompliance</code>
52
+ * </p>
53
+ * </li>
54
+ * <li>
55
+ * <p>Delete rule(s)</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>Turn on recording for <code>AWS::Config::ResourceCompliance</code>
59
+ * </p>
60
+ * </li>
61
+ * </ol>
62
+ * </note>
39
63
  * @example
40
64
  * Use a bare-bones client and the command you need to make an API call.
41
65
  * ```javascript
@@ -27,16 +27,13 @@ declare const DeleteConfigurationRecorderCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Deletes the configuration recorder.</p>
31
- * <p>After the configuration recorder is deleted, Config will
32
- * not record resource configuration changes until you create a new
33
- * configuration recorder.</p>
34
- * <p>This action does not delete the configuration information that
30
+ * <p>Deletes the customer managed configuration recorder.</p>
31
+ * <p>This operation does not delete the configuration information that
35
32
  * was previously recorded. You will be able to access the previously
36
33
  * recorded information by using the
37
- * <code>GetResourceConfigHistory</code> action, but you will not
34
+ * <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_GetResourceConfigHistory.html">GetResourceConfigHistory</a> operation, but you will not
38
35
  * be able to access this information in the Config console until
39
- * you create a new configuration recorder.</p>
36
+ * you have created a new customer managed configuration recorder.</p>
40
37
  * @example
41
38
  * Use a bare-bones client and the command you need to make an API call.
42
39
  * ```javascript
@@ -62,6 +59,17 @@ declare const DeleteConfigurationRecorderCommand_base: {
62
59
  * <p>You have specified a configuration recorder that does not
63
60
  * exist.</p>
64
61
  *
62
+ * @throws {@link UnmodifiableEntityException} (client fault)
63
+ * <p>The requested operation is not valid.</p>
64
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigurationRecorder.html">PutConfigurationRecorder</a>,
65
+ * you will see this exception because you cannot use this operation to create a service-linked configuration recorder. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a> operation to create a service-linked configuration
66
+ * recorder.</p>
67
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteConfigurationRecorder.html">DeleteConfigurationRecorder</a>, you will see this exception because you cannot use this operation to delete a service-linked configuration recorder. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a> operation to delete a service-linked configuration
68
+ * recorder.</p>
69
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_StartConfigurationRecorder.html">StartConfigurationRecorder</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_StopConfigurationRecorder.html">StopConfigurationRecorder</a>, you will see this exception because these operations do not affect service-linked configuration recorders.
70
+ * Service-linked configuration recorders are always recording. To stop recording, you must delete the service-linked configuration recorder. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a> operation to delete a service-linked configuration
71
+ * recorder.</p>
72
+ *
65
73
  * @throws {@link ConfigServiceServiceException}
66
74
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
67
75
  *
@@ -28,8 +28,7 @@ declare const DeleteDeliveryChannelCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Deletes the delivery channel.</p>
31
- * <p>Before you can delete the delivery channel, you must stop the
32
- * configuration recorder by using the <a>StopConfigurationRecorder</a> action.</p>
31
+ * <p>Before you can delete the delivery channel, you must stop the customer managed configuration recorder. You can use the <a>StopConfigurationRecorder</a> operation to stop the customer managed configuration recorder.</p>
33
32
  * @example
34
33
  * Use a bare-bones client and the command you need to make an API call.
35
34
  * ```javascript
@@ -52,8 +51,7 @@ declare const DeleteDeliveryChannelCommand_base: {
52
51
  * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape.
53
52
  *
54
53
  * @throws {@link LastDeliveryChannelDeleteFailedException} (client fault)
55
- * <p>You cannot delete the delivery channel you specified because
56
- * the configuration recorder is running.</p>
54
+ * <p>You cannot delete the delivery channel you specified because the customer managed configuration recorder is running.</p>
57
55
  *
58
56
  * @throws {@link NoSuchDeliveryChannelException} (client fault)
59
57
  * <p>You have specified a delivery channel that does not
@@ -73,7 +73,7 @@ declare const DeleteOrganizationConfigRuleCommand_base: {
73
73
  * </li>
74
74
  * <li>
75
75
  * <p>You are not a registered delegated administrator for Config with permissions to call <code>ListDelegatedAdministrators</code> API.
76
- * Ensure that the management account registers delagated administrator for Config service principle name before the delegated administrator creates an aggregator.</p>
76
+ * Ensure that the management account registers delagated administrator for Config service principal name before the delegated administrator creates an aggregator.</p>
77
77
  * </li>
78
78
  * </ul>
79
79
  * <p>For all <code>OrganizationConfigRule</code> and <code>OrganizationConformancePack</code> APIs, Config throws an exception if APIs are called from member accounts. All APIs must be called from organization management account.</p>
@@ -75,7 +75,7 @@ declare const DeleteOrganizationConformancePackCommand_base: {
75
75
  * </li>
76
76
  * <li>
77
77
  * <p>You are not a registered delegated administrator for Config with permissions to call <code>ListDelegatedAdministrators</code> API.
78
- * Ensure that the management account registers delagated administrator for Config service principle name before the delegated administrator creates an aggregator.</p>
78
+ * Ensure that the management account registers delagated administrator for Config service principal name before the delegated administrator creates an aggregator.</p>
79
79
  * </li>
80
80
  * </ul>
81
81
  * <p>For all <code>OrganizationConfigRule</code> and <code>OrganizationConformancePack</code> APIs, Config throws an exception if APIs are called from member accounts. All APIs must be called from organization management account.</p>
@@ -54,16 +54,16 @@ declare const DeleteRemediationConfigurationCommand_base: {
54
54
  * <p>Indicates one of the following errors:</p>
55
55
  * <ul>
56
56
  * <li>
57
- * <p>For PutConfigRule, the rule cannot be created because the IAM role assigned to Config lacks permissions to perform the config:Put* action.</p>
57
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigRule.html">PutConfigRule</a>, the rule cannot be created because the IAM role assigned to Config lacks permissions to perform the config:Put* action.</p>
58
58
  * </li>
59
59
  * <li>
60
- * <p>For PutConfigRule, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.</p>
60
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigRule.html">PutConfigRule</a>, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.</p>
61
61
  * </li>
62
62
  * <li>
63
- * <p>For PutOrganizationConfigRule, organization Config rule cannot be created because you do not have permissions to call IAM <code>GetRole</code> action or create a service-linked role.</p>
63
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutOrganizationConfigRule.html">PutOrganizationConfigRule</a>, organization Config rule cannot be created because you do not have permissions to call IAM <code>GetRole</code> action or create a service-linked role.</p>
64
64
  * </li>
65
65
  * <li>
66
- * <p>For PutConformancePack and PutOrganizationConformancePack, a conformance pack cannot be created because you do not have the following permissions: </p>
66
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConformancePack.html">PutConformancePack</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutOrganizationConformancePack.html">PutOrganizationConformancePack</a>, a conformance pack cannot be created because you do not have the following permissions: </p>
67
67
  * <ul>
68
68
  * <li>
69
69
  * <p>You do not have permission to call IAM <code>GetRole</code> action or create a service-linked role.</p>
@@ -73,6 +73,9 @@ declare const DeleteRemediationConfigurationCommand_base: {
73
73
  * </li>
74
74
  * </ul>
75
75
  * </li>
76
+ * <li>
77
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a>, a service-linked configuration recorder cannot be created because you do not have the following permissions: IAM <code>CreateServiceLinkedRole</code>.</p>
78
+ * </li>
76
79
  * </ul>
77
80
  *
78
81
  * @throws {@link InvalidParameterValueException} (client fault)
@@ -55,9 +55,40 @@ declare const DeleteResourceConfigCommand_base: {
55
55
  * <p>There is no configuration recorder running.</p>
56
56
  *
57
57
  * @throws {@link ValidationException} (client fault)
58
- * <p>The requested action is not valid.</p>
59
- * <p>For PutStoredQuery, you will see this exception if there are missing required fields or if the input value fails the validation, or if you are trying to create more than 300 queries.</p>
60
- * <p>For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are missing required fields or if the input value fails the validation.</p>
58
+ * <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
59
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
60
+ * <ul>
61
+ * <li>
62
+ * <p>There are missing required fields.</p>
63
+ * </li>
64
+ * <li>
65
+ * <p>The input value fails the validation.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>You are trying to create more than 300 queries.</p>
69
+ * </li>
70
+ * </ul>
71
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
72
+ * <ul>
73
+ * <li>
74
+ * <p>You have specified more than one configuration recorder.</p>
75
+ * </li>
76
+ * <li>
77
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
78
+ * </li>
79
+ * </ul>
80
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
81
+ * <ul>
82
+ * <li>
83
+ * <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
84
+ * </li>
85
+ * <li>
86
+ * <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
87
+ * </li>
88
+ * <li>
89
+ * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
90
+ * </li>
91
+ * </ul>
61
92
  *
62
93
  * @throws {@link ConfigServiceServiceException}
63
94
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -0,0 +1,138 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient";
4
+ import { DeleteServiceLinkedConfigurationRecorderRequest, DeleteServiceLinkedConfigurationRecorderResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteServiceLinkedConfigurationRecorderCommand}.
14
+ */
15
+ export interface DeleteServiceLinkedConfigurationRecorderCommandInput extends DeleteServiceLinkedConfigurationRecorderRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteServiceLinkedConfigurationRecorderCommand}.
21
+ */
22
+ export interface DeleteServiceLinkedConfigurationRecorderCommandOutput extends DeleteServiceLinkedConfigurationRecorderResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteServiceLinkedConfigurationRecorderCommand_base: {
25
+ new (input: DeleteServiceLinkedConfigurationRecorderCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteServiceLinkedConfigurationRecorderCommandInput, DeleteServiceLinkedConfigurationRecorderCommandOutput, ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteServiceLinkedConfigurationRecorderCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteServiceLinkedConfigurationRecorderCommandInput, DeleteServiceLinkedConfigurationRecorderCommandOutput, ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes an existing service-linked configuration recorder.</p>
31
+ * <p>This operation does not delete the configuration information that was previously recorded. You will be able to access the previously
32
+ * recorded information by using the
33
+ * <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_GetResourceConfigHistory.html">GetResourceConfigHistory</a> operation, but you will not
34
+ * be able to access this information in the Config console until
35
+ * you have created a new service-linked configuration recorder for the same service.</p>
36
+ * <note>
37
+ * <p>
38
+ * <b>The recording scope determines if you receive configuration items</b>
39
+ * </p>
40
+ * <p>The recording scope is set by the service that is linked to the configuration recorder and determines whether you receive configuration items (CIs) in the delivery channel. If the recording scope is internal, you will not receive CIs in the delivery channel.</p>
41
+ * </note>
42
+ * @example
43
+ * Use a bare-bones client and the command you need to make an API call.
44
+ * ```javascript
45
+ * import { ConfigServiceClient, DeleteServiceLinkedConfigurationRecorderCommand } from "@aws-sdk/client-config-service"; // ES Modules import
46
+ * // const { ConfigServiceClient, DeleteServiceLinkedConfigurationRecorderCommand } = require("@aws-sdk/client-config-service"); // CommonJS import
47
+ * const client = new ConfigServiceClient(config);
48
+ * const input = { // DeleteServiceLinkedConfigurationRecorderRequest
49
+ * ServicePrincipal: "STRING_VALUE", // required
50
+ * };
51
+ * const command = new DeleteServiceLinkedConfigurationRecorderCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // DeleteServiceLinkedConfigurationRecorderResponse
54
+ * // Arn: "STRING_VALUE", // required
55
+ * // Name: "STRING_VALUE", // required
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param DeleteServiceLinkedConfigurationRecorderCommandInput - {@link DeleteServiceLinkedConfigurationRecorderCommandInput}
61
+ * @returns {@link DeleteServiceLinkedConfigurationRecorderCommandOutput}
62
+ * @see {@link DeleteServiceLinkedConfigurationRecorderCommandInput} for command's `input` shape.
63
+ * @see {@link DeleteServiceLinkedConfigurationRecorderCommandOutput} for command's `response` shape.
64
+ * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape.
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutServiceLinkedConfigurationRecorder.html">PutServiceLinkedConfigurationRecorder</a>, you cannot create a service-linked recorder because a service-linked recorder already exists for the specified service.</p>
68
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteServiceLinkedConfigurationRecorder.html">DeleteServiceLinkedConfigurationRecorder</a>, you cannot delete the service-linked recorder because it is currently in use by the linked Amazon Web Services service.</p>
69
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteDeliveryChannel.html">DeleteDeliveryChannel</a>, you cannot delete the specified delivery channel because the customer managed configuration recorder is running. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_StopConfigurationRecorder.html">StopConfigurationRecorder</a> operation to stop the customer managed configuration
70
+ * recorder.</p>
71
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
72
+ * <ul>
73
+ * <li>
74
+ * <p>For service-linked configuration recorders, the configuration recorder is not in use by the service. No association or dissociation of resource types is permitted.</p>
75
+ * </li>
76
+ * <li>
77
+ * <p>For service-linked configuration recorders, your requested change to the configuration recorder has been denied by its linked Amazon Web Services service.</p>
78
+ * </li>
79
+ * </ul>
80
+ *
81
+ * @throws {@link NoSuchConfigurationRecorderException} (client fault)
82
+ * <p>You have specified a configuration recorder that does not
83
+ * exist.</p>
84
+ *
85
+ * @throws {@link ValidationException} (client fault)
86
+ * <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
87
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
88
+ * <ul>
89
+ * <li>
90
+ * <p>There are missing required fields.</p>
91
+ * </li>
92
+ * <li>
93
+ * <p>The input value fails the validation.</p>
94
+ * </li>
95
+ * <li>
96
+ * <p>You are trying to create more than 300 queries.</p>
97
+ * </li>
98
+ * </ul>
99
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
100
+ * <ul>
101
+ * <li>
102
+ * <p>You have specified more than one configuration recorder.</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
106
+ * </li>
107
+ * </ul>
108
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
109
+ * <ul>
110
+ * <li>
111
+ * <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
112
+ * </li>
113
+ * <li>
114
+ * <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
115
+ * </li>
116
+ * <li>
117
+ * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
118
+ * </li>
119
+ * </ul>
120
+ *
121
+ * @throws {@link ConfigServiceServiceException}
122
+ * <p>Base exception class for all service exceptions from ConfigService service.</p>
123
+ *
124
+ * @public
125
+ */
126
+ export declare class DeleteServiceLinkedConfigurationRecorderCommand extends DeleteServiceLinkedConfigurationRecorderCommand_base {
127
+ /** @internal type navigation helper, not in runtime. */
128
+ protected static __types: {
129
+ api: {
130
+ input: DeleteServiceLinkedConfigurationRecorderRequest;
131
+ output: DeleteServiceLinkedConfigurationRecorderResponse;
132
+ };
133
+ sdk: {
134
+ input: DeleteServiceLinkedConfigurationRecorderCommandInput;
135
+ output: DeleteServiceLinkedConfigurationRecorderCommandOutput;
136
+ };
137
+ };
138
+ }
@@ -53,9 +53,40 @@ declare const DeleteStoredQueryCommand_base: {
53
53
  * <p>You have specified a resource that does not exist.</p>
54
54
  *
55
55
  * @throws {@link ValidationException} (client fault)
56
- * <p>The requested action is not valid.</p>
57
- * <p>For PutStoredQuery, you will see this exception if there are missing required fields or if the input value fails the validation, or if you are trying to create more than 300 queries.</p>
58
- * <p>For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are missing required fields or if the input value fails the validation.</p>
56
+ * <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
57
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
58
+ * <ul>
59
+ * <li>
60
+ * <p>There are missing required fields.</p>
61
+ * </li>
62
+ * <li>
63
+ * <p>The input value fails the validation.</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>You are trying to create more than 300 queries.</p>
67
+ * </li>
68
+ * </ul>
69
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
70
+ * <ul>
71
+ * <li>
72
+ * <p>You have specified more than one configuration recorder.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
76
+ * </li>
77
+ * </ul>
78
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
79
+ * <ul>
80
+ * <li>
81
+ * <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
82
+ * </li>
83
+ * <li>
84
+ * <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
85
+ * </li>
86
+ * <li>
87
+ * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
88
+ * </li>
89
+ * </ul>
59
90
  *
60
91
  * @throws {@link ConfigServiceServiceException}
61
92
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -68,8 +68,7 @@ declare const DeliverConfigSnapshotCommand_base: {
68
68
  * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape.
69
69
  *
70
70
  * @throws {@link NoAvailableConfigurationRecorderException} (client fault)
71
- * <p>There are no configuration recorders available to provide the
72
- * role needed to describe your resources. Create a configuration
71
+ * <p>There are no customer managed configuration recorders available to record your resources. Use the <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutConfigurationRecorder.html">PutConfigurationRecorder</a> operation to create the customer managed configuration
73
72
  * recorder.</p>
74
73
  *
75
74
  * @throws {@link NoRunningConfigurationRecorderException} (client fault)
@@ -92,9 +92,40 @@ declare const DescribeAggregateComplianceByConfigRulesCommand_base: {
92
92
  * <p>You have specified a configuration aggregator that does not exist.</p>
93
93
  *
94
94
  * @throws {@link ValidationException} (client fault)
95
- * <p>The requested action is not valid.</p>
96
- * <p>For PutStoredQuery, you will see this exception if there are missing required fields or if the input value fails the validation, or if you are trying to create more than 300 queries.</p>
97
- * <p>For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are missing required fields or if the input value fails the validation.</p>
95
+ * <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
96
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
97
+ * <ul>
98
+ * <li>
99
+ * <p>There are missing required fields.</p>
100
+ * </li>
101
+ * <li>
102
+ * <p>The input value fails the validation.</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>You are trying to create more than 300 queries.</p>
106
+ * </li>
107
+ * </ul>
108
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
109
+ * <ul>
110
+ * <li>
111
+ * <p>You have specified more than one configuration recorder.</p>
112
+ * </li>
113
+ * <li>
114
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
115
+ * </li>
116
+ * </ul>
117
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
118
+ * <ul>
119
+ * <li>
120
+ * <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
121
+ * </li>
122
+ * <li>
123
+ * <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
124
+ * </li>
125
+ * <li>
126
+ * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
127
+ * </li>
128
+ * </ul>
98
129
  *
99
130
  * @throws {@link ConfigServiceServiceException}
100
131
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -27,7 +27,7 @@ declare const DescribeAggregateComplianceByConformancePacksCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of the conformance packs and their associated compliance status with the count of compliant and noncompliant Config rules within each
30
+ * <p>Returns a list of the existing and deleted conformance packs and their associated compliance status with the count of compliant and noncompliant Config rules within each
31
31
  * conformance pack. Also returns the total rule count which includes compliant rules, noncompliant rules, and rules that cannot be evaluated due to insufficient data.</p>
32
32
  * <note>
33
33
  * <p>The results can return an empty result page, but if you have a <code>nextToken</code>, the results are displayed on the next page.</p>
@@ -88,9 +88,40 @@ declare const DescribeAggregateComplianceByConformancePacksCommand_base: {
88
88
  * <p>You have specified a configuration aggregator that does not exist.</p>
89
89
  *
90
90
  * @throws {@link ValidationException} (client fault)
91
- * <p>The requested action is not valid.</p>
92
- * <p>For PutStoredQuery, you will see this exception if there are missing required fields or if the input value fails the validation, or if you are trying to create more than 300 queries.</p>
93
- * <p>For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are missing required fields or if the input value fails the validation.</p>
91
+ * <p>The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.</p>
92
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_PutStoredQuery.html">PutStoredQuery</a>, one of the following errors:</p>
93
+ * <ul>
94
+ * <li>
95
+ * <p>There are missing required fields.</p>
96
+ * </li>
97
+ * <li>
98
+ * <p>The input value fails the validation.</p>
99
+ * </li>
100
+ * <li>
101
+ * <p>You are trying to create more than 300 queries.</p>
102
+ * </li>
103
+ * </ul>
104
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorders.html">DescribeConfigurationRecorders</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DescribeConfigurationRecorderStatus.html">DescribeConfigurationRecorderStatus</a>, one of the following errors:</p>
105
+ * <ul>
106
+ * <li>
107
+ * <p>You have specified more than one configuration recorder.</p>
108
+ * </li>
109
+ * <li>
110
+ * <p>You have provided a service principal for service-linked configuration recorder that is not valid.</p>
111
+ * </li>
112
+ * </ul>
113
+ * <p>For <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_AssociateResourceTypes.html">AssociateResourceTypes</a> and <a href="https://docs.aws.amazon.com/config/latest/APIReference/API_DisassociateResourceTypes.html">DisassociateResourceTypes</a>, one of the following errors:</p>
114
+ * <ul>
115
+ * <li>
116
+ * <p>Your configuraiton recorder has a recording strategy that does not allow the association or disassociation of resource types.</p>
117
+ * </li>
118
+ * <li>
119
+ * <p>One or more of the specified resource types are already associated or disassociated with the configuration recorder.</p>
120
+ * </li>
121
+ * <li>
122
+ * <p>For service-linked configuration recorders, the configuration recorder does not record one or more of the specified resource types.</p>
123
+ * </li>
124
+ * </ul>
94
125
  *
95
126
  * @throws {@link ConfigServiceServiceException}
96
127
  * <p>Base exception class for all service exceptions from ConfigService service.</p>
@@ -28,7 +28,7 @@ declare const DescribeComplianceByConfigRuleCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Indicates whether the specified Config rules are compliant.
31
- * If a rule is noncompliant, this action returns the number of Amazon Web Services
31
+ * If a rule is noncompliant, this operation returns the number of Amazon Web Services
32
32
  * resources that do not comply with the rule.</p>
33
33
  * <p>A rule is compliant if all of the evaluated resources comply
34
34
  * with it. It is noncompliant if any of these resources do not
@@ -28,7 +28,7 @@ declare const DescribeComplianceByResourceCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Indicates whether the specified Amazon Web Services resources are compliant. If
31
- * a resource is noncompliant, this action returns the number of Config rules that the resource does not comply with.</p>
31
+ * a resource is noncompliant, this operation returns the number of Config rules that the resource does not comply with.</p>
32
32
  * <p>A resource is compliant if it complies with all the Config
33
33
  * rules that evaluate it. It is noncompliant if it does not comply
34
34
  * with one or more of these rules.</p>
@@ -28,7 +28,7 @@ declare const DescribeConfigurationAggregatorsCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Returns the details of one or more configuration aggregators.
31
- * If the configuration aggregator is not specified, this action
31
+ * If the configuration aggregator is not specified, this operation
32
32
  * returns the details for all the configuration aggregators associated
33
33
  * with the account. </p>
34
34
  * @example
@@ -72,6 +72,20 @@ declare const DescribeConfigurationAggregatorsCommand_base: {
72
72
  * // CreationTime: new Date("TIMESTAMP"),
73
73
  * // LastUpdatedTime: new Date("TIMESTAMP"),
74
74
  * // CreatedBy: "STRING_VALUE",
75
+ * // AggregatorFilters: { // AggregatorFilters
76
+ * // ResourceType: { // AggregatorFilterResourceType
77
+ * // Type: "INCLUDE",
78
+ * // Value: [ // ResourceTypeValueList
79
+ * // "STRING_VALUE",
80
+ * // ],
81
+ * // },
82
+ * // ServicePrincipal: { // AggregatorFilterServicePrincipal
83
+ * // Type: "INCLUDE",
84
+ * // Value: [ // ServicePrincipalValueList
85
+ * // "STRING_VALUE",
86
+ * // ],
87
+ * // },
88
+ * // },
75
89
  * // },
76
90
  * // ],
77
91
  * // NextToken: "STRING_VALUE",