AppConfigDataClient#
Index > AppConfigData > AppConfigDataClient
Auto-generated documentation for AppConfigData type annotations stubs module types-aiobotocore-appconfigdata.
AppConfigDataClient#
Type annotations and code completion for session.client("appconfigdata")
boto3 documentation
# AppConfigDataClient usage example
from aioboto3.session import Session
from types_aiobotocore_appconfigdata.client import AppConfigDataClient
session = Session()
async with session.client("appconfigdata") as client:
client: AppConfigDataClient
Exceptions#
aioboto3
client exceptions are generated in runtime.
This class provides code completion for session.client("appconfigdata").exceptions
structure.
# AppConfigDataClient.exceptions usage example
async with session.client("appconfigdata") as client:
try:
do_something(client)
except (
client.exceptions.BadRequestException,
client.exceptions.ClientError,
client.exceptions.InternalServerException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ThrottlingException,
) as e:
print(e)
# AppConfigDataClient.exceptions 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.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.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.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.client("appconfigdata").get_latest_configuration
method.
boto3 documentation
# get_latest_configuration method definition
await def get_latest_configuration(
self,
*,
ConfigurationToken: str,
) -> GetLatestConfigurationResponseTypeDef: # (1)
...
# get_latest_configuration method usage example with argument unpacking
kwargs: GetLatestConfigurationRequestRequestTypeDef = { # (1)
"ConfigurationToken": ...,
}
parent.get_latest_configuration(**kwargs)
start_configuration_session#
Starts a configuration session used to retrieve a deployed configuration.
Type annotations and code completion for session.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)
...
# start_configuration_session method usage example with argument unpacking
kwargs: StartConfigurationSessionRequestRequestTypeDef = { # (1)
"ApplicationIdentifier": ...,
"EnvironmentIdentifier": ...,
"ConfigurationProfileIdentifier": ...,
}
parent.start_configuration_session(**kwargs)
__aenter__#
Type annotations and code completion for session.client("appconfigdata").__aenter__
method.
boto3 documentation
# __aenter__ method definition
await def __aenter__(
self,
) -> AppConfigDataClient:
...
__aexit__#
Type annotations and code completion for session.client("appconfigdata").__aexit__
method.
boto3 documentation
# __aexit__ method definition
await def __aexit__(
self,
exc_type: Any,
exc_val: Any,
exc_tb: Any,
) -> Any:
...