@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,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
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));
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;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ WorkSpacesWebClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return WorkSpacesWebClient;
38
+ }(__Client));
39
+ export { WorkSpacesWebClient };
@@ -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 { AssociateBrowserSettingsRequestFilterSensitiveLog, AssociateBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AssociateBrowserSettingsCommand, serializeAws_restJson1AssociateBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class AssociateBrowserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateBrowserSettingsCommand.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 = "AssociateBrowserSettingsCommand";
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 = "AssociateBrowserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateBrowserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateBrowserSettingsResponseFilterSensitiveLog,
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
+ AssociateBrowserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AssociateBrowserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateBrowserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AssociateBrowserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateBrowserSettingsCommand;
38
+ }($Command));
39
+ export { AssociateBrowserSettingsCommand };
@@ -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 { AssociateNetworkSettingsRequestFilterSensitiveLog, AssociateNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AssociateNetworkSettingsCommand, serializeAws_restJson1AssociateNetworkSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class AssociateNetworkSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateNetworkSettingsCommand.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 = "AssociateNetworkSettingsCommand";
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 = "AssociateNetworkSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateNetworkSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateNetworkSettingsResponseFilterSensitiveLog,
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
+ AssociateNetworkSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AssociateNetworkSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateNetworkSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AssociateNetworkSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateNetworkSettingsCommand;
38
+ }($Command));
39
+ export { AssociateNetworkSettingsCommand };
@@ -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 { AssociateTrustStoreRequestFilterSensitiveLog, AssociateTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AssociateTrustStoreCommand, serializeAws_restJson1AssociateTrustStoreCommand, } from "../protocols/Aws_restJson1";
5
- export class AssociateTrustStoreCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateTrustStoreCommand.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 = "AssociateTrustStoreCommand";
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 = "AssociateTrustStoreCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateTrustStoreRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateTrustStoreResponseFilterSensitiveLog,
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
+ AssociateTrustStoreCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AssociateTrustStoreCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateTrustStoreCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AssociateTrustStoreCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateTrustStoreCommand;
38
+ }($Command));
39
+ export { AssociateTrustStoreCommand };
@@ -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 { AssociateUserSettingsRequestFilterSensitiveLog, AssociateUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AssociateUserSettingsCommand, serializeAws_restJson1AssociateUserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class AssociateUserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateUserSettingsCommand.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 = "AssociateUserSettingsCommand";
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 = "AssociateUserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateUserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateUserSettingsResponseFilterSensitiveLog,
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
+ AssociateUserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AssociateUserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateUserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AssociateUserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateUserSettingsCommand;
38
+ }($Command));
39
+ export { AssociateUserSettingsCommand };
@@ -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 { CreateBrowserSettingsRequestFilterSensitiveLog, CreateBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateBrowserSettingsCommand, serializeAws_restJson1CreateBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateBrowserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateBrowserSettingsCommand.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 = "CreateBrowserSettingsCommand";
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 = "CreateBrowserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateBrowserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateBrowserSettingsResponseFilterSensitiveLog,
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
+ CreateBrowserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateBrowserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateBrowserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateBrowserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateBrowserSettingsCommand;
38
+ }($Command));
39
+ export { CreateBrowserSettingsCommand };
@@ -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 { CreateIdentityProviderRequestFilterSensitiveLog, CreateIdentityProviderResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateIdentityProviderCommand, serializeAws_restJson1CreateIdentityProviderCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateIdentityProviderCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateIdentityProviderCommand.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 = "CreateIdentityProviderCommand";
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 = "CreateIdentityProviderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateIdentityProviderRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateIdentityProviderResponseFilterSensitiveLog,
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
+ CreateIdentityProviderCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateIdentityProviderCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateIdentityProviderCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateIdentityProviderCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateIdentityProviderCommand;
38
+ }($Command));
39
+ export { CreateIdentityProviderCommand };
@@ -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 { CreateNetworkSettingsRequestFilterSensitiveLog, CreateNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateNetworkSettingsCommand, serializeAws_restJson1CreateNetworkSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateNetworkSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateNetworkSettingsCommand.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 = "CreateNetworkSettingsCommand";
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 = "CreateNetworkSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateNetworkSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateNetworkSettingsResponseFilterSensitiveLog,
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
+ CreateNetworkSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateNetworkSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateNetworkSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateNetworkSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateNetworkSettingsCommand;
38
+ }($Command));
39
+ export { CreateNetworkSettingsCommand };
@@ -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 { CreatePortalRequestFilterSensitiveLog, CreatePortalResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreatePortalCommand, serializeAws_restJson1CreatePortalCommand, } from "../protocols/Aws_restJson1";
5
- export class CreatePortalCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreatePortalCommand.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 = "CreatePortalCommand";
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 = "CreatePortalCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreatePortalRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreatePortalResponseFilterSensitiveLog,
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
+ CreatePortalCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreatePortalCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreatePortalCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreatePortalCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreatePortalCommand;
38
+ }($Command));
39
+ export { CreatePortalCommand };
@@ -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 { CreateTrustStoreRequestFilterSensitiveLog, CreateTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateTrustStoreCommand, serializeAws_restJson1CreateTrustStoreCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateTrustStoreCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateTrustStoreCommand.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 = "CreateTrustStoreCommand";
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 = "CreateTrustStoreCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateTrustStoreRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateTrustStoreResponseFilterSensitiveLog,
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
+ CreateTrustStoreCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateTrustStoreCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateTrustStoreCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateTrustStoreCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateTrustStoreCommand;
38
+ }($Command));
39
+ export { CreateTrustStoreCommand };