I have a list of boto3 client methods that I want to iterate through, create a client, and do something with that.
e.g.
methods = ['allocate_address', 'allocate_address', 'attach_volume']
client = boto3.client('ec2')
for method in methods:
# below doesn't work
bound_method = client.method # <-- I want to use the variable to set this
Can I do this?