@aws-sdk/client-appstream 3.181.0 → 3.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/AppStream.js +262 -269
  3. package/dist-es/AppStreamClient.js +22 -28
  4. package/dist-es/commands/AssociateApplicationFleetCommand.js +21 -28
  5. package/dist-es/commands/AssociateApplicationToEntitlementCommand.js +21 -28
  6. package/dist-es/commands/AssociateFleetCommand.js +21 -28
  7. package/dist-es/commands/BatchAssociateUserStackCommand.js +21 -28
  8. package/dist-es/commands/BatchDisassociateUserStackCommand.js +21 -28
  9. package/dist-es/commands/CopyImageCommand.js +21 -28
  10. package/dist-es/commands/CreateAppBlockCommand.js +21 -28
  11. package/dist-es/commands/CreateApplicationCommand.js +21 -28
  12. package/dist-es/commands/CreateDirectoryConfigCommand.js +21 -28
  13. package/dist-es/commands/CreateEntitlementCommand.js +21 -28
  14. package/dist-es/commands/CreateFleetCommand.js +21 -28
  15. package/dist-es/commands/CreateImageBuilderCommand.js +21 -28
  16. package/dist-es/commands/CreateImageBuilderStreamingURLCommand.js +21 -28
  17. package/dist-es/commands/CreateStackCommand.js +21 -28
  18. package/dist-es/commands/CreateStreamingURLCommand.js +21 -28
  19. package/dist-es/commands/CreateUpdatedImageCommand.js +21 -28
  20. package/dist-es/commands/CreateUsageReportSubscriptionCommand.js +21 -28
  21. package/dist-es/commands/CreateUserCommand.js +21 -28
  22. package/dist-es/commands/DeleteAppBlockCommand.js +21 -28
  23. package/dist-es/commands/DeleteApplicationCommand.js +21 -28
  24. package/dist-es/commands/DeleteDirectoryConfigCommand.js +21 -28
  25. package/dist-es/commands/DeleteEntitlementCommand.js +21 -28
  26. package/dist-es/commands/DeleteFleetCommand.js +21 -28
  27. package/dist-es/commands/DeleteImageBuilderCommand.js +21 -28
  28. package/dist-es/commands/DeleteImageCommand.js +21 -28
  29. package/dist-es/commands/DeleteImagePermissionsCommand.js +21 -28
  30. package/dist-es/commands/DeleteStackCommand.js +21 -28
  31. package/dist-es/commands/DeleteUsageReportSubscriptionCommand.js +21 -28
  32. package/dist-es/commands/DeleteUserCommand.js +21 -28
  33. package/dist-es/commands/DescribeAppBlocksCommand.js +21 -28
  34. package/dist-es/commands/DescribeApplicationFleetAssociationsCommand.js +21 -28
  35. package/dist-es/commands/DescribeApplicationsCommand.js +21 -28
  36. package/dist-es/commands/DescribeDirectoryConfigsCommand.js +21 -28
  37. package/dist-es/commands/DescribeEntitlementsCommand.js +21 -28
  38. package/dist-es/commands/DescribeFleetsCommand.js +21 -28
  39. package/dist-es/commands/DescribeImageBuildersCommand.js +21 -28
  40. package/dist-es/commands/DescribeImagePermissionsCommand.js +21 -28
  41. package/dist-es/commands/DescribeImagesCommand.js +21 -28
  42. package/dist-es/commands/DescribeSessionsCommand.js +21 -28
  43. package/dist-es/commands/DescribeStacksCommand.js +21 -28
  44. package/dist-es/commands/DescribeUsageReportSubscriptionsCommand.js +21 -28
  45. package/dist-es/commands/DescribeUserStackAssociationsCommand.js +21 -28
  46. package/dist-es/commands/DescribeUsersCommand.js +21 -28
  47. package/dist-es/commands/DisableUserCommand.js +21 -28
  48. package/dist-es/commands/DisassociateApplicationFleetCommand.js +21 -28
  49. package/dist-es/commands/DisassociateApplicationFromEntitlementCommand.js +21 -28
  50. package/dist-es/commands/DisassociateFleetCommand.js +21 -28
  51. package/dist-es/commands/EnableUserCommand.js +21 -28
  52. package/dist-es/commands/ExpireSessionCommand.js +21 -28
  53. package/dist-es/commands/ListAssociatedFleetsCommand.js +21 -28
  54. package/dist-es/commands/ListAssociatedStacksCommand.js +21 -28
  55. package/dist-es/commands/ListEntitledApplicationsCommand.js +21 -28
  56. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  57. package/dist-es/commands/StartFleetCommand.js +21 -28
  58. package/dist-es/commands/StartImageBuilderCommand.js +21 -28
  59. package/dist-es/commands/StopFleetCommand.js +21 -28
  60. package/dist-es/commands/StopImageBuilderCommand.js +21 -28
  61. package/dist-es/commands/TagResourceCommand.js +21 -28
  62. package/dist-es/commands/UntagResourceCommand.js +21 -28
  63. package/dist-es/commands/UpdateApplicationCommand.js +21 -28
  64. package/dist-es/commands/UpdateDirectoryConfigCommand.js +21 -28
  65. package/dist-es/commands/UpdateEntitlementCommand.js +21 -28
  66. package/dist-es/commands/UpdateFleetCommand.js +21 -28
  67. package/dist-es/commands/UpdateImagePermissionsCommand.js +21 -28
  68. package/dist-es/commands/UpdateStackCommand.js +21 -28
  69. package/dist-es/endpoints.js +8 -8
  70. package/dist-es/models/AppStreamServiceException.js +5 -10
  71. package/dist-es/models/models_0.js +714 -353
  72. package/dist-es/pagination/DescribeImagePermissionsPaginator.js +25 -68
  73. package/dist-es/pagination/DescribeImagesPaginator.js +25 -68
  74. package/dist-es/protocols/Aws_json1_1.js +4320 -5434
  75. package/dist-es/runtimeConfig.browser.js +26 -12
  76. package/dist-es/runtimeConfig.js +30 -12
  77. package/dist-es/runtimeConfig.native.js +8 -5
  78. package/dist-es/runtimeConfig.shared.js +8 -11
  79. package/dist-es/waiters/waitForFleetStarted.js +64 -115
  80. package/dist-es/waiters/waitForFleetStopped.js +64 -115
  81. 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 { DeleteApplicationRequestFilterSensitiveLog, DeleteApplicationResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteApplicationCommand, serializeAws_json1_1DeleteApplicationCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteApplicationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteApplicationCommand.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 = "DeleteApplicationCommand";
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 = "DeleteApplicationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteApplicationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteApplicationResultFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteApplicationCommand(input, context);
33
- };
34
- DeleteApplicationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteApplicationCommand(output, context);
36
- };
37
- return DeleteApplicationCommand;
38
- }($Command));
39
- export { DeleteApplicationCommand };
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 { DeleteDirectoryConfigRequestFilterSensitiveLog, DeleteDirectoryConfigResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteDirectoryConfigCommand, serializeAws_json1_1DeleteDirectoryConfigCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteDirectoryConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDirectoryConfigCommand.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 = "DeleteDirectoryConfigCommand";
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 = "DeleteDirectoryConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteDirectoryConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteDirectoryConfigResultFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteDirectoryConfigCommand(input, context);
33
- };
34
- DeleteDirectoryConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteDirectoryConfigCommand(output, context);
36
- };
37
- return DeleteDirectoryConfigCommand;
38
- }($Command));
39
- export { DeleteDirectoryConfigCommand };
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 { DeleteEntitlementRequestFilterSensitiveLog, DeleteEntitlementResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteEntitlementCommand, serializeAws_json1_1DeleteEntitlementCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteEntitlementCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteEntitlementCommand.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 = "DeleteEntitlementCommand";
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 = "DeleteEntitlementCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteEntitlementRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteEntitlementResultFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteEntitlementCommand(input, context);
33
- };
34
- DeleteEntitlementCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteEntitlementCommand(output, context);
36
- };
37
- return DeleteEntitlementCommand;
38
- }($Command));
39
- export { DeleteEntitlementCommand };
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 { DeleteFleetRequestFilterSensitiveLog, DeleteFleetResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteFleetCommand, serializeAws_json1_1DeleteFleetCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteFleetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteFleetCommand.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 = "DeleteFleetCommand";
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 = "DeleteFleetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteFleetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteFleetResultFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteFleetCommand(input, context);
33
- };
34
- DeleteFleetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteFleetCommand(output, context);
36
- };
37
- return DeleteFleetCommand;
38
- }($Command));
39
- export { DeleteFleetCommand };
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 { DeleteImageBuilderRequestFilterSensitiveLog, DeleteImageBuilderResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteImageBuilderCommand, serializeAws_json1_1DeleteImageBuilderCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteImageBuilderCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteImageBuilderCommand.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 = "DeleteImageBuilderCommand";
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 = "DeleteImageBuilderCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteImageBuilderRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteImageBuilderResultFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteImageBuilderCommand(input, context);
33
- };
34
- DeleteImageBuilderCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteImageBuilderCommand(output, context);
36
- };
37
- return DeleteImageBuilderCommand;
38
- }($Command));
39
- export { DeleteImageBuilderCommand };
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 { DeleteImageRequestFilterSensitiveLog, DeleteImageResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteImageCommand, serializeAws_json1_1DeleteImageCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteImageCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteImageCommand.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 = "DeleteImageCommand";
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 = "DeleteImageCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteImageRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteImageResultFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteImageCommand(input, context);
33
- };
34
- DeleteImageCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteImageCommand(output, context);
36
- };
37
- return DeleteImageCommand;
38
- }($Command));
39
- export { DeleteImageCommand };
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 { DeleteImagePermissionsRequestFilterSensitiveLog, DeleteImagePermissionsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteImagePermissionsCommand, serializeAws_json1_1DeleteImagePermissionsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteImagePermissionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteImagePermissionsCommand.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 = "DeleteImagePermissionsCommand";
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 = "DeleteImagePermissionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteImagePermissionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteImagePermissionsResultFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteImagePermissionsCommand(input, context);
33
- };
34
- DeleteImagePermissionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteImagePermissionsCommand(output, context);
36
- };
37
- return DeleteImagePermissionsCommand;
38
- }($Command));
39
- export { DeleteImagePermissionsCommand };
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 { DeleteStackRequestFilterSensitiveLog, DeleteStackResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteStackCommand, serializeAws_json1_1DeleteStackCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteStackCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteStackCommand.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 = "DeleteStackCommand";
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 = "DeleteStackCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteStackRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteStackResultFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteStackCommand(input, context);
33
- };
34
- DeleteStackCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteStackCommand(output, context);
36
- };
37
- return DeleteStackCommand;
38
- }($Command));
39
- export { DeleteStackCommand };
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 { DeleteUsageReportSubscriptionRequestFilterSensitiveLog, DeleteUsageReportSubscriptionResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteUsageReportSubscriptionCommand, serializeAws_json1_1DeleteUsageReportSubscriptionCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteUsageReportSubscriptionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteUsageReportSubscriptionCommand.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 = "DeleteUsageReportSubscriptionCommand";
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 = "DeleteUsageReportSubscriptionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteUsageReportSubscriptionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteUsageReportSubscriptionResultFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteUsageReportSubscriptionCommand(input, context);
33
- };
34
- DeleteUsageReportSubscriptionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteUsageReportSubscriptionCommand(output, context);
36
- };
37
- return DeleteUsageReportSubscriptionCommand;
38
- }($Command));
39
- export { DeleteUsageReportSubscriptionCommand };
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 { DeleteUserRequestFilterSensitiveLog, DeleteUserResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteUserCommand, serializeAws_json1_1DeleteUserCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DeleteUserCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteUserCommand.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 = "DeleteUserCommand";
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 = "DeleteUserCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteUserRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteUserResultFilterSensitiveLog,
25
22
  };
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) {
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_1DeleteUserCommand(input, context);
33
- };
34
- DeleteUserCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteUserCommand(output, context);
36
- };
37
- return DeleteUserCommand;
38
- }($Command));
39
- export { DeleteUserCommand };
31
+ }
32
+ }