@aws-sdk/client-amplifybackend 3.300.0 → 3.303.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 (36) hide show
  1. package/dist-cjs/models/models_0.js +91 -107
  2. package/dist-es/models/models_0.js +91 -107
  3. package/dist-types/commands/CloneBackendCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateBackendAPICommand.d.ts +6 -6
  5. package/dist-types/commands/CreateBackendAuthCommand.d.ts +20 -20
  6. package/dist-types/commands/CreateBackendCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateBackendConfigCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateBackendStorageCommand.d.ts +5 -5
  9. package/dist-types/commands/CreateTokenCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteBackendAPICommand.d.ts +6 -6
  11. package/dist-types/commands/DeleteBackendAuthCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteBackendCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteBackendStorageCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteTokenCommand.d.ts +1 -1
  15. package/dist-types/commands/GenerateBackendAPIModelsCommand.d.ts +1 -1
  16. package/dist-types/commands/GetBackendAPICommand.d.ts +6 -6
  17. package/dist-types/commands/GetBackendAPIModelsCommand.d.ts +1 -1
  18. package/dist-types/commands/GetBackendAuthCommand.d.ts +1 -1
  19. package/dist-types/commands/GetBackendCommand.d.ts +1 -1
  20. package/dist-types/commands/GetBackendJobCommand.d.ts +1 -1
  21. package/dist-types/commands/GetBackendStorageCommand.d.ts +1 -1
  22. package/dist-types/commands/GetTokenCommand.d.ts +1 -1
  23. package/dist-types/commands/ImportBackendAuthCommand.d.ts +1 -1
  24. package/dist-types/commands/ImportBackendStorageCommand.d.ts +1 -1
  25. package/dist-types/commands/ListBackendJobsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListS3BucketsCommand.d.ts +1 -1
  27. package/dist-types/commands/RemoveAllBackendsCommand.d.ts +1 -1
  28. package/dist-types/commands/RemoveBackendConfigCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateBackendAPICommand.d.ts +6 -6
  30. package/dist-types/commands/UpdateBackendAuthCommand.d.ts +19 -19
  31. package/dist-types/commands/UpdateBackendConfigCommand.d.ts +2 -2
  32. package/dist-types/commands/UpdateBackendJobCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateBackendStorageCommand.d.ts +5 -5
  34. package/dist-types/models/models_0.d.ts +171 -91
  35. package/dist-types/ts3.4/models/models_0.d.ts +116 -91
  36. package/package.json +34 -34
@@ -2,13 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Status = exports.ServiceName = exports.UnAuthenticatedElement = exports.AuthenticatedElement = exports.SignInMethod = exports.RequiredSignUpAttributesElement = exports.OAuthScopesElement = exports.OAuthGrantType = exports.MfaTypesElement = exports.MFAMode = exports.DeliveryMethod = exports.Service = exports.AuthResources = exports.ResolutionStrategy = exports.Mode = exports.TooManyRequestsException = exports.NotFoundException = exports.GatewayTimeoutException = exports.BadRequestException = exports.AdditionalConstraintsElement = void 0;
4
4
  const AmplifyBackendServiceException_1 = require("./AmplifyBackendServiceException");
5
- var AdditionalConstraintsElement;
6
- (function (AdditionalConstraintsElement) {
7
- AdditionalConstraintsElement["REQUIRE_DIGIT"] = "REQUIRE_DIGIT";
8
- AdditionalConstraintsElement["REQUIRE_LOWERCASE"] = "REQUIRE_LOWERCASE";
9
- AdditionalConstraintsElement["REQUIRE_SYMBOL"] = "REQUIRE_SYMBOL";
10
- AdditionalConstraintsElement["REQUIRE_UPPERCASE"] = "REQUIRE_UPPERCASE";
11
- })(AdditionalConstraintsElement = exports.AdditionalConstraintsElement || (exports.AdditionalConstraintsElement = {}));
5
+ exports.AdditionalConstraintsElement = {
6
+ REQUIRE_DIGIT: "REQUIRE_DIGIT",
7
+ REQUIRE_LOWERCASE: "REQUIRE_LOWERCASE",
8
+ REQUIRE_SYMBOL: "REQUIRE_SYMBOL",
9
+ REQUIRE_UPPERCASE: "REQUIRE_UPPERCASE",
10
+ };
12
11
  class BadRequestException extends AmplifyBackendServiceException_1.AmplifyBackendServiceException {
13
12
  constructor(opts) {
14
13
  super({
@@ -67,103 +66,88 @@ class TooManyRequestsException extends AmplifyBackendServiceException_1.AmplifyB
67
66
  }
68
67
  }
69
68
  exports.TooManyRequestsException = TooManyRequestsException;
70
- var Mode;
71
- (function (Mode) {
72
- Mode["AMAZON_COGNITO_USER_POOLS"] = "AMAZON_COGNITO_USER_POOLS";
73
- Mode["API_KEY"] = "API_KEY";
74
- Mode["AWS_IAM"] = "AWS_IAM";
75
- Mode["OPENID_CONNECT"] = "OPENID_CONNECT";
76
- })(Mode = exports.Mode || (exports.Mode = {}));
77
- var ResolutionStrategy;
78
- (function (ResolutionStrategy) {
79
- ResolutionStrategy["AUTOMERGE"] = "AUTOMERGE";
80
- ResolutionStrategy["LAMBDA"] = "LAMBDA";
81
- ResolutionStrategy["NONE"] = "NONE";
82
- ResolutionStrategy["OPTIMISTIC_CONCURRENCY"] = "OPTIMISTIC_CONCURRENCY";
83
- })(ResolutionStrategy = exports.ResolutionStrategy || (exports.ResolutionStrategy = {}));
84
- var AuthResources;
85
- (function (AuthResources) {
86
- AuthResources["IDENTITY_POOL_AND_USER_POOL"] = "IDENTITY_POOL_AND_USER_POOL";
87
- AuthResources["USER_POOL_ONLY"] = "USER_POOL_ONLY";
88
- })(AuthResources = exports.AuthResources || (exports.AuthResources = {}));
89
- var Service;
90
- (function (Service) {
91
- Service["COGNITO"] = "COGNITO";
92
- })(Service = exports.Service || (exports.Service = {}));
93
- var DeliveryMethod;
94
- (function (DeliveryMethod) {
95
- DeliveryMethod["EMAIL"] = "EMAIL";
96
- DeliveryMethod["SMS"] = "SMS";
97
- })(DeliveryMethod = exports.DeliveryMethod || (exports.DeliveryMethod = {}));
98
- var MFAMode;
99
- (function (MFAMode) {
100
- MFAMode["OFF"] = "OFF";
101
- MFAMode["ON"] = "ON";
102
- MFAMode["OPTIONAL"] = "OPTIONAL";
103
- })(MFAMode = exports.MFAMode || (exports.MFAMode = {}));
104
- var MfaTypesElement;
105
- (function (MfaTypesElement) {
106
- MfaTypesElement["SMS"] = "SMS";
107
- MfaTypesElement["TOTP"] = "TOTP";
108
- })(MfaTypesElement = exports.MfaTypesElement || (exports.MfaTypesElement = {}));
109
- var OAuthGrantType;
110
- (function (OAuthGrantType) {
111
- OAuthGrantType["CODE"] = "CODE";
112
- OAuthGrantType["IMPLICIT"] = "IMPLICIT";
113
- })(OAuthGrantType = exports.OAuthGrantType || (exports.OAuthGrantType = {}));
114
- var OAuthScopesElement;
115
- (function (OAuthScopesElement) {
116
- OAuthScopesElement["AWS_COGNITO_SIGNIN_USER_ADMIN"] = "AWS_COGNITO_SIGNIN_USER_ADMIN";
117
- OAuthScopesElement["EMAIL"] = "EMAIL";
118
- OAuthScopesElement["OPENID"] = "OPENID";
119
- OAuthScopesElement["PHONE"] = "PHONE";
120
- OAuthScopesElement["PROFILE"] = "PROFILE";
121
- })(OAuthScopesElement = exports.OAuthScopesElement || (exports.OAuthScopesElement = {}));
122
- var RequiredSignUpAttributesElement;
123
- (function (RequiredSignUpAttributesElement) {
124
- RequiredSignUpAttributesElement["ADDRESS"] = "ADDRESS";
125
- RequiredSignUpAttributesElement["BIRTHDATE"] = "BIRTHDATE";
126
- RequiredSignUpAttributesElement["EMAIL"] = "EMAIL";
127
- RequiredSignUpAttributesElement["FAMILY_NAME"] = "FAMILY_NAME";
128
- RequiredSignUpAttributesElement["GENDER"] = "GENDER";
129
- RequiredSignUpAttributesElement["GIVEN_NAME"] = "GIVEN_NAME";
130
- RequiredSignUpAttributesElement["LOCALE"] = "LOCALE";
131
- RequiredSignUpAttributesElement["MIDDLE_NAME"] = "MIDDLE_NAME";
132
- RequiredSignUpAttributesElement["NAME"] = "NAME";
133
- RequiredSignUpAttributesElement["NICKNAME"] = "NICKNAME";
134
- RequiredSignUpAttributesElement["PHONE_NUMBER"] = "PHONE_NUMBER";
135
- RequiredSignUpAttributesElement["PICTURE"] = "PICTURE";
136
- RequiredSignUpAttributesElement["PREFERRED_USERNAME"] = "PREFERRED_USERNAME";
137
- RequiredSignUpAttributesElement["PROFILE"] = "PROFILE";
138
- RequiredSignUpAttributesElement["UPDATED_AT"] = "UPDATED_AT";
139
- RequiredSignUpAttributesElement["WEBSITE"] = "WEBSITE";
140
- RequiredSignUpAttributesElement["ZONE_INFO"] = "ZONE_INFO";
141
- })(RequiredSignUpAttributesElement = exports.RequiredSignUpAttributesElement || (exports.RequiredSignUpAttributesElement = {}));
142
- var SignInMethod;
143
- (function (SignInMethod) {
144
- SignInMethod["EMAIL"] = "EMAIL";
145
- SignInMethod["EMAIL_AND_PHONE_NUMBER"] = "EMAIL_AND_PHONE_NUMBER";
146
- SignInMethod["PHONE_NUMBER"] = "PHONE_NUMBER";
147
- SignInMethod["USERNAME"] = "USERNAME";
148
- })(SignInMethod = exports.SignInMethod || (exports.SignInMethod = {}));
149
- var AuthenticatedElement;
150
- (function (AuthenticatedElement) {
151
- AuthenticatedElement["CREATE_AND_UPDATE"] = "CREATE_AND_UPDATE";
152
- AuthenticatedElement["DELETE"] = "DELETE";
153
- AuthenticatedElement["READ"] = "READ";
154
- })(AuthenticatedElement = exports.AuthenticatedElement || (exports.AuthenticatedElement = {}));
155
- var UnAuthenticatedElement;
156
- (function (UnAuthenticatedElement) {
157
- UnAuthenticatedElement["CREATE_AND_UPDATE"] = "CREATE_AND_UPDATE";
158
- UnAuthenticatedElement["DELETE"] = "DELETE";
159
- UnAuthenticatedElement["READ"] = "READ";
160
- })(UnAuthenticatedElement = exports.UnAuthenticatedElement || (exports.UnAuthenticatedElement = {}));
161
- var ServiceName;
162
- (function (ServiceName) {
163
- ServiceName["S3"] = "S3";
164
- })(ServiceName = exports.ServiceName || (exports.ServiceName = {}));
165
- var Status;
166
- (function (Status) {
167
- Status["LATEST"] = "LATEST";
168
- Status["STALE"] = "STALE";
169
- })(Status = exports.Status || (exports.Status = {}));
69
+ exports.Mode = {
70
+ AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS",
71
+ API_KEY: "API_KEY",
72
+ AWS_IAM: "AWS_IAM",
73
+ OPENID_CONNECT: "OPENID_CONNECT",
74
+ };
75
+ exports.ResolutionStrategy = {
76
+ AUTOMERGE: "AUTOMERGE",
77
+ LAMBDA: "LAMBDA",
78
+ NONE: "NONE",
79
+ OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY",
80
+ };
81
+ exports.AuthResources = {
82
+ IDENTITY_POOL_AND_USER_POOL: "IDENTITY_POOL_AND_USER_POOL",
83
+ USER_POOL_ONLY: "USER_POOL_ONLY",
84
+ };
85
+ exports.Service = {
86
+ COGNITO: "COGNITO",
87
+ };
88
+ exports.DeliveryMethod = {
89
+ EMAIL: "EMAIL",
90
+ SMS: "SMS",
91
+ };
92
+ exports.MFAMode = {
93
+ OFF: "OFF",
94
+ ON: "ON",
95
+ OPTIONAL: "OPTIONAL",
96
+ };
97
+ exports.MfaTypesElement = {
98
+ SMS: "SMS",
99
+ TOTP: "TOTP",
100
+ };
101
+ exports.OAuthGrantType = {
102
+ CODE: "CODE",
103
+ IMPLICIT: "IMPLICIT",
104
+ };
105
+ exports.OAuthScopesElement = {
106
+ AWS_COGNITO_SIGNIN_USER_ADMIN: "AWS_COGNITO_SIGNIN_USER_ADMIN",
107
+ EMAIL: "EMAIL",
108
+ OPENID: "OPENID",
109
+ PHONE: "PHONE",
110
+ PROFILE: "PROFILE",
111
+ };
112
+ exports.RequiredSignUpAttributesElement = {
113
+ ADDRESS: "ADDRESS",
114
+ BIRTHDATE: "BIRTHDATE",
115
+ EMAIL: "EMAIL",
116
+ FAMILY_NAME: "FAMILY_NAME",
117
+ GENDER: "GENDER",
118
+ GIVEN_NAME: "GIVEN_NAME",
119
+ LOCALE: "LOCALE",
120
+ MIDDLE_NAME: "MIDDLE_NAME",
121
+ NAME: "NAME",
122
+ NICKNAME: "NICKNAME",
123
+ PHONE_NUMBER: "PHONE_NUMBER",
124
+ PICTURE: "PICTURE",
125
+ PREFERRED_USERNAME: "PREFERRED_USERNAME",
126
+ PROFILE: "PROFILE",
127
+ UPDATED_AT: "UPDATED_AT",
128
+ WEBSITE: "WEBSITE",
129
+ ZONE_INFO: "ZONE_INFO",
130
+ };
131
+ exports.SignInMethod = {
132
+ EMAIL: "EMAIL",
133
+ EMAIL_AND_PHONE_NUMBER: "EMAIL_AND_PHONE_NUMBER",
134
+ PHONE_NUMBER: "PHONE_NUMBER",
135
+ USERNAME: "USERNAME",
136
+ };
137
+ exports.AuthenticatedElement = {
138
+ CREATE_AND_UPDATE: "CREATE_AND_UPDATE",
139
+ DELETE: "DELETE",
140
+ READ: "READ",
141
+ };
142
+ exports.UnAuthenticatedElement = {
143
+ CREATE_AND_UPDATE: "CREATE_AND_UPDATE",
144
+ DELETE: "DELETE",
145
+ READ: "READ",
146
+ };
147
+ exports.ServiceName = {
148
+ S3: "S3",
149
+ };
150
+ exports.Status = {
151
+ LATEST: "LATEST",
152
+ STALE: "STALE",
153
+ };
@@ -1,11 +1,10 @@
1
1
  import { AmplifyBackendServiceException as __BaseException } from "./AmplifyBackendServiceException";
2
- export var AdditionalConstraintsElement;
3
- (function (AdditionalConstraintsElement) {
4
- AdditionalConstraintsElement["REQUIRE_DIGIT"] = "REQUIRE_DIGIT";
5
- AdditionalConstraintsElement["REQUIRE_LOWERCASE"] = "REQUIRE_LOWERCASE";
6
- AdditionalConstraintsElement["REQUIRE_SYMBOL"] = "REQUIRE_SYMBOL";
7
- AdditionalConstraintsElement["REQUIRE_UPPERCASE"] = "REQUIRE_UPPERCASE";
8
- })(AdditionalConstraintsElement || (AdditionalConstraintsElement = {}));
2
+ export const AdditionalConstraintsElement = {
3
+ REQUIRE_DIGIT: "REQUIRE_DIGIT",
4
+ REQUIRE_LOWERCASE: "REQUIRE_LOWERCASE",
5
+ REQUIRE_SYMBOL: "REQUIRE_SYMBOL",
6
+ REQUIRE_UPPERCASE: "REQUIRE_UPPERCASE",
7
+ };
9
8
  export class BadRequestException extends __BaseException {
10
9
  constructor(opts) {
11
10
  super({
@@ -60,103 +59,88 @@ export class TooManyRequestsException extends __BaseException {
60
59
  this.Message = opts.Message;
61
60
  }
62
61
  }
63
- export var Mode;
64
- (function (Mode) {
65
- Mode["AMAZON_COGNITO_USER_POOLS"] = "AMAZON_COGNITO_USER_POOLS";
66
- Mode["API_KEY"] = "API_KEY";
67
- Mode["AWS_IAM"] = "AWS_IAM";
68
- Mode["OPENID_CONNECT"] = "OPENID_CONNECT";
69
- })(Mode || (Mode = {}));
70
- export var ResolutionStrategy;
71
- (function (ResolutionStrategy) {
72
- ResolutionStrategy["AUTOMERGE"] = "AUTOMERGE";
73
- ResolutionStrategy["LAMBDA"] = "LAMBDA";
74
- ResolutionStrategy["NONE"] = "NONE";
75
- ResolutionStrategy["OPTIMISTIC_CONCURRENCY"] = "OPTIMISTIC_CONCURRENCY";
76
- })(ResolutionStrategy || (ResolutionStrategy = {}));
77
- export var AuthResources;
78
- (function (AuthResources) {
79
- AuthResources["IDENTITY_POOL_AND_USER_POOL"] = "IDENTITY_POOL_AND_USER_POOL";
80
- AuthResources["USER_POOL_ONLY"] = "USER_POOL_ONLY";
81
- })(AuthResources || (AuthResources = {}));
82
- export var Service;
83
- (function (Service) {
84
- Service["COGNITO"] = "COGNITO";
85
- })(Service || (Service = {}));
86
- export var DeliveryMethod;
87
- (function (DeliveryMethod) {
88
- DeliveryMethod["EMAIL"] = "EMAIL";
89
- DeliveryMethod["SMS"] = "SMS";
90
- })(DeliveryMethod || (DeliveryMethod = {}));
91
- export var MFAMode;
92
- (function (MFAMode) {
93
- MFAMode["OFF"] = "OFF";
94
- MFAMode["ON"] = "ON";
95
- MFAMode["OPTIONAL"] = "OPTIONAL";
96
- })(MFAMode || (MFAMode = {}));
97
- export var MfaTypesElement;
98
- (function (MfaTypesElement) {
99
- MfaTypesElement["SMS"] = "SMS";
100
- MfaTypesElement["TOTP"] = "TOTP";
101
- })(MfaTypesElement || (MfaTypesElement = {}));
102
- export var OAuthGrantType;
103
- (function (OAuthGrantType) {
104
- OAuthGrantType["CODE"] = "CODE";
105
- OAuthGrantType["IMPLICIT"] = "IMPLICIT";
106
- })(OAuthGrantType || (OAuthGrantType = {}));
107
- export var OAuthScopesElement;
108
- (function (OAuthScopesElement) {
109
- OAuthScopesElement["AWS_COGNITO_SIGNIN_USER_ADMIN"] = "AWS_COGNITO_SIGNIN_USER_ADMIN";
110
- OAuthScopesElement["EMAIL"] = "EMAIL";
111
- OAuthScopesElement["OPENID"] = "OPENID";
112
- OAuthScopesElement["PHONE"] = "PHONE";
113
- OAuthScopesElement["PROFILE"] = "PROFILE";
114
- })(OAuthScopesElement || (OAuthScopesElement = {}));
115
- export var RequiredSignUpAttributesElement;
116
- (function (RequiredSignUpAttributesElement) {
117
- RequiredSignUpAttributesElement["ADDRESS"] = "ADDRESS";
118
- RequiredSignUpAttributesElement["BIRTHDATE"] = "BIRTHDATE";
119
- RequiredSignUpAttributesElement["EMAIL"] = "EMAIL";
120
- RequiredSignUpAttributesElement["FAMILY_NAME"] = "FAMILY_NAME";
121
- RequiredSignUpAttributesElement["GENDER"] = "GENDER";
122
- RequiredSignUpAttributesElement["GIVEN_NAME"] = "GIVEN_NAME";
123
- RequiredSignUpAttributesElement["LOCALE"] = "LOCALE";
124
- RequiredSignUpAttributesElement["MIDDLE_NAME"] = "MIDDLE_NAME";
125
- RequiredSignUpAttributesElement["NAME"] = "NAME";
126
- RequiredSignUpAttributesElement["NICKNAME"] = "NICKNAME";
127
- RequiredSignUpAttributesElement["PHONE_NUMBER"] = "PHONE_NUMBER";
128
- RequiredSignUpAttributesElement["PICTURE"] = "PICTURE";
129
- RequiredSignUpAttributesElement["PREFERRED_USERNAME"] = "PREFERRED_USERNAME";
130
- RequiredSignUpAttributesElement["PROFILE"] = "PROFILE";
131
- RequiredSignUpAttributesElement["UPDATED_AT"] = "UPDATED_AT";
132
- RequiredSignUpAttributesElement["WEBSITE"] = "WEBSITE";
133
- RequiredSignUpAttributesElement["ZONE_INFO"] = "ZONE_INFO";
134
- })(RequiredSignUpAttributesElement || (RequiredSignUpAttributesElement = {}));
135
- export var SignInMethod;
136
- (function (SignInMethod) {
137
- SignInMethod["EMAIL"] = "EMAIL";
138
- SignInMethod["EMAIL_AND_PHONE_NUMBER"] = "EMAIL_AND_PHONE_NUMBER";
139
- SignInMethod["PHONE_NUMBER"] = "PHONE_NUMBER";
140
- SignInMethod["USERNAME"] = "USERNAME";
141
- })(SignInMethod || (SignInMethod = {}));
142
- export var AuthenticatedElement;
143
- (function (AuthenticatedElement) {
144
- AuthenticatedElement["CREATE_AND_UPDATE"] = "CREATE_AND_UPDATE";
145
- AuthenticatedElement["DELETE"] = "DELETE";
146
- AuthenticatedElement["READ"] = "READ";
147
- })(AuthenticatedElement || (AuthenticatedElement = {}));
148
- export var UnAuthenticatedElement;
149
- (function (UnAuthenticatedElement) {
150
- UnAuthenticatedElement["CREATE_AND_UPDATE"] = "CREATE_AND_UPDATE";
151
- UnAuthenticatedElement["DELETE"] = "DELETE";
152
- UnAuthenticatedElement["READ"] = "READ";
153
- })(UnAuthenticatedElement || (UnAuthenticatedElement = {}));
154
- export var ServiceName;
155
- (function (ServiceName) {
156
- ServiceName["S3"] = "S3";
157
- })(ServiceName || (ServiceName = {}));
158
- export var Status;
159
- (function (Status) {
160
- Status["LATEST"] = "LATEST";
161
- Status["STALE"] = "STALE";
162
- })(Status || (Status = {}));
62
+ export const Mode = {
63
+ AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS",
64
+ API_KEY: "API_KEY",
65
+ AWS_IAM: "AWS_IAM",
66
+ OPENID_CONNECT: "OPENID_CONNECT",
67
+ };
68
+ export const ResolutionStrategy = {
69
+ AUTOMERGE: "AUTOMERGE",
70
+ LAMBDA: "LAMBDA",
71
+ NONE: "NONE",
72
+ OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY",
73
+ };
74
+ export const AuthResources = {
75
+ IDENTITY_POOL_AND_USER_POOL: "IDENTITY_POOL_AND_USER_POOL",
76
+ USER_POOL_ONLY: "USER_POOL_ONLY",
77
+ };
78
+ export const Service = {
79
+ COGNITO: "COGNITO",
80
+ };
81
+ export const DeliveryMethod = {
82
+ EMAIL: "EMAIL",
83
+ SMS: "SMS",
84
+ };
85
+ export const MFAMode = {
86
+ OFF: "OFF",
87
+ ON: "ON",
88
+ OPTIONAL: "OPTIONAL",
89
+ };
90
+ export const MfaTypesElement = {
91
+ SMS: "SMS",
92
+ TOTP: "TOTP",
93
+ };
94
+ export const OAuthGrantType = {
95
+ CODE: "CODE",
96
+ IMPLICIT: "IMPLICIT",
97
+ };
98
+ export const OAuthScopesElement = {
99
+ AWS_COGNITO_SIGNIN_USER_ADMIN: "AWS_COGNITO_SIGNIN_USER_ADMIN",
100
+ EMAIL: "EMAIL",
101
+ OPENID: "OPENID",
102
+ PHONE: "PHONE",
103
+ PROFILE: "PROFILE",
104
+ };
105
+ export const RequiredSignUpAttributesElement = {
106
+ ADDRESS: "ADDRESS",
107
+ BIRTHDATE: "BIRTHDATE",
108
+ EMAIL: "EMAIL",
109
+ FAMILY_NAME: "FAMILY_NAME",
110
+ GENDER: "GENDER",
111
+ GIVEN_NAME: "GIVEN_NAME",
112
+ LOCALE: "LOCALE",
113
+ MIDDLE_NAME: "MIDDLE_NAME",
114
+ NAME: "NAME",
115
+ NICKNAME: "NICKNAME",
116
+ PHONE_NUMBER: "PHONE_NUMBER",
117
+ PICTURE: "PICTURE",
118
+ PREFERRED_USERNAME: "PREFERRED_USERNAME",
119
+ PROFILE: "PROFILE",
120
+ UPDATED_AT: "UPDATED_AT",
121
+ WEBSITE: "WEBSITE",
122
+ ZONE_INFO: "ZONE_INFO",
123
+ };
124
+ export const SignInMethod = {
125
+ EMAIL: "EMAIL",
126
+ EMAIL_AND_PHONE_NUMBER: "EMAIL_AND_PHONE_NUMBER",
127
+ PHONE_NUMBER: "PHONE_NUMBER",
128
+ USERNAME: "USERNAME",
129
+ };
130
+ export const AuthenticatedElement = {
131
+ CREATE_AND_UPDATE: "CREATE_AND_UPDATE",
132
+ DELETE: "DELETE",
133
+ READ: "READ",
134
+ };
135
+ export const UnAuthenticatedElement = {
136
+ CREATE_AND_UPDATE: "CREATE_AND_UPDATE",
137
+ DELETE: "DELETE",
138
+ READ: "READ",
139
+ };
140
+ export const ServiceName = {
141
+ S3: "S3",
142
+ };
143
+ export const Status = {
144
+ LATEST: "LATEST",
145
+ STALE: "STALE",
146
+ };
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // CloneBackendRequest
30
30
  * AppId: "STRING_VALUE", // required
31
31
  * BackendEnvironmentName: "STRING_VALUE", // required
32
32
  * TargetEnvironmentName: "STRING_VALUE", // required
@@ -26,14 +26,14 @@ 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 = {
29
+ * const input = { // CreateBackendAPIRequest
30
30
  * AppId: "STRING_VALUE", // required
31
31
  * BackendEnvironmentName: "STRING_VALUE", // required
32
- * ResourceConfig: {
33
- * AdditionalAuthTypes: [
34
- * {
32
+ * ResourceConfig: { // BackendAPIResourceConfig
33
+ * AdditionalAuthTypes: [ // ListOfBackendAPIAuthType
34
+ * { // BackendAPIAuthType
35
35
  * Mode: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT",
36
- * Settings: {
36
+ * Settings: { // BackendAPIAppSyncAuthSettings
37
37
  * CognitoUserPoolId: "STRING_VALUE",
38
38
  * Description: "STRING_VALUE",
39
39
  * ExpirationTime: Number("double"),
@@ -46,7 +46,7 @@ export interface CreateBackendAPICommandOutput extends CreateBackendAPIResponse,
46
46
  * },
47
47
  * ],
48
48
  * ApiName: "STRING_VALUE",
49
- * ConflictResolution: {
49
+ * ConflictResolution: { // BackendAPIConflictResolution
50
50
  * ResolutionStrategy: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
51
51
  * },
52
52
  * DefaultAuthType: {
@@ -26,50 +26,50 @@ 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 = {
29
+ * const input = { // CreateBackendAuthRequest
30
30
  * AppId: "STRING_VALUE", // required
31
31
  * BackendEnvironmentName: "STRING_VALUE", // required
32
- * ResourceConfig: {
32
+ * ResourceConfig: { // CreateBackendAuthResourceConfig
33
33
  * AuthResources: "USER_POOL_ONLY" || "IDENTITY_POOL_AND_USER_POOL", // required
34
- * IdentityPoolConfigs: {
34
+ * IdentityPoolConfigs: { // CreateBackendAuthIdentityPoolConfig
35
35
  * IdentityPoolName: "STRING_VALUE", // required
36
36
  * UnauthenticatedLogin: true || false, // required
37
37
  * },
38
38
  * Service: "COGNITO", // required
39
- * UserPoolConfigs: {
40
- * ForgotPassword: {
39
+ * UserPoolConfigs: { // CreateBackendAuthUserPoolConfig
40
+ * ForgotPassword: { // CreateBackendAuthForgotPasswordConfig
41
41
  * DeliveryMethod: "EMAIL" || "SMS", // required
42
- * EmailSettings: {
42
+ * EmailSettings: { // EmailSettings
43
43
  * EmailMessage: "STRING_VALUE",
44
44
  * EmailSubject: "STRING_VALUE",
45
45
  * },
46
- * SmsSettings: {
46
+ * SmsSettings: { // SmsSettings
47
47
  * SmsMessage: "STRING_VALUE",
48
48
  * },
49
49
  * },
50
- * Mfa: {
50
+ * Mfa: { // CreateBackendAuthMFAConfig
51
51
  * MFAMode: "ON" || "OFF" || "OPTIONAL", // required
52
- * Settings: {
53
- * MfaTypes: [
52
+ * Settings: { // Settings
53
+ * MfaTypes: [ // ListOfMfaTypesElement
54
54
  * "SMS" || "TOTP",
55
55
  * ],
56
56
  * SmsMessage: "STRING_VALUE",
57
57
  * },
58
58
  * },
59
- * OAuth: {
59
+ * OAuth: { // CreateBackendAuthOAuthConfig
60
60
  * DomainPrefix: "STRING_VALUE",
61
61
  * OAuthGrantType: "CODE" || "IMPLICIT", // required
62
- * OAuthScopes: [ // required
62
+ * OAuthScopes: [ // ListOfOAuthScopesElement // required
63
63
  * "PHONE" || "EMAIL" || "OPENID" || "PROFILE" || "AWS_COGNITO_SIGNIN_USER_ADMIN",
64
64
  * ],
65
- * RedirectSignInURIs: [ // required
65
+ * RedirectSignInURIs: [ // ListOf__string // required
66
66
  * "STRING_VALUE",
67
67
  * ],
68
68
  * RedirectSignOutURIs: [ // required
69
69
  * "STRING_VALUE",
70
70
  * ],
71
- * SocialProviderSettings: {
72
- * Facebook: {
71
+ * SocialProviderSettings: { // SocialProviderSettings
72
+ * Facebook: { // BackendAuthSocialProviderConfig
73
73
  * ClientId: "STRING_VALUE",
74
74
  * ClientSecret: "STRING_VALUE",
75
75
  * },
@@ -81,7 +81,7 @@ export interface CreateBackendAuthCommandOutput extends CreateBackendAuthRespons
81
81
  * ClientId: "STRING_VALUE",
82
82
  * ClientSecret: "STRING_VALUE",
83
83
  * },
84
- * SignInWithApple: {
84
+ * SignInWithApple: { // BackendAuthAppleProviderConfig
85
85
  * ClientId: "STRING_VALUE",
86
86
  * KeyId: "STRING_VALUE",
87
87
  * PrivateKey: "STRING_VALUE",
@@ -89,18 +89,18 @@ export interface CreateBackendAuthCommandOutput extends CreateBackendAuthRespons
89
89
  * },
90
90
  * },
91
91
  * },
92
- * PasswordPolicy: {
93
- * AdditionalConstraints: [
92
+ * PasswordPolicy: { // CreateBackendAuthPasswordPolicyConfig
93
+ * AdditionalConstraints: [ // ListOfAdditionalConstraintsElement
94
94
  * "REQUIRE_DIGIT" || "REQUIRE_LOWERCASE" || "REQUIRE_SYMBOL" || "REQUIRE_UPPERCASE",
95
95
  * ],
96
96
  * MinimumLength: Number("double"), // required
97
97
  * },
98
- * RequiredSignUpAttributes: [ // required
98
+ * RequiredSignUpAttributes: [ // ListOfRequiredSignUpAttributesElement // required
99
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
100
  * ],
101
101
  * SignInMethod: "EMAIL" || "EMAIL_AND_PHONE_NUMBER" || "PHONE_NUMBER" || "USERNAME", // required
102
102
  * UserPoolName: "STRING_VALUE", // required
103
- * VerificationMessage: {
103
+ * VerificationMessage: { // CreateBackendAuthVerificationMessageConfig
104
104
  * DeliveryMethod: "EMAIL" || "SMS", // required
105
105
  * EmailSettings: {
106
106
  * EmailMessage: "STRING_VALUE",
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // CreateBackendRequest
30
30
  * AppId: "STRING_VALUE", // required
31
31
  * AppName: "STRING_VALUE", // required
32
32
  * BackendEnvironmentName: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // CreateBackendConfigRequest
30
30
  * AppId: "STRING_VALUE", // required
31
31
  * BackendManagerAppId: "STRING_VALUE",
32
32
  * };
@@ -26,16 +26,16 @@ 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 = {
29
+ * const input = { // CreateBackendStorageRequest
30
30
  * AppId: "STRING_VALUE", // required
31
31
  * BackendEnvironmentName: "STRING_VALUE", // required
32
- * ResourceConfig: {
32
+ * ResourceConfig: { // CreateBackendStorageResourceConfig
33
33
  * BucketName: "STRING_VALUE",
34
- * Permissions: {
35
- * Authenticated: [ // required
34
+ * Permissions: { // BackendStoragePermissions
35
+ * Authenticated: [ // ListOfAuthenticatedElement // required
36
36
  * "READ" || "CREATE_AND_UPDATE" || "DELETE",
37
37
  * ],
38
- * UnAuthenticated: [
38
+ * UnAuthenticated: [ // ListOfUnAuthenticatedElement
39
39
  * "READ" || "CREATE_AND_UPDATE" || "DELETE",
40
40
  * ],
41
41
  * },
@@ -26,7 +26,7 @@ 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 = {
29
+ * const input = { // CreateTokenRequest
30
30
  * AppId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new CreateTokenCommand(input);