Socket
Socket
Sign inDemoInstall

@aws-sdk/client-amplifybackend

Package Overview
Dependencies
Maintainers
7
Versions
345
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-amplifybackend - npm Package Compare versions

Comparing version 3.21.0 to 3.22.0

3

AmplifyBackendClient.ts

@@ -83,2 +83,3 @@ import { CloneBackendCommandInput, CloneBackendCommandOutput } from "./commands/CloneBackendCommand";

Encoder as __Encoder,
Hash as __Hash,
HashConstructor as __HashConstructor,

@@ -154,3 +155,3 @@ HttpHandlerOptions as __HttpHandlerOptions,

/**
* A constructor for a class implementing the @aws-sdk/types.Hash interface
* A constructor for a class implementing the {@link __Hash} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.

@@ -157,0 +158,0 @@ * @internal

@@ -6,2 +6,19 @@ # Change Log

# [3.22.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.21.0...v3.22.0) (2021-07-16)
### Bug Fixes
* **clients:** link to Hash Interface ([#2573](https://github.com/aws/aws-sdk-js-v3/issues/2573)) ([bb7b3ed](https://github.com/aws/aws-sdk-js-v3/commit/bb7b3edc152f2c33b0e1cf2848aba4231882c36d))
* **clients:** prefix `dist/` for typesVersions TS<4 ([#2580](https://github.com/aws/aws-sdk-js-v3/issues/2580)) ([dff5cd4](https://github.com/aws/aws-sdk-js-v3/commit/dff5cd4b6fa00453e938ce8f238c1542ee7ba3d6))
### Features
* **clients:** update clients as of 07/16/2021 ([#2591](https://github.com/aws/aws-sdk-js-v3/issues/2591)) ([f231e7c](https://github.com/aws/aws-sdk-js-v3/commit/f231e7ca1fcc437b4503901a4af3c501d128f59f))
# [3.21.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.20.0...v3.21.0) (2021-07-09)

@@ -8,0 +25,0 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeleteBackendAuthRequest = exports.DeleteBackendAPIResponse = exports.DeleteBackendAPIRequest = exports.DeleteBackendResponse = exports.DeleteBackendRequest = exports.CreateTokenResponse = exports.CreateTokenRequest = exports.CreateBackendConfigResponse = exports.CreateBackendConfigRequest = exports.CreateBackendAuthResponse = exports.CreateBackendAuthRequest = exports.CreateBackendAuthResourceConfig = exports.CreateBackendAuthUserPoolConfig = exports.SignInMethod = exports.RequiredSignUpAttributesElement = exports.CreateBackendAuthPasswordPolicyConfig = exports.CreateBackendAuthOAuthConfig = exports.SocialProviderSettings = exports.BackendAuthSocialProviderConfig = exports.OAuthScopesElement = exports.OAuthGrantType = exports.CreateBackendAuthMFAConfig = exports.Settings = exports.MfaTypesElement = exports.MFAMode = exports.CreateBackendAuthForgotPasswordConfig = exports.SmsSettings = exports.EmailSettings = exports.DeliveryMethod = exports.Service = exports.CreateBackendAuthIdentityPoolConfig = exports.AuthResources = exports.CreateBackendAPIResponse = exports.CreateBackendAPIRequest = exports.BackendAPIResourceConfig = exports.BackendAPIConflictResolution = exports.ResolutionStrategy = exports.BackendAPIAuthType = exports.BackendAPIAppSyncAuthSettings = exports.Mode = exports.CreateBackendResponse = exports.CreateBackendRequest = exports.ResourceConfig = exports.TooManyRequestsException = exports.NotFoundException = exports.GatewayTimeoutException = exports.CloneBackendResponse = exports.CloneBackendRequest = exports.BadRequestException = exports.AdditionalConstraintsElement = void 0;
exports.UpdateBackendJobResponse = exports.UpdateBackendJobRequest = exports.UpdateBackendConfigResponse = exports.UpdateBackendConfigRequest = exports.LoginAuthConfigReqObj = exports.UpdateBackendAuthResponse = exports.UpdateBackendAuthRequest = exports.UpdateBackendAuthResourceConfig = exports.UpdateBackendAuthUserPoolConfig = exports.UpdateBackendAuthPasswordPolicyConfig = exports.UpdateBackendAuthOAuthConfig = exports.UpdateBackendAuthMFAConfig = exports.UpdateBackendAuthForgotPasswordConfig = exports.UpdateBackendAuthIdentityPoolConfig = exports.UpdateBackendAPIResponse = exports.UpdateBackendAPIRequest = exports.RemoveBackendConfigResponse = exports.RemoveBackendConfigRequest = exports.RemoveAllBackendsResponse = exports.RemoveAllBackendsRequest = exports.ListBackendJobsResponse = exports.BackendJobRespObj = exports.ListBackendJobsRequest = exports.ImportBackendAuthResponse = exports.ImportBackendAuthRequest = exports.GetTokenResponse = exports.GetTokenRequest = exports.GetBackendJobResponse = exports.GetBackendJobRequest = exports.GetBackendAuthResponse = exports.GetBackendAuthRequest = exports.GetBackendAPIModelsResponse = exports.Status = exports.GetBackendAPIModelsRequest = exports.GetBackendAPIResponse = exports.GetBackendAPIRequest = exports.GetBackendResponse = exports.GetBackendRequest = exports.GenerateBackendAPIModelsResponse = exports.GenerateBackendAPIModelsRequest = exports.DeleteTokenResponse = exports.DeleteTokenRequest = exports.DeleteBackendAuthResponse = void 0;
exports.DeleteBackendAPIResponse = exports.DeleteBackendAPIRequest = exports.DeleteBackendResponse = exports.DeleteBackendRequest = exports.CreateTokenResponse = exports.CreateTokenRequest = exports.CreateBackendConfigResponse = exports.CreateBackendConfigRequest = exports.CreateBackendAuthResponse = exports.CreateBackendAuthRequest = exports.CreateBackendAuthResourceConfig = exports.CreateBackendAuthUserPoolConfig = exports.SignInMethod = exports.RequiredSignUpAttributesElement = exports.CreateBackendAuthPasswordPolicyConfig = exports.CreateBackendAuthOAuthConfig = exports.SocialProviderSettings = exports.BackendAuthAppleProviderConfig = exports.BackendAuthSocialProviderConfig = exports.OAuthScopesElement = exports.OAuthGrantType = exports.CreateBackendAuthMFAConfig = exports.Settings = exports.MfaTypesElement = exports.MFAMode = exports.CreateBackendAuthForgotPasswordConfig = exports.SmsSettings = exports.EmailSettings = exports.DeliveryMethod = exports.Service = exports.CreateBackendAuthIdentityPoolConfig = exports.AuthResources = exports.CreateBackendAPIResponse = exports.CreateBackendAPIRequest = exports.BackendAPIResourceConfig = exports.BackendAPIConflictResolution = exports.ResolutionStrategy = exports.BackendAPIAuthType = exports.BackendAPIAppSyncAuthSettings = exports.Mode = exports.CreateBackendResponse = exports.CreateBackendRequest = exports.ResourceConfig = exports.TooManyRequestsException = exports.NotFoundException = exports.GatewayTimeoutException = exports.CloneBackendResponse = exports.CloneBackendRequest = exports.BadRequestException = exports.AdditionalConstraintsElement = void 0;
exports.UpdateBackendJobResponse = exports.UpdateBackendJobRequest = exports.UpdateBackendConfigResponse = exports.UpdateBackendConfigRequest = exports.LoginAuthConfigReqObj = exports.UpdateBackendAuthResponse = exports.UpdateBackendAuthRequest = exports.UpdateBackendAuthResourceConfig = exports.UpdateBackendAuthUserPoolConfig = exports.UpdateBackendAuthPasswordPolicyConfig = exports.UpdateBackendAuthOAuthConfig = exports.UpdateBackendAuthMFAConfig = exports.UpdateBackendAuthForgotPasswordConfig = exports.UpdateBackendAuthIdentityPoolConfig = exports.UpdateBackendAPIResponse = exports.UpdateBackendAPIRequest = exports.RemoveBackendConfigResponse = exports.RemoveBackendConfigRequest = exports.RemoveAllBackendsResponse = exports.RemoveAllBackendsRequest = exports.ListBackendJobsResponse = exports.BackendJobRespObj = exports.ListBackendJobsRequest = exports.ImportBackendAuthResponse = exports.ImportBackendAuthRequest = exports.GetTokenResponse = exports.GetTokenRequest = exports.GetBackendJobResponse = exports.GetBackendJobRequest = exports.GetBackendAuthResponse = exports.GetBackendAuthRequest = exports.GetBackendAPIModelsResponse = exports.Status = exports.GetBackendAPIModelsRequest = exports.GetBackendAPIResponse = exports.GetBackendAPIRequest = exports.GetBackendResponse = exports.GetBackendRequest = exports.GenerateBackendAPIModelsResponse = exports.GenerateBackendAPIModelsRequest = exports.DeleteTokenResponse = exports.DeleteTokenRequest = exports.DeleteBackendAuthResponse = exports.DeleteBackendAuthRequest = void 0;
var AdditionalConstraintsElement;

@@ -262,2 +262,11 @@ (function (AdditionalConstraintsElement) {

})(BackendAuthSocialProviderConfig = exports.BackendAuthSocialProviderConfig || (exports.BackendAuthSocialProviderConfig = {}));
var BackendAuthAppleProviderConfig;
(function (BackendAuthAppleProviderConfig) {
/**
* @internal
*/
BackendAuthAppleProviderConfig.filterSensitiveLog = (obj) => ({
...obj,
});
})(BackendAuthAppleProviderConfig = exports.BackendAuthAppleProviderConfig || (exports.BackendAuthAppleProviderConfig = {}));
var SocialProviderSettings;

@@ -264,0 +273,0 @@ (function (SocialProviderSettings) {

{
"name": "@aws-sdk/client-amplifybackend",
"description": "AWS SDK for JavaScript Amplifybackend Client for Node.js, Browser and React Native",
"version": "3.21.0",
"version": "3.22.0",
"scripts": {

@@ -30,34 +30,34 @@ "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",

"@aws-crypto/sha256-js": "^1.0.0",
"@aws-sdk/client-sts": "3.21.0",
"@aws-sdk/config-resolver": "3.20.0",
"@aws-sdk/credential-provider-node": "3.21.0",
"@aws-sdk/fetch-http-handler": "3.20.0",
"@aws-sdk/hash-node": "3.20.0",
"@aws-sdk/invalid-dependency": "3.20.0",
"@aws-sdk/middleware-content-length": "3.20.0",
"@aws-sdk/middleware-host-header": "3.20.0",
"@aws-sdk/middleware-logger": "3.20.0",
"@aws-sdk/middleware-retry": "3.20.0",
"@aws-sdk/middleware-serde": "3.20.0",
"@aws-sdk/middleware-signing": "3.20.0",
"@aws-sdk/middleware-stack": "3.20.0",
"@aws-sdk/middleware-user-agent": "3.20.0",
"@aws-sdk/node-config-provider": "3.20.0",
"@aws-sdk/node-http-handler": "3.21.0",
"@aws-sdk/protocol-http": "3.20.0",
"@aws-sdk/smithy-client": "3.20.0",
"@aws-sdk/types": "3.20.0",
"@aws-sdk/url-parser": "3.20.0",
"@aws-sdk/util-base64-browser": "3.20.0",
"@aws-sdk/util-base64-node": "3.20.0",
"@aws-sdk/util-body-length-browser": "3.20.0",
"@aws-sdk/util-body-length-node": "3.20.0",
"@aws-sdk/util-user-agent-browser": "3.20.0",
"@aws-sdk/util-user-agent-node": "3.20.0",
"@aws-sdk/util-utf8-browser": "3.20.0",
"@aws-sdk/util-utf8-node": "3.20.0",
"@aws-sdk/client-sts": "3.22.0",
"@aws-sdk/config-resolver": "3.22.0",
"@aws-sdk/credential-provider-node": "3.22.0",
"@aws-sdk/fetch-http-handler": "3.22.0",
"@aws-sdk/hash-node": "3.22.0",
"@aws-sdk/invalid-dependency": "3.22.0",
"@aws-sdk/middleware-content-length": "3.22.0",
"@aws-sdk/middleware-host-header": "3.22.0",
"@aws-sdk/middleware-logger": "3.22.0",
"@aws-sdk/middleware-retry": "3.22.0",
"@aws-sdk/middleware-serde": "3.22.0",
"@aws-sdk/middleware-signing": "3.22.0",
"@aws-sdk/middleware-stack": "3.22.0",
"@aws-sdk/middleware-user-agent": "3.22.0",
"@aws-sdk/node-config-provider": "3.22.0",
"@aws-sdk/node-http-handler": "3.22.0",
"@aws-sdk/protocol-http": "3.22.0",
"@aws-sdk/smithy-client": "3.22.0",
"@aws-sdk/types": "3.22.0",
"@aws-sdk/url-parser": "3.22.0",
"@aws-sdk/util-base64-browser": "3.22.0",
"@aws-sdk/util-base64-node": "3.22.0",
"@aws-sdk/util-body-length-browser": "3.22.0",
"@aws-sdk/util-body-length-node": "3.22.0",
"@aws-sdk/util-user-agent-browser": "3.22.0",
"@aws-sdk/util-user-agent-node": "3.22.0",
"@aws-sdk/util-utf8-browser": "3.22.0",
"@aws-sdk/util-utf8-node": "3.22.0",
"tslib": "^2.0.0"
},
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.20.0",
"@aws-sdk/client-documentation-generator": "3.22.0",
"@types/node": "^12.7.5",

@@ -76,4 +76,4 @@ "downlevel-dts": "0.7.0",

"<4.0": {
"types/*": [
"types/ts3.4/*"
"dist/types/*": [
"dist/types/ts3.4/*"
]

@@ -80,0 +80,0 @@ }

@@ -215,2 +215,9 @@ import { __assign } from "tslib";

})(BackendAuthSocialProviderConfig || (BackendAuthSocialProviderConfig = {}));
export var BackendAuthAppleProviderConfig;
(function (BackendAuthAppleProviderConfig) {
/**
* @internal
*/
BackendAuthAppleProviderConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
})(BackendAuthAppleProviderConfig || (BackendAuthAppleProviderConfig = {}));
export var SocialProviderSettings;

@@ -217,0 +224,0 @@ (function (SocialProviderSettings) {

{
"name": "@aws-sdk/client-amplifybackend",
"description": "AWS SDK for JavaScript Amplifybackend Client for Node.js, Browser and React Native",
"version": "3.21.0",
"version": "3.22.0",
"scripts": {

@@ -30,34 +30,34 @@ "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",

"@aws-crypto/sha256-js": "^1.0.0",
"@aws-sdk/client-sts": "3.21.0",
"@aws-sdk/config-resolver": "3.20.0",
"@aws-sdk/credential-provider-node": "3.21.0",
"@aws-sdk/fetch-http-handler": "3.20.0",
"@aws-sdk/hash-node": "3.20.0",
"@aws-sdk/invalid-dependency": "3.20.0",
"@aws-sdk/middleware-content-length": "3.20.0",
"@aws-sdk/middleware-host-header": "3.20.0",
"@aws-sdk/middleware-logger": "3.20.0",
"@aws-sdk/middleware-retry": "3.20.0",
"@aws-sdk/middleware-serde": "3.20.0",
"@aws-sdk/middleware-signing": "3.20.0",
"@aws-sdk/middleware-stack": "3.20.0",
"@aws-sdk/middleware-user-agent": "3.20.0",
"@aws-sdk/node-config-provider": "3.20.0",
"@aws-sdk/node-http-handler": "3.21.0",
"@aws-sdk/protocol-http": "3.20.0",
"@aws-sdk/smithy-client": "3.20.0",
"@aws-sdk/types": "3.20.0",
"@aws-sdk/url-parser": "3.20.0",
"@aws-sdk/util-base64-browser": "3.20.0",
"@aws-sdk/util-base64-node": "3.20.0",
"@aws-sdk/util-body-length-browser": "3.20.0",
"@aws-sdk/util-body-length-node": "3.20.0",
"@aws-sdk/util-user-agent-browser": "3.20.0",
"@aws-sdk/util-user-agent-node": "3.20.0",
"@aws-sdk/util-utf8-browser": "3.20.0",
"@aws-sdk/util-utf8-node": "3.20.0",
"@aws-sdk/client-sts": "3.22.0",
"@aws-sdk/config-resolver": "3.22.0",
"@aws-sdk/credential-provider-node": "3.22.0",
"@aws-sdk/fetch-http-handler": "3.22.0",
"@aws-sdk/hash-node": "3.22.0",
"@aws-sdk/invalid-dependency": "3.22.0",
"@aws-sdk/middleware-content-length": "3.22.0",
"@aws-sdk/middleware-host-header": "3.22.0",
"@aws-sdk/middleware-logger": "3.22.0",
"@aws-sdk/middleware-retry": "3.22.0",
"@aws-sdk/middleware-serde": "3.22.0",
"@aws-sdk/middleware-signing": "3.22.0",
"@aws-sdk/middleware-stack": "3.22.0",
"@aws-sdk/middleware-user-agent": "3.22.0",
"@aws-sdk/node-config-provider": "3.22.0",
"@aws-sdk/node-http-handler": "3.22.0",
"@aws-sdk/protocol-http": "3.22.0",
"@aws-sdk/smithy-client": "3.22.0",
"@aws-sdk/types": "3.22.0",
"@aws-sdk/url-parser": "3.22.0",
"@aws-sdk/util-base64-browser": "3.22.0",
"@aws-sdk/util-base64-node": "3.22.0",
"@aws-sdk/util-body-length-browser": "3.22.0",
"@aws-sdk/util-body-length-node": "3.22.0",
"@aws-sdk/util-user-agent-browser": "3.22.0",
"@aws-sdk/util-user-agent-node": "3.22.0",
"@aws-sdk/util-utf8-browser": "3.22.0",
"@aws-sdk/util-utf8-node": "3.22.0",
"tslib": "^2.0.0"
},
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.20.0",
"@aws-sdk/client-documentation-generator": "3.22.0",
"@types/node": "^12.7.5",

@@ -76,4 +76,4 @@ "downlevel-dts": "0.7.0",

"<4.0": {
"types/*": [
"types/ts3.4/*"
"dist/types/*": [
"dist/types/ts3.4/*"
]

@@ -80,0 +80,0 @@ }

@@ -42,3 +42,3 @@ import { CloneBackendCommandInput, CloneBackendCommandOutput } from "./commands/CloneBackendCommand";

/**
* A constructor for a class implementing the @aws-sdk/types.Hash interface
* A constructor for a class implementing the {@link __Hash} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.

@@ -45,0 +45,0 @@ * @internal

@@ -1,3 +0,2 @@

import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
export declare enum AdditionalConstraintsElement {

@@ -312,3 +311,3 @@ REQUIRE_DIGIT = "REQUIRE_DIGIT",

/**
* <p>The API name used to interact with the data model, configured as a part of the amplify project.</p>
* <p>The API name used to interact with the data model, configured as a part of your Amplify project.</p>
*/

@@ -467,3 +466,3 @@ ApiName?: string;

/**
* <p>Describes which mode to use (either SMS or email) to deliver messages to app users that want to recover their password.</p>
* <p>Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their password.</p>
*/

@@ -515,7 +514,7 @@ DeliveryMethod: DeliveryMethod | string | undefined;

/**
* <p>Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
* <p>Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
*/
export interface CreateBackendAuthMFAConfig {
/**
* <p>Describes whether MFA should be [ON, OFF, OPTIONAL] for authentication in your Amplify project.</p>
* <p>Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.</p>
*/

@@ -550,7 +549,7 @@ MFAMode: MFAMode | string | undefined;

/**
* <p>Describes the client_id which can be obtained from the third-party social federation provider.</p>
* <p>Describes the client_id, which can be obtained from the third-party social federation provider.</p>
*/
ClientId?: string;
/**
* <p>Describes the client_secret which can be obtained from third-party social federation providers.</p>
* <p>Describes the client_secret, which can be obtained from third-party social federation providers.</p>
*/

@@ -566,2 +565,29 @@ ClientSecret?: string;

/**
* <p>Describes Apple social federation configurations for allowing your app users to sign in using OAuth.</p>
*/
export interface BackendAuthAppleProviderConfig {
/**
* <p>Describes the client_id (also called Services ID) that comes from Apple.</p>
*/
ClientId?: string;
/**
* <p>Describes the key_id that comes from Apple.</p>
*/
KeyId?: string;
/**
* <p>Describes the private_key that comes from Apple.</p>
*/
PrivateKey?: string;
/**
* <p>Describes the team_id that comes from Apple.</p>
*/
TeamId?: string;
}
export declare namespace BackendAuthAppleProviderConfig {
/**
* @internal
*/
const filterSensitiveLog: (obj: BackendAuthAppleProviderConfig) => any;
}
/**
* <p>The settings for using the social identity providers for access to your Amplify app.</p>

@@ -582,2 +608,6 @@ */

LoginWithAmazon?: BackendAuthSocialProviderConfig;
/**
* <p>Describes Apple social federation configurations for allowing your app users to sign in using OAuth.</p>
*/
SignInWithApple?: BackendAuthAppleProviderConfig;
}

@@ -611,3 +641,3 @@ export declare namespace SocialProviderSettings {

/**
* <p>Redirect URLs used by OAuth when a user signs out of an Amplify app.</p>
* <p>Redirect URLs that OAuth uses when a user signs out of an Amplify app.</p>
*/

@@ -679,3 +709,3 @@ RedirectSignOutURIs: string[] | undefined;

/**
* <p>Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
* <p>Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
*/

@@ -1720,3 +1750,3 @@ Mfa?: CreateBackendAuthMFAConfig;

/**
* <p>A boolean value which can be set to allow or disallow guest-level authorization into your Amplify app.</p>
* <p>A boolean value that can be set to allow or disallow guest-level authorization into your Amplify app.</p>
*/

@@ -1790,7 +1820,7 @@ UnauthenticatedLogin?: boolean;

/**
* <p>Redirect URLs used by OAuth when a user signs in to an Amplify app.</p>
* <p>Redirect URLs that OAuth uses when a user signs in to an Amplify app.</p>
*/
RedirectSignInURIs?: string[];
/**
* <p>Redirect URLs used by OAuth when a user signs out of an Amplify app.</p>
* <p>Redirect URLs that OAuth uses when a user signs out of an Amplify app.</p>
*/

@@ -1837,3 +1867,3 @@ RedirectSignOutURIs?: string[];

/**
* <p>Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
* <p>Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
*/

@@ -2029,3 +2059,3 @@ Mfa?: UpdateBackendAuthMFAConfig;

/**
* <p>Filters the list of response objects to only include those with the specified operation name.</p>
* <p>Filters the list of response objects to include only those with the specified operation name.</p>
*/

@@ -2032,0 +2062,0 @@ Operation?: string;

@@ -42,3 +42,3 @@ import { CloneBackendCommandInput, CloneBackendCommandOutput } from "./commands/CloneBackendCommand";

/**
* A constructor for a class implementing the @aws-sdk/types.Hash interface
* A constructor for a class implementing the {@link __Hash} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.

@@ -45,0 +45,0 @@ * @internal

@@ -1,3 +0,2 @@

import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
export declare enum AdditionalConstraintsElement {

@@ -312,3 +311,3 @@ REQUIRE_DIGIT = "REQUIRE_DIGIT",

/**
* <p>The API name used to interact with the data model, configured as a part of the amplify project.</p>
* <p>The API name used to interact with the data model, configured as a part of your Amplify project.</p>
*/

@@ -467,3 +466,3 @@ ApiName?: string;

/**
* <p>Describes which mode to use (either SMS or email) to deliver messages to app users that want to recover their password.</p>
* <p>Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their password.</p>
*/

@@ -515,7 +514,7 @@ DeliveryMethod: DeliveryMethod | string | undefined;

/**
* <p>Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
* <p>Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
*/
export interface CreateBackendAuthMFAConfig {
/**
* <p>Describes whether MFA should be [ON, OFF, OPTIONAL] for authentication in your Amplify project.</p>
* <p>Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.</p>
*/

@@ -550,7 +549,7 @@ MFAMode: MFAMode | string | undefined;

/**
* <p>Describes the client_id which can be obtained from the third-party social federation provider.</p>
* <p>Describes the client_id, which can be obtained from the third-party social federation provider.</p>
*/
ClientId?: string;
/**
* <p>Describes the client_secret which can be obtained from third-party social federation providers.</p>
* <p>Describes the client_secret, which can be obtained from third-party social federation providers.</p>
*/

@@ -566,2 +565,29 @@ ClientSecret?: string;

/**
* <p>Describes Apple social federation configurations for allowing your app users to sign in using OAuth.</p>
*/
export interface BackendAuthAppleProviderConfig {
/**
* <p>Describes the client_id (also called Services ID) that comes from Apple.</p>
*/
ClientId?: string;
/**
* <p>Describes the key_id that comes from Apple.</p>
*/
KeyId?: string;
/**
* <p>Describes the private_key that comes from Apple.</p>
*/
PrivateKey?: string;
/**
* <p>Describes the team_id that comes from Apple.</p>
*/
TeamId?: string;
}
export declare namespace BackendAuthAppleProviderConfig {
/**
* @internal
*/
const filterSensitiveLog: (obj: BackendAuthAppleProviderConfig) => any;
}
/**
* <p>The settings for using the social identity providers for access to your Amplify app.</p>

@@ -582,2 +608,6 @@ */

LoginWithAmazon?: BackendAuthSocialProviderConfig;
/**
* <p>Describes Apple social federation configurations for allowing your app users to sign in using OAuth.</p>
*/
SignInWithApple?: BackendAuthAppleProviderConfig;
}

@@ -611,3 +641,3 @@ export declare namespace SocialProviderSettings {

/**
* <p>Redirect URLs used by OAuth when a user signs out of an Amplify app.</p>
* <p>Redirect URLs that OAuth uses when a user signs out of an Amplify app.</p>
*/

@@ -679,3 +709,3 @@ RedirectSignOutURIs: string[] | undefined;

/**
* <p>Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
* <p>Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
*/

@@ -1720,3 +1750,3 @@ Mfa?: CreateBackendAuthMFAConfig;

/**
* <p>A boolean value which can be set to allow or disallow guest-level authorization into your Amplify app.</p>
* <p>A boolean value that can be set to allow or disallow guest-level authorization into your Amplify app.</p>
*/

@@ -1790,7 +1820,7 @@ UnauthenticatedLogin?: boolean;

/**
* <p>Redirect URLs used by OAuth when a user signs in to an Amplify app.</p>
* <p>Redirect URLs that OAuth uses when a user signs in to an Amplify app.</p>
*/
RedirectSignInURIs?: string[];
/**
* <p>Redirect URLs used by OAuth when a user signs out of an Amplify app.</p>
* <p>Redirect URLs that OAuth uses when a user signs out of an Amplify app.</p>
*/

@@ -1837,3 +1867,3 @@ RedirectSignOutURIs?: string[];

/**
* <p>Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
* <p>Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
*/

@@ -2029,3 +2059,3 @@ Mfa?: UpdateBackendAuthMFAConfig;

/**
* <p>Filters the list of response objects to only include those with the specified operation name.</p>
* <p>Filters the list of response objects to include only those with the specified operation name.</p>
*/

@@ -2032,0 +2062,0 @@ Operation?: string;

@@ -1,3 +0,2 @@

import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types";
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";

@@ -390,3 +389,3 @@ export enum AdditionalConstraintsElement {

/**
* <p>The API name used to interact with the data model, configured as a part of the amplify project.</p>
* <p>The API name used to interact with the data model, configured as a part of your Amplify project.</p>
*/

@@ -586,3 +585,3 @@ ApiName?: string;

/**
* <p>Describes which mode to use (either SMS or email) to deliver messages to app users that want to recover their password.</p>
* <p>Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their password.</p>
*/

@@ -647,7 +646,7 @@ DeliveryMethod: DeliveryMethod | string | undefined;

/**
* <p>Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
* <p>Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
*/
export interface CreateBackendAuthMFAConfig {
/**
* <p>Describes whether MFA should be [ON, OFF, OPTIONAL] for authentication in your Amplify project.</p>
* <p>Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.</p>
*/

@@ -689,3 +688,3 @@ MFAMode: MFAMode | string | undefined;

/**
* <p>Describes the client_id which can be obtained from the third-party social federation provider.</p>
* <p>Describes the client_id, which can be obtained from the third-party social federation provider.</p>
*/

@@ -695,3 +694,3 @@ ClientId?: string;

/**
* <p>Describes the client_secret which can be obtained from third-party social federation providers.</p>
* <p>Describes the client_secret, which can be obtained from third-party social federation providers.</p>
*/

@@ -711,2 +710,36 @@ ClientSecret?: string;

/**
* <p>Describes Apple social federation configurations for allowing your app users to sign in using OAuth.</p>
*/
export interface BackendAuthAppleProviderConfig {
/**
* <p>Describes the client_id (also called Services ID) that comes from Apple.</p>
*/
ClientId?: string;
/**
* <p>Describes the key_id that comes from Apple.</p>
*/
KeyId?: string;
/**
* <p>Describes the private_key that comes from Apple.</p>
*/
PrivateKey?: string;
/**
* <p>Describes the team_id that comes from Apple.</p>
*/
TeamId?: string;
}
export namespace BackendAuthAppleProviderConfig {
/**
* @internal
*/
export const filterSensitiveLog = (obj: BackendAuthAppleProviderConfig): any => ({
...obj,
});
}
/**
* <p>The settings for using the social identity providers for access to your Amplify app.</p>

@@ -729,2 +762,7 @@ */

LoginWithAmazon?: BackendAuthSocialProviderConfig;
/**
* <p>Describes Apple social federation configurations for allowing your app users to sign in using OAuth.</p>
*/
SignInWithApple?: BackendAuthAppleProviderConfig;
}

@@ -766,3 +804,3 @@

/**
* <p>Redirect URLs used by OAuth when a user signs out of an Amplify app.</p>
* <p>Redirect URLs that OAuth uses when a user signs out of an Amplify app.</p>
*/

@@ -847,3 +885,3 @@ RedirectSignOutURIs: string[] | undefined;

/**
* <p>Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
* <p>Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
*/

@@ -2177,3 +2215,3 @@ Mfa?: CreateBackendAuthMFAConfig;

/**
* <p>A boolean value which can be set to allow or disallow guest-level authorization into your Amplify app.</p>
* <p>A boolean value that can be set to allow or disallow guest-level authorization into your Amplify app.</p>
*/

@@ -2265,3 +2303,3 @@ UnauthenticatedLogin?: boolean;

/**
* <p>Redirect URLs used by OAuth when a user signs in to an Amplify app.</p>
* <p>Redirect URLs that OAuth uses when a user signs in to an Amplify app.</p>
*/

@@ -2271,3 +2309,3 @@ RedirectSignInURIs?: string[];

/**
* <p>Redirect URLs used by OAuth when a user signs out of an Amplify app.</p>
* <p>Redirect URLs that OAuth uses when a user signs out of an Amplify app.</p>
*/

@@ -2325,3 +2363,3 @@ RedirectSignOutURIs?: string[];

/**
* <p>Describes whether multi-factor authentication policies should be applied for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
* <p>Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.</p>
*/

@@ -2568,3 +2606,3 @@ Mfa?: UpdateBackendAuthMFAConfig;

/**
* <p>Filters the list of response objects to only include those with the specified operation name.</p>
* <p>Filters the list of response objects to include only those with the specified operation name.</p>
*/

@@ -2571,0 +2609,0 @@ Operation?: string;

{
"name": "@aws-sdk/client-amplifybackend",
"description": "AWS SDK for JavaScript Amplifybackend Client for Node.js, Browser and React Native",
"version": "3.21.0",
"version": "3.22.0",
"scripts": {

@@ -30,34 +30,34 @@ "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",

"@aws-crypto/sha256-js": "^1.0.0",
"@aws-sdk/client-sts": "3.21.0",
"@aws-sdk/config-resolver": "3.20.0",
"@aws-sdk/credential-provider-node": "3.21.0",
"@aws-sdk/fetch-http-handler": "3.20.0",
"@aws-sdk/hash-node": "3.20.0",
"@aws-sdk/invalid-dependency": "3.20.0",
"@aws-sdk/middleware-content-length": "3.20.0",
"@aws-sdk/middleware-host-header": "3.20.0",
"@aws-sdk/middleware-logger": "3.20.0",
"@aws-sdk/middleware-retry": "3.20.0",
"@aws-sdk/middleware-serde": "3.20.0",
"@aws-sdk/middleware-signing": "3.20.0",
"@aws-sdk/middleware-stack": "3.20.0",
"@aws-sdk/middleware-user-agent": "3.20.0",
"@aws-sdk/node-config-provider": "3.20.0",
"@aws-sdk/node-http-handler": "3.21.0",
"@aws-sdk/protocol-http": "3.20.0",
"@aws-sdk/smithy-client": "3.20.0",
"@aws-sdk/types": "3.20.0",
"@aws-sdk/url-parser": "3.20.0",
"@aws-sdk/util-base64-browser": "3.20.0",
"@aws-sdk/util-base64-node": "3.20.0",
"@aws-sdk/util-body-length-browser": "3.20.0",
"@aws-sdk/util-body-length-node": "3.20.0",
"@aws-sdk/util-user-agent-browser": "3.20.0",
"@aws-sdk/util-user-agent-node": "3.20.0",
"@aws-sdk/util-utf8-browser": "3.20.0",
"@aws-sdk/util-utf8-node": "3.20.0",
"@aws-sdk/client-sts": "3.22.0",
"@aws-sdk/config-resolver": "3.22.0",
"@aws-sdk/credential-provider-node": "3.22.0",
"@aws-sdk/fetch-http-handler": "3.22.0",
"@aws-sdk/hash-node": "3.22.0",
"@aws-sdk/invalid-dependency": "3.22.0",
"@aws-sdk/middleware-content-length": "3.22.0",
"@aws-sdk/middleware-host-header": "3.22.0",
"@aws-sdk/middleware-logger": "3.22.0",
"@aws-sdk/middleware-retry": "3.22.0",
"@aws-sdk/middleware-serde": "3.22.0",
"@aws-sdk/middleware-signing": "3.22.0",
"@aws-sdk/middleware-stack": "3.22.0",
"@aws-sdk/middleware-user-agent": "3.22.0",
"@aws-sdk/node-config-provider": "3.22.0",
"@aws-sdk/node-http-handler": "3.22.0",
"@aws-sdk/protocol-http": "3.22.0",
"@aws-sdk/smithy-client": "3.22.0",
"@aws-sdk/types": "3.22.0",
"@aws-sdk/url-parser": "3.22.0",
"@aws-sdk/util-base64-browser": "3.22.0",
"@aws-sdk/util-base64-node": "3.22.0",
"@aws-sdk/util-body-length-browser": "3.22.0",
"@aws-sdk/util-body-length-node": "3.22.0",
"@aws-sdk/util-user-agent-browser": "3.22.0",
"@aws-sdk/util-user-agent-node": "3.22.0",
"@aws-sdk/util-utf8-browser": "3.22.0",
"@aws-sdk/util-utf8-node": "3.22.0",
"tslib": "^2.0.0"
},
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.20.0",
"@aws-sdk/client-documentation-generator": "3.22.0",
"@types/node": "^12.7.5",

@@ -76,4 +76,4 @@ "downlevel-dts": "0.7.0",

"<4.0": {
"types/*": [
"types/ts3.4/*"
"dist/types/*": [
"dist/types/ts3.4/*"
]

@@ -80,0 +80,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc