User Tools

Site Tools


aws:history

aws history

context

dit document beschrijft de werking van het commando aws history.
commando is vergelijkbaar met de Linux command-line historiek, maar … beter uitgewerkt.

activeren

  • activeer historiek als volgt:
    aws configure set cli_history enabled

werking

  • overzicht van de uitgevoerd commando's:
    aws history list 
    b99d66c4-23f1-45e1-bfaa-d7b024ab96d0  2019-12-18 01:14:52 PM  s3 ls                                             255
    c2bae2bc-c474-44d4-b077-6500e2efda6f  2019-12-18 01:14:38 PM  s3 ls                                             0
    3080948e-2a1b-4ceb-8235-d6084f75889f  2019-12-18 01:13:18 PM  s3 ls                                             255
    ca44439b-9be6-4b3b-90a1-aa147f212e77  2019-12-18 12:57:16 PM  s3 cp                                             0
    62459f06-d539-46c6-b531-43e3edf72a4f  2019-12-18 12:57:06 PM  s3 ls                                             0 
  • output is: session id - tijdstip - commando - exit code
  • bekijk van de gewenste sessie nu uitvoeriger:
    aws history show <sessieID>: 
    ...
    
    [0] HTTP request sent at time: 2019-12-18 12:57:06.583
    to URL: https://bckp151219.s3.eu-central-1.amazonaws.com/?list-type=2&prefix=ip-10-0-110-75%2Faws_18122019_1256.tar.gz&delimiter=%2F&encoding-type=url
    with method: GET
    with headers: {
        "Authorization": "AWS4-HMAC-SHA256 Credential=ASIATK3JJOYJNAOKOYUE/20191218/eu-central-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date;x-amz-security-token, Signature=ec00...",
        "User-Agent": "aws-cli/1.16.303 Python/3.6.9 Linux/4.15.0-1056-aws botocore/1.13.39",
        "X-Amz-Content-SHA256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "X-Amz-Date": "20191218T115706Z",
        "X-Amz-Security-Token": "IQoJb3JpZ2luX2VjEEwaDGV1LWNlbnRyYWwtMSJIMEYCIQCo5dk1pondxDOPt1M0Cpf7DzXslwFtYQbvMocE+E7a/wIhAMWQHwctgZuymGy9/G7AEDy1G4hIi4NODeHGPVdUlx5dKt0CCKX//////////wEQABoMMjI5NDY0NzAwNDM0IgxqkUTRbGXwDqZOdE0qsQK+8bteeUYKvveG2mfp8Pu0gvjLTmY2BQedXQeuGxL9WVCKTW8xW+unbA9BYmyRH2MncXrAnM64z0HAhNm+4NYjzuI4hQgODoLQxyLeRMF5tpZJqT+W0IETue/AIpaf6mAnXa5dh/dyOqtbtkuJ2MDenqsOVlJVwmNbdH3KiICYDIVT8dDqaMySkwcuB16kT2VkkVB9KkzmhfLs/aP4xMfKnVQ/HiZM2PULQ3ipxo7uydE5KD5cIq10AMXrt5norn8dxxK10EmVFyBPs/rUu+BQwoB5MnVnKmsoEpRsjeYL/3PwaUr6iFUcW4c83dp1m+fEbbCcse8OyvxBhksum3ABeEXKvevPk6m4J3umOpFxAyNyf5BV5cxXkk6W8GBmIWBf7LlSnQOChDoTxCRdU5F6hjCwpujvBTrQAnys8oBlO0lWTmoXHbKfPav0rcEow191RuHHkUEQusQefvPzjcDry8iVaiPpMMtWoAOUlf0V+Vu87czU0FozqmRZ5+hK6Xw1HXkq2imEdUUHqwCBhzImujVdHuNQfsqEJflXPIUqRXHP4ATVlZchGHkBBjMKafcENo8AyFtwHd9tH5gvD5UN27Y+tLYtlDLsR1RiQOKm1wi8QvI7KgUopm4Li/1pegRFmn4npquSDmm/Py3jdoNICd5ar8Lo0oTpCeDT98l7bC6f3gjJFboiCy/MY9Di8FFtCNQwBptcibyYtYXJBq3TjHixUKKYDfdUYss8sSPyqcoakCuMdzeVOi1uB8IPYw4t+VYS2mulGWZAHdw7VbTlsVSfczrlAN9r1mxDQ2Yu7IAkkIlJMFPhN7AMnbDmKAjiLUiUirabvFeJOJBIsO0E7i/tFtyS4N/kPw=="
    }
    with body: There is no associated body 

meer info

voeg hier linken toe naar verdere uitleg

aws/history.txt · Last modified: 2024/11/16 18:14 by 127.0.0.1