import_playback_key_pair
async
¶
import_playback_key_pair(
public_key_material: PlaybackPublicKeyMaterial,
*,
config_overrides: Optional[AsyncivsClientConfig] = None,
name: Optional[PlaybackKeyPairName] = None,
tags: Optional[Tags] = None,
) -> ImportPlaybackKeyPairResponse
Imports the public portion of a new key pair and returns its arn and fingerprint. The privateKey can then be used to generate viewer authorization tokens, to grant viewers access to private channels. For more information, see Setting Up Private Channels in the Amazon IVS User Guide.
Parameters:
-
public_key_material(PlaybackPublicKeyMaterial) –The public portion of a customer-generated key pair.
-
name(Optional[PlaybackKeyPairName], default:None) –Playback-key-pair name. The value does not need to be unique.
-
tags(Optional[Tags], default:None) –Any tags provided with the request are added to the playback key pair tags. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
PendingVerification–Your account is pending verification.
-
ServiceQuotaExceededException–Request would cause a service quota to be exceeded.
-
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
1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 | |