@aws-sdk/client-config-service 3.356.0 → 3.358.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.
|
@@ -728,7 +728,7 @@ const de_DeleteAggregationAuthorizationCommand = async (output, context) => {
|
|
|
728
728
|
if (output.statusCode >= 300) {
|
|
729
729
|
return de_DeleteAggregationAuthorizationCommandError(output, context);
|
|
730
730
|
}
|
|
731
|
-
await collectBody(output.body, context);
|
|
731
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
732
732
|
const response = {
|
|
733
733
|
$metadata: deserializeMetadata(output),
|
|
734
734
|
};
|
|
@@ -758,7 +758,7 @@ const de_DeleteConfigRuleCommand = async (output, context) => {
|
|
|
758
758
|
if (output.statusCode >= 300) {
|
|
759
759
|
return de_DeleteConfigRuleCommandError(output, context);
|
|
760
760
|
}
|
|
761
|
-
await collectBody(output.body, context);
|
|
761
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
762
762
|
const response = {
|
|
763
763
|
$metadata: deserializeMetadata(output),
|
|
764
764
|
};
|
|
@@ -791,7 +791,7 @@ const de_DeleteConfigurationAggregatorCommand = async (output, context) => {
|
|
|
791
791
|
if (output.statusCode >= 300) {
|
|
792
792
|
return de_DeleteConfigurationAggregatorCommandError(output, context);
|
|
793
793
|
}
|
|
794
|
-
await collectBody(output.body, context);
|
|
794
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
795
795
|
const response = {
|
|
796
796
|
$metadata: deserializeMetadata(output),
|
|
797
797
|
};
|
|
@@ -821,7 +821,7 @@ const de_DeleteConfigurationRecorderCommand = async (output, context) => {
|
|
|
821
821
|
if (output.statusCode >= 300) {
|
|
822
822
|
return de_DeleteConfigurationRecorderCommandError(output, context);
|
|
823
823
|
}
|
|
824
|
-
await collectBody(output.body, context);
|
|
824
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
825
825
|
const response = {
|
|
826
826
|
$metadata: deserializeMetadata(output),
|
|
827
827
|
};
|
|
@@ -851,7 +851,7 @@ const de_DeleteConformancePackCommand = async (output, context) => {
|
|
|
851
851
|
if (output.statusCode >= 300) {
|
|
852
852
|
return de_DeleteConformancePackCommandError(output, context);
|
|
853
853
|
}
|
|
854
|
-
await collectBody(output.body, context);
|
|
854
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
855
855
|
const response = {
|
|
856
856
|
$metadata: deserializeMetadata(output),
|
|
857
857
|
};
|
|
@@ -884,7 +884,7 @@ const de_DeleteDeliveryChannelCommand = async (output, context) => {
|
|
|
884
884
|
if (output.statusCode >= 300) {
|
|
885
885
|
return de_DeleteDeliveryChannelCommandError(output, context);
|
|
886
886
|
}
|
|
887
|
-
await collectBody(output.body, context);
|
|
887
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
888
888
|
const response = {
|
|
889
889
|
$metadata: deserializeMetadata(output),
|
|
890
890
|
};
|
|
@@ -953,7 +953,7 @@ const de_DeleteOrganizationConfigRuleCommand = async (output, context) => {
|
|
|
953
953
|
if (output.statusCode >= 300) {
|
|
954
954
|
return de_DeleteOrganizationConfigRuleCommandError(output, context);
|
|
955
955
|
}
|
|
956
|
-
await collectBody(output.body, context);
|
|
956
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
957
957
|
const response = {
|
|
958
958
|
$metadata: deserializeMetadata(output),
|
|
959
959
|
};
|
|
@@ -989,7 +989,7 @@ const de_DeleteOrganizationConformancePackCommand = async (output, context) => {
|
|
|
989
989
|
if (output.statusCode >= 300) {
|
|
990
990
|
return de_DeleteOrganizationConformancePackCommandError(output, context);
|
|
991
991
|
}
|
|
992
|
-
await collectBody(output.body, context);
|
|
992
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
993
993
|
const response = {
|
|
994
994
|
$metadata: deserializeMetadata(output),
|
|
995
995
|
};
|
|
@@ -1025,7 +1025,7 @@ const de_DeletePendingAggregationRequestCommand = async (output, context) => {
|
|
|
1025
1025
|
if (output.statusCode >= 300) {
|
|
1026
1026
|
return de_DeletePendingAggregationRequestCommandError(output, context);
|
|
1027
1027
|
}
|
|
1028
|
-
await collectBody(output.body, context);
|
|
1028
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1029
1029
|
const response = {
|
|
1030
1030
|
$metadata: deserializeMetadata(output),
|
|
1031
1031
|
};
|
|
@@ -1130,7 +1130,7 @@ const de_DeleteResourceConfigCommand = async (output, context) => {
|
|
|
1130
1130
|
if (output.statusCode >= 300) {
|
|
1131
1131
|
return de_DeleteResourceConfigCommandError(output, context);
|
|
1132
1132
|
}
|
|
1133
|
-
await collectBody(output.body, context);
|
|
1133
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1134
1134
|
const response = {
|
|
1135
1135
|
$metadata: deserializeMetadata(output),
|
|
1136
1136
|
};
|
|
@@ -1163,7 +1163,7 @@ const de_DeleteRetentionConfigurationCommand = async (output, context) => {
|
|
|
1163
1163
|
if (output.statusCode >= 300) {
|
|
1164
1164
|
return de_DeleteRetentionConfigurationCommandError(output, context);
|
|
1165
1165
|
}
|
|
1166
|
-
await collectBody(output.body, context);
|
|
1166
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1167
1167
|
const response = {
|
|
1168
1168
|
$metadata: deserializeMetadata(output),
|
|
1169
1169
|
};
|
|
@@ -3245,7 +3245,7 @@ const de_PutConfigRuleCommand = async (output, context) => {
|
|
|
3245
3245
|
if (output.statusCode >= 300) {
|
|
3246
3246
|
return de_PutConfigRuleCommandError(output, context);
|
|
3247
3247
|
}
|
|
3248
|
-
await collectBody(output.body, context);
|
|
3248
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3249
3249
|
const response = {
|
|
3250
3250
|
$metadata: deserializeMetadata(output),
|
|
3251
3251
|
};
|
|
@@ -3335,7 +3335,7 @@ const de_PutConfigurationRecorderCommand = async (output, context) => {
|
|
|
3335
3335
|
if (output.statusCode >= 300) {
|
|
3336
3336
|
return de_PutConfigurationRecorderCommandError(output, context);
|
|
3337
3337
|
}
|
|
3338
|
-
await collectBody(output.body, context);
|
|
3338
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3339
3339
|
const response = {
|
|
3340
3340
|
$metadata: deserializeMetadata(output),
|
|
3341
3341
|
};
|
|
@@ -3419,7 +3419,7 @@ const de_PutDeliveryChannelCommand = async (output, context) => {
|
|
|
3419
3419
|
if (output.statusCode >= 300) {
|
|
3420
3420
|
return de_PutDeliveryChannelCommandError(output, context);
|
|
3421
3421
|
}
|
|
3422
|
-
await collectBody(output.body, context);
|
|
3422
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3423
3423
|
const response = {
|
|
3424
3424
|
$metadata: deserializeMetadata(output),
|
|
3425
3425
|
};
|
|
@@ -3725,7 +3725,7 @@ const de_PutResourceConfigCommand = async (output, context) => {
|
|
|
3725
3725
|
if (output.statusCode >= 300) {
|
|
3726
3726
|
return de_PutResourceConfigCommandError(output, context);
|
|
3727
3727
|
}
|
|
3728
|
-
await collectBody(output.body, context);
|
|
3728
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3729
3729
|
const response = {
|
|
3730
3730
|
$metadata: deserializeMetadata(output),
|
|
3731
3731
|
};
|
|
@@ -3962,7 +3962,7 @@ const de_StartConfigurationRecorderCommand = async (output, context) => {
|
|
|
3962
3962
|
if (output.statusCode >= 300) {
|
|
3963
3963
|
return de_StartConfigurationRecorderCommandError(output, context);
|
|
3964
3964
|
}
|
|
3965
|
-
await collectBody(output.body, context);
|
|
3965
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3966
3966
|
const response = {
|
|
3967
3967
|
$metadata: deserializeMetadata(output),
|
|
3968
3968
|
};
|
|
@@ -4070,7 +4070,7 @@ const de_StopConfigurationRecorderCommand = async (output, context) => {
|
|
|
4070
4070
|
if (output.statusCode >= 300) {
|
|
4071
4071
|
return de_StopConfigurationRecorderCommandError(output, context);
|
|
4072
4072
|
}
|
|
4073
|
-
await collectBody(output.body, context);
|
|
4073
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4074
4074
|
const response = {
|
|
4075
4075
|
$metadata: deserializeMetadata(output),
|
|
4076
4076
|
};
|
|
@@ -4100,7 +4100,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
4100
4100
|
if (output.statusCode >= 300) {
|
|
4101
4101
|
return de_TagResourceCommandError(output, context);
|
|
4102
4102
|
}
|
|
4103
|
-
await collectBody(output.body, context);
|
|
4103
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4104
4104
|
const response = {
|
|
4105
4105
|
$metadata: deserializeMetadata(output),
|
|
4106
4106
|
};
|
|
@@ -4136,7 +4136,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
4136
4136
|
if (output.statusCode >= 300) {
|
|
4137
4137
|
return de_UntagResourceCommandError(output, context);
|
|
4138
4138
|
}
|
|
4139
|
-
await collectBody(output.body, context);
|
|
4139
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
4140
4140
|
const response = {
|
|
4141
4141
|
$metadata: deserializeMetadata(output),
|
|
4142
4142
|
};
|
|
@@ -5506,13 +5506,7 @@ const deserializeMetadata = (output) => ({
|
|
|
5506
5506
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
5507
5507
|
cfId: output.headers["x-amz-cf-id"],
|
|
5508
5508
|
});
|
|
5509
|
-
const
|
|
5510
|
-
if (streamBody instanceof Uint8Array) {
|
|
5511
|
-
return Promise.resolve(streamBody);
|
|
5512
|
-
}
|
|
5513
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5514
|
-
};
|
|
5515
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5509
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5516
5510
|
const throwDefaultError = (0, smithy_client_1.withBaseException)(ConfigServiceServiceException_1.ConfigServiceServiceException);
|
|
5517
5511
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5518
5512
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { ConfigServiceServiceException as __BaseException } from "../models/ConfigServiceServiceException";
|
|
4
4
|
import { ConformancePackTemplateValidationException, IdempotentParameterMismatch, InsufficientDeliveryPolicyException, InsufficientPermissionsException, InvalidConfigurationRecorderNameException, InvalidDeliveryChannelNameException, InvalidExpressionException, InvalidLimitException, InvalidNextTokenException, InvalidParameterValueException, InvalidRecordingGroupException, InvalidResultTokenException, InvalidRoleException, InvalidS3KeyPrefixException, InvalidS3KmsKeyArnException, InvalidSNSTopicARNException, InvalidTimeRangeException, LastDeliveryChannelDeleteFailedException, LimitExceededException, MaxActiveResourcesExceededException, NoAvailableConfigurationRecorderException, NoRunningConfigurationRecorderException, NoSuchConfigRuleException, NoSuchConfigRuleInConformancePackException, NoSuchConfigurationAggregatorException, NoSuchConfigurationRecorderException, NoSuchConformancePackException, NoSuchDeliveryChannelException, NoSuchOrganizationConfigRuleException, NoSuchOrganizationConformancePackException, NoSuchRemediationConfigurationException, NoSuchRemediationExceptionException, NoSuchRetentionConfigurationException, OrganizationAccessDeniedException, OversizedConfigurationItemException, RemediationInProgressException, ResourceInUseException, ResourceNotDiscoveredException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
|
|
@@ -5316,12 +5316,6 @@ const deserializeMetadata = (output) => ({
|
|
|
5316
5316
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
5317
5317
|
cfId: output.headers["x-amz-cf-id"],
|
|
5318
5318
|
});
|
|
5319
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
5320
|
-
if (streamBody instanceof Uint8Array) {
|
|
5321
|
-
return Promise.resolve(streamBody);
|
|
5322
|
-
}
|
|
5323
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5324
|
-
};
|
|
5325
5319
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5326
5320
|
const throwDefaultError = withBaseException(__BaseException);
|
|
5327
5321
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
@@ -165,7 +165,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
165
165
|
*/
|
|
166
166
|
runtime?: string;
|
|
167
167
|
/**
|
|
168
|
-
* Disable
|
|
168
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
169
169
|
* trait of an operation.
|
|
170
170
|
*/
|
|
171
171
|
disableHostPrefix?: boolean;
|
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.
|
|
4
|
+
"version": "3.358.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",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.358.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.358.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.358.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.358.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.358.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|