Struct aws_sdk_route53::Client
source · [−]pub struct Client { /* private fields */ }Expand description
Client for Amazon Route 53
Client for invoking operations on Amazon Route 53. Each operation on Amazon Route 53 is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_route53::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_route53::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_route53::Client::from_conf(config);Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn activate_key_signing_key(&self) -> ActivateKeySigningKey
pub fn activate_key_signing_key(&self) -> ActivateKeySigningKey
Constructs a fluent builder for the ActivateKeySigningKey operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):A unique string used to identify a hosted zone.
name(impl Into<String>)/set_name(Option<String>):A string used to identify a key-signing key (KSK).
Namecan include numbers, letters, and underscores (_).Namemust be unique for each key-signing key in the same hosted zone.
- On success, responds with
ActivateKeySigningKeyOutputwith field(s):change_info(Option<ChangeInfo>):A complex type that describes change information about changes made to your hosted zone.
- On failure, responds with
SdkError<ActivateKeySigningKeyError>
sourcepub fn associate_vpc_with_hosted_zone(&self) -> AssociateVPCWithHostedZone
pub fn associate_vpc_with_hosted_zone(&self) -> AssociateVPCWithHostedZone
Constructs a fluent builder for the AssociateVPCWithHostedZone operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):The ID of the private hosted zone that you want to associate an Amazon VPC with.
Note that you can’t associate a VPC with a hosted zone that doesn’t have an existing VPC association.
vpc(Vpc)/set_vpc(Option<Vpc>):A complex type that contains information about the VPC that you want to associate with a private hosted zone.
comment(impl Into<String>)/set_comment(Option<String>):Optional: A comment about the association request.
- On success, responds with
AssociateVpcWithHostedZoneOutputwith field(s):change_info(Option<ChangeInfo>):A complex type that describes the changes made to your hosted zone.
- On failure, responds with
SdkError<AssociateVPCWithHostedZoneError>
sourcepub fn change_resource_record_sets(&self) -> ChangeResourceRecordSets
pub fn change_resource_record_sets(&self) -> ChangeResourceRecordSets
Constructs a fluent builder for the ChangeResourceRecordSets operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):The ID of the hosted zone that contains the resource record sets that you want to change.
change_batch(ChangeBatch)/set_change_batch(Option<ChangeBatch>):A complex type that contains an optional comment and the
Changeselement.
- On success, responds with
ChangeResourceRecordSetsOutputwith field(s):change_info(Option<ChangeInfo>):A complex type that contains information about changes made to your hosted zone.
This element contains an ID that you use when performing a GetChange action to get detailed information about the change.
- On failure, responds with
SdkError<ChangeResourceRecordSetsError>
Constructs a fluent builder for the ChangeTagsForResource operation.
- The fluent builder is configurable:
resource_type(TagResourceType)/set_resource_type(Option<TagResourceType>):The type of the resource.
-
The resource type for health checks is
healthcheck. -
The resource type for hosted zones is
hostedzone.
-
resource_id(impl Into<String>)/set_resource_id(Option<String>):The ID of the resource for which you want to add, change, or delete tags.
add_tags(Vec<Tag>)/set_add_tags(Option<Vec<Tag>>):A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit
Valuefor.You can add a maximum of 10 tags to a health check or a hosted zone.
remove_tag_keys(Vec<String>)/set_remove_tag_keys(Option<Vec<String>>):A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
- On success, responds with
ChangeTagsForResourceOutput - On failure, responds with
SdkError<ChangeTagsForResourceError>
sourcepub fn create_health_check(&self) -> CreateHealthCheck
pub fn create_health_check(&self) -> CreateHealthCheck
Constructs a fluent builder for the CreateHealthCheck operation.
- The fluent builder is configurable:
caller_reference(impl Into<String>)/set_caller_reference(Option<String>):A unique string that identifies the request and that allows you to retry a failed
CreateHealthCheckrequest without the risk of creating two identical health checks:-
If you send a
CreateHealthCheckrequest with the sameCallerReferenceand settings as a previous request, and if the health check doesn’t exist, Amazon Route 53 creates the health check. If the health check does exist, Route 53 returns the settings for the existing health check. -
If you send a
CreateHealthCheckrequest with the sameCallerReferenceas a deleted health check, regardless of the settings, Route 53 returns aHealthCheckAlreadyExistserror. -
If you send a
CreateHealthCheckrequest with the sameCallerReferenceas an existing health check but with different settings, Route 53 returns aHealthCheckAlreadyExistserror. -
If you send a
CreateHealthCheckrequest with a uniqueCallerReferencebut settings identical to an existing health check, Route 53 creates the health check.
-
health_check_config(HealthCheckConfig)/set_health_check_config(Option<HealthCheckConfig>):A complex type that contains settings for a new health check.
- On success, responds with
CreateHealthCheckOutputwith field(s):health_check(Option<HealthCheck>):A complex type that contains identifying information about the health check.
location(Option<String>):The unique URL representing the new health check.
- On failure, responds with
SdkError<CreateHealthCheckError>
sourcepub fn create_hosted_zone(&self) -> CreateHostedZone
pub fn create_hosted_zone(&self) -> CreateHostedZone
Constructs a fluent builder for the CreateHostedZone operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the domain. Specify a fully qualified domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.
If you’re creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name is registered with a registrar other than Route 53, change the name servers for your domain to the set of
NameServersthatCreateHostedZonereturns inDelegationSet.vpc(Vpc)/set_vpc(Option<Vpc>):(Private hosted zones only) A complex type that contains information about the Amazon VPC that you’re associating with this hosted zone.
You can specify only one Amazon VPC when you create a private hosted zone. If you are associating a VPC with a hosted zone with this request, the paramaters
VPCIdandVPCRegionare also required.To associate additional Amazon VPCs with the hosted zone, use AssociateVPCWithHostedZone after you create a hosted zone.
caller_reference(impl Into<String>)/set_caller_reference(Option<String>):A unique string that identifies the request and that allows failed
CreateHostedZonerequests to be retried without the risk of executing the operation twice. You must use a uniqueCallerReferencestring every time you submit aCreateHostedZonerequest.CallerReferencecan be any unique string, for example, a date/time stamp.hosted_zone_config(HostedZoneConfig)/set_hosted_zone_config(Option<HostedZoneConfig>):(Optional) A complex type that contains the following optional values:
-
For public and private hosted zones, an optional comment
-
For private hosted zones, an optional
PrivateZoneelement
If you don’t specify a comment or the
PrivateZoneelement, omitHostedZoneConfigand the other elements.-
delegation_set_id(impl Into<String>)/set_delegation_set_id(Option<String>):If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to the reusable delegation set when you created it. For more information about reusable delegation sets, see CreateReusableDelegationSet.
- On success, responds with
CreateHostedZoneOutputwith field(s):hosted_zone(Option<HostedZone>):A complex type that contains general information about the hosted zone.
change_info(Option<ChangeInfo>):A complex type that contains information about the
CreateHostedZonerequest.delegation_set(Option<DelegationSet>):A complex type that describes the name servers for this hosted zone.
vpc(Option<Vpc>):A complex type that contains information about an Amazon VPC that you associated with this hosted zone.
location(Option<String>):The unique URL representing the new hosted zone.
- On failure, responds with
SdkError<CreateHostedZoneError>
sourcepub fn create_key_signing_key(&self) -> CreateKeySigningKey
pub fn create_key_signing_key(&self) -> CreateKeySigningKey
Constructs a fluent builder for the CreateKeySigningKey operation.
- The fluent builder is configurable:
caller_reference(impl Into<String>)/set_caller_reference(Option<String>):A unique string that identifies the request.
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):The unique string (ID) used to identify a hosted zone.
key_management_service_arn(impl Into<String>)/set_key_management_service_arn(Option<String>):The Amazon resource name (ARN) for a customer managed key in Key Management Service (KMS). The
KeyManagementServiceArnmust be unique for each key-signing key (KSK) in a single hosted zone. To see an example ofKeyManagementServiceArnthat grants the correct permissions for DNSSEC, scroll down to Example.You must configure the customer managed customer managed key as follows:
- Status
-
Enabled
- Key spec
-
ECC_NIST_P256
- Key usage
-
Sign and verify
- Key policy
-
The key policy must give permission for the following actions:
-
DescribeKey
-
GetPublicKey
-
Sign
The key policy must also include the Amazon Route 53 service in the principal for your account. Specify the following:
-
“Service”: “dnssec-route53.amazonaws.com”
-
For more information about working with a customer managed key in KMS, see Key Management Service concepts.
name(impl Into<String>)/set_name(Option<String>):A string used to identify a key-signing key (KSK).
Namecan include numbers, letters, and underscores (_).Namemust be unique for each key-signing key in the same hosted zone.status(impl Into<String>)/set_status(Option<String>):A string specifying the initial status of the key-signing key (KSK). You can set the value to
ACTIVEorINACTIVE.
- On success, responds with
CreateKeySigningKeyOutputwith field(s):change_info(Option<ChangeInfo>):A complex type that describes change information about changes made to your hosted zone.
key_signing_key(Option<KeySigningKey>):The key-signing key (KSK) that the request creates.
location(Option<String>):The unique URL representing the new key-signing key (KSK).
- On failure, responds with
SdkError<CreateKeySigningKeyError>
sourcepub fn create_query_logging_config(&self) -> CreateQueryLoggingConfig
pub fn create_query_logging_config(&self) -> CreateQueryLoggingConfig
Constructs a fluent builder for the CreateQueryLoggingConfig operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):The ID of the hosted zone that you want to log queries for. You can log queries only for public hosted zones.
cloud_watch_logs_log_group_arn(impl Into<String>)/set_cloud_watch_logs_log_group_arn(Option<String>):The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to send query logs to. This is the format of the ARN:
arn:aws:logs:region:account-id:log-group:log_group_name
To get the ARN for a log group, you can use the CloudWatch console, the DescribeLogGroups API action, the describe-log-groups command, or the applicable command in one of the Amazon Web Services SDKs.
- On success, responds with
CreateQueryLoggingConfigOutputwith field(s):query_logging_config(Option<QueryLoggingConfig>):A complex type that contains the ID for a query logging configuration, the ID of the hosted zone that you want to log queries for, and the ARN for the log group that you want Amazon Route 53 to send query logs to.
location(Option<String>):The unique URL representing the new query logging configuration.
- On failure, responds with
SdkError<CreateQueryLoggingConfigError>
sourcepub fn create_reusable_delegation_set(&self) -> CreateReusableDelegationSet
pub fn create_reusable_delegation_set(&self) -> CreateReusableDelegationSet
Constructs a fluent builder for the CreateReusableDelegationSet operation.
- The fluent builder is configurable:
caller_reference(impl Into<String>)/set_caller_reference(Option<String>):A unique string that identifies the request, and that allows you to retry failed
CreateReusableDelegationSetrequests without the risk of executing the operation twice. You must use a uniqueCallerReferencestring every time you submit aCreateReusableDelegationSetrequest.CallerReferencecan be any unique string, for example a date/time stamp.hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):If you want to mark the delegation set for an existing hosted zone as reusable, the ID for that hosted zone.
- On success, responds with
CreateReusableDelegationSetOutputwith field(s):delegation_set(Option<DelegationSet>):A complex type that contains name server information.
location(Option<String>):The unique URL representing the new reusable delegation set.
- On failure, responds with
SdkError<CreateReusableDelegationSetError>
sourcepub fn create_traffic_policy(&self) -> CreateTrafficPolicy
pub fn create_traffic_policy(&self) -> CreateTrafficPolicy
Constructs a fluent builder for the CreateTrafficPolicy operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):The name of the traffic policy.
document(impl Into<String>)/set_document(Option<String>):The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format.
comment(impl Into<String>)/set_comment(Option<String>):(Optional) Any comments that you want to include about the traffic policy.
- On success, responds with
CreateTrafficPolicyOutputwith field(s):traffic_policy(Option<TrafficPolicy>):A complex type that contains settings for the new traffic policy.
location(Option<String>):A unique URL that represents a new traffic policy.
- On failure, responds with
SdkError<CreateTrafficPolicyError>
sourcepub fn create_traffic_policy_instance(&self) -> CreateTrafficPolicyInstance
pub fn create_traffic_policy_instance(&self) -> CreateTrafficPolicyInstance
Constructs a fluent builder for the CreateTrafficPolicyInstance operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):The ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the configuration in a traffic policy.
name(impl Into<String>)/set_name(Option<String>):The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Route 53 creates for this traffic policy instance.
ttl(i64)/set_ttl(Option<i64>):(Optional) The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.
traffic_policy_id(impl Into<String>)/set_traffic_policy_id(Option<String>):The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
traffic_policy_version(i32)/set_traffic_policy_version(Option<i32>):The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
- On success, responds with
CreateTrafficPolicyInstanceOutputwith field(s):traffic_policy_instance(Option<TrafficPolicyInstance>):A complex type that contains settings for the new traffic policy instance.
location(Option<String>):A unique URL that represents a new traffic policy instance.
- On failure, responds with
SdkError<CreateTrafficPolicyInstanceError>
sourcepub fn create_traffic_policy_version(&self) -> CreateTrafficPolicyVersion
pub fn create_traffic_policy_version(&self) -> CreateTrafficPolicyVersion
Constructs a fluent builder for the CreateTrafficPolicyVersion operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the traffic policy for which you want to create a new version.
document(impl Into<String>)/set_document(Option<String>):The definition of this version of the traffic policy, in JSON format. You specified the JSON in the
CreateTrafficPolicyVersionrequest. For more information about the JSON format, see CreateTrafficPolicy.comment(impl Into<String>)/set_comment(Option<String>):The comment that you specified in the
CreateTrafficPolicyVersionrequest, if any.
- On success, responds with
CreateTrafficPolicyVersionOutputwith field(s):traffic_policy(Option<TrafficPolicy>):A complex type that contains settings for the new version of the traffic policy.
location(Option<String>):A unique URL that represents a new traffic policy version.
- On failure, responds with
SdkError<CreateTrafficPolicyVersionError>
Constructs a fluent builder for the CreateVPCAssociationAuthorization operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):The ID of the private hosted zone that you want to authorize associating a VPC with.
vpc(Vpc)/set_vpc(Option<Vpc>):A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.
- On success, responds with
CreateVpcAssociationAuthorizationOutputwith field(s):hosted_zone_id(Option<String>):The ID of the hosted zone that you authorized associating a VPC with.
vpc(Option<Vpc>):The VPC that you authorized associating with a hosted zone.
- On failure, responds with
SdkError<CreateVPCAssociationAuthorizationError>
sourcepub fn deactivate_key_signing_key(&self) -> DeactivateKeySigningKey
pub fn deactivate_key_signing_key(&self) -> DeactivateKeySigningKey
Constructs a fluent builder for the DeactivateKeySigningKey operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):A unique string used to identify a hosted zone.
name(impl Into<String>)/set_name(Option<String>):A string used to identify a key-signing key (KSK).
- On success, responds with
DeactivateKeySigningKeyOutputwith field(s):change_info(Option<ChangeInfo>):A complex type that describes change information about changes made to your hosted zone.
- On failure, responds with
SdkError<DeactivateKeySigningKeyError>
sourcepub fn delete_health_check(&self) -> DeleteHealthCheck
pub fn delete_health_check(&self) -> DeleteHealthCheck
Constructs a fluent builder for the DeleteHealthCheck operation.
- The fluent builder is configurable:
health_check_id(impl Into<String>)/set_health_check_id(Option<String>):The ID of the health check that you want to delete.
- On success, responds with
DeleteHealthCheckOutput - On failure, responds with
SdkError<DeleteHealthCheckError>
sourcepub fn delete_hosted_zone(&self) -> DeleteHostedZone
pub fn delete_hosted_zone(&self) -> DeleteHostedZone
Constructs a fluent builder for the DeleteHostedZone operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the hosted zone you want to delete.
- On success, responds with
DeleteHostedZoneOutputwith field(s):change_info(Option<ChangeInfo>):A complex type that contains the ID, the status, and the date and time of a request to delete a hosted zone.
- On failure, responds with
SdkError<DeleteHostedZoneError>
sourcepub fn delete_key_signing_key(&self) -> DeleteKeySigningKey
pub fn delete_key_signing_key(&self) -> DeleteKeySigningKey
Constructs a fluent builder for the DeleteKeySigningKey operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):A unique string used to identify a hosted zone.
name(impl Into<String>)/set_name(Option<String>):A string used to identify a key-signing key (KSK).
- On success, responds with
DeleteKeySigningKeyOutputwith field(s):change_info(Option<ChangeInfo>):A complex type that describes change information about changes made to your hosted zone.
- On failure, responds with
SdkError<DeleteKeySigningKeyError>
sourcepub fn delete_query_logging_config(&self) -> DeleteQueryLoggingConfig
pub fn delete_query_logging_config(&self) -> DeleteQueryLoggingConfig
Constructs a fluent builder for the DeleteQueryLoggingConfig operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the configuration that you want to delete.
- On success, responds with
DeleteQueryLoggingConfigOutput - On failure, responds with
SdkError<DeleteQueryLoggingConfigError>
sourcepub fn delete_reusable_delegation_set(&self) -> DeleteReusableDelegationSet
pub fn delete_reusable_delegation_set(&self) -> DeleteReusableDelegationSet
Constructs a fluent builder for the DeleteReusableDelegationSet operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the reusable delegation set that you want to delete.
- On success, responds with
DeleteReusableDelegationSetOutput - On failure, responds with
SdkError<DeleteReusableDelegationSetError>
sourcepub fn delete_traffic_policy(&self) -> DeleteTrafficPolicy
pub fn delete_traffic_policy(&self) -> DeleteTrafficPolicy
Constructs a fluent builder for the DeleteTrafficPolicy operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the traffic policy that you want to delete.
version(i32)/set_version(Option<i32>):The version number of the traffic policy that you want to delete.
- On success, responds with
DeleteTrafficPolicyOutput - On failure, responds with
SdkError<DeleteTrafficPolicyError>
sourcepub fn delete_traffic_policy_instance(&self) -> DeleteTrafficPolicyInstance
pub fn delete_traffic_policy_instance(&self) -> DeleteTrafficPolicyInstance
Constructs a fluent builder for the DeleteTrafficPolicyInstance operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the traffic policy instance that you want to delete.
When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created the traffic policy instance.
- On success, responds with
DeleteTrafficPolicyInstanceOutput - On failure, responds with
SdkError<DeleteTrafficPolicyInstanceError>
Constructs a fluent builder for the DeleteVPCAssociationAuthorization operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):When removing authorization to associate a VPC that was created by one Amazon Web Services account with a hosted zone that was created with a different Amazon Web Services account, the ID of the hosted zone.
vpc(Vpc)/set_vpc(Option<Vpc>):When removing authorization to associate a VPC that was created by one Amazon Web Services account with a hosted zone that was created with a different Amazon Web Services account, a complex type that includes the ID and region of the VPC.
- On success, responds with
DeleteVpcAssociationAuthorizationOutput - On failure, responds with
SdkError<DeleteVPCAssociationAuthorizationError>
sourcepub fn disable_hosted_zone_dnssec(&self) -> DisableHostedZoneDNSSEC
pub fn disable_hosted_zone_dnssec(&self) -> DisableHostedZoneDNSSEC
Constructs a fluent builder for the DisableHostedZoneDNSSEC operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):A unique string used to identify a hosted zone.
- On success, responds with
DisableHostedZoneDnssecOutputwith field(s):change_info(Option<ChangeInfo>):A complex type that describes change information about changes made to your hosted zone.
- On failure, responds with
SdkError<DisableHostedZoneDNSSECError>
sourcepub fn disassociate_vpc_from_hosted_zone(&self) -> DisassociateVPCFromHostedZone
pub fn disassociate_vpc_from_hosted_zone(&self) -> DisassociateVPCFromHostedZone
Constructs a fluent builder for the DisassociateVPCFromHostedZone operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):The ID of the private hosted zone that you want to disassociate a VPC from.
vpc(Vpc)/set_vpc(Option<Vpc>):A complex type that contains information about the VPC that you’re disassociating from the specified hosted zone.
comment(impl Into<String>)/set_comment(Option<String>):Optional: A comment about the disassociation request.
- On success, responds with
DisassociateVpcFromHostedZoneOutputwith field(s):change_info(Option<ChangeInfo>):A complex type that describes the changes made to the specified private hosted zone.
- On failure, responds with
SdkError<DisassociateVPCFromHostedZoneError>
sourcepub fn enable_hosted_zone_dnssec(&self) -> EnableHostedZoneDNSSEC
pub fn enable_hosted_zone_dnssec(&self) -> EnableHostedZoneDNSSEC
Constructs a fluent builder for the EnableHostedZoneDNSSEC operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):A unique string used to identify a hosted zone.
- On success, responds with
EnableHostedZoneDnssecOutputwith field(s):change_info(Option<ChangeInfo>):A complex type that describes change information about changes made to your hosted zone.
- On failure, responds with
SdkError<EnableHostedZoneDNSSECError>
sourcepub fn get_account_limit(&self) -> GetAccountLimit
pub fn get_account_limit(&self) -> GetAccountLimit
Constructs a fluent builder for the GetAccountLimit operation.
- The fluent builder is configurable:
r#type(AccountLimitType)/set_type(Option<AccountLimitType>):The limit that you want to get. Valid values include the following:
-
MAX_HEALTH_CHECKS_BY_OWNER: The maximum number of health checks that you can create using the current account.
-
MAX_HOSTED_ZONES_BY_OWNER: The maximum number of hosted zones that you can create using the current account.
-
MAX_REUSABLE_DELEGATION_SETS_BY_OWNER: The maximum number of reusable delegation sets that you can create using the current account.
-
MAX_TRAFFIC_POLICIES_BY_OWNER: The maximum number of traffic policies that you can create using the current account.
-
MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER: The maximum number of traffic policy instances that you can create using the current account. (Traffic policy instances are referred to as traffic flow policy records in the Amazon Route 53 console.)
-
- On success, responds with
GetAccountLimitOutputwith field(s):limit(Option<AccountLimit>):The current setting for the specified limit. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNERfor the value ofTypein the request, the value ofLimitis the maximum number of health checks that you can create using the current account.count(i64):The current number of entities that you have created of the specified type. For example, if you specified
MAX_HEALTH_CHECKS_BY_OWNERfor the value ofTypein the request, the value ofCountis the current number of health checks that you have created using the current account.
- On failure, responds with
SdkError<GetAccountLimitError>
sourcepub fn get_change(&self) -> GetChange
pub fn get_change(&self) -> GetChange
Constructs a fluent builder for the GetChange operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the change batch request. The value that you specify here is the value that
ChangeResourceRecordSetsreturned in theIdelement when you submitted the request.
- On success, responds with
GetChangeOutputwith field(s):change_info(Option<ChangeInfo>):A complex type that contains information about the specified change batch.
- On failure, responds with
SdkError<GetChangeError>
sourcepub fn get_checker_ip_ranges(&self) -> GetCheckerIpRanges
pub fn get_checker_ip_ranges(&self) -> GetCheckerIpRanges
Constructs a fluent builder for the GetCheckerIpRanges operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
GetCheckerIpRangesOutputwith field(s):checker_ip_ranges(Option<Vec<String>>):A complex type that contains sorted list of IP ranges in CIDR format for Amazon Route 53 health checkers.
- On failure, responds with
SdkError<GetCheckerIpRangesError>
sourcepub fn get_dnssec(&self) -> GetDNSSEC
pub fn get_dnssec(&self) -> GetDNSSEC
Constructs a fluent builder for the GetDNSSEC operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):A unique string used to identify a hosted zone.
- On success, responds with
GetDnssecOutputwith field(s):status(Option<DnssecStatus>):A string repesenting the status of DNSSEC.
key_signing_keys(Option<Vec<KeySigningKey>>):The key-signing keys (KSKs) in your account.
- On failure, responds with
SdkError<GetDNSSECError>
sourcepub fn get_geo_location(&self) -> GetGeoLocation
pub fn get_geo_location(&self) -> GetGeoLocation
Constructs a fluent builder for the GetGeoLocation operation.
- The fluent builder is configurable:
continent_code(impl Into<String>)/set_continent_code(Option<String>):For geolocation resource record sets, a two-letter abbreviation that identifies a continent. Amazon Route 53 supports the following continent codes:
-
AF: Africa
-
AN: Antarctica
-
AS: Asia
-
EU: Europe
-
OC: Oceania
-
NA: North America
-
SA: South America
-
country_code(impl Into<String>)/set_country_code(Option<String>):Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
subdivision_code(impl Into<String>)/set_subdivision_code(Option<String>):The code for the subdivision, such as a particular state within the United States. For a list of US state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website. For a list of all supported subdivision codes, use the ListGeoLocations API.
- On success, responds with
GetGeoLocationOutputwith field(s):geo_location_details(Option<GeoLocationDetails>):A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code.
- On failure, responds with
SdkError<GetGeoLocationError>
sourcepub fn get_health_check(&self) -> GetHealthCheck
pub fn get_health_check(&self) -> GetHealthCheck
Constructs a fluent builder for the GetHealthCheck operation.
- The fluent builder is configurable:
health_check_id(impl Into<String>)/set_health_check_id(Option<String>):The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.
- On success, responds with
GetHealthCheckOutputwith field(s):health_check(Option<HealthCheck>):A complex type that contains information about one health check that is associated with the current Amazon Web Services account.
- On failure, responds with
SdkError<GetHealthCheckError>
sourcepub fn get_health_check_count(&self) -> GetHealthCheckCount
pub fn get_health_check_count(&self) -> GetHealthCheckCount
Constructs a fluent builder for the GetHealthCheckCount operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
GetHealthCheckCountOutputwith field(s):health_check_count(Option<i64>):The number of health checks associated with the current Amazon Web Services account.
- On failure, responds with
SdkError<GetHealthCheckCountError>
sourcepub fn get_health_check_last_failure_reason(
&self
) -> GetHealthCheckLastFailureReason
pub fn get_health_check_last_failure_reason(
&self
) -> GetHealthCheckLastFailureReason
Constructs a fluent builder for the GetHealthCheckLastFailureReason operation.
- The fluent builder is configurable:
health_check_id(impl Into<String>)/set_health_check_id(Option<String>):The ID for the health check for which you want the last failure reason. When you created the health check,
CreateHealthCheckreturned the ID in the response, in theHealthCheckIdelement.If you want to get the last failure reason for a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. You can’t use
GetHealthCheckLastFailureReasonfor a calculated health check.
- On success, responds with
GetHealthCheckLastFailureReasonOutputwith field(s):health_check_observations(Option<Vec<HealthCheckObservation>>):A list that contains one
Observationelement for each Amazon Route 53 health checker that is reporting a last failure reason.
- On failure, responds with
SdkError<GetHealthCheckLastFailureReasonError>
sourcepub fn get_health_check_status(&self) -> GetHealthCheckStatus
pub fn get_health_check_status(&self) -> GetHealthCheckStatus
Constructs a fluent builder for the GetHealthCheckStatus operation.
- The fluent builder is configurable:
health_check_id(impl Into<String>)/set_health_check_id(Option<String>):The ID for the health check that you want the current status for. When you created the health check,
CreateHealthCheckreturned the ID in the response, in theHealthCheckIdelement.If you want to check the status of a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. You can’t use
GetHealthCheckStatusto get the status of a calculated health check.
- On success, responds with
GetHealthCheckStatusOutputwith field(s):health_check_observations(Option<Vec<HealthCheckObservation>>):A list that contains one
HealthCheckObservationelement for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.
- On failure, responds with
SdkError<GetHealthCheckStatusError>
sourcepub fn get_hosted_zone(&self) -> GetHostedZone
pub fn get_hosted_zone(&self) -> GetHostedZone
Constructs a fluent builder for the GetHostedZone operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the hosted zone that you want to get information about.
- On success, responds with
GetHostedZoneOutputwith field(s):hosted_zone(Option<HostedZone>):A complex type that contains general information about the specified hosted zone.
delegation_set(Option<DelegationSet>):A complex type that lists the Amazon Route 53 name servers for the specified hosted zone.
vp_cs(Option<Vec<Vpc>>):A complex type that contains information about the VPCs that are associated with the specified hosted zone.
- On failure, responds with
SdkError<GetHostedZoneError>
sourcepub fn get_hosted_zone_count(&self) -> GetHostedZoneCount
pub fn get_hosted_zone_count(&self) -> GetHostedZoneCount
Constructs a fluent builder for the GetHostedZoneCount operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
GetHostedZoneCountOutputwith field(s):hosted_zone_count(Option<i64>):The total number of public and private hosted zones that are associated with the current Amazon Web Services account.
- On failure, responds with
SdkError<GetHostedZoneCountError>
sourcepub fn get_hosted_zone_limit(&self) -> GetHostedZoneLimit
pub fn get_hosted_zone_limit(&self) -> GetHostedZoneLimit
Constructs a fluent builder for the GetHostedZoneLimit operation.
- The fluent builder is configurable:
r#type(HostedZoneLimitType)/set_type(Option<HostedZoneLimitType>):The limit that you want to get. Valid values include the following:
-
MAX_RRSETS_BY_ZONE: The maximum number of records that you can create in the specified hosted zone.
-
MAX_VPCS_ASSOCIATED_BY_ZONE: The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.
-
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):The ID of the hosted zone that you want to get a limit for.
- On success, responds with
GetHostedZoneLimitOutputwith field(s):limit(Option<HostedZoneLimit>):The current setting for the specified limit. For example, if you specified
MAX_RRSETS_BY_ZONEfor the value ofTypein the request, the value ofLimitis the maximum number of records that you can create in the specified hosted zone.count(i64):The current number of entities that you have created of the specified type. For example, if you specified
MAX_RRSETS_BY_ZONEfor the value ofTypein the request, the value ofCountis the current number of records that you have created in the specified hosted zone.
- On failure, responds with
SdkError<GetHostedZoneLimitError>
sourcepub fn get_query_logging_config(&self) -> GetQueryLoggingConfig
pub fn get_query_logging_config(&self) -> GetQueryLoggingConfig
Constructs a fluent builder for the GetQueryLoggingConfig operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the configuration for DNS query logging that you want to get information about.
- On success, responds with
GetQueryLoggingConfigOutputwith field(s):query_logging_config(Option<QueryLoggingConfig>):A complex type that contains information about the query logging configuration that you specified in a GetQueryLoggingConfig request.
- On failure, responds with
SdkError<GetQueryLoggingConfigError>
sourcepub fn get_reusable_delegation_set(&self) -> GetReusableDelegationSet
pub fn get_reusable_delegation_set(&self) -> GetReusableDelegationSet
Constructs a fluent builder for the GetReusableDelegationSet operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the reusable delegation set that you want to get a list of name servers for.
- On success, responds with
GetReusableDelegationSetOutputwith field(s):delegation_set(Option<DelegationSet>):A complex type that contains information about the reusable delegation set.
- On failure, responds with
SdkError<GetReusableDelegationSetError>
sourcepub fn get_reusable_delegation_set_limit(&self) -> GetReusableDelegationSetLimit
pub fn get_reusable_delegation_set_limit(&self) -> GetReusableDelegationSetLimit
Constructs a fluent builder for the GetReusableDelegationSetLimit operation.
- The fluent builder is configurable:
r#type(ReusableDelegationSetLimitType)/set_type(Option<ReusableDelegationSetLimitType>):Specify
MAX_ZONES_BY_REUSABLE_DELEGATION_SETto get the maximum number of hosted zones that you can associate with the specified reusable delegation set.delegation_set_id(impl Into<String>)/set_delegation_set_id(Option<String>):The ID of the delegation set that you want to get the limit for.
- On success, responds with
GetReusableDelegationSetLimitOutputwith field(s):limit(Option<ReusableDelegationSetLimit>):The current setting for the limit on hosted zones that you can associate with the specified reusable delegation set.
count(i64):The current number of hosted zones that you can associate with the specified reusable delegation set.
- On failure, responds with
SdkError<GetReusableDelegationSetLimitError>
sourcepub fn get_traffic_policy(&self) -> GetTrafficPolicy
pub fn get_traffic_policy(&self) -> GetTrafficPolicy
Constructs a fluent builder for the GetTrafficPolicy operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the traffic policy that you want to get information about.
version(i32)/set_version(Option<i32>):The version number of the traffic policy that you want to get information about.
- On success, responds with
GetTrafficPolicyOutputwith field(s):traffic_policy(Option<TrafficPolicy>):A complex type that contains settings for the specified traffic policy.
- On failure, responds with
SdkError<GetTrafficPolicyError>
sourcepub fn get_traffic_policy_instance(&self) -> GetTrafficPolicyInstance
pub fn get_traffic_policy_instance(&self) -> GetTrafficPolicyInstance
Constructs a fluent builder for the GetTrafficPolicyInstance operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the traffic policy instance that you want to get information about.
- On success, responds with
GetTrafficPolicyInstanceOutputwith field(s):traffic_policy_instance(Option<TrafficPolicyInstance>):A complex type that contains settings for the traffic policy instance.
- On failure, responds with
SdkError<GetTrafficPolicyInstanceError>
sourcepub fn get_traffic_policy_instance_count(&self) -> GetTrafficPolicyInstanceCount
pub fn get_traffic_policy_instance_count(&self) -> GetTrafficPolicyInstanceCount
Constructs a fluent builder for the GetTrafficPolicyInstanceCount operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
GetTrafficPolicyInstanceCountOutputwith field(s):traffic_policy_instance_count(Option<i32>):The number of traffic policy instances that are associated with the current Amazon Web Services account.
- On failure, responds with
SdkError<GetTrafficPolicyInstanceCountError>
sourcepub fn list_geo_locations(&self) -> ListGeoLocations
pub fn list_geo_locations(&self) -> ListGeoLocations
Constructs a fluent builder for the ListGeoLocations operation.
- The fluent builder is configurable:
start_continent_code(impl Into<String>)/set_start_continent_code(Option<String>):The code for the continent with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Route 53 has already returned a page or more of results, if
IsTruncatedis true, and ifNextContinentCodefrom the previous response has a value, enter that value instartcontinentcodeto return the next page of results.Include
startcontinentcodeonly if you want to list continents. Don’t includestartcontinentcodewhen you’re listing countries or countries with their subdivisions.start_country_code(impl Into<String>)/set_start_country_code(Option<String>):The code for the country with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Route 53 has already returned a page or more of results, if
IsTruncatedistrue, and ifNextCountryCodefrom the previous response has a value, enter that value instartcountrycodeto return the next page of results.start_subdivision_code(impl Into<String>)/set_start_subdivision_code(Option<String>):The code for the state of the United States with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Route 53 has already returned a page or more of results, if
IsTruncatedistrue, and ifNextSubdivisionCodefrom the previous response has a value, enter that value instartsubdivisioncodeto return the next page of results.To list subdivisions (U.S. states), you must include both
startcountrycodeandstartsubdivisioncode.max_items(i32)/set_max_items(Option<i32>):(Optional) The maximum number of geolocations to be included in the response body for this request. If more than
maxitemsgeolocations remain to be listed, then the value of theIsTruncatedelement in the response istrue.
- On success, responds with
ListGeoLocationsOutputwith field(s):geo_location_details_list(Option<Vec<GeoLocationDetails>>):A complex type that contains one
GeoLocationDetailselement for each location that Amazon Route 53 supports for geolocation.is_truncated(bool):A value that indicates whether more locations remain to be listed after the last location in this response. If so, the value of
IsTruncatedistrue. To get more values, submit another request and include the values ofNextContinentCode,NextCountryCode, andNextSubdivisionCodein thestartcontinentcode,startcountrycode, andstartsubdivisioncode, as applicable.next_continent_code(Option<String>):If
IsTruncatedistrue, you can make a follow-up request to display more locations. Enter the value ofNextContinentCodein thestartcontinentcodeparameter in anotherListGeoLocationsrequest.next_country_code(Option<String>):If
IsTruncatedistrue, you can make a follow-up request to display more locations. Enter the value ofNextCountryCodein thestartcountrycodeparameter in anotherListGeoLocationsrequest.next_subdivision_code(Option<String>):If
IsTruncatedistrue, you can make a follow-up request to display more locations. Enter the value ofNextSubdivisionCodein thestartsubdivisioncodeparameter in anotherListGeoLocationsrequest.max_items(Option<i32>):The value that you specified for
MaxItemsin the request.
- On failure, responds with
SdkError<ListGeoLocationsError>
sourcepub fn list_health_checks(&self) -> ListHealthChecks
pub fn list_health_checks(&self) -> ListHealthChecks
Constructs a fluent builder for the ListHealthChecks operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
marker(impl Into<String>)/set_marker(Option<String>):If the value of
IsTruncatedin the previous response wastrue, you have more health checks. To get another group, submit anotherListHealthChecksrequest.For the value of
marker, specify the value ofNextMarkerfrom the previous response, which is the ID of the first health check that Amazon Route 53 will return if you submit another request.If the value of
IsTruncatedin the previous response wasfalse, there are no more health checks to get.max_items(i32)/set_max_items(Option<i32>):The maximum number of health checks that you want
ListHealthChecksto return in response to the current request. Amazon Route 53 returns a maximum of 100 items. If you setMaxItemsto a value greater than 100, Route 53 returns only the first 100 health checks.
- On success, responds with
ListHealthChecksOutputwith field(s):health_checks(Option<Vec<HealthCheck>>):A complex type that contains one
HealthCheckelement for each health check that is associated with the current Amazon Web Services account.marker(Option<String>):For the second and subsequent calls to
ListHealthChecks,Markeris the value that you specified for themarkerparameter in the previous request.is_truncated(bool):A flag that indicates whether there are more health checks to be listed. If the response was truncated, you can get the next group of health checks by submitting another
ListHealthChecksrequest and specifying the value ofNextMarkerin themarkerparameter.next_marker(Option<String>):If
IsTruncatedistrue, the value ofNextMarkeridentifies the first health check that Amazon Route 53 returns if you submit anotherListHealthChecksrequest and specify the value ofNextMarkerin themarkerparameter.max_items(Option<i32>):The value that you specified for the
maxitemsparameter in the call toListHealthChecksthat produced the current response.
- On failure, responds with
SdkError<ListHealthChecksError>
sourcepub fn list_hosted_zones(&self) -> ListHostedZones
pub fn list_hosted_zones(&self) -> ListHostedZones
Constructs a fluent builder for the ListHostedZones operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
marker(impl Into<String>)/set_marker(Option<String>):If the value of
IsTruncatedin the previous response wastrue, you have more hosted zones. To get more hosted zones, submit anotherListHostedZonesrequest.For the value of
marker, specify the value ofNextMarkerfrom the previous response, which is the ID of the first hosted zone that Amazon Route 53 will return if you submit another request.If the value of
IsTruncatedin the previous response wasfalse, there are no more hosted zones to get.max_items(i32)/set_max_items(Option<i32>):(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If you have more than
maxitemshosted zones, the value ofIsTruncatedin the response istrue, and the value ofNextMarkeris the hosted zone ID of the first hosted zone that Route 53 will return if you submit another request.delegation_set_id(impl Into<String>)/set_delegation_set_id(Option<String>):If you’re using reusable delegation sets and you want to list all of the hosted zones that are associated with a reusable delegation set, specify the ID of that reusable delegation set.
- On success, responds with
ListHostedZonesOutputwith field(s):hosted_zones(Option<Vec<HostedZone>>):A complex type that contains general information about the hosted zone.
marker(Option<String>):For the second and subsequent calls to
ListHostedZones,Markeris the value that you specified for themarkerparameter in the request that produced the current response.is_truncated(bool):A flag indicating whether there are more hosted zones to be listed. If the response was truncated, you can get more hosted zones by submitting another
ListHostedZonesrequest and specifying the value ofNextMarkerin themarkerparameter.next_marker(Option<String>):If
IsTruncatedistrue, the value ofNextMarkeridentifies the first hosted zone in the next group of hosted zones. Submit anotherListHostedZonesrequest, and specify the value ofNextMarkerfrom the response in themarkerparameter.This element is present only if
IsTruncatedistrue.max_items(Option<i32>):The value that you specified for the
maxitemsparameter in the call toListHostedZonesthat produced the current response.
- On failure, responds with
SdkError<ListHostedZonesError>
sourcepub fn list_hosted_zones_by_name(&self) -> ListHostedZonesByName
pub fn list_hosted_zones_by_name(&self) -> ListHostedZonesByName
Constructs a fluent builder for the ListHostedZonesByName operation.
- The fluent builder is configurable:
dns_name(impl Into<String>)/set_dns_name(Option<String>):(Optional) For your first request to
ListHostedZonesByName, include thednsnameparameter only if you want to specify the name of the first hosted zone in the response. If you don’t include thednsnameparameter, Amazon Route 53 returns all of the hosted zones that were created by the current Amazon Web Services account, in ASCII order. For subsequent requests, include bothdnsnameandhostedzoneidparameters. Fordnsname, specify the value ofNextDNSNamefrom the previous response.hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):(Optional) For your first request to
ListHostedZonesByName, do not include thehostedzoneidparameter.If you have more hosted zones than the value of
maxitems,ListHostedZonesByNamereturns only the firstmaxitemshosted zones. To get the next group ofmaxitemshosted zones, submit another request toListHostedZonesByNameand include bothdnsnameandhostedzoneidparameters. For the value ofhostedzoneid, specify the value of theNextHostedZoneIdelement from the previous response.max_items(i32)/set_max_items(Option<i32>):The maximum number of hosted zones to be included in the response body for this request. If you have more than
maxitemshosted zones, then the value of theIsTruncatedelement in the response is true, and the values ofNextDNSNameandNextHostedZoneIdspecify the first hosted zone in the next group ofmaxitemshosted zones.
- On success, responds with
ListHostedZonesByNameOutputwith field(s):hosted_zones(Option<Vec<HostedZone>>):A complex type that contains general information about the hosted zone.
dns_name(Option<String>):For the second and subsequent calls to
ListHostedZonesByName,DNSNameis the value that you specified for thednsnameparameter in the request that produced the current response.hosted_zone_id(Option<String>):The ID that Amazon Route 53 assigned to the hosted zone when you created it.
is_truncated(bool):A flag that indicates whether there are more hosted zones to be listed. If the response was truncated, you can get the next group of
maxitemshosted zones by callingListHostedZonesByNameagain and specifying the values ofNextDNSNameandNextHostedZoneIdelements in thednsnameandhostedzoneidparameters.next_dns_name(Option<String>):If
IsTruncatedis true, the value ofNextDNSNameis the name of the first hosted zone in the next group ofmaxitemshosted zones. CallListHostedZonesByNameagain and specify the value ofNextDNSNameandNextHostedZoneIdin thednsnameandhostedzoneidparameters, respectively.This element is present only if
IsTruncatedistrue.next_hosted_zone_id(Option<String>):If
IsTruncatedistrue, the value ofNextHostedZoneIdidentifies the first hosted zone in the next group ofmaxitemshosted zones. CallListHostedZonesByNameagain and specify the value ofNextDNSNameandNextHostedZoneIdin thednsnameandhostedzoneidparameters, respectively.This element is present only if
IsTruncatedistrue.max_items(Option<i32>):The value that you specified for the
maxitemsparameter in the call toListHostedZonesByNamethat produced the current response.
- On failure, responds with
SdkError<ListHostedZonesByNameError>
sourcepub fn list_hosted_zones_by_vpc(&self) -> ListHostedZonesByVPC
pub fn list_hosted_zones_by_vpc(&self) -> ListHostedZonesByVPC
Constructs a fluent builder for the ListHostedZonesByVPC operation.
- The fluent builder is configurable:
vpc_id(impl Into<String>)/set_vpc_id(Option<String>):The ID of the Amazon VPC that you want to list hosted zones for.
vpc_region(VpcRegion)/set_vpc_region(Option<VpcRegion>):For the Amazon VPC that you specified for
VPCId, the Amazon Web Services Region that you created the VPC in.max_items(i32)/set_max_items(Option<i32>):(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If the specified VPC is associated with more than
MaxItemshosted zones, the response includes aNextTokenelement.NextTokencontains an encrypted token that identifies the first hosted zone that Route 53 will return if you submit another request.next_token(impl Into<String>)/set_next_token(Option<String>):If the previous response included a
NextTokenelement, the specified VPC is associated with more hosted zones. To get more hosted zones, submit anotherListHostedZonesByVPCrequest.For the value of
NextToken, specify the value ofNextTokenfrom the previous response.If the previous response didn’t include a
NextTokenelement, there are no more hosted zones to get.
- On success, responds with
ListHostedZonesByVpcOutputwith field(s):hosted_zone_summaries(Option<Vec<HostedZoneSummary>>):A list that contains one
HostedZoneSummaryelement for each hosted zone that the specified Amazon VPC is associated with. EachHostedZoneSummaryelement contains the hosted zone name and ID, and information about who owns the hosted zone.max_items(Option<i32>):The value that you specified for
MaxItemsin the most recentListHostedZonesByVPCrequest.next_token(Option<String>):The value that you will use for
NextTokenin the nextListHostedZonesByVPCrequest.
- On failure, responds with
SdkError<ListHostedZonesByVPCError>
sourcepub fn list_query_logging_configs(&self) -> ListQueryLoggingConfigs
pub fn list_query_logging_configs(&self) -> ListQueryLoggingConfigs
Constructs a fluent builder for the ListQueryLoggingConfigs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):(Optional) If you want to list the query logging configuration that is associated with a hosted zone, specify the ID in
HostedZoneId.If you don’t specify a hosted zone ID,
ListQueryLoggingConfigsreturns all of the configurations that are associated with the current Amazon Web Services account.next_token(impl Into<String>)/set_next_token(Option<String>):(Optional) If the current Amazon Web Services account has more than
MaxResultsquery logging configurations, useNextTokento get the second and subsequent pages of results.For the first
ListQueryLoggingConfigsrequest, omit this value.For the second and subsequent requests, get the value of
NextTokenfrom the previous response and specify that value forNextTokenin the request.max_results(i32)/set_max_results(Option<i32>):(Optional) The maximum number of query logging configurations that you want Amazon Route 53 to return in response to the current request. If the current Amazon Web Services account has more than
MaxResultsconfigurations, use the value of NextToken in the response to get the next page of results.If you don’t specify a value for
MaxResults, Route 53 returns up to 100 configurations.
- On success, responds with
ListQueryLoggingConfigsOutputwith field(s):query_logging_configs(Option<Vec<QueryLoggingConfig>>):An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current Amazon Web Services account.
next_token(Option<String>):If a response includes the last of the query logging configurations that are associated with the current Amazon Web Services account,
NextTokendoesn’t appear in the response.If a response doesn’t include the last of the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs request. Get the value of
NextTokenthat Amazon Route 53 returned in the previous response and include it inNextTokenin the next request.
- On failure, responds with
SdkError<ListQueryLoggingConfigsError>
sourcepub fn list_resource_record_sets(&self) -> ListResourceRecordSets
pub fn list_resource_record_sets(&self) -> ListResourceRecordSets
Constructs a fluent builder for the ListResourceRecordSets operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):The ID of the hosted zone that contains the resource record sets that you want to list.
start_record_name(impl Into<String>)/set_start_record_name(Option<String>):The first name in the lexicographic ordering of resource record sets that you want to list. If the specified record name doesn’t exist, the results begin with the first resource record set that has a name greater than the value of
name.start_record_type(RrType)/set_start_record_type(Option<RrType>):The type of resource record set to begin the record listing from.
Valid values for basic resource record sets:
A|AAAA|CAA|CNAME|MX|NAPTR|NS|PTR|SOA|SPF|SRV|TXTValues for weighted, latency, geolocation, and failover resource record sets:
A|AAAA|CAA|CNAME|MX|NAPTR|PTR|SPF|SRV|TXTValues for alias resource record sets:
-
API Gateway custom regional API or edge-optimized API: A
-
CloudFront distribution: A or AAAA
-
Elastic Beanstalk environment that has a regionalized subdomain: A
-
Elastic Load Balancing load balancer: A | AAAA
-
S3 bucket: A
-
VPC interface VPC endpoint: A
-
Another resource record set in this hosted zone: The type of the resource record set that the alias references.
Constraint: Specifying
typewithout specifyingnamereturns anInvalidInputerror.-
start_record_identifier(impl Into<String>)/set_start_record_identifier(Option<String>):Resource record sets that have a routing policy other than simple: If results were truncated for a given DNS name and type, specify the value of
NextRecordIdentifierfrom the previous response to get the next resource record set that has the current DNS name and type.max_items(i32)/set_max_items(Option<i32>):(Optional) The maximum number of resource records sets to include in the response body for this request. If the response includes more than
maxitemsresource record sets, the value of theIsTruncatedelement in the response istrue, and the values of theNextRecordNameandNextRecordTypeelements in the response identify the first resource record set in the next group ofmaxitemsresource record sets.
- On success, responds with
ListResourceRecordSetsOutputwith field(s):resource_record_sets(Option<Vec<ResourceRecordSet>>):Information about multiple resource record sets.
is_truncated(bool):A flag that indicates whether more resource record sets remain to be listed. If your results were truncated, you can make a follow-up pagination request by using the
NextRecordNameelement.next_record_name(Option<String>):If the results were truncated, the name of the next record in the list.
This element is present only if
IsTruncatedis true.next_record_type(Option<RrType>):If the results were truncated, the type of the next record in the list.
This element is present only if
IsTruncatedis true.next_record_identifier(Option<String>):Resource record sets that have a routing policy other than simple: If results were truncated for a given DNS name and type, the value of
SetIdentifierfor the next resource record set that has the current DNS name and type.For information about routing policies, see Choosing a Routing Policy in the Amazon Route 53 Developer Guide.
max_items(Option<i32>):The maximum number of records you requested.
- On failure, responds with
SdkError<ListResourceRecordSetsError>
sourcepub fn list_reusable_delegation_sets(&self) -> ListReusableDelegationSets
pub fn list_reusable_delegation_sets(&self) -> ListReusableDelegationSets
Constructs a fluent builder for the ListReusableDelegationSets operation.
- The fluent builder is configurable:
marker(impl Into<String>)/set_marker(Option<String>):If the value of
IsTruncatedin the previous response wastrue, you have more reusable delegation sets. To get another group, submit anotherListReusableDelegationSetsrequest.For the value of
marker, specify the value ofNextMarkerfrom the previous response, which is the ID of the first reusable delegation set that Amazon Route 53 will return if you submit another request.If the value of
IsTruncatedin the previous response wasfalse, there are no more reusable delegation sets to get.max_items(i32)/set_max_items(Option<i32>):The number of reusable delegation sets that you want Amazon Route 53 to return in the response to this request. If you specify a value greater than 100, Route 53 returns only the first 100 reusable delegation sets.
- On success, responds with
ListReusableDelegationSetsOutputwith field(s):delegation_sets(Option<Vec<DelegationSet>>):A complex type that contains one
DelegationSetelement for each reusable delegation set that was created by the current Amazon Web Services account.marker(Option<String>):For the second and subsequent calls to
ListReusableDelegationSets,Markeris the value that you specified for themarkerparameter in the request that produced the current response.is_truncated(bool):A flag that indicates whether there are more reusable delegation sets to be listed.
next_marker(Option<String>):If
IsTruncatedistrue, the value ofNextMarkeridentifies the next reusable delegation set that Amazon Route 53 will return if you submit anotherListReusableDelegationSetsrequest and specify the value ofNextMarkerin themarkerparameter.max_items(Option<i32>):The value that you specified for the
maxitemsparameter in the call toListReusableDelegationSetsthat produced the current response.
- On failure, responds with
SdkError<ListReusableDelegationSetsError>
Constructs a fluent builder for the ListTagsForResource operation.
- The fluent builder is configurable:
resource_type(TagResourceType)/set_resource_type(Option<TagResourceType>):The type of the resource.
-
The resource type for health checks is
healthcheck. -
The resource type for hosted zones is
hostedzone.
-
resource_id(impl Into<String>)/set_resource_id(Option<String>):The ID of the resource for which you want to retrieve tags.
- On success, responds with
ListTagsForResourceOutputwith field(s):resource_tag_set(Option<ResourceTagSet>):A
ResourceTagSetcontaining tags associated with the specified resource.
- On failure, responds with
SdkError<ListTagsForResourceError>
Constructs a fluent builder for the ListTagsForResources operation.
- The fluent builder is configurable:
resource_type(TagResourceType)/set_resource_type(Option<TagResourceType>):The type of the resources.
-
The resource type for health checks is
healthcheck. -
The resource type for hosted zones is
hostedzone.
-
resource_ids(Vec<String>)/set_resource_ids(Option<Vec<String>>):A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.
- On success, responds with
ListTagsForResourcesOutputwith field(s):resource_tag_sets(Option<Vec<ResourceTagSet>>):A list of
ResourceTagSets containing tags associated with the specified resources.
- On failure, responds with
SdkError<ListTagsForResourcesError>
sourcepub fn list_traffic_policies(&self) -> ListTrafficPolicies
pub fn list_traffic_policies(&self) -> ListTrafficPolicies
Constructs a fluent builder for the ListTrafficPolicies operation.
- The fluent builder is configurable:
traffic_policy_id_marker(impl Into<String>)/set_traffic_policy_id_marker(Option<String>):(Conditional) For your first request to
ListTrafficPolicies, don’t include theTrafficPolicyIdMarkerparameter.If you have more traffic policies than the value of
MaxItems,ListTrafficPoliciesreturns only the firstMaxItemstraffic policies. To get the next group of policies, submit another request toListTrafficPolicies. For the value ofTrafficPolicyIdMarker, specify the value ofTrafficPolicyIdMarkerthat was returned in the previous response.max_items(i32)/set_max_items(Option<i32>):(Optional) The maximum number of traffic policies that you want Amazon Route 53 to return in response to this request. If you have more than
MaxItemstraffic policies, the value ofIsTruncatedin the response istrue, and the value ofTrafficPolicyIdMarkeris the ID of the first traffic policy that Route 53 will return if you submit another request.
- On success, responds with
ListTrafficPoliciesOutputwith field(s):traffic_policy_summaries(Option<Vec<TrafficPolicySummary>>):A list that contains one
TrafficPolicySummaryelement for each traffic policy that was created by the current Amazon Web Services account.is_truncated(bool):A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of traffic policies by submitting another
ListTrafficPoliciesrequest and specifying the value ofTrafficPolicyIdMarkerin theTrafficPolicyIdMarkerrequest parameter.traffic_policy_id_marker(Option<String>):If the value of
IsTruncatedistrue,TrafficPolicyIdMarkeris the ID of the first traffic policy in the next group ofMaxItemstraffic policies.max_items(Option<i32>):The value that you specified for the
MaxItemsparameter in theListTrafficPoliciesrequest that produced the current response.
- On failure, responds with
SdkError<ListTrafficPoliciesError>
sourcepub fn list_traffic_policy_instances(&self) -> ListTrafficPolicyInstances
pub fn list_traffic_policy_instances(&self) -> ListTrafficPolicyInstances
Constructs a fluent builder for the ListTrafficPolicyInstances operation.
- The fluent builder is configurable:
hosted_zone_id_marker(impl Into<String>)/set_hosted_zone_id_marker(Option<String>):If the value of
IsTruncatedin the previous response wastrue, you have more traffic policy instances. To get more traffic policy instances, submit anotherListTrafficPolicyInstancesrequest. For the value ofHostedZoneId, specify the value ofHostedZoneIdMarkerfrom the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of traffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get.traffic_policy_instance_name_marker(impl Into<String>)/set_traffic_policy_instance_name_marker(Option<String>):If the value of
IsTruncatedin the previous response wastrue, you have more traffic policy instances. To get more traffic policy instances, submit anotherListTrafficPolicyInstancesrequest. For the value oftrafficpolicyinstancename, specify the value ofTrafficPolicyInstanceNameMarkerfrom 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
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get.traffic_policy_instance_type_marker(RrType)/set_traffic_policy_instance_type_marker(Option<RrType>):If the value of
IsTruncatedin the previous response wastrue, you have more traffic policy instances. To get more traffic policy instances, submit anotherListTrafficPolicyInstancesrequest. For the value oftrafficpolicyinstancetype, specify the value ofTrafficPolicyInstanceTypeMarkerfrom 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
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get.max_items(i32)/set_max_items(Option<i32>):The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a
ListTrafficPolicyInstancesrequest. If you have more thanMaxItemstraffic policy instances, the value of theIsTruncatedelement in the response istrue, and the values ofHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerrepresent the first traffic policy instance in the next group ofMaxItemstraffic policy instances.
- On success, responds with
ListTrafficPolicyInstancesOutputwith field(s):traffic_policy_instances(Option<Vec<TrafficPolicyInstance>>):A list that contains one
TrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.hosted_zone_id_marker(Option<String>):If
IsTruncatedistrue,HostedZoneIdMarkeris the ID of the hosted zone of the first traffic policy instance that Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.traffic_policy_instance_name_marker(Option<String>):If
IsTruncatedistrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance that Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.traffic_policy_instance_type_marker(Option<RrType>):If
IsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit anotherListTrafficPolicyInstancesrequest.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 more traffic policy instances by calling
ListTrafficPolicyInstancesagain and specifying the values of theHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerin the corresponding request parameters.max_items(Option<i32>):The value that you specified for the
MaxItemsparameter in the call toListTrafficPolicyInstancesthat produced the current response.
- On failure, responds with
SdkError<ListTrafficPolicyInstancesError>
sourcepub fn list_traffic_policy_instances_by_hosted_zone(
&self
) -> ListTrafficPolicyInstancesByHostedZone
pub fn list_traffic_policy_instances_by_hosted_zone(
&self
) -> ListTrafficPolicyInstancesByHostedZone
Constructs a fluent builder for the ListTrafficPolicyInstancesByHostedZone operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):The ID of the hosted zone that you want to list traffic policy instances for.
traffic_policy_instance_name_marker(impl Into<String>)/set_traffic_policy_instance_name_marker(Option<String>):If the value of
IsTruncatedin the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit anotherListTrafficPolicyInstancesrequest. For the value oftrafficpolicyinstancename, specify the value ofTrafficPolicyInstanceNameMarkerfrom 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
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get.traffic_policy_instance_type_marker(RrType)/set_traffic_policy_instance_type_marker(Option<RrType>):If the value of
IsTruncatedin the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit anotherListTrafficPolicyInstancesrequest. For the value oftrafficpolicyinstancetype, specify the value ofTrafficPolicyInstanceTypeMarkerfrom 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
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get.max_items(i32)/set_max_items(Option<i32>):The maximum number of traffic policy instances to be included in the response body for this request. If you have more than
MaxItemstraffic policy instances, the value of theIsTruncatedelement in the response istrue, and the values ofHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerrepresent the first traffic policy instance that Amazon Route 53 will return if you submit another request.
- On success, responds with
ListTrafficPolicyInstancesByHostedZoneOutputwith field(s):traffic_policy_instances(Option<Vec<TrafficPolicyInstance>>):A list that contains one
TrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.traffic_policy_instance_name_marker(Option<String>):If
IsTruncatedistrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance in the next group of traffic policy instances.traffic_policy_instance_type_marker(Option<RrType>):If
IsTruncatedis true,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of 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 submitting another
ListTrafficPolicyInstancesByHostedZonerequest and specifying the values ofHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerin the corresponding request parameters.max_items(Option<i32>):The value that you specified for the
MaxItemsparameter in theListTrafficPolicyInstancesByHostedZonerequest that produced the current response.
- On failure, responds with
SdkError<ListTrafficPolicyInstancesByHostedZoneError>
sourcepub fn list_traffic_policy_instances_by_policy(
&self
) -> ListTrafficPolicyInstancesByPolicy
pub fn list_traffic_policy_instances_by_policy(
&self
) -> ListTrafficPolicyInstancesByPolicy
Constructs a fluent builder for the ListTrafficPolicyInstancesByPolicy operation.
- The fluent builder is configurable:
traffic_policy_id(impl Into<String>)/set_traffic_policy_id(Option<String>):The ID of the traffic policy for which you want to list traffic policy instances.
traffic_policy_version(i32)/set_traffic_policy_version(Option<i32>):The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by
TrafficPolicyId.hosted_zone_id_marker(impl Into<String>)/set_hosted_zone_id_marker(Option<String>):If the value of
IsTruncatedin the previous response wastrue, you have more traffic policy instances. To get more traffic policy instances, submit anotherListTrafficPolicyInstancesByPolicyrequest.For the value of
hostedzoneid, specify the value ofHostedZoneIdMarkerfrom the previous response, which is the hosted zone ID of the first traffic policy instance that Amazon Route 53 will return if you submit another request.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get.traffic_policy_instance_name_marker(impl Into<String>)/set_traffic_policy_instance_name_marker(Option<String>):If the value of
IsTruncatedin the previous response wastrue, you have more traffic policy instances. To get more traffic policy instances, submit anotherListTrafficPolicyInstancesByPolicyrequest.For the value of
trafficpolicyinstancename, specify the value ofTrafficPolicyInstanceNameMarkerfrom the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get.traffic_policy_instance_type_marker(RrType)/set_traffic_policy_instance_type_marker(Option<RrType>):If the value of
IsTruncatedin the previous response wastrue, you have more traffic policy instances. To get more traffic policy instances, submit anotherListTrafficPolicyInstancesByPolicyrequest.For the value of
trafficpolicyinstancetype, specify the value ofTrafficPolicyInstanceTypeMarkerfrom the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get.max_items(i32)/set_max_items(Option<i32>):The maximum number of traffic policy instances to be included in the response body for this request. If you have more than
MaxItemstraffic policy instances, the value of theIsTruncatedelement in the response istrue, and the values ofHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerrepresent the first traffic policy instance that Amazon Route 53 will return if you submit another request.
- On success, responds with
ListTrafficPolicyInstancesByPolicyOutputwith field(s):traffic_policy_instances(Option<Vec<TrafficPolicyInstance>>):A list that contains one
TrafficPolicyInstanceelement for each traffic policy instance that matches the elements in the request.hosted_zone_id_marker(Option<String>):If
IsTruncatedistrue,HostedZoneIdMarkeris 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
IsTruncatedistrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.traffic_policy_instance_type_marker(Option<RrType>):If
IsTruncatedistrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group ofMaxItemstraffic 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
ListTrafficPolicyInstancesByPolicyagain and specifying the values of theHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerelements in the corresponding request parameters.max_items(Option<i32>):The value that you specified for the
MaxItemsparameter in the call toListTrafficPolicyInstancesByPolicythat produced the current response.
- On failure, responds with
SdkError<ListTrafficPolicyInstancesByPolicyError>
sourcepub fn list_traffic_policy_versions(&self) -> ListTrafficPolicyVersions
pub fn list_traffic_policy_versions(&self) -> ListTrafficPolicyVersions
Constructs a fluent builder for the ListTrafficPolicyVersions operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):Specify the value of
Idof the traffic policy for which you want to list all versions.traffic_policy_version_marker(impl Into<String>)/set_traffic_policy_version_marker(Option<String>):For your first request to
ListTrafficPolicyVersions, don’t include theTrafficPolicyVersionMarkerparameter.If you have more traffic policy versions than the value of
MaxItems,ListTrafficPolicyVersionsreturns only the first group ofMaxItemsversions. To get more traffic policy versions, submit anotherListTrafficPolicyVersionsrequest. For the value ofTrafficPolicyVersionMarker, specify the value ofTrafficPolicyVersionMarkerin the previous response.max_items(i32)/set_max_items(Option<i32>):The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request. If the specified traffic policy has more than
MaxItemsversions, the value ofIsTruncatedin the response istrue, and the value of theTrafficPolicyVersionMarkerelement is the ID of the first version that Route 53 will return if you submit another request.
- On success, responds with
ListTrafficPolicyVersionsOutputwith field(s):traffic_policies(Option<Vec<TrafficPolicy>>):A list that contains one
TrafficPolicyelement for each traffic policy version that is associated with the specified traffic policy.is_truncated(bool):A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of traffic policies by submitting another
ListTrafficPolicyVersionsrequest and specifying the value ofNextMarkerin themarkerparameter.traffic_policy_version_marker(Option<String>):If
IsTruncatedistrue, the value ofTrafficPolicyVersionMarkeridentifies the first traffic policy that Amazon Route 53 will return if you submit another request. CallListTrafficPolicyVersionsagain and specify the value ofTrafficPolicyVersionMarkerin theTrafficPolicyVersionMarkerrequest parameter.This element is present only if
IsTruncatedistrue.max_items(Option<i32>):The value that you specified for the
maxitemsparameter in theListTrafficPolicyVersionsrequest that produced the current response.
- On failure, responds with
SdkError<ListTrafficPolicyVersionsError>
Constructs a fluent builder for the ListVPCAssociationAuthorizations operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone.
next_token(impl Into<String>)/set_next_token(Option<String>):Optional: If a response includes a
NextTokenelement, there are more VPCs that can be associated with the specified hosted zone. To get the next page of results, submit another request, and include the value ofNextTokenfrom the response in thenexttokenparameter in anotherListVPCAssociationAuthorizationsrequest.max_results(i32)/set_max_results(Option<i32>):Optional: An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return. If you don’t specify a value for
MaxResults, Route 53 returns up to 50 VPCs per page.
- On success, responds with
ListVpcAssociationAuthorizationsOutputwith field(s):hosted_zone_id(Option<String>):The ID of the hosted zone that you can associate the listed VPCs with.
next_token(Option<String>):When the response includes a
NextTokenelement, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit anotherListVPCAssociationAuthorizationsrequest, and include the value of theNextTokenelement from the response in thenexttokenrequest parameter.vp_cs(Option<Vec<Vpc>>):The list of VPCs that are authorized to be associated with the specified hosted zone.
- On failure, responds with
SdkError<ListVPCAssociationAuthorizationsError>
sourcepub fn test_dns_answer(&self) -> TestDNSAnswer
pub fn test_dns_answer(&self) -> TestDNSAnswer
Constructs a fluent builder for the TestDNSAnswer operation.
- The fluent builder is configurable:
hosted_zone_id(impl Into<String>)/set_hosted_zone_id(Option<String>):The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.
record_name(impl Into<String>)/set_record_name(Option<String>):The name of the resource record set that you want Amazon Route 53 to simulate a query for.
record_type(RrType)/set_record_type(Option<RrType>):The type of the resource record set.
resolver_ip(impl Into<String>)/set_resolver_ip(Option<String>):If you want to simulate a request from a specific DNS resolver, specify the IP address for that resolver. If you omit this value,
TestDnsAnsweruses the IP address of a DNS resolver in the Amazon Web Services US East (N. Virginia) Region (us-east-1).edns0_client_subnet_ip(impl Into<String>)/set_edns0_client_subnet_ip(Option<String>):If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a client in the applicable location, for example,
192.0.2.44or2001:db8:85a3::8a2e:370:7334.edns0_client_subnet_mask(impl Into<String>)/set_edns0_client_subnet_mask(Option<String>):If you specify an IP address for
edns0clientsubnetip, you can optionally specify the number of bits of the IP address that you want the checking tool to include in the DNS query. For example, if you specify192.0.2.44foredns0clientsubnetipand24foredns0clientsubnetmask, the checking tool will simulate a request from 192.0.2.0/24. The default value is 24 bits for IPv4 addresses and 64 bits for IPv6 addresses.The range of valid values depends on whether
edns0clientsubnetipis an IPv4 or an IPv6 address:-
IPv4: Specify a value between 0 and 32
-
IPv6: Specify a value between 0 and 128
-
- On success, responds with
TestDnsAnswerOutputwith field(s):nameserver(Option<String>):The Amazon Route 53 name server used to respond to the request.
record_name(Option<String>):The name of the resource record set that you submitted a request for.
record_type(Option<RrType>):The type of the resource record set that you submitted a request for.
record_data(Option<Vec<String>>):A list that contains values that Amazon Route 53 returned for this resource record set.
response_code(Option<String>):A code that indicates whether the request is valid or not. The most common response code is
NOERROR, meaning that the request is valid. If the response is not valid, Amazon Route 53 returns a response code that describes the error. For a list of possible response codes, see DNS RCODES on the IANA website.protocol(Option<String>):The protocol that Amazon Route 53 used to respond to the request, either
UDPorTCP.
- On failure, responds with
SdkError<TestDNSAnswerError>
sourcepub fn update_health_check(&self) -> UpdateHealthCheck
pub fn update_health_check(&self) -> UpdateHealthCheck
Constructs a fluent builder for the UpdateHealthCheck operation.
- The fluent builder is configurable:
health_check_id(impl Into<String>)/set_health_check_id(Option<String>):The ID for the health check for which you want detailed information. When you created the health check,
CreateHealthCheckreturned the ID in the response, in theHealthCheckIdelement.health_check_version(i64)/set_health_check_version(Option<i64>):A sequential counter that Amazon Route 53 sets to
1when you create a health check and increments by 1 each time you update settings for the health check.We recommend that you use
GetHealthCheckorListHealthChecksto get the current value ofHealthCheckVersionfor the health check that you want to update, and that you include that value in yourUpdateHealthCheckrequest. This prevents Route 53 from overwriting an intervening update:-
If the value in the
UpdateHealthCheckrequest matches the value ofHealthCheckVersionin the health check, Route 53 updates the health check with the new settings. -
If the value of
HealthCheckVersionin the health check is greater, the health check was changed after you got the version number. Route 53 does not update the health check, and it returns aHealthCheckVersionMismatcherror.
-
ip_address(impl Into<String>)/set_ip_address(Option<String>):The IPv4 or IPv6 IP address for the endpoint that you want Amazon Route 53 to perform health checks on. If you don’t specify a value for
IPAddress, Route 53 sends a DNS request to resolve the domain name that you specify inFullyQualifiedDomainNameat the interval that you specify inRequestInterval. Using an IP address that is returned by DNS, Route 53 then checks the health of the endpoint.Use one of the following formats for the value of
IPAddress:-
IPv4 address: four values between 0 and 255, separated by periods (.), for example,
192.0.2.44. -
IPv6 address: eight groups of four hexadecimal values, separated by colons (:), for example,
2001:0db8:85a3:0000:0000:abcd:0001:2345. You can also shorten IPv6 addresses as described in RFC 5952, for example,2001:db8:85a3::abcd:1:2345.
If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and specify the Elastic IP address for
IPAddress. This ensures that the IP address of your instance never changes. For more information, see the applicable documentation:-
Linux: Elastic IP Addresses (EIP) in the Amazon EC2 User Guide for Linux Instances
-
Windows: Elastic IP Addresses (EIP) in the Amazon EC2 User Guide for Windows Instances
If a health check already has a value for
IPAddress, you can change the value. However, you can’t update an existing health check to add or remove the value ofIPAddress.For more information, see FullyQualifiedDomainName.
Constraints: Route 53 can’t check the health of endpoints for which the IP address is in local, private, non-routable, or multicast ranges. For more information about IP addresses for which you can’t create health checks, see the following documents:
-
port(i32)/set_port(Option<i32>):The port on the endpoint that you want Amazon Route 53 to perform health checks on.
Don’t specify a value for
Portwhen you specify a value forTypeofCLOUDWATCH_METRICorCALCULATED.resource_path(impl Into<String>)/set_resource_path(Option<String>):The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html. You can also include query string parameters, for example,
/welcome.html?language=jp&login=y.Specify this value only if you want to change it.
fully_qualified_domain_name(impl Into<String>)/set_fully_qualified_domain_name(Option<String>):Amazon Route 53 behavior depends on whether you specify a value for
IPAddress.If a health check already has a value for
IPAddress, you can change the value. However, you can’t update an existing health check to add or remove the value ofIPAddress.If you specify a value for
IPAddress:Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of
FullyQualifiedDomainNamein theHostheader for all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint on which you want Route 53 to perform health checks.When Route 53 checks the health of an endpoint, here is how it constructs the
Hostheader:-
If you specify a value of
80forPortandHTTPorHTTP_STR_MATCHforType, Route 53 passes the value ofFullyQualifiedDomainNameto the endpoint in theHostheader. -
If you specify a value of
443forPortandHTTPSorHTTPS_STR_MATCHforType, Route 53 passes the value ofFullyQualifiedDomainNameto the endpoint in theHostheader. -
If you specify another value for
Portand any value exceptTCPforType, Route 53 passesFullyQualifiedDomainName:Portto the endpoint in theHostheader.
If you don’t specify a value for
FullyQualifiedDomainName, Route 53 substitutes the value ofIPAddressin theHostheader in each of the above cases.If you don’t specify a value for
IPAddress:If you don’t specify a value for
IPAddress, Route 53 sends a DNS request to the domain that you specify inFullyQualifiedDomainNameat the interval you specify inRequestInterval. Using an IPv4 address that is returned by DNS, Route 53 then checks the health of the endpoint.If you don’t specify a value for
IPAddress, Route 53 uses only IPv4 to send health checks to the endpoint. If there’s no resource record set with a type of A for the name that you specify forFullyQualifiedDomainName, the health check fails with a “DNS resolution failed” error.If you want to check the health of weighted, latency, or failover resource record sets and you choose to specify the endpoint only by
FullyQualifiedDomainName, we recommend that you create a separate health check for each endpoint. For example, create a health check for each HTTP server that is serving content for www.example.com. For the value ofFullyQualifiedDomainName, specify the domain name of the server (such asus-east-2-www.example.com), not the name of the resource record sets (www.example.com).In this configuration, if the value of
FullyQualifiedDomainNamematches the name of the resource record sets and you then associate the health check with those resource record sets, health check results will be unpredictable.In addition, if the value of
TypeisHTTP,HTTPS,HTTP_STR_MATCH, orHTTPS_STR_MATCH, Route 53 passes the value ofFullyQualifiedDomainNamein theHostheader, as it does when you specify a value forIPAddress. If the value ofTypeisTCP, Route 53 doesn’t pass aHostheader.-
search_string(impl Into<String>)/set_search_string(Option<String>):If the value of
TypeisHTTP_STR_MATCHorHTTPS_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Route 53 considers the resource healthy. (You can’t change the value ofTypewhen you update a health check.)failure_threshold(i32)/set_failure_threshold(Option<i32>):The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa. For more information, see How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide.
If you don’t specify a value for
FailureThreshold, the default value is three health checks.inverted(bool)/set_inverted(Option<bool>):Specify whether you want Amazon Route 53 to invert the status of a health check, for example, to consider a health check unhealthy when it otherwise would be considered healthy.
disabled(bool)/set_disabled(Option<bool>):Stops Route 53 from performing health checks. When you disable a health check, here’s what happens:
-
Health checks that check the health of endpoints: Route 53 stops submitting requests to your application, server, or other resource.
-
Calculated health checks: Route 53 stops aggregating the status of the referenced health checks.
-
Health checks that monitor CloudWatch alarms: Route 53 stops monitoring the corresponding CloudWatch metrics.
After you disable a health check, Route 53 considers the status of the health check to always be healthy. If you configured DNS failover, Route 53 continues to route traffic to the corresponding resources. If you want to stop routing traffic to a resource, change the value of Inverted.
Charges for a health check still apply when the health check is disabled. For more information, see Amazon Route 53 Pricing.
-
health_threshold(i32)/set_health_threshold(Option<i32>):The number of child health checks that are associated with a
CALCULATEDhealth that Amazon Route 53 must consider healthy for theCALCULATEDhealth check to be considered healthy. To specify the child health checks that you want to associate with aCALCULATEDhealth check, use theChildHealthChecksandChildHealthCheckelements.Note the following:
-
If you specify a number greater than the number of child health checks, Route 53 always considers this health check to be unhealthy.
-
If you specify
0, Route 53 always considers this health check to be healthy.
-
child_health_checks(Vec<String>)/set_child_health_checks(Option<Vec<String>>):A complex type that contains one
ChildHealthCheckelement for each health check that you want to associate with aCALCULATEDhealth check.enable_sni(bool)/set_enable_sni(Option<bool>):Specify whether you want Amazon Route 53 to send the value of
FullyQualifiedDomainNameto the endpoint in theclient_hellomessage duringTLSnegotiation. This allows the endpoint to respond toHTTPShealth check requests with the applicable SSL/TLS certificate.Some endpoints require that HTTPS requests include the host name in the
client_hellomessage. If you don’t enable SNI, the status of the health check will be SSL alerthandshake_failure. A health check can also have that status for other reasons. If SNI is enabled and you’re still getting the error, check the SSL/TLS configuration on your endpoint and confirm that your certificate is valid.The SSL/TLS certificate on your endpoint includes a domain name in the
Common Namefield and possibly several more in theSubject Alternative Namesfield. One of the domain names in the certificate should match the value that you specify forFullyQualifiedDomainName. If the endpoint responds to theclient_hellomessage with a certificate that does not include the domain name that you specified inFullyQualifiedDomainName, a health checker will retry the handshake. In the second attempt, the health checker will omitFullyQualifiedDomainNamefrom theclient_hellomessage.regions(Vec<HealthCheckRegion>)/set_regions(Option<Vec<HealthCheckRegion>>):A complex type that contains one
Regionelement for each region that you want Amazon Route 53 health checkers to check the specified endpoint from.alarm_identifier(AlarmIdentifier)/set_alarm_identifier(Option<AlarmIdentifier>):A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether the specified health check is healthy.
insufficient_data_health_status(InsufficientDataHealthStatus)/set_insufficient_data_health_status(Option<InsufficientDataHealthStatus>):When CloudWatch has insufficient data about the metric to determine the alarm state, the status that you want Amazon Route 53 to assign to the health check:
-
Healthy: Route 53 considers the health check to be healthy. -
Unhealthy: Route 53 considers the health check to be unhealthy. -
LastKnownStatus: By default, Route 53 uses the status of the health check from the last time CloudWatch had sufficient data to determine the alarm state. For new health checks that have no last known status, the status for the health check is healthy.
-
reset_elements(Vec<ResettableElementName>)/set_reset_elements(Option<Vec<ResettableElementName>>):A complex type that contains one
ResettableElementNameelement for each element that you want to reset to the default value. Valid values forResettableElementNameinclude the following:-
ChildHealthChecks: Amazon Route 53 resets ChildHealthChecks to null. -
FullyQualifiedDomainName: Route 53 resets FullyQualifiedDomainName. to null. -
Regions: Route 53 resets the Regions list to the default set of regions. -
ResourcePath: Route 53 resets ResourcePath to null.
-
- On success, responds with
UpdateHealthCheckOutputwith field(s):health_check(Option<HealthCheck>):A complex type that contains the response to an
UpdateHealthCheckrequest.
- On failure, responds with
SdkError<UpdateHealthCheckError>
sourcepub fn update_hosted_zone_comment(&self) -> UpdateHostedZoneComment
pub fn update_hosted_zone_comment(&self) -> UpdateHostedZoneComment
Constructs a fluent builder for the UpdateHostedZoneComment operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID for the hosted zone that you want to update the comment for.
comment(impl Into<String>)/set_comment(Option<String>):The new comment for the hosted zone. If you don’t specify a value for
Comment, Amazon Route 53 deletes the existing value of theCommentelement, if any.
- On success, responds with
UpdateHostedZoneCommentOutputwith field(s):hosted_zone(Option<HostedZone>):A complex type that contains the response to the
UpdateHostedZoneCommentrequest.
- On failure, responds with
SdkError<UpdateHostedZoneCommentError>
sourcepub fn update_traffic_policy_comment(&self) -> UpdateTrafficPolicyComment
pub fn update_traffic_policy_comment(&self) -> UpdateTrafficPolicyComment
Constructs a fluent builder for the UpdateTrafficPolicyComment operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The value of
Idfor the traffic policy that you want to update the comment for.version(i32)/set_version(Option<i32>):The value of
Versionfor the traffic policy that you want to update the comment for.comment(impl Into<String>)/set_comment(Option<String>):The new comment for the specified traffic policy and version.
- On success, responds with
UpdateTrafficPolicyCommentOutputwith field(s):traffic_policy(Option<TrafficPolicy>):A complex type that contains settings for the specified traffic policy.
- On failure, responds with
SdkError<UpdateTrafficPolicyCommentError>
sourcepub fn update_traffic_policy_instance(&self) -> UpdateTrafficPolicyInstance
pub fn update_traffic_policy_instance(&self) -> UpdateTrafficPolicyInstance
Constructs a fluent builder for the UpdateTrafficPolicyInstance operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the traffic policy instance that you want to update.
ttl(i64)/set_ttl(Option<i64>):The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.
traffic_policy_id(impl Into<String>)/set_traffic_policy_id(Option<String>):The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
traffic_policy_version(i32)/set_traffic_policy_version(Option<i32>):The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.
- On success, responds with
UpdateTrafficPolicyInstanceOutputwith field(s):traffic_policy_instance(Option<TrafficPolicyInstance>):A complex type that contains settings for the updated traffic policy instance.
- On failure, responds with
SdkError<UpdateTrafficPolicyInstanceError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more