Struct aws_sdk_route53::operation::list_traffic_policy_instances_by_policy::ListTrafficPolicyInstancesByPolicyOutput
source · #[non_exhaustive]pub struct ListTrafficPolicyInstancesByPolicyOutput {
pub traffic_policy_instances: Vec<TrafficPolicyInstance>,
pub hosted_zone_id_marker: Option<String>,
pub traffic_policy_instance_name_marker: Option<String>,
pub traffic_policy_instance_type_marker: Option<RrType>,
pub is_truncated: bool,
pub max_items: i32,
/* private fields */
}
Expand description
A complex type that contains the response information for the request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.traffic_policy_instances: Vec<TrafficPolicyInstance>
A list that contains one TrafficPolicyInstance
element for each traffic policy instance that matches the elements in the request.
hosted_zone_id_marker: Option<String>
If IsTruncated
is true
, HostedZoneIdMarker
is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.
traffic_policy_instance_name_marker: Option<String>
If IsTruncated
is true
, TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
traffic_policy_instance_type_marker: Option<RrType>
If IsTruncated
is true
, TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems
traffic policy instances.
is_truncated: bool
A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by calling ListTrafficPolicyInstancesByPolicy
again and specifying the values of the HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
elements in the corresponding request parameters.
max_items: i32
The value that you specified for the MaxItems
parameter in the call to ListTrafficPolicyInstancesByPolicy
that produced the current response.
Implementations§
source§impl ListTrafficPolicyInstancesByPolicyOutput
impl ListTrafficPolicyInstancesByPolicyOutput
sourcepub fn traffic_policy_instances(&self) -> &[TrafficPolicyInstance]
pub fn traffic_policy_instances(&self) -> &[TrafficPolicyInstance]
A list that contains one TrafficPolicyInstance
element for each traffic policy instance that matches the elements in the request.
sourcepub fn hosted_zone_id_marker(&self) -> Option<&str>
pub fn hosted_zone_id_marker(&self) -> Option<&str>
If IsTruncated
is true
, HostedZoneIdMarker
is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.
sourcepub fn traffic_policy_instance_name_marker(&self) -> Option<&str>
pub fn traffic_policy_instance_name_marker(&self) -> Option<&str>
If IsTruncated
is true
, TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
sourcepub fn traffic_policy_instance_type_marker(&self) -> Option<&RrType>
pub fn traffic_policy_instance_type_marker(&self) -> Option<&RrType>
If IsTruncated
is true
, TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems
traffic policy instances.
sourcepub fn is_truncated(&self) -> bool
pub fn is_truncated(&self) -> bool
A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by calling ListTrafficPolicyInstancesByPolicy
again and specifying the values of the HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
elements in the corresponding request parameters.
source§impl ListTrafficPolicyInstancesByPolicyOutput
impl ListTrafficPolicyInstancesByPolicyOutput
sourcepub fn builder() -> ListTrafficPolicyInstancesByPolicyOutputBuilder
pub fn builder() -> ListTrafficPolicyInstancesByPolicyOutputBuilder
Creates a new builder-style object to manufacture ListTrafficPolicyInstancesByPolicyOutput
.
Trait Implementations§
source§impl Clone for ListTrafficPolicyInstancesByPolicyOutput
impl Clone for ListTrafficPolicyInstancesByPolicyOutput
source§fn clone(&self) -> ListTrafficPolicyInstancesByPolicyOutput
fn clone(&self) -> ListTrafficPolicyInstancesByPolicyOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ListTrafficPolicyInstancesByPolicyOutput
impl PartialEq for ListTrafficPolicyInstancesByPolicyOutput
source§fn eq(&self, other: &ListTrafficPolicyInstancesByPolicyOutput) -> bool
fn eq(&self, other: &ListTrafficPolicyInstancesByPolicyOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListTrafficPolicyInstancesByPolicyOutput
impl RequestId for ListTrafficPolicyInstancesByPolicyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListTrafficPolicyInstancesByPolicyOutput
Auto Trait Implementations§
impl Freeze for ListTrafficPolicyInstancesByPolicyOutput
impl RefUnwindSafe for ListTrafficPolicyInstancesByPolicyOutput
impl Send for ListTrafficPolicyInstancesByPolicyOutput
impl Sync for ListTrafficPolicyInstancesByPolicyOutput
impl Unpin for ListTrafficPolicyInstancesByPolicyOutput
impl UnwindSafe for ListTrafficPolicyInstancesByPolicyOutput
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