INNER CODE UNIT · Python

GenericClient

grycap/scar · scar/providers/aws/__init__.py:29

class GenericClient():
    """Class in charge of creating the boto clients."""

    # pylint: disable=too-few-public-methods

    _CLIENTS = {'APIGATEWAY': APIGatewayClient,
                'BATCH': BatchClient,
                'CLOUDWATCHLOGS': CloudWatchLogsClient,
                'IAM': IAMClient,
                'LAMBDA': LambdaClient,
                'RESOURCEGROUPS': ResourceGroupsClient,
                'S3': S3Client,
                'LAUNCHTEMPLATES': EC2Client,
                'ECR': ElasticContainerRegistryClient}

    def __init__(self, resource_info: Dict =None):
        self.properties = {}
        if resource_info:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…