@aws-sdk/client-signin 3.1067.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 +65 -85
- package/dist-cjs/models/SigninServiceException.js +4 -8
- package/dist-cjs/models/errors.js +15 -25
- 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 +22 -26
- package/dist-cjs/schemas/schemas_0.js +87 -60
- package/package.json +9 -9
|
@@ -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 defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
1
|
+
const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
+
const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
+
exports.defaultSigninHttpAuthSchemeParametersProvider = 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.defaultSigninHttpAuthSchemeParametersProvider = defaultSigninHttpAuthSchemeParametersProvider;
|
|
15
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
16
12
|
return {
|
|
17
13
|
schemeId: "aws.auth#sigv4",
|
|
@@ -32,7 +28,7 @@ function createSmithyApiNoAuthHttpAuthOption(authParameters) {
|
|
|
32
28
|
schemeId: "smithy.api#noAuth",
|
|
33
29
|
};
|
|
34
30
|
}
|
|
35
|
-
|
|
31
|
+
exports.defaultSigninHttpAuthSchemeProvider = (authParameters) => {
|
|
36
32
|
const options = [];
|
|
37
33
|
switch (authParameters.operation) {
|
|
38
34
|
case "CreateOAuth2Token":
|
|
@@ -47,11 +43,9 @@ const defaultSigninHttpAuthSchemeProvider = (authParameters) => {
|
|
|
47
43
|
}
|
|
48
44
|
return options;
|
|
49
45
|
};
|
|
50
|
-
exports.
|
|
51
|
-
const
|
|
52
|
-
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
46
|
+
exports.resolveHttpAuthSchemeConfig = (config) => {
|
|
47
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
53
48
|
return Object.assign(config_0, {
|
|
54
|
-
authSchemePreference:
|
|
49
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
55
50
|
});
|
|
56
51
|
};
|
|
57
|
-
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 p = "ref";
|
|
6
3
|
const a = -1, b = true, c = "isSet", d = "booleanEquals", e = "PartitionResult", f = "stringEquals", g = "getAttr", h = "https://signin.{Region}.{PartitionResult#dualStackDnsSuffix}", i = { [p]: "Endpoint" }, j = { "fn": g, "argv": [{ [p]: e }, "name"] }, k = { [p]: e }, l = { [p]: "Region" }, m = { "authSchemes": [{ "name": "sigv4", "signingName": "signin", "signingRegion": "{Region}" }] }, n = {}, o = [l];
|
|
7
4
|
const _data = {
|
|
@@ -90,4 +87,4 @@ const nodes = new Int32Array([
|
|
|
90
87
|
6, r + 1, 33,
|
|
91
88
|
7, r + 2, r + 3,
|
|
92
89
|
]);
|
|
93
|
-
exports.bdd =
|
|
90
|
+
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", "IsControlPlane", "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, defaultSigninHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
+
const { CreateOAuth2Token$, DeleteConsoleAuthorizationConfiguration$, DeleteResourcePermissionStatement$, GetConsoleAuthorizationConfiguration$, GetResourcePolicy$, ListResourcePermissionStatements$, PutConsoleAuthorizationConfiguration$, PutResourcePermissionStatement$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
__exportStar(require("./models/errors"), exports);
|
|
17
|
+
const { SigninServiceException } = require("./models/SigninServiceException");
|
|
18
|
+
exports.SigninServiceException = SigninServiceException;
|
|
16
19
|
|
|
17
20
|
const resolveClientEndpointParameters = (options) => {
|
|
18
21
|
return Object.assign(options, {
|
|
@@ -68,167 +71,167 @@ 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 SigninClient extends
|
|
79
|
+
class SigninClient 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: defaultSigninHttpAuthSchemeParametersProvider,
|
|
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 CreateOAuth2TokenCommand extends
|
|
114
|
+
class CreateOAuth2TokenCommand extends Command
|
|
112
115
|
.classBuilder()
|
|
113
116
|
.ep({
|
|
114
117
|
...commonParams,
|
|
115
118
|
IsControlPlane: { type: "staticContextParams", value: false },
|
|
116
119
|
})
|
|
117
120
|
.m(function (Command, cs, config, o) {
|
|
118
|
-
return [
|
|
121
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
119
122
|
})
|
|
120
123
|
.s("Signin", "CreateOAuth2Token", {})
|
|
121
124
|
.n("SigninClient", "CreateOAuth2TokenCommand")
|
|
122
|
-
.sc(
|
|
125
|
+
.sc(CreateOAuth2Token$)
|
|
123
126
|
.build() {
|
|
124
127
|
}
|
|
125
128
|
|
|
126
|
-
class DeleteConsoleAuthorizationConfigurationCommand extends
|
|
129
|
+
class DeleteConsoleAuthorizationConfigurationCommand extends Command
|
|
127
130
|
.classBuilder()
|
|
128
131
|
.ep({
|
|
129
132
|
...commonParams,
|
|
130
133
|
IsControlPlane: { type: "staticContextParams", value: true },
|
|
131
134
|
})
|
|
132
135
|
.m(function (Command, cs, config, o) {
|
|
133
|
-
return [
|
|
136
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
134
137
|
})
|
|
135
138
|
.s("Signin", "DeleteConsoleAuthorizationConfiguration", {})
|
|
136
139
|
.n("SigninClient", "DeleteConsoleAuthorizationConfigurationCommand")
|
|
137
|
-
.sc(
|
|
140
|
+
.sc(DeleteConsoleAuthorizationConfiguration$)
|
|
138
141
|
.build() {
|
|
139
142
|
}
|
|
140
143
|
|
|
141
|
-
class DeleteResourcePermissionStatementCommand extends
|
|
144
|
+
class DeleteResourcePermissionStatementCommand extends Command
|
|
142
145
|
.classBuilder()
|
|
143
146
|
.ep({
|
|
144
147
|
...commonParams,
|
|
145
148
|
IsControlPlane: { type: "staticContextParams", value: true },
|
|
146
149
|
})
|
|
147
150
|
.m(function (Command, cs, config, o) {
|
|
148
|
-
return [
|
|
151
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
149
152
|
})
|
|
150
153
|
.s("Signin", "DeleteResourcePermissionStatement", {})
|
|
151
154
|
.n("SigninClient", "DeleteResourcePermissionStatementCommand")
|
|
152
|
-
.sc(
|
|
155
|
+
.sc(DeleteResourcePermissionStatement$)
|
|
153
156
|
.build() {
|
|
154
157
|
}
|
|
155
158
|
|
|
156
|
-
class GetConsoleAuthorizationConfigurationCommand extends
|
|
159
|
+
class GetConsoleAuthorizationConfigurationCommand extends Command
|
|
157
160
|
.classBuilder()
|
|
158
161
|
.ep({
|
|
159
162
|
...commonParams,
|
|
160
163
|
IsControlPlane: { type: "staticContextParams", value: true },
|
|
161
164
|
})
|
|
162
165
|
.m(function (Command, cs, config, o) {
|
|
163
|
-
return [
|
|
166
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
164
167
|
})
|
|
165
168
|
.s("Signin", "GetConsoleAuthorizationConfiguration", {})
|
|
166
169
|
.n("SigninClient", "GetConsoleAuthorizationConfigurationCommand")
|
|
167
|
-
.sc(
|
|
170
|
+
.sc(GetConsoleAuthorizationConfiguration$)
|
|
168
171
|
.build() {
|
|
169
172
|
}
|
|
170
173
|
|
|
171
|
-
class GetResourcePolicyCommand extends
|
|
174
|
+
class GetResourcePolicyCommand extends Command
|
|
172
175
|
.classBuilder()
|
|
173
176
|
.ep({
|
|
174
177
|
...commonParams,
|
|
175
178
|
IsControlPlane: { type: "staticContextParams", value: true },
|
|
176
179
|
})
|
|
177
180
|
.m(function (Command, cs, config, o) {
|
|
178
|
-
return [
|
|
181
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
179
182
|
})
|
|
180
183
|
.s("Signin", "GetResourcePolicy", {})
|
|
181
184
|
.n("SigninClient", "GetResourcePolicyCommand")
|
|
182
|
-
.sc(
|
|
185
|
+
.sc(GetResourcePolicy$)
|
|
183
186
|
.build() {
|
|
184
187
|
}
|
|
185
188
|
|
|
186
|
-
class ListResourcePermissionStatementsCommand extends
|
|
189
|
+
class ListResourcePermissionStatementsCommand extends Command
|
|
187
190
|
.classBuilder()
|
|
188
191
|
.ep({
|
|
189
192
|
...commonParams,
|
|
190
193
|
IsControlPlane: { type: "staticContextParams", value: true },
|
|
191
194
|
})
|
|
192
195
|
.m(function (Command, cs, config, o) {
|
|
193
|
-
return [
|
|
196
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
194
197
|
})
|
|
195
198
|
.s("Signin", "ListResourcePermissionStatements", {})
|
|
196
199
|
.n("SigninClient", "ListResourcePermissionStatementsCommand")
|
|
197
|
-
.sc(
|
|
200
|
+
.sc(ListResourcePermissionStatements$)
|
|
198
201
|
.build() {
|
|
199
202
|
}
|
|
200
203
|
|
|
201
|
-
class PutConsoleAuthorizationConfigurationCommand extends
|
|
204
|
+
class PutConsoleAuthorizationConfigurationCommand extends Command
|
|
202
205
|
.classBuilder()
|
|
203
206
|
.ep({
|
|
204
207
|
...commonParams,
|
|
205
208
|
IsControlPlane: { type: "staticContextParams", value: true },
|
|
206
209
|
})
|
|
207
210
|
.m(function (Command, cs, config, o) {
|
|
208
|
-
return [
|
|
211
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
209
212
|
})
|
|
210
213
|
.s("Signin", "PutConsoleAuthorizationConfiguration", {})
|
|
211
214
|
.n("SigninClient", "PutConsoleAuthorizationConfigurationCommand")
|
|
212
|
-
.sc(
|
|
215
|
+
.sc(PutConsoleAuthorizationConfiguration$)
|
|
213
216
|
.build() {
|
|
214
217
|
}
|
|
215
218
|
|
|
216
|
-
class PutResourcePermissionStatementCommand extends
|
|
219
|
+
class PutResourcePermissionStatementCommand extends Command
|
|
217
220
|
.classBuilder()
|
|
218
221
|
.ep({
|
|
219
222
|
...commonParams,
|
|
220
223
|
IsControlPlane: { type: "staticContextParams", value: true },
|
|
221
224
|
})
|
|
222
225
|
.m(function (Command, cs, config, o) {
|
|
223
|
-
return [
|
|
226
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
224
227
|
})
|
|
225
228
|
.s("Signin", "PutResourcePermissionStatement", {})
|
|
226
229
|
.n("SigninClient", "PutResourcePermissionStatementCommand")
|
|
227
|
-
.sc(
|
|
230
|
+
.sc(PutResourcePermissionStatement$)
|
|
228
231
|
.build() {
|
|
229
232
|
}
|
|
230
233
|
|
|
231
|
-
const paginateListResourcePermissionStatements =
|
|
234
|
+
const paginateListResourcePermissionStatements = createPaginator(SigninClient, ListResourcePermissionStatementsCommand, "nextToken", "nextToken", "maxResults");
|
|
232
235
|
|
|
233
236
|
const commands = {
|
|
234
237
|
CreateOAuth2TokenCommand,
|
|
@@ -245,7 +248,7 @@ const paginators = {
|
|
|
245
248
|
};
|
|
246
249
|
class Signin extends SigninClient {
|
|
247
250
|
}
|
|
248
|
-
|
|
251
|
+
createAggregatedClient(commands, Signin, { paginators });
|
|
249
252
|
|
|
250
253
|
const OAuth2ErrorCode = {
|
|
251
254
|
AUTHCODE_EXPIRED: "AUTHCODE_EXPIRED",
|
|
@@ -259,9 +262,6 @@ const OAuth2ErrorCode = {
|
|
|
259
262
|
USER_CREDENTIALS_CHANGED: "USER_CREDENTIALS_CHANGED",
|
|
260
263
|
};
|
|
261
264
|
|
|
262
|
-
exports.$Command = client.Command;
|
|
263
|
-
exports.__Client = client.Client;
|
|
264
|
-
exports.SigninServiceException = SigninServiceException.SigninServiceException;
|
|
265
265
|
exports.CreateOAuth2TokenCommand = CreateOAuth2TokenCommand;
|
|
266
266
|
exports.DeleteConsoleAuthorizationConfigurationCommand = DeleteConsoleAuthorizationConfigurationCommand;
|
|
267
267
|
exports.DeleteResourcePermissionStatementCommand = DeleteResourcePermissionStatementCommand;
|
|
@@ -274,23 +274,3 @@ exports.PutResourcePermissionStatementCommand = PutResourcePermissionStatementCo
|
|
|
274
274
|
exports.Signin = Signin;
|
|
275
275
|
exports.SigninClient = SigninClient;
|
|
276
276
|
exports.paginateListResourcePermissionStatements = paginateListResourcePermissionStatements;
|
|
277
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
278
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
279
|
-
Object.defineProperty(exports, '__proto__', {
|
|
280
|
-
enumerable: true,
|
|
281
|
-
value: schemas_0['__proto__']
|
|
282
|
-
});
|
|
283
|
-
|
|
284
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
285
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
286
|
-
});
|
|
287
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
288
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
289
|
-
Object.defineProperty(exports, '__proto__', {
|
|
290
|
-
enumerable: true,
|
|
291
|
-
value: errors['__proto__']
|
|
292
|
-
});
|
|
293
|
-
|
|
294
|
-
Object.keys(errors).forEach(function (k) {
|
|
295
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
296
|
-
});
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.SigninServiceException =
|
|
4
|
-
const client_1 = require("@smithy/core/client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
-
class SigninServiceException extends client_1.ServiceException {
|
|
1
|
+
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
+
exports.__ServiceException = __ServiceException;
|
|
3
|
+
exports.SigninServiceException = class SigninServiceException extends __ServiceException {
|
|
7
4
|
constructor(options) {
|
|
8
5
|
super(options);
|
|
9
6
|
Object.setPrototypeOf(this, SigninServiceException.prototype);
|
|
10
7
|
}
|
|
11
|
-
}
|
|
12
|
-
exports.SigninServiceException = SigninServiceException;
|
|
8
|
+
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ValidationException = exports.TooManyRequestsError = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
-
const SigninServiceException_1 = require("./SigninServiceException");
|
|
5
|
-
class AccessDeniedException extends SigninServiceException_1.SigninServiceException {
|
|
1
|
+
const { SigninServiceException: __BaseException } = require("./SigninServiceException");
|
|
2
|
+
exports.AccessDeniedException = class AccessDeniedException extends __BaseException {
|
|
6
3
|
name = "AccessDeniedException";
|
|
7
4
|
$fault = "client";
|
|
8
5
|
error;
|
|
@@ -15,9 +12,8 @@ class AccessDeniedException extends SigninServiceException_1.SigninServiceExcept
|
|
|
15
12
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
13
|
this.error = opts.error;
|
|
17
14
|
}
|
|
18
|
-
}
|
|
19
|
-
exports.
|
|
20
|
-
class ConflictException extends SigninServiceException_1.SigninServiceException {
|
|
15
|
+
};
|
|
16
|
+
exports.ConflictException = class ConflictException extends __BaseException {
|
|
21
17
|
name = "ConflictException";
|
|
22
18
|
$fault = "client";
|
|
23
19
|
error;
|
|
@@ -30,9 +26,8 @@ class ConflictException extends SigninServiceException_1.SigninServiceException
|
|
|
30
26
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
31
27
|
this.error = opts.error;
|
|
32
28
|
}
|
|
33
|
-
}
|
|
34
|
-
exports.
|
|
35
|
-
class InternalServerException extends SigninServiceException_1.SigninServiceException {
|
|
29
|
+
};
|
|
30
|
+
exports.InternalServerException = class InternalServerException extends __BaseException {
|
|
36
31
|
name = "InternalServerException";
|
|
37
32
|
$fault = "server";
|
|
38
33
|
error;
|
|
@@ -45,9 +40,8 @@ class InternalServerException extends SigninServiceException_1.SigninServiceExce
|
|
|
45
40
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
46
41
|
this.error = opts.error;
|
|
47
42
|
}
|
|
48
|
-
}
|
|
49
|
-
exports.
|
|
50
|
-
class TooManyRequestsError extends SigninServiceException_1.SigninServiceException {
|
|
43
|
+
};
|
|
44
|
+
exports.TooManyRequestsError = class TooManyRequestsError extends __BaseException {
|
|
51
45
|
name = "TooManyRequestsError";
|
|
52
46
|
$fault = "client";
|
|
53
47
|
error;
|
|
@@ -60,9 +54,8 @@ class TooManyRequestsError extends SigninServiceException_1.SigninServiceExcepti
|
|
|
60
54
|
Object.setPrototypeOf(this, TooManyRequestsError.prototype);
|
|
61
55
|
this.error = opts.error;
|
|
62
56
|
}
|
|
63
|
-
}
|
|
64
|
-
exports.
|
|
65
|
-
class ValidationException extends SigninServiceException_1.SigninServiceException {
|
|
57
|
+
};
|
|
58
|
+
exports.ValidationException = class ValidationException extends __BaseException {
|
|
66
59
|
name = "ValidationException";
|
|
67
60
|
$fault = "client";
|
|
68
61
|
error;
|
|
@@ -75,9 +68,8 @@ class ValidationException extends SigninServiceException_1.SigninServiceExceptio
|
|
|
75
68
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
76
69
|
this.error = opts.error;
|
|
77
70
|
}
|
|
78
|
-
}
|
|
79
|
-
exports.
|
|
80
|
-
class ResourceNotFoundException extends SigninServiceException_1.SigninServiceException {
|
|
71
|
+
};
|
|
72
|
+
exports.ResourceNotFoundException = class ResourceNotFoundException extends __BaseException {
|
|
81
73
|
name = "ResourceNotFoundException";
|
|
82
74
|
$fault = "client";
|
|
83
75
|
error;
|
|
@@ -90,9 +82,8 @@ class ResourceNotFoundException extends SigninServiceException_1.SigninServiceEx
|
|
|
90
82
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
91
83
|
this.error = opts.error;
|
|
92
84
|
}
|
|
93
|
-
}
|
|
94
|
-
exports.
|
|
95
|
-
class ServiceQuotaExceededException extends SigninServiceException_1.SigninServiceException {
|
|
85
|
+
};
|
|
86
|
+
exports.ServiceQuotaExceededException = class ServiceQuotaExceededException extends __BaseException {
|
|
96
87
|
name = "ServiceQuotaExceededException";
|
|
97
88
|
$fault = "client";
|
|
98
89
|
error;
|
|
@@ -105,5 +96,4 @@ class ServiceQuotaExceededException extends SigninServiceException_1.SigninServi
|
|
|
105
96
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
106
97
|
this.error = opts.error;
|
|
107
98
|
}
|
|
108
|
-
}
|
|
109
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
99
|
+
};
|
|
@@ -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,48 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
-
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
|
-
const getRuntimeConfig = (config) => {
|
|
1
|
+
const { AwsSdkSigV4Signer } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
3
|
+
const { NoAuthSigner } = require("@smithy/core");
|
|
4
|
+
const { NoOpLogger } = require("@smithy/core/client");
|
|
5
|
+
const { parseUrl } = require("@smithy/core/protocols");
|
|
6
|
+
const { fromBase64, fromUtf8, toBase64, toUtf8 } = require("@smithy/core/serde");
|
|
7
|
+
const { defaultSigninHttpAuthSchemeProvider } = require("./auth/httpAuthSchemeProvider");
|
|
8
|
+
const { defaultEndpointResolver } = require("./endpoint/endpointResolver");
|
|
9
|
+
const { errorTypeRegistries } = require("./schemas/schemas_0");
|
|
10
|
+
exports.getRuntimeConfig = (config) => {
|
|
14
11
|
return {
|
|
15
12
|
apiVersion: "2023-01-01",
|
|
16
|
-
base64Decoder: config?.base64Decoder ??
|
|
17
|
-
base64Encoder: config?.base64Encoder ??
|
|
13
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
14
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
18
15
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
19
|
-
endpointProvider: config?.endpointProvider ??
|
|
16
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
20
17
|
extensions: config?.extensions ?? [],
|
|
21
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ??
|
|
18
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSigninHttpAuthSchemeProvider,
|
|
22
19
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
23
20
|
{
|
|
24
21
|
schemeId: "aws.auth#sigv4",
|
|
25
22
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
26
|
-
signer: new
|
|
23
|
+
signer: new AwsSdkSigV4Signer(),
|
|
27
24
|
},
|
|
28
25
|
{
|
|
29
26
|
schemeId: "smithy.api#noAuth",
|
|
30
27
|
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})),
|
|
31
|
-
signer: new
|
|
28
|
+
signer: new NoAuthSigner(),
|
|
32
29
|
},
|
|
33
30
|
],
|
|
34
|
-
logger: config?.logger ?? new
|
|
35
|
-
protocol: config?.protocol ??
|
|
31
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
32
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
36
33
|
protocolSettings: config?.protocolSettings ?? {
|
|
37
34
|
defaultNamespace: "com.amazonaws.signin",
|
|
38
|
-
errorTypeRegistries
|
|
35
|
+
errorTypeRegistries,
|
|
39
36
|
version: "2023-01-01",
|
|
40
37
|
serviceTarget: "Signin",
|
|
41
38
|
},
|
|
42
39
|
serviceId: config?.serviceId ?? "Signin",
|
|
43
|
-
urlParser: config?.urlParser ??
|
|
44
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
45
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
40
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
41
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
42
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
46
43
|
};
|
|
47
44
|
};
|
|
48
|
-
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PutResourcePermissionStatement$ = exports.PutConsoleAuthorizationConfiguration$ = exports.ListResourcePermissionStatements$ = exports.GetResourcePolicy$ = exports.GetConsoleAuthorizationConfiguration$ = exports.DeleteResourcePermissionStatement$ = exports.DeleteConsoleAuthorizationConfiguration$ = exports.CreateOAuth2Token$ = exports.SigninResourceBasedPolicy$ = exports.PutResourcePermissionStatementOutput$ = exports.PutResourcePermissionStatementInput$ = exports.PutConsoleAuthorizationConfigurationOutput$ = exports.PutConsoleAuthorizationConfigurationInput$ = exports.PolicyStatement$ = exports.PermissionStatementSummary$ = exports.ListResourcePermissionStatementsOutput$ = exports.ListResourcePermissionStatementsInput$ = exports.GetResourcePolicyOutput$ = exports.GetResourcePolicyInput$ = exports.GetConsoleAuthorizationConfigurationOutput$ = exports.GetConsoleAuthorizationConfigurationInput$ = exports.DeleteResourcePermissionStatementOutput$ = exports.DeleteResourcePermissionStatementInput$ = exports.DeleteConsoleAuthorizationConfigurationOutput$ = exports.DeleteConsoleAuthorizationConfigurationInput$ = exports.CreateOAuth2TokenResponseBody$ = exports.CreateOAuth2TokenResponse$ = exports.CreateOAuth2TokenRequestBody$ = exports.CreateOAuth2TokenRequest$ = exports.AccessToken$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyRequestsError$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.SigninServiceException$ = void 0;
|
|
4
1
|
const _A = "Action";
|
|
5
2
|
const _ADE = "AccessDeniedException";
|
|
6
3
|
const _AT = "AccessToken";
|
|
@@ -97,177 +94,207 @@ const _tT = "tokenType";
|
|
|
97
94
|
const _v = "version";
|
|
98
95
|
const _vSI = "vpcSourceIp";
|
|
99
96
|
const n0 = "com.amazonaws.signin";
|
|
100
|
-
const
|
|
101
|
-
const
|
|
102
|
-
const
|
|
103
|
-
const _s_registry =
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
97
|
+
const { TypeRegistry } = require("@smithy/core/schema");
|
|
98
|
+
const { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, TooManyRequestsError, ValidationException } = require("../models/errors");
|
|
99
|
+
const { SigninServiceException } = require("../models/SigninServiceException");
|
|
100
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
101
|
+
const SigninServiceException$ = [-3, _s, "SigninServiceException", 0, [], []];
|
|
102
|
+
exports.SigninServiceException$ = SigninServiceException$;
|
|
103
|
+
_s_registry.registerError(SigninServiceException$, SigninServiceException);
|
|
104
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
105
|
+
const AccessDeniedException$ = [-3, n0, _ADE,
|
|
108
106
|
{ [_e]: _c },
|
|
109
107
|
[_e, _m],
|
|
110
108
|
[0, 0], 2
|
|
111
109
|
];
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
111
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
112
|
+
const ConflictException$ = [-3, n0, _CE,
|
|
114
113
|
{ [_e]: _c, [_hE]: 409 },
|
|
115
114
|
[_e, _m],
|
|
116
115
|
[0, 0], 2
|
|
117
116
|
];
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
exports.ConflictException$ = ConflictException$;
|
|
118
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
119
|
+
const InternalServerException$ = [-3, n0, _ISE,
|
|
120
120
|
{ [_e]: _se, [_hE]: 500 },
|
|
121
121
|
[_e, _m],
|
|
122
122
|
[0, 0], 2
|
|
123
123
|
];
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
125
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
126
|
+
const ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
126
127
|
{ [_e]: _c, [_hE]: 404 },
|
|
127
128
|
[_e, _m],
|
|
128
129
|
[0, 0], 2
|
|
129
130
|
];
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
132
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
133
|
+
const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
132
134
|
{ [_e]: _c, [_hE]: 402 },
|
|
133
135
|
[_e, _m],
|
|
134
136
|
[0, 0], 2
|
|
135
137
|
];
|
|
136
|
-
|
|
137
|
-
|
|
138
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
139
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
140
|
+
const TooManyRequestsError$ = [-3, n0, _TMRE,
|
|
138
141
|
{ [_e]: _c, [_hE]: 429 },
|
|
139
142
|
[_e, _m],
|
|
140
143
|
[0, 0], 2
|
|
141
144
|
];
|
|
142
|
-
|
|
143
|
-
|
|
145
|
+
exports.TooManyRequestsError$ = TooManyRequestsError$;
|
|
146
|
+
n0_registry.registerError(TooManyRequestsError$, TooManyRequestsError);
|
|
147
|
+
const ValidationException$ = [-3, n0, _VE,
|
|
144
148
|
{ [_e]: _c, [_hE]: 400 },
|
|
145
149
|
[_e, _m],
|
|
146
150
|
[0, 0], 2
|
|
147
151
|
];
|
|
148
|
-
|
|
152
|
+
exports.ValidationException$ = ValidationException$;
|
|
153
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
149
154
|
exports.errorTypeRegistries = [
|
|
150
155
|
_s_registry,
|
|
151
156
|
n0_registry,
|
|
152
157
|
];
|
|
153
158
|
var RefreshToken = [0, n0, _RT, 8, 0];
|
|
154
|
-
|
|
159
|
+
const AccessToken$ = [3, n0, _AT,
|
|
155
160
|
8,
|
|
156
161
|
[_aKI, _sAK, _sT],
|
|
157
162
|
[[0, { [_jN]: _aKI }], [0, { [_jN]: _sAK }], [0, { [_jN]: _sT }]], 3
|
|
158
163
|
];
|
|
159
|
-
exports.
|
|
164
|
+
exports.AccessToken$ = AccessToken$;
|
|
165
|
+
const CreateOAuth2TokenRequest$ = [3, n0, _COATR,
|
|
160
166
|
0,
|
|
161
167
|
[_tI],
|
|
162
|
-
[[() =>
|
|
168
|
+
[[() => CreateOAuth2TokenRequestBody$, 16]], 1
|
|
163
169
|
];
|
|
164
|
-
exports.
|
|
170
|
+
exports.CreateOAuth2TokenRequest$ = CreateOAuth2TokenRequest$;
|
|
171
|
+
const CreateOAuth2TokenRequestBody$ = [3, n0, _COATRB,
|
|
165
172
|
0,
|
|
166
173
|
[_cI, _gT, _co, _rU, _cV, _rT],
|
|
167
174
|
[[0, { [_jN]: _cI }], [0, { [_jN]: _gT }], 0, [0, { [_jN]: _rU }], [0, { [_jN]: _cV }], [() => RefreshToken, { [_jN]: _rT }]], 2
|
|
168
175
|
];
|
|
169
|
-
exports.
|
|
176
|
+
exports.CreateOAuth2TokenRequestBody$ = CreateOAuth2TokenRequestBody$;
|
|
177
|
+
const CreateOAuth2TokenResponse$ = [3, n0, _COATRr,
|
|
170
178
|
0,
|
|
171
179
|
[_tO],
|
|
172
|
-
[[() =>
|
|
180
|
+
[[() => CreateOAuth2TokenResponseBody$, 16]], 1
|
|
173
181
|
];
|
|
174
|
-
exports.
|
|
182
|
+
exports.CreateOAuth2TokenResponse$ = CreateOAuth2TokenResponse$;
|
|
183
|
+
const CreateOAuth2TokenResponseBody$ = [3, n0, _COATRBr,
|
|
175
184
|
0,
|
|
176
185
|
[_aT, _tT, _eI, _rT, _iT],
|
|
177
|
-
[[() =>
|
|
186
|
+
[[() => AccessToken$, { [_jN]: _aT }], [0, { [_jN]: _tT }], [1, { [_jN]: _eI }], [() => RefreshToken, { [_jN]: _rT }], [0, { [_jN]: _iT }]], 4
|
|
178
187
|
];
|
|
179
|
-
exports.
|
|
188
|
+
exports.CreateOAuth2TokenResponseBody$ = CreateOAuth2TokenResponseBody$;
|
|
189
|
+
const DeleteConsoleAuthorizationConfigurationInput$ = [3, n0, _DCACI,
|
|
180
190
|
0,
|
|
181
191
|
[_tIa],
|
|
182
192
|
[0]
|
|
183
193
|
];
|
|
184
|
-
exports.
|
|
194
|
+
exports.DeleteConsoleAuthorizationConfigurationInput$ = DeleteConsoleAuthorizationConfigurationInput$;
|
|
195
|
+
const DeleteConsoleAuthorizationConfigurationOutput$ = [3, n0, _DCACO,
|
|
185
196
|
0,
|
|
186
197
|
[_tIa, _sc, _cAE],
|
|
187
198
|
[0, 0, 2], 3
|
|
188
199
|
];
|
|
189
|
-
exports.
|
|
200
|
+
exports.DeleteConsoleAuthorizationConfigurationOutput$ = DeleteConsoleAuthorizationConfigurationOutput$;
|
|
201
|
+
const DeleteResourcePermissionStatementInput$ = [3, n0, _DRPSI,
|
|
190
202
|
0,
|
|
191
203
|
[_sI, _cT],
|
|
192
204
|
[0, [0, 4]], 1
|
|
193
205
|
];
|
|
194
|
-
exports.
|
|
206
|
+
exports.DeleteResourcePermissionStatementInput$ = DeleteResourcePermissionStatementInput$;
|
|
207
|
+
const DeleteResourcePermissionStatementOutput$ = [3, n0, _DRPSO,
|
|
195
208
|
0,
|
|
196
209
|
[],
|
|
197
210
|
[]
|
|
198
211
|
];
|
|
199
|
-
exports.
|
|
212
|
+
exports.DeleteResourcePermissionStatementOutput$ = DeleteResourcePermissionStatementOutput$;
|
|
213
|
+
const GetConsoleAuthorizationConfigurationInput$ = [3, n0, _GCACI,
|
|
200
214
|
0,
|
|
201
215
|
[_tIa],
|
|
202
216
|
[0]
|
|
203
217
|
];
|
|
204
|
-
exports.
|
|
218
|
+
exports.GetConsoleAuthorizationConfigurationInput$ = GetConsoleAuthorizationConfigurationInput$;
|
|
219
|
+
const GetConsoleAuthorizationConfigurationOutput$ = [3, n0, _GCACO,
|
|
205
220
|
0,
|
|
206
221
|
[_tIa, _sc, _cAE],
|
|
207
222
|
[0, 0, 2], 3
|
|
208
223
|
];
|
|
209
|
-
exports.
|
|
224
|
+
exports.GetConsoleAuthorizationConfigurationOutput$ = GetConsoleAuthorizationConfigurationOutput$;
|
|
225
|
+
const GetResourcePolicyInput$ = [3, n0, _GRPI,
|
|
210
226
|
0,
|
|
211
227
|
[],
|
|
212
228
|
[]
|
|
213
229
|
];
|
|
214
|
-
exports.
|
|
230
|
+
exports.GetResourcePolicyInput$ = GetResourcePolicyInput$;
|
|
231
|
+
const GetResourcePolicyOutput$ = [3, n0, _GRPO,
|
|
215
232
|
0,
|
|
216
233
|
[_sRBP],
|
|
217
|
-
[[() =>
|
|
234
|
+
[[() => SigninResourceBasedPolicy$, 0]], 1
|
|
218
235
|
];
|
|
219
|
-
exports.
|
|
236
|
+
exports.GetResourcePolicyOutput$ = GetResourcePolicyOutput$;
|
|
237
|
+
const ListResourcePermissionStatementsInput$ = [3, n0, _LRPSI,
|
|
220
238
|
0,
|
|
221
239
|
[_mR, _nT],
|
|
222
240
|
[1, 0]
|
|
223
241
|
];
|
|
224
|
-
exports.
|
|
242
|
+
exports.ListResourcePermissionStatementsInput$ = ListResourcePermissionStatementsInput$;
|
|
243
|
+
const ListResourcePermissionStatementsOutput$ = [3, n0, _LRPSO,
|
|
225
244
|
0,
|
|
226
245
|
[_pS, _nT],
|
|
227
246
|
[() => PermissionStatementSummaries, 0], 1
|
|
228
247
|
];
|
|
229
|
-
exports.
|
|
248
|
+
exports.ListResourcePermissionStatementsOutput$ = ListResourcePermissionStatementsOutput$;
|
|
249
|
+
const PermissionStatementSummary$ = [3, n0, _PSS,
|
|
230
250
|
0,
|
|
231
251
|
[_si, _con],
|
|
232
252
|
[0, [2, n0, _CB, 0, 0, [2, n0, _C, 0, 0, 64 | 0]]], 1
|
|
233
253
|
];
|
|
234
|
-
exports.
|
|
254
|
+
exports.PermissionStatementSummary$ = PermissionStatementSummary$;
|
|
255
|
+
const PolicyStatement$ = [3, n0, _PS,
|
|
235
256
|
0,
|
|
236
257
|
[_ef, _p, _a, _r, _con],
|
|
237
258
|
[[0, { [_jN]: _E }], [128 | 0, { [_jN]: _P }], [64 | 0, { [_jN]: _A }], [0, { [_jN]: _R }], [[2, n0, _CB, 0, 0, [2, n0, _C, 0, 0, 64 | 0]], { [_jN]: _C }]]
|
|
238
259
|
];
|
|
239
|
-
exports.
|
|
260
|
+
exports.PolicyStatement$ = PolicyStatement$;
|
|
261
|
+
const PutConsoleAuthorizationConfigurationInput$ = [3, n0, _PCACI,
|
|
240
262
|
0,
|
|
241
263
|
[_tIa],
|
|
242
264
|
[0]
|
|
243
265
|
];
|
|
244
|
-
exports.
|
|
266
|
+
exports.PutConsoleAuthorizationConfigurationInput$ = PutConsoleAuthorizationConfigurationInput$;
|
|
267
|
+
const PutConsoleAuthorizationConfigurationOutput$ = [3, n0, _PCACO,
|
|
245
268
|
0,
|
|
246
269
|
[_tIa, _sc, _cAE],
|
|
247
270
|
[0, 0, 2], 3
|
|
248
271
|
];
|
|
249
|
-
exports.
|
|
272
|
+
exports.PutConsoleAuthorizationConfigurationOutput$ = PutConsoleAuthorizationConfigurationOutput$;
|
|
273
|
+
const PutResourcePermissionStatementInput$ = [3, n0, _PRPSI,
|
|
250
274
|
0,
|
|
251
275
|
[_sV, _sSV, _cSV, _vSI, _sIo, _rR, _eP, _cT],
|
|
252
276
|
[0, 0, 0, 0, 0, 0, 0, [0, 4]]
|
|
253
277
|
];
|
|
254
|
-
exports.
|
|
278
|
+
exports.PutResourcePermissionStatementInput$ = PutResourcePermissionStatementInput$;
|
|
279
|
+
const PutResourcePermissionStatementOutput$ = [3, n0, _PRPSO,
|
|
255
280
|
0,
|
|
256
281
|
[_sI],
|
|
257
282
|
[0], 1
|
|
258
283
|
];
|
|
259
|
-
exports.
|
|
284
|
+
exports.PutResourcePermissionStatementOutput$ = PutResourcePermissionStatementOutput$;
|
|
285
|
+
const SigninResourceBasedPolicy$ = [3, n0, _SRBP,
|
|
260
286
|
0,
|
|
261
287
|
[_v, _st],
|
|
262
288
|
[[0, { [_jN]: _V }], [() => PolicyStatements, { [_jN]: _S }]]
|
|
263
289
|
];
|
|
290
|
+
exports.SigninResourceBasedPolicy$ = SigninResourceBasedPolicy$;
|
|
264
291
|
var ConditionValues = 64 | 0;
|
|
265
292
|
var PermissionStatementSummaries = [1, n0, _PSSe,
|
|
266
|
-
0, () =>
|
|
293
|
+
0, () => PermissionStatementSummary$
|
|
267
294
|
];
|
|
268
295
|
var PolicyActions = 64 | 0;
|
|
269
296
|
var PolicyStatements = [1, n0, _PSo,
|
|
270
|
-
0, [() =>
|
|
297
|
+
0, [() => PolicyStatement$,
|
|
271
298
|
0]
|
|
272
299
|
];
|
|
273
300
|
var Condition = [2, n0, _C,
|
|
@@ -278,26 +305,26 @@ var ConditionBlock = [2, n0, _CB,
|
|
|
278
305
|
];
|
|
279
306
|
var Principal = 128 | 0;
|
|
280
307
|
exports.CreateOAuth2Token$ = [9, n0, _COAT,
|
|
281
|
-
{ [_h]: ["POST", "/v1/token", 200] }, () =>
|
|
308
|
+
{ [_h]: ["POST", "/v1/token", 200] }, () => CreateOAuth2TokenRequest$, () => CreateOAuth2TokenResponse$
|
|
282
309
|
];
|
|
283
310
|
exports.DeleteConsoleAuthorizationConfiguration$ = [9, n0, _DCAC,
|
|
284
|
-
{ [_h]: ["POST", "/delete-console-authorization-configuration", 200] }, () =>
|
|
311
|
+
{ [_h]: ["POST", "/delete-console-authorization-configuration", 200] }, () => DeleteConsoleAuthorizationConfigurationInput$, () => DeleteConsoleAuthorizationConfigurationOutput$
|
|
285
312
|
];
|
|
286
313
|
exports.DeleteResourcePermissionStatement$ = [9, n0, _DRPS,
|
|
287
|
-
{ [_h]: ["POST", "/delete-resource-permission-statement", 200] }, () =>
|
|
314
|
+
{ [_h]: ["POST", "/delete-resource-permission-statement", 200] }, () => DeleteResourcePermissionStatementInput$, () => DeleteResourcePermissionStatementOutput$
|
|
288
315
|
];
|
|
289
316
|
exports.GetConsoleAuthorizationConfiguration$ = [9, n0, _GCAC,
|
|
290
|
-
{ [_h]: ["POST", "/get-console-authorization-configuration", 200] }, () =>
|
|
317
|
+
{ [_h]: ["POST", "/get-console-authorization-configuration", 200] }, () => GetConsoleAuthorizationConfigurationInput$, () => GetConsoleAuthorizationConfigurationOutput$
|
|
291
318
|
];
|
|
292
319
|
exports.GetResourcePolicy$ = [9, n0, _GRP,
|
|
293
|
-
{ [_h]: ["POST", "/get-resource-policy", 200] }, () =>
|
|
320
|
+
{ [_h]: ["POST", "/get-resource-policy", 200] }, () => GetResourcePolicyInput$, () => GetResourcePolicyOutput$
|
|
294
321
|
];
|
|
295
322
|
exports.ListResourcePermissionStatements$ = [9, n0, _LRPS,
|
|
296
|
-
{ [_h]: ["POST", "/list-resource-permission-statements", 200] }, () =>
|
|
323
|
+
{ [_h]: ["POST", "/list-resource-permission-statements", 200] }, () => ListResourcePermissionStatementsInput$, () => ListResourcePermissionStatementsOutput$
|
|
297
324
|
];
|
|
298
325
|
exports.PutConsoleAuthorizationConfiguration$ = [9, n0, _PCAC,
|
|
299
|
-
{ [_h]: ["POST", "/put-console-authorization-configuration", 200] }, () =>
|
|
326
|
+
{ [_h]: ["POST", "/put-console-authorization-configuration", 200] }, () => PutConsoleAuthorizationConfigurationInput$, () => PutConsoleAuthorizationConfigurationOutput$
|
|
300
327
|
];
|
|
301
328
|
exports.PutResourcePermissionStatement$ = [9, n0, _PRPS,
|
|
302
|
-
{ [_h]: ["POST", "/put-resource-permission-statement", 200] }, () =>
|
|
329
|
+
{ [_h]: ["POST", "/put-resource-permission-statement", 200] }, () => PutResourcePermissionStatementInput$, () => PutResourcePermissionStatementOutput$
|
|
303
330
|
];
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-signin",
|
|
3
3
|
"description": "AWS SDK for JavaScript Signin 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": "yarn g:vitest run --passWithNoTests",
|
|
16
16
|
"test:watch": "yarn g:vitest watch --passWithNoTests",
|
|
17
17
|
"test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
|
|
18
|
-
"test:integration:watch": "yarn g:vitest
|
|
18
|
+
"test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts",
|
|
19
19
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
20
20
|
},
|
|
21
21
|
"main": "./dist-cjs/index.js",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
27
27
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
28
|
-
"@aws-sdk/core": "^3.974.
|
|
29
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
30
|
-
"@aws-sdk/types": "^3.973.
|
|
28
|
+
"@aws-sdk/core": "^3.974.21",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "^3.972.56",
|
|
30
|
+
"@aws-sdk/types": "^3.973.13",
|
|
31
31
|
"@smithy/core": "^3.24.6",
|
|
32
32
|
"@smithy/fetch-http-handler": "^5.4.6",
|
|
33
33
|
"@smithy/node-http-handler": "^4.7.6",
|