ars_search_patterns#

This module defines the search patterns for those resource types that requires special handling.

class aws_resource_search.ars_search_patterns.T_SEARCH_PATTERN(*args, **kwargs)[source]#
class aws_resource_search.ars_search_patterns.ArsSearchPatternsMixin[source]#

todo: docstring

get_search_patterns()[source]#

This variable defines those resource types that requires a parent resource name for the boto3 API call. For example:

  • in order to search glue table, you need to specify glue database

  • in order to search glue job run, you need to specify glue job

has_partitioner(resource_type: str) bool[source]#

Check if a resource type need a partitioner resource.

get_partitioner_resource_type(resource_type: str) str[source]#

Get the partitioner “resource type” of a resource type.

get_partitioner_boto_kwargs(resource_type: str, partitioner_query: str) dict[source]#

Get the boto3 kwargs for the partitioner resource.