create_ad_configuration
¶
create_ad_configuration(
media_tailor_playback_configurations: MediaTailorPlaybackConfigurationsList,
*,
config_overrides: Optional[ivsClientConfig] = None,
name: Optional[AdConfigurationName] = None,
post_roll_configuration: Optional[PostRollConfiguration] = None,
tags: Optional[Tags] = None,
) -> CreateAdConfigurationResponse
Creates a new ad configuration to be used for server-side ad insertion.
Parameters:
-
name(Optional[AdConfigurationName], default:None) –Ad configuration name. Defaults to “”.
-
media_tailor_playback_configurations(MediaTailorPlaybackConfigurationsList) –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 Generate and Sign IVS Playback Tokens.
-
post_roll_configuration(Optional[PostRollConfiguration], default:None) –Configuration for the post-roll ad break to use for this ad configuration. Default: disabled (
enabledset to false,durationSecondsset to 15). -
tags(Optional[Tags], default:None) –Array of 1-50 maps, each of the form
string:string (key:value). See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–Unexpected error during processing of request.
-
PendingVerification–Your account is pending verification.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ServiceQuotaExceededException–Request would cause a service quota to be exceeded.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.