HEX
Server: LiteSpeed
System: Linux ip-172-31-76-142.ec2.internal 4.14.158-129.185.amzn2.x86_64 #1 SMP Tue Dec 24 03:15:32 UTC 2019 x86_64
User: 69b4844ae61d4e92bf26ad98af552775 (1065)
PHP: 7.2.27
Disabled: exec,passthru,shell_exec,system,eval
Upload Files
File: //lib/python2.7/site-packages/cwlogs/__init__.py
#  Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
#  Licensed under the Amazon Software License (the "License").
#  You may not use this file except in compliance with the License.
#  A copy of the License is located at
#
#  http://aws.amazon.com/asl/
#
#  or in the "license" file accompanying this file. This file is distributed
#  on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
#  express or implied. See the License for the specific language governing
#  permissions and limitations under the License.

__version__ = '1.4.4'


def awscli_initialize(cli):
    """
    The entry point for Cloudwatch logs high level commands.
    """
    # The setup.py imports this module to get __version__, but cwlogs.pull
    # and push depend on awscli which is not available because awscli is
    # configured as dependency of cwlogs plugin and installed later
    # by setup.py. Moving import within this method avoid the problem.
    from cwlogs.pull import initialize as logs_pull_init
    from cwlogs.push import initialize as logs_push_init
    from cwlogs.filter import initialize as logs_filter_init
    logs_pull_init(cli)
    logs_filter_init(cli)
    logs_push_init(cli)