@aws-sdk/client-workspaces-web 3.180.0 → 3.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +50 -44
  3. package/dist-es/WorkSpacesWeb.js +178 -185
  4. package/dist-es/WorkSpacesWebClient.js +22 -28
  5. package/dist-es/commands/AssociateBrowserSettingsCommand.js +21 -28
  6. package/dist-es/commands/AssociateNetworkSettingsCommand.js +21 -28
  7. package/dist-es/commands/AssociateTrustStoreCommand.js +21 -28
  8. package/dist-es/commands/AssociateUserSettingsCommand.js +21 -28
  9. package/dist-es/commands/CreateBrowserSettingsCommand.js +21 -28
  10. package/dist-es/commands/CreateIdentityProviderCommand.js +21 -28
  11. package/dist-es/commands/CreateNetworkSettingsCommand.js +21 -28
  12. package/dist-es/commands/CreatePortalCommand.js +21 -28
  13. package/dist-es/commands/CreateTrustStoreCommand.js +21 -28
  14. package/dist-es/commands/CreateUserSettingsCommand.js +21 -28
  15. package/dist-es/commands/DeleteBrowserSettingsCommand.js +21 -28
  16. package/dist-es/commands/DeleteIdentityProviderCommand.js +21 -28
  17. package/dist-es/commands/DeleteNetworkSettingsCommand.js +21 -28
  18. package/dist-es/commands/DeletePortalCommand.js +21 -28
  19. package/dist-es/commands/DeleteTrustStoreCommand.js +21 -28
  20. package/dist-es/commands/DeleteUserSettingsCommand.js +21 -28
  21. package/dist-es/commands/DisassociateBrowserSettingsCommand.js +21 -28
  22. package/dist-es/commands/DisassociateNetworkSettingsCommand.js +21 -28
  23. package/dist-es/commands/DisassociateTrustStoreCommand.js +21 -28
  24. package/dist-es/commands/DisassociateUserSettingsCommand.js +21 -28
  25. package/dist-es/commands/GetBrowserSettingsCommand.js +21 -28
  26. package/dist-es/commands/GetIdentityProviderCommand.js +21 -28
  27. package/dist-es/commands/GetNetworkSettingsCommand.js +21 -28
  28. package/dist-es/commands/GetPortalCommand.js +21 -28
  29. package/dist-es/commands/GetPortalServiceProviderMetadataCommand.js +21 -28
  30. package/dist-es/commands/GetTrustStoreCertificateCommand.js +21 -28
  31. package/dist-es/commands/GetTrustStoreCommand.js +21 -28
  32. package/dist-es/commands/GetUserSettingsCommand.js +21 -28
  33. package/dist-es/commands/ListBrowserSettingsCommand.js +21 -28
  34. package/dist-es/commands/ListIdentityProvidersCommand.js +21 -28
  35. package/dist-es/commands/ListNetworkSettingsCommand.js +21 -28
  36. package/dist-es/commands/ListPortalsCommand.js +21 -28
  37. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  38. package/dist-es/commands/ListTrustStoreCertificatesCommand.js +21 -28
  39. package/dist-es/commands/ListTrustStoresCommand.js +21 -28
  40. package/dist-es/commands/ListUserSettingsCommand.js +21 -28
  41. package/dist-es/commands/TagResourceCommand.js +21 -28
  42. package/dist-es/commands/UntagResourceCommand.js +21 -28
  43. package/dist-es/commands/UpdateBrowserSettingsCommand.js +21 -28
  44. package/dist-es/commands/UpdateIdentityProviderCommand.js +21 -28
  45. package/dist-es/commands/UpdateNetworkSettingsCommand.js +21 -28
  46. package/dist-es/commands/UpdatePortalCommand.js +21 -28
  47. package/dist-es/commands/UpdateTrustStoreCommand.js +21 -28
  48. package/dist-es/commands/UpdateUserSettingsCommand.js +21 -28
  49. package/dist-es/endpoints.js +8 -8
  50. package/dist-es/models/WorkSpacesWebServiceException.js +5 -10
  51. package/dist-es/models/models_0.js +449 -210
  52. package/dist-es/pagination/ListBrowserSettingsPaginator.js +25 -68
  53. package/dist-es/pagination/ListIdentityProvidersPaginator.js +25 -68
  54. package/dist-es/pagination/ListNetworkSettingsPaginator.js +25 -68
  55. package/dist-es/pagination/ListPortalsPaginator.js +25 -68
  56. package/dist-es/pagination/ListTrustStoreCertificatesPaginator.js +25 -68
  57. package/dist-es/pagination/ListTrustStoresPaginator.js +25 -68
  58. package/dist-es/pagination/ListUserSettingsPaginator.js +25 -68
  59. package/dist-es/protocols/Aws_restJson1.js +3076 -4455
  60. package/dist-es/runtimeConfig.browser.js +26 -12
  61. package/dist-es/runtimeConfig.js +30 -12
  62. package/dist-es/runtimeConfig.native.js +8 -5
  63. package/dist-es/runtimeConfig.shared.js +8 -11
  64. package/package.json +33 -33
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var WorkSpacesWebClient = (function (_super) {
13
- __extends(WorkSpacesWebClient, _super);
14
- function WorkSpacesWebClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class WorkSpacesWebClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- WorkSpacesWebClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return WorkSpacesWebClient;
38
- }(__Client));
39
- export { WorkSpacesWebClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
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 { AssociateBrowserSettingsRequestFilterSensitiveLog, AssociateBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateBrowserSettingsCommand, serializeAws_restJson1AssociateBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateBrowserSettingsCommand = (function (_super) {
7
- __extends(AssociateBrowserSettingsCommand, _super);
8
- function AssociateBrowserSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateBrowserSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateBrowserSettingsCommand.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 = "AssociateBrowserSettingsCommand";
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 = "AssociateBrowserSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateBrowserSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateBrowserSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateBrowserSettingsCommand.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_restJson1AssociateBrowserSettingsCommand(input, context);
33
- };
34
- AssociateBrowserSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateBrowserSettingsCommand(output, context);
36
- };
37
- return AssociateBrowserSettingsCommand;
38
- }($Command));
39
- export { AssociateBrowserSettingsCommand };
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 { AssociateNetworkSettingsRequestFilterSensitiveLog, AssociateNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateNetworkSettingsCommand, serializeAws_restJson1AssociateNetworkSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateNetworkSettingsCommand = (function (_super) {
7
- __extends(AssociateNetworkSettingsCommand, _super);
8
- function AssociateNetworkSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateNetworkSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateNetworkSettingsCommand.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 = "AssociateNetworkSettingsCommand";
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 = "AssociateNetworkSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateNetworkSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateNetworkSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateNetworkSettingsCommand.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_restJson1AssociateNetworkSettingsCommand(input, context);
33
- };
34
- AssociateNetworkSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateNetworkSettingsCommand(output, context);
36
- };
37
- return AssociateNetworkSettingsCommand;
38
- }($Command));
39
- export { AssociateNetworkSettingsCommand };
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 { AssociateTrustStoreRequestFilterSensitiveLog, AssociateTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateTrustStoreCommand, serializeAws_restJson1AssociateTrustStoreCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateTrustStoreCommand = (function (_super) {
7
- __extends(AssociateTrustStoreCommand, _super);
8
- function AssociateTrustStoreCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateTrustStoreCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateTrustStoreCommand.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 = "AssociateTrustStoreCommand";
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 = "AssociateTrustStoreCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateTrustStoreRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateTrustStoreResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateTrustStoreCommand.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_restJson1AssociateTrustStoreCommand(input, context);
33
- };
34
- AssociateTrustStoreCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateTrustStoreCommand(output, context);
36
- };
37
- return AssociateTrustStoreCommand;
38
- }($Command));
39
- export { AssociateTrustStoreCommand };
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 { AssociateUserSettingsRequestFilterSensitiveLog, AssociateUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssociateUserSettingsCommand, serializeAws_restJson1AssociateUserSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var AssociateUserSettingsCommand = (function (_super) {
7
- __extends(AssociateUserSettingsCommand, _super);
8
- function AssociateUserSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateUserSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateUserSettingsCommand.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 = "AssociateUserSettingsCommand";
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 = "AssociateUserSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateUserSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateUserSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateUserSettingsCommand.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_restJson1AssociateUserSettingsCommand(input, context);
33
- };
34
- AssociateUserSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssociateUserSettingsCommand(output, context);
36
- };
37
- return AssociateUserSettingsCommand;
38
- }($Command));
39
- export { AssociateUserSettingsCommand };
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 { CreateBrowserSettingsRequestFilterSensitiveLog, CreateBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateBrowserSettingsCommand, serializeAws_restJson1CreateBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var CreateBrowserSettingsCommand = (function (_super) {
7
- __extends(CreateBrowserSettingsCommand, _super);
8
- function CreateBrowserSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateBrowserSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateBrowserSettingsCommand.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 = "CreateBrowserSettingsCommand";
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 = "CreateBrowserSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateBrowserSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateBrowserSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateBrowserSettingsCommand.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_restJson1CreateBrowserSettingsCommand(input, context);
33
- };
34
- CreateBrowserSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateBrowserSettingsCommand(output, context);
36
- };
37
- return CreateBrowserSettingsCommand;
38
- }($Command));
39
- export { CreateBrowserSettingsCommand };
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 { CreateIdentityProviderRequestFilterSensitiveLog, CreateIdentityProviderResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateIdentityProviderCommand, serializeAws_restJson1CreateIdentityProviderCommand, } from "../protocols/Aws_restJson1";
6
- var CreateIdentityProviderCommand = (function (_super) {
7
- __extends(CreateIdentityProviderCommand, _super);
8
- function CreateIdentityProviderCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateIdentityProviderCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateIdentityProviderCommand.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 = "CreateIdentityProviderCommand";
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 = "CreateIdentityProviderCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateIdentityProviderRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateIdentityProviderResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateIdentityProviderCommand.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_restJson1CreateIdentityProviderCommand(input, context);
33
- };
34
- CreateIdentityProviderCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateIdentityProviderCommand(output, context);
36
- };
37
- return CreateIdentityProviderCommand;
38
- }($Command));
39
- export { CreateIdentityProviderCommand };
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 { CreateNetworkSettingsRequestFilterSensitiveLog, CreateNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateNetworkSettingsCommand, serializeAws_restJson1CreateNetworkSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var CreateNetworkSettingsCommand = (function (_super) {
7
- __extends(CreateNetworkSettingsCommand, _super);
8
- function CreateNetworkSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateNetworkSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateNetworkSettingsCommand.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 = "CreateNetworkSettingsCommand";
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 = "CreateNetworkSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateNetworkSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateNetworkSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateNetworkSettingsCommand.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_restJson1CreateNetworkSettingsCommand(input, context);
33
- };
34
- CreateNetworkSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateNetworkSettingsCommand(output, context);
36
- };
37
- return CreateNetworkSettingsCommand;
38
- }($Command));
39
- export { CreateNetworkSettingsCommand };
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 { CreatePortalRequestFilterSensitiveLog, CreatePortalResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreatePortalCommand, serializeAws_restJson1CreatePortalCommand, } from "../protocols/Aws_restJson1";
6
- var CreatePortalCommand = (function (_super) {
7
- __extends(CreatePortalCommand, _super);
8
- function CreatePortalCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreatePortalCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreatePortalCommand.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 = "CreatePortalCommand";
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 = "CreatePortalCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreatePortalRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreatePortalResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreatePortalCommand.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_restJson1CreatePortalCommand(input, context);
33
- };
34
- CreatePortalCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreatePortalCommand(output, context);
36
- };
37
- return CreatePortalCommand;
38
- }($Command));
39
- export { CreatePortalCommand };
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 { CreateTrustStoreRequestFilterSensitiveLog, CreateTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateTrustStoreCommand, serializeAws_restJson1CreateTrustStoreCommand, } from "../protocols/Aws_restJson1";
6
- var CreateTrustStoreCommand = (function (_super) {
7
- __extends(CreateTrustStoreCommand, _super);
8
- function CreateTrustStoreCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateTrustStoreCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateTrustStoreCommand.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 = "CreateTrustStoreCommand";
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 = "CreateTrustStoreCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateTrustStoreRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateTrustStoreResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateTrustStoreCommand.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_restJson1CreateTrustStoreCommand(input, context);
33
- };
34
- CreateTrustStoreCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateTrustStoreCommand(output, context);
36
- };
37
- return CreateTrustStoreCommand;
38
- }($Command));
39
- export { CreateTrustStoreCommand };
31
+ }
32
+ }