0
我正在使用Route 53节点API创建和配置托管区域。创建区域工作正常,但是当我尝试使用changeResourceRecordSets函数添加A记录时,出现一个错误,指出“InvalidInput:无效的请求”,但没有说明什么是无效的。这是我的请求params对象:如何使用AWS节点SDK在托管区域中创建A记录
var zoneConfig = {
ChangeBatch: {
Changes: [{
Action: 'CREATE',
ResourceRecordSet: {
Name: 'my.domain.com',
Type: 'A',
Region: 'us-east-1',
TTL: 300,
ResourceRecords: [{
Value: '111.222.111.000'
}]
}
}],
Comment: 'direct hosted zone A record to point to the server'
},
HostedZoneId: 'ZZH1GLJKE22DK'
};
rt53.changeResourceRecordSets(zoneConfig, function(...
任何想法可能是错误的请求?