@aws-sdk/client-amplify 3.54.0 → 3.56.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 (49) hide show
  1. package/CHANGELOG.md +24 -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/protocols/Aws_restJson1.js +265 -265
  42. package/dist-cjs/runtimeConfig.browser.js +4 -4
  43. package/dist-cjs/runtimeConfig.js +9 -9
  44. package/dist-cjs/runtimeConfig.native.js +1 -1
  45. package/dist-es/Amplify.js +37 -37
  46. package/dist-es/protocols/Aws_restJson1.js +37 -37
  47. package/dist-types/runtimeConfig.native.d.ts +2 -2
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  49. 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,