update_streaming_distribution
¶
update_streaming_distribution(
streaming_distribution_config: StreamingDistributionConfig,
id: string,
*,
config_overrides: Optional[CloudFrontClientConfig] = 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/cloud_front.py
10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 | |