update_streaming_distribution
async
¶
update_streaming_distribution(
streaming_distribution_config: StreamingDistributionConfig,
id: string,
*,
config_overrides: Optional[AsyncCloudFrontClientConfig] = None,
if_match: Optional[string] = None,
) -> UpdateStreamingDistributionResult
Update a streaming distribution.
Parameters:
-
streaming_distribution_config(StreamingDistributionConfig) –The streaming distribution's configuration information.
-
id(string) –The streaming distribution's id.
-
if_match(Optional[string], default:None) –The value of the
ETagheader that you received when retrieving the streaming distribution's configuration. For example:E2QWRUHAPOMQZL.
Raises:
-
AccessDenied–Access denied.
-
CNAMEAlreadyExists–The CNAME specified is already defined for CloudFront.
-
IllegalUpdate–The update contains modifications that are not allowed.
-
InconsistentQuantities–The value of
Quantityand the size ofItemsdon't match. -
InvalidArgument–An argument is invalid.
-
InvalidIfMatchVersion–The
If-Matchversion is missing or not valid. -
InvalidOriginAccessControl–The origin access control is not valid.
-
InvalidOriginAccessIdentity–The origin access identity is not valid or doesn't exist.
-
MissingBody–This operation requires a body. Ensure that the body is present and the
Content-Typeheader is set. -
NoSuchStreamingDistribution–The specified streaming distribution does not exist.
-
PreconditionFailed–The precondition in one or more of the request fields evaluated to
false. -
TooManyStreamingDistributionCNAMEs–Your request contains more CNAMEs than are allowed per distribution.
-
TooManyTrustedSigners–Your request contains more trusted signers than are allowed per distribution.
-
TrustedSignerDoesNotExist–One or more of your trusted signers don't exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudfront/_services/async_cloud_front.py
10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 | |