@aws-sdk/client-amplifybackend 3.298.0 → 3.300.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.
Files changed (32) hide show
  1. package/dist-types/commands/CloneBackendCommand.d.ts +5 -0
  2. package/dist-types/commands/CreateBackendAPICommand.d.ts +41 -0
  3. package/dist-types/commands/CreateBackendAuthCommand.d.ts +88 -0
  4. package/dist-types/commands/CreateBackendCommand.d.ts +7 -0
  5. package/dist-types/commands/CreateBackendConfigCommand.d.ts +4 -0
  6. package/dist-types/commands/CreateBackendStorageCommand.d.ts +17 -0
  7. package/dist-types/commands/CreateTokenCommand.d.ts +3 -0
  8. package/dist-types/commands/DeleteBackendAPICommand.d.ts +41 -0
  9. package/dist-types/commands/DeleteBackendAuthCommand.d.ts +5 -0
  10. package/dist-types/commands/DeleteBackendCommand.d.ts +4 -0
  11. package/dist-types/commands/DeleteBackendStorageCommand.d.ts +6 -0
  12. package/dist-types/commands/DeleteTokenCommand.d.ts +4 -0
  13. package/dist-types/commands/GenerateBackendAPIModelsCommand.d.ts +5 -0
  14. package/dist-types/commands/GetBackendAPICommand.d.ts +41 -0
  15. package/dist-types/commands/GetBackendAPIModelsCommand.d.ts +5 -0
  16. package/dist-types/commands/GetBackendAuthCommand.d.ts +5 -0
  17. package/dist-types/commands/GetBackendCommand.d.ts +4 -0
  18. package/dist-types/commands/GetBackendJobCommand.d.ts +5 -0
  19. package/dist-types/commands/GetBackendStorageCommand.d.ts +5 -0
  20. package/dist-types/commands/GetTokenCommand.d.ts +4 -0
  21. package/dist-types/commands/ImportBackendAuthCommand.d.ts +8 -0
  22. package/dist-types/commands/ImportBackendStorageCommand.d.ts +6 -0
  23. package/dist-types/commands/ListBackendJobsCommand.d.ts +9 -0
  24. package/dist-types/commands/ListS3BucketsCommand.d.ts +3 -0
  25. package/dist-types/commands/RemoveAllBackendsCommand.d.ts +4 -0
  26. package/dist-types/commands/RemoveBackendConfigCommand.d.ts +3 -0
  27. package/dist-types/commands/UpdateBackendAPICommand.d.ts +41 -0
  28. package/dist-types/commands/UpdateBackendAuthCommand.d.ts +82 -0
  29. package/dist-types/commands/UpdateBackendConfigCommand.d.ts +9 -0
  30. package/dist-types/commands/UpdateBackendJobCommand.d.ts +7 -0
  31. package/dist-types/commands/UpdateBackendStorageCommand.d.ts +16 -0
  32. package/package.json +12 -12
@@ -26,6 +26,11 @@ export interface CloneBackendCommandOutput extends CloneBackendResponse, __Metad
26
26
  * import { AmplifyBackendClient, CloneBackendCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, CloneBackendCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * TargetEnvironmentName: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new CloneBackendCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,47 @@ export interface CreateBackendAPICommandOutput extends CreateBackendAPIResponse,
26
26
  * import { AmplifyBackendClient, CreateBackendAPICommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, CreateBackendAPICommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceConfig: {
33
+ * AdditionalAuthTypes: [
34
+ * {
35
+ * Mode: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT",
36
+ * Settings: {
37
+ * CognitoUserPoolId: "STRING_VALUE",
38
+ * Description: "STRING_VALUE",
39
+ * ExpirationTime: Number("double"),
40
+ * OpenIDAuthTTL: "STRING_VALUE",
41
+ * OpenIDClientId: "STRING_VALUE",
42
+ * OpenIDIatTTL: "STRING_VALUE",
43
+ * OpenIDIssueURL: "STRING_VALUE",
44
+ * OpenIDProviderName: "STRING_VALUE",
45
+ * },
46
+ * },
47
+ * ],
48
+ * ApiName: "STRING_VALUE",
49
+ * ConflictResolution: {
50
+ * ResolutionStrategy: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
51
+ * },
52
+ * DefaultAuthType: {
53
+ * Mode: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT",
54
+ * Settings: {
55
+ * CognitoUserPoolId: "STRING_VALUE",
56
+ * Description: "STRING_VALUE",
57
+ * ExpirationTime: Number("double"),
58
+ * OpenIDAuthTTL: "STRING_VALUE",
59
+ * OpenIDClientId: "STRING_VALUE",
60
+ * OpenIDIatTTL: "STRING_VALUE",
61
+ * OpenIDIssueURL: "STRING_VALUE",
62
+ * OpenIDProviderName: "STRING_VALUE",
63
+ * },
64
+ * },
65
+ * Service: "STRING_VALUE",
66
+ * TransformSchema: "STRING_VALUE",
67
+ * },
68
+ * ResourceName: "STRING_VALUE", // required
69
+ * };
29
70
  * const command = new CreateBackendAPICommand(input);
30
71
  * const response = await client.send(command);
31
72
  * ```
@@ -26,6 +26,94 @@ export interface CreateBackendAuthCommandOutput extends CreateBackendAuthRespons
26
26
  * import { AmplifyBackendClient, CreateBackendAuthCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, CreateBackendAuthCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceConfig: {
33
+ * AuthResources: "USER_POOL_ONLY" || "IDENTITY_POOL_AND_USER_POOL", // required
34
+ * IdentityPoolConfigs: {
35
+ * IdentityPoolName: "STRING_VALUE", // required
36
+ * UnauthenticatedLogin: true || false, // required
37
+ * },
38
+ * Service: "COGNITO", // required
39
+ * UserPoolConfigs: {
40
+ * ForgotPassword: {
41
+ * DeliveryMethod: "EMAIL" || "SMS", // required
42
+ * EmailSettings: {
43
+ * EmailMessage: "STRING_VALUE",
44
+ * EmailSubject: "STRING_VALUE",
45
+ * },
46
+ * SmsSettings: {
47
+ * SmsMessage: "STRING_VALUE",
48
+ * },
49
+ * },
50
+ * Mfa: {
51
+ * MFAMode: "ON" || "OFF" || "OPTIONAL", // required
52
+ * Settings: {
53
+ * MfaTypes: [
54
+ * "SMS" || "TOTP",
55
+ * ],
56
+ * SmsMessage: "STRING_VALUE",
57
+ * },
58
+ * },
59
+ * OAuth: {
60
+ * DomainPrefix: "STRING_VALUE",
61
+ * OAuthGrantType: "CODE" || "IMPLICIT", // required
62
+ * OAuthScopes: [ // required
63
+ * "PHONE" || "EMAIL" || "OPENID" || "PROFILE" || "AWS_COGNITO_SIGNIN_USER_ADMIN",
64
+ * ],
65
+ * RedirectSignInURIs: [ // required
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * RedirectSignOutURIs: [ // required
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * SocialProviderSettings: {
72
+ * Facebook: {
73
+ * ClientId: "STRING_VALUE",
74
+ * ClientSecret: "STRING_VALUE",
75
+ * },
76
+ * Google: {
77
+ * ClientId: "STRING_VALUE",
78
+ * ClientSecret: "STRING_VALUE",
79
+ * },
80
+ * LoginWithAmazon: {
81
+ * ClientId: "STRING_VALUE",
82
+ * ClientSecret: "STRING_VALUE",
83
+ * },
84
+ * SignInWithApple: {
85
+ * ClientId: "STRING_VALUE",
86
+ * KeyId: "STRING_VALUE",
87
+ * PrivateKey: "STRING_VALUE",
88
+ * TeamId: "STRING_VALUE",
89
+ * },
90
+ * },
91
+ * },
92
+ * PasswordPolicy: {
93
+ * AdditionalConstraints: [
94
+ * "REQUIRE_DIGIT" || "REQUIRE_LOWERCASE" || "REQUIRE_SYMBOL" || "REQUIRE_UPPERCASE",
95
+ * ],
96
+ * MinimumLength: Number("double"), // required
97
+ * },
98
+ * RequiredSignUpAttributes: [ // required
99
+ * "ADDRESS" || "BIRTHDATE" || "EMAIL" || "FAMILY_NAME" || "GENDER" || "GIVEN_NAME" || "LOCALE" || "MIDDLE_NAME" || "NAME" || "NICKNAME" || "PHONE_NUMBER" || "PICTURE" || "PREFERRED_USERNAME" || "PROFILE" || "UPDATED_AT" || "WEBSITE" || "ZONE_INFO",
100
+ * ],
101
+ * SignInMethod: "EMAIL" || "EMAIL_AND_PHONE_NUMBER" || "PHONE_NUMBER" || "USERNAME", // required
102
+ * UserPoolName: "STRING_VALUE", // required
103
+ * VerificationMessage: {
104
+ * DeliveryMethod: "EMAIL" || "SMS", // required
105
+ * EmailSettings: {
106
+ * EmailMessage: "STRING_VALUE",
107
+ * EmailSubject: "STRING_VALUE",
108
+ * },
109
+ * SmsSettings: {
110
+ * SmsMessage: "STRING_VALUE",
111
+ * },
112
+ * },
113
+ * },
114
+ * },
115
+ * ResourceName: "STRING_VALUE", // required
116
+ * };
29
117
  * const command = new CreateBackendAuthCommand(input);
30
118
  * const response = await client.send(command);
31
119
  * ```
@@ -26,6 +26,13 @@ export interface CreateBackendCommandOutput extends CreateBackendResponse, __Met
26
26
  * import { AmplifyBackendClient, CreateBackendCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, CreateBackendCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * AppName: "STRING_VALUE", // required
32
+ * BackendEnvironmentName: "STRING_VALUE", // required
33
+ * ResourceConfig: {},
34
+ * ResourceName: "STRING_VALUE",
35
+ * };
29
36
  * const command = new CreateBackendCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,10 @@ export interface CreateBackendConfigCommandOutput extends CreateBackendConfigRes
26
26
  * import { AmplifyBackendClient, CreateBackendConfigCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, CreateBackendConfigCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendManagerAppId: "STRING_VALUE",
32
+ * };
29
33
  * const command = new CreateBackendConfigCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,23 @@ export interface CreateBackendStorageCommandOutput extends CreateBackendStorageR
26
26
  * import { AmplifyBackendClient, CreateBackendStorageCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, CreateBackendStorageCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceConfig: {
33
+ * BucketName: "STRING_VALUE",
34
+ * Permissions: {
35
+ * Authenticated: [ // required
36
+ * "READ" || "CREATE_AND_UPDATE" || "DELETE",
37
+ * ],
38
+ * UnAuthenticated: [
39
+ * "READ" || "CREATE_AND_UPDATE" || "DELETE",
40
+ * ],
41
+ * },
42
+ * ServiceName: "S3", // required
43
+ * },
44
+ * ResourceName: "STRING_VALUE", // required
45
+ * };
29
46
  * const command = new CreateBackendStorageCommand(input);
30
47
  * const response = await client.send(command);
31
48
  * ```
@@ -26,6 +26,9 @@ export interface CreateTokenCommandOutput extends CreateTokenResponse, __Metadat
26
26
  * import { AmplifyBackendClient, CreateTokenCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, CreateTokenCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new CreateTokenCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,47 @@ export interface DeleteBackendAPICommandOutput extends DeleteBackendAPIResponse,
26
26
  * import { AmplifyBackendClient, DeleteBackendAPICommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, DeleteBackendAPICommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceConfig: {
33
+ * AdditionalAuthTypes: [
34
+ * {
35
+ * Mode: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT",
36
+ * Settings: {
37
+ * CognitoUserPoolId: "STRING_VALUE",
38
+ * Description: "STRING_VALUE",
39
+ * ExpirationTime: Number("double"),
40
+ * OpenIDAuthTTL: "STRING_VALUE",
41
+ * OpenIDClientId: "STRING_VALUE",
42
+ * OpenIDIatTTL: "STRING_VALUE",
43
+ * OpenIDIssueURL: "STRING_VALUE",
44
+ * OpenIDProviderName: "STRING_VALUE",
45
+ * },
46
+ * },
47
+ * ],
48
+ * ApiName: "STRING_VALUE",
49
+ * ConflictResolution: {
50
+ * ResolutionStrategy: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
51
+ * },
52
+ * DefaultAuthType: {
53
+ * Mode: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT",
54
+ * Settings: {
55
+ * CognitoUserPoolId: "STRING_VALUE",
56
+ * Description: "STRING_VALUE",
57
+ * ExpirationTime: Number("double"),
58
+ * OpenIDAuthTTL: "STRING_VALUE",
59
+ * OpenIDClientId: "STRING_VALUE",
60
+ * OpenIDIatTTL: "STRING_VALUE",
61
+ * OpenIDIssueURL: "STRING_VALUE",
62
+ * OpenIDProviderName: "STRING_VALUE",
63
+ * },
64
+ * },
65
+ * Service: "STRING_VALUE",
66
+ * TransformSchema: "STRING_VALUE",
67
+ * },
68
+ * ResourceName: "STRING_VALUE", // required
69
+ * };
29
70
  * const command = new DeleteBackendAPICommand(input);
30
71
  * const response = await client.send(command);
31
72
  * ```
@@ -26,6 +26,11 @@ export interface DeleteBackendAuthCommandOutput extends DeleteBackendAuthRespons
26
26
  * import { AmplifyBackendClient, DeleteBackendAuthCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, DeleteBackendAuthCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceName: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new DeleteBackendAuthCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface DeleteBackendCommandOutput extends DeleteBackendResponse, __Met
26
26
  * import { AmplifyBackendClient, DeleteBackendCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, DeleteBackendCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteBackendCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,12 @@ export interface DeleteBackendStorageCommandOutput extends DeleteBackendStorageR
26
26
  * import { AmplifyBackendClient, DeleteBackendStorageCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, DeleteBackendStorageCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceName: "STRING_VALUE", // required
33
+ * ServiceName: "S3", // required
34
+ * };
29
35
  * const command = new DeleteBackendStorageCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,10 @@ export interface DeleteTokenCommandOutput extends DeleteTokenResponse, __Metadat
26
26
  * import { AmplifyBackendClient, DeleteTokenCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, DeleteTokenCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * SessionId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteTokenCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface GenerateBackendAPIModelsCommandOutput extends GenerateBackendAP
26
26
  * import { AmplifyBackendClient, GenerateBackendAPIModelsCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, GenerateBackendAPIModelsCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceName: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GenerateBackendAPIModelsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,47 @@ export interface GetBackendAPICommandOutput extends GetBackendAPIResponse, __Met
26
26
  * import { AmplifyBackendClient, GetBackendAPICommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, GetBackendAPICommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceConfig: {
33
+ * AdditionalAuthTypes: [
34
+ * {
35
+ * Mode: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT",
36
+ * Settings: {
37
+ * CognitoUserPoolId: "STRING_VALUE",
38
+ * Description: "STRING_VALUE",
39
+ * ExpirationTime: Number("double"),
40
+ * OpenIDAuthTTL: "STRING_VALUE",
41
+ * OpenIDClientId: "STRING_VALUE",
42
+ * OpenIDIatTTL: "STRING_VALUE",
43
+ * OpenIDIssueURL: "STRING_VALUE",
44
+ * OpenIDProviderName: "STRING_VALUE",
45
+ * },
46
+ * },
47
+ * ],
48
+ * ApiName: "STRING_VALUE",
49
+ * ConflictResolution: {
50
+ * ResolutionStrategy: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
51
+ * },
52
+ * DefaultAuthType: {
53
+ * Mode: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT",
54
+ * Settings: {
55
+ * CognitoUserPoolId: "STRING_VALUE",
56
+ * Description: "STRING_VALUE",
57
+ * ExpirationTime: Number("double"),
58
+ * OpenIDAuthTTL: "STRING_VALUE",
59
+ * OpenIDClientId: "STRING_VALUE",
60
+ * OpenIDIatTTL: "STRING_VALUE",
61
+ * OpenIDIssueURL: "STRING_VALUE",
62
+ * OpenIDProviderName: "STRING_VALUE",
63
+ * },
64
+ * },
65
+ * Service: "STRING_VALUE",
66
+ * TransformSchema: "STRING_VALUE",
67
+ * },
68
+ * ResourceName: "STRING_VALUE", // required
69
+ * };
29
70
  * const command = new GetBackendAPICommand(input);
30
71
  * const response = await client.send(command);
31
72
  * ```
@@ -26,6 +26,11 @@ export interface GetBackendAPIModelsCommandOutput extends GetBackendAPIModelsRes
26
26
  * import { AmplifyBackendClient, GetBackendAPIModelsCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, GetBackendAPIModelsCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceName: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GetBackendAPIModelsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface GetBackendAuthCommandOutput extends GetBackendAuthResponse, __M
26
26
  * import { AmplifyBackendClient, GetBackendAuthCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, GetBackendAuthCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceName: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GetBackendAuthCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface GetBackendCommandOutput extends GetBackendResponse, __MetadataB
26
26
  * import { AmplifyBackendClient, GetBackendCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, GetBackendCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE",
32
+ * };
29
33
  * const command = new GetBackendCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface GetBackendJobCommandOutput extends GetBackendJobResponse, __Met
26
26
  * import { AmplifyBackendClient, GetBackendJobCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, GetBackendJobCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * JobId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GetBackendJobCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface GetBackendStorageCommandOutput extends GetBackendStorageRespons
26
26
  * import { AmplifyBackendClient, GetBackendStorageCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, GetBackendStorageCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceName: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GetBackendStorageCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface GetTokenCommandOutput extends GetTokenResponse, __MetadataBeare
26
26
  * import { AmplifyBackendClient, GetTokenCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, GetTokenCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * SessionId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetTokenCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,14 @@ export interface ImportBackendAuthCommandOutput extends ImportBackendAuthRespons
26
26
  * import { AmplifyBackendClient, ImportBackendAuthCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, ImportBackendAuthCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * IdentityPoolId: "STRING_VALUE",
33
+ * NativeClientId: "STRING_VALUE", // required
34
+ * UserPoolId: "STRING_VALUE", // required
35
+ * WebClientId: "STRING_VALUE", // required
36
+ * };
29
37
  * const command = new ImportBackendAuthCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,12 @@ export interface ImportBackendStorageCommandOutput extends ImportBackendStorageR
26
26
  * import { AmplifyBackendClient, ImportBackendStorageCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, ImportBackendStorageCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * BucketName: "STRING_VALUE",
33
+ * ServiceName: "S3", // required
34
+ * };
29
35
  * const command = new ImportBackendStorageCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,15 @@ export interface ListBackendJobsCommandOutput extends ListBackendJobsResponse, _
26
26
  * import { AmplifyBackendClient, ListBackendJobsCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, ListBackendJobsCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * JobId: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * NextToken: "STRING_VALUE",
35
+ * Operation: "STRING_VALUE",
36
+ * Status: "STRING_VALUE",
37
+ * };
29
38
  * const command = new ListBackendJobsCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,9 @@ export interface ListS3BucketsCommandOutput extends ListS3BucketsResponse, __Met
26
26
  * import { AmplifyBackendClient, ListS3BucketsCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, ListS3BucketsCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * NextToken: "STRING_VALUE",
31
+ * };
29
32
  * const command = new ListS3BucketsCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface RemoveAllBackendsCommandOutput extends RemoveAllBackendsRespons
26
26
  * import { AmplifyBackendClient, RemoveAllBackendsCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, RemoveAllBackendsCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * CleanAmplifyApp: true || false,
32
+ * };
29
33
  * const command = new RemoveAllBackendsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface RemoveBackendConfigCommandOutput extends RemoveBackendConfigRes
26
26
  * import { AmplifyBackendClient, RemoveBackendConfigCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, RemoveBackendConfigCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new RemoveBackendConfigCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,47 @@ export interface UpdateBackendAPICommandOutput extends UpdateBackendAPIResponse,
26
26
  * import { AmplifyBackendClient, UpdateBackendAPICommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, UpdateBackendAPICommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceConfig: {
33
+ * AdditionalAuthTypes: [
34
+ * {
35
+ * Mode: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT",
36
+ * Settings: {
37
+ * CognitoUserPoolId: "STRING_VALUE",
38
+ * Description: "STRING_VALUE",
39
+ * ExpirationTime: Number("double"),
40
+ * OpenIDAuthTTL: "STRING_VALUE",
41
+ * OpenIDClientId: "STRING_VALUE",
42
+ * OpenIDIatTTL: "STRING_VALUE",
43
+ * OpenIDIssueURL: "STRING_VALUE",
44
+ * OpenIDProviderName: "STRING_VALUE",
45
+ * },
46
+ * },
47
+ * ],
48
+ * ApiName: "STRING_VALUE",
49
+ * ConflictResolution: {
50
+ * ResolutionStrategy: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
51
+ * },
52
+ * DefaultAuthType: {
53
+ * Mode: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT",
54
+ * Settings: {
55
+ * CognitoUserPoolId: "STRING_VALUE",
56
+ * Description: "STRING_VALUE",
57
+ * ExpirationTime: Number("double"),
58
+ * OpenIDAuthTTL: "STRING_VALUE",
59
+ * OpenIDClientId: "STRING_VALUE",
60
+ * OpenIDIatTTL: "STRING_VALUE",
61
+ * OpenIDIssueURL: "STRING_VALUE",
62
+ * OpenIDProviderName: "STRING_VALUE",
63
+ * },
64
+ * },
65
+ * Service: "STRING_VALUE",
66
+ * TransformSchema: "STRING_VALUE",
67
+ * },
68
+ * ResourceName: "STRING_VALUE", // required
69
+ * };
29
70
  * const command = new UpdateBackendAPICommand(input);
30
71
  * const response = await client.send(command);
31
72
  * ```
@@ -26,6 +26,88 @@ export interface UpdateBackendAuthCommandOutput extends UpdateBackendAuthRespons
26
26
  * import { AmplifyBackendClient, UpdateBackendAuthCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, UpdateBackendAuthCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceConfig: {
33
+ * AuthResources: "USER_POOL_ONLY" || "IDENTITY_POOL_AND_USER_POOL", // required
34
+ * IdentityPoolConfigs: {
35
+ * UnauthenticatedLogin: true || false,
36
+ * },
37
+ * Service: "COGNITO", // required
38
+ * UserPoolConfigs: {
39
+ * ForgotPassword: {
40
+ * DeliveryMethod: "EMAIL" || "SMS",
41
+ * EmailSettings: {
42
+ * EmailMessage: "STRING_VALUE",
43
+ * EmailSubject: "STRING_VALUE",
44
+ * },
45
+ * SmsSettings: {
46
+ * SmsMessage: "STRING_VALUE",
47
+ * },
48
+ * },
49
+ * Mfa: {
50
+ * MFAMode: "ON" || "OFF" || "OPTIONAL",
51
+ * Settings: {
52
+ * MfaTypes: [
53
+ * "SMS" || "TOTP",
54
+ * ],
55
+ * SmsMessage: "STRING_VALUE",
56
+ * },
57
+ * },
58
+ * OAuth: {
59
+ * DomainPrefix: "STRING_VALUE",
60
+ * OAuthGrantType: "CODE" || "IMPLICIT",
61
+ * OAuthScopes: [
62
+ * "PHONE" || "EMAIL" || "OPENID" || "PROFILE" || "AWS_COGNITO_SIGNIN_USER_ADMIN",
63
+ * ],
64
+ * RedirectSignInURIs: [
65
+ * "STRING_VALUE",
66
+ * ],
67
+ * RedirectSignOutURIs: [
68
+ * "STRING_VALUE",
69
+ * ],
70
+ * SocialProviderSettings: {
71
+ * Facebook: {
72
+ * ClientId: "STRING_VALUE",
73
+ * ClientSecret: "STRING_VALUE",
74
+ * },
75
+ * Google: {
76
+ * ClientId: "STRING_VALUE",
77
+ * ClientSecret: "STRING_VALUE",
78
+ * },
79
+ * LoginWithAmazon: {
80
+ * ClientId: "STRING_VALUE",
81
+ * ClientSecret: "STRING_VALUE",
82
+ * },
83
+ * SignInWithApple: {
84
+ * ClientId: "STRING_VALUE",
85
+ * KeyId: "STRING_VALUE",
86
+ * PrivateKey: "STRING_VALUE",
87
+ * TeamId: "STRING_VALUE",
88
+ * },
89
+ * },
90
+ * },
91
+ * PasswordPolicy: {
92
+ * AdditionalConstraints: [
93
+ * "REQUIRE_DIGIT" || "REQUIRE_LOWERCASE" || "REQUIRE_SYMBOL" || "REQUIRE_UPPERCASE",
94
+ * ],
95
+ * MinimumLength: Number("double"),
96
+ * },
97
+ * VerificationMessage: {
98
+ * DeliveryMethod: "EMAIL" || "SMS", // required
99
+ * EmailSettings: {
100
+ * EmailMessage: "STRING_VALUE",
101
+ * EmailSubject: "STRING_VALUE",
102
+ * },
103
+ * SmsSettings: {
104
+ * SmsMessage: "STRING_VALUE",
105
+ * },
106
+ * },
107
+ * },
108
+ * },
109
+ * ResourceName: "STRING_VALUE", // required
110
+ * };
29
111
  * const command = new UpdateBackendAuthCommand(input);
30
112
  * const response = await client.send(command);
31
113
  * ```
@@ -26,6 +26,15 @@ export interface UpdateBackendConfigCommandOutput extends UpdateBackendConfigRes
26
26
  * import { AmplifyBackendClient, UpdateBackendConfigCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, UpdateBackendConfigCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * LoginAuthConfig: {
32
+ * AwsCognitoIdentityPoolId: "STRING_VALUE",
33
+ * AwsCognitoRegion: "STRING_VALUE",
34
+ * AwsUserPoolsId: "STRING_VALUE",
35
+ * AwsUserPoolsWebClientId: "STRING_VALUE",
36
+ * },
37
+ * };
29
38
  * const command = new UpdateBackendConfigCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,13 @@ export interface UpdateBackendJobCommandOutput extends UpdateBackendJobResponse,
26
26
  * import { AmplifyBackendClient, UpdateBackendJobCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, UpdateBackendJobCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * JobId: "STRING_VALUE", // required
33
+ * Operation: "STRING_VALUE",
34
+ * Status: "STRING_VALUE",
35
+ * };
29
36
  * const command = new UpdateBackendJobCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,22 @@ export interface UpdateBackendStorageCommandOutput extends UpdateBackendStorageR
26
26
  * import { AmplifyBackendClient, UpdateBackendStorageCommand } from "@aws-sdk/client-amplifybackend"; // ES Modules import
27
27
  * // const { AmplifyBackendClient, UpdateBackendStorageCommand } = require("@aws-sdk/client-amplifybackend"); // CommonJS import
28
28
  * const client = new AmplifyBackendClient(config);
29
+ * const input = {
30
+ * AppId: "STRING_VALUE", // required
31
+ * BackendEnvironmentName: "STRING_VALUE", // required
32
+ * ResourceConfig: {
33
+ * Permissions: {
34
+ * Authenticated: [ // required
35
+ * "READ" || "CREATE_AND_UPDATE" || "DELETE",
36
+ * ],
37
+ * UnAuthenticated: [
38
+ * "READ" || "CREATE_AND_UPDATE" || "DELETE",
39
+ * ],
40
+ * },
41
+ * ServiceName: "S3", // required
42
+ * },
43
+ * ResourceName: "STRING_VALUE", // required
44
+ * };
29
45
  * const command = new UpdateBackendStorageCommand(input);
30
46
  * const response = await client.send(command);
31
47
  * ```
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.298.0",
4
+ "version": "3.300.0",
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,23 +21,23 @@
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.298.0",
25
- "@aws-sdk/config-resolver": "3.296.0",
26
- "@aws-sdk/credential-provider-node": "3.298.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
30
30
  "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-endpoint": "3.299.0",
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.296.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
39
+ "@aws-sdk/middleware-user-agent": "3.299.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.296.0",
54
- "@aws-sdk/util-user-agent-node": "3.296.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },