@aws-sdk/client-chime-sdk-identity 3.1076.0 → 3.1078.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 (110) hide show
  1. package/dist-cjs/index.js +41 -305
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateAppInstanceAdminCommand.js +2 -14
  4. package/dist-es/commands/CreateAppInstanceBotCommand.js +2 -14
  5. package/dist-es/commands/CreateAppInstanceCommand.js +2 -14
  6. package/dist-es/commands/CreateAppInstanceUserCommand.js +2 -14
  7. package/dist-es/commands/DeleteAppInstanceAdminCommand.js +2 -14
  8. package/dist-es/commands/DeleteAppInstanceBotCommand.js +2 -14
  9. package/dist-es/commands/DeleteAppInstanceCommand.js +2 -14
  10. package/dist-es/commands/DeleteAppInstanceUserCommand.js +2 -14
  11. package/dist-es/commands/DeregisterAppInstanceUserEndpointCommand.js +2 -14
  12. package/dist-es/commands/DescribeAppInstanceAdminCommand.js +2 -14
  13. package/dist-es/commands/DescribeAppInstanceBotCommand.js +2 -14
  14. package/dist-es/commands/DescribeAppInstanceCommand.js +2 -14
  15. package/dist-es/commands/DescribeAppInstanceUserCommand.js +2 -14
  16. package/dist-es/commands/DescribeAppInstanceUserEndpointCommand.js +2 -14
  17. package/dist-es/commands/GetAppInstanceRetentionSettingsCommand.js +2 -14
  18. package/dist-es/commands/ListAppInstanceAdminsCommand.js +2 -14
  19. package/dist-es/commands/ListAppInstanceBotsCommand.js +2 -14
  20. package/dist-es/commands/ListAppInstanceUserEndpointsCommand.js +2 -14
  21. package/dist-es/commands/ListAppInstanceUsersCommand.js +2 -14
  22. package/dist-es/commands/ListAppInstancesCommand.js +2 -14
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  24. package/dist-es/commands/PutAppInstanceRetentionSettingsCommand.js +2 -14
  25. package/dist-es/commands/PutAppInstanceUserExpirationSettingsCommand.js +2 -14
  26. package/dist-es/commands/RegisterAppInstanceUserEndpointCommand.js +2 -14
  27. package/dist-es/commands/TagResourceCommand.js +2 -14
  28. package/dist-es/commands/UntagResourceCommand.js +2 -14
  29. package/dist-es/commands/UpdateAppInstanceBotCommand.js +2 -14
  30. package/dist-es/commands/UpdateAppInstanceCommand.js +2 -14
  31. package/dist-es/commands/UpdateAppInstanceUserCommand.js +2 -14
  32. package/dist-es/commands/UpdateAppInstanceUserEndpointCommand.js +2 -14
  33. package/dist-es/index.js +1 -0
  34. package/dist-es/runtimeConfig.browser.js +0 -2
  35. package/dist-es/runtimeConfig.js +1 -2
  36. package/dist-es/runtimeConfig.native.js +0 -2
  37. package/dist-es/runtimeConfig.shared.js +2 -0
  38. package/dist-types/commandBuilder.d.ts +18 -0
  39. package/dist-types/commands/CreateAppInstanceAdminCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateAppInstanceBotCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateAppInstanceCommand.d.ts +3 -8
  42. package/dist-types/commands/CreateAppInstanceUserCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteAppInstanceAdminCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteAppInstanceBotCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteAppInstanceCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteAppInstanceUserCommand.d.ts +3 -8
  47. package/dist-types/commands/DeregisterAppInstanceUserEndpointCommand.d.ts +3 -8
  48. package/dist-types/commands/DescribeAppInstanceAdminCommand.d.ts +3 -8
  49. package/dist-types/commands/DescribeAppInstanceBotCommand.d.ts +3 -8
  50. package/dist-types/commands/DescribeAppInstanceCommand.d.ts +3 -8
  51. package/dist-types/commands/DescribeAppInstanceUserCommand.d.ts +3 -8
  52. package/dist-types/commands/DescribeAppInstanceUserEndpointCommand.d.ts +3 -8
  53. package/dist-types/commands/GetAppInstanceRetentionSettingsCommand.d.ts +3 -8
  54. package/dist-types/commands/ListAppInstanceAdminsCommand.d.ts +3 -8
  55. package/dist-types/commands/ListAppInstanceBotsCommand.d.ts +3 -8
  56. package/dist-types/commands/ListAppInstanceUserEndpointsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListAppInstanceUsersCommand.d.ts +3 -8
  58. package/dist-types/commands/ListAppInstancesCommand.d.ts +3 -8
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  60. package/dist-types/commands/PutAppInstanceRetentionSettingsCommand.d.ts +3 -8
  61. package/dist-types/commands/PutAppInstanceUserExpirationSettingsCommand.d.ts +3 -8
  62. package/dist-types/commands/RegisterAppInstanceUserEndpointCommand.d.ts +3 -8
  63. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  65. package/dist-types/commands/UpdateAppInstanceBotCommand.d.ts +3 -8
  66. package/dist-types/commands/UpdateAppInstanceCommand.d.ts +3 -8
  67. package/dist-types/commands/UpdateAppInstanceUserCommand.d.ts +3 -8
  68. package/dist-types/commands/UpdateAppInstanceUserEndpointCommand.d.ts +3 -8
  69. package/dist-types/index.d.ts +1 -0
  70. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  71. package/dist-types/runtimeConfig.d.ts +1 -1
  72. package/dist-types/runtimeConfig.native.d.ts +1 -1
  73. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  74. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  75. package/dist-types/ts3.4/commands/CreateAppInstanceAdminCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/CreateAppInstanceBotCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/CreateAppInstanceCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/CreateAppInstanceUserCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DeleteAppInstanceAdminCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DeleteAppInstanceBotCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DeleteAppInstanceCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DeleteAppInstanceUserCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DeregisterAppInstanceUserEndpointCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DescribeAppInstanceAdminCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DescribeAppInstanceBotCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DescribeAppInstanceCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DescribeAppInstanceUserCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DescribeAppInstanceUserEndpointCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetAppInstanceRetentionSettingsCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ListAppInstanceAdminsCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ListAppInstanceBotsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ListAppInstanceUserEndpointsCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListAppInstanceUsersCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListAppInstancesCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/PutAppInstanceRetentionSettingsCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/PutAppInstanceUserExpirationSettingsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/RegisterAppInstanceUserEndpointCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/UpdateAppInstanceBotCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/UpdateAppInstanceCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/UpdateAppInstanceUserCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/UpdateAppInstanceUserEndpointCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/index.d.ts +1 -0
  106. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  107. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  108. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  109. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  110. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeAppInstanceBot$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAppInstanceBotCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "DescribeAppInstanceBot", {})
13
- .n("ChimeSDKIdentityClient", "DescribeAppInstanceBotCommand")
14
- .sc(DescribeAppInstanceBot$)
15
- .build() {
3
+ export class DescribeAppInstanceBotCommand extends command(_ep0, _mw0, "DescribeAppInstanceBot", DescribeAppInstanceBot$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeAppInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAppInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "DescribeAppInstance", {})
13
- .n("ChimeSDKIdentityClient", "DescribeAppInstanceCommand")
14
- .sc(DescribeAppInstance$)
15
- .build() {
3
+ export class DescribeAppInstanceCommand extends command(_ep0, _mw0, "DescribeAppInstance", DescribeAppInstance$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeAppInstanceUser$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAppInstanceUserCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "DescribeAppInstanceUser", {})
13
- .n("ChimeSDKIdentityClient", "DescribeAppInstanceUserCommand")
14
- .sc(DescribeAppInstanceUser$)
15
- .build() {
3
+ export class DescribeAppInstanceUserCommand extends command(_ep0, _mw0, "DescribeAppInstanceUser", DescribeAppInstanceUser$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeAppInstanceUserEndpoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAppInstanceUserEndpointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "DescribeAppInstanceUserEndpoint", {})
13
- .n("ChimeSDKIdentityClient", "DescribeAppInstanceUserEndpointCommand")
14
- .sc(DescribeAppInstanceUserEndpoint$)
15
- .build() {
3
+ export class DescribeAppInstanceUserEndpointCommand extends command(_ep0, _mw0, "DescribeAppInstanceUserEndpoint", DescribeAppInstanceUserEndpoint$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetAppInstanceRetentionSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAppInstanceRetentionSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "GetAppInstanceRetentionSettings", {})
13
- .n("ChimeSDKIdentityClient", "GetAppInstanceRetentionSettingsCommand")
14
- .sc(GetAppInstanceRetentionSettings$)
15
- .build() {
3
+ export class GetAppInstanceRetentionSettingsCommand extends command(_ep0, _mw0, "GetAppInstanceRetentionSettings", GetAppInstanceRetentionSettings$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAppInstanceAdmins$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAppInstanceAdminsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "ListAppInstanceAdmins", {})
13
- .n("ChimeSDKIdentityClient", "ListAppInstanceAdminsCommand")
14
- .sc(ListAppInstanceAdmins$)
15
- .build() {
3
+ export class ListAppInstanceAdminsCommand extends command(_ep0, _mw0, "ListAppInstanceAdmins", ListAppInstanceAdmins$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAppInstanceBots$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAppInstanceBotsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "ListAppInstanceBots", {})
13
- .n("ChimeSDKIdentityClient", "ListAppInstanceBotsCommand")
14
- .sc(ListAppInstanceBots$)
15
- .build() {
3
+ export class ListAppInstanceBotsCommand extends command(_ep0, _mw0, "ListAppInstanceBots", ListAppInstanceBots$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAppInstanceUserEndpoints$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAppInstanceUserEndpointsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "ListAppInstanceUserEndpoints", {})
13
- .n("ChimeSDKIdentityClient", "ListAppInstanceUserEndpointsCommand")
14
- .sc(ListAppInstanceUserEndpoints$)
15
- .build() {
3
+ export class ListAppInstanceUserEndpointsCommand extends command(_ep0, _mw0, "ListAppInstanceUserEndpoints", ListAppInstanceUserEndpoints$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAppInstanceUsers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAppInstanceUsersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "ListAppInstanceUsers", {})
13
- .n("ChimeSDKIdentityClient", "ListAppInstanceUsersCommand")
14
- .sc(ListAppInstanceUsers$)
15
- .build() {
3
+ export class ListAppInstanceUsersCommand extends command(_ep0, _mw0, "ListAppInstanceUsers", ListAppInstanceUsers$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAppInstances$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAppInstancesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "ListAppInstances", {})
13
- .n("ChimeSDKIdentityClient", "ListAppInstancesCommand")
14
- .sc(ListAppInstances$)
15
- .build() {
3
+ export class ListAppInstancesCommand extends command(_ep0, _mw0, "ListAppInstances", ListAppInstances$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "ListTagsForResource", {})
13
- .n("ChimeSDKIdentityClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutAppInstanceRetentionSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutAppInstanceRetentionSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "PutAppInstanceRetentionSettings", {})
13
- .n("ChimeSDKIdentityClient", "PutAppInstanceRetentionSettingsCommand")
14
- .sc(PutAppInstanceRetentionSettings$)
15
- .build() {
3
+ export class PutAppInstanceRetentionSettingsCommand extends command(_ep0, _mw0, "PutAppInstanceRetentionSettings", PutAppInstanceRetentionSettings$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutAppInstanceUserExpirationSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutAppInstanceUserExpirationSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "PutAppInstanceUserExpirationSettings", {})
13
- .n("ChimeSDKIdentityClient", "PutAppInstanceUserExpirationSettingsCommand")
14
- .sc(PutAppInstanceUserExpirationSettings$)
15
- .build() {
3
+ export class PutAppInstanceUserExpirationSettingsCommand extends command(_ep0, _mw0, "PutAppInstanceUserExpirationSettings", PutAppInstanceUserExpirationSettings$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RegisterAppInstanceUserEndpoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RegisterAppInstanceUserEndpointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "RegisterAppInstanceUserEndpoint", {})
13
- .n("ChimeSDKIdentityClient", "RegisterAppInstanceUserEndpointCommand")
14
- .sc(RegisterAppInstanceUserEndpoint$)
15
- .build() {
3
+ export class RegisterAppInstanceUserEndpointCommand extends command(_ep0, _mw0, "RegisterAppInstanceUserEndpoint", RegisterAppInstanceUserEndpoint$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "TagResource", {})
13
- .n("ChimeSDKIdentityClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "UntagResource", {})
13
- .n("ChimeSDKIdentityClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateAppInstanceBot$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateAppInstanceBotCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "UpdateAppInstanceBot", {})
13
- .n("ChimeSDKIdentityClient", "UpdateAppInstanceBotCommand")
14
- .sc(UpdateAppInstanceBot$)
15
- .build() {
3
+ export class UpdateAppInstanceBotCommand extends command(_ep0, _mw0, "UpdateAppInstanceBot", UpdateAppInstanceBot$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateAppInstance$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateAppInstanceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "UpdateAppInstance", {})
13
- .n("ChimeSDKIdentityClient", "UpdateAppInstanceCommand")
14
- .sc(UpdateAppInstance$)
15
- .build() {
3
+ export class UpdateAppInstanceCommand extends command(_ep0, _mw0, "UpdateAppInstance", UpdateAppInstance$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateAppInstanceUser$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateAppInstanceUserCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "UpdateAppInstanceUser", {})
13
- .n("ChimeSDKIdentityClient", "UpdateAppInstanceUserCommand")
14
- .sc(UpdateAppInstanceUser$)
15
- .build() {
3
+ export class UpdateAppInstanceUserCommand extends command(_ep0, _mw0, "UpdateAppInstanceUser", UpdateAppInstanceUser$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateAppInstanceUserEndpoint$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateAppInstanceUserEndpointCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ChimeIdentityService", "UpdateAppInstanceUserEndpoint", {})
13
- .n("ChimeSDKIdentityClient", "UpdateAppInstanceUserEndpointCommand")
14
- .sc(UpdateAppInstanceUserEndpoint$)
15
- .build() {
3
+ export class UpdateAppInstanceUserEndpointCommand extends command(_ep0, _mw0, "UpdateAppInstanceUserEndpoint", UpdateAppInstanceUserEndpoint$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ChimeSDKIdentityClient";
2
2
  export * from "./ChimeSDKIdentity";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "ChimeIdentityService",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "Chime SDK Identity",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ChimeSDKIdentityClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKIdentityClient";
4
2
  import type { CreateAppInstanceAdminRequest, CreateAppInstanceAdminResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateAppInstanceAdminCommandInput extends CreateAppInstanceAdm
22
19
  export interface CreateAppInstanceAdminCommandOutput extends CreateAppInstanceAdminResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateAppInstanceAdminCommand_base: {
25
- new (input: CreateAppInstanceAdminCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceAdminCommandInput, CreateAppInstanceAdminCommandOutput, ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateAppInstanceAdminCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceAdminCommandInput, CreateAppInstanceAdminCommandOutput, ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateAppInstanceAdminCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceAdminCommandInput, CreateAppInstanceAdminCommandOutput, import("..").ChimeSDKIdentityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAppInstanceAdminCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceAdminCommandInput, CreateAppInstanceAdminCommandOutput, import("..").ChimeSDKIdentityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> to an
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKIdentityClient";
4
2
  import type { CreateAppInstanceBotRequest, CreateAppInstanceBotResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateAppInstanceBotCommandInput extends CreateAppInstanceBotRe
22
19
  export interface CreateAppInstanceBotCommandOutput extends CreateAppInstanceBotResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateAppInstanceBotCommand_base: {
25
- new (input: CreateAppInstanceBotCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceBotCommandInput, CreateAppInstanceBotCommandOutput, ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateAppInstanceBotCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceBotCommandInput, CreateAppInstanceBotCommandOutput, ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateAppInstanceBotCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceBotCommandInput, CreateAppInstanceBotCommandOutput, import("..").ChimeSDKIdentityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAppInstanceBotCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceBotCommandInput, CreateAppInstanceBotCommandOutput, import("..").ChimeSDKIdentityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a bot under an Amazon Chime <code>AppInstance</code>. The request consists of a
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKIdentityClient";
4
2
  import type { CreateAppInstanceRequest, CreateAppInstanceResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateAppInstanceCommandInput extends CreateAppInstanceRequest
22
19
  export interface CreateAppInstanceCommandOutput extends CreateAppInstanceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateAppInstanceCommand_base: {
25
- new (input: CreateAppInstanceCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceCommandInput, CreateAppInstanceCommandOutput, ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateAppInstanceCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceCommandInput, CreateAppInstanceCommandOutput, ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateAppInstanceCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceCommandInput, CreateAppInstanceCommandOutput, import("..").ChimeSDKIdentityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAppInstanceCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceCommandInput, CreateAppInstanceCommandOutput, import("..").ChimeSDKIdentityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates an Amazon Chime SDK messaging <code>AppInstance</code> under an AWS account.
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKIdentityClient";
4
2
  import type { CreateAppInstanceUserRequest, CreateAppInstanceUserResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateAppInstanceUserCommandInput extends CreateAppInstanceUser
22
19
  export interface CreateAppInstanceUserCommandOutput extends CreateAppInstanceUserResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateAppInstanceUserCommand_base: {
25
- new (input: CreateAppInstanceUserCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceUserCommandInput, CreateAppInstanceUserCommandOutput, ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateAppInstanceUserCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceUserCommandInput, CreateAppInstanceUserCommandOutput, ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateAppInstanceUserCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceUserCommandInput, CreateAppInstanceUserCommandOutput, import("..").ChimeSDKIdentityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAppInstanceUserCommandInput): import("@smithy/core/client").CommandImpl<CreateAppInstanceUserCommandInput, CreateAppInstanceUserCommandOutput, import("..").ChimeSDKIdentityClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a user under an Amazon Chime <code>AppInstance</code>. The request consists of a