我正在使用 boto3client.create_volume和client.attach_volumeAPI,但返回值是字典,字典中的键State是creatingcreate_volume 和attachingattach_volume。有没有办法检查卷是否在 boto3 中成功创建/附加?
client.create_volume
client.attach_volume
State
creating
attaching
amazon-ec2 amazon-web-services boto3
amazon-ec2 ×1
amazon-web-services ×1
boto3 ×1