@aws-sdk/client-chime-sdk-media-pipelines 3.687.0 → 3.688.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/index.js CHANGED
@@ -768,7 +768,8 @@ var CreateMediaCapturePipelineRequestFilterSensitiveLog = /* @__PURE__ */ __name
768
768
  ...obj.ClientRequestToken && { ClientRequestToken: import_smithy_client.SENSITIVE_STRING },
769
769
  ...obj.ChimeSdkMeetingConfiguration && {
770
770
  ChimeSdkMeetingConfiguration: ChimeSdkMeetingConfigurationFilterSensitiveLog(obj.ChimeSdkMeetingConfiguration)
771
- }
771
+ },
772
+ ...obj.SinkIamRoleArn && { SinkIamRoleArn: import_smithy_client.SENSITIVE_STRING }
772
773
  }), "CreateMediaCapturePipelineRequestFilterSensitiveLog");
773
774
  var MediaCapturePipelineFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
774
775
  ...obj,
@@ -776,7 +777,8 @@ var MediaCapturePipelineFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
776
777
  ...obj.SinkArn && { SinkArn: import_smithy_client.SENSITIVE_STRING },
777
778
  ...obj.ChimeSdkMeetingConfiguration && {
778
779
  ChimeSdkMeetingConfiguration: ChimeSdkMeetingConfigurationFilterSensitiveLog(obj.ChimeSdkMeetingConfiguration)
779
- }
780
+ },
781
+ ...obj.SinkIamRoleArn && { SinkIamRoleArn: import_smithy_client.SENSITIVE_STRING }
780
782
  }), "MediaCapturePipelineFilterSensitiveLog");
781
783
  var CreateMediaCapturePipelineResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
782
784
  ...obj,
@@ -1122,9 +1124,11 @@ var se_CreateMediaCapturePipelineCommand = /* @__PURE__ */ __name(async (input,
1122
1124
  ChimeSdkMeetingConfiguration: (_) => (0, import_smithy_client._json)(_),
1123
1125
  ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1124
1126
  SinkArn: [],
1127
+ SinkIamRoleArn: [],
1125
1128
  SinkType: [],
1126
1129
  SourceArn: [],
1127
1130
  SourceType: [],
1131
+ SseAwsKeyManagementParams: (_) => (0, import_smithy_client._json)(_),
1128
1132
  Tags: (_) => (0, import_smithy_client._json)(_)
1129
1133
  })
1130
1134
  );
@@ -2181,9 +2185,11 @@ var de_MediaCapturePipeline = /* @__PURE__ */ __name((output, context) => {
2181
2185
  MediaPipelineArn: import_smithy_client.expectString,
2182
2186
  MediaPipelineId: import_smithy_client.expectString,
2183
2187
  SinkArn: import_smithy_client.expectString,
2188
+ SinkIamRoleArn: import_smithy_client.expectString,
2184
2189
  SinkType: import_smithy_client.expectString,
2185
2190
  SourceArn: import_smithy_client.expectString,
2186
2191
  SourceType: import_smithy_client.expectString,
2192
+ SseAwsKeyManagementParams: import_smithy_client._json,
2187
2193
  Status: import_smithy_client.expectString,
2188
2194
  UpdatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
2189
2195
  });
@@ -387,6 +387,7 @@ export const CreateMediaCapturePipelineRequestFilterSensitiveLog = (obj) => ({
387
387
  ...(obj.ChimeSdkMeetingConfiguration && {
388
388
  ChimeSdkMeetingConfiguration: ChimeSdkMeetingConfigurationFilterSensitiveLog(obj.ChimeSdkMeetingConfiguration),
389
389
  }),
390
+ ...(obj.SinkIamRoleArn && { SinkIamRoleArn: SENSITIVE_STRING }),
390
391
  });
391
392
  export const MediaCapturePipelineFilterSensitiveLog = (obj) => ({
392
393
  ...obj,
@@ -395,6 +396,7 @@ export const MediaCapturePipelineFilterSensitiveLog = (obj) => ({
395
396
  ...(obj.ChimeSdkMeetingConfiguration && {
396
397
  ChimeSdkMeetingConfiguration: ChimeSdkMeetingConfigurationFilterSensitiveLog(obj.ChimeSdkMeetingConfiguration),
397
398
  }),
399
+ ...(obj.SinkIamRoleArn && { SinkIamRoleArn: SENSITIVE_STRING }),
398
400
  });
399
401
  export const CreateMediaCapturePipelineResponseFilterSensitiveLog = (obj) => ({
400
402
  ...obj,
@@ -15,9 +15,11 @@ export const se_CreateMediaCapturePipelineCommand = async (input, context) => {
15
15
  ChimeSdkMeetingConfiguration: (_) => _json(_),
16
16
  ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
17
17
  SinkArn: [],
18
+ SinkIamRoleArn: [],
18
19
  SinkType: [],
19
20
  SourceArn: [],
20
21
  SourceType: [],
22
+ SseAwsKeyManagementParams: (_) => _json(_),
21
23
  Tags: (_) => _json(_),
22
24
  }));
23
25
  b.m("POST").h(headers).b(body);
@@ -1047,9 +1049,11 @@ const de_MediaCapturePipeline = (output, context) => {
1047
1049
  MediaPipelineArn: __expectString,
1048
1050
  MediaPipelineId: __expectString,
1049
1051
  SinkArn: __expectString,
1052
+ SinkIamRoleArn: __expectString,
1050
1053
  SinkType: __expectString,
1051
1054
  SourceArn: __expectString,
1052
1055
  SourceType: __expectString,
1056
+ SseAwsKeyManagementParams: _json,
1053
1057
  Status: __expectString,
1054
1058
  UpdatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
1055
1059
  });
@@ -97,6 +97,11 @@ declare const CreateMediaCapturePipelineCommand_base: {
97
97
  * },
98
98
  * },
99
99
  * },
100
+ * SseAwsKeyManagementParams: { // SseAwsKeyManagementParams
101
+ * AwsKmsKeyId: "STRING_VALUE", // required
102
+ * AwsKmsEncryptionContext: "STRING_VALUE",
103
+ * },
104
+ * SinkIamRoleArn: "STRING_VALUE",
100
105
  * Tags: [ // TagList
101
106
  * { // Tag
102
107
  * Key: "STRING_VALUE", // required
@@ -174,6 +179,11 @@ declare const CreateMediaCapturePipelineCommand_base: {
174
179
  * // },
175
180
  * // },
176
181
  * // },
182
+ * // SseAwsKeyManagementParams: { // SseAwsKeyManagementParams
183
+ * // AwsKmsKeyId: "STRING_VALUE", // required
184
+ * // AwsKmsEncryptionContext: "STRING_VALUE",
185
+ * // },
186
+ * // SinkIamRoleArn: "STRING_VALUE",
177
187
  * // },
178
188
  * // };
179
189
  *
@@ -107,6 +107,11 @@ declare const GetMediaCapturePipelineCommand_base: {
107
107
  * // },
108
108
  * // },
109
109
  * // },
110
+ * // SseAwsKeyManagementParams: { // SseAwsKeyManagementParams
111
+ * // AwsKmsKeyId: "STRING_VALUE", // required
112
+ * // AwsKmsEncryptionContext: "STRING_VALUE",
113
+ * // },
114
+ * // SinkIamRoleArn: "STRING_VALUE",
110
115
  * // },
111
116
  * // };
112
117
  *
@@ -108,6 +108,11 @@ declare const GetMediaPipelineCommand_base: {
108
108
  * // },
109
109
  * // },
110
110
  * // },
111
+ * // SseAwsKeyManagementParams: { // SseAwsKeyManagementParams
112
+ * // AwsKmsKeyId: "STRING_VALUE", // required
113
+ * // AwsKmsEncryptionContext: "STRING_VALUE",
114
+ * // },
115
+ * // SinkIamRoleArn: "STRING_VALUE",
111
116
  * // },
112
117
  * // MediaLiveConnectorPipeline: { // MediaLiveConnectorPipeline
113
118
  * // Sources: [ // LiveConnectorSourceList
@@ -346,6 +346,10 @@ export interface AmazonTranscribeProcessorConfiguration {
346
346
  IdentifyLanguage?: boolean;
347
347
  /**
348
348
  * <p>Turns language identification on or off for multiple languages.</p>
349
+ * <note>
350
+ * <p>Calls to this API must include a <code>LanguageCode</code>, <code>IdentifyLanguage</code>, or <code>IdentifyMultipleLanguages</code> parameter.
351
+ * If you include more than one of those parameters, your transcription job fails.</p>
352
+ * </note>
349
353
  * @public
350
354
  */
351
355
  IdentifyMultipleLanguages?: boolean;
@@ -1055,6 +1059,66 @@ export declare const MediaPipelineSourceType: {
1055
1059
  * @public
1056
1060
  */
1057
1061
  export type MediaPipelineSourceType = (typeof MediaPipelineSourceType)[keyof typeof MediaPipelineSourceType];
1062
+ /**
1063
+ * <p>Contains server side encryption parameters to be used by media capture pipeline. The
1064
+ * parameters can also be used by media concatenation pipeline taking media capture pipeline
1065
+ * as a media source.</p>
1066
+ * @public
1067
+ */
1068
+ export interface SseAwsKeyManagementParams {
1069
+ /**
1070
+ * <p>The KMS key you want to use to encrypt your media pipeline output.
1071
+ * Decryption is required for concatenation pipeline. If using a key located in the current
1072
+ * Amazon Web Services account, you can specify your KMS key in one of four
1073
+ * ways:</p>
1074
+ * <ul>
1075
+ * <li>
1076
+ * <p>Use the KMS key ID itself. For example,
1077
+ * <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
1078
+ * </li>
1079
+ * <li>
1080
+ * <p>Use an alias for the KMS key ID. For example,
1081
+ * <code>alias/ExampleAlias</code>.</p>
1082
+ * </li>
1083
+ * <li>
1084
+ * <p>Use the Amazon Resource Name (ARN) for the KMS key ID. For example,
1085
+ * <code>arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
1086
+ * </li>
1087
+ * <li>
1088
+ * <p>Use the ARN for the KMS key alias. For example,
1089
+ * <code>arn:aws:kms:region:account-ID:alias/ExampleAlias</code>.</p>
1090
+ * </li>
1091
+ * </ul>
1092
+ * <p>If using a key located in a different Amazon Web Services account than the current
1093
+ * Amazon Web Services account, you can specify your KMS key in one of two
1094
+ * ways:</p>
1095
+ * <ul>
1096
+ * <li>
1097
+ * <p>Use the ARN for the KMS key ID. For example,
1098
+ * <code>arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
1099
+ * </li>
1100
+ * <li>
1101
+ * <p>Use the ARN for the KMS key alias. For example,
1102
+ * <code>arn:aws:kms:region:account-ID:alias/ExampleAlias</code>.</p>
1103
+ * </li>
1104
+ * </ul>
1105
+ * <p>If you don't specify an encryption key, your output is encrypted with the default
1106
+ * Amazon S3 key (SSE-S3).</p>
1107
+ * <p>Note that the role specified in the <code>SinkIamRoleArn</code> request parameter must
1108
+ * have permission to use the specified KMS key.</p>
1109
+ * @public
1110
+ */
1111
+ AwsKmsKeyId: string | undefined;
1112
+ /**
1113
+ * <p>Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as
1114
+ * non-secret key-value pair known as encryption context pairs, that provides an added layer
1115
+ * of security for your data. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/encrypt_context.html">KMS encryption
1116
+ * context</a> and <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Asymmetric keys in KMS</a> in the <i>Key Management Service Developer
1117
+ * Guide</i>.</p>
1118
+ * @public
1119
+ */
1120
+ AwsKmsEncryptionContext?: string;
1121
+ }
1058
1122
  /**
1059
1123
  * <p>A key/value pair that grants users access to meeting resources.</p>
1060
1124
  * @public
@@ -1107,6 +1171,26 @@ export interface CreateMediaCapturePipelineRequest {
1107
1171
  * @public
1108
1172
  */
1109
1173
  ChimeSdkMeetingConfiguration?: ChimeSdkMeetingConfiguration;
1174
+ /**
1175
+ * <p>An object that contains server side encryption parameters to be used by media capture
1176
+ * pipeline. The parameters can also be used by media concatenation pipeline taking media
1177
+ * capture pipeline as a media source.</p>
1178
+ * @public
1179
+ */
1180
+ SseAwsKeyManagementParams?: SseAwsKeyManagementParams;
1181
+ /**
1182
+ * <p>The Amazon Resource Name (ARN) of the sink role to be used with <code>AwsKmsKeyId</code>
1183
+ * in <code>SseAwsKeyManagementParams</code>. Can only interact with <code>S3Bucket</code>
1184
+ * sink type. The role must belong to the caller’s account and be able to act on behalf of the
1185
+ * caller during the API call. All minimum policy permissions requirements for the caller to
1186
+ * perform sink-related actions are the same for <code>SinkIamRoleArn</code>.</p>
1187
+ * <p>Additionally, the role must have permission to <code>kms:GenerateDataKey</code> using
1188
+ * KMS key supplied as <code>AwsKmsKeyId</code> in <code>SseAwsKeyManagementParams</code>. If
1189
+ * media concatenation will be required later, the role must also have permission to
1190
+ * <code>kms:Decrypt</code> for the same KMS key.</p>
1191
+ * @public
1192
+ */
1193
+ SinkIamRoleArn?: string;
1110
1194
  /**
1111
1195
  * <p>The tag key-value pairs.</p>
1112
1196
  * @public
@@ -1189,6 +1273,19 @@ export interface MediaCapturePipeline {
1189
1273
  * @public
1190
1274
  */
1191
1275
  ChimeSdkMeetingConfiguration?: ChimeSdkMeetingConfiguration;
1276
+ /**
1277
+ * <p>An object that contains server side encryption parameters to be used by media capture
1278
+ * pipeline. The parameters can also be used by media concatenation pipeline taking media
1279
+ * capture pipeline as a media source.</p>
1280
+ * @public
1281
+ */
1282
+ SseAwsKeyManagementParams?: SseAwsKeyManagementParams;
1283
+ /**
1284
+ * <p>The Amazon Resource Name (ARN) of the sink role to be used with <code>AwsKmsKeyId</code>
1285
+ * in <code>SseAwsKeyManagementParams</code>.</p>
1286
+ * @public
1287
+ */
1288
+ SinkIamRoleArn?: string;
1192
1289
  }
1193
1290
  /**
1194
1291
  * @public
@@ -330,6 +330,10 @@ export declare const MediaPipelineSourceType: {
330
330
  };
331
331
  export type MediaPipelineSourceType =
332
332
  (typeof MediaPipelineSourceType)[keyof typeof MediaPipelineSourceType];
333
+ export interface SseAwsKeyManagementParams {
334
+ AwsKmsKeyId: string | undefined;
335
+ AwsKmsEncryptionContext?: string;
336
+ }
333
337
  export interface Tag {
334
338
  Key: string | undefined;
335
339
  Value: string | undefined;
@@ -341,6 +345,8 @@ export interface CreateMediaCapturePipelineRequest {
341
345
  SinkArn: string | undefined;
342
346
  ClientRequestToken?: string;
343
347
  ChimeSdkMeetingConfiguration?: ChimeSdkMeetingConfiguration;
348
+ SseAwsKeyManagementParams?: SseAwsKeyManagementParams;
349
+ SinkIamRoleArn?: string;
344
350
  Tags?: Tag[];
345
351
  }
346
352
  export declare const MediaPipelineStatus: {
@@ -365,6 +371,8 @@ export interface MediaCapturePipeline {
365
371
  CreatedTimestamp?: Date;
366
372
  UpdatedTimestamp?: Date;
367
373
  ChimeSdkMeetingConfiguration?: ChimeSdkMeetingConfiguration;
374
+ SseAwsKeyManagementParams?: SseAwsKeyManagementParams;
375
+ SinkIamRoleArn?: string;
368
376
  }
369
377
  export interface CreateMediaCapturePipelineResponse {
370
378
  MediaCapturePipeline?: MediaCapturePipeline;
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.687.0",
4
+ "version": "3.688.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-chime-sdk-media-pipelines",