@aws-sdk/client-ivs 3.1061.0 → 3.1062.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/README.md +7 -0
- package/dist-cjs/index.js +14 -0
- package/dist-cjs/schemas/schemas_0.js +18 -2
- package/dist-es/Ivs.js +2 -0
- package/dist-es/commands/UpdateAdConfigurationCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +16 -0
- package/dist-types/Ivs.d.ts +7 -0
- package/dist-types/IvsClient.d.ts +3 -2
- package/dist-types/commands/UpdateAdConfigurationCommand.d.ts +117 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +38 -8
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/Ivs.d.ts +17 -0
- package/dist-types/ts3.4/IvsClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateAdConfigurationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -447,6 +447,13 @@ UntagResource
|
|
|
447
447
|
</details>
|
|
448
448
|
<details>
|
|
449
449
|
<summary>
|
|
450
|
+
UpdateAdConfiguration
|
|
451
|
+
</summary>
|
|
452
|
+
|
|
453
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs/command/UpdateAdConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs/Interface/UpdateAdConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs/Interface/UpdateAdConfigurationCommandOutput/)
|
|
454
|
+
</details>
|
|
455
|
+
<details>
|
|
456
|
+
<summary>
|
|
450
457
|
UpdateChannel
|
|
451
458
|
</summary>
|
|
452
459
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -564,6 +564,18 @@ class UntagResourceCommand extends client.Command
|
|
|
564
564
|
.build() {
|
|
565
565
|
}
|
|
566
566
|
|
|
567
|
+
class UpdateAdConfigurationCommand extends client.Command
|
|
568
|
+
.classBuilder()
|
|
569
|
+
.ep(commonParams)
|
|
570
|
+
.m(function (Command, cs, config, o) {
|
|
571
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
572
|
+
})
|
|
573
|
+
.s("AmazonInteractiveVideoService", "UpdateAdConfiguration", {})
|
|
574
|
+
.n("IvsClient", "UpdateAdConfigurationCommand")
|
|
575
|
+
.sc(schemas_0.UpdateAdConfiguration$)
|
|
576
|
+
.build() {
|
|
577
|
+
}
|
|
578
|
+
|
|
567
579
|
class UpdateChannelCommand extends client.Command
|
|
568
580
|
.classBuilder()
|
|
569
581
|
.ep(commonParams)
|
|
@@ -643,6 +655,7 @@ const commands = {
|
|
|
643
655
|
StopStreamCommand,
|
|
644
656
|
TagResourceCommand,
|
|
645
657
|
UntagResourceCommand,
|
|
658
|
+
UpdateAdConfigurationCommand,
|
|
646
659
|
UpdateChannelCommand,
|
|
647
660
|
UpdatePlaybackRestrictionPolicyCommand,
|
|
648
661
|
};
|
|
@@ -784,6 +797,7 @@ exports.ThumbnailConfigurationResolution = ThumbnailConfigurationResolution;
|
|
|
784
797
|
exports.ThumbnailConfigurationStorage = ThumbnailConfigurationStorage;
|
|
785
798
|
exports.TranscodePreset = TranscodePreset;
|
|
786
799
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
800
|
+
exports.UpdateAdConfigurationCommand = UpdateAdConfigurationCommand;
|
|
787
801
|
exports.UpdateChannelCommand = UpdateChannelCommand;
|
|
788
802
|
exports.UpdatePlaybackRestrictionPolicyCommand = UpdatePlaybackRestrictionPolicyCommand;
|
|
789
803
|
exports.paginateListAdConfigurations = paginateListAdConfigurations;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetPlaybackKeyPairRequest$ = exports.GetChannelResponse$ = exports.GetChannelRequest$ = exports.GetAdConfigurationResponse$ = exports.GetAdConfigurationRequest$ = exports.DestinationConfiguration$ = exports.DeleteStreamKeyRequest$ = exports.DeleteRecordingConfigurationRequest$ = exports.DeletePlaybackRestrictionPolicyRequest$ = exports.DeletePlaybackKeyPairResponse$ = exports.DeletePlaybackKeyPairRequest$ = exports.DeleteChannelRequest$ = exports.DeleteAdConfigurationRequest$ = exports.CreateStreamKeyResponse$ = exports.CreateStreamKeyRequest$ = exports.CreateRecordingConfigurationResponse$ = exports.CreateRecordingConfigurationRequest$ = exports.CreatePlaybackRestrictionPolicyResponse$ = exports.CreatePlaybackRestrictionPolicyRequest$ = exports.CreateChannelResponse$ = exports.CreateChannelRequest$ = exports.CreateAdConfigurationResponse$ = exports.CreateAdConfigurationRequest$ = exports.ChannelSummary$ = exports.Channel$ = exports.BatchStartViewerSessionRevocationViewerSession$ = exports.BatchStartViewerSessionRevocationResponse$ = exports.BatchStartViewerSessionRevocationRequest$ = exports.BatchStartViewerSessionRevocationError$ = exports.BatchGetStreamKeyResponse$ = exports.BatchGetStreamKeyRequest$ = exports.BatchGetChannelResponse$ = exports.BatchGetChannelRequest$ = exports.BatchError$ = exports.AudioConfiguration$ = exports.AdConfigurationSummary$ = exports.AdConfiguration$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.StreamUnavailable$ = exports.ServiceUnavailable$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.PendingVerification$ = exports.InternalServerException$ = exports.ConflictException$ = exports.ChannelNotBroadcasting$ = exports.AccessDeniedException$ = exports.IvsServiceException$ = void 0;
|
|
4
4
|
exports.StopStreamRequest$ = exports.StartViewerSessionRevocationResponse$ = exports.StartViewerSessionRevocationRequest$ = exports.Srt$ = exports.S3DestinationConfiguration$ = exports.RenditionConfiguration$ = exports.RecordingConfigurationSummary$ = exports.RecordingConfiguration$ = exports.PutMetadataRequest$ = exports.PlaybackRestrictionPolicySummary$ = exports.PlaybackRestrictionPolicy$ = exports.PlaybackKeyPairSummary$ = exports.PlaybackKeyPair$ = exports.MultitrackInputConfiguration$ = exports.MediaTailorPlaybackConfiguration$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListStreamsResponse$ = exports.ListStreamsRequest$ = exports.ListStreamSessionsResponse$ = exports.ListStreamSessionsRequest$ = exports.ListStreamKeysResponse$ = exports.ListStreamKeysRequest$ = exports.ListRecordingConfigurationsResponse$ = exports.ListRecordingConfigurationsRequest$ = exports.ListPlaybackRestrictionPoliciesResponse$ = exports.ListPlaybackRestrictionPoliciesRequest$ = exports.ListPlaybackKeyPairsResponse$ = exports.ListPlaybackKeyPairsRequest$ = exports.ListChannelsResponse$ = exports.ListChannelsRequest$ = exports.ListAdConfigurationsResponse$ = exports.ListAdConfigurationsRequest$ = exports.InsertAdBreakResponse$ = exports.InsertAdBreakRequest$ = exports.IngestConfigurations$ = exports.IngestConfiguration$ = exports.ImportPlaybackKeyPairResponse$ = exports.ImportPlaybackKeyPairRequest$ = exports.GetStreamSessionResponse$ = exports.GetStreamSessionRequest$ = exports.GetStreamResponse$ = exports.GetStreamRequest$ = exports.GetStreamKeyResponse$ = exports.GetStreamKeyRequest$ = exports.GetRecordingConfigurationResponse$ = exports.GetRecordingConfigurationRequest$ = exports.GetPlaybackRestrictionPolicyResponse$ = exports.GetPlaybackRestrictionPolicyRequest$ = exports.GetPlaybackKeyPairResponse$ = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdatePlaybackRestrictionPolicy$ = exports.UpdateChannel$ = exports.UntagResource$ = exports.TagResource$ = exports.StopStream$ = exports.StartViewerSessionRevocation$ = exports.PutMetadata$ = exports.ListTagsForResource$ = exports.ListStreamSessions$ = void 0;
|
|
5
|
+
exports.ListRecordingConfigurations$ = exports.ListPlaybackRestrictionPolicies$ = exports.ListPlaybackKeyPairs$ = exports.ListChannels$ = exports.ListAdConfigurations$ = exports.InsertAdBreak$ = exports.ImportPlaybackKeyPair$ = exports.GetStreamSession$ = exports.GetStreamKey$ = exports.GetStream$ = exports.GetRecordingConfiguration$ = exports.GetPlaybackRestrictionPolicy$ = exports.GetPlaybackKeyPair$ = exports.GetChannel$ = exports.GetAdConfiguration$ = exports.DeleteStreamKey$ = exports.DeleteRecordingConfiguration$ = exports.DeletePlaybackRestrictionPolicy$ = exports.DeletePlaybackKeyPair$ = exports.DeleteChannel$ = exports.DeleteAdConfiguration$ = exports.CreateStreamKey$ = exports.CreateRecordingConfiguration$ = exports.CreatePlaybackRestrictionPolicy$ = exports.CreateChannel$ = exports.CreateAdConfiguration$ = exports.BatchStartViewerSessionRevocation$ = exports.BatchGetStreamKey$ = exports.BatchGetChannel$ = exports.VideoConfiguration$ = exports.UpdatePlaybackRestrictionPolicyResponse$ = exports.UpdatePlaybackRestrictionPolicyRequest$ = exports.UpdateChannelResponse$ = exports.UpdateChannelRequest$ = exports.UpdateAdConfigurationResponse$ = exports.UpdateAdConfigurationRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.ThumbnailConfiguration$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StreamSummary$ = exports.StreamSessionSummary$ = exports.StreamSession$ = exports.StreamKeySummary$ = exports.StreamKey$ = exports.StreamFilters$ = exports.StreamEvent$ = exports._Stream$ = exports.StopStreamResponse$ = void 0;
|
|
6
|
+
exports.UpdatePlaybackRestrictionPolicy$ = exports.UpdateChannel$ = exports.UpdateAdConfiguration$ = exports.UntagResource$ = exports.TagResource$ = exports.StopStream$ = exports.StartViewerSessionRevocation$ = exports.PutMetadata$ = exports.ListTagsForResource$ = exports.ListStreamSessions$ = exports.ListStreams$ = exports.ListStreamKeys$ = void 0;
|
|
7
7
|
const _AC = "AdConfiguration";
|
|
8
8
|
const _ACAO = "Access-Control-Allow-Origin";
|
|
9
9
|
const _ACEH = "Access-Control-Expose-Headers";
|
|
@@ -174,6 +174,9 @@ const _TE = "ThrottlingException";
|
|
|
174
174
|
const _TR = "TagResource";
|
|
175
175
|
const _TRR = "TagResourceRequest";
|
|
176
176
|
const _TRRa = "TagResourceResponse";
|
|
177
|
+
const _UAC = "UpdateAdConfiguration";
|
|
178
|
+
const _UACR = "UpdateAdConfigurationRequest";
|
|
179
|
+
const _UACRp = "UpdateAdConfigurationResponse";
|
|
177
180
|
const _UC = "UpdateChannel";
|
|
178
181
|
const _UCR = "UpdateChannelRequest";
|
|
179
182
|
const _UCRp = "UpdateChannelResponse";
|
|
@@ -896,6 +899,16 @@ exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
896
899
|
[],
|
|
897
900
|
[]
|
|
898
901
|
];
|
|
902
|
+
exports.UpdateAdConfigurationRequest$ = [3, n0, _UACR,
|
|
903
|
+
0,
|
|
904
|
+
[_a, _n, _mTPC],
|
|
905
|
+
[0, 0, () => MediaTailorPlaybackConfigurationsList], 1
|
|
906
|
+
];
|
|
907
|
+
exports.UpdateAdConfigurationResponse$ = [3, n0, _UACRp,
|
|
908
|
+
0,
|
|
909
|
+
[_aC],
|
|
910
|
+
[() => exports.AdConfiguration$], 1
|
|
911
|
+
];
|
|
899
912
|
exports.UpdateChannelRequest$ = [3, n0, _UCR,
|
|
900
913
|
0,
|
|
901
914
|
[_a, _n, _lM, _ty, _au, _rCA, _iI, _p, _pRPA, _mIC, _cF, _aCA],
|
|
@@ -1097,6 +1110,9 @@ exports.TagResource$ = [9, n0, _TR,
|
|
|
1097
1110
|
exports.UntagResource$ = [9, n0, _UR,
|
|
1098
1111
|
{ [_ht]: ["DELETE", "/tags/{resourceArn}", 200] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
|
|
1099
1112
|
];
|
|
1113
|
+
exports.UpdateAdConfiguration$ = [9, n0, _UAC,
|
|
1114
|
+
{ [_ht]: ["POST", "/UpdateAdConfiguration", 200] }, () => exports.UpdateAdConfigurationRequest$, () => exports.UpdateAdConfigurationResponse$
|
|
1115
|
+
];
|
|
1100
1116
|
exports.UpdateChannel$ = [9, n0, _UC,
|
|
1101
1117
|
{ [_ht]: ["POST", "/UpdateChannel", 200] }, () => exports.UpdateChannelRequest$, () => exports.UpdateChannelResponse$
|
|
1102
1118
|
];
|
package/dist-es/Ivs.js
CHANGED
|
@@ -37,6 +37,7 @@ import { StartViewerSessionRevocationCommand, } from "./commands/StartViewerSess
|
|
|
37
37
|
import { StopStreamCommand, } from "./commands/StopStreamCommand";
|
|
38
38
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
39
39
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
40
|
+
import { UpdateAdConfigurationCommand, } from "./commands/UpdateAdConfigurationCommand";
|
|
40
41
|
import { UpdateChannelCommand, } from "./commands/UpdateChannelCommand";
|
|
41
42
|
import { UpdatePlaybackRestrictionPolicyCommand, } from "./commands/UpdatePlaybackRestrictionPolicyCommand";
|
|
42
43
|
import { IvsClient } from "./IvsClient";
|
|
@@ -87,6 +88,7 @@ const commands = {
|
|
|
87
88
|
StopStreamCommand,
|
|
88
89
|
TagResourceCommand,
|
|
89
90
|
UntagResourceCommand,
|
|
91
|
+
UpdateAdConfigurationCommand,
|
|
90
92
|
UpdateChannelCommand,
|
|
91
93
|
UpdatePlaybackRestrictionPolicyCommand,
|
|
92
94
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateAdConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateAdConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonInteractiveVideoService", "UpdateAdConfiguration", {})
|
|
13
|
+
.n("IvsClient", "UpdateAdConfigurationCommand")
|
|
14
|
+
.sc(UpdateAdConfiguration$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -36,5 +36,6 @@ export * from "./StartViewerSessionRevocationCommand";
|
|
|
36
36
|
export * from "./StopStreamCommand";
|
|
37
37
|
export * from "./TagResourceCommand";
|
|
38
38
|
export * from "./UntagResourceCommand";
|
|
39
|
+
export * from "./UpdateAdConfigurationCommand";
|
|
39
40
|
export * from "./UpdateChannelCommand";
|
|
40
41
|
export * from "./UpdatePlaybackRestrictionPolicyCommand";
|
|
@@ -168,6 +168,9 @@ const _TE = "ThrottlingException";
|
|
|
168
168
|
const _TR = "TagResource";
|
|
169
169
|
const _TRR = "TagResourceRequest";
|
|
170
170
|
const _TRRa = "TagResourceResponse";
|
|
171
|
+
const _UAC = "UpdateAdConfiguration";
|
|
172
|
+
const _UACR = "UpdateAdConfigurationRequest";
|
|
173
|
+
const _UACRp = "UpdateAdConfigurationResponse";
|
|
171
174
|
const _UC = "UpdateChannel";
|
|
172
175
|
const _UCR = "UpdateChannelRequest";
|
|
173
176
|
const _UCRp = "UpdateChannelResponse";
|
|
@@ -890,6 +893,16 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
890
893
|
[],
|
|
891
894
|
[]
|
|
892
895
|
];
|
|
896
|
+
export var UpdateAdConfigurationRequest$ = [3, n0, _UACR,
|
|
897
|
+
0,
|
|
898
|
+
[_a, _n, _mTPC],
|
|
899
|
+
[0, 0, () => MediaTailorPlaybackConfigurationsList], 1
|
|
900
|
+
];
|
|
901
|
+
export var UpdateAdConfigurationResponse$ = [3, n0, _UACRp,
|
|
902
|
+
0,
|
|
903
|
+
[_aC],
|
|
904
|
+
[() => AdConfiguration$], 1
|
|
905
|
+
];
|
|
893
906
|
export var UpdateChannelRequest$ = [3, n0, _UCR,
|
|
894
907
|
0,
|
|
895
908
|
[_a, _n, _lM, _ty, _au, _rCA, _iI, _p, _pRPA, _mIC, _cF, _aCA],
|
|
@@ -1091,6 +1104,9 @@ export var TagResource$ = [9, n0, _TR,
|
|
|
1091
1104
|
export var UntagResource$ = [9, n0, _UR,
|
|
1092
1105
|
{ [_ht]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
1093
1106
|
];
|
|
1107
|
+
export var UpdateAdConfiguration$ = [9, n0, _UAC,
|
|
1108
|
+
{ [_ht]: ["POST", "/UpdateAdConfiguration", 200] }, () => UpdateAdConfigurationRequest$, () => UpdateAdConfigurationResponse$
|
|
1109
|
+
];
|
|
1094
1110
|
export var UpdateChannel$ = [9, n0, _UC,
|
|
1095
1111
|
{ [_ht]: ["POST", "/UpdateChannel", 200] }, () => UpdateChannelRequest$, () => UpdateChannelResponse$
|
|
1096
1112
|
];
|
package/dist-types/Ivs.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ import { type StartViewerSessionRevocationCommandInput, type StartViewerSessionR
|
|
|
37
37
|
import { type StopStreamCommandInput, type StopStreamCommandOutput } from "./commands/StopStreamCommand";
|
|
38
38
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
39
39
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
40
|
+
import { type UpdateAdConfigurationCommandInput, type UpdateAdConfigurationCommandOutput } from "./commands/UpdateAdConfigurationCommand";
|
|
40
41
|
import { type UpdateChannelCommandInput, type UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
41
42
|
import { type UpdatePlaybackRestrictionPolicyCommandInput, type UpdatePlaybackRestrictionPolicyCommandOutput } from "./commands/UpdatePlaybackRestrictionPolicyCommand";
|
|
42
43
|
import { IvsClient } from "./IvsClient";
|
|
@@ -277,6 +278,12 @@ export interface Ivs {
|
|
|
277
278
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
278
279
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
279
280
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
281
|
+
/**
|
|
282
|
+
* @see {@link UpdateAdConfigurationCommand}
|
|
283
|
+
*/
|
|
284
|
+
updateAdConfiguration(args: UpdateAdConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAdConfigurationCommandOutput>;
|
|
285
|
+
updateAdConfiguration(args: UpdateAdConfigurationCommandInput, cb: (err: any, data?: UpdateAdConfigurationCommandOutput) => void): void;
|
|
286
|
+
updateAdConfiguration(args: UpdateAdConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAdConfigurationCommandOutput) => void): void;
|
|
280
287
|
/**
|
|
281
288
|
* @see {@link UpdateChannelCommand}
|
|
282
289
|
*/
|
|
@@ -44,6 +44,7 @@ import type { StartViewerSessionRevocationCommandInput, StartViewerSessionRevoca
|
|
|
44
44
|
import type { StopStreamCommandInput, StopStreamCommandOutput } from "./commands/StopStreamCommand";
|
|
45
45
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
46
46
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
47
|
+
import type { UpdateAdConfigurationCommandInput, UpdateAdConfigurationCommandOutput } from "./commands/UpdateAdConfigurationCommand";
|
|
47
48
|
import type { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
|
|
48
49
|
import type { UpdatePlaybackRestrictionPolicyCommandInput, UpdatePlaybackRestrictionPolicyCommandOutput } from "./commands/UpdatePlaybackRestrictionPolicyCommand";
|
|
49
50
|
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
@@ -52,11 +53,11 @@ export { __Client };
|
|
|
52
53
|
/**
|
|
53
54
|
* @public
|
|
54
55
|
*/
|
|
55
|
-
export type ServiceInputTypes = BatchGetChannelCommandInput | BatchGetStreamKeyCommandInput | BatchStartViewerSessionRevocationCommandInput | CreateAdConfigurationCommandInput | CreateChannelCommandInput | CreatePlaybackRestrictionPolicyCommandInput | CreateRecordingConfigurationCommandInput | CreateStreamKeyCommandInput | DeleteAdConfigurationCommandInput | DeleteChannelCommandInput | DeletePlaybackKeyPairCommandInput | DeletePlaybackRestrictionPolicyCommandInput | DeleteRecordingConfigurationCommandInput | DeleteStreamKeyCommandInput | GetAdConfigurationCommandInput | GetChannelCommandInput | GetPlaybackKeyPairCommandInput | GetPlaybackRestrictionPolicyCommandInput | GetRecordingConfigurationCommandInput | GetStreamCommandInput | GetStreamKeyCommandInput | GetStreamSessionCommandInput | ImportPlaybackKeyPairCommandInput | InsertAdBreakCommandInput | ListAdConfigurationsCommandInput | ListChannelsCommandInput | ListPlaybackKeyPairsCommandInput | ListPlaybackRestrictionPoliciesCommandInput | ListRecordingConfigurationsCommandInput | ListStreamKeysCommandInput | ListStreamSessionsCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | PutMetadataCommandInput | StartViewerSessionRevocationCommandInput | StopStreamCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateChannelCommandInput | UpdatePlaybackRestrictionPolicyCommandInput;
|
|
56
|
+
export type ServiceInputTypes = BatchGetChannelCommandInput | BatchGetStreamKeyCommandInput | BatchStartViewerSessionRevocationCommandInput | CreateAdConfigurationCommandInput | CreateChannelCommandInput | CreatePlaybackRestrictionPolicyCommandInput | CreateRecordingConfigurationCommandInput | CreateStreamKeyCommandInput | DeleteAdConfigurationCommandInput | DeleteChannelCommandInput | DeletePlaybackKeyPairCommandInput | DeletePlaybackRestrictionPolicyCommandInput | DeleteRecordingConfigurationCommandInput | DeleteStreamKeyCommandInput | GetAdConfigurationCommandInput | GetChannelCommandInput | GetPlaybackKeyPairCommandInput | GetPlaybackRestrictionPolicyCommandInput | GetRecordingConfigurationCommandInput | GetStreamCommandInput | GetStreamKeyCommandInput | GetStreamSessionCommandInput | ImportPlaybackKeyPairCommandInput | InsertAdBreakCommandInput | ListAdConfigurationsCommandInput | ListChannelsCommandInput | ListPlaybackKeyPairsCommandInput | ListPlaybackRestrictionPoliciesCommandInput | ListRecordingConfigurationsCommandInput | ListStreamKeysCommandInput | ListStreamSessionsCommandInput | ListStreamsCommandInput | ListTagsForResourceCommandInput | PutMetadataCommandInput | StartViewerSessionRevocationCommandInput | StopStreamCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAdConfigurationCommandInput | UpdateChannelCommandInput | UpdatePlaybackRestrictionPolicyCommandInput;
|
|
56
57
|
/**
|
|
57
58
|
* @public
|
|
58
59
|
*/
|
|
59
|
-
export type ServiceOutputTypes = BatchGetChannelCommandOutput | BatchGetStreamKeyCommandOutput | BatchStartViewerSessionRevocationCommandOutput | CreateAdConfigurationCommandOutput | CreateChannelCommandOutput | CreatePlaybackRestrictionPolicyCommandOutput | CreateRecordingConfigurationCommandOutput | CreateStreamKeyCommandOutput | DeleteAdConfigurationCommandOutput | DeleteChannelCommandOutput | DeletePlaybackKeyPairCommandOutput | DeletePlaybackRestrictionPolicyCommandOutput | DeleteRecordingConfigurationCommandOutput | DeleteStreamKeyCommandOutput | GetAdConfigurationCommandOutput | GetChannelCommandOutput | GetPlaybackKeyPairCommandOutput | GetPlaybackRestrictionPolicyCommandOutput | GetRecordingConfigurationCommandOutput | GetStreamCommandOutput | GetStreamKeyCommandOutput | GetStreamSessionCommandOutput | ImportPlaybackKeyPairCommandOutput | InsertAdBreakCommandOutput | ListAdConfigurationsCommandOutput | ListChannelsCommandOutput | ListPlaybackKeyPairsCommandOutput | ListPlaybackRestrictionPoliciesCommandOutput | ListRecordingConfigurationsCommandOutput | ListStreamKeysCommandOutput | ListStreamSessionsCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | PutMetadataCommandOutput | StartViewerSessionRevocationCommandOutput | StopStreamCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateChannelCommandOutput | UpdatePlaybackRestrictionPolicyCommandOutput;
|
|
60
|
+
export type ServiceOutputTypes = BatchGetChannelCommandOutput | BatchGetStreamKeyCommandOutput | BatchStartViewerSessionRevocationCommandOutput | CreateAdConfigurationCommandOutput | CreateChannelCommandOutput | CreatePlaybackRestrictionPolicyCommandOutput | CreateRecordingConfigurationCommandOutput | CreateStreamKeyCommandOutput | DeleteAdConfigurationCommandOutput | DeleteChannelCommandOutput | DeletePlaybackKeyPairCommandOutput | DeletePlaybackRestrictionPolicyCommandOutput | DeleteRecordingConfigurationCommandOutput | DeleteStreamKeyCommandOutput | GetAdConfigurationCommandOutput | GetChannelCommandOutput | GetPlaybackKeyPairCommandOutput | GetPlaybackRestrictionPolicyCommandOutput | GetRecordingConfigurationCommandOutput | GetStreamCommandOutput | GetStreamKeyCommandOutput | GetStreamSessionCommandOutput | ImportPlaybackKeyPairCommandOutput | InsertAdBreakCommandOutput | ListAdConfigurationsCommandOutput | ListChannelsCommandOutput | ListPlaybackKeyPairsCommandOutput | ListPlaybackRestrictionPoliciesCommandOutput | ListRecordingConfigurationsCommandOutput | ListStreamKeysCommandOutput | ListStreamSessionsCommandOutput | ListStreamsCommandOutput | ListTagsForResourceCommandOutput | PutMetadataCommandOutput | StartViewerSessionRevocationCommandOutput | StopStreamCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAdConfigurationCommandOutput | UpdateChannelCommandOutput | UpdatePlaybackRestrictionPolicyCommandOutput;
|
|
60
61
|
/**
|
|
61
62
|
* @public
|
|
62
63
|
*/
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IvsClient";
|
|
4
|
+
import type { UpdateAdConfigurationRequest, UpdateAdConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateAdConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateAdConfigurationCommandInput extends UpdateAdConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateAdConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateAdConfigurationCommandOutput extends UpdateAdConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateAdConfigurationCommand_base: {
|
|
25
|
+
new (input: UpdateAdConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateAdConfigurationCommandInput, UpdateAdConfigurationCommandOutput, IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAdConfigurationCommandInput): import("@smithy/core/client").CommandImpl<UpdateAdConfigurationCommandInput, UpdateAdConfigurationCommandOutput, IvsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Updates a specified ad configuration.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { IvsClient, UpdateAdConfigurationCommand } from "@aws-sdk/client-ivs"; // ES Modules import
|
|
37
|
+
* // const { IvsClient, UpdateAdConfigurationCommand } = require("@aws-sdk/client-ivs"); // CommonJS import
|
|
38
|
+
* // import type { IvsClientConfig } from "@aws-sdk/client-ivs";
|
|
39
|
+
* const config = {}; // type is IvsClientConfig
|
|
40
|
+
* const client = new IvsClient(config);
|
|
41
|
+
* const input = { // UpdateAdConfigurationRequest
|
|
42
|
+
* arn: "STRING_VALUE", // required
|
|
43
|
+
* name: "STRING_VALUE",
|
|
44
|
+
* mediaTailorPlaybackConfigurations: [ // MediaTailorPlaybackConfigurationsList
|
|
45
|
+
* { // MediaTailorPlaybackConfiguration
|
|
46
|
+
* playbackConfigurationArn: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
50
|
+
* const command = new UpdateAdConfigurationCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // UpdateAdConfigurationResponse
|
|
53
|
+
* // adConfiguration: { // AdConfiguration
|
|
54
|
+
* // arn: "STRING_VALUE", // required
|
|
55
|
+
* // name: "STRING_VALUE",
|
|
56
|
+
* // mediaTailorPlaybackConfigurations: [ // MediaTailorPlaybackConfigurationsList // required
|
|
57
|
+
* // { // MediaTailorPlaybackConfiguration
|
|
58
|
+
* // playbackConfigurationArn: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // tags: { // Tags
|
|
62
|
+
* // "<keys>": "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param UpdateAdConfigurationCommandInput - {@link UpdateAdConfigurationCommandInput}
|
|
70
|
+
* @returns {@link UpdateAdConfigurationCommandOutput}
|
|
71
|
+
* @see {@link UpdateAdConfigurationCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link UpdateAdConfigurationCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link IvsClientResolvedConfig | config} for IvsClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p/>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ConflictException} (client fault)
|
|
79
|
+
* <p/>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InternalServerException} (server fault)
|
|
82
|
+
* <p/>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link PendingVerification} (client fault)
|
|
85
|
+
* <p/>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
88
|
+
* <p/>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
91
|
+
* <p/>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
94
|
+
* <p/>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ValidationException} (client fault)
|
|
97
|
+
* <p/>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link IvsServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from Ivs service.</p>
|
|
101
|
+
*
|
|
102
|
+
*
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export declare class UpdateAdConfigurationCommand extends UpdateAdConfigurationCommand_base {
|
|
106
|
+
/** @internal type navigation helper, not in runtime. */
|
|
107
|
+
protected static __types: {
|
|
108
|
+
api: {
|
|
109
|
+
input: UpdateAdConfigurationRequest;
|
|
110
|
+
output: UpdateAdConfigurationResponse;
|
|
111
|
+
};
|
|
112
|
+
sdk: {
|
|
113
|
+
input: UpdateAdConfigurationCommandInput;
|
|
114
|
+
output: UpdateAdConfigurationCommandOutput;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
}
|
|
@@ -36,5 +36,6 @@ export * from "./StartViewerSessionRevocationCommand";
|
|
|
36
36
|
export * from "./StopStreamCommand";
|
|
37
37
|
export * from "./TagResourceCommand";
|
|
38
38
|
export * from "./UntagResourceCommand";
|
|
39
|
+
export * from "./UpdateAdConfigurationCommand";
|
|
39
40
|
export * from "./UpdateChannelCommand";
|
|
40
41
|
export * from "./UpdatePlaybackRestrictionPolicyCommand";
|
|
@@ -26,7 +26,7 @@ export interface AdConfiguration {
|
|
|
26
26
|
*/
|
|
27
27
|
name?: string | undefined;
|
|
28
28
|
/**
|
|
29
|
-
* <p>List of integration configurations with
|
|
29
|
+
* <p>List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration. To select a different configuration per viewing session, see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html">Generate and Sign IVS Playback Tokens</a>.</p>
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
32
|
mediaTailorPlaybackConfigurations: MediaTailorPlaybackConfiguration[] | undefined;
|
|
@@ -52,7 +52,7 @@ export interface AdConfigurationSummary {
|
|
|
52
52
|
*/
|
|
53
53
|
name?: string | undefined;
|
|
54
54
|
/**
|
|
55
|
-
* <p>List of integration configurations with
|
|
55
|
+
* <p>List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration. To select a different configuration per viewing session, see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html">Generate and Sign IVS Playback Tokens</a>.</p>
|
|
56
56
|
* @public
|
|
57
57
|
*/
|
|
58
58
|
mediaTailorPlaybackConfigurations: MediaTailorPlaybackConfiguration[] | undefined;
|
|
@@ -130,7 +130,7 @@ export interface Channel {
|
|
|
130
130
|
*/
|
|
131
131
|
latencyMode?: ChannelLatencyMode | undefined;
|
|
132
132
|
/**
|
|
133
|
-
* <p>Channel type, which determines the allowable resolution and bitrate. <i>If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately.</i> Default: <code>STANDARD</code>. For details, see <a href="https://docs.aws.amazon.com/ivs/latest/
|
|
133
|
+
* <p>Channel type, which determines the allowable resolution and bitrate. <i>If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately.</i> Default: <code>STANDARD</code>. For details, see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html">Channel Types</a>.</p>
|
|
134
134
|
* @public
|
|
135
135
|
*/
|
|
136
136
|
type?: ChannelType | undefined;
|
|
@@ -464,7 +464,7 @@ export interface CreateAdConfigurationRequest {
|
|
|
464
464
|
*/
|
|
465
465
|
name?: string | undefined;
|
|
466
466
|
/**
|
|
467
|
-
* <p>List of integration configurations with
|
|
467
|
+
* <p>List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration. To select a different configuration per viewing session, see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html">Generate and Sign IVS Playback Tokens</a>.</p>
|
|
468
468
|
* @public
|
|
469
469
|
*/
|
|
470
470
|
mediaTailorPlaybackConfigurations: MediaTailorPlaybackConfiguration[] | undefined;
|
|
@@ -499,7 +499,7 @@ export interface CreateChannelRequest {
|
|
|
499
499
|
*/
|
|
500
500
|
latencyMode?: ChannelLatencyMode | undefined;
|
|
501
501
|
/**
|
|
502
|
-
* <p>Channel type, which determines the allowable resolution and bitrate. <i>If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately.</i> Default: <code>STANDARD</code>. For details, see <a href="https://docs.aws.amazon.com/ivs/latest/
|
|
502
|
+
* <p>Channel type, which determines the allowable resolution and bitrate. <i>If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately.</i> Default: <code>STANDARD</code>. For details, see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html">Channel Types</a>.</p>
|
|
503
503
|
* @public
|
|
504
504
|
*/
|
|
505
505
|
type?: ChannelType | undefined;
|
|
@@ -1353,7 +1353,7 @@ export interface InsertAdBreakRequest {
|
|
|
1353
1353
|
*/
|
|
1354
1354
|
channelArn: string | undefined;
|
|
1355
1355
|
/**
|
|
1356
|
-
* <p>
|
|
1356
|
+
* <p>Duration of the ad break, in seconds.</p>
|
|
1357
1357
|
* @public
|
|
1358
1358
|
*/
|
|
1359
1359
|
durationSeconds: number | undefined;
|
|
@@ -1474,7 +1474,7 @@ export interface ChannelSummary {
|
|
|
1474
1474
|
*/
|
|
1475
1475
|
insecureIngest?: boolean | undefined;
|
|
1476
1476
|
/**
|
|
1477
|
-
* <p>Channel type, which determines the allowable resolution and bitrate. <i>If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately.</i> Default: <code>STANDARD</code>. For details, see <a href="https://docs.aws.amazon.com/ivs/latest/
|
|
1477
|
+
* <p>Channel type, which determines the allowable resolution and bitrate. <i>If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately.</i> Default: <code>STANDARD</code>. For details, see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html">Channel Types</a>.</p>
|
|
1478
1478
|
* @public
|
|
1479
1479
|
*/
|
|
1480
1480
|
type?: ChannelType | undefined;
|
|
@@ -2001,6 +2001,36 @@ export interface UntagResourceRequest {
|
|
|
2001
2001
|
*/
|
|
2002
2002
|
export interface UntagResourceResponse {
|
|
2003
2003
|
}
|
|
2004
|
+
/**
|
|
2005
|
+
* @public
|
|
2006
|
+
*/
|
|
2007
|
+
export interface UpdateAdConfigurationRequest {
|
|
2008
|
+
/**
|
|
2009
|
+
* <p>ARN of the ad configuration to be updated.</p>
|
|
2010
|
+
* @public
|
|
2011
|
+
*/
|
|
2012
|
+
arn: string | undefined;
|
|
2013
|
+
/**
|
|
2014
|
+
* <p>Ad configuration name. The value does not need to be unique.</p>
|
|
2015
|
+
* @public
|
|
2016
|
+
*/
|
|
2017
|
+
name?: string | undefined;
|
|
2018
|
+
/**
|
|
2019
|
+
* <p>List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration. To select a different configuration per viewing session, see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/private-channels-generate-tokens.html">Generate and Sign IVS Playback Tokens</a>.</p>
|
|
2020
|
+
* @public
|
|
2021
|
+
*/
|
|
2022
|
+
mediaTailorPlaybackConfigurations?: MediaTailorPlaybackConfiguration[] | undefined;
|
|
2023
|
+
}
|
|
2024
|
+
/**
|
|
2025
|
+
* @public
|
|
2026
|
+
*/
|
|
2027
|
+
export interface UpdateAdConfigurationResponse {
|
|
2028
|
+
/**
|
|
2029
|
+
* <p>Object specifying the updated ad configuration.</p>
|
|
2030
|
+
* @public
|
|
2031
|
+
*/
|
|
2032
|
+
adConfiguration: AdConfiguration | undefined;
|
|
2033
|
+
}
|
|
2004
2034
|
/**
|
|
2005
2035
|
* @public
|
|
2006
2036
|
*/
|
|
@@ -2021,7 +2051,7 @@ export interface UpdateChannelRequest {
|
|
|
2021
2051
|
*/
|
|
2022
2052
|
latencyMode?: ChannelLatencyMode | undefined;
|
|
2023
2053
|
/**
|
|
2024
|
-
* <p>Channel type, which determines the allowable resolution and bitrate. <i>If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately.</i> Default: <code>STANDARD</code>. For details, see <a href="https://docs.aws.amazon.com/ivs/latest/
|
|
2054
|
+
* <p>Channel type, which determines the allowable resolution and bitrate. <i>If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately.</i> Default: <code>STANDARD</code>. For details, see <a href="https://docs.aws.amazon.com/ivs/latest/LowLatencyUserGuide/channel-types.html">Channel Types</a>.</p>
|
|
2025
2055
|
* @public
|
|
2026
2056
|
*/
|
|
2027
2057
|
type?: ChannelType | undefined;
|
|
@@ -119,6 +119,8 @@ export declare var TagResourceResponse$: StaticStructureSchema;
|
|
|
119
119
|
export declare var ThumbnailConfiguration$: StaticStructureSchema;
|
|
120
120
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
121
121
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
122
|
+
export declare var UpdateAdConfigurationRequest$: StaticStructureSchema;
|
|
123
|
+
export declare var UpdateAdConfigurationResponse$: StaticStructureSchema;
|
|
122
124
|
export declare var UpdateChannelRequest$: StaticStructureSchema;
|
|
123
125
|
export declare var UpdateChannelResponse$: StaticStructureSchema;
|
|
124
126
|
export declare var UpdatePlaybackRestrictionPolicyRequest$: StaticStructureSchema;
|
|
@@ -162,5 +164,6 @@ export declare var StartViewerSessionRevocation$: StaticOperationSchema;
|
|
|
162
164
|
export declare var StopStream$: StaticOperationSchema;
|
|
163
165
|
export declare var TagResource$: StaticOperationSchema;
|
|
164
166
|
export declare var UntagResource$: StaticOperationSchema;
|
|
167
|
+
export declare var UpdateAdConfiguration$: StaticOperationSchema;
|
|
165
168
|
export declare var UpdateChannel$: StaticOperationSchema;
|
|
166
169
|
export declare var UpdatePlaybackRestrictionPolicy$: StaticOperationSchema;
|
|
@@ -155,6 +155,10 @@ import {
|
|
|
155
155
|
UntagResourceCommandInput,
|
|
156
156
|
UntagResourceCommandOutput,
|
|
157
157
|
} from "./commands/UntagResourceCommand";
|
|
158
|
+
import {
|
|
159
|
+
UpdateAdConfigurationCommandInput,
|
|
160
|
+
UpdateAdConfigurationCommandOutput,
|
|
161
|
+
} from "./commands/UpdateAdConfigurationCommand";
|
|
158
162
|
import {
|
|
159
163
|
UpdateChannelCommandInput,
|
|
160
164
|
UpdateChannelCommandOutput,
|
|
@@ -673,6 +677,19 @@ export interface Ivs {
|
|
|
673
677
|
options: __HttpHandlerOptions,
|
|
674
678
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
675
679
|
): void;
|
|
680
|
+
updateAdConfiguration(
|
|
681
|
+
args: UpdateAdConfigurationCommandInput,
|
|
682
|
+
options?: __HttpHandlerOptions
|
|
683
|
+
): Promise<UpdateAdConfigurationCommandOutput>;
|
|
684
|
+
updateAdConfiguration(
|
|
685
|
+
args: UpdateAdConfigurationCommandInput,
|
|
686
|
+
cb: (err: any, data?: UpdateAdConfigurationCommandOutput) => void
|
|
687
|
+
): void;
|
|
688
|
+
updateAdConfiguration(
|
|
689
|
+
args: UpdateAdConfigurationCommandInput,
|
|
690
|
+
options: __HttpHandlerOptions,
|
|
691
|
+
cb: (err: any, data?: UpdateAdConfigurationCommandOutput) => void
|
|
692
|
+
): void;
|
|
676
693
|
updateChannel(
|
|
677
694
|
args: UpdateChannelCommandInput,
|
|
678
695
|
options?: __HttpHandlerOptions
|
|
@@ -188,6 +188,10 @@ import {
|
|
|
188
188
|
UntagResourceCommandInput,
|
|
189
189
|
UntagResourceCommandOutput,
|
|
190
190
|
} from "./commands/UntagResourceCommand";
|
|
191
|
+
import {
|
|
192
|
+
UpdateAdConfigurationCommandInput,
|
|
193
|
+
UpdateAdConfigurationCommandOutput,
|
|
194
|
+
} from "./commands/UpdateAdConfigurationCommand";
|
|
191
195
|
import {
|
|
192
196
|
UpdateChannelCommandInput,
|
|
193
197
|
UpdateChannelCommandOutput,
|
|
@@ -242,6 +246,7 @@ export type ServiceInputTypes =
|
|
|
242
246
|
| StopStreamCommandInput
|
|
243
247
|
| TagResourceCommandInput
|
|
244
248
|
| UntagResourceCommandInput
|
|
249
|
+
| UpdateAdConfigurationCommandInput
|
|
245
250
|
| UpdateChannelCommandInput
|
|
246
251
|
| UpdatePlaybackRestrictionPolicyCommandInput;
|
|
247
252
|
export type ServiceOutputTypes =
|
|
@@ -283,6 +288,7 @@ export type ServiceOutputTypes =
|
|
|
283
288
|
| StopStreamCommandOutput
|
|
284
289
|
| TagResourceCommandOutput
|
|
285
290
|
| UntagResourceCommandOutput
|
|
291
|
+
| UpdateAdConfigurationCommandOutput
|
|
286
292
|
| UpdateChannelCommandOutput
|
|
287
293
|
| UpdatePlaybackRestrictionPolicyCommandOutput;
|
|
288
294
|
export interface ClientDefaults
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
IvsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../IvsClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateAdConfigurationRequest,
|
|
10
|
+
UpdateAdConfigurationResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateAdConfigurationCommandInput
|
|
15
|
+
extends UpdateAdConfigurationRequest {}
|
|
16
|
+
export interface UpdateAdConfigurationCommandOutput
|
|
17
|
+
extends UpdateAdConfigurationResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateAdConfigurationCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateAdConfigurationCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
UpdateAdConfigurationCommandInput,
|
|
24
|
+
UpdateAdConfigurationCommandOutput,
|
|
25
|
+
IvsClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateAdConfigurationCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
UpdateAdConfigurationCommandInput,
|
|
33
|
+
UpdateAdConfigurationCommandOutput,
|
|
34
|
+
IvsClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class UpdateAdConfigurationCommand extends UpdateAdConfigurationCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: UpdateAdConfigurationRequest;
|
|
46
|
+
output: UpdateAdConfigurationResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: UpdateAdConfigurationCommandInput;
|
|
50
|
+
output: UpdateAdConfigurationCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -36,5 +36,6 @@ export * from "./StartViewerSessionRevocationCommand";
|
|
|
36
36
|
export * from "./StopStreamCommand";
|
|
37
37
|
export * from "./TagResourceCommand";
|
|
38
38
|
export * from "./UntagResourceCommand";
|
|
39
|
+
export * from "./UpdateAdConfigurationCommand";
|
|
39
40
|
export * from "./UpdateChannelCommand";
|
|
40
41
|
export * from "./UpdatePlaybackRestrictionPolicyCommand";
|
|
@@ -511,6 +511,16 @@ export interface UntagResourceRequest {
|
|
|
511
511
|
tagKeys: string[] | undefined;
|
|
512
512
|
}
|
|
513
513
|
export interface UntagResourceResponse {}
|
|
514
|
+
export interface UpdateAdConfigurationRequest {
|
|
515
|
+
arn: string | undefined;
|
|
516
|
+
name?: string | undefined;
|
|
517
|
+
mediaTailorPlaybackConfigurations?:
|
|
518
|
+
| MediaTailorPlaybackConfiguration[]
|
|
519
|
+
| undefined;
|
|
520
|
+
}
|
|
521
|
+
export interface UpdateAdConfigurationResponse {
|
|
522
|
+
adConfiguration: AdConfiguration | undefined;
|
|
523
|
+
}
|
|
514
524
|
export interface UpdateChannelRequest {
|
|
515
525
|
arn: string | undefined;
|
|
516
526
|
name?: string | undefined;
|
|
@@ -118,6 +118,8 @@ export declare var TagResourceResponse$: StaticStructureSchema;
|
|
|
118
118
|
export declare var ThumbnailConfiguration$: StaticStructureSchema;
|
|
119
119
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
120
120
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
121
|
+
export declare var UpdateAdConfigurationRequest$: StaticStructureSchema;
|
|
122
|
+
export declare var UpdateAdConfigurationResponse$: StaticStructureSchema;
|
|
121
123
|
export declare var UpdateChannelRequest$: StaticStructureSchema;
|
|
122
124
|
export declare var UpdateChannelResponse$: StaticStructureSchema;
|
|
123
125
|
export declare var UpdatePlaybackRestrictionPolicyRequest$: StaticStructureSchema;
|
|
@@ -161,5 +163,6 @@ export declare var StartViewerSessionRevocation$: StaticOperationSchema;
|
|
|
161
163
|
export declare var StopStream$: StaticOperationSchema;
|
|
162
164
|
export declare var TagResource$: StaticOperationSchema;
|
|
163
165
|
export declare var UntagResource$: StaticOperationSchema;
|
|
166
|
+
export declare var UpdateAdConfiguration$: StaticOperationSchema;
|
|
164
167
|
export declare var UpdateChannel$: StaticOperationSchema;
|
|
165
168
|
export declare var UpdatePlaybackRestrictionPolicy$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ivs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1062.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ivs",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "^3.974.17",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.51",
|
|
26
26
|
"@aws-sdk/types": "^3.973.10",
|
|
27
27
|
"@smithy/core": "^3.24.6",
|
|
28
28
|
"@smithy/fetch-http-handler": "^5.4.6",
|