@aws-sdk/client-appstream 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 (82) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/AppStream.js +269 -262
  4. package/dist-es/AppStreamClient.js +28 -22
  5. package/dist-es/commands/AssociateApplicationFleetCommand.js +28 -21
  6. package/dist-es/commands/AssociateApplicationToEntitlementCommand.js +28 -21
  7. package/dist-es/commands/AssociateFleetCommand.js +28 -21
  8. package/dist-es/commands/BatchAssociateUserStackCommand.js +28 -21
  9. package/dist-es/commands/BatchDisassociateUserStackCommand.js +28 -21
  10. package/dist-es/commands/CopyImageCommand.js +28 -21
  11. package/dist-es/commands/CreateAppBlockCommand.js +28 -21
  12. package/dist-es/commands/CreateApplicationCommand.js +28 -21
  13. package/dist-es/commands/CreateDirectoryConfigCommand.js +28 -21
  14. package/dist-es/commands/CreateEntitlementCommand.js +28 -21
  15. package/dist-es/commands/CreateFleetCommand.js +28 -21
  16. package/dist-es/commands/CreateImageBuilderCommand.js +28 -21
  17. package/dist-es/commands/CreateImageBuilderStreamingURLCommand.js +28 -21
  18. package/dist-es/commands/CreateStackCommand.js +28 -21
  19. package/dist-es/commands/CreateStreamingURLCommand.js +28 -21
  20. package/dist-es/commands/CreateUpdatedImageCommand.js +28 -21
  21. package/dist-es/commands/CreateUsageReportSubscriptionCommand.js +28 -21
  22. package/dist-es/commands/CreateUserCommand.js +28 -21
  23. package/dist-es/commands/DeleteAppBlockCommand.js +28 -21
  24. package/dist-es/commands/DeleteApplicationCommand.js +28 -21
  25. package/dist-es/commands/DeleteDirectoryConfigCommand.js +28 -21
  26. package/dist-es/commands/DeleteEntitlementCommand.js +28 -21
  27. package/dist-es/commands/DeleteFleetCommand.js +28 -21
  28. package/dist-es/commands/DeleteImageBuilderCommand.js +28 -21
  29. package/dist-es/commands/DeleteImageCommand.js +28 -21
  30. package/dist-es/commands/DeleteImagePermissionsCommand.js +28 -21
  31. package/dist-es/commands/DeleteStackCommand.js +28 -21
  32. package/dist-es/commands/DeleteUsageReportSubscriptionCommand.js +28 -21
  33. package/dist-es/commands/DeleteUserCommand.js +28 -21
  34. package/dist-es/commands/DescribeAppBlocksCommand.js +28 -21
  35. package/dist-es/commands/DescribeApplicationFleetAssociationsCommand.js +28 -21
  36. package/dist-es/commands/DescribeApplicationsCommand.js +28 -21
  37. package/dist-es/commands/DescribeDirectoryConfigsCommand.js +28 -21
  38. package/dist-es/commands/DescribeEntitlementsCommand.js +28 -21
  39. package/dist-es/commands/DescribeFleetsCommand.js +28 -21
  40. package/dist-es/commands/DescribeImageBuildersCommand.js +28 -21
  41. package/dist-es/commands/DescribeImagePermissionsCommand.js +28 -21
  42. package/dist-es/commands/DescribeImagesCommand.js +28 -21
  43. package/dist-es/commands/DescribeSessionsCommand.js +28 -21
  44. package/dist-es/commands/DescribeStacksCommand.js +28 -21
  45. package/dist-es/commands/DescribeUsageReportSubscriptionsCommand.js +28 -21
  46. package/dist-es/commands/DescribeUserStackAssociationsCommand.js +28 -21
  47. package/dist-es/commands/DescribeUsersCommand.js +28 -21
  48. package/dist-es/commands/DisableUserCommand.js +28 -21
  49. package/dist-es/commands/DisassociateApplicationFleetCommand.js +28 -21
  50. package/dist-es/commands/DisassociateApplicationFromEntitlementCommand.js +28 -21
  51. package/dist-es/commands/DisassociateFleetCommand.js +28 -21
  52. package/dist-es/commands/EnableUserCommand.js +28 -21
  53. package/dist-es/commands/ExpireSessionCommand.js +28 -21
  54. package/dist-es/commands/ListAssociatedFleetsCommand.js +28 -21
  55. package/dist-es/commands/ListAssociatedStacksCommand.js +28 -21
  56. package/dist-es/commands/ListEntitledApplicationsCommand.js +28 -21
  57. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  58. package/dist-es/commands/StartFleetCommand.js +28 -21
  59. package/dist-es/commands/StartImageBuilderCommand.js +28 -21
  60. package/dist-es/commands/StopFleetCommand.js +28 -21
  61. package/dist-es/commands/StopImageBuilderCommand.js +28 -21
  62. package/dist-es/commands/TagResourceCommand.js +28 -21
  63. package/dist-es/commands/UntagResourceCommand.js +28 -21
  64. package/dist-es/commands/UpdateApplicationCommand.js +28 -21
  65. package/dist-es/commands/UpdateDirectoryConfigCommand.js +28 -21
  66. package/dist-es/commands/UpdateEntitlementCommand.js +28 -21
  67. package/dist-es/commands/UpdateFleetCommand.js +28 -21
  68. package/dist-es/commands/UpdateImagePermissionsCommand.js +28 -21
  69. package/dist-es/commands/UpdateStackCommand.js +28 -21
  70. package/dist-es/endpoints.js +8 -8
  71. package/dist-es/models/AppStreamServiceException.js +10 -5
  72. package/dist-es/models/models_0.js +353 -714
  73. package/dist-es/pagination/DescribeImagePermissionsPaginator.js +68 -25
  74. package/dist-es/pagination/DescribeImagesPaginator.js +68 -25
  75. package/dist-es/protocols/Aws_json1_1.js +5434 -4320
  76. package/dist-es/runtimeConfig.browser.js +12 -26
  77. package/dist-es/runtimeConfig.js +12 -30
  78. package/dist-es/runtimeConfig.native.js +5 -8
  79. package/dist-es/runtimeConfig.shared.js +11 -8
  80. package/dist-es/waiters/waitForFleetStarted.js +115 -64
  81. package/dist-es/waiters/waitForFleetStopped.js +115 -64
  82. 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 { ListAssociatedFleetsRequestFilterSensitiveLog, ListAssociatedFleetsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListAssociatedFleetsCommand, serializeAws_json1_1ListAssociatedFleetsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListAssociatedFleetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAssociatedFleetsCommand = (function (_super) {
7
+ __extends(ListAssociatedFleetsCommand, _super);
8
+ function ListAssociatedFleetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAssociatedFleetsCommand.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 = "AppStreamClient";
15
- const commandName = "ListAssociatedFleetsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppStreamClient";
18
+ var commandName = "ListAssociatedFleetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAssociatedFleetsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAssociatedFleetsResultFilterSensitiveLog,
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
+ ListAssociatedFleetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListAssociatedFleetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAssociatedFleetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListAssociatedFleetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAssociatedFleetsCommand;
38
+ }($Command));
39
+ export { ListAssociatedFleetsCommand };
@@ -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 { ListAssociatedStacksRequestFilterSensitiveLog, ListAssociatedStacksResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListAssociatedStacksCommand, serializeAws_json1_1ListAssociatedStacksCommand, } from "../protocols/Aws_json1_1";
5
- export class ListAssociatedStacksCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAssociatedStacksCommand = (function (_super) {
7
+ __extends(ListAssociatedStacksCommand, _super);
8
+ function ListAssociatedStacksCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAssociatedStacksCommand.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 = "AppStreamClient";
15
- const commandName = "ListAssociatedStacksCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppStreamClient";
18
+ var commandName = "ListAssociatedStacksCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAssociatedStacksRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAssociatedStacksResultFilterSensitiveLog,
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
+ ListAssociatedStacksCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListAssociatedStacksCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAssociatedStacksCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListAssociatedStacksCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAssociatedStacksCommand;
38
+ }($Command));
39
+ export { ListAssociatedStacksCommand };
@@ -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 { ListEntitledApplicationsRequestFilterSensitiveLog, ListEntitledApplicationsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListEntitledApplicationsCommand, serializeAws_json1_1ListEntitledApplicationsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListEntitledApplicationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListEntitledApplicationsCommand = (function (_super) {
7
+ __extends(ListEntitledApplicationsCommand, _super);
8
+ function ListEntitledApplicationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListEntitledApplicationsCommand.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 = "AppStreamClient";
15
- const commandName = "ListEntitledApplicationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppStreamClient";
18
+ var commandName = "ListEntitledApplicationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListEntitledApplicationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListEntitledApplicationsResultFilterSensitiveLog,
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
+ ListEntitledApplicationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListEntitledApplicationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListEntitledApplicationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListEntitledApplicationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListEntitledApplicationsCommand;
38
+ }($Command));
39
+ export { ListEntitledApplicationsCommand };
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "AppStreamClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppStreamClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { StartFleetRequestFilterSensitiveLog, StartFleetResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StartFleetCommand, serializeAws_json1_1StartFleetCommand, } from "../protocols/Aws_json1_1";
5
- export class StartFleetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartFleetCommand = (function (_super) {
7
+ __extends(StartFleetCommand, _super);
8
+ function StartFleetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartFleetCommand.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 = "AppStreamClient";
15
- const commandName = "StartFleetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppStreamClient";
18
+ var commandName = "StartFleetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartFleetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartFleetResultFilterSensitiveLog,
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
+ StartFleetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StartFleetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartFleetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StartFleetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartFleetCommand;
38
+ }($Command));
39
+ export { StartFleetCommand };
@@ -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 { StartImageBuilderRequestFilterSensitiveLog, StartImageBuilderResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StartImageBuilderCommand, serializeAws_json1_1StartImageBuilderCommand, } from "../protocols/Aws_json1_1";
5
- export class StartImageBuilderCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartImageBuilderCommand = (function (_super) {
7
+ __extends(StartImageBuilderCommand, _super);
8
+ function StartImageBuilderCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartImageBuilderCommand.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 = "AppStreamClient";
15
- const commandName = "StartImageBuilderCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppStreamClient";
18
+ var commandName = "StartImageBuilderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartImageBuilderRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartImageBuilderResultFilterSensitiveLog,
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
+ StartImageBuilderCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StartImageBuilderCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartImageBuilderCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StartImageBuilderCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartImageBuilderCommand;
38
+ }($Command));
39
+ export { StartImageBuilderCommand };
@@ -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 { StopFleetRequestFilterSensitiveLog, StopFleetResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StopFleetCommand, serializeAws_json1_1StopFleetCommand } from "../protocols/Aws_json1_1";
5
- export class StopFleetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopFleetCommand = (function (_super) {
7
+ __extends(StopFleetCommand, _super);
8
+ function StopFleetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopFleetCommand.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 = "AppStreamClient";
15
- const commandName = "StopFleetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppStreamClient";
18
+ var commandName = "StopFleetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopFleetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StopFleetResultFilterSensitiveLog,
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
+ StopFleetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StopFleetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopFleetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StopFleetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopFleetCommand;
38
+ }($Command));
39
+ export { StopFleetCommand };
@@ -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 { StopImageBuilderRequestFilterSensitiveLog, StopImageBuilderResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StopImageBuilderCommand, serializeAws_json1_1StopImageBuilderCommand, } from "../protocols/Aws_json1_1";
5
- export class StopImageBuilderCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopImageBuilderCommand = (function (_super) {
7
+ __extends(StopImageBuilderCommand, _super);
8
+ function StopImageBuilderCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopImageBuilderCommand.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 = "AppStreamClient";
15
- const commandName = "StopImageBuilderCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppStreamClient";
18
+ var commandName = "StopImageBuilderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopImageBuilderRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StopImageBuilderResultFilterSensitiveLog,
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
+ StopImageBuilderCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StopImageBuilderCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopImageBuilderCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StopImageBuilderCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopImageBuilderCommand;
38
+ }($Command));
39
+ export { StopImageBuilderCommand };
@@ -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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.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 = "AppStreamClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppStreamClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
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
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.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 = "AppStreamClient";
15
- const commandName = "UntagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AppStreamClient";
18
+ var commandName = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
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
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };