@aws-sdk/client-amplifybackend 3.928.0 → 3.929.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/index.js +3547 -1864
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/AmplifyBackendClient.js +2 -0
- package/dist-es/commands/CloneBackendCommand.js +3 -9
- package/dist-es/commands/CreateBackendAPICommand.js +3 -9
- package/dist-es/commands/CreateBackendAuthCommand.js +3 -10
- package/dist-es/commands/CreateBackendCommand.js +3 -9
- package/dist-es/commands/CreateBackendConfigCommand.js +3 -9
- package/dist-es/commands/CreateBackendStorageCommand.js +3 -9
- package/dist-es/commands/CreateTokenCommand.js +3 -9
- package/dist-es/commands/DeleteBackendAPICommand.js +3 -9
- package/dist-es/commands/DeleteBackendAuthCommand.js +3 -9
- package/dist-es/commands/DeleteBackendCommand.js +3 -9
- package/dist-es/commands/DeleteBackendStorageCommand.js +3 -9
- package/dist-es/commands/DeleteTokenCommand.js +3 -9
- package/dist-es/commands/GenerateBackendAPIModelsCommand.js +3 -9
- package/dist-es/commands/GetBackendAPICommand.js +3 -9
- package/dist-es/commands/GetBackendAPIModelsCommand.js +3 -9
- package/dist-es/commands/GetBackendAuthCommand.js +3 -10
- package/dist-es/commands/GetBackendCommand.js +3 -9
- package/dist-es/commands/GetBackendJobCommand.js +3 -9
- package/dist-es/commands/GetBackendStorageCommand.js +3 -9
- package/dist-es/commands/GetTokenCommand.js +3 -9
- package/dist-es/commands/ImportBackendAuthCommand.js +3 -9
- package/dist-es/commands/ImportBackendStorageCommand.js +3 -9
- package/dist-es/commands/ListBackendJobsCommand.js +3 -9
- package/dist-es/commands/ListS3BucketsCommand.js +3 -9
- package/dist-es/commands/RemoveAllBackendsCommand.js +3 -9
- package/dist-es/commands/RemoveBackendConfigCommand.js +3 -9
- package/dist-es/commands/UpdateBackendAPICommand.js +3 -9
- package/dist-es/commands/UpdateBackendAuthCommand.js +3 -10
- package/dist-es/commands/UpdateBackendConfigCommand.js +3 -9
- package/dist-es/commands/UpdateBackendJobCommand.js +3 -9
- package/dist-es/commands/UpdateBackendStorageCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -96
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +3480 -0
- package/dist-types/AmplifyBackendClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -72
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +144 -0
- package/dist-types/ts3.4/AmplifyBackendClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -52
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +149 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -1524
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -281
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -377
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListBackendJobs } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListBackendJobsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmplifyBackend", "ListBackendJobs", {})
|
|
17
13
|
.n("AmplifyBackendClient", "ListBackendJobsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListBackendJobsCommand)
|
|
20
|
-
.de(de_ListBackendJobsCommand)
|
|
14
|
+
.sc(ListBackendJobs)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListS3Buckets } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListS3BucketsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmplifyBackend", "ListS3Buckets", {})
|
|
17
13
|
.n("AmplifyBackendClient", "ListS3BucketsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListS3BucketsCommand)
|
|
20
|
-
.de(de_ListS3BucketsCommand)
|
|
14
|
+
.sc(ListS3Buckets)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RemoveAllBackends } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveAllBackendsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmplifyBackend", "RemoveAllBackends", {})
|
|
17
13
|
.n("AmplifyBackendClient", "RemoveAllBackendsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveAllBackendsCommand)
|
|
20
|
-
.de(de_RemoveAllBackendsCommand)
|
|
14
|
+
.sc(RemoveAllBackends)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RemoveBackendConfig } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveBackendConfigCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmplifyBackend", "RemoveBackendConfig", {})
|
|
17
13
|
.n("AmplifyBackendClient", "RemoveBackendConfigCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveBackendConfigCommand)
|
|
20
|
-
.de(de_RemoveBackendConfigCommand)
|
|
14
|
+
.sc(RemoveBackendConfig)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateBackendAPI } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateBackendAPICommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmplifyBackend", "UpdateBackendAPI", {})
|
|
17
13
|
.n("AmplifyBackendClient", "UpdateBackendAPICommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateBackendAPICommand)
|
|
20
|
-
.de(de_UpdateBackendAPICommand)
|
|
14
|
+
.sc(UpdateBackendAPI)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateBackendAuthCommand, se_UpdateBackendAuthCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateBackendAuth } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateBackendAuthCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmplifyBackend", "UpdateBackendAuth", {})
|
|
18
13
|
.n("AmplifyBackendClient", "UpdateBackendAuthCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateBackendAuthCommand)
|
|
21
|
-
.de(de_UpdateBackendAuthCommand)
|
|
14
|
+
.sc(UpdateBackendAuth)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateBackendConfig } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateBackendConfigCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmplifyBackend", "UpdateBackendConfig", {})
|
|
17
13
|
.n("AmplifyBackendClient", "UpdateBackendConfigCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateBackendConfigCommand)
|
|
20
|
-
.de(de_UpdateBackendConfigCommand)
|
|
14
|
+
.sc(UpdateBackendConfig)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateBackendJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateBackendJobCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmplifyBackend", "UpdateBackendJob", {})
|
|
17
13
|
.n("AmplifyBackendClient", "UpdateBackendJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateBackendJobCommand)
|
|
20
|
-
.de(de_UpdateBackendJobCommand)
|
|
14
|
+
.sc(UpdateBackendJob)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateBackendStorage } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateBackendStorageCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmplifyBackend", "UpdateBackendStorage", {})
|
|
17
13
|
.n("AmplifyBackendClient", "UpdateBackendStorageCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateBackendStorageCommand)
|
|
20
|
-
.de(de_UpdateBackendStorageCommand)
|
|
14
|
+
.sc(UpdateBackendStorage)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { AmplifyBackendServiceException as __BaseException } from "./AmplifyBackendServiceException";
|
|
3
2
|
export const AdditionalConstraintsElement = {
|
|
4
3
|
REQUIRE_DIGIT: "REQUIRE_DIGIT",
|
|
@@ -151,98 +150,3 @@ export const Status = {
|
|
|
151
150
|
LATEST: "LATEST",
|
|
152
151
|
STALE: "STALE",
|
|
153
152
|
};
|
|
154
|
-
export const EmailSettingsFilterSensitiveLog = (obj) => ({
|
|
155
|
-
...obj,
|
|
156
|
-
});
|
|
157
|
-
export const SmsSettingsFilterSensitiveLog = (obj) => ({
|
|
158
|
-
...obj,
|
|
159
|
-
});
|
|
160
|
-
export const CreateBackendAuthForgotPasswordConfigFilterSensitiveLog = (obj) => ({
|
|
161
|
-
...obj,
|
|
162
|
-
...(obj.EmailSettings && { EmailSettings: SENSITIVE_STRING }),
|
|
163
|
-
...(obj.SmsSettings && { SmsSettings: SENSITIVE_STRING }),
|
|
164
|
-
});
|
|
165
|
-
export const BackendAuthSocialProviderConfigFilterSensitiveLog = (obj) => ({
|
|
166
|
-
...obj,
|
|
167
|
-
});
|
|
168
|
-
export const BackendAuthAppleProviderConfigFilterSensitiveLog = (obj) => ({
|
|
169
|
-
...obj,
|
|
170
|
-
});
|
|
171
|
-
export const SocialProviderSettingsFilterSensitiveLog = (obj) => ({
|
|
172
|
-
...obj,
|
|
173
|
-
...(obj.Facebook && { Facebook: SENSITIVE_STRING }),
|
|
174
|
-
...(obj.Google && { Google: SENSITIVE_STRING }),
|
|
175
|
-
...(obj.LoginWithAmazon && { LoginWithAmazon: SENSITIVE_STRING }),
|
|
176
|
-
...(obj.SignInWithApple && { SignInWithApple: SENSITIVE_STRING }),
|
|
177
|
-
});
|
|
178
|
-
export const CreateBackendAuthOAuthConfigFilterSensitiveLog = (obj) => ({
|
|
179
|
-
...obj,
|
|
180
|
-
...(obj.SocialProviderSettings && {
|
|
181
|
-
SocialProviderSettings: SocialProviderSettingsFilterSensitiveLog(obj.SocialProviderSettings),
|
|
182
|
-
}),
|
|
183
|
-
});
|
|
184
|
-
export const CreateBackendAuthVerificationMessageConfigFilterSensitiveLog = (obj) => ({
|
|
185
|
-
...obj,
|
|
186
|
-
...(obj.EmailSettings && { EmailSettings: SENSITIVE_STRING }),
|
|
187
|
-
...(obj.SmsSettings && { SmsSettings: SENSITIVE_STRING }),
|
|
188
|
-
});
|
|
189
|
-
export const CreateBackendAuthUserPoolConfigFilterSensitiveLog = (obj) => ({
|
|
190
|
-
...obj,
|
|
191
|
-
...(obj.ForgotPassword && {
|
|
192
|
-
ForgotPassword: CreateBackendAuthForgotPasswordConfigFilterSensitiveLog(obj.ForgotPassword),
|
|
193
|
-
}),
|
|
194
|
-
...(obj.OAuth && { OAuth: CreateBackendAuthOAuthConfigFilterSensitiveLog(obj.OAuth) }),
|
|
195
|
-
...(obj.VerificationMessage && {
|
|
196
|
-
VerificationMessage: CreateBackendAuthVerificationMessageConfigFilterSensitiveLog(obj.VerificationMessage),
|
|
197
|
-
}),
|
|
198
|
-
});
|
|
199
|
-
export const CreateBackendAuthResourceConfigFilterSensitiveLog = (obj) => ({
|
|
200
|
-
...obj,
|
|
201
|
-
...(obj.UserPoolConfigs && {
|
|
202
|
-
UserPoolConfigs: CreateBackendAuthUserPoolConfigFilterSensitiveLog(obj.UserPoolConfigs),
|
|
203
|
-
}),
|
|
204
|
-
});
|
|
205
|
-
export const CreateBackendAuthRequestFilterSensitiveLog = (obj) => ({
|
|
206
|
-
...obj,
|
|
207
|
-
...(obj.ResourceConfig && { ResourceConfig: CreateBackendAuthResourceConfigFilterSensitiveLog(obj.ResourceConfig) }),
|
|
208
|
-
});
|
|
209
|
-
export const GetBackendAuthResponseFilterSensitiveLog = (obj) => ({
|
|
210
|
-
...obj,
|
|
211
|
-
...(obj.ResourceConfig && { ResourceConfig: CreateBackendAuthResourceConfigFilterSensitiveLog(obj.ResourceConfig) }),
|
|
212
|
-
});
|
|
213
|
-
export const UpdateBackendAuthForgotPasswordConfigFilterSensitiveLog = (obj) => ({
|
|
214
|
-
...obj,
|
|
215
|
-
...(obj.EmailSettings && { EmailSettings: SENSITIVE_STRING }),
|
|
216
|
-
...(obj.SmsSettings && { SmsSettings: SENSITIVE_STRING }),
|
|
217
|
-
});
|
|
218
|
-
export const UpdateBackendAuthOAuthConfigFilterSensitiveLog = (obj) => ({
|
|
219
|
-
...obj,
|
|
220
|
-
...(obj.SocialProviderSettings && {
|
|
221
|
-
SocialProviderSettings: SocialProviderSettingsFilterSensitiveLog(obj.SocialProviderSettings),
|
|
222
|
-
}),
|
|
223
|
-
});
|
|
224
|
-
export const UpdateBackendAuthVerificationMessageConfigFilterSensitiveLog = (obj) => ({
|
|
225
|
-
...obj,
|
|
226
|
-
...(obj.EmailSettings && { EmailSettings: SENSITIVE_STRING }),
|
|
227
|
-
...(obj.SmsSettings && { SmsSettings: SENSITIVE_STRING }),
|
|
228
|
-
});
|
|
229
|
-
export const UpdateBackendAuthUserPoolConfigFilterSensitiveLog = (obj) => ({
|
|
230
|
-
...obj,
|
|
231
|
-
...(obj.ForgotPassword && {
|
|
232
|
-
ForgotPassword: UpdateBackendAuthForgotPasswordConfigFilterSensitiveLog(obj.ForgotPassword),
|
|
233
|
-
}),
|
|
234
|
-
...(obj.OAuth && { OAuth: UpdateBackendAuthOAuthConfigFilterSensitiveLog(obj.OAuth) }),
|
|
235
|
-
...(obj.VerificationMessage && {
|
|
236
|
-
VerificationMessage: UpdateBackendAuthVerificationMessageConfigFilterSensitiveLog(obj.VerificationMessage),
|
|
237
|
-
}),
|
|
238
|
-
});
|
|
239
|
-
export const UpdateBackendAuthResourceConfigFilterSensitiveLog = (obj) => ({
|
|
240
|
-
...obj,
|
|
241
|
-
...(obj.UserPoolConfigs && {
|
|
242
|
-
UserPoolConfigs: UpdateBackendAuthUserPoolConfigFilterSensitiveLog(obj.UserPoolConfigs),
|
|
243
|
-
}),
|
|
244
|
-
});
|
|
245
|
-
export const UpdateBackendAuthRequestFilterSensitiveLog = (obj) => ({
|
|
246
|
-
...obj,
|
|
247
|
-
...(obj.ResourceConfig && { ResourceConfig: UpdateBackendAuthResourceConfigFilterSensitiveLog(obj.ResourceConfig) }),
|
|
248
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.amplifybackend" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "AmplifyBackend",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|