@aws-sdk/client-pca-connector-scep 3.1068.0 → 3.1069.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/dist-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +78 -98
- package/dist-cjs/models/PcaConnectorScepServiceException.js +4 -8
- package/dist-cjs/models/errors.js +17 -28
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +109 -75
- package/package.json +8 -8
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.
|
|
4
|
-
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const client_1 = require("@smithy/core/client");
|
|
6
|
-
const defaultPcaConnectorScepHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
1
|
+
const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
+
const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
+
exports.defaultPcaConnectorScepHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
4
|
return {
|
|
8
|
-
operation:
|
|
9
|
-
region: await
|
|
5
|
+
operation: getSmithyContext(context).operation,
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
10
7
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
8
|
})(),
|
|
12
9
|
};
|
|
13
10
|
};
|
|
14
|
-
exports.defaultPcaConnectorScepHttpAuthSchemeParametersProvider = defaultPcaConnectorScepHttpAuthSchemeParametersProvider;
|
|
15
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
16
12
|
return {
|
|
17
13
|
schemeId: "aws.auth#sigv4",
|
|
@@ -27,7 +23,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
|
27
23
|
}),
|
|
28
24
|
};
|
|
29
25
|
}
|
|
30
|
-
|
|
26
|
+
exports.defaultPcaConnectorScepHttpAuthSchemeProvider = (authParameters) => {
|
|
31
27
|
const options = [];
|
|
32
28
|
switch (authParameters.operation) {
|
|
33
29
|
default: {
|
|
@@ -36,11 +32,9 @@ const defaultPcaConnectorScepHttpAuthSchemeProvider = (authParameters) => {
|
|
|
36
32
|
}
|
|
37
33
|
return options;
|
|
38
34
|
};
|
|
39
|
-
exports.
|
|
40
|
-
const
|
|
41
|
-
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
35
|
+
exports.resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
42
37
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference:
|
|
38
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
44
39
|
});
|
|
45
40
|
};
|
|
46
|
-
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bdd = void 0;
|
|
4
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
1
|
+
const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
|
|
5
2
|
const k = "ref";
|
|
6
3
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
4
|
const _data = {
|
|
@@ -46,4 +43,4 @@ const nodes = new Int32Array([
|
|
|
46
43
|
3, r + 1, 13,
|
|
47
44
|
4, r + 2, r + 3,
|
|
48
45
|
]);
|
|
49
|
-
exports.bdd =
|
|
46
|
+
exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
|
-
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new endpoints_1.EndpointCache({
|
|
1
|
+
const { awsEndpointFunctions } = require("@aws-sdk/core/client");
|
|
2
|
+
const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
|
|
3
|
+
const { bdd } = require("./bdd");
|
|
4
|
+
const cache = new EndpointCache({
|
|
8
5
|
size: 50,
|
|
9
6
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
7
|
});
|
|
11
|
-
|
|
12
|
-
return cache.get(endpointParams, () =>
|
|
8
|
+
exports.defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
13
10
|
endpointParams: endpointParams,
|
|
14
11
|
logger: context.logger,
|
|
15
12
|
}));
|
|
16
13
|
};
|
|
17
|
-
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
|
14
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
+
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = Command;
|
|
6
|
+
exports.__Client = Client;
|
|
7
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
+
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
+
const { resolveHttpAuthSchemeConfig, defaultPcaConnectorScepHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
+
const { CreateChallenge$, CreateConnector$, DeleteChallenge$, DeleteConnector$, GetChallengeMetadata$, GetChallengePassword$, GetConnector$, ListChallengeMetadata$, ListConnectors$, ListTagsForResource$, TagResource$, UntagResource$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
__exportStar(require("./models/errors"), exports);
|
|
17
|
+
const { PcaConnectorScepServiceException } = require("./models/PcaConnectorScepServiceException");
|
|
18
|
+
exports.PcaConnectorScepServiceException = PcaConnectorScepServiceException;
|
|
16
19
|
|
|
17
20
|
const resolveClientEndpointParameters = (options) => {
|
|
18
21
|
return Object.assign(options, {
|
|
@@ -68,193 +71,193 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
68
71
|
};
|
|
69
72
|
|
|
70
73
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
71
|
-
const extensionConfiguration = Object.assign(
|
|
74
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
72
75
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
73
|
-
return Object.assign(runtimeConfig,
|
|
76
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
74
77
|
};
|
|
75
78
|
|
|
76
|
-
class PcaConnectorScepClient extends
|
|
79
|
+
class PcaConnectorScepClient extends Client {
|
|
77
80
|
config;
|
|
78
81
|
constructor(...[configuration]) {
|
|
79
|
-
const _config_0 =
|
|
82
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
80
83
|
super(_config_0);
|
|
81
84
|
this.initConfig = _config_0;
|
|
82
85
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
83
|
-
const _config_2 =
|
|
84
|
-
const _config_3 =
|
|
85
|
-
const _config_4 =
|
|
86
|
-
const _config_5 =
|
|
87
|
-
const _config_6 =
|
|
88
|
-
const _config_7 =
|
|
86
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
89
92
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
90
93
|
this.config = _config_8;
|
|
91
|
-
this.middlewareStack.use(
|
|
92
|
-
this.middlewareStack.use(
|
|
93
|
-
this.middlewareStack.use(
|
|
94
|
-
this.middlewareStack.use(
|
|
95
|
-
this.middlewareStack.use(
|
|
96
|
-
this.middlewareStack.use(
|
|
97
|
-
this.middlewareStack.use(
|
|
98
|
-
this.middlewareStack.use(
|
|
99
|
-
httpAuthSchemeParametersProvider:
|
|
100
|
-
identityProviderConfigProvider: async (config) => new
|
|
94
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: defaultPcaConnectorScepHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
101
104
|
"aws.auth#sigv4": config.credentials,
|
|
102
105
|
}),
|
|
103
106
|
}));
|
|
104
|
-
this.middlewareStack.use(
|
|
107
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
105
108
|
}
|
|
106
109
|
destroy() {
|
|
107
110
|
super.destroy();
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
|
|
111
|
-
class CreateChallengeCommand extends
|
|
114
|
+
class CreateChallengeCommand extends Command
|
|
112
115
|
.classBuilder()
|
|
113
116
|
.ep(commonParams)
|
|
114
117
|
.m(function (Command, cs, config, o) {
|
|
115
|
-
return [
|
|
118
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
116
119
|
})
|
|
117
120
|
.s("PcaConnectorScep", "CreateChallenge", {})
|
|
118
121
|
.n("PcaConnectorScepClient", "CreateChallengeCommand")
|
|
119
|
-
.sc(
|
|
122
|
+
.sc(CreateChallenge$)
|
|
120
123
|
.build() {
|
|
121
124
|
}
|
|
122
125
|
|
|
123
|
-
class CreateConnectorCommand extends
|
|
126
|
+
class CreateConnectorCommand extends Command
|
|
124
127
|
.classBuilder()
|
|
125
128
|
.ep(commonParams)
|
|
126
129
|
.m(function (Command, cs, config, o) {
|
|
127
|
-
return [
|
|
130
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
128
131
|
})
|
|
129
132
|
.s("PcaConnectorScep", "CreateConnector", {})
|
|
130
133
|
.n("PcaConnectorScepClient", "CreateConnectorCommand")
|
|
131
|
-
.sc(
|
|
134
|
+
.sc(CreateConnector$)
|
|
132
135
|
.build() {
|
|
133
136
|
}
|
|
134
137
|
|
|
135
|
-
class DeleteChallengeCommand extends
|
|
138
|
+
class DeleteChallengeCommand extends Command
|
|
136
139
|
.classBuilder()
|
|
137
140
|
.ep(commonParams)
|
|
138
141
|
.m(function (Command, cs, config, o) {
|
|
139
|
-
return [
|
|
142
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
140
143
|
})
|
|
141
144
|
.s("PcaConnectorScep", "DeleteChallenge", {})
|
|
142
145
|
.n("PcaConnectorScepClient", "DeleteChallengeCommand")
|
|
143
|
-
.sc(
|
|
146
|
+
.sc(DeleteChallenge$)
|
|
144
147
|
.build() {
|
|
145
148
|
}
|
|
146
149
|
|
|
147
|
-
class DeleteConnectorCommand extends
|
|
150
|
+
class DeleteConnectorCommand extends Command
|
|
148
151
|
.classBuilder()
|
|
149
152
|
.ep(commonParams)
|
|
150
153
|
.m(function (Command, cs, config, o) {
|
|
151
|
-
return [
|
|
154
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
152
155
|
})
|
|
153
156
|
.s("PcaConnectorScep", "DeleteConnector", {})
|
|
154
157
|
.n("PcaConnectorScepClient", "DeleteConnectorCommand")
|
|
155
|
-
.sc(
|
|
158
|
+
.sc(DeleteConnector$)
|
|
156
159
|
.build() {
|
|
157
160
|
}
|
|
158
161
|
|
|
159
|
-
class GetChallengeMetadataCommand extends
|
|
162
|
+
class GetChallengeMetadataCommand extends Command
|
|
160
163
|
.classBuilder()
|
|
161
164
|
.ep(commonParams)
|
|
162
165
|
.m(function (Command, cs, config, o) {
|
|
163
|
-
return [
|
|
166
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
164
167
|
})
|
|
165
168
|
.s("PcaConnectorScep", "GetChallengeMetadata", {})
|
|
166
169
|
.n("PcaConnectorScepClient", "GetChallengeMetadataCommand")
|
|
167
|
-
.sc(
|
|
170
|
+
.sc(GetChallengeMetadata$)
|
|
168
171
|
.build() {
|
|
169
172
|
}
|
|
170
173
|
|
|
171
|
-
class GetChallengePasswordCommand extends
|
|
174
|
+
class GetChallengePasswordCommand extends Command
|
|
172
175
|
.classBuilder()
|
|
173
176
|
.ep(commonParams)
|
|
174
177
|
.m(function (Command, cs, config, o) {
|
|
175
|
-
return [
|
|
178
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
176
179
|
})
|
|
177
180
|
.s("PcaConnectorScep", "GetChallengePassword", {})
|
|
178
181
|
.n("PcaConnectorScepClient", "GetChallengePasswordCommand")
|
|
179
|
-
.sc(
|
|
182
|
+
.sc(GetChallengePassword$)
|
|
180
183
|
.build() {
|
|
181
184
|
}
|
|
182
185
|
|
|
183
|
-
class GetConnectorCommand extends
|
|
186
|
+
class GetConnectorCommand extends Command
|
|
184
187
|
.classBuilder()
|
|
185
188
|
.ep(commonParams)
|
|
186
189
|
.m(function (Command, cs, config, o) {
|
|
187
|
-
return [
|
|
190
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
188
191
|
})
|
|
189
192
|
.s("PcaConnectorScep", "GetConnector", {})
|
|
190
193
|
.n("PcaConnectorScepClient", "GetConnectorCommand")
|
|
191
|
-
.sc(
|
|
194
|
+
.sc(GetConnector$)
|
|
192
195
|
.build() {
|
|
193
196
|
}
|
|
194
197
|
|
|
195
|
-
class ListChallengeMetadataCommand extends
|
|
198
|
+
class ListChallengeMetadataCommand extends Command
|
|
196
199
|
.classBuilder()
|
|
197
200
|
.ep(commonParams)
|
|
198
201
|
.m(function (Command, cs, config, o) {
|
|
199
|
-
return [
|
|
202
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
200
203
|
})
|
|
201
204
|
.s("PcaConnectorScep", "ListChallengeMetadata", {})
|
|
202
205
|
.n("PcaConnectorScepClient", "ListChallengeMetadataCommand")
|
|
203
|
-
.sc(
|
|
206
|
+
.sc(ListChallengeMetadata$)
|
|
204
207
|
.build() {
|
|
205
208
|
}
|
|
206
209
|
|
|
207
|
-
class ListConnectorsCommand extends
|
|
210
|
+
class ListConnectorsCommand extends Command
|
|
208
211
|
.classBuilder()
|
|
209
212
|
.ep(commonParams)
|
|
210
213
|
.m(function (Command, cs, config, o) {
|
|
211
|
-
return [
|
|
214
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
212
215
|
})
|
|
213
216
|
.s("PcaConnectorScep", "ListConnectors", {})
|
|
214
217
|
.n("PcaConnectorScepClient", "ListConnectorsCommand")
|
|
215
|
-
.sc(
|
|
218
|
+
.sc(ListConnectors$)
|
|
216
219
|
.build() {
|
|
217
220
|
}
|
|
218
221
|
|
|
219
|
-
class ListTagsForResourceCommand extends
|
|
222
|
+
class ListTagsForResourceCommand extends Command
|
|
220
223
|
.classBuilder()
|
|
221
224
|
.ep(commonParams)
|
|
222
225
|
.m(function (Command, cs, config, o) {
|
|
223
|
-
return [
|
|
226
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
224
227
|
})
|
|
225
228
|
.s("PcaConnectorScep", "ListTagsForResource", {})
|
|
226
229
|
.n("PcaConnectorScepClient", "ListTagsForResourceCommand")
|
|
227
|
-
.sc(
|
|
230
|
+
.sc(ListTagsForResource$)
|
|
228
231
|
.build() {
|
|
229
232
|
}
|
|
230
233
|
|
|
231
|
-
class TagResourceCommand extends
|
|
234
|
+
class TagResourceCommand extends Command
|
|
232
235
|
.classBuilder()
|
|
233
236
|
.ep(commonParams)
|
|
234
237
|
.m(function (Command, cs, config, o) {
|
|
235
|
-
return [
|
|
238
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
236
239
|
})
|
|
237
240
|
.s("PcaConnectorScep", "TagResource", {})
|
|
238
241
|
.n("PcaConnectorScepClient", "TagResourceCommand")
|
|
239
|
-
.sc(
|
|
242
|
+
.sc(TagResource$)
|
|
240
243
|
.build() {
|
|
241
244
|
}
|
|
242
245
|
|
|
243
|
-
class UntagResourceCommand extends
|
|
246
|
+
class UntagResourceCommand extends Command
|
|
244
247
|
.classBuilder()
|
|
245
248
|
.ep(commonParams)
|
|
246
249
|
.m(function (Command, cs, config, o) {
|
|
247
|
-
return [
|
|
250
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
248
251
|
})
|
|
249
252
|
.s("PcaConnectorScep", "UntagResource", {})
|
|
250
253
|
.n("PcaConnectorScepClient", "UntagResourceCommand")
|
|
251
|
-
.sc(
|
|
254
|
+
.sc(UntagResource$)
|
|
252
255
|
.build() {
|
|
253
256
|
}
|
|
254
257
|
|
|
255
|
-
const paginateListChallengeMetadata =
|
|
258
|
+
const paginateListChallengeMetadata = createPaginator(PcaConnectorScepClient, ListChallengeMetadataCommand, "NextToken", "NextToken", "MaxResults");
|
|
256
259
|
|
|
257
|
-
const paginateListConnectors =
|
|
260
|
+
const paginateListConnectors = createPaginator(PcaConnectorScepClient, ListConnectorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
258
261
|
|
|
259
262
|
const commands = {
|
|
260
263
|
CreateChallengeCommand,
|
|
@@ -276,7 +279,7 @@ const paginators = {
|
|
|
276
279
|
};
|
|
277
280
|
class PcaConnectorScep extends PcaConnectorScepClient {
|
|
278
281
|
}
|
|
279
|
-
|
|
282
|
+
createAggregatedClient(commands, PcaConnectorScep, { paginators });
|
|
280
283
|
|
|
281
284
|
const ValidationExceptionReason = {
|
|
282
285
|
CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT",
|
|
@@ -306,9 +309,6 @@ const ConnectorType = {
|
|
|
306
309
|
INTUNE: "INTUNE",
|
|
307
310
|
};
|
|
308
311
|
|
|
309
|
-
exports.$Command = client.Command;
|
|
310
|
-
exports.__Client = client.Client;
|
|
311
|
-
exports.PcaConnectorScepServiceException = PcaConnectorScepServiceException.PcaConnectorScepServiceException;
|
|
312
312
|
exports.ConnectorStatus = ConnectorStatus;
|
|
313
313
|
exports.ConnectorStatusReason = ConnectorStatusReason;
|
|
314
314
|
exports.ConnectorType = ConnectorType;
|
|
@@ -329,23 +329,3 @@ exports.UntagResourceCommand = UntagResourceCommand;
|
|
|
329
329
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
330
330
|
exports.paginateListChallengeMetadata = paginateListChallengeMetadata;
|
|
331
331
|
exports.paginateListConnectors = paginateListConnectors;
|
|
332
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
333
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
334
|
-
Object.defineProperty(exports, '__proto__', {
|
|
335
|
-
enumerable: true,
|
|
336
|
-
value: schemas_0['__proto__']
|
|
337
|
-
});
|
|
338
|
-
|
|
339
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
340
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
341
|
-
});
|
|
342
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
343
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
344
|
-
Object.defineProperty(exports, '__proto__', {
|
|
345
|
-
enumerable: true,
|
|
346
|
-
value: errors['__proto__']
|
|
347
|
-
});
|
|
348
|
-
|
|
349
|
-
Object.keys(errors).forEach(function (k) {
|
|
350
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
351
|
-
});
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.PcaConnectorScepServiceException =
|
|
4
|
-
const client_1 = require("@smithy/core/client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
-
class PcaConnectorScepServiceException extends client_1.ServiceException {
|
|
1
|
+
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
+
exports.__ServiceException = __ServiceException;
|
|
3
|
+
exports.PcaConnectorScepServiceException = class PcaConnectorScepServiceException extends __ServiceException {
|
|
7
4
|
constructor(options) {
|
|
8
5
|
super(options);
|
|
9
6
|
Object.setPrototypeOf(this, PcaConnectorScepServiceException.prototype);
|
|
10
7
|
}
|
|
11
|
-
}
|
|
12
|
-
exports.PcaConnectorScepServiceException = PcaConnectorScepServiceException;
|
|
8
|
+
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
4
|
-
const PcaConnectorScepServiceException_1 = require("./PcaConnectorScepServiceException");
|
|
5
|
-
class AccessDeniedException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
1
|
+
const { PcaConnectorScepServiceException: __BaseException } = require("./PcaConnectorScepServiceException");
|
|
2
|
+
exports.AccessDeniedException = class AccessDeniedException extends __BaseException {
|
|
6
3
|
name = "AccessDeniedException";
|
|
7
4
|
$fault = "client";
|
|
8
5
|
Message;
|
|
@@ -15,9 +12,8 @@ class AccessDeniedException extends PcaConnectorScepServiceException_1.PcaConnec
|
|
|
15
12
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
13
|
this.Message = opts.Message;
|
|
17
14
|
}
|
|
18
|
-
}
|
|
19
|
-
exports.
|
|
20
|
-
class BadRequestException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
15
|
+
};
|
|
16
|
+
exports.BadRequestException = class BadRequestException extends __BaseException {
|
|
21
17
|
name = "BadRequestException";
|
|
22
18
|
$fault = "client";
|
|
23
19
|
Message;
|
|
@@ -30,9 +26,8 @@ class BadRequestException extends PcaConnectorScepServiceException_1.PcaConnecto
|
|
|
30
26
|
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
31
27
|
this.Message = opts.Message;
|
|
32
28
|
}
|
|
33
|
-
}
|
|
34
|
-
exports.
|
|
35
|
-
class ConflictException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
29
|
+
};
|
|
30
|
+
exports.ConflictException = class ConflictException extends __BaseException {
|
|
36
31
|
name = "ConflictException";
|
|
37
32
|
$fault = "client";
|
|
38
33
|
Message;
|
|
@@ -49,9 +44,8 @@ class ConflictException extends PcaConnectorScepServiceException_1.PcaConnectorS
|
|
|
49
44
|
this.ResourceId = opts.ResourceId;
|
|
50
45
|
this.ResourceType = opts.ResourceType;
|
|
51
46
|
}
|
|
52
|
-
}
|
|
53
|
-
exports.
|
|
54
|
-
class InternalServerException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
47
|
+
};
|
|
48
|
+
exports.InternalServerException = class InternalServerException extends __BaseException {
|
|
55
49
|
name = "InternalServerException";
|
|
56
50
|
$fault = "server";
|
|
57
51
|
$retryable = {};
|
|
@@ -65,9 +59,8 @@ class InternalServerException extends PcaConnectorScepServiceException_1.PcaConn
|
|
|
65
59
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
66
60
|
this.Message = opts.Message;
|
|
67
61
|
}
|
|
68
|
-
}
|
|
69
|
-
exports.
|
|
70
|
-
class ResourceNotFoundException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
62
|
+
};
|
|
63
|
+
exports.ResourceNotFoundException = class ResourceNotFoundException extends __BaseException {
|
|
71
64
|
name = "ResourceNotFoundException";
|
|
72
65
|
$fault = "client";
|
|
73
66
|
Message;
|
|
@@ -84,9 +77,8 @@ class ResourceNotFoundException extends PcaConnectorScepServiceException_1.PcaCo
|
|
|
84
77
|
this.ResourceId = opts.ResourceId;
|
|
85
78
|
this.ResourceType = opts.ResourceType;
|
|
86
79
|
}
|
|
87
|
-
}
|
|
88
|
-
exports.
|
|
89
|
-
class ServiceQuotaExceededException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
80
|
+
};
|
|
81
|
+
exports.ServiceQuotaExceededException = class ServiceQuotaExceededException extends __BaseException {
|
|
90
82
|
name = "ServiceQuotaExceededException";
|
|
91
83
|
$fault = "client";
|
|
92
84
|
Message;
|
|
@@ -105,9 +97,8 @@ class ServiceQuotaExceededException extends PcaConnectorScepServiceException_1.P
|
|
|
105
97
|
this.ServiceCode = opts.ServiceCode;
|
|
106
98
|
this.QuotaCode = opts.QuotaCode;
|
|
107
99
|
}
|
|
108
|
-
}
|
|
109
|
-
exports.
|
|
110
|
-
class ThrottlingException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
100
|
+
};
|
|
101
|
+
exports.ThrottlingException = class ThrottlingException extends __BaseException {
|
|
111
102
|
name = "ThrottlingException";
|
|
112
103
|
$fault = "client";
|
|
113
104
|
$retryable = {
|
|
@@ -123,9 +114,8 @@ class ThrottlingException extends PcaConnectorScepServiceException_1.PcaConnecto
|
|
|
123
114
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
124
115
|
this.Message = opts.Message;
|
|
125
116
|
}
|
|
126
|
-
}
|
|
127
|
-
exports.
|
|
128
|
-
class ValidationException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
|
|
117
|
+
};
|
|
118
|
+
exports.ValidationException = class ValidationException extends __BaseException {
|
|
129
119
|
name = "ValidationException";
|
|
130
120
|
$fault = "client";
|
|
131
121
|
Message;
|
|
@@ -140,5 +130,4 @@ class ValidationException extends PcaConnectorScepServiceException_1.PcaConnecto
|
|
|
140
130
|
this.Message = opts.Message;
|
|
141
131
|
this.Reason = opts.Reason;
|
|
142
132
|
}
|
|
143
|
-
}
|
|
144
|
-
exports.ValidationException = ValidationException;
|
|
133
|
+
};
|
|
@@ -1,36 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const retry_1 = require("@smithy/core/retry");
|
|
11
|
-
const serde_1 = require("@smithy/core/serde");
|
|
12
|
-
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
13
|
-
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
1
|
+
const packageInfo = require("../package.json");
|
|
2
|
+
const { Sha256 } = require("@aws-crypto/sha256-browser");
|
|
3
|
+
const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client");
|
|
4
|
+
const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
5
|
+
const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
6
|
+
const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry");
|
|
7
|
+
const { calculateBodyLength } = require("@smithy/core/serde");
|
|
8
|
+
const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler");
|
|
9
|
+
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
14
10
|
const getRuntimeConfig = (config) => {
|
|
15
|
-
const defaultsMode =
|
|
16
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
17
|
-
const clientSharedValues = (
|
|
11
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
12
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
13
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
14
|
return {
|
|
19
15
|
...clientSharedValues,
|
|
20
16
|
...config,
|
|
21
17
|
runtime: "browser",
|
|
22
18
|
defaultsMode,
|
|
23
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
19
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
24
20
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
26
|
-
maxAttempts: config?.maxAttempts ??
|
|
27
|
-
region: config?.region ??
|
|
28
|
-
requestHandler:
|
|
29
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
30
|
-
sha256: config?.sha256 ??
|
|
31
|
-
streamCollector: config?.streamCollector ??
|
|
32
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
33
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
21
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
22
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
23
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
+
sha256: config?.sha256 ?? Sha256,
|
|
27
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
30
|
};
|
|
35
31
|
};
|
|
36
32
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const retry_1 = require("@smithy/core/retry");
|
|
12
|
-
const serde_1 = require("@smithy/core/serde");
|
|
13
|
-
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
-
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
1
|
+
const packageInfo = require("../package.json");
|
|
2
|
+
const { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion: awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS } = require("@aws-sdk/core/client");
|
|
3
|
+
const { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
4
|
+
const { defaultProvider: credentialDefaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
5
|
+
const { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } = require("@smithy/core/client");
|
|
6
|
+
const { loadConfig: loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig } = require("@smithy/core/config");
|
|
7
|
+
const { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } = require("@smithy/core/retry");
|
|
8
|
+
const { calculateBodyLength, Hash } = require("@smithy/core/serde");
|
|
9
|
+
const { NodeHttpHandler: RequestHandler, streamCollector } = require("@smithy/node-http-handler");
|
|
10
|
+
const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
|
|
15
11
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
|
|
17
|
-
const defaultsMode =
|
|
18
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
19
|
-
const clientSharedValues = (
|
|
20
|
-
(
|
|
12
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
13
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
15
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
+
awsCheckVersion(process.version);
|
|
21
17
|
const loaderConfig = {
|
|
22
18
|
profile: config?.profile,
|
|
23
19
|
logger: clientSharedValues.logger,
|
|
@@ -27,23 +23,23 @@ const getRuntimeConfig = (config) => {
|
|
|
27
23
|
...config,
|
|
28
24
|
runtime: "node",
|
|
29
25
|
defaultsMode,
|
|
30
|
-
authSchemePreference: config?.authSchemePreference ?? (
|
|
31
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
32
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ??
|
|
33
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
maxAttempts: config?.maxAttempts ?? (
|
|
35
|
-
region: config?.region ?? (
|
|
36
|
-
requestHandler:
|
|
26
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
27
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
31
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
32
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
37
33
|
retryMode: config?.retryMode ??
|
|
38
|
-
(
|
|
39
|
-
...
|
|
40
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
34
|
+
loadNodeConfig({
|
|
35
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
41
37
|
}, config),
|
|
42
|
-
sha256: config?.sha256 ??
|
|
43
|
-
streamCollector: config?.streamCollector ??
|
|
44
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (
|
|
45
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (
|
|
46
|
-
userAgentAppId: config?.userAgentAppId ?? (
|
|
38
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
42
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
47
43
|
};
|
|
48
44
|
};
|
|
49
45
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
-
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
1
|
+
const { Sha256 } = require("@aws-crypto/sha256-js");
|
|
2
|
+
const { getRuntimeConfig: getBrowserRuntimeConfig } = require("./runtimeConfig.browser");
|
|
6
3
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
const browserDefaults = (
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
8
5
|
return {
|
|
9
6
|
...browserDefaults,
|
|
10
7
|
...config,
|
|
11
8
|
runtime: "react-native",
|
|
12
|
-
sha256: config?.sha256 ??
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
13
10
|
};
|
|
14
11
|
};
|
|
15
12
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,42 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
11
|
-
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
|
-
const getRuntimeConfig = (config) => {
|
|
1
|
+
const { AwsSdkSigV4Signer } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
3
|
+
const { NoOpLogger } = require("@smithy/core/client");
|
|
4
|
+
const { parseUrl } = require("@smithy/core/protocols");
|
|
5
|
+
const { fromBase64, fromUtf8, toBase64, toUtf8 } = require("@smithy/core/serde");
|
|
6
|
+
const { defaultPcaConnectorScepHttpAuthSchemeProvider } = require("./auth/httpAuthSchemeProvider");
|
|
7
|
+
const { defaultEndpointResolver } = require("./endpoint/endpointResolver");
|
|
8
|
+
const { errorTypeRegistries } = require("./schemas/schemas_0");
|
|
9
|
+
exports.getRuntimeConfig = (config) => {
|
|
13
10
|
return {
|
|
14
11
|
apiVersion: "2018-05-10",
|
|
15
|
-
base64Decoder: config?.base64Decoder ??
|
|
16
|
-
base64Encoder: config?.base64Encoder ??
|
|
12
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
13
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
17
14
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
18
|
-
endpointProvider: config?.endpointProvider ??
|
|
15
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
19
16
|
extensions: config?.extensions ?? [],
|
|
20
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ??
|
|
17
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultPcaConnectorScepHttpAuthSchemeProvider,
|
|
21
18
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
22
19
|
{
|
|
23
20
|
schemeId: "aws.auth#sigv4",
|
|
24
21
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
25
|
-
signer: new
|
|
22
|
+
signer: new AwsSdkSigV4Signer(),
|
|
26
23
|
},
|
|
27
24
|
],
|
|
28
|
-
logger: config?.logger ?? new
|
|
29
|
-
protocol: config?.protocol ??
|
|
25
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
30
27
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
28
|
defaultNamespace: "com.amazonaws.pcaconnectorscep",
|
|
32
|
-
errorTypeRegistries
|
|
29
|
+
errorTypeRegistries,
|
|
33
30
|
version: "2018-05-10",
|
|
34
31
|
serviceTarget: "PcaConnectorScep",
|
|
35
32
|
},
|
|
36
33
|
serviceId: config?.serviceId ?? "Pca Connector Scep",
|
|
37
|
-
urlParser: config?.urlParser ??
|
|
38
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
39
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
34
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
35
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
40
37
|
};
|
|
41
38
|
};
|
|
42
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListConnectors$ = exports.ListChallengeMetadata$ = exports.GetConnector$ = exports.GetChallengePassword$ = exports.GetChallengeMetadata$ = exports.DeleteConnector$ = exports.DeleteChallenge$ = exports.CreateConnector$ = exports.CreateChallenge$ = exports.MobileDeviceManagement$ = exports.UntagResourceRequest$ = exports.TagResourceRequest$ = exports.OpenIdConfiguration$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListConnectorsResponse$ = exports.ListConnectorsRequest$ = exports.ListChallengeMetadataResponse$ = exports.ListChallengeMetadataRequest$ = exports.IntuneConfiguration$ = exports.GetConnectorResponse$ = exports.GetConnectorRequest$ = exports.GetChallengePasswordResponse$ = exports.GetChallengePasswordRequest$ = exports.GetChallengeMetadataResponse$ = exports.GetChallengeMetadataRequest$ = exports.DeleteConnectorRequest$ = exports.DeleteChallengeRequest$ = exports.CreateConnectorResponse$ = exports.CreateConnectorRequest$ = exports.CreateChallengeResponse$ = exports.CreateChallengeRequest$ = exports.ConnectorSummary$ = exports.Connector$ = exports.ChallengeMetadataSummary$ = exports.ChallengeMetadata$ = exports.Challenge$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.BadRequestException$ = exports.AccessDeniedException$ = exports.PcaConnectorScepServiceException$ = void 0;
|
|
4
1
|
const _A = "Arn";
|
|
5
2
|
const _AAI = "AzureApplicationId";
|
|
6
3
|
const _ADE = "AccessDeniedException";
|
|
@@ -93,248 +90,285 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.pcaconnectorscep";
|
|
|
93
90
|
const _se = "server";
|
|
94
91
|
const _tK = "tagKeys";
|
|
95
92
|
const n0 = "com.amazonaws.pcaconnectorscep";
|
|
96
|
-
const
|
|
97
|
-
const
|
|
98
|
-
const
|
|
99
|
-
const _s_registry =
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
93
|
+
const { TypeRegistry } = require("@smithy/core/schema");
|
|
94
|
+
const { AccessDeniedException, BadRequestException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } = require("../models/errors");
|
|
95
|
+
const { PcaConnectorScepServiceException } = require("../models/PcaConnectorScepServiceException");
|
|
96
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
97
|
+
const PcaConnectorScepServiceException$ = [-3, _s, "PcaConnectorScepServiceException", 0, [], []];
|
|
98
|
+
exports.PcaConnectorScepServiceException$ = PcaConnectorScepServiceException$;
|
|
99
|
+
_s_registry.registerError(PcaConnectorScepServiceException$, PcaConnectorScepServiceException);
|
|
100
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
101
|
+
const AccessDeniedException$ = [-3, n0, _ADE,
|
|
104
102
|
{ [_e]: _c, [_hE]: 403 },
|
|
105
103
|
[_M],
|
|
106
104
|
[0], 1
|
|
107
105
|
];
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
107
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
108
|
+
const BadRequestException$ = [-3, n0, _BRE,
|
|
110
109
|
{ [_e]: _c, [_hE]: 400 },
|
|
111
110
|
[_M],
|
|
112
111
|
[0], 1
|
|
113
112
|
];
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
exports.BadRequestException$ = BadRequestException$;
|
|
114
|
+
n0_registry.registerError(BadRequestException$, BadRequestException);
|
|
115
|
+
const ConflictException$ = [-3, n0, _CE,
|
|
116
116
|
{ [_e]: _c, [_hE]: 409 },
|
|
117
117
|
[_M, _RI, _RT],
|
|
118
118
|
[0, 0, 0], 3
|
|
119
119
|
];
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
exports.ConflictException$ = ConflictException$;
|
|
121
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
122
|
+
const InternalServerException$ = [-3, n0, _ISE,
|
|
122
123
|
{ [_e]: _se, [_hE]: 500 },
|
|
123
124
|
[_M],
|
|
124
125
|
[0], 1
|
|
125
126
|
];
|
|
126
|
-
|
|
127
|
-
|
|
127
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
128
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
129
|
+
const ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
128
130
|
{ [_e]: _c, [_hE]: 404 },
|
|
129
131
|
[_M, _RI, _RT],
|
|
130
132
|
[0, 0, 0], 3
|
|
131
133
|
];
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
135
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
136
|
+
const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
134
137
|
{ [_e]: _c, [_hE]: 402 },
|
|
135
138
|
[_M, _RT, _SC, _QC],
|
|
136
139
|
[0, 0, 0, 0], 4
|
|
137
140
|
];
|
|
138
|
-
|
|
139
|
-
|
|
141
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
142
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
143
|
+
const ThrottlingException$ = [-3, n0, _TE,
|
|
140
144
|
{ [_e]: _c, [_hE]: 429 },
|
|
141
145
|
[_M],
|
|
142
146
|
[0], 1
|
|
143
147
|
];
|
|
144
|
-
|
|
145
|
-
|
|
148
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
149
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
150
|
+
const ValidationException$ = [-3, n0, _VE,
|
|
146
151
|
{ [_e]: _c, [_hE]: 400 },
|
|
147
152
|
[_M, _R],
|
|
148
153
|
[0, 0], 1
|
|
149
154
|
];
|
|
150
|
-
|
|
155
|
+
exports.ValidationException$ = ValidationException$;
|
|
156
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
151
157
|
exports.errorTypeRegistries = [
|
|
152
158
|
_s_registry,
|
|
153
159
|
n0_registry,
|
|
154
160
|
];
|
|
155
161
|
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
156
|
-
|
|
162
|
+
const Challenge$ = [3, n0, _C,
|
|
157
163
|
0,
|
|
158
164
|
[_A, _CA, _CAr, _UA, _P],
|
|
159
165
|
[0, 0, 4, 4, [() => SensitiveString, 0]]
|
|
160
166
|
];
|
|
161
|
-
exports.
|
|
167
|
+
exports.Challenge$ = Challenge$;
|
|
168
|
+
const ChallengeMetadata$ = [3, n0, _CM,
|
|
162
169
|
0,
|
|
163
170
|
[_A, _CA, _CAr, _UA],
|
|
164
171
|
[0, 0, 4, 4]
|
|
165
172
|
];
|
|
166
|
-
exports.
|
|
173
|
+
exports.ChallengeMetadata$ = ChallengeMetadata$;
|
|
174
|
+
const ChallengeMetadataSummary$ = [3, n0, _CMS,
|
|
167
175
|
0,
|
|
168
176
|
[_A, _CA, _CAr, _UA],
|
|
169
177
|
[0, 0, 4, 4]
|
|
170
178
|
];
|
|
171
|
-
exports.
|
|
179
|
+
exports.ChallengeMetadataSummary$ = ChallengeMetadataSummary$;
|
|
180
|
+
const Connector$ = [3, n0, _Co,
|
|
172
181
|
0,
|
|
173
182
|
[_A, _CAA, _T, _MDM, _OIC, _S, _SR, _E, _CAr, _UA],
|
|
174
|
-
[0, 0, 0, () =>
|
|
183
|
+
[0, 0, 0, () => MobileDeviceManagement$, () => OpenIdConfiguration$, 0, 0, 0, 4, 4]
|
|
175
184
|
];
|
|
176
|
-
exports.
|
|
185
|
+
exports.Connector$ = Connector$;
|
|
186
|
+
const ConnectorSummary$ = [3, n0, _CS,
|
|
177
187
|
0,
|
|
178
188
|
[_A, _CAA, _T, _MDM, _OIC, _S, _SR, _E, _CAr, _UA],
|
|
179
|
-
[0, 0, 0, () =>
|
|
189
|
+
[0, 0, 0, () => MobileDeviceManagement$, () => OpenIdConfiguration$, 0, 0, 0, 4, 4]
|
|
180
190
|
];
|
|
181
|
-
exports.
|
|
191
|
+
exports.ConnectorSummary$ = ConnectorSummary$;
|
|
192
|
+
const CreateChallengeRequest$ = [3, n0, _CCR,
|
|
182
193
|
0,
|
|
183
194
|
[_CA, _CT, _Ta],
|
|
184
195
|
[0, [0, 4], 128 | 0], 1
|
|
185
196
|
];
|
|
186
|
-
exports.
|
|
197
|
+
exports.CreateChallengeRequest$ = CreateChallengeRequest$;
|
|
198
|
+
const CreateChallengeResponse$ = [3, n0, _CCRr,
|
|
187
199
|
0,
|
|
188
200
|
[_C],
|
|
189
|
-
[[() =>
|
|
201
|
+
[[() => Challenge$, 0]]
|
|
190
202
|
];
|
|
191
|
-
exports.
|
|
203
|
+
exports.CreateChallengeResponse$ = CreateChallengeResponse$;
|
|
204
|
+
const CreateConnectorRequest$ = [3, n0, _CCRre,
|
|
192
205
|
0,
|
|
193
206
|
[_CAA, _MDM, _VEI, _CT, _Ta],
|
|
194
|
-
[0, () =>
|
|
207
|
+
[0, () => MobileDeviceManagement$, 0, [0, 4], 128 | 0], 1
|
|
195
208
|
];
|
|
196
|
-
exports.
|
|
209
|
+
exports.CreateConnectorRequest$ = CreateConnectorRequest$;
|
|
210
|
+
const CreateConnectorResponse$ = [3, n0, _CCRrea,
|
|
197
211
|
0,
|
|
198
212
|
[_CA],
|
|
199
213
|
[0]
|
|
200
214
|
];
|
|
201
|
-
exports.
|
|
215
|
+
exports.CreateConnectorResponse$ = CreateConnectorResponse$;
|
|
216
|
+
const DeleteChallengeRequest$ = [3, n0, _DCR,
|
|
202
217
|
0,
|
|
203
218
|
[_CAh],
|
|
204
219
|
[[0, 1]], 1
|
|
205
220
|
];
|
|
206
|
-
exports.
|
|
221
|
+
exports.DeleteChallengeRequest$ = DeleteChallengeRequest$;
|
|
222
|
+
const DeleteConnectorRequest$ = [3, n0, _DCRe,
|
|
207
223
|
0,
|
|
208
224
|
[_CA],
|
|
209
225
|
[[0, 1]], 1
|
|
210
226
|
];
|
|
211
|
-
exports.
|
|
227
|
+
exports.DeleteConnectorRequest$ = DeleteConnectorRequest$;
|
|
228
|
+
const GetChallengeMetadataRequest$ = [3, n0, _GCMR,
|
|
212
229
|
0,
|
|
213
230
|
[_CAh],
|
|
214
231
|
[[0, 1]], 1
|
|
215
232
|
];
|
|
216
|
-
exports.
|
|
233
|
+
exports.GetChallengeMetadataRequest$ = GetChallengeMetadataRequest$;
|
|
234
|
+
const GetChallengeMetadataResponse$ = [3, n0, _GCMRe,
|
|
217
235
|
0,
|
|
218
236
|
[_CM],
|
|
219
|
-
[() =>
|
|
237
|
+
[() => ChallengeMetadata$]
|
|
220
238
|
];
|
|
221
|
-
exports.
|
|
239
|
+
exports.GetChallengeMetadataResponse$ = GetChallengeMetadataResponse$;
|
|
240
|
+
const GetChallengePasswordRequest$ = [3, n0, _GCPR,
|
|
222
241
|
0,
|
|
223
242
|
[_CAh],
|
|
224
243
|
[[0, 1]], 1
|
|
225
244
|
];
|
|
226
|
-
exports.
|
|
245
|
+
exports.GetChallengePasswordRequest$ = GetChallengePasswordRequest$;
|
|
246
|
+
const GetChallengePasswordResponse$ = [3, n0, _GCPRe,
|
|
227
247
|
0,
|
|
228
248
|
[_P],
|
|
229
249
|
[[() => SensitiveString, 0]]
|
|
230
250
|
];
|
|
231
|
-
exports.
|
|
251
|
+
exports.GetChallengePasswordResponse$ = GetChallengePasswordResponse$;
|
|
252
|
+
const GetConnectorRequest$ = [3, n0, _GCR,
|
|
232
253
|
0,
|
|
233
254
|
[_CA],
|
|
234
255
|
[[0, 1]], 1
|
|
235
256
|
];
|
|
236
|
-
exports.
|
|
257
|
+
exports.GetConnectorRequest$ = GetConnectorRequest$;
|
|
258
|
+
const GetConnectorResponse$ = [3, n0, _GCRe,
|
|
237
259
|
0,
|
|
238
260
|
[_Co],
|
|
239
|
-
[() =>
|
|
261
|
+
[() => Connector$]
|
|
240
262
|
];
|
|
241
|
-
exports.
|
|
263
|
+
exports.GetConnectorResponse$ = GetConnectorResponse$;
|
|
264
|
+
const IntuneConfiguration$ = [3, n0, _IC,
|
|
242
265
|
0,
|
|
243
266
|
[_AAI, _D],
|
|
244
267
|
[0, 0], 2
|
|
245
268
|
];
|
|
246
|
-
exports.
|
|
269
|
+
exports.IntuneConfiguration$ = IntuneConfiguration$;
|
|
270
|
+
const ListChallengeMetadataRequest$ = [3, n0, _LCMR,
|
|
247
271
|
0,
|
|
248
272
|
[_CA, _MR, _NT],
|
|
249
273
|
[[0, { [_hQ]: _CA }], [1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]], 1
|
|
250
274
|
];
|
|
251
|
-
exports.
|
|
275
|
+
exports.ListChallengeMetadataRequest$ = ListChallengeMetadataRequest$;
|
|
276
|
+
const ListChallengeMetadataResponse$ = [3, n0, _LCMRi,
|
|
252
277
|
0,
|
|
253
278
|
[_Ch, _NT],
|
|
254
279
|
[() => ChallengeMetadataList, 0]
|
|
255
280
|
];
|
|
256
|
-
exports.
|
|
281
|
+
exports.ListChallengeMetadataResponse$ = ListChallengeMetadataResponse$;
|
|
282
|
+
const ListConnectorsRequest$ = [3, n0, _LCR,
|
|
257
283
|
0,
|
|
258
284
|
[_MR, _NT],
|
|
259
285
|
[[1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]]
|
|
260
286
|
];
|
|
261
|
-
exports.
|
|
287
|
+
exports.ListConnectorsRequest$ = ListConnectorsRequest$;
|
|
288
|
+
const ListConnectorsResponse$ = [3, n0, _LCRi,
|
|
262
289
|
0,
|
|
263
290
|
[_Con, _NT],
|
|
264
291
|
[() => ConnectorList, 0]
|
|
265
292
|
];
|
|
266
|
-
exports.
|
|
293
|
+
exports.ListConnectorsResponse$ = ListConnectorsResponse$;
|
|
294
|
+
const ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
267
295
|
0,
|
|
268
296
|
[_RA],
|
|
269
297
|
[[0, 1]], 1
|
|
270
298
|
];
|
|
271
|
-
exports.
|
|
299
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
300
|
+
const ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
272
301
|
0,
|
|
273
302
|
[_Ta],
|
|
274
303
|
[128 | 0]
|
|
275
304
|
];
|
|
276
|
-
exports.
|
|
305
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
306
|
+
const OpenIdConfiguration$ = [3, n0, _OIC,
|
|
277
307
|
0,
|
|
278
308
|
[_I, _Su, _Au],
|
|
279
309
|
[0, 0, 0]
|
|
280
310
|
];
|
|
281
|
-
exports.
|
|
311
|
+
exports.OpenIdConfiguration$ = OpenIdConfiguration$;
|
|
312
|
+
const TagResourceRequest$ = [3, n0, _TRR,
|
|
282
313
|
0,
|
|
283
314
|
[_RA, _Ta],
|
|
284
315
|
[[0, 1], 128 | 0], 2
|
|
285
316
|
];
|
|
286
|
-
exports.
|
|
317
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
318
|
+
const UntagResourceRequest$ = [3, n0, _URR,
|
|
287
319
|
0,
|
|
288
320
|
[_RA, _TK],
|
|
289
321
|
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
290
322
|
];
|
|
323
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
291
324
|
var __Unit = "unit";
|
|
292
325
|
var ChallengeMetadataList = [1, n0, _CML,
|
|
293
|
-
0, () =>
|
|
326
|
+
0, () => ChallengeMetadataSummary$
|
|
294
327
|
];
|
|
295
328
|
var ConnectorList = [1, n0, _CL,
|
|
296
|
-
0, () =>
|
|
329
|
+
0, () => ConnectorSummary$
|
|
297
330
|
];
|
|
298
331
|
var TagKeyList = 64 | 0;
|
|
299
332
|
var Tags = 128 | 0;
|
|
300
|
-
|
|
333
|
+
const MobileDeviceManagement$ = [4, n0, _MDM,
|
|
301
334
|
0,
|
|
302
335
|
[_In],
|
|
303
|
-
[() =>
|
|
336
|
+
[() => IntuneConfiguration$]
|
|
304
337
|
];
|
|
338
|
+
exports.MobileDeviceManagement$ = MobileDeviceManagement$;
|
|
305
339
|
exports.CreateChallenge$ = [9, n0, _CC,
|
|
306
|
-
{ [_h]: ["POST", "/challenges", 202] }, () =>
|
|
340
|
+
{ [_h]: ["POST", "/challenges", 202] }, () => CreateChallengeRequest$, () => CreateChallengeResponse$
|
|
307
341
|
];
|
|
308
342
|
exports.CreateConnector$ = [9, n0, _CCr,
|
|
309
|
-
{ [_h]: ["POST", "/connectors", 202] }, () =>
|
|
343
|
+
{ [_h]: ["POST", "/connectors", 202] }, () => CreateConnectorRequest$, () => CreateConnectorResponse$
|
|
310
344
|
];
|
|
311
345
|
exports.DeleteChallenge$ = [9, n0, _DC,
|
|
312
|
-
{ [_h]: ["DELETE", "/challenges/{ChallengeArn}", 202] }, () =>
|
|
346
|
+
{ [_h]: ["DELETE", "/challenges/{ChallengeArn}", 202] }, () => DeleteChallengeRequest$, () => __Unit
|
|
313
347
|
];
|
|
314
348
|
exports.DeleteConnector$ = [9, n0, _DCe,
|
|
315
|
-
{ [_h]: ["DELETE", "/connectors/{ConnectorArn}", 202] }, () =>
|
|
349
|
+
{ [_h]: ["DELETE", "/connectors/{ConnectorArn}", 202] }, () => DeleteConnectorRequest$, () => __Unit
|
|
316
350
|
];
|
|
317
351
|
exports.GetChallengeMetadata$ = [9, n0, _GCM,
|
|
318
|
-
{ [_h]: ["GET", "/challengeMetadata/{ChallengeArn}", 200] }, () =>
|
|
352
|
+
{ [_h]: ["GET", "/challengeMetadata/{ChallengeArn}", 200] }, () => GetChallengeMetadataRequest$, () => GetChallengeMetadataResponse$
|
|
319
353
|
];
|
|
320
354
|
exports.GetChallengePassword$ = [9, n0, _GCP,
|
|
321
|
-
{ [_h]: ["GET", "/challengePasswords/{ChallengeArn}", 200] }, () =>
|
|
355
|
+
{ [_h]: ["GET", "/challengePasswords/{ChallengeArn}", 200] }, () => GetChallengePasswordRequest$, () => GetChallengePasswordResponse$
|
|
322
356
|
];
|
|
323
357
|
exports.GetConnector$ = [9, n0, _GC,
|
|
324
|
-
{ [_h]: ["GET", "/connectors/{ConnectorArn}", 200] }, () =>
|
|
358
|
+
{ [_h]: ["GET", "/connectors/{ConnectorArn}", 200] }, () => GetConnectorRequest$, () => GetConnectorResponse$
|
|
325
359
|
];
|
|
326
360
|
exports.ListChallengeMetadata$ = [9, n0, _LCM,
|
|
327
|
-
{ [_h]: ["GET", "/challengeMetadata", 200] }, () =>
|
|
361
|
+
{ [_h]: ["GET", "/challengeMetadata", 200] }, () => ListChallengeMetadataRequest$, () => ListChallengeMetadataResponse$
|
|
328
362
|
];
|
|
329
363
|
exports.ListConnectors$ = [9, n0, _LC,
|
|
330
|
-
{ [_h]: ["GET", "/connectors", 200] }, () =>
|
|
364
|
+
{ [_h]: ["GET", "/connectors", 200] }, () => ListConnectorsRequest$, () => ListConnectorsResponse$
|
|
331
365
|
];
|
|
332
366
|
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
333
|
-
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () =>
|
|
367
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
334
368
|
];
|
|
335
369
|
exports.TagResource$ = [9, n0, _TR,
|
|
336
|
-
{ [_h]: ["POST", "/tags/{ResourceArn}", 204] }, () =>
|
|
370
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 204] }, () => TagResourceRequest$, () => __Unit
|
|
337
371
|
];
|
|
338
372
|
exports.UntagResource$ = [9, n0, _UR,
|
|
339
|
-
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () =>
|
|
373
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () => UntagResourceRequest$, () => __Unit
|
|
340
374
|
];
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pca-connector-scep",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pca Connector Scep Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1069.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
8
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types": "premove dist-types && tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
15
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
16
|
},
|
|
17
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.974.21",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.56",
|
|
26
|
+
"@aws-sdk/types": "^3.973.13",
|
|
27
27
|
"@smithy/core": "^3.24.6",
|
|
28
28
|
"@smithy/fetch-http-handler": "^5.4.6",
|
|
29
29
|
"@smithy/node-http-handler": "^4.7.6",
|