# Path: awsshell/resource/index.py
# LOG = logging.getLogger(__name__)
# def extract_field_from_jmespath(expression):
#     def __init__(self):
#     def build_index(self, resource_data):
#     def __init__(self, resource_index):
#     def describe_autocomplete(self, service, operation, param):
#     def __init__(self, session):
#     def create_client(self, service_name):
#     def __init__(self, loader):
#     def create_completer_query(self, service_name):
#     def _create_completer_query(self, service_name):
#     def services_with_completions(self):
#     def __init__(self, client_creator, describer_creator):
#     def retrieve_candidate_values(self, service, operation, param):
# def main():
# class ResourceIndexBuilder(object):
# class CompleterDescriber(object):
# class CachedClientCreator(object):
# class CompleterDescriberCreator(object):
# class ServerSideCompleter(object):


import pytest
import mock
from botocore.exceptions import NoRegionError
from awsshell.resource import index
                    'request': {'operation': 'ListTables'},
                    'resource': {
                        'type': 'Table',
                        'identifiers': [
                            {'target': 'Name',
                             'source': 'response',
                             'path': 'TableNames[]',
                            }
                        ]
                    }
                }
            }
        },
        'resources': {
            'Table': {
                'actions': {
                    'Delete': {
                        'request': {
                            'operation': 'DeleteTable',
                            'params': [
                                {'target': 'TableName',
                                 'source': 'identifier',
                                 'name': 'Name'},
                            ]
                        }
                    }
                }
            }
        }
    }

# Path: awsshell/resource/index.py
# LOG = logging.getLogger(__name__)
# def extract_field_from_jmespath(expression):
#     def __init__(self):
#     def build_index(self, resource_data):
#     def __init__(self, resource_index):
#     def describe_autocomplete(self, service, operation, param):
#     def __init__(self, session):
#     def create_client(self, service_name):
#     def __init__(self, loader):
#     def create_completer_query(self, service_name):
#     def _create_completer_query(self, service_name):
#     def services_with_completions(self):
#     def __init__(self, client_creator, describer_creator):
#     def retrieve_candidate_values(self, service, operation, param):
# def main():
# class ResourceIndexBuilder(object):
# class CompleterDescriber(object):
# class CachedClientCreator(object):
# class CompleterDescriberCreator(object):
# class ServerSideCompleter(object):


# Path: tests/unit/test_resources.py
import pytest
import mock
from botocore.exceptions import NoRegionError
from awsshell.resource import index

                    'request': {'operation': 'ListTables'},
                    'resource': {
                        'type': 'Table',
                        'identifiers': [
                            {'target': 'Name',
                             'source': 'response',
                             'path': 'TableNames[]',
                            }
                        ]
                    }
                }
            }
        },
        'resources': {
            'Table': {
                'actions': {
                    'Delete': {
                        'request': {
                            'operation': 'DeleteTable',
                            'params': [
                                {'target': 'TableName',
                                 'source': 'identifier',
                                 'name': 'Name'},
                            ]
                        }
                    }
                }
            }
        }
    }

    builder = index.ResourceIndexBuilder()