@aws-sdk/client-chime-sdk-identity 3.185.0 → 3.188.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 (40) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/ChimeSDKIdentity.js +98 -105
  3. package/dist-es/ChimeSDKIdentityClient.js +22 -28
  4. package/dist-es/commands/CreateAppInstanceAdminCommand.js +21 -28
  5. package/dist-es/commands/CreateAppInstanceCommand.js +21 -28
  6. package/dist-es/commands/CreateAppInstanceUserCommand.js +21 -28
  7. package/dist-es/commands/DeleteAppInstanceAdminCommand.js +22 -29
  8. package/dist-es/commands/DeleteAppInstanceCommand.js +22 -29
  9. package/dist-es/commands/DeleteAppInstanceUserCommand.js +22 -29
  10. package/dist-es/commands/DeregisterAppInstanceUserEndpointCommand.js +22 -29
  11. package/dist-es/commands/DescribeAppInstanceAdminCommand.js +21 -28
  12. package/dist-es/commands/DescribeAppInstanceCommand.js +21 -28
  13. package/dist-es/commands/DescribeAppInstanceUserCommand.js +21 -28
  14. package/dist-es/commands/DescribeAppInstanceUserEndpointCommand.js +21 -28
  15. package/dist-es/commands/GetAppInstanceRetentionSettingsCommand.js +21 -28
  16. package/dist-es/commands/ListAppInstanceAdminsCommand.js +21 -28
  17. package/dist-es/commands/ListAppInstanceUserEndpointsCommand.js +21 -28
  18. package/dist-es/commands/ListAppInstanceUsersCommand.js +21 -28
  19. package/dist-es/commands/ListAppInstancesCommand.js +21 -28
  20. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  21. package/dist-es/commands/PutAppInstanceRetentionSettingsCommand.js +21 -28
  22. package/dist-es/commands/RegisterAppInstanceUserEndpointCommand.js +21 -28
  23. package/dist-es/commands/TagResourceCommand.js +22 -29
  24. package/dist-es/commands/UntagResourceCommand.js +22 -29
  25. package/dist-es/commands/UpdateAppInstanceCommand.js +21 -28
  26. package/dist-es/commands/UpdateAppInstanceUserCommand.js +21 -28
  27. package/dist-es/commands/UpdateAppInstanceUserEndpointCommand.js +21 -28
  28. package/dist-es/endpoints.js +8 -8
  29. package/dist-es/models/ChimeSDKIdentityServiceException.js +5 -10
  30. package/dist-es/models/models_0.js +352 -170
  31. package/dist-es/pagination/ListAppInstanceAdminsPaginator.js +25 -68
  32. package/dist-es/pagination/ListAppInstanceUserEndpointsPaginator.js +25 -68
  33. package/dist-es/pagination/ListAppInstanceUsersPaginator.js +25 -68
  34. package/dist-es/pagination/ListAppInstancesPaginator.js +25 -68
  35. package/dist-es/protocols/Aws_restJson1.js +1873 -2670
  36. package/dist-es/runtimeConfig.browser.js +26 -12
  37. package/dist-es/runtimeConfig.js +30 -12
  38. package/dist-es/runtimeConfig.native.js +8 -5
  39. package/dist-es/runtimeConfig.shared.js +8 -11
  40. 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 { GetAppInstanceRetentionSettingsRequestFilterSensitiveLog, GetAppInstanceRetentionSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetAppInstanceRetentionSettingsCommand, serializeAws_restJson1GetAppInstanceRetentionSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var GetAppInstanceRetentionSettingsCommand = (function (_super) {
7
- __extends(GetAppInstanceRetentionSettingsCommand, _super);
8
- function GetAppInstanceRetentionSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetAppInstanceRetentionSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetAppInstanceRetentionSettingsCommand.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 = "ChimeSDKIdentityClient";
18
- var commandName = "GetAppInstanceRetentionSettingsCommand";
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 = "ChimeSDKIdentityClient";
15
+ const commandName = "GetAppInstanceRetentionSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetAppInstanceRetentionSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetAppInstanceRetentionSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetAppInstanceRetentionSettingsCommand.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_restJson1GetAppInstanceRetentionSettingsCommand(input, context);
33
- };
34
- GetAppInstanceRetentionSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetAppInstanceRetentionSettingsCommand(output, context);
36
- };
37
- return GetAppInstanceRetentionSettingsCommand;
38
- }($Command));
39
- export { GetAppInstanceRetentionSettingsCommand };
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 { ListAppInstanceAdminsRequestFilterSensitiveLog, ListAppInstanceAdminsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAppInstanceAdminsCommand, serializeAws_restJson1ListAppInstanceAdminsCommand, } from "../protocols/Aws_restJson1";
6
- var ListAppInstanceAdminsCommand = (function (_super) {
7
- __extends(ListAppInstanceAdminsCommand, _super);
8
- function ListAppInstanceAdminsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAppInstanceAdminsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAppInstanceAdminsCommand.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 = "ChimeSDKIdentityClient";
18
- var commandName = "ListAppInstanceAdminsCommand";
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 = "ChimeSDKIdentityClient";
15
+ const commandName = "ListAppInstanceAdminsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAppInstanceAdminsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAppInstanceAdminsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAppInstanceAdminsCommand.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_restJson1ListAppInstanceAdminsCommand(input, context);
33
- };
34
- ListAppInstanceAdminsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAppInstanceAdminsCommand(output, context);
36
- };
37
- return ListAppInstanceAdminsCommand;
38
- }($Command));
39
- export { ListAppInstanceAdminsCommand };
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 { ListAppInstanceUserEndpointsRequestFilterSensitiveLog, ListAppInstanceUserEndpointsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAppInstanceUserEndpointsCommand, serializeAws_restJson1ListAppInstanceUserEndpointsCommand, } from "../protocols/Aws_restJson1";
6
- var ListAppInstanceUserEndpointsCommand = (function (_super) {
7
- __extends(ListAppInstanceUserEndpointsCommand, _super);
8
- function ListAppInstanceUserEndpointsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAppInstanceUserEndpointsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAppInstanceUserEndpointsCommand.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 = "ChimeSDKIdentityClient";
18
- var commandName = "ListAppInstanceUserEndpointsCommand";
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 = "ChimeSDKIdentityClient";
15
+ const commandName = "ListAppInstanceUserEndpointsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAppInstanceUserEndpointsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAppInstanceUserEndpointsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAppInstanceUserEndpointsCommand.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_restJson1ListAppInstanceUserEndpointsCommand(input, context);
33
- };
34
- ListAppInstanceUserEndpointsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAppInstanceUserEndpointsCommand(output, context);
36
- };
37
- return ListAppInstanceUserEndpointsCommand;
38
- }($Command));
39
- export { ListAppInstanceUserEndpointsCommand };
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 { ListAppInstanceUsersRequestFilterSensitiveLog, ListAppInstanceUsersResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAppInstanceUsersCommand, serializeAws_restJson1ListAppInstanceUsersCommand, } from "../protocols/Aws_restJson1";
6
- var ListAppInstanceUsersCommand = (function (_super) {
7
- __extends(ListAppInstanceUsersCommand, _super);
8
- function ListAppInstanceUsersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAppInstanceUsersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAppInstanceUsersCommand.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 = "ChimeSDKIdentityClient";
18
- var commandName = "ListAppInstanceUsersCommand";
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 = "ChimeSDKIdentityClient";
15
+ const commandName = "ListAppInstanceUsersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAppInstanceUsersRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAppInstanceUsersResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAppInstanceUsersCommand.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_restJson1ListAppInstanceUsersCommand(input, context);
33
- };
34
- ListAppInstanceUsersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAppInstanceUsersCommand(output, context);
36
- };
37
- return ListAppInstanceUsersCommand;
38
- }($Command));
39
- export { ListAppInstanceUsersCommand };
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 { ListAppInstancesRequestFilterSensitiveLog, ListAppInstancesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListAppInstancesCommand, serializeAws_restJson1ListAppInstancesCommand, } from "../protocols/Aws_restJson1";
6
- var ListAppInstancesCommand = (function (_super) {
7
- __extends(ListAppInstancesCommand, _super);
8
- function ListAppInstancesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAppInstancesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAppInstancesCommand.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 = "ChimeSDKIdentityClient";
18
- var commandName = "ListAppInstancesCommand";
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 = "ChimeSDKIdentityClient";
15
+ const commandName = "ListAppInstancesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAppInstancesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAppInstancesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAppInstancesCommand.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_restJson1ListAppInstancesCommand(input, context);
33
- };
34
- ListAppInstancesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListAppInstancesCommand(output, context);
36
- };
37
- return ListAppInstancesCommand;
38
- }($Command));
39
- export { ListAppInstancesCommand };
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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
- var ListTagsForResourceCommand = (function (_super) {
7
- __extends(ListTagsForResourceCommand, _super);
8
- function ListTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.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 = "ChimeSDKIdentityClient";
18
- var commandName = "ListTagsForResourceCommand";
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 = "ChimeSDKIdentityClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsForResourceCommand.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_restJson1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
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 { PutAppInstanceRetentionSettingsRequestFilterSensitiveLog, PutAppInstanceRetentionSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1PutAppInstanceRetentionSettingsCommand, serializeAws_restJson1PutAppInstanceRetentionSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var PutAppInstanceRetentionSettingsCommand = (function (_super) {
7
- __extends(PutAppInstanceRetentionSettingsCommand, _super);
8
- function PutAppInstanceRetentionSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutAppInstanceRetentionSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutAppInstanceRetentionSettingsCommand.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 = "ChimeSDKIdentityClient";
18
- var commandName = "PutAppInstanceRetentionSettingsCommand";
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 = "ChimeSDKIdentityClient";
15
+ const commandName = "PutAppInstanceRetentionSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutAppInstanceRetentionSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutAppInstanceRetentionSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutAppInstanceRetentionSettingsCommand.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_restJson1PutAppInstanceRetentionSettingsCommand(input, context);
33
- };
34
- PutAppInstanceRetentionSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PutAppInstanceRetentionSettingsCommand(output, context);
36
- };
37
- return PutAppInstanceRetentionSettingsCommand;
38
- }($Command));
39
- export { PutAppInstanceRetentionSettingsCommand };
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 { RegisterAppInstanceUserEndpointRequestFilterSensitiveLog, RegisterAppInstanceUserEndpointResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1RegisterAppInstanceUserEndpointCommand, serializeAws_restJson1RegisterAppInstanceUserEndpointCommand, } from "../protocols/Aws_restJson1";
6
- var RegisterAppInstanceUserEndpointCommand = (function (_super) {
7
- __extends(RegisterAppInstanceUserEndpointCommand, _super);
8
- function RegisterAppInstanceUserEndpointCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RegisterAppInstanceUserEndpointCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RegisterAppInstanceUserEndpointCommand.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 = "ChimeSDKIdentityClient";
18
- var commandName = "RegisterAppInstanceUserEndpointCommand";
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 = "ChimeSDKIdentityClient";
15
+ const commandName = "RegisterAppInstanceUserEndpointCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RegisterAppInstanceUserEndpointRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RegisterAppInstanceUserEndpointResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RegisterAppInstanceUserEndpointCommand.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_restJson1RegisterAppInstanceUserEndpointCommand(input, context);
33
- };
34
- RegisterAppInstanceUserEndpointCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1RegisterAppInstanceUserEndpointCommand(output, context);
36
- };
37
- return RegisterAppInstanceUserEndpointCommand;
38
- }($Command));
39
- export { RegisterAppInstanceUserEndpointCommand };
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 { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
- var TagResourceCommand = (function (_super) {
7
- __extends(TagResourceCommand, _super);
8
- function TagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.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 = "ChimeSDKIdentityClient";
18
- var commandName = "TagResourceCommand";
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 = "ChimeSDKIdentityClient";
15
+ const commandName = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TagResourceCommand.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_restJson1TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
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 { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
- var UntagResourceCommand = (function (_super) {
7
- __extends(UntagResourceCommand, _super);
8
- function UntagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UntagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UntagResourceCommand.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 = "ChimeSDKIdentityClient";
18
- var commandName = "UntagResourceCommand";
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 = "ChimeSDKIdentityClient";
15
+ const commandName = "UntagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UntagResourceCommand.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_restJson1UntagResourceCommand(input, context);
33
- };
34
- UntagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UntagResourceCommand(output, context);
36
- };
37
- return UntagResourceCommand;
38
- }($Command));
39
- export { UntagResourceCommand };
31
+ }
32
+ }