@aws-sdk/client-amplify 3.300.0 → 3.303.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/models/models_0.js +42 -48
- package/dist-es/models/models_0.js +42 -48
- package/dist-types/commands/CreateAppCommand.d.ts +7 -7
- package/dist-types/commands/CreateBackendEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateBranchCommand.d.ts +3 -3
- package/dist-types/commands/CreateDeploymentCommand.d.ts +2 -2
- package/dist-types/commands/CreateDomainAssociationCommand.d.ts +4 -4
- package/dist-types/commands/CreateWebhookCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackendEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBranchCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWebhookCommand.d.ts +1 -1
- package/dist-types/commands/GenerateAccessLogsCommand.d.ts +1 -1
- package/dist-types/commands/GetAppCommand.d.ts +1 -1
- package/dist-types/commands/GetArtifactUrlCommand.d.ts +1 -1
- package/dist-types/commands/GetBackendEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/GetBranchCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainAssociationCommand.d.ts +1 -1
- package/dist-types/commands/GetJobCommand.d.ts +1 -1
- package/dist-types/commands/GetWebhookCommand.d.ts +1 -1
- package/dist-types/commands/ListAppsCommand.d.ts +1 -1
- package/dist-types/commands/ListArtifactsCommand.d.ts +1 -1
- package/dist-types/commands/ListBackendEnvironmentsCommand.d.ts +1 -1
- package/dist-types/commands/ListBranchesCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListWebhooksCommand.d.ts +1 -1
- package/dist-types/commands/StartDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/StartJobCommand.d.ts +1 -1
- package/dist-types/commands/StopJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAppCommand.d.ts +6 -6
- package/dist-types/commands/UpdateBranchCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +4 -4
- package/dist-types/commands/UpdateWebhookCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +72 -42
- package/dist-types/ts3.4/models/models_0.d.ts +49 -42
- package/package.json +34 -34
|
@@ -16,26 +16,23 @@ class BadRequestException extends AmplifyServiceException_1.AmplifyServiceExcept
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
exports.BadRequestException = BadRequestException;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
RepositoryCloneMethod["SSH"] = "SSH";
|
|
37
|
-
RepositoryCloneMethod["TOKEN"] = "TOKEN";
|
|
38
|
-
})(RepositoryCloneMethod = exports.RepositoryCloneMethod || (exports.RepositoryCloneMethod = {}));
|
|
19
|
+
exports.Stage = {
|
|
20
|
+
BETA: "BETA",
|
|
21
|
+
DEVELOPMENT: "DEVELOPMENT",
|
|
22
|
+
EXPERIMENTAL: "EXPERIMENTAL",
|
|
23
|
+
PRODUCTION: "PRODUCTION",
|
|
24
|
+
PULL_REQUEST: "PULL_REQUEST",
|
|
25
|
+
};
|
|
26
|
+
exports.Platform = {
|
|
27
|
+
WEB: "WEB",
|
|
28
|
+
WEB_COMPUTE: "WEB_COMPUTE",
|
|
29
|
+
WEB_DYNAMIC: "WEB_DYNAMIC",
|
|
30
|
+
};
|
|
31
|
+
exports.RepositoryCloneMethod = {
|
|
32
|
+
SIGV4: "SIGV4",
|
|
33
|
+
SSH: "SSH",
|
|
34
|
+
TOKEN: "TOKEN",
|
|
35
|
+
};
|
|
39
36
|
class DependentServiceFailureException extends AmplifyServiceException_1.AmplifyServiceException {
|
|
40
37
|
constructor(opts) {
|
|
41
38
|
super({
|
|
@@ -101,34 +98,31 @@ class NotFoundException extends AmplifyServiceException_1.AmplifyServiceExceptio
|
|
|
101
98
|
}
|
|
102
99
|
}
|
|
103
100
|
exports.NotFoundException = NotFoundException;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
JobStatus["RUNNING"] = "RUNNING";
|
|
130
|
-
JobStatus["SUCCEED"] = "SUCCEED";
|
|
131
|
-
})(JobStatus = exports.JobStatus || (exports.JobStatus = {}));
|
|
101
|
+
exports.DomainStatus = {
|
|
102
|
+
AVAILABLE: "AVAILABLE",
|
|
103
|
+
CREATING: "CREATING",
|
|
104
|
+
FAILED: "FAILED",
|
|
105
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
106
|
+
PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT",
|
|
107
|
+
PENDING_VERIFICATION: "PENDING_VERIFICATION",
|
|
108
|
+
REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE",
|
|
109
|
+
UPDATING: "UPDATING",
|
|
110
|
+
};
|
|
111
|
+
exports.JobType = {
|
|
112
|
+
MANUAL: "MANUAL",
|
|
113
|
+
RELEASE: "RELEASE",
|
|
114
|
+
RETRY: "RETRY",
|
|
115
|
+
WEB_HOOK: "WEB_HOOK",
|
|
116
|
+
};
|
|
117
|
+
exports.JobStatus = {
|
|
118
|
+
CANCELLED: "CANCELLED",
|
|
119
|
+
CANCELLING: "CANCELLING",
|
|
120
|
+
FAILED: "FAILED",
|
|
121
|
+
PENDING: "PENDING",
|
|
122
|
+
PROVISIONING: "PROVISIONING",
|
|
123
|
+
RUNNING: "RUNNING",
|
|
124
|
+
SUCCEED: "SUCCEED",
|
|
125
|
+
};
|
|
132
126
|
class ResourceNotFoundException extends AmplifyServiceException_1.AmplifyServiceException {
|
|
133
127
|
constructor(opts) {
|
|
134
128
|
super({
|
|
@@ -12,26 +12,23 @@ export class BadRequestException extends __BaseException {
|
|
|
12
12
|
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
RepositoryCloneMethod["SSH"] = "SSH";
|
|
33
|
-
RepositoryCloneMethod["TOKEN"] = "TOKEN";
|
|
34
|
-
})(RepositoryCloneMethod || (RepositoryCloneMethod = {}));
|
|
15
|
+
export const Stage = {
|
|
16
|
+
BETA: "BETA",
|
|
17
|
+
DEVELOPMENT: "DEVELOPMENT",
|
|
18
|
+
EXPERIMENTAL: "EXPERIMENTAL",
|
|
19
|
+
PRODUCTION: "PRODUCTION",
|
|
20
|
+
PULL_REQUEST: "PULL_REQUEST",
|
|
21
|
+
};
|
|
22
|
+
export const Platform = {
|
|
23
|
+
WEB: "WEB",
|
|
24
|
+
WEB_COMPUTE: "WEB_COMPUTE",
|
|
25
|
+
WEB_DYNAMIC: "WEB_DYNAMIC",
|
|
26
|
+
};
|
|
27
|
+
export const RepositoryCloneMethod = {
|
|
28
|
+
SIGV4: "SIGV4",
|
|
29
|
+
SSH: "SSH",
|
|
30
|
+
TOKEN: "TOKEN",
|
|
31
|
+
};
|
|
35
32
|
export class DependentServiceFailureException extends __BaseException {
|
|
36
33
|
constructor(opts) {
|
|
37
34
|
super({
|
|
@@ -92,34 +89,31 @@ export class NotFoundException extends __BaseException {
|
|
|
92
89
|
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
93
90
|
}
|
|
94
91
|
}
|
|
95
|
-
export
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
JobStatus["RUNNING"] = "RUNNING";
|
|
121
|
-
JobStatus["SUCCEED"] = "SUCCEED";
|
|
122
|
-
})(JobStatus || (JobStatus = {}));
|
|
92
|
+
export const DomainStatus = {
|
|
93
|
+
AVAILABLE: "AVAILABLE",
|
|
94
|
+
CREATING: "CREATING",
|
|
95
|
+
FAILED: "FAILED",
|
|
96
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
97
|
+
PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT",
|
|
98
|
+
PENDING_VERIFICATION: "PENDING_VERIFICATION",
|
|
99
|
+
REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE",
|
|
100
|
+
UPDATING: "UPDATING",
|
|
101
|
+
};
|
|
102
|
+
export const JobType = {
|
|
103
|
+
MANUAL: "MANUAL",
|
|
104
|
+
RELEASE: "RELEASE",
|
|
105
|
+
RETRY: "RETRY",
|
|
106
|
+
WEB_HOOK: "WEB_HOOK",
|
|
107
|
+
};
|
|
108
|
+
export const JobStatus = {
|
|
109
|
+
CANCELLED: "CANCELLED",
|
|
110
|
+
CANCELLING: "CANCELLING",
|
|
111
|
+
FAILED: "FAILED",
|
|
112
|
+
PENDING: "PENDING",
|
|
113
|
+
PROVISIONING: "PROVISIONING",
|
|
114
|
+
RUNNING: "RUNNING",
|
|
115
|
+
SUCCEED: "SUCCEED",
|
|
116
|
+
};
|
|
123
117
|
export class ResourceNotFoundException extends __BaseException {
|
|
124
118
|
constructor(opts) {
|
|
125
119
|
super({
|
|
@@ -26,7 +26,7 @@ export interface CreateAppCommandOutput extends CreateAppResult, __MetadataBeare
|
|
|
26
26
|
* import { AmplifyClient, CreateAppCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, CreateAppCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateAppRequest
|
|
30
30
|
* name: "STRING_VALUE", // required
|
|
31
31
|
* description: "STRING_VALUE",
|
|
32
32
|
* repository: "STRING_VALUE",
|
|
@@ -34,31 +34,31 @@ export interface CreateAppCommandOutput extends CreateAppResult, __MetadataBeare
|
|
|
34
34
|
* iamServiceRoleArn: "STRING_VALUE",
|
|
35
35
|
* oauthToken: "STRING_VALUE",
|
|
36
36
|
* accessToken: "STRING_VALUE",
|
|
37
|
-
* environmentVariables: {
|
|
37
|
+
* environmentVariables: { // EnvironmentVariables
|
|
38
38
|
* "<keys>": "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
40
|
* enableBranchAutoBuild: true || false,
|
|
41
41
|
* enableBranchAutoDeletion: true || false,
|
|
42
42
|
* enableBasicAuth: true || false,
|
|
43
43
|
* basicAuthCredentials: "STRING_VALUE",
|
|
44
|
-
* customRules: [
|
|
45
|
-
* {
|
|
44
|
+
* customRules: [ // CustomRules
|
|
45
|
+
* { // CustomRule
|
|
46
46
|
* source: "STRING_VALUE", // required
|
|
47
47
|
* target: "STRING_VALUE", // required
|
|
48
48
|
* status: "STRING_VALUE",
|
|
49
49
|
* condition: "STRING_VALUE",
|
|
50
50
|
* },
|
|
51
51
|
* ],
|
|
52
|
-
* tags: {
|
|
52
|
+
* tags: { // TagMap
|
|
53
53
|
* "<keys>": "STRING_VALUE",
|
|
54
54
|
* },
|
|
55
55
|
* buildSpec: "STRING_VALUE",
|
|
56
56
|
* customHeaders: "STRING_VALUE",
|
|
57
57
|
* enableAutoBranchCreation: true || false,
|
|
58
|
-
* autoBranchCreationPatterns: [
|
|
58
|
+
* autoBranchCreationPatterns: [ // AutoBranchCreationPatterns
|
|
59
59
|
* "STRING_VALUE",
|
|
60
60
|
* ],
|
|
61
|
-
* autoBranchCreationConfig: {
|
|
61
|
+
* autoBranchCreationConfig: { // AutoBranchCreationConfig
|
|
62
62
|
* stage: "PRODUCTION" || "BETA" || "DEVELOPMENT" || "EXPERIMENTAL" || "PULL_REQUEST",
|
|
63
63
|
* framework: "STRING_VALUE",
|
|
64
64
|
* enableAutoBuild: true || false,
|
|
@@ -26,7 +26,7 @@ export interface CreateBackendEnvironmentCommandOutput extends CreateBackendEnvi
|
|
|
26
26
|
* import { AmplifyClient, CreateBackendEnvironmentCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, CreateBackendEnvironmentCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateBackendEnvironmentRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* environmentName: "STRING_VALUE", // required
|
|
32
32
|
* stackName: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface CreateBranchCommandOutput extends CreateBranchResult, __Metadat
|
|
|
26
26
|
* import { AmplifyClient, CreateBranchCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, CreateBranchCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateBranchRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* description: "STRING_VALUE",
|
|
@@ -34,13 +34,13 @@ export interface CreateBranchCommandOutput extends CreateBranchResult, __Metadat
|
|
|
34
34
|
* framework: "STRING_VALUE",
|
|
35
35
|
* enableNotification: true || false,
|
|
36
36
|
* enableAutoBuild: true || false,
|
|
37
|
-
* environmentVariables: {
|
|
37
|
+
* environmentVariables: { // EnvironmentVariables
|
|
38
38
|
* "<keys>": "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
40
|
* basicAuthCredentials: "STRING_VALUE",
|
|
41
41
|
* enableBasicAuth: true || false,
|
|
42
42
|
* enablePerformanceMode: true || false,
|
|
43
|
-
* tags: {
|
|
43
|
+
* tags: { // TagMap
|
|
44
44
|
* "<keys>": "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
46
|
* buildSpec: "STRING_VALUE",
|
|
@@ -27,10 +27,10 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentResult, _
|
|
|
27
27
|
* import { AmplifyClient, CreateDeploymentCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
28
28
|
* // const { AmplifyClient, CreateDeploymentCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
29
29
|
* const client = new AmplifyClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateDeploymentRequest
|
|
31
31
|
* appId: "STRING_VALUE", // required
|
|
32
32
|
* branchName: "STRING_VALUE", // required
|
|
33
|
-
* fileMap: {
|
|
33
|
+
* fileMap: { // FileMap
|
|
34
34
|
* "<keys>": "STRING_VALUE",
|
|
35
35
|
* },
|
|
36
36
|
* };
|
|
@@ -27,17 +27,17 @@ export interface CreateDomainAssociationCommandOutput extends CreateDomainAssoci
|
|
|
27
27
|
* import { AmplifyClient, CreateDomainAssociationCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
28
28
|
* // const { AmplifyClient, CreateDomainAssociationCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
29
29
|
* const client = new AmplifyClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateDomainAssociationRequest
|
|
31
31
|
* appId: "STRING_VALUE", // required
|
|
32
32
|
* domainName: "STRING_VALUE", // required
|
|
33
33
|
* enableAutoSubDomain: true || false,
|
|
34
|
-
* subDomainSettings: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* subDomainSettings: [ // SubDomainSettings // required
|
|
35
|
+
* { // SubDomainSetting
|
|
36
36
|
* prefix: "STRING_VALUE", // required
|
|
37
37
|
* branchName: "STRING_VALUE", // required
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
40
|
-
* autoSubDomainCreationPatterns: [
|
|
40
|
+
* autoSubDomainCreationPatterns: [ // AutoSubDomainCreationPatterns
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* autoSubDomainIAMRole: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface CreateWebhookCommandOutput extends CreateWebhookResult, __Metad
|
|
|
26
26
|
* import { AmplifyClient, CreateWebhookCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, CreateWebhookCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateWebhookRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* description: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface DeleteAppCommandOutput extends DeleteAppResult, __MetadataBeare
|
|
|
26
26
|
* import { AmplifyClient, DeleteAppCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, DeleteAppCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteAppRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteAppCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteBackendEnvironmentCommandOutput extends DeleteBackendEnvi
|
|
|
26
26
|
* import { AmplifyClient, DeleteBackendEnvironmentCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, DeleteBackendEnvironmentCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteBackendEnvironmentRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* environmentName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteBranchCommandOutput extends DeleteBranchResult, __Metadat
|
|
|
26
26
|
* import { AmplifyClient, DeleteBranchCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, DeleteBranchCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteBranchRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteDomainAssociationCommandOutput extends DeleteDomainAssoci
|
|
|
26
26
|
* import { AmplifyClient, DeleteDomainAssociationCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, DeleteDomainAssociationCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteDomainAssociationRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* domainName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteJobCommandOutput extends DeleteJobResult, __MetadataBeare
|
|
|
26
26
|
* import { AmplifyClient, DeleteJobCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, DeleteJobCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteJobRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* jobId: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface DeleteWebhookCommandOutput extends DeleteWebhookResult, __Metad
|
|
|
26
26
|
* import { AmplifyClient, DeleteWebhookCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, DeleteWebhookCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteWebhookRequest
|
|
30
30
|
* webhookId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteWebhookCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface GenerateAccessLogsCommandOutput extends GenerateAccessLogsResul
|
|
|
27
27
|
* import { AmplifyClient, GenerateAccessLogsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
28
28
|
* // const { AmplifyClient, GenerateAccessLogsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
29
29
|
* const client = new AmplifyClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // GenerateAccessLogsRequest
|
|
31
31
|
* startTime: new Date("TIMESTAMP"),
|
|
32
32
|
* endTime: new Date("TIMESTAMP"),
|
|
33
33
|
* domainName: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface GetAppCommandOutput extends GetAppResult, __MetadataBearer {
|
|
|
26
26
|
* import { AmplifyClient, GetAppCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, GetAppCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetAppRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetAppCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetArtifactUrlCommandOutput extends GetArtifactUrlResult, __Met
|
|
|
26
26
|
* import { AmplifyClient, GetArtifactUrlCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, GetArtifactUrlCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetArtifactUrlRequest
|
|
30
30
|
* artifactId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetArtifactUrlCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface GetBackendEnvironmentCommandOutput extends GetBackendEnvironmen
|
|
|
26
26
|
* import { AmplifyClient, GetBackendEnvironmentCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, GetBackendEnvironmentCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetBackendEnvironmentRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* environmentName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface GetBranchCommandOutput extends GetBranchResult, __MetadataBeare
|
|
|
26
26
|
* import { AmplifyClient, GetBranchCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, GetBranchCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetBranchRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface GetDomainAssociationCommandOutput extends GetDomainAssociationR
|
|
|
26
26
|
* import { AmplifyClient, GetDomainAssociationCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, GetDomainAssociationCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetDomainAssociationRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* domainName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface GetJobCommandOutput extends GetJobResult, __MetadataBearer {
|
|
|
26
26
|
* import { AmplifyClient, GetJobCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, GetJobCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetJobRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* jobId: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface GetWebhookCommandOutput extends GetWebhookResult, __MetadataBea
|
|
|
26
26
|
* import { AmplifyClient, GetWebhookCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, GetWebhookCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetWebhookRequest
|
|
30
30
|
* webhookId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetWebhookCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface ListAppsCommandOutput extends ListAppsResult, __MetadataBearer
|
|
|
26
26
|
* import { AmplifyClient, ListAppsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, ListAppsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListAppsRequest
|
|
30
30
|
* nextToken: "STRING_VALUE",
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface ListArtifactsCommandOutput extends ListArtifactsResult, __Metad
|
|
|
26
26
|
* import { AmplifyClient, ListArtifactsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, ListArtifactsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListArtifactsRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* jobId: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface ListBackendEnvironmentsCommandOutput extends ListBackendEnviron
|
|
|
26
26
|
* import { AmplifyClient, ListBackendEnvironmentsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, ListBackendEnvironmentsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListBackendEnvironmentsRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* environmentName: "STRING_VALUE",
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface ListBranchesCommandOutput extends ListBranchesResult, __Metadat
|
|
|
26
26
|
* import { AmplifyClient, ListBranchesCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, ListBranchesCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListBranchesRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* maxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface ListDomainAssociationsCommandOutput extends ListDomainAssociati
|
|
|
26
26
|
* import { AmplifyClient, ListDomainAssociationsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, ListDomainAssociationsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListDomainAssociationsRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* maxResults: Number("int"),
|
|
@@ -26,7 +26,7 @@ export interface ListJobsCommandOutput extends ListJobsResult, __MetadataBearer
|
|
|
26
26
|
* import { AmplifyClient, ListJobsCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, ListJobsCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListJobsRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { AmplifyClient, ListTagsForResourceCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, ListTagsForResourceCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface ListWebhooksCommandOutput extends ListWebhooksResult, __Metadat
|
|
|
26
26
|
* import { AmplifyClient, ListWebhooksCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, ListWebhooksCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListWebhooksRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* maxResults: Number("int"),
|
|
@@ -27,7 +27,7 @@ export interface StartDeploymentCommandOutput extends StartDeploymentResult, __M
|
|
|
27
27
|
* import { AmplifyClient, StartDeploymentCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
28
28
|
* // const { AmplifyClient, StartDeploymentCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
29
29
|
* const client = new AmplifyClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // StartDeploymentRequest
|
|
31
31
|
* appId: "STRING_VALUE", // required
|
|
32
32
|
* branchName: "STRING_VALUE", // required
|
|
33
33
|
* jobId: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface StartJobCommandOutput extends StartJobResult, __MetadataBearer
|
|
|
26
26
|
* import { AmplifyClient, StartJobCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, StartJobCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StartJobRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* jobId: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface StopJobCommandOutput extends StopJobResult, __MetadataBearer {
|
|
|
26
26
|
* import { AmplifyClient, StopJobCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, StopJobCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StopJobRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* jobId: "STRING_VALUE", // required
|
|
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { AmplifyClient, TagResourceCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, TagResourceCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tags: { // required
|
|
31
|
+
* tags: { // TagMap // required
|
|
32
32
|
* "<keys>": "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* };
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { AmplifyClient, UntagResourceCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, UntagResourceCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,21 +26,21 @@ export interface UpdateAppCommandOutput extends UpdateAppResult, __MetadataBeare
|
|
|
26
26
|
* import { AmplifyClient, UpdateAppCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, UpdateAppCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateAppRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* name: "STRING_VALUE",
|
|
32
32
|
* description: "STRING_VALUE",
|
|
33
33
|
* platform: "WEB" || "WEB_DYNAMIC" || "WEB_COMPUTE",
|
|
34
34
|
* iamServiceRoleArn: "STRING_VALUE",
|
|
35
|
-
* environmentVariables: {
|
|
35
|
+
* environmentVariables: { // EnvironmentVariables
|
|
36
36
|
* "<keys>": "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
38
|
* enableBranchAutoBuild: true || false,
|
|
39
39
|
* enableBranchAutoDeletion: true || false,
|
|
40
40
|
* enableBasicAuth: true || false,
|
|
41
41
|
* basicAuthCredentials: "STRING_VALUE",
|
|
42
|
-
* customRules: [
|
|
43
|
-
* {
|
|
42
|
+
* customRules: [ // CustomRules
|
|
43
|
+
* { // CustomRule
|
|
44
44
|
* source: "STRING_VALUE", // required
|
|
45
45
|
* target: "STRING_VALUE", // required
|
|
46
46
|
* status: "STRING_VALUE",
|
|
@@ -50,10 +50,10 @@ export interface UpdateAppCommandOutput extends UpdateAppResult, __MetadataBeare
|
|
|
50
50
|
* buildSpec: "STRING_VALUE",
|
|
51
51
|
* customHeaders: "STRING_VALUE",
|
|
52
52
|
* enableAutoBranchCreation: true || false,
|
|
53
|
-
* autoBranchCreationPatterns: [
|
|
53
|
+
* autoBranchCreationPatterns: [ // AutoBranchCreationPatterns
|
|
54
54
|
* "STRING_VALUE",
|
|
55
55
|
* ],
|
|
56
|
-
* autoBranchCreationConfig: {
|
|
56
|
+
* autoBranchCreationConfig: { // AutoBranchCreationConfig
|
|
57
57
|
* stage: "PRODUCTION" || "BETA" || "DEVELOPMENT" || "EXPERIMENTAL" || "PULL_REQUEST",
|
|
58
58
|
* framework: "STRING_VALUE",
|
|
59
59
|
* enableAutoBuild: true || false,
|
|
@@ -26,7 +26,7 @@ export interface UpdateBranchCommandOutput extends UpdateBranchResult, __Metadat
|
|
|
26
26
|
* import { AmplifyClient, UpdateBranchCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, UpdateBranchCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateBranchRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE", // required
|
|
32
32
|
* description: "STRING_VALUE",
|
|
@@ -34,7 +34,7 @@ export interface UpdateBranchCommandOutput extends UpdateBranchResult, __Metadat
|
|
|
34
34
|
* stage: "PRODUCTION" || "BETA" || "DEVELOPMENT" || "EXPERIMENTAL" || "PULL_REQUEST",
|
|
35
35
|
* enableNotification: true || false,
|
|
36
36
|
* enableAutoBuild: true || false,
|
|
37
|
-
* environmentVariables: {
|
|
37
|
+
* environmentVariables: { // EnvironmentVariables
|
|
38
38
|
* "<keys>": "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
40
|
* basicAuthCredentials: "STRING_VALUE",
|
|
@@ -26,17 +26,17 @@ export interface UpdateDomainAssociationCommandOutput extends UpdateDomainAssoci
|
|
|
26
26
|
* import { AmplifyClient, UpdateDomainAssociationCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, UpdateDomainAssociationCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateDomainAssociationRequest
|
|
30
30
|
* appId: "STRING_VALUE", // required
|
|
31
31
|
* domainName: "STRING_VALUE", // required
|
|
32
32
|
* enableAutoSubDomain: true || false,
|
|
33
|
-
* subDomainSettings: [
|
|
34
|
-
* {
|
|
33
|
+
* subDomainSettings: [ // SubDomainSettings
|
|
34
|
+
* { // SubDomainSetting
|
|
35
35
|
* prefix: "STRING_VALUE", // required
|
|
36
36
|
* branchName: "STRING_VALUE", // required
|
|
37
37
|
* },
|
|
38
38
|
* ],
|
|
39
|
-
* autoSubDomainCreationPatterns: [
|
|
39
|
+
* autoSubDomainCreationPatterns: [ // AutoSubDomainCreationPatterns
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* autoSubDomainIAMRole: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookResult, __Metad
|
|
|
26
26
|
* import { AmplifyClient, UpdateWebhookCommand } from "@aws-sdk/client-amplify"; // ES Modules import
|
|
27
27
|
* // const { AmplifyClient, UpdateWebhookCommand } = require("@aws-sdk/client-amplify"); // CommonJS import
|
|
28
28
|
* const client = new AmplifyClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateWebhookRequest
|
|
30
30
|
* webhookId: "STRING_VALUE", // required
|
|
31
31
|
* branchName: "STRING_VALUE",
|
|
32
32
|
* description: "STRING_VALUE",
|
|
@@ -14,14 +14,19 @@ export declare class BadRequestException extends __BaseException {
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* @public
|
|
17
|
+
* @enum
|
|
17
18
|
*/
|
|
18
|
-
export declare
|
|
19
|
-
BETA
|
|
20
|
-
DEVELOPMENT
|
|
21
|
-
EXPERIMENTAL
|
|
22
|
-
PRODUCTION
|
|
23
|
-
PULL_REQUEST
|
|
24
|
-
}
|
|
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];
|
|
25
30
|
/**
|
|
26
31
|
* @public
|
|
27
32
|
* <p> Describes the automated branch creation configuration. </p>
|
|
@@ -121,12 +126,17 @@ export interface CustomRule {
|
|
|
121
126
|
}
|
|
122
127
|
/**
|
|
123
128
|
* @public
|
|
129
|
+
* @enum
|
|
124
130
|
*/
|
|
125
|
-
export declare
|
|
126
|
-
WEB
|
|
127
|
-
WEB_COMPUTE
|
|
128
|
-
WEB_DYNAMIC
|
|
129
|
-
}
|
|
131
|
+
export declare const Platform: {
|
|
132
|
+
readonly WEB: "WEB";
|
|
133
|
+
readonly WEB_COMPUTE: "WEB_COMPUTE";
|
|
134
|
+
readonly WEB_DYNAMIC: "WEB_DYNAMIC";
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
130
140
|
/**
|
|
131
141
|
* @public
|
|
132
142
|
* <p> The request structure used to create apps in Amplify. </p>
|
|
@@ -261,12 +271,17 @@ export interface ProductionBranch {
|
|
|
261
271
|
}
|
|
262
272
|
/**
|
|
263
273
|
* @public
|
|
274
|
+
* @enum
|
|
264
275
|
*/
|
|
265
|
-
export declare
|
|
266
|
-
SIGV4
|
|
267
|
-
SSH
|
|
268
|
-
TOKEN
|
|
269
|
-
}
|
|
276
|
+
export declare const RepositoryCloneMethod: {
|
|
277
|
+
readonly SIGV4: "SIGV4";
|
|
278
|
+
readonly SSH: "SSH";
|
|
279
|
+
readonly TOKEN: "TOKEN";
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
*/
|
|
284
|
+
export type RepositoryCloneMethod = (typeof RepositoryCloneMethod)[keyof typeof RepositoryCloneMethod];
|
|
270
285
|
/**
|
|
271
286
|
* @public
|
|
272
287
|
* <p> Represents the different branches of a repository for building, deploying, and
|
|
@@ -823,17 +838,22 @@ export interface CreateDomainAssociationRequest {
|
|
|
823
838
|
}
|
|
824
839
|
/**
|
|
825
840
|
* @public
|
|
841
|
+
* @enum
|
|
826
842
|
*/
|
|
827
|
-
export declare
|
|
828
|
-
AVAILABLE
|
|
829
|
-
CREATING
|
|
830
|
-
FAILED
|
|
831
|
-
IN_PROGRESS
|
|
832
|
-
PENDING_DEPLOYMENT
|
|
833
|
-
PENDING_VERIFICATION
|
|
834
|
-
REQUESTING_CERTIFICATE
|
|
835
|
-
UPDATING
|
|
836
|
-
}
|
|
843
|
+
export declare const DomainStatus: {
|
|
844
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
845
|
+
readonly CREATING: "CREATING";
|
|
846
|
+
readonly FAILED: "FAILED";
|
|
847
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
848
|
+
readonly PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT";
|
|
849
|
+
readonly PENDING_VERIFICATION: "PENDING_VERIFICATION";
|
|
850
|
+
readonly REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE";
|
|
851
|
+
readonly UPDATING: "UPDATING";
|
|
852
|
+
};
|
|
853
|
+
/**
|
|
854
|
+
* @public
|
|
855
|
+
*/
|
|
856
|
+
export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
837
857
|
/**
|
|
838
858
|
* @public
|
|
839
859
|
* <p> The subdomain for the domain association. </p>
|
|
@@ -1082,25 +1102,35 @@ export interface DeleteJobRequest {
|
|
|
1082
1102
|
}
|
|
1083
1103
|
/**
|
|
1084
1104
|
* @public
|
|
1105
|
+
* @enum
|
|
1085
1106
|
*/
|
|
1086
|
-
export declare
|
|
1087
|
-
MANUAL
|
|
1088
|
-
RELEASE
|
|
1089
|
-
RETRY
|
|
1090
|
-
WEB_HOOK
|
|
1091
|
-
}
|
|
1107
|
+
export declare const JobType: {
|
|
1108
|
+
readonly MANUAL: "MANUAL";
|
|
1109
|
+
readonly RELEASE: "RELEASE";
|
|
1110
|
+
readonly RETRY: "RETRY";
|
|
1111
|
+
readonly WEB_HOOK: "WEB_HOOK";
|
|
1112
|
+
};
|
|
1092
1113
|
/**
|
|
1093
1114
|
* @public
|
|
1094
1115
|
*/
|
|
1095
|
-
export
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1116
|
+
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
1117
|
+
/**
|
|
1118
|
+
* @public
|
|
1119
|
+
* @enum
|
|
1120
|
+
*/
|
|
1121
|
+
export declare const JobStatus: {
|
|
1122
|
+
readonly CANCELLED: "CANCELLED";
|
|
1123
|
+
readonly CANCELLING: "CANCELLING";
|
|
1124
|
+
readonly FAILED: "FAILED";
|
|
1125
|
+
readonly PENDING: "PENDING";
|
|
1126
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
1127
|
+
readonly RUNNING: "RUNNING";
|
|
1128
|
+
readonly SUCCEED: "SUCCEED";
|
|
1129
|
+
};
|
|
1130
|
+
/**
|
|
1131
|
+
* @public
|
|
1132
|
+
*/
|
|
1133
|
+
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
1104
1134
|
/**
|
|
1105
1135
|
* @public
|
|
1106
1136
|
* <p> Describes the summary for an execution job for an Amplify app. </p>
|
|
@@ -7,13 +7,14 @@ export declare class BadRequestException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
-
export declare
|
|
11
|
-
BETA
|
|
12
|
-
DEVELOPMENT
|
|
13
|
-
EXPERIMENTAL
|
|
14
|
-
PRODUCTION
|
|
15
|
-
PULL_REQUEST
|
|
16
|
-
}
|
|
10
|
+
export declare const Stage: {
|
|
11
|
+
readonly BETA: "BETA";
|
|
12
|
+
readonly DEVELOPMENT: "DEVELOPMENT";
|
|
13
|
+
readonly EXPERIMENTAL: "EXPERIMENTAL";
|
|
14
|
+
readonly PRODUCTION: "PRODUCTION";
|
|
15
|
+
readonly PULL_REQUEST: "PULL_REQUEST";
|
|
16
|
+
};
|
|
17
|
+
export type Stage = (typeof Stage)[keyof typeof Stage];
|
|
17
18
|
export interface AutoBranchCreationConfig {
|
|
18
19
|
stage?: Stage | string;
|
|
19
20
|
framework?: string;
|
|
@@ -32,11 +33,12 @@ export interface CustomRule {
|
|
|
32
33
|
status?: string;
|
|
33
34
|
condition?: string;
|
|
34
35
|
}
|
|
35
|
-
export declare
|
|
36
|
-
WEB
|
|
37
|
-
WEB_COMPUTE
|
|
38
|
-
WEB_DYNAMIC
|
|
39
|
-
}
|
|
36
|
+
export declare const Platform: {
|
|
37
|
+
readonly WEB: "WEB";
|
|
38
|
+
readonly WEB_COMPUTE: "WEB_COMPUTE";
|
|
39
|
+
readonly WEB_DYNAMIC: "WEB_DYNAMIC";
|
|
40
|
+
};
|
|
41
|
+
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
40
42
|
export interface CreateAppRequest {
|
|
41
43
|
name: string | undefined;
|
|
42
44
|
description?: string;
|
|
@@ -64,11 +66,13 @@ export interface ProductionBranch {
|
|
|
64
66
|
thumbnailUrl?: string;
|
|
65
67
|
branchName?: string;
|
|
66
68
|
}
|
|
67
|
-
export declare
|
|
68
|
-
SIGV4
|
|
69
|
-
SSH
|
|
70
|
-
TOKEN
|
|
71
|
-
}
|
|
69
|
+
export declare const RepositoryCloneMethod: {
|
|
70
|
+
readonly SIGV4: "SIGV4";
|
|
71
|
+
readonly SSH: "SSH";
|
|
72
|
+
readonly TOKEN: "TOKEN";
|
|
73
|
+
};
|
|
74
|
+
export type RepositoryCloneMethod =
|
|
75
|
+
(typeof RepositoryCloneMethod)[keyof typeof RepositoryCloneMethod];
|
|
72
76
|
export interface App {
|
|
73
77
|
appId: string | undefined;
|
|
74
78
|
appArn: string | undefined;
|
|
@@ -225,16 +229,17 @@ export interface CreateDomainAssociationRequest {
|
|
|
225
229
|
autoSubDomainCreationPatterns?: string[];
|
|
226
230
|
autoSubDomainIAMRole?: string;
|
|
227
231
|
}
|
|
228
|
-
export declare
|
|
229
|
-
AVAILABLE
|
|
230
|
-
CREATING
|
|
231
|
-
FAILED
|
|
232
|
-
IN_PROGRESS
|
|
233
|
-
PENDING_DEPLOYMENT
|
|
234
|
-
PENDING_VERIFICATION
|
|
235
|
-
REQUESTING_CERTIFICATE
|
|
236
|
-
UPDATING
|
|
237
|
-
}
|
|
232
|
+
export declare const DomainStatus: {
|
|
233
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
234
|
+
readonly CREATING: "CREATING";
|
|
235
|
+
readonly FAILED: "FAILED";
|
|
236
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
237
|
+
readonly PENDING_DEPLOYMENT: "PENDING_DEPLOYMENT";
|
|
238
|
+
readonly PENDING_VERIFICATION: "PENDING_VERIFICATION";
|
|
239
|
+
readonly REQUESTING_CERTIFICATE: "REQUESTING_CERTIFICATE";
|
|
240
|
+
readonly UPDATING: "UPDATING";
|
|
241
|
+
};
|
|
242
|
+
export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
|
|
238
243
|
export interface SubDomain {
|
|
239
244
|
subDomainSetting: SubDomainSetting | undefined;
|
|
240
245
|
verified: boolean | undefined;
|
|
@@ -303,21 +308,23 @@ export interface DeleteJobRequest {
|
|
|
303
308
|
branchName: string | undefined;
|
|
304
309
|
jobId: string | undefined;
|
|
305
310
|
}
|
|
306
|
-
export declare
|
|
307
|
-
MANUAL
|
|
308
|
-
RELEASE
|
|
309
|
-
RETRY
|
|
310
|
-
WEB_HOOK
|
|
311
|
-
}
|
|
312
|
-
export
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
311
|
+
export declare const JobType: {
|
|
312
|
+
readonly MANUAL: "MANUAL";
|
|
313
|
+
readonly RELEASE: "RELEASE";
|
|
314
|
+
readonly RETRY: "RETRY";
|
|
315
|
+
readonly WEB_HOOK: "WEB_HOOK";
|
|
316
|
+
};
|
|
317
|
+
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
318
|
+
export declare const JobStatus: {
|
|
319
|
+
readonly CANCELLED: "CANCELLED";
|
|
320
|
+
readonly CANCELLING: "CANCELLING";
|
|
321
|
+
readonly FAILED: "FAILED";
|
|
322
|
+
readonly PENDING: "PENDING";
|
|
323
|
+
readonly PROVISIONING: "PROVISIONING";
|
|
324
|
+
readonly RUNNING: "RUNNING";
|
|
325
|
+
readonly SUCCEED: "SUCCEED";
|
|
326
|
+
};
|
|
327
|
+
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
321
328
|
export interface JobSummary {
|
|
322
329
|
jobArn: string | undefined;
|
|
323
330
|
jobId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amplify",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amplify Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|