1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::change_resource_record_sets::_change_resource_record_sets_output::ChangeResourceRecordSetsOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::change_resource_record_sets::_change_resource_record_sets_input::ChangeResourceRecordSetsInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::change_resource_record_sets::_change_resource_record_sets_output::ChangeResourceRecordSetsOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::change_resource_record_sets::builders::ChangeResourceRecordSetsInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::change_resource_record_sets::ChangeResourceRecordSetsOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::change_resource_record_sets::ChangeResourceRecordSetsError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.change_resource_record_sets();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `ChangeResourceRecordSets`.
|
24 24 | ///
|
25 25 | /// <p>Creates, changes, or deletes a resource record set, which contains authoritative DNS information for a specified domain name or subdomain name. For example, you can use <code>ChangeResourceRecordSets</code> to create a resource record set that routes traffic for test.example.com to a web server that has an IP address of 192.0.2.44.</p>
|
26 26 | /// <p><b>Deleting Resource Record Sets</b></p>
|
27 27 | /// <p>To delete a resource record set, you must specify all the same values that you specified when you created it.</p>
|
28 28 | /// <p><b>Change Batches and Transactional Changes</b></p>
|
29 29 | /// <p>The request body must include a document with a <code>ChangeResourceRecordSetsRequest</code> element. The request body contains a list of change items, known as a change batch. Change batches are considered transactional changes. Route 53 validates the changes in the request and then either makes all or none of the changes in the change batch request. This ensures that DNS routing isn't adversely affected by partial changes to the resource record sets in a hosted zone.</p>
|
30 30 | /// <p>For example, suppose a change batch request contains two changes: it deletes the <code>CNAME</code> resource record set for www.example.com and creates an alias resource record set for www.example.com. If validation for both records succeeds, Route 53 deletes the first resource record set and creates the second resource record set in a single operation. If validation for either the <code>DELETE</code> or the <code>CREATE</code> action fails, then the request is canceled, and the original <code>CNAME</code> record continues to exist.</p><note>
|
31 31 | /// <p>If you try to delete the same resource record set more than once in a single change batch, Route 53 returns an <code>InvalidChangeBatch</code> error.</p>
|
32 32 | /// </note>
|
33 33 | /// <p><b>Traffic Flow</b></p>
|
34 34 | /// <p>To create resource record sets for complex routing configurations, use either the traffic flow visual editor in the Route 53 console or the API actions for traffic policies and traffic policy instances. Save the configuration as a traffic policy, then associate the traffic policy with one or more domain names (such as example.com) or subdomain names (such as www.example.com), in the same hosted zone or in multiple hosted zones. You can roll back the updates if the new configuration isn't performing as expected. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/traffic-flow.html">Using Traffic Flow to Route DNS Traffic</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>
|
35 35 | /// <p><b>Create, Delete, and Upsert</b></p>
|