@aws-sdk/client-chime-sdk-media-pipelines 3.121.0 → 3.127.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/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +36 -58
- package/dist-es/protocols/Aws_restJson1.js +25 -47
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-chime-sdk-media-pipelines
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -15,17 +15,15 @@ const serializeAws_restJson1CreateMediaCapturePipelineCommand = async (input, co
|
|
|
15
15
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/sdk-media-capture-pipelines";
|
|
16
16
|
let body;
|
|
17
17
|
body = JSON.stringify({
|
|
18
|
-
...(input.ChimeSdkMeetingConfiguration
|
|
19
|
-
input.ChimeSdkMeetingConfiguration !== null && {
|
|
18
|
+
...(input.ChimeSdkMeetingConfiguration != null && {
|
|
20
19
|
ChimeSdkMeetingConfiguration: serializeAws_restJson1ChimeSdkMeetingConfiguration(input.ChimeSdkMeetingConfiguration, context),
|
|
21
20
|
}),
|
|
22
21
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
23
|
-
...(input.SinkArn
|
|
24
|
-
...(input.SinkType
|
|
25
|
-
...(input.SourceArn
|
|
26
|
-
...(input.SourceType
|
|
27
|
-
...(input.Tags
|
|
28
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
22
|
+
...(input.SinkArn != null && { SinkArn: input.SinkArn }),
|
|
23
|
+
...(input.SinkType != null && { SinkType: input.SinkType }),
|
|
24
|
+
...(input.SourceArn != null && { SourceArn: input.SourceArn }),
|
|
25
|
+
...(input.SourceType != null && { SourceType: input.SourceType }),
|
|
26
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
29
27
|
});
|
|
30
28
|
return new protocol_http_1.HttpRequest({
|
|
31
29
|
protocol,
|
|
@@ -144,9 +142,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
144
142
|
};
|
|
145
143
|
let body;
|
|
146
144
|
body = JSON.stringify({
|
|
147
|
-
...(input.ResourceARN
|
|
148
|
-
...(input.Tags
|
|
149
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
145
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
146
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
150
147
|
});
|
|
151
148
|
return new protocol_http_1.HttpRequest({
|
|
152
149
|
protocol,
|
|
@@ -171,9 +168,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
171
168
|
};
|
|
172
169
|
let body;
|
|
173
170
|
body = JSON.stringify({
|
|
174
|
-
...(input.ResourceARN
|
|
175
|
-
...(input.TagKeys
|
|
176
|
-
input.TagKeys !== null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) }),
|
|
171
|
+
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
172
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) }),
|
|
177
173
|
});
|
|
178
174
|
return new protocol_http_1.HttpRequest({
|
|
179
175
|
protocol,
|
|
@@ -717,14 +713,11 @@ const deserializeAws_restJson1UnauthorizedClientExceptionResponse = async (parse
|
|
|
717
713
|
};
|
|
718
714
|
const serializeAws_restJson1ArtifactsConfiguration = (input, context) => {
|
|
719
715
|
return {
|
|
720
|
-
...(input.Audio
|
|
721
|
-
|
|
722
|
-
...(input.Content !== undefined &&
|
|
723
|
-
input.Content !== null && {
|
|
716
|
+
...(input.Audio != null && { Audio: serializeAws_restJson1AudioArtifactsConfiguration(input.Audio, context) }),
|
|
717
|
+
...(input.Content != null && {
|
|
724
718
|
Content: serializeAws_restJson1ContentArtifactsConfiguration(input.Content, context),
|
|
725
719
|
}),
|
|
726
|
-
...(input.Video
|
|
727
|
-
input.Video !== null && { Video: serializeAws_restJson1VideoArtifactsConfiguration(input.Video, context) }),
|
|
720
|
+
...(input.Video != null && { Video: serializeAws_restJson1VideoArtifactsConfiguration(input.Video, context) }),
|
|
728
721
|
};
|
|
729
722
|
};
|
|
730
723
|
const serializeAws_restJson1AttendeeIdList = (input, context) => {
|
|
@@ -739,25 +732,23 @@ const serializeAws_restJson1AttendeeIdList = (input, context) => {
|
|
|
739
732
|
};
|
|
740
733
|
const serializeAws_restJson1AudioArtifactsConfiguration = (input, context) => {
|
|
741
734
|
return {
|
|
742
|
-
...(input.MuxType
|
|
735
|
+
...(input.MuxType != null && { MuxType: input.MuxType }),
|
|
743
736
|
};
|
|
744
737
|
};
|
|
745
738
|
const serializeAws_restJson1ChimeSdkMeetingConfiguration = (input, context) => {
|
|
746
739
|
return {
|
|
747
|
-
...(input.ArtifactsConfiguration
|
|
748
|
-
input.ArtifactsConfiguration !== null && {
|
|
740
|
+
...(input.ArtifactsConfiguration != null && {
|
|
749
741
|
ArtifactsConfiguration: serializeAws_restJson1ArtifactsConfiguration(input.ArtifactsConfiguration, context),
|
|
750
742
|
}),
|
|
751
|
-
...(input.SourceConfiguration
|
|
752
|
-
input.SourceConfiguration !== null && {
|
|
743
|
+
...(input.SourceConfiguration != null && {
|
|
753
744
|
SourceConfiguration: serializeAws_restJson1SourceConfiguration(input.SourceConfiguration, context),
|
|
754
745
|
}),
|
|
755
746
|
};
|
|
756
747
|
};
|
|
757
748
|
const serializeAws_restJson1ContentArtifactsConfiguration = (input, context) => {
|
|
758
749
|
return {
|
|
759
|
-
...(input.MuxType
|
|
760
|
-
...(input.State
|
|
750
|
+
...(input.MuxType != null && { MuxType: input.MuxType }),
|
|
751
|
+
...(input.State != null && { State: input.State }),
|
|
761
752
|
};
|
|
762
753
|
};
|
|
763
754
|
const serializeAws_restJson1ExternalUserIdList = (input, context) => {
|
|
@@ -772,26 +763,23 @@ const serializeAws_restJson1ExternalUserIdList = (input, context) => {
|
|
|
772
763
|
};
|
|
773
764
|
const serializeAws_restJson1SelectedVideoStreams = (input, context) => {
|
|
774
765
|
return {
|
|
775
|
-
...(input.AttendeeIds
|
|
776
|
-
|
|
777
|
-
...(input.ExternalUserIds !== undefined &&
|
|
778
|
-
input.ExternalUserIds !== null && {
|
|
766
|
+
...(input.AttendeeIds != null && { AttendeeIds: serializeAws_restJson1AttendeeIdList(input.AttendeeIds, context) }),
|
|
767
|
+
...(input.ExternalUserIds != null && {
|
|
779
768
|
ExternalUserIds: serializeAws_restJson1ExternalUserIdList(input.ExternalUserIds, context),
|
|
780
769
|
}),
|
|
781
770
|
};
|
|
782
771
|
};
|
|
783
772
|
const serializeAws_restJson1SourceConfiguration = (input, context) => {
|
|
784
773
|
return {
|
|
785
|
-
...(input.SelectedVideoStreams
|
|
786
|
-
input.SelectedVideoStreams !== null && {
|
|
774
|
+
...(input.SelectedVideoStreams != null && {
|
|
787
775
|
SelectedVideoStreams: serializeAws_restJson1SelectedVideoStreams(input.SelectedVideoStreams, context),
|
|
788
776
|
}),
|
|
789
777
|
};
|
|
790
778
|
};
|
|
791
779
|
const serializeAws_restJson1Tag = (input, context) => {
|
|
792
780
|
return {
|
|
793
|
-
...(input.Key
|
|
794
|
-
...(input.Value
|
|
781
|
+
...(input.Key != null && { Key: input.Key }),
|
|
782
|
+
...(input.Value != null && { Value: input.Value }),
|
|
795
783
|
};
|
|
796
784
|
};
|
|
797
785
|
const serializeAws_restJson1TagKeyList = (input, context) => {
|
|
@@ -816,21 +804,17 @@ const serializeAws_restJson1TagList = (input, context) => {
|
|
|
816
804
|
};
|
|
817
805
|
const serializeAws_restJson1VideoArtifactsConfiguration = (input, context) => {
|
|
818
806
|
return {
|
|
819
|
-
...(input.MuxType
|
|
820
|
-
...(input.State
|
|
807
|
+
...(input.MuxType != null && { MuxType: input.MuxType }),
|
|
808
|
+
...(input.State != null && { State: input.State }),
|
|
821
809
|
};
|
|
822
810
|
};
|
|
823
811
|
const deserializeAws_restJson1ArtifactsConfiguration = (output, context) => {
|
|
824
812
|
return {
|
|
825
|
-
Audio: output.Audio
|
|
826
|
-
|
|
827
|
-
: undefined,
|
|
828
|
-
Content: output.Content !== undefined && output.Content !== null
|
|
813
|
+
Audio: output.Audio != null ? deserializeAws_restJson1AudioArtifactsConfiguration(output.Audio, context) : undefined,
|
|
814
|
+
Content: output.Content != null
|
|
829
815
|
? deserializeAws_restJson1ContentArtifactsConfiguration(output.Content, context)
|
|
830
816
|
: undefined,
|
|
831
|
-
Video: output.Video
|
|
832
|
-
? deserializeAws_restJson1VideoArtifactsConfiguration(output.Video, context)
|
|
833
|
-
: undefined,
|
|
817
|
+
Video: output.Video != null ? deserializeAws_restJson1VideoArtifactsConfiguration(output.Video, context) : undefined,
|
|
834
818
|
};
|
|
835
819
|
};
|
|
836
820
|
const deserializeAws_restJson1AttendeeIdList = (output, context) => {
|
|
@@ -851,10 +835,10 @@ const deserializeAws_restJson1AudioArtifactsConfiguration = (output, context) =>
|
|
|
851
835
|
};
|
|
852
836
|
const deserializeAws_restJson1ChimeSdkMeetingConfiguration = (output, context) => {
|
|
853
837
|
return {
|
|
854
|
-
ArtifactsConfiguration: output.ArtifactsConfiguration
|
|
838
|
+
ArtifactsConfiguration: output.ArtifactsConfiguration != null
|
|
855
839
|
? deserializeAws_restJson1ArtifactsConfiguration(output.ArtifactsConfiguration, context)
|
|
856
840
|
: undefined,
|
|
857
|
-
SourceConfiguration: output.SourceConfiguration
|
|
841
|
+
SourceConfiguration: output.SourceConfiguration != null
|
|
858
842
|
? deserializeAws_restJson1SourceConfiguration(output.SourceConfiguration, context)
|
|
859
843
|
: undefined,
|
|
860
844
|
};
|
|
@@ -878,12 +862,10 @@ const deserializeAws_restJson1ExternalUserIdList = (output, context) => {
|
|
|
878
862
|
};
|
|
879
863
|
const deserializeAws_restJson1MediaCapturePipeline = (output, context) => {
|
|
880
864
|
return {
|
|
881
|
-
ChimeSdkMeetingConfiguration: output.ChimeSdkMeetingConfiguration
|
|
865
|
+
ChimeSdkMeetingConfiguration: output.ChimeSdkMeetingConfiguration != null
|
|
882
866
|
? deserializeAws_restJson1ChimeSdkMeetingConfiguration(output.ChimeSdkMeetingConfiguration, context)
|
|
883
867
|
: undefined,
|
|
884
|
-
CreatedTimestamp: output.CreatedTimestamp
|
|
885
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreatedTimestamp))
|
|
886
|
-
: undefined,
|
|
868
|
+
CreatedTimestamp: output.CreatedTimestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CreatedTimestamp)) : undefined,
|
|
887
869
|
MediaPipelineArn: (0, smithy_client_1.expectString)(output.MediaPipelineArn),
|
|
888
870
|
MediaPipelineId: (0, smithy_client_1.expectString)(output.MediaPipelineId),
|
|
889
871
|
SinkArn: (0, smithy_client_1.expectString)(output.SinkArn),
|
|
@@ -891,9 +873,7 @@ const deserializeAws_restJson1MediaCapturePipeline = (output, context) => {
|
|
|
891
873
|
SourceArn: (0, smithy_client_1.expectString)(output.SourceArn),
|
|
892
874
|
SourceType: (0, smithy_client_1.expectString)(output.SourceType),
|
|
893
875
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
894
|
-
UpdatedTimestamp: output.UpdatedTimestamp
|
|
895
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.UpdatedTimestamp))
|
|
896
|
-
: undefined,
|
|
876
|
+
UpdatedTimestamp: output.UpdatedTimestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.UpdatedTimestamp)) : undefined,
|
|
897
877
|
};
|
|
898
878
|
};
|
|
899
879
|
const deserializeAws_restJson1MediaCapturePipelineSummary = (output, context) => {
|
|
@@ -915,17 +895,15 @@ const deserializeAws_restJson1MediaCapturePipelineSummaryList = (output, context
|
|
|
915
895
|
};
|
|
916
896
|
const deserializeAws_restJson1SelectedVideoStreams = (output, context) => {
|
|
917
897
|
return {
|
|
918
|
-
AttendeeIds: output.AttendeeIds
|
|
919
|
-
|
|
920
|
-
: undefined,
|
|
921
|
-
ExternalUserIds: output.ExternalUserIds !== undefined && output.ExternalUserIds !== null
|
|
898
|
+
AttendeeIds: output.AttendeeIds != null ? deserializeAws_restJson1AttendeeIdList(output.AttendeeIds, context) : undefined,
|
|
899
|
+
ExternalUserIds: output.ExternalUserIds != null
|
|
922
900
|
? deserializeAws_restJson1ExternalUserIdList(output.ExternalUserIds, context)
|
|
923
901
|
: undefined,
|
|
924
902
|
};
|
|
925
903
|
};
|
|
926
904
|
const deserializeAws_restJson1SourceConfiguration = (output, context) => {
|
|
927
905
|
return {
|
|
928
|
-
SelectedVideoStreams: output.SelectedVideoStreams
|
|
906
|
+
SelectedVideoStreams: output.SelectedVideoStreams != null
|
|
929
907
|
? deserializeAws_restJson1SelectedVideoStreams(output.SelectedVideoStreams, context)
|
|
930
908
|
: undefined,
|
|
931
909
|
};
|
|
@@ -16,11 +16,9 @@ export var serializeAws_restJson1CreateMediaCapturePipelineCommand = function (i
|
|
|
16
16
|
"content-type": "application/json",
|
|
17
17
|
};
|
|
18
18
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/sdk-media-capture-pipelines";
|
|
19
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChimeSdkMeetingConfiguration
|
|
20
|
-
input.ChimeSdkMeetingConfiguration !== null && {
|
|
19
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChimeSdkMeetingConfiguration != null && {
|
|
21
20
|
ChimeSdkMeetingConfiguration: serializeAws_restJson1ChimeSdkMeetingConfiguration(input.ChimeSdkMeetingConfiguration, context),
|
|
22
|
-
})), { ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.SinkArn
|
|
23
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
21
|
+
})), { ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.SinkArn != null && { SinkArn: input.SinkArn })), (input.SinkType != null && { SinkType: input.SinkType })), (input.SourceArn != null && { SourceArn: input.SourceArn })), (input.SourceType != null && { SourceType: input.SourceType })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
24
22
|
return [2, new __HttpRequest({
|
|
25
23
|
protocol: protocol,
|
|
26
24
|
hostname: hostname,
|
|
@@ -157,8 +155,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
157
155
|
query = {
|
|
158
156
|
operation: "tag-resource",
|
|
159
157
|
};
|
|
160
|
-
body = JSON.stringify(__assign(__assign({}, (input.ResourceARN
|
|
161
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
158
|
+
body = JSON.stringify(__assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
162
159
|
return [2, new __HttpRequest({
|
|
163
160
|
protocol: protocol,
|
|
164
161
|
hostname: hostname,
|
|
@@ -186,8 +183,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
186
183
|
query = {
|
|
187
184
|
operation: "untag-resource",
|
|
188
185
|
};
|
|
189
|
-
body = JSON.stringify(__assign(__assign({}, (input.ResourceARN
|
|
190
|
-
input.TagKeys !== null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) })));
|
|
186
|
+
body = JSON.stringify(__assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_restJson1TagKeyList(input.TagKeys, context) })));
|
|
191
187
|
return [2, new __HttpRequest({
|
|
192
188
|
protocol: protocol,
|
|
193
189
|
hostname: hostname,
|
|
@@ -899,12 +895,9 @@ var deserializeAws_restJson1UnauthorizedClientExceptionResponse = function (pars
|
|
|
899
895
|
});
|
|
900
896
|
}); };
|
|
901
897
|
var serializeAws_restJson1ArtifactsConfiguration = function (input, context) {
|
|
902
|
-
return __assign(__assign(__assign({}, (input.Audio
|
|
903
|
-
input.Audio !== null && { Audio: serializeAws_restJson1AudioArtifactsConfiguration(input.Audio, context) })), (input.Content !== undefined &&
|
|
904
|
-
input.Content !== null && {
|
|
898
|
+
return __assign(__assign(__assign({}, (input.Audio != null && { Audio: serializeAws_restJson1AudioArtifactsConfiguration(input.Audio, context) })), (input.Content != null && {
|
|
905
899
|
Content: serializeAws_restJson1ContentArtifactsConfiguration(input.Content, context),
|
|
906
|
-
})), (input.Video
|
|
907
|
-
input.Video !== null && { Video: serializeAws_restJson1VideoArtifactsConfiguration(input.Video, context) }));
|
|
900
|
+
})), (input.Video != null && { Video: serializeAws_restJson1VideoArtifactsConfiguration(input.Video, context) }));
|
|
908
901
|
};
|
|
909
902
|
var serializeAws_restJson1AttendeeIdList = function (input, context) {
|
|
910
903
|
return input
|
|
@@ -917,19 +910,17 @@ var serializeAws_restJson1AttendeeIdList = function (input, context) {
|
|
|
917
910
|
});
|
|
918
911
|
};
|
|
919
912
|
var serializeAws_restJson1AudioArtifactsConfiguration = function (input, context) {
|
|
920
|
-
return __assign({}, (input.MuxType
|
|
913
|
+
return __assign({}, (input.MuxType != null && { MuxType: input.MuxType }));
|
|
921
914
|
};
|
|
922
915
|
var serializeAws_restJson1ChimeSdkMeetingConfiguration = function (input, context) {
|
|
923
|
-
return __assign(__assign({}, (input.ArtifactsConfiguration
|
|
924
|
-
input.ArtifactsConfiguration !== null && {
|
|
916
|
+
return __assign(__assign({}, (input.ArtifactsConfiguration != null && {
|
|
925
917
|
ArtifactsConfiguration: serializeAws_restJson1ArtifactsConfiguration(input.ArtifactsConfiguration, context),
|
|
926
|
-
})), (input.SourceConfiguration
|
|
927
|
-
input.SourceConfiguration !== null && {
|
|
918
|
+
})), (input.SourceConfiguration != null && {
|
|
928
919
|
SourceConfiguration: serializeAws_restJson1SourceConfiguration(input.SourceConfiguration, context),
|
|
929
920
|
}));
|
|
930
921
|
};
|
|
931
922
|
var serializeAws_restJson1ContentArtifactsConfiguration = function (input, context) {
|
|
932
|
-
return __assign(__assign({}, (input.MuxType
|
|
923
|
+
return __assign(__assign({}, (input.MuxType != null && { MuxType: input.MuxType })), (input.State != null && { State: input.State }));
|
|
933
924
|
};
|
|
934
925
|
var serializeAws_restJson1ExternalUserIdList = function (input, context) {
|
|
935
926
|
return input
|
|
@@ -942,20 +933,17 @@ var serializeAws_restJson1ExternalUserIdList = function (input, context) {
|
|
|
942
933
|
});
|
|
943
934
|
};
|
|
944
935
|
var serializeAws_restJson1SelectedVideoStreams = function (input, context) {
|
|
945
|
-
return __assign(__assign({}, (input.AttendeeIds
|
|
946
|
-
input.AttendeeIds !== null && { AttendeeIds: serializeAws_restJson1AttendeeIdList(input.AttendeeIds, context) })), (input.ExternalUserIds !== undefined &&
|
|
947
|
-
input.ExternalUserIds !== null && {
|
|
936
|
+
return __assign(__assign({}, (input.AttendeeIds != null && { AttendeeIds: serializeAws_restJson1AttendeeIdList(input.AttendeeIds, context) })), (input.ExternalUserIds != null && {
|
|
948
937
|
ExternalUserIds: serializeAws_restJson1ExternalUserIdList(input.ExternalUserIds, context),
|
|
949
938
|
}));
|
|
950
939
|
};
|
|
951
940
|
var serializeAws_restJson1SourceConfiguration = function (input, context) {
|
|
952
|
-
return __assign({}, (input.SelectedVideoStreams
|
|
953
|
-
input.SelectedVideoStreams !== null && {
|
|
941
|
+
return __assign({}, (input.SelectedVideoStreams != null && {
|
|
954
942
|
SelectedVideoStreams: serializeAws_restJson1SelectedVideoStreams(input.SelectedVideoStreams, context),
|
|
955
943
|
}));
|
|
956
944
|
};
|
|
957
945
|
var serializeAws_restJson1Tag = function (input, context) {
|
|
958
|
-
return __assign(__assign({}, (input.Key
|
|
946
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
959
947
|
};
|
|
960
948
|
var serializeAws_restJson1TagKeyList = function (input, context) {
|
|
961
949
|
return input
|
|
@@ -978,19 +966,15 @@ var serializeAws_restJson1TagList = function (input, context) {
|
|
|
978
966
|
});
|
|
979
967
|
};
|
|
980
968
|
var serializeAws_restJson1VideoArtifactsConfiguration = function (input, context) {
|
|
981
|
-
return __assign(__assign({}, (input.MuxType
|
|
969
|
+
return __assign(__assign({}, (input.MuxType != null && { MuxType: input.MuxType })), (input.State != null && { State: input.State }));
|
|
982
970
|
};
|
|
983
971
|
var deserializeAws_restJson1ArtifactsConfiguration = function (output, context) {
|
|
984
972
|
return {
|
|
985
|
-
Audio: output.Audio
|
|
986
|
-
|
|
987
|
-
: undefined,
|
|
988
|
-
Content: output.Content !== undefined && output.Content !== null
|
|
973
|
+
Audio: output.Audio != null ? deserializeAws_restJson1AudioArtifactsConfiguration(output.Audio, context) : undefined,
|
|
974
|
+
Content: output.Content != null
|
|
989
975
|
? deserializeAws_restJson1ContentArtifactsConfiguration(output.Content, context)
|
|
990
976
|
: undefined,
|
|
991
|
-
Video: output.Video
|
|
992
|
-
? deserializeAws_restJson1VideoArtifactsConfiguration(output.Video, context)
|
|
993
|
-
: undefined,
|
|
977
|
+
Video: output.Video != null ? deserializeAws_restJson1VideoArtifactsConfiguration(output.Video, context) : undefined,
|
|
994
978
|
};
|
|
995
979
|
};
|
|
996
980
|
var deserializeAws_restJson1AttendeeIdList = function (output, context) {
|
|
@@ -1011,10 +995,10 @@ var deserializeAws_restJson1AudioArtifactsConfiguration = function (output, cont
|
|
|
1011
995
|
};
|
|
1012
996
|
var deserializeAws_restJson1ChimeSdkMeetingConfiguration = function (output, context) {
|
|
1013
997
|
return {
|
|
1014
|
-
ArtifactsConfiguration: output.ArtifactsConfiguration
|
|
998
|
+
ArtifactsConfiguration: output.ArtifactsConfiguration != null
|
|
1015
999
|
? deserializeAws_restJson1ArtifactsConfiguration(output.ArtifactsConfiguration, context)
|
|
1016
1000
|
: undefined,
|
|
1017
|
-
SourceConfiguration: output.SourceConfiguration
|
|
1001
|
+
SourceConfiguration: output.SourceConfiguration != null
|
|
1018
1002
|
? deserializeAws_restJson1SourceConfiguration(output.SourceConfiguration, context)
|
|
1019
1003
|
: undefined,
|
|
1020
1004
|
};
|
|
@@ -1038,12 +1022,10 @@ var deserializeAws_restJson1ExternalUserIdList = function (output, context) {
|
|
|
1038
1022
|
};
|
|
1039
1023
|
var deserializeAws_restJson1MediaCapturePipeline = function (output, context) {
|
|
1040
1024
|
return {
|
|
1041
|
-
ChimeSdkMeetingConfiguration: output.ChimeSdkMeetingConfiguration
|
|
1025
|
+
ChimeSdkMeetingConfiguration: output.ChimeSdkMeetingConfiguration != null
|
|
1042
1026
|
? deserializeAws_restJson1ChimeSdkMeetingConfiguration(output.ChimeSdkMeetingConfiguration, context)
|
|
1043
1027
|
: undefined,
|
|
1044
|
-
CreatedTimestamp: output.CreatedTimestamp
|
|
1045
|
-
? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp))
|
|
1046
|
-
: undefined,
|
|
1028
|
+
CreatedTimestamp: output.CreatedTimestamp != null ? __expectNonNull(__parseRfc3339DateTime(output.CreatedTimestamp)) : undefined,
|
|
1047
1029
|
MediaPipelineArn: __expectString(output.MediaPipelineArn),
|
|
1048
1030
|
MediaPipelineId: __expectString(output.MediaPipelineId),
|
|
1049
1031
|
SinkArn: __expectString(output.SinkArn),
|
|
@@ -1051,9 +1033,7 @@ var deserializeAws_restJson1MediaCapturePipeline = function (output, context) {
|
|
|
1051
1033
|
SourceArn: __expectString(output.SourceArn),
|
|
1052
1034
|
SourceType: __expectString(output.SourceType),
|
|
1053
1035
|
Status: __expectString(output.Status),
|
|
1054
|
-
UpdatedTimestamp: output.UpdatedTimestamp
|
|
1055
|
-
? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp))
|
|
1056
|
-
: undefined,
|
|
1036
|
+
UpdatedTimestamp: output.UpdatedTimestamp != null ? __expectNonNull(__parseRfc3339DateTime(output.UpdatedTimestamp)) : undefined,
|
|
1057
1037
|
};
|
|
1058
1038
|
};
|
|
1059
1039
|
var deserializeAws_restJson1MediaCapturePipelineSummary = function (output, context) {
|
|
@@ -1075,17 +1055,15 @@ var deserializeAws_restJson1MediaCapturePipelineSummaryList = function (output,
|
|
|
1075
1055
|
};
|
|
1076
1056
|
var deserializeAws_restJson1SelectedVideoStreams = function (output, context) {
|
|
1077
1057
|
return {
|
|
1078
|
-
AttendeeIds: output.AttendeeIds
|
|
1079
|
-
|
|
1080
|
-
: undefined,
|
|
1081
|
-
ExternalUserIds: output.ExternalUserIds !== undefined && output.ExternalUserIds !== null
|
|
1058
|
+
AttendeeIds: output.AttendeeIds != null ? deserializeAws_restJson1AttendeeIdList(output.AttendeeIds, context) : undefined,
|
|
1059
|
+
ExternalUserIds: output.ExternalUserIds != null
|
|
1082
1060
|
? deserializeAws_restJson1ExternalUserIdList(output.ExternalUserIds, context)
|
|
1083
1061
|
: undefined,
|
|
1084
1062
|
};
|
|
1085
1063
|
};
|
|
1086
1064
|
var deserializeAws_restJson1SourceConfiguration = function (output, context) {
|
|
1087
1065
|
return {
|
|
1088
|
-
SelectedVideoStreams: output.SelectedVideoStreams
|
|
1066
|
+
SelectedVideoStreams: output.SelectedVideoStreams != null
|
|
1089
1067
|
? deserializeAws_restJson1SelectedVideoStreams(output.SelectedVideoStreams, context)
|
|
1090
1068
|
: undefined,
|
|
1091
1069
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-chime-sdk-media-pipelines",
|
|
3
3
|
"description": "AWS SDK for JavaScript Chime Sdk Media Pipelines Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.127.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.127.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.127.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.127.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.127.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.127.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1",
|