Remove unused imports from aws_config_aggregator (#41803)

pull/35451/merge
Ryan Brown 7 years ago committed by ansibot
parent 8f144976df
commit 5abb63ea56

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

Loading…
Cancel
Save