Type annotations for boto3.ConfigService 1.13.26 service, generated by mypy-boto3-buider 2.0.3
Project description
mypy-boto3-config
Type annotations for boto3.ConfigService 1.13.26 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.3.
More information can be found on boto3-stubs page.
How to use
Make sure you have mypy installed and activated in your IDE.
Install boto3-stubs
for ConfigService
service.
python -m pip install boto3-stubs[config]
# update installed packages index for automated type discovery
python -m mypy_boto3
Use boto3
with mypy_boto3_config
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_config import ConfigServiceClient
# Now mypy can check if your code is valid.
client: ConfigServiceClient = boto3.client("config")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: ConfigServiceClient = session.client("config")
# Annotated paginators are included as well
import mypy_boto3_config.paginator as config_paginators
describe_aggregate_compliance_by_config_rules_paginator: config_paginators.DescribeAggregateComplianceByConfigRulesPaginator = client.get_paginator("describe_aggregate_compliance_by_config_rules")
describe_aggregation_authorizations_paginator: config_paginators.DescribeAggregationAuthorizationsPaginator = client.get_paginator("describe_aggregation_authorizations")
describe_compliance_by_config_rule_paginator: config_paginators.DescribeComplianceByConfigRulePaginator = client.get_paginator("describe_compliance_by_config_rule")
describe_compliance_by_resource_paginator: config_paginators.DescribeComplianceByResourcePaginator = client.get_paginator("describe_compliance_by_resource")
describe_config_rule_evaluation_status_paginator: config_paginators.DescribeConfigRuleEvaluationStatusPaginator = client.get_paginator("describe_config_rule_evaluation_status")
describe_config_rules_paginator: config_paginators.DescribeConfigRulesPaginator = client.get_paginator("describe_config_rules")
describe_configuration_aggregator_sources_status_paginator: config_paginators.DescribeConfigurationAggregatorSourcesStatusPaginator = client.get_paginator("describe_configuration_aggregator_sources_status")
describe_configuration_aggregators_paginator: config_paginators.DescribeConfigurationAggregatorsPaginator = client.get_paginator("describe_configuration_aggregators")
describe_pending_aggregation_requests_paginator: config_paginators.DescribePendingAggregationRequestsPaginator = client.get_paginator("describe_pending_aggregation_requests")
describe_remediation_execution_status_paginator: config_paginators.DescribeRemediationExecutionStatusPaginator = client.get_paginator("describe_remediation_execution_status")
describe_retention_configurations_paginator: config_paginators.DescribeRetentionConfigurationsPaginator = client.get_paginator("describe_retention_configurations")
get_aggregate_compliance_details_by_config_rule_paginator: config_paginators.GetAggregateComplianceDetailsByConfigRulePaginator = client.get_paginator("get_aggregate_compliance_details_by_config_rule")
get_compliance_details_by_config_rule_paginator: config_paginators.GetComplianceDetailsByConfigRulePaginator = client.get_paginator("get_compliance_details_by_config_rule")
get_compliance_details_by_resource_paginator: config_paginators.GetComplianceDetailsByResourcePaginator = client.get_paginator("get_compliance_details_by_resource")
get_resource_config_history_paginator: config_paginators.GetResourceConfigHistoryPaginator = client.get_paginator("get_resource_config_history")
list_aggregate_discovered_resources_paginator: config_paginators.ListAggregateDiscoveredResourcesPaginator = client.get_paginator("list_aggregate_discovered_resources")
list_discovered_resources_paginator: config_paginators.ListDiscoveredResourcesPaginator = client.get_paginator("list_discovered_resources")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_config
and other installed services.
# Run this command when you add or remove service packages
python -m mypy_boto3
Generated index provides overloads for boto3.client
and boto3.service
,
boto3.Session.client
and boto3.Session.resource
functions,
so explicit type annotations are not needed.
mypy
supports function overloads as expectedPyCharm
also supports function overloads, but consumes a lot of RAM, use carefullyVSCode
does not currently support function overloads
Also, generated index allows you to import types from mypy_boto3
:
# you can replace imports
import mypy_boto3_config as config
from mypy_boto3_config import ConfigServiceClient
# with these
from mypy_boto3 import config
from mypy_boto3.config import ConfigServiceClient
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mypy-boto3-config-1.13.26.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f08742bfe8b5c89991994e4aa3e1de072f9e3b986e52bbd9072afabacce295c |
|
MD5 | 5aa039a99f32e28ff69a3c4237d64b88 |
|
BLAKE2b-256 | f36f141f501af311037f558ad42fa32dd34fbdd54ff8dac23f3175e7321e098c |
Hashes for mypy_boto3_config-1.13.26.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 643c999061cabba1ba6c4a2b1fb3edcbf768b569ddaf994709e444e186fa4f26 |
|
MD5 | 7b6c3a9772ea80a421f3750d61ea9fc2 |
|
BLAKE2b-256 | 23af5421e905619ba86e9185a4890fcb65dd73b9e4062068d86f0336e205f109 |