@aws-sdk/client-apprunner 3.181.0 → 3.183.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 +8 -0
  2. package/dist-es/AppRunner.js +122 -129
  3. package/dist-es/AppRunnerClient.js +22 -28
  4. package/dist-es/commands/AssociateCustomDomainCommand.js +21 -28
  5. package/dist-es/commands/CreateAutoScalingConfigurationCommand.js +21 -28
  6. package/dist-es/commands/CreateConnectionCommand.js +21 -28
  7. package/dist-es/commands/CreateObservabilityConfigurationCommand.js +21 -28
  8. package/dist-es/commands/CreateServiceCommand.js +21 -28
  9. package/dist-es/commands/CreateVpcConnectorCommand.js +21 -28
  10. package/dist-es/commands/DeleteAutoScalingConfigurationCommand.js +21 -28
  11. package/dist-es/commands/DeleteConnectionCommand.js +21 -28
  12. package/dist-es/commands/DeleteObservabilityConfigurationCommand.js +21 -28
  13. package/dist-es/commands/DeleteServiceCommand.js +21 -28
  14. package/dist-es/commands/DeleteVpcConnectorCommand.js +21 -28
  15. package/dist-es/commands/DescribeAutoScalingConfigurationCommand.js +21 -28
  16. package/dist-es/commands/DescribeCustomDomainsCommand.js +21 -28
  17. package/dist-es/commands/DescribeObservabilityConfigurationCommand.js +21 -28
  18. package/dist-es/commands/DescribeServiceCommand.js +21 -28
  19. package/dist-es/commands/DescribeVpcConnectorCommand.js +21 -28
  20. package/dist-es/commands/DisassociateCustomDomainCommand.js +21 -28
  21. package/dist-es/commands/ListAutoScalingConfigurationsCommand.js +21 -28
  22. package/dist-es/commands/ListConnectionsCommand.js +21 -28
  23. package/dist-es/commands/ListObservabilityConfigurationsCommand.js +21 -28
  24. package/dist-es/commands/ListOperationsCommand.js +21 -28
  25. package/dist-es/commands/ListServicesCommand.js +21 -28
  26. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  27. package/dist-es/commands/ListVpcConnectorsCommand.js +21 -28
  28. package/dist-es/commands/PauseServiceCommand.js +21 -28
  29. package/dist-es/commands/ResumeServiceCommand.js +21 -28
  30. package/dist-es/commands/StartDeploymentCommand.js +21 -28
  31. package/dist-es/commands/TagResourceCommand.js +21 -28
  32. package/dist-es/commands/UntagResourceCommand.js +21 -28
  33. package/dist-es/commands/UpdateServiceCommand.js +21 -28
  34. package/dist-es/endpoints.js +8 -8
  35. package/dist-es/models/AppRunnerServiceException.js +5 -10
  36. package/dist-es/models/models_0.js +351 -157
  37. package/dist-es/pagination/DescribeCustomDomainsPaginator.js +25 -68
  38. package/dist-es/pagination/ListAutoScalingConfigurationsPaginator.js +25 -68
  39. package/dist-es/pagination/ListConnectionsPaginator.js +25 -68
  40. package/dist-es/pagination/ListObservabilityConfigurationsPaginator.js +25 -68
  41. package/dist-es/pagination/ListOperationsPaginator.js +25 -68
  42. package/dist-es/pagination/ListServicesPaginator.js +25 -68
  43. package/dist-es/pagination/ListVpcConnectorsPaginator.js +25 -68
  44. package/dist-es/protocols/Aws_json1_0.js +2008 -2531
  45. package/dist-es/runtimeConfig.browser.js +26 -12
  46. package/dist-es/runtimeConfig.js +30 -12
  47. package/dist-es/runtimeConfig.native.js +8 -5
  48. package/dist-es/runtimeConfig.shared.js +8 -11
  49. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListOperationsRequestFilterSensitiveLog, ListOperationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListOperationsCommand, serializeAws_json1_0ListOperationsCommand, } from "../protocols/Aws_json1_0";
6
- var ListOperationsCommand = (function (_super) {
7
- __extends(ListOperationsCommand, _super);
8
- function ListOperationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListOperationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListOperationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AppRunnerClient";
18
- var commandName = "ListOperationsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AppRunnerClient";
15
+ const commandName = "ListOperationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListOperationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListOperationsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListOperationsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ListOperationsCommand(input, context);
33
- };
34
- ListOperationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListOperationsCommand(output, context);
36
- };
37
- return ListOperationsCommand;
38
- }($Command));
39
- export { ListOperationsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListServicesRequestFilterSensitiveLog, ListServicesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListServicesCommand, serializeAws_json1_0ListServicesCommand, } from "../protocols/Aws_json1_0";
6
- var ListServicesCommand = (function (_super) {
7
- __extends(ListServicesCommand, _super);
8
- function ListServicesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListServicesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListServicesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AppRunnerClient";
18
- var commandName = "ListServicesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AppRunnerClient";
15
+ const commandName = "ListServicesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListServicesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListServicesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListServicesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ListServicesCommand(input, context);
33
- };
34
- ListServicesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListServicesCommand(output, context);
36
- };
37
- return ListServicesCommand;
38
- }($Command));
39
- export { ListServicesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListTagsForResourceCommand, serializeAws_json1_0ListTagsForResourceCommand, } from "../protocols/Aws_json1_0";
6
- var ListTagsForResourceCommand = (function (_super) {
7
- __extends(ListTagsForResourceCommand, _super);
8
- function ListTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AppRunnerClient";
18
- var commandName = "ListTagsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AppRunnerClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsForResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListVpcConnectorsRequestFilterSensitiveLog, ListVpcConnectorsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListVpcConnectorsCommand, serializeAws_json1_0ListVpcConnectorsCommand, } from "../protocols/Aws_json1_0";
6
- var ListVpcConnectorsCommand = (function (_super) {
7
- __extends(ListVpcConnectorsCommand, _super);
8
- function ListVpcConnectorsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListVpcConnectorsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListVpcConnectorsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AppRunnerClient";
18
- var commandName = "ListVpcConnectorsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AppRunnerClient";
15
+ const commandName = "ListVpcConnectorsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListVpcConnectorsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListVpcConnectorsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListVpcConnectorsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ListVpcConnectorsCommand(input, context);
33
- };
34
- ListVpcConnectorsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListVpcConnectorsCommand(output, context);
36
- };
37
- return ListVpcConnectorsCommand;
38
- }($Command));
39
- export { ListVpcConnectorsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PauseServiceRequestFilterSensitiveLog, PauseServiceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0PauseServiceCommand, serializeAws_json1_0PauseServiceCommand, } from "../protocols/Aws_json1_0";
6
- var PauseServiceCommand = (function (_super) {
7
- __extends(PauseServiceCommand, _super);
8
- function PauseServiceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PauseServiceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PauseServiceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AppRunnerClient";
18
- var commandName = "PauseServiceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AppRunnerClient";
15
+ const commandName = "PauseServiceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PauseServiceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PauseServiceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PauseServiceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0PauseServiceCommand(input, context);
33
- };
34
- PauseServiceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0PauseServiceCommand(output, context);
36
- };
37
- return PauseServiceCommand;
38
- }($Command));
39
- export { PauseServiceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ResumeServiceRequestFilterSensitiveLog, ResumeServiceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ResumeServiceCommand, serializeAws_json1_0ResumeServiceCommand, } from "../protocols/Aws_json1_0";
6
- var ResumeServiceCommand = (function (_super) {
7
- __extends(ResumeServiceCommand, _super);
8
- function ResumeServiceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ResumeServiceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ResumeServiceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AppRunnerClient";
18
- var commandName = "ResumeServiceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AppRunnerClient";
15
+ const commandName = "ResumeServiceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ResumeServiceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ResumeServiceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ResumeServiceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ResumeServiceCommand(input, context);
33
- };
34
- ResumeServiceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ResumeServiceCommand(output, context);
36
- };
37
- return ResumeServiceCommand;
38
- }($Command));
39
- export { ResumeServiceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { StartDeploymentRequestFilterSensitiveLog, StartDeploymentResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0StartDeploymentCommand, serializeAws_json1_0StartDeploymentCommand, } from "../protocols/Aws_json1_0";
6
- var StartDeploymentCommand = (function (_super) {
7
- __extends(StartDeploymentCommand, _super);
8
- function StartDeploymentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartDeploymentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartDeploymentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AppRunnerClient";
18
- var commandName = "StartDeploymentCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AppRunnerClient";
15
+ const commandName = "StartDeploymentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartDeploymentRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartDeploymentResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartDeploymentCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0StartDeploymentCommand(input, context);
33
- };
34
- StartDeploymentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0StartDeploymentCommand(output, context);
36
- };
37
- return StartDeploymentCommand;
38
- }($Command));
39
- export { StartDeploymentCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
6
- var TagResourceCommand = (function (_super) {
7
- __extends(TagResourceCommand, _super);
8
- function TagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AppRunnerClient";
18
- var commandName = "TagResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AppRunnerClient";
15
+ const commandName = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TagResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0UntagResourceCommand, serializeAws_json1_0UntagResourceCommand, } from "../protocols/Aws_json1_0";
6
- var UntagResourceCommand = (function (_super) {
7
- __extends(UntagResourceCommand, _super);
8
- function UntagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UntagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AppRunnerClient";
18
- var commandName = "UntagResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AppRunnerClient";
15
+ const commandName = "UntagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UntagResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0UntagResourceCommand(input, context);
33
- };
34
- UntagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0UntagResourceCommand(output, context);
36
- };
37
- return UntagResourceCommand;
38
- }($Command));
39
- export { UntagResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateServiceRequestFilterSensitiveLog, UpdateServiceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0UpdateServiceCommand, serializeAws_json1_0UpdateServiceCommand, } from "../protocols/Aws_json1_0";
6
- var UpdateServiceCommand = (function (_super) {
7
- __extends(UpdateServiceCommand, _super);
8
- function UpdateServiceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateServiceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateServiceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "AppRunnerClient";
18
- var commandName = "UpdateServiceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "AppRunnerClient";
15
+ const commandName = "UpdateServiceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateServiceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateServiceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateServiceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0UpdateServiceCommand(input, context);
33
- };
34
- UpdateServiceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0UpdateServiceCommand(output, context);
36
- };
37
- return UpdateServiceCommand;
38
- }($Command));
39
- export { UpdateServiceCommand };
31
+ }
32
+ }