@aws-sdk/client-config-service 3.1079.0 → 3.1081.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 (83) hide show
  1. package/README.md +42 -7
  2. package/dist-cjs/index.js +245 -35
  3. package/dist-es/ConfigService.js +12 -0
  4. package/dist-es/commands/DeleteConnectorCommand.js +4 -0
  5. package/dist-es/commands/GetConnectorCommand.js +4 -0
  6. package/dist-es/commands/ListConnectorsCommand.js +4 -0
  7. package/dist-es/commands/PutConnectorCommand.js +4 -0
  8. package/dist-es/commands/PutThirdPartyServiceLinkedConfigurationRecorderCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +6 -0
  11. package/dist-es/models/errors.js +24 -12
  12. package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/schemas/schemas_0.js +165 -23
  15. package/dist-types/ConfigService.d.ts +44 -0
  16. package/dist-types/ConfigServiceClient.d.ts +7 -2
  17. package/dist-types/commands/AssociateResourceTypesCommand.d.ts +25 -0
  18. package/dist-types/commands/BatchGetAggregateResourceConfigCommand.d.ts +9 -0
  19. package/dist-types/commands/BatchGetResourceConfigCommand.d.ts +9 -0
  20. package/dist-types/commands/DeleteConnectorCommand.d.ts +117 -0
  21. package/dist-types/commands/DeleteRemediationConfigurationCommand.d.ts +3 -0
  22. package/dist-types/commands/DeleteResourceConfigCommand.d.ts +9 -0
  23. package/dist-types/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +17 -2
  24. package/dist-types/commands/DeleteStoredQueryCommand.d.ts +9 -0
  25. package/dist-types/commands/DescribeAggregateComplianceByConfigRulesCommand.d.ts +9 -0
  26. package/dist-types/commands/DescribeAggregateComplianceByConformancePacksCommand.d.ts +9 -0
  27. package/dist-types/commands/DescribeConfigRulesCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeConfigurationRecorderStatusCommand.d.ts +9 -0
  29. package/dist-types/commands/DescribeConfigurationRecordersCommand.d.ts +20 -0
  30. package/dist-types/commands/DisassociateResourceTypesCommand.d.ts +25 -0
  31. package/dist-types/commands/GetAggregateComplianceDetailsByConfigRuleCommand.d.ts +9 -0
  32. package/dist-types/commands/GetAggregateConfigRuleComplianceSummaryCommand.d.ts +9 -0
  33. package/dist-types/commands/GetAggregateConformancePackComplianceSummaryCommand.d.ts +9 -0
  34. package/dist-types/commands/GetAggregateDiscoveredResourceCountsCommand.d.ts +9 -0
  35. package/dist-types/commands/GetAggregateResourceConfigCommand.d.ts +9 -0
  36. package/dist-types/commands/GetConnectorCommand.d.ts +129 -0
  37. package/dist-types/commands/GetDiscoveredResourceCountsCommand.d.ts +9 -0
  38. package/dist-types/commands/GetResourceConfigHistoryCommand.d.ts +9 -0
  39. package/dist-types/commands/GetStoredQueryCommand.d.ts +9 -0
  40. package/dist-types/commands/ListAggregateDiscoveredResourcesCommand.d.ts +9 -0
  41. package/dist-types/commands/ListConfigurationRecordersCommand.d.ts +10 -0
  42. package/dist-types/commands/ListConnectorsCommand.d.ts +134 -0
  43. package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +9 -0
  44. package/dist-types/commands/ListStoredQueriesCommand.d.ts +9 -0
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -0
  46. package/dist-types/commands/PutConfigRuleCommand.d.ts +3 -0
  47. package/dist-types/commands/PutConfigurationRecorderCommand.d.ts +20 -0
  48. package/dist-types/commands/PutConformancePackCommand.d.ts +3 -0
  49. package/dist-types/commands/PutConnectorCommand.d.ts +195 -0
  50. package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +12 -0
  51. package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +12 -0
  52. package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +3 -0
  53. package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +3 -0
  54. package/dist-types/commands/PutResourceConfigCommand.d.ts +12 -0
  55. package/dist-types/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +17 -0
  56. package/dist-types/commands/PutStoredQueryCommand.d.ts +9 -0
  57. package/dist-types/commands/PutThirdPartyServiceLinkedConfigurationRecorderCommand.d.ts +199 -0
  58. package/dist-types/commands/StartRemediationExecutionCommand.d.ts +3 -0
  59. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  60. package/dist-types/commands/UntagResourceCommand.d.ts +9 -0
  61. package/dist-types/commands/index.d.ts +5 -0
  62. package/dist-types/models/enums.d.ts +22 -0
  63. package/dist-types/models/errors.d.ts +41 -12
  64. package/dist-types/models/models_0.d.ts +304 -13
  65. package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
  66. package/dist-types/pagination/index.d.ts +1 -0
  67. package/dist-types/schemas/schemas_0.d.ts +21 -0
  68. package/dist-types/ts3.4/ConfigService.d.ts +100 -0
  69. package/dist-types/ts3.4/ConfigServiceClient.d.ts +30 -0
  70. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +38 -0
  71. package/dist-types/ts3.4/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +40 -0
  73. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +43 -0
  74. package/dist-types/ts3.4/commands/PutConnectorCommand.d.ts +40 -0
  75. package/dist-types/ts3.4/commands/PutThirdPartyServiceLinkedConfigurationRecorderCommand.d.ts +44 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  77. package/dist-types/ts3.4/models/enums.d.ts +9 -0
  78. package/dist-types/ts3.4/models/errors.d.ts +17 -7
  79. package/dist-types/ts3.4/models/models_0.d.ts +73 -2
  80. package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
  81. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  82. package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
  83. package/package.json +3 -3
@@ -7,6 +7,7 @@ import { DeleteConfigRuleCommand, } from "./commands/DeleteConfigRuleCommand";
7
7
  import { DeleteConfigurationAggregatorCommand, } from "./commands/DeleteConfigurationAggregatorCommand";
8
8
  import { DeleteConfigurationRecorderCommand, } from "./commands/DeleteConfigurationRecorderCommand";
9
9
  import { DeleteConformancePackCommand, } from "./commands/DeleteConformancePackCommand";
10
+ import { DeleteConnectorCommand, } from "./commands/DeleteConnectorCommand";
10
11
  import { DeleteDeliveryChannelCommand, } from "./commands/DeleteDeliveryChannelCommand";
11
12
  import { DeleteEvaluationResultsCommand, } from "./commands/DeleteEvaluationResultsCommand";
12
13
  import { DeleteOrganizationConfigRuleCommand, } from "./commands/DeleteOrganizationConfigRuleCommand";
@@ -56,6 +57,7 @@ import { GetComplianceSummaryByConfigRuleCommand, } from "./commands/GetComplian
56
57
  import { GetComplianceSummaryByResourceTypeCommand, } from "./commands/GetComplianceSummaryByResourceTypeCommand";
57
58
  import { GetConformancePackComplianceDetailsCommand, } from "./commands/GetConformancePackComplianceDetailsCommand";
58
59
  import { GetConformancePackComplianceSummaryCommand, } from "./commands/GetConformancePackComplianceSummaryCommand";
60
+ import { GetConnectorCommand, } from "./commands/GetConnectorCommand";
59
61
  import { GetCustomRulePolicyCommand, } from "./commands/GetCustomRulePolicyCommand";
60
62
  import { GetDiscoveredResourceCountsCommand, } from "./commands/GetDiscoveredResourceCountsCommand";
61
63
  import { GetOrganizationConfigRuleDetailedStatusCommand, } from "./commands/GetOrganizationConfigRuleDetailedStatusCommand";
@@ -67,6 +69,7 @@ import { GetStoredQueryCommand, } from "./commands/GetStoredQueryCommand";
67
69
  import { ListAggregateDiscoveredResourcesCommand, } from "./commands/ListAggregateDiscoveredResourcesCommand";
68
70
  import { ListConfigurationRecordersCommand, } from "./commands/ListConfigurationRecordersCommand";
69
71
  import { ListConformancePackComplianceScoresCommand, } from "./commands/ListConformancePackComplianceScoresCommand";
72
+ import { ListConnectorsCommand, } from "./commands/ListConnectorsCommand";
70
73
  import { ListDiscoveredResourcesCommand, } from "./commands/ListDiscoveredResourcesCommand";
71
74
  import { ListResourceEvaluationsCommand, } from "./commands/ListResourceEvaluationsCommand";
72
75
  import { ListStoredQueriesCommand, } from "./commands/ListStoredQueriesCommand";
@@ -76,6 +79,7 @@ import { PutConfigRuleCommand, } from "./commands/PutConfigRuleCommand";
76
79
  import { PutConfigurationAggregatorCommand, } from "./commands/PutConfigurationAggregatorCommand";
77
80
  import { PutConfigurationRecorderCommand, } from "./commands/PutConfigurationRecorderCommand";
78
81
  import { PutConformancePackCommand, } from "./commands/PutConformancePackCommand";
82
+ import { PutConnectorCommand, } from "./commands/PutConnectorCommand";
79
83
  import { PutDeliveryChannelCommand, } from "./commands/PutDeliveryChannelCommand";
80
84
  import { PutEvaluationsCommand, } from "./commands/PutEvaluationsCommand";
81
85
  import { PutExternalEvaluationCommand, } from "./commands/PutExternalEvaluationCommand";
@@ -87,6 +91,7 @@ import { PutResourceConfigCommand, } from "./commands/PutResourceConfigCommand";
87
91
  import { PutRetentionConfigurationCommand, } from "./commands/PutRetentionConfigurationCommand";
88
92
  import { PutServiceLinkedConfigurationRecorderCommand, } from "./commands/PutServiceLinkedConfigurationRecorderCommand";
89
93
  import { PutStoredQueryCommand, } from "./commands/PutStoredQueryCommand";
94
+ import { PutThirdPartyServiceLinkedConfigurationRecorderCommand, } from "./commands/PutThirdPartyServiceLinkedConfigurationRecorderCommand";
90
95
  import { SelectAggregateResourceConfigCommand, } from "./commands/SelectAggregateResourceConfigCommand";
91
96
  import { SelectResourceConfigCommand, } from "./commands/SelectResourceConfigCommand";
92
97
  import { StartConfigRulesEvaluationCommand, } from "./commands/StartConfigRulesEvaluationCommand";
@@ -132,6 +137,7 @@ import { paginateGetResourceConfigHistory } from "./pagination/GetResourceConfig
132
137
  import { paginateListAggregateDiscoveredResources } from "./pagination/ListAggregateDiscoveredResourcesPaginator";
133
138
  import { paginateListConfigurationRecorders } from "./pagination/ListConfigurationRecordersPaginator";
134
139
  import { paginateListConformancePackComplianceScores } from "./pagination/ListConformancePackComplianceScoresPaginator";
140
+ import { paginateListConnectors } from "./pagination/ListConnectorsPaginator";
135
141
  import { paginateListDiscoveredResources } from "./pagination/ListDiscoveredResourcesPaginator";
136
142
  import { paginateListResourceEvaluations } from "./pagination/ListResourceEvaluationsPaginator";
137
143
  import { paginateListStoredQueries } from "./pagination/ListStoredQueriesPaginator";
@@ -147,6 +153,7 @@ const commands = {
147
153
  DeleteConfigurationAggregatorCommand,
148
154
  DeleteConfigurationRecorderCommand,
149
155
  DeleteConformancePackCommand,
156
+ DeleteConnectorCommand,
150
157
  DeleteDeliveryChannelCommand,
151
158
  DeleteEvaluationResultsCommand,
152
159
  DeleteOrganizationConfigRuleCommand,
@@ -196,6 +203,7 @@ const commands = {
196
203
  GetComplianceSummaryByResourceTypeCommand,
197
204
  GetConformancePackComplianceDetailsCommand,
198
205
  GetConformancePackComplianceSummaryCommand,
206
+ GetConnectorCommand,
199
207
  GetCustomRulePolicyCommand,
200
208
  GetDiscoveredResourceCountsCommand,
201
209
  GetOrganizationConfigRuleDetailedStatusCommand,
@@ -207,6 +215,7 @@ const commands = {
207
215
  ListAggregateDiscoveredResourcesCommand,
208
216
  ListConfigurationRecordersCommand,
209
217
  ListConformancePackComplianceScoresCommand,
218
+ ListConnectorsCommand,
210
219
  ListDiscoveredResourcesCommand,
211
220
  ListResourceEvaluationsCommand,
212
221
  ListStoredQueriesCommand,
@@ -216,6 +225,7 @@ const commands = {
216
225
  PutConfigurationAggregatorCommand,
217
226
  PutConfigurationRecorderCommand,
218
227
  PutConformancePackCommand,
228
+ PutConnectorCommand,
219
229
  PutDeliveryChannelCommand,
220
230
  PutEvaluationsCommand,
221
231
  PutExternalEvaluationCommand,
@@ -227,6 +237,7 @@ const commands = {
227
237
  PutRetentionConfigurationCommand,
228
238
  PutServiceLinkedConfigurationRecorderCommand,
229
239
  PutStoredQueryCommand,
240
+ PutThirdPartyServiceLinkedConfigurationRecorderCommand,
230
241
  SelectAggregateResourceConfigCommand,
231
242
  SelectResourceConfigCommand,
232
243
  StartConfigRulesEvaluationCommand,
@@ -273,6 +284,7 @@ const paginators = {
273
284
  paginateListAggregateDiscoveredResources,
274
285
  paginateListConfigurationRecorders,
275
286
  paginateListConformancePackComplianceScores,
287
+ paginateListConnectors,
276
288
  paginateListDiscoveredResources,
277
289
  paginateListResourceEvaluations,
278
290
  paginateListStoredQueries,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteConnector$ } from "../schemas/schemas_0";
3
+ export class DeleteConnectorCommand extends command(_ep0, _mw0, "DeleteConnector", DeleteConnector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetConnector$ } from "../schemas/schemas_0";
3
+ export class GetConnectorCommand extends command(_ep0, _mw0, "GetConnector", GetConnector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListConnectors$ } from "../schemas/schemas_0";
3
+ export class ListConnectorsCommand extends command(_ep0, _mw0, "ListConnectors", ListConnectors$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { PutConnector$ } from "../schemas/schemas_0";
3
+ export class PutConnectorCommand extends command(_ep0, _mw0, "PutConnector", PutConnector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { PutThirdPartyServiceLinkedConfigurationRecorder$ } from "../schemas/schemas_0";
3
+ export class PutThirdPartyServiceLinkedConfigurationRecorderCommand extends command(_ep0, _mw0, "PutThirdPartyServiceLinkedConfigurationRecorder", PutThirdPartyServiceLinkedConfigurationRecorder$) {
4
+ }
@@ -6,6 +6,7 @@ export * from "./DeleteConfigRuleCommand";
6
6
  export * from "./DeleteConfigurationAggregatorCommand";
7
7
  export * from "./DeleteConfigurationRecorderCommand";
8
8
  export * from "./DeleteConformancePackCommand";
9
+ export * from "./DeleteConnectorCommand";
9
10
  export * from "./DeleteDeliveryChannelCommand";
10
11
  export * from "./DeleteEvaluationResultsCommand";
11
12
  export * from "./DeleteOrganizationConfigRuleCommand";
@@ -55,6 +56,7 @@ export * from "./GetComplianceSummaryByConfigRuleCommand";
55
56
  export * from "./GetComplianceSummaryByResourceTypeCommand";
56
57
  export * from "./GetConformancePackComplianceDetailsCommand";
57
58
  export * from "./GetConformancePackComplianceSummaryCommand";
59
+ export * from "./GetConnectorCommand";
58
60
  export * from "./GetCustomRulePolicyCommand";
59
61
  export * from "./GetDiscoveredResourceCountsCommand";
60
62
  export * from "./GetOrganizationConfigRuleDetailedStatusCommand";
@@ -66,6 +68,7 @@ export * from "./GetStoredQueryCommand";
66
68
  export * from "./ListAggregateDiscoveredResourcesCommand";
67
69
  export * from "./ListConfigurationRecordersCommand";
68
70
  export * from "./ListConformancePackComplianceScoresCommand";
71
+ export * from "./ListConnectorsCommand";
69
72
  export * from "./ListDiscoveredResourcesCommand";
70
73
  export * from "./ListResourceEvaluationsCommand";
71
74
  export * from "./ListStoredQueriesCommand";
@@ -75,6 +78,7 @@ export * from "./PutConfigRuleCommand";
75
78
  export * from "./PutConfigurationAggregatorCommand";
76
79
  export * from "./PutConfigurationRecorderCommand";
77
80
  export * from "./PutConformancePackCommand";
81
+ export * from "./PutConnectorCommand";
78
82
  export * from "./PutDeliveryChannelCommand";
79
83
  export * from "./PutEvaluationsCommand";
80
84
  export * from "./PutExternalEvaluationCommand";
@@ -86,6 +90,7 @@ export * from "./PutResourceConfigCommand";
86
90
  export * from "./PutRetentionConfigurationCommand";
87
91
  export * from "./PutServiceLinkedConfigurationRecorderCommand";
88
92
  export * from "./PutStoredQueryCommand";
93
+ export * from "./PutThirdPartyServiceLinkedConfigurationRecorderCommand";
89
94
  export * from "./SelectAggregateResourceConfigCommand";
90
95
  export * from "./SelectResourceConfigCommand";
91
96
  export * from "./StartConfigRulesEvaluationCommand";
@@ -637,6 +637,9 @@ export const RecorderStatus = {
637
637
  Pending: "Pending",
638
638
  Success: "Success",
639
639
  };
640
+ export const Provider = {
641
+ AZURE: "AZURE",
642
+ };
640
643
  export const ConformancePackState = {
641
644
  CREATE_COMPLETE: "CREATE_COMPLETE",
642
645
  CREATE_FAILED: "CREATE_FAILED",
@@ -644,6 +647,9 @@ export const ConformancePackState = {
644
647
  DELETE_FAILED: "DELETE_FAILED",
645
648
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
646
649
  };
650
+ export const ConnectorFilterName = {
651
+ provider: "provider",
652
+ };
647
653
  export const OrganizationConfigRuleTriggerTypeNoSN = {
648
654
  CONFIGURATION_ITEM_CHANGE_NOTIFICATION: "ConfigurationItemChangeNotification",
649
655
  OVERSIZED_CONFIGURATION_ITEM_CHANGE_NOTIFCATION: "OversizedConfigurationItemChangeNotification",
@@ -131,6 +131,18 @@ export class NoSuchConformancePackException extends __BaseException {
131
131
  Object.setPrototypeOf(this, NoSuchConformancePackException.prototype);
132
132
  }
133
133
  }
134
+ export class ResourceNotFoundException extends __BaseException {
135
+ name = "ResourceNotFoundException";
136
+ $fault = "client";
137
+ constructor(opts) {
138
+ super({
139
+ name: "ResourceNotFoundException",
140
+ $fault: "client",
141
+ ...opts,
142
+ });
143
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
144
+ }
145
+ }
134
146
  export class LastDeliveryChannelDeleteFailedException extends __BaseException {
135
147
  name = "LastDeliveryChannelDeleteFailedException";
136
148
  $fault = "client";
@@ -263,18 +275,6 @@ export class NoSuchRetentionConfigurationException extends __BaseException {
263
275
  Object.setPrototypeOf(this, NoSuchRetentionConfigurationException.prototype);
264
276
  }
265
277
  }
266
- export class ResourceNotFoundException extends __BaseException {
267
- name = "ResourceNotFoundException";
268
- $fault = "client";
269
- constructor(opts) {
270
- super({
271
- name: "ResourceNotFoundException",
272
- $fault: "client",
273
- ...opts,
274
- });
275
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
276
- }
277
- }
278
278
  export class InvalidLimitException extends __BaseException {
279
279
  name = "InvalidLimitException";
280
280
  $fault = "client";
@@ -539,6 +539,18 @@ export class MaxNumberOfConformancePacksExceededException extends __BaseExceptio
539
539
  Object.setPrototypeOf(this, MaxNumberOfConformancePacksExceededException.prototype);
540
540
  }
541
541
  }
542
+ export class MaxNumberOfConnectorsExceededException extends __BaseException {
543
+ name = "MaxNumberOfConnectorsExceededException";
544
+ $fault = "client";
545
+ constructor(opts) {
546
+ super({
547
+ name: "MaxNumberOfConnectorsExceededException",
548
+ $fault: "client",
549
+ ...opts,
550
+ });
551
+ Object.setPrototypeOf(this, MaxNumberOfConnectorsExceededException.prototype);
552
+ }
553
+ }
542
554
  export class MaxNumberOfDeliveryChannelsExceededException extends __BaseException {
543
555
  name = "MaxNumberOfDeliveryChannelsExceededException";
544
556
  $fault = "client";
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListConnectorsCommand, } from "../commands/ListConnectorsCommand";
3
+ import { ConfigServiceClient } from "../ConfigServiceClient";
4
+ export const paginateListConnectors = createPaginator(ConfigServiceClient, ListConnectorsCommand, "NextToken", "NextToken", "MaxResults");
@@ -34,6 +34,7 @@ export * from "./GetResourceConfigHistoryPaginator";
34
34
  export * from "./ListAggregateDiscoveredResourcesPaginator";
35
35
  export * from "./ListConfigurationRecordersPaginator";
36
36
  export * from "./ListConformancePackComplianceScoresPaginator";
37
+ export * from "./ListConnectorsPaginator";
37
38
  export * from "./ListDiscoveredResourcesPaginator";
38
39
  export * from "./ListResourceEvaluationsPaginator";
39
40
  export * from "./ListStoredQueriesPaginator";