@aws-sdk/client-chatbot 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 (122) hide show
  1. package/dist-cjs/index.js +45 -345
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateToConfigurationCommand.js +2 -14
  4. package/dist-es/commands/CreateChimeWebhookConfigurationCommand.js +2 -14
  5. package/dist-es/commands/CreateCustomActionCommand.js +2 -14
  6. package/dist-es/commands/CreateMicrosoftTeamsChannelConfigurationCommand.js +2 -14
  7. package/dist-es/commands/CreateSlackChannelConfigurationCommand.js +2 -14
  8. package/dist-es/commands/DeleteChimeWebhookConfigurationCommand.js +2 -14
  9. package/dist-es/commands/DeleteCustomActionCommand.js +2 -14
  10. package/dist-es/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.js +2 -14
  11. package/dist-es/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.js +2 -14
  12. package/dist-es/commands/DeleteMicrosoftTeamsUserIdentityCommand.js +2 -14
  13. package/dist-es/commands/DeleteSlackChannelConfigurationCommand.js +2 -14
  14. package/dist-es/commands/DeleteSlackUserIdentityCommand.js +2 -14
  15. package/dist-es/commands/DeleteSlackWorkspaceAuthorizationCommand.js +2 -14
  16. package/dist-es/commands/DescribeChimeWebhookConfigurationsCommand.js +2 -14
  17. package/dist-es/commands/DescribeSlackChannelConfigurationsCommand.js +2 -14
  18. package/dist-es/commands/DescribeSlackUserIdentitiesCommand.js +2 -14
  19. package/dist-es/commands/DescribeSlackWorkspacesCommand.js +2 -14
  20. package/dist-es/commands/DisassociateFromConfigurationCommand.js +2 -14
  21. package/dist-es/commands/GetAccountPreferencesCommand.js +2 -14
  22. package/dist-es/commands/GetCustomActionCommand.js +2 -14
  23. package/dist-es/commands/GetMicrosoftTeamsChannelConfigurationCommand.js +2 -14
  24. package/dist-es/commands/ListAssociationsCommand.js +2 -14
  25. package/dist-es/commands/ListCustomActionsCommand.js +2 -14
  26. package/dist-es/commands/ListMicrosoftTeamsChannelConfigurationsCommand.js +2 -14
  27. package/dist-es/commands/ListMicrosoftTeamsConfiguredTeamsCommand.js +2 -14
  28. package/dist-es/commands/ListMicrosoftTeamsUserIdentitiesCommand.js +2 -14
  29. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  30. package/dist-es/commands/TagResourceCommand.js +2 -14
  31. package/dist-es/commands/UntagResourceCommand.js +2 -14
  32. package/dist-es/commands/UpdateAccountPreferencesCommand.js +2 -14
  33. package/dist-es/commands/UpdateChimeWebhookConfigurationCommand.js +2 -14
  34. package/dist-es/commands/UpdateCustomActionCommand.js +2 -14
  35. package/dist-es/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.js +2 -14
  36. package/dist-es/commands/UpdateSlackChannelConfigurationCommand.js +2 -14
  37. package/dist-es/index.js +1 -0
  38. package/dist-es/runtimeConfig.browser.js +0 -2
  39. package/dist-es/runtimeConfig.js +1 -2
  40. package/dist-es/runtimeConfig.native.js +0 -2
  41. package/dist-es/runtimeConfig.shared.js +2 -0
  42. package/dist-types/commandBuilder.d.ts +18 -0
  43. package/dist-types/commands/AssociateToConfigurationCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateChimeWebhookConfigurationCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateCustomActionCommand.d.ts +3 -8
  46. package/dist-types/commands/CreateMicrosoftTeamsChannelConfigurationCommand.d.ts +3 -8
  47. package/dist-types/commands/CreateSlackChannelConfigurationCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteChimeWebhookConfigurationCommand.d.ts +3 -8
  49. package/dist-types/commands/DeleteCustomActionCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteMicrosoftTeamsUserIdentityCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteSlackChannelConfigurationCommand.d.ts +3 -8
  54. package/dist-types/commands/DeleteSlackUserIdentityCommand.d.ts +3 -8
  55. package/dist-types/commands/DeleteSlackWorkspaceAuthorizationCommand.d.ts +3 -8
  56. package/dist-types/commands/DescribeChimeWebhookConfigurationsCommand.d.ts +3 -8
  57. package/dist-types/commands/DescribeSlackChannelConfigurationsCommand.d.ts +3 -8
  58. package/dist-types/commands/DescribeSlackUserIdentitiesCommand.d.ts +3 -8
  59. package/dist-types/commands/DescribeSlackWorkspacesCommand.d.ts +3 -8
  60. package/dist-types/commands/DisassociateFromConfigurationCommand.d.ts +3 -8
  61. package/dist-types/commands/GetAccountPreferencesCommand.d.ts +3 -8
  62. package/dist-types/commands/GetCustomActionCommand.d.ts +3 -8
  63. package/dist-types/commands/GetMicrosoftTeamsChannelConfigurationCommand.d.ts +3 -8
  64. package/dist-types/commands/ListAssociationsCommand.d.ts +3 -8
  65. package/dist-types/commands/ListCustomActionsCommand.d.ts +3 -8
  66. package/dist-types/commands/ListMicrosoftTeamsChannelConfigurationsCommand.d.ts +3 -8
  67. package/dist-types/commands/ListMicrosoftTeamsConfiguredTeamsCommand.d.ts +3 -8
  68. package/dist-types/commands/ListMicrosoftTeamsUserIdentitiesCommand.d.ts +3 -8
  69. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  70. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  71. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  72. package/dist-types/commands/UpdateAccountPreferencesCommand.d.ts +3 -8
  73. package/dist-types/commands/UpdateChimeWebhookConfigurationCommand.d.ts +3 -8
  74. package/dist-types/commands/UpdateCustomActionCommand.d.ts +3 -8
  75. package/dist-types/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.d.ts +3 -8
  76. package/dist-types/commands/UpdateSlackChannelConfigurationCommand.d.ts +3 -8
  77. package/dist-types/index.d.ts +1 -0
  78. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  79. package/dist-types/runtimeConfig.d.ts +1 -1
  80. package/dist-types/runtimeConfig.native.d.ts +1 -1
  81. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  82. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  83. package/dist-types/ts3.4/commands/AssociateToConfigurationCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/CreateChimeWebhookConfigurationCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/CreateCustomActionCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/CreateMicrosoftTeamsChannelConfigurationCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/CreateSlackChannelConfigurationCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DeleteChimeWebhookConfigurationCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DeleteCustomActionCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DeleteMicrosoftTeamsChannelConfigurationCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DeleteMicrosoftTeamsConfiguredTeamCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DeleteMicrosoftTeamsUserIdentityCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DeleteSlackChannelConfigurationCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DeleteSlackUserIdentityCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DeleteSlackWorkspaceAuthorizationCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DescribeChimeWebhookConfigurationsCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DescribeSlackChannelConfigurationsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/DescribeSlackUserIdentitiesCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/DescribeSlackWorkspacesCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/DisassociateFromConfigurationCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/GetAccountPreferencesCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/GetCustomActionCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/GetMicrosoftTeamsChannelConfigurationCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListCustomActionsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/ListMicrosoftTeamsChannelConfigurationsCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/ListMicrosoftTeamsConfiguredTeamsCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/ListMicrosoftTeamsUserIdentitiesCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/UpdateAccountPreferencesCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/UpdateChimeWebhookConfigurationCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/UpdateCustomActionCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/UpdateMicrosoftTeamsChannelConfigurationCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/UpdateSlackChannelConfigurationCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/index.d.ts +1 -0
  118. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  119. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  120. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  121. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  122. 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 { DeleteMicrosoftTeamsChannelConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteMicrosoftTeamsChannelConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "DeleteMicrosoftTeamsChannelConfiguration", {})
13
- .n("ChatbotClient", "DeleteMicrosoftTeamsChannelConfigurationCommand")
14
- .sc(DeleteMicrosoftTeamsChannelConfiguration$)
15
- .build() {
3
+ export class DeleteMicrosoftTeamsChannelConfigurationCommand extends command(_ep0, _mw0, "DeleteMicrosoftTeamsChannelConfiguration", DeleteMicrosoftTeamsChannelConfiguration$) {
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 { DeleteMicrosoftTeamsConfiguredTeam$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteMicrosoftTeamsConfiguredTeamCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "DeleteMicrosoftTeamsConfiguredTeam", {})
13
- .n("ChatbotClient", "DeleteMicrosoftTeamsConfiguredTeamCommand")
14
- .sc(DeleteMicrosoftTeamsConfiguredTeam$)
15
- .build() {
3
+ export class DeleteMicrosoftTeamsConfiguredTeamCommand extends command(_ep0, _mw0, "DeleteMicrosoftTeamsConfiguredTeam", DeleteMicrosoftTeamsConfiguredTeam$) {
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 { DeleteMicrosoftTeamsUserIdentity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteMicrosoftTeamsUserIdentityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "DeleteMicrosoftTeamsUserIdentity", {})
13
- .n("ChatbotClient", "DeleteMicrosoftTeamsUserIdentityCommand")
14
- .sc(DeleteMicrosoftTeamsUserIdentity$)
15
- .build() {
3
+ export class DeleteMicrosoftTeamsUserIdentityCommand extends command(_ep0, _mw0, "DeleteMicrosoftTeamsUserIdentity", DeleteMicrosoftTeamsUserIdentity$) {
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 { DeleteSlackChannelConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSlackChannelConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "DeleteSlackChannelConfiguration", {})
13
- .n("ChatbotClient", "DeleteSlackChannelConfigurationCommand")
14
- .sc(DeleteSlackChannelConfiguration$)
15
- .build() {
3
+ export class DeleteSlackChannelConfigurationCommand extends command(_ep0, _mw0, "DeleteSlackChannelConfiguration", DeleteSlackChannelConfiguration$) {
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 { DeleteSlackUserIdentity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSlackUserIdentityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "DeleteSlackUserIdentity", {})
13
- .n("ChatbotClient", "DeleteSlackUserIdentityCommand")
14
- .sc(DeleteSlackUserIdentity$)
15
- .build() {
3
+ export class DeleteSlackUserIdentityCommand extends command(_ep0, _mw0, "DeleteSlackUserIdentity", DeleteSlackUserIdentity$) {
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 { DeleteSlackWorkspaceAuthorization$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSlackWorkspaceAuthorizationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "DeleteSlackWorkspaceAuthorization", {})
13
- .n("ChatbotClient", "DeleteSlackWorkspaceAuthorizationCommand")
14
- .sc(DeleteSlackWorkspaceAuthorization$)
15
- .build() {
3
+ export class DeleteSlackWorkspaceAuthorizationCommand extends command(_ep0, _mw0, "DeleteSlackWorkspaceAuthorization", DeleteSlackWorkspaceAuthorization$) {
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 { DescribeChimeWebhookConfigurations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeChimeWebhookConfigurationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "DescribeChimeWebhookConfigurations", {})
13
- .n("ChatbotClient", "DescribeChimeWebhookConfigurationsCommand")
14
- .sc(DescribeChimeWebhookConfigurations$)
15
- .build() {
3
+ export class DescribeChimeWebhookConfigurationsCommand extends command(_ep0, _mw0, "DescribeChimeWebhookConfigurations", DescribeChimeWebhookConfigurations$) {
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 { DescribeSlackChannelConfigurations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSlackChannelConfigurationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "DescribeSlackChannelConfigurations", {})
13
- .n("ChatbotClient", "DescribeSlackChannelConfigurationsCommand")
14
- .sc(DescribeSlackChannelConfigurations$)
15
- .build() {
3
+ export class DescribeSlackChannelConfigurationsCommand extends command(_ep0, _mw0, "DescribeSlackChannelConfigurations", DescribeSlackChannelConfigurations$) {
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 { DescribeSlackUserIdentities$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSlackUserIdentitiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "DescribeSlackUserIdentities", {})
13
- .n("ChatbotClient", "DescribeSlackUserIdentitiesCommand")
14
- .sc(DescribeSlackUserIdentities$)
15
- .build() {
3
+ export class DescribeSlackUserIdentitiesCommand extends command(_ep0, _mw0, "DescribeSlackUserIdentities", DescribeSlackUserIdentities$) {
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 { DescribeSlackWorkspaces$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSlackWorkspacesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "DescribeSlackWorkspaces", {})
13
- .n("ChatbotClient", "DescribeSlackWorkspacesCommand")
14
- .sc(DescribeSlackWorkspaces$)
15
- .build() {
3
+ export class DescribeSlackWorkspacesCommand extends command(_ep0, _mw0, "DescribeSlackWorkspaces", DescribeSlackWorkspaces$) {
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 { DisassociateFromConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateFromConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "DisassociateFromConfiguration", {})
13
- .n("ChatbotClient", "DisassociateFromConfigurationCommand")
14
- .sc(DisassociateFromConfiguration$)
15
- .build() {
3
+ export class DisassociateFromConfigurationCommand extends command(_ep0, _mw0, "DisassociateFromConfiguration", DisassociateFromConfiguration$) {
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 { GetAccountPreferences$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAccountPreferencesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "GetAccountPreferences", {})
13
- .n("ChatbotClient", "GetAccountPreferencesCommand")
14
- .sc(GetAccountPreferences$)
15
- .build() {
3
+ export class GetAccountPreferencesCommand extends command(_ep0, _mw0, "GetAccountPreferences", GetAccountPreferences$) {
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 { GetCustomAction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCustomActionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "GetCustomAction", {})
13
- .n("ChatbotClient", "GetCustomActionCommand")
14
- .sc(GetCustomAction$)
15
- .build() {
3
+ export class GetCustomActionCommand extends command(_ep0, _mw0, "GetCustomAction", GetCustomAction$) {
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 { GetMicrosoftTeamsChannelConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetMicrosoftTeamsChannelConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "GetMicrosoftTeamsChannelConfiguration", {})
13
- .n("ChatbotClient", "GetMicrosoftTeamsChannelConfigurationCommand")
14
- .sc(GetMicrosoftTeamsChannelConfiguration$)
15
- .build() {
3
+ export class GetMicrosoftTeamsChannelConfigurationCommand extends command(_ep0, _mw0, "GetMicrosoftTeamsChannelConfiguration", GetMicrosoftTeamsChannelConfiguration$) {
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 { ListAssociations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAssociationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "ListAssociations", {})
13
- .n("ChatbotClient", "ListAssociationsCommand")
14
- .sc(ListAssociations$)
15
- .build() {
3
+ export class ListAssociationsCommand extends command(_ep0, _mw0, "ListAssociations", ListAssociations$) {
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 { ListCustomActions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCustomActionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "ListCustomActions", {})
13
- .n("ChatbotClient", "ListCustomActionsCommand")
14
- .sc(ListCustomActions$)
15
- .build() {
3
+ export class ListCustomActionsCommand extends command(_ep0, _mw0, "ListCustomActions", ListCustomActions$) {
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 { ListMicrosoftTeamsChannelConfigurations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListMicrosoftTeamsChannelConfigurationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsChannelConfigurations", {})
13
- .n("ChatbotClient", "ListMicrosoftTeamsChannelConfigurationsCommand")
14
- .sc(ListMicrosoftTeamsChannelConfigurations$)
15
- .build() {
3
+ export class ListMicrosoftTeamsChannelConfigurationsCommand extends command(_ep0, _mw0, "ListMicrosoftTeamsChannelConfigurations", ListMicrosoftTeamsChannelConfigurations$) {
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 { ListMicrosoftTeamsConfiguredTeams$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListMicrosoftTeamsConfiguredTeamsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsConfiguredTeams", {})
13
- .n("ChatbotClient", "ListMicrosoftTeamsConfiguredTeamsCommand")
14
- .sc(ListMicrosoftTeamsConfiguredTeams$)
15
- .build() {
3
+ export class ListMicrosoftTeamsConfiguredTeamsCommand extends command(_ep0, _mw0, "ListMicrosoftTeamsConfiguredTeams", ListMicrosoftTeamsConfiguredTeams$) {
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 { ListMicrosoftTeamsUserIdentities$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListMicrosoftTeamsUserIdentitiesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "ListMicrosoftTeamsUserIdentities", {})
13
- .n("ChatbotClient", "ListMicrosoftTeamsUserIdentitiesCommand")
14
- .sc(ListMicrosoftTeamsUserIdentities$)
15
- .build() {
3
+ export class ListMicrosoftTeamsUserIdentitiesCommand extends command(_ep0, _mw0, "ListMicrosoftTeamsUserIdentities", ListMicrosoftTeamsUserIdentities$) {
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("WheatleyOrchestration_20171011", "ListTagsForResource", {})
13
- .n("ChatbotClient", "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 { 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("WheatleyOrchestration_20171011", "TagResource", {})
13
- .n("ChatbotClient", "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("WheatleyOrchestration_20171011", "UntagResource", {})
13
- .n("ChatbotClient", "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 { UpdateAccountPreferences$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateAccountPreferencesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "UpdateAccountPreferences", {})
13
- .n("ChatbotClient", "UpdateAccountPreferencesCommand")
14
- .sc(UpdateAccountPreferences$)
15
- .build() {
3
+ export class UpdateAccountPreferencesCommand extends command(_ep0, _mw0, "UpdateAccountPreferences", UpdateAccountPreferences$) {
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 { UpdateChimeWebhookConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateChimeWebhookConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "UpdateChimeWebhookConfiguration", {})
13
- .n("ChatbotClient", "UpdateChimeWebhookConfigurationCommand")
14
- .sc(UpdateChimeWebhookConfiguration$)
15
- .build() {
3
+ export class UpdateChimeWebhookConfigurationCommand extends command(_ep0, _mw0, "UpdateChimeWebhookConfiguration", UpdateChimeWebhookConfiguration$) {
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 { UpdateCustomAction$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCustomActionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "UpdateCustomAction", {})
13
- .n("ChatbotClient", "UpdateCustomActionCommand")
14
- .sc(UpdateCustomAction$)
15
- .build() {
3
+ export class UpdateCustomActionCommand extends command(_ep0, _mw0, "UpdateCustomAction", UpdateCustomAction$) {
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 { UpdateMicrosoftTeamsChannelConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateMicrosoftTeamsChannelConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "UpdateMicrosoftTeamsChannelConfiguration", {})
13
- .n("ChatbotClient", "UpdateMicrosoftTeamsChannelConfigurationCommand")
14
- .sc(UpdateMicrosoftTeamsChannelConfiguration$)
15
- .build() {
3
+ export class UpdateMicrosoftTeamsChannelConfigurationCommand extends command(_ep0, _mw0, "UpdateMicrosoftTeamsChannelConfiguration", UpdateMicrosoftTeamsChannelConfiguration$) {
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 { UpdateSlackChannelConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateSlackChannelConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("WheatleyOrchestration_20171011", "UpdateSlackChannelConfiguration", {})
13
- .n("ChatbotClient", "UpdateSlackChannelConfigurationCommand")
14
- .sc(UpdateSlackChannelConfiguration$)
15
- .build() {
3
+ export class UpdateSlackChannelConfigurationCommand extends command(_ep0, _mw0, "UpdateSlackChannelConfiguration", UpdateSlackChannelConfiguration$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ChatbotClient";
2
2
  export * from "./Chatbot";
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";
@@ -32,6 +33,7 @@ export const getRuntimeConfig = (config) => {
32
33
  serviceTarget: "WheatleyOrchestration_20171011",
33
34
  },
34
35
  serviceId: config?.serviceId ?? "chatbot",
36
+ sha256: config?.sha256 ?? Sha256,
35
37
  urlParser: config?.urlParser ?? parseUrl,
36
38
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
37
39
  utf8Encoder: config?.utf8Encoder ?? toUtf8,