register_source_endpoint
async
¶
register_source_endpoint(
configuration: SourceEndpointConfiguration,
*,
config_overrides: Optional[AsyncMediaConnectClientConfig] = None,
region_name: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[__mapOfString] = None,
client_token: Optional[ClientToken] = None,
) -> RegisterSourceEndpointResponse
Registers a new source endpoint in MediaConnect.
Parameters:
-
region_name(Optional[str], default:None) –The name of the Amazon Web Services Region in which to register the source endpoint. Defaults to the current region if not specified.
-
description(Optional[str], default:None) –A description to help you identify the source endpoint.
-
configuration(SourceEndpointConfiguration) –The configuration settings for the source endpoint.
-
tags(Optional[__mapOfString], default:None) –The tags to apply to the source endpoint. Each tag is a key-value pair.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If this token matches a previous request, the service ignores the request, but does not return an error.
Raises:
-
BadRequestException–This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message.
-
ConflictException–The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
-
ForbiddenException–You do not have sufficient access to perform this action.
-
InternalServerErrorException–The server encountered an internal error and is unable to complete the request.
-
ServiceUnavailableException–The service is currently unavailable or busy.
-
SourceEndpointServiceQuotaExceededException–The request would cause you to exceed a service quota for source endpoints. Delete unused source endpoints or request a quota increase, then try your request again.
-
TooManyRequestsException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediaconnect/_services/async_media_connect.py
6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 | |