start_viewer_session_revocation
async
¶
start_viewer_session_revocation(
channel_arn: ChannelArn,
viewer_id: ViewerId,
*,
config_overrides: Optional[AsyncivsClientConfig] = None,
viewer_session_versions_less_than_or_equal_to: Optional[
ViewerSessionVersion
] = None,
) -> StartViewerSessionRevocationResponse
Starts the process of revoking the viewer session associated with a specified channel ARN and viewer ID. Optionally, you can provide a version to revoke viewer sessions less than and including that version. For instructions on associating a viewer ID with a viewer session, see Setting Up Private Channels.
Parameters:
-
channel_arn(ChannelArn) –The ARN of the channel associated with the viewer session to revoke.
-
viewer_id(ViewerId) –The ID of the viewer associated with the viewer session to revoke. Do not use this field for personally identifying, confidential, or sensitive information.
-
viewer_session_versions_less_than_or_equal_to(Optional[ViewerSessionVersion], default:None) –An optional filter on which versions of the viewer session to revoke. All versions less than or equal to the specified version will be revoked. Default: 0.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
InternalServerException–Unexpected error during processing of request.
-
PendingVerification–Your account is pending verification.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
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.
Source code in docs_src/capo_ivs/_services/async_ivs.py
2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 | |