@aws-sdk/client-config-service 3.218.0 → 3.222.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 (62) hide show
  1. package/dist-cjs/ConfigService.js +45 -0
  2. package/dist-cjs/commands/GetResourceEvaluationSummaryCommand.js +46 -0
  3. package/dist-cjs/commands/ListResourceEvaluationsCommand.js +46 -0
  4. package/dist-cjs/commands/PutAggregationAuthorizationCommand.js +3 -3
  5. package/dist-cjs/commands/PutConfigRuleCommand.js +2 -2
  6. package/dist-cjs/commands/PutConfigurationAggregatorCommand.js +3 -3
  7. package/dist-cjs/commands/PutConfigurationRecorderCommand.js +2 -2
  8. package/dist-cjs/commands/StartResourceEvaluationCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +3 -0
  10. package/dist-cjs/models/models_0.js +82 -151
  11. package/dist-cjs/models/models_1.js +155 -1
  12. package/dist-cjs/pagination/ListResourceEvaluationsPaginator.js +36 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_json1_1.js +341 -12
  15. package/dist-es/ConfigService.js +45 -0
  16. package/dist-es/commands/GetResourceEvaluationSummaryCommand.js +42 -0
  17. package/dist-es/commands/ListResourceEvaluationsCommand.js +42 -0
  18. package/dist-es/commands/PutAggregationAuthorizationCommand.js +1 -1
  19. package/dist-es/commands/PutConfigRuleCommand.js +1 -1
  20. package/dist-es/commands/PutConfigurationAggregatorCommand.js +1 -1
  21. package/dist-es/commands/PutConfigurationRecorderCommand.js +1 -1
  22. package/dist-es/commands/StartResourceEvaluationCommand.js +42 -0
  23. package/dist-es/commands/index.js +3 -0
  24. package/dist-es/models/models_0.js +59 -125
  25. package/dist-es/models/models_1.js +135 -0
  26. package/dist-es/pagination/ListResourceEvaluationsPaginator.js +32 -0
  27. package/dist-es/pagination/index.js +1 -0
  28. package/dist-es/protocols/Aws_json1_1.js +325 -2
  29. package/dist-types/ConfigService.d.ts +36 -3
  30. package/dist-types/ConfigServiceClient.d.ts +5 -2
  31. package/dist-types/commands/DescribeAggregateComplianceByConformancePacksCommand.d.ts +2 -2
  32. package/dist-types/commands/GetComplianceDetailsByResourceCommand.d.ts +1 -1
  33. package/dist-types/commands/GetResourceEvaluationSummaryCommand.d.ts +39 -0
  34. package/dist-types/commands/ListResourceEvaluationsCommand.d.ts +37 -0
  35. package/dist-types/commands/PutAggregationAuthorizationCommand.d.ts +1 -1
  36. package/dist-types/commands/PutConfigRuleCommand.d.ts +1 -1
  37. package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
  38. package/dist-types/commands/PutConfigurationRecorderCommand.d.ts +1 -1
  39. package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +3 -0
  40. package/dist-types/commands/StartResourceEvaluationCommand.d.ts +44 -0
  41. package/dist-types/commands/index.d.ts +3 -0
  42. package/dist-types/models/models_0.d.ts +287 -290
  43. package/dist-types/models/models_1.d.ts +319 -1
  44. package/dist-types/pagination/ListResourceEvaluationsPaginator.d.ts +4 -0
  45. package/dist-types/pagination/index.d.ts +1 -0
  46. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  47. package/dist-types/ts3.4/ConfigService.d.ts +51 -0
  48. package/dist-types/ts3.4/ConfigServiceClient.d.ts +18 -0
  49. package/dist-types/ts3.4/commands/GetResourceEvaluationSummaryCommand.d.ts +41 -0
  50. package/dist-types/ts3.4/commands/ListResourceEvaluationsCommand.d.ts +41 -0
  51. package/dist-types/ts3.4/commands/PutAggregationAuthorizationCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/PutConfigRuleCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/PutConfigurationRecorderCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/StartResourceEvaluationCommand.d.ts +41 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +114 -150
  58. package/dist-types/ts3.4/models/models_1.d.ts +175 -1
  59. package/dist-types/ts3.4/pagination/ListResourceEvaluationsPaginator.d.ts +11 -0
  60. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  61. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  62. package/package.json +29 -28
@@ -1,6 +1,250 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ConfigServiceServiceException as __BaseException } from "./ConfigServiceServiceException";
3
- import { ConformancePackInputParameter, DeliveryChannel, Evaluation, ExternalEvaluation, FailedRemediationBatch, FailedRemediationExceptionBatch, FieldInfo, OrganizationCustomPolicyRuleMetadata, OrganizationCustomRuleMetadata, OrganizationManagedRuleMetadata, RemediationConfiguration, RemediationExceptionResourceKey, ResourceKey, RetentionConfiguration, StoredQuery, Tag, TemplateSSMDocumentDetails } from "./models_0";
3
+ import { AccountAggregationSource, AggregationAuthorization, ConfigRule, ConfigurationAggregator, ConfigurationRecorder, ConformancePackInputParameter, DeliveryChannel, Evaluation, EvaluationContext, EvaluationMode, ExternalEvaluation, FailedRemediationBatch, FailedRemediationExceptionBatch, FieldInfo, MaximumExecutionFrequency, OrganizationAggregationSource, OrganizationConfigRuleTriggerTypeNoSN, OrganizationCustomRuleMetadata, OrganizationManagedRuleMetadata, RemediationConfiguration, RemediationExceptionResourceKey, ResourceDetails, ResourceKey, RetentionConfiguration, StoredQuery, Tag, TemplateSSMDocumentDetails } from "./models_0";
4
+ /**
5
+ * <p>You have reached the limit of the number of delivery channels
6
+ * you can create.</p>
7
+ */
8
+ export declare class MaxNumberOfDeliveryChannelsExceededException extends __BaseException {
9
+ readonly name: "MaxNumberOfDeliveryChannelsExceededException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<MaxNumberOfDeliveryChannelsExceededException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>You have reached the limit of the number of organization Config rules you can create. For more information, see see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
18
+ * <b>Service Limits</b>
19
+ * </a> in the Config Developer Guide.</p>
20
+ */
21
+ export declare class MaxNumberOfOrganizationConfigRulesExceededException extends __BaseException {
22
+ readonly name: "MaxNumberOfOrganizationConfigRulesExceededException";
23
+ readonly $fault: "client";
24
+ /**
25
+ * @internal
26
+ */
27
+ constructor(opts: __ExceptionOptionType<MaxNumberOfOrganizationConfigRulesExceededException, __BaseException>);
28
+ }
29
+ /**
30
+ * <p>You have reached the limit of the number of organization conformance packs you can create in an account. For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
31
+ * <b>Service Limits</b>
32
+ * </a> in the Config Developer Guide.</p>
33
+ */
34
+ export declare class MaxNumberOfOrganizationConformancePacksExceededException extends __BaseException {
35
+ readonly name: "MaxNumberOfOrganizationConformancePacksExceededException";
36
+ readonly $fault: "client";
37
+ /**
38
+ * @internal
39
+ */
40
+ constructor(opts: __ExceptionOptionType<MaxNumberOfOrganizationConformancePacksExceededException, __BaseException>);
41
+ }
42
+ /**
43
+ * <p>Failed to add the retention configuration because a retention configuration with that name already exists.</p>
44
+ */
45
+ export declare class MaxNumberOfRetentionConfigurationsExceededException extends __BaseException {
46
+ readonly name: "MaxNumberOfRetentionConfigurationsExceededException";
47
+ readonly $fault: "client";
48
+ /**
49
+ * @internal
50
+ */
51
+ constructor(opts: __ExceptionOptionType<MaxNumberOfRetentionConfigurationsExceededException, __BaseException>);
52
+ }
53
+ /**
54
+ * <p>There is no delivery channel available to record
55
+ * configurations.</p>
56
+ */
57
+ export declare class NoAvailableDeliveryChannelException extends __BaseException {
58
+ readonly name: "NoAvailableDeliveryChannelException";
59
+ readonly $fault: "client";
60
+ /**
61
+ * @internal
62
+ */
63
+ constructor(opts: __ExceptionOptionType<NoAvailableDeliveryChannelException, __BaseException>);
64
+ }
65
+ /**
66
+ * <p>Organization is no longer available.</p>
67
+ */
68
+ export declare class NoAvailableOrganizationException extends __BaseException {
69
+ readonly name: "NoAvailableOrganizationException";
70
+ readonly $fault: "client";
71
+ /**
72
+ * @internal
73
+ */
74
+ constructor(opts: __ExceptionOptionType<NoAvailableOrganizationException, __BaseException>);
75
+ }
76
+ /**
77
+ * <p>The specified Amazon S3 bucket does not exist.</p>
78
+ */
79
+ export declare class NoSuchBucketException extends __BaseException {
80
+ readonly name: "NoSuchBucketException";
81
+ readonly $fault: "client";
82
+ /**
83
+ * @internal
84
+ */
85
+ constructor(opts: __ExceptionOptionType<NoSuchBucketException, __BaseException>);
86
+ }
87
+ /**
88
+ * <p>Config resource cannot be created because your organization does not have all features enabled.</p>
89
+ */
90
+ export declare class OrganizationAllFeaturesNotEnabledException extends __BaseException {
91
+ readonly name: "OrganizationAllFeaturesNotEnabledException";
92
+ readonly $fault: "client";
93
+ /**
94
+ * @internal
95
+ */
96
+ constructor(opts: __ExceptionOptionType<OrganizationAllFeaturesNotEnabledException, __BaseException>);
97
+ }
98
+ /**
99
+ * <p>You have specified a template that is invalid or supported.</p>
100
+ */
101
+ export declare class OrganizationConformancePackTemplateValidationException extends __BaseException {
102
+ readonly name: "OrganizationConformancePackTemplateValidationException";
103
+ readonly $fault: "client";
104
+ /**
105
+ * @internal
106
+ */
107
+ constructor(opts: __ExceptionOptionType<OrganizationConformancePackTemplateValidationException, __BaseException>);
108
+ }
109
+ /**
110
+ * <p>An
111
+ * object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have
112
+ * debug logging enabled, and other custom rule metadata, such as resource type, resource
113
+ * ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.</p>
114
+ */
115
+ export interface OrganizationCustomPolicyRuleMetadata {
116
+ /**
117
+ * <p>The description that you provide for your organization Config Custom Policy rule.</p>
118
+ */
119
+ Description?: string;
120
+ /**
121
+ * <p>The type of notification that initiates Config to run an evaluation for a rule.
122
+ * For Config Custom Policy rules, Config supports change-initiated notification types:</p>
123
+ *
124
+ * <ul>
125
+ * <li>
126
+ * <p>
127
+ * <code>ConfigurationItemChangeNotification</code> - Initiates an evaluation when Config delivers a configuration item as a result of a resource
128
+ * change.</p>
129
+ * </li>
130
+ * <li>
131
+ * <p>
132
+ * <code>OversizedConfigurationItemChangeNotification</code> - Initiates an evaluation when
133
+ * Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the
134
+ * notification exceeds the maximum size allowed by Amazon SNS.</p>
135
+ * </li>
136
+ * </ul>
137
+ */
138
+ OrganizationConfigRuleTriggerTypes?: (OrganizationConfigRuleTriggerTypeNoSN | string)[];
139
+ /**
140
+ * <p>A string, in JSON format, that is passed to your organization Config Custom Policy rule.</p>
141
+ */
142
+ InputParameters?: string;
143
+ /**
144
+ * <p>The maximum frequency with which Config runs evaluations for a rule. Your
145
+ * Config Custom Policy rule is triggered when Config delivers
146
+ * the configuration snapshot. For more information, see <a>ConfigSnapshotDeliveryProperties</a>.</p>
147
+ */
148
+ MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
149
+ /**
150
+ * <p>The type of the Amazon Web Services resource that was evaluated.</p>
151
+ */
152
+ ResourceTypesScope?: string[];
153
+ /**
154
+ * <p>The ID of the Amazon Web Services resource that was evaluated.</p>
155
+ */
156
+ ResourceIdScope?: string;
157
+ /**
158
+ * <p>One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.</p>
159
+ */
160
+ TagKeyScope?: string;
161
+ /**
162
+ * <p>The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).</p>
163
+ */
164
+ TagValueScope?: string;
165
+ /**
166
+ * <p>The runtime system for your organization Config Custom Policy rules. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the <a href="https://github.com/aws-cloudformation/cloudformation-guard">Guard GitHub
167
+ * Repository</a>.</p>
168
+ */
169
+ PolicyRuntime: string | undefined;
170
+ /**
171
+ * <p>The policy definition containing the logic for your organization Config Custom Policy rule.</p>
172
+ */
173
+ PolicyText: string | undefined;
174
+ /**
175
+ * <p>A list of accounts that you can enable debug logging for your organization Config Custom Policy rule. List is null when debug logging is enabled for all accounts.</p>
176
+ */
177
+ DebugLogDeliveryAccounts?: string[];
178
+ }
179
+ export interface PutAggregationAuthorizationRequest {
180
+ /**
181
+ * <p>The 12-digit account ID of the account authorized to aggregate data.</p>
182
+ */
183
+ AuthorizedAccountId: string | undefined;
184
+ /**
185
+ * <p>The region authorized to collect aggregated data.</p>
186
+ */
187
+ AuthorizedAwsRegion: string | undefined;
188
+ /**
189
+ * <p>An array of tag object.</p>
190
+ */
191
+ Tags?: Tag[];
192
+ }
193
+ export interface PutAggregationAuthorizationResponse {
194
+ /**
195
+ * <p>Returns an AggregationAuthorization object.
196
+ *
197
+ * </p>
198
+ */
199
+ AggregationAuthorization?: AggregationAuthorization;
200
+ }
201
+ export interface PutConfigRuleRequest {
202
+ /**
203
+ * <p>The rule that you want to add to your account.</p>
204
+ */
205
+ ConfigRule: ConfigRule | undefined;
206
+ /**
207
+ * <p>An array of tag object.</p>
208
+ */
209
+ Tags?: Tag[];
210
+ }
211
+ export interface PutConfigurationAggregatorRequest {
212
+ /**
213
+ * <p>The name of the configuration aggregator.</p>
214
+ */
215
+ ConfigurationAggregatorName: string | undefined;
216
+ /**
217
+ * <p>A list of AccountAggregationSource object.
218
+ *
219
+ * </p>
220
+ */
221
+ AccountAggregationSources?: AccountAggregationSource[];
222
+ /**
223
+ * <p>An OrganizationAggregationSource object.</p>
224
+ */
225
+ OrganizationAggregationSource?: OrganizationAggregationSource;
226
+ /**
227
+ * <p>An array of tag object.</p>
228
+ */
229
+ Tags?: Tag[];
230
+ }
231
+ export interface PutConfigurationAggregatorResponse {
232
+ /**
233
+ * <p>Returns a ConfigurationAggregator object.</p>
234
+ */
235
+ ConfigurationAggregator?: ConfigurationAggregator;
236
+ }
237
+ /**
238
+ * <p>The input for the <a>PutConfigurationRecorder</a>
239
+ * action.</p>
240
+ */
241
+ export interface PutConfigurationRecorderRequest {
242
+ /**
243
+ * <p>The configuration recorder object that records each
244
+ * configuration change made to the resources.</p>
245
+ */
246
+ ConfigurationRecorder: ConfigurationRecorder | undefined;
247
+ }
4
248
  export interface PutConformancePackRequest {
5
249
  /**
6
250
  * <p>The unique name of the conformance pack you want to deploy.</p>
@@ -450,6 +694,44 @@ export interface StartRemediationExecutionResponse {
450
694
  */
451
695
  FailedItems?: ResourceKey[];
452
696
  }
697
+ export interface StartResourceEvaluationRequest {
698
+ /**
699
+ * <p>Returns a <code>ResourceDetails</code> object.</p>
700
+ */
701
+ ResourceDetails: ResourceDetails | undefined;
702
+ /**
703
+ * <p>Returns an <code>EvaluationContext</code> object.</p>
704
+ */
705
+ EvaluationContext?: EvaluationContext;
706
+ /**
707
+ * <p>The mode of an evaluation. The valid value for this API is <code>Proactive</code>.</p>
708
+ */
709
+ EvaluationMode: EvaluationMode | string | undefined;
710
+ /**
711
+ * <p>The timeout for an evaluation. The default is 900 seconds. You cannot specify a number greater than 3600. If you specify 0, Config uses the default.</p>
712
+ */
713
+ EvaluationTimeout?: number;
714
+ /**
715
+ * <p>A client token is a unique, case-sensitive string of up to 64 ASCII characters.
716
+ * To make an idempotent API request using one of these actions, specify a client token in the request.</p>
717
+ * <note>
718
+ * <p>Avoid reusing the same client token for other API requests. If you retry
719
+ * a request that completed successfully using the same client token and the same
720
+ * parameters, the retry succeeds without performing any further actions. If you retry
721
+ * a successful request using the same client token, but one or more of the parameters
722
+ * are different, other than the Region or Availability Zone, the retry fails with an
723
+ * IdempotentParameterMismatch error.</p>
724
+ * </note>
725
+ */
726
+ ClientToken?: string;
727
+ }
728
+ export interface StartResourceEvaluationResponse {
729
+ /**
730
+ * <p>A
731
+ * unique ResourceEvaluationId that is associated with a single execution.</p>
732
+ */
733
+ ResourceEvaluationId?: string;
734
+ }
453
735
  /**
454
736
  * <p>The input for the <a>StopConfigurationRecorder</a> action.</p>
455
737
  */
@@ -479,6 +761,34 @@ export interface UntagResourceRequest {
479
761
  */
480
762
  TagKeys: string[] | undefined;
481
763
  }
764
+ /**
765
+ * @internal
766
+ */
767
+ export declare const OrganizationCustomPolicyRuleMetadataFilterSensitiveLog: (obj: OrganizationCustomPolicyRuleMetadata) => any;
768
+ /**
769
+ * @internal
770
+ */
771
+ export declare const PutAggregationAuthorizationRequestFilterSensitiveLog: (obj: PutAggregationAuthorizationRequest) => any;
772
+ /**
773
+ * @internal
774
+ */
775
+ export declare const PutAggregationAuthorizationResponseFilterSensitiveLog: (obj: PutAggregationAuthorizationResponse) => any;
776
+ /**
777
+ * @internal
778
+ */
779
+ export declare const PutConfigRuleRequestFilterSensitiveLog: (obj: PutConfigRuleRequest) => any;
780
+ /**
781
+ * @internal
782
+ */
783
+ export declare const PutConfigurationAggregatorRequestFilterSensitiveLog: (obj: PutConfigurationAggregatorRequest) => any;
784
+ /**
785
+ * @internal
786
+ */
787
+ export declare const PutConfigurationAggregatorResponseFilterSensitiveLog: (obj: PutConfigurationAggregatorResponse) => any;
788
+ /**
789
+ * @internal
790
+ */
791
+ export declare const PutConfigurationRecorderRequestFilterSensitiveLog: (obj: PutConfigurationRecorderRequest) => any;
482
792
  /**
483
793
  * @internal
484
794
  */
@@ -599,6 +909,14 @@ export declare const StartRemediationExecutionRequestFilterSensitiveLog: (obj: S
599
909
  * @internal
600
910
  */
601
911
  export declare const StartRemediationExecutionResponseFilterSensitiveLog: (obj: StartRemediationExecutionResponse) => any;
912
+ /**
913
+ * @internal
914
+ */
915
+ export declare const StartResourceEvaluationRequestFilterSensitiveLog: (obj: StartResourceEvaluationRequest) => any;
916
+ /**
917
+ * @internal
918
+ */
919
+ export declare const StartResourceEvaluationResponseFilterSensitiveLog: (obj: StartResourceEvaluationResponse) => any;
602
920
  /**
603
921
  * @internal
604
922
  */
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListResourceEvaluationsCommandInput, ListResourceEvaluationsCommandOutput } from "../commands/ListResourceEvaluationsCommand";
3
+ import { ConfigServicePaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListResourceEvaluations(config: ConfigServicePaginationConfiguration, input: ListResourceEvaluationsCommandInput, ...additionalArguments: any): Paginator<ListResourceEvaluationsCommandOutput>;
@@ -34,6 +34,7 @@ export * from "./GetResourceConfigHistoryPaginator";
34
34
  export * from "./ListAggregateDiscoveredResourcesPaginator";
35
35
  export * from "./ListConformancePackComplianceScoresPaginator";
36
36
  export * from "./ListDiscoveredResourcesPaginator";
37
+ export * from "./ListResourceEvaluationsPaginator";
37
38
  export * from "./ListStoredQueriesPaginator";
38
39
  export * from "./ListTagsForResourcePaginator";
39
40
  export * from "./SelectAggregateResourceConfigPaginator";
@@ -60,10 +60,12 @@ import { GetOrganizationConfigRuleDetailedStatusCommandInput, GetOrganizationCon
60
60
  import { GetOrganizationConformancePackDetailedStatusCommandInput, GetOrganizationConformancePackDetailedStatusCommandOutput } from "../commands/GetOrganizationConformancePackDetailedStatusCommand";
61
61
  import { GetOrganizationCustomRulePolicyCommandInput, GetOrganizationCustomRulePolicyCommandOutput } from "../commands/GetOrganizationCustomRulePolicyCommand";
62
62
  import { GetResourceConfigHistoryCommandInput, GetResourceConfigHistoryCommandOutput } from "../commands/GetResourceConfigHistoryCommand";
63
+ import { GetResourceEvaluationSummaryCommandInput, GetResourceEvaluationSummaryCommandOutput } from "../commands/GetResourceEvaluationSummaryCommand";
63
64
  import { GetStoredQueryCommandInput, GetStoredQueryCommandOutput } from "../commands/GetStoredQueryCommand";
64
65
  import { ListAggregateDiscoveredResourcesCommandInput, ListAggregateDiscoveredResourcesCommandOutput } from "../commands/ListAggregateDiscoveredResourcesCommand";
65
66
  import { ListConformancePackComplianceScoresCommandInput, ListConformancePackComplianceScoresCommandOutput } from "../commands/ListConformancePackComplianceScoresCommand";
66
67
  import { ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput } from "../commands/ListDiscoveredResourcesCommand";
68
+ import { ListResourceEvaluationsCommandInput, ListResourceEvaluationsCommandOutput } from "../commands/ListResourceEvaluationsCommand";
67
69
  import { ListStoredQueriesCommandInput, ListStoredQueriesCommandOutput } from "../commands/ListStoredQueriesCommand";
68
70
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
69
71
  import { PutAggregationAuthorizationCommandInput, PutAggregationAuthorizationCommandOutput } from "../commands/PutAggregationAuthorizationCommand";
@@ -86,6 +88,7 @@ import { SelectResourceConfigCommandInput, SelectResourceConfigCommandOutput } f
86
88
  import { StartConfigRulesEvaluationCommandInput, StartConfigRulesEvaluationCommandOutput } from "../commands/StartConfigRulesEvaluationCommand";
87
89
  import { StartConfigurationRecorderCommandInput, StartConfigurationRecorderCommandOutput } from "../commands/StartConfigurationRecorderCommand";
88
90
  import { StartRemediationExecutionCommandInput, StartRemediationExecutionCommandOutput } from "../commands/StartRemediationExecutionCommand";
91
+ import { StartResourceEvaluationCommandInput, StartResourceEvaluationCommandOutput } from "../commands/StartResourceEvaluationCommand";
89
92
  import { StopConfigurationRecorderCommandInput, StopConfigurationRecorderCommandOutput } from "../commands/StopConfigurationRecorderCommand";
90
93
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
91
94
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
@@ -149,10 +152,12 @@ export declare const serializeAws_json1_1GetOrganizationConfigRuleDetailedStatus
149
152
  export declare const serializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand: (input: GetOrganizationConformancePackDetailedStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
150
153
  export declare const serializeAws_json1_1GetOrganizationCustomRulePolicyCommand: (input: GetOrganizationCustomRulePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
151
154
  export declare const serializeAws_json1_1GetResourceConfigHistoryCommand: (input: GetResourceConfigHistoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
155
+ export declare const serializeAws_json1_1GetResourceEvaluationSummaryCommand: (input: GetResourceEvaluationSummaryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
152
156
  export declare const serializeAws_json1_1GetStoredQueryCommand: (input: GetStoredQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
153
157
  export declare const serializeAws_json1_1ListAggregateDiscoveredResourcesCommand: (input: ListAggregateDiscoveredResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
154
158
  export declare const serializeAws_json1_1ListConformancePackComplianceScoresCommand: (input: ListConformancePackComplianceScoresCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
155
159
  export declare const serializeAws_json1_1ListDiscoveredResourcesCommand: (input: ListDiscoveredResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
160
+ export declare const serializeAws_json1_1ListResourceEvaluationsCommand: (input: ListResourceEvaluationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
156
161
  export declare const serializeAws_json1_1ListStoredQueriesCommand: (input: ListStoredQueriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
157
162
  export declare const serializeAws_json1_1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
158
163
  export declare const serializeAws_json1_1PutAggregationAuthorizationCommand: (input: PutAggregationAuthorizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -175,6 +180,7 @@ export declare const serializeAws_json1_1SelectResourceConfigCommand: (input: Se
175
180
  export declare const serializeAws_json1_1StartConfigRulesEvaluationCommand: (input: StartConfigRulesEvaluationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
176
181
  export declare const serializeAws_json1_1StartConfigurationRecorderCommand: (input: StartConfigurationRecorderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
177
182
  export declare const serializeAws_json1_1StartRemediationExecutionCommand: (input: StartRemediationExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
183
+ export declare const serializeAws_json1_1StartResourceEvaluationCommand: (input: StartResourceEvaluationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
178
184
  export declare const serializeAws_json1_1StopConfigurationRecorderCommand: (input: StopConfigurationRecorderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
179
185
  export declare const serializeAws_json1_1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
180
186
  export declare const serializeAws_json1_1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -238,10 +244,12 @@ export declare const deserializeAws_json1_1GetOrganizationConfigRuleDetailedStat
238
244
  export declare const deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOrganizationConformancePackDetailedStatusCommandOutput>;
239
245
  export declare const deserializeAws_json1_1GetOrganizationCustomRulePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOrganizationCustomRulePolicyCommandOutput>;
240
246
  export declare const deserializeAws_json1_1GetResourceConfigHistoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourceConfigHistoryCommandOutput>;
247
+ export declare const deserializeAws_json1_1GetResourceEvaluationSummaryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourceEvaluationSummaryCommandOutput>;
241
248
  export declare const deserializeAws_json1_1GetStoredQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStoredQueryCommandOutput>;
242
249
  export declare const deserializeAws_json1_1ListAggregateDiscoveredResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAggregateDiscoveredResourcesCommandOutput>;
243
250
  export declare const deserializeAws_json1_1ListConformancePackComplianceScoresCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListConformancePackComplianceScoresCommandOutput>;
244
251
  export declare const deserializeAws_json1_1ListDiscoveredResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListDiscoveredResourcesCommandOutput>;
252
+ export declare const deserializeAws_json1_1ListResourceEvaluationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResourceEvaluationsCommandOutput>;
245
253
  export declare const deserializeAws_json1_1ListStoredQueriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStoredQueriesCommandOutput>;
246
254
  export declare const deserializeAws_json1_1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
247
255
  export declare const deserializeAws_json1_1PutAggregationAuthorizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAggregationAuthorizationCommandOutput>;
@@ -264,6 +272,7 @@ export declare const deserializeAws_json1_1SelectResourceConfigCommand: (output:
264
272
  export declare const deserializeAws_json1_1StartConfigRulesEvaluationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartConfigRulesEvaluationCommandOutput>;
265
273
  export declare const deserializeAws_json1_1StartConfigurationRecorderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartConfigurationRecorderCommandOutput>;
266
274
  export declare const deserializeAws_json1_1StartRemediationExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartRemediationExecutionCommandOutput>;
275
+ export declare const deserializeAws_json1_1StartResourceEvaluationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartResourceEvaluationCommandOutput>;
267
276
  export declare const deserializeAws_json1_1StopConfigurationRecorderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopConfigurationRecorderCommandOutput>;
268
277
  export declare const deserializeAws_json1_1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
269
278
  export declare const deserializeAws_json1_1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
@@ -239,6 +239,10 @@ import {
239
239
  GetResourceConfigHistoryCommandInput,
240
240
  GetResourceConfigHistoryCommandOutput,
241
241
  } from "./commands/GetResourceConfigHistoryCommand";
242
+ import {
243
+ GetResourceEvaluationSummaryCommandInput,
244
+ GetResourceEvaluationSummaryCommandOutput,
245
+ } from "./commands/GetResourceEvaluationSummaryCommand";
242
246
  import {
243
247
  GetStoredQueryCommandInput,
244
248
  GetStoredQueryCommandOutput,
@@ -255,6 +259,10 @@ import {
255
259
  ListDiscoveredResourcesCommandInput,
256
260
  ListDiscoveredResourcesCommandOutput,
257
261
  } from "./commands/ListDiscoveredResourcesCommand";
262
+ import {
263
+ ListResourceEvaluationsCommandInput,
264
+ ListResourceEvaluationsCommandOutput,
265
+ } from "./commands/ListResourceEvaluationsCommand";
258
266
  import {
259
267
  ListStoredQueriesCommandInput,
260
268
  ListStoredQueriesCommandOutput,
@@ -343,6 +351,10 @@ import {
343
351
  StartRemediationExecutionCommandInput,
344
352
  StartRemediationExecutionCommandOutput,
345
353
  } from "./commands/StartRemediationExecutionCommand";
354
+ import {
355
+ StartResourceEvaluationCommandInput,
356
+ StartResourceEvaluationCommandOutput,
357
+ } from "./commands/StartResourceEvaluationCommand";
346
358
  import {
347
359
  StopConfigurationRecorderCommandInput,
348
360
  StopConfigurationRecorderCommandOutput,
@@ -1275,6 +1287,19 @@ export declare class ConfigService extends ConfigServiceClient {
1275
1287
  options: __HttpHandlerOptions,
1276
1288
  cb: (err: any, data?: GetResourceConfigHistoryCommandOutput) => void
1277
1289
  ): void;
1290
+ getResourceEvaluationSummary(
1291
+ args: GetResourceEvaluationSummaryCommandInput,
1292
+ options?: __HttpHandlerOptions
1293
+ ): Promise<GetResourceEvaluationSummaryCommandOutput>;
1294
+ getResourceEvaluationSummary(
1295
+ args: GetResourceEvaluationSummaryCommandInput,
1296
+ cb: (err: any, data?: GetResourceEvaluationSummaryCommandOutput) => void
1297
+ ): void;
1298
+ getResourceEvaluationSummary(
1299
+ args: GetResourceEvaluationSummaryCommandInput,
1300
+ options: __HttpHandlerOptions,
1301
+ cb: (err: any, data?: GetResourceEvaluationSummaryCommandOutput) => void
1302
+ ): void;
1278
1303
  getStoredQuery(
1279
1304
  args: GetStoredQueryCommandInput,
1280
1305
  options?: __HttpHandlerOptions
@@ -1333,6 +1358,19 @@ export declare class ConfigService extends ConfigServiceClient {
1333
1358
  options: __HttpHandlerOptions,
1334
1359
  cb: (err: any, data?: ListDiscoveredResourcesCommandOutput) => void
1335
1360
  ): void;
1361
+ listResourceEvaluations(
1362
+ args: ListResourceEvaluationsCommandInput,
1363
+ options?: __HttpHandlerOptions
1364
+ ): Promise<ListResourceEvaluationsCommandOutput>;
1365
+ listResourceEvaluations(
1366
+ args: ListResourceEvaluationsCommandInput,
1367
+ cb: (err: any, data?: ListResourceEvaluationsCommandOutput) => void
1368
+ ): void;
1369
+ listResourceEvaluations(
1370
+ args: ListResourceEvaluationsCommandInput,
1371
+ options: __HttpHandlerOptions,
1372
+ cb: (err: any, data?: ListResourceEvaluationsCommandOutput) => void
1373
+ ): void;
1336
1374
  listStoredQueries(
1337
1375
  args: ListStoredQueriesCommandInput,
1338
1376
  options?: __HttpHandlerOptions
@@ -1619,6 +1657,19 @@ export declare class ConfigService extends ConfigServiceClient {
1619
1657
  options: __HttpHandlerOptions,
1620
1658
  cb: (err: any, data?: StartRemediationExecutionCommandOutput) => void
1621
1659
  ): void;
1660
+ startResourceEvaluation(
1661
+ args: StartResourceEvaluationCommandInput,
1662
+ options?: __HttpHandlerOptions
1663
+ ): Promise<StartResourceEvaluationCommandOutput>;
1664
+ startResourceEvaluation(
1665
+ args: StartResourceEvaluationCommandInput,
1666
+ cb: (err: any, data?: StartResourceEvaluationCommandOutput) => void
1667
+ ): void;
1668
+ startResourceEvaluation(
1669
+ args: StartResourceEvaluationCommandInput,
1670
+ options: __HttpHandlerOptions,
1671
+ cb: (err: any, data?: StartResourceEvaluationCommandOutput) => void
1672
+ ): void;
1622
1673
  stopConfigurationRecorder(
1623
1674
  args: StopConfigurationRecorderCommandInput,
1624
1675
  options?: __HttpHandlerOptions
@@ -283,6 +283,10 @@ import {
283
283
  GetResourceConfigHistoryCommandInput,
284
284
  GetResourceConfigHistoryCommandOutput,
285
285
  } from "./commands/GetResourceConfigHistoryCommand";
286
+ import {
287
+ GetResourceEvaluationSummaryCommandInput,
288
+ GetResourceEvaluationSummaryCommandOutput,
289
+ } from "./commands/GetResourceEvaluationSummaryCommand";
286
290
  import {
287
291
  GetStoredQueryCommandInput,
288
292
  GetStoredQueryCommandOutput,
@@ -299,6 +303,10 @@ import {
299
303
  ListDiscoveredResourcesCommandInput,
300
304
  ListDiscoveredResourcesCommandOutput,
301
305
  } from "./commands/ListDiscoveredResourcesCommand";
306
+ import {
307
+ ListResourceEvaluationsCommandInput,
308
+ ListResourceEvaluationsCommandOutput,
309
+ } from "./commands/ListResourceEvaluationsCommand";
302
310
  import {
303
311
  ListStoredQueriesCommandInput,
304
312
  ListStoredQueriesCommandOutput,
@@ -387,6 +395,10 @@ import {
387
395
  StartRemediationExecutionCommandInput,
388
396
  StartRemediationExecutionCommandOutput,
389
397
  } from "./commands/StartRemediationExecutionCommand";
398
+ import {
399
+ StartResourceEvaluationCommandInput,
400
+ StartResourceEvaluationCommandOutput,
401
+ } from "./commands/StartResourceEvaluationCommand";
390
402
  import {
391
403
  StopConfigurationRecorderCommandInput,
392
404
  StopConfigurationRecorderCommandOutput,
@@ -465,10 +477,12 @@ export declare type ServiceInputTypes =
465
477
  | GetOrganizationConformancePackDetailedStatusCommandInput
466
478
  | GetOrganizationCustomRulePolicyCommandInput
467
479
  | GetResourceConfigHistoryCommandInput
480
+ | GetResourceEvaluationSummaryCommandInput
468
481
  | GetStoredQueryCommandInput
469
482
  | ListAggregateDiscoveredResourcesCommandInput
470
483
  | ListConformancePackComplianceScoresCommandInput
471
484
  | ListDiscoveredResourcesCommandInput
485
+ | ListResourceEvaluationsCommandInput
472
486
  | ListStoredQueriesCommandInput
473
487
  | ListTagsForResourceCommandInput
474
488
  | PutAggregationAuthorizationCommandInput
@@ -491,6 +505,7 @@ export declare type ServiceInputTypes =
491
505
  | StartConfigRulesEvaluationCommandInput
492
506
  | StartConfigurationRecorderCommandInput
493
507
  | StartRemediationExecutionCommandInput
508
+ | StartResourceEvaluationCommandInput
494
509
  | StopConfigurationRecorderCommandInput
495
510
  | TagResourceCommandInput
496
511
  | UntagResourceCommandInput;
@@ -555,10 +570,12 @@ export declare type ServiceOutputTypes =
555
570
  | GetOrganizationConformancePackDetailedStatusCommandOutput
556
571
  | GetOrganizationCustomRulePolicyCommandOutput
557
572
  | GetResourceConfigHistoryCommandOutput
573
+ | GetResourceEvaluationSummaryCommandOutput
558
574
  | GetStoredQueryCommandOutput
559
575
  | ListAggregateDiscoveredResourcesCommandOutput
560
576
  | ListConformancePackComplianceScoresCommandOutput
561
577
  | ListDiscoveredResourcesCommandOutput
578
+ | ListResourceEvaluationsCommandOutput
562
579
  | ListStoredQueriesCommandOutput
563
580
  | ListTagsForResourceCommandOutput
564
581
  | PutAggregationAuthorizationCommandOutput
@@ -581,6 +598,7 @@ export declare type ServiceOutputTypes =
581
598
  | StartConfigRulesEvaluationCommandOutput
582
599
  | StartConfigurationRecorderCommandOutput
583
600
  | StartRemediationExecutionCommandOutput
601
+ | StartResourceEvaluationCommandOutput
584
602
  | StopConfigurationRecorderCommandOutput
585
603
  | TagResourceCommandOutput
586
604
  | UntagResourceCommandOutput;
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ ConfigServiceClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ConfigServiceClient";
14
+ import {
15
+ GetResourceEvaluationSummaryRequest,
16
+ GetResourceEvaluationSummaryResponse,
17
+ } from "../models/models_0";
18
+ export interface GetResourceEvaluationSummaryCommandInput
19
+ extends GetResourceEvaluationSummaryRequest {}
20
+ export interface GetResourceEvaluationSummaryCommandOutput
21
+ extends GetResourceEvaluationSummaryResponse,
22
+ __MetadataBearer {}
23
+ export declare class GetResourceEvaluationSummaryCommand extends $Command<
24
+ GetResourceEvaluationSummaryCommandInput,
25
+ GetResourceEvaluationSummaryCommandOutput,
26
+ ConfigServiceClientResolvedConfig
27
+ > {
28
+ readonly input: GetResourceEvaluationSummaryCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetResourceEvaluationSummaryCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ConfigServiceClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ GetResourceEvaluationSummaryCommandInput,
37
+ GetResourceEvaluationSummaryCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }