Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/python-2.7/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 使用Python Boto3更改Route53中托管区域中的记录集权重_Python 3.x_Python 2.7_Amazon Web Services_Boto3_Amazon Route53 - Fatal编程技术网

Python 3.x 使用Python Boto3更改Route53中托管区域中的记录集权重

Python 3.x 使用Python Boto3更改Route53中托管区域中的记录集权重,python-3.x,python-2.7,amazon-web-services,boto3,amazon-route53,Python 3.x,Python 2.7,Amazon Web Services,Boto3,Amazon Route53,我们有一个托管区域,有多个记录。有两个A记录具有加权路由策略 test.xyz.com weight:50 test.xyz.com weight:50 问题是我想再添加一个具有更高权重的记录集,并减少上述记录集的权重,例如: test.xyz.com weight:30 test.xyz.com weight:30 test.xyz.com weight:40 有什么方法可以使用Python Boto3模块实现这一点吗?我没有找到任何API来做这件事 看,看。

我们有一个托管区域,有多个记录。有两个A记录具有加权路由策略

test.xyz.com weight:50
test.xyz.com weight:50
问题是我想再添加一个具有更高权重的记录集,并减少上述记录集的权重,例如:

 test.xyz.com weight:30
 test.xyz.com weight:30
 test.xyz.com weight:40
有什么方法可以使用Python Boto3模块实现这一点吗?我没有找到任何API来做这件事

看,看。