@aws-sdk/client-amplify 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 +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 +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,174 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const Stage: {
|
|
6
|
+
readonly BETA: "BETA";
|
|
7
|
+
readonly DEVELOPMENT: "DEVELOPMENT";
|
|
8
|
+
readonly EXPERIMENTAL: "EXPERIMENTAL";
|
|
9
|
+
readonly PRODUCTION: "PRODUCTION";
|
|
10
|
+
readonly PULL_REQUEST: "PULL_REQUEST";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type Stage = (typeof Stage)[keyof typeof Stage];
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
* @enum
|
|
19
|
+
*/
|
|
20
|
+
export declare const CacheConfigType: {
|
|
21
|
+
readonly AMPLIFY_MANAGED: "AMPLIFY_MANAGED";
|
|
22
|
+
readonly AMPLIFY_MANAGED_NO_COOKIES: "AMPLIFY_MANAGED_NO_COOKIES";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type CacheConfigType = (typeof CacheConfigType)[keyof typeof CacheConfigType];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const BuildComputeType: {
|
|
33
|
+
readonly LARGE_16GB: "LARGE_16GB";
|
|
34
|
+
readonly STANDARD_8GB: "STANDARD_8GB";
|
|
35
|
+
readonly XLARGE_72GB: "XLARGE_72GB";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type BuildComputeType = (typeof BuildComputeType)[keyof typeof BuildComputeType];
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @enum
|
|
44
|
+
*/
|
|
45
|
+
export declare const Platform: {
|
|
46
|
+
readonly WEB: "WEB";
|
|
47
|
+
readonly WEB_COMPUTE: "WEB_COMPUTE";
|
|
48
|
+
readonly WEB_DYNAMIC: "WEB_DYNAMIC";
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
* @enum
|
|
57
|
+
*/
|
|
58
|
+
export declare const RepositoryCloneMethod: {
|
|
59
|
+
readonly SIGV4: "SIGV4";
|
|
60
|
+
readonly SSH: "SSH";
|
|
61
|
+
readonly TOKEN: "TOKEN";
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type RepositoryCloneMethod = (typeof RepositoryCloneMethod)[keyof typeof RepositoryCloneMethod];
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* @enum
|
|
70
|
+
*/
|
|
71
|
+
export declare const WafStatus: {
|
|
72
|
+
readonly ASSOCIATING: "ASSOCIATING";
|
|
73
|
+
readonly ASSOCIATION_FAILED: "ASSOCIATION_FAILED";
|
|
74
|
+
readonly ASSOCIATION_SUCCESS: "ASSOCIATION_SUCCESS";
|
|
75
|
+
readonly DISASSOCIATING: "DISASSOCIATING";
|
|
76
|
+
readonly DISASSOCIATION_FAILED: "DISASSOCIATION_FAILED";
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export type WafStatus = (typeof WafStatus)[keyof typeof WafStatus];
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
* @enum
|
|
85
|
+
*/
|
|
86
|
+
export declare const CertificateType: {
|
|
87
|
+
readonly AMPLIFY_MANAGED: "AMPLIFY_MANAGED";
|
|
88
|
+
readonly CUSTOM: "CUSTOM";
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export type CertificateType = (typeof CertificateType)[keyof typeof CertificateType];
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* @enum
|
|
97
|
+
*/
|
|
98
|
+
export declare const DomainStatus: {
|
|
99
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
100
|
+
readonly AWAITING_APP_CNAME: "AWAITING_APP_CNAME";
|
|
101
|
+
readonly CREATING: "CREATING";
|
|
102
|
+
readonly FAILED: "FAILED";
|
|
103
|
+
readonly IMPORTING_CUSTOM_CERTIFICATE: "IMPORTING_CUSTOM_CERTIFICATE";
|
|
104
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
105
|
+
readonly PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT";
|
|
106
|
+
readonly PENDING_VERIFICATION: "PENDING_VERIFICATION";
|
|
107
|
+
readonly REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE";
|
|
108
|
+
readonly UPDATING: "UPDATING";
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
* @enum
|
|
117
|
+
*/
|
|
118
|
+
export declare const UpdateStatus: {
|
|
119
|
+
readonly AWAITING_APP_CNAME: "AWAITING_APP_CNAME";
|
|
120
|
+
readonly IMPORTING_CUSTOM_CERTIFICATE: "IMPORTING_CUSTOM_CERTIFICATE";
|
|
121
|
+
readonly PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT";
|
|
122
|
+
readonly PENDING_VERIFICATION: "PENDING_VERIFICATION";
|
|
123
|
+
readonly REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE";
|
|
124
|
+
readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
|
|
125
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
* @enum
|
|
134
|
+
*/
|
|
135
|
+
export declare const JobType: {
|
|
136
|
+
readonly MANUAL: "MANUAL";
|
|
137
|
+
readonly RELEASE: "RELEASE";
|
|
138
|
+
readonly RETRY: "RETRY";
|
|
139
|
+
readonly WEB_HOOK: "WEB_HOOK";
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
* @enum
|
|
148
|
+
*/
|
|
149
|
+
export declare const SourceUrlType: {
|
|
150
|
+
readonly BUCKET_PREFIX: "BUCKET_PREFIX";
|
|
151
|
+
readonly ZIP: "ZIP";
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
export type SourceUrlType = (typeof SourceUrlType)[keyof typeof SourceUrlType];
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* @enum
|
|
160
|
+
*/
|
|
161
|
+
export declare const JobStatus: {
|
|
162
|
+
readonly CANCELLED: "CANCELLED";
|
|
163
|
+
readonly CANCELLING: "CANCELLING";
|
|
164
|
+
readonly CREATED: "CREATED";
|
|
165
|
+
readonly FAILED: "FAILED";
|
|
166
|
+
readonly PENDING: "PENDING";
|
|
167
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
168
|
+
readonly RUNNING: "RUNNING";
|
|
169
|
+
readonly SUCCEED: "SUCCEED";
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { AmplifyServiceException as __BaseException } from "./AmplifyServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>A request contains unexpected data. </p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class BadRequestException extends __BaseException {
|
|
8
|
+
readonly name: "BadRequestException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>An operation failed because a dependent service threw an exception. </p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class DependentServiceFailureException extends __BaseException {
|
|
20
|
+
readonly name: "DependentServiceFailureException";
|
|
21
|
+
readonly $fault: "server";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<DependentServiceFailureException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>The service failed to perform an operation due to an internal issue. </p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class InternalFailureException extends __BaseException {
|
|
32
|
+
readonly name: "InternalFailureException";
|
|
33
|
+
readonly $fault: "server";
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>A resource could not be created because service quotas were exceeded. </p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class LimitExceededException extends __BaseException {
|
|
44
|
+
readonly name: "LimitExceededException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* <p>An operation failed due to a lack of access. </p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
56
|
+
readonly name: "UnauthorizedException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>An entity was not found during an operation. </p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class NotFoundException extends __BaseException {
|
|
68
|
+
readonly name: "NotFoundException";
|
|
69
|
+
readonly $fault: "client";
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* <p>An operation failed due to a non-existent resource. </p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
80
|
+
readonly name: "ResourceNotFoundException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
code: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
87
|
+
}
|
|
@@ -1,32 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AmplifyServiceException as __BaseException } from "./AmplifyServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>A request contains unexpected data. </p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class BadRequestException extends __BaseException {
|
|
8
|
-
readonly name: "BadRequestException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
* @enum
|
|
18
|
-
*/
|
|
19
|
-
export declare const Stage: {
|
|
20
|
-
readonly BETA: "BETA";
|
|
21
|
-
readonly DEVELOPMENT: "DEVELOPMENT";
|
|
22
|
-
readonly EXPERIMENTAL: "EXPERIMENTAL";
|
|
23
|
-
readonly PRODUCTION: "PRODUCTION";
|
|
24
|
-
readonly PULL_REQUEST: "PULL_REQUEST";
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
export type Stage = (typeof Stage)[keyof typeof Stage];
|
|
1
|
+
import { BuildComputeType, CacheConfigType, CertificateType, DomainStatus, JobStatus, JobType, Platform, RepositoryCloneMethod, SourceUrlType, Stage, UpdateStatus, WafStatus } from "./enums";
|
|
30
2
|
/**
|
|
31
3
|
* <p>Describes the automated branch creation configuration. </p>
|
|
32
4
|
* @public
|
|
@@ -88,18 +60,6 @@ export interface AutoBranchCreationConfig {
|
|
|
88
60
|
*/
|
|
89
61
|
pullRequestEnvironmentName?: string | undefined;
|
|
90
62
|
}
|
|
91
|
-
/**
|
|
92
|
-
* @public
|
|
93
|
-
* @enum
|
|
94
|
-
*/
|
|
95
|
-
export declare const CacheConfigType: {
|
|
96
|
-
readonly AMPLIFY_MANAGED: "AMPLIFY_MANAGED";
|
|
97
|
-
readonly AMPLIFY_MANAGED_NO_COOKIES: "AMPLIFY_MANAGED_NO_COOKIES";
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* @public
|
|
101
|
-
*/
|
|
102
|
-
export type CacheConfigType = (typeof CacheConfigType)[keyof typeof CacheConfigType];
|
|
103
63
|
/**
|
|
104
64
|
* <p>Describes the cache configuration for an Amplify app.</p>
|
|
105
65
|
* <p>For more information about how Amplify applies an optimal cache
|
|
@@ -169,19 +129,6 @@ export interface CustomRule {
|
|
|
169
129
|
*/
|
|
170
130
|
condition?: string | undefined;
|
|
171
131
|
}
|
|
172
|
-
/**
|
|
173
|
-
* @public
|
|
174
|
-
* @enum
|
|
175
|
-
*/
|
|
176
|
-
export declare const BuildComputeType: {
|
|
177
|
-
readonly LARGE_16GB: "LARGE_16GB";
|
|
178
|
-
readonly STANDARD_8GB: "STANDARD_8GB";
|
|
179
|
-
readonly XLARGE_72GB: "XLARGE_72GB";
|
|
180
|
-
};
|
|
181
|
-
/**
|
|
182
|
-
* @public
|
|
183
|
-
*/
|
|
184
|
-
export type BuildComputeType = (typeof BuildComputeType)[keyof typeof BuildComputeType];
|
|
185
132
|
/**
|
|
186
133
|
* <p>Describes the configuration details that apply to the jobs for an Amplify app.</p>
|
|
187
134
|
* <p>Use <code>JobConfig</code> to apply configuration to jobs, such as customizing the build instance size when you create or
|
|
@@ -245,19 +192,6 @@ export interface JobConfig {
|
|
|
245
192
|
*/
|
|
246
193
|
buildComputeType: BuildComputeType | undefined;
|
|
247
194
|
}
|
|
248
|
-
/**
|
|
249
|
-
* @public
|
|
250
|
-
* @enum
|
|
251
|
-
*/
|
|
252
|
-
export declare const Platform: {
|
|
253
|
-
readonly WEB: "WEB";
|
|
254
|
-
readonly WEB_COMPUTE: "WEB_COMPUTE";
|
|
255
|
-
readonly WEB_DYNAMIC: "WEB_DYNAMIC";
|
|
256
|
-
};
|
|
257
|
-
/**
|
|
258
|
-
* @public
|
|
259
|
-
*/
|
|
260
|
-
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
261
195
|
/**
|
|
262
196
|
* <p>The request structure used to create apps in Amplify. </p>
|
|
263
197
|
* @public
|
|
@@ -441,34 +375,6 @@ export interface ProductionBranch {
|
|
|
441
375
|
*/
|
|
442
376
|
branchName?: string | undefined;
|
|
443
377
|
}
|
|
444
|
-
/**
|
|
445
|
-
* @public
|
|
446
|
-
* @enum
|
|
447
|
-
*/
|
|
448
|
-
export declare const RepositoryCloneMethod: {
|
|
449
|
-
readonly SIGV4: "SIGV4";
|
|
450
|
-
readonly SSH: "SSH";
|
|
451
|
-
readonly TOKEN: "TOKEN";
|
|
452
|
-
};
|
|
453
|
-
/**
|
|
454
|
-
* @public
|
|
455
|
-
*/
|
|
456
|
-
export type RepositoryCloneMethod = (typeof RepositoryCloneMethod)[keyof typeof RepositoryCloneMethod];
|
|
457
|
-
/**
|
|
458
|
-
* @public
|
|
459
|
-
* @enum
|
|
460
|
-
*/
|
|
461
|
-
export declare const WafStatus: {
|
|
462
|
-
readonly ASSOCIATING: "ASSOCIATING";
|
|
463
|
-
readonly ASSOCIATION_FAILED: "ASSOCIATION_FAILED";
|
|
464
|
-
readonly ASSOCIATION_SUCCESS: "ASSOCIATION_SUCCESS";
|
|
465
|
-
readonly DISASSOCIATING: "DISASSOCIATING";
|
|
466
|
-
readonly DISASSOCIATION_FAILED: "DISASSOCIATION_FAILED";
|
|
467
|
-
};
|
|
468
|
-
/**
|
|
469
|
-
* @public
|
|
470
|
-
*/
|
|
471
|
-
export type WafStatus = (typeof WafStatus)[keyof typeof WafStatus];
|
|
472
378
|
/**
|
|
473
379
|
* <p>Describes the Firewall configuration for a hosted Amplify application.
|
|
474
380
|
* Firewall support enables you to protect your web applications with a direct integration
|
|
@@ -685,54 +591,6 @@ export interface CreateAppResult {
|
|
|
685
591
|
*/
|
|
686
592
|
app: App | undefined;
|
|
687
593
|
}
|
|
688
|
-
/**
|
|
689
|
-
* <p>An operation failed because a dependent service threw an exception. </p>
|
|
690
|
-
* @public
|
|
691
|
-
*/
|
|
692
|
-
export declare class DependentServiceFailureException extends __BaseException {
|
|
693
|
-
readonly name: "DependentServiceFailureException";
|
|
694
|
-
readonly $fault: "server";
|
|
695
|
-
/**
|
|
696
|
-
* @internal
|
|
697
|
-
*/
|
|
698
|
-
constructor(opts: __ExceptionOptionType<DependentServiceFailureException, __BaseException>);
|
|
699
|
-
}
|
|
700
|
-
/**
|
|
701
|
-
* <p>The service failed to perform an operation due to an internal issue. </p>
|
|
702
|
-
* @public
|
|
703
|
-
*/
|
|
704
|
-
export declare class InternalFailureException extends __BaseException {
|
|
705
|
-
readonly name: "InternalFailureException";
|
|
706
|
-
readonly $fault: "server";
|
|
707
|
-
/**
|
|
708
|
-
* @internal
|
|
709
|
-
*/
|
|
710
|
-
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
711
|
-
}
|
|
712
|
-
/**
|
|
713
|
-
* <p>A resource could not be created because service quotas were exceeded. </p>
|
|
714
|
-
* @public
|
|
715
|
-
*/
|
|
716
|
-
export declare class LimitExceededException extends __BaseException {
|
|
717
|
-
readonly name: "LimitExceededException";
|
|
718
|
-
readonly $fault: "client";
|
|
719
|
-
/**
|
|
720
|
-
* @internal
|
|
721
|
-
*/
|
|
722
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
723
|
-
}
|
|
724
|
-
/**
|
|
725
|
-
* <p>An operation failed due to a lack of access. </p>
|
|
726
|
-
* @public
|
|
727
|
-
*/
|
|
728
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
729
|
-
readonly name: "UnauthorizedException";
|
|
730
|
-
readonly $fault: "client";
|
|
731
|
-
/**
|
|
732
|
-
* @internal
|
|
733
|
-
*/
|
|
734
|
-
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
735
|
-
}
|
|
736
594
|
/**
|
|
737
595
|
* <p>The request structure for the backend environment create request. </p>
|
|
738
596
|
* @public
|
|
@@ -812,18 +670,6 @@ export interface CreateBackendEnvironmentResult {
|
|
|
812
670
|
*/
|
|
813
671
|
backendEnvironment: BackendEnvironment | undefined;
|
|
814
672
|
}
|
|
815
|
-
/**
|
|
816
|
-
* <p>An entity was not found during an operation. </p>
|
|
817
|
-
* @public
|
|
818
|
-
*/
|
|
819
|
-
export declare class NotFoundException extends __BaseException {
|
|
820
|
-
readonly name: "NotFoundException";
|
|
821
|
-
readonly $fault: "client";
|
|
822
|
-
/**
|
|
823
|
-
* @internal
|
|
824
|
-
*/
|
|
825
|
-
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
826
|
-
}
|
|
827
673
|
/**
|
|
828
674
|
* <p>Describes the backend associated with an Amplify
|
|
829
675
|
* <code>Branch</code>.</p>
|
|
@@ -1211,18 +1057,6 @@ export interface CreateDeploymentResult {
|
|
|
1211
1057
|
*/
|
|
1212
1058
|
zipUploadUrl: string | undefined;
|
|
1213
1059
|
}
|
|
1214
|
-
/**
|
|
1215
|
-
* @public
|
|
1216
|
-
* @enum
|
|
1217
|
-
*/
|
|
1218
|
-
export declare const CertificateType: {
|
|
1219
|
-
readonly AMPLIFY_MANAGED: "AMPLIFY_MANAGED";
|
|
1220
|
-
readonly CUSTOM: "CUSTOM";
|
|
1221
|
-
};
|
|
1222
|
-
/**
|
|
1223
|
-
* @public
|
|
1224
|
-
*/
|
|
1225
|
-
export type CertificateType = (typeof CertificateType)[keyof typeof CertificateType];
|
|
1226
1060
|
/**
|
|
1227
1061
|
* <p>The type of SSL/TLS certificate to use for your custom domain. If a certificate type
|
|
1228
1062
|
* isn't specified, Amplify uses the default <code>AMPLIFY_MANAGED</code>
|
|
@@ -1344,26 +1178,6 @@ export interface Certificate {
|
|
|
1344
1178
|
*/
|
|
1345
1179
|
certificateVerificationDNSRecord?: string | undefined;
|
|
1346
1180
|
}
|
|
1347
|
-
/**
|
|
1348
|
-
* @public
|
|
1349
|
-
* @enum
|
|
1350
|
-
*/
|
|
1351
|
-
export declare const DomainStatus: {
|
|
1352
|
-
readonly AVAILABLE: "AVAILABLE";
|
|
1353
|
-
readonly AWAITING_APP_CNAME: "AWAITING_APP_CNAME";
|
|
1354
|
-
readonly CREATING: "CREATING";
|
|
1355
|
-
readonly FAILED: "FAILED";
|
|
1356
|
-
readonly IMPORTING_CUSTOM_CERTIFICATE: "IMPORTING_CUSTOM_CERTIFICATE";
|
|
1357
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
1358
|
-
readonly PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT";
|
|
1359
|
-
readonly PENDING_VERIFICATION: "PENDING_VERIFICATION";
|
|
1360
|
-
readonly REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE";
|
|
1361
|
-
readonly UPDATING: "UPDATING";
|
|
1362
|
-
};
|
|
1363
|
-
/**
|
|
1364
|
-
* @public
|
|
1365
|
-
*/
|
|
1366
|
-
export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
1367
1181
|
/**
|
|
1368
1182
|
* <p> The subdomain for the domain association. </p>
|
|
1369
1183
|
* @public
|
|
@@ -1385,23 +1199,6 @@ export interface SubDomain {
|
|
|
1385
1199
|
*/
|
|
1386
1200
|
dnsRecord: string | undefined;
|
|
1387
1201
|
}
|
|
1388
|
-
/**
|
|
1389
|
-
* @public
|
|
1390
|
-
* @enum
|
|
1391
|
-
*/
|
|
1392
|
-
export declare const UpdateStatus: {
|
|
1393
|
-
readonly AWAITING_APP_CNAME: "AWAITING_APP_CNAME";
|
|
1394
|
-
readonly IMPORTING_CUSTOM_CERTIFICATE: "IMPORTING_CUSTOM_CERTIFICATE";
|
|
1395
|
-
readonly PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT";
|
|
1396
|
-
readonly PENDING_VERIFICATION: "PENDING_VERIFICATION";
|
|
1397
|
-
readonly REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE";
|
|
1398
|
-
readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
|
|
1399
|
-
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
1400
|
-
};
|
|
1401
|
-
/**
|
|
1402
|
-
* @public
|
|
1403
|
-
*/
|
|
1404
|
-
export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
|
|
1405
1202
|
/**
|
|
1406
1203
|
* <p>Describes the association between a custom domain and an Amplify app. </p>
|
|
1407
1204
|
* @public
|
|
@@ -1731,50 +1528,6 @@ export interface DeleteJobRequest {
|
|
|
1731
1528
|
*/
|
|
1732
1529
|
jobId: string | undefined;
|
|
1733
1530
|
}
|
|
1734
|
-
/**
|
|
1735
|
-
* @public
|
|
1736
|
-
* @enum
|
|
1737
|
-
*/
|
|
1738
|
-
export declare const JobType: {
|
|
1739
|
-
readonly MANUAL: "MANUAL";
|
|
1740
|
-
readonly RELEASE: "RELEASE";
|
|
1741
|
-
readonly RETRY: "RETRY";
|
|
1742
|
-
readonly WEB_HOOK: "WEB_HOOK";
|
|
1743
|
-
};
|
|
1744
|
-
/**
|
|
1745
|
-
* @public
|
|
1746
|
-
*/
|
|
1747
|
-
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
1748
|
-
/**
|
|
1749
|
-
* @public
|
|
1750
|
-
* @enum
|
|
1751
|
-
*/
|
|
1752
|
-
export declare const SourceUrlType: {
|
|
1753
|
-
readonly BUCKET_PREFIX: "BUCKET_PREFIX";
|
|
1754
|
-
readonly ZIP: "ZIP";
|
|
1755
|
-
};
|
|
1756
|
-
/**
|
|
1757
|
-
* @public
|
|
1758
|
-
*/
|
|
1759
|
-
export type SourceUrlType = (typeof SourceUrlType)[keyof typeof SourceUrlType];
|
|
1760
|
-
/**
|
|
1761
|
-
* @public
|
|
1762
|
-
* @enum
|
|
1763
|
-
*/
|
|
1764
|
-
export declare const JobStatus: {
|
|
1765
|
-
readonly CANCELLED: "CANCELLED";
|
|
1766
|
-
readonly CANCELLING: "CANCELLING";
|
|
1767
|
-
readonly CREATED: "CREATED";
|
|
1768
|
-
readonly FAILED: "FAILED";
|
|
1769
|
-
readonly PENDING: "PENDING";
|
|
1770
|
-
readonly PROVISIONING: "PROVISIONING";
|
|
1771
|
-
readonly RUNNING: "RUNNING";
|
|
1772
|
-
readonly SUCCEED: "SUCCEED";
|
|
1773
|
-
};
|
|
1774
|
-
/**
|
|
1775
|
-
* @public
|
|
1776
|
-
*/
|
|
1777
|
-
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
1778
1531
|
/**
|
|
1779
1532
|
* <p> Describes the summary for an execution job for an Amplify app. </p>
|
|
1780
1533
|
* @public
|
|
@@ -2474,19 +2227,6 @@ export interface ListTagsForResourceResponse {
|
|
|
2474
2227
|
*/
|
|
2475
2228
|
tags?: Record<string, string> | undefined;
|
|
2476
2229
|
}
|
|
2477
|
-
/**
|
|
2478
|
-
* <p>An operation failed due to a non-existent resource. </p>
|
|
2479
|
-
* @public
|
|
2480
|
-
*/
|
|
2481
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
2482
|
-
readonly name: "ResourceNotFoundException";
|
|
2483
|
-
readonly $fault: "client";
|
|
2484
|
-
code: string | undefined;
|
|
2485
|
-
/**
|
|
2486
|
-
* @internal
|
|
2487
|
-
*/
|
|
2488
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
2489
|
-
}
|
|
2490
2230
|
/**
|
|
2491
2231
|
* <p>The request structure for the list webhooks request. </p>
|
|
2492
2232
|
* @public
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { AmplifyExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { AmplifyServiceException } from "./models/AmplifyServiceException";
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
export declare const Stage: {
|
|
2
|
+
readonly BETA: "BETA";
|
|
3
|
+
readonly DEVELOPMENT: "DEVELOPMENT";
|
|
4
|
+
readonly EXPERIMENTAL: "EXPERIMENTAL";
|
|
5
|
+
readonly PRODUCTION: "PRODUCTION";
|
|
6
|
+
readonly PULL_REQUEST: "PULL_REQUEST";
|
|
7
|
+
};
|
|
8
|
+
export type Stage = (typeof Stage)[keyof typeof Stage];
|
|
9
|
+
export declare const CacheConfigType: {
|
|
10
|
+
readonly AMPLIFY_MANAGED: "AMPLIFY_MANAGED";
|
|
11
|
+
readonly AMPLIFY_MANAGED_NO_COOKIES: "AMPLIFY_MANAGED_NO_COOKIES";
|
|
12
|
+
};
|
|
13
|
+
export type CacheConfigType =
|
|
14
|
+
(typeof CacheConfigType)[keyof typeof CacheConfigType];
|
|
15
|
+
export declare const BuildComputeType: {
|
|
16
|
+
readonly LARGE_16GB: "LARGE_16GB";
|
|
17
|
+
readonly STANDARD_8GB: "STANDARD_8GB";
|
|
18
|
+
readonly XLARGE_72GB: "XLARGE_72GB";
|
|
19
|
+
};
|
|
20
|
+
export type BuildComputeType =
|
|
21
|
+
(typeof BuildComputeType)[keyof typeof BuildComputeType];
|
|
22
|
+
export declare const Platform: {
|
|
23
|
+
readonly WEB: "WEB";
|
|
24
|
+
readonly WEB_COMPUTE: "WEB_COMPUTE";
|
|
25
|
+
readonly WEB_DYNAMIC: "WEB_DYNAMIC";
|
|
26
|
+
};
|
|
27
|
+
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
28
|
+
export declare const RepositoryCloneMethod: {
|
|
29
|
+
readonly SIGV4: "SIGV4";
|
|
30
|
+
readonly SSH: "SSH";
|
|
31
|
+
readonly TOKEN: "TOKEN";
|
|
32
|
+
};
|
|
33
|
+
export type RepositoryCloneMethod =
|
|
34
|
+
(typeof RepositoryCloneMethod)[keyof typeof RepositoryCloneMethod];
|
|
35
|
+
export declare const WafStatus: {
|
|
36
|
+
readonly ASSOCIATING: "ASSOCIATING";
|
|
37
|
+
readonly ASSOCIATION_FAILED: "ASSOCIATION_FAILED";
|
|
38
|
+
readonly ASSOCIATION_SUCCESS: "ASSOCIATION_SUCCESS";
|
|
39
|
+
readonly DISASSOCIATING: "DISASSOCIATING";
|
|
40
|
+
readonly DISASSOCIATION_FAILED: "DISASSOCIATION_FAILED";
|
|
41
|
+
};
|
|
42
|
+
export type WafStatus = (typeof WafStatus)[keyof typeof WafStatus];
|
|
43
|
+
export declare const CertificateType: {
|
|
44
|
+
readonly AMPLIFY_MANAGED: "AMPLIFY_MANAGED";
|
|
45
|
+
readonly CUSTOM: "CUSTOM";
|
|
46
|
+
};
|
|
47
|
+
export type CertificateType =
|
|
48
|
+
(typeof CertificateType)[keyof typeof CertificateType];
|
|
49
|
+
export declare const DomainStatus: {
|
|
50
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
51
|
+
readonly AWAITING_APP_CNAME: "AWAITING_APP_CNAME";
|
|
52
|
+
readonly CREATING: "CREATING";
|
|
53
|
+
readonly FAILED: "FAILED";
|
|
54
|
+
readonly IMPORTING_CUSTOM_CERTIFICATE: "IMPORTING_CUSTOM_CERTIFICATE";
|
|
55
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
56
|
+
readonly PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT";
|
|
57
|
+
readonly PENDING_VERIFICATION: "PENDING_VERIFICATION";
|
|
58
|
+
readonly REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE";
|
|
59
|
+
readonly UPDATING: "UPDATING";
|
|
60
|
+
};
|
|
61
|
+
export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
62
|
+
export declare const UpdateStatus: {
|
|
63
|
+
readonly AWAITING_APP_CNAME: "AWAITING_APP_CNAME";
|
|
64
|
+
readonly IMPORTING_CUSTOM_CERTIFICATE: "IMPORTING_CUSTOM_CERTIFICATE";
|
|
65
|
+
readonly PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT";
|
|
66
|
+
readonly PENDING_VERIFICATION: "PENDING_VERIFICATION";
|
|
67
|
+
readonly REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE";
|
|
68
|
+
readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
|
|
69
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
70
|
+
};
|
|
71
|
+
export type UpdateStatus = (typeof UpdateStatus)[keyof typeof UpdateStatus];
|
|
72
|
+
export declare const JobType: {
|
|
73
|
+
readonly MANUAL: "MANUAL";
|
|
74
|
+
readonly RELEASE: "RELEASE";
|
|
75
|
+
readonly RETRY: "RETRY";
|
|
76
|
+
readonly WEB_HOOK: "WEB_HOOK";
|
|
77
|
+
};
|
|
78
|
+
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
79
|
+
export declare const SourceUrlType: {
|
|
80
|
+
readonly BUCKET_PREFIX: "BUCKET_PREFIX";
|
|
81
|
+
readonly ZIP: "ZIP";
|
|
82
|
+
};
|
|
83
|
+
export type SourceUrlType = (typeof SourceUrlType)[keyof typeof SourceUrlType];
|
|
84
|
+
export declare const JobStatus: {
|
|
85
|
+
readonly CANCELLED: "CANCELLED";
|
|
86
|
+
readonly CANCELLING: "CANCELLING";
|
|
87
|
+
readonly CREATED: "CREATED";
|
|
88
|
+
readonly FAILED: "FAILED";
|
|
89
|
+
readonly PENDING: "PENDING";
|
|
90
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
91
|
+
readonly RUNNING: "RUNNING";
|
|
92
|
+
readonly SUCCEED: "SUCCEED";
|
|
93
|
+
};
|
|
94
|
+
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|