@aws-sdk/client-workspaces-web 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 (64) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/WorkSpacesWeb.js +185 -178
  4. package/dist-es/WorkSpacesWebClient.js +28 -22
  5. package/dist-es/commands/AssociateBrowserSettingsCommand.js +28 -21
  6. package/dist-es/commands/AssociateNetworkSettingsCommand.js +28 -21
  7. package/dist-es/commands/AssociateTrustStoreCommand.js +28 -21
  8. package/dist-es/commands/AssociateUserSettingsCommand.js +28 -21
  9. package/dist-es/commands/CreateBrowserSettingsCommand.js +28 -21
  10. package/dist-es/commands/CreateIdentityProviderCommand.js +28 -21
  11. package/dist-es/commands/CreateNetworkSettingsCommand.js +28 -21
  12. package/dist-es/commands/CreatePortalCommand.js +28 -21
  13. package/dist-es/commands/CreateTrustStoreCommand.js +28 -21
  14. package/dist-es/commands/CreateUserSettingsCommand.js +28 -21
  15. package/dist-es/commands/DeleteBrowserSettingsCommand.js +28 -21
  16. package/dist-es/commands/DeleteIdentityProviderCommand.js +28 -21
  17. package/dist-es/commands/DeleteNetworkSettingsCommand.js +28 -21
  18. package/dist-es/commands/DeletePortalCommand.js +28 -21
  19. package/dist-es/commands/DeleteTrustStoreCommand.js +28 -21
  20. package/dist-es/commands/DeleteUserSettingsCommand.js +28 -21
  21. package/dist-es/commands/DisassociateBrowserSettingsCommand.js +28 -21
  22. package/dist-es/commands/DisassociateNetworkSettingsCommand.js +28 -21
  23. package/dist-es/commands/DisassociateTrustStoreCommand.js +28 -21
  24. package/dist-es/commands/DisassociateUserSettingsCommand.js +28 -21
  25. package/dist-es/commands/GetBrowserSettingsCommand.js +28 -21
  26. package/dist-es/commands/GetIdentityProviderCommand.js +28 -21
  27. package/dist-es/commands/GetNetworkSettingsCommand.js +28 -21
  28. package/dist-es/commands/GetPortalCommand.js +28 -21
  29. package/dist-es/commands/GetPortalServiceProviderMetadataCommand.js +28 -21
  30. package/dist-es/commands/GetTrustStoreCertificateCommand.js +28 -21
  31. package/dist-es/commands/GetTrustStoreCommand.js +28 -21
  32. package/dist-es/commands/GetUserSettingsCommand.js +28 -21
  33. package/dist-es/commands/ListBrowserSettingsCommand.js +28 -21
  34. package/dist-es/commands/ListIdentityProvidersCommand.js +28 -21
  35. package/dist-es/commands/ListNetworkSettingsCommand.js +28 -21
  36. package/dist-es/commands/ListPortalsCommand.js +28 -21
  37. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  38. package/dist-es/commands/ListTrustStoreCertificatesCommand.js +28 -21
  39. package/dist-es/commands/ListTrustStoresCommand.js +28 -21
  40. package/dist-es/commands/ListUserSettingsCommand.js +28 -21
  41. package/dist-es/commands/TagResourceCommand.js +28 -21
  42. package/dist-es/commands/UntagResourceCommand.js +28 -21
  43. package/dist-es/commands/UpdateBrowserSettingsCommand.js +28 -21
  44. package/dist-es/commands/UpdateIdentityProviderCommand.js +28 -21
  45. package/dist-es/commands/UpdateNetworkSettingsCommand.js +28 -21
  46. package/dist-es/commands/UpdatePortalCommand.js +28 -21
  47. package/dist-es/commands/UpdateTrustStoreCommand.js +28 -21
  48. package/dist-es/commands/UpdateUserSettingsCommand.js +28 -21
  49. package/dist-es/endpoints.js +8 -8
  50. package/dist-es/models/WorkSpacesWebServiceException.js +10 -5
  51. package/dist-es/models/models_0.js +210 -449
  52. package/dist-es/pagination/ListBrowserSettingsPaginator.js +68 -25
  53. package/dist-es/pagination/ListIdentityProvidersPaginator.js +68 -25
  54. package/dist-es/pagination/ListNetworkSettingsPaginator.js +68 -25
  55. package/dist-es/pagination/ListPortalsPaginator.js +68 -25
  56. package/dist-es/pagination/ListTrustStoreCertificatesPaginator.js +68 -25
  57. package/dist-es/pagination/ListTrustStoresPaginator.js +68 -25
  58. package/dist-es/pagination/ListUserSettingsPaginator.js +68 -25
  59. package/dist-es/protocols/Aws_restJson1.js +4468 -3076
  60. package/dist-es/runtimeConfig.browser.js +12 -26
  61. package/dist-es/runtimeConfig.js +12 -30
  62. package/dist-es/runtimeConfig.native.js +5 -8
  63. package/dist-es/runtimeConfig.shared.js +11 -8
  64. 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 { ListIdentityProvidersRequestFilterSensitiveLog, ListIdentityProvidersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListIdentityProvidersCommand, serializeAws_restJson1ListIdentityProvidersCommand, } from "../protocols/Aws_restJson1";
5
- export class ListIdentityProvidersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListIdentityProvidersCommand = (function (_super) {
7
+ __extends(ListIdentityProvidersCommand, _super);
8
+ function ListIdentityProvidersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListIdentityProvidersCommand.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 = "WorkSpacesWebClient";
15
- const commandName = "ListIdentityProvidersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkSpacesWebClient";
18
+ var commandName = "ListIdentityProvidersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListIdentityProvidersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListIdentityProvidersResponseFilterSensitiveLog,
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
+ ListIdentityProvidersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListIdentityProvidersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListIdentityProvidersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListIdentityProvidersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListIdentityProvidersCommand;
38
+ }($Command));
39
+ export { ListIdentityProvidersCommand };
@@ -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 { ListNetworkSettingsRequestFilterSensitiveLog, ListNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListNetworkSettingsCommand, serializeAws_restJson1ListNetworkSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListNetworkSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListNetworkSettingsCommand = (function (_super) {
7
+ __extends(ListNetworkSettingsCommand, _super);
8
+ function ListNetworkSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListNetworkSettingsCommand.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 = "WorkSpacesWebClient";
15
- const commandName = "ListNetworkSettingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkSpacesWebClient";
18
+ var commandName = "ListNetworkSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListNetworkSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListNetworkSettingsResponseFilterSensitiveLog,
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
+ ListNetworkSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListNetworkSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListNetworkSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListNetworkSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListNetworkSettingsCommand;
38
+ }($Command));
39
+ export { ListNetworkSettingsCommand };
@@ -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 { ListPortalsRequestFilterSensitiveLog, ListPortalsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPortalsCommand, serializeAws_restJson1ListPortalsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPortalsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPortalsCommand = (function (_super) {
7
+ __extends(ListPortalsCommand, _super);
8
+ function ListPortalsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPortalsCommand.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 = "WorkSpacesWebClient";
15
- const commandName = "ListPortalsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkSpacesWebClient";
18
+ var commandName = "ListPortalsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPortalsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPortalsResponseFilterSensitiveLog,
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
+ ListPortalsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPortalsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPortalsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPortalsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPortalsCommand;
38
+ }($Command));
39
+ export { ListPortalsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkSpacesWebClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkSpacesWebClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTrustStoreCertificatesRequestFilterSensitiveLog, ListTrustStoreCertificatesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTrustStoreCertificatesCommand, serializeAws_restJson1ListTrustStoreCertificatesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTrustStoreCertificatesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTrustStoreCertificatesCommand = (function (_super) {
7
+ __extends(ListTrustStoreCertificatesCommand, _super);
8
+ function ListTrustStoreCertificatesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTrustStoreCertificatesCommand.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 = "WorkSpacesWebClient";
15
- const commandName = "ListTrustStoreCertificatesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkSpacesWebClient";
18
+ var commandName = "ListTrustStoreCertificatesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTrustStoreCertificatesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTrustStoreCertificatesResponseFilterSensitiveLog,
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
+ ListTrustStoreCertificatesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTrustStoreCertificatesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTrustStoreCertificatesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTrustStoreCertificatesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTrustStoreCertificatesCommand;
38
+ }($Command));
39
+ export { ListTrustStoreCertificatesCommand };
@@ -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 { ListTrustStoresRequestFilterSensitiveLog, ListTrustStoresResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTrustStoresCommand, serializeAws_restJson1ListTrustStoresCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTrustStoresCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTrustStoresCommand = (function (_super) {
7
+ __extends(ListTrustStoresCommand, _super);
8
+ function ListTrustStoresCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTrustStoresCommand.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 = "WorkSpacesWebClient";
15
- const commandName = "ListTrustStoresCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkSpacesWebClient";
18
+ var commandName = "ListTrustStoresCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTrustStoresRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTrustStoresResponseFilterSensitiveLog,
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
+ ListTrustStoresCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTrustStoresCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTrustStoresCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTrustStoresCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTrustStoresCommand;
38
+ }($Command));
39
+ export { ListTrustStoresCommand };
@@ -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 { ListUserSettingsRequestFilterSensitiveLog, ListUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListUserSettingsCommand, serializeAws_restJson1ListUserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListUserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListUserSettingsCommand = (function (_super) {
7
+ __extends(ListUserSettingsCommand, _super);
8
+ function ListUserSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListUserSettingsCommand.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 = "WorkSpacesWebClient";
15
- const commandName = "ListUserSettingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkSpacesWebClient";
18
+ var commandName = "ListUserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListUserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListUserSettingsResponseFilterSensitiveLog,
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
+ ListUserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListUserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListUserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListUserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListUserSettingsCommand;
38
+ }($Command));
39
+ export { ListUserSettingsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkSpacesWebClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkSpacesWebClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkSpacesWebClient";
15
- const commandName = "UntagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkSpacesWebClient";
18
+ var commandName = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -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 { UpdateBrowserSettingsRequestFilterSensitiveLog, UpdateBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateBrowserSettingsCommand, serializeAws_restJson1UpdateBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateBrowserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateBrowserSettingsCommand = (function (_super) {
7
+ __extends(UpdateBrowserSettingsCommand, _super);
8
+ function UpdateBrowserSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateBrowserSettingsCommand.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 = "WorkSpacesWebClient";
15
- const commandName = "UpdateBrowserSettingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkSpacesWebClient";
18
+ var commandName = "UpdateBrowserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateBrowserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateBrowserSettingsResponseFilterSensitiveLog,
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
+ UpdateBrowserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateBrowserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateBrowserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateBrowserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateBrowserSettingsCommand;
38
+ }($Command));
39
+ export { UpdateBrowserSettingsCommand };