private void EditR53Record(Amazon.Route53.Model.ResourceRecordSet rrset) { var r53 = new Amazon.Route53.AmazonRoute53Client( AccessKeyId, SecretAccessKey, RegionEndpoint); var rrRequ = new Amazon.Route53.Model.ChangeResourceRecordSetsRequest { HostedZoneId = HostedZoneId, ChangeBatch = new Amazon.Route53.Model.ChangeBatch { Changes = new List <Amazon.Route53.Model.Change> { new Amazon.Route53.Model.Change { Action = Amazon.Route53.ChangeAction.UPSERT, ResourceRecordSet = rrset } } } }; var rrResp = r53.ChangeResourceRecordSets(rrRequ); }
private void EditR53Record(Amazon.Route53.Model.ResourceRecordSet rrset) { var r53 = new Amazon.Route53.AmazonRoute53Client( AccessKeyId, SecretAccessKey, RegionEndpoint); var rrRequ = new Amazon.Route53.Model.ChangeResourceRecordSetsRequest { HostedZoneId = HostedZoneId, ChangeBatch = new Amazon.Route53.Model.ChangeBatch { Changes = new List<Amazon.Route53.Model.Change> { new Amazon.Route53.Model.Change { Action = Amazon.Route53.ChangeAction.UPSERT, ResourceRecordSet = rrset } } } }; var rrResp = r53.ChangeResourceRecordSets(rrRequ); }