@aws-sdk/client-amplify 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 +79 -78
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +78 -0
- package/dist-es/models/errors.js +87 -0
- package/dist-es/models/models_0.js +1 -165
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +174 -0
- package/dist-types/models/errors.d.ts +87 -0
- package/dist-types/models/models_0.d.ts +1 -261
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +94 -0
- package/dist-types/ts3.4/models/errors.d.ts +53 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -147
- 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,53 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AmplifyServiceException as __BaseException } from "./AmplifyServiceException";
|
|
3
|
+
export declare class BadRequestException extends __BaseException {
|
|
4
|
+
readonly name: "BadRequestException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class DependentServiceFailureException extends __BaseException {
|
|
11
|
+
readonly name: "DependentServiceFailureException";
|
|
12
|
+
readonly $fault: "server";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<
|
|
15
|
+
DependentServiceFailureException,
|
|
16
|
+
__BaseException
|
|
17
|
+
>
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
export declare class InternalFailureException extends __BaseException {
|
|
21
|
+
readonly name: "InternalFailureException";
|
|
22
|
+
readonly $fault: "server";
|
|
23
|
+
constructor(
|
|
24
|
+
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
export declare class LimitExceededException extends __BaseException {
|
|
28
|
+
readonly name: "LimitExceededException";
|
|
29
|
+
readonly $fault: "client";
|
|
30
|
+
constructor(
|
|
31
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
35
|
+
readonly name: "UnauthorizedException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
constructor(
|
|
38
|
+
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
export declare class NotFoundException extends __BaseException {
|
|
42
|
+
readonly name: "NotFoundException";
|
|
43
|
+
readonly $fault: "client";
|
|
44
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
45
|
+
}
|
|
46
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
47
|
+
readonly name: "ResourceNotFoundException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
code: string | undefined;
|
|
50
|
+
constructor(
|
|
51
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
readonly PULL_REQUEST: "PULL_REQUEST";
|
|
16
|
-
};
|
|
17
|
-
export type Stage = (typeof Stage)[keyof typeof Stage];
|
|
1
|
+
import {
|
|
2
|
+
BuildComputeType,
|
|
3
|
+
CacheConfigType,
|
|
4
|
+
CertificateType,
|
|
5
|
+
DomainStatus,
|
|
6
|
+
JobStatus,
|
|
7
|
+
JobType,
|
|
8
|
+
Platform,
|
|
9
|
+
RepositoryCloneMethod,
|
|
10
|
+
SourceUrlType,
|
|
11
|
+
Stage,
|
|
12
|
+
UpdateStatus,
|
|
13
|
+
WafStatus,
|
|
14
|
+
} from "./enums";
|
|
18
15
|
export interface AutoBranchCreationConfig {
|
|
19
16
|
stage?: Stage | undefined;
|
|
20
17
|
framework?: string | undefined;
|
|
@@ -27,12 +24,6 @@ export interface AutoBranchCreationConfig {
|
|
|
27
24
|
enablePullRequestPreview?: boolean | undefined;
|
|
28
25
|
pullRequestEnvironmentName?: string | undefined;
|
|
29
26
|
}
|
|
30
|
-
export declare const CacheConfigType: {
|
|
31
|
-
readonly AMPLIFY_MANAGED: "AMPLIFY_MANAGED";
|
|
32
|
-
readonly AMPLIFY_MANAGED_NO_COOKIES: "AMPLIFY_MANAGED_NO_COOKIES";
|
|
33
|
-
};
|
|
34
|
-
export type CacheConfigType =
|
|
35
|
-
(typeof CacheConfigType)[keyof typeof CacheConfigType];
|
|
36
27
|
export interface CacheConfig {
|
|
37
28
|
type: CacheConfigType | undefined;
|
|
38
29
|
}
|
|
@@ -42,22 +33,9 @@ export interface CustomRule {
|
|
|
42
33
|
status?: string | undefined;
|
|
43
34
|
condition?: string | undefined;
|
|
44
35
|
}
|
|
45
|
-
export declare const BuildComputeType: {
|
|
46
|
-
readonly LARGE_16GB: "LARGE_16GB";
|
|
47
|
-
readonly STANDARD_8GB: "STANDARD_8GB";
|
|
48
|
-
readonly XLARGE_72GB: "XLARGE_72GB";
|
|
49
|
-
};
|
|
50
|
-
export type BuildComputeType =
|
|
51
|
-
(typeof BuildComputeType)[keyof typeof BuildComputeType];
|
|
52
36
|
export interface JobConfig {
|
|
53
37
|
buildComputeType: BuildComputeType | undefined;
|
|
54
38
|
}
|
|
55
|
-
export declare const Platform: {
|
|
56
|
-
readonly WEB: "WEB";
|
|
57
|
-
readonly WEB_COMPUTE: "WEB_COMPUTE";
|
|
58
|
-
readonly WEB_DYNAMIC: "WEB_DYNAMIC";
|
|
59
|
-
};
|
|
60
|
-
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
61
39
|
export interface CreateAppRequest {
|
|
62
40
|
name: string | undefined;
|
|
63
41
|
description?: string | undefined;
|
|
@@ -88,21 +66,6 @@ export interface ProductionBranch {
|
|
|
88
66
|
thumbnailUrl?: string | undefined;
|
|
89
67
|
branchName?: string | undefined;
|
|
90
68
|
}
|
|
91
|
-
export declare const RepositoryCloneMethod: {
|
|
92
|
-
readonly SIGV4: "SIGV4";
|
|
93
|
-
readonly SSH: "SSH";
|
|
94
|
-
readonly TOKEN: "TOKEN";
|
|
95
|
-
};
|
|
96
|
-
export type RepositoryCloneMethod =
|
|
97
|
-
(typeof RepositoryCloneMethod)[keyof typeof RepositoryCloneMethod];
|
|
98
|
-
export declare const WafStatus: {
|
|
99
|
-
readonly ASSOCIATING: "ASSOCIATING";
|
|
100
|
-
readonly ASSOCIATION_FAILED: "ASSOCIATION_FAILED";
|
|
101
|
-
readonly ASSOCIATION_SUCCESS: "ASSOCIATION_SUCCESS";
|
|
102
|
-
readonly DISASSOCIATING: "DISASSOCIATING";
|
|
103
|
-
readonly DISASSOCIATION_FAILED: "DISASSOCIATION_FAILED";
|
|
104
|
-
};
|
|
105
|
-
export type WafStatus = (typeof WafStatus)[keyof typeof WafStatus];
|
|
106
69
|
export interface WafConfiguration {
|
|
107
70
|
webAclArn?: string | undefined;
|
|
108
71
|
wafStatus?: WafStatus | undefined;
|
|
@@ -142,37 +105,6 @@ export interface App {
|
|
|
142
105
|
export interface CreateAppResult {
|
|
143
106
|
app: App | undefined;
|
|
144
107
|
}
|
|
145
|
-
export declare class DependentServiceFailureException extends __BaseException {
|
|
146
|
-
readonly name: "DependentServiceFailureException";
|
|
147
|
-
readonly $fault: "server";
|
|
148
|
-
constructor(
|
|
149
|
-
opts: __ExceptionOptionType<
|
|
150
|
-
DependentServiceFailureException,
|
|
151
|
-
__BaseException
|
|
152
|
-
>
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
|
-
export declare class InternalFailureException extends __BaseException {
|
|
156
|
-
readonly name: "InternalFailureException";
|
|
157
|
-
readonly $fault: "server";
|
|
158
|
-
constructor(
|
|
159
|
-
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
160
|
-
);
|
|
161
|
-
}
|
|
162
|
-
export declare class LimitExceededException extends __BaseException {
|
|
163
|
-
readonly name: "LimitExceededException";
|
|
164
|
-
readonly $fault: "client";
|
|
165
|
-
constructor(
|
|
166
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
167
|
-
);
|
|
168
|
-
}
|
|
169
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
170
|
-
readonly name: "UnauthorizedException";
|
|
171
|
-
readonly $fault: "client";
|
|
172
|
-
constructor(
|
|
173
|
-
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
174
|
-
);
|
|
175
|
-
}
|
|
176
108
|
export interface CreateBackendEnvironmentRequest {
|
|
177
109
|
appId: string | undefined;
|
|
178
110
|
environmentName: string | undefined;
|
|
@@ -190,11 +122,6 @@ export interface BackendEnvironment {
|
|
|
190
122
|
export interface CreateBackendEnvironmentResult {
|
|
191
123
|
backendEnvironment: BackendEnvironment | undefined;
|
|
192
124
|
}
|
|
193
|
-
export declare class NotFoundException extends __BaseException {
|
|
194
|
-
readonly name: "NotFoundException";
|
|
195
|
-
readonly $fault: "client";
|
|
196
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
197
|
-
}
|
|
198
125
|
export interface Backend {
|
|
199
126
|
stackArn?: string | undefined;
|
|
200
127
|
}
|
|
@@ -266,12 +193,6 @@ export interface CreateDeploymentResult {
|
|
|
266
193
|
fileUploadUrls: Record<string, string> | undefined;
|
|
267
194
|
zipUploadUrl: string | undefined;
|
|
268
195
|
}
|
|
269
|
-
export declare const CertificateType: {
|
|
270
|
-
readonly AMPLIFY_MANAGED: "AMPLIFY_MANAGED";
|
|
271
|
-
readonly CUSTOM: "CUSTOM";
|
|
272
|
-
};
|
|
273
|
-
export type CertificateType =
|
|
274
|
-
(typeof CertificateType)[keyof typeof CertificateType];
|
|
275
196
|
export interface CertificateSettings {
|
|
276
197
|
type: CertificateType | undefined;
|
|
277
198
|
customCertificateArn?: string | undefined;
|
|
@@ -294,34 +215,11 @@ export interface Certificate {
|
|
|
294
215
|
customCertificateArn?: string | undefined;
|
|
295
216
|
certificateVerificationDNSRecord?: string | undefined;
|
|
296
217
|
}
|
|
297
|
-
export declare const DomainStatus: {
|
|
298
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
299
|
-
readonly AWAITING_APP_CNAME: "AWAITING_APP_CNAME";
|
|
300
|
-
readonly CREATING: "CREATING";
|
|
301
|
-
readonly FAILED: "FAILED";
|
|
302
|
-
readonly IMPORTING_CUSTOM_CERTIFICATE: "IMPORTING_CUSTOM_CERTIFICATE";
|
|
303
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
304
|
-
readonly PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT";
|
|
305
|
-
readonly PENDING_VERIFICATION: "PENDING_VERIFICATION";
|
|
306
|
-
readonly REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE";
|
|
307
|
-
readonly UPDATING: "UPDATING";
|
|
308
|
-
};
|
|
309
|
-
export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
310
218
|
export interface SubDomain {
|
|
311
219
|
subDomainSetting: SubDomainSetting | undefined;
|
|
312
220
|
verified: boolean | undefined;
|
|
313
221
|
dnsRecord: string | undefined;
|
|
314
222
|
}
|
|
315
|
-
export declare const UpdateStatus: {
|
|
316
|
-
readonly AWAITING_APP_CNAME: "AWAITING_APP_CNAME";
|
|
317
|
-
readonly IMPORTING_CUSTOM_CERTIFICATE: "IMPORTING_CUSTOM_CERTIFICATE";
|
|
318
|
-
readonly PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT";
|
|
319
|
-
readonly PENDING_VERIFICATION: "PENDING_VERIFICATION";
|
|
320
|
-
readonly REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE";
|
|
321
|
-
readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
|
|
322
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
323
|
-
};
|
|
324
|
-
export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
|
|
325
223
|
export interface DomainAssociation {
|
|
326
224
|
domainAssociationArn: string | undefined;
|
|
327
225
|
domainName: string | undefined;
|
|
@@ -388,29 +286,6 @@ export interface DeleteJobRequest {
|
|
|
388
286
|
branchName: string | undefined;
|
|
389
287
|
jobId: string | undefined;
|
|
390
288
|
}
|
|
391
|
-
export declare const JobType: {
|
|
392
|
-
readonly MANUAL: "MANUAL";
|
|
393
|
-
readonly RELEASE: "RELEASE";
|
|
394
|
-
readonly RETRY: "RETRY";
|
|
395
|
-
readonly WEB_HOOK: "WEB_HOOK";
|
|
396
|
-
};
|
|
397
|
-
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
398
|
-
export declare const SourceUrlType: {
|
|
399
|
-
readonly BUCKET_PREFIX: "BUCKET_PREFIX";
|
|
400
|
-
readonly ZIP: "ZIP";
|
|
401
|
-
};
|
|
402
|
-
export type SourceUrlType = (typeof SourceUrlType)[keyof typeof SourceUrlType];
|
|
403
|
-
export declare const JobStatus: {
|
|
404
|
-
readonly CANCELLED: "CANCELLED";
|
|
405
|
-
readonly CANCELLING: "CANCELLING";
|
|
406
|
-
readonly CREATED: "CREATED";
|
|
407
|
-
readonly FAILED: "FAILED";
|
|
408
|
-
readonly PENDING: "PENDING";
|
|
409
|
-
readonly PROVISIONING: "PROVISIONING";
|
|
410
|
-
readonly RUNNING: "RUNNING";
|
|
411
|
-
readonly SUCCEED: "SUCCEED";
|
|
412
|
-
};
|
|
413
|
-
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
414
289
|
export interface JobSummary {
|
|
415
290
|
jobArn: string | undefined;
|
|
416
291
|
jobId: string | undefined;
|
|
@@ -574,14 +449,6 @@ export interface ListTagsForResourceRequest {
|
|
|
574
449
|
export interface ListTagsForResourceResponse {
|
|
575
450
|
tags?: Record<string, string> | undefined;
|
|
576
451
|
}
|
|
577
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
578
|
-
readonly name: "ResourceNotFoundException";
|
|
579
|
-
readonly $fault: "client";
|
|
580
|
-
code: string | undefined;
|
|
581
|
-
constructor(
|
|
582
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
583
|
-
);
|
|
584
|
-
}
|
|
585
452
|
export interface ListWebhooksRequest {
|
|
586
453
|
appId: string | undefined;
|
|
587
454
|
nextToken?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amplify",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amplify 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-amplify",
|
|
@@ -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";
|