@aws-sdk/client-amplify 3.489.0 → 3.495.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.
Files changed (55) hide show
  1. package/dist-cjs/Amplify.js +1 -85
  2. package/dist-cjs/AmplifyClient.js +1 -43
  3. package/dist-cjs/commands/CreateAppCommand.js +1 -29
  4. package/dist-cjs/commands/CreateBackendEnvironmentCommand.js +1 -28
  5. package/dist-cjs/commands/CreateBranchCommand.js +1 -29
  6. package/dist-cjs/commands/CreateDeploymentCommand.js +1 -28
  7. package/dist-cjs/commands/CreateDomainAssociationCommand.js +1 -28
  8. package/dist-cjs/commands/CreateWebhookCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteAppCommand.js +1 -29
  10. package/dist-cjs/commands/DeleteBackendEnvironmentCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteBranchCommand.js +1 -29
  12. package/dist-cjs/commands/DeleteDomainAssociationCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteJobCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteWebhookCommand.js +1 -28
  15. package/dist-cjs/commands/GenerateAccessLogsCommand.js +1 -28
  16. package/dist-cjs/commands/GetAppCommand.js +1 -29
  17. package/dist-cjs/commands/GetArtifactUrlCommand.js +1 -28
  18. package/dist-cjs/commands/GetBackendEnvironmentCommand.js +1 -28
  19. package/dist-cjs/commands/GetBranchCommand.js +1 -29
  20. package/dist-cjs/commands/GetDomainAssociationCommand.js +1 -28
  21. package/dist-cjs/commands/GetJobCommand.js +1 -28
  22. package/dist-cjs/commands/GetWebhookCommand.js +1 -28
  23. package/dist-cjs/commands/ListAppsCommand.js +1 -29
  24. package/dist-cjs/commands/ListArtifactsCommand.js +1 -28
  25. package/dist-cjs/commands/ListBackendEnvironmentsCommand.js +1 -28
  26. package/dist-cjs/commands/ListBranchesCommand.js +1 -29
  27. package/dist-cjs/commands/ListDomainAssociationsCommand.js +1 -28
  28. package/dist-cjs/commands/ListJobsCommand.js +1 -28
  29. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  30. package/dist-cjs/commands/ListWebhooksCommand.js +1 -28
  31. package/dist-cjs/commands/StartDeploymentCommand.js +1 -28
  32. package/dist-cjs/commands/StartJobCommand.js +1 -28
  33. package/dist-cjs/commands/StopJobCommand.js +1 -28
  34. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  35. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  36. package/dist-cjs/commands/UpdateAppCommand.js +1 -29
  37. package/dist-cjs/commands/UpdateBranchCommand.js +1 -29
  38. package/dist-cjs/commands/UpdateDomainAssociationCommand.js +1 -28
  39. package/dist-cjs/commands/UpdateWebhookCommand.js +1 -28
  40. package/dist-cjs/commands/index.js +1 -40
  41. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  42. package/dist-cjs/extensionConfiguration.js +1 -2
  43. package/dist-cjs/index.js +3711 -11
  44. package/dist-cjs/models/AmplifyServiceException.js +1 -12
  45. package/dist-cjs/models/index.js +1 -4
  46. package/dist-cjs/models/models_0.js +1 -244
  47. package/dist-cjs/pagination/Interfaces.js +1 -2
  48. package/dist-cjs/pagination/ListAppsPaginator.js +1 -7
  49. package/dist-cjs/pagination/ListBranchesPaginator.js +1 -7
  50. package/dist-cjs/pagination/ListDomainAssociationsPaginator.js +1 -7
  51. package/dist-cjs/pagination/ListJobsPaginator.js +1 -7
  52. package/dist-cjs/pagination/index.js +1 -8
  53. package/dist-cjs/protocols/Aws_restJson1.js +1 -2548
  54. package/dist-cjs/runtimeExtensions.js +1 -22
  55. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AmplifyServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class AmplifyServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, AmplifyServiceException.prototype);
10
- }
11
- }
12
- exports.AmplifyServiceException = AmplifyServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,244 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateBranchResultFilterSensitiveLog = exports.UpdateBranchRequestFilterSensitiveLog = exports.UpdateAppResultFilterSensitiveLog = exports.UpdateAppRequestFilterSensitiveLog = exports.ListBranchesResultFilterSensitiveLog = exports.ListAppsResultFilterSensitiveLog = exports.GetBranchResultFilterSensitiveLog = exports.GetAppResultFilterSensitiveLog = exports.DeleteBranchResultFilterSensitiveLog = exports.DeleteAppResultFilterSensitiveLog = exports.CreateBranchResultFilterSensitiveLog = exports.BranchFilterSensitiveLog = exports.CreateBranchRequestFilterSensitiveLog = exports.CreateAppResultFilterSensitiveLog = exports.AppFilterSensitiveLog = exports.CreateAppRequestFilterSensitiveLog = exports.AutoBranchCreationConfigFilterSensitiveLog = exports.ResourceNotFoundException = exports.JobStatus = exports.JobType = exports.DomainStatus = exports.NotFoundException = exports.UnauthorizedException = exports.LimitExceededException = exports.InternalFailureException = exports.DependentServiceFailureException = exports.RepositoryCloneMethod = exports.Platform = exports.Stage = exports.BadRequestException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const AmplifyServiceException_1 = require("./AmplifyServiceException");
6
- class BadRequestException extends AmplifyServiceException_1.AmplifyServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "BadRequestException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "BadRequestException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, BadRequestException.prototype);
16
- }
17
- }
18
- exports.BadRequestException = BadRequestException;
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
- };
36
- class DependentServiceFailureException extends AmplifyServiceException_1.AmplifyServiceException {
37
- constructor(opts) {
38
- super({
39
- name: "DependentServiceFailureException",
40
- $fault: "server",
41
- ...opts,
42
- });
43
- this.name = "DependentServiceFailureException";
44
- this.$fault = "server";
45
- Object.setPrototypeOf(this, DependentServiceFailureException.prototype);
46
- }
47
- }
48
- exports.DependentServiceFailureException = DependentServiceFailureException;
49
- class InternalFailureException extends AmplifyServiceException_1.AmplifyServiceException {
50
- constructor(opts) {
51
- super({
52
- name: "InternalFailureException",
53
- $fault: "server",
54
- ...opts,
55
- });
56
- this.name = "InternalFailureException";
57
- this.$fault = "server";
58
- Object.setPrototypeOf(this, InternalFailureException.prototype);
59
- }
60
- }
61
- exports.InternalFailureException = InternalFailureException;
62
- class LimitExceededException extends AmplifyServiceException_1.AmplifyServiceException {
63
- constructor(opts) {
64
- super({
65
- name: "LimitExceededException",
66
- $fault: "client",
67
- ...opts,
68
- });
69
- this.name = "LimitExceededException";
70
- this.$fault = "client";
71
- Object.setPrototypeOf(this, LimitExceededException.prototype);
72
- }
73
- }
74
- exports.LimitExceededException = LimitExceededException;
75
- class UnauthorizedException extends AmplifyServiceException_1.AmplifyServiceException {
76
- constructor(opts) {
77
- super({
78
- name: "UnauthorizedException",
79
- $fault: "client",
80
- ...opts,
81
- });
82
- this.name = "UnauthorizedException";
83
- this.$fault = "client";
84
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
85
- }
86
- }
87
- exports.UnauthorizedException = UnauthorizedException;
88
- class NotFoundException extends AmplifyServiceException_1.AmplifyServiceException {
89
- constructor(opts) {
90
- super({
91
- name: "NotFoundException",
92
- $fault: "client",
93
- ...opts,
94
- });
95
- this.name = "NotFoundException";
96
- this.$fault = "client";
97
- Object.setPrototypeOf(this, NotFoundException.prototype);
98
- }
99
- }
100
- exports.NotFoundException = NotFoundException;
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
- };
126
- class ResourceNotFoundException extends AmplifyServiceException_1.AmplifyServiceException {
127
- constructor(opts) {
128
- super({
129
- name: "ResourceNotFoundException",
130
- $fault: "client",
131
- ...opts,
132
- });
133
- this.name = "ResourceNotFoundException";
134
- this.$fault = "client";
135
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
136
- this.code = opts.code;
137
- }
138
- }
139
- exports.ResourceNotFoundException = ResourceNotFoundException;
140
- const AutoBranchCreationConfigFilterSensitiveLog = (obj) => ({
141
- ...obj,
142
- ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
143
- ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
144
- });
145
- exports.AutoBranchCreationConfigFilterSensitiveLog = AutoBranchCreationConfigFilterSensitiveLog;
146
- const CreateAppRequestFilterSensitiveLog = (obj) => ({
147
- ...obj,
148
- ...(obj.oauthToken && { oauthToken: smithy_client_1.SENSITIVE_STRING }),
149
- ...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
150
- ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
151
- ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
152
- ...(obj.autoBranchCreationConfig && {
153
- autoBranchCreationConfig: (0, exports.AutoBranchCreationConfigFilterSensitiveLog)(obj.autoBranchCreationConfig),
154
- }),
155
- });
156
- exports.CreateAppRequestFilterSensitiveLog = CreateAppRequestFilterSensitiveLog;
157
- const AppFilterSensitiveLog = (obj) => ({
158
- ...obj,
159
- ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
160
- ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
161
- ...(obj.autoBranchCreationConfig && {
162
- autoBranchCreationConfig: (0, exports.AutoBranchCreationConfigFilterSensitiveLog)(obj.autoBranchCreationConfig),
163
- }),
164
- });
165
- exports.AppFilterSensitiveLog = AppFilterSensitiveLog;
166
- const CreateAppResultFilterSensitiveLog = (obj) => ({
167
- ...obj,
168
- ...(obj.app && { app: (0, exports.AppFilterSensitiveLog)(obj.app) }),
169
- });
170
- exports.CreateAppResultFilterSensitiveLog = CreateAppResultFilterSensitiveLog;
171
- const CreateBranchRequestFilterSensitiveLog = (obj) => ({
172
- ...obj,
173
- ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
174
- ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
175
- });
176
- exports.CreateBranchRequestFilterSensitiveLog = CreateBranchRequestFilterSensitiveLog;
177
- const BranchFilterSensitiveLog = (obj) => ({
178
- ...obj,
179
- ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
180
- ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
181
- });
182
- exports.BranchFilterSensitiveLog = BranchFilterSensitiveLog;
183
- const CreateBranchResultFilterSensitiveLog = (obj) => ({
184
- ...obj,
185
- ...(obj.branch && { branch: (0, exports.BranchFilterSensitiveLog)(obj.branch) }),
186
- });
187
- exports.CreateBranchResultFilterSensitiveLog = CreateBranchResultFilterSensitiveLog;
188
- const DeleteAppResultFilterSensitiveLog = (obj) => ({
189
- ...obj,
190
- ...(obj.app && { app: (0, exports.AppFilterSensitiveLog)(obj.app) }),
191
- });
192
- exports.DeleteAppResultFilterSensitiveLog = DeleteAppResultFilterSensitiveLog;
193
- const DeleteBranchResultFilterSensitiveLog = (obj) => ({
194
- ...obj,
195
- ...(obj.branch && { branch: (0, exports.BranchFilterSensitiveLog)(obj.branch) }),
196
- });
197
- exports.DeleteBranchResultFilterSensitiveLog = DeleteBranchResultFilterSensitiveLog;
198
- const GetAppResultFilterSensitiveLog = (obj) => ({
199
- ...obj,
200
- ...(obj.app && { app: (0, exports.AppFilterSensitiveLog)(obj.app) }),
201
- });
202
- exports.GetAppResultFilterSensitiveLog = GetAppResultFilterSensitiveLog;
203
- const GetBranchResultFilterSensitiveLog = (obj) => ({
204
- ...obj,
205
- ...(obj.branch && { branch: (0, exports.BranchFilterSensitiveLog)(obj.branch) }),
206
- });
207
- exports.GetBranchResultFilterSensitiveLog = GetBranchResultFilterSensitiveLog;
208
- const ListAppsResultFilterSensitiveLog = (obj) => ({
209
- ...obj,
210
- ...(obj.apps && { apps: obj.apps.map((item) => (0, exports.AppFilterSensitiveLog)(item)) }),
211
- });
212
- exports.ListAppsResultFilterSensitiveLog = ListAppsResultFilterSensitiveLog;
213
- const ListBranchesResultFilterSensitiveLog = (obj) => ({
214
- ...obj,
215
- ...(obj.branches && { branches: obj.branches.map((item) => (0, exports.BranchFilterSensitiveLog)(item)) }),
216
- });
217
- exports.ListBranchesResultFilterSensitiveLog = ListBranchesResultFilterSensitiveLog;
218
- const UpdateAppRequestFilterSensitiveLog = (obj) => ({
219
- ...obj,
220
- ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
221
- ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
222
- ...(obj.autoBranchCreationConfig && {
223
- autoBranchCreationConfig: (0, exports.AutoBranchCreationConfigFilterSensitiveLog)(obj.autoBranchCreationConfig),
224
- }),
225
- ...(obj.oauthToken && { oauthToken: smithy_client_1.SENSITIVE_STRING }),
226
- ...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
227
- });
228
- exports.UpdateAppRequestFilterSensitiveLog = UpdateAppRequestFilterSensitiveLog;
229
- const UpdateAppResultFilterSensitiveLog = (obj) => ({
230
- ...obj,
231
- ...(obj.app && { app: (0, exports.AppFilterSensitiveLog)(obj.app) }),
232
- });
233
- exports.UpdateAppResultFilterSensitiveLog = UpdateAppResultFilterSensitiveLog;
234
- const UpdateBranchRequestFilterSensitiveLog = (obj) => ({
235
- ...obj,
236
- ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
237
- ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
238
- });
239
- exports.UpdateBranchRequestFilterSensitiveLog = UpdateBranchRequestFilterSensitiveLog;
240
- const UpdateBranchResultFilterSensitiveLog = (obj) => ({
241
- ...obj,
242
- ...(obj.branch && { branch: (0, exports.BranchFilterSensitiveLog)(obj.branch) }),
243
- });
244
- exports.UpdateBranchResultFilterSensitiveLog = UpdateBranchResultFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListApps = void 0;
4
- const core_1 = require("@smithy/core");
5
- const AmplifyClient_1 = require("../AmplifyClient");
6
- const ListAppsCommand_1 = require("../commands/ListAppsCommand");
7
- exports.paginateListApps = (0, core_1.createPaginator)(AmplifyClient_1.AmplifyClient, ListAppsCommand_1.ListAppsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListBranches = void 0;
4
- const core_1 = require("@smithy/core");
5
- const AmplifyClient_1 = require("../AmplifyClient");
6
- const ListBranchesCommand_1 = require("../commands/ListBranchesCommand");
7
- exports.paginateListBranches = (0, core_1.createPaginator)(AmplifyClient_1.AmplifyClient, ListBranchesCommand_1.ListBranchesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListDomainAssociations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const AmplifyClient_1 = require("../AmplifyClient");
6
- const ListDomainAssociationsCommand_1 = require("../commands/ListDomainAssociationsCommand");
7
- exports.paginateListDomainAssociations = (0, core_1.createPaginator)(AmplifyClient_1.AmplifyClient, ListDomainAssociationsCommand_1.ListDomainAssociationsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListJobs = void 0;
4
- const core_1 = require("@smithy/core");
5
- const AmplifyClient_1 = require("../AmplifyClient");
6
- const ListJobsCommand_1 = require("../commands/ListJobsCommand");
7
- exports.paginateListJobs = (0, core_1.createPaginator)(AmplifyClient_1.AmplifyClient, ListJobsCommand_1.ListJobsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListAppsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListBranchesPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListDomainAssociationsPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListJobsPaginator"), exports);
1
+ module.exports = require("../index.js");