@aws-sdk/client-amplify 3.53.0 → 3.55.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 (59) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/AmplifyClient.js +13 -13
  3. package/dist-cjs/commands/CreateAppCommand.js +3 -3
  4. package/dist-cjs/commands/CreateBackendEnvironmentCommand.js +3 -3
  5. package/dist-cjs/commands/CreateBranchCommand.js +3 -3
  6. package/dist-cjs/commands/CreateDeploymentCommand.js +3 -3
  7. package/dist-cjs/commands/CreateDomainAssociationCommand.js +3 -3
  8. package/dist-cjs/commands/CreateWebhookCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteAppCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteBackendEnvironmentCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteBranchCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteDomainAssociationCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteJobCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteWebhookCommand.js +3 -3
  15. package/dist-cjs/commands/GenerateAccessLogsCommand.js +3 -3
  16. package/dist-cjs/commands/GetAppCommand.js +3 -3
  17. package/dist-cjs/commands/GetArtifactUrlCommand.js +3 -3
  18. package/dist-cjs/commands/GetBackendEnvironmentCommand.js +3 -3
  19. package/dist-cjs/commands/GetBranchCommand.js +3 -3
  20. package/dist-cjs/commands/GetDomainAssociationCommand.js +3 -3
  21. package/dist-cjs/commands/GetJobCommand.js +3 -3
  22. package/dist-cjs/commands/GetWebhookCommand.js +3 -3
  23. package/dist-cjs/commands/ListAppsCommand.js +3 -3
  24. package/dist-cjs/commands/ListArtifactsCommand.js +3 -3
  25. package/dist-cjs/commands/ListBackendEnvironmentsCommand.js +3 -3
  26. package/dist-cjs/commands/ListBranchesCommand.js +3 -3
  27. package/dist-cjs/commands/ListDomainAssociationsCommand.js +3 -3
  28. package/dist-cjs/commands/ListJobsCommand.js +3 -3
  29. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  30. package/dist-cjs/commands/ListWebhooksCommand.js +3 -3
  31. package/dist-cjs/commands/StartDeploymentCommand.js +3 -3
  32. package/dist-cjs/commands/StartJobCommand.js +3 -3
  33. package/dist-cjs/commands/StopJobCommand.js +3 -3
  34. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  35. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  36. package/dist-cjs/commands/UpdateAppCommand.js +3 -3
  37. package/dist-cjs/commands/UpdateBranchCommand.js +3 -3
  38. package/dist-cjs/commands/UpdateDomainAssociationCommand.js +3 -3
  39. package/dist-cjs/commands/UpdateWebhookCommand.js +3 -3
  40. package/dist-cjs/endpoints.js +1 -1
  41. package/dist-cjs/models/models_0.js +17 -2
  42. package/dist-cjs/protocols/Aws_restJson1.js +265 -264
  43. package/dist-cjs/runtimeConfig.browser.js +4 -4
  44. package/dist-cjs/runtimeConfig.js +9 -9
  45. package/dist-cjs/runtimeConfig.native.js +1 -1
  46. package/dist-es/Amplify.js +37 -37
  47. package/dist-es/models/models_0.js +14 -7
  48. package/dist-es/protocols/Aws_restJson1.js +38 -37
  49. package/dist-types/AmplifyClient.d.ts +2 -2
  50. package/dist-types/models/models_0.d.ts +51 -15
  51. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  52. package/dist-types/runtimeConfig.d.ts +1 -1
  53. package/dist-types/runtimeConfig.native.d.ts +3 -3
  54. package/dist-types/ts3.4/AmplifyClient.d.ts +2 -2
  55. package/dist-types/ts3.4/models/models_0.d.ts +10 -2
  56. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  57. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  58. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  59. package/package.json +34 -34
@@ -11,7 +11,7 @@ class ListDomainAssociationsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class ListDomainAssociationsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListDomainAssociationsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListDomainAssociationsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListDomainAssociationsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListDomainAssociationsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListDomainAssociationsCommand = ListDomainAssociationsCommand;
@@ -11,7 +11,7 @@ class ListJobsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class ListJobsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListJobsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListJobsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListJobsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListJobsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListJobsCommand = ListJobsCommand;
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -11,7 +11,7 @@ class ListWebhooksCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class ListWebhooksCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListWebhooksCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListWebhooksCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListWebhooksCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListWebhooksCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListWebhooksCommand = ListWebhooksCommand;
@@ -11,7 +11,7 @@ class StartDeploymentCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class StartDeploymentCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1StartDeploymentCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1StartDeploymentCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1StartDeploymentCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1StartDeploymentCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartDeploymentCommand = StartDeploymentCommand;
@@ -11,7 +11,7 @@ class StartJobCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class StartJobCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1StartJobCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1StartJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1StartJobCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1StartJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartJobCommand = StartJobCommand;
@@ -11,7 +11,7 @@ class StopJobCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class StopJobCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1StopJobCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1StopJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1StopJobCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1StopJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StopJobCommand = StopJobCommand;
@@ -11,7 +11,7 @@ class TagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class TagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1TagResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateAppCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class UpdateAppCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UpdateAppCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateAppCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateAppCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateAppCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateAppCommand = UpdateAppCommand;
@@ -11,7 +11,7 @@ class UpdateBranchCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class UpdateBranchCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UpdateBranchCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateBranchCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateBranchCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateBranchCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateBranchCommand = UpdateBranchCommand;
@@ -11,7 +11,7 @@ class UpdateDomainAssociationCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class UpdateDomainAssociationCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UpdateDomainAssociationCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateDomainAssociationCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateDomainAssociationCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateDomainAssociationCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateDomainAssociationCommand = UpdateDomainAssociationCommand;
@@ -11,7 +11,7 @@ class UpdateWebhookCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "AmplifyClient";
@@ -27,10 +27,10 @@ class UpdateWebhookCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UpdateWebhookCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateWebhookCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateWebhookCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateWebhookCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateWebhookCommand = UpdateWebhookCommand;
@@ -122,7 +122,7 @@ const partitionHash = {
122
122
  ],
123
123
  },
124
124
  };
125
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
125
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
126
126
  ...options,
127
127
  signingService: "amplify",
128
128
  regionHash,
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetAppResult = exports.GetAppRequest = exports.GenerateAccessLogsResult = exports.GenerateAccessLogsRequest = exports.DeleteWebhookResult = exports.DeleteWebhookRequest = exports.DeleteJobResult = exports.JobSummary = exports.JobStatus = exports.JobType = exports.DeleteJobRequest = exports.DeleteDomainAssociationResult = exports.DeleteDomainAssociationRequest = exports.DeleteBranchResult = exports.DeleteBranchRequest = exports.DeleteBackendEnvironmentResult = exports.DeleteBackendEnvironmentRequest = exports.DeleteAppResult = exports.DeleteAppRequest = exports.CreateWebhookResult = exports.Webhook = exports.CreateWebhookRequest = exports.CreateDomainAssociationResult = exports.DomainAssociation = exports.SubDomain = exports.DomainStatus = exports.CreateDomainAssociationRequest = exports.SubDomainSetting = exports.CreateDeploymentResult = exports.CreateDeploymentRequest = exports.CreateBranchResult = exports.Branch = exports.CreateBranchRequest = exports.NotFoundException = exports.CreateBackendEnvironmentResult = exports.BackendEnvironment = exports.CreateBackendEnvironmentRequest = exports.UnauthorizedException = exports.LimitExceededException = exports.InternalFailureException = exports.DependentServiceFailureException = exports.CreateAppResult = exports.App = exports.ProductionBranch = exports.CreateAppRequest = exports.Platform = exports.CustomRule = exports.AutoBranchCreationConfig = exports.Stage = exports.BadRequestException = void 0;
4
- exports.UpdateWebhookResult = exports.UpdateWebhookRequest = exports.UpdateDomainAssociationResult = exports.UpdateDomainAssociationRequest = exports.UpdateBranchResult = exports.UpdateBranchRequest = exports.UpdateAppResult = exports.UpdateAppRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopJobResult = exports.StopJobRequest = exports.StartJobResult = exports.StartJobRequest = exports.StartDeploymentResult = exports.StartDeploymentRequest = exports.ListWebhooksResult = exports.ListWebhooksRequest = exports.ResourceNotFoundException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListJobsResult = exports.ListJobsRequest = exports.ListDomainAssociationsResult = exports.ListDomainAssociationsRequest = exports.ListBranchesResult = exports.ListBranchesRequest = exports.ListBackendEnvironmentsResult = exports.ListBackendEnvironmentsRequest = exports.ListArtifactsResult = exports.Artifact = exports.ListArtifactsRequest = exports.ListAppsResult = exports.ListAppsRequest = exports.GetWebhookResult = exports.GetWebhookRequest = exports.GetJobResult = exports.Job = exports.Step = exports.GetJobRequest = exports.GetDomainAssociationResult = exports.GetDomainAssociationRequest = exports.GetBranchResult = exports.GetBranchRequest = exports.GetBackendEnvironmentResult = exports.GetBackendEnvironmentRequest = exports.GetArtifactUrlResult = exports.GetArtifactUrlRequest = void 0;
3
+ exports.GetAppRequest = exports.GenerateAccessLogsResult = exports.GenerateAccessLogsRequest = exports.DeleteWebhookResult = exports.DeleteWebhookRequest = exports.DeleteJobResult = exports.JobSummary = exports.JobStatus = exports.JobType = exports.DeleteJobRequest = exports.DeleteDomainAssociationResult = exports.DeleteDomainAssociationRequest = exports.DeleteBranchResult = exports.DeleteBranchRequest = exports.DeleteBackendEnvironmentResult = exports.DeleteBackendEnvironmentRequest = exports.DeleteAppResult = exports.DeleteAppRequest = exports.CreateWebhookResult = exports.Webhook = exports.CreateWebhookRequest = exports.CreateDomainAssociationResult = exports.DomainAssociation = exports.SubDomain = exports.DomainStatus = exports.CreateDomainAssociationRequest = exports.SubDomainSetting = exports.CreateDeploymentResult = exports.CreateDeploymentRequest = exports.CreateBranchResult = exports.Branch = exports.CreateBranchRequest = exports.NotFoundException = exports.CreateBackendEnvironmentResult = exports.BackendEnvironment = exports.CreateBackendEnvironmentRequest = exports.UnauthorizedException = exports.LimitExceededException = exports.InternalFailureException = exports.DependentServiceFailureException = exports.CreateAppResult = exports.App = exports.RepositoryCloneMethod = exports.ProductionBranch = exports.CreateAppRequest = exports.Platform = exports.CustomRule = exports.AutoBranchCreationConfig = exports.Stage = exports.BadRequestException = void 0;
4
+ exports.UpdateWebhookRequest = exports.UpdateDomainAssociationResult = exports.UpdateDomainAssociationRequest = exports.UpdateBranchResult = exports.UpdateBranchRequest = exports.UpdateAppResult = exports.UpdateAppRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopJobResult = exports.StopJobRequest = exports.StartJobResult = exports.StartJobRequest = exports.StartDeploymentResult = exports.StartDeploymentRequest = exports.ListWebhooksResult = exports.ListWebhooksRequest = exports.ResourceNotFoundException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListJobsResult = exports.ListJobsRequest = exports.ListDomainAssociationsResult = exports.ListDomainAssociationsRequest = exports.ListBranchesResult = exports.ListBranchesRequest = exports.ListBackendEnvironmentsResult = exports.ListBackendEnvironmentsRequest = exports.ListArtifactsResult = exports.Artifact = exports.ListArtifactsRequest = exports.ListAppsResult = exports.ListAppsRequest = exports.GetWebhookResult = exports.GetWebhookRequest = exports.GetJobResult = exports.Job = exports.Step = exports.GetJobRequest = exports.GetDomainAssociationResult = exports.GetDomainAssociationRequest = exports.GetBranchResult = exports.GetBranchRequest = exports.GetBackendEnvironmentResult = exports.GetBackendEnvironmentRequest = exports.GetArtifactUrlResult = exports.GetArtifactUrlRequest = exports.GetAppResult = void 0;
5
+ exports.UpdateWebhookResult = void 0;
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const AmplifyServiceException_1 = require("./AmplifyServiceException");
7
8
  class BadRequestException extends AmplifyServiceException_1.AmplifyServiceException {
@@ -30,6 +31,7 @@ var AutoBranchCreationConfig;
30
31
  AutoBranchCreationConfig.filterSensitiveLog = (obj) => ({
31
32
  ...obj,
32
33
  ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
34
+ ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
33
35
  });
34
36
  })(AutoBranchCreationConfig = exports.AutoBranchCreationConfig || (exports.AutoBranchCreationConfig = {}));
35
37
  var CustomRule;
@@ -41,6 +43,7 @@ var CustomRule;
41
43
  var Platform;
42
44
  (function (Platform) {
43
45
  Platform["WEB"] = "WEB";
46
+ Platform["WEB_DYNAMIC"] = "WEB_DYNAMIC";
44
47
  })(Platform = exports.Platform || (exports.Platform = {}));
45
48
  var CreateAppRequest;
46
49
  (function (CreateAppRequest) {
@@ -49,6 +52,7 @@ var CreateAppRequest;
49
52
  ...(obj.oauthToken && { oauthToken: smithy_client_1.SENSITIVE_STRING }),
50
53
  ...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
51
54
  ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
55
+ ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
52
56
  ...(obj.autoBranchCreationConfig && {
53
57
  autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig),
54
58
  }),
@@ -60,11 +64,18 @@ var ProductionBranch;
60
64
  ...obj,
61
65
  });
62
66
  })(ProductionBranch = exports.ProductionBranch || (exports.ProductionBranch = {}));
67
+ var RepositoryCloneMethod;
68
+ (function (RepositoryCloneMethod) {
69
+ RepositoryCloneMethod["SIGV4"] = "SIGV4";
70
+ RepositoryCloneMethod["SSH"] = "SSH";
71
+ RepositoryCloneMethod["TOKEN"] = "TOKEN";
72
+ })(RepositoryCloneMethod = exports.RepositoryCloneMethod || (exports.RepositoryCloneMethod = {}));
63
73
  var App;
64
74
  (function (App) {
65
75
  App.filterSensitiveLog = (obj) => ({
66
76
  ...obj,
67
77
  ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
78
+ ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
68
79
  ...(obj.autoBranchCreationConfig && {
69
80
  autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig),
70
81
  }),
@@ -165,6 +176,7 @@ var CreateBranchRequest;
165
176
  CreateBranchRequest.filterSensitiveLog = (obj) => ({
166
177
  ...obj,
167
178
  ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
179
+ ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
168
180
  });
169
181
  })(CreateBranchRequest = exports.CreateBranchRequest || (exports.CreateBranchRequest = {}));
170
182
  var Branch;
@@ -172,6 +184,7 @@ var Branch;
172
184
  Branch.filterSensitiveLog = (obj) => ({
173
185
  ...obj,
174
186
  ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
187
+ ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
175
188
  });
176
189
  })(Branch = exports.Branch || (exports.Branch = {}));
177
190
  var CreateBranchResult;
@@ -642,6 +655,7 @@ var UpdateAppRequest;
642
655
  UpdateAppRequest.filterSensitiveLog = (obj) => ({
643
656
  ...obj,
644
657
  ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
658
+ ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
645
659
  ...(obj.autoBranchCreationConfig && {
646
660
  autoBranchCreationConfig: AutoBranchCreationConfig.filterSensitiveLog(obj.autoBranchCreationConfig),
647
661
  }),
@@ -661,6 +675,7 @@ var UpdateBranchRequest;
661
675
  UpdateBranchRequest.filterSensitiveLog = (obj) => ({
662
676
  ...obj,
663
677
  ...(obj.basicAuthCredentials && { basicAuthCredentials: smithy_client_1.SENSITIVE_STRING }),
678
+ ...(obj.buildSpec && { buildSpec: smithy_client_1.SENSITIVE_STRING }),
664
679
  });
665
680
  })(UpdateBranchRequest = exports.UpdateBranchRequest || (exports.UpdateBranchRequest = {}));
666
681
  var UpdateBranchResult;