AppConfigDataClient#
Index > AppConfigData > AppConfigDataClient
Auto-generated documentation for AppConfigData type annotations stubs module mypy-boto3-appconfigdata.
AppConfigDataClient#
Type annotations and code completion for boto3.client("appconfigdata")
.
boto3 documentation
# AppConfigDataClient usage example
from boto3.session import Session
from mypy_boto3_appconfigdata.client import AppConfigDataClient
def get_appconfigdata_client() -> AppConfigDataClient:
return Session().client("appconfigdata")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("appconfigdata").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("appconfigdata")
try:
do_something(client)
except (
client.exceptions.BadRequestException,
client.exceptions.ClientError,
client.exceptions.InternalServerException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ThrottlingException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_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 boto3.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 boto3.client("appconfigdata").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("appconfigdata").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_latest_configuration#
Retrieves the latest deployed configuration.
Type annotations and code completion for boto3.client("appconfigdata").get_latest_configuration
method.
boto3 documentation
# get_latest_configuration method definition
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 boto3.client("appconfigdata").start_configuration_session
method.
boto3 documentation
# start_configuration_session method definition
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)