Skip to content

UserExperienceCustomizationClient#

Index > UserExperienceCustomization > UserExperienceCustomizationClient

Auto-generated documentation for UserExperienceCustomization type annotations stubs module types-boto3-uxc.

UserExperienceCustomizationClient#

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

# UserExperienceCustomizationClient usage example

from boto3.session import Session
from types_boto3_uxc.client import UserExperienceCustomizationClient

def get_uxc_client() -> UserExperienceCustomizationClient:
    return Session().client("uxc")

Exceptions#

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

# Exceptions.exceptions usage example

client = boto3.client("uxc")

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

from types_boto3_uxc.client import Exceptions

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

Methods#

can_paginate#

Type annotations and code completion for boto3.client("uxc").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("uxc").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:
    ...

get_account_customizations#

Returns the current account customization settings, including account color, visible services, and visible Regions.

Type annotations and code completion for boto3.client("uxc").get_account_customizations method. boto3 documentation

# get_account_customizations method definition

def get_account_customizations(
    self,
) -> GetAccountCustomizationsOutputTypeDef:  # (1)
    ...
  1. See GetAccountCustomizationsOutputTypeDef

list_services#

Returns a paginated list of Amazon Web Services service identifiers that you can use as values for the visibleServices setting in UpdateAccountCustomizations.

Type annotations and code completion for boto3.client("uxc").list_services method. boto3 documentation

# list_services method definition

def list_services(
    self,
    *,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListServicesOutputTypeDef:  # (1)
    ...
  1. See ListServicesOutputTypeDef
# list_services method usage example with argument unpacking

kwargs: ListServicesInputTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_services(**kwargs)
  1. See ListServicesInputTypeDef

update_account_customizations#

Updates one or more account customization settings.

Type annotations and code completion for boto3.client("uxc").update_account_customizations method. boto3 documentation

# update_account_customizations method definition

def update_account_customizations(
    self,
    *,
    accountColor: AccountColorType = ...,  # (1)
    visibleServices: Sequence[str] = ...,
    visibleRegions: Sequence[str] = ...,
) -> UpdateAccountCustomizationsOutputTypeDef:  # (2)
    ...
  1. See AccountColorType
  2. See UpdateAccountCustomizationsOutputTypeDef
# update_account_customizations method usage example with argument unpacking

kwargs: UpdateAccountCustomizationsInputTypeDef = {  # (1)
    "accountColor": ...,
}

parent.update_account_customizations(**kwargs)
  1. See UpdateAccountCustomizationsInputTypeDef

get_paginator#

Type annotations and code completion for boto3.client("uxc").get_paginator method with overloads.