@aws-sdk/client-workspaces-web 3.183.0 → 3.186.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 +19 -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 +33 -33
@@ -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 { DisassociateUserSettingsRequestFilterSensitiveLog, DisassociateUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociateUserSettingsCommand, serializeAws_restJson1DisassociateUserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociateUserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateUserSettingsCommand.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 = "DisassociateUserSettingsCommand";
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 = "DisassociateUserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateUserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateUserSettingsResponseFilterSensitiveLog,
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
+ DisassociateUserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociateUserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateUserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociateUserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateUserSettingsCommand;
38
+ }($Command));
39
+ export { DisassociateUserSettingsCommand };
@@ -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 { GetBrowserSettingsRequestFilterSensitiveLog, GetBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetBrowserSettingsCommand, serializeAws_restJson1GetBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetBrowserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetBrowserSettingsCommand.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 = "GetBrowserSettingsCommand";
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 = "GetBrowserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetBrowserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetBrowserSettingsResponseFilterSensitiveLog,
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
+ GetBrowserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetBrowserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetBrowserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetBrowserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetBrowserSettingsCommand;
38
+ }($Command));
39
+ export { GetBrowserSettingsCommand };
@@ -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 { GetIdentityProviderRequestFilterSensitiveLog, GetIdentityProviderResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetIdentityProviderCommand, serializeAws_restJson1GetIdentityProviderCommand, } from "../protocols/Aws_restJson1";
5
- export class GetIdentityProviderCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetIdentityProviderCommand.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 = "GetIdentityProviderCommand";
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 = "GetIdentityProviderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetIdentityProviderRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetIdentityProviderResponseFilterSensitiveLog,
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
+ GetIdentityProviderCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetIdentityProviderCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetIdentityProviderCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetIdentityProviderCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetIdentityProviderCommand;
38
+ }($Command));
39
+ export { GetIdentityProviderCommand };
@@ -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 { GetNetworkSettingsRequestFilterSensitiveLog, GetNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetNetworkSettingsCommand, serializeAws_restJson1GetNetworkSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetNetworkSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetNetworkSettingsCommand.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 = "GetNetworkSettingsCommand";
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 = "GetNetworkSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetNetworkSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetNetworkSettingsResponseFilterSensitiveLog,
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
+ GetNetworkSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetNetworkSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetNetworkSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetNetworkSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetNetworkSettingsCommand;
38
+ }($Command));
39
+ export { GetNetworkSettingsCommand };
@@ -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 { GetPortalRequestFilterSensitiveLog, GetPortalResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPortalCommand, serializeAws_restJson1GetPortalCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPortalCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPortalCommand.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 = "GetPortalCommand";
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 = "GetPortalCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPortalRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPortalResponseFilterSensitiveLog,
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
+ GetPortalCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPortalCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPortalCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPortalCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPortalCommand;
38
+ }($Command));
39
+ export { GetPortalCommand };
@@ -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 { GetPortalServiceProviderMetadataRequestFilterSensitiveLog, GetPortalServiceProviderMetadataResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPortalServiceProviderMetadataCommand, serializeAws_restJson1GetPortalServiceProviderMetadataCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPortalServiceProviderMetadataCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPortalServiceProviderMetadataCommand.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 = "GetPortalServiceProviderMetadataCommand";
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 = "GetPortalServiceProviderMetadataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPortalServiceProviderMetadataRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPortalServiceProviderMetadataResponseFilterSensitiveLog,
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
+ GetPortalServiceProviderMetadataCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPortalServiceProviderMetadataCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPortalServiceProviderMetadataCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPortalServiceProviderMetadataCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPortalServiceProviderMetadataCommand;
38
+ }($Command));
39
+ export { GetPortalServiceProviderMetadataCommand };
@@ -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 { GetTrustStoreCertificateRequestFilterSensitiveLog, GetTrustStoreCertificateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetTrustStoreCertificateCommand, serializeAws_restJson1GetTrustStoreCertificateCommand, } from "../protocols/Aws_restJson1";
5
- export class GetTrustStoreCertificateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTrustStoreCertificateCommand.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 = "GetTrustStoreCertificateCommand";
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 = "GetTrustStoreCertificateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTrustStoreCertificateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTrustStoreCertificateResponseFilterSensitiveLog,
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
+ GetTrustStoreCertificateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetTrustStoreCertificateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTrustStoreCertificateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetTrustStoreCertificateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTrustStoreCertificateCommand;
38
+ }($Command));
39
+ export { GetTrustStoreCertificateCommand };
@@ -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 { GetTrustStoreRequestFilterSensitiveLog, GetTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetTrustStoreCommand, serializeAws_restJson1GetTrustStoreCommand, } from "../protocols/Aws_restJson1";
5
- export class GetTrustStoreCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTrustStoreCommand.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 = "GetTrustStoreCommand";
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 = "GetTrustStoreCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTrustStoreRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTrustStoreResponseFilterSensitiveLog,
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
+ GetTrustStoreCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetTrustStoreCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTrustStoreCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetTrustStoreCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTrustStoreCommand;
38
+ }($Command));
39
+ export { GetTrustStoreCommand };
@@ -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 { GetUserSettingsRequestFilterSensitiveLog, GetUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetUserSettingsCommand, serializeAws_restJson1GetUserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetUserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetUserSettingsCommand.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 = "GetUserSettingsCommand";
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 = "GetUserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetUserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetUserSettingsResponseFilterSensitiveLog,
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
+ GetUserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetUserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetUserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetUserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetUserSettingsCommand;
38
+ }($Command));
39
+ export { GetUserSettingsCommand };
@@ -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 { ListBrowserSettingsRequestFilterSensitiveLog, ListBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListBrowserSettingsCommand, serializeAws_restJson1ListBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListBrowserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListBrowserSettingsCommand.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 = "ListBrowserSettingsCommand";
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 = "ListBrowserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListBrowserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListBrowserSettingsResponseFilterSensitiveLog,
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
+ ListBrowserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListBrowserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListBrowserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListBrowserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListBrowserSettingsCommand;
38
+ }($Command));
39
+ export { ListBrowserSettingsCommand };