@aws-sdk/client-amplifybackend 3.934.0 → 3.936.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 +19 -19
- 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,116 @@
|
|
|
1
|
+
export declare const AdditionalConstraintsElement: {
|
|
2
|
+
readonly REQUIRE_DIGIT: "REQUIRE_DIGIT";
|
|
3
|
+
readonly REQUIRE_LOWERCASE: "REQUIRE_LOWERCASE";
|
|
4
|
+
readonly REQUIRE_SYMBOL: "REQUIRE_SYMBOL";
|
|
5
|
+
readonly REQUIRE_UPPERCASE: "REQUIRE_UPPERCASE";
|
|
6
|
+
};
|
|
7
|
+
export type AdditionalConstraintsElement =
|
|
8
|
+
(typeof AdditionalConstraintsElement)[keyof typeof AdditionalConstraintsElement];
|
|
9
|
+
export declare const Mode: {
|
|
10
|
+
readonly AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS";
|
|
11
|
+
readonly API_KEY: "API_KEY";
|
|
12
|
+
readonly AWS_IAM: "AWS_IAM";
|
|
13
|
+
readonly OPENID_CONNECT: "OPENID_CONNECT";
|
|
14
|
+
};
|
|
15
|
+
export type Mode = (typeof Mode)[keyof typeof Mode];
|
|
16
|
+
export declare const ResolutionStrategy: {
|
|
17
|
+
readonly AUTOMERGE: "AUTOMERGE";
|
|
18
|
+
readonly LAMBDA: "LAMBDA";
|
|
19
|
+
readonly NONE: "NONE";
|
|
20
|
+
readonly OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY";
|
|
21
|
+
};
|
|
22
|
+
export type ResolutionStrategy =
|
|
23
|
+
(typeof ResolutionStrategy)[keyof typeof ResolutionStrategy];
|
|
24
|
+
export declare const AuthResources: {
|
|
25
|
+
readonly IDENTITY_POOL_AND_USER_POOL: "IDENTITY_POOL_AND_USER_POOL";
|
|
26
|
+
readonly USER_POOL_ONLY: "USER_POOL_ONLY";
|
|
27
|
+
};
|
|
28
|
+
export type AuthResources = (typeof AuthResources)[keyof typeof AuthResources];
|
|
29
|
+
export declare const Service: {
|
|
30
|
+
readonly COGNITO: "COGNITO";
|
|
31
|
+
};
|
|
32
|
+
export type Service = (typeof Service)[keyof typeof Service];
|
|
33
|
+
export declare const DeliveryMethod: {
|
|
34
|
+
readonly EMAIL: "EMAIL";
|
|
35
|
+
readonly SMS: "SMS";
|
|
36
|
+
};
|
|
37
|
+
export type DeliveryMethod =
|
|
38
|
+
(typeof DeliveryMethod)[keyof typeof DeliveryMethod];
|
|
39
|
+
export declare const MFAMode: {
|
|
40
|
+
readonly OFF: "OFF";
|
|
41
|
+
readonly ON: "ON";
|
|
42
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
43
|
+
};
|
|
44
|
+
export type MFAMode = (typeof MFAMode)[keyof typeof MFAMode];
|
|
45
|
+
export declare const MfaTypesElement: {
|
|
46
|
+
readonly SMS: "SMS";
|
|
47
|
+
readonly TOTP: "TOTP";
|
|
48
|
+
};
|
|
49
|
+
export type MfaTypesElement =
|
|
50
|
+
(typeof MfaTypesElement)[keyof typeof MfaTypesElement];
|
|
51
|
+
export declare const OAuthGrantType: {
|
|
52
|
+
readonly CODE: "CODE";
|
|
53
|
+
readonly IMPLICIT: "IMPLICIT";
|
|
54
|
+
};
|
|
55
|
+
export type OAuthGrantType =
|
|
56
|
+
(typeof OAuthGrantType)[keyof typeof OAuthGrantType];
|
|
57
|
+
export declare const OAuthScopesElement: {
|
|
58
|
+
readonly AWS_COGNITO_SIGNIN_USER_ADMIN: "AWS_COGNITO_SIGNIN_USER_ADMIN";
|
|
59
|
+
readonly EMAIL: "EMAIL";
|
|
60
|
+
readonly OPENID: "OPENID";
|
|
61
|
+
readonly PHONE: "PHONE";
|
|
62
|
+
readonly PROFILE: "PROFILE";
|
|
63
|
+
};
|
|
64
|
+
export type OAuthScopesElement =
|
|
65
|
+
(typeof OAuthScopesElement)[keyof typeof OAuthScopesElement];
|
|
66
|
+
export declare const RequiredSignUpAttributesElement: {
|
|
67
|
+
readonly ADDRESS: "ADDRESS";
|
|
68
|
+
readonly BIRTHDATE: "BIRTHDATE";
|
|
69
|
+
readonly EMAIL: "EMAIL";
|
|
70
|
+
readonly FAMILY_NAME: "FAMILY_NAME";
|
|
71
|
+
readonly GENDER: "GENDER";
|
|
72
|
+
readonly GIVEN_NAME: "GIVEN_NAME";
|
|
73
|
+
readonly LOCALE: "LOCALE";
|
|
74
|
+
readonly MIDDLE_NAME: "MIDDLE_NAME";
|
|
75
|
+
readonly NAME: "NAME";
|
|
76
|
+
readonly NICKNAME: "NICKNAME";
|
|
77
|
+
readonly PHONE_NUMBER: "PHONE_NUMBER";
|
|
78
|
+
readonly PICTURE: "PICTURE";
|
|
79
|
+
readonly PREFERRED_USERNAME: "PREFERRED_USERNAME";
|
|
80
|
+
readonly PROFILE: "PROFILE";
|
|
81
|
+
readonly UPDATED_AT: "UPDATED_AT";
|
|
82
|
+
readonly WEBSITE: "WEBSITE";
|
|
83
|
+
readonly ZONE_INFO: "ZONE_INFO";
|
|
84
|
+
};
|
|
85
|
+
export type RequiredSignUpAttributesElement =
|
|
86
|
+
(typeof RequiredSignUpAttributesElement)[keyof typeof RequiredSignUpAttributesElement];
|
|
87
|
+
export declare const SignInMethod: {
|
|
88
|
+
readonly EMAIL: "EMAIL";
|
|
89
|
+
readonly EMAIL_AND_PHONE_NUMBER: "EMAIL_AND_PHONE_NUMBER";
|
|
90
|
+
readonly PHONE_NUMBER: "PHONE_NUMBER";
|
|
91
|
+
readonly USERNAME: "USERNAME";
|
|
92
|
+
};
|
|
93
|
+
export type SignInMethod = (typeof SignInMethod)[keyof typeof SignInMethod];
|
|
94
|
+
export declare const AuthenticatedElement: {
|
|
95
|
+
readonly CREATE_AND_UPDATE: "CREATE_AND_UPDATE";
|
|
96
|
+
readonly DELETE: "DELETE";
|
|
97
|
+
readonly READ: "READ";
|
|
98
|
+
};
|
|
99
|
+
export type AuthenticatedElement =
|
|
100
|
+
(typeof AuthenticatedElement)[keyof typeof AuthenticatedElement];
|
|
101
|
+
export declare const UnAuthenticatedElement: {
|
|
102
|
+
readonly CREATE_AND_UPDATE: "CREATE_AND_UPDATE";
|
|
103
|
+
readonly DELETE: "DELETE";
|
|
104
|
+
readonly READ: "READ";
|
|
105
|
+
};
|
|
106
|
+
export type UnAuthenticatedElement =
|
|
107
|
+
(typeof UnAuthenticatedElement)[keyof typeof UnAuthenticatedElement];
|
|
108
|
+
export declare const ServiceName: {
|
|
109
|
+
readonly S3: "S3";
|
|
110
|
+
};
|
|
111
|
+
export type ServiceName = (typeof ServiceName)[keyof typeof ServiceName];
|
|
112
|
+
export declare const Status: {
|
|
113
|
+
readonly LATEST: "LATEST";
|
|
114
|
+
readonly STALE: "STALE";
|
|
115
|
+
};
|
|
116
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AmplifyBackendServiceException as __BaseException } from "./AmplifyBackendServiceException";
|
|
3
|
+
export declare class BadRequestException extends __BaseException {
|
|
4
|
+
readonly name: "BadRequestException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare class GatewayTimeoutException extends __BaseException {
|
|
12
|
+
readonly name: "GatewayTimeoutException";
|
|
13
|
+
readonly $fault: "server";
|
|
14
|
+
Message?: string | undefined;
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<GatewayTimeoutException, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class NotFoundException extends __BaseException {
|
|
20
|
+
readonly name: "NotFoundException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
Message?: string | undefined;
|
|
23
|
+
ResourceType?: string | undefined;
|
|
24
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
25
|
+
}
|
|
26
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
27
|
+
readonly name: "TooManyRequestsException";
|
|
28
|
+
readonly $fault: "client";
|
|
29
|
+
LimitType?: string | undefined;
|
|
30
|
+
Message?: string | undefined;
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
1
|
+
import {
|
|
2
|
+
AdditionalConstraintsElement,
|
|
3
|
+
AuthenticatedElement,
|
|
4
|
+
AuthResources,
|
|
5
|
+
DeliveryMethod,
|
|
6
|
+
MFAMode,
|
|
7
|
+
MfaTypesElement,
|
|
8
|
+
Mode,
|
|
9
|
+
OAuthGrantType,
|
|
10
|
+
OAuthScopesElement,
|
|
11
|
+
RequiredSignUpAttributesElement,
|
|
12
|
+
ResolutionStrategy,
|
|
13
|
+
Service,
|
|
14
|
+
ServiceName,
|
|
15
|
+
SignInMethod,
|
|
16
|
+
Status,
|
|
17
|
+
UnAuthenticatedElement,
|
|
18
|
+
} from "./enums";
|
|
19
19
|
export interface CloneBackendRequest {
|
|
20
20
|
AppId: string | undefined;
|
|
21
21
|
BackendEnvironmentName: string | undefined;
|
|
@@ -29,30 +29,6 @@ export interface CloneBackendResponse {
|
|
|
29
29
|
Operation?: string | undefined;
|
|
30
30
|
Status?: string | undefined;
|
|
31
31
|
}
|
|
32
|
-
export declare class GatewayTimeoutException extends __BaseException {
|
|
33
|
-
readonly name: "GatewayTimeoutException";
|
|
34
|
-
readonly $fault: "server";
|
|
35
|
-
Message?: string | undefined;
|
|
36
|
-
constructor(
|
|
37
|
-
opts: __ExceptionOptionType<GatewayTimeoutException, __BaseException>
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
export declare class NotFoundException extends __BaseException {
|
|
41
|
-
readonly name: "NotFoundException";
|
|
42
|
-
readonly $fault: "client";
|
|
43
|
-
Message?: string | undefined;
|
|
44
|
-
ResourceType?: string | undefined;
|
|
45
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
46
|
-
}
|
|
47
|
-
export declare class TooManyRequestsException extends __BaseException {
|
|
48
|
-
readonly name: "TooManyRequestsException";
|
|
49
|
-
readonly $fault: "client";
|
|
50
|
-
LimitType?: string | undefined;
|
|
51
|
-
Message?: string | undefined;
|
|
52
|
-
constructor(
|
|
53
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
32
|
export interface ResourceConfig {}
|
|
57
33
|
export interface CreateBackendRequest {
|
|
58
34
|
AppId: string | undefined;
|
|
@@ -69,13 +45,6 @@ export interface CreateBackendResponse {
|
|
|
69
45
|
Operation?: string | undefined;
|
|
70
46
|
Status?: string | undefined;
|
|
71
47
|
}
|
|
72
|
-
export declare const Mode: {
|
|
73
|
-
readonly AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS";
|
|
74
|
-
readonly API_KEY: "API_KEY";
|
|
75
|
-
readonly AWS_IAM: "AWS_IAM";
|
|
76
|
-
readonly OPENID_CONNECT: "OPENID_CONNECT";
|
|
77
|
-
};
|
|
78
|
-
export type Mode = (typeof Mode)[keyof typeof Mode];
|
|
79
48
|
export interface BackendAPIAppSyncAuthSettings {
|
|
80
49
|
CognitoUserPoolId?: string | undefined;
|
|
81
50
|
Description?: string | undefined;
|
|
@@ -90,14 +59,6 @@ export interface BackendAPIAuthType {
|
|
|
90
59
|
Mode?: Mode | undefined;
|
|
91
60
|
Settings?: BackendAPIAppSyncAuthSettings | undefined;
|
|
92
61
|
}
|
|
93
|
-
export declare const ResolutionStrategy: {
|
|
94
|
-
readonly AUTOMERGE: "AUTOMERGE";
|
|
95
|
-
readonly LAMBDA: "LAMBDA";
|
|
96
|
-
readonly NONE: "NONE";
|
|
97
|
-
readonly OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY";
|
|
98
|
-
};
|
|
99
|
-
export type ResolutionStrategy =
|
|
100
|
-
(typeof ResolutionStrategy)[keyof typeof ResolutionStrategy];
|
|
101
62
|
export interface BackendAPIConflictResolution {
|
|
102
63
|
ResolutionStrategy?: ResolutionStrategy | undefined;
|
|
103
64
|
}
|
|
@@ -123,25 +84,10 @@ export interface CreateBackendAPIResponse {
|
|
|
123
84
|
Operation?: string | undefined;
|
|
124
85
|
Status?: string | undefined;
|
|
125
86
|
}
|
|
126
|
-
export declare const AuthResources: {
|
|
127
|
-
readonly IDENTITY_POOL_AND_USER_POOL: "IDENTITY_POOL_AND_USER_POOL";
|
|
128
|
-
readonly USER_POOL_ONLY: "USER_POOL_ONLY";
|
|
129
|
-
};
|
|
130
|
-
export type AuthResources = (typeof AuthResources)[keyof typeof AuthResources];
|
|
131
87
|
export interface CreateBackendAuthIdentityPoolConfig {
|
|
132
88
|
IdentityPoolName: string | undefined;
|
|
133
89
|
UnauthenticatedLogin: boolean | undefined;
|
|
134
90
|
}
|
|
135
|
-
export declare const Service: {
|
|
136
|
-
readonly COGNITO: "COGNITO";
|
|
137
|
-
};
|
|
138
|
-
export type Service = (typeof Service)[keyof typeof Service];
|
|
139
|
-
export declare const DeliveryMethod: {
|
|
140
|
-
readonly EMAIL: "EMAIL";
|
|
141
|
-
readonly SMS: "SMS";
|
|
142
|
-
};
|
|
143
|
-
export type DeliveryMethod =
|
|
144
|
-
(typeof DeliveryMethod)[keyof typeof DeliveryMethod];
|
|
145
91
|
export interface EmailSettings {
|
|
146
92
|
EmailMessage?: string | undefined;
|
|
147
93
|
EmailSubject?: string | undefined;
|
|
@@ -154,18 +100,6 @@ export interface CreateBackendAuthForgotPasswordConfig {
|
|
|
154
100
|
EmailSettings?: EmailSettings | undefined;
|
|
155
101
|
SmsSettings?: SmsSettings | undefined;
|
|
156
102
|
}
|
|
157
|
-
export declare const MFAMode: {
|
|
158
|
-
readonly OFF: "OFF";
|
|
159
|
-
readonly ON: "ON";
|
|
160
|
-
readonly OPTIONAL: "OPTIONAL";
|
|
161
|
-
};
|
|
162
|
-
export type MFAMode = (typeof MFAMode)[keyof typeof MFAMode];
|
|
163
|
-
export declare const MfaTypesElement: {
|
|
164
|
-
readonly SMS: "SMS";
|
|
165
|
-
readonly TOTP: "TOTP";
|
|
166
|
-
};
|
|
167
|
-
export type MfaTypesElement =
|
|
168
|
-
(typeof MfaTypesElement)[keyof typeof MfaTypesElement];
|
|
169
103
|
export interface Settings {
|
|
170
104
|
MfaTypes?: MfaTypesElement[] | undefined;
|
|
171
105
|
SmsMessage?: string | undefined;
|
|
@@ -174,21 +108,6 @@ export interface CreateBackendAuthMFAConfig {
|
|
|
174
108
|
MFAMode: MFAMode | undefined;
|
|
175
109
|
Settings?: Settings | undefined;
|
|
176
110
|
}
|
|
177
|
-
export declare const OAuthGrantType: {
|
|
178
|
-
readonly CODE: "CODE";
|
|
179
|
-
readonly IMPLICIT: "IMPLICIT";
|
|
180
|
-
};
|
|
181
|
-
export type OAuthGrantType =
|
|
182
|
-
(typeof OAuthGrantType)[keyof typeof OAuthGrantType];
|
|
183
|
-
export declare const OAuthScopesElement: {
|
|
184
|
-
readonly AWS_COGNITO_SIGNIN_USER_ADMIN: "AWS_COGNITO_SIGNIN_USER_ADMIN";
|
|
185
|
-
readonly EMAIL: "EMAIL";
|
|
186
|
-
readonly OPENID: "OPENID";
|
|
187
|
-
readonly PHONE: "PHONE";
|
|
188
|
-
readonly PROFILE: "PROFILE";
|
|
189
|
-
};
|
|
190
|
-
export type OAuthScopesElement =
|
|
191
|
-
(typeof OAuthScopesElement)[keyof typeof OAuthScopesElement];
|
|
192
111
|
export interface BackendAuthSocialProviderConfig {
|
|
193
112
|
ClientId?: string | undefined;
|
|
194
113
|
ClientSecret?: string | undefined;
|
|
@@ -217,34 +136,6 @@ export interface CreateBackendAuthPasswordPolicyConfig {
|
|
|
217
136
|
AdditionalConstraints?: AdditionalConstraintsElement[] | undefined;
|
|
218
137
|
MinimumLength: number | undefined;
|
|
219
138
|
}
|
|
220
|
-
export declare const RequiredSignUpAttributesElement: {
|
|
221
|
-
readonly ADDRESS: "ADDRESS";
|
|
222
|
-
readonly BIRTHDATE: "BIRTHDATE";
|
|
223
|
-
readonly EMAIL: "EMAIL";
|
|
224
|
-
readonly FAMILY_NAME: "FAMILY_NAME";
|
|
225
|
-
readonly GENDER: "GENDER";
|
|
226
|
-
readonly GIVEN_NAME: "GIVEN_NAME";
|
|
227
|
-
readonly LOCALE: "LOCALE";
|
|
228
|
-
readonly MIDDLE_NAME: "MIDDLE_NAME";
|
|
229
|
-
readonly NAME: "NAME";
|
|
230
|
-
readonly NICKNAME: "NICKNAME";
|
|
231
|
-
readonly PHONE_NUMBER: "PHONE_NUMBER";
|
|
232
|
-
readonly PICTURE: "PICTURE";
|
|
233
|
-
readonly PREFERRED_USERNAME: "PREFERRED_USERNAME";
|
|
234
|
-
readonly PROFILE: "PROFILE";
|
|
235
|
-
readonly UPDATED_AT: "UPDATED_AT";
|
|
236
|
-
readonly WEBSITE: "WEBSITE";
|
|
237
|
-
readonly ZONE_INFO: "ZONE_INFO";
|
|
238
|
-
};
|
|
239
|
-
export type RequiredSignUpAttributesElement =
|
|
240
|
-
(typeof RequiredSignUpAttributesElement)[keyof typeof RequiredSignUpAttributesElement];
|
|
241
|
-
export declare const SignInMethod: {
|
|
242
|
-
readonly EMAIL: "EMAIL";
|
|
243
|
-
readonly EMAIL_AND_PHONE_NUMBER: "EMAIL_AND_PHONE_NUMBER";
|
|
244
|
-
readonly PHONE_NUMBER: "PHONE_NUMBER";
|
|
245
|
-
readonly USERNAME: "USERNAME";
|
|
246
|
-
};
|
|
247
|
-
export type SignInMethod = (typeof SignInMethod)[keyof typeof SignInMethod];
|
|
248
139
|
export interface CreateBackendAuthVerificationMessageConfig {
|
|
249
140
|
DeliveryMethod: DeliveryMethod | undefined;
|
|
250
141
|
EmailSettings?: EmailSettings | undefined;
|
|
@@ -290,28 +181,10 @@ export interface CreateBackendConfigResponse {
|
|
|
290
181
|
JobId?: string | undefined;
|
|
291
182
|
Status?: string | undefined;
|
|
292
183
|
}
|
|
293
|
-
export declare const AuthenticatedElement: {
|
|
294
|
-
readonly CREATE_AND_UPDATE: "CREATE_AND_UPDATE";
|
|
295
|
-
readonly DELETE: "DELETE";
|
|
296
|
-
readonly READ: "READ";
|
|
297
|
-
};
|
|
298
|
-
export type AuthenticatedElement =
|
|
299
|
-
(typeof AuthenticatedElement)[keyof typeof AuthenticatedElement];
|
|
300
|
-
export declare const UnAuthenticatedElement: {
|
|
301
|
-
readonly CREATE_AND_UPDATE: "CREATE_AND_UPDATE";
|
|
302
|
-
readonly DELETE: "DELETE";
|
|
303
|
-
readonly READ: "READ";
|
|
304
|
-
};
|
|
305
|
-
export type UnAuthenticatedElement =
|
|
306
|
-
(typeof UnAuthenticatedElement)[keyof typeof UnAuthenticatedElement];
|
|
307
184
|
export interface BackendStoragePermissions {
|
|
308
185
|
Authenticated: AuthenticatedElement[] | undefined;
|
|
309
186
|
UnAuthenticated?: UnAuthenticatedElement[] | undefined;
|
|
310
187
|
}
|
|
311
|
-
export declare const ServiceName: {
|
|
312
|
-
readonly S3: "S3";
|
|
313
|
-
};
|
|
314
|
-
export type ServiceName = (typeof ServiceName)[keyof typeof ServiceName];
|
|
315
188
|
export interface CreateBackendStorageResourceConfig {
|
|
316
189
|
BucketName?: string | undefined;
|
|
317
190
|
Permissions: BackendStoragePermissions | undefined;
|
|
@@ -440,11 +313,6 @@ export interface GetBackendAPIModelsRequest {
|
|
|
440
313
|
BackendEnvironmentName: string | undefined;
|
|
441
314
|
ResourceName: string | undefined;
|
|
442
315
|
}
|
|
443
|
-
export declare const Status: {
|
|
444
|
-
readonly LATEST: "LATEST";
|
|
445
|
-
readonly STALE: "STALE";
|
|
446
|
-
};
|
|
447
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
448
316
|
export interface GetBackendAPIModelsResponse {
|
|
449
317
|
Models?: string | undefined;
|
|
450
318
|
Status?: Status | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amplifybackend",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amplifybackend Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-amplifybackend",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|