@aws-sdk/client-amplify 3.669.0 → 3.672.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 +10 -1
- package/dist-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -2
- package/dist-types/commands/CreateDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobCommand.d.ts +2 -0
- package/dist-types/commands/GetJobCommand.d.ts +2 -0
- package/dist-types/commands/ListJobsCommand.d.ts +2 -0
- package/dist-types/commands/StartDeploymentCommand.d.ts +4 -1
- package/dist-types/commands/StartJobCommand.d.ts +2 -0
- package/dist-types/commands/StopJobCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +42 -8
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -78,6 +78,7 @@ __export(src_exports, {
|
|
|
78
78
|
Platform: () => Platform,
|
|
79
79
|
RepositoryCloneMethod: () => RepositoryCloneMethod,
|
|
80
80
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
81
|
+
SourceUrlType: () => SourceUrlType,
|
|
81
82
|
Stage: () => Stage,
|
|
82
83
|
StartDeploymentCommand: () => StartDeploymentCommand,
|
|
83
84
|
StartJobCommand: () => StartJobCommand,
|
|
@@ -419,6 +420,10 @@ var JobType = {
|
|
|
419
420
|
RETRY: "RETRY",
|
|
420
421
|
WEB_HOOK: "WEB_HOOK"
|
|
421
422
|
};
|
|
423
|
+
var SourceUrlType = {
|
|
424
|
+
BUCKET_PREFIX: "BUCKET_PREFIX",
|
|
425
|
+
ZIP: "ZIP"
|
|
426
|
+
};
|
|
422
427
|
var JobStatus = {
|
|
423
428
|
CANCELLED: "CANCELLED",
|
|
424
429
|
CANCELLING: "CANCELLING",
|
|
@@ -939,7 +944,8 @@ var se_StartDeploymentCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
939
944
|
body = JSON.stringify(
|
|
940
945
|
(0, import_smithy_client.take)(input, {
|
|
941
946
|
jobId: [],
|
|
942
|
-
sourceUrl: []
|
|
947
|
+
sourceUrl: [],
|
|
948
|
+
sourceUrlType: []
|
|
943
949
|
})
|
|
944
950
|
);
|
|
945
951
|
b.m("POST").h(headers).b(body);
|
|
@@ -1870,6 +1876,8 @@ var de_JobSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1870
1876
|
jobArn: import_smithy_client.expectString,
|
|
1871
1877
|
jobId: import_smithy_client.expectString,
|
|
1872
1878
|
jobType: import_smithy_client.expectString,
|
|
1879
|
+
sourceUrl: import_smithy_client.expectString,
|
|
1880
|
+
sourceUrlType: import_smithy_client.expectString,
|
|
1873
1881
|
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1874
1882
|
status: import_smithy_client.expectString
|
|
1875
1883
|
});
|
|
@@ -2570,6 +2578,7 @@ var paginateListJobs = (0, import_core.createPaginator)(AmplifyClient, ListJobsC
|
|
|
2570
2578
|
DomainStatus,
|
|
2571
2579
|
UpdateStatus,
|
|
2572
2580
|
JobType,
|
|
2581
|
+
SourceUrlType,
|
|
2573
2582
|
JobStatus,
|
|
2574
2583
|
ResourceNotFoundException,
|
|
2575
2584
|
AutoBranchCreationConfigFilterSensitiveLog,
|
|
@@ -25,7 +25,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
25
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
26
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
27
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
(0, util_user_agent_browser_1.
|
|
28
|
+
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
29
29
|
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
30
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
31
31
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -31,7 +31,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
32
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
33
33
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
|
-
(0, util_user_agent_node_1.
|
|
34
|
+
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
35
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
36
|
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -124,6 +124,10 @@ export const JobType = {
|
|
|
124
124
|
RETRY: "RETRY",
|
|
125
125
|
WEB_HOOK: "WEB_HOOK",
|
|
126
126
|
};
|
|
127
|
+
export const SourceUrlType = {
|
|
128
|
+
BUCKET_PREFIX: "BUCKET_PREFIX",
|
|
129
|
+
ZIP: "ZIP",
|
|
130
|
+
};
|
|
127
131
|
export const JobStatus = {
|
|
128
132
|
CANCELLED: "CANCELLED",
|
|
129
133
|
CANCELLING: "CANCELLING",
|
|
@@ -389,6 +389,7 @@ export const se_StartDeploymentCommand = async (input, context) => {
|
|
|
389
389
|
body = JSON.stringify(take(input, {
|
|
390
390
|
jobId: [],
|
|
391
391
|
sourceUrl: [],
|
|
392
|
+
sourceUrlType: [],
|
|
392
393
|
}));
|
|
393
394
|
b.m("POST").h(headers).b(body);
|
|
394
395
|
return b.build();
|
|
@@ -1314,6 +1315,8 @@ const de_JobSummary = (output, context) => {
|
|
|
1314
1315
|
jobArn: __expectString,
|
|
1315
1316
|
jobId: __expectString,
|
|
1316
1317
|
jobType: __expectString,
|
|
1318
|
+
sourceUrl: __expectString,
|
|
1319
|
+
sourceUrlType: __expectString,
|
|
1317
1320
|
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1318
1321
|
status: __expectString,
|
|
1319
1322
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import {
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
@@ -21,7 +21,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
21
21
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
22
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
23
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
-
|
|
24
|
+
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
25
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
26
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
27
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
-
import { NODE_APP_ID_CONFIG_OPTIONS,
|
|
4
|
+
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { Hash } from "@smithy/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
@@ -27,7 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
27
27
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
28
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
29
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
|
-
|
|
30
|
+
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
32
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
33
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -28,7 +28,7 @@ declare const CreateDeploymentCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a deployment for a manually deployed Amplify app. Manually deployed apps are
|
|
31
|
-
* not connected to a repository. </p>
|
|
31
|
+
* not connected to a Git repository. </p>
|
|
32
32
|
* <p>The maximum duration between the <code>CreateDeployment</code> call and the
|
|
33
33
|
* <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8
|
|
34
34
|
* hours, the <code>StartDeployment</code> call and the associated <code>Job</code> will
|
|
@@ -52,6 +52,8 @@ declare const DeleteJobCommand_base: {
|
|
|
52
52
|
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
53
53
|
* // endTime: new Date("TIMESTAMP"),
|
|
54
54
|
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
|
|
55
|
+
* // sourceUrl: "STRING_VALUE",
|
|
56
|
+
* // sourceUrlType: "ZIP" || "BUCKET_PREFIX",
|
|
55
57
|
* // },
|
|
56
58
|
* // };
|
|
57
59
|
*
|
|
@@ -53,6 +53,8 @@ declare const GetJobCommand_base: {
|
|
|
53
53
|
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
54
54
|
* // endTime: new Date("TIMESTAMP"),
|
|
55
55
|
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
|
|
56
|
+
* // sourceUrl: "STRING_VALUE",
|
|
57
|
+
* // sourceUrlType: "ZIP" || "BUCKET_PREFIX",
|
|
56
58
|
* // },
|
|
57
59
|
* // steps: [ // Steps // required
|
|
58
60
|
* // { // Step
|
|
@@ -54,6 +54,8 @@ declare const ListJobsCommand_base: {
|
|
|
54
54
|
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
55
55
|
* // endTime: new Date("TIMESTAMP"),
|
|
56
56
|
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
|
|
57
|
+
* // sourceUrl: "STRING_VALUE",
|
|
58
|
+
* // sourceUrlType: "ZIP" || "BUCKET_PREFIX",
|
|
57
59
|
* // },
|
|
58
60
|
* // ],
|
|
59
61
|
* // nextToken: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ declare const StartDeploymentCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Starts a deployment for a manually deployed app. Manually deployed apps are not
|
|
31
|
-
* connected to a repository. </p>
|
|
31
|
+
* connected to a Git repository. </p>
|
|
32
32
|
* <p>The maximum duration between the <code>CreateDeployment</code> call and the
|
|
33
33
|
* <code>StartDeployment</code> call cannot exceed 8 hours. If the duration exceeds 8
|
|
34
34
|
* hours, the <code>StartDeployment</code> call and the associated <code>Job</code> will
|
|
@@ -44,6 +44,7 @@ declare const StartDeploymentCommand_base: {
|
|
|
44
44
|
* branchName: "STRING_VALUE", // required
|
|
45
45
|
* jobId: "STRING_VALUE",
|
|
46
46
|
* sourceUrl: "STRING_VALUE",
|
|
47
|
+
* sourceUrlType: "ZIP" || "BUCKET_PREFIX",
|
|
47
48
|
* };
|
|
48
49
|
* const command = new StartDeploymentCommand(input);
|
|
49
50
|
* const response = await client.send(command);
|
|
@@ -58,6 +59,8 @@ declare const StartDeploymentCommand_base: {
|
|
|
58
59
|
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
59
60
|
* // endTime: new Date("TIMESTAMP"),
|
|
60
61
|
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
|
|
62
|
+
* // sourceUrl: "STRING_VALUE",
|
|
63
|
+
* // sourceUrlType: "ZIP" || "BUCKET_PREFIX",
|
|
61
64
|
* // },
|
|
62
65
|
* // };
|
|
63
66
|
*
|
|
@@ -57,6 +57,8 @@ declare const StartJobCommand_base: {
|
|
|
57
57
|
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
58
58
|
* // endTime: new Date("TIMESTAMP"),
|
|
59
59
|
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
|
|
60
|
+
* // sourceUrl: "STRING_VALUE",
|
|
61
|
+
* // sourceUrlType: "ZIP" || "BUCKET_PREFIX",
|
|
60
62
|
* // },
|
|
61
63
|
* // };
|
|
62
64
|
*
|
|
@@ -52,6 +52,8 @@ declare const StopJobCommand_base: {
|
|
|
52
52
|
* // status: "PENDING" || "PROVISIONING" || "RUNNING" || "FAILED" || "SUCCEED" || "CANCELLING" || "CANCELLED", // required
|
|
53
53
|
* // endTime: new Date("TIMESTAMP"),
|
|
54
54
|
* // jobType: "RELEASE" || "RETRY" || "MANUAL" || "WEB_HOOK", // required
|
|
55
|
+
* // sourceUrl: "STRING_VALUE",
|
|
56
|
+
* // sourceUrlType: "ZIP" || "BUCKET_PREFIX",
|
|
55
57
|
* // },
|
|
56
58
|
* // };
|
|
57
59
|
*
|
|
@@ -1541,6 +1541,18 @@ export declare const JobType: {
|
|
|
1541
1541
|
* @public
|
|
1542
1542
|
*/
|
|
1543
1543
|
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
1544
|
+
/**
|
|
1545
|
+
* @public
|
|
1546
|
+
* @enum
|
|
1547
|
+
*/
|
|
1548
|
+
export declare const SourceUrlType: {
|
|
1549
|
+
readonly BUCKET_PREFIX: "BUCKET_PREFIX";
|
|
1550
|
+
readonly ZIP: "ZIP";
|
|
1551
|
+
};
|
|
1552
|
+
/**
|
|
1553
|
+
* @public
|
|
1554
|
+
*/
|
|
1555
|
+
export type SourceUrlType = (typeof SourceUrlType)[keyof typeof SourceUrlType];
|
|
1544
1556
|
/**
|
|
1545
1557
|
* @public
|
|
1546
1558
|
* @enum
|
|
@@ -1605,13 +1617,28 @@ export interface JobSummary {
|
|
|
1605
1617
|
endTime?: Date;
|
|
1606
1618
|
/**
|
|
1607
1619
|
* <p> The type for the job. If the value is <code>RELEASE</code>, the job was manually
|
|
1608
|
-
* released from its source by using the <code>StartJob</code> API.
|
|
1609
|
-
*
|
|
1620
|
+
* released from its source by using the <code>StartJob</code> API. This value is available only for apps
|
|
1621
|
+
* that are connected to a repository.</p>
|
|
1622
|
+
* <p>If the value is <code>RETRY</code>, the job was manually retried using the <code>StartJob</code>
|
|
1610
1623
|
* API. If the value is <code>WEB_HOOK</code>, the job was automatically triggered by
|
|
1611
|
-
* webhooks. </p>
|
|
1624
|
+
* webhooks. If the value is <code>MANUAL</code>, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.</p>
|
|
1612
1625
|
* @public
|
|
1613
1626
|
*/
|
|
1614
1627
|
jobType: JobType | undefined;
|
|
1628
|
+
/**
|
|
1629
|
+
* <p>The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and
|
|
1630
|
+
* downloads a single .zip file, or an Amazon S3 bucket and prefix.</p>
|
|
1631
|
+
* @public
|
|
1632
|
+
*/
|
|
1633
|
+
sourceUrl?: string;
|
|
1634
|
+
/**
|
|
1635
|
+
* <p>The type of source specified by the <code>sourceURL</code>.
|
|
1636
|
+
* If the value is <code>ZIP</code>, the source is a .zip file.
|
|
1637
|
+
* If the value is <code>BUCKET_PREFIX</code>, the source is an Amazon S3 bucket and
|
|
1638
|
+
* prefix. If no value is specified, the default is <code>ZIP</code>.</p>
|
|
1639
|
+
* @public
|
|
1640
|
+
*/
|
|
1641
|
+
sourceUrlType?: SourceUrlType;
|
|
1615
1642
|
}
|
|
1616
1643
|
/**
|
|
1617
1644
|
* <p> The result structure for the delete job request. </p>
|
|
@@ -2303,22 +2330,29 @@ export interface StartDeploymentRequest {
|
|
|
2303
2330
|
*/
|
|
2304
2331
|
appId: string | undefined;
|
|
2305
2332
|
/**
|
|
2306
|
-
* <p>The name of the branch to use for the job. </p>
|
|
2333
|
+
* <p>The name of the branch to use for the deployment job. </p>
|
|
2307
2334
|
* @public
|
|
2308
2335
|
*/
|
|
2309
2336
|
branchName: string | undefined;
|
|
2310
2337
|
/**
|
|
2311
|
-
* <p>The job ID for this deployment
|
|
2338
|
+
* <p>The job ID for this deployment that is generated by the <code>CreateDeployment</code> request. </p>
|
|
2312
2339
|
* @public
|
|
2313
2340
|
*/
|
|
2314
2341
|
jobId?: string;
|
|
2315
2342
|
/**
|
|
2316
|
-
* <p>The source URL for
|
|
2317
|
-
*
|
|
2318
|
-
* downloads a single .zip file. </p>
|
|
2343
|
+
* <p>The source URL for the deployment that is used when calling <code>StartDeployment</code> without <code>CreateDeployment</code>. The source URL can be either an HTTP GET URL that is publicly accessible and
|
|
2344
|
+
* downloads a single .zip file, or an Amazon S3 bucket and prefix.</p>
|
|
2319
2345
|
* @public
|
|
2320
2346
|
*/
|
|
2321
2347
|
sourceUrl?: string;
|
|
2348
|
+
/**
|
|
2349
|
+
* <p>The type of source specified by the <code>sourceURL</code>.
|
|
2350
|
+
* If the value is <code>ZIP</code>, the source is a .zip file.
|
|
2351
|
+
* If the value is <code>BUCKET_PREFIX</code>, the source is an Amazon S3 bucket and
|
|
2352
|
+
* prefix. If no value is specified, the default is <code>ZIP</code>.</p>
|
|
2353
|
+
* @public
|
|
2354
|
+
*/
|
|
2355
|
+
sourceUrlType?: SourceUrlType;
|
|
2322
2356
|
}
|
|
2323
2357
|
/**
|
|
2324
2358
|
* <p>The result structure for the start a deployment request. </p>
|
|
@@ -361,6 +361,11 @@ export declare const JobType: {
|
|
|
361
361
|
readonly WEB_HOOK: "WEB_HOOK";
|
|
362
362
|
};
|
|
363
363
|
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
364
|
+
export declare const SourceUrlType: {
|
|
365
|
+
readonly BUCKET_PREFIX: "BUCKET_PREFIX";
|
|
366
|
+
readonly ZIP: "ZIP";
|
|
367
|
+
};
|
|
368
|
+
export type SourceUrlType = (typeof SourceUrlType)[keyof typeof SourceUrlType];
|
|
364
369
|
export declare const JobStatus: {
|
|
365
370
|
readonly CANCELLED: "CANCELLED";
|
|
366
371
|
readonly CANCELLING: "CANCELLING";
|
|
@@ -381,6 +386,8 @@ export interface JobSummary {
|
|
|
381
386
|
status: JobStatus | undefined;
|
|
382
387
|
endTime?: Date;
|
|
383
388
|
jobType: JobType | undefined;
|
|
389
|
+
sourceUrl?: string;
|
|
390
|
+
sourceUrlType?: SourceUrlType;
|
|
384
391
|
}
|
|
385
392
|
export interface DeleteJobResult {
|
|
386
393
|
jobSummary: JobSummary | undefined;
|
|
@@ -554,6 +561,7 @@ export interface StartDeploymentRequest {
|
|
|
554
561
|
branchName: string | undefined;
|
|
555
562
|
jobId?: string;
|
|
556
563
|
sourceUrl?: string;
|
|
564
|
+
sourceUrlType?: SourceUrlType;
|
|
557
565
|
}
|
|
558
566
|
export interface StartDeploymentResult {
|
|
559
567
|
jobSummary: JobSummary | 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.672.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,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.670.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.670.0",
|
|
25
25
|
"@aws-sdk/core": "3.667.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.670.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.667.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.667.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.667.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.667.0",
|
|
32
32
|
"@aws-sdk/types": "3.667.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.667.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.670.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.669.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.9",
|
|
37
37
|
"@smithy/core": "^2.4.8",
|