Skip to content

SignInServiceClient#

Index > SignInService > SignInServiceClient

Auto-generated documentation for SignInService type annotations stubs module types-boto3-signin.

SignInServiceClient#

Type annotations and code completion for boto3.client("signin"). boto3 documentation

# SignInServiceClient usage example

from boto3.session import Session
from types_boto3_signin.client import SignInServiceClient

def get_signin_client() -> SignInServiceClient:
    return Session().client("signin")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("signin").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("signin")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.InternalServerException,
    client.exceptions.TooManyRequestsError,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from types_boto3_signin.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Type annotations and code completion for boto3.client("signin").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("signin").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

create_o_auth2_token#

CreateOAuth2Token API.

Type annotations and code completion for boto3.client("signin").create_o_auth2_token method. boto3 documentation

# create_o_auth2_token method definition

def create_o_auth2_token(
    self,
    *,
    tokenInput: CreateOAuth2TokenRequestBodyTypeDef,  # (1)
) -> CreateOAuth2TokenResponseTypeDef:  # (2)
    ...
  1. See CreateOAuth2TokenRequestBodyTypeDef
  2. See CreateOAuth2TokenResponseTypeDef
# create_o_auth2_token method usage example with argument unpacking

kwargs: CreateOAuth2TokenRequestTypeDef = {  # (1)
    "tokenInput": ...,
}

parent.create_o_auth2_token(**kwargs)
  1. See CreateOAuth2TokenRequestTypeDef