@aws-sdk/client-mediapackagev2 3.845.0 → 3.847.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist-cjs/index.js +17 -0
  2. package/dist-es/models/models_0.js +15 -0
  3. package/dist-es/protocols/Aws_restJson1.js +2 -0
  4. package/dist-types/commands/CancelHarvestJobCommand.d.ts +3 -1
  5. package/dist-types/commands/CreateChannelCommand.d.ts +3 -1
  6. package/dist-types/commands/CreateChannelGroupCommand.d.ts +3 -1
  7. package/dist-types/commands/CreateHarvestJobCommand.d.ts +3 -1
  8. package/dist-types/commands/CreateOriginEndpointCommand.d.ts +3 -1
  9. package/dist-types/commands/DeleteChannelCommand.d.ts +3 -1
  10. package/dist-types/commands/DeleteChannelGroupCommand.d.ts +3 -1
  11. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +3 -1
  12. package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +3 -1
  13. package/dist-types/commands/DeleteOriginEndpointPolicyCommand.d.ts +3 -1
  14. package/dist-types/commands/GetChannelCommand.d.ts +3 -1
  15. package/dist-types/commands/GetChannelGroupCommand.d.ts +3 -1
  16. package/dist-types/commands/GetChannelPolicyCommand.d.ts +3 -1
  17. package/dist-types/commands/GetHarvestJobCommand.d.ts +3 -1
  18. package/dist-types/commands/GetOriginEndpointCommand.d.ts +3 -1
  19. package/dist-types/commands/GetOriginEndpointPolicyCommand.d.ts +9 -1
  20. package/dist-types/commands/ListChannelGroupsCommand.d.ts +3 -1
  21. package/dist-types/commands/ListChannelsCommand.d.ts +3 -1
  22. package/dist-types/commands/ListHarvestJobsCommand.d.ts +3 -1
  23. package/dist-types/commands/ListOriginEndpointsCommand.d.ts +3 -1
  24. package/dist-types/commands/PutChannelPolicyCommand.d.ts +3 -1
  25. package/dist-types/commands/PutOriginEndpointPolicyCommand.d.ts +9 -1
  26. package/dist-types/commands/ResetChannelStateCommand.d.ts +3 -1
  27. package/dist-types/commands/ResetOriginEndpointStateCommand.d.ts +3 -1
  28. package/dist-types/commands/UpdateChannelCommand.d.ts +3 -1
  29. package/dist-types/commands/UpdateChannelGroupCommand.d.ts +3 -1
  30. package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +3 -1
  31. package/dist-types/models/models_0.d.ts +48 -1
  32. package/dist-types/ts3.4/models/models_0.d.ts +21 -0
  33. package/package.json +5 -5
package/dist-cjs/index.js CHANGED
@@ -398,21 +398,26 @@ var ThrottlingException = class _ThrottlingException extends MediaPackageV2Servi
398
398
  }
399
399
  };
400
400
  var ValidationExceptionType = {
401
+ BATCH_GET_SECRET_VALUE_DENIED: "BATCH_GET_SECRET_VALUE_DENIED",
401
402
  CENC_IV_INCOMPATIBLE: "CENC_IV_INCOMPATIBLE",
402
403
  CLIP_START_TIME_WITH_START_OR_END: "CLIP_START_TIME_WITH_START_OR_END",
403
404
  CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST: "CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST",
404
405
  CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE: "CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE",
405
406
  CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE",
406
407
  DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE: "DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE",
408
+ DECRYPT_SECRET_FAILED: "DECRYPT_SECRET_FAILED",
409
+ DESCRIBE_SECRET_DENIED: "DESCRIBE_SECRET_DENIED",
407
410
  DIRECT_MODE_WITH_TIMING_SOURCE: "DIRECT_MODE_WITH_TIMING_SOURCE",
408
411
  DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS: "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS",
409
412
  DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE: "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE",
413
+ DUPLICATED_SECRET: "DUPLICATED_SECRET",
410
414
  ENCRYPTION_CONTRACT_SHARED: "ENCRYPTION_CONTRACT_SHARED",
411
415
  ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED",
412
416
  ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE",
413
417
  ENCRYPTION_CONTRACT_WITH_ISM_CONTAINER_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITH_ISM_CONTAINER_INCOMPATIBLE",
414
418
  ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH: "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH",
415
419
  END_TIME_EARLIER_THAN_START_TIME: "END_TIME_EARLIER_THAN_START_TIME",
420
+ GET_SECRET_VALUE_DENIED: "GET_SECRET_VALUE_DENIED",
416
421
  HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION: "HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION",
417
422
  HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT: "HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT",
418
423
  HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED: "HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED",
@@ -428,12 +433,17 @@ var ValidationExceptionType = {
428
433
  INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN",
429
434
  INVALID_POLICY: "INVALID_POLICY",
430
435
  INVALID_ROLE_ARN: "INVALID_ROLE_ARN",
436
+ INVALID_SECRET: "INVALID_SECRET",
437
+ INVALID_SECRET_FORMAT: "INVALID_SECRET_FORMAT",
438
+ INVALID_SECRET_KEY: "INVALID_SECRET_KEY",
439
+ INVALID_SECRET_VALUE: "INVALID_SECRET_VALUE",
431
440
  INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS",
432
441
  ISM_CONTAINER_TYPE_WITH_DASH_MANIFEST: "ISM_CONTAINER_TYPE_WITH_DASH_MANIFEST",
433
442
  ISM_CONTAINER_TYPE_WITH_HLS_MANIFEST: "ISM_CONTAINER_TYPE_WITH_HLS_MANIFEST",
434
443
  ISM_CONTAINER_TYPE_WITH_LL_HLS_MANIFEST: "ISM_CONTAINER_TYPE_WITH_LL_HLS_MANIFEST",
435
444
  ISM_CONTAINER_TYPE_WITH_SCTE: "ISM_CONTAINER_TYPE_WITH_SCTE",
436
445
  ISM_CONTAINER_WITH_KEY_ROTATION: "ISM_CONTAINER_WITH_KEY_ROTATION",
446
+ MALFORMED_SECRET_ARN: "MALFORMED_SECRET_ARN",
437
447
  MANIFEST_DRM_SYSTEMS_INCOMPATIBLE: "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE",
438
448
  MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION",
439
449
  MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN",
@@ -454,10 +464,15 @@ var ValidationExceptionType = {
454
464
  ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT",
455
465
  ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE",
456
466
  ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE",
467
+ SECRET_ARN_RESOURCE_NOT_FOUND: "SECRET_ARN_RESOURCE_NOT_FOUND",
468
+ SECRET_FROM_DIFFERENT_ACCOUNT: "SECRET_FROM_DIFFERENT_ACCOUNT",
469
+ SECRET_FROM_DIFFERENT_REGION: "SECRET_FROM_DIFFERENT_REGION",
470
+ SECRET_IS_NOT_ONE_KEY_VALUE_PAIR: "SECRET_IS_NOT_ONE_KEY_VALUE_PAIR",
457
471
  SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY: "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY",
458
472
  START_TAG_TIME_OFFSET_INVALID: "START_TAG_TIME_OFFSET_INVALID",
459
473
  TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING",
460
474
  TOO_MANY_IN_PROGRESS_HARVEST_JOBS: "TOO_MANY_IN_PROGRESS_HARVEST_JOBS",
475
+ TOO_MANY_SECRETS: "TOO_MANY_SECRETS",
461
476
  TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST",
462
477
  TS_CONTAINER_TYPE_WITH_MSS_MANIFEST: "TS_CONTAINER_TYPE_WITH_MSS_MANIFEST",
463
478
  UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION",
@@ -941,6 +956,7 @@ var se_PutOriginEndpointPolicyCommand = /* @__PURE__ */ __name(async (input, con
941
956
  let body;
942
957
  body = JSON.stringify(
943
958
  (0, import_smithy_client.take)(input, {
959
+ CdnAuthConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "CdnAuthConfiguration"),
944
960
  Policy: []
945
961
  })
946
962
  );
@@ -1355,6 +1371,7 @@ var de_GetOriginEndpointPolicyCommand = /* @__PURE__ */ __name(async (output, co
1355
1371
  });
1356
1372
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1357
1373
  const doc = (0, import_smithy_client.take)(data, {
1374
+ CdnAuthConfiguration: import_smithy_client._json,
1358
1375
  ChannelGroupName: import_smithy_client.expectString,
1359
1376
  ChannelName: import_smithy_client.expectString,
1360
1377
  OriginEndpointName: import_smithy_client.expectString,
@@ -93,21 +93,26 @@ export class ThrottlingException extends __BaseException {
93
93
  }
94
94
  }
95
95
  export const ValidationExceptionType = {
96
+ BATCH_GET_SECRET_VALUE_DENIED: "BATCH_GET_SECRET_VALUE_DENIED",
96
97
  CENC_IV_INCOMPATIBLE: "CENC_IV_INCOMPATIBLE",
97
98
  CLIP_START_TIME_WITH_START_OR_END: "CLIP_START_TIME_WITH_START_OR_END",
98
99
  CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST: "CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST",
99
100
  CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE: "CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE",
100
101
  CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE",
101
102
  DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE: "DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE",
103
+ DECRYPT_SECRET_FAILED: "DECRYPT_SECRET_FAILED",
104
+ DESCRIBE_SECRET_DENIED: "DESCRIBE_SECRET_DENIED",
102
105
  DIRECT_MODE_WITH_TIMING_SOURCE: "DIRECT_MODE_WITH_TIMING_SOURCE",
103
106
  DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS: "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS",
104
107
  DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE: "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE",
108
+ DUPLICATED_SECRET: "DUPLICATED_SECRET",
105
109
  ENCRYPTION_CONTRACT_SHARED: "ENCRYPTION_CONTRACT_SHARED",
106
110
  ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED",
107
111
  ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE",
108
112
  ENCRYPTION_CONTRACT_WITH_ISM_CONTAINER_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITH_ISM_CONTAINER_INCOMPATIBLE",
109
113
  ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH: "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH",
110
114
  END_TIME_EARLIER_THAN_START_TIME: "END_TIME_EARLIER_THAN_START_TIME",
115
+ GET_SECRET_VALUE_DENIED: "GET_SECRET_VALUE_DENIED",
111
116
  HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION: "HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION",
112
117
  HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT: "HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT",
113
118
  HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED: "HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED",
@@ -123,12 +128,17 @@ export const ValidationExceptionType = {
123
128
  INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN",
124
129
  INVALID_POLICY: "INVALID_POLICY",
125
130
  INVALID_ROLE_ARN: "INVALID_ROLE_ARN",
131
+ INVALID_SECRET: "INVALID_SECRET",
132
+ INVALID_SECRET_FORMAT: "INVALID_SECRET_FORMAT",
133
+ INVALID_SECRET_KEY: "INVALID_SECRET_KEY",
134
+ INVALID_SECRET_VALUE: "INVALID_SECRET_VALUE",
126
135
  INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS",
127
136
  ISM_CONTAINER_TYPE_WITH_DASH_MANIFEST: "ISM_CONTAINER_TYPE_WITH_DASH_MANIFEST",
128
137
  ISM_CONTAINER_TYPE_WITH_HLS_MANIFEST: "ISM_CONTAINER_TYPE_WITH_HLS_MANIFEST",
129
138
  ISM_CONTAINER_TYPE_WITH_LL_HLS_MANIFEST: "ISM_CONTAINER_TYPE_WITH_LL_HLS_MANIFEST",
130
139
  ISM_CONTAINER_TYPE_WITH_SCTE: "ISM_CONTAINER_TYPE_WITH_SCTE",
131
140
  ISM_CONTAINER_WITH_KEY_ROTATION: "ISM_CONTAINER_WITH_KEY_ROTATION",
141
+ MALFORMED_SECRET_ARN: "MALFORMED_SECRET_ARN",
132
142
  MANIFEST_DRM_SYSTEMS_INCOMPATIBLE: "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE",
133
143
  MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION",
134
144
  MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN",
@@ -149,10 +159,15 @@ export const ValidationExceptionType = {
149
159
  ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT",
150
160
  ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE",
151
161
  ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE",
162
+ SECRET_ARN_RESOURCE_NOT_FOUND: "SECRET_ARN_RESOURCE_NOT_FOUND",
163
+ SECRET_FROM_DIFFERENT_ACCOUNT: "SECRET_FROM_DIFFERENT_ACCOUNT",
164
+ SECRET_FROM_DIFFERENT_REGION: "SECRET_FROM_DIFFERENT_REGION",
165
+ SECRET_IS_NOT_ONE_KEY_VALUE_PAIR: "SECRET_IS_NOT_ONE_KEY_VALUE_PAIR",
152
166
  SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY: "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY",
153
167
  START_TAG_TIME_OFFSET_INVALID: "START_TAG_TIME_OFFSET_INVALID",
154
168
  TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING",
155
169
  TOO_MANY_IN_PROGRESS_HARVEST_JOBS: "TOO_MANY_IN_PROGRESS_HARVEST_JOBS",
170
+ TOO_MANY_SECRETS: "TOO_MANY_SECRETS",
156
171
  TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST",
157
172
  TS_CONTAINER_TYPE_WITH_MSS_MANIFEST: "TS_CONTAINER_TYPE_WITH_MSS_MANIFEST",
158
173
  UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION",
@@ -306,6 +306,7 @@ export const se_PutOriginEndpointPolicyCommand = async (input, context) => {
306
306
  b.p("OriginEndpointName", () => input.OriginEndpointName, "{OriginEndpointName}", false);
307
307
  let body;
308
308
  body = JSON.stringify(take(input, {
309
+ CdnAuthConfiguration: (_) => _json(_),
309
310
  Policy: [],
310
311
  }));
311
312
  b.m("POST").h(headers).b(body);
@@ -711,6 +712,7 @@ export const de_GetOriginEndpointPolicyCommand = async (output, context) => {
711
712
  });
712
713
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
713
714
  const doc = take(data, {
715
+ CdnAuthConfiguration: _json,
714
716
  ChannelGroupName: __expectString,
715
717
  ChannelName: __expectString,
716
718
  OriginEndpointName: __expectString,
@@ -54,7 +54,9 @@ declare const CancelHarvestJobCommand_base: {
54
54
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
55
55
  *
56
56
  * @throws {@link AccessDeniedException} (client fault)
57
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
57
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
58
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
59
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
58
60
  *
59
61
  * @throws {@link ConflictException} (client fault)
60
62
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -87,7 +87,9 @@ declare const CreateChannelCommand_base: {
87
87
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
88
88
  *
89
89
  * @throws {@link AccessDeniedException} (client fault)
90
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
90
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
91
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
92
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
91
93
  *
92
94
  * @throws {@link ConflictException} (client fault)
93
95
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -66,7 +66,9 @@ declare const CreateChannelGroupCommand_base: {
66
66
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
67
67
  *
68
68
  * @throws {@link AccessDeniedException} (client fault)
69
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
69
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
70
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
71
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
70
72
  *
71
73
  * @throws {@link ConflictException} (client fault)
72
74
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -127,7 +127,9 @@ declare const CreateHarvestJobCommand_base: {
127
127
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
128
128
  *
129
129
  * @throws {@link AccessDeniedException} (client fault)
130
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
130
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
131
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
132
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
131
133
  *
132
134
  * @throws {@link ConflictException} (client fault)
133
135
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -405,7 +405,9 @@ declare const CreateOriginEndpointCommand_base: {
405
405
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
406
406
  *
407
407
  * @throws {@link AccessDeniedException} (client fault)
408
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
408
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
409
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
410
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
409
411
  *
410
412
  * @throws {@link ConflictException} (client fault)
411
413
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -51,7 +51,9 @@ declare const DeleteChannelCommand_base: {
51
51
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
52
52
  *
53
53
  * @throws {@link AccessDeniedException} (client fault)
54
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
54
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
55
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
56
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
55
57
  *
56
58
  * @throws {@link ConflictException} (client fault)
57
59
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -50,7 +50,9 @@ declare const DeleteChannelGroupCommand_base: {
50
50
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
51
51
  *
52
52
  * @throws {@link AccessDeniedException} (client fault)
53
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
53
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
54
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
55
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
54
56
  *
55
57
  * @throws {@link ConflictException} (client fault)
56
58
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -51,7 +51,9 @@ declare const DeleteChannelPolicyCommand_base: {
51
51
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
52
52
  *
53
53
  * @throws {@link AccessDeniedException} (client fault)
54
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
54
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
55
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
56
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
55
57
  *
56
58
  * @throws {@link ConflictException} (client fault)
57
59
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -52,7 +52,9 @@ declare const DeleteOriginEndpointCommand_base: {
52
52
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
53
53
  *
54
54
  * @throws {@link AccessDeniedException} (client fault)
55
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
55
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
56
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
57
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
56
58
  *
57
59
  * @throws {@link InternalServerException} (server fault)
58
60
  * <p>Indicates that an error from the service occurred while trying to process a request.</p>
@@ -52,7 +52,9 @@ declare const DeleteOriginEndpointPolicyCommand_base: {
52
52
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
53
53
  *
54
54
  * @throws {@link AccessDeniedException} (client fault)
55
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
55
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
56
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
57
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
56
58
  *
57
59
  * @throws {@link ConflictException} (client fault)
58
60
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -76,7 +76,9 @@ declare const GetChannelCommand_base: {
76
76
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
77
77
  *
78
78
  * @throws {@link AccessDeniedException} (client fault)
79
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
79
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
80
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
81
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
80
82
  *
81
83
  * @throws {@link InternalServerException} (server fault)
82
84
  * <p>Indicates that an error from the service occurred while trying to process a request.</p>
@@ -61,7 +61,9 @@ declare const GetChannelGroupCommand_base: {
61
61
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
62
62
  *
63
63
  * @throws {@link AccessDeniedException} (client fault)
64
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
64
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
65
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
66
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
65
67
  *
66
68
  * @throws {@link InternalServerException} (server fault)
67
69
  * <p>Indicates that an error from the service occurred while trying to process a request.</p>
@@ -55,7 +55,9 @@ declare const GetChannelPolicyCommand_base: {
55
55
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
56
56
  *
57
57
  * @throws {@link AccessDeniedException} (client fault)
58
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
58
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
59
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
60
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
59
61
  *
60
62
  * @throws {@link InternalServerException} (server fault)
61
63
  * <p>Indicates that an error from the service occurred while trying to process a request.</p>
@@ -95,7 +95,9 @@ declare const GetHarvestJobCommand_base: {
95
95
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
96
96
  *
97
97
  * @throws {@link AccessDeniedException} (client fault)
98
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
98
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
99
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
100
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
99
101
  *
100
102
  * @throws {@link InternalServerException} (server fault)
101
103
  * <p>Indicates that an error from the service occurred while trying to process a request.</p>
@@ -235,7 +235,9 @@ declare const GetOriginEndpointCommand_base: {
235
235
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
236
236
  *
237
237
  * @throws {@link AccessDeniedException} (client fault)
238
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
238
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
239
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
240
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
239
241
  *
240
242
  * @throws {@link InternalServerException} (server fault)
241
243
  * <p>Indicates that an error from the service occurred while trying to process a request.</p>
@@ -46,6 +46,12 @@ declare const GetOriginEndpointPolicyCommand_base: {
46
46
  * // ChannelName: "STRING_VALUE", // required
47
47
  * // OriginEndpointName: "STRING_VALUE", // required
48
48
  * // Policy: "STRING_VALUE", // required
49
+ * // CdnAuthConfiguration: { // CdnAuthConfiguration
50
+ * // CdnIdentifierSecretArns: [ // CdnIdentifierSecretArns // required
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // SecretsRoleArn: "STRING_VALUE", // required
54
+ * // },
49
55
  * // };
50
56
  *
51
57
  * ```
@@ -57,7 +63,9 @@ declare const GetOriginEndpointPolicyCommand_base: {
57
63
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
58
64
  *
59
65
  * @throws {@link AccessDeniedException} (client fault)
60
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
66
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
67
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
68
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
61
69
  *
62
70
  * @throws {@link InternalServerException} (server fault)
63
71
  * <p>Indicates that an error from the service occurred while trying to process a request.</p>
@@ -62,7 +62,9 @@ declare const ListChannelGroupsCommand_base: {
62
62
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
63
63
  *
64
64
  * @throws {@link AccessDeniedException} (client fault)
65
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
65
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
66
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
67
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
66
68
  *
67
69
  * @throws {@link InternalServerException} (server fault)
68
70
  * <p>Indicates that an error from the service occurred while trying to process a request.</p>
@@ -65,7 +65,9 @@ declare const ListChannelsCommand_base: {
65
65
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
66
66
  *
67
67
  * @throws {@link AccessDeniedException} (client fault)
68
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
68
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
69
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
70
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
69
71
  *
70
72
  * @throws {@link InternalServerException} (server fault)
71
73
  * <p>Indicates that an error from the service occurred while trying to process a request.</p>
@@ -99,7 +99,9 @@ declare const ListHarvestJobsCommand_base: {
99
99
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
100
100
  *
101
101
  * @throws {@link AccessDeniedException} (client fault)
102
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
102
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
103
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
104
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
103
105
  *
104
106
  * @throws {@link InternalServerException} (server fault)
105
107
  * <p>Indicates that an error from the service occurred while trying to process a request.</p>
@@ -98,7 +98,9 @@ declare const ListOriginEndpointsCommand_base: {
98
98
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
99
99
  *
100
100
  * @throws {@link AccessDeniedException} (client fault)
101
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
101
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
102
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
103
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
102
104
  *
103
105
  * @throws {@link InternalServerException} (server fault)
104
106
  * <p>Indicates that an error from the service occurred while trying to process a request.</p>
@@ -52,7 +52,9 @@ declare const PutChannelPolicyCommand_base: {
52
52
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
53
53
  *
54
54
  * @throws {@link AccessDeniedException} (client fault)
55
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
55
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
56
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
57
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
56
58
  *
57
59
  * @throws {@link ConflictException} (client fault)
58
60
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -39,6 +39,12 @@ declare const PutOriginEndpointPolicyCommand_base: {
39
39
  * ChannelName: "STRING_VALUE", // required
40
40
  * OriginEndpointName: "STRING_VALUE", // required
41
41
  * Policy: "STRING_VALUE", // required
42
+ * CdnAuthConfiguration: { // CdnAuthConfiguration
43
+ * CdnIdentifierSecretArns: [ // CdnIdentifierSecretArns // required
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * SecretsRoleArn: "STRING_VALUE", // required
47
+ * },
42
48
  * };
43
49
  * const command = new PutOriginEndpointPolicyCommand(input);
44
50
  * const response = await client.send(command);
@@ -53,7 +59,9 @@ declare const PutOriginEndpointPolicyCommand_base: {
53
59
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
54
60
  *
55
61
  * @throws {@link AccessDeniedException} (client fault)
56
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
62
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
63
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
64
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
57
65
  *
58
66
  * @throws {@link ConflictException} (client fault)
59
67
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -57,7 +57,9 @@ declare const ResetChannelStateCommand_base: {
57
57
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
58
58
  *
59
59
  * @throws {@link AccessDeniedException} (client fault)
60
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
60
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
61
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
62
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
61
63
  *
62
64
  * @throws {@link ConflictException} (client fault)
63
65
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -59,7 +59,9 @@ declare const ResetOriginEndpointStateCommand_base: {
59
59
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
60
60
  *
61
61
  * @throws {@link AccessDeniedException} (client fault)
62
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
62
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
63
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
64
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
63
65
  *
64
66
  * @throws {@link ConflictException} (client fault)
65
67
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -84,7 +84,9 @@ declare const UpdateChannelCommand_base: {
84
84
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
85
85
  *
86
86
  * @throws {@link AccessDeniedException} (client fault)
87
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
87
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
88
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
89
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
88
90
  *
89
91
  * @throws {@link ConflictException} (client fault)
90
92
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -64,7 +64,9 @@ declare const UpdateChannelGroupCommand_base: {
64
64
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
65
65
  *
66
66
  * @throws {@link AccessDeniedException} (client fault)
67
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
67
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
68
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
69
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
68
70
  *
69
71
  * @throws {@link ConflictException} (client fault)
70
72
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -403,7 +403,9 @@ declare const UpdateOriginEndpointCommand_base: {
403
403
  * @see {@link MediaPackageV2ClientResolvedConfig | config} for MediaPackageV2Client's `config` shape.
404
404
  *
405
405
  * @throws {@link AccessDeniedException} (client fault)
406
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
406
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
407
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
408
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
407
409
  *
408
410
  * @throws {@link ConflictException} (client fault)
409
411
  * <p>Updating or deleting this resource can cause an inconsistent state.</p>
@@ -1,7 +1,9 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { MediaPackageV2ServiceException as __BaseException } from "./MediaPackageV2ServiceException";
3
3
  /**
4
- * <p>You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.</p>
4
+ * <p>Access is denied because either you don't have permissions to perform the requested operation or MediaPackage is getting throttling errors with CDN authorization. The user or role that is making the request must have at least
5
+ * one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide. Or, if you're using CDN authorization, you will receive this exception
6
+ * if MediaPackage receives a throttling error from Secrets Manager.</p>
5
7
  * @public
6
8
  */
7
9
  export declare class AccessDeniedException extends __BaseException {
@@ -166,21 +168,26 @@ export declare class ThrottlingException extends __BaseException {
166
168
  * @enum
167
169
  */
168
170
  export declare const ValidationExceptionType: {
171
+ readonly BATCH_GET_SECRET_VALUE_DENIED: "BATCH_GET_SECRET_VALUE_DENIED";
169
172
  readonly CENC_IV_INCOMPATIBLE: "CENC_IV_INCOMPATIBLE";
170
173
  readonly CLIP_START_TIME_WITH_START_OR_END: "CLIP_START_TIME_WITH_START_OR_END";
171
174
  readonly CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST: "CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST";
172
175
  readonly CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE: "CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE";
173
176
  readonly CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE";
174
177
  readonly DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE: "DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE";
178
+ readonly DECRYPT_SECRET_FAILED: "DECRYPT_SECRET_FAILED";
179
+ readonly DESCRIBE_SECRET_DENIED: "DESCRIBE_SECRET_DENIED";
175
180
  readonly DIRECT_MODE_WITH_TIMING_SOURCE: "DIRECT_MODE_WITH_TIMING_SOURCE";
176
181
  readonly DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS: "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS";
177
182
  readonly DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE: "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE";
183
+ readonly DUPLICATED_SECRET: "DUPLICATED_SECRET";
178
184
  readonly ENCRYPTION_CONTRACT_SHARED: "ENCRYPTION_CONTRACT_SHARED";
179
185
  readonly ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED";
180
186
  readonly ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE";
181
187
  readonly ENCRYPTION_CONTRACT_WITH_ISM_CONTAINER_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITH_ISM_CONTAINER_INCOMPATIBLE";
182
188
  readonly ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH: "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH";
183
189
  readonly END_TIME_EARLIER_THAN_START_TIME: "END_TIME_EARLIER_THAN_START_TIME";
190
+ readonly GET_SECRET_VALUE_DENIED: "GET_SECRET_VALUE_DENIED";
184
191
  readonly HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION: "HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION";
185
192
  readonly HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT: "HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT";
186
193
  readonly HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED: "HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED";
@@ -196,12 +203,17 @@ export declare const ValidationExceptionType: {
196
203
  readonly INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN";
197
204
  readonly INVALID_POLICY: "INVALID_POLICY";
198
205
  readonly INVALID_ROLE_ARN: "INVALID_ROLE_ARN";
206
+ readonly INVALID_SECRET: "INVALID_SECRET";
207
+ readonly INVALID_SECRET_FORMAT: "INVALID_SECRET_FORMAT";
208
+ readonly INVALID_SECRET_KEY: "INVALID_SECRET_KEY";
209
+ readonly INVALID_SECRET_VALUE: "INVALID_SECRET_VALUE";
199
210
  readonly INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS";
200
211
  readonly ISM_CONTAINER_TYPE_WITH_DASH_MANIFEST: "ISM_CONTAINER_TYPE_WITH_DASH_MANIFEST";
201
212
  readonly ISM_CONTAINER_TYPE_WITH_HLS_MANIFEST: "ISM_CONTAINER_TYPE_WITH_HLS_MANIFEST";
202
213
  readonly ISM_CONTAINER_TYPE_WITH_LL_HLS_MANIFEST: "ISM_CONTAINER_TYPE_WITH_LL_HLS_MANIFEST";
203
214
  readonly ISM_CONTAINER_TYPE_WITH_SCTE: "ISM_CONTAINER_TYPE_WITH_SCTE";
204
215
  readonly ISM_CONTAINER_WITH_KEY_ROTATION: "ISM_CONTAINER_WITH_KEY_ROTATION";
216
+ readonly MALFORMED_SECRET_ARN: "MALFORMED_SECRET_ARN";
205
217
  readonly MANIFEST_DRM_SYSTEMS_INCOMPATIBLE: "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE";
206
218
  readonly MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION";
207
219
  readonly MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN";
@@ -222,10 +234,15 @@ export declare const ValidationExceptionType: {
222
234
  readonly ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT";
223
235
  readonly ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE";
224
236
  readonly ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE";
237
+ readonly SECRET_ARN_RESOURCE_NOT_FOUND: "SECRET_ARN_RESOURCE_NOT_FOUND";
238
+ readonly SECRET_FROM_DIFFERENT_ACCOUNT: "SECRET_FROM_DIFFERENT_ACCOUNT";
239
+ readonly SECRET_FROM_DIFFERENT_REGION: "SECRET_FROM_DIFFERENT_REGION";
240
+ readonly SECRET_IS_NOT_ONE_KEY_VALUE_PAIR: "SECRET_IS_NOT_ONE_KEY_VALUE_PAIR";
225
241
  readonly SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY: "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY";
226
242
  readonly START_TAG_TIME_OFFSET_INVALID: "START_TAG_TIME_OFFSET_INVALID";
227
243
  readonly TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING";
228
244
  readonly TOO_MANY_IN_PROGRESS_HARVEST_JOBS: "TOO_MANY_IN_PROGRESS_HARVEST_JOBS";
245
+ readonly TOO_MANY_SECRETS: "TOO_MANY_SECRETS";
229
246
  readonly TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST";
230
247
  readonly TS_CONTAINER_TYPE_WITH_MSS_MANIFEST: "TS_CONTAINER_TYPE_WITH_MSS_MANIFEST";
231
248
  readonly UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION";
@@ -261,6 +278,22 @@ export declare class ValidationException extends __BaseException {
261
278
  */
262
279
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
263
280
  }
281
+ /**
282
+ * <p>The settings to enable CDN authorization headers in MediaPackage.</p>
283
+ * @public
284
+ */
285
+ export interface CdnAuthConfiguration {
286
+ /**
287
+ * <p>The ARN for the secret in Secrets Manager that your CDN uses for authorization to access the endpoint.</p>
288
+ * @public
289
+ */
290
+ CdnIdentifierSecretArns: string[] | undefined;
291
+ /**
292
+ * <p>The ARN for the IAM role that gives MediaPackage read access to Secrets Manager and KMS for CDN authorization.</p>
293
+ * @public
294
+ */
295
+ SecretsRoleArn: string | undefined;
296
+ }
264
297
  /**
265
298
  * <p>The configuration of the channel group.</p>
266
299
  * @public
@@ -2563,6 +2596,13 @@ export interface GetOriginEndpointPolicyResponse {
2563
2596
  * @public
2564
2597
  */
2565
2598
  Policy: string | undefined;
2599
+ /**
2600
+ * <p>The settings for using authorization headers between the MediaPackage endpoint and your CDN. </p>
2601
+ * <p>For information about CDN authorization, see <a href="https://docs.aws.amazon.com/mediapackage/latest/userguide/cdn-auth.html">CDN authorization
2602
+ * in Elemental MediaPackage</a> in the MediaPackage user guide.</p>
2603
+ * @public
2604
+ */
2605
+ CdnAuthConfiguration?: CdnAuthConfiguration | undefined;
2566
2606
  }
2567
2607
  /**
2568
2608
  * @public
@@ -2588,6 +2628,13 @@ export interface PutOriginEndpointPolicyRequest {
2588
2628
  * @public
2589
2629
  */
2590
2630
  Policy: string | undefined;
2631
+ /**
2632
+ * <p>The settings for using authorization headers between the MediaPackage endpoint and your CDN. </p>
2633
+ * <p>For information about CDN authorization, see <a href="https://docs.aws.amazon.com/mediapackage/latest/userguide/cdn-auth.html">CDN authorization
2634
+ * in Elemental MediaPackage</a> in the MediaPackage user guide. </p>
2635
+ * @public
2636
+ */
2637
+ CdnAuthConfiguration?: CdnAuthConfiguration | undefined;
2591
2638
  }
2592
2639
  /**
2593
2640
  * @public
@@ -74,21 +74,26 @@ export declare class ThrottlingException extends __BaseException {
74
74
  );
75
75
  }
76
76
  export declare const ValidationExceptionType: {
77
+ readonly BATCH_GET_SECRET_VALUE_DENIED: "BATCH_GET_SECRET_VALUE_DENIED";
77
78
  readonly CENC_IV_INCOMPATIBLE: "CENC_IV_INCOMPATIBLE";
78
79
  readonly CLIP_START_TIME_WITH_START_OR_END: "CLIP_START_TIME_WITH_START_OR_END";
79
80
  readonly CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST: "CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST";
80
81
  readonly CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE: "CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE";
81
82
  readonly CONTAINER_TYPE_IMMUTABLE: "CONTAINER_TYPE_IMMUTABLE";
82
83
  readonly DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE: "DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE";
84
+ readonly DECRYPT_SECRET_FAILED: "DECRYPT_SECRET_FAILED";
85
+ readonly DESCRIBE_SECRET_DENIED: "DESCRIBE_SECRET_DENIED";
83
86
  readonly DIRECT_MODE_WITH_TIMING_SOURCE: "DIRECT_MODE_WITH_TIMING_SOURCE";
84
87
  readonly DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS: "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS";
85
88
  readonly DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE: "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE";
89
+ readonly DUPLICATED_SECRET: "DUPLICATED_SECRET";
86
90
  readonly ENCRYPTION_CONTRACT_SHARED: "ENCRYPTION_CONTRACT_SHARED";
87
91
  readonly ENCRYPTION_CONTRACT_UNENCRYPTED: "ENCRYPTION_CONTRACT_UNENCRYPTED";
88
92
  readonly ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE";
89
93
  readonly ENCRYPTION_CONTRACT_WITH_ISM_CONTAINER_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITH_ISM_CONTAINER_INCOMPATIBLE";
90
94
  readonly ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH: "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH";
91
95
  readonly END_TIME_EARLIER_THAN_START_TIME: "END_TIME_EARLIER_THAN_START_TIME";
96
+ readonly GET_SECRET_VALUE_DENIED: "GET_SECRET_VALUE_DENIED";
92
97
  readonly HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION: "HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION";
93
98
  readonly HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT: "HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT";
94
99
  readonly HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED: "HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED";
@@ -104,12 +109,17 @@ export declare const ValidationExceptionType: {
104
109
  readonly INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN";
105
110
  readonly INVALID_POLICY: "INVALID_POLICY";
106
111
  readonly INVALID_ROLE_ARN: "INVALID_ROLE_ARN";
112
+ readonly INVALID_SECRET: "INVALID_SECRET";
113
+ readonly INVALID_SECRET_FORMAT: "INVALID_SECRET_FORMAT";
114
+ readonly INVALID_SECRET_KEY: "INVALID_SECRET_KEY";
115
+ readonly INVALID_SECRET_VALUE: "INVALID_SECRET_VALUE";
107
116
  readonly INVALID_TIME_DELAY_SECONDS: "INVALID_TIME_DELAY_SECONDS";
108
117
  readonly ISM_CONTAINER_TYPE_WITH_DASH_MANIFEST: "ISM_CONTAINER_TYPE_WITH_DASH_MANIFEST";
109
118
  readonly ISM_CONTAINER_TYPE_WITH_HLS_MANIFEST: "ISM_CONTAINER_TYPE_WITH_HLS_MANIFEST";
110
119
  readonly ISM_CONTAINER_TYPE_WITH_LL_HLS_MANIFEST: "ISM_CONTAINER_TYPE_WITH_LL_HLS_MANIFEST";
111
120
  readonly ISM_CONTAINER_TYPE_WITH_SCTE: "ISM_CONTAINER_TYPE_WITH_SCTE";
112
121
  readonly ISM_CONTAINER_WITH_KEY_ROTATION: "ISM_CONTAINER_WITH_KEY_ROTATION";
122
+ readonly MALFORMED_SECRET_ARN: "MALFORMED_SECRET_ARN";
113
123
  readonly MANIFEST_DRM_SYSTEMS_INCOMPATIBLE: "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE";
114
124
  readonly MANIFEST_NAME_COLLISION: "MANIFEST_NAME_COLLISION";
115
125
  readonly MEMBER_DOES_NOT_MATCH_PATTERN: "MEMBER_DOES_NOT_MATCH_PATTERN";
@@ -130,10 +140,15 @@ export declare const ValidationExceptionType: {
130
140
  readonly ROLE_ARN_INVALID_FORMAT: "ROLE_ARN_INVALID_FORMAT";
131
141
  readonly ROLE_ARN_LENGTH_OUT_OF_RANGE: "ROLE_ARN_LENGTH_OUT_OF_RANGE";
132
142
  readonly ROLE_ARN_NOT_ASSUMABLE: "ROLE_ARN_NOT_ASSUMABLE";
143
+ readonly SECRET_ARN_RESOURCE_NOT_FOUND: "SECRET_ARN_RESOURCE_NOT_FOUND";
144
+ readonly SECRET_FROM_DIFFERENT_ACCOUNT: "SECRET_FROM_DIFFERENT_ACCOUNT";
145
+ readonly SECRET_FROM_DIFFERENT_REGION: "SECRET_FROM_DIFFERENT_REGION";
146
+ readonly SECRET_IS_NOT_ONE_KEY_VALUE_PAIR: "SECRET_IS_NOT_ONE_KEY_VALUE_PAIR";
133
147
  readonly SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY: "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY";
134
148
  readonly START_TAG_TIME_OFFSET_INVALID: "START_TAG_TIME_OFFSET_INVALID";
135
149
  readonly TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING";
136
150
  readonly TOO_MANY_IN_PROGRESS_HARVEST_JOBS: "TOO_MANY_IN_PROGRESS_HARVEST_JOBS";
151
+ readonly TOO_MANY_SECRETS: "TOO_MANY_SECRETS";
137
152
  readonly TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST";
138
153
  readonly TS_CONTAINER_TYPE_WITH_MSS_MANIFEST: "TS_CONTAINER_TYPE_WITH_MSS_MANIFEST";
139
154
  readonly UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION";
@@ -158,6 +173,10 @@ export declare class ValidationException extends __BaseException {
158
173
  opts: __ExceptionOptionType<ValidationException, __BaseException>
159
174
  );
160
175
  }
176
+ export interface CdnAuthConfiguration {
177
+ CdnIdentifierSecretArns: string[] | undefined;
178
+ SecretsRoleArn: string | undefined;
179
+ }
161
180
  export interface ChannelGroupListConfiguration {
162
181
  ChannelGroupName: string | undefined;
163
182
  Arn: string | undefined;
@@ -710,12 +729,14 @@ export interface GetOriginEndpointPolicyResponse {
710
729
  ChannelName: string | undefined;
711
730
  OriginEndpointName: string | undefined;
712
731
  Policy: string | undefined;
732
+ CdnAuthConfiguration?: CdnAuthConfiguration | undefined;
713
733
  }
714
734
  export interface PutOriginEndpointPolicyRequest {
715
735
  ChannelGroupName: string | undefined;
716
736
  ChannelName: string | undefined;
717
737
  OriginEndpointName: string | undefined;
718
738
  Policy: string | undefined;
739
+ CdnAuthConfiguration?: CdnAuthConfiguration | undefined;
719
740
  }
720
741
  export interface PutOriginEndpointPolicyResponse {}
721
742
  export interface ResetOriginEndpointStateRequest {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackagev2",
3
3
  "description": "AWS SDK for JavaScript Mediapackagev2 Client for Node.js, Browser and React Native",
4
- "version": "3.845.0",
4
+ "version": "3.847.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-mediapackagev2",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.845.0",
24
- "@aws-sdk/credential-provider-node": "3.845.0",
23
+ "@aws-sdk/core": "3.846.0",
24
+ "@aws-sdk/credential-provider-node": "3.846.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.845.0",
28
+ "@aws-sdk/middleware-user-agent": "3.846.0",
29
29
  "@aws-sdk/region-config-resolver": "3.840.0",
30
30
  "@aws-sdk/types": "3.840.0",
31
31
  "@aws-sdk/util-endpoints": "3.845.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.845.0",
33
+ "@aws-sdk/util-user-agent-node": "3.846.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.7.0",
36
36
  "@smithy/fetch-http-handler": "^5.1.0",