Noob问题,我在哪里可以获得有关ec2.images.filter
命令的有效标记的信息? IE,它不在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