@aws-sdk/client-chime-sdk-messaging 3.952.0 → 3.953.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 (71) hide show
  1. package/dist-cjs/index.js +619 -424
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/AssociateChannelFlowCommand.js +2 -2
  4. package/dist-es/commands/BatchCreateChannelMembershipCommand.js +2 -2
  5. package/dist-es/commands/ChannelFlowCallbackCommand.js +2 -2
  6. package/dist-es/commands/CreateChannelBanCommand.js +2 -2
  7. package/dist-es/commands/CreateChannelCommand.js +2 -2
  8. package/dist-es/commands/CreateChannelFlowCommand.js +2 -2
  9. package/dist-es/commands/CreateChannelMembershipCommand.js +2 -2
  10. package/dist-es/commands/CreateChannelModeratorCommand.js +2 -2
  11. package/dist-es/commands/DeleteChannelBanCommand.js +2 -2
  12. package/dist-es/commands/DeleteChannelCommand.js +2 -2
  13. package/dist-es/commands/DeleteChannelFlowCommand.js +2 -2
  14. package/dist-es/commands/DeleteChannelMembershipCommand.js +2 -2
  15. package/dist-es/commands/DeleteChannelMessageCommand.js +2 -2
  16. package/dist-es/commands/DeleteChannelModeratorCommand.js +2 -2
  17. package/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js +2 -2
  18. package/dist-es/commands/DescribeChannelBanCommand.js +2 -2
  19. package/dist-es/commands/DescribeChannelCommand.js +2 -2
  20. package/dist-es/commands/DescribeChannelFlowCommand.js +2 -2
  21. package/dist-es/commands/DescribeChannelMembershipCommand.js +2 -2
  22. package/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js +2 -2
  23. package/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js +2 -2
  24. package/dist-es/commands/DescribeChannelModeratorCommand.js +2 -2
  25. package/dist-es/commands/DisassociateChannelFlowCommand.js +2 -2
  26. package/dist-es/commands/GetChannelMembershipPreferencesCommand.js +2 -2
  27. package/dist-es/commands/GetChannelMessageCommand.js +2 -2
  28. package/dist-es/commands/GetChannelMessageStatusCommand.js +2 -2
  29. package/dist-es/commands/GetMessagingSessionEndpointCommand.js +2 -2
  30. package/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js +2 -2
  31. package/dist-es/commands/ListChannelBansCommand.js +2 -2
  32. package/dist-es/commands/ListChannelFlowsCommand.js +2 -2
  33. package/dist-es/commands/ListChannelMembershipsCommand.js +2 -2
  34. package/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js +2 -2
  35. package/dist-es/commands/ListChannelMessagesCommand.js +2 -2
  36. package/dist-es/commands/ListChannelModeratorsCommand.js +2 -2
  37. package/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js +2 -2
  38. package/dist-es/commands/ListChannelsCommand.js +2 -2
  39. package/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js +2 -2
  40. package/dist-es/commands/ListSubChannelsCommand.js +2 -2
  41. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  42. package/dist-es/commands/PutChannelExpirationSettingsCommand.js +2 -2
  43. package/dist-es/commands/PutChannelMembershipPreferencesCommand.js +2 -2
  44. package/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js +2 -2
  45. package/dist-es/commands/RedactChannelMessageCommand.js +2 -2
  46. package/dist-es/commands/SearchChannelsCommand.js +2 -2
  47. package/dist-es/commands/SendChannelMessageCommand.js +2 -2
  48. package/dist-es/commands/TagResourceCommand.js +2 -2
  49. package/dist-es/commands/UntagResourceCommand.js +2 -2
  50. package/dist-es/commands/UpdateChannelCommand.js +2 -2
  51. package/dist-es/commands/UpdateChannelFlowCommand.js +2 -2
  52. package/dist-es/commands/UpdateChannelMessageCommand.js +2 -2
  53. package/dist-es/commands/UpdateChannelReadMarkerCommand.js +2 -2
  54. package/dist-es/index.js +1 -0
  55. package/dist-es/runtimeConfig.shared.js +6 -1
  56. package/dist-es/schemas/schemas_0.js +381 -374
  57. package/dist-types/ChimeSDKMessagingClient.d.ts +1 -10
  58. package/dist-types/index.d.ts +1 -0
  59. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  60. package/dist-types/runtimeConfig.d.ts +6 -2
  61. package/dist-types/runtimeConfig.native.d.ts +6 -2
  62. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  63. package/dist-types/schemas/schemas_0.d.ts +189 -230
  64. package/dist-types/ts3.4/ChimeSDKMessagingClient.d.ts +0 -4
  65. package/dist-types/ts3.4/index.d.ts +1 -0
  66. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  67. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  68. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  69. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  70. package/dist-types/ts3.4/schemas/schemas_0.d.ts +188 -232
  71. package/package.json +34 -34
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListChannels } from "../schemas/schemas_0";
4
+ import { ListChannels$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListChannelsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListChannelsCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "ListChannels", {})
13
13
  .n("ChimeSDKMessagingClient", "ListChannelsCommand")
14
- .sc(ListChannels)
14
+ .sc(ListChannels$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListChannelsModeratedByAppInstanceUser } from "../schemas/schemas_0";
4
+ import { ListChannelsModeratedByAppInstanceUser$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListChannelsModeratedByAppInstanceUserCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListChannelsModeratedByAppInstanceUserCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "ListChannelsModeratedByAppInstanceUser", {})
13
13
  .n("ChimeSDKMessagingClient", "ListChannelsModeratedByAppInstanceUserCommand")
14
- .sc(ListChannelsModeratedByAppInstanceUser)
14
+ .sc(ListChannelsModeratedByAppInstanceUser$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSubChannels } from "../schemas/schemas_0";
4
+ import { ListSubChannels$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSubChannelsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSubChannelsCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "ListSubChannels", {})
13
13
  .n("ChimeSDKMessagingClient", "ListSubChannelsCommand")
14
- .sc(ListSubChannels)
14
+ .sc(ListSubChannels$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "ListTagsForResource", {})
13
13
  .n("ChimeSDKMessagingClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutChannelExpirationSettings } from "../schemas/schemas_0";
4
+ import { PutChannelExpirationSettings$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutChannelExpirationSettingsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutChannelExpirationSettingsCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "PutChannelExpirationSettings", {})
13
13
  .n("ChimeSDKMessagingClient", "PutChannelExpirationSettingsCommand")
14
- .sc(PutChannelExpirationSettings)
14
+ .sc(PutChannelExpirationSettings$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutChannelMembershipPreferences } from "../schemas/schemas_0";
4
+ import { PutChannelMembershipPreferences$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutChannelMembershipPreferencesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutChannelMembershipPreferencesCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "PutChannelMembershipPreferences", {})
13
13
  .n("ChimeSDKMessagingClient", "PutChannelMembershipPreferencesCommand")
14
- .sc(PutChannelMembershipPreferences)
14
+ .sc(PutChannelMembershipPreferences$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutMessagingStreamingConfigurations } from "../schemas/schemas_0";
4
+ import { PutMessagingStreamingConfigurations$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutMessagingStreamingConfigurationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutMessagingStreamingConfigurationsCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "PutMessagingStreamingConfigurations", {})
13
13
  .n("ChimeSDKMessagingClient", "PutMessagingStreamingConfigurationsCommand")
14
- .sc(PutMessagingStreamingConfigurations)
14
+ .sc(PutMessagingStreamingConfigurations$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RedactChannelMessage } from "../schemas/schemas_0";
4
+ import { RedactChannelMessage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RedactChannelMessageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RedactChannelMessageCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "RedactChannelMessage", {})
13
13
  .n("ChimeSDKMessagingClient", "RedactChannelMessageCommand")
14
- .sc(RedactChannelMessage)
14
+ .sc(RedactChannelMessage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SearchChannels } from "../schemas/schemas_0";
4
+ import { SearchChannels$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SearchChannelsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SearchChannelsCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "SearchChannels", {})
13
13
  .n("ChimeSDKMessagingClient", "SearchChannelsCommand")
14
- .sc(SearchChannels)
14
+ .sc(SearchChannels$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SendChannelMessage } from "../schemas/schemas_0";
4
+ import { SendChannelMessage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SendChannelMessageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SendChannelMessageCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "SendChannelMessage", {})
13
13
  .n("ChimeSDKMessagingClient", "SendChannelMessageCommand")
14
- .sc(SendChannelMessage)
14
+ .sc(SendChannelMessage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "TagResource", {})
13
13
  .n("ChimeSDKMessagingClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "UntagResource", {})
13
13
  .n("ChimeSDKMessagingClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateChannel } from "../schemas/schemas_0";
4
+ import { UpdateChannel$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateChannelCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateChannelCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "UpdateChannel", {})
13
13
  .n("ChimeSDKMessagingClient", "UpdateChannelCommand")
14
- .sc(UpdateChannel)
14
+ .sc(UpdateChannel$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateChannelFlow } from "../schemas/schemas_0";
4
+ import { UpdateChannelFlow$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateChannelFlowCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateChannelFlowCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "UpdateChannelFlow", {})
13
13
  .n("ChimeSDKMessagingClient", "UpdateChannelFlowCommand")
14
- .sc(UpdateChannelFlow)
14
+ .sc(UpdateChannelFlow$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateChannelMessage } from "../schemas/schemas_0";
4
+ import { UpdateChannelMessage$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateChannelMessageCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateChannelMessageCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "UpdateChannelMessage", {})
13
13
  .n("ChimeSDKMessagingClient", "UpdateChannelMessageCommand")
14
- .sc(UpdateChannelMessage)
14
+ .sc(UpdateChannelMessage$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateChannelReadMarker } from "../schemas/schemas_0";
4
+ import { UpdateChannelReadMarker$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateChannelReadMarkerCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateChannelReadMarkerCommand extends $Command
11
11
  })
12
12
  .s("ChimeMessagingService", "UpdateChannelReadMarker", {})
13
13
  .n("ChimeSDKMessagingClient", "UpdateChannelReadMarkerCommand")
14
- .sc(UpdateChannelReadMarker)
14
+ .sc(UpdateChannelReadMarker$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ChimeSDKMessagingClient";
2
2
  export * from "./ChimeSDKMessaging";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.chimesdkmessaging" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.chimesdkmessaging",
29
+ version: "2021-05-15",
30
+ serviceTarget: "ChimeMessagingService",
31
+ },
27
32
  serviceId: config?.serviceId ?? "Chime SDK Messaging",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,