updateVodSource method
Updates a VOD source's configuration.
Parameter httpPackageConfigurations :
A list of HTTP package configurations for the VOD source on this account.
Parameter sourceLocationName :
The name of the source location associated with this VOD Source.
Parameter vodSourceName :
The name of the VOD source.
Implementation
Future<UpdateVodSourceResponse> updateVodSource({
required List<HttpPackageConfiguration> httpPackageConfigurations,
required String sourceLocationName,
required String vodSourceName,
}) async {
final $payload = <String, dynamic>{
'HttpPackageConfigurations': httpPackageConfigurations,
};
final response = await _protocol.send(
payload: $payload,
method: 'PUT',
requestUri:
'/sourceLocation/${Uri.encodeComponent(sourceLocationName)}/vodSource/${Uri.encodeComponent(vodSourceName)}',
exceptionFnMap: _exceptionFns,
);
return UpdateVodSourceResponse.fromJson(response);
}