Struct aws_sdk_route53::operation::list_traffic_policy_instances_by_hosted_zone::builders::ListTrafficPolicyInstancesByHostedZoneFluentBuilder
source · pub struct ListTrafficPolicyInstancesByHostedZoneFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListTrafficPolicyInstancesByHostedZone
.
Gets information about the traffic policy instances that you created in a specified hosted zone.
After you submit a CreateTrafficPolicyInstance
or an UpdateTrafficPolicyInstance
request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State
response element.
Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems
parameter to list them in groups of up to 100.
Implementations§
source§impl ListTrafficPolicyInstancesByHostedZoneFluentBuilder
impl ListTrafficPolicyInstancesByHostedZoneFluentBuilder
sourcepub fn as_input(&self) -> &ListTrafficPolicyInstancesByHostedZoneInputBuilder
pub fn as_input(&self) -> &ListTrafficPolicyInstancesByHostedZoneInputBuilder
Access the ListTrafficPolicyInstancesByHostedZone as a reference.
sourcepub async fn send(
self
) -> Result<ListTrafficPolicyInstancesByHostedZoneOutput, SdkError<ListTrafficPolicyInstancesByHostedZoneError, HttpResponse>>
pub async fn send( self ) -> Result<ListTrafficPolicyInstancesByHostedZoneOutput, SdkError<ListTrafficPolicyInstancesByHostedZoneError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListTrafficPolicyInstancesByHostedZoneOutput, ListTrafficPolicyInstancesByHostedZoneError, Self>
pub fn customize( self ) -> CustomizableOperation<ListTrafficPolicyInstancesByHostedZoneOutput, ListTrafficPolicyInstancesByHostedZoneError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn hosted_zone_id(self, input: impl Into<String>) -> Self
pub fn hosted_zone_id(self, input: impl Into<String>) -> Self
The ID of the hosted zone that you want to list traffic policy instances for.
sourcepub fn set_hosted_zone_id(self, input: Option<String>) -> Self
pub fn set_hosted_zone_id(self, input: Option<String>) -> Self
The ID of the hosted zone that you want to list traffic policy instances for.
sourcepub fn get_hosted_zone_id(&self) -> &Option<String>
pub fn get_hosted_zone_id(&self) -> &Option<String>
The ID of the hosted zone that you want to list traffic policy instances for.
sourcepub fn traffic_policy_instance_name_marker(
self,
input: impl Into<String>
) -> Self
pub fn traffic_policy_instance_name_marker( self, input: impl Into<String> ) -> Self
If the value of IsTruncated
in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancename
, specify the value of TrafficPolicyInstanceNameMarker
from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
sourcepub fn set_traffic_policy_instance_name_marker(
self,
input: Option<String>
) -> Self
pub fn set_traffic_policy_instance_name_marker( self, input: Option<String> ) -> Self
If the value of IsTruncated
in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancename
, specify the value of TrafficPolicyInstanceNameMarker
from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
sourcepub fn get_traffic_policy_instance_name_marker(&self) -> &Option<String>
pub fn get_traffic_policy_instance_name_marker(&self) -> &Option<String>
If the value of IsTruncated
in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancename
, specify the value of TrafficPolicyInstanceNameMarker
from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
sourcepub fn traffic_policy_instance_type_marker(self, input: RrType) -> Self
pub fn traffic_policy_instance_type_marker(self, input: RrType) -> Self
If the value of IsTruncated
in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancetype
, specify the value of TrafficPolicyInstanceTypeMarker
from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
sourcepub fn set_traffic_policy_instance_type_marker(
self,
input: Option<RrType>
) -> Self
pub fn set_traffic_policy_instance_type_marker( self, input: Option<RrType> ) -> Self
If the value of IsTruncated
in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancetype
, specify the value of TrafficPolicyInstanceTypeMarker
from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
sourcepub fn get_traffic_policy_instance_type_marker(&self) -> &Option<RrType>
pub fn get_traffic_policy_instance_type_marker(&self) -> &Option<RrType>
If the value of IsTruncated
in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancetype
, specify the value of TrafficPolicyInstanceTypeMarker
from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems
traffic policy instances, the value of the IsTruncated
element in the response is true
, and the values of HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems
traffic policy instances, the value of the IsTruncated
element in the response is true
, and the values of HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.
sourcepub fn get_max_items(&self) -> &Option<i32>
pub fn get_max_items(&self) -> &Option<i32>
The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems
traffic policy instances, the value of the IsTruncated
element in the response is true
, and the values of HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.
Trait Implementations§
source§impl Clone for ListTrafficPolicyInstancesByHostedZoneFluentBuilder
impl Clone for ListTrafficPolicyInstancesByHostedZoneFluentBuilder
source§fn clone(&self) -> ListTrafficPolicyInstancesByHostedZoneFluentBuilder
fn clone(&self) -> ListTrafficPolicyInstancesByHostedZoneFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ListTrafficPolicyInstancesByHostedZoneFluentBuilder
impl !RefUnwindSafe for ListTrafficPolicyInstancesByHostedZoneFluentBuilder
impl Send for ListTrafficPolicyInstancesByHostedZoneFluentBuilder
impl Sync for ListTrafficPolicyInstancesByHostedZoneFluentBuilder
impl Unpin for ListTrafficPolicyInstancesByHostedZoneFluentBuilder
impl !UnwindSafe for ListTrafficPolicyInstancesByHostedZoneFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more