@aws-sdk/client-workspaces-web 3.186.0 → 3.188.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 (63) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/WorkSpacesWeb.js +178 -185
  3. package/dist-es/WorkSpacesWebClient.js +22 -28
  4. package/dist-es/commands/AssociateBrowserSettingsCommand.js +21 -28
  5. package/dist-es/commands/AssociateNetworkSettingsCommand.js +21 -28
  6. package/dist-es/commands/AssociateTrustStoreCommand.js +21 -28
  7. package/dist-es/commands/AssociateUserSettingsCommand.js +21 -28
  8. package/dist-es/commands/CreateBrowserSettingsCommand.js +21 -28
  9. package/dist-es/commands/CreateIdentityProviderCommand.js +21 -28
  10. package/dist-es/commands/CreateNetworkSettingsCommand.js +21 -28
  11. package/dist-es/commands/CreatePortalCommand.js +21 -28
  12. package/dist-es/commands/CreateTrustStoreCommand.js +21 -28
  13. package/dist-es/commands/CreateUserSettingsCommand.js +21 -28
  14. package/dist-es/commands/DeleteBrowserSettingsCommand.js +21 -28
  15. package/dist-es/commands/DeleteIdentityProviderCommand.js +21 -28
  16. package/dist-es/commands/DeleteNetworkSettingsCommand.js +21 -28
  17. package/dist-es/commands/DeletePortalCommand.js +21 -28
  18. package/dist-es/commands/DeleteTrustStoreCommand.js +21 -28
  19. package/dist-es/commands/DeleteUserSettingsCommand.js +21 -28
  20. package/dist-es/commands/DisassociateBrowserSettingsCommand.js +21 -28
  21. package/dist-es/commands/DisassociateNetworkSettingsCommand.js +21 -28
  22. package/dist-es/commands/DisassociateTrustStoreCommand.js +21 -28
  23. package/dist-es/commands/DisassociateUserSettingsCommand.js +21 -28
  24. package/dist-es/commands/GetBrowserSettingsCommand.js +21 -28
  25. package/dist-es/commands/GetIdentityProviderCommand.js +21 -28
  26. package/dist-es/commands/GetNetworkSettingsCommand.js +21 -28
  27. package/dist-es/commands/GetPortalCommand.js +21 -28
  28. package/dist-es/commands/GetPortalServiceProviderMetadataCommand.js +21 -28
  29. package/dist-es/commands/GetTrustStoreCertificateCommand.js +21 -28
  30. package/dist-es/commands/GetTrustStoreCommand.js +21 -28
  31. package/dist-es/commands/GetUserSettingsCommand.js +21 -28
  32. package/dist-es/commands/ListBrowserSettingsCommand.js +21 -28
  33. package/dist-es/commands/ListIdentityProvidersCommand.js +21 -28
  34. package/dist-es/commands/ListNetworkSettingsCommand.js +21 -28
  35. package/dist-es/commands/ListPortalsCommand.js +21 -28
  36. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  37. package/dist-es/commands/ListTrustStoreCertificatesCommand.js +21 -28
  38. package/dist-es/commands/ListTrustStoresCommand.js +21 -28
  39. package/dist-es/commands/ListUserSettingsCommand.js +21 -28
  40. package/dist-es/commands/TagResourceCommand.js +21 -28
  41. package/dist-es/commands/UntagResourceCommand.js +21 -28
  42. package/dist-es/commands/UpdateBrowserSettingsCommand.js +21 -28
  43. package/dist-es/commands/UpdateIdentityProviderCommand.js +21 -28
  44. package/dist-es/commands/UpdateNetworkSettingsCommand.js +21 -28
  45. package/dist-es/commands/UpdatePortalCommand.js +21 -28
  46. package/dist-es/commands/UpdateTrustStoreCommand.js +21 -28
  47. package/dist-es/commands/UpdateUserSettingsCommand.js +21 -28
  48. package/dist-es/endpoints.js +8 -8
  49. package/dist-es/models/WorkSpacesWebServiceException.js +5 -10
  50. package/dist-es/models/models_0.js +449 -210
  51. package/dist-es/pagination/ListBrowserSettingsPaginator.js +25 -68
  52. package/dist-es/pagination/ListIdentityProvidersPaginator.js +25 -68
  53. package/dist-es/pagination/ListNetworkSettingsPaginator.js +25 -68
  54. package/dist-es/pagination/ListPortalsPaginator.js +25 -68
  55. package/dist-es/pagination/ListTrustStoreCertificatesPaginator.js +25 -68
  56. package/dist-es/pagination/ListTrustStoresPaginator.js +25 -68
  57. package/dist-es/pagination/ListUserSettingsPaginator.js +25 -68
  58. package/dist-es/protocols/Aws_restJson1.js +3076 -4468
  59. package/dist-es/runtimeConfig.browser.js +26 -12
  60. package/dist-es/runtimeConfig.js +30 -12
  61. package/dist-es/runtimeConfig.native.js +8 -5
  62. package/dist-es/runtimeConfig.shared.js +8 -11
  63. package/package.json +33 -33
@@ -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 { DisassociateUserSettingsRequestFilterSensitiveLog, DisassociateUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DisassociateUserSettingsCommand, serializeAws_restJson1DisassociateUserSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var DisassociateUserSettingsCommand = (function (_super) {
7
- __extends(DisassociateUserSettingsCommand, _super);
8
- function DisassociateUserSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateUserSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateUserSettingsCommand.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 = "WorkSpacesWebClient";
18
- var commandName = "DisassociateUserSettingsCommand";
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 = "WorkSpacesWebClient";
15
+ const commandName = "DisassociateUserSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateUserSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateUserSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociateUserSettingsCommand.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_restJson1DisassociateUserSettingsCommand(input, context);
33
- };
34
- DisassociateUserSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DisassociateUserSettingsCommand(output, context);
36
- };
37
- return DisassociateUserSettingsCommand;
38
- }($Command));
39
- export { DisassociateUserSettingsCommand };
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 { GetBrowserSettingsRequestFilterSensitiveLog, GetBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetBrowserSettingsCommand, serializeAws_restJson1GetBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var GetBrowserSettingsCommand = (function (_super) {
7
- __extends(GetBrowserSettingsCommand, _super);
8
- function GetBrowserSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetBrowserSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetBrowserSettingsCommand.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 = "WorkSpacesWebClient";
18
- var commandName = "GetBrowserSettingsCommand";
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 = "WorkSpacesWebClient";
15
+ const commandName = "GetBrowserSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetBrowserSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetBrowserSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetBrowserSettingsCommand.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_restJson1GetBrowserSettingsCommand(input, context);
33
- };
34
- GetBrowserSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetBrowserSettingsCommand(output, context);
36
- };
37
- return GetBrowserSettingsCommand;
38
- }($Command));
39
- export { GetBrowserSettingsCommand };
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 { GetIdentityProviderRequestFilterSensitiveLog, GetIdentityProviderResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetIdentityProviderCommand, serializeAws_restJson1GetIdentityProviderCommand, } from "../protocols/Aws_restJson1";
6
- var GetIdentityProviderCommand = (function (_super) {
7
- __extends(GetIdentityProviderCommand, _super);
8
- function GetIdentityProviderCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetIdentityProviderCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetIdentityProviderCommand.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 = "WorkSpacesWebClient";
18
- var commandName = "GetIdentityProviderCommand";
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 = "WorkSpacesWebClient";
15
+ const commandName = "GetIdentityProviderCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetIdentityProviderRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetIdentityProviderResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetIdentityProviderCommand.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_restJson1GetIdentityProviderCommand(input, context);
33
- };
34
- GetIdentityProviderCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetIdentityProviderCommand(output, context);
36
- };
37
- return GetIdentityProviderCommand;
38
- }($Command));
39
- export { GetIdentityProviderCommand };
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 { GetNetworkSettingsRequestFilterSensitiveLog, GetNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetNetworkSettingsCommand, serializeAws_restJson1GetNetworkSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var GetNetworkSettingsCommand = (function (_super) {
7
- __extends(GetNetworkSettingsCommand, _super);
8
- function GetNetworkSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetNetworkSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetNetworkSettingsCommand.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 = "WorkSpacesWebClient";
18
- var commandName = "GetNetworkSettingsCommand";
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 = "WorkSpacesWebClient";
15
+ const commandName = "GetNetworkSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetNetworkSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetNetworkSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetNetworkSettingsCommand.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_restJson1GetNetworkSettingsCommand(input, context);
33
- };
34
- GetNetworkSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetNetworkSettingsCommand(output, context);
36
- };
37
- return GetNetworkSettingsCommand;
38
- }($Command));
39
- export { GetNetworkSettingsCommand };
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 { GetPortalRequestFilterSensitiveLog, GetPortalResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetPortalCommand, serializeAws_restJson1GetPortalCommand, } from "../protocols/Aws_restJson1";
6
- var GetPortalCommand = (function (_super) {
7
- __extends(GetPortalCommand, _super);
8
- function GetPortalCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetPortalCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetPortalCommand.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 = "WorkSpacesWebClient";
18
- var commandName = "GetPortalCommand";
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 = "WorkSpacesWebClient";
15
+ const commandName = "GetPortalCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetPortalRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetPortalResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetPortalCommand.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_restJson1GetPortalCommand(input, context);
33
- };
34
- GetPortalCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetPortalCommand(output, context);
36
- };
37
- return GetPortalCommand;
38
- }($Command));
39
- export { GetPortalCommand };
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 { GetPortalServiceProviderMetadataRequestFilterSensitiveLog, GetPortalServiceProviderMetadataResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetPortalServiceProviderMetadataCommand, serializeAws_restJson1GetPortalServiceProviderMetadataCommand, } from "../protocols/Aws_restJson1";
6
- var GetPortalServiceProviderMetadataCommand = (function (_super) {
7
- __extends(GetPortalServiceProviderMetadataCommand, _super);
8
- function GetPortalServiceProviderMetadataCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetPortalServiceProviderMetadataCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetPortalServiceProviderMetadataCommand.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 = "WorkSpacesWebClient";
18
- var commandName = "GetPortalServiceProviderMetadataCommand";
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 = "WorkSpacesWebClient";
15
+ const commandName = "GetPortalServiceProviderMetadataCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetPortalServiceProviderMetadataRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetPortalServiceProviderMetadataResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetPortalServiceProviderMetadataCommand.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_restJson1GetPortalServiceProviderMetadataCommand(input, context);
33
- };
34
- GetPortalServiceProviderMetadataCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetPortalServiceProviderMetadataCommand(output, context);
36
- };
37
- return GetPortalServiceProviderMetadataCommand;
38
- }($Command));
39
- export { GetPortalServiceProviderMetadataCommand };
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 { GetTrustStoreCertificateRequestFilterSensitiveLog, GetTrustStoreCertificateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetTrustStoreCertificateCommand, serializeAws_restJson1GetTrustStoreCertificateCommand, } from "../protocols/Aws_restJson1";
6
- var GetTrustStoreCertificateCommand = (function (_super) {
7
- __extends(GetTrustStoreCertificateCommand, _super);
8
- function GetTrustStoreCertificateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetTrustStoreCertificateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTrustStoreCertificateCommand.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 = "WorkSpacesWebClient";
18
- var commandName = "GetTrustStoreCertificateCommand";
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 = "WorkSpacesWebClient";
15
+ const commandName = "GetTrustStoreCertificateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetTrustStoreCertificateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetTrustStoreCertificateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetTrustStoreCertificateCommand.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_restJson1GetTrustStoreCertificateCommand(input, context);
33
- };
34
- GetTrustStoreCertificateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetTrustStoreCertificateCommand(output, context);
36
- };
37
- return GetTrustStoreCertificateCommand;
38
- }($Command));
39
- export { GetTrustStoreCertificateCommand };
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 { GetTrustStoreRequestFilterSensitiveLog, GetTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetTrustStoreCommand, serializeAws_restJson1GetTrustStoreCommand, } from "../protocols/Aws_restJson1";
6
- var GetTrustStoreCommand = (function (_super) {
7
- __extends(GetTrustStoreCommand, _super);
8
- function GetTrustStoreCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetTrustStoreCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTrustStoreCommand.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 = "WorkSpacesWebClient";
18
- var commandName = "GetTrustStoreCommand";
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 = "WorkSpacesWebClient";
15
+ const commandName = "GetTrustStoreCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetTrustStoreRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetTrustStoreResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetTrustStoreCommand.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_restJson1GetTrustStoreCommand(input, context);
33
- };
34
- GetTrustStoreCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetTrustStoreCommand(output, context);
36
- };
37
- return GetTrustStoreCommand;
38
- }($Command));
39
- export { GetTrustStoreCommand };
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 { GetUserSettingsRequestFilterSensitiveLog, GetUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetUserSettingsCommand, serializeAws_restJson1GetUserSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var GetUserSettingsCommand = (function (_super) {
7
- __extends(GetUserSettingsCommand, _super);
8
- function GetUserSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetUserSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetUserSettingsCommand.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 = "WorkSpacesWebClient";
18
- var commandName = "GetUserSettingsCommand";
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 = "WorkSpacesWebClient";
15
+ const commandName = "GetUserSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetUserSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetUserSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetUserSettingsCommand.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_restJson1GetUserSettingsCommand(input, context);
33
- };
34
- GetUserSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetUserSettingsCommand(output, context);
36
- };
37
- return GetUserSettingsCommand;
38
- }($Command));
39
- export { GetUserSettingsCommand };
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 { ListBrowserSettingsRequestFilterSensitiveLog, ListBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListBrowserSettingsCommand, serializeAws_restJson1ListBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var ListBrowserSettingsCommand = (function (_super) {
7
- __extends(ListBrowserSettingsCommand, _super);
8
- function ListBrowserSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListBrowserSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListBrowserSettingsCommand.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 = "WorkSpacesWebClient";
18
- var commandName = "ListBrowserSettingsCommand";
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 = "WorkSpacesWebClient";
15
+ const commandName = "ListBrowserSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListBrowserSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListBrowserSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListBrowserSettingsCommand.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_restJson1ListBrowserSettingsCommand(input, context);
33
- };
34
- ListBrowserSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListBrowserSettingsCommand(output, context);
36
- };
37
- return ListBrowserSettingsCommand;
38
- }($Command));
39
- export { ListBrowserSettingsCommand };
31
+ }
32
+ }