@aws-sdk/client-chime-sdk-messaging 3.315.0 → 3.316.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.
@@ -65,7 +65,7 @@ export const se_ChannelFlowCallbackCommand = async (input, context) => {
65
65
  });
66
66
  let body;
67
67
  body = JSON.stringify(take(input, {
68
- CallbackId: (_) => _ ?? generateIdempotencyToken(),
68
+ CallbackId: [true, (_) => _ ?? generateIdempotencyToken()],
69
69
  ChannelMessage: (_) => _json(_),
70
70
  DeleteResource: [],
71
71
  }));
@@ -91,7 +91,7 @@ export const se_CreateChannelCommand = async (input, context) => {
91
91
  body = JSON.stringify(take(input, {
92
92
  AppInstanceArn: [],
93
93
  ChannelId: [],
94
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
94
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
95
95
  ElasticChannelConfiguration: (_) => _json(_),
96
96
  ExpirationSettings: (_) => _json(_),
97
97
  MemberArns: (_) => _json(_),
@@ -1008,7 +1008,7 @@ export const se_SendChannelMessageCommand = async (input, context) => {
1008
1008
  resolvedPath = __resolvedPath(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
1009
1009
  let body;
1010
1010
  body = JSON.stringify(take(input, {
1011
- ClientRequestToken: (_) => _ ?? generateIdempotencyToken(),
1011
+ ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
1012
1012
  Content: [],
1013
1013
  ContentType: [],
1014
1014
  MessageAttributes: (_) => _json(_),