Remove unused imports from aws_config_aggregator (#41803)

This commit is contained in:
Ryan Brown 2018-06-21 13:36:07 -04:00 committed by ansibot
parent 8f144976df
commit 5abb63ea56

View file

@ -81,13 +81,11 @@ RETURN = r'''#'''
try:
import botocore
from botocore.exceptions import BotoCoreError, ClientError
except ImportError:
pass # handled by AnsibleAWSModule
from ansible.module_utils.aws.core import AnsibleAWSModule, is_boto3_error_code
from ansible.module_utils.ec2 import boto3_conn, get_aws_connection_info, AWSRetry
from ansible.module_utils.ec2 import camel_dict_to_snake_dict, boto3_tag_list_to_ansible_dict
from ansible.module_utils.ec2 import AWSRetry, camel_dict_to_snake_dict
def resource_exists(client, module, params):
@ -104,7 +102,7 @@ def resource_exists(client, module, params):
def create_resource(client, module, params, result):
try:
response = client.put_configuration_aggregator(
client.put_configuration_aggregator(
ConfigurationAggregatorName=params['ConfigurationAggregatorName'],
AccountAggregationSources=params['AccountAggregationSources'],
OrganizationAggregationSource=params['OrganizationAggregationSource']