Skip to content

ConfigService module

Index > ConfigService

Auto-generated documentation for ConfigService type annotations stubs module types-aiobotocore-config.

How to install

From PyPI with pip

Install types-aioboto3 for ConfigService service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[config]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[config]'


# standalone installation
python -m pip install types-aiobotocore-config

How to uninstall

python -m pip uninstall -y types-aiobotocore-config

Usage

Code samples can be found in Examples.

ConfigServiceClient

Type annotations and code completion for session.client("config") as ConfigServiceClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_config.client import ConfigServiceClient


session = Session()
async with session.client("config") as client:
    client: ConfigServiceClient

Paginators

Type annotations and code completion for paginators from session.client("config").get_paginator("...").

Usage example
from types_aiobotocore_config.paginator import DescribeAggregateComplianceByConfigRulesPaginator

def get_describe_aggregate_compliance_by_config_rules_paginator() -> DescribeAggregateComplianceByConfigRulesPaginator:
    return client.get_paginator("describe_aggregate_compliance_by_config_rules"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_config.literals import AggregateConformancePackComplianceSummaryGroupKeyType

def get_value() -> AggregateConformancePackComplianceSummaryGroupKeyType:
    return "ACCOUNT_ID"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_config.type_defs import AccountAggregationSourceTypeDef

def get_value() -> AccountAggregationSourceTypeDef:
    return {
        "AccountIds": ...,
    }