@aws-sdk/client-amplifybackend 3.316.0 → 3.321.1
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.
|
@@ -2469,7 +2469,7 @@ const de_BackendAPIAppSyncAuthSettings = (output, context) => {
|
|
|
2469
2469
|
const de_BackendAPIAuthType = (output, context) => {
|
|
2470
2470
|
return (0, smithy_client_1.take)(output, {
|
|
2471
2471
|
Mode: [, smithy_client_1.expectString, `mode`],
|
|
2472
|
-
Settings: (_) =>
|
|
2472
|
+
Settings: [, (_) => de_BackendAPIAppSyncAuthSettings(_, context), `settings`],
|
|
2473
2473
|
});
|
|
2474
2474
|
};
|
|
2475
2475
|
const de_BackendAPIConflictResolution = (output, context) => {
|
|
@@ -2479,10 +2479,10 @@ const de_BackendAPIConflictResolution = (output, context) => {
|
|
|
2479
2479
|
};
|
|
2480
2480
|
const de_BackendAPIResourceConfig = (output, context) => {
|
|
2481
2481
|
return (0, smithy_client_1.take)(output, {
|
|
2482
|
-
AdditionalAuthTypes: (_) =>
|
|
2482
|
+
AdditionalAuthTypes: [, (_) => de_ListOfBackendAPIAuthType(_, context), `additionalAuthTypes`],
|
|
2483
2483
|
ApiName: [, smithy_client_1.expectString, `apiName`],
|
|
2484
|
-
ConflictResolution: (_) =>
|
|
2485
|
-
DefaultAuthType: (_) =>
|
|
2484
|
+
ConflictResolution: [, (_) => de_BackendAPIConflictResolution(_, context), `conflictResolution`],
|
|
2485
|
+
DefaultAuthType: [, (_) => de_BackendAPIAuthType(_, context), `defaultAuthType`],
|
|
2486
2486
|
Service: [, smithy_client_1.expectString, `service`],
|
|
2487
2487
|
TransformSchema: [, smithy_client_1.expectString, `transformSchema`],
|
|
2488
2488
|
});
|
|
@@ -2522,8 +2522,8 @@ const de_BackendStoragePermissions = (output, context) => {
|
|
|
2522
2522
|
const de_CreateBackendAuthForgotPasswordConfig = (output, context) => {
|
|
2523
2523
|
return (0, smithy_client_1.take)(output, {
|
|
2524
2524
|
DeliveryMethod: [, smithy_client_1.expectString, `deliveryMethod`],
|
|
2525
|
-
EmailSettings: (_) =>
|
|
2526
|
-
SmsSettings: (_) =>
|
|
2525
|
+
EmailSettings: [, (_) => de_EmailSettings(_, context), `emailSettings`],
|
|
2526
|
+
SmsSettings: [, (_) => de_SmsSettings(_, context), `smsSettings`],
|
|
2527
2527
|
});
|
|
2528
2528
|
};
|
|
2529
2529
|
const de_CreateBackendAuthIdentityPoolConfig = (output, context) => {
|
|
@@ -2535,7 +2535,7 @@ const de_CreateBackendAuthIdentityPoolConfig = (output, context) => {
|
|
|
2535
2535
|
const de_CreateBackendAuthMFAConfig = (output, context) => {
|
|
2536
2536
|
return (0, smithy_client_1.take)(output, {
|
|
2537
2537
|
MFAMode: smithy_client_1.expectString,
|
|
2538
|
-
Settings: (_) =>
|
|
2538
|
+
Settings: [, (_) => de_Settings(_, context), `settings`],
|
|
2539
2539
|
});
|
|
2540
2540
|
};
|
|
2541
2541
|
const de_CreateBackendAuthOAuthConfig = (output, context) => {
|
|
@@ -2545,7 +2545,7 @@ const de_CreateBackendAuthOAuthConfig = (output, context) => {
|
|
|
2545
2545
|
OAuthScopes: [, smithy_client_1._json, `oAuthScopes`],
|
|
2546
2546
|
RedirectSignInURIs: [, smithy_client_1._json, `redirectSignInURIs`],
|
|
2547
2547
|
RedirectSignOutURIs: [, smithy_client_1._json, `redirectSignOutURIs`],
|
|
2548
|
-
SocialProviderSettings: (_) =>
|
|
2548
|
+
SocialProviderSettings: [, (_) => de_SocialProviderSettings(_, context), `socialProviderSettings`],
|
|
2549
2549
|
});
|
|
2550
2550
|
};
|
|
2551
2551
|
const de_CreateBackendAuthPasswordPolicyConfig = (output, context) => {
|
|
@@ -2557,28 +2557,32 @@ const de_CreateBackendAuthPasswordPolicyConfig = (output, context) => {
|
|
|
2557
2557
|
const de_CreateBackendAuthResourceConfig = (output, context) => {
|
|
2558
2558
|
return (0, smithy_client_1.take)(output, {
|
|
2559
2559
|
AuthResources: [, smithy_client_1.expectString, `authResources`],
|
|
2560
|
-
IdentityPoolConfigs: (_) =>
|
|
2560
|
+
IdentityPoolConfigs: [, (_) => de_CreateBackendAuthIdentityPoolConfig(_, context), `identityPoolConfigs`],
|
|
2561
2561
|
Service: [, smithy_client_1.expectString, `service`],
|
|
2562
|
-
UserPoolConfigs: (_) =>
|
|
2562
|
+
UserPoolConfigs: [, (_) => de_CreateBackendAuthUserPoolConfig(_, context), `userPoolConfigs`],
|
|
2563
2563
|
});
|
|
2564
2564
|
};
|
|
2565
2565
|
const de_CreateBackendAuthUserPoolConfig = (output, context) => {
|
|
2566
2566
|
return (0, smithy_client_1.take)(output, {
|
|
2567
|
-
ForgotPassword: (_) =>
|
|
2568
|
-
Mfa: (_) =>
|
|
2569
|
-
OAuth: (_) =>
|
|
2570
|
-
PasswordPolicy: (_) =>
|
|
2567
|
+
ForgotPassword: [, (_) => de_CreateBackendAuthForgotPasswordConfig(_, context), `forgotPassword`],
|
|
2568
|
+
Mfa: [, (_) => de_CreateBackendAuthMFAConfig(_, context), `mfa`],
|
|
2569
|
+
OAuth: [, (_) => de_CreateBackendAuthOAuthConfig(_, context), `oAuth`],
|
|
2570
|
+
PasswordPolicy: [, (_) => de_CreateBackendAuthPasswordPolicyConfig(_, context), `passwordPolicy`],
|
|
2571
2571
|
RequiredSignUpAttributes: [, smithy_client_1._json, `requiredSignUpAttributes`],
|
|
2572
2572
|
SignInMethod: [, smithy_client_1.expectString, `signInMethod`],
|
|
2573
2573
|
UserPoolName: [, smithy_client_1.expectString, `userPoolName`],
|
|
2574
|
-
VerificationMessage:
|
|
2574
|
+
VerificationMessage: [
|
|
2575
|
+
,
|
|
2576
|
+
(_) => de_CreateBackendAuthVerificationMessageConfig(_, context),
|
|
2577
|
+
`verificationMessage`,
|
|
2578
|
+
],
|
|
2575
2579
|
});
|
|
2576
2580
|
};
|
|
2577
2581
|
const de_CreateBackendAuthVerificationMessageConfig = (output, context) => {
|
|
2578
2582
|
return (0, smithy_client_1.take)(output, {
|
|
2579
2583
|
DeliveryMethod: [, smithy_client_1.expectString, `deliveryMethod`],
|
|
2580
|
-
EmailSettings: (_) =>
|
|
2581
|
-
SmsSettings: (_) =>
|
|
2584
|
+
EmailSettings: [, (_) => de_EmailSettings(_, context), `emailSettings`],
|
|
2585
|
+
SmsSettings: [, (_) => de_SmsSettings(_, context), `smsSettings`],
|
|
2582
2586
|
});
|
|
2583
2587
|
};
|
|
2584
2588
|
const de_EmailSettings = (output, context) => {
|
|
@@ -2591,7 +2595,7 @@ const de_GetBackendStorageResourceConfig = (output, context) => {
|
|
|
2591
2595
|
return (0, smithy_client_1.take)(output, {
|
|
2592
2596
|
BucketName: [, smithy_client_1.expectString, `bucketName`],
|
|
2593
2597
|
Imported: [, smithy_client_1.expectBoolean, `imported`],
|
|
2594
|
-
Permissions: (_) =>
|
|
2598
|
+
Permissions: [, (_) => de_BackendStoragePermissions(_, context), `permissions`],
|
|
2595
2599
|
ServiceName: [, smithy_client_1.expectString, `serviceName`],
|
|
2596
2600
|
});
|
|
2597
2601
|
};
|
|
@@ -2403,7 +2403,7 @@ const de_BackendAPIAppSyncAuthSettings = (output, context) => {
|
|
|
2403
2403
|
const de_BackendAPIAuthType = (output, context) => {
|
|
2404
2404
|
return take(output, {
|
|
2405
2405
|
Mode: [, __expectString, `mode`],
|
|
2406
|
-
Settings: (_) =>
|
|
2406
|
+
Settings: [, (_) => de_BackendAPIAppSyncAuthSettings(_, context), `settings`],
|
|
2407
2407
|
});
|
|
2408
2408
|
};
|
|
2409
2409
|
const de_BackendAPIConflictResolution = (output, context) => {
|
|
@@ -2413,10 +2413,10 @@ const de_BackendAPIConflictResolution = (output, context) => {
|
|
|
2413
2413
|
};
|
|
2414
2414
|
const de_BackendAPIResourceConfig = (output, context) => {
|
|
2415
2415
|
return take(output, {
|
|
2416
|
-
AdditionalAuthTypes: (_) =>
|
|
2416
|
+
AdditionalAuthTypes: [, (_) => de_ListOfBackendAPIAuthType(_, context), `additionalAuthTypes`],
|
|
2417
2417
|
ApiName: [, __expectString, `apiName`],
|
|
2418
|
-
ConflictResolution: (_) =>
|
|
2419
|
-
DefaultAuthType: (_) =>
|
|
2418
|
+
ConflictResolution: [, (_) => de_BackendAPIConflictResolution(_, context), `conflictResolution`],
|
|
2419
|
+
DefaultAuthType: [, (_) => de_BackendAPIAuthType(_, context), `defaultAuthType`],
|
|
2420
2420
|
Service: [, __expectString, `service`],
|
|
2421
2421
|
TransformSchema: [, __expectString, `transformSchema`],
|
|
2422
2422
|
});
|
|
@@ -2456,8 +2456,8 @@ const de_BackendStoragePermissions = (output, context) => {
|
|
|
2456
2456
|
const de_CreateBackendAuthForgotPasswordConfig = (output, context) => {
|
|
2457
2457
|
return take(output, {
|
|
2458
2458
|
DeliveryMethod: [, __expectString, `deliveryMethod`],
|
|
2459
|
-
EmailSettings: (_) =>
|
|
2460
|
-
SmsSettings: (_) =>
|
|
2459
|
+
EmailSettings: [, (_) => de_EmailSettings(_, context), `emailSettings`],
|
|
2460
|
+
SmsSettings: [, (_) => de_SmsSettings(_, context), `smsSettings`],
|
|
2461
2461
|
});
|
|
2462
2462
|
};
|
|
2463
2463
|
const de_CreateBackendAuthIdentityPoolConfig = (output, context) => {
|
|
@@ -2469,7 +2469,7 @@ const de_CreateBackendAuthIdentityPoolConfig = (output, context) => {
|
|
|
2469
2469
|
const de_CreateBackendAuthMFAConfig = (output, context) => {
|
|
2470
2470
|
return take(output, {
|
|
2471
2471
|
MFAMode: __expectString,
|
|
2472
|
-
Settings: (_) =>
|
|
2472
|
+
Settings: [, (_) => de_Settings(_, context), `settings`],
|
|
2473
2473
|
});
|
|
2474
2474
|
};
|
|
2475
2475
|
const de_CreateBackendAuthOAuthConfig = (output, context) => {
|
|
@@ -2479,7 +2479,7 @@ const de_CreateBackendAuthOAuthConfig = (output, context) => {
|
|
|
2479
2479
|
OAuthScopes: [, _json, `oAuthScopes`],
|
|
2480
2480
|
RedirectSignInURIs: [, _json, `redirectSignInURIs`],
|
|
2481
2481
|
RedirectSignOutURIs: [, _json, `redirectSignOutURIs`],
|
|
2482
|
-
SocialProviderSettings: (_) =>
|
|
2482
|
+
SocialProviderSettings: [, (_) => de_SocialProviderSettings(_, context), `socialProviderSettings`],
|
|
2483
2483
|
});
|
|
2484
2484
|
};
|
|
2485
2485
|
const de_CreateBackendAuthPasswordPolicyConfig = (output, context) => {
|
|
@@ -2491,28 +2491,32 @@ const de_CreateBackendAuthPasswordPolicyConfig = (output, context) => {
|
|
|
2491
2491
|
const de_CreateBackendAuthResourceConfig = (output, context) => {
|
|
2492
2492
|
return take(output, {
|
|
2493
2493
|
AuthResources: [, __expectString, `authResources`],
|
|
2494
|
-
IdentityPoolConfigs: (_) =>
|
|
2494
|
+
IdentityPoolConfigs: [, (_) => de_CreateBackendAuthIdentityPoolConfig(_, context), `identityPoolConfigs`],
|
|
2495
2495
|
Service: [, __expectString, `service`],
|
|
2496
|
-
UserPoolConfigs: (_) =>
|
|
2496
|
+
UserPoolConfigs: [, (_) => de_CreateBackendAuthUserPoolConfig(_, context), `userPoolConfigs`],
|
|
2497
2497
|
});
|
|
2498
2498
|
};
|
|
2499
2499
|
const de_CreateBackendAuthUserPoolConfig = (output, context) => {
|
|
2500
2500
|
return take(output, {
|
|
2501
|
-
ForgotPassword: (_) =>
|
|
2502
|
-
Mfa: (_) =>
|
|
2503
|
-
OAuth: (_) =>
|
|
2504
|
-
PasswordPolicy: (_) =>
|
|
2501
|
+
ForgotPassword: [, (_) => de_CreateBackendAuthForgotPasswordConfig(_, context), `forgotPassword`],
|
|
2502
|
+
Mfa: [, (_) => de_CreateBackendAuthMFAConfig(_, context), `mfa`],
|
|
2503
|
+
OAuth: [, (_) => de_CreateBackendAuthOAuthConfig(_, context), `oAuth`],
|
|
2504
|
+
PasswordPolicy: [, (_) => de_CreateBackendAuthPasswordPolicyConfig(_, context), `passwordPolicy`],
|
|
2505
2505
|
RequiredSignUpAttributes: [, _json, `requiredSignUpAttributes`],
|
|
2506
2506
|
SignInMethod: [, __expectString, `signInMethod`],
|
|
2507
2507
|
UserPoolName: [, __expectString, `userPoolName`],
|
|
2508
|
-
VerificationMessage:
|
|
2508
|
+
VerificationMessage: [
|
|
2509
|
+
,
|
|
2510
|
+
(_) => de_CreateBackendAuthVerificationMessageConfig(_, context),
|
|
2511
|
+
`verificationMessage`,
|
|
2512
|
+
],
|
|
2509
2513
|
});
|
|
2510
2514
|
};
|
|
2511
2515
|
const de_CreateBackendAuthVerificationMessageConfig = (output, context) => {
|
|
2512
2516
|
return take(output, {
|
|
2513
2517
|
DeliveryMethod: [, __expectString, `deliveryMethod`],
|
|
2514
|
-
EmailSettings: (_) =>
|
|
2515
|
-
SmsSettings: (_) =>
|
|
2518
|
+
EmailSettings: [, (_) => de_EmailSettings(_, context), `emailSettings`],
|
|
2519
|
+
SmsSettings: [, (_) => de_SmsSettings(_, context), `smsSettings`],
|
|
2516
2520
|
});
|
|
2517
2521
|
};
|
|
2518
2522
|
const de_EmailSettings = (output, context) => {
|
|
@@ -2525,7 +2529,7 @@ const de_GetBackendStorageResourceConfig = (output, context) => {
|
|
|
2525
2529
|
return take(output, {
|
|
2526
2530
|
BucketName: [, __expectString, `bucketName`],
|
|
2527
2531
|
Imported: [, __expectBoolean, `imported`],
|
|
2528
|
-
Permissions: (_) =>
|
|
2532
|
+
Permissions: [, (_) => de_BackendStoragePermissions(_, context), `permissions`],
|
|
2529
2533
|
ServiceName: [, __expectString, `serviceName`],
|
|
2530
2534
|
});
|
|
2531
2535
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amplifybackend",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amplifybackend Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.321.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.321.1",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.321.1",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|