@aws-sdk/client-amplifybackend 3.934.0 → 3.935.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +92 -91
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +91 -0
- package/dist-es/models/errors.js +61 -0
- package/dist-es/models/models_0.js +1 -152
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +219 -0
- package/dist-types/models/errors.d.ts +80 -0
- package/dist-types/models/models_0.d.ts +1 -299
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +116 -0
- package/dist-types/ts3.4/models/errors.d.ts +34 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -150
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const AdditionalConstraintsElement: {
|
|
6
|
+
readonly REQUIRE_DIGIT: "REQUIRE_DIGIT";
|
|
7
|
+
readonly REQUIRE_LOWERCASE: "REQUIRE_LOWERCASE";
|
|
8
|
+
readonly REQUIRE_SYMBOL: "REQUIRE_SYMBOL";
|
|
9
|
+
readonly REQUIRE_UPPERCASE: "REQUIRE_UPPERCASE";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type AdditionalConstraintsElement = (typeof AdditionalConstraintsElement)[keyof typeof AdditionalConstraintsElement];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const Mode: {
|
|
20
|
+
readonly AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS";
|
|
21
|
+
readonly API_KEY: "API_KEY";
|
|
22
|
+
readonly AWS_IAM: "AWS_IAM";
|
|
23
|
+
readonly OPENID_CONNECT: "OPENID_CONNECT";
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export type Mode = (typeof Mode)[keyof typeof Mode];
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
* @enum
|
|
32
|
+
*/
|
|
33
|
+
export declare const ResolutionStrategy: {
|
|
34
|
+
readonly AUTOMERGE: "AUTOMERGE";
|
|
35
|
+
readonly LAMBDA: "LAMBDA";
|
|
36
|
+
readonly NONE: "NONE";
|
|
37
|
+
readonly OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY";
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export type ResolutionStrategy = (typeof ResolutionStrategy)[keyof typeof ResolutionStrategy];
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
* @enum
|
|
46
|
+
*/
|
|
47
|
+
export declare const AuthResources: {
|
|
48
|
+
readonly IDENTITY_POOL_AND_USER_POOL: "IDENTITY_POOL_AND_USER_POOL";
|
|
49
|
+
readonly USER_POOL_ONLY: "USER_POOL_ONLY";
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export type AuthResources = (typeof AuthResources)[keyof typeof AuthResources];
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @enum
|
|
58
|
+
*/
|
|
59
|
+
export declare const Service: {
|
|
60
|
+
readonly COGNITO: "COGNITO";
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type Service = (typeof Service)[keyof typeof Service];
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* @enum
|
|
69
|
+
*/
|
|
70
|
+
export declare const DeliveryMethod: {
|
|
71
|
+
readonly EMAIL: "EMAIL";
|
|
72
|
+
readonly SMS: "SMS";
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export type DeliveryMethod = (typeof DeliveryMethod)[keyof typeof DeliveryMethod];
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* @enum
|
|
81
|
+
*/
|
|
82
|
+
export declare const MFAMode: {
|
|
83
|
+
readonly OFF: "OFF";
|
|
84
|
+
readonly ON: "ON";
|
|
85
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export type MFAMode = (typeof MFAMode)[keyof typeof MFAMode];
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
* @enum
|
|
94
|
+
*/
|
|
95
|
+
export declare const MfaTypesElement: {
|
|
96
|
+
readonly SMS: "SMS";
|
|
97
|
+
readonly TOTP: "TOTP";
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export type MfaTypesElement = (typeof MfaTypesElement)[keyof typeof MfaTypesElement];
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
* @enum
|
|
106
|
+
*/
|
|
107
|
+
export declare const OAuthGrantType: {
|
|
108
|
+
readonly CODE: "CODE";
|
|
109
|
+
readonly IMPLICIT: "IMPLICIT";
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export type OAuthGrantType = (typeof OAuthGrantType)[keyof typeof OAuthGrantType];
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
* @enum
|
|
118
|
+
*/
|
|
119
|
+
export declare const OAuthScopesElement: {
|
|
120
|
+
readonly AWS_COGNITO_SIGNIN_USER_ADMIN: "AWS_COGNITO_SIGNIN_USER_ADMIN";
|
|
121
|
+
readonly EMAIL: "EMAIL";
|
|
122
|
+
readonly OPENID: "OPENID";
|
|
123
|
+
readonly PHONE: "PHONE";
|
|
124
|
+
readonly PROFILE: "PROFILE";
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export type OAuthScopesElement = (typeof OAuthScopesElement)[keyof typeof OAuthScopesElement];
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
* @enum
|
|
133
|
+
*/
|
|
134
|
+
export declare const RequiredSignUpAttributesElement: {
|
|
135
|
+
readonly ADDRESS: "ADDRESS";
|
|
136
|
+
readonly BIRTHDATE: "BIRTHDATE";
|
|
137
|
+
readonly EMAIL: "EMAIL";
|
|
138
|
+
readonly FAMILY_NAME: "FAMILY_NAME";
|
|
139
|
+
readonly GENDER: "GENDER";
|
|
140
|
+
readonly GIVEN_NAME: "GIVEN_NAME";
|
|
141
|
+
readonly LOCALE: "LOCALE";
|
|
142
|
+
readonly MIDDLE_NAME: "MIDDLE_NAME";
|
|
143
|
+
readonly NAME: "NAME";
|
|
144
|
+
readonly NICKNAME: "NICKNAME";
|
|
145
|
+
readonly PHONE_NUMBER: "PHONE_NUMBER";
|
|
146
|
+
readonly PICTURE: "PICTURE";
|
|
147
|
+
readonly PREFERRED_USERNAME: "PREFERRED_USERNAME";
|
|
148
|
+
readonly PROFILE: "PROFILE";
|
|
149
|
+
readonly UPDATED_AT: "UPDATED_AT";
|
|
150
|
+
readonly WEBSITE: "WEBSITE";
|
|
151
|
+
readonly ZONE_INFO: "ZONE_INFO";
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
export type RequiredSignUpAttributesElement = (typeof RequiredSignUpAttributesElement)[keyof typeof RequiredSignUpAttributesElement];
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* @enum
|
|
160
|
+
*/
|
|
161
|
+
export declare const SignInMethod: {
|
|
162
|
+
readonly EMAIL: "EMAIL";
|
|
163
|
+
readonly EMAIL_AND_PHONE_NUMBER: "EMAIL_AND_PHONE_NUMBER";
|
|
164
|
+
readonly PHONE_NUMBER: "PHONE_NUMBER";
|
|
165
|
+
readonly USERNAME: "USERNAME";
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export type SignInMethod = (typeof SignInMethod)[keyof typeof SignInMethod];
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
* @enum
|
|
174
|
+
*/
|
|
175
|
+
export declare const AuthenticatedElement: {
|
|
176
|
+
readonly CREATE_AND_UPDATE: "CREATE_AND_UPDATE";
|
|
177
|
+
readonly DELETE: "DELETE";
|
|
178
|
+
readonly READ: "READ";
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
export type AuthenticatedElement = (typeof AuthenticatedElement)[keyof typeof AuthenticatedElement];
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
* @enum
|
|
187
|
+
*/
|
|
188
|
+
export declare const UnAuthenticatedElement: {
|
|
189
|
+
readonly CREATE_AND_UPDATE: "CREATE_AND_UPDATE";
|
|
190
|
+
readonly DELETE: "DELETE";
|
|
191
|
+
readonly READ: "READ";
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
196
|
+
export type UnAuthenticatedElement = (typeof UnAuthenticatedElement)[keyof typeof UnAuthenticatedElement];
|
|
197
|
+
/**
|
|
198
|
+
* @public
|
|
199
|
+
* @enum
|
|
200
|
+
*/
|
|
201
|
+
export declare const ServiceName: {
|
|
202
|
+
readonly S3: "S3";
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
export type ServiceName = (typeof ServiceName)[keyof typeof ServiceName];
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
* @enum
|
|
211
|
+
*/
|
|
212
|
+
export declare const Status: {
|
|
213
|
+
readonly LATEST: "LATEST";
|
|
214
|
+
readonly STALE: "STALE";
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AmplifyBackendServiceException as __BaseException } from "./AmplifyBackendServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>An error returned if a request is not formed properly.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class BadRequestException extends __BaseException {
|
|
8
|
+
readonly name: "BadRequestException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* <p>An error message to inform that the request failed.</p>
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* <p>An error returned if there's a temporary issue with the service.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export declare class GatewayTimeoutException extends __BaseException {
|
|
25
|
+
readonly name: "GatewayTimeoutException";
|
|
26
|
+
readonly $fault: "server";
|
|
27
|
+
/**
|
|
28
|
+
* <p>An error message to inform that the request failed.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
Message?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
constructor(opts: __ExceptionOptionType<GatewayTimeoutException, __BaseException>);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* <p>An error returned when a specific resource type is not found.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export declare class NotFoundException extends __BaseException {
|
|
42
|
+
readonly name: "NotFoundException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
/**
|
|
45
|
+
* <p>An error message to inform that the request has failed.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
Message?: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The type of resource that is not found.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
ResourceType?: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* <p>An error that is returned when a limit of a specific type has been exceeded.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
64
|
+
readonly name: "TooManyRequestsException";
|
|
65
|
+
readonly $fault: "client";
|
|
66
|
+
/**
|
|
67
|
+
* <p>The type of limit that was exceeded.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
LimitType?: string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* <p>An error message to inform that the request has failed.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
Message?: string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
80
|
+
}
|
|
@@ -1,36 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AmplifyBackendServiceException as __BaseException } from "./AmplifyBackendServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const AdditionalConstraintsElement: {
|
|
8
|
-
readonly REQUIRE_DIGIT: "REQUIRE_DIGIT";
|
|
9
|
-
readonly REQUIRE_LOWERCASE: "REQUIRE_LOWERCASE";
|
|
10
|
-
readonly REQUIRE_SYMBOL: "REQUIRE_SYMBOL";
|
|
11
|
-
readonly REQUIRE_UPPERCASE: "REQUIRE_UPPERCASE";
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type AdditionalConstraintsElement = (typeof AdditionalConstraintsElement)[keyof typeof AdditionalConstraintsElement];
|
|
17
|
-
/**
|
|
18
|
-
* <p>An error returned if a request is not formed properly.</p>
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
export declare class BadRequestException extends __BaseException {
|
|
22
|
-
readonly name: "BadRequestException";
|
|
23
|
-
readonly $fault: "client";
|
|
24
|
-
/**
|
|
25
|
-
* <p>An error message to inform that the request failed.</p>
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
|
-
Message?: string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
32
|
-
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
33
|
-
}
|
|
1
|
+
import { AdditionalConstraintsElement, AuthenticatedElement, AuthResources, DeliveryMethod, MFAMode, MfaTypesElement, Mode, OAuthGrantType, OAuthScopesElement, RequiredSignUpAttributesElement, ResolutionStrategy, Service, ServiceName, SignInMethod, Status, UnAuthenticatedElement } from "./enums";
|
|
34
2
|
/**
|
|
35
3
|
* <p>The request body for CloneBackend.</p>
|
|
36
4
|
* @public
|
|
@@ -87,67 +55,6 @@ export interface CloneBackendResponse {
|
|
|
87
55
|
*/
|
|
88
56
|
Status?: string | undefined;
|
|
89
57
|
}
|
|
90
|
-
/**
|
|
91
|
-
* <p>An error returned if there's a temporary issue with the service.</p>
|
|
92
|
-
* @public
|
|
93
|
-
*/
|
|
94
|
-
export declare class GatewayTimeoutException extends __BaseException {
|
|
95
|
-
readonly name: "GatewayTimeoutException";
|
|
96
|
-
readonly $fault: "server";
|
|
97
|
-
/**
|
|
98
|
-
* <p>An error message to inform that the request failed.</p>
|
|
99
|
-
* @public
|
|
100
|
-
*/
|
|
101
|
-
Message?: string | undefined;
|
|
102
|
-
/**
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
105
|
-
constructor(opts: __ExceptionOptionType<GatewayTimeoutException, __BaseException>);
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* <p>An error returned when a specific resource type is not found.</p>
|
|
109
|
-
* @public
|
|
110
|
-
*/
|
|
111
|
-
export declare class NotFoundException extends __BaseException {
|
|
112
|
-
readonly name: "NotFoundException";
|
|
113
|
-
readonly $fault: "client";
|
|
114
|
-
/**
|
|
115
|
-
* <p>An error message to inform that the request has failed.</p>
|
|
116
|
-
* @public
|
|
117
|
-
*/
|
|
118
|
-
Message?: string | undefined;
|
|
119
|
-
/**
|
|
120
|
-
* <p>The type of resource that is not found.</p>
|
|
121
|
-
* @public
|
|
122
|
-
*/
|
|
123
|
-
ResourceType?: string | undefined;
|
|
124
|
-
/**
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
127
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* <p>An error that is returned when a limit of a specific type has been exceeded.</p>
|
|
131
|
-
* @public
|
|
132
|
-
*/
|
|
133
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
134
|
-
readonly name: "TooManyRequestsException";
|
|
135
|
-
readonly $fault: "client";
|
|
136
|
-
/**
|
|
137
|
-
* <p>The type of limit that was exceeded.</p>
|
|
138
|
-
* @public
|
|
139
|
-
*/
|
|
140
|
-
LimitType?: string | undefined;
|
|
141
|
-
/**
|
|
142
|
-
* <p>An error message to inform that the request has failed.</p>
|
|
143
|
-
* @public
|
|
144
|
-
*/
|
|
145
|
-
Message?: string | undefined;
|
|
146
|
-
/**
|
|
147
|
-
* @internal
|
|
148
|
-
*/
|
|
149
|
-
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
150
|
-
}
|
|
151
58
|
/**
|
|
152
59
|
* <p>Defines the resource configuration for the data model in your Amplify project.</p>
|
|
153
60
|
* @public
|
|
@@ -220,20 +127,6 @@ export interface CreateBackendResponse {
|
|
|
220
127
|
*/
|
|
221
128
|
Status?: string | undefined;
|
|
222
129
|
}
|
|
223
|
-
/**
|
|
224
|
-
* @public
|
|
225
|
-
* @enum
|
|
226
|
-
*/
|
|
227
|
-
export declare const Mode: {
|
|
228
|
-
readonly AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS";
|
|
229
|
-
readonly API_KEY: "API_KEY";
|
|
230
|
-
readonly AWS_IAM: "AWS_IAM";
|
|
231
|
-
readonly OPENID_CONNECT: "OPENID_CONNECT";
|
|
232
|
-
};
|
|
233
|
-
/**
|
|
234
|
-
* @public
|
|
235
|
-
*/
|
|
236
|
-
export type Mode = (typeof Mode)[keyof typeof Mode];
|
|
237
130
|
/**
|
|
238
131
|
* <p>The authentication settings for accessing provisioned data models in your Amplify project.</p>
|
|
239
132
|
* @public
|
|
@@ -296,20 +189,6 @@ export interface BackendAPIAuthType {
|
|
|
296
189
|
*/
|
|
297
190
|
Settings?: BackendAPIAppSyncAuthSettings | undefined;
|
|
298
191
|
}
|
|
299
|
-
/**
|
|
300
|
-
* @public
|
|
301
|
-
* @enum
|
|
302
|
-
*/
|
|
303
|
-
export declare const ResolutionStrategy: {
|
|
304
|
-
readonly AUTOMERGE: "AUTOMERGE";
|
|
305
|
-
readonly LAMBDA: "LAMBDA";
|
|
306
|
-
readonly NONE: "NONE";
|
|
307
|
-
readonly OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY";
|
|
308
|
-
};
|
|
309
|
-
/**
|
|
310
|
-
* @public
|
|
311
|
-
*/
|
|
312
|
-
export type ResolutionStrategy = (typeof ResolutionStrategy)[keyof typeof ResolutionStrategy];
|
|
313
192
|
/**
|
|
314
193
|
* <p>Describes the conflict resolution configuration for your data model configured in your Amplify project.</p>
|
|
315
194
|
* @public
|
|
@@ -418,18 +297,6 @@ export interface CreateBackendAPIResponse {
|
|
|
418
297
|
*/
|
|
419
298
|
Status?: string | undefined;
|
|
420
299
|
}
|
|
421
|
-
/**
|
|
422
|
-
* @public
|
|
423
|
-
* @enum
|
|
424
|
-
*/
|
|
425
|
-
export declare const AuthResources: {
|
|
426
|
-
readonly IDENTITY_POOL_AND_USER_POOL: "IDENTITY_POOL_AND_USER_POOL";
|
|
427
|
-
readonly USER_POOL_ONLY: "USER_POOL_ONLY";
|
|
428
|
-
};
|
|
429
|
-
/**
|
|
430
|
-
* @public
|
|
431
|
-
*/
|
|
432
|
-
export type AuthResources = (typeof AuthResources)[keyof typeof AuthResources];
|
|
433
300
|
/**
|
|
434
301
|
* <p>Describes authorization configurations for the auth resources, configured as a part of your Amplify project.</p>
|
|
435
302
|
* @public
|
|
@@ -446,29 +313,6 @@ export interface CreateBackendAuthIdentityPoolConfig {
|
|
|
446
313
|
*/
|
|
447
314
|
UnauthenticatedLogin: boolean | undefined;
|
|
448
315
|
}
|
|
449
|
-
/**
|
|
450
|
-
* @public
|
|
451
|
-
* @enum
|
|
452
|
-
*/
|
|
453
|
-
export declare const Service: {
|
|
454
|
-
readonly COGNITO: "COGNITO";
|
|
455
|
-
};
|
|
456
|
-
/**
|
|
457
|
-
* @public
|
|
458
|
-
*/
|
|
459
|
-
export type Service = (typeof Service)[keyof typeof Service];
|
|
460
|
-
/**
|
|
461
|
-
* @public
|
|
462
|
-
* @enum
|
|
463
|
-
*/
|
|
464
|
-
export declare const DeliveryMethod: {
|
|
465
|
-
readonly EMAIL: "EMAIL";
|
|
466
|
-
readonly SMS: "SMS";
|
|
467
|
-
};
|
|
468
|
-
/**
|
|
469
|
-
* @public
|
|
470
|
-
*/
|
|
471
|
-
export type DeliveryMethod = (typeof DeliveryMethod)[keyof typeof DeliveryMethod];
|
|
472
316
|
/**
|
|
473
317
|
* <p>The configuration for the email sent when an app user forgets their password.</p>
|
|
474
318
|
* @public
|
|
@@ -517,31 +361,6 @@ export interface CreateBackendAuthForgotPasswordConfig {
|
|
|
517
361
|
*/
|
|
518
362
|
SmsSettings?: SmsSettings | undefined;
|
|
519
363
|
}
|
|
520
|
-
/**
|
|
521
|
-
* @public
|
|
522
|
-
* @enum
|
|
523
|
-
*/
|
|
524
|
-
export declare const MFAMode: {
|
|
525
|
-
readonly OFF: "OFF";
|
|
526
|
-
readonly ON: "ON";
|
|
527
|
-
readonly OPTIONAL: "OPTIONAL";
|
|
528
|
-
};
|
|
529
|
-
/**
|
|
530
|
-
* @public
|
|
531
|
-
*/
|
|
532
|
-
export type MFAMode = (typeof MFAMode)[keyof typeof MFAMode];
|
|
533
|
-
/**
|
|
534
|
-
* @public
|
|
535
|
-
* @enum
|
|
536
|
-
*/
|
|
537
|
-
export declare const MfaTypesElement: {
|
|
538
|
-
readonly SMS: "SMS";
|
|
539
|
-
readonly TOTP: "TOTP";
|
|
540
|
-
};
|
|
541
|
-
/**
|
|
542
|
-
* @public
|
|
543
|
-
*/
|
|
544
|
-
export type MfaTypesElement = (typeof MfaTypesElement)[keyof typeof MfaTypesElement];
|
|
545
364
|
/**
|
|
546
365
|
* <p>The settings of your MFA configuration for the backend of your Amplify project.</p>
|
|
547
366
|
* @public
|
|
@@ -574,33 +393,6 @@ export interface CreateBackendAuthMFAConfig {
|
|
|
574
393
|
*/
|
|
575
394
|
Settings?: Settings | undefined;
|
|
576
395
|
}
|
|
577
|
-
/**
|
|
578
|
-
* @public
|
|
579
|
-
* @enum
|
|
580
|
-
*/
|
|
581
|
-
export declare const OAuthGrantType: {
|
|
582
|
-
readonly CODE: "CODE";
|
|
583
|
-
readonly IMPLICIT: "IMPLICIT";
|
|
584
|
-
};
|
|
585
|
-
/**
|
|
586
|
-
* @public
|
|
587
|
-
*/
|
|
588
|
-
export type OAuthGrantType = (typeof OAuthGrantType)[keyof typeof OAuthGrantType];
|
|
589
|
-
/**
|
|
590
|
-
* @public
|
|
591
|
-
* @enum
|
|
592
|
-
*/
|
|
593
|
-
export declare const OAuthScopesElement: {
|
|
594
|
-
readonly AWS_COGNITO_SIGNIN_USER_ADMIN: "AWS_COGNITO_SIGNIN_USER_ADMIN";
|
|
595
|
-
readonly EMAIL: "EMAIL";
|
|
596
|
-
readonly OPENID: "OPENID";
|
|
597
|
-
readonly PHONE: "PHONE";
|
|
598
|
-
readonly PROFILE: "PROFILE";
|
|
599
|
-
};
|
|
600
|
-
/**
|
|
601
|
-
* @public
|
|
602
|
-
*/
|
|
603
|
-
export type OAuthScopesElement = (typeof OAuthScopesElement)[keyof typeof OAuthScopesElement];
|
|
604
396
|
/**
|
|
605
397
|
* <p>Describes third-party social federation configurations for allowing your app users to sign in using OAuth.</p>
|
|
606
398
|
* @public
|
|
@@ -721,47 +513,6 @@ export interface CreateBackendAuthPasswordPolicyConfig {
|
|
|
721
513
|
*/
|
|
722
514
|
MinimumLength: number | undefined;
|
|
723
515
|
}
|
|
724
|
-
/**
|
|
725
|
-
* @public
|
|
726
|
-
* @enum
|
|
727
|
-
*/
|
|
728
|
-
export declare const RequiredSignUpAttributesElement: {
|
|
729
|
-
readonly ADDRESS: "ADDRESS";
|
|
730
|
-
readonly BIRTHDATE: "BIRTHDATE";
|
|
731
|
-
readonly EMAIL: "EMAIL";
|
|
732
|
-
readonly FAMILY_NAME: "FAMILY_NAME";
|
|
733
|
-
readonly GENDER: "GENDER";
|
|
734
|
-
readonly GIVEN_NAME: "GIVEN_NAME";
|
|
735
|
-
readonly LOCALE: "LOCALE";
|
|
736
|
-
readonly MIDDLE_NAME: "MIDDLE_NAME";
|
|
737
|
-
readonly NAME: "NAME";
|
|
738
|
-
readonly NICKNAME: "NICKNAME";
|
|
739
|
-
readonly PHONE_NUMBER: "PHONE_NUMBER";
|
|
740
|
-
readonly PICTURE: "PICTURE";
|
|
741
|
-
readonly PREFERRED_USERNAME: "PREFERRED_USERNAME";
|
|
742
|
-
readonly PROFILE: "PROFILE";
|
|
743
|
-
readonly UPDATED_AT: "UPDATED_AT";
|
|
744
|
-
readonly WEBSITE: "WEBSITE";
|
|
745
|
-
readonly ZONE_INFO: "ZONE_INFO";
|
|
746
|
-
};
|
|
747
|
-
/**
|
|
748
|
-
* @public
|
|
749
|
-
*/
|
|
750
|
-
export type RequiredSignUpAttributesElement = (typeof RequiredSignUpAttributesElement)[keyof typeof RequiredSignUpAttributesElement];
|
|
751
|
-
/**
|
|
752
|
-
* @public
|
|
753
|
-
* @enum
|
|
754
|
-
*/
|
|
755
|
-
export declare const SignInMethod: {
|
|
756
|
-
readonly EMAIL: "EMAIL";
|
|
757
|
-
readonly EMAIL_AND_PHONE_NUMBER: "EMAIL_AND_PHONE_NUMBER";
|
|
758
|
-
readonly PHONE_NUMBER: "PHONE_NUMBER";
|
|
759
|
-
readonly USERNAME: "USERNAME";
|
|
760
|
-
};
|
|
761
|
-
/**
|
|
762
|
-
* @public
|
|
763
|
-
*/
|
|
764
|
-
export type SignInMethod = (typeof SignInMethod)[keyof typeof SignInMethod];
|
|
765
516
|
/**
|
|
766
517
|
* <p>Creates an email or SMS verification message for the auth resource configured for your Amplify project.</p>
|
|
767
518
|
* @public
|
|
@@ -957,32 +708,6 @@ export interface CreateBackendConfigResponse {
|
|
|
957
708
|
*/
|
|
958
709
|
Status?: string | undefined;
|
|
959
710
|
}
|
|
960
|
-
/**
|
|
961
|
-
* @public
|
|
962
|
-
* @enum
|
|
963
|
-
*/
|
|
964
|
-
export declare const AuthenticatedElement: {
|
|
965
|
-
readonly CREATE_AND_UPDATE: "CREATE_AND_UPDATE";
|
|
966
|
-
readonly DELETE: "DELETE";
|
|
967
|
-
readonly READ: "READ";
|
|
968
|
-
};
|
|
969
|
-
/**
|
|
970
|
-
* @public
|
|
971
|
-
*/
|
|
972
|
-
export type AuthenticatedElement = (typeof AuthenticatedElement)[keyof typeof AuthenticatedElement];
|
|
973
|
-
/**
|
|
974
|
-
* @public
|
|
975
|
-
* @enum
|
|
976
|
-
*/
|
|
977
|
-
export declare const UnAuthenticatedElement: {
|
|
978
|
-
readonly CREATE_AND_UPDATE: "CREATE_AND_UPDATE";
|
|
979
|
-
readonly DELETE: "DELETE";
|
|
980
|
-
readonly READ: "READ";
|
|
981
|
-
};
|
|
982
|
-
/**
|
|
983
|
-
* @public
|
|
984
|
-
*/
|
|
985
|
-
export type UnAuthenticatedElement = (typeof UnAuthenticatedElement)[keyof typeof UnAuthenticatedElement];
|
|
986
711
|
/**
|
|
987
712
|
* <p>Describes the read, write, and delete permissions users have against your storage S3 bucket.</p>
|
|
988
713
|
* @public
|
|
@@ -999,17 +724,6 @@ export interface BackendStoragePermissions {
|
|
|
999
724
|
*/
|
|
1000
725
|
UnAuthenticated?: UnAuthenticatedElement[] | undefined;
|
|
1001
726
|
}
|
|
1002
|
-
/**
|
|
1003
|
-
* @public
|
|
1004
|
-
* @enum
|
|
1005
|
-
*/
|
|
1006
|
-
export declare const ServiceName: {
|
|
1007
|
-
readonly S3: "S3";
|
|
1008
|
-
};
|
|
1009
|
-
/**
|
|
1010
|
-
* @public
|
|
1011
|
-
*/
|
|
1012
|
-
export type ServiceName = (typeof ServiceName)[keyof typeof ServiceName];
|
|
1013
727
|
/**
|
|
1014
728
|
* <p>The resource configuration for creating backend storage.</p>
|
|
1015
729
|
* @public
|
|
@@ -1549,18 +1263,6 @@ export interface GetBackendAPIModelsRequest {
|
|
|
1549
1263
|
*/
|
|
1550
1264
|
ResourceName: string | undefined;
|
|
1551
1265
|
}
|
|
1552
|
-
/**
|
|
1553
|
-
* @public
|
|
1554
|
-
* @enum
|
|
1555
|
-
*/
|
|
1556
|
-
export declare const Status: {
|
|
1557
|
-
readonly LATEST: "LATEST";
|
|
1558
|
-
readonly STALE: "STALE";
|
|
1559
|
-
};
|
|
1560
|
-
/**
|
|
1561
|
-
* @public
|
|
1562
|
-
*/
|
|
1563
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
1564
1266
|
/**
|
|
1565
1267
|
* @public
|
|
1566
1268
|
*/
|
|
@@ -4,5 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { AmplifyBackendExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
-
export * from "./models";
|
|
7
|
+
export * from "./models/enums";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
8
10
|
export { AmplifyBackendServiceException } from "./models/AmplifyBackendServiceException";
|