Skip to main content

Type annotations for boto3.ConfigService 1.13.26 service, generated by mypy-boto3-buider 2.0.4

Project description

mypy-boto3-config

PyPI - mypy-boto3-config PyPI - Python Version Docs

Type annotations for boto3.ConfigService 1.13.26 service compatible with mypy, VSCode, PyCharm and other tools.

Generated by mypy-boto3-buider 2.0.4.

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]

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")

Dynamic type annotations

mypy_boto3 command generates boto3.client/resource type annotations for mypy_boto3_config and other installed services.

# Run this command after you add or remove service packages
python -m mypy_boto3

Generated type annotations provide overloads for boto3.client and boto3.resource, boto3.Session.client and boto3.Session.resource functions, so explicit type annotations are not needed.

  • mypy supports function overloads as expected
  • PyCharm also supports function overloads, but consumes a lot of RAM, use carefully if you have many services installed
  • VSCode does not currently support function overloads, use explicit type annotations
import boto3

# Type is discovered correctly by mypy and PyCharm
# VSCode still needs explicit type annotations
client = boto3.client("config")

session_client = boto3.Session().client("config")

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

mypy-boto3-config-1.13.26.2.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mypy_boto3_config-1.13.26.2-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file mypy-boto3-config-1.13.26.2.tar.gz.

File metadata

  • Download URL: mypy-boto3-config-1.13.26.2.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mypy-boto3-config-1.13.26.2.tar.gz
Algorithm Hash digest
SHA256 d349eebb1f959009a6d82ab1c017b71493a9e4f24ee1cccb4f93eb0b6f4b6dd8
MD5 e5e682f8301f1309449a4cf5eb4ee59c
BLAKE2b-256 c9286438388d9ef4ea1f97ecb96f40380376feb465a3dd7ce0e4b7d731386347

See more details on using hashes here.

File details

Details for the file mypy_boto3_config-1.13.26.2-py3-none-any.whl.

File metadata

  • Download URL: mypy_boto3_config-1.13.26.2-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mypy_boto3_config-1.13.26.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8abd6e8af1a2c14addc415cf58ca93c0fa160a3d0b522c18d95fac71dd32e89f
MD5 6d0f1848eec548aafb909eeae4fed055
BLAKE2b-256 adf050db09e84900f01832d66310a360901649124282f2ac0b34fe574bcd79bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page