@aws-sdk/client-config-service 3.696.0 → 3.702.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 +40 -0
- package/dist-cjs/index.js +304 -36
- package/dist-es/ConfigService.js +10 -0
- package/dist-es/commands/AssociateResourceTypesCommand.js +22 -0
- package/dist-es/commands/DeleteServiceLinkedConfigurationRecorderCommand.js +22 -0
- package/dist-es/commands/DisassociateResourceTypesCommand.js +22 -0
- package/dist-es/commands/ListConfigurationRecordersCommand.js +22 -0
- package/dist-es/commands/PutServiceLinkedConfigurationRecorderCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +53 -25
- package/dist-es/models/models_1.js +7 -0
- package/dist-es/pagination/ListConfigurationRecordersPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +129 -7
- package/dist-types/ConfigService.d.ts +36 -0
- package/dist-types/ConfigServiceClient.d.ts +7 -2
- package/dist-types/commands/AssociateResourceTypesCommand.d.ts +163 -0
- package/dist-types/commands/BatchGetAggregateResourceConfigCommand.d.ts +34 -3
- package/dist-types/commands/BatchGetResourceConfigCommand.d.ts +35 -5
- package/dist-types/commands/DeleteConfigRuleCommand.d.ts +24 -0
- package/dist-types/commands/DeleteConfigurationRecorderCommand.d.ts +15 -7
- package/dist-types/commands/DeleteDeliveryChannelCommand.d.ts +2 -4
- package/dist-types/commands/DeleteOrganizationConfigRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRemediationConfigurationCommand.d.ts +7 -4
- package/dist-types/commands/DeleteResourceConfigCommand.d.ts +34 -3
- package/dist-types/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +138 -0
- package/dist-types/commands/DeleteStoredQueryCommand.d.ts +34 -3
- package/dist-types/commands/DeliverConfigSnapshotCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAggregateComplianceByConfigRulesCommand.d.ts +34 -3
- package/dist-types/commands/DescribeAggregateComplianceByConformancePacksCommand.d.ts +35 -4
- package/dist-types/commands/DescribeComplianceByConfigRuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComplianceByResourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeConfigurationAggregatorsCommand.d.ts +15 -1
- package/dist-types/commands/DescribeConfigurationRecorderStatusCommand.d.ts +47 -7
- package/dist-types/commands/DescribeConfigurationRecordersCommand.d.ts +45 -5
- package/dist-types/commands/DescribeDeliveryChannelStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeliveryChannelsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigRuleStatusesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConformancePackStatusesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConformancePacksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRetentionConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateResourceTypesCommand.d.ts +163 -0
- package/dist-types/commands/GetAggregateComplianceDetailsByConfigRuleCommand.d.ts +34 -3
- package/dist-types/commands/GetAggregateConfigRuleComplianceSummaryCommand.d.ts +34 -3
- package/dist-types/commands/GetAggregateConformancePackComplianceSummaryCommand.d.ts +34 -3
- package/dist-types/commands/GetAggregateDiscoveredResourceCountsCommand.d.ts +34 -3
- package/dist-types/commands/GetAggregateResourceConfigCommand.d.ts +37 -3
- package/dist-types/commands/GetDiscoveredResourceCountsCommand.d.ts +34 -3
- package/dist-types/commands/GetOrganizationConfigRuleDetailedStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationConformancePackDetailedStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationCustomRulePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetResourceConfigHistoryCommand.d.ts +35 -5
- package/dist-types/commands/GetStoredQueryCommand.d.ts +34 -3
- package/dist-types/commands/ListAggregateDiscoveredResourcesCommand.d.ts +34 -3
- package/dist-types/commands/ListConfigurationRecordersCommand.d.ts +124 -0
- package/dist-types/commands/ListConformancePackComplianceScoresCommand.d.ts +1 -1
- package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +36 -6
- package/dist-types/commands/ListResourceEvaluationsCommand.d.ts +1 -1
- package/dist-types/commands/ListStoredQueriesCommand.d.ts +35 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -5
- package/dist-types/commands/PutAggregationAuthorizationCommand.d.ts +4 -0
- package/dist-types/commands/PutConfigRuleCommand.d.ts +12 -6
- package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +37 -3
- package/dist-types/commands/PutConfigurationRecorderCommand.d.ts +79 -16
- package/dist-types/commands/PutConformancePackCommand.d.ts +7 -4
- package/dist-types/commands/PutDeliveryChannelCommand.d.ts +14 -18
- package/dist-types/commands/PutEvaluationsCommand.d.ts +1 -1
- package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +42 -8
- package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +42 -8
- package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +7 -4
- package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +13 -4
- package/dist-types/commands/PutResourceConfigCommand.d.ts +41 -7
- package/dist-types/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +182 -0
- package/dist-types/commands/PutStoredQueryCommand.d.ts +37 -3
- package/dist-types/commands/StartConfigRulesEvaluationCommand.d.ts +3 -1
- package/dist-types/commands/StartConfigurationRecorderCommand.d.ts +14 -4
- package/dist-types/commands/StartRemediationExecutionCommand.d.ts +7 -4
- package/dist-types/commands/StopConfigurationRecorderCommand.d.ts +12 -1
- package/dist-types/commands/TagResourceCommand.d.ts +35 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +34 -3
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +1288 -1339
- package/dist-types/models/models_1.d.ts +551 -12
- package/dist-types/pagination/ListConfigurationRecordersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/ConfigService.d.ts +98 -0
- package/dist-types/ts3.4/ConfigServiceClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AssociateResourceTypesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateResourceTypesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConfigurationRecordersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConformancePackComplianceScoresCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListResourceEvaluationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStoredQueriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +134 -132
- package/dist-types/ts3.4/models/models_1.d.ts +105 -0
- package/dist-types/ts3.4/pagination/ListConfigurationRecordersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +4 -4
package/dist-es/ConfigService.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
|
+
import { AssociateResourceTypesCommand, } from "./commands/AssociateResourceTypesCommand";
|
|
2
3
|
import { BatchGetAggregateResourceConfigCommand, } from "./commands/BatchGetAggregateResourceConfigCommand";
|
|
3
4
|
import { BatchGetResourceConfigCommand, } from "./commands/BatchGetResourceConfigCommand";
|
|
4
5
|
import { DeleteAggregationAuthorizationCommand, } from "./commands/DeleteAggregationAuthorizationCommand";
|
|
@@ -15,6 +16,7 @@ import { DeleteRemediationConfigurationCommand, } from "./commands/DeleteRemedia
|
|
|
15
16
|
import { DeleteRemediationExceptionsCommand, } from "./commands/DeleteRemediationExceptionsCommand";
|
|
16
17
|
import { DeleteResourceConfigCommand, } from "./commands/DeleteResourceConfigCommand";
|
|
17
18
|
import { DeleteRetentionConfigurationCommand, } from "./commands/DeleteRetentionConfigurationCommand";
|
|
19
|
+
import { DeleteServiceLinkedConfigurationRecorderCommand, } from "./commands/DeleteServiceLinkedConfigurationRecorderCommand";
|
|
18
20
|
import { DeleteStoredQueryCommand, } from "./commands/DeleteStoredQueryCommand";
|
|
19
21
|
import { DeliverConfigSnapshotCommand, } from "./commands/DeliverConfigSnapshotCommand";
|
|
20
22
|
import { DescribeAggregateComplianceByConfigRulesCommand, } from "./commands/DescribeAggregateComplianceByConfigRulesCommand";
|
|
@@ -42,6 +44,7 @@ import { DescribeRemediationConfigurationsCommand, } from "./commands/DescribeRe
|
|
|
42
44
|
import { DescribeRemediationExceptionsCommand, } from "./commands/DescribeRemediationExceptionsCommand";
|
|
43
45
|
import { DescribeRemediationExecutionStatusCommand, } from "./commands/DescribeRemediationExecutionStatusCommand";
|
|
44
46
|
import { DescribeRetentionConfigurationsCommand, } from "./commands/DescribeRetentionConfigurationsCommand";
|
|
47
|
+
import { DisassociateResourceTypesCommand, } from "./commands/DisassociateResourceTypesCommand";
|
|
45
48
|
import { GetAggregateComplianceDetailsByConfigRuleCommand, } from "./commands/GetAggregateComplianceDetailsByConfigRuleCommand";
|
|
46
49
|
import { GetAggregateConfigRuleComplianceSummaryCommand, } from "./commands/GetAggregateConfigRuleComplianceSummaryCommand";
|
|
47
50
|
import { GetAggregateConformancePackComplianceSummaryCommand, } from "./commands/GetAggregateConformancePackComplianceSummaryCommand";
|
|
@@ -62,6 +65,7 @@ import { GetResourceConfigHistoryCommand, } from "./commands/GetResourceConfigHi
|
|
|
62
65
|
import { GetResourceEvaluationSummaryCommand, } from "./commands/GetResourceEvaluationSummaryCommand";
|
|
63
66
|
import { GetStoredQueryCommand, } from "./commands/GetStoredQueryCommand";
|
|
64
67
|
import { ListAggregateDiscoveredResourcesCommand, } from "./commands/ListAggregateDiscoveredResourcesCommand";
|
|
68
|
+
import { ListConfigurationRecordersCommand, } from "./commands/ListConfigurationRecordersCommand";
|
|
65
69
|
import { ListConformancePackComplianceScoresCommand, } from "./commands/ListConformancePackComplianceScoresCommand";
|
|
66
70
|
import { ListDiscoveredResourcesCommand, } from "./commands/ListDiscoveredResourcesCommand";
|
|
67
71
|
import { ListResourceEvaluationsCommand, } from "./commands/ListResourceEvaluationsCommand";
|
|
@@ -81,6 +85,7 @@ import { PutRemediationConfigurationsCommand, } from "./commands/PutRemediationC
|
|
|
81
85
|
import { PutRemediationExceptionsCommand, } from "./commands/PutRemediationExceptionsCommand";
|
|
82
86
|
import { PutResourceConfigCommand, } from "./commands/PutResourceConfigCommand";
|
|
83
87
|
import { PutRetentionConfigurationCommand, } from "./commands/PutRetentionConfigurationCommand";
|
|
88
|
+
import { PutServiceLinkedConfigurationRecorderCommand, } from "./commands/PutServiceLinkedConfigurationRecorderCommand";
|
|
84
89
|
import { PutStoredQueryCommand, } from "./commands/PutStoredQueryCommand";
|
|
85
90
|
import { SelectAggregateResourceConfigCommand, } from "./commands/SelectAggregateResourceConfigCommand";
|
|
86
91
|
import { SelectResourceConfigCommand, } from "./commands/SelectResourceConfigCommand";
|
|
@@ -93,6 +98,7 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
93
98
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
94
99
|
import { ConfigServiceClient } from "./ConfigServiceClient";
|
|
95
100
|
const commands = {
|
|
101
|
+
AssociateResourceTypesCommand,
|
|
96
102
|
BatchGetAggregateResourceConfigCommand,
|
|
97
103
|
BatchGetResourceConfigCommand,
|
|
98
104
|
DeleteAggregationAuthorizationCommand,
|
|
@@ -109,6 +115,7 @@ const commands = {
|
|
|
109
115
|
DeleteRemediationExceptionsCommand,
|
|
110
116
|
DeleteResourceConfigCommand,
|
|
111
117
|
DeleteRetentionConfigurationCommand,
|
|
118
|
+
DeleteServiceLinkedConfigurationRecorderCommand,
|
|
112
119
|
DeleteStoredQueryCommand,
|
|
113
120
|
DeliverConfigSnapshotCommand,
|
|
114
121
|
DescribeAggregateComplianceByConfigRulesCommand,
|
|
@@ -136,6 +143,7 @@ const commands = {
|
|
|
136
143
|
DescribeRemediationExceptionsCommand,
|
|
137
144
|
DescribeRemediationExecutionStatusCommand,
|
|
138
145
|
DescribeRetentionConfigurationsCommand,
|
|
146
|
+
DisassociateResourceTypesCommand,
|
|
139
147
|
GetAggregateComplianceDetailsByConfigRuleCommand,
|
|
140
148
|
GetAggregateConfigRuleComplianceSummaryCommand,
|
|
141
149
|
GetAggregateConformancePackComplianceSummaryCommand,
|
|
@@ -156,6 +164,7 @@ const commands = {
|
|
|
156
164
|
GetResourceEvaluationSummaryCommand,
|
|
157
165
|
GetStoredQueryCommand,
|
|
158
166
|
ListAggregateDiscoveredResourcesCommand,
|
|
167
|
+
ListConfigurationRecordersCommand,
|
|
159
168
|
ListConformancePackComplianceScoresCommand,
|
|
160
169
|
ListDiscoveredResourcesCommand,
|
|
161
170
|
ListResourceEvaluationsCommand,
|
|
@@ -175,6 +184,7 @@ const commands = {
|
|
|
175
184
|
PutRemediationExceptionsCommand,
|
|
176
185
|
PutResourceConfigCommand,
|
|
177
186
|
PutRetentionConfigurationCommand,
|
|
187
|
+
PutServiceLinkedConfigurationRecorderCommand,
|
|
178
188
|
PutStoredQueryCommand,
|
|
179
189
|
SelectAggregateResourceConfigCommand,
|
|
180
190
|
SelectResourceConfigCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_AssociateResourceTypesCommand, se_AssociateResourceTypesCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class AssociateResourceTypesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("StarlingDoveService", "AssociateResourceTypes", {})
|
|
17
|
+
.n("ConfigServiceClient", "AssociateResourceTypesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_AssociateResourceTypesCommand)
|
|
20
|
+
.de(de_AssociateResourceTypesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteServiceLinkedConfigurationRecorderCommand, se_DeleteServiceLinkedConfigurationRecorderCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteServiceLinkedConfigurationRecorderCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("StarlingDoveService", "DeleteServiceLinkedConfigurationRecorder", {})
|
|
17
|
+
.n("ConfigServiceClient", "DeleteServiceLinkedConfigurationRecorderCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteServiceLinkedConfigurationRecorderCommand)
|
|
20
|
+
.de(de_DeleteServiceLinkedConfigurationRecorderCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DisassociateResourceTypesCommand, se_DisassociateResourceTypesCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisassociateResourceTypesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("StarlingDoveService", "DisassociateResourceTypes", {})
|
|
17
|
+
.n("ConfigServiceClient", "DisassociateResourceTypesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DisassociateResourceTypesCommand)
|
|
20
|
+
.de(de_DisassociateResourceTypesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListConfigurationRecordersCommand, se_ListConfigurationRecordersCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListConfigurationRecordersCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("StarlingDoveService", "ListConfigurationRecorders", {})
|
|
17
|
+
.n("ConfigServiceClient", "ListConfigurationRecordersCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListConfigurationRecordersCommand)
|
|
20
|
+
.de(de_ListConfigurationRecordersCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_PutServiceLinkedConfigurationRecorderCommand, se_PutServiceLinkedConfigurationRecorderCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PutServiceLinkedConfigurationRecorderCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("StarlingDoveService", "PutServiceLinkedConfigurationRecorder", {})
|
|
17
|
+
.n("ConfigServiceClient", "PutServiceLinkedConfigurationRecorderCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_PutServiceLinkedConfigurationRecorderCommand)
|
|
20
|
+
.de(de_PutServiceLinkedConfigurationRecorderCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./AssociateResourceTypesCommand";
|
|
1
2
|
export * from "./BatchGetAggregateResourceConfigCommand";
|
|
2
3
|
export * from "./BatchGetResourceConfigCommand";
|
|
3
4
|
export * from "./DeleteAggregationAuthorizationCommand";
|
|
@@ -14,6 +15,7 @@ export * from "./DeleteRemediationConfigurationCommand";
|
|
|
14
15
|
export * from "./DeleteRemediationExceptionsCommand";
|
|
15
16
|
export * from "./DeleteResourceConfigCommand";
|
|
16
17
|
export * from "./DeleteRetentionConfigurationCommand";
|
|
18
|
+
export * from "./DeleteServiceLinkedConfigurationRecorderCommand";
|
|
17
19
|
export * from "./DeleteStoredQueryCommand";
|
|
18
20
|
export * from "./DeliverConfigSnapshotCommand";
|
|
19
21
|
export * from "./DescribeAggregateComplianceByConfigRulesCommand";
|
|
@@ -41,6 +43,7 @@ export * from "./DescribeRemediationConfigurationsCommand";
|
|
|
41
43
|
export * from "./DescribeRemediationExceptionsCommand";
|
|
42
44
|
export * from "./DescribeRemediationExecutionStatusCommand";
|
|
43
45
|
export * from "./DescribeRetentionConfigurationsCommand";
|
|
46
|
+
export * from "./DisassociateResourceTypesCommand";
|
|
44
47
|
export * from "./GetAggregateComplianceDetailsByConfigRuleCommand";
|
|
45
48
|
export * from "./GetAggregateConfigRuleComplianceSummaryCommand";
|
|
46
49
|
export * from "./GetAggregateConformancePackComplianceSummaryCommand";
|
|
@@ -61,6 +64,7 @@ export * from "./GetResourceConfigHistoryCommand";
|
|
|
61
64
|
export * from "./GetResourceEvaluationSummaryCommand";
|
|
62
65
|
export * from "./GetStoredQueryCommand";
|
|
63
66
|
export * from "./ListAggregateDiscoveredResourcesCommand";
|
|
67
|
+
export * from "./ListConfigurationRecordersCommand";
|
|
64
68
|
export * from "./ListConformancePackComplianceScoresCommand";
|
|
65
69
|
export * from "./ListDiscoveredResourcesCommand";
|
|
66
70
|
export * from "./ListResourceEvaluationsCommand";
|
|
@@ -80,6 +84,7 @@ export * from "./PutRemediationConfigurationsCommand";
|
|
|
80
84
|
export * from "./PutRemediationExceptionsCommand";
|
|
81
85
|
export * from "./PutResourceConfigCommand";
|
|
82
86
|
export * from "./PutRetentionConfigurationCommand";
|
|
87
|
+
export * from "./PutServiceLinkedConfigurationRecorderCommand";
|
|
83
88
|
export * from "./PutStoredQueryCommand";
|
|
84
89
|
export * from "./SelectAggregateResourceConfigCommand";
|
|
85
90
|
export * from "./SelectResourceConfigCommand";
|
|
@@ -436,27 +436,44 @@ export const ResourceType = {
|
|
|
436
436
|
WorkSpacesConnectionAlias: "AWS::WorkSpaces::ConnectionAlias",
|
|
437
437
|
WorkSpacesWorkspace: "AWS::WorkSpaces::Workspace",
|
|
438
438
|
};
|
|
439
|
-
export const
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
439
|
+
export const AggregatorFilterType = {
|
|
440
|
+
INCLUDE: "INCLUDE",
|
|
441
|
+
};
|
|
442
|
+
export const RecordingStrategyType = {
|
|
443
|
+
ALL_SUPPORTED_RESOURCE_TYPES: "ALL_SUPPORTED_RESOURCE_TYPES",
|
|
444
|
+
EXCLUSION_BY_RESOURCE_TYPES: "EXCLUSION_BY_RESOURCE_TYPES",
|
|
445
|
+
INCLUSION_BY_RESOURCE_TYPES: "INCLUSION_BY_RESOURCE_TYPES",
|
|
445
446
|
};
|
|
446
447
|
export const RecordingFrequency = {
|
|
447
448
|
CONTINUOUS: "CONTINUOUS",
|
|
448
449
|
DAILY: "DAILY",
|
|
449
450
|
};
|
|
450
|
-
export
|
|
451
|
+
export const RecordingScope = {
|
|
452
|
+
INTERNAL: "INTERNAL",
|
|
453
|
+
PAID: "PAID",
|
|
454
|
+
};
|
|
455
|
+
export class ConflictException extends __BaseException {
|
|
451
456
|
constructor(opts) {
|
|
452
457
|
super({
|
|
453
|
-
name: "
|
|
458
|
+
name: "ConflictException",
|
|
454
459
|
$fault: "client",
|
|
455
460
|
...opts,
|
|
456
461
|
});
|
|
457
|
-
this.name = "
|
|
462
|
+
this.name = "ConflictException";
|
|
458
463
|
this.$fault = "client";
|
|
459
|
-
Object.setPrototypeOf(this,
|
|
464
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
export class NoSuchConfigurationRecorderException extends __BaseException {
|
|
468
|
+
constructor(opts) {
|
|
469
|
+
super({
|
|
470
|
+
name: "NoSuchConfigurationRecorderException",
|
|
471
|
+
$fault: "client",
|
|
472
|
+
...opts,
|
|
473
|
+
});
|
|
474
|
+
this.name = "NoSuchConfigurationRecorderException";
|
|
475
|
+
this.$fault = "client";
|
|
476
|
+
Object.setPrototypeOf(this, NoSuchConfigurationRecorderException.prototype);
|
|
460
477
|
}
|
|
461
478
|
}
|
|
462
479
|
export class ValidationException extends __BaseException {
|
|
@@ -471,6 +488,25 @@ export class ValidationException extends __BaseException {
|
|
|
471
488
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
472
489
|
}
|
|
473
490
|
}
|
|
491
|
+
export const ConfigurationItemStatus = {
|
|
492
|
+
OK: "OK",
|
|
493
|
+
ResourceDeleted: "ResourceDeleted",
|
|
494
|
+
ResourceDeletedNotRecorded: "ResourceDeletedNotRecorded",
|
|
495
|
+
ResourceDiscovered: "ResourceDiscovered",
|
|
496
|
+
ResourceNotRecorded: "ResourceNotRecorded",
|
|
497
|
+
};
|
|
498
|
+
export class NoSuchConfigurationAggregatorException extends __BaseException {
|
|
499
|
+
constructor(opts) {
|
|
500
|
+
super({
|
|
501
|
+
name: "NoSuchConfigurationAggregatorException",
|
|
502
|
+
$fault: "client",
|
|
503
|
+
...opts,
|
|
504
|
+
});
|
|
505
|
+
this.name = "NoSuchConfigurationAggregatorException";
|
|
506
|
+
this.$fault = "client";
|
|
507
|
+
Object.setPrototypeOf(this, NoSuchConfigurationAggregatorException.prototype);
|
|
508
|
+
}
|
|
509
|
+
}
|
|
474
510
|
export class NoAvailableConfigurationRecorderException extends __BaseException {
|
|
475
511
|
constructor(opts) {
|
|
476
512
|
super({
|
|
@@ -523,13 +559,12 @@ export const ConfigRuleComplianceSummaryGroupKey = {
|
|
|
523
559
|
ACCOUNT_ID: "ACCOUNT_ID",
|
|
524
560
|
AWS_REGION: "AWS_REGION",
|
|
525
561
|
};
|
|
526
|
-
export const
|
|
527
|
-
|
|
528
|
-
EXCLUSION_BY_RESOURCE_TYPES: "EXCLUSION_BY_RESOURCE_TYPES",
|
|
529
|
-
INCLUSION_BY_RESOURCE_TYPES: "INCLUSION_BY_RESOURCE_TYPES",
|
|
562
|
+
export const ConfigurationRecorderFilterName = {
|
|
563
|
+
RecordingScope: "recordingScope",
|
|
530
564
|
};
|
|
531
565
|
export const RecorderStatus = {
|
|
532
566
|
Failure: "Failure",
|
|
567
|
+
NotApplicable: "NotApplicable",
|
|
533
568
|
Pending: "Pending",
|
|
534
569
|
Success: "Success",
|
|
535
570
|
};
|
|
@@ -588,16 +623,16 @@ export class ResourceInUseException extends __BaseException {
|
|
|
588
623
|
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
589
624
|
}
|
|
590
625
|
}
|
|
591
|
-
export class
|
|
626
|
+
export class UnmodifiableEntityException extends __BaseException {
|
|
592
627
|
constructor(opts) {
|
|
593
628
|
super({
|
|
594
|
-
name: "
|
|
629
|
+
name: "UnmodifiableEntityException",
|
|
595
630
|
$fault: "client",
|
|
596
631
|
...opts,
|
|
597
632
|
});
|
|
598
|
-
this.name = "
|
|
633
|
+
this.name = "UnmodifiableEntityException";
|
|
599
634
|
this.$fault = "client";
|
|
600
|
-
Object.setPrototypeOf(this,
|
|
635
|
+
Object.setPrototypeOf(this, UnmodifiableEntityException.prototype);
|
|
601
636
|
}
|
|
602
637
|
}
|
|
603
638
|
export class NoSuchConformancePackException extends __BaseException {
|
|
@@ -1055,10 +1090,3 @@ export class LimitExceededException extends __BaseException {
|
|
|
1055
1090
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
1056
1091
|
}
|
|
1057
1092
|
}
|
|
1058
|
-
export const SortBy = {
|
|
1059
|
-
SCORE: "SCORE",
|
|
1060
|
-
};
|
|
1061
|
-
export const SortOrder = {
|
|
1062
|
-
ASCENDING: "ASCENDING",
|
|
1063
|
-
DESCENDING: "DESCENDING",
|
|
1064
|
-
};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { ConfigServiceServiceException as __BaseException } from "./ConfigServiceServiceException";
|
|
2
|
+
export const SortBy = {
|
|
3
|
+
SCORE: "SCORE",
|
|
4
|
+
};
|
|
5
|
+
export const SortOrder = {
|
|
6
|
+
ASCENDING: "ASCENDING",
|
|
7
|
+
DESCENDING: "DESCENDING",
|
|
8
|
+
};
|
|
2
9
|
export class MaxActiveResourcesExceededException extends __BaseException {
|
|
3
10
|
constructor(opts) {
|
|
4
11
|
super({
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListConfigurationRecordersCommand, } from "../commands/ListConfigurationRecordersCommand";
|
|
3
|
+
import { ConfigServiceClient } from "../ConfigServiceClient";
|
|
4
|
+
export const paginateListConfigurationRecorders = createPaginator(ConfigServiceClient, ListConfigurationRecordersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -32,6 +32,7 @@ export * from "./GetOrganizationConfigRuleDetailedStatusPaginator";
|
|
|
32
32
|
export * from "./GetOrganizationConformancePackDetailedStatusPaginator";
|
|
33
33
|
export * from "./GetResourceConfigHistoryPaginator";
|
|
34
34
|
export * from "./ListAggregateDiscoveredResourcesPaginator";
|
|
35
|
+
export * from "./ListConfigurationRecordersPaginator";
|
|
35
36
|
export * from "./ListConformancePackComplianceScoresPaginator";
|
|
36
37
|
export * from "./ListDiscoveredResourcesPaginator";
|
|
37
38
|
export * from "./ListResourceEvaluationsPaginator";
|
|
@@ -2,8 +2,14 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { ConfigServiceServiceException as __BaseException } from "../models/ConfigServiceServiceException";
|
|
5
|
-
import { ConformancePackTemplateValidationException, IdempotentParameterMismatch, InsufficientDeliveryPolicyException, InsufficientPermissionsException, InvalidConfigurationRecorderNameException, InvalidDeliveryChannelNameException, InvalidExpressionException, InvalidLimitException, InvalidNextTokenException, InvalidParameterValueException, InvalidRecordingGroupException, InvalidResultTokenException, InvalidRoleException, InvalidS3KeyPrefixException, InvalidS3KmsKeyArnException, InvalidSNSTopicARNException, InvalidTimeRangeException, LastDeliveryChannelDeleteFailedException, LimitExceededException, NoAvailableConfigurationRecorderException, NoRunningConfigurationRecorderException, NoSuchConfigRuleException, NoSuchConfigRuleInConformancePackException, NoSuchConfigurationAggregatorException, NoSuchConfigurationRecorderException, NoSuchConformancePackException, NoSuchDeliveryChannelException, NoSuchOrganizationConfigRuleException, NoSuchOrganizationConformancePackException, NoSuchRemediationConfigurationException, NoSuchRemediationExceptionException, NoSuchRetentionConfigurationException, OrganizationAccessDeniedException, OversizedConfigurationItemException, RemediationInProgressException, ResourceInUseException, ResourceNotDiscoveredException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
|
|
5
|
+
import { ConflictException, ConformancePackTemplateValidationException, IdempotentParameterMismatch, InsufficientDeliveryPolicyException, InsufficientPermissionsException, InvalidConfigurationRecorderNameException, InvalidDeliveryChannelNameException, InvalidExpressionException, InvalidLimitException, InvalidNextTokenException, InvalidParameterValueException, InvalidRecordingGroupException, InvalidResultTokenException, InvalidRoleException, InvalidS3KeyPrefixException, InvalidS3KmsKeyArnException, InvalidSNSTopicARNException, InvalidTimeRangeException, LastDeliveryChannelDeleteFailedException, LimitExceededException, NoAvailableConfigurationRecorderException, NoRunningConfigurationRecorderException, NoSuchConfigRuleException, NoSuchConfigRuleInConformancePackException, NoSuchConfigurationAggregatorException, NoSuchConfigurationRecorderException, NoSuchConformancePackException, NoSuchDeliveryChannelException, NoSuchOrganizationConfigRuleException, NoSuchOrganizationConformancePackException, NoSuchRemediationConfigurationException, NoSuchRemediationExceptionException, NoSuchRetentionConfigurationException, OrganizationAccessDeniedException, OversizedConfigurationItemException, RemediationInProgressException, ResourceInUseException, ResourceNotDiscoveredException, ResourceNotFoundException, UnmodifiableEntityException, ValidationException, } from "../models/models_0";
|
|
6
6
|
import { MaxActiveResourcesExceededException, MaxNumberOfConfigRulesExceededException, MaxNumberOfConfigurationRecordersExceededException, MaxNumberOfConformancePacksExceededException, MaxNumberOfDeliveryChannelsExceededException, MaxNumberOfOrganizationConfigRulesExceededException, MaxNumberOfOrganizationConformancePacksExceededException, MaxNumberOfRetentionConfigurationsExceededException, NoAvailableDeliveryChannelException, NoAvailableOrganizationException, NoSuchBucketException, OrganizationAllFeaturesNotEnabledException, OrganizationConformancePackTemplateValidationException, ResourceConcurrentModificationException, TooManyTagsException, } from "../models/models_1";
|
|
7
|
+
export const se_AssociateResourceTypesCommand = async (input, context) => {
|
|
8
|
+
const headers = sharedHeaders("AssociateResourceTypes");
|
|
9
|
+
let body;
|
|
10
|
+
body = JSON.stringify(_json(input));
|
|
11
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
12
|
+
};
|
|
7
13
|
export const se_BatchGetAggregateResourceConfigCommand = async (input, context) => {
|
|
8
14
|
const headers = sharedHeaders("BatchGetAggregateResourceConfig");
|
|
9
15
|
let body;
|
|
@@ -100,6 +106,12 @@ export const se_DeleteRetentionConfigurationCommand = async (input, context) =>
|
|
|
100
106
|
body = JSON.stringify(_json(input));
|
|
101
107
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
102
108
|
};
|
|
109
|
+
export const se_DeleteServiceLinkedConfigurationRecorderCommand = async (input, context) => {
|
|
110
|
+
const headers = sharedHeaders("DeleteServiceLinkedConfigurationRecorder");
|
|
111
|
+
let body;
|
|
112
|
+
body = JSON.stringify(_json(input));
|
|
113
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
114
|
+
};
|
|
103
115
|
export const se_DeleteStoredQueryCommand = async (input, context) => {
|
|
104
116
|
const headers = sharedHeaders("DeleteStoredQuery");
|
|
105
117
|
let body;
|
|
@@ -262,6 +274,12 @@ export const se_DescribeRetentionConfigurationsCommand = async (input, context)
|
|
|
262
274
|
body = JSON.stringify(_json(input));
|
|
263
275
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
264
276
|
};
|
|
277
|
+
export const se_DisassociateResourceTypesCommand = async (input, context) => {
|
|
278
|
+
const headers = sharedHeaders("DisassociateResourceTypes");
|
|
279
|
+
let body;
|
|
280
|
+
body = JSON.stringify(_json(input));
|
|
281
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
282
|
+
};
|
|
265
283
|
export const se_GetAggregateComplianceDetailsByConfigRuleCommand = async (input, context) => {
|
|
266
284
|
const headers = sharedHeaders("GetAggregateComplianceDetailsByConfigRule");
|
|
267
285
|
let body;
|
|
@@ -381,6 +399,12 @@ export const se_ListAggregateDiscoveredResourcesCommand = async (input, context)
|
|
|
381
399
|
body = JSON.stringify(_json(input));
|
|
382
400
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
383
401
|
};
|
|
402
|
+
export const se_ListConfigurationRecordersCommand = async (input, context) => {
|
|
403
|
+
const headers = sharedHeaders("ListConfigurationRecorders");
|
|
404
|
+
let body;
|
|
405
|
+
body = JSON.stringify(_json(input));
|
|
406
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
407
|
+
};
|
|
384
408
|
export const se_ListConformancePackComplianceScoresCommand = async (input, context) => {
|
|
385
409
|
const headers = sharedHeaders("ListConformancePackComplianceScores");
|
|
386
410
|
let body;
|
|
@@ -495,6 +519,12 @@ export const se_PutRetentionConfigurationCommand = async (input, context) => {
|
|
|
495
519
|
body = JSON.stringify(_json(input));
|
|
496
520
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
497
521
|
};
|
|
522
|
+
export const se_PutServiceLinkedConfigurationRecorderCommand = async (input, context) => {
|
|
523
|
+
const headers = sharedHeaders("PutServiceLinkedConfigurationRecorder");
|
|
524
|
+
let body;
|
|
525
|
+
body = JSON.stringify(_json(input));
|
|
526
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
527
|
+
};
|
|
498
528
|
export const se_PutStoredQueryCommand = async (input, context) => {
|
|
499
529
|
const headers = sharedHeaders("PutStoredQuery");
|
|
500
530
|
let body;
|
|
@@ -555,6 +585,19 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
555
585
|
body = JSON.stringify(_json(input));
|
|
556
586
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
557
587
|
};
|
|
588
|
+
export const de_AssociateResourceTypesCommand = async (output, context) => {
|
|
589
|
+
if (output.statusCode >= 300) {
|
|
590
|
+
return de_CommandError(output, context);
|
|
591
|
+
}
|
|
592
|
+
const data = await parseBody(output.body, context);
|
|
593
|
+
let contents = {};
|
|
594
|
+
contents = _json(data);
|
|
595
|
+
const response = {
|
|
596
|
+
$metadata: deserializeMetadata(output),
|
|
597
|
+
...contents,
|
|
598
|
+
};
|
|
599
|
+
return response;
|
|
600
|
+
};
|
|
558
601
|
export const de_BatchGetAggregateResourceConfigCommand = async (output, context) => {
|
|
559
602
|
if (output.statusCode >= 300) {
|
|
560
603
|
return de_CommandError(output, context);
|
|
@@ -730,6 +773,19 @@ export const de_DeleteRetentionConfigurationCommand = async (output, context) =>
|
|
|
730
773
|
};
|
|
731
774
|
return response;
|
|
732
775
|
};
|
|
776
|
+
export const de_DeleteServiceLinkedConfigurationRecorderCommand = async (output, context) => {
|
|
777
|
+
if (output.statusCode >= 300) {
|
|
778
|
+
return de_CommandError(output, context);
|
|
779
|
+
}
|
|
780
|
+
const data = await parseBody(output.body, context);
|
|
781
|
+
let contents = {};
|
|
782
|
+
contents = _json(data);
|
|
783
|
+
const response = {
|
|
784
|
+
$metadata: deserializeMetadata(output),
|
|
785
|
+
...contents,
|
|
786
|
+
};
|
|
787
|
+
return response;
|
|
788
|
+
};
|
|
733
789
|
export const de_DeleteStoredQueryCommand = async (output, context) => {
|
|
734
790
|
if (output.statusCode >= 300) {
|
|
735
791
|
return de_CommandError(output, context);
|
|
@@ -1081,6 +1137,19 @@ export const de_DescribeRetentionConfigurationsCommand = async (output, context)
|
|
|
1081
1137
|
};
|
|
1082
1138
|
return response;
|
|
1083
1139
|
};
|
|
1140
|
+
export const de_DisassociateResourceTypesCommand = async (output, context) => {
|
|
1141
|
+
if (output.statusCode >= 300) {
|
|
1142
|
+
return de_CommandError(output, context);
|
|
1143
|
+
}
|
|
1144
|
+
const data = await parseBody(output.body, context);
|
|
1145
|
+
let contents = {};
|
|
1146
|
+
contents = _json(data);
|
|
1147
|
+
const response = {
|
|
1148
|
+
$metadata: deserializeMetadata(output),
|
|
1149
|
+
...contents,
|
|
1150
|
+
};
|
|
1151
|
+
return response;
|
|
1152
|
+
};
|
|
1084
1153
|
export const de_GetAggregateComplianceDetailsByConfigRuleCommand = async (output, context) => {
|
|
1085
1154
|
if (output.statusCode >= 300) {
|
|
1086
1155
|
return de_CommandError(output, context);
|
|
@@ -1341,6 +1410,19 @@ export const de_ListAggregateDiscoveredResourcesCommand = async (output, context
|
|
|
1341
1410
|
};
|
|
1342
1411
|
return response;
|
|
1343
1412
|
};
|
|
1413
|
+
export const de_ListConfigurationRecordersCommand = async (output, context) => {
|
|
1414
|
+
if (output.statusCode >= 300) {
|
|
1415
|
+
return de_CommandError(output, context);
|
|
1416
|
+
}
|
|
1417
|
+
const data = await parseBody(output.body, context);
|
|
1418
|
+
let contents = {};
|
|
1419
|
+
contents = _json(data);
|
|
1420
|
+
const response = {
|
|
1421
|
+
$metadata: deserializeMetadata(output),
|
|
1422
|
+
...contents,
|
|
1423
|
+
};
|
|
1424
|
+
return response;
|
|
1425
|
+
};
|
|
1344
1426
|
export const de_ListConformancePackComplianceScoresCommand = async (output, context) => {
|
|
1345
1427
|
if (output.statusCode >= 300) {
|
|
1346
1428
|
return de_CommandError(output, context);
|
|
@@ -1576,6 +1658,19 @@ export const de_PutRetentionConfigurationCommand = async (output, context) => {
|
|
|
1576
1658
|
};
|
|
1577
1659
|
return response;
|
|
1578
1660
|
};
|
|
1661
|
+
export const de_PutServiceLinkedConfigurationRecorderCommand = async (output, context) => {
|
|
1662
|
+
if (output.statusCode >= 300) {
|
|
1663
|
+
return de_CommandError(output, context);
|
|
1664
|
+
}
|
|
1665
|
+
const data = await parseBody(output.body, context);
|
|
1666
|
+
let contents = {};
|
|
1667
|
+
contents = _json(data);
|
|
1668
|
+
const response = {
|
|
1669
|
+
$metadata: deserializeMetadata(output),
|
|
1670
|
+
...contents,
|
|
1671
|
+
};
|
|
1672
|
+
return response;
|
|
1673
|
+
};
|
|
1579
1674
|
export const de_PutStoredQueryCommand = async (output, context) => {
|
|
1580
1675
|
if (output.statusCode >= 300) {
|
|
1581
1676
|
return de_CommandError(output, context);
|
|
@@ -1701,12 +1796,18 @@ const de_CommandError = async (output, context) => {
|
|
|
1701
1796
|
};
|
|
1702
1797
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1703
1798
|
switch (errorCode) {
|
|
1704
|
-
case "
|
|
1705
|
-
case "com.amazonaws.configservice#
|
|
1706
|
-
throw await
|
|
1799
|
+
case "ConflictException":
|
|
1800
|
+
case "com.amazonaws.configservice#ConflictException":
|
|
1801
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1802
|
+
case "NoSuchConfigurationRecorderException":
|
|
1803
|
+
case "com.amazonaws.configservice#NoSuchConfigurationRecorderException":
|
|
1804
|
+
throw await de_NoSuchConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
1707
1805
|
case "ValidationException":
|
|
1708
1806
|
case "com.amazonaws.configservice#ValidationException":
|
|
1709
1807
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1808
|
+
case "NoSuchConfigurationAggregatorException":
|
|
1809
|
+
case "com.amazonaws.configservice#NoSuchConfigurationAggregatorException":
|
|
1810
|
+
throw await de_NoSuchConfigurationAggregatorExceptionRes(parsedOutput, context);
|
|
1710
1811
|
case "NoAvailableConfigurationRecorderException":
|
|
1711
1812
|
case "com.amazonaws.configservice#NoAvailableConfigurationRecorderException":
|
|
1712
1813
|
throw await de_NoAvailableConfigurationRecorderExceptionRes(parsedOutput, context);
|
|
@@ -1719,9 +1820,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1719
1820
|
case "ResourceInUseException":
|
|
1720
1821
|
case "com.amazonaws.configservice#ResourceInUseException":
|
|
1721
1822
|
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1722
|
-
case "
|
|
1723
|
-
case "com.amazonaws.configservice#
|
|
1724
|
-
throw await
|
|
1823
|
+
case "UnmodifiableEntityException":
|
|
1824
|
+
case "com.amazonaws.configservice#UnmodifiableEntityException":
|
|
1825
|
+
throw await de_UnmodifiableEntityExceptionRes(parsedOutput, context);
|
|
1725
1826
|
case "NoSuchConformancePackException":
|
|
1726
1827
|
case "com.amazonaws.configservice#NoSuchConformancePackException":
|
|
1727
1828
|
throw await de_NoSuchConformancePackExceptionRes(parsedOutput, context);
|
|
@@ -1872,6 +1973,15 @@ const de_CommandError = async (output, context) => {
|
|
|
1872
1973
|
});
|
|
1873
1974
|
}
|
|
1874
1975
|
};
|
|
1976
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1977
|
+
const body = parsedOutput.body;
|
|
1978
|
+
const deserialized = _json(body);
|
|
1979
|
+
const exception = new ConflictException({
|
|
1980
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1981
|
+
...deserialized,
|
|
1982
|
+
});
|
|
1983
|
+
return __decorateServiceException(exception, body);
|
|
1984
|
+
};
|
|
1875
1985
|
const de_ConformancePackTemplateValidationExceptionRes = async (parsedOutput, context) => {
|
|
1876
1986
|
const body = parsedOutput.body;
|
|
1877
1987
|
const deserialized = _json(body);
|
|
@@ -2349,6 +2459,15 @@ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
|
2349
2459
|
});
|
|
2350
2460
|
return __decorateServiceException(exception, body);
|
|
2351
2461
|
};
|
|
2462
|
+
const de_UnmodifiableEntityExceptionRes = async (parsedOutput, context) => {
|
|
2463
|
+
const body = parsedOutput.body;
|
|
2464
|
+
const deserialized = _json(body);
|
|
2465
|
+
const exception = new UnmodifiableEntityException({
|
|
2466
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2467
|
+
...deserialized,
|
|
2468
|
+
});
|
|
2469
|
+
return __decorateServiceException(exception, body);
|
|
2470
|
+
};
|
|
2352
2471
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
2353
2472
|
const body = parsedOutput.body;
|
|
2354
2473
|
const deserialized = _json(body);
|
|
@@ -2612,6 +2731,7 @@ const de_ConfigStreamDeliveryInfo = (output, context) => {
|
|
|
2612
2731
|
const de_ConfigurationAggregator = (output, context) => {
|
|
2613
2732
|
return take(output, {
|
|
2614
2733
|
AccountAggregationSources: _json,
|
|
2734
|
+
AggregatorFilters: _json,
|
|
2615
2735
|
ConfigurationAggregatorArn: __expectString,
|
|
2616
2736
|
ConfigurationAggregatorName: __expectString,
|
|
2617
2737
|
CreatedBy: __expectString,
|
|
@@ -2662,6 +2782,7 @@ const de_ConfigurationItemList = (output, context) => {
|
|
|
2662
2782
|
};
|
|
2663
2783
|
const de_ConfigurationRecorderStatus = (output, context) => {
|
|
2664
2784
|
return take(output, {
|
|
2785
|
+
arn: __expectString,
|
|
2665
2786
|
lastErrorCode: __expectString,
|
|
2666
2787
|
lastErrorMessage: __expectString,
|
|
2667
2788
|
lastStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -2670,6 +2791,7 @@ const de_ConfigurationRecorderStatus = (output, context) => {
|
|
|
2670
2791
|
lastStopTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2671
2792
|
name: __expectString,
|
|
2672
2793
|
recording: __expectBoolean,
|
|
2794
|
+
servicePrincipal: __expectString,
|
|
2673
2795
|
});
|
|
2674
2796
|
};
|
|
2675
2797
|
const de_ConfigurationRecorderStatusList = (output, context) => {
|