@aws-sdk/client-config-service 3.218.0 → 3.219.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 +1 -1
@@ -1,24 +1,161 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ConfigServiceServiceException as __BaseException } from "./ConfigServiceServiceException";
3
3
  import {
4
+ AccountAggregationSource,
5
+ AggregationAuthorization,
6
+ ConfigRule,
7
+ ConfigurationAggregator,
8
+ ConfigurationRecorder,
4
9
  ConformancePackInputParameter,
5
10
  DeliveryChannel,
6
11
  Evaluation,
12
+ EvaluationContext,
13
+ EvaluationMode,
7
14
  ExternalEvaluation,
8
15
  FailedRemediationBatch,
9
16
  FailedRemediationExceptionBatch,
10
17
  FieldInfo,
11
- OrganizationCustomPolicyRuleMetadata,
18
+ MaximumExecutionFrequency,
19
+ OrganizationAggregationSource,
20
+ OrganizationConfigRuleTriggerTypeNoSN,
12
21
  OrganizationCustomRuleMetadata,
13
22
  OrganizationManagedRuleMetadata,
14
23
  RemediationConfiguration,
15
24
  RemediationExceptionResourceKey,
25
+ ResourceDetails,
16
26
  ResourceKey,
17
27
  RetentionConfiguration,
18
28
  StoredQuery,
19
29
  Tag,
20
30
  TemplateSSMDocumentDetails,
21
31
  } from "./models_0";
32
+ export declare class MaxNumberOfDeliveryChannelsExceededException extends __BaseException {
33
+ readonly name: "MaxNumberOfDeliveryChannelsExceededException";
34
+ readonly $fault: "client";
35
+ constructor(
36
+ opts: __ExceptionOptionType<
37
+ MaxNumberOfDeliveryChannelsExceededException,
38
+ __BaseException
39
+ >
40
+ );
41
+ }
42
+ export declare class MaxNumberOfOrganizationConfigRulesExceededException extends __BaseException {
43
+ readonly name: "MaxNumberOfOrganizationConfigRulesExceededException";
44
+ readonly $fault: "client";
45
+ constructor(
46
+ opts: __ExceptionOptionType<
47
+ MaxNumberOfOrganizationConfigRulesExceededException,
48
+ __BaseException
49
+ >
50
+ );
51
+ }
52
+ export declare class MaxNumberOfOrganizationConformancePacksExceededException extends __BaseException {
53
+ readonly name: "MaxNumberOfOrganizationConformancePacksExceededException";
54
+ readonly $fault: "client";
55
+ constructor(
56
+ opts: __ExceptionOptionType<
57
+ MaxNumberOfOrganizationConformancePacksExceededException,
58
+ __BaseException
59
+ >
60
+ );
61
+ }
62
+ export declare class MaxNumberOfRetentionConfigurationsExceededException extends __BaseException {
63
+ readonly name: "MaxNumberOfRetentionConfigurationsExceededException";
64
+ readonly $fault: "client";
65
+ constructor(
66
+ opts: __ExceptionOptionType<
67
+ MaxNumberOfRetentionConfigurationsExceededException,
68
+ __BaseException
69
+ >
70
+ );
71
+ }
72
+ export declare class NoAvailableDeliveryChannelException extends __BaseException {
73
+ readonly name: "NoAvailableDeliveryChannelException";
74
+ readonly $fault: "client";
75
+ constructor(
76
+ opts: __ExceptionOptionType<
77
+ NoAvailableDeliveryChannelException,
78
+ __BaseException
79
+ >
80
+ );
81
+ }
82
+ export declare class NoAvailableOrganizationException extends __BaseException {
83
+ readonly name: "NoAvailableOrganizationException";
84
+ readonly $fault: "client";
85
+ constructor(
86
+ opts: __ExceptionOptionType<
87
+ NoAvailableOrganizationException,
88
+ __BaseException
89
+ >
90
+ );
91
+ }
92
+ export declare class NoSuchBucketException extends __BaseException {
93
+ readonly name: "NoSuchBucketException";
94
+ readonly $fault: "client";
95
+ constructor(
96
+ opts: __ExceptionOptionType<NoSuchBucketException, __BaseException>
97
+ );
98
+ }
99
+ export declare class OrganizationAllFeaturesNotEnabledException extends __BaseException {
100
+ readonly name: "OrganizationAllFeaturesNotEnabledException";
101
+ readonly $fault: "client";
102
+ constructor(
103
+ opts: __ExceptionOptionType<
104
+ OrganizationAllFeaturesNotEnabledException,
105
+ __BaseException
106
+ >
107
+ );
108
+ }
109
+ export declare class OrganizationConformancePackTemplateValidationException extends __BaseException {
110
+ readonly name: "OrganizationConformancePackTemplateValidationException";
111
+ readonly $fault: "client";
112
+ constructor(
113
+ opts: __ExceptionOptionType<
114
+ OrganizationConformancePackTemplateValidationException,
115
+ __BaseException
116
+ >
117
+ );
118
+ }
119
+ export interface OrganizationCustomPolicyRuleMetadata {
120
+ Description?: string;
121
+ OrganizationConfigRuleTriggerTypes?: (
122
+ | OrganizationConfigRuleTriggerTypeNoSN
123
+ | string
124
+ )[];
125
+ InputParameters?: string;
126
+ MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
127
+ ResourceTypesScope?: string[];
128
+ ResourceIdScope?: string;
129
+ TagKeyScope?: string;
130
+ TagValueScope?: string;
131
+ PolicyRuntime: string | undefined;
132
+ PolicyText: string | undefined;
133
+ DebugLogDeliveryAccounts?: string[];
134
+ }
135
+ export interface PutAggregationAuthorizationRequest {
136
+ AuthorizedAccountId: string | undefined;
137
+ AuthorizedAwsRegion: string | undefined;
138
+ Tags?: Tag[];
139
+ }
140
+ export interface PutAggregationAuthorizationResponse {
141
+ AggregationAuthorization?: AggregationAuthorization;
142
+ }
143
+ export interface PutConfigRuleRequest {
144
+ ConfigRule: ConfigRule | undefined;
145
+ Tags?: Tag[];
146
+ }
147
+ export interface PutConfigurationAggregatorRequest {
148
+ ConfigurationAggregatorName: string | undefined;
149
+ AccountAggregationSources?: AccountAggregationSource[];
150
+ OrganizationAggregationSource?: OrganizationAggregationSource;
151
+ Tags?: Tag[];
152
+ }
153
+ export interface PutConfigurationAggregatorResponse {
154
+ ConfigurationAggregator?: ConfigurationAggregator;
155
+ }
156
+ export interface PutConfigurationRecorderRequest {
157
+ ConfigurationRecorder: ConfigurationRecorder | undefined;
158
+ }
22
159
  export interface PutConformancePackRequest {
23
160
  ConformancePackName: string | undefined;
24
161
  TemplateS3Uri?: string;
@@ -162,6 +299,16 @@ export interface StartRemediationExecutionResponse {
162
299
  FailureMessage?: string;
163
300
  FailedItems?: ResourceKey[];
164
301
  }
302
+ export interface StartResourceEvaluationRequest {
303
+ ResourceDetails: ResourceDetails | undefined;
304
+ EvaluationContext?: EvaluationContext;
305
+ EvaluationMode: EvaluationMode | string | undefined;
306
+ EvaluationTimeout?: number;
307
+ ClientToken?: string;
308
+ }
309
+ export interface StartResourceEvaluationResponse {
310
+ ResourceEvaluationId?: string;
311
+ }
165
312
  export interface StopConfigurationRecorderRequest {
166
313
  ConfigurationRecorderName: string | undefined;
167
314
  }
@@ -173,6 +320,27 @@ export interface UntagResourceRequest {
173
320
  ResourceArn: string | undefined;
174
321
  TagKeys: string[] | undefined;
175
322
  }
323
+ export declare const OrganizationCustomPolicyRuleMetadataFilterSensitiveLog: (
324
+ obj: OrganizationCustomPolicyRuleMetadata
325
+ ) => any;
326
+ export declare const PutAggregationAuthorizationRequestFilterSensitiveLog: (
327
+ obj: PutAggregationAuthorizationRequest
328
+ ) => any;
329
+ export declare const PutAggregationAuthorizationResponseFilterSensitiveLog: (
330
+ obj: PutAggregationAuthorizationResponse
331
+ ) => any;
332
+ export declare const PutConfigRuleRequestFilterSensitiveLog: (
333
+ obj: PutConfigRuleRequest
334
+ ) => any;
335
+ export declare const PutConfigurationAggregatorRequestFilterSensitiveLog: (
336
+ obj: PutConfigurationAggregatorRequest
337
+ ) => any;
338
+ export declare const PutConfigurationAggregatorResponseFilterSensitiveLog: (
339
+ obj: PutConfigurationAggregatorResponse
340
+ ) => any;
341
+ export declare const PutConfigurationRecorderRequestFilterSensitiveLog: (
342
+ obj: PutConfigurationRecorderRequest
343
+ ) => any;
176
344
  export declare const PutConformancePackRequestFilterSensitiveLog: (
177
345
  obj: PutConformancePackRequest
178
346
  ) => any;
@@ -261,6 +429,12 @@ export declare const StartRemediationExecutionRequestFilterSensitiveLog: (
261
429
  export declare const StartRemediationExecutionResponseFilterSensitiveLog: (
262
430
  obj: StartRemediationExecutionResponse
263
431
  ) => any;
432
+ export declare const StartResourceEvaluationRequestFilterSensitiveLog: (
433
+ obj: StartResourceEvaluationRequest
434
+ ) => any;
435
+ export declare const StartResourceEvaluationResponseFilterSensitiveLog: (
436
+ obj: StartResourceEvaluationResponse
437
+ ) => any;
264
438
  export declare const StopConfigurationRecorderRequestFilterSensitiveLog: (
265
439
  obj: StopConfigurationRecorderRequest
266
440
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListResourceEvaluationsCommandInput,
4
+ ListResourceEvaluationsCommandOutput,
5
+ } from "../commands/ListResourceEvaluationsCommand";
6
+ import { ConfigServicePaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListResourceEvaluations(
8
+ config: ConfigServicePaginationConfiguration,
9
+ input: ListResourceEvaluationsCommandInput,
10
+ ...additionalArguments: any
11
+ ): 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";
@@ -243,6 +243,10 @@ import {
243
243
  GetResourceConfigHistoryCommandInput,
244
244
  GetResourceConfigHistoryCommandOutput,
245
245
  } from "../commands/GetResourceConfigHistoryCommand";
246
+ import {
247
+ GetResourceEvaluationSummaryCommandInput,
248
+ GetResourceEvaluationSummaryCommandOutput,
249
+ } from "../commands/GetResourceEvaluationSummaryCommand";
246
250
  import {
247
251
  GetStoredQueryCommandInput,
248
252
  GetStoredQueryCommandOutput,
@@ -259,6 +263,10 @@ import {
259
263
  ListDiscoveredResourcesCommandInput,
260
264
  ListDiscoveredResourcesCommandOutput,
261
265
  } from "../commands/ListDiscoveredResourcesCommand";
266
+ import {
267
+ ListResourceEvaluationsCommandInput,
268
+ ListResourceEvaluationsCommandOutput,
269
+ } from "../commands/ListResourceEvaluationsCommand";
262
270
  import {
263
271
  ListStoredQueriesCommandInput,
264
272
  ListStoredQueriesCommandOutput,
@@ -347,6 +355,10 @@ import {
347
355
  StartRemediationExecutionCommandInput,
348
356
  StartRemediationExecutionCommandOutput,
349
357
  } from "../commands/StartRemediationExecutionCommand";
358
+ import {
359
+ StartResourceEvaluationCommandInput,
360
+ StartResourceEvaluationCommandOutput,
361
+ } from "../commands/StartResourceEvaluationCommand";
350
362
  import {
351
363
  StopConfigurationRecorderCommandInput,
352
364
  StopConfigurationRecorderCommandOutput,
@@ -599,6 +611,10 @@ export declare const serializeAws_json1_1GetResourceConfigHistoryCommand: (
599
611
  input: GetResourceConfigHistoryCommandInput,
600
612
  context: __SerdeContext
601
613
  ) => Promise<__HttpRequest>;
614
+ export declare const serializeAws_json1_1GetResourceEvaluationSummaryCommand: (
615
+ input: GetResourceEvaluationSummaryCommandInput,
616
+ context: __SerdeContext
617
+ ) => Promise<__HttpRequest>;
602
618
  export declare const serializeAws_json1_1GetStoredQueryCommand: (
603
619
  input: GetStoredQueryCommandInput,
604
620
  context: __SerdeContext
@@ -615,6 +631,10 @@ export declare const serializeAws_json1_1ListDiscoveredResourcesCommand: (
615
631
  input: ListDiscoveredResourcesCommandInput,
616
632
  context: __SerdeContext
617
633
  ) => Promise<__HttpRequest>;
634
+ export declare const serializeAws_json1_1ListResourceEvaluationsCommand: (
635
+ input: ListResourceEvaluationsCommandInput,
636
+ context: __SerdeContext
637
+ ) => Promise<__HttpRequest>;
618
638
  export declare const serializeAws_json1_1ListStoredQueriesCommand: (
619
639
  input: ListStoredQueriesCommandInput,
620
640
  context: __SerdeContext
@@ -703,6 +723,10 @@ export declare const serializeAws_json1_1StartRemediationExecutionCommand: (
703
723
  input: StartRemediationExecutionCommandInput,
704
724
  context: __SerdeContext
705
725
  ) => Promise<__HttpRequest>;
726
+ export declare const serializeAws_json1_1StartResourceEvaluationCommand: (
727
+ input: StartResourceEvaluationCommandInput,
728
+ context: __SerdeContext
729
+ ) => Promise<__HttpRequest>;
706
730
  export declare const serializeAws_json1_1StopConfigurationRecorderCommand: (
707
731
  input: StopConfigurationRecorderCommandInput,
708
732
  context: __SerdeContext
@@ -955,6 +979,10 @@ export declare const deserializeAws_json1_1GetResourceConfigHistoryCommand: (
955
979
  output: __HttpResponse,
956
980
  context: __SerdeContext
957
981
  ) => Promise<GetResourceConfigHistoryCommandOutput>;
982
+ export declare const deserializeAws_json1_1GetResourceEvaluationSummaryCommand: (
983
+ output: __HttpResponse,
984
+ context: __SerdeContext
985
+ ) => Promise<GetResourceEvaluationSummaryCommandOutput>;
958
986
  export declare const deserializeAws_json1_1GetStoredQueryCommand: (
959
987
  output: __HttpResponse,
960
988
  context: __SerdeContext
@@ -971,6 +999,10 @@ export declare const deserializeAws_json1_1ListDiscoveredResourcesCommand: (
971
999
  output: __HttpResponse,
972
1000
  context: __SerdeContext
973
1001
  ) => Promise<ListDiscoveredResourcesCommandOutput>;
1002
+ export declare const deserializeAws_json1_1ListResourceEvaluationsCommand: (
1003
+ output: __HttpResponse,
1004
+ context: __SerdeContext
1005
+ ) => Promise<ListResourceEvaluationsCommandOutput>;
974
1006
  export declare const deserializeAws_json1_1ListStoredQueriesCommand: (
975
1007
  output: __HttpResponse,
976
1008
  context: __SerdeContext
@@ -1059,6 +1091,10 @@ export declare const deserializeAws_json1_1StartRemediationExecutionCommand: (
1059
1091
  output: __HttpResponse,
1060
1092
  context: __SerdeContext
1061
1093
  ) => Promise<StartRemediationExecutionCommandOutput>;
1094
+ export declare const deserializeAws_json1_1StartResourceEvaluationCommand: (
1095
+ output: __HttpResponse,
1096
+ context: __SerdeContext
1097
+ ) => Promise<StartResourceEvaluationCommandOutput>;
1062
1098
  export declare const deserializeAws_json1_1StopConfigurationRecorderCommand: (
1063
1099
  output: __HttpResponse,
1064
1100
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-config-service",
3
3
  "description": "AWS SDK for JavaScript Config Service Client for Node.js, Browser and React Native",
4
- "version": "3.218.0",
4
+ "version": "3.219.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",