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
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.
async with session.client("appconfigdata") as client:
try:
do_something(client)
except (
client.BadRequestException,
client.ClientError,
client.InternalServerException,
client.ResourceNotFoundException,
client.ThrottlingException,
) as e:
print(e)
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
close
Closes underlying endpoint connections.
Type annotations and code completion for session.client("appconfigdata").close
method.
boto3 documentation
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
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
await def get_latest_configuration(
self,
*,
ConfigurationToken: str,
) -> GetLatestConfigurationResponseTypeDef: # (1)
...
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
await def start_configuration_session(
self,
*,
ApplicationIdentifier: str,
EnvironmentIdentifier: str,
ConfigurationProfileIdentifier: str,
RequiredMinimumPollIntervalInSeconds: int = ...,
) -> StartConfigurationSessionResponseTypeDef: # (1)
...
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
__aexit__
Type annotations and code completion for session.client("appconfigdata").__aexit__
method.
boto3 documentation