@aws-sdk/client-mediaconnect 3.50.0 → 3.53.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/MediaConnectServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +129 -2
- package/dist-cjs/protocols/Aws_restJson1.js +367 -1355
- package/dist-es/index.js +1 -0
- package/dist-es/models/MediaConnectServiceException.js +12 -0
- package/dist-es/models/models_0.js +119 -1
- package/dist-es/protocols/Aws_restJson1.js +753 -1485
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/MediaConnectServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +65 -28
- package/dist-types/ts3.4/MediaConnect.d.ts +155 -0
- package/dist-types/ts3.4/MediaConnectClient.d.ts +103 -0
- package/dist-types/ts3.4/commands/AddFlowMediaStreamsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AddFlowOutputsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AddFlowSourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AddFlowVpcInterfacesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeFlowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOfferingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeReservationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GrantFlowEntitlementsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEntitlementsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListOfferingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListReservationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PurchaseOfferingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveFlowMediaStreamCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveFlowOutputCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveFlowSourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RemoveFlowVpcInterfaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RevokeFlowEntitlementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartFlowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopFlowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFlowEntitlementCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFlowMediaStreamCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFlowOutputCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFlowSourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +30 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +7 -0
- package/dist-types/ts3.4/models/MediaConnectServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1600 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListEntitlementsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFlowsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListOfferingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListReservationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForFlowActive.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForFlowDeleted.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForFlowStandby.d.ts +7 -0
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-mediaconnect
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-mediaconnect
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-mediaconnect
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediaConnectServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./MediaConnect"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./MediaConnectClient"), exports);
|
|
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
|
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./waiters"), exports);
|
|
11
|
+
var MediaConnectServiceException_1 = require("./models/MediaConnectServiceException");
|
|
12
|
+
Object.defineProperty(exports, "MediaConnectServiceException", { enumerable: true, get: function () { return MediaConnectServiceException_1.MediaConnectServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediaConnectServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class MediaConnectServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, MediaConnectServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.MediaConnectServiceException = MediaConnectServiceException;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NetworkInterfaceType = exports.Source = exports.SetSourceRequest = exports.Reservation = exports.ReservationState = exports.Output = exports.Transport = exports.Offering = exports.ResourceSpecification = exports.ResourceType = exports.PriceUnits = exports.DurationUnits = exports.MediaStreamSourceConfigurationRequest = exports.MediaStreamSourceConfiguration = exports.MediaStreamOutputConfiguration = exports.EncodingParameters = exports.MediaStream = exports.MediaStreamAttributes = exports.Fmtp = exports.ListedFlow = exports.Status = exports.SourceType = exports.ListedEntitlement = exports.InputConfigurationRequest = exports.InputConfiguration = exports.GrantEntitlementRequest = exports.Entitlement = exports.EntitlementStatus = exports.DestinationConfiguration = exports.Interface = exports.AddOutputRequest = exports.VpcInterfaceAttachment = exports.Protocol = exports.MediaStreamOutputConfigurationRequest = exports.EncodingParametersRequest = exports.EncoderProfile = exports.EncodingName = exports.DestinationConfigurationRequest = exports.InterfaceRequest = exports.Encryption = exports.KeyType = exports.Algorithm = exports.AddMediaStreamRequest = exports.MediaStreamType = exports.MediaStreamAttributesRequest = exports.FmtpRequest = exports.Tcs = exports.ScanMode = exports.Range = exports.Colorimetry = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateFlowSourceResponse = exports.UpdateFlowSourceRequest = exports.UpdateFlowOutputResponse = exports.UpdateFlowOutputRequest = exports.UpdateFlowMediaStreamResponse = exports.UpdateFlowMediaStreamRequest = exports.UpdateFlowEntitlementResponse = exports.UpdateFlowEntitlementRequest = exports.UpdateEncryption = exports.UpdateFlowResponse = exports.UpdateFlowRequest = exports.UpdateFailoverConfig = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StopFlowResponse = exports.StopFlowRequest = exports.StartFlowResponse = exports.StartFlowRequest = void 0;
|
|
4
|
+
exports.RemoveFlowMediaStreamRequest = exports.PurchaseOfferingResponse = exports.PurchaseOfferingRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListReservationsResponse = exports.ListReservationsRequest = exports.ListOfferingsResponse = exports.ListOfferingsRequest = exports.ListFlowsResponse = exports.ListFlowsRequest = exports.ListEntitlementsResponse = exports.ListEntitlementsRequest = exports.GrantFlowEntitlementsResponse = exports.GrantFlowEntitlementsRequest = exports.GrantFlowEntitlements420Exception = exports.DescribeReservationResponse = exports.DescribeReservationRequest = exports.DescribeOfferingResponse = exports.DescribeOfferingRequest = exports.DescribeFlowResponse = exports.Messages = exports.DescribeFlowRequest = exports.DeleteFlowResponse = exports.DeleteFlowRequest = exports.CreateFlowResponse = exports.Flow = exports.CreateFlowRequest = exports.FailoverConfig = exports.State = exports.SourcePriority = exports.FailoverMode = exports.CreateFlow420Exception = exports.AddFlowVpcInterfacesResponse = exports.AddFlowVpcInterfacesRequest = exports.AddFlowSourcesResponse = exports.AddFlowSourcesRequest = exports.AddFlowOutputsResponse = exports.AddFlowOutputsRequest = exports.AddFlowOutputs420Exception = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.BadRequestException = exports.AddFlowMediaStreamsResponse = exports.AddFlowMediaStreamsRequest = exports.VpcInterfaceRequest = exports.VpcInterface = void 0;
|
|
5
|
+
exports.UpdateFlowSourceResponse = exports.UpdateFlowSourceRequest = exports.UpdateFlowOutputResponse = exports.UpdateFlowOutputRequest = exports.UpdateFlowMediaStreamResponse = exports.UpdateFlowMediaStreamRequest = exports.UpdateFlowEntitlementResponse = exports.UpdateFlowEntitlementRequest = exports.UpdateEncryption = exports.UpdateFlowResponse = exports.UpdateFlowRequest = exports.UpdateFailoverConfig = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StopFlowResponse = exports.StopFlowRequest = exports.StartFlowResponse = exports.StartFlowRequest = exports.RevokeFlowEntitlementResponse = exports.RevokeFlowEntitlementRequest = exports.RemoveFlowVpcInterfaceResponse = exports.RemoveFlowVpcInterfaceRequest = exports.RemoveFlowSourceResponse = exports.RemoveFlowSourceRequest = exports.RemoveFlowOutputResponse = exports.RemoveFlowOutputRequest = exports.RemoveFlowMediaStreamResponse = void 0;
|
|
6
|
+
const MediaConnectServiceException_1 = require("./MediaConnectServiceException");
|
|
6
7
|
var Colorimetry;
|
|
7
8
|
(function (Colorimetry) {
|
|
8
9
|
Colorimetry["BT2020"] = "BT2020";
|
|
@@ -339,6 +340,104 @@ var AddFlowMediaStreamsResponse;
|
|
|
339
340
|
...obj,
|
|
340
341
|
});
|
|
341
342
|
})(AddFlowMediaStreamsResponse = exports.AddFlowMediaStreamsResponse || (exports.AddFlowMediaStreamsResponse = {}));
|
|
343
|
+
class BadRequestException extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
344
|
+
constructor(opts) {
|
|
345
|
+
super({
|
|
346
|
+
name: "BadRequestException",
|
|
347
|
+
$fault: "client",
|
|
348
|
+
...opts,
|
|
349
|
+
});
|
|
350
|
+
this.name = "BadRequestException";
|
|
351
|
+
this.$fault = "client";
|
|
352
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
353
|
+
this.Message = opts.Message;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
exports.BadRequestException = BadRequestException;
|
|
357
|
+
class ForbiddenException extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
358
|
+
constructor(opts) {
|
|
359
|
+
super({
|
|
360
|
+
name: "ForbiddenException",
|
|
361
|
+
$fault: "client",
|
|
362
|
+
...opts,
|
|
363
|
+
});
|
|
364
|
+
this.name = "ForbiddenException";
|
|
365
|
+
this.$fault = "client";
|
|
366
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
367
|
+
this.Message = opts.Message;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
exports.ForbiddenException = ForbiddenException;
|
|
371
|
+
class InternalServerErrorException extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
372
|
+
constructor(opts) {
|
|
373
|
+
super({
|
|
374
|
+
name: "InternalServerErrorException",
|
|
375
|
+
$fault: "server",
|
|
376
|
+
...opts,
|
|
377
|
+
});
|
|
378
|
+
this.name = "InternalServerErrorException";
|
|
379
|
+
this.$fault = "server";
|
|
380
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
381
|
+
this.Message = opts.Message;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
exports.InternalServerErrorException = InternalServerErrorException;
|
|
385
|
+
class NotFoundException extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
386
|
+
constructor(opts) {
|
|
387
|
+
super({
|
|
388
|
+
name: "NotFoundException",
|
|
389
|
+
$fault: "client",
|
|
390
|
+
...opts,
|
|
391
|
+
});
|
|
392
|
+
this.name = "NotFoundException";
|
|
393
|
+
this.$fault = "client";
|
|
394
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
395
|
+
this.Message = opts.Message;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
exports.NotFoundException = NotFoundException;
|
|
399
|
+
class ServiceUnavailableException extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
400
|
+
constructor(opts) {
|
|
401
|
+
super({
|
|
402
|
+
name: "ServiceUnavailableException",
|
|
403
|
+
$fault: "server",
|
|
404
|
+
...opts,
|
|
405
|
+
});
|
|
406
|
+
this.name = "ServiceUnavailableException";
|
|
407
|
+
this.$fault = "server";
|
|
408
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
409
|
+
this.Message = opts.Message;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
413
|
+
class TooManyRequestsException extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
414
|
+
constructor(opts) {
|
|
415
|
+
super({
|
|
416
|
+
name: "TooManyRequestsException",
|
|
417
|
+
$fault: "client",
|
|
418
|
+
...opts,
|
|
419
|
+
});
|
|
420
|
+
this.name = "TooManyRequestsException";
|
|
421
|
+
this.$fault = "client";
|
|
422
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
423
|
+
this.Message = opts.Message;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
427
|
+
class AddFlowOutputs420Exception extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
428
|
+
constructor(opts) {
|
|
429
|
+
super({
|
|
430
|
+
name: "AddFlowOutputs420Exception",
|
|
431
|
+
$fault: "client",
|
|
432
|
+
...opts,
|
|
433
|
+
});
|
|
434
|
+
this.name = "AddFlowOutputs420Exception";
|
|
435
|
+
this.$fault = "client";
|
|
436
|
+
Object.setPrototypeOf(this, AddFlowOutputs420Exception.prototype);
|
|
437
|
+
this.Message = opts.Message;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
exports.AddFlowOutputs420Exception = AddFlowOutputs420Exception;
|
|
342
441
|
var AddFlowOutputsRequest;
|
|
343
442
|
(function (AddFlowOutputsRequest) {
|
|
344
443
|
AddFlowOutputsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -375,6 +474,20 @@ var AddFlowVpcInterfacesResponse;
|
|
|
375
474
|
...obj,
|
|
376
475
|
});
|
|
377
476
|
})(AddFlowVpcInterfacesResponse = exports.AddFlowVpcInterfacesResponse || (exports.AddFlowVpcInterfacesResponse = {}));
|
|
477
|
+
class CreateFlow420Exception extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
478
|
+
constructor(opts) {
|
|
479
|
+
super({
|
|
480
|
+
name: "CreateFlow420Exception",
|
|
481
|
+
$fault: "client",
|
|
482
|
+
...opts,
|
|
483
|
+
});
|
|
484
|
+
this.name = "CreateFlow420Exception";
|
|
485
|
+
this.$fault = "client";
|
|
486
|
+
Object.setPrototypeOf(this, CreateFlow420Exception.prototype);
|
|
487
|
+
this.Message = opts.Message;
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
exports.CreateFlow420Exception = CreateFlow420Exception;
|
|
378
491
|
var FailoverMode;
|
|
379
492
|
(function (FailoverMode) {
|
|
380
493
|
FailoverMode["FAILOVER"] = "FAILOVER";
|
|
@@ -469,6 +582,20 @@ var DescribeReservationResponse;
|
|
|
469
582
|
...obj,
|
|
470
583
|
});
|
|
471
584
|
})(DescribeReservationResponse = exports.DescribeReservationResponse || (exports.DescribeReservationResponse = {}));
|
|
585
|
+
class GrantFlowEntitlements420Exception extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
586
|
+
constructor(opts) {
|
|
587
|
+
super({
|
|
588
|
+
name: "GrantFlowEntitlements420Exception",
|
|
589
|
+
$fault: "client",
|
|
590
|
+
...opts,
|
|
591
|
+
});
|
|
592
|
+
this.name = "GrantFlowEntitlements420Exception";
|
|
593
|
+
this.$fault = "client";
|
|
594
|
+
Object.setPrototypeOf(this, GrantFlowEntitlements420Exception.prototype);
|
|
595
|
+
this.Message = opts.Message;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
exports.GrantFlowEntitlements420Exception = GrantFlowEntitlements420Exception;
|
|
472
599
|
var GrantFlowEntitlementsRequest;
|
|
473
600
|
(function (GrantFlowEntitlementsRequest) {
|
|
474
601
|
GrantFlowEntitlementsRequest.filterSensitiveLog = (obj) => ({
|