@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 { CreateEntitlementRequestFilterSensitiveLog, CreateEntitlementResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateEntitlementCommand, serializeAws_json1_1CreateEntitlementCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateEntitlementCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateEntitlementCommand = (function (_super) {
7
+ __extends(CreateEntitlementCommand, _super);
8
+ function CreateEntitlementCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEntitlementCommand.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 = "CreateEntitlementCommand";
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 = "CreateEntitlementCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateEntitlementRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateEntitlementResultFilterSensitiveLog,
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
+ CreateEntitlementCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateEntitlementCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEntitlementCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateEntitlementCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEntitlementCommand;
38
+ }($Command));
39
+ export { CreateEntitlementCommand };
@@ -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 { CreateFleetRequestFilterSensitiveLog, CreateFleetResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateFleetCommand, serializeAws_json1_1CreateFleetCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateFleetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateFleetCommand = (function (_super) {
7
+ __extends(CreateFleetCommand, _super);
8
+ function CreateFleetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateFleetCommand.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 = "CreateFleetCommand";
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 = "CreateFleetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateFleetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateFleetResultFilterSensitiveLog,
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
+ CreateFleetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateFleetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFleetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateFleetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateFleetCommand;
38
+ }($Command));
39
+ export { CreateFleetCommand };
@@ -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 { CreateImageBuilderRequestFilterSensitiveLog, CreateImageBuilderResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateImageBuilderCommand, serializeAws_json1_1CreateImageBuilderCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateImageBuilderCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateImageBuilderCommand = (function (_super) {
7
+ __extends(CreateImageBuilderCommand, _super);
8
+ function CreateImageBuilderCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateImageBuilderCommand.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 = "CreateImageBuilderCommand";
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 = "CreateImageBuilderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateImageBuilderRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateImageBuilderResultFilterSensitiveLog,
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
+ CreateImageBuilderCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateImageBuilderCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateImageBuilderCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateImageBuilderCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateImageBuilderCommand;
38
+ }($Command));
39
+ export { CreateImageBuilderCommand };
@@ -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 { CreateImageBuilderStreamingURLRequestFilterSensitiveLog, CreateImageBuilderStreamingURLResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateImageBuilderStreamingURLCommand, serializeAws_json1_1CreateImageBuilderStreamingURLCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateImageBuilderStreamingURLCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateImageBuilderStreamingURLCommand = (function (_super) {
7
+ __extends(CreateImageBuilderStreamingURLCommand, _super);
8
+ function CreateImageBuilderStreamingURLCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateImageBuilderStreamingURLCommand.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 = "CreateImageBuilderStreamingURLCommand";
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 = "CreateImageBuilderStreamingURLCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateImageBuilderStreamingURLRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateImageBuilderStreamingURLResultFilterSensitiveLog,
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
+ CreateImageBuilderStreamingURLCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateImageBuilderStreamingURLCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateImageBuilderStreamingURLCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateImageBuilderStreamingURLCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateImageBuilderStreamingURLCommand;
38
+ }($Command));
39
+ export { CreateImageBuilderStreamingURLCommand };
@@ -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 { CreateStackRequestFilterSensitiveLog, CreateStackResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateStackCommand, serializeAws_json1_1CreateStackCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateStackCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateStackCommand = (function (_super) {
7
+ __extends(CreateStackCommand, _super);
8
+ function CreateStackCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateStackCommand.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 = "CreateStackCommand";
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 = "CreateStackCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateStackRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateStackResultFilterSensitiveLog,
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
+ CreateStackCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateStackCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateStackCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateStackCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateStackCommand;
38
+ }($Command));
39
+ export { CreateStackCommand };
@@ -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 { CreateStreamingURLRequestFilterSensitiveLog, CreateStreamingURLResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateStreamingURLCommand, serializeAws_json1_1CreateStreamingURLCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateStreamingURLCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateStreamingURLCommand = (function (_super) {
7
+ __extends(CreateStreamingURLCommand, _super);
8
+ function CreateStreamingURLCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateStreamingURLCommand.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 = "CreateStreamingURLCommand";
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 = "CreateStreamingURLCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateStreamingURLRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateStreamingURLResultFilterSensitiveLog,
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
+ CreateStreamingURLCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateStreamingURLCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateStreamingURLCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateStreamingURLCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateStreamingURLCommand;
38
+ }($Command));
39
+ export { CreateStreamingURLCommand };
@@ -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 { CreateUpdatedImageRequestFilterSensitiveLog, CreateUpdatedImageResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateUpdatedImageCommand, serializeAws_json1_1CreateUpdatedImageCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateUpdatedImageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateUpdatedImageCommand = (function (_super) {
7
+ __extends(CreateUpdatedImageCommand, _super);
8
+ function CreateUpdatedImageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateUpdatedImageCommand.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 = "CreateUpdatedImageCommand";
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 = "CreateUpdatedImageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateUpdatedImageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateUpdatedImageResultFilterSensitiveLog,
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
+ CreateUpdatedImageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateUpdatedImageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateUpdatedImageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateUpdatedImageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateUpdatedImageCommand;
38
+ }($Command));
39
+ export { CreateUpdatedImageCommand };
@@ -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 { CreateUsageReportSubscriptionRequestFilterSensitiveLog, CreateUsageReportSubscriptionResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateUsageReportSubscriptionCommand, serializeAws_json1_1CreateUsageReportSubscriptionCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateUsageReportSubscriptionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateUsageReportSubscriptionCommand = (function (_super) {
7
+ __extends(CreateUsageReportSubscriptionCommand, _super);
8
+ function CreateUsageReportSubscriptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateUsageReportSubscriptionCommand.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 = "CreateUsageReportSubscriptionCommand";
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 = "CreateUsageReportSubscriptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateUsageReportSubscriptionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateUsageReportSubscriptionResultFilterSensitiveLog,
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
+ CreateUsageReportSubscriptionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateUsageReportSubscriptionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateUsageReportSubscriptionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateUsageReportSubscriptionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateUsageReportSubscriptionCommand;
38
+ }($Command));
39
+ export { CreateUsageReportSubscriptionCommand };
@@ -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 { CreateUserRequestFilterSensitiveLog, CreateUserResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateUserCommand, serializeAws_json1_1CreateUserCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateUserCommand = (function (_super) {
7
+ __extends(CreateUserCommand, _super);
8
+ function CreateUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateUserCommand.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 = "CreateUserCommand";
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 = "CreateUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateUserResultFilterSensitiveLog,
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
+ CreateUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateUserCommand;
38
+ }($Command));
39
+ export { CreateUserCommand };
@@ -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 { DeleteAppBlockRequestFilterSensitiveLog, DeleteAppBlockResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteAppBlockCommand, serializeAws_json1_1DeleteAppBlockCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteAppBlockCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteAppBlockCommand = (function (_super) {
7
+ __extends(DeleteAppBlockCommand, _super);
8
+ function DeleteAppBlockCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteAppBlockCommand.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 = "DeleteAppBlockCommand";
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 = "DeleteAppBlockCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteAppBlockRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteAppBlockResultFilterSensitiveLog,
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
+ DeleteAppBlockCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteAppBlockCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteAppBlockCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteAppBlockCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteAppBlockCommand;
38
+ }($Command));
39
+ export { DeleteAppBlockCommand };