register_source_endpoint
¶
register_source_endpoint(
configuration: SourceEndpointConfiguration,
*,
config_overrides: Optional[MediaConnectClientConfig] = 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/media_connect.py
6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 | |