Printing Dictionary Content: {'Records': [{'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:34Z', 'eventSource': 's3.amazonaws.com', 'eventName': 'GetBucketNotification', 'awsRegion': 'us-west-2', 'sourceIPAddress': '10.233.8.92', 'userAgent': '[aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192]', 'requestParameters': {'notification': [''], 'bucketName': 'dantestautomatingaws-commandline'}, 'responseElements': None, 'additionalEventData': {'vpcEndpointId': 'vpce-df49b3b6'}, 'requestID': '03E05C56DCCF6623', 'eventID': 'e84942a5-b158-46cc-a9b3-da0c744e52fd', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012', 'vpcEndpointId': 'vpce-df49b3b6'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AWSService', 'invokedBy': 'ec2.amazonaws.com'}, 'eventTime': '2018-12-21T01:54:20Z', 'eventSource': 'sts.amazonaws.com', 'eventName': 'AssumeRole', 'awsRegion': 'us-west-2', 'sourceIPAddress': 'ec2.amazonaws.com', 'userAgent': 'ec2.amazonaws.com', 'requestParameters': {'roleSessionName': 'i-0978cd9d2093b30e2', 'roleArn': 'arn:aws:iam::123456789012:role/Dan-Test-RoleForSSM'}, 'responseElements': {'credentials': {'sessionToken': 'FQoGZXIvYXdzEGMaDOZ900yoHpvDodxQWCK3A9UOObCSz+HXzFmAo59FCvntBgd++eS0jGEg6xu083LQdlQxtPps/pt+X+jQaWkJFA/0KlBTD9Y1Ls2WhVRoPjdZPg3g2OpOXjTSdXiIt2/PBBbGE3AEIuqk8cJiaQDbV/i4QkHCbgn9MdSaqNM+GepH95lbhkK/Ba5yZShqOO0bkKjBi4pQtdDJig4gnBCIK3mSx/GL8Ed9pGfEgDHTyegI71DzxOlt+/ZYfYDOhSRxq4657WDmytSty6gnHXTp/HIVYGDqHc5FXrPo7Xv/mypdrGEz1SZe2x98K8YMIqhhP+f2fqtcICcH0pYqMTqdb/ToDwLp+RJt87uuqkLzIiNbsLWew5RFIa4iLNyylWevEkfIWls2VQlO+GrIZqYwGxe1jPPsxd0Pwd2l9iu8x3v0p+hgvnsZqz/3T3Z6YuHkXL9mLi9eIE2+Nhva9sqcsWEDg6F6dqz24pU/iL3bVpAE2cPOSOvSXcV44VVc/0CAYdz/oLijj5Oi+lunFLmOqAJQAhbL5vP16ZBd6+6akdisexfMtXLIFp3FzMRgv3zQTfyIKhYlavwSnreBlN58ATvnBmVyTTkozI/x4AU=', 'accessKeyId': 'ASIAX6HEOBKHKWAK7E4W', 'expiration': 'Dec 21, 2018 8:03:02 AM'}}, 'requestID': 'fcd8fe65-2b2f-49b7-8a5c-f598c0ba33f0', 'eventID': '160a4f5d-2a2b-47f0-a267-2b7364140b2d', 'resources': [{'ARN': 'arn:aws:iam::123456789012:role/Dan-Test-RoleForSSM', 'accountId': '123456789012', 'type': 'AWS::IAM::Role'}], 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012', 'sharedEventID': 'fc136fbe-f1c6-4cb2-86ee-e6506dfaa78d'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:34Z', 'eventSource': 'lambda.amazonaws.com', 'eventName': 'GetFunction20150331v2', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'requestParameters': {'functionName': 'Dan-Test-Cloudtrail-Events'}, 'responseElements': None, 'requestID': '398daa81-04c3-11e9-8277-2b89046b6130', 'eventID': 'f2b71359-2f7b-444f-804a-9b9c0383c6ff', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:34Z', 'eventSource': 'cloudformation.amazonaws.com', 'eventName': 'DescribeStackResources', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'errorCode': 'ValidationException', 'errorMessage': 'Stack for Dan-Test-Cloudtrail-Events does not exist', 'requestParameters': None, 'responseElements': None, 'requestID': '398a9cc6-04c3-11e9-88c5-09af97fa4c1a', 'eventID': '8ed97705-fd50-405f-9884-121a9904cfb6', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:52:47Z', 'eventSource': 'logs.amazonaws.com', 'eventName': 'DescribeMetricFilters', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36', 'requestParameters': {'limit': 50}, 'responseElements': None, 'requestID': '1de12946-04c3-11e9-bd26-df86031bbd51', 'eventID': 'c4f29994-9b0b-4d03-b3b7-cb787d8b7015', 'eventType': 'AwsApiCall', 'apiVersion': '20140328', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:34Z', 'eventSource': 'lambda.amazonaws.com', 'eventName': 'GetPolicy20150331v2', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'requestParameters': {'functionName': 'Dan-Test-Cloudtrail-Events'}, 'responseElements': None, 'requestID': '399dd759-04c3-11e9-8c25-4f1ac3d28aa7', 'eventID': '6eba6fb7-8366-4253-a32f-26cba68c9b49', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:36Z', 'eventSource': 'logs.amazonaws.com', 'eventName': 'DescribeLogStreams', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'requestParameters': {'logGroupName': '/aws/lambda/Dan-Test-Cloudtrail-Events', 'descending': False, 'limit': 50, 'orderBy': 'LastEventTime'}, 'responseElements': None, 'requestID': '3ab624eb-04c3-11e9-b056-654242cad9a0', 'eventID': '0e6766ae-d640-464a-9d0d-33852d4a64d2', 'eventType': 'AwsApiCall', 'apiVersion': '20140328', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:34Z', 'eventSource': 'lambda.amazonaws.com', 'eventName': 'ListAliases20150331', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'requestParameters': {'marker': '$DEFAULT', 'functionName': 'Dan-Test-Cloudtrail-Events'}, 'responseElements': None, 'requestID': '398ebc1c-04c3-11e9-a317-edf1468f36ff', 'eventID': 'd5595767-c599-4a07-95e5-7e00137114d6', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:58:01Z', 'eventSource': 'monitoring.amazonaws.com', 'eventName': 'DescribeAlarms', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'errorCode': 'ValidationException', 'errorMessage': "1 validation error detected: Value 'INVALID_FOR_SUMMARY' at 'stateValue' failed to satisfy constraint: Member must satisfy enum value set: [INSUFFICIENT_DATA, ALARM, OK]", 'requestParameters': {'stateValue': 'INVALID_FOR_SUMMARY'}, 'responseElements': None, 'requestID': 'd91e34ad-04c3-11e9-b298-531a7f1cb3fa', 'eventID': '041dc344-4985-4408-ba8a-1b6ce7cfe009', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'AROAJSCFXFFSSCQVFGYZQ:Dan-Test-Cloudtrail-Events', 'arn': 'arn:aws:sts::123456789012:assumed-role/Dan-Test-Lambda-Cloudtrail-Role/Dan-Test-Cloudtrail-Events', 'accountId': '123456789012', 'accessKeyId': 'ASIAX6HEOBKHCBPCQEUY', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-21T00:59:07Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'AROAJSCFXFFSSCQVFGYZQ', 'arn': 'arn:aws:iam::123456789012:role/Dan-Test-Lambda-Cloudtrail-Role', 'accountId': '123456789012', 'userName': 'Dan-Test-Lambda-Cloudtrail-Role'}}}, 'eventTime': '2018-12-21T01:53:43Z', 'eventSource': 'logs.amazonaws.com', 'eventName': 'CreateLogStream', 'awsRegion': 'us-west-2', 'sourceIPAddress': '54.191.135.238', 'userAgent': 'awslambda-worker', 'requestParameters': {'logStreamName': '2018/12/21/[$LATEST]21888d84d941428686e16da1ed1c4dfe', 'logGroupName': '/aws/lambda/Dan-Test-Cloudtrail-Events'}, 'responseElements': None, 'requestID': '3f2c9233-04c3-11e9-8151-bd08a843bffb', 'eventID': 'a0e79c01-7ba8-409e-9591-1d2a84b53095', 'eventType': 'AwsApiCall', 'apiVersion': '20140328', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:55:35Z', 'eventSource': 'logs.amazonaws.com', 'eventName': 'DescribeLogStreams', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'requestParameters': {'logGroupName': '/aws/lambda/Dan-Test-Cloudtrail-Events', 'descending': False, 'limit': 50, 'orderBy': 'LastEventTime'}, 'responseElements': None, 'requestID': '81ca66bb-04c3-11e9-bda2-f9030edc70f0', 'eventID': '92be241d-b875-416c-b9b6-b7b6584fb367', 'eventType': 'AwsApiCall', 'apiVersion': '20140328', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:55:35Z', 'eventSource': 'logs.amazonaws.com', 'eventName': 'DescribeLogStreams', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'requestParameters': {'logGroupName': '/aws/lambda/Dan-Test-Cloudtrail-Events', 'descending': False, 'limit': 50, 'orderBy': 'LastEventTime'}, 'responseElements': None, 'requestID': '81dc8fc9-04c3-11e9-bda2-f9030edc70f0', 'eventID': '5e523a9d-df80-430c-b19d-f84c915c98b0', 'eventType': 'AwsApiCall', 'apiVersion': '20140328', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:57:52Z', 'eventSource': 'monitoring.amazonaws.com', 'eventName': 'DescribeAlarms', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'errorCode': 'ValidationException', 'errorMessage': "1 validation error detected: Value 'INVALID_FOR_SUMMARY' at 'stateValue' failed to satisfy constraint: Member must satisfy enum value set: [INSUFFICIENT_DATA, ALARM, OK]", 'requestParameters': {'stateValue': 'INVALID_FOR_SUMMARY'}, 'responseElements': None, 'requestID': 'd3951fb8-04c3-11e9-855e-cb005a26bd54', 'eventID': 'ec4075f7-57f8-493f-aae9-a44f63d3a0ae', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:54:52Z', 'eventSource': 'monitoring.amazonaws.com', 'eventName': 'DescribeAlarms', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'errorCode': 'ValidationException', 'errorMessage': "1 validation error detected: Value 'INVALID_FOR_SUMMARY' at 'stateValue' failed to satisfy constraint: Member must satisfy enum value set: [INSUFFICIENT_DATA, ALARM, OK]", 'requestParameters': {'stateValue': 'INVALID_FOR_SUMMARY'}, 'responseElements': None, 'requestID': '68486743-04c3-11e9-8ed7-7bdc2086c8ec', 'eventID': '65026505-7279-494e-b6bd-e7c95f2d499a', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:55:39Z', 'eventSource': 'logs.amazonaws.com', 'eventName': 'DescribeMetricFilters', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36', 'requestParameters': {'limit': 50}, 'responseElements': None, 'requestID': '84607b88-04c3-11e9-a960-6d525cc221cf', 'eventID': '4120cb6c-68be-46a3-ac47-88277977b414', 'eventType': 'AwsApiCall', 'apiVersion': '20140328', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:56:52Z', 'eventSource': 'monitoring.amazonaws.com', 'eventName': 'DescribeAlarms', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'errorCode': 'ValidationException', 'errorMessage': "1 validation error detected: Value 'INVALID_FOR_SUMMARY' at 'stateValue' failed to satisfy constraint: Member must satisfy enum value set: [INSUFFICIENT_DATA, ALARM, OK]", 'requestParameters': {'stateValue': 'INVALID_FOR_SUMMARY'}, 'responseElements': None, 'requestID': 'afccf7e3-04c3-11e9-a038-ab311a827a8c', 'eventID': '162c5402-e200-4ea1-a68e-043c00f0558b', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:18Z', 'eventSource': 'lambda.amazonaws.com', 'eventName': 'ListFunctions20150331', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'requestParameters': {'functionVersion': 'ALL', 'maxItems': 1, 'masterRegion': 'ALL'}, 'responseElements': None, 'requestID': '30233bcf-04c3-11e9-845f-772575c40309', 'eventID': 'ac38d49b-9723-4ae4-9347-684d87d07971', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:39Z', 'eventSource': 'logs.amazonaws.com', 'eventName': 'DeleteLogStream', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'requestParameters': {'logGroupName': '/aws/lambda/Dan-Test-Cloudtrail-Events', 'logStreamName': '2018/12/21/[$LATEST]21888d84d941428686e16da1ed1c4dfe'}, 'responseElements': None, 'requestID': '3ce7353a-04c3-11e9-a173-0936509c0c8c', 'eventID': '00801560-764c-45fc-b594-c3f95ba7f365', 'eventType': 'AwsApiCall', 'apiVersion': '20140328', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:39Z', 'eventSource': 'logs.amazonaws.com', 'eventName': 'DeleteLogStream', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'requestParameters': {'logGroupName': '/aws/lambda/Dan-Test-Cloudtrail-Events', 'logStreamName': '2018/12/21/[$LATEST]cd50e39766fe47728b451ca15a6e788f'}, 'responseElements': None, 'requestID': '3ce33e7a-04c3-11e9-a173-0936509c0c8c', 'eventID': 'c2ae927d-251e-4c51-a101-ee3f7eea8a76', 'eventType': 'AwsApiCall', 'apiVersion': '20140328', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:39Z', 'eventSource': 'logs.amazonaws.com', 'eventName': 'DescribeLogStreams', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'requestParameters': {'logGroupName': '/aws/lambda/Dan-Test-Cloudtrail-Events', 'descending': False, 'limit': 50, 'orderBy': 'LastEventTime'}, 'responseElements': None, 'requestID': '3cfd2ee0-04c3-11e9-a173-0936509c0c8c', 'eventID': '02316bbd-023a-4e33-b704-71706d217cd8', 'eventType': 'AwsApiCall', 'apiVersion': '20140328', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:19Z', 'eventSource': 'lambda.amazonaws.com', 'eventName': 'ListFunctions20150331', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'requestParameters': {'maxItems': 50}, 'responseElements': None, 'requestID': '30eb9504-04c3-11e9-ab23-0342d3878f37', 'eventID': '7584c11e-155f-4347-aabc-3371aab4cb91', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:34Z', 'eventSource': 'lambda.amazonaws.com', 'eventName': 'GetFunction20150331v2', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'requestParameters': {'functionName': 'Dan-Test-Cloudtrail-Events'}, 'responseElements': None, 'requestID': '398cc06d-04c3-11e9-ad67-37163560e1c7', 'eventID': '357c3cb8-aa38-4775-8f63-7ff8a3cdb7da', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:34Z', 'eventSource': 'lambda.amazonaws.com', 'eventName': 'GetPolicy20150331v2', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192', 'requestParameters': {'functionName': 'arn:aws:lambda:us-west-2:123456789012:function:Dan-Test-Cloudtrail-Events'}, 'responseElements': None, 'requestID': '39efa05e-04c3-11e9-ac5f-ab127c281f67', 'eventID': 'f17178e4-5c91-4929-8217-ecd00536898e', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:18Z', 'eventSource': 'lambda.amazonaws.com', 'eventName': 'ListFunctions20150331', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'requestParameters': {'maxItems': 1}, 'responseElements': None, 'requestID': '301f6bc5-04c3-11e9-bc21-0bbdd15e7659', 'eventID': 'b869d98b-216f-4051-bc64-635421dfcbf4', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:19Z', 'eventSource': 'lambda.amazonaws.com', 'eventName': 'ListFunctions20150331', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'requestParameters': {'functionVersion': 'ALL', 'maxItems': 50, 'masterRegion': 'ALL'}, 'responseElements': None, 'requestID': '30f336a1-04c3-11e9-8881-573a82e74c8c', 'eventID': '35bd2b2f-8a13-4e35-92aa-59fa2fb3a0cf', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:36Z', 'eventSource': 'logs.amazonaws.com', 'eventName': 'DescribeLogStreams', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'requestParameters': {'logGroupName': '/aws/lambda/Dan-Test-Cloudtrail-Events', 'descending': False, 'limit': 50, 'orderBy': 'LastEventTime'}, 'responseElements': None, 'requestID': '3ab53a72-04c3-11e9-9e47-7fe402d48ab3', 'eventID': 'f80c8533-e4a9-48fb-9190-3b02037f4a32', 'eventType': 'AwsApiCall', 'apiVersion': '20140328', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'AROAJ4WFCGOGXP2OLZ3RM:i-0978cd9d2093b30e2', 'arn': 'arn:aws:sts::123456789012:assumed-role/Dan-Test-RoleForSSM/i-0978cd9d2093b30e2', 'accountId': '123456789012', 'accessKeyId': 'ASIAX6HEOBKHPDTAN3X2', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:17:26Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'AROAJ4WFCGOGXP2OLZ3RM', 'arn': 'arn:aws:iam::123456789012:role/Dan-Test-RoleForSSM', 'accountId': '123456789012', 'userName': 'Dan-Test-RoleForSSM'}}}, 'eventTime': '2018-12-21T01:56:28Z', 'eventSource': 'ssm.amazonaws.com', 'eventName': 'UpdateInstanceInformation', 'awsRegion': 'us-west-2', 'sourceIPAddress': '34.217.24.153', 'userAgent': 'aws-sdk-go/1.1.29 (go1.7.5; linux; amd64)', 'requestParameters': {'instanceId': 'i-0978cd9d2093b30e2', 'agentVersion': '2.1.4.0', 'agentStatus': 'Active', 'platformType': 'Linux', 'platformName': 'Amazon Linux AMI', 'platformVersion': '2017.09', 'iPAddress': '172.16.200.36', 'computerName': 'ip-172-16-200-36.us-west-2.compute.internal', 'agentName': 'amazon-ssm-agent'}, 'responseElements': None, 'requestID': '1d06bd43-f8f5-4a7c-80a7-fcff8db0664f', 'eventID': 'b69e2822-e346-469e-b5c6-e2ba472fa578', 'resources': [{'ARN': 'arn:aws:ec2:us-west-2:123456789012:instance/i-0978cd9d2093b30e2', 'accountId': '123456789012'}], 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'AROAJ4WFCGOGXP2OLZ3RM:i-0978cd9d2093b30e2', 'arn': 'arn:aws:sts::123456789012:assumed-role/Dan-Test-RoleForSSM/i-0978cd9d2093b30e2', 'accountId': '123456789012', 'accessKeyId': 'ASIAX6HEOBKHLVN757UX', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-21T01:17:24Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'AROAJ4WFCGOGXP2OLZ3RM', 'arn': 'arn:aws:iam::123456789012:role/Dan-Test-RoleForSSM', 'accountId': '123456789012', 'userName': 'Dan-Test-RoleForSSM'}}}, 'eventTime': '2018-12-21T01:56:55Z', 'eventSource': 'ssm.amazonaws.com', 'eventName': 'ListInstanceAssociations', 'awsRegion': 'us-west-2', 'sourceIPAddress': '34.217.24.153', 'userAgent': 'aws-sdk-go/1.1.29 (go1.7.5; linux; amd64)', 'requestParameters': {'instanceId': 'i-0978cd9d2093b30e2', 'maxResults': 20}, 'responseElements': {'associations': []}, 'requestID': '6831ea18-8263-4688-a70f-32ca12aa5b7f', 'eventID': '57634906-90a2-4bb2-8e16-7cd8dabd4d64', 'readOnly': True, 'resources': [{'ARN': 'arn:aws:ec2:us-west-2:123456789012:instance/i-0978cd9d2093b30e2', 'accountId': '123456789012'}], 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:34Z', 'eventSource': 'lambda.amazonaws.com', 'eventName': 'ListVersionsByFunction20150331', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'requestParameters': {'functionName': 'Dan-Test-Cloudtrail-Events'}, 'responseElements': None, 'requestID': '398c2402-04c3-11e9-b36c-a9cf98871e99', 'eventID': 'ae0cc88b-b56e-4c7b-ac45-09d44a4a95d6', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:52Z', 'eventSource': 'monitoring.amazonaws.com', 'eventName': 'DescribeAlarms', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'errorCode': 'ValidationException', 'errorMessage': "1 validation error detected: Value 'INVALID_FOR_SUMMARY' at 'stateValue' failed to satisfy constraint: Member must satisfy enum value set: [INSUFFICIENT_DATA, ALARM, OK]", 'requestParameters': {'stateValue': 'INVALID_FOR_SUMMARY'}, 'responseElements': None, 'requestID': '44852108-04c3-11e9-8aea-4d52e1c0bacf', 'eventID': '582d0eb9-52f6-400e-94ac-52786cf02e5b', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:39Z', 'eventSource': 'logs.amazonaws.com', 'eventName': 'DescribeLogStreams', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'requestParameters': {'logGroupName': '/aws/lambda/Dan-Test-Cloudtrail-Events', 'descending': False, 'limit': 50, 'orderBy': 'LastEventTime'}, 'responseElements': None, 'requestID': '3cfcb9b2-04c3-11e9-ad5a-d5bb7b14f9a7', 'eventID': 'f18a52fc-ff9d-4692-8cac-f40a5f2db9a5', 'eventType': 'AwsApiCall', 'apiVersion': '20140328', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:57:01Z', 'eventSource': 'monitoring.amazonaws.com', 'eventName': 'DescribeAlarms', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'errorCode': 'ValidationException', 'errorMessage': "1 validation error detected: Value 'INVALID_FOR_SUMMARY' at 'stateValue' failed to satisfy constraint: Member must satisfy enum value set: [INSUFFICIENT_DATA, ALARM, OK]", 'requestParameters': {'stateValue': 'INVALID_FOR_SUMMARY'}, 'responseElements': None, 'requestID': 'b5568285-04c3-11e9-9963-cfa407f97219', 'eventID': '4fa6a5cf-c93c-4aae-b27c-1a9a7e50c694', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:52:52Z', 'eventSource': 'monitoring.amazonaws.com', 'eventName': 'DescribeAlarms', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'errorCode': 'ValidationException', 'errorMessage': "1 validation error detected: Value 'INVALID_FOR_SUMMARY' at 'stateValue' failed to satisfy constraint: Member must satisfy enum value set: [INSUFFICIENT_DATA, ALARM, OK]", 'requestParameters': {'stateValue': 'INVALID_FOR_SUMMARY'}, 'responseElements': None, 'requestID': '20c0c9ea-04c3-11e9-bedd-77b665e19870', 'eventID': '094957c0-969b-4955-933b-420bd1814f2c', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:01Z', 'eventSource': 'monitoring.amazonaws.com', 'eventName': 'DescribeAlarms', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'errorCode': 'ValidationException', 'errorMessage': "1 validation error detected: Value 'INVALID_FOR_SUMMARY' at 'stateValue' failed to satisfy constraint: Member must satisfy enum value set: [INSUFFICIENT_DATA, ALARM, OK]", 'requestParameters': {'stateValue': 'INVALID_FOR_SUMMARY'}, 'responseElements': None, 'requestID': '26465d59-04c3-11e9-bedd-77b665e19870', 'eventID': '1ff2eacb-1942-4b2a-8976-8a81e946175d', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:58:06Z', 'eventSource': 'logs.amazonaws.com', 'eventName': 'DescribeLogStreams', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'requestParameters': {'logGroupName': '/aws/lambda/Dan-Test-Cloudtrail-Events', 'descending': False, 'limit': 50, 'orderBy': 'LastEventTime'}, 'responseElements': None, 'requestID': 'dc1750cd-04c3-11e9-b60a-6794be70b637', 'eventID': 'cced65b1-b76e-4dd1-92b0-3de71ae1776b', 'eventType': 'AwsApiCall', 'apiVersion': '20140328', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:54:01Z', 'eventSource': 'monitoring.amazonaws.com', 'eventName': 'DescribeAlarms', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'errorCode': 'ValidationException', 'errorMessage': "1 validation error detected: Value 'INVALID_FOR_SUMMARY' at 'stateValue' failed to satisfy constraint: Member must satisfy enum value set: [INSUFFICIENT_DATA, ALARM, OK]", 'requestParameters': {'stateValue': 'INVALID_FOR_SUMMARY'}, 'responseElements': None, 'requestID': '4a0b2934-04c3-11e9-a7ba-7fef99b2f9a1', 'eventID': 'd98bc8ee-f874-47ea-af30-183b75507b65', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:56:01Z', 'eventSource': 'monitoring.amazonaws.com', 'eventName': 'DescribeAlarms', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'errorCode': 'ValidationException', 'errorMessage': "1 validation error detected: Value 'INVALID_FOR_SUMMARY' at 'stateValue' failed to satisfy constraint: Member must satisfy enum value set: [INSUFFICIENT_DATA, ALARM, OK]", 'requestParameters': {'stateValue': 'INVALID_FOR_SUMMARY'}, 'responseElements': None, 'requestID': '9190a427-04c3-11e9-855e-cb005a26bd54', 'eventID': '81549caf-7f6a-4e56-9453-4e9a8d0370ef', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:34Z', 'eventSource': 'kms.amazonaws.com', 'eventName': 'ListAliases', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'requestParameters': None, 'responseElements': None, 'requestID': 'e17ef84c-87f3-40a7-9268-27eff1423d09', 'eventID': '798c7ce0-04c4-420c-9cd3-e3815437b81a', 'readOnly': True, 'resources': [], 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:34Z', 'eventSource': 'lambda.amazonaws.com', 'eventName': 'ListTags20170331', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'requestParameters': {'resource': 'arn:aws:lambda:us-west-2:123456789012:function:Dan-Test-Cloudtrail-Events'}, 'responseElements': {'tags': {}}, 'requestID': '39a0e428-04c3-11e9-b672-e5b7659865ce', 'eventID': '64664939-adaa-4635-884b-22ade9e3a9a7', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:34Z', 'eventSource': 's3.amazonaws.com', 'eventName': 'GetBucketLocation', 'awsRegion': 'us-west-2', 'sourceIPAddress': '10.233.8.92', 'userAgent': '[aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192]', 'requestParameters': {'bucketName': 'dantestautomatingaws-commandline', 'location': ['']}, 'responseElements': None, 'additionalEventData': {'vpcEndpointId': 'vpce-df49b3b6'}, 'requestID': '0C84970C5AA1D658', 'eventID': '21f5d057-9203-454e-adda-6a1afc634afe', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012', 'vpcEndpointId': 'vpce-df49b3b6'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:35Z', 'eventSource': 'ec2.amazonaws.com', 'eventName': 'DescribeVpcs', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192, AWSLambdaConsole/1.1', 'requestParameters': {'vpcSet': {}, 'filterSet': {}}, 'responseElements': None, 'requestID': '7a4d1d73-fbc2-4991-9ea7-b5811aa2d91a', 'eventID': 'c6de67a0-c2e9-4286-821c-c53010af490f', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:55:01Z', 'eventSource': 'monitoring.amazonaws.com', 'eventName': 'DescribeAlarms', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'errorCode': 'ValidationException', 'errorMessage': "1 validation error detected: Value 'INVALID_FOR_SUMMARY' at 'stateValue' failed to satisfy constraint: Member must satisfy enum value set: [INSUFFICIENT_DATA, ALARM, OK]", 'requestParameters': {'stateValue': 'INVALID_FOR_SUMMARY'}, 'responseElements': None, 'requestID': '6dcff641-04c3-11e9-8aea-4d52e1c0bacf', 'eventID': 'afa7eeff-d996-46fb-882d-924c06f9229c', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.05', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:53:34Z', 'eventSource': 'lambda.amazonaws.com', 'eventName': 'ListEventSourceMappings20150331', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'aws-internal/3 aws-sdk-java/1.11.462 Linux/4.9.124-0.1.ac.198.71.329.metal1.x86_64 OpenJDK_64-Bit_Server_VM/25.192-b12 java/1.8.0_192', 'requestParameters': {'functionName': 'arn:aws:lambda:us-west-2:123456789012:function:Dan-Test-Cloudtrail-Events'}, 'responseElements': None, 'requestID': '39f238b2-04c3-11e9-9fc3-2bd1c212ced1', 'eventID': 'd81c6931-9ae0-4d0c-9e9b-88edae7df918', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}, {'eventVersion': '1.04', 'userIdentity': {'type': 'AssumedRole', 'principalId': 'ABCDEFGHIJKLMNOP12345:daniel', 'arn': 'arn:aws:sts::123456789012:assumed-role/TEST/daniel', 'accountId': '123456789012', 'accessKeyId': 'ABCDEFGHIJKLMNOP12345', 'sessionContext': {'attributes': {'mfaAuthenticated': 'false', 'creationDate': '2018-12-20T23:10:52Z'}, 'sessionIssuer': {'type': 'Role', 'principalId': 'ABCDEFGHIJKLMNOP12345', 'arn': 'arn:aws:iam::123456789012:role/TEST', 'accountId': '123456789012', 'userName': 'TEST'}}}, 'eventTime': '2018-12-21T01:55:53Z', 'eventSource': 'monitoring.amazonaws.com', 'eventName': 'DescribeAlarms', 'awsRegion': 'us-west-2', 'sourceIPAddress': '123.234.123.124', 'userAgent': 'AWS CloudWatch Console', 'errorCode': 'ValidationException', 'errorMessage': "1 validation error detected: Value 'INVALID_FOR_SUMMARY' at 'stateValue' failed to satisfy constraint: Member must satisfy enum value set: [INSUFFICIENT_DATA, ALARM, OK]", 'requestParameters': {'stateValue': 'INVALID_FOR_SUMMARY'}, 'responseElements': None, 'requestID': '8ca3a785-04c3-11e9-8ed7-7bdc2086c8ec', 'eventID': '7a0c20ab-9c69-438a-8b2a-14bec0a90553', 'eventType': 'AwsApiCall', 'recipientAccountId': '123456789012'}]}