@aws-sdk/client-chime-sdk-messaging 3.476.0 → 3.478.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.
- package/dist-cjs/pagination/ListChannelBansPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelFlowsPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelMembershipsPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelMessagesPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelModeratorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +2 -24
- package/dist-cjs/pagination/ListChannelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSubChannelsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchChannelsPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +377 -752
- package/dist-es/pagination/ListChannelBansPaginator.js +2 -23
- package/dist-es/pagination/ListChannelFlowsPaginator.js +2 -23
- package/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +2 -23
- package/dist-es/pagination/ListChannelMembershipsPaginator.js +2 -23
- package/dist-es/pagination/ListChannelMessagesPaginator.js +2 -23
- package/dist-es/pagination/ListChannelModeratorsPaginator.js +2 -23
- package/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js +2 -23
- package/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +2 -23
- package/dist-es/pagination/ListChannelsPaginator.js +2 -23
- package/dist-es/pagination/ListSubChannelsPaginator.js +2 -23
- package/dist-es/pagination/SearchChannelsPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +378 -753
- package/dist-types/pagination/ListChannelBansPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelFlowsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelMembershipsForAppInstanceUserPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelMembershipsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelMessagesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelModeratorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelsAssociatedWithChannelFlowPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelsModeratedByAppInstanceUserPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSubChannelsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchChannelsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListChannelBansPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelFlowsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelMembershipsForAppInstanceUserPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelMembershipsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelMessagesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelModeratorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelsAssociatedWithChannelFlowPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelsModeratedByAppInstanceUserPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSubChannelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchChannelsPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,40 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp,
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { ChimeSDKMessagingServiceException as __BaseException } from "../models/ChimeSDKMessagingServiceException";
|
|
5
5
|
import { BadRequestException, ConflictException, ForbiddenException, NotFoundException, ResourceLimitExceededException, ServiceFailureException, ServiceUnavailableException, ThrottledClientException, UnauthorizedClientException, } from "../models/models_0";
|
|
6
6
|
export const se_AssociateChannelFlowCommand = async (input, context) => {
|
|
7
|
-
const
|
|
7
|
+
const b = rb(input, context);
|
|
8
8
|
const headers = map({}, isSerializableHeaderValue, {
|
|
9
9
|
"content-type": "application/json",
|
|
10
|
-
|
|
10
|
+
[_xacb]: input[_CB],
|
|
11
11
|
});
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
b.bp("/channels/{ChannelArn}/channel-flow");
|
|
13
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
14
14
|
let body;
|
|
15
15
|
body = JSON.stringify(take(input, {
|
|
16
16
|
ChannelFlowArn: [],
|
|
17
17
|
}));
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
hostname,
|
|
21
|
-
port,
|
|
22
|
-
method: "PUT",
|
|
23
|
-
headers,
|
|
24
|
-
path: resolvedPath,
|
|
25
|
-
body,
|
|
26
|
-
});
|
|
18
|
+
b.m("PUT").h(headers).b(body);
|
|
19
|
+
return b.build();
|
|
27
20
|
};
|
|
28
21
|
export const se_BatchCreateChannelMembershipCommand = async (input, context) => {
|
|
29
|
-
const
|
|
22
|
+
const b = rb(input, context);
|
|
30
23
|
const headers = map({}, isSerializableHeaderValue, {
|
|
31
24
|
"content-type": "application/json",
|
|
32
|
-
|
|
25
|
+
[_xacb]: input[_CB],
|
|
33
26
|
});
|
|
34
|
-
|
|
35
|
-
|
|
27
|
+
b.bp("/channels/{ChannelArn}/memberships");
|
|
28
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
36
29
|
const query = map({
|
|
37
|
-
|
|
30
|
+
[_o]: [, "batch-create"],
|
|
38
31
|
});
|
|
39
32
|
let body;
|
|
40
33
|
body = JSON.stringify(take(input, {
|
|
@@ -42,26 +35,18 @@ export const se_BatchCreateChannelMembershipCommand = async (input, context) =>
|
|
|
42
35
|
SubChannelId: [],
|
|
43
36
|
Type: [],
|
|
44
37
|
}));
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
hostname,
|
|
48
|
-
port,
|
|
49
|
-
method: "POST",
|
|
50
|
-
headers,
|
|
51
|
-
path: resolvedPath,
|
|
52
|
-
query,
|
|
53
|
-
body,
|
|
54
|
-
});
|
|
38
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
39
|
+
return b.build();
|
|
55
40
|
};
|
|
56
41
|
export const se_ChannelFlowCallbackCommand = async (input, context) => {
|
|
57
|
-
const
|
|
42
|
+
const b = rb(input, context);
|
|
58
43
|
const headers = {
|
|
59
44
|
"content-type": "application/json",
|
|
60
45
|
};
|
|
61
|
-
|
|
62
|
-
|
|
46
|
+
b.bp("/channels/{ChannelArn}");
|
|
47
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
63
48
|
const query = map({
|
|
64
|
-
|
|
49
|
+
[_o]: [, "channel-flow-callback"],
|
|
65
50
|
});
|
|
66
51
|
let body;
|
|
67
52
|
body = JSON.stringify(take(input, {
|
|
@@ -69,24 +54,16 @@ export const se_ChannelFlowCallbackCommand = async (input, context) => {
|
|
|
69
54
|
ChannelMessage: (_) => _json(_),
|
|
70
55
|
DeleteResource: [],
|
|
71
56
|
}));
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
hostname,
|
|
75
|
-
port,
|
|
76
|
-
method: "POST",
|
|
77
|
-
headers,
|
|
78
|
-
path: resolvedPath,
|
|
79
|
-
query,
|
|
80
|
-
body,
|
|
81
|
-
});
|
|
57
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
58
|
+
return b.build();
|
|
82
59
|
};
|
|
83
60
|
export const se_CreateChannelCommand = async (input, context) => {
|
|
84
|
-
const
|
|
61
|
+
const b = rb(input, context);
|
|
85
62
|
const headers = map({}, isSerializableHeaderValue, {
|
|
86
63
|
"content-type": "application/json",
|
|
87
|
-
|
|
64
|
+
[_xacb]: input[_CB],
|
|
88
65
|
});
|
|
89
|
-
|
|
66
|
+
b.bp("/channels");
|
|
90
67
|
let body;
|
|
91
68
|
body = JSON.stringify(take(input, {
|
|
92
69
|
AppInstanceArn: [],
|
|
@@ -102,44 +79,30 @@ export const se_CreateChannelCommand = async (input, context) => {
|
|
|
102
79
|
Privacy: [],
|
|
103
80
|
Tags: (_) => _json(_),
|
|
104
81
|
}));
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
hostname,
|
|
108
|
-
port,
|
|
109
|
-
method: "POST",
|
|
110
|
-
headers,
|
|
111
|
-
path: resolvedPath,
|
|
112
|
-
body,
|
|
113
|
-
});
|
|
82
|
+
b.m("POST").h(headers).b(body);
|
|
83
|
+
return b.build();
|
|
114
84
|
};
|
|
115
85
|
export const se_CreateChannelBanCommand = async (input, context) => {
|
|
116
|
-
const
|
|
86
|
+
const b = rb(input, context);
|
|
117
87
|
const headers = map({}, isSerializableHeaderValue, {
|
|
118
88
|
"content-type": "application/json",
|
|
119
|
-
|
|
89
|
+
[_xacb]: input[_CB],
|
|
120
90
|
});
|
|
121
|
-
|
|
122
|
-
|
|
91
|
+
b.bp("/channels/{ChannelArn}/bans");
|
|
92
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
123
93
|
let body;
|
|
124
94
|
body = JSON.stringify(take(input, {
|
|
125
95
|
MemberArn: [],
|
|
126
96
|
}));
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
hostname,
|
|
130
|
-
port,
|
|
131
|
-
method: "POST",
|
|
132
|
-
headers,
|
|
133
|
-
path: resolvedPath,
|
|
134
|
-
body,
|
|
135
|
-
});
|
|
97
|
+
b.m("POST").h(headers).b(body);
|
|
98
|
+
return b.build();
|
|
136
99
|
};
|
|
137
100
|
export const se_CreateChannelFlowCommand = async (input, context) => {
|
|
138
|
-
const
|
|
101
|
+
const b = rb(input, context);
|
|
139
102
|
const headers = {
|
|
140
103
|
"content-type": "application/json",
|
|
141
104
|
};
|
|
142
|
-
|
|
105
|
+
b.bp("/channel-flows");
|
|
143
106
|
let body;
|
|
144
107
|
body = JSON.stringify(take(input, {
|
|
145
108
|
AppInstanceArn: [],
|
|
@@ -148,860 +111,546 @@ export const se_CreateChannelFlowCommand = async (input, context) => {
|
|
|
148
111
|
Processors: (_) => _json(_),
|
|
149
112
|
Tags: (_) => _json(_),
|
|
150
113
|
}));
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
hostname,
|
|
154
|
-
port,
|
|
155
|
-
method: "POST",
|
|
156
|
-
headers,
|
|
157
|
-
path: resolvedPath,
|
|
158
|
-
body,
|
|
159
|
-
});
|
|
114
|
+
b.m("POST").h(headers).b(body);
|
|
115
|
+
return b.build();
|
|
160
116
|
};
|
|
161
117
|
export const se_CreateChannelMembershipCommand = async (input, context) => {
|
|
162
|
-
const
|
|
118
|
+
const b = rb(input, context);
|
|
163
119
|
const headers = map({}, isSerializableHeaderValue, {
|
|
164
120
|
"content-type": "application/json",
|
|
165
|
-
|
|
121
|
+
[_xacb]: input[_CB],
|
|
166
122
|
});
|
|
167
|
-
|
|
168
|
-
|
|
123
|
+
b.bp("/channels/{ChannelArn}/memberships");
|
|
124
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
169
125
|
let body;
|
|
170
126
|
body = JSON.stringify(take(input, {
|
|
171
127
|
MemberArn: [],
|
|
172
128
|
SubChannelId: [],
|
|
173
129
|
Type: [],
|
|
174
130
|
}));
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
hostname,
|
|
178
|
-
port,
|
|
179
|
-
method: "POST",
|
|
180
|
-
headers,
|
|
181
|
-
path: resolvedPath,
|
|
182
|
-
body,
|
|
183
|
-
});
|
|
131
|
+
b.m("POST").h(headers).b(body);
|
|
132
|
+
return b.build();
|
|
184
133
|
};
|
|
185
134
|
export const se_CreateChannelModeratorCommand = async (input, context) => {
|
|
186
|
-
const
|
|
135
|
+
const b = rb(input, context);
|
|
187
136
|
const headers = map({}, isSerializableHeaderValue, {
|
|
188
137
|
"content-type": "application/json",
|
|
189
|
-
|
|
138
|
+
[_xacb]: input[_CB],
|
|
190
139
|
});
|
|
191
|
-
|
|
192
|
-
|
|
140
|
+
b.bp("/channels/{ChannelArn}/moderators");
|
|
141
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
193
142
|
let body;
|
|
194
143
|
body = JSON.stringify(take(input, {
|
|
195
144
|
ChannelModeratorArn: [],
|
|
196
145
|
}));
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
hostname,
|
|
200
|
-
port,
|
|
201
|
-
method: "POST",
|
|
202
|
-
headers,
|
|
203
|
-
path: resolvedPath,
|
|
204
|
-
body,
|
|
205
|
-
});
|
|
146
|
+
b.m("POST").h(headers).b(body);
|
|
147
|
+
return b.build();
|
|
206
148
|
};
|
|
207
149
|
export const se_DeleteChannelCommand = async (input, context) => {
|
|
208
|
-
const
|
|
150
|
+
const b = rb(input, context);
|
|
209
151
|
const headers = map({}, isSerializableHeaderValue, {
|
|
210
|
-
|
|
152
|
+
[_xacb]: input[_CB],
|
|
211
153
|
});
|
|
212
|
-
|
|
213
|
-
|
|
154
|
+
b.bp("/channels/{ChannelArn}");
|
|
155
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
214
156
|
let body;
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
hostname,
|
|
218
|
-
port,
|
|
219
|
-
method: "DELETE",
|
|
220
|
-
headers,
|
|
221
|
-
path: resolvedPath,
|
|
222
|
-
body,
|
|
223
|
-
});
|
|
157
|
+
b.m("DELETE").h(headers).b(body);
|
|
158
|
+
return b.build();
|
|
224
159
|
};
|
|
225
160
|
export const se_DeleteChannelBanCommand = async (input, context) => {
|
|
226
|
-
const
|
|
161
|
+
const b = rb(input, context);
|
|
227
162
|
const headers = map({}, isSerializableHeaderValue, {
|
|
228
|
-
|
|
163
|
+
[_xacb]: input[_CB],
|
|
229
164
|
});
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
165
|
+
b.bp("/channels/{ChannelArn}/bans/{MemberArn}");
|
|
166
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
167
|
+
b.p("MemberArn", () => input.MemberArn, "{MemberArn}", false);
|
|
233
168
|
let body;
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
hostname,
|
|
237
|
-
port,
|
|
238
|
-
method: "DELETE",
|
|
239
|
-
headers,
|
|
240
|
-
path: resolvedPath,
|
|
241
|
-
body,
|
|
242
|
-
});
|
|
169
|
+
b.m("DELETE").h(headers).b(body);
|
|
170
|
+
return b.build();
|
|
243
171
|
};
|
|
244
172
|
export const se_DeleteChannelFlowCommand = async (input, context) => {
|
|
245
|
-
const
|
|
173
|
+
const b = rb(input, context);
|
|
246
174
|
const headers = {};
|
|
247
|
-
|
|
248
|
-
|
|
175
|
+
b.bp("/channel-flows/{ChannelFlowArn}");
|
|
176
|
+
b.p("ChannelFlowArn", () => input.ChannelFlowArn, "{ChannelFlowArn}", false);
|
|
249
177
|
let body;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
hostname,
|
|
253
|
-
port,
|
|
254
|
-
method: "DELETE",
|
|
255
|
-
headers,
|
|
256
|
-
path: resolvedPath,
|
|
257
|
-
body,
|
|
258
|
-
});
|
|
178
|
+
b.m("DELETE").h(headers).b(body);
|
|
179
|
+
return b.build();
|
|
259
180
|
};
|
|
260
181
|
export const se_DeleteChannelMembershipCommand = async (input, context) => {
|
|
261
|
-
const
|
|
182
|
+
const b = rb(input, context);
|
|
262
183
|
const headers = map({}, isSerializableHeaderValue, {
|
|
263
|
-
|
|
184
|
+
[_xacb]: input[_CB],
|
|
264
185
|
});
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "MemberArn", () => input.MemberArn, "{MemberArn}", false);
|
|
186
|
+
b.bp("/channels/{ChannelArn}/memberships/{MemberArn}");
|
|
187
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
188
|
+
b.p("MemberArn", () => input.MemberArn, "{MemberArn}", false);
|
|
269
189
|
const query = map({
|
|
270
|
-
|
|
190
|
+
[_sci]: [, input[_SCI]],
|
|
271
191
|
});
|
|
272
192
|
let body;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
hostname,
|
|
276
|
-
port,
|
|
277
|
-
method: "DELETE",
|
|
278
|
-
headers,
|
|
279
|
-
path: resolvedPath,
|
|
280
|
-
query,
|
|
281
|
-
body,
|
|
282
|
-
});
|
|
193
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
194
|
+
return b.build();
|
|
283
195
|
};
|
|
284
196
|
export const se_DeleteChannelMessageCommand = async (input, context) => {
|
|
285
|
-
const
|
|
197
|
+
const b = rb(input, context);
|
|
286
198
|
const headers = map({}, isSerializableHeaderValue, {
|
|
287
|
-
|
|
199
|
+
[_xacb]: input[_CB],
|
|
288
200
|
});
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "MessageId", () => input.MessageId, "{MessageId}", false);
|
|
201
|
+
b.bp("/channels/{ChannelArn}/messages/{MessageId}");
|
|
202
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
203
|
+
b.p("MessageId", () => input.MessageId, "{MessageId}", false);
|
|
293
204
|
const query = map({
|
|
294
|
-
|
|
205
|
+
[_sci]: [, input[_SCI]],
|
|
295
206
|
});
|
|
296
207
|
let body;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
hostname,
|
|
300
|
-
port,
|
|
301
|
-
method: "DELETE",
|
|
302
|
-
headers,
|
|
303
|
-
path: resolvedPath,
|
|
304
|
-
query,
|
|
305
|
-
body,
|
|
306
|
-
});
|
|
208
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
209
|
+
return b.build();
|
|
307
210
|
};
|
|
308
211
|
export const se_DeleteChannelModeratorCommand = async (input, context) => {
|
|
309
|
-
const
|
|
212
|
+
const b = rb(input, context);
|
|
310
213
|
const headers = map({}, isSerializableHeaderValue, {
|
|
311
|
-
|
|
214
|
+
[_xacb]: input[_CB],
|
|
312
215
|
});
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "ChannelModeratorArn", () => input.ChannelModeratorArn, "{ChannelModeratorArn}", false);
|
|
216
|
+
b.bp("/channels/{ChannelArn}/moderators/{ChannelModeratorArn}");
|
|
217
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
218
|
+
b.p("ChannelModeratorArn", () => input.ChannelModeratorArn, "{ChannelModeratorArn}", false);
|
|
317
219
|
let body;
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
hostname,
|
|
321
|
-
port,
|
|
322
|
-
method: "DELETE",
|
|
323
|
-
headers,
|
|
324
|
-
path: resolvedPath,
|
|
325
|
-
body,
|
|
326
|
-
});
|
|
220
|
+
b.m("DELETE").h(headers).b(body);
|
|
221
|
+
return b.build();
|
|
327
222
|
};
|
|
328
223
|
export const se_DeleteMessagingStreamingConfigurationsCommand = async (input, context) => {
|
|
329
|
-
const
|
|
224
|
+
const b = rb(input, context);
|
|
330
225
|
const headers = {};
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
226
|
+
b.bp("/app-instances/{AppInstanceArn}/streaming-configurations");
|
|
227
|
+
b.p("AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
334
228
|
let body;
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
hostname,
|
|
338
|
-
port,
|
|
339
|
-
method: "DELETE",
|
|
340
|
-
headers,
|
|
341
|
-
path: resolvedPath,
|
|
342
|
-
body,
|
|
343
|
-
});
|
|
229
|
+
b.m("DELETE").h(headers).b(body);
|
|
230
|
+
return b.build();
|
|
344
231
|
};
|
|
345
232
|
export const se_DescribeChannelCommand = async (input, context) => {
|
|
346
|
-
const
|
|
233
|
+
const b = rb(input, context);
|
|
347
234
|
const headers = map({}, isSerializableHeaderValue, {
|
|
348
|
-
|
|
235
|
+
[_xacb]: input[_CB],
|
|
349
236
|
});
|
|
350
|
-
|
|
351
|
-
|
|
237
|
+
b.bp("/channels/{ChannelArn}");
|
|
238
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
352
239
|
let body;
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
hostname,
|
|
356
|
-
port,
|
|
357
|
-
method: "GET",
|
|
358
|
-
headers,
|
|
359
|
-
path: resolvedPath,
|
|
360
|
-
body,
|
|
361
|
-
});
|
|
240
|
+
b.m("GET").h(headers).b(body);
|
|
241
|
+
return b.build();
|
|
362
242
|
};
|
|
363
243
|
export const se_DescribeChannelBanCommand = async (input, context) => {
|
|
364
|
-
const
|
|
244
|
+
const b = rb(input, context);
|
|
365
245
|
const headers = map({}, isSerializableHeaderValue, {
|
|
366
|
-
|
|
246
|
+
[_xacb]: input[_CB],
|
|
367
247
|
});
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
248
|
+
b.bp("/channels/{ChannelArn}/bans/{MemberArn}");
|
|
249
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
250
|
+
b.p("MemberArn", () => input.MemberArn, "{MemberArn}", false);
|
|
371
251
|
let body;
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
hostname,
|
|
375
|
-
port,
|
|
376
|
-
method: "GET",
|
|
377
|
-
headers,
|
|
378
|
-
path: resolvedPath,
|
|
379
|
-
body,
|
|
380
|
-
});
|
|
252
|
+
b.m("GET").h(headers).b(body);
|
|
253
|
+
return b.build();
|
|
381
254
|
};
|
|
382
255
|
export const se_DescribeChannelFlowCommand = async (input, context) => {
|
|
383
|
-
const
|
|
256
|
+
const b = rb(input, context);
|
|
384
257
|
const headers = {};
|
|
385
|
-
|
|
386
|
-
|
|
258
|
+
b.bp("/channel-flows/{ChannelFlowArn}");
|
|
259
|
+
b.p("ChannelFlowArn", () => input.ChannelFlowArn, "{ChannelFlowArn}", false);
|
|
387
260
|
let body;
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
hostname,
|
|
391
|
-
port,
|
|
392
|
-
method: "GET",
|
|
393
|
-
headers,
|
|
394
|
-
path: resolvedPath,
|
|
395
|
-
body,
|
|
396
|
-
});
|
|
261
|
+
b.m("GET").h(headers).b(body);
|
|
262
|
+
return b.build();
|
|
397
263
|
};
|
|
398
264
|
export const se_DescribeChannelMembershipCommand = async (input, context) => {
|
|
399
|
-
const
|
|
265
|
+
const b = rb(input, context);
|
|
400
266
|
const headers = map({}, isSerializableHeaderValue, {
|
|
401
|
-
|
|
267
|
+
[_xacb]: input[_CB],
|
|
402
268
|
});
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "MemberArn", () => input.MemberArn, "{MemberArn}", false);
|
|
269
|
+
b.bp("/channels/{ChannelArn}/memberships/{MemberArn}");
|
|
270
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
271
|
+
b.p("MemberArn", () => input.MemberArn, "{MemberArn}", false);
|
|
407
272
|
const query = map({
|
|
408
|
-
|
|
273
|
+
[_sci]: [, input[_SCI]],
|
|
409
274
|
});
|
|
410
275
|
let body;
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
hostname,
|
|
414
|
-
port,
|
|
415
|
-
method: "GET",
|
|
416
|
-
headers,
|
|
417
|
-
path: resolvedPath,
|
|
418
|
-
query,
|
|
419
|
-
body,
|
|
420
|
-
});
|
|
276
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
277
|
+
return b.build();
|
|
421
278
|
};
|
|
422
279
|
export const se_DescribeChannelMembershipForAppInstanceUserCommand = async (input, context) => {
|
|
423
|
-
const
|
|
280
|
+
const b = rb(input, context);
|
|
424
281
|
const headers = map({}, isSerializableHeaderValue, {
|
|
425
|
-
|
|
282
|
+
[_xacb]: input[_CB],
|
|
426
283
|
});
|
|
427
|
-
|
|
428
|
-
|
|
284
|
+
b.bp("/channels/{ChannelArn}");
|
|
285
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
429
286
|
const query = map({
|
|
430
|
-
|
|
431
|
-
|
|
287
|
+
[_s]: [, "app-instance-user-membership"],
|
|
288
|
+
[_aiua]: [, __expectNonNull(input[_AIUA], `AppInstanceUserArn`)],
|
|
432
289
|
});
|
|
433
290
|
let body;
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
hostname,
|
|
437
|
-
port,
|
|
438
|
-
method: "GET",
|
|
439
|
-
headers,
|
|
440
|
-
path: resolvedPath,
|
|
441
|
-
query,
|
|
442
|
-
body,
|
|
443
|
-
});
|
|
291
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
292
|
+
return b.build();
|
|
444
293
|
};
|
|
445
294
|
export const se_DescribeChannelModeratedByAppInstanceUserCommand = async (input, context) => {
|
|
446
|
-
const
|
|
295
|
+
const b = rb(input, context);
|
|
447
296
|
const headers = map({}, isSerializableHeaderValue, {
|
|
448
|
-
|
|
297
|
+
[_xacb]: input[_CB],
|
|
449
298
|
});
|
|
450
|
-
|
|
451
|
-
|
|
299
|
+
b.bp("/channels/{ChannelArn}");
|
|
300
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
452
301
|
const query = map({
|
|
453
|
-
|
|
454
|
-
|
|
302
|
+
[_s]: [, "app-instance-user-moderated-channel"],
|
|
303
|
+
[_aiua]: [, __expectNonNull(input[_AIUA], `AppInstanceUserArn`)],
|
|
455
304
|
});
|
|
456
305
|
let body;
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
hostname,
|
|
460
|
-
port,
|
|
461
|
-
method: "GET",
|
|
462
|
-
headers,
|
|
463
|
-
path: resolvedPath,
|
|
464
|
-
query,
|
|
465
|
-
body,
|
|
466
|
-
});
|
|
306
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
307
|
+
return b.build();
|
|
467
308
|
};
|
|
468
309
|
export const se_DescribeChannelModeratorCommand = async (input, context) => {
|
|
469
|
-
const
|
|
310
|
+
const b = rb(input, context);
|
|
470
311
|
const headers = map({}, isSerializableHeaderValue, {
|
|
471
|
-
|
|
312
|
+
[_xacb]: input[_CB],
|
|
472
313
|
});
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "ChannelModeratorArn", () => input.ChannelModeratorArn, "{ChannelModeratorArn}", false);
|
|
314
|
+
b.bp("/channels/{ChannelArn}/moderators/{ChannelModeratorArn}");
|
|
315
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
316
|
+
b.p("ChannelModeratorArn", () => input.ChannelModeratorArn, "{ChannelModeratorArn}", false);
|
|
477
317
|
let body;
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
hostname,
|
|
481
|
-
port,
|
|
482
|
-
method: "GET",
|
|
483
|
-
headers,
|
|
484
|
-
path: resolvedPath,
|
|
485
|
-
body,
|
|
486
|
-
});
|
|
318
|
+
b.m("GET").h(headers).b(body);
|
|
319
|
+
return b.build();
|
|
487
320
|
};
|
|
488
321
|
export const se_DisassociateChannelFlowCommand = async (input, context) => {
|
|
489
|
-
const
|
|
322
|
+
const b = rb(input, context);
|
|
490
323
|
const headers = map({}, isSerializableHeaderValue, {
|
|
491
|
-
|
|
324
|
+
[_xacb]: input[_CB],
|
|
492
325
|
});
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "ChannelFlowArn", () => input.ChannelFlowArn, "{ChannelFlowArn}", false);
|
|
326
|
+
b.bp("/channels/{ChannelArn}/channel-flow/{ChannelFlowArn}");
|
|
327
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
328
|
+
b.p("ChannelFlowArn", () => input.ChannelFlowArn, "{ChannelFlowArn}", false);
|
|
497
329
|
let body;
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
hostname,
|
|
501
|
-
port,
|
|
502
|
-
method: "DELETE",
|
|
503
|
-
headers,
|
|
504
|
-
path: resolvedPath,
|
|
505
|
-
body,
|
|
506
|
-
});
|
|
330
|
+
b.m("DELETE").h(headers).b(body);
|
|
331
|
+
return b.build();
|
|
507
332
|
};
|
|
508
333
|
export const se_GetChannelMembershipPreferencesCommand = async (input, context) => {
|
|
509
|
-
const
|
|
334
|
+
const b = rb(input, context);
|
|
510
335
|
const headers = map({}, isSerializableHeaderValue, {
|
|
511
|
-
|
|
336
|
+
[_xacb]: input[_CB],
|
|
512
337
|
});
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "MemberArn", () => input.MemberArn, "{MemberArn}", false);
|
|
338
|
+
b.bp("/channels/{ChannelArn}/memberships/{MemberArn}/preferences");
|
|
339
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
340
|
+
b.p("MemberArn", () => input.MemberArn, "{MemberArn}", false);
|
|
517
341
|
let body;
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
hostname,
|
|
521
|
-
port,
|
|
522
|
-
method: "GET",
|
|
523
|
-
headers,
|
|
524
|
-
path: resolvedPath,
|
|
525
|
-
body,
|
|
526
|
-
});
|
|
342
|
+
b.m("GET").h(headers).b(body);
|
|
343
|
+
return b.build();
|
|
527
344
|
};
|
|
528
345
|
export const se_GetChannelMessageCommand = async (input, context) => {
|
|
529
|
-
const
|
|
346
|
+
const b = rb(input, context);
|
|
530
347
|
const headers = map({}, isSerializableHeaderValue, {
|
|
531
|
-
|
|
348
|
+
[_xacb]: input[_CB],
|
|
532
349
|
});
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "MessageId", () => input.MessageId, "{MessageId}", false);
|
|
350
|
+
b.bp("/channels/{ChannelArn}/messages/{MessageId}");
|
|
351
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
352
|
+
b.p("MessageId", () => input.MessageId, "{MessageId}", false);
|
|
537
353
|
const query = map({
|
|
538
|
-
|
|
354
|
+
[_sci]: [, input[_SCI]],
|
|
539
355
|
});
|
|
540
356
|
let body;
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
hostname,
|
|
544
|
-
port,
|
|
545
|
-
method: "GET",
|
|
546
|
-
headers,
|
|
547
|
-
path: resolvedPath,
|
|
548
|
-
query,
|
|
549
|
-
body,
|
|
550
|
-
});
|
|
357
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
358
|
+
return b.build();
|
|
551
359
|
};
|
|
552
360
|
export const se_GetChannelMessageStatusCommand = async (input, context) => {
|
|
553
|
-
const
|
|
361
|
+
const b = rb(input, context);
|
|
554
362
|
const headers = map({}, isSerializableHeaderValue, {
|
|
555
|
-
|
|
363
|
+
[_xacb]: input[_CB],
|
|
556
364
|
});
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "MessageId", () => input.MessageId, "{MessageId}", false);
|
|
365
|
+
b.bp("/channels/{ChannelArn}/messages/{MessageId}");
|
|
366
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
367
|
+
b.p("MessageId", () => input.MessageId, "{MessageId}", false);
|
|
561
368
|
const query = map({
|
|
562
|
-
|
|
563
|
-
|
|
369
|
+
[_s]: [, "message-status"],
|
|
370
|
+
[_sci]: [, input[_SCI]],
|
|
564
371
|
});
|
|
565
372
|
let body;
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
hostname,
|
|
569
|
-
port,
|
|
570
|
-
method: "GET",
|
|
571
|
-
headers,
|
|
572
|
-
path: resolvedPath,
|
|
573
|
-
query,
|
|
574
|
-
body,
|
|
575
|
-
});
|
|
373
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
374
|
+
return b.build();
|
|
576
375
|
};
|
|
577
376
|
export const se_GetMessagingSessionEndpointCommand = async (input, context) => {
|
|
578
|
-
const
|
|
377
|
+
const b = rb(input, context);
|
|
579
378
|
const headers = {
|
|
580
379
|
"content-type": "application/json",
|
|
581
380
|
};
|
|
582
|
-
|
|
381
|
+
b.bp("/endpoints/messaging-session");
|
|
583
382
|
let body;
|
|
584
383
|
body = "";
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
hostname,
|
|
588
|
-
port,
|
|
589
|
-
method: "GET",
|
|
590
|
-
headers,
|
|
591
|
-
path: resolvedPath,
|
|
592
|
-
body,
|
|
593
|
-
});
|
|
384
|
+
b.m("GET").h(headers).b(body);
|
|
385
|
+
return b.build();
|
|
594
386
|
};
|
|
595
387
|
export const se_GetMessagingStreamingConfigurationsCommand = async (input, context) => {
|
|
596
|
-
const
|
|
388
|
+
const b = rb(input, context);
|
|
597
389
|
const headers = {};
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
390
|
+
b.bp("/app-instances/{AppInstanceArn}/streaming-configurations");
|
|
391
|
+
b.p("AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
601
392
|
let body;
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
hostname,
|
|
605
|
-
port,
|
|
606
|
-
method: "GET",
|
|
607
|
-
headers,
|
|
608
|
-
path: resolvedPath,
|
|
609
|
-
body,
|
|
610
|
-
});
|
|
393
|
+
b.m("GET").h(headers).b(body);
|
|
394
|
+
return b.build();
|
|
611
395
|
};
|
|
612
396
|
export const se_ListChannelBansCommand = async (input, context) => {
|
|
613
|
-
const
|
|
397
|
+
const b = rb(input, context);
|
|
614
398
|
const headers = map({}, isSerializableHeaderValue, {
|
|
615
|
-
|
|
399
|
+
[_xacb]: input[_CB],
|
|
616
400
|
});
|
|
617
|
-
|
|
618
|
-
|
|
401
|
+
b.bp("/channels/{ChannelArn}/bans");
|
|
402
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
619
403
|
const query = map({
|
|
620
|
-
|
|
621
|
-
|
|
404
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
405
|
+
[_nt]: [, input[_NT]],
|
|
622
406
|
});
|
|
623
407
|
let body;
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
hostname,
|
|
627
|
-
port,
|
|
628
|
-
method: "GET",
|
|
629
|
-
headers,
|
|
630
|
-
path: resolvedPath,
|
|
631
|
-
query,
|
|
632
|
-
body,
|
|
633
|
-
});
|
|
408
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
409
|
+
return b.build();
|
|
634
410
|
};
|
|
635
411
|
export const se_ListChannelFlowsCommand = async (input, context) => {
|
|
636
|
-
const
|
|
412
|
+
const b = rb(input, context);
|
|
637
413
|
const headers = {};
|
|
638
|
-
|
|
414
|
+
b.bp("/channel-flows");
|
|
639
415
|
const query = map({
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
416
|
+
[_aia]: [, __expectNonNull(input[_AIA], `AppInstanceArn`)],
|
|
417
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
418
|
+
[_nt]: [, input[_NT]],
|
|
643
419
|
});
|
|
644
420
|
let body;
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
hostname,
|
|
648
|
-
port,
|
|
649
|
-
method: "GET",
|
|
650
|
-
headers,
|
|
651
|
-
path: resolvedPath,
|
|
652
|
-
query,
|
|
653
|
-
body,
|
|
654
|
-
});
|
|
421
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
422
|
+
return b.build();
|
|
655
423
|
};
|
|
656
424
|
export const se_ListChannelMembershipsCommand = async (input, context) => {
|
|
657
|
-
const
|
|
425
|
+
const b = rb(input, context);
|
|
658
426
|
const headers = map({}, isSerializableHeaderValue, {
|
|
659
|
-
|
|
427
|
+
[_xacb]: input[_CB],
|
|
660
428
|
});
|
|
661
|
-
|
|
662
|
-
|
|
429
|
+
b.bp("/channels/{ChannelArn}/memberships");
|
|
430
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
663
431
|
const query = map({
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
432
|
+
[_t]: [, input[_T]],
|
|
433
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
434
|
+
[_nt]: [, input[_NT]],
|
|
435
|
+
[_sci]: [, input[_SCI]],
|
|
668
436
|
});
|
|
669
437
|
let body;
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
hostname,
|
|
673
|
-
port,
|
|
674
|
-
method: "GET",
|
|
675
|
-
headers,
|
|
676
|
-
path: resolvedPath,
|
|
677
|
-
query,
|
|
678
|
-
body,
|
|
679
|
-
});
|
|
438
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
439
|
+
return b.build();
|
|
680
440
|
};
|
|
681
441
|
export const se_ListChannelMembershipsForAppInstanceUserCommand = async (input, context) => {
|
|
682
|
-
const
|
|
442
|
+
const b = rb(input, context);
|
|
683
443
|
const headers = map({}, isSerializableHeaderValue, {
|
|
684
|
-
|
|
444
|
+
[_xacb]: input[_CB],
|
|
685
445
|
});
|
|
686
|
-
|
|
446
|
+
b.bp("/channels");
|
|
687
447
|
const query = map({
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
448
|
+
[_s]: [, "app-instance-user-memberships"],
|
|
449
|
+
[_aiua]: [, input[_AIUA]],
|
|
450
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
451
|
+
[_nt]: [, input[_NT]],
|
|
692
452
|
});
|
|
693
453
|
let body;
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
hostname,
|
|
697
|
-
port,
|
|
698
|
-
method: "GET",
|
|
699
|
-
headers,
|
|
700
|
-
path: resolvedPath,
|
|
701
|
-
query,
|
|
702
|
-
body,
|
|
703
|
-
});
|
|
454
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
455
|
+
return b.build();
|
|
704
456
|
};
|
|
705
457
|
export const se_ListChannelMessagesCommand = async (input, context) => {
|
|
706
|
-
const
|
|
458
|
+
const b = rb(input, context);
|
|
707
459
|
const headers = map({}, isSerializableHeaderValue, {
|
|
708
|
-
|
|
460
|
+
[_xacb]: input[_CB],
|
|
709
461
|
});
|
|
710
|
-
|
|
711
|
-
|
|
462
|
+
b.bp("/channels/{ChannelArn}/messages");
|
|
463
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
712
464
|
const query = map({
|
|
713
|
-
|
|
714
|
-
"
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
],
|
|
718
|
-
|
|
719
|
-
() => input.NotAfter !== void 0,
|
|
720
|
-
() => (input.NotAfter.toISOString().split(".")[0] + "Z").toString(),
|
|
721
|
-
],
|
|
722
|
-
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
723
|
-
"next-token": [, input.NextToken],
|
|
724
|
-
"sub-channel-id": [, input.SubChannelId],
|
|
465
|
+
[_so]: [, input[_SO]],
|
|
466
|
+
[_nb]: [() => input.NotBefore !== void 0, () => (input[_NB].toISOString().split(".")[0] + "Z").toString()],
|
|
467
|
+
[_na]: [() => input.NotAfter !== void 0, () => (input[_NA].toISOString().split(".")[0] + "Z").toString()],
|
|
468
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
469
|
+
[_nt]: [, input[_NT]],
|
|
470
|
+
[_sci]: [, input[_SCI]],
|
|
725
471
|
});
|
|
726
472
|
let body;
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
hostname,
|
|
730
|
-
port,
|
|
731
|
-
method: "GET",
|
|
732
|
-
headers,
|
|
733
|
-
path: resolvedPath,
|
|
734
|
-
query,
|
|
735
|
-
body,
|
|
736
|
-
});
|
|
473
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
474
|
+
return b.build();
|
|
737
475
|
};
|
|
738
476
|
export const se_ListChannelModeratorsCommand = async (input, context) => {
|
|
739
|
-
const
|
|
477
|
+
const b = rb(input, context);
|
|
740
478
|
const headers = map({}, isSerializableHeaderValue, {
|
|
741
|
-
|
|
479
|
+
[_xacb]: input[_CB],
|
|
742
480
|
});
|
|
743
|
-
|
|
744
|
-
|
|
481
|
+
b.bp("/channels/{ChannelArn}/moderators");
|
|
482
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
745
483
|
const query = map({
|
|
746
|
-
|
|
747
|
-
|
|
484
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
485
|
+
[_nt]: [, input[_NT]],
|
|
748
486
|
});
|
|
749
487
|
let body;
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
hostname,
|
|
753
|
-
port,
|
|
754
|
-
method: "GET",
|
|
755
|
-
headers,
|
|
756
|
-
path: resolvedPath,
|
|
757
|
-
query,
|
|
758
|
-
body,
|
|
759
|
-
});
|
|
488
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
489
|
+
return b.build();
|
|
760
490
|
};
|
|
761
491
|
export const se_ListChannelsCommand = async (input, context) => {
|
|
762
|
-
const
|
|
492
|
+
const b = rb(input, context);
|
|
763
493
|
const headers = map({}, isSerializableHeaderValue, {
|
|
764
|
-
|
|
494
|
+
[_xacb]: input[_CB],
|
|
765
495
|
});
|
|
766
|
-
|
|
496
|
+
b.bp("/channels");
|
|
767
497
|
const query = map({
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
498
|
+
[_aia]: [, __expectNonNull(input[_AIA], `AppInstanceArn`)],
|
|
499
|
+
[_p]: [, input[_P]],
|
|
500
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
501
|
+
[_nt]: [, input[_NT]],
|
|
772
502
|
});
|
|
773
503
|
let body;
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
hostname,
|
|
777
|
-
port,
|
|
778
|
-
method: "GET",
|
|
779
|
-
headers,
|
|
780
|
-
path: resolvedPath,
|
|
781
|
-
query,
|
|
782
|
-
body,
|
|
783
|
-
});
|
|
504
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
505
|
+
return b.build();
|
|
784
506
|
};
|
|
785
507
|
export const se_ListChannelsAssociatedWithChannelFlowCommand = async (input, context) => {
|
|
786
|
-
const
|
|
508
|
+
const b = rb(input, context);
|
|
787
509
|
const headers = {};
|
|
788
|
-
|
|
510
|
+
b.bp("/channels");
|
|
789
511
|
const query = map({
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
512
|
+
[_s]: [, "channel-flow-associations"],
|
|
513
|
+
[_cfa]: [, __expectNonNull(input[_CFA], `ChannelFlowArn`)],
|
|
514
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
515
|
+
[_nt]: [, input[_NT]],
|
|
794
516
|
});
|
|
795
517
|
let body;
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
hostname,
|
|
799
|
-
port,
|
|
800
|
-
method: "GET",
|
|
801
|
-
headers,
|
|
802
|
-
path: resolvedPath,
|
|
803
|
-
query,
|
|
804
|
-
body,
|
|
805
|
-
});
|
|
518
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
519
|
+
return b.build();
|
|
806
520
|
};
|
|
807
521
|
export const se_ListChannelsModeratedByAppInstanceUserCommand = async (input, context) => {
|
|
808
|
-
const
|
|
522
|
+
const b = rb(input, context);
|
|
809
523
|
const headers = map({}, isSerializableHeaderValue, {
|
|
810
|
-
|
|
524
|
+
[_xacb]: input[_CB],
|
|
811
525
|
});
|
|
812
|
-
|
|
526
|
+
b.bp("/channels");
|
|
813
527
|
const query = map({
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
528
|
+
[_s]: [, "app-instance-user-moderated-channels"],
|
|
529
|
+
[_aiua]: [, input[_AIUA]],
|
|
530
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
531
|
+
[_nt]: [, input[_NT]],
|
|
818
532
|
});
|
|
819
533
|
let body;
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
hostname,
|
|
823
|
-
port,
|
|
824
|
-
method: "GET",
|
|
825
|
-
headers,
|
|
826
|
-
path: resolvedPath,
|
|
827
|
-
query,
|
|
828
|
-
body,
|
|
829
|
-
});
|
|
534
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
535
|
+
return b.build();
|
|
830
536
|
};
|
|
831
537
|
export const se_ListSubChannelsCommand = async (input, context) => {
|
|
832
|
-
const
|
|
538
|
+
const b = rb(input, context);
|
|
833
539
|
const headers = map({}, isSerializableHeaderValue, {
|
|
834
|
-
|
|
540
|
+
[_xacb]: input[_CB],
|
|
835
541
|
});
|
|
836
|
-
|
|
837
|
-
|
|
542
|
+
b.bp("/channels/{ChannelArn}/subchannels");
|
|
543
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
838
544
|
const query = map({
|
|
839
|
-
|
|
840
|
-
|
|
545
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
546
|
+
[_nt]: [, input[_NT]],
|
|
841
547
|
});
|
|
842
548
|
let body;
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
hostname,
|
|
846
|
-
port,
|
|
847
|
-
method: "GET",
|
|
848
|
-
headers,
|
|
849
|
-
path: resolvedPath,
|
|
850
|
-
query,
|
|
851
|
-
body,
|
|
852
|
-
});
|
|
549
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
550
|
+
return b.build();
|
|
853
551
|
};
|
|
854
552
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
855
|
-
const
|
|
553
|
+
const b = rb(input, context);
|
|
856
554
|
const headers = {};
|
|
857
|
-
|
|
555
|
+
b.bp("/tags");
|
|
858
556
|
const query = map({
|
|
859
|
-
|
|
557
|
+
[_a]: [, __expectNonNull(input[_RARN], `ResourceARN`)],
|
|
860
558
|
});
|
|
861
559
|
let body;
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
hostname,
|
|
865
|
-
port,
|
|
866
|
-
method: "GET",
|
|
867
|
-
headers,
|
|
868
|
-
path: resolvedPath,
|
|
869
|
-
query,
|
|
870
|
-
body,
|
|
871
|
-
});
|
|
560
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
561
|
+
return b.build();
|
|
872
562
|
};
|
|
873
563
|
export const se_PutChannelExpirationSettingsCommand = async (input, context) => {
|
|
874
|
-
const
|
|
564
|
+
const b = rb(input, context);
|
|
875
565
|
const headers = map({}, isSerializableHeaderValue, {
|
|
876
566
|
"content-type": "application/json",
|
|
877
|
-
|
|
567
|
+
[_xacb]: input[_CB],
|
|
878
568
|
});
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
569
|
+
b.bp("/channels/{ChannelArn}/expiration-settings");
|
|
570
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
882
571
|
let body;
|
|
883
572
|
body = JSON.stringify(take(input, {
|
|
884
573
|
ExpirationSettings: (_) => _json(_),
|
|
885
574
|
}));
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
hostname,
|
|
889
|
-
port,
|
|
890
|
-
method: "PUT",
|
|
891
|
-
headers,
|
|
892
|
-
path: resolvedPath,
|
|
893
|
-
body,
|
|
894
|
-
});
|
|
575
|
+
b.m("PUT").h(headers).b(body);
|
|
576
|
+
return b.build();
|
|
895
577
|
};
|
|
896
578
|
export const se_PutChannelMembershipPreferencesCommand = async (input, context) => {
|
|
897
|
-
const
|
|
579
|
+
const b = rb(input, context);
|
|
898
580
|
const headers = map({}, isSerializableHeaderValue, {
|
|
899
581
|
"content-type": "application/json",
|
|
900
|
-
|
|
582
|
+
[_xacb]: input[_CB],
|
|
901
583
|
});
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "MemberArn", () => input.MemberArn, "{MemberArn}", false);
|
|
584
|
+
b.bp("/channels/{ChannelArn}/memberships/{MemberArn}/preferences");
|
|
585
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
586
|
+
b.p("MemberArn", () => input.MemberArn, "{MemberArn}", false);
|
|
906
587
|
let body;
|
|
907
588
|
body = JSON.stringify(take(input, {
|
|
908
589
|
Preferences: (_) => _json(_),
|
|
909
590
|
}));
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
hostname,
|
|
913
|
-
port,
|
|
914
|
-
method: "PUT",
|
|
915
|
-
headers,
|
|
916
|
-
path: resolvedPath,
|
|
917
|
-
body,
|
|
918
|
-
});
|
|
591
|
+
b.m("PUT").h(headers).b(body);
|
|
592
|
+
return b.build();
|
|
919
593
|
};
|
|
920
594
|
export const se_PutMessagingStreamingConfigurationsCommand = async (input, context) => {
|
|
921
|
-
const
|
|
595
|
+
const b = rb(input, context);
|
|
922
596
|
const headers = {
|
|
923
597
|
"content-type": "application/json",
|
|
924
598
|
};
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
599
|
+
b.bp("/app-instances/{AppInstanceArn}/streaming-configurations");
|
|
600
|
+
b.p("AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
928
601
|
let body;
|
|
929
602
|
body = JSON.stringify(take(input, {
|
|
930
603
|
StreamingConfigurations: (_) => _json(_),
|
|
931
604
|
}));
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
hostname,
|
|
935
|
-
port,
|
|
936
|
-
method: "PUT",
|
|
937
|
-
headers,
|
|
938
|
-
path: resolvedPath,
|
|
939
|
-
body,
|
|
940
|
-
});
|
|
605
|
+
b.m("PUT").h(headers).b(body);
|
|
606
|
+
return b.build();
|
|
941
607
|
};
|
|
942
608
|
export const se_RedactChannelMessageCommand = async (input, context) => {
|
|
943
|
-
const
|
|
609
|
+
const b = rb(input, context);
|
|
944
610
|
const headers = map({}, isSerializableHeaderValue, {
|
|
945
611
|
"content-type": "application/json",
|
|
946
|
-
|
|
612
|
+
[_xacb]: input[_CB],
|
|
947
613
|
});
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "MessageId", () => input.MessageId, "{MessageId}", false);
|
|
614
|
+
b.bp("/channels/{ChannelArn}/messages/{MessageId}");
|
|
615
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
616
|
+
b.p("MessageId", () => input.MessageId, "{MessageId}", false);
|
|
952
617
|
const query = map({
|
|
953
|
-
|
|
618
|
+
[_o]: [, "redact"],
|
|
954
619
|
});
|
|
955
620
|
let body;
|
|
956
621
|
body = JSON.stringify(take(input, {
|
|
957
622
|
SubChannelId: [],
|
|
958
623
|
}));
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
hostname,
|
|
962
|
-
port,
|
|
963
|
-
method: "POST",
|
|
964
|
-
headers,
|
|
965
|
-
path: resolvedPath,
|
|
966
|
-
query,
|
|
967
|
-
body,
|
|
968
|
-
});
|
|
624
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
625
|
+
return b.build();
|
|
969
626
|
};
|
|
970
627
|
export const se_SearchChannelsCommand = async (input, context) => {
|
|
971
|
-
const
|
|
628
|
+
const b = rb(input, context);
|
|
972
629
|
const headers = map({}, isSerializableHeaderValue, {
|
|
973
630
|
"content-type": "application/json",
|
|
974
|
-
|
|
631
|
+
[_xacb]: input[_CB],
|
|
975
632
|
});
|
|
976
|
-
|
|
633
|
+
b.bp("/channels");
|
|
977
634
|
const query = map({
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
635
|
+
[_o]: [, "search"],
|
|
636
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
637
|
+
[_nt]: [, input[_NT]],
|
|
981
638
|
});
|
|
982
639
|
let body;
|
|
983
640
|
body = JSON.stringify(take(input, {
|
|
984
641
|
Fields: (_) => _json(_),
|
|
985
642
|
}));
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
hostname,
|
|
989
|
-
port,
|
|
990
|
-
method: "POST",
|
|
991
|
-
headers,
|
|
992
|
-
path: resolvedPath,
|
|
993
|
-
query,
|
|
994
|
-
body,
|
|
995
|
-
});
|
|
643
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
644
|
+
return b.build();
|
|
996
645
|
};
|
|
997
646
|
export const se_SendChannelMessageCommand = async (input, context) => {
|
|
998
|
-
const
|
|
647
|
+
const b = rb(input, context);
|
|
999
648
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1000
649
|
"content-type": "application/json",
|
|
1001
|
-
|
|
650
|
+
[_xacb]: input[_CB],
|
|
1002
651
|
});
|
|
1003
|
-
|
|
1004
|
-
|
|
652
|
+
b.bp("/channels/{ChannelArn}/messages");
|
|
653
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
1005
654
|
let body;
|
|
1006
655
|
body = JSON.stringify(take(input, {
|
|
1007
656
|
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
@@ -1015,122 +664,84 @@ export const se_SendChannelMessageCommand = async (input, context) => {
|
|
|
1015
664
|
Target: (_) => _json(_),
|
|
1016
665
|
Type: [],
|
|
1017
666
|
}));
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
hostname,
|
|
1021
|
-
port,
|
|
1022
|
-
method: "POST",
|
|
1023
|
-
headers,
|
|
1024
|
-
path: resolvedPath,
|
|
1025
|
-
body,
|
|
1026
|
-
});
|
|
667
|
+
b.m("POST").h(headers).b(body);
|
|
668
|
+
return b.build();
|
|
1027
669
|
};
|
|
1028
670
|
export const se_TagResourceCommand = async (input, context) => {
|
|
1029
|
-
const
|
|
671
|
+
const b = rb(input, context);
|
|
1030
672
|
const headers = {
|
|
1031
673
|
"content-type": "application/json",
|
|
1032
674
|
};
|
|
1033
|
-
|
|
675
|
+
b.bp("/tags");
|
|
1034
676
|
const query = map({
|
|
1035
|
-
|
|
677
|
+
[_o]: [, "tag-resource"],
|
|
1036
678
|
});
|
|
1037
679
|
let body;
|
|
1038
680
|
body = JSON.stringify(take(input, {
|
|
1039
681
|
ResourceARN: [],
|
|
1040
682
|
Tags: (_) => _json(_),
|
|
1041
683
|
}));
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
hostname,
|
|
1045
|
-
port,
|
|
1046
|
-
method: "POST",
|
|
1047
|
-
headers,
|
|
1048
|
-
path: resolvedPath,
|
|
1049
|
-
query,
|
|
1050
|
-
body,
|
|
1051
|
-
});
|
|
684
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
685
|
+
return b.build();
|
|
1052
686
|
};
|
|
1053
687
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
1054
|
-
const
|
|
688
|
+
const b = rb(input, context);
|
|
1055
689
|
const headers = {
|
|
1056
690
|
"content-type": "application/json",
|
|
1057
691
|
};
|
|
1058
|
-
|
|
692
|
+
b.bp("/tags");
|
|
1059
693
|
const query = map({
|
|
1060
|
-
|
|
694
|
+
[_o]: [, "untag-resource"],
|
|
1061
695
|
});
|
|
1062
696
|
let body;
|
|
1063
697
|
body = JSON.stringify(take(input, {
|
|
1064
698
|
ResourceARN: [],
|
|
1065
699
|
TagKeys: (_) => _json(_),
|
|
1066
700
|
}));
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
hostname,
|
|
1070
|
-
port,
|
|
1071
|
-
method: "POST",
|
|
1072
|
-
headers,
|
|
1073
|
-
path: resolvedPath,
|
|
1074
|
-
query,
|
|
1075
|
-
body,
|
|
1076
|
-
});
|
|
701
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
702
|
+
return b.build();
|
|
1077
703
|
};
|
|
1078
704
|
export const se_UpdateChannelCommand = async (input, context) => {
|
|
1079
|
-
const
|
|
705
|
+
const b = rb(input, context);
|
|
1080
706
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1081
707
|
"content-type": "application/json",
|
|
1082
|
-
|
|
708
|
+
[_xacb]: input[_CB],
|
|
1083
709
|
});
|
|
1084
|
-
|
|
1085
|
-
|
|
710
|
+
b.bp("/channels/{ChannelArn}");
|
|
711
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
1086
712
|
let body;
|
|
1087
713
|
body = JSON.stringify(take(input, {
|
|
1088
714
|
Metadata: [],
|
|
1089
715
|
Mode: [],
|
|
1090
716
|
Name: [],
|
|
1091
717
|
}));
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
hostname,
|
|
1095
|
-
port,
|
|
1096
|
-
method: "PUT",
|
|
1097
|
-
headers,
|
|
1098
|
-
path: resolvedPath,
|
|
1099
|
-
body,
|
|
1100
|
-
});
|
|
718
|
+
b.m("PUT").h(headers).b(body);
|
|
719
|
+
return b.build();
|
|
1101
720
|
};
|
|
1102
721
|
export const se_UpdateChannelFlowCommand = async (input, context) => {
|
|
1103
|
-
const
|
|
722
|
+
const b = rb(input, context);
|
|
1104
723
|
const headers = {
|
|
1105
724
|
"content-type": "application/json",
|
|
1106
725
|
};
|
|
1107
|
-
|
|
1108
|
-
|
|
726
|
+
b.bp("/channel-flows/{ChannelFlowArn}");
|
|
727
|
+
b.p("ChannelFlowArn", () => input.ChannelFlowArn, "{ChannelFlowArn}", false);
|
|
1109
728
|
let body;
|
|
1110
729
|
body = JSON.stringify(take(input, {
|
|
1111
730
|
Name: [],
|
|
1112
731
|
Processors: (_) => _json(_),
|
|
1113
732
|
}));
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
hostname,
|
|
1117
|
-
port,
|
|
1118
|
-
method: "PUT",
|
|
1119
|
-
headers,
|
|
1120
|
-
path: resolvedPath,
|
|
1121
|
-
body,
|
|
1122
|
-
});
|
|
733
|
+
b.m("PUT").h(headers).b(body);
|
|
734
|
+
return b.build();
|
|
1123
735
|
};
|
|
1124
736
|
export const se_UpdateChannelMessageCommand = async (input, context) => {
|
|
1125
|
-
const
|
|
737
|
+
const b = rb(input, context);
|
|
1126
738
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1127
739
|
"content-type": "application/json",
|
|
1128
|
-
|
|
740
|
+
[_xacb]: input[_CB],
|
|
1129
741
|
});
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "MessageId", () => input.MessageId, "{MessageId}", false);
|
|
742
|
+
b.bp("/channels/{ChannelArn}/messages/{MessageId}");
|
|
743
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
744
|
+
b.p("MessageId", () => input.MessageId, "{MessageId}", false);
|
|
1134
745
|
let body;
|
|
1135
746
|
body = JSON.stringify(take(input, {
|
|
1136
747
|
Content: [],
|
|
@@ -1138,33 +749,19 @@ export const se_UpdateChannelMessageCommand = async (input, context) => {
|
|
|
1138
749
|
Metadata: [],
|
|
1139
750
|
SubChannelId: [],
|
|
1140
751
|
}));
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
hostname,
|
|
1144
|
-
port,
|
|
1145
|
-
method: "PUT",
|
|
1146
|
-
headers,
|
|
1147
|
-
path: resolvedPath,
|
|
1148
|
-
body,
|
|
1149
|
-
});
|
|
752
|
+
b.m("PUT").h(headers).b(body);
|
|
753
|
+
return b.build();
|
|
1150
754
|
};
|
|
1151
755
|
export const se_UpdateChannelReadMarkerCommand = async (input, context) => {
|
|
1152
|
-
const
|
|
756
|
+
const b = rb(input, context);
|
|
1153
757
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1154
|
-
|
|
758
|
+
[_xacb]: input[_CB],
|
|
1155
759
|
});
|
|
1156
|
-
|
|
1157
|
-
|
|
760
|
+
b.bp("/channels/{ChannelArn}/readMarker");
|
|
761
|
+
b.p("ChannelArn", () => input.ChannelArn, "{ChannelArn}", false);
|
|
1158
762
|
let body;
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
hostname,
|
|
1162
|
-
port,
|
|
1163
|
-
method: "PUT",
|
|
1164
|
-
headers,
|
|
1165
|
-
path: resolvedPath,
|
|
1166
|
-
body,
|
|
1167
|
-
});
|
|
763
|
+
b.m("PUT").h(headers).b(body);
|
|
764
|
+
return b.build();
|
|
1168
765
|
};
|
|
1169
766
|
export const de_AssociateChannelFlowCommand = async (output, context) => {
|
|
1170
767
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -4002,6 +3599,34 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
4002
3599
|
value !== "" &&
|
|
4003
3600
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
4004
3601
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
3602
|
+
const _AIA = "AppInstanceArn";
|
|
3603
|
+
const _AIUA = "AppInstanceUserArn";
|
|
3604
|
+
const _CB = "ChimeBearer";
|
|
3605
|
+
const _CFA = "ChannelFlowArn";
|
|
3606
|
+
const _MR = "MaxResults";
|
|
3607
|
+
const _NA = "NotAfter";
|
|
3608
|
+
const _NB = "NotBefore";
|
|
3609
|
+
const _NT = "NextToken";
|
|
3610
|
+
const _P = "Privacy";
|
|
3611
|
+
const _RARN = "ResourceARN";
|
|
3612
|
+
const _SCI = "SubChannelId";
|
|
3613
|
+
const _SO = "SortOrder";
|
|
3614
|
+
const _T = "Type";
|
|
3615
|
+
const _a = "arn";
|
|
3616
|
+
const _aia = "app-instance-arn";
|
|
3617
|
+
const _aiua = "app-instance-user-arn";
|
|
3618
|
+
const _cfa = "channel-flow-arn";
|
|
3619
|
+
const _mr = "max-results";
|
|
3620
|
+
const _na = "not-after";
|
|
3621
|
+
const _nb = "not-before";
|
|
3622
|
+
const _nt = "next-token";
|
|
3623
|
+
const _o = "operation";
|
|
3624
|
+
const _p = "privacy";
|
|
3625
|
+
const _s = "scope";
|
|
3626
|
+
const _sci = "sub-channel-id";
|
|
3627
|
+
const _so = "sort-order";
|
|
3628
|
+
const _t = "type";
|
|
3629
|
+
const _xacb = "x-amz-chime-bearer";
|
|
4005
3630
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4006
3631
|
if (encoded.length) {
|
|
4007
3632
|
return JSON.parse(encoded);
|