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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/WorkSpacesWeb.js +185 -178
  4. package/dist-es/WorkSpacesWebClient.js +28 -22
  5. package/dist-es/commands/AssociateBrowserSettingsCommand.js +28 -21
  6. package/dist-es/commands/AssociateNetworkSettingsCommand.js +28 -21
  7. package/dist-es/commands/AssociateTrustStoreCommand.js +28 -21
  8. package/dist-es/commands/AssociateUserSettingsCommand.js +28 -21
  9. package/dist-es/commands/CreateBrowserSettingsCommand.js +28 -21
  10. package/dist-es/commands/CreateIdentityProviderCommand.js +28 -21
  11. package/dist-es/commands/CreateNetworkSettingsCommand.js +28 -21
  12. package/dist-es/commands/CreatePortalCommand.js +28 -21
  13. package/dist-es/commands/CreateTrustStoreCommand.js +28 -21
  14. package/dist-es/commands/CreateUserSettingsCommand.js +28 -21
  15. package/dist-es/commands/DeleteBrowserSettingsCommand.js +28 -21
  16. package/dist-es/commands/DeleteIdentityProviderCommand.js +28 -21
  17. package/dist-es/commands/DeleteNetworkSettingsCommand.js +28 -21
  18. package/dist-es/commands/DeletePortalCommand.js +28 -21
  19. package/dist-es/commands/DeleteTrustStoreCommand.js +28 -21
  20. package/dist-es/commands/DeleteUserSettingsCommand.js +28 -21
  21. package/dist-es/commands/DisassociateBrowserSettingsCommand.js +28 -21
  22. package/dist-es/commands/DisassociateNetworkSettingsCommand.js +28 -21
  23. package/dist-es/commands/DisassociateTrustStoreCommand.js +28 -21
  24. package/dist-es/commands/DisassociateUserSettingsCommand.js +28 -21
  25. package/dist-es/commands/GetBrowserSettingsCommand.js +28 -21
  26. package/dist-es/commands/GetIdentityProviderCommand.js +28 -21
  27. package/dist-es/commands/GetNetworkSettingsCommand.js +28 -21
  28. package/dist-es/commands/GetPortalCommand.js +28 -21
  29. package/dist-es/commands/GetPortalServiceProviderMetadataCommand.js +28 -21
  30. package/dist-es/commands/GetTrustStoreCertificateCommand.js +28 -21
  31. package/dist-es/commands/GetTrustStoreCommand.js +28 -21
  32. package/dist-es/commands/GetUserSettingsCommand.js +28 -21
  33. package/dist-es/commands/ListBrowserSettingsCommand.js +28 -21
  34. package/dist-es/commands/ListIdentityProvidersCommand.js +28 -21
  35. package/dist-es/commands/ListNetworkSettingsCommand.js +28 -21
  36. package/dist-es/commands/ListPortalsCommand.js +28 -21
  37. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  38. package/dist-es/commands/ListTrustStoreCertificatesCommand.js +28 -21
  39. package/dist-es/commands/ListTrustStoresCommand.js +28 -21
  40. package/dist-es/commands/ListUserSettingsCommand.js +28 -21
  41. package/dist-es/commands/TagResourceCommand.js +28 -21
  42. package/dist-es/commands/UntagResourceCommand.js +28 -21
  43. package/dist-es/commands/UpdateBrowserSettingsCommand.js +28 -21
  44. package/dist-es/commands/UpdateIdentityProviderCommand.js +28 -21
  45. package/dist-es/commands/UpdateNetworkSettingsCommand.js +28 -21
  46. package/dist-es/commands/UpdatePortalCommand.js +28 -21
  47. package/dist-es/commands/UpdateTrustStoreCommand.js +28 -21
  48. package/dist-es/commands/UpdateUserSettingsCommand.js +28 -21
  49. package/dist-es/endpoints.js +8 -8
  50. package/dist-es/models/WorkSpacesWebServiceException.js +10 -5
  51. package/dist-es/models/models_0.js +210 -449
  52. package/dist-es/pagination/ListBrowserSettingsPaginator.js +68 -25
  53. package/dist-es/pagination/ListIdentityProvidersPaginator.js +68 -25
  54. package/dist-es/pagination/ListNetworkSettingsPaginator.js +68 -25
  55. package/dist-es/pagination/ListPortalsPaginator.js +68 -25
  56. package/dist-es/pagination/ListTrustStoreCertificatesPaginator.js +68 -25
  57. package/dist-es/pagination/ListTrustStoresPaginator.js +68 -25
  58. package/dist-es/pagination/ListUserSettingsPaginator.js +68 -25
  59. package/dist-es/protocols/Aws_restJson1.js +4468 -3076
  60. package/dist-es/runtimeConfig.browser.js +12 -26
  61. package/dist-es/runtimeConfig.js +12 -30
  62. package/dist-es/runtimeConfig.native.js +5 -8
  63. package/dist-es/runtimeConfig.shared.js +11 -8
  64. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateUserSettingsRequestFilterSensitiveLog, CreateUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateUserSettingsCommand, serializeAws_restJson1CreateUserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateUserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateUserSettingsCommand = (function (_super) {
7
+ __extends(CreateUserSettingsCommand, _super);
8
+ function CreateUserSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateUserSettingsCommand.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 = "CreateUserSettingsCommand";
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 = "CreateUserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateUserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateUserSettingsResponseFilterSensitiveLog,
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
+ CreateUserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateUserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateUserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateUserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateUserSettingsCommand;
38
+ }($Command));
39
+ export { CreateUserSettingsCommand };
@@ -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 { DeleteBrowserSettingsRequestFilterSensitiveLog, DeleteBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteBrowserSettingsCommand, serializeAws_restJson1DeleteBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteBrowserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteBrowserSettingsCommand = (function (_super) {
7
+ __extends(DeleteBrowserSettingsCommand, _super);
8
+ function DeleteBrowserSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteBrowserSettingsCommand.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 = "DeleteBrowserSettingsCommand";
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 = "DeleteBrowserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteBrowserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteBrowserSettingsResponseFilterSensitiveLog,
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
+ DeleteBrowserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteBrowserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteBrowserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteBrowserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteBrowserSettingsCommand;
38
+ }($Command));
39
+ export { DeleteBrowserSettingsCommand };
@@ -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 { DeleteIdentityProviderRequestFilterSensitiveLog, DeleteIdentityProviderResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteIdentityProviderCommand, serializeAws_restJson1DeleteIdentityProviderCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteIdentityProviderCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteIdentityProviderCommand = (function (_super) {
7
+ __extends(DeleteIdentityProviderCommand, _super);
8
+ function DeleteIdentityProviderCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteIdentityProviderCommand.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 = "DeleteIdentityProviderCommand";
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 = "DeleteIdentityProviderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteIdentityProviderRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteIdentityProviderResponseFilterSensitiveLog,
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
+ DeleteIdentityProviderCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteIdentityProviderCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteIdentityProviderCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteIdentityProviderCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteIdentityProviderCommand;
38
+ }($Command));
39
+ export { DeleteIdentityProviderCommand };
@@ -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 { DeleteNetworkSettingsRequestFilterSensitiveLog, DeleteNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteNetworkSettingsCommand, serializeAws_restJson1DeleteNetworkSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteNetworkSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteNetworkSettingsCommand = (function (_super) {
7
+ __extends(DeleteNetworkSettingsCommand, _super);
8
+ function DeleteNetworkSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteNetworkSettingsCommand.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 = "DeleteNetworkSettingsCommand";
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 = "DeleteNetworkSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteNetworkSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteNetworkSettingsResponseFilterSensitiveLog,
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
+ DeleteNetworkSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteNetworkSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteNetworkSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteNetworkSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteNetworkSettingsCommand;
38
+ }($Command));
39
+ export { DeleteNetworkSettingsCommand };
@@ -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 { DeletePortalRequestFilterSensitiveLog, DeletePortalResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeletePortalCommand, serializeAws_restJson1DeletePortalCommand, } from "../protocols/Aws_restJson1";
5
- export class DeletePortalCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeletePortalCommand = (function (_super) {
7
+ __extends(DeletePortalCommand, _super);
8
+ function DeletePortalCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePortalCommand.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 = "DeletePortalCommand";
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 = "DeletePortalCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePortalRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeletePortalResponseFilterSensitiveLog,
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
+ DeletePortalCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeletePortalCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePortalCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeletePortalCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePortalCommand;
38
+ }($Command));
39
+ export { DeletePortalCommand };
@@ -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 { DeleteTrustStoreRequestFilterSensitiveLog, DeleteTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteTrustStoreCommand, serializeAws_restJson1DeleteTrustStoreCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteTrustStoreCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteTrustStoreCommand = (function (_super) {
7
+ __extends(DeleteTrustStoreCommand, _super);
8
+ function DeleteTrustStoreCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteTrustStoreCommand.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 = "DeleteTrustStoreCommand";
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 = "DeleteTrustStoreCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteTrustStoreRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteTrustStoreResponseFilterSensitiveLog,
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
+ DeleteTrustStoreCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteTrustStoreCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteTrustStoreCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteTrustStoreCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteTrustStoreCommand;
38
+ }($Command));
39
+ export { DeleteTrustStoreCommand };
@@ -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 { DeleteUserSettingsRequestFilterSensitiveLog, DeleteUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteUserSettingsCommand, serializeAws_restJson1DeleteUserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteUserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteUserSettingsCommand = (function (_super) {
7
+ __extends(DeleteUserSettingsCommand, _super);
8
+ function DeleteUserSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteUserSettingsCommand.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 = "DeleteUserSettingsCommand";
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 = "DeleteUserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteUserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteUserSettingsResponseFilterSensitiveLog,
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
+ DeleteUserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteUserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteUserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteUserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteUserSettingsCommand;
38
+ }($Command));
39
+ export { DeleteUserSettingsCommand };
@@ -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 { DisassociateBrowserSettingsRequestFilterSensitiveLog, DisassociateBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociateBrowserSettingsCommand, serializeAws_restJson1DisassociateBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociateBrowserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateBrowserSettingsCommand = (function (_super) {
7
+ __extends(DisassociateBrowserSettingsCommand, _super);
8
+ function DisassociateBrowserSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateBrowserSettingsCommand.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 = "DisassociateBrowserSettingsCommand";
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 = "DisassociateBrowserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateBrowserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateBrowserSettingsResponseFilterSensitiveLog,
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
+ DisassociateBrowserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociateBrowserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateBrowserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociateBrowserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateBrowserSettingsCommand;
38
+ }($Command));
39
+ export { DisassociateBrowserSettingsCommand };
@@ -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 { DisassociateNetworkSettingsRequestFilterSensitiveLog, DisassociateNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociateNetworkSettingsCommand, serializeAws_restJson1DisassociateNetworkSettingsCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociateNetworkSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateNetworkSettingsCommand = (function (_super) {
7
+ __extends(DisassociateNetworkSettingsCommand, _super);
8
+ function DisassociateNetworkSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateNetworkSettingsCommand.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 = "DisassociateNetworkSettingsCommand";
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 = "DisassociateNetworkSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateNetworkSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateNetworkSettingsResponseFilterSensitiveLog,
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
+ DisassociateNetworkSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociateNetworkSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateNetworkSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociateNetworkSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateNetworkSettingsCommand;
38
+ }($Command));
39
+ export { DisassociateNetworkSettingsCommand };
@@ -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 { DisassociateTrustStoreRequestFilterSensitiveLog, DisassociateTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociateTrustStoreCommand, serializeAws_restJson1DisassociateTrustStoreCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociateTrustStoreCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateTrustStoreCommand = (function (_super) {
7
+ __extends(DisassociateTrustStoreCommand, _super);
8
+ function DisassociateTrustStoreCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateTrustStoreCommand.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 = "DisassociateTrustStoreCommand";
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 = "DisassociateTrustStoreCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateTrustStoreRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateTrustStoreResponseFilterSensitiveLog,
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
+ DisassociateTrustStoreCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociateTrustStoreCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateTrustStoreCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociateTrustStoreCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateTrustStoreCommand;
38
+ }($Command));
39
+ export { DisassociateTrustStoreCommand };