EKSAuthClient#
Auto-generated documentation for EKSAuth type annotations stubs module mypy-boto3-eks-auth.
EKSAuthClient#
Type annotations and code completion for boto3.client("eks-auth")
.
boto3 documentation
# EKSAuthClient usage example
from boto3.session import Session
from mypy_boto3_eks_auth.client import EKSAuthClient
def get_eks-auth_client() -> EKSAuthClient:
return Session().client("eks-auth")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("eks-auth").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("eks-auth")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ExpiredTokenException,
client.exceptions.InternalServerException,
client.exceptions.InvalidParameterException,
client.exceptions.InvalidRequestException,
client.exceptions.InvalidTokenException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ServiceUnavailableException,
client.exceptions.ThrottlingException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_eks_auth.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("eks-auth").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("eks-auth").generate_presigned_url
method.