Skip to content

AppConfigDataClient#

Index > AppConfigData > AppConfigDataClient

Auto-generated documentation for AppConfigData type annotations stubs module types-aiobotocore-appconfigdata.

AppConfigDataClient#

Type annotations and code completion for session.create_client("appconfigdata") boto3 documentation

AppConfigDataClient usage example

from aiobotocore.session import get_session
from types_aiobotocore_appconfigdata.client import AppConfigDataClient

session = get_session()
async with session.create_client("appconfigdata") as client:
    client: AppConfigDataClient

Exceptions#

aiobotocore client exceptions are generated in runtime. This class provides code completion for session.create_client("appconfigdata").exceptions structure.

AppConfigDataClient.exceptions usage example

async with session.create_client("appconfigdata") as client:
    try:
        do_something(client)
    except (
            client.BadRequestException,
        client.ClientError,
        client.InternalServerException,
        client.ResourceNotFoundException,
        client.ThrottlingException,
    ) as e:
        print(e)
AppConfigDataClient usage type checking example

from types_aiobotocore_appconfigdata.client import Exceptions

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

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for session.create_client("appconfigdata").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close#

Closes underlying endpoint connections.

Type annotations and code completion for session.create_client("appconfigdata").close method. boto3 documentation

# close method definition

await def close(
    self,
) -> None:
    ...

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for session.create_client("appconfigdata").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

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

get_latest_configuration#

Retrieves the latest deployed configuration.

Type annotations and code completion for session.create_client("appconfigdata").get_latest_configuration method. boto3 documentation

# get_latest_configuration method definition

await def get_latest_configuration(
    self,
    *,
    ConfigurationToken: str,
) -> GetLatestConfigurationResponseTypeDef:  # (1)
    ...
  1. See GetLatestConfigurationResponseTypeDef
# get_latest_configuration method usage example with argument unpacking

kwargs: GetLatestConfigurationRequestRequestTypeDef = {  # (1)
    "ConfigurationToken": ...,
}

parent.get_latest_configuration(**kwargs)
  1. See GetLatestConfigurationRequestRequestTypeDef

start_configuration_session#

Starts a configuration session used to retrieve a deployed configuration.

Type annotations and code completion for session.create_client("appconfigdata").start_configuration_session method. boto3 documentation

# start_configuration_session method definition

await def start_configuration_session(
    self,
    *,
    ApplicationIdentifier: str,
    EnvironmentIdentifier: str,
    ConfigurationProfileIdentifier: str,
    RequiredMinimumPollIntervalInSeconds: int = ...,
) -> StartConfigurationSessionResponseTypeDef:  # (1)
    ...
  1. See StartConfigurationSessionResponseTypeDef
# start_configuration_session method usage example with argument unpacking

kwargs: StartConfigurationSessionRequestRequestTypeDef = {  # (1)
    "ApplicationIdentifier": ...,
    "EnvironmentIdentifier": ...,
    "ConfigurationProfileIdentifier": ...,
}

parent.start_configuration_session(**kwargs)
  1. See StartConfigurationSessionRequestRequestTypeDef

__aenter__#

Type annotations and code completion for session.create_client("appconfigdata").__aenter__ method. boto3 documentation

# __aenter__ method definition

await def __aenter__(
    self,
) -> AppConfigDataClient:
    ...

__aexit__#

Type annotations and code completion for session.create_client("appconfigdata").__aexit__ method. boto3 documentation

# __aexit__ method definition

await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...