{ "info": { "author": "Steve Mactaggart", "author_email": "steve@whitesquaresoft.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "aws-ssm-cli-invoke\n==================\n\n|Build Status|\n\nA wrapper around an AWS SSM send-command that can optionally wait for\nexecution success.\n\nUsage\n-----\n\nUsage on the tool can be found by executing ``aws-ssm-invoke -h``.\n\n::\n\n $ aws-ssm-invoke -h\n usage: aws-ssm-invoke [-h] [--comment COMMENT]\n (--instance-ids [INSTANCE_IDS [INSTANCE_IDS ...]] | --tags [TAGS [TAGS ...]])\n [--wait] [--show-output]\n command\n\n positional arguments:\n command The command to execute on all matching EC2 instances\n\n optional xarguments:\n -h, --help show this help message and exit\n --comment COMMENT\n --instance-ids [INSTANCE_IDS [INSTANCE_IDS ...]]\n Instance ID's to execute on\n --tags [TAGS [TAGS ...]]\n Key=Value pairs to execute on\n --wait When supplied will poll the SSM command until it is\n complete.\n --show-output When supplied will show the output from each execution\n\nExamples\n--------\n\nWait\n~~~~\n\nUsing the ``--wait`` flag polls for command status until complete and\nshows the state.\n\n.. code:: bash\n\n $ aws-ssm-invoke uptime --tags Name=database --wait\n Executed command 'uptime' - 486a3994-db41-4817-b741-f374cffec294 (Pending)\n - tag:Name = ['database']\n - Pending (Pending) [0 total, 0 complete, 0 error]\n - Success (NoInstancesInTag) [0 total, 0 complete, 0 error]\n\nShow output\n~~~~~~~~~~~\n\nSome commands you want to see the output of, to do so specify the\n``--show-output`` flag.\n\n.. code:: bash\n\n $ aws-ssm-invoke uptime --tags Name=database --wait --show-output\n Executed command 'uptime' - 0b8deb73-2677-47a6-9167-a0889929d542 (Pending)\n - tag:Business:Application = ['ecommerce']\n - Pending (Pending) [0 total, 0 complete, 0 error]\n - Success (Success) [1 total, 1 complete, 0 error]\n Command output\n - [Success] i-0ddf60260170be3c7 (ip-172-31-9-100.ap-southeast-2.compute.internal)\n 11:01:23 up 2 days, 5:41, 0 users, load average: 0.00, 0.01, 0.05\n\nAcknowledgements\n~~~~~~~~~~~~~~~~\n\n- Project Bootstrapped from\n https://github.com/obi1kenobi/python-bootstrap\n\n.. |Build Status| image:: https://travis-ci.org/stevemac007/aws-ssm-cli-invoke.svg?branch=master\n :target: https://travis-ci.org/stevemac007/aws-ssm-cli-invoke", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/stevemac007/aws-ssm-cli-invoke/archive/1.0.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/stevemac007/aws-ssm-cli-invoke", "keywords": "aws ssm generation", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "aws-ssm-invoke", "package_url": "https://pypi.org/project/aws-ssm-invoke/", "platform": "", "project_url": "https://pypi.org/project/aws-ssm-invoke/", "project_urls": { "Download": "https://github.com/stevemac007/aws-ssm-cli-invoke/archive/1.0.0.tar.gz", "Homepage": "https://github.com/stevemac007/aws-ssm-cli-invoke" }, "release_url": "https://pypi.org/project/aws-ssm-invoke/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "A wrapper around an AWS SSM send-command that can optionally wait for execution success.", "version": "1.0.0" }, "last_serial": 4344027, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "9e8c43e39b642b0189b02c2264cba3aa", "sha256": "f24ba076eb48797ca513a7e1a598905e5919e194dbd294c0be3c828406b0a333" }, "downloads": -1, "filename": "aws-ssm-invoke-1.0.0.tar.gz", "has_sig": false, "md5_digest": "9e8c43e39b642b0189b02c2264cba3aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5708, "upload_time": "2018-10-05T12:48:58", "url": "https://files.pythonhosted.org/packages/e0/7f/ffcad902eb52194a47424981d93f02c53f159a7ad9e1318a727062fc9f50/aws-ssm-invoke-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9e8c43e39b642b0189b02c2264cba3aa", "sha256": "f24ba076eb48797ca513a7e1a598905e5919e194dbd294c0be3c828406b0a333" }, "downloads": -1, "filename": "aws-ssm-invoke-1.0.0.tar.gz", "has_sig": false, "md5_digest": "9e8c43e39b642b0189b02c2264cba3aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5708, "upload_time": "2018-10-05T12:48:58", "url": "https://files.pythonhosted.org/packages/e0/7f/ffcad902eb52194a47424981d93f02c53f159a7ad9e1318a727062fc9f50/aws-ssm-invoke-1.0.0.tar.gz" } ] }