@aws-sdk/client-amplify 3.183.0 → 3.185.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 (50) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Amplify.js +157 -150
  4. package/dist-es/AmplifyClient.js +28 -22
  5. package/dist-es/commands/CreateAppCommand.js +28 -21
  6. package/dist-es/commands/CreateBackendEnvironmentCommand.js +28 -21
  7. package/dist-es/commands/CreateBranchCommand.js +28 -21
  8. package/dist-es/commands/CreateDeploymentCommand.js +28 -21
  9. package/dist-es/commands/CreateDomainAssociationCommand.js +28 -21
  10. package/dist-es/commands/CreateWebhookCommand.js +28 -21
  11. package/dist-es/commands/DeleteAppCommand.js +28 -21
  12. package/dist-es/commands/DeleteBackendEnvironmentCommand.js +28 -21
  13. package/dist-es/commands/DeleteBranchCommand.js +28 -21
  14. package/dist-es/commands/DeleteDomainAssociationCommand.js +28 -21
  15. package/dist-es/commands/DeleteJobCommand.js +28 -21
  16. package/dist-es/commands/DeleteWebhookCommand.js +28 -21
  17. package/dist-es/commands/GenerateAccessLogsCommand.js +28 -21
  18. package/dist-es/commands/GetAppCommand.js +28 -21
  19. package/dist-es/commands/GetArtifactUrlCommand.js +28 -21
  20. package/dist-es/commands/GetBackendEnvironmentCommand.js +28 -21
  21. package/dist-es/commands/GetBranchCommand.js +28 -21
  22. package/dist-es/commands/GetDomainAssociationCommand.js +28 -21
  23. package/dist-es/commands/GetJobCommand.js +28 -21
  24. package/dist-es/commands/GetWebhookCommand.js +28 -21
  25. package/dist-es/commands/ListAppsCommand.js +28 -21
  26. package/dist-es/commands/ListArtifactsCommand.js +28 -21
  27. package/dist-es/commands/ListBackendEnvironmentsCommand.js +28 -21
  28. package/dist-es/commands/ListBranchesCommand.js +28 -21
  29. package/dist-es/commands/ListDomainAssociationsCommand.js +28 -21
  30. package/dist-es/commands/ListJobsCommand.js +28 -21
  31. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  32. package/dist-es/commands/ListWebhooksCommand.js +28 -21
  33. package/dist-es/commands/StartDeploymentCommand.js +28 -21
  34. package/dist-es/commands/StartJobCommand.js +28 -21
  35. package/dist-es/commands/StopJobCommand.js +28 -21
  36. package/dist-es/commands/TagResourceCommand.js +28 -21
  37. package/dist-es/commands/UntagResourceCommand.js +28 -21
  38. package/dist-es/commands/UpdateAppCommand.js +28 -21
  39. package/dist-es/commands/UpdateBranchCommand.js +28 -21
  40. package/dist-es/commands/UpdateDomainAssociationCommand.js +28 -21
  41. package/dist-es/commands/UpdateWebhookCommand.js +28 -21
  42. package/dist-es/endpoints.js +8 -8
  43. package/dist-es/models/AmplifyServiceException.js +10 -5
  44. package/dist-es/models/models_0.js +173 -379
  45. package/dist-es/protocols/Aws_restJson1.js +3725 -2648
  46. package/dist-es/runtimeConfig.browser.js +12 -26
  47. package/dist-es/runtimeConfig.js +12 -30
  48. package/dist-es/runtimeConfig.native.js +5 -8
  49. package/dist-es/runtimeConfig.shared.js +11 -8
  50. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteDomainAssociationRequestFilterSensitiveLog, DeleteDomainAssociationResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteDomainAssociationCommand, serializeAws_restJson1DeleteDomainAssociationCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteDomainAssociationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDomainAssociationCommand = (function (_super) {
7
+ __extends(DeleteDomainAssociationCommand, _super);
8
+ function DeleteDomainAssociationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDomainAssociationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AmplifyClient";
15
- const commandName = "DeleteDomainAssociationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyClient";
18
+ var commandName = "DeleteDomainAssociationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDomainAssociationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDomainAssociationResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteDomainAssociationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteDomainAssociationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDomainAssociationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteDomainAssociationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDomainAssociationCommand;
38
+ }($Command));
39
+ export { DeleteDomainAssociationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteJobRequestFilterSensitiveLog, DeleteJobResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteJobCommand, serializeAws_restJson1DeleteJobCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteJobCommand = (function (_super) {
7
+ __extends(DeleteJobCommand, _super);
8
+ function DeleteJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AmplifyClient";
15
- const commandName = "DeleteJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyClient";
18
+ var commandName = "DeleteJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteJobResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteJobCommand;
38
+ }($Command));
39
+ export { DeleteJobCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteWebhookRequestFilterSensitiveLog, DeleteWebhookResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteWebhookCommand, serializeAws_restJson1DeleteWebhookCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteWebhookCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteWebhookCommand = (function (_super) {
7
+ __extends(DeleteWebhookCommand, _super);
8
+ function DeleteWebhookCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteWebhookCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AmplifyClient";
15
- const commandName = "DeleteWebhookCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyClient";
18
+ var commandName = "DeleteWebhookCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteWebhookRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteWebhookResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteWebhookCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteWebhookCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteWebhookCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteWebhookCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteWebhookCommand;
38
+ }($Command));
39
+ export { DeleteWebhookCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GenerateAccessLogsRequestFilterSensitiveLog, GenerateAccessLogsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GenerateAccessLogsCommand, serializeAws_restJson1GenerateAccessLogsCommand, } from "../protocols/Aws_restJson1";
5
- export class GenerateAccessLogsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GenerateAccessLogsCommand = (function (_super) {
7
+ __extends(GenerateAccessLogsCommand, _super);
8
+ function GenerateAccessLogsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GenerateAccessLogsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AmplifyClient";
15
- const commandName = "GenerateAccessLogsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyClient";
18
+ var commandName = "GenerateAccessLogsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GenerateAccessLogsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GenerateAccessLogsResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GenerateAccessLogsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GenerateAccessLogsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GenerateAccessLogsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GenerateAccessLogsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GenerateAccessLogsCommand;
38
+ }($Command));
39
+ export { GenerateAccessLogsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetAppRequestFilterSensitiveLog, GetAppResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetAppCommand, serializeAws_restJson1GetAppCommand } from "../protocols/Aws_restJson1";
5
- export class GetAppCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetAppCommand = (function (_super) {
7
+ __extends(GetAppCommand, _super);
8
+ function GetAppCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetAppCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AmplifyClient";
15
- const commandName = "GetAppCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyClient";
18
+ var commandName = "GetAppCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetAppRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetAppResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetAppCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetAppCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetAppCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetAppCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetAppCommand;
38
+ }($Command));
39
+ export { GetAppCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetArtifactUrlRequestFilterSensitiveLog, GetArtifactUrlResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetArtifactUrlCommand, serializeAws_restJson1GetArtifactUrlCommand, } from "../protocols/Aws_restJson1";
5
- export class GetArtifactUrlCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetArtifactUrlCommand = (function (_super) {
7
+ __extends(GetArtifactUrlCommand, _super);
8
+ function GetArtifactUrlCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetArtifactUrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AmplifyClient";
15
- const commandName = "GetArtifactUrlCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyClient";
18
+ var commandName = "GetArtifactUrlCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetArtifactUrlRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetArtifactUrlResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetArtifactUrlCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetArtifactUrlCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetArtifactUrlCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetArtifactUrlCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetArtifactUrlCommand;
38
+ }($Command));
39
+ export { GetArtifactUrlCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetBackendEnvironmentRequestFilterSensitiveLog, GetBackendEnvironmentResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetBackendEnvironmentCommand, serializeAws_restJson1GetBackendEnvironmentCommand, } from "../protocols/Aws_restJson1";
5
- export class GetBackendEnvironmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetBackendEnvironmentCommand = (function (_super) {
7
+ __extends(GetBackendEnvironmentCommand, _super);
8
+ function GetBackendEnvironmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetBackendEnvironmentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AmplifyClient";
15
- const commandName = "GetBackendEnvironmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyClient";
18
+ var commandName = "GetBackendEnvironmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetBackendEnvironmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetBackendEnvironmentResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetBackendEnvironmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetBackendEnvironmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetBackendEnvironmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetBackendEnvironmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetBackendEnvironmentCommand;
38
+ }($Command));
39
+ export { GetBackendEnvironmentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetBranchRequestFilterSensitiveLog, GetBranchResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetBranchCommand, serializeAws_restJson1GetBranchCommand, } from "../protocols/Aws_restJson1";
5
- export class GetBranchCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetBranchCommand = (function (_super) {
7
+ __extends(GetBranchCommand, _super);
8
+ function GetBranchCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetBranchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AmplifyClient";
15
- const commandName = "GetBranchCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyClient";
18
+ var commandName = "GetBranchCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetBranchRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetBranchResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetBranchCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetBranchCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetBranchCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetBranchCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetBranchCommand;
38
+ }($Command));
39
+ export { GetBranchCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetDomainAssociationRequestFilterSensitiveLog, GetDomainAssociationResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDomainAssociationCommand, serializeAws_restJson1GetDomainAssociationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDomainAssociationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDomainAssociationCommand = (function (_super) {
7
+ __extends(GetDomainAssociationCommand, _super);
8
+ function GetDomainAssociationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDomainAssociationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AmplifyClient";
15
- const commandName = "GetDomainAssociationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyClient";
18
+ var commandName = "GetDomainAssociationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDomainAssociationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDomainAssociationResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetDomainAssociationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDomainAssociationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDomainAssociationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDomainAssociationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDomainAssociationCommand;
38
+ }($Command));
39
+ export { GetDomainAssociationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetJobRequestFilterSensitiveLog, GetJobResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetJobCommand, serializeAws_restJson1GetJobCommand } from "../protocols/Aws_restJson1";
5
- export class GetJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetJobCommand = (function (_super) {
7
+ __extends(GetJobCommand, _super);
8
+ function GetJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AmplifyClient";
15
- const commandName = "GetJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AmplifyClient";
18
+ var commandName = "GetJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetJobResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetJobCommand;
38
+ }($Command));
39
+ export { GetJobCommand };