@aws-sdk/client-appstream 3.180.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 (82) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +71 -65
  3. package/dist-es/AppStream.js +262 -269
  4. package/dist-es/AppStreamClient.js +22 -28
  5. package/dist-es/commands/AssociateApplicationFleetCommand.js +21 -28
  6. package/dist-es/commands/AssociateApplicationToEntitlementCommand.js +21 -28
  7. package/dist-es/commands/AssociateFleetCommand.js +21 -28
  8. package/dist-es/commands/BatchAssociateUserStackCommand.js +21 -28
  9. package/dist-es/commands/BatchDisassociateUserStackCommand.js +21 -28
  10. package/dist-es/commands/CopyImageCommand.js +21 -28
  11. package/dist-es/commands/CreateAppBlockCommand.js +21 -28
  12. package/dist-es/commands/CreateApplicationCommand.js +21 -28
  13. package/dist-es/commands/CreateDirectoryConfigCommand.js +21 -28
  14. package/dist-es/commands/CreateEntitlementCommand.js +21 -28
  15. package/dist-es/commands/CreateFleetCommand.js +21 -28
  16. package/dist-es/commands/CreateImageBuilderCommand.js +21 -28
  17. package/dist-es/commands/CreateImageBuilderStreamingURLCommand.js +21 -28
  18. package/dist-es/commands/CreateStackCommand.js +21 -28
  19. package/dist-es/commands/CreateStreamingURLCommand.js +21 -28
  20. package/dist-es/commands/CreateUpdatedImageCommand.js +21 -28
  21. package/dist-es/commands/CreateUsageReportSubscriptionCommand.js +21 -28
  22. package/dist-es/commands/CreateUserCommand.js +21 -28
  23. package/dist-es/commands/DeleteAppBlockCommand.js +21 -28
  24. package/dist-es/commands/DeleteApplicationCommand.js +21 -28
  25. package/dist-es/commands/DeleteDirectoryConfigCommand.js +21 -28
  26. package/dist-es/commands/DeleteEntitlementCommand.js +21 -28
  27. package/dist-es/commands/DeleteFleetCommand.js +21 -28
  28. package/dist-es/commands/DeleteImageBuilderCommand.js +21 -28
  29. package/dist-es/commands/DeleteImageCommand.js +21 -28
  30. package/dist-es/commands/DeleteImagePermissionsCommand.js +21 -28
  31. package/dist-es/commands/DeleteStackCommand.js +21 -28
  32. package/dist-es/commands/DeleteUsageReportSubscriptionCommand.js +21 -28
  33. package/dist-es/commands/DeleteUserCommand.js +21 -28
  34. package/dist-es/commands/DescribeAppBlocksCommand.js +21 -28
  35. package/dist-es/commands/DescribeApplicationFleetAssociationsCommand.js +21 -28
  36. package/dist-es/commands/DescribeApplicationsCommand.js +21 -28
  37. package/dist-es/commands/DescribeDirectoryConfigsCommand.js +21 -28
  38. package/dist-es/commands/DescribeEntitlementsCommand.js +21 -28
  39. package/dist-es/commands/DescribeFleetsCommand.js +21 -28
  40. package/dist-es/commands/DescribeImageBuildersCommand.js +21 -28
  41. package/dist-es/commands/DescribeImagePermissionsCommand.js +21 -28
  42. package/dist-es/commands/DescribeImagesCommand.js +21 -28
  43. package/dist-es/commands/DescribeSessionsCommand.js +21 -28
  44. package/dist-es/commands/DescribeStacksCommand.js +21 -28
  45. package/dist-es/commands/DescribeUsageReportSubscriptionsCommand.js +21 -28
  46. package/dist-es/commands/DescribeUserStackAssociationsCommand.js +21 -28
  47. package/dist-es/commands/DescribeUsersCommand.js +21 -28
  48. package/dist-es/commands/DisableUserCommand.js +21 -28
  49. package/dist-es/commands/DisassociateApplicationFleetCommand.js +21 -28
  50. package/dist-es/commands/DisassociateApplicationFromEntitlementCommand.js +21 -28
  51. package/dist-es/commands/DisassociateFleetCommand.js +21 -28
  52. package/dist-es/commands/EnableUserCommand.js +21 -28
  53. package/dist-es/commands/ExpireSessionCommand.js +21 -28
  54. package/dist-es/commands/ListAssociatedFleetsCommand.js +21 -28
  55. package/dist-es/commands/ListAssociatedStacksCommand.js +21 -28
  56. package/dist-es/commands/ListEntitledApplicationsCommand.js +21 -28
  57. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  58. package/dist-es/commands/StartFleetCommand.js +21 -28
  59. package/dist-es/commands/StartImageBuilderCommand.js +21 -28
  60. package/dist-es/commands/StopFleetCommand.js +21 -28
  61. package/dist-es/commands/StopImageBuilderCommand.js +21 -28
  62. package/dist-es/commands/TagResourceCommand.js +21 -28
  63. package/dist-es/commands/UntagResourceCommand.js +21 -28
  64. package/dist-es/commands/UpdateApplicationCommand.js +21 -28
  65. package/dist-es/commands/UpdateDirectoryConfigCommand.js +21 -28
  66. package/dist-es/commands/UpdateEntitlementCommand.js +21 -28
  67. package/dist-es/commands/UpdateFleetCommand.js +21 -28
  68. package/dist-es/commands/UpdateImagePermissionsCommand.js +21 -28
  69. package/dist-es/commands/UpdateStackCommand.js +21 -28
  70. package/dist-es/endpoints.js +8 -8
  71. package/dist-es/models/AppStreamServiceException.js +5 -10
  72. package/dist-es/models/models_0.js +714 -353
  73. package/dist-es/pagination/DescribeImagePermissionsPaginator.js +25 -68
  74. package/dist-es/pagination/DescribeImagesPaginator.js +25 -68
  75. package/dist-es/protocols/Aws_json1_1.js +4320 -5421
  76. package/dist-es/runtimeConfig.browser.js +26 -12
  77. package/dist-es/runtimeConfig.js +30 -12
  78. package/dist-es/runtimeConfig.native.js +8 -5
  79. package/dist-es/runtimeConfig.shared.js +8 -11
  80. package/dist-es/waiters/waitForFleetStarted.js +64 -115
  81. package/dist-es/waiters/waitForFleetStopped.js +64 -115
  82. package/package.json +34 -34
@@ -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 { DescribeAppBlocksRequestFilterSensitiveLog, DescribeAppBlocksResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeAppBlocksCommand, serializeAws_json1_1DescribeAppBlocksCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeAppBlocksCommand = (function (_super) {
7
- __extends(DescribeAppBlocksCommand, _super);
8
- function DescribeAppBlocksCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAppBlocksCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAppBlocksCommand.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 = "AppStreamClient";
18
- var commandName = "DescribeAppBlocksCommand";
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 = "AppStreamClient";
15
+ const commandName = "DescribeAppBlocksCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeAppBlocksRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAppBlocksResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAppBlocksCommand.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_1DescribeAppBlocksCommand(input, context);
33
- };
34
- DescribeAppBlocksCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeAppBlocksCommand(output, context);
36
- };
37
- return DescribeAppBlocksCommand;
38
- }($Command));
39
- export { DescribeAppBlocksCommand };
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 { DescribeApplicationFleetAssociationsRequestFilterSensitiveLog, DescribeApplicationFleetAssociationsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeApplicationFleetAssociationsCommand, serializeAws_json1_1DescribeApplicationFleetAssociationsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeApplicationFleetAssociationsCommand = (function (_super) {
7
- __extends(DescribeApplicationFleetAssociationsCommand, _super);
8
- function DescribeApplicationFleetAssociationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeApplicationFleetAssociationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeApplicationFleetAssociationsCommand.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 = "AppStreamClient";
18
- var commandName = "DescribeApplicationFleetAssociationsCommand";
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 = "AppStreamClient";
15
+ const commandName = "DescribeApplicationFleetAssociationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeApplicationFleetAssociationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeApplicationFleetAssociationsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeApplicationFleetAssociationsCommand.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_1DescribeApplicationFleetAssociationsCommand(input, context);
33
- };
34
- DescribeApplicationFleetAssociationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeApplicationFleetAssociationsCommand(output, context);
36
- };
37
- return DescribeApplicationFleetAssociationsCommand;
38
- }($Command));
39
- export { DescribeApplicationFleetAssociationsCommand };
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 { DescribeApplicationsRequestFilterSensitiveLog, DescribeApplicationsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeApplicationsCommand, serializeAws_json1_1DescribeApplicationsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeApplicationsCommand = (function (_super) {
7
- __extends(DescribeApplicationsCommand, _super);
8
- function DescribeApplicationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeApplicationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeApplicationsCommand.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 = "AppStreamClient";
18
- var commandName = "DescribeApplicationsCommand";
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 = "AppStreamClient";
15
+ const commandName = "DescribeApplicationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeApplicationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeApplicationsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeApplicationsCommand.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_1DescribeApplicationsCommand(input, context);
33
- };
34
- DescribeApplicationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeApplicationsCommand(output, context);
36
- };
37
- return DescribeApplicationsCommand;
38
- }($Command));
39
- export { DescribeApplicationsCommand };
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 { DescribeDirectoryConfigsRequestFilterSensitiveLog, DescribeDirectoryConfigsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeDirectoryConfigsCommand, serializeAws_json1_1DescribeDirectoryConfigsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeDirectoryConfigsCommand = (function (_super) {
7
- __extends(DescribeDirectoryConfigsCommand, _super);
8
- function DescribeDirectoryConfigsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeDirectoryConfigsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDirectoryConfigsCommand.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 = "AppStreamClient";
18
- var commandName = "DescribeDirectoryConfigsCommand";
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 = "AppStreamClient";
15
+ const commandName = "DescribeDirectoryConfigsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeDirectoryConfigsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeDirectoryConfigsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeDirectoryConfigsCommand.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_1DescribeDirectoryConfigsCommand(input, context);
33
- };
34
- DescribeDirectoryConfigsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeDirectoryConfigsCommand(output, context);
36
- };
37
- return DescribeDirectoryConfigsCommand;
38
- }($Command));
39
- export { DescribeDirectoryConfigsCommand };
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 { DescribeEntitlementsRequestFilterSensitiveLog, DescribeEntitlementsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeEntitlementsCommand, serializeAws_json1_1DescribeEntitlementsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeEntitlementsCommand = (function (_super) {
7
- __extends(DescribeEntitlementsCommand, _super);
8
- function DescribeEntitlementsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeEntitlementsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeEntitlementsCommand.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 = "AppStreamClient";
18
- var commandName = "DescribeEntitlementsCommand";
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 = "AppStreamClient";
15
+ const commandName = "DescribeEntitlementsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeEntitlementsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeEntitlementsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeEntitlementsCommand.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_1DescribeEntitlementsCommand(input, context);
33
- };
34
- DescribeEntitlementsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeEntitlementsCommand(output, context);
36
- };
37
- return DescribeEntitlementsCommand;
38
- }($Command));
39
- export { DescribeEntitlementsCommand };
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 { DescribeFleetsRequestFilterSensitiveLog, DescribeFleetsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeFleetsCommand, serializeAws_json1_1DescribeFleetsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeFleetsCommand = (function (_super) {
7
- __extends(DescribeFleetsCommand, _super);
8
- function DescribeFleetsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeFleetsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeFleetsCommand.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 = "AppStreamClient";
18
- var commandName = "DescribeFleetsCommand";
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 = "AppStreamClient";
15
+ const commandName = "DescribeFleetsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeFleetsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeFleetsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeFleetsCommand.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_1DescribeFleetsCommand(input, context);
33
- };
34
- DescribeFleetsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeFleetsCommand(output, context);
36
- };
37
- return DescribeFleetsCommand;
38
- }($Command));
39
- export { DescribeFleetsCommand };
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 { DescribeImageBuildersRequestFilterSensitiveLog, DescribeImageBuildersResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeImageBuildersCommand, serializeAws_json1_1DescribeImageBuildersCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeImageBuildersCommand = (function (_super) {
7
- __extends(DescribeImageBuildersCommand, _super);
8
- function DescribeImageBuildersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeImageBuildersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeImageBuildersCommand.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 = "AppStreamClient";
18
- var commandName = "DescribeImageBuildersCommand";
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 = "AppStreamClient";
15
+ const commandName = "DescribeImageBuildersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeImageBuildersRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeImageBuildersResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeImageBuildersCommand.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_1DescribeImageBuildersCommand(input, context);
33
- };
34
- DescribeImageBuildersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeImageBuildersCommand(output, context);
36
- };
37
- return DescribeImageBuildersCommand;
38
- }($Command));
39
- export { DescribeImageBuildersCommand };
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 { DescribeImagePermissionsRequestFilterSensitiveLog, DescribeImagePermissionsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeImagePermissionsCommand, serializeAws_json1_1DescribeImagePermissionsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeImagePermissionsCommand = (function (_super) {
7
- __extends(DescribeImagePermissionsCommand, _super);
8
- function DescribeImagePermissionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeImagePermissionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeImagePermissionsCommand.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 = "AppStreamClient";
18
- var commandName = "DescribeImagePermissionsCommand";
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 = "AppStreamClient";
15
+ const commandName = "DescribeImagePermissionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeImagePermissionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeImagePermissionsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeImagePermissionsCommand.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_1DescribeImagePermissionsCommand(input, context);
33
- };
34
- DescribeImagePermissionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeImagePermissionsCommand(output, context);
36
- };
37
- return DescribeImagePermissionsCommand;
38
- }($Command));
39
- export { DescribeImagePermissionsCommand };
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 { DescribeImagesRequestFilterSensitiveLog, DescribeImagesResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeImagesCommand, serializeAws_json1_1DescribeImagesCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeImagesCommand = (function (_super) {
7
- __extends(DescribeImagesCommand, _super);
8
- function DescribeImagesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeImagesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeImagesCommand.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 = "AppStreamClient";
18
- var commandName = "DescribeImagesCommand";
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 = "AppStreamClient";
15
+ const commandName = "DescribeImagesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeImagesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeImagesResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeImagesCommand.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_1DescribeImagesCommand(input, context);
33
- };
34
- DescribeImagesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeImagesCommand(output, context);
36
- };
37
- return DescribeImagesCommand;
38
- }($Command));
39
- export { DescribeImagesCommand };
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 { DescribeSessionsRequestFilterSensitiveLog, DescribeSessionsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeSessionsCommand, serializeAws_json1_1DescribeSessionsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeSessionsCommand = (function (_super) {
7
- __extends(DescribeSessionsCommand, _super);
8
- function DescribeSessionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeSessionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeSessionsCommand.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 = "AppStreamClient";
18
- var commandName = "DescribeSessionsCommand";
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 = "AppStreamClient";
15
+ const commandName = "DescribeSessionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeSessionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeSessionsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeSessionsCommand.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_1DescribeSessionsCommand(input, context);
33
- };
34
- DescribeSessionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeSessionsCommand(output, context);
36
- };
37
- return DescribeSessionsCommand;
38
- }($Command));
39
- export { DescribeSessionsCommand };
31
+ }
32
+ }