@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 { DeleteApplicationRequestFilterSensitiveLog, DeleteApplicationResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteApplicationCommand, serializeAws_json1_1DeleteApplicationCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteApplicationCommand = (function (_super) {
7
+ __extends(DeleteApplicationCommand, _super);
8
+ function DeleteApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteApplicationCommand.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 = "DeleteApplicationCommand";
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 = "DeleteApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteApplicationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteApplicationResultFilterSensitiveLog,
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
+ DeleteApplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteApplicationCommand;
38
+ }($Command));
39
+ export { DeleteApplicationCommand };
@@ -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 { DeleteDirectoryConfigRequestFilterSensitiveLog, DeleteDirectoryConfigResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteDirectoryConfigCommand, serializeAws_json1_1DeleteDirectoryConfigCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteDirectoryConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDirectoryConfigCommand = (function (_super) {
7
+ __extends(DeleteDirectoryConfigCommand, _super);
8
+ function DeleteDirectoryConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDirectoryConfigCommand.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 = "DeleteDirectoryConfigCommand";
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 = "DeleteDirectoryConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDirectoryConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDirectoryConfigResultFilterSensitiveLog,
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
+ DeleteDirectoryConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteDirectoryConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDirectoryConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteDirectoryConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDirectoryConfigCommand;
38
+ }($Command));
39
+ export { DeleteDirectoryConfigCommand };
@@ -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 { DeleteEntitlementRequestFilterSensitiveLog, DeleteEntitlementResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteEntitlementCommand, serializeAws_json1_1DeleteEntitlementCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteEntitlementCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteEntitlementCommand = (function (_super) {
7
+ __extends(DeleteEntitlementCommand, _super);
8
+ function DeleteEntitlementCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEntitlementCommand.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 = "DeleteEntitlementCommand";
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 = "DeleteEntitlementCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEntitlementRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteEntitlementResultFilterSensitiveLog,
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
+ DeleteEntitlementCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteEntitlementCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEntitlementCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteEntitlementCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEntitlementCommand;
38
+ }($Command));
39
+ export { DeleteEntitlementCommand };
@@ -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 { DeleteFleetRequestFilterSensitiveLog, DeleteFleetResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteFleetCommand, serializeAws_json1_1DeleteFleetCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteFleetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteFleetCommand = (function (_super) {
7
+ __extends(DeleteFleetCommand, _super);
8
+ function DeleteFleetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteFleetCommand.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 = "DeleteFleetCommand";
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 = "DeleteFleetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteFleetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteFleetResultFilterSensitiveLog,
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
+ DeleteFleetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteFleetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteFleetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteFleetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteFleetCommand;
38
+ }($Command));
39
+ export { DeleteFleetCommand };
@@ -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 { DeleteImageBuilderRequestFilterSensitiveLog, DeleteImageBuilderResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteImageBuilderCommand, serializeAws_json1_1DeleteImageBuilderCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteImageBuilderCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteImageBuilderCommand = (function (_super) {
7
+ __extends(DeleteImageBuilderCommand, _super);
8
+ function DeleteImageBuilderCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteImageBuilderCommand.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 = "DeleteImageBuilderCommand";
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 = "DeleteImageBuilderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteImageBuilderRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteImageBuilderResultFilterSensitiveLog,
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
+ DeleteImageBuilderCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteImageBuilderCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteImageBuilderCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteImageBuilderCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteImageBuilderCommand;
38
+ }($Command));
39
+ export { DeleteImageBuilderCommand };
@@ -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 { DeleteImageRequestFilterSensitiveLog, DeleteImageResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteImageCommand, serializeAws_json1_1DeleteImageCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteImageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteImageCommand = (function (_super) {
7
+ __extends(DeleteImageCommand, _super);
8
+ function DeleteImageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteImageCommand.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 = "DeleteImageCommand";
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 = "DeleteImageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteImageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteImageResultFilterSensitiveLog,
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
+ DeleteImageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteImageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteImageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteImageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteImageCommand;
38
+ }($Command));
39
+ export { DeleteImageCommand };
@@ -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 { DeleteImagePermissionsRequestFilterSensitiveLog, DeleteImagePermissionsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteImagePermissionsCommand, serializeAws_json1_1DeleteImagePermissionsCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteImagePermissionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteImagePermissionsCommand = (function (_super) {
7
+ __extends(DeleteImagePermissionsCommand, _super);
8
+ function DeleteImagePermissionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteImagePermissionsCommand.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 = "DeleteImagePermissionsCommand";
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 = "DeleteImagePermissionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteImagePermissionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteImagePermissionsResultFilterSensitiveLog,
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
+ DeleteImagePermissionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteImagePermissionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteImagePermissionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteImagePermissionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteImagePermissionsCommand;
38
+ }($Command));
39
+ export { DeleteImagePermissionsCommand };
@@ -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 { DeleteStackRequestFilterSensitiveLog, DeleteStackResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteStackCommand, serializeAws_json1_1DeleteStackCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteStackCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteStackCommand = (function (_super) {
7
+ __extends(DeleteStackCommand, _super);
8
+ function DeleteStackCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteStackCommand.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 = "DeleteStackCommand";
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 = "DeleteStackCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteStackRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteStackResultFilterSensitiveLog,
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
+ DeleteStackCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteStackCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteStackCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteStackCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteStackCommand;
38
+ }($Command));
39
+ export { DeleteStackCommand };
@@ -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 { DeleteUsageReportSubscriptionRequestFilterSensitiveLog, DeleteUsageReportSubscriptionResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteUsageReportSubscriptionCommand, serializeAws_json1_1DeleteUsageReportSubscriptionCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteUsageReportSubscriptionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteUsageReportSubscriptionCommand = (function (_super) {
7
+ __extends(DeleteUsageReportSubscriptionCommand, _super);
8
+ function DeleteUsageReportSubscriptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteUsageReportSubscriptionCommand.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 = "DeleteUsageReportSubscriptionCommand";
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 = "DeleteUsageReportSubscriptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteUsageReportSubscriptionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteUsageReportSubscriptionResultFilterSensitiveLog,
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
+ DeleteUsageReportSubscriptionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteUsageReportSubscriptionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteUsageReportSubscriptionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteUsageReportSubscriptionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteUsageReportSubscriptionCommand;
38
+ }($Command));
39
+ export { DeleteUsageReportSubscriptionCommand };
@@ -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 { DeleteUserRequestFilterSensitiveLog, DeleteUserResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteUserCommand, serializeAws_json1_1DeleteUserCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteUserCommand = (function (_super) {
7
+ __extends(DeleteUserCommand, _super);
8
+ function DeleteUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteUserCommand.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 = "DeleteUserCommand";
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 = "DeleteUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteUserRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteUserResultFilterSensitiveLog,
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
+ DeleteUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteUserCommand;
38
+ }($Command));
39
+ export { DeleteUserCommand };