ConfigService#
Client#
- class ConfigService.Client#
A low-level client representing AWS Config (Config Service)
Config provides a way to keep track of the configurations of all the Amazon Web Services resources associated with your Amazon Web Services account. You can use Config to get the current and historical configurations of each Amazon Web Services resource and also to get information about the relationship between the resources. An Amazon Web Services resource can be an Amazon Compute Cloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an elastic network Interface (ENI), or a security group. For a complete list of resources currently supported by Config, see Supported Amazon Web Services resources.
You can access and manage Config through the Amazon Web Services Management Console, the Amazon Web Services Command Line Interface (Amazon Web Services CLI), the Config API, or the Amazon Web Services SDKs for Config. This reference guide contains documentation for the Config API and the Amazon Web Services CLI commands that you can use to manage Config. The Config API uses the Signature Version 4 protocol for signing requests. For more information about how to sign a request with this protocol, see Signature Version 4 Signing Process. For detailed information about Config features and their associated actions or commands, as well as how to work with Amazon Web Services Management Console, see What Is Config in the Config Developer Guide.
client = session.create_client('config')
These are the available methods:
- associate_resource_types
- batch_get_aggregate_resource_config
- batch_get_resource_config
- can_paginate
- close
- delete_aggregation_authorization
- delete_config_rule
- delete_configuration_aggregator
- delete_configuration_recorder
- delete_conformance_pack
- delete_delivery_channel
- delete_evaluation_results
- delete_organization_config_rule
- delete_organization_conformance_pack
- delete_pending_aggregation_request
- delete_remediation_configuration
- delete_remediation_exceptions
- delete_resource_config
- delete_retention_configuration
- delete_service_linked_configuration_recorder
- delete_stored_query
- deliver_config_snapshot
- describe_aggregate_compliance_by_config_rules
- describe_aggregate_compliance_by_conformance_packs
- describe_aggregation_authorizations
- describe_compliance_by_config_rule
- describe_compliance_by_resource
- describe_config_rule_evaluation_status
- describe_config_rules
- describe_configuration_aggregator_sources_status
- describe_configuration_aggregators
- describe_configuration_recorder_status
- describe_configuration_recorders
- describe_conformance_pack_compliance
- describe_conformance_pack_status
- describe_conformance_packs
- describe_delivery_channel_status
- describe_delivery_channels
- describe_organization_config_rule_statuses
- describe_organization_config_rules
- describe_organization_conformance_pack_statuses
- describe_organization_conformance_packs
- describe_pending_aggregation_requests
- describe_remediation_configurations
- describe_remediation_exceptions
- describe_remediation_execution_status
- describe_retention_configurations
- disassociate_resource_types
- get_aggregate_compliance_details_by_config_rule
- get_aggregate_config_rule_compliance_summary
- get_aggregate_conformance_pack_compliance_summary
- get_aggregate_discovered_resource_counts
- get_aggregate_resource_config
- get_compliance_details_by_config_rule
- get_compliance_details_by_resource
- get_compliance_summary_by_config_rule
- get_compliance_summary_by_resource_type
- get_conformance_pack_compliance_details
- get_conformance_pack_compliance_summary
- get_custom_rule_policy
- get_discovered_resource_counts
- get_organization_config_rule_detailed_status
- get_organization_conformance_pack_detailed_status
- get_organization_custom_rule_policy
- get_paginator
- get_resource_config_history
- get_resource_evaluation_summary
- get_stored_query
- get_waiter
- list_aggregate_discovered_resources
- list_configuration_recorders
- list_conformance_pack_compliance_scores
- list_discovered_resources
- list_resource_evaluations
- list_stored_queries
- list_tags_for_resource
- put_aggregation_authorization
- put_config_rule
- put_configuration_aggregator
- put_configuration_recorder
- put_conformance_pack
- put_delivery_channel
- put_evaluations
- put_external_evaluation
- put_organization_config_rule
- put_organization_conformance_pack
- put_remediation_configurations
- put_remediation_exceptions
- put_resource_config
- put_retention_configuration
- put_service_linked_configuration_recorder
- put_stored_query
- select_aggregate_resource_config
- select_resource_config
- start_config_rules_evaluation
- start_configuration_recorder
- start_remediation_execution
- start_resource_evaluation
- stop_configuration_recorder
- tag_resource
- untag_resource
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
- ConflictException
- ConformancePackTemplateValidationException
- IdempotentParameterMismatch
- InsufficientDeliveryPolicyException
- InsufficientPermissionsException
- InvalidConfigurationRecorderNameException
- InvalidDeliveryChannelNameException
- InvalidExpressionException
- InvalidLimitException
- InvalidNextTokenException
- InvalidParameterValueException
- InvalidRecordingGroupException
- InvalidResultTokenException
- InvalidRoleException
- InvalidS3KeyPrefixException
- InvalidS3KmsKeyArnException
- InvalidSNSTopicARNException
- InvalidTimeRangeException
- LastDeliveryChannelDeleteFailedException
- LimitExceededException
- MaxActiveResourcesExceededException
- MaxNumberOfConfigRulesExceededException
- MaxNumberOfConfigurationRecordersExceededException
- MaxNumberOfConformancePacksExceededException
- MaxNumberOfDeliveryChannelsExceededException
- MaxNumberOfOrganizationConfigRulesExceededException
- MaxNumberOfOrganizationConformancePacksExceededException
- MaxNumberOfRetentionConfigurationsExceededException
- NoAvailableConfigurationRecorderException
- NoAvailableDeliveryChannelException
- NoAvailableOrganizationException
- NoRunningConfigurationRecorderException
- NoSuchBucketException
- NoSuchConfigRuleException
- NoSuchConfigRuleInConformancePackException
- NoSuchConfigurationAggregatorException
- NoSuchConfigurationRecorderException
- NoSuchConformancePackException
- NoSuchDeliveryChannelException
- NoSuchOrganizationConfigRuleException
- NoSuchOrganizationConformancePackException
- NoSuchRemediationConfigurationException
- NoSuchRemediationExceptionException
- NoSuchRetentionConfigurationException
- OrganizationAccessDeniedException
- OrganizationAllFeaturesNotEnabledException
- OrganizationConformancePackTemplateValidationException
- OversizedConfigurationItemException
- RemediationInProgressException
- ResourceConcurrentModificationException
- ResourceInUseException
- ResourceNotDiscoveredException
- ResourceNotFoundException
- TooManyTagsException
- UnmodifiableEntityException
- ValidationException
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are:
- DescribeAggregateComplianceByConfigRules
- DescribeAggregateComplianceByConformancePacks
- DescribeAggregationAuthorizations
- DescribeComplianceByConfigRule
- DescribeComplianceByResource
- DescribeConfigRuleEvaluationStatus
- DescribeConfigRules
- DescribeConfigurationAggregatorSourcesStatus
- DescribeConfigurationAggregators
- DescribeConformancePackStatus
- DescribeConformancePacks
- DescribeOrganizationConfigRuleStatuses
- DescribeOrganizationConfigRules
- DescribeOrganizationConformancePackStatuses
- DescribeOrganizationConformancePacks
- DescribePendingAggregationRequests
- DescribeRemediationExecutionStatus
- DescribeRetentionConfigurations
- GetAggregateComplianceDetailsByConfigRule
- GetComplianceDetailsByConfigRule
- GetComplianceDetailsByResource
- GetConformancePackComplianceSummary
- GetOrganizationConfigRuleDetailedStatus
- GetOrganizationConformancePackDetailedStatus
- GetResourceConfigHistory
- ListAggregateDiscoveredResources
- ListConfigurationRecorders
- ListDiscoveredResources
- ListResourceEvaluations
- ListTagsForResource
- SelectAggregateResourceConfig
- SelectResourceConfig