Can anyone tell me if we can execute Shell Commands using Boto3 on Launched AWS instance.
I read at few places about \"boto.manage.cmdshell\" but it is deprecated in
Documentation says:
aws_request_id AWS request ID associated with the request. This is the ID returned to the client that called the invoke method.
aws_request_id
AWS request ID associated with the request. This is the ID returned to the client that called the invoke method.
Change:
command_id = response['Command']['CommandId']
for:
command_id = context.aws_request_id