cdk-lambda-subminute 2.0.283 → 2.0.285
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/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +20 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +53 -38
- package/node_modules/aws-sdk/apis/amplify-2017-07-25.paginators.json +24 -0
- package/node_modules/aws-sdk/apis/application-insights-2018-11-25.min.json +35 -25
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +8 -5
- package/node_modules/aws-sdk/apis/dataexchange-2017-07-25.min.json +125 -0
- package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +27 -15
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1297 -1181
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/finspace-2021-03-12.min.json +47 -0
- package/node_modules/aws-sdk/apis/m2-2021-04-28.min.json +36 -6
- package/node_modules/aws-sdk/apis/mediapackagev2-2022-12-25.min.json +37 -10
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +222 -107
- package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +205 -76
- package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +136 -106
- package/node_modules/aws-sdk/apis/s3outposts-2017-07-25.min.json +1 -0
- package/node_modules/aws-sdk/apis/translate-2017-07-01.min.json +23 -26
- package/node_modules/aws-sdk/clients/amplify.d.ts +239 -223
- package/node_modules/aws-sdk/clients/applicationinsights.d.ts +17 -0
- package/node_modules/aws-sdk/clients/connect.d.ts +46 -22
- package/node_modules/aws-sdk/clients/dataexchange.d.ts +153 -0
- package/node_modules/aws-sdk/clients/datasync.d.ts +45 -30
- package/node_modules/aws-sdk/clients/ec2.d.ts +138 -5
- package/node_modules/aws-sdk/clients/finspace.d.ts +46 -2
- package/node_modules/aws-sdk/clients/m2.d.ts +51 -6
- package/node_modules/aws-sdk/clients/mediapackagev2.d.ts +24 -0
- package/node_modules/aws-sdk/clients/neptunedata.d.ts +11 -11
- package/node_modules/aws-sdk/clients/rds.d.ts +148 -0
- package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +212 -2
- package/node_modules/aws-sdk/clients/resiliencehub.d.ts +136 -103
- package/node_modules/aws-sdk/clients/s3outposts.d.ts +5 -0
- package/node_modules/aws-sdk/clients/translate.d.ts +17 -9
- package/node_modules/aws-sdk/clients/wisdom.d.ts +8 -8
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +19 -19
- package/node_modules/aws-sdk/dist/aws-sdk.js +1565 -1322
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +81 -80
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
@@ -12,19 +12,19 @@ declare class Amplify extends Service {
|
|
12
12
|
constructor(options?: Amplify.Types.ClientConfiguration)
|
13
13
|
config: Config & Amplify.Types.ClientConfiguration;
|
14
14
|
/**
|
15
|
-
*
|
15
|
+
* Creates a new Amplify app.
|
16
16
|
*/
|
17
17
|
createApp(params: Amplify.Types.CreateAppRequest, callback?: (err: AWSError, data: Amplify.Types.CreateAppResult) => void): Request<Amplify.Types.CreateAppResult, AWSError>;
|
18
18
|
/**
|
19
|
-
*
|
19
|
+
* Creates a new Amplify app.
|
20
20
|
*/
|
21
21
|
createApp(callback?: (err: AWSError, data: Amplify.Types.CreateAppResult) => void): Request<Amplify.Types.CreateAppResult, AWSError>;
|
22
22
|
/**
|
23
|
-
*
|
23
|
+
* Creates a new backend environment for an Amplify app.
|
24
24
|
*/
|
25
25
|
createBackendEnvironment(params: Amplify.Types.CreateBackendEnvironmentRequest, callback?: (err: AWSError, data: Amplify.Types.CreateBackendEnvironmentResult) => void): Request<Amplify.Types.CreateBackendEnvironmentResult, AWSError>;
|
26
26
|
/**
|
27
|
-
*
|
27
|
+
* Creates a new backend environment for an Amplify app.
|
28
28
|
*/
|
29
29
|
createBackendEnvironment(callback?: (err: AWSError, data: Amplify.Types.CreateBackendEnvironmentResult) => void): Request<Amplify.Types.CreateBackendEnvironmentResult, AWSError>;
|
30
30
|
/**
|
@@ -36,11 +36,11 @@ declare class Amplify extends Service {
|
|
36
36
|
*/
|
37
37
|
createBranch(callback?: (err: AWSError, data: Amplify.Types.CreateBranchResult) => void): Request<Amplify.Types.CreateBranchResult, AWSError>;
|
38
38
|
/**
|
39
|
-
*
|
39
|
+
* Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a repository. The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.
|
40
40
|
*/
|
41
41
|
createDeployment(params: Amplify.Types.CreateDeploymentRequest, callback?: (err: AWSError, data: Amplify.Types.CreateDeploymentResult) => void): Request<Amplify.Types.CreateDeploymentResult, AWSError>;
|
42
42
|
/**
|
43
|
-
*
|
43
|
+
* Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a repository. The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.
|
44
44
|
*/
|
45
45
|
createDeployment(callback?: (err: AWSError, data: Amplify.Types.CreateDeploymentResult) => void): Request<Amplify.Types.CreateDeploymentResult, AWSError>;
|
46
46
|
/**
|
@@ -52,27 +52,27 @@ declare class Amplify extends Service {
|
|
52
52
|
*/
|
53
53
|
createDomainAssociation(callback?: (err: AWSError, data: Amplify.Types.CreateDomainAssociationResult) => void): Request<Amplify.Types.CreateDomainAssociationResult, AWSError>;
|
54
54
|
/**
|
55
|
-
*
|
55
|
+
* Creates a new webhook on an Amplify app.
|
56
56
|
*/
|
57
57
|
createWebhook(params: Amplify.Types.CreateWebhookRequest, callback?: (err: AWSError, data: Amplify.Types.CreateWebhookResult) => void): Request<Amplify.Types.CreateWebhookResult, AWSError>;
|
58
58
|
/**
|
59
|
-
*
|
59
|
+
* Creates a new webhook on an Amplify app.
|
60
60
|
*/
|
61
61
|
createWebhook(callback?: (err: AWSError, data: Amplify.Types.CreateWebhookResult) => void): Request<Amplify.Types.CreateWebhookResult, AWSError>;
|
62
62
|
/**
|
63
|
-
*
|
63
|
+
* Deletes an existing Amplify app specified by an app ID.
|
64
64
|
*/
|
65
65
|
deleteApp(params: Amplify.Types.DeleteAppRequest, callback?: (err: AWSError, data: Amplify.Types.DeleteAppResult) => void): Request<Amplify.Types.DeleteAppResult, AWSError>;
|
66
66
|
/**
|
67
|
-
*
|
67
|
+
* Deletes an existing Amplify app specified by an app ID.
|
68
68
|
*/
|
69
69
|
deleteApp(callback?: (err: AWSError, data: Amplify.Types.DeleteAppResult) => void): Request<Amplify.Types.DeleteAppResult, AWSError>;
|
70
70
|
/**
|
71
|
-
*
|
71
|
+
* Deletes a backend environment for an Amplify app.
|
72
72
|
*/
|
73
73
|
deleteBackendEnvironment(params: Amplify.Types.DeleteBackendEnvironmentRequest, callback?: (err: AWSError, data: Amplify.Types.DeleteBackendEnvironmentResult) => void): Request<Amplify.Types.DeleteBackendEnvironmentResult, AWSError>;
|
74
74
|
/**
|
75
|
-
*
|
75
|
+
* Deletes a backend environment for an Amplify app.
|
76
76
|
*/
|
77
77
|
deleteBackendEnvironment(callback?: (err: AWSError, data: Amplify.Types.DeleteBackendEnvironmentResult) => void): Request<Amplify.Types.DeleteBackendEnvironmentResult, AWSError>;
|
78
78
|
/**
|
@@ -100,43 +100,43 @@ declare class Amplify extends Service {
|
|
100
100
|
*/
|
101
101
|
deleteJob(callback?: (err: AWSError, data: Amplify.Types.DeleteJobResult) => void): Request<Amplify.Types.DeleteJobResult, AWSError>;
|
102
102
|
/**
|
103
|
-
*
|
103
|
+
* Deletes a webhook.
|
104
104
|
*/
|
105
105
|
deleteWebhook(params: Amplify.Types.DeleteWebhookRequest, callback?: (err: AWSError, data: Amplify.Types.DeleteWebhookResult) => void): Request<Amplify.Types.DeleteWebhookResult, AWSError>;
|
106
106
|
/**
|
107
|
-
*
|
107
|
+
* Deletes a webhook.
|
108
108
|
*/
|
109
109
|
deleteWebhook(callback?: (err: AWSError, data: Amplify.Types.DeleteWebhookResult) => void): Request<Amplify.Types.DeleteWebhookResult, AWSError>;
|
110
110
|
/**
|
111
|
-
*
|
111
|
+
* Returns the website access logs for a specific time range using a presigned URL.
|
112
112
|
*/
|
113
113
|
generateAccessLogs(params: Amplify.Types.GenerateAccessLogsRequest, callback?: (err: AWSError, data: Amplify.Types.GenerateAccessLogsResult) => void): Request<Amplify.Types.GenerateAccessLogsResult, AWSError>;
|
114
114
|
/**
|
115
|
-
*
|
115
|
+
* Returns the website access logs for a specific time range using a presigned URL.
|
116
116
|
*/
|
117
117
|
generateAccessLogs(callback?: (err: AWSError, data: Amplify.Types.GenerateAccessLogsResult) => void): Request<Amplify.Types.GenerateAccessLogsResult, AWSError>;
|
118
118
|
/**
|
119
|
-
*
|
119
|
+
* Returns an existing Amplify app specified by an app ID.
|
120
120
|
*/
|
121
121
|
getApp(params: Amplify.Types.GetAppRequest, callback?: (err: AWSError, data: Amplify.Types.GetAppResult) => void): Request<Amplify.Types.GetAppResult, AWSError>;
|
122
122
|
/**
|
123
|
-
*
|
123
|
+
* Returns an existing Amplify app specified by an app ID.
|
124
124
|
*/
|
125
125
|
getApp(callback?: (err: AWSError, data: Amplify.Types.GetAppResult) => void): Request<Amplify.Types.GetAppResult, AWSError>;
|
126
126
|
/**
|
127
|
-
*
|
127
|
+
* Returns the artifact info that corresponds to an artifact id.
|
128
128
|
*/
|
129
129
|
getArtifactUrl(params: Amplify.Types.GetArtifactUrlRequest, callback?: (err: AWSError, data: Amplify.Types.GetArtifactUrlResult) => void): Request<Amplify.Types.GetArtifactUrlResult, AWSError>;
|
130
130
|
/**
|
131
|
-
*
|
131
|
+
* Returns the artifact info that corresponds to an artifact id.
|
132
132
|
*/
|
133
133
|
getArtifactUrl(callback?: (err: AWSError, data: Amplify.Types.GetArtifactUrlResult) => void): Request<Amplify.Types.GetArtifactUrlResult, AWSError>;
|
134
134
|
/**
|
135
|
-
*
|
135
|
+
* Returns a backend environment for an Amplify app.
|
136
136
|
*/
|
137
137
|
getBackendEnvironment(params: Amplify.Types.GetBackendEnvironmentRequest, callback?: (err: AWSError, data: Amplify.Types.GetBackendEnvironmentResult) => void): Request<Amplify.Types.GetBackendEnvironmentResult, AWSError>;
|
138
138
|
/**
|
139
|
-
*
|
139
|
+
* Returns a backend environment for an Amplify app.
|
140
140
|
*/
|
141
141
|
getBackendEnvironment(callback?: (err: AWSError, data: Amplify.Types.GetBackendEnvironmentResult) => void): Request<Amplify.Types.GetBackendEnvironmentResult, AWSError>;
|
142
142
|
/**
|
@@ -164,35 +164,35 @@ declare class Amplify extends Service {
|
|
164
164
|
*/
|
165
165
|
getJob(callback?: (err: AWSError, data: Amplify.Types.GetJobResult) => void): Request<Amplify.Types.GetJobResult, AWSError>;
|
166
166
|
/**
|
167
|
-
*
|
167
|
+
* Returns the webhook information that corresponds to a specified webhook ID.
|
168
168
|
*/
|
169
169
|
getWebhook(params: Amplify.Types.GetWebhookRequest, callback?: (err: AWSError, data: Amplify.Types.GetWebhookResult) => void): Request<Amplify.Types.GetWebhookResult, AWSError>;
|
170
170
|
/**
|
171
|
-
*
|
171
|
+
* Returns the webhook information that corresponds to a specified webhook ID.
|
172
172
|
*/
|
173
173
|
getWebhook(callback?: (err: AWSError, data: Amplify.Types.GetWebhookResult) => void): Request<Amplify.Types.GetWebhookResult, AWSError>;
|
174
174
|
/**
|
175
|
-
*
|
175
|
+
* Returns a list of the existing Amplify apps.
|
176
176
|
*/
|
177
177
|
listApps(params: Amplify.Types.ListAppsRequest, callback?: (err: AWSError, data: Amplify.Types.ListAppsResult) => void): Request<Amplify.Types.ListAppsResult, AWSError>;
|
178
178
|
/**
|
179
|
-
*
|
179
|
+
* Returns a list of the existing Amplify apps.
|
180
180
|
*/
|
181
181
|
listApps(callback?: (err: AWSError, data: Amplify.Types.ListAppsResult) => void): Request<Amplify.Types.ListAppsResult, AWSError>;
|
182
182
|
/**
|
183
|
-
*
|
183
|
+
* Returns a list of artifacts for a specified app, branch, and job.
|
184
184
|
*/
|
185
185
|
listArtifacts(params: Amplify.Types.ListArtifactsRequest, callback?: (err: AWSError, data: Amplify.Types.ListArtifactsResult) => void): Request<Amplify.Types.ListArtifactsResult, AWSError>;
|
186
186
|
/**
|
187
|
-
*
|
187
|
+
* Returns a list of artifacts for a specified app, branch, and job.
|
188
188
|
*/
|
189
189
|
listArtifacts(callback?: (err: AWSError, data: Amplify.Types.ListArtifactsResult) => void): Request<Amplify.Types.ListArtifactsResult, AWSError>;
|
190
190
|
/**
|
191
|
-
*
|
191
|
+
* Lists the backend environments for an Amplify app.
|
192
192
|
*/
|
193
193
|
listBackendEnvironments(params: Amplify.Types.ListBackendEnvironmentsRequest, callback?: (err: AWSError, data: Amplify.Types.ListBackendEnvironmentsResult) => void): Request<Amplify.Types.ListBackendEnvironmentsResult, AWSError>;
|
194
194
|
/**
|
195
|
-
*
|
195
|
+
* Lists the backend environments for an Amplify app.
|
196
196
|
*/
|
197
197
|
listBackendEnvironments(callback?: (err: AWSError, data: Amplify.Types.ListBackendEnvironmentsResult) => void): Request<Amplify.Types.ListBackendEnvironmentsResult, AWSError>;
|
198
198
|
/**
|
@@ -220,27 +220,27 @@ declare class Amplify extends Service {
|
|
220
220
|
*/
|
221
221
|
listJobs(callback?: (err: AWSError, data: Amplify.Types.ListJobsResult) => void): Request<Amplify.Types.ListJobsResult, AWSError>;
|
222
222
|
/**
|
223
|
-
*
|
223
|
+
* Returns a list of tags for a specified Amazon Resource Name (ARN).
|
224
224
|
*/
|
225
225
|
listTagsForResource(params: Amplify.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Amplify.Types.ListTagsForResourceResponse) => void): Request<Amplify.Types.ListTagsForResourceResponse, AWSError>;
|
226
226
|
/**
|
227
|
-
*
|
227
|
+
* Returns a list of tags for a specified Amazon Resource Name (ARN).
|
228
228
|
*/
|
229
229
|
listTagsForResource(callback?: (err: AWSError, data: Amplify.Types.ListTagsForResourceResponse) => void): Request<Amplify.Types.ListTagsForResourceResponse, AWSError>;
|
230
230
|
/**
|
231
|
-
*
|
231
|
+
* Returns a list of webhooks for an Amplify app.
|
232
232
|
*/
|
233
233
|
listWebhooks(params: Amplify.Types.ListWebhooksRequest, callback?: (err: AWSError, data: Amplify.Types.ListWebhooksResult) => void): Request<Amplify.Types.ListWebhooksResult, AWSError>;
|
234
234
|
/**
|
235
|
-
*
|
235
|
+
* Returns a list of webhooks for an Amplify app.
|
236
236
|
*/
|
237
237
|
listWebhooks(callback?: (err: AWSError, data: Amplify.Types.ListWebhooksResult) => void): Request<Amplify.Types.ListWebhooksResult, AWSError>;
|
238
238
|
/**
|
239
|
-
*
|
239
|
+
* Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a repository. The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.
|
240
240
|
*/
|
241
241
|
startDeployment(params: Amplify.Types.StartDeploymentRequest, callback?: (err: AWSError, data: Amplify.Types.StartDeploymentResult) => void): Request<Amplify.Types.StartDeploymentResult, AWSError>;
|
242
242
|
/**
|
243
|
-
*
|
243
|
+
* Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a repository. The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.
|
244
244
|
*/
|
245
245
|
startDeployment(callback?: (err: AWSError, data: Amplify.Types.StartDeploymentResult) => void): Request<Amplify.Types.StartDeploymentResult, AWSError>;
|
246
246
|
/**
|
@@ -260,27 +260,27 @@ declare class Amplify extends Service {
|
|
260
260
|
*/
|
261
261
|
stopJob(callback?: (err: AWSError, data: Amplify.Types.StopJobResult) => void): Request<Amplify.Types.StopJobResult, AWSError>;
|
262
262
|
/**
|
263
|
-
*
|
263
|
+
* Tags the resource with a tag key and value.
|
264
264
|
*/
|
265
265
|
tagResource(params: Amplify.Types.TagResourceRequest, callback?: (err: AWSError, data: Amplify.Types.TagResourceResponse) => void): Request<Amplify.Types.TagResourceResponse, AWSError>;
|
266
266
|
/**
|
267
|
-
*
|
267
|
+
* Tags the resource with a tag key and value.
|
268
268
|
*/
|
269
269
|
tagResource(callback?: (err: AWSError, data: Amplify.Types.TagResourceResponse) => void): Request<Amplify.Types.TagResourceResponse, AWSError>;
|
270
270
|
/**
|
271
|
-
*
|
271
|
+
* Untags a resource with a specified Amazon Resource Name (ARN).
|
272
272
|
*/
|
273
273
|
untagResource(params: Amplify.Types.UntagResourceRequest, callback?: (err: AWSError, data: Amplify.Types.UntagResourceResponse) => void): Request<Amplify.Types.UntagResourceResponse, AWSError>;
|
274
274
|
/**
|
275
|
-
*
|
275
|
+
* Untags a resource with a specified Amazon Resource Name (ARN).
|
276
276
|
*/
|
277
277
|
untagResource(callback?: (err: AWSError, data: Amplify.Types.UntagResourceResponse) => void): Request<Amplify.Types.UntagResourceResponse, AWSError>;
|
278
278
|
/**
|
279
|
-
*
|
279
|
+
* Updates an existing Amplify app.
|
280
280
|
*/
|
281
281
|
updateApp(params: Amplify.Types.UpdateAppRequest, callback?: (err: AWSError, data: Amplify.Types.UpdateAppResult) => void): Request<Amplify.Types.UpdateAppResult, AWSError>;
|
282
282
|
/**
|
283
|
-
*
|
283
|
+
* Updates an existing Amplify app.
|
284
284
|
*/
|
285
285
|
updateApp(callback?: (err: AWSError, data: Amplify.Types.UpdateAppResult) => void): Request<Amplify.Types.UpdateAppResult, AWSError>;
|
286
286
|
/**
|
@@ -300,11 +300,11 @@ declare class Amplify extends Service {
|
|
300
300
|
*/
|
301
301
|
updateDomainAssociation(callback?: (err: AWSError, data: Amplify.Types.UpdateDomainAssociationResult) => void): Request<Amplify.Types.UpdateDomainAssociationResult, AWSError>;
|
302
302
|
/**
|
303
|
-
*
|
303
|
+
* Updates a webhook.
|
304
304
|
*/
|
305
305
|
updateWebhook(params: Amplify.Types.UpdateWebhookRequest, callback?: (err: AWSError, data: Amplify.Types.UpdateWebhookResult) => void): Request<Amplify.Types.UpdateWebhookResult, AWSError>;
|
306
306
|
/**
|
307
|
-
*
|
307
|
+
* Updates a webhook.
|
308
308
|
*/
|
309
309
|
updateWebhook(callback?: (err: AWSError, data: Amplify.Types.UpdateWebhookResult) => void): Request<Amplify.Types.UpdateWebhookResult, AWSError>;
|
310
310
|
}
|
@@ -313,79 +313,79 @@ declare namespace Amplify {
|
|
313
313
|
export type ActiveJobId = string;
|
314
314
|
export interface App {
|
315
315
|
/**
|
316
|
-
*
|
316
|
+
* The unique ID of the Amplify app.
|
317
317
|
*/
|
318
318
|
appId: AppId;
|
319
319
|
/**
|
320
|
-
*
|
320
|
+
* The Amazon Resource Name (ARN) of the Amplify app.
|
321
321
|
*/
|
322
322
|
appArn: AppArn;
|
323
323
|
/**
|
324
|
-
*
|
324
|
+
* The name for the Amplify app.
|
325
325
|
*/
|
326
326
|
name: Name;
|
327
327
|
/**
|
328
|
-
*
|
328
|
+
* The tag for the Amplify app.
|
329
329
|
*/
|
330
330
|
tags?: TagMap;
|
331
331
|
/**
|
332
|
-
*
|
332
|
+
* The description for the Amplify app.
|
333
333
|
*/
|
334
334
|
description: Description;
|
335
335
|
/**
|
336
|
-
*
|
336
|
+
* The Git repository for the Amplify app.
|
337
337
|
*/
|
338
338
|
repository: Repository;
|
339
339
|
/**
|
340
|
-
*
|
340
|
+
* The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.
|
341
341
|
*/
|
342
342
|
platform: Platform;
|
343
343
|
/**
|
344
|
-
*
|
344
|
+
* Creates a date and time for the Amplify app.
|
345
345
|
*/
|
346
346
|
createTime: CreateTime;
|
347
347
|
/**
|
348
|
-
*
|
348
|
+
* Updates the date and time for the Amplify app.
|
349
349
|
*/
|
350
350
|
updateTime: UpdateTime;
|
351
351
|
/**
|
352
|
-
*
|
352
|
+
* The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
|
353
353
|
*/
|
354
354
|
iamServiceRoleArn?: ServiceRoleArn;
|
355
355
|
/**
|
356
|
-
*
|
356
|
+
* The environment variables for the Amplify app. For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.
|
357
357
|
*/
|
358
358
|
environmentVariables: EnvironmentVariables;
|
359
359
|
/**
|
360
|
-
*
|
360
|
+
* The default domain for the Amplify app.
|
361
361
|
*/
|
362
362
|
defaultDomain: DefaultDomain;
|
363
363
|
/**
|
364
|
-
*
|
364
|
+
* Enables the auto-building of branches for the Amplify app.
|
365
365
|
*/
|
366
366
|
enableBranchAutoBuild: EnableBranchAutoBuild;
|
367
367
|
/**
|
368
|
-
*
|
368
|
+
* Automatically disconnect a branch in the Amplify console when you delete a branch from your Git repository.
|
369
369
|
*/
|
370
370
|
enableBranchAutoDeletion?: EnableBranchAutoDeletion;
|
371
371
|
/**
|
372
|
-
*
|
372
|
+
* Enables basic authorization for the Amplify app's branches.
|
373
373
|
*/
|
374
374
|
enableBasicAuth: EnableBasicAuth;
|
375
375
|
/**
|
376
|
-
*
|
376
|
+
* The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.
|
377
377
|
*/
|
378
378
|
basicAuthCredentials?: BasicAuthCredentials;
|
379
379
|
/**
|
380
|
-
*
|
380
|
+
* Describes the custom redirect and rewrite rules for the Amplify app.
|
381
381
|
*/
|
382
382
|
customRules?: CustomRules;
|
383
383
|
/**
|
384
|
-
*
|
384
|
+
* Describes the information about a production branch of the Amplify app.
|
385
385
|
*/
|
386
386
|
productionBranch?: ProductionBranch;
|
387
387
|
/**
|
388
|
-
*
|
388
|
+
* Describes the content of the build specification (build spec) for the Amplify app.
|
389
389
|
*/
|
390
390
|
buildSpec?: BuildSpec;
|
391
391
|
/**
|
@@ -393,15 +393,15 @@ declare namespace Amplify {
|
|
393
393
|
*/
|
394
394
|
customHeaders?: CustomHeaders;
|
395
395
|
/**
|
396
|
-
*
|
396
|
+
* Enables automated branch creation for the Amplify app.
|
397
397
|
*/
|
398
398
|
enableAutoBranchCreation?: EnableAutoBranchCreation;
|
399
399
|
/**
|
400
|
-
*
|
400
|
+
* Describes the automated branch creation glob patterns for the Amplify app.
|
401
401
|
*/
|
402
402
|
autoBranchCreationPatterns?: AutoBranchCreationPatterns;
|
403
403
|
/**
|
404
|
-
*
|
404
|
+
* Describes the automated branch creation configuration for the Amplify app.
|
405
405
|
*/
|
406
406
|
autoBranchCreationConfig?: AutoBranchCreationConfig;
|
407
407
|
/**
|
@@ -414,11 +414,11 @@ declare namespace Amplify {
|
|
414
414
|
export type Apps = App[];
|
415
415
|
export interface Artifact {
|
416
416
|
/**
|
417
|
-
*
|
417
|
+
* The file name for the artifact.
|
418
418
|
*/
|
419
419
|
artifactFileName: ArtifactFileName;
|
420
420
|
/**
|
421
|
-
*
|
421
|
+
* The unique ID for the artifact.
|
422
422
|
*/
|
423
423
|
artifactId: ArtifactId;
|
424
424
|
}
|
@@ -431,27 +431,27 @@ declare namespace Amplify {
|
|
431
431
|
export type AssociatedResources = AssociatedResource[];
|
432
432
|
export interface AutoBranchCreationConfig {
|
433
433
|
/**
|
434
|
-
*
|
434
|
+
* Describes the current stage for the autocreated branch.
|
435
435
|
*/
|
436
436
|
stage?: Stage;
|
437
437
|
/**
|
438
|
-
*
|
438
|
+
* The framework for the autocreated branch.
|
439
439
|
*/
|
440
440
|
framework?: Framework;
|
441
441
|
/**
|
442
|
-
*
|
442
|
+
* Enables auto building for the autocreated branch.
|
443
443
|
*/
|
444
444
|
enableAutoBuild?: EnableAutoBuild;
|
445
445
|
/**
|
446
|
-
*
|
446
|
+
* The environment variables for the autocreated branch.
|
447
447
|
*/
|
448
448
|
environmentVariables?: EnvironmentVariables;
|
449
449
|
/**
|
450
|
-
*
|
450
|
+
* The basic authorization credentials for the autocreated branch. You must base64-encode the authorization credentials and provide them in the format user:password.
|
451
451
|
*/
|
452
452
|
basicAuthCredentials?: BasicAuthCredentials;
|
453
453
|
/**
|
454
|
-
*
|
454
|
+
* Enables basic authorization for the autocreated branch.
|
455
455
|
*/
|
456
456
|
enableBasicAuth?: EnableBasicAuth;
|
457
457
|
/**
|
@@ -459,15 +459,15 @@ declare namespace Amplify {
|
|
459
459
|
*/
|
460
460
|
enablePerformanceMode?: EnablePerformanceMode;
|
461
461
|
/**
|
462
|
-
*
|
462
|
+
* The build specification (build spec) for the autocreated branch.
|
463
463
|
*/
|
464
464
|
buildSpec?: BuildSpec;
|
465
465
|
/**
|
466
|
-
*
|
466
|
+
* Enables pull request previews for the autocreated branch.
|
467
467
|
*/
|
468
468
|
enablePullRequestPreview?: EnablePullRequestPreview;
|
469
469
|
/**
|
470
|
-
*
|
470
|
+
* The Amplify environment name for the pull request.
|
471
471
|
*/
|
472
472
|
pullRequestEnvironmentName?: PullRequestEnvironmentName;
|
473
473
|
}
|
@@ -476,29 +476,35 @@ declare namespace Amplify {
|
|
476
476
|
export type AutoSubDomainCreationPattern = string;
|
477
477
|
export type AutoSubDomainCreationPatterns = AutoSubDomainCreationPattern[];
|
478
478
|
export type AutoSubDomainIAMRole = string;
|
479
|
+
export interface Backend {
|
480
|
+
/**
|
481
|
+
* The Amazon Resource Name (ARN) for the CloudFormation stack.
|
482
|
+
*/
|
483
|
+
stackArn?: StackArn;
|
484
|
+
}
|
479
485
|
export interface BackendEnvironment {
|
480
486
|
/**
|
481
|
-
*
|
487
|
+
* The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
|
482
488
|
*/
|
483
489
|
backendEnvironmentArn: BackendEnvironmentArn;
|
484
490
|
/**
|
485
|
-
*
|
491
|
+
* The name for a backend environment that is part of an Amplify app.
|
486
492
|
*/
|
487
493
|
environmentName: EnvironmentName;
|
488
494
|
/**
|
489
|
-
*
|
495
|
+
* The AWS CloudFormation stack name of a backend environment.
|
490
496
|
*/
|
491
497
|
stackName?: StackName;
|
492
498
|
/**
|
493
|
-
*
|
499
|
+
* The name of deployment artifacts.
|
494
500
|
*/
|
495
501
|
deploymentArtifacts?: DeploymentArtifacts;
|
496
502
|
/**
|
497
|
-
*
|
503
|
+
* The creation date and time for a backend environment that is part of an Amplify app.
|
498
504
|
*/
|
499
505
|
createTime: CreateTime;
|
500
506
|
/**
|
501
|
-
*
|
507
|
+
* The last updated date and time for a backend environment that is part of an Amplify app.
|
502
508
|
*/
|
503
509
|
updateTime: UpdateTime;
|
504
510
|
}
|
@@ -614,6 +620,7 @@ declare namespace Amplify {
|
|
614
620
|
* The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
|
615
621
|
*/
|
616
622
|
backendEnvironmentArn?: BackendEnvironmentArn;
|
623
|
+
backend?: Backend;
|
617
624
|
}
|
618
625
|
export type BranchArn = string;
|
619
626
|
export type BranchName = string;
|
@@ -627,23 +634,23 @@ declare namespace Amplify {
|
|
627
634
|
export type Context = string;
|
628
635
|
export interface CreateAppRequest {
|
629
636
|
/**
|
630
|
-
*
|
637
|
+
* The name of the Amplify app.
|
631
638
|
*/
|
632
639
|
name: Name;
|
633
640
|
/**
|
634
|
-
*
|
641
|
+
* The description of the Amplify app.
|
635
642
|
*/
|
636
643
|
description?: Description;
|
637
644
|
/**
|
638
|
-
*
|
645
|
+
* The Git repository for the Amplify app.
|
639
646
|
*/
|
640
647
|
repository?: Repository;
|
641
648
|
/**
|
642
|
-
*
|
649
|
+
* The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.
|
643
650
|
*/
|
644
651
|
platform?: Platform;
|
645
652
|
/**
|
646
|
-
*
|
653
|
+
* The AWS Identity and Access Management (IAM) service role for an Amplify app.
|
647
654
|
*/
|
648
655
|
iamServiceRoleArn?: ServiceRoleArn;
|
649
656
|
/**
|
@@ -655,35 +662,35 @@ declare namespace Amplify {
|
|
655
662
|
*/
|
656
663
|
accessToken?: AccessToken;
|
657
664
|
/**
|
658
|
-
*
|
665
|
+
* The environment variables map for an Amplify app. For a list of the environment variables that are accessible to Amplify by default, see Amplify Environment variables in the Amplify Hosting User Guide.
|
659
666
|
*/
|
660
667
|
environmentVariables?: EnvironmentVariables;
|
661
668
|
/**
|
662
|
-
*
|
669
|
+
* Enables the auto building of branches for an Amplify app.
|
663
670
|
*/
|
664
671
|
enableBranchAutoBuild?: EnableBranchAutoBuild;
|
665
672
|
/**
|
666
|
-
*
|
673
|
+
* Automatically disconnects a branch in the Amplify console when you delete a branch from your Git repository.
|
667
674
|
*/
|
668
675
|
enableBranchAutoDeletion?: EnableBranchAutoDeletion;
|
669
676
|
/**
|
670
|
-
*
|
677
|
+
* Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
|
671
678
|
*/
|
672
679
|
enableBasicAuth?: EnableBasicAuth;
|
673
680
|
/**
|
674
|
-
*
|
681
|
+
* The credentials for basic authorization for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.
|
675
682
|
*/
|
676
683
|
basicAuthCredentials?: BasicAuthCredentials;
|
677
684
|
/**
|
678
|
-
*
|
685
|
+
* The custom rewrite and redirect rules for an Amplify app.
|
679
686
|
*/
|
680
687
|
customRules?: CustomRules;
|
681
688
|
/**
|
682
|
-
*
|
689
|
+
* The tag for an Amplify app.
|
683
690
|
*/
|
684
691
|
tags?: TagMap;
|
685
692
|
/**
|
686
|
-
*
|
693
|
+
* The build specification (build spec) for an Amplify app.
|
687
694
|
*/
|
688
695
|
buildSpec?: BuildSpec;
|
689
696
|
/**
|
@@ -691,15 +698,15 @@ declare namespace Amplify {
|
|
691
698
|
*/
|
692
699
|
customHeaders?: CustomHeaders;
|
693
700
|
/**
|
694
|
-
*
|
701
|
+
* Enables automated branch creation for an Amplify app.
|
695
702
|
*/
|
696
703
|
enableAutoBranchCreation?: EnableAutoBranchCreation;
|
697
704
|
/**
|
698
|
-
*
|
705
|
+
* The automated branch creation glob patterns for an Amplify app.
|
699
706
|
*/
|
700
707
|
autoBranchCreationPatterns?: AutoBranchCreationPatterns;
|
701
708
|
/**
|
702
|
-
*
|
709
|
+
* The automated branch creation configuration for an Amplify app.
|
703
710
|
*/
|
704
711
|
autoBranchCreationConfig?: AutoBranchCreationConfig;
|
705
712
|
}
|
@@ -708,25 +715,25 @@ declare namespace Amplify {
|
|
708
715
|
}
|
709
716
|
export interface CreateBackendEnvironmentRequest {
|
710
717
|
/**
|
711
|
-
*
|
718
|
+
* The unique ID for an Amplify app.
|
712
719
|
*/
|
713
720
|
appId: AppId;
|
714
721
|
/**
|
715
|
-
*
|
722
|
+
* The name for the backend environment.
|
716
723
|
*/
|
717
724
|
environmentName: EnvironmentName;
|
718
725
|
/**
|
719
|
-
*
|
726
|
+
* The AWS CloudFormation stack name of a backend environment.
|
720
727
|
*/
|
721
728
|
stackName?: StackName;
|
722
729
|
/**
|
723
|
-
*
|
730
|
+
* The name of deployment artifacts.
|
724
731
|
*/
|
725
732
|
deploymentArtifacts?: DeploymentArtifacts;
|
726
733
|
}
|
727
734
|
export interface CreateBackendEnvironmentResult {
|
728
735
|
/**
|
729
|
-
*
|
736
|
+
* Describes the backend environment for an Amplify app.
|
730
737
|
*/
|
731
738
|
backendEnvironment: BackendEnvironment;
|
732
739
|
}
|
@@ -736,15 +743,15 @@ declare namespace Amplify {
|
|
736
743
|
*/
|
737
744
|
appId: AppId;
|
738
745
|
/**
|
739
|
-
*
|
746
|
+
* The name for the branch.
|
740
747
|
*/
|
741
748
|
branchName: BranchName;
|
742
749
|
/**
|
743
|
-
*
|
750
|
+
* The description for the branch.
|
744
751
|
*/
|
745
752
|
description?: Description;
|
746
753
|
/**
|
747
|
-
*
|
754
|
+
* Describes the current stage for the branch.
|
748
755
|
*/
|
749
756
|
stage?: Stage;
|
750
757
|
/**
|
@@ -800,9 +807,13 @@ declare namespace Amplify {
|
|
800
807
|
*/
|
801
808
|
pullRequestEnvironmentName?: PullRequestEnvironmentName;
|
802
809
|
/**
|
803
|
-
*
|
810
|
+
* The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
|
804
811
|
*/
|
805
812
|
backendEnvironmentArn?: BackendEnvironmentArn;
|
813
|
+
/**
|
814
|
+
* The backend for a Branch of an Amplify app. Use for a backend created from an CloudFormation stack.
|
815
|
+
*/
|
816
|
+
backend?: Backend;
|
806
817
|
}
|
807
818
|
export interface CreateBranchResult {
|
808
819
|
/**
|
@@ -816,7 +827,7 @@ declare namespace Amplify {
|
|
816
827
|
*/
|
817
828
|
appId: AppId;
|
818
829
|
/**
|
819
|
-
* The name
|
830
|
+
* The name of the branch to use for the job.
|
820
831
|
*/
|
821
832
|
branchName: BranchName;
|
822
833
|
/**
|
@@ -873,21 +884,21 @@ declare namespace Amplify {
|
|
873
884
|
export type CreateTime = Date;
|
874
885
|
export interface CreateWebhookRequest {
|
875
886
|
/**
|
876
|
-
*
|
887
|
+
* The unique ID for an Amplify app.
|
877
888
|
*/
|
878
889
|
appId: AppId;
|
879
890
|
/**
|
880
|
-
*
|
891
|
+
* The name for a branch that is part of an Amplify app.
|
881
892
|
*/
|
882
893
|
branchName: BranchName;
|
883
894
|
/**
|
884
|
-
*
|
895
|
+
* The description for a webhook.
|
885
896
|
*/
|
886
897
|
description?: Description;
|
887
898
|
}
|
888
899
|
export interface CreateWebhookResult {
|
889
900
|
/**
|
890
|
-
*
|
901
|
+
* Describes a webhook that connects repository events to an Amplify app.
|
891
902
|
*/
|
892
903
|
webhook: Webhook;
|
893
904
|
}
|
@@ -896,19 +907,19 @@ declare namespace Amplify {
|
|
896
907
|
export type CustomHeaders = string;
|
897
908
|
export interface CustomRule {
|
898
909
|
/**
|
899
|
-
*
|
910
|
+
* The source pattern for a URL rewrite or redirect rule.
|
900
911
|
*/
|
901
912
|
source: Source;
|
902
913
|
/**
|
903
|
-
*
|
914
|
+
* The target pattern for a URL rewrite or redirect rule.
|
904
915
|
*/
|
905
916
|
target: Target;
|
906
917
|
/**
|
907
|
-
*
|
918
|
+
* The status code for a URL rewrite or redirect rule. 200 Represents a 200 rewrite rule. 301 Represents a 301 (moved pemanently) redirect rule. This and all future requests should be directed to the target URL. 302 Represents a 302 temporary redirect rule. 404 Represents a 404 redirect rule. 404-200 Represents a 404 rewrite rule.
|
908
919
|
*/
|
909
920
|
status?: Status;
|
910
921
|
/**
|
911
|
-
*
|
922
|
+
* The condition for a URL rewrite or redirect rule, such as a country code.
|
912
923
|
*/
|
913
924
|
condition?: Condition;
|
914
925
|
}
|
@@ -917,7 +928,7 @@ declare namespace Amplify {
|
|
917
928
|
export type DefaultDomain = string;
|
918
929
|
export interface DeleteAppRequest {
|
919
930
|
/**
|
920
|
-
*
|
931
|
+
* The unique ID for an Amplify app.
|
921
932
|
*/
|
922
933
|
appId: AppId;
|
923
934
|
}
|
@@ -926,17 +937,17 @@ declare namespace Amplify {
|
|
926
937
|
}
|
927
938
|
export interface DeleteBackendEnvironmentRequest {
|
928
939
|
/**
|
929
|
-
*
|
940
|
+
* The unique ID of an Amplify app.
|
930
941
|
*/
|
931
942
|
appId: AppId;
|
932
943
|
/**
|
933
|
-
*
|
944
|
+
* The name of a backend environment of an Amplify app.
|
934
945
|
*/
|
935
946
|
environmentName: EnvironmentName;
|
936
947
|
}
|
937
948
|
export interface DeleteBackendEnvironmentResult {
|
938
949
|
/**
|
939
|
-
*
|
950
|
+
* Describes the backend environment for an Amplify app.
|
940
951
|
*/
|
941
952
|
backendEnvironment: BackendEnvironment;
|
942
953
|
}
|
@@ -946,13 +957,13 @@ declare namespace Amplify {
|
|
946
957
|
*/
|
947
958
|
appId: AppId;
|
948
959
|
/**
|
949
|
-
*
|
960
|
+
* The name of the branch.
|
950
961
|
*/
|
951
962
|
branchName: BranchName;
|
952
963
|
}
|
953
964
|
export interface DeleteBranchResult {
|
954
965
|
/**
|
955
|
-
*
|
966
|
+
* The branch for an Amplify app, which maps to a third-party repository branch.
|
956
967
|
*/
|
957
968
|
branch: Branch;
|
958
969
|
}
|
@@ -975,7 +986,7 @@ declare namespace Amplify {
|
|
975
986
|
*/
|
976
987
|
appId: AppId;
|
977
988
|
/**
|
978
|
-
*
|
989
|
+
* The name of the branch to use for the job.
|
979
990
|
*/
|
980
991
|
branchName: BranchName;
|
981
992
|
/**
|
@@ -988,13 +999,13 @@ declare namespace Amplify {
|
|
988
999
|
}
|
989
1000
|
export interface DeleteWebhookRequest {
|
990
1001
|
/**
|
991
|
-
*
|
1002
|
+
* The unique ID for a webhook.
|
992
1003
|
*/
|
993
1004
|
webhookId: WebhookId;
|
994
1005
|
}
|
995
1006
|
export interface DeleteWebhookResult {
|
996
1007
|
/**
|
997
|
-
*
|
1008
|
+
* Describes a webhook that connects repository events to an Amplify app.
|
998
1009
|
*/
|
999
1010
|
webhook: Webhook;
|
1000
1011
|
}
|
@@ -1064,31 +1075,31 @@ declare namespace Amplify {
|
|
1064
1075
|
export type Framework = string;
|
1065
1076
|
export interface GenerateAccessLogsRequest {
|
1066
1077
|
/**
|
1067
|
-
*
|
1078
|
+
* The time at which the logs should start. The time range specified is inclusive of the start time.
|
1068
1079
|
*/
|
1069
1080
|
startTime?: StartTime;
|
1070
1081
|
/**
|
1071
|
-
*
|
1082
|
+
* The time at which the logs should end. The time range specified is inclusive of the end time.
|
1072
1083
|
*/
|
1073
1084
|
endTime?: EndTime;
|
1074
1085
|
/**
|
1075
|
-
*
|
1086
|
+
* The name of the domain.
|
1076
1087
|
*/
|
1077
1088
|
domainName: DomainName;
|
1078
1089
|
/**
|
1079
|
-
*
|
1090
|
+
* The unique ID for an Amplify app.
|
1080
1091
|
*/
|
1081
1092
|
appId: AppId;
|
1082
1093
|
}
|
1083
1094
|
export interface GenerateAccessLogsResult {
|
1084
1095
|
/**
|
1085
|
-
*
|
1096
|
+
* The pre-signed URL for the requested access logs.
|
1086
1097
|
*/
|
1087
1098
|
logUrl?: LogUrl;
|
1088
1099
|
}
|
1089
1100
|
export interface GetAppRequest {
|
1090
1101
|
/**
|
1091
|
-
*
|
1102
|
+
* The unique ID for an Amplify app.
|
1092
1103
|
*/
|
1093
1104
|
appId: AppId;
|
1094
1105
|
}
|
@@ -1097,33 +1108,33 @@ declare namespace Amplify {
|
|
1097
1108
|
}
|
1098
1109
|
export interface GetArtifactUrlRequest {
|
1099
1110
|
/**
|
1100
|
-
*
|
1111
|
+
* The unique ID for an artifact.
|
1101
1112
|
*/
|
1102
1113
|
artifactId: ArtifactId;
|
1103
1114
|
}
|
1104
1115
|
export interface GetArtifactUrlResult {
|
1105
1116
|
/**
|
1106
|
-
*
|
1117
|
+
* The unique ID for an artifact.
|
1107
1118
|
*/
|
1108
1119
|
artifactId: ArtifactId;
|
1109
1120
|
/**
|
1110
|
-
*
|
1121
|
+
* The presigned URL for the artifact.
|
1111
1122
|
*/
|
1112
1123
|
artifactUrl: ArtifactUrl;
|
1113
1124
|
}
|
1114
1125
|
export interface GetBackendEnvironmentRequest {
|
1115
1126
|
/**
|
1116
|
-
*
|
1127
|
+
* The unique id for an Amplify app.
|
1117
1128
|
*/
|
1118
1129
|
appId: AppId;
|
1119
1130
|
/**
|
1120
|
-
*
|
1131
|
+
* The name for the backend environment.
|
1121
1132
|
*/
|
1122
1133
|
environmentName: EnvironmentName;
|
1123
1134
|
}
|
1124
1135
|
export interface GetBackendEnvironmentResult {
|
1125
1136
|
/**
|
1126
|
-
*
|
1137
|
+
* Describes the backend environment for an Amplify app.
|
1127
1138
|
*/
|
1128
1139
|
backendEnvironment: BackendEnvironment;
|
1129
1140
|
}
|
@@ -1133,7 +1144,7 @@ declare namespace Amplify {
|
|
1133
1144
|
*/
|
1134
1145
|
appId: AppId;
|
1135
1146
|
/**
|
1136
|
-
*
|
1147
|
+
* The name of the branch.
|
1137
1148
|
*/
|
1138
1149
|
branchName: BranchName;
|
1139
1150
|
}
|
@@ -1158,15 +1169,15 @@ declare namespace Amplify {
|
|
1158
1169
|
}
|
1159
1170
|
export interface GetJobRequest {
|
1160
1171
|
/**
|
1161
|
-
*
|
1172
|
+
* The unique ID for an Amplify app.
|
1162
1173
|
*/
|
1163
1174
|
appId: AppId;
|
1164
1175
|
/**
|
1165
|
-
*
|
1176
|
+
* The name of the branch to use for the job.
|
1166
1177
|
*/
|
1167
1178
|
branchName: BranchName;
|
1168
1179
|
/**
|
1169
|
-
*
|
1180
|
+
* The unique ID for the job.
|
1170
1181
|
*/
|
1171
1182
|
jobId: JobId;
|
1172
1183
|
}
|
@@ -1175,13 +1186,13 @@ declare namespace Amplify {
|
|
1175
1186
|
}
|
1176
1187
|
export interface GetWebhookRequest {
|
1177
1188
|
/**
|
1178
|
-
*
|
1189
|
+
* The unique ID for a webhook.
|
1179
1190
|
*/
|
1180
1191
|
webhookId: WebhookId;
|
1181
1192
|
}
|
1182
1193
|
export interface GetWebhookResult {
|
1183
1194
|
/**
|
1184
|
-
*
|
1195
|
+
* Describes the structure of a webhook.
|
1185
1196
|
*/
|
1186
1197
|
webhook: Webhook;
|
1187
1198
|
}
|
@@ -1242,91 +1253,91 @@ declare namespace Amplify {
|
|
1242
1253
|
export type LastDeployTime = Date;
|
1243
1254
|
export interface ListAppsRequest {
|
1244
1255
|
/**
|
1245
|
-
*
|
1256
|
+
* A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.
|
1246
1257
|
*/
|
1247
1258
|
nextToken?: NextToken;
|
1248
1259
|
/**
|
1249
|
-
*
|
1260
|
+
* The maximum number of records to list in a single response.
|
1250
1261
|
*/
|
1251
1262
|
maxResults?: MaxResults;
|
1252
1263
|
}
|
1253
1264
|
export interface ListAppsResult {
|
1254
1265
|
/**
|
1255
|
-
*
|
1266
|
+
* A list of Amplify apps.
|
1256
1267
|
*/
|
1257
1268
|
apps: Apps;
|
1258
1269
|
/**
|
1259
|
-
*
|
1270
|
+
* A pagination token. Set to null to start listing apps from start. If non-null, the pagination token is returned in a result. Pass its value in here to list more projects.
|
1260
1271
|
*/
|
1261
1272
|
nextToken?: NextToken;
|
1262
1273
|
}
|
1263
1274
|
export interface ListArtifactsRequest {
|
1264
1275
|
/**
|
1265
|
-
*
|
1276
|
+
* The unique ID for an Amplify app.
|
1266
1277
|
*/
|
1267
1278
|
appId: AppId;
|
1268
1279
|
/**
|
1269
|
-
*
|
1280
|
+
* The name of a branch that is part of an Amplify app.
|
1270
1281
|
*/
|
1271
1282
|
branchName: BranchName;
|
1272
1283
|
/**
|
1273
|
-
*
|
1284
|
+
* The unique ID for a job.
|
1274
1285
|
*/
|
1275
1286
|
jobId: JobId;
|
1276
1287
|
/**
|
1277
|
-
*
|
1288
|
+
* A pagination token. Set to null to start listing artifacts from start. If a non-null pagination token is returned in a result, pass its value in here to list more artifacts.
|
1278
1289
|
*/
|
1279
1290
|
nextToken?: NextToken;
|
1280
1291
|
/**
|
1281
|
-
*
|
1292
|
+
* The maximum number of records to list in a single response.
|
1282
1293
|
*/
|
1283
1294
|
maxResults?: MaxResults;
|
1284
1295
|
}
|
1285
1296
|
export interface ListArtifactsResult {
|
1286
1297
|
/**
|
1287
|
-
*
|
1298
|
+
* A list of artifacts.
|
1288
1299
|
*/
|
1289
1300
|
artifacts: Artifacts;
|
1290
1301
|
/**
|
1291
|
-
*
|
1302
|
+
* A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
|
1292
1303
|
*/
|
1293
1304
|
nextToken?: NextToken;
|
1294
1305
|
}
|
1295
1306
|
export interface ListBackendEnvironmentsRequest {
|
1296
1307
|
/**
|
1297
|
-
*
|
1308
|
+
* The unique ID for an Amplify app.
|
1298
1309
|
*/
|
1299
1310
|
appId: AppId;
|
1300
1311
|
/**
|
1301
|
-
*
|
1312
|
+
* The name of the backend environment
|
1302
1313
|
*/
|
1303
1314
|
environmentName?: EnvironmentName;
|
1304
1315
|
/**
|
1305
|
-
*
|
1316
|
+
* A pagination token. Set to null to start listing backend environments from the start. If a non-null pagination token is returned in a result, pass its value in here to list more backend environments.
|
1306
1317
|
*/
|
1307
1318
|
nextToken?: NextToken;
|
1308
1319
|
/**
|
1309
|
-
*
|
1320
|
+
* The maximum number of records to list in a single response.
|
1310
1321
|
*/
|
1311
1322
|
maxResults?: MaxResults;
|
1312
1323
|
}
|
1313
1324
|
export interface ListBackendEnvironmentsResult {
|
1314
1325
|
/**
|
1315
|
-
*
|
1326
|
+
* The list of backend environments for an Amplify app.
|
1316
1327
|
*/
|
1317
1328
|
backendEnvironments: BackendEnvironments;
|
1318
1329
|
/**
|
1319
|
-
*
|
1330
|
+
* A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
|
1320
1331
|
*/
|
1321
1332
|
nextToken?: NextToken;
|
1322
1333
|
}
|
1323
1334
|
export interface ListBranchesRequest {
|
1324
1335
|
/**
|
1325
|
-
*
|
1336
|
+
* The unique ID for an Amplify app.
|
1326
1337
|
*/
|
1327
1338
|
appId: AppId;
|
1328
1339
|
/**
|
1329
|
-
*
|
1340
|
+
* A pagination token. Set to null to start listing branches from the start. If a non-null pagination token is returned in a result, pass its value in here to list more branches.
|
1330
1341
|
*/
|
1331
1342
|
nextToken?: NextToken;
|
1332
1343
|
/**
|
@@ -1374,61 +1385,61 @@ declare namespace Amplify {
|
|
1374
1385
|
*/
|
1375
1386
|
appId: AppId;
|
1376
1387
|
/**
|
1377
|
-
*
|
1388
|
+
* The name of the branch to use for the request.
|
1378
1389
|
*/
|
1379
1390
|
branchName: BranchName;
|
1380
1391
|
/**
|
1381
|
-
*
|
1392
|
+
* A pagination token. Set to null to start listing steps from the start. If a non-null pagination token is returned in a result, pass its value in here to list more steps.
|
1382
1393
|
*/
|
1383
1394
|
nextToken?: NextToken;
|
1384
1395
|
/**
|
1385
|
-
*
|
1396
|
+
* The maximum number of records to list in a single response.
|
1386
1397
|
*/
|
1387
1398
|
maxResults?: MaxResults;
|
1388
1399
|
}
|
1389
1400
|
export interface ListJobsResult {
|
1390
1401
|
/**
|
1391
|
-
*
|
1402
|
+
* The result structure for the list job result request.
|
1392
1403
|
*/
|
1393
1404
|
jobSummaries: JobSummaries;
|
1394
1405
|
/**
|
1395
|
-
*
|
1406
|
+
* A pagination token. If non-null the pagination token is returned in a result. Pass its value in another request to retrieve more entries.
|
1396
1407
|
*/
|
1397
1408
|
nextToken?: NextToken;
|
1398
1409
|
}
|
1399
1410
|
export interface ListTagsForResourceRequest {
|
1400
1411
|
/**
|
1401
|
-
*
|
1412
|
+
* The Amazon Resource Name (ARN) to use to list tags.
|
1402
1413
|
*/
|
1403
1414
|
resourceArn: ResourceArn;
|
1404
1415
|
}
|
1405
1416
|
export interface ListTagsForResourceResponse {
|
1406
1417
|
/**
|
1407
|
-
*
|
1418
|
+
* A list of tags for the specified The Amazon Resource Name (ARN).
|
1408
1419
|
*/
|
1409
1420
|
tags?: TagMap;
|
1410
1421
|
}
|
1411
1422
|
export interface ListWebhooksRequest {
|
1412
1423
|
/**
|
1413
|
-
*
|
1424
|
+
* The unique ID for an Amplify app.
|
1414
1425
|
*/
|
1415
1426
|
appId: AppId;
|
1416
1427
|
/**
|
1417
|
-
*
|
1428
|
+
* A pagination token. Set to null to start listing webhooks from the start. If non-null,the pagination token is returned in a result. Pass its value in here to list more webhooks.
|
1418
1429
|
*/
|
1419
1430
|
nextToken?: NextToken;
|
1420
1431
|
/**
|
1421
|
-
*
|
1432
|
+
* The maximum number of records to list in a single response.
|
1422
1433
|
*/
|
1423
1434
|
maxResults?: MaxResults;
|
1424
1435
|
}
|
1425
1436
|
export interface ListWebhooksResult {
|
1426
1437
|
/**
|
1427
|
-
*
|
1438
|
+
* A list of webhooks.
|
1428
1439
|
*/
|
1429
1440
|
webhooks: Webhooks;
|
1430
1441
|
/**
|
1431
|
-
*
|
1442
|
+
* A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.
|
1432
1443
|
*/
|
1433
1444
|
nextToken?: NextToken;
|
1434
1445
|
}
|
@@ -1441,19 +1452,19 @@ declare namespace Amplify {
|
|
1441
1452
|
export type Platform = "WEB"|"WEB_DYNAMIC"|"WEB_COMPUTE"|string;
|
1442
1453
|
export interface ProductionBranch {
|
1443
1454
|
/**
|
1444
|
-
*
|
1455
|
+
* The last deploy time of the production branch.
|
1445
1456
|
*/
|
1446
1457
|
lastDeployTime?: LastDeployTime;
|
1447
1458
|
/**
|
1448
|
-
*
|
1459
|
+
* The status of the production branch.
|
1449
1460
|
*/
|
1450
1461
|
status?: Status;
|
1451
1462
|
/**
|
1452
|
-
*
|
1463
|
+
* The thumbnail URL for the production branch.
|
1453
1464
|
*/
|
1454
1465
|
thumbnailUrl?: ThumbnailUrl;
|
1455
1466
|
/**
|
1456
|
-
*
|
1467
|
+
* The branch name for the production branch.
|
1457
1468
|
*/
|
1458
1469
|
branchName?: BranchName;
|
1459
1470
|
}
|
@@ -1465,51 +1476,52 @@ declare namespace Amplify {
|
|
1465
1476
|
export type ServiceRoleArn = string;
|
1466
1477
|
export type Source = string;
|
1467
1478
|
export type SourceUrl = string;
|
1479
|
+
export type StackArn = string;
|
1468
1480
|
export type StackName = string;
|
1469
1481
|
export type Stage = "PRODUCTION"|"BETA"|"DEVELOPMENT"|"EXPERIMENTAL"|"PULL_REQUEST"|string;
|
1470
1482
|
export interface StartDeploymentRequest {
|
1471
1483
|
/**
|
1472
|
-
*
|
1484
|
+
* The unique ID for an Amplify app.
|
1473
1485
|
*/
|
1474
1486
|
appId: AppId;
|
1475
1487
|
/**
|
1476
|
-
*
|
1488
|
+
* The name of the branch to use for the job.
|
1477
1489
|
*/
|
1478
1490
|
branchName: BranchName;
|
1479
1491
|
/**
|
1480
|
-
*
|
1492
|
+
* The job ID for this deployment, generated by the create deployment request.
|
1481
1493
|
*/
|
1482
1494
|
jobId?: JobId;
|
1483
1495
|
/**
|
1484
|
-
*
|
1496
|
+
* The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.
|
1485
1497
|
*/
|
1486
1498
|
sourceUrl?: SourceUrl;
|
1487
1499
|
}
|
1488
1500
|
export interface StartDeploymentResult {
|
1489
1501
|
/**
|
1490
|
-
*
|
1502
|
+
* The summary for the job.
|
1491
1503
|
*/
|
1492
1504
|
jobSummary: JobSummary;
|
1493
1505
|
}
|
1494
1506
|
export interface StartJobRequest {
|
1495
1507
|
/**
|
1496
|
-
*
|
1508
|
+
* The unique ID for an Amplify app.
|
1497
1509
|
*/
|
1498
1510
|
appId: AppId;
|
1499
1511
|
/**
|
1500
|
-
*
|
1512
|
+
* The name of the branch to use for the job.
|
1501
1513
|
*/
|
1502
1514
|
branchName: BranchName;
|
1503
1515
|
/**
|
1504
|
-
*
|
1516
|
+
* The unique ID for an existing job. This is required if the value of jobType is RETRY.
|
1505
1517
|
*/
|
1506
1518
|
jobId?: JobId;
|
1507
1519
|
/**
|
1508
|
-
*
|
1520
|
+
* Describes the type for the job. The job type RELEASE starts a new job with the latest change from the specified branch. This value is available only for apps that are connected to a repository. The job type RETRY retries an existing job. If the job type value is RETRY, the jobId is also required.
|
1509
1521
|
*/
|
1510
1522
|
jobType: JobType;
|
1511
1523
|
/**
|
1512
|
-
*
|
1524
|
+
* A descriptive reason for starting the job.
|
1513
1525
|
*/
|
1514
1526
|
jobReason?: JobReason;
|
1515
1527
|
/**
|
@@ -1588,7 +1600,7 @@ declare namespace Amplify {
|
|
1588
1600
|
*/
|
1589
1601
|
appId: AppId;
|
1590
1602
|
/**
|
1591
|
-
*
|
1603
|
+
* The name of the branch to use for the stop job request.
|
1592
1604
|
*/
|
1593
1605
|
branchName: BranchName;
|
1594
1606
|
/**
|
@@ -1638,7 +1650,7 @@ declare namespace Amplify {
|
|
1638
1650
|
*/
|
1639
1651
|
resourceArn: ResourceArn;
|
1640
1652
|
/**
|
1641
|
-
*
|
1653
|
+
* The tags used to tag the resource.
|
1642
1654
|
*/
|
1643
1655
|
tags: TagMap;
|
1644
1656
|
}
|
@@ -1653,11 +1665,11 @@ declare namespace Amplify {
|
|
1653
1665
|
export type TotalNumberOfJobs = string;
|
1654
1666
|
export interface UntagResourceRequest {
|
1655
1667
|
/**
|
1656
|
-
*
|
1668
|
+
* The Amazon Resource Name (ARN) to use to untag a resource.
|
1657
1669
|
*/
|
1658
1670
|
resourceArn: ResourceArn;
|
1659
1671
|
/**
|
1660
|
-
*
|
1672
|
+
* The tag keys to use to untag a resource.
|
1661
1673
|
*/
|
1662
1674
|
tagKeys: TagKeyList;
|
1663
1675
|
}
|
@@ -1665,51 +1677,51 @@ declare namespace Amplify {
|
|
1665
1677
|
}
|
1666
1678
|
export interface UpdateAppRequest {
|
1667
1679
|
/**
|
1668
|
-
*
|
1680
|
+
* The unique ID for an Amplify app.
|
1669
1681
|
*/
|
1670
1682
|
appId: AppId;
|
1671
1683
|
/**
|
1672
|
-
*
|
1684
|
+
* The name for an Amplify app.
|
1673
1685
|
*/
|
1674
1686
|
name?: Name;
|
1675
1687
|
/**
|
1676
|
-
*
|
1688
|
+
* The description for an Amplify app.
|
1677
1689
|
*/
|
1678
1690
|
description?: Description;
|
1679
1691
|
/**
|
1680
|
-
*
|
1692
|
+
* The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.
|
1681
1693
|
*/
|
1682
1694
|
platform?: Platform;
|
1683
1695
|
/**
|
1684
|
-
*
|
1696
|
+
* The AWS Identity and Access Management (IAM) service role for an Amplify app.
|
1685
1697
|
*/
|
1686
1698
|
iamServiceRoleArn?: ServiceRoleArn;
|
1687
1699
|
/**
|
1688
|
-
*
|
1700
|
+
* The environment variables for an Amplify app.
|
1689
1701
|
*/
|
1690
1702
|
environmentVariables?: EnvironmentVariables;
|
1691
1703
|
/**
|
1692
|
-
*
|
1704
|
+
* Enables branch auto-building for an Amplify app.
|
1693
1705
|
*/
|
1694
1706
|
enableBranchAutoBuild?: EnableAutoBuild;
|
1695
1707
|
/**
|
1696
|
-
*
|
1708
|
+
* Automatically disconnects a branch in the Amplify console when you delete a branch from your Git repository.
|
1697
1709
|
*/
|
1698
1710
|
enableBranchAutoDeletion?: EnableBranchAutoDeletion;
|
1699
1711
|
/**
|
1700
|
-
*
|
1712
|
+
* Enables basic authorization for an Amplify app.
|
1701
1713
|
*/
|
1702
1714
|
enableBasicAuth?: EnableBasicAuth;
|
1703
1715
|
/**
|
1704
|
-
*
|
1716
|
+
* The basic authorization credentials for an Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.
|
1705
1717
|
*/
|
1706
1718
|
basicAuthCredentials?: BasicAuthCredentials;
|
1707
1719
|
/**
|
1708
|
-
*
|
1720
|
+
* The custom redirect and rewrite rules for an Amplify app.
|
1709
1721
|
*/
|
1710
1722
|
customRules?: CustomRules;
|
1711
1723
|
/**
|
1712
|
-
*
|
1724
|
+
* The build specification (build spec) for an Amplify app.
|
1713
1725
|
*/
|
1714
1726
|
buildSpec?: BuildSpec;
|
1715
1727
|
/**
|
@@ -1717,19 +1729,19 @@ declare namespace Amplify {
|
|
1717
1729
|
*/
|
1718
1730
|
customHeaders?: CustomHeaders;
|
1719
1731
|
/**
|
1720
|
-
*
|
1732
|
+
* Enables automated branch creation for an Amplify app.
|
1721
1733
|
*/
|
1722
1734
|
enableAutoBranchCreation?: EnableAutoBranchCreation;
|
1723
1735
|
/**
|
1724
|
-
*
|
1736
|
+
* Describes the automated branch creation glob patterns for an Amplify app.
|
1725
1737
|
*/
|
1726
1738
|
autoBranchCreationPatterns?: AutoBranchCreationPatterns;
|
1727
1739
|
/**
|
1728
|
-
*
|
1740
|
+
* The automated branch creation configuration for an Amplify app.
|
1729
1741
|
*/
|
1730
1742
|
autoBranchCreationConfig?: AutoBranchCreationConfig;
|
1731
1743
|
/**
|
1732
|
-
*
|
1744
|
+
* The name of the Git repository for an Amplify app.
|
1733
1745
|
*/
|
1734
1746
|
repository?: Repository;
|
1735
1747
|
/**
|
@@ -1743,7 +1755,7 @@ declare namespace Amplify {
|
|
1743
1755
|
}
|
1744
1756
|
export interface UpdateAppResult {
|
1745
1757
|
/**
|
1746
|
-
*
|
1758
|
+
* Represents the updated Amplify app.
|
1747
1759
|
*/
|
1748
1760
|
app: App;
|
1749
1761
|
}
|
@@ -1753,7 +1765,7 @@ declare namespace Amplify {
|
|
1753
1765
|
*/
|
1754
1766
|
appId: AppId;
|
1755
1767
|
/**
|
1756
|
-
*
|
1768
|
+
* The name of the branch.
|
1757
1769
|
*/
|
1758
1770
|
branchName: BranchName;
|
1759
1771
|
/**
|
@@ -1813,9 +1825,13 @@ declare namespace Amplify {
|
|
1813
1825
|
*/
|
1814
1826
|
pullRequestEnvironmentName?: PullRequestEnvironmentName;
|
1815
1827
|
/**
|
1816
|
-
*
|
1828
|
+
* The Amazon Resource Name (ARN) for a backend environment that is part of an Amplify app.
|
1817
1829
|
*/
|
1818
1830
|
backendEnvironmentArn?: BackendEnvironmentArn;
|
1831
|
+
/**
|
1832
|
+
* The backend for a Branch of an Amplify app. Use for a backend created from an CloudFormation stack.
|
1833
|
+
*/
|
1834
|
+
backend?: Backend;
|
1819
1835
|
}
|
1820
1836
|
export interface UpdateBranchResult {
|
1821
1837
|
/**
|
@@ -1858,21 +1874,21 @@ declare namespace Amplify {
|
|
1858
1874
|
export type UpdateTime = Date;
|
1859
1875
|
export interface UpdateWebhookRequest {
|
1860
1876
|
/**
|
1861
|
-
*
|
1877
|
+
* The unique ID for a webhook.
|
1862
1878
|
*/
|
1863
1879
|
webhookId: WebhookId;
|
1864
1880
|
/**
|
1865
|
-
*
|
1881
|
+
* The name for a branch that is part of an Amplify app.
|
1866
1882
|
*/
|
1867
1883
|
branchName?: BranchName;
|
1868
1884
|
/**
|
1869
|
-
*
|
1885
|
+
* The description for a webhook.
|
1870
1886
|
*/
|
1871
1887
|
description?: Description;
|
1872
1888
|
}
|
1873
1889
|
export interface UpdateWebhookResult {
|
1874
1890
|
/**
|
1875
|
-
*
|
1891
|
+
* Describes a webhook that connects repository events to an Amplify app.
|
1876
1892
|
*/
|
1877
1893
|
webhook: Webhook;
|
1878
1894
|
}
|
@@ -1880,31 +1896,31 @@ declare namespace Amplify {
|
|
1880
1896
|
export type Verified = boolean;
|
1881
1897
|
export interface Webhook {
|
1882
1898
|
/**
|
1883
|
-
*
|
1899
|
+
* The Amazon Resource Name (ARN) for the webhook.
|
1884
1900
|
*/
|
1885
1901
|
webhookArn: WebhookArn;
|
1886
1902
|
/**
|
1887
|
-
*
|
1903
|
+
* The ID of the webhook.
|
1888
1904
|
*/
|
1889
1905
|
webhookId: WebhookId;
|
1890
1906
|
/**
|
1891
|
-
*
|
1907
|
+
* The URL of the webhook.
|
1892
1908
|
*/
|
1893
1909
|
webhookUrl: WebhookUrl;
|
1894
1910
|
/**
|
1895
|
-
*
|
1911
|
+
* The name for a branch that is part of an Amplify app.
|
1896
1912
|
*/
|
1897
1913
|
branchName: BranchName;
|
1898
1914
|
/**
|
1899
|
-
*
|
1915
|
+
* The description for a webhook.
|
1900
1916
|
*/
|
1901
1917
|
description: Description;
|
1902
1918
|
/**
|
1903
|
-
*
|
1919
|
+
* The create date and time for a webhook.
|
1904
1920
|
*/
|
1905
1921
|
createTime: CreateTime;
|
1906
1922
|
/**
|
1907
|
-
*
|
1923
|
+
* Updates the date and time for a webhook.
|
1908
1924
|
*/
|
1909
1925
|
updateTime: UpdateTime;
|
1910
1926
|
}
|