@aws-sdk/client-appconfigdata 3.131.0 → 3.142.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/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/GetLatestConfigurationCommand.js +2 -2
- package/dist-cjs/commands/StartConfigurationSessionCommand.js +2 -2
- package/dist-cjs/models/models_0.js +34 -43
- package/dist-cjs/protocols/Aws_restJson1.js +40 -53
- package/dist-es/commands/GetLatestConfigurationCommand.js +3 -3
- package/dist-es/commands/StartConfigurationSessionCommand.js +3 -3
- package/dist-es/models/models_0.js +18 -33
- package/dist-es/protocols/Aws_restJson1.js +47 -52
- package/dist-types/models/models_0.d.ts +24 -34
- package/dist-types/ts3.4/models/models_0.d.ts +12 -22
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
40
|
|
|
8
41
|
**Note:** Version bump only for package @aws-sdk/client-appconfigdata
|
package/README.md
CHANGED
|
@@ -209,7 +209,7 @@ try {
|
|
|
209
209
|
const data = await client.send(command);
|
|
210
210
|
// process data.
|
|
211
211
|
} catch (error) {
|
|
212
|
-
const { requestId, cfId, extendedRequestId } = error
|
|
212
|
+
const { requestId, cfId, extendedRequestId } = error.$$metadata;
|
|
213
213
|
console.log({ requestId, cfId, extendedRequestId });
|
|
214
214
|
/**
|
|
215
215
|
* The keys within exceptions are also parsed.
|
|
@@ -20,8 +20,8 @@ class GetLatestConfigurationCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetLatestConfigurationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetLatestConfigurationResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class StartConfigurationSessionCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.StartConfigurationSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.StartConfigurationSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.GetLatestConfigurationResponseFilterSensitiveLog = exports.GetLatestConfigurationRequestFilterSensitiveLog = exports.StartConfigurationSessionResponseFilterSensitiveLog = exports.StartConfigurationSessionRequestFilterSensitiveLog = exports.BadRequestDetailsFilterSensitiveLog = exports.InvalidParameterDetailFilterSensitiveLog = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceType = exports.InternalServerException = exports.BadRequestException = exports.BadRequestReason = exports.BadRequestDetails = exports.InvalidParameterProblem = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const AppConfigDataServiceException_1 = require("./AppConfigDataServiceException");
|
|
6
6
|
var InvalidParameterProblem;
|
|
@@ -9,12 +9,6 @@ var InvalidParameterProblem;
|
|
|
9
9
|
InvalidParameterProblem["EXPIRED"] = "Expired";
|
|
10
10
|
InvalidParameterProblem["POLL_INTERVAL_NOT_SATISFIED"] = "PollIntervalNotSatisfied";
|
|
11
11
|
})(InvalidParameterProblem = exports.InvalidParameterProblem || (exports.InvalidParameterProblem = {}));
|
|
12
|
-
var InvalidParameterDetail;
|
|
13
|
-
(function (InvalidParameterDetail) {
|
|
14
|
-
InvalidParameterDetail.filterSensitiveLog = (obj) => ({
|
|
15
|
-
...obj,
|
|
16
|
-
});
|
|
17
|
-
})(InvalidParameterDetail = exports.InvalidParameterDetail || (exports.InvalidParameterDetail = {}));
|
|
18
12
|
var BadRequestDetails;
|
|
19
13
|
(function (BadRequestDetails) {
|
|
20
14
|
BadRequestDetails.visit = (value, visitor) => {
|
|
@@ -22,17 +16,6 @@ var BadRequestDetails;
|
|
|
22
16
|
return visitor.InvalidParameters(value.InvalidParameters);
|
|
23
17
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
24
18
|
};
|
|
25
|
-
BadRequestDetails.filterSensitiveLog = (obj) => {
|
|
26
|
-
if (obj.InvalidParameters !== undefined)
|
|
27
|
-
return {
|
|
28
|
-
InvalidParameters: Object.entries(obj.InvalidParameters).reduce((acc, [key, value]) => ({
|
|
29
|
-
...acc,
|
|
30
|
-
[key]: InvalidParameterDetail.filterSensitiveLog(value),
|
|
31
|
-
}), {}),
|
|
32
|
-
};
|
|
33
|
-
if (obj.$unknown !== undefined)
|
|
34
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
35
|
-
};
|
|
36
19
|
})(BadRequestDetails = exports.BadRequestDetails || (exports.BadRequestDetails = {}));
|
|
37
20
|
var BadRequestReason;
|
|
38
21
|
(function (BadRequestReason) {
|
|
@@ -92,18 +75,6 @@ class ResourceNotFoundException extends AppConfigDataServiceException_1.AppConfi
|
|
|
92
75
|
}
|
|
93
76
|
}
|
|
94
77
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
95
|
-
var StartConfigurationSessionRequest;
|
|
96
|
-
(function (StartConfigurationSessionRequest) {
|
|
97
|
-
StartConfigurationSessionRequest.filterSensitiveLog = (obj) => ({
|
|
98
|
-
...obj,
|
|
99
|
-
});
|
|
100
|
-
})(StartConfigurationSessionRequest = exports.StartConfigurationSessionRequest || (exports.StartConfigurationSessionRequest = {}));
|
|
101
|
-
var StartConfigurationSessionResponse;
|
|
102
|
-
(function (StartConfigurationSessionResponse) {
|
|
103
|
-
StartConfigurationSessionResponse.filterSensitiveLog = (obj) => ({
|
|
104
|
-
...obj,
|
|
105
|
-
});
|
|
106
|
-
})(StartConfigurationSessionResponse = exports.StartConfigurationSessionResponse || (exports.StartConfigurationSessionResponse = {}));
|
|
107
78
|
class ThrottlingException extends AppConfigDataServiceException_1.AppConfigDataServiceException {
|
|
108
79
|
constructor(opts) {
|
|
109
80
|
super({
|
|
@@ -118,16 +89,36 @@ class ThrottlingException extends AppConfigDataServiceException_1.AppConfigDataS
|
|
|
118
89
|
}
|
|
119
90
|
}
|
|
120
91
|
exports.ThrottlingException = ThrottlingException;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
92
|
+
const InvalidParameterDetailFilterSensitiveLog = (obj) => ({
|
|
93
|
+
...obj,
|
|
94
|
+
});
|
|
95
|
+
exports.InvalidParameterDetailFilterSensitiveLog = InvalidParameterDetailFilterSensitiveLog;
|
|
96
|
+
const BadRequestDetailsFilterSensitiveLog = (obj) => {
|
|
97
|
+
if (obj.InvalidParameters !== undefined)
|
|
98
|
+
return {
|
|
99
|
+
InvalidParameters: Object.entries(obj.InvalidParameters).reduce((acc, [key, value]) => ({
|
|
100
|
+
...acc,
|
|
101
|
+
[key]: (0, exports.InvalidParameterDetailFilterSensitiveLog)(value),
|
|
102
|
+
}), {}),
|
|
103
|
+
};
|
|
104
|
+
if (obj.$unknown !== undefined)
|
|
105
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
106
|
+
};
|
|
107
|
+
exports.BadRequestDetailsFilterSensitiveLog = BadRequestDetailsFilterSensitiveLog;
|
|
108
|
+
const StartConfigurationSessionRequestFilterSensitiveLog = (obj) => ({
|
|
109
|
+
...obj,
|
|
110
|
+
});
|
|
111
|
+
exports.StartConfigurationSessionRequestFilterSensitiveLog = StartConfigurationSessionRequestFilterSensitiveLog;
|
|
112
|
+
const StartConfigurationSessionResponseFilterSensitiveLog = (obj) => ({
|
|
113
|
+
...obj,
|
|
114
|
+
});
|
|
115
|
+
exports.StartConfigurationSessionResponseFilterSensitiveLog = StartConfigurationSessionResponseFilterSensitiveLog;
|
|
116
|
+
const GetLatestConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
117
|
+
...obj,
|
|
118
|
+
});
|
|
119
|
+
exports.GetLatestConfigurationRequestFilterSensitiveLog = GetLatestConfigurationRequestFilterSensitiveLog;
|
|
120
|
+
const GetLatestConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
121
|
+
...obj,
|
|
122
|
+
...(obj.Configuration && { Configuration: smithy_client_1.SENSITIVE_STRING }),
|
|
123
|
+
});
|
|
124
|
+
exports.GetLatestConfigurationResponseFilterSensitiveLog = GetLatestConfigurationResponseFilterSensitiveLog;
|
|
@@ -9,9 +9,9 @@ const serializeAws_restJson1GetLatestConfigurationCommand = async (input, contex
|
|
|
9
9
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
10
10
|
const headers = {};
|
|
11
11
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/configuration";
|
|
12
|
-
const query = {
|
|
13
|
-
|
|
14
|
-
};
|
|
12
|
+
const query = map({
|
|
13
|
+
configuration_token: [, input.ConfigurationToken],
|
|
14
|
+
});
|
|
15
15
|
let body;
|
|
16
16
|
return new protocol_http_1.HttpRequest({
|
|
17
17
|
protocol,
|
|
@@ -57,25 +57,18 @@ const deserializeAws_restJson1GetLatestConfigurationCommand = async (output, con
|
|
|
57
57
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
58
58
|
return deserializeAws_restJson1GetLatestConfigurationCommandError(output, context);
|
|
59
59
|
}
|
|
60
|
-
const contents = {
|
|
60
|
+
const contents = map({
|
|
61
61
|
$metadata: deserializeMetadata(output),
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
if (output.headers["next-poll-interval-in-seconds"] !== undefined) {
|
|
71
|
-
contents.NextPollIntervalInSeconds = (0, smithy_client_1.strictParseInt32)(output.headers["next-poll-interval-in-seconds"]);
|
|
72
|
-
}
|
|
73
|
-
if (output.headers["content-type"] !== undefined) {
|
|
74
|
-
contents.ContentType = output.headers["content-type"];
|
|
75
|
-
}
|
|
62
|
+
NextPollConfigurationToken: [, output.headers["next-poll-configuration-token"]],
|
|
63
|
+
NextPollIntervalInSeconds: [
|
|
64
|
+
() => void 0 !== output.headers["next-poll-interval-in-seconds"],
|
|
65
|
+
() => (0, smithy_client_1.strictParseInt32)(output.headers["next-poll-interval-in-seconds"]),
|
|
66
|
+
],
|
|
67
|
+
ContentType: [, output.headers["content-type"]],
|
|
68
|
+
});
|
|
76
69
|
const data = await collectBody(output.body, context);
|
|
77
70
|
contents.Configuration = data;
|
|
78
|
-
return
|
|
71
|
+
return contents;
|
|
79
72
|
};
|
|
80
73
|
exports.deserializeAws_restJson1GetLatestConfigurationCommand = deserializeAws_restJson1GetLatestConfigurationCommand;
|
|
81
74
|
const deserializeAws_restJson1GetLatestConfigurationCommandError = async (output, context) => {
|
|
@@ -83,7 +76,6 @@ const deserializeAws_restJson1GetLatestConfigurationCommandError = async (output
|
|
|
83
76
|
...output,
|
|
84
77
|
body: await parseBody(output.body, context),
|
|
85
78
|
};
|
|
86
|
-
let response;
|
|
87
79
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
88
80
|
switch (errorCode) {
|
|
89
81
|
case "BadRequestException":
|
|
@@ -100,29 +92,26 @@ const deserializeAws_restJson1GetLatestConfigurationCommandError = async (output
|
|
|
100
92
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
101
93
|
default:
|
|
102
94
|
const parsedBody = parsedOutput.body;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
$metadata,
|
|
95
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
96
|
+
output,
|
|
97
|
+
parsedBody,
|
|
98
|
+
exceptionCtor: AppConfigDataServiceException_1.AppConfigDataServiceException,
|
|
99
|
+
errorCode,
|
|
109
100
|
});
|
|
110
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
111
101
|
}
|
|
112
102
|
};
|
|
113
103
|
const deserializeAws_restJson1StartConfigurationSessionCommand = async (output, context) => {
|
|
114
104
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
115
105
|
return deserializeAws_restJson1StartConfigurationSessionCommandError(output, context);
|
|
116
106
|
}
|
|
117
|
-
const contents = {
|
|
107
|
+
const contents = map({
|
|
118
108
|
$metadata: deserializeMetadata(output),
|
|
119
|
-
|
|
120
|
-
};
|
|
109
|
+
});
|
|
121
110
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
122
|
-
if (data.InitialConfigurationToken
|
|
111
|
+
if (data.InitialConfigurationToken != null) {
|
|
123
112
|
contents.InitialConfigurationToken = (0, smithy_client_1.expectString)(data.InitialConfigurationToken);
|
|
124
113
|
}
|
|
125
|
-
return
|
|
114
|
+
return contents;
|
|
126
115
|
};
|
|
127
116
|
exports.deserializeAws_restJson1StartConfigurationSessionCommand = deserializeAws_restJson1StartConfigurationSessionCommand;
|
|
128
117
|
const deserializeAws_restJson1StartConfigurationSessionCommandError = async (output, context) => {
|
|
@@ -130,7 +119,6 @@ const deserializeAws_restJson1StartConfigurationSessionCommandError = async (out
|
|
|
130
119
|
...output,
|
|
131
120
|
body: await parseBody(output.body, context),
|
|
132
121
|
};
|
|
133
|
-
let response;
|
|
134
122
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
135
123
|
switch (errorCode) {
|
|
136
124
|
case "BadRequestException":
|
|
@@ -147,26 +135,25 @@ const deserializeAws_restJson1StartConfigurationSessionCommandError = async (out
|
|
|
147
135
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
148
136
|
default:
|
|
149
137
|
const parsedBody = parsedOutput.body;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
$metadata,
|
|
138
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
139
|
+
output,
|
|
140
|
+
parsedBody,
|
|
141
|
+
exceptionCtor: AppConfigDataServiceException_1.AppConfigDataServiceException,
|
|
142
|
+
errorCode,
|
|
156
143
|
});
|
|
157
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
158
144
|
}
|
|
159
145
|
};
|
|
146
|
+
const map = smithy_client_1.map;
|
|
160
147
|
const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
161
|
-
const contents = {};
|
|
148
|
+
const contents = map({});
|
|
162
149
|
const data = parsedOutput.body;
|
|
163
|
-
if (data.Details
|
|
150
|
+
if (data.Details != null) {
|
|
164
151
|
contents.Details = deserializeAws_restJson1BadRequestDetails((0, smithy_client_1.expectUnion)(data.Details), context);
|
|
165
152
|
}
|
|
166
|
-
if (data.Message
|
|
153
|
+
if (data.Message != null) {
|
|
167
154
|
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
168
155
|
}
|
|
169
|
-
if (data.Reason
|
|
156
|
+
if (data.Reason != null) {
|
|
170
157
|
contents.Reason = (0, smithy_client_1.expectString)(data.Reason);
|
|
171
158
|
}
|
|
172
159
|
const exception = new models_0_1.BadRequestException({
|
|
@@ -176,9 +163,9 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
176
163
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
177
164
|
};
|
|
178
165
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
179
|
-
const contents = {};
|
|
166
|
+
const contents = map({});
|
|
180
167
|
const data = parsedOutput.body;
|
|
181
|
-
if (data.Message
|
|
168
|
+
if (data.Message != null) {
|
|
182
169
|
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
183
170
|
}
|
|
184
171
|
const exception = new models_0_1.InternalServerException({
|
|
@@ -188,15 +175,15 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
188
175
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
189
176
|
};
|
|
190
177
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
191
|
-
const contents = {};
|
|
178
|
+
const contents = map({});
|
|
192
179
|
const data = parsedOutput.body;
|
|
193
|
-
if (data.Message
|
|
180
|
+
if (data.Message != null) {
|
|
194
181
|
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
195
182
|
}
|
|
196
|
-
if (data.ReferencedBy
|
|
183
|
+
if (data.ReferencedBy != null) {
|
|
197
184
|
contents.ReferencedBy = deserializeAws_restJson1StringMap(data.ReferencedBy, context);
|
|
198
185
|
}
|
|
199
|
-
if (data.ResourceType
|
|
186
|
+
if (data.ResourceType != null) {
|
|
200
187
|
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
201
188
|
}
|
|
202
189
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
@@ -206,9 +193,9 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
206
193
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
207
194
|
};
|
|
208
195
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
209
|
-
const contents = {};
|
|
196
|
+
const contents = map({});
|
|
210
197
|
const data = parsedOutput.body;
|
|
211
|
-
if (data.Message
|
|
198
|
+
if (data.Message != null) {
|
|
212
199
|
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
213
200
|
}
|
|
214
201
|
const exception = new models_0_1.ThrottlingException({
|
|
@@ -218,7 +205,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
218
205
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
219
206
|
};
|
|
220
207
|
const deserializeAws_restJson1BadRequestDetails = (output, context) => {
|
|
221
|
-
if (output.InvalidParameters
|
|
208
|
+
if (output.InvalidParameters != null) {
|
|
222
209
|
return {
|
|
223
210
|
InvalidParameters: deserializeAws_restJson1InvalidParameterMap(output.InvalidParameters, context),
|
|
224
211
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetLatestConfigurationRequestFilterSensitiveLog, GetLatestConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1GetLatestConfigurationCommand, serializeAws_restJson1GetLatestConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var GetLatestConfigurationCommand = (function (_super) {
|
|
7
7
|
__extends(GetLatestConfigurationCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetLatestConfigurationCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetLatestConfigurationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetLatestConfigurationResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { StartConfigurationSessionRequestFilterSensitiveLog, StartConfigurationSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1StartConfigurationSessionCommand, serializeAws_restJson1StartConfigurationSessionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var StartConfigurationSessionCommand = (function (_super) {
|
|
7
7
|
__extends(StartConfigurationSessionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var StartConfigurationSessionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: StartConfigurationSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StartConfigurationSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -7,10 +7,6 @@ export var InvalidParameterProblem;
|
|
|
7
7
|
InvalidParameterProblem["EXPIRED"] = "Expired";
|
|
8
8
|
InvalidParameterProblem["POLL_INTERVAL_NOT_SATISFIED"] = "PollIntervalNotSatisfied";
|
|
9
9
|
})(InvalidParameterProblem || (InvalidParameterProblem = {}));
|
|
10
|
-
export var InvalidParameterDetail;
|
|
11
|
-
(function (InvalidParameterDetail) {
|
|
12
|
-
InvalidParameterDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
|
-
})(InvalidParameterDetail || (InvalidParameterDetail = {}));
|
|
14
10
|
export var BadRequestDetails;
|
|
15
11
|
(function (BadRequestDetails) {
|
|
16
12
|
BadRequestDetails.visit = function (value, visitor) {
|
|
@@ -18,19 +14,6 @@ export var BadRequestDetails;
|
|
|
18
14
|
return visitor.InvalidParameters(value.InvalidParameters);
|
|
19
15
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
20
16
|
};
|
|
21
|
-
BadRequestDetails.filterSensitiveLog = function (obj) {
|
|
22
|
-
var _a;
|
|
23
|
-
if (obj.InvalidParameters !== undefined)
|
|
24
|
-
return {
|
|
25
|
-
InvalidParameters: Object.entries(obj.InvalidParameters).reduce(function (acc, _a) {
|
|
26
|
-
var _b;
|
|
27
|
-
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
28
|
-
return (__assign(__assign({}, acc), (_b = {}, _b[key] = InvalidParameterDetail.filterSensitiveLog(value), _b)));
|
|
29
|
-
}, {}),
|
|
30
|
-
};
|
|
31
|
-
if (obj.$unknown !== undefined)
|
|
32
|
-
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
33
|
-
};
|
|
34
17
|
})(BadRequestDetails || (BadRequestDetails = {}));
|
|
35
18
|
export var BadRequestReason;
|
|
36
19
|
(function (BadRequestReason) {
|
|
@@ -87,14 +70,6 @@ var ResourceNotFoundException = (function (_super) {
|
|
|
87
70
|
return ResourceNotFoundException;
|
|
88
71
|
}(__BaseException));
|
|
89
72
|
export { ResourceNotFoundException };
|
|
90
|
-
export var StartConfigurationSessionRequest;
|
|
91
|
-
(function (StartConfigurationSessionRequest) {
|
|
92
|
-
StartConfigurationSessionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
-
})(StartConfigurationSessionRequest || (StartConfigurationSessionRequest = {}));
|
|
94
|
-
export var StartConfigurationSessionResponse;
|
|
95
|
-
(function (StartConfigurationSessionResponse) {
|
|
96
|
-
StartConfigurationSessionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
-
})(StartConfigurationSessionResponse || (StartConfigurationSessionResponse = {}));
|
|
98
73
|
var ThrottlingException = (function (_super) {
|
|
99
74
|
__extends(ThrottlingException, _super);
|
|
100
75
|
function ThrottlingException(opts) {
|
|
@@ -108,11 +83,21 @@ var ThrottlingException = (function (_super) {
|
|
|
108
83
|
return ThrottlingException;
|
|
109
84
|
}(__BaseException));
|
|
110
85
|
export { ThrottlingException };
|
|
111
|
-
export var
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
(function (
|
|
117
|
-
|
|
118
|
-
|
|
86
|
+
export var InvalidParameterDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
87
|
+
export var BadRequestDetailsFilterSensitiveLog = function (obj) {
|
|
88
|
+
var _a;
|
|
89
|
+
if (obj.InvalidParameters !== undefined)
|
|
90
|
+
return {
|
|
91
|
+
InvalidParameters: Object.entries(obj.InvalidParameters).reduce(function (acc, _a) {
|
|
92
|
+
var _b;
|
|
93
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
94
|
+
return (__assign(__assign({}, acc), (_b = {}, _b[key] = InvalidParameterDetailFilterSensitiveLog(value), _b)));
|
|
95
|
+
}, {}),
|
|
96
|
+
};
|
|
97
|
+
if (obj.$unknown !== undefined)
|
|
98
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
99
|
+
};
|
|
100
|
+
export var StartConfigurationSessionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
101
|
+
export var StartConfigurationSessionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
102
|
+
export var GetLatestConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
103
|
+
export var GetLatestConfigurationResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Configuration && { Configuration: SENSITIVE_STRING }))); };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, strictParseInt32 as __strictParseInt32, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, map as __map, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { AppConfigDataServiceException as __BaseException } from "../models/AppConfigDataServiceException";
|
|
5
5
|
import { BadRequestException, InternalServerException, ResourceNotFoundException, ThrottlingException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_restJson1GetLatestConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -12,7 +12,9 @@ export var serializeAws_restJson1GetLatestConfigurationCommand = function (input
|
|
|
12
12
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
13
13
|
headers = {};
|
|
14
14
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/configuration";
|
|
15
|
-
query =
|
|
15
|
+
query = map({
|
|
16
|
+
configuration_token: [, input.ConfigurationToken],
|
|
17
|
+
});
|
|
16
18
|
return [2, new __HttpRequest({
|
|
17
19
|
protocol: protocol,
|
|
18
20
|
hostname: hostname,
|
|
@@ -62,32 +64,25 @@ export var deserializeAws_restJson1GetLatestConfigurationCommand = function (out
|
|
|
62
64
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
63
65
|
return [2, deserializeAws_restJson1GetLatestConfigurationCommandError(output, context)];
|
|
64
66
|
}
|
|
65
|
-
contents = {
|
|
67
|
+
contents = map({
|
|
66
68
|
$metadata: deserializeMetadata(output),
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
if (output.headers["next-poll-interval-in-seconds"] !== undefined) {
|
|
76
|
-
contents.NextPollIntervalInSeconds = __strictParseInt32(output.headers["next-poll-interval-in-seconds"]);
|
|
77
|
-
}
|
|
78
|
-
if (output.headers["content-type"] !== undefined) {
|
|
79
|
-
contents.ContentType = output.headers["content-type"];
|
|
80
|
-
}
|
|
69
|
+
NextPollConfigurationToken: [, output.headers["next-poll-configuration-token"]],
|
|
70
|
+
NextPollIntervalInSeconds: [
|
|
71
|
+
function () { return void 0 !== output.headers["next-poll-interval-in-seconds"]; },
|
|
72
|
+
function () { return __strictParseInt32(output.headers["next-poll-interval-in-seconds"]); },
|
|
73
|
+
],
|
|
74
|
+
ContentType: [, output.headers["content-type"]],
|
|
75
|
+
});
|
|
81
76
|
return [4, collectBody(output.body, context)];
|
|
82
77
|
case 1:
|
|
83
78
|
data = _a.sent();
|
|
84
79
|
contents.Configuration = data;
|
|
85
|
-
return [2,
|
|
80
|
+
return [2, contents];
|
|
86
81
|
}
|
|
87
82
|
});
|
|
88
83
|
}); };
|
|
89
84
|
var deserializeAws_restJson1GetLatestConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
90
|
-
var parsedOutput, _a,
|
|
85
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
91
86
|
var _c;
|
|
92
87
|
return __generator(this, function (_d) {
|
|
93
88
|
switch (_d.label) {
|
|
@@ -120,14 +115,14 @@ var deserializeAws_restJson1GetLatestConfigurationCommandError = function (outpu
|
|
|
120
115
|
case 9: throw _d.sent();
|
|
121
116
|
case 10:
|
|
122
117
|
parsedBody = parsedOutput.body;
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
$metadata: $metadata,
|
|
118
|
+
throwDefaultError({
|
|
119
|
+
output: output,
|
|
120
|
+
parsedBody: parsedBody,
|
|
121
|
+
exceptionCtor: __BaseException,
|
|
122
|
+
errorCode: errorCode,
|
|
129
123
|
});
|
|
130
|
-
|
|
124
|
+
_d.label = 11;
|
|
125
|
+
case 11: return [2];
|
|
131
126
|
}
|
|
132
127
|
});
|
|
133
128
|
}); };
|
|
@@ -139,24 +134,23 @@ export var deserializeAws_restJson1StartConfigurationSessionCommand = function (
|
|
|
139
134
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
140
135
|
return [2, deserializeAws_restJson1StartConfigurationSessionCommandError(output, context)];
|
|
141
136
|
}
|
|
142
|
-
contents = {
|
|
137
|
+
contents = map({
|
|
143
138
|
$metadata: deserializeMetadata(output),
|
|
144
|
-
|
|
145
|
-
};
|
|
139
|
+
});
|
|
146
140
|
_a = __expectNonNull;
|
|
147
141
|
_b = __expectObject;
|
|
148
142
|
return [4, parseBody(output.body, context)];
|
|
149
143
|
case 1:
|
|
150
144
|
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
151
|
-
if (data.InitialConfigurationToken
|
|
145
|
+
if (data.InitialConfigurationToken != null) {
|
|
152
146
|
contents.InitialConfigurationToken = __expectString(data.InitialConfigurationToken);
|
|
153
147
|
}
|
|
154
|
-
return [2,
|
|
148
|
+
return [2, contents];
|
|
155
149
|
}
|
|
156
150
|
});
|
|
157
151
|
}); };
|
|
158
152
|
var deserializeAws_restJson1StartConfigurationSessionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
159
|
-
var parsedOutput, _a,
|
|
153
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
160
154
|
var _c;
|
|
161
155
|
return __generator(this, function (_d) {
|
|
162
156
|
switch (_d.label) {
|
|
@@ -189,29 +183,30 @@ var deserializeAws_restJson1StartConfigurationSessionCommandError = function (ou
|
|
|
189
183
|
case 9: throw _d.sent();
|
|
190
184
|
case 10:
|
|
191
185
|
parsedBody = parsedOutput.body;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
$metadata: $metadata,
|
|
186
|
+
throwDefaultError({
|
|
187
|
+
output: output,
|
|
188
|
+
parsedBody: parsedBody,
|
|
189
|
+
exceptionCtor: __BaseException,
|
|
190
|
+
errorCode: errorCode,
|
|
198
191
|
});
|
|
199
|
-
|
|
192
|
+
_d.label = 11;
|
|
193
|
+
case 11: return [2];
|
|
200
194
|
}
|
|
201
195
|
});
|
|
202
196
|
}); };
|
|
197
|
+
var map = __map;
|
|
203
198
|
var deserializeAws_restJson1BadRequestExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
204
199
|
var contents, data, exception;
|
|
205
200
|
return __generator(this, function (_a) {
|
|
206
|
-
contents = {};
|
|
201
|
+
contents = map({});
|
|
207
202
|
data = parsedOutput.body;
|
|
208
|
-
if (data.Details
|
|
203
|
+
if (data.Details != null) {
|
|
209
204
|
contents.Details = deserializeAws_restJson1BadRequestDetails(__expectUnion(data.Details), context);
|
|
210
205
|
}
|
|
211
|
-
if (data.Message
|
|
206
|
+
if (data.Message != null) {
|
|
212
207
|
contents.Message = __expectString(data.Message);
|
|
213
208
|
}
|
|
214
|
-
if (data.Reason
|
|
209
|
+
if (data.Reason != null) {
|
|
215
210
|
contents.Reason = __expectString(data.Reason);
|
|
216
211
|
}
|
|
217
212
|
exception = new BadRequestException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
@@ -221,9 +216,9 @@ var deserializeAws_restJson1BadRequestExceptionResponse = function (parsedOutput
|
|
|
221
216
|
var deserializeAws_restJson1InternalServerExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
222
217
|
var contents, data, exception;
|
|
223
218
|
return __generator(this, function (_a) {
|
|
224
|
-
contents = {};
|
|
219
|
+
contents = map({});
|
|
225
220
|
data = parsedOutput.body;
|
|
226
|
-
if (data.Message
|
|
221
|
+
if (data.Message != null) {
|
|
227
222
|
contents.Message = __expectString(data.Message);
|
|
228
223
|
}
|
|
229
224
|
exception = new InternalServerException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
@@ -233,15 +228,15 @@ var deserializeAws_restJson1InternalServerExceptionResponse = function (parsedOu
|
|
|
233
228
|
var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
234
229
|
var contents, data, exception;
|
|
235
230
|
return __generator(this, function (_a) {
|
|
236
|
-
contents = {};
|
|
231
|
+
contents = map({});
|
|
237
232
|
data = parsedOutput.body;
|
|
238
|
-
if (data.Message
|
|
233
|
+
if (data.Message != null) {
|
|
239
234
|
contents.Message = __expectString(data.Message);
|
|
240
235
|
}
|
|
241
|
-
if (data.ReferencedBy
|
|
236
|
+
if (data.ReferencedBy != null) {
|
|
242
237
|
contents.ReferencedBy = deserializeAws_restJson1StringMap(data.ReferencedBy, context);
|
|
243
238
|
}
|
|
244
|
-
if (data.ResourceType
|
|
239
|
+
if (data.ResourceType != null) {
|
|
245
240
|
contents.ResourceType = __expectString(data.ResourceType);
|
|
246
241
|
}
|
|
247
242
|
exception = new ResourceNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
@@ -251,9 +246,9 @@ var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsed
|
|
|
251
246
|
var deserializeAws_restJson1ThrottlingExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
252
247
|
var contents, data, exception;
|
|
253
248
|
return __generator(this, function (_a) {
|
|
254
|
-
contents = {};
|
|
249
|
+
contents = map({});
|
|
255
250
|
data = parsedOutput.body;
|
|
256
|
-
if (data.Message
|
|
251
|
+
if (data.Message != null) {
|
|
257
252
|
contents.Message = __expectString(data.Message);
|
|
258
253
|
}
|
|
259
254
|
exception = new ThrottlingException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
|
|
@@ -261,7 +256,7 @@ var deserializeAws_restJson1ThrottlingExceptionResponse = function (parsedOutput
|
|
|
261
256
|
});
|
|
262
257
|
}); };
|
|
263
258
|
var deserializeAws_restJson1BadRequestDetails = function (output, context) {
|
|
264
|
-
if (output.InvalidParameters
|
|
259
|
+
if (output.InvalidParameters != null) {
|
|
265
260
|
return {
|
|
266
261
|
InvalidParameters: deserializeAws_restJson1InvalidParameterMap(output.InvalidParameters, context),
|
|
267
262
|
};
|
|
@@ -23,12 +23,6 @@ export interface InvalidParameterDetail {
|
|
|
23
23
|
*/
|
|
24
24
|
Problem?: InvalidParameterProblem | string;
|
|
25
25
|
}
|
|
26
|
-
export declare namespace InvalidParameterDetail {
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
|
-
const filterSensitiveLog: (obj: InvalidParameterDetail) => any;
|
|
31
|
-
}
|
|
32
26
|
/**
|
|
33
27
|
* <p>Detailed information about the input that failed to satisfy the constraints specified by
|
|
34
28
|
* a call.</p>
|
|
@@ -51,10 +45,6 @@ export declare namespace BadRequestDetails {
|
|
|
51
45
|
_: (name: string, value: any) => T;
|
|
52
46
|
}
|
|
53
47
|
const visit: <T>(value: BadRequestDetails, visitor: Visitor<T>) => T;
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
const filterSensitiveLog: (obj: BadRequestDetails) => any;
|
|
58
48
|
}
|
|
59
49
|
export declare enum BadRequestReason {
|
|
60
50
|
/**
|
|
@@ -157,12 +147,6 @@ export interface StartConfigurationSessionRequest {
|
|
|
157
147
|
*/
|
|
158
148
|
RequiredMinimumPollIntervalInSeconds?: number;
|
|
159
149
|
}
|
|
160
|
-
export declare namespace StartConfigurationSessionRequest {
|
|
161
|
-
/**
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
164
|
-
const filterSensitiveLog: (obj: StartConfigurationSessionRequest) => any;
|
|
165
|
-
}
|
|
166
150
|
export interface StartConfigurationSessionResponse {
|
|
167
151
|
/**
|
|
168
152
|
* <p>Token encapsulating state about the configuration session. Provide this token to the
|
|
@@ -177,12 +161,6 @@ export interface StartConfigurationSessionResponse {
|
|
|
177
161
|
*/
|
|
178
162
|
InitialConfigurationToken?: string;
|
|
179
163
|
}
|
|
180
|
-
export declare namespace StartConfigurationSessionResponse {
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
*/
|
|
184
|
-
const filterSensitiveLog: (obj: StartConfigurationSessionResponse) => any;
|
|
185
|
-
}
|
|
186
164
|
/**
|
|
187
165
|
* <p>The request was denied due to request throttling.</p>
|
|
188
166
|
*/
|
|
@@ -205,12 +183,6 @@ export interface GetLatestConfigurationRequest {
|
|
|
205
183
|
*/
|
|
206
184
|
ConfigurationToken: string | undefined;
|
|
207
185
|
}
|
|
208
|
-
export declare namespace GetLatestConfigurationRequest {
|
|
209
|
-
/**
|
|
210
|
-
* @internal
|
|
211
|
-
*/
|
|
212
|
-
const filterSensitiveLog: (obj: GetLatestConfigurationRequest) => any;
|
|
213
|
-
}
|
|
214
186
|
export interface GetLatestConfigurationResponse {
|
|
215
187
|
/**
|
|
216
188
|
* <p>The latest token describing the current state of the configuration session. This MUST be
|
|
@@ -234,9 +206,27 @@ export interface GetLatestConfigurationResponse {
|
|
|
234
206
|
*/
|
|
235
207
|
Configuration?: Uint8Array;
|
|
236
208
|
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
209
|
+
/**
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
export declare const InvalidParameterDetailFilterSensitiveLog: (obj: InvalidParameterDetail) => any;
|
|
213
|
+
/**
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
export declare const BadRequestDetailsFilterSensitiveLog: (obj: BadRequestDetails) => any;
|
|
217
|
+
/**
|
|
218
|
+
* @internal
|
|
219
|
+
*/
|
|
220
|
+
export declare const StartConfigurationSessionRequestFilterSensitiveLog: (obj: StartConfigurationSessionRequest) => any;
|
|
221
|
+
/**
|
|
222
|
+
* @internal
|
|
223
|
+
*/
|
|
224
|
+
export declare const StartConfigurationSessionResponseFilterSensitiveLog: (obj: StartConfigurationSessionResponse) => any;
|
|
225
|
+
/**
|
|
226
|
+
* @internal
|
|
227
|
+
*/
|
|
228
|
+
export declare const GetLatestConfigurationRequestFilterSensitiveLog: (obj: GetLatestConfigurationRequest) => any;
|
|
229
|
+
/**
|
|
230
|
+
* @internal
|
|
231
|
+
*/
|
|
232
|
+
export declare const GetLatestConfigurationResponseFilterSensitiveLog: (obj: GetLatestConfigurationResponse) => any;
|
|
@@ -13,10 +13,6 @@ export interface InvalidParameterDetail {
|
|
|
13
13
|
|
|
14
14
|
Problem?: InvalidParameterProblem | string;
|
|
15
15
|
}
|
|
16
|
-
export declare namespace InvalidParameterDetail {
|
|
17
|
-
|
|
18
|
-
const filterSensitiveLog: (obj: InvalidParameterDetail) => any;
|
|
19
|
-
}
|
|
20
16
|
|
|
21
17
|
export declare type BadRequestDetails = BadRequestDetails.InvalidParametersMember | BadRequestDetails.$UnknownMember;
|
|
22
18
|
export declare namespace BadRequestDetails {
|
|
@@ -37,8 +33,6 @@ export declare namespace BadRequestDetails {
|
|
|
37
33
|
_: (name: string, value: any) => T;
|
|
38
34
|
}
|
|
39
35
|
const visit: <T>(value: BadRequestDetails, visitor: Visitor<T>) => T;
|
|
40
|
-
|
|
41
|
-
const filterSensitiveLog: (obj: BadRequestDetails) => any;
|
|
42
36
|
}
|
|
43
37
|
export declare enum BadRequestReason {
|
|
44
38
|
|
|
@@ -98,18 +92,10 @@ export interface StartConfigurationSessionRequest {
|
|
|
98
92
|
|
|
99
93
|
RequiredMinimumPollIntervalInSeconds?: number;
|
|
100
94
|
}
|
|
101
|
-
export declare namespace StartConfigurationSessionRequest {
|
|
102
|
-
|
|
103
|
-
const filterSensitiveLog: (obj: StartConfigurationSessionRequest) => any;
|
|
104
|
-
}
|
|
105
95
|
export interface StartConfigurationSessionResponse {
|
|
106
96
|
|
|
107
97
|
InitialConfigurationToken?: string;
|
|
108
98
|
}
|
|
109
|
-
export declare namespace StartConfigurationSessionResponse {
|
|
110
|
-
|
|
111
|
-
const filterSensitiveLog: (obj: StartConfigurationSessionResponse) => any;
|
|
112
|
-
}
|
|
113
99
|
|
|
114
100
|
export declare class ThrottlingException extends __BaseException {
|
|
115
101
|
readonly name: "ThrottlingException";
|
|
@@ -122,10 +108,6 @@ export interface GetLatestConfigurationRequest {
|
|
|
122
108
|
|
|
123
109
|
ConfigurationToken: string | undefined;
|
|
124
110
|
}
|
|
125
|
-
export declare namespace GetLatestConfigurationRequest {
|
|
126
|
-
|
|
127
|
-
const filterSensitiveLog: (obj: GetLatestConfigurationRequest) => any;
|
|
128
|
-
}
|
|
129
111
|
export interface GetLatestConfigurationResponse {
|
|
130
112
|
|
|
131
113
|
NextPollConfigurationToken?: string;
|
|
@@ -136,7 +118,15 @@ export interface GetLatestConfigurationResponse {
|
|
|
136
118
|
|
|
137
119
|
Configuration?: Uint8Array;
|
|
138
120
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
121
|
+
|
|
122
|
+
export declare const InvalidParameterDetailFilterSensitiveLog: (obj: InvalidParameterDetail) => any;
|
|
123
|
+
|
|
124
|
+
export declare const BadRequestDetailsFilterSensitiveLog: (obj: BadRequestDetails) => any;
|
|
125
|
+
|
|
126
|
+
export declare const StartConfigurationSessionRequestFilterSensitiveLog: (obj: StartConfigurationSessionRequest) => any;
|
|
127
|
+
|
|
128
|
+
export declare const StartConfigurationSessionResponseFilterSensitiveLog: (obj: StartConfigurationSessionResponse) => any;
|
|
129
|
+
|
|
130
|
+
export declare const GetLatestConfigurationRequestFilterSensitiveLog: (obj: GetLatestConfigurationRequest) => any;
|
|
131
|
+
|
|
132
|
+
export declare const GetLatestConfigurationResponseFilterSensitiveLog: (obj: GetLatestConfigurationResponse) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-appconfigdata",
|
|
3
3
|
"description": "AWS SDK for JavaScript Appconfigdata Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.142.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.142.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.142.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
37
|
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.142.0",
|
|
40
40
|
"@aws-sdk/types": "3.127.0",
|
|
41
41
|
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.142.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.142.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|