@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,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 { CreateUserSettingsRequestFilterSensitiveLog, CreateUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateUserSettingsCommand, serializeAws_restJson1CreateUserSettingsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class CreateUserSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateUserSettingsCommand.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 = "CreateUserSettingsCommand";
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 = "CreateUserSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateUserSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateUserSettingsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateUserSettingsCommand(input, context);
33
- };
34
- CreateUserSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateUserSettingsCommand(output, context);
36
- };
37
- return CreateUserSettingsCommand;
38
- }($Command));
39
- export { CreateUserSettingsCommand };
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 { DeleteBrowserSettingsRequestFilterSensitiveLog, DeleteBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteBrowserSettingsCommand, serializeAws_restJson1DeleteBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteBrowserSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteBrowserSettingsCommand.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 = "DeleteBrowserSettingsCommand";
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 = "DeleteBrowserSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteBrowserSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteBrowserSettingsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteBrowserSettingsCommand(input, context);
33
- };
34
- DeleteBrowserSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteBrowserSettingsCommand(output, context);
36
- };
37
- return DeleteBrowserSettingsCommand;
38
- }($Command));
39
- export { DeleteBrowserSettingsCommand };
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 { DeleteIdentityProviderRequestFilterSensitiveLog, DeleteIdentityProviderResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteIdentityProviderCommand, serializeAws_restJson1DeleteIdentityProviderCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteIdentityProviderCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteIdentityProviderCommand.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 = "DeleteIdentityProviderCommand";
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 = "DeleteIdentityProviderCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteIdentityProviderRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteIdentityProviderResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteIdentityProviderCommand(input, context);
33
- };
34
- DeleteIdentityProviderCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteIdentityProviderCommand(output, context);
36
- };
37
- return DeleteIdentityProviderCommand;
38
- }($Command));
39
- export { DeleteIdentityProviderCommand };
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 { DeleteNetworkSettingsRequestFilterSensitiveLog, DeleteNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteNetworkSettingsCommand, serializeAws_restJson1DeleteNetworkSettingsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteNetworkSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteNetworkSettingsCommand.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 = "DeleteNetworkSettingsCommand";
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 = "DeleteNetworkSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteNetworkSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteNetworkSettingsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteNetworkSettingsCommand(input, context);
33
- };
34
- DeleteNetworkSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteNetworkSettingsCommand(output, context);
36
- };
37
- return DeleteNetworkSettingsCommand;
38
- }($Command));
39
- export { DeleteNetworkSettingsCommand };
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 { DeletePortalRequestFilterSensitiveLog, DeletePortalResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeletePortalCommand, serializeAws_restJson1DeletePortalCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeletePortalCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeletePortalCommand.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 = "DeletePortalCommand";
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 = "DeletePortalCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeletePortalRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeletePortalResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeletePortalCommand(input, context);
33
- };
34
- DeletePortalCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeletePortalCommand(output, context);
36
- };
37
- return DeletePortalCommand;
38
- }($Command));
39
- export { DeletePortalCommand };
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 { DeleteTrustStoreRequestFilterSensitiveLog, DeleteTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteTrustStoreCommand, serializeAws_restJson1DeleteTrustStoreCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteTrustStoreCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteTrustStoreCommand.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 = "DeleteTrustStoreCommand";
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 = "DeleteTrustStoreCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteTrustStoreRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteTrustStoreResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteTrustStoreCommand(input, context);
33
- };
34
- DeleteTrustStoreCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteTrustStoreCommand(output, context);
36
- };
37
- return DeleteTrustStoreCommand;
38
- }($Command));
39
- export { DeleteTrustStoreCommand };
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 { DeleteUserSettingsRequestFilterSensitiveLog, DeleteUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteUserSettingsCommand, serializeAws_restJson1DeleteUserSettingsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DeleteUserSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteUserSettingsCommand.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 = "DeleteUserSettingsCommand";
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 = "DeleteUserSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteUserSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteUserSettingsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteUserSettingsCommand(input, context);
33
- };
34
- DeleteUserSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteUserSettingsCommand(output, context);
36
- };
37
- return DeleteUserSettingsCommand;
38
- }($Command));
39
- export { DeleteUserSettingsCommand };
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 { DisassociateBrowserSettingsRequestFilterSensitiveLog, DisassociateBrowserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DisassociateBrowserSettingsCommand, serializeAws_restJson1DisassociateBrowserSettingsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DisassociateBrowserSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateBrowserSettingsCommand.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 = "DisassociateBrowserSettingsCommand";
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 = "DisassociateBrowserSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateBrowserSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateBrowserSettingsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DisassociateBrowserSettingsCommand(input, context);
33
- };
34
- DisassociateBrowserSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DisassociateBrowserSettingsCommand(output, context);
36
- };
37
- return DisassociateBrowserSettingsCommand;
38
- }($Command));
39
- export { DisassociateBrowserSettingsCommand };
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 { DisassociateNetworkSettingsRequestFilterSensitiveLog, DisassociateNetworkSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DisassociateNetworkSettingsCommand, serializeAws_restJson1DisassociateNetworkSettingsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DisassociateNetworkSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateNetworkSettingsCommand.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 = "DisassociateNetworkSettingsCommand";
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 = "DisassociateNetworkSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateNetworkSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateNetworkSettingsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DisassociateNetworkSettingsCommand(input, context);
33
- };
34
- DisassociateNetworkSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DisassociateNetworkSettingsCommand(output, context);
36
- };
37
- return DisassociateNetworkSettingsCommand;
38
- }($Command));
39
- export { DisassociateNetworkSettingsCommand };
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 { DisassociateTrustStoreRequestFilterSensitiveLog, DisassociateTrustStoreResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DisassociateTrustStoreCommand, serializeAws_restJson1DisassociateTrustStoreCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class DisassociateTrustStoreCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateTrustStoreCommand.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 = "DisassociateTrustStoreCommand";
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 = "DisassociateTrustStoreCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateTrustStoreRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateTrustStoreResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DisassociateTrustStoreCommand(input, context);
33
- };
34
- DisassociateTrustStoreCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DisassociateTrustStoreCommand(output, context);
36
- };
37
- return DisassociateTrustStoreCommand;
38
- }($Command));
39
- export { DisassociateTrustStoreCommand };
31
+ }
32
+ }