Module ImportFrom alias ImportFrom alias Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ unicode_literals __future__ print_function N/A re resource Resource InstanceIds N/A Resource N/A N/A Encapsulates the EC2 instance ids resources.

    Attributes:
        * OPTION: A string representing the option for instance ids.
        * QUERY: A string representing the AWS query to list all instance ids.
        * resources: A list of instance ids.
     N/A OPTION --instance-ids N/A QUERY aws ec2 describe-instances --query "Reservations[].Instances[].[InstanceId]" --output text __init__ N/A N/A self N/A N/A N/A Initializes InstanceIds.

        Args:
            * None.

        Returns:
            None.
         N/A N/A N/A N/A super InstanceIds self __init__ N/A query_resource N/A N/A self N/A N/A N/A Queries and stores instance ids from AWS.

        Args:
            * None.

        Returns:
            The list of resources.

        Raises:
            A subprocess.CalledProcessError if check_output returns a non-zero
                exit status, which is called by self._query_aws.
         N/A N/A print   Refreshing instance ids... N/A output N/A N/A self _query_aws N/A self QUERY N/A N/A output None N/A N/A output N/A N/A re sub output N/A N/A self resources N/A N/A output split N/A N/A