@aws-sdk/client-config-service 3.1080.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.
- package/README.md +42 -7
- package/dist-cjs/index.js +245 -35
- package/dist-es/ConfigService.js +12 -0
- package/dist-es/commands/DeleteConnectorCommand.js +4 -0
- package/dist-es/commands/GetConnectorCommand.js +4 -0
- package/dist-es/commands/ListConnectorsCommand.js +4 -0
- package/dist-es/commands/PutConnectorCommand.js +4 -0
- package/dist-es/commands/PutThirdPartyServiceLinkedConfigurationRecorderCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +6 -0
- package/dist-es/models/errors.js +24 -12
- package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +165 -23
- package/dist-types/ConfigService.d.ts +44 -0
- package/dist-types/ConfigServiceClient.d.ts +7 -2
- package/dist-types/commands/AssociateResourceTypesCommand.d.ts +25 -0
- package/dist-types/commands/BatchGetAggregateResourceConfigCommand.d.ts +9 -0
- package/dist-types/commands/BatchGetResourceConfigCommand.d.ts +9 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +117 -0
- package/dist-types/commands/DeleteRemediationConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteResourceConfigCommand.d.ts +9 -0
- package/dist-types/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +17 -2
- package/dist-types/commands/DeleteStoredQueryCommand.d.ts +9 -0
- package/dist-types/commands/DescribeAggregateComplianceByConfigRulesCommand.d.ts +9 -0
- package/dist-types/commands/DescribeAggregateComplianceByConformancePacksCommand.d.ts +9 -0
- package/dist-types/commands/DescribeConfigRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeConfigurationRecorderStatusCommand.d.ts +9 -0
- package/dist-types/commands/DescribeConfigurationRecordersCommand.d.ts +20 -0
- package/dist-types/commands/DisassociateResourceTypesCommand.d.ts +25 -0
- package/dist-types/commands/GetAggregateComplianceDetailsByConfigRuleCommand.d.ts +9 -0
- package/dist-types/commands/GetAggregateConfigRuleComplianceSummaryCommand.d.ts +9 -0
- package/dist-types/commands/GetAggregateConformancePackComplianceSummaryCommand.d.ts +9 -0
- package/dist-types/commands/GetAggregateDiscoveredResourceCountsCommand.d.ts +9 -0
- package/dist-types/commands/GetAggregateResourceConfigCommand.d.ts +9 -0
- package/dist-types/commands/GetConnectorCommand.d.ts +129 -0
- package/dist-types/commands/GetDiscoveredResourceCountsCommand.d.ts +9 -0
- package/dist-types/commands/GetResourceConfigHistoryCommand.d.ts +9 -0
- package/dist-types/commands/GetStoredQueryCommand.d.ts +9 -0
- package/dist-types/commands/ListAggregateDiscoveredResourcesCommand.d.ts +9 -0
- package/dist-types/commands/ListConfigurationRecordersCommand.d.ts +10 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +134 -0
- package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +9 -0
- package/dist-types/commands/ListStoredQueriesCommand.d.ts +9 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/commands/PutConfigRuleCommand.d.ts +3 -0
- package/dist-types/commands/PutConfigurationRecorderCommand.d.ts +20 -0
- package/dist-types/commands/PutConformancePackCommand.d.ts +3 -0
- package/dist-types/commands/PutConnectorCommand.d.ts +195 -0
- package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +12 -0
- package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +12 -0
- package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +3 -0
- package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +3 -0
- package/dist-types/commands/PutResourceConfigCommand.d.ts +12 -0
- package/dist-types/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +17 -0
- package/dist-types/commands/PutStoredQueryCommand.d.ts +9 -0
- package/dist-types/commands/PutThirdPartyServiceLinkedConfigurationRecorderCommand.d.ts +199 -0
- package/dist-types/commands/StartRemediationExecutionCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +22 -0
- package/dist-types/models/errors.d.ts +41 -12
- package/dist-types/models/models_0.d.ts +304 -13
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +21 -0
- package/dist-types/ts3.4/ConfigService.d.ts +100 -0
- package/dist-types/ts3.4/ConfigServiceClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/PutConnectorCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/PutThirdPartyServiceLinkedConfigurationRecorderCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/dist-types/ts3.4/models/errors.d.ts +17 -7
- package/dist-types/ts3.4/models/models_0.d.ts +73 -2
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -42,16 +42,16 @@ To install this package, use the CLI of your favorite package manager:
|
|
|
42
42
|
|
|
43
43
|
The AWS SDK is modulized by clients and commands.
|
|
44
44
|
To send a request, you only need to import the `ConfigServiceClient` and
|
|
45
|
-
the commands you need, for example `
|
|
45
|
+
the commands you need, for example `ListConnectorsCommand`:
|
|
46
46
|
|
|
47
47
|
```js
|
|
48
48
|
// ES5 example
|
|
49
|
-
const { ConfigServiceClient,
|
|
49
|
+
const { ConfigServiceClient, ListConnectorsCommand } = require("@aws-sdk/client-config-service");
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
```ts
|
|
53
53
|
// ES6+ example
|
|
54
|
-
import { ConfigServiceClient,
|
|
54
|
+
import { ConfigServiceClient, ListConnectorsCommand } from "@aws-sdk/client-config-service";
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
### Usage
|
|
@@ -68,7 +68,7 @@ To send a request:
|
|
|
68
68
|
const client = new ConfigServiceClient({ region: "REGION" });
|
|
69
69
|
|
|
70
70
|
const params = { /** input parameters */ };
|
|
71
|
-
const command = new
|
|
71
|
+
const command = new ListConnectorsCommand(params);
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
#### Async/await
|
|
@@ -124,7 +124,7 @@ const client = new ConfigService({ region: "REGION" });
|
|
|
124
124
|
|
|
125
125
|
// async/await.
|
|
126
126
|
try {
|
|
127
|
-
const data = await client.
|
|
127
|
+
const data = await client.listConnectors(params);
|
|
128
128
|
// process data.
|
|
129
129
|
} catch (error) {
|
|
130
130
|
// error handling.
|
|
@@ -132,7 +132,7 @@ try {
|
|
|
132
132
|
|
|
133
133
|
// Promises.
|
|
134
134
|
client
|
|
135
|
-
.
|
|
135
|
+
.listConnectors(params)
|
|
136
136
|
.then((data) => {
|
|
137
137
|
// process data.
|
|
138
138
|
})
|
|
@@ -141,7 +141,7 @@ client
|
|
|
141
141
|
});
|
|
142
142
|
|
|
143
143
|
// callbacks (not recommended).
|
|
144
|
-
client.
|
|
144
|
+
client.listConnectors(params, (err, data) => {
|
|
145
145
|
// process err and data.
|
|
146
146
|
});
|
|
147
147
|
```
|
|
@@ -257,6 +257,13 @@ DeleteConformancePack
|
|
|
257
257
|
</details>
|
|
258
258
|
<details>
|
|
259
259
|
<summary>
|
|
260
|
+
DeleteConnector
|
|
261
|
+
</summary>
|
|
262
|
+
|
|
263
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/config-service/command/DeleteConnectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-config-service/Interface/DeleteConnectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-config-service/Interface/DeleteConnectorCommandOutput/)
|
|
264
|
+
</details>
|
|
265
|
+
<details>
|
|
266
|
+
<summary>
|
|
260
267
|
DeleteDeliveryChannel
|
|
261
268
|
</summary>
|
|
262
269
|
|
|
@@ -600,6 +607,13 @@ GetConformancePackComplianceSummary
|
|
|
600
607
|
</details>
|
|
601
608
|
<details>
|
|
602
609
|
<summary>
|
|
610
|
+
GetConnector
|
|
611
|
+
</summary>
|
|
612
|
+
|
|
613
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/config-service/command/GetConnectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-config-service/Interface/GetConnectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-config-service/Interface/GetConnectorCommandOutput/)
|
|
614
|
+
</details>
|
|
615
|
+
<details>
|
|
616
|
+
<summary>
|
|
603
617
|
GetCustomRulePolicy
|
|
604
618
|
</summary>
|
|
605
619
|
|
|
@@ -677,6 +691,13 @@ ListConformancePackComplianceScores
|
|
|
677
691
|
</details>
|
|
678
692
|
<details>
|
|
679
693
|
<summary>
|
|
694
|
+
ListConnectors
|
|
695
|
+
</summary>
|
|
696
|
+
|
|
697
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/config-service/command/ListConnectorsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-config-service/Interface/ListConnectorsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-config-service/Interface/ListConnectorsCommandOutput/)
|
|
698
|
+
</details>
|
|
699
|
+
<details>
|
|
700
|
+
<summary>
|
|
680
701
|
ListDiscoveredResources
|
|
681
702
|
</summary>
|
|
682
703
|
|
|
@@ -740,6 +761,13 @@ PutConformancePack
|
|
|
740
761
|
</details>
|
|
741
762
|
<details>
|
|
742
763
|
<summary>
|
|
764
|
+
PutConnector
|
|
765
|
+
</summary>
|
|
766
|
+
|
|
767
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/config-service/command/PutConnectorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-config-service/Interface/PutConnectorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-config-service/Interface/PutConnectorCommandOutput/)
|
|
768
|
+
</details>
|
|
769
|
+
<details>
|
|
770
|
+
<summary>
|
|
743
771
|
PutDeliveryChannel
|
|
744
772
|
</summary>
|
|
745
773
|
|
|
@@ -817,6 +845,13 @@ PutStoredQuery
|
|
|
817
845
|
</details>
|
|
818
846
|
<details>
|
|
819
847
|
<summary>
|
|
848
|
+
PutThirdPartyServiceLinkedConfigurationRecorder
|
|
849
|
+
</summary>
|
|
850
|
+
|
|
851
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/config-service/command/PutThirdPartyServiceLinkedConfigurationRecorderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-config-service/Interface/PutThirdPartyServiceLinkedConfigurationRecorderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-config-service/Interface/PutThirdPartyServiceLinkedConfigurationRecorderCommandOutput/)
|
|
852
|
+
</details>
|
|
853
|
+
<details>
|
|
854
|
+
<summary>
|
|
820
855
|
SelectAggregateResourceConfig
|
|
821
856
|
</summary>
|
|
822
857
|
|