菜鸟问题,我从哪里获得有关ec2.images.filter
命令有效标签的信息?IE,它不在 Python API 文档字符串中boto3
import boto3
ec2 = boto3.resource('ec2', region_name='us-west-2')
image = list(ec2.images.filter(Filters=[{"Name":"Id", "Values": ["ami-405ade3a"]}]).all())[0]
ClientError: An error occurred (InvalidParameterValue) when calling the DescribeImages operation: The filter 'Id' is invalid
它们记录在 Boto3 EC2 图像部分。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句