Skip to content

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

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.

Usage example
client = boto3.client("appconfigdata")

try:
    do_something(client)
except (
    client.BadRequestException,
    client.ClientError,
    client.InternalServerException,
    client.ResourceNotFoundException,
    client.ThrottlingException,
) as e:
    print(e)
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

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

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

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

Method definition
def get_latest_configuration(
    self,
    *,
    ConfigurationToken: str,
) -> GetLatestConfigurationResponseTypeDef:  # (1)
    ...
  1. See GetLatestConfigurationResponseTypeDef
Usage example with kwargs
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 boto3.client("appconfigdata").start_configuration_session method. boto3 documentation

Method definition
def start_configuration_session(
    self,
    *,
    ApplicationIdentifier: str,
    EnvironmentIdentifier: str,
    ConfigurationProfileIdentifier: str,
    RequiredMinimumPollIntervalInSeconds: int = ...,
) -> StartConfigurationSessionResponseTypeDef:  # (1)
    ...
  1. See StartConfigurationSessionResponseTypeDef
Usage example with kwargs
kwargs: StartConfigurationSessionRequestRequestTypeDef = {  # (1)
    "ApplicationIdentifier": ...,
    "EnvironmentIdentifier": ...,
    "ConfigurationProfileIdentifier": ...,
}

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