Documentation
¶
Overview ¶
Package route53 provides functionality to manipulate route53 primitives.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrDomainHostedZoneNotFound ¶ added in v1.14.0
type ErrDomainHostedZoneNotFound struct {
// contains filtered or unexported fields
}
ErrDomainHostedZoneNotFound occurs when the domain hosted zone is not found.
func (*ErrDomainHostedZoneNotFound) Error ¶ added in v1.14.0
func (err *ErrDomainHostedZoneNotFound) Error() string
type ErrDomainNotFound ¶ added in v1.14.0
type ErrDomainNotFound struct {
// contains filtered or unexported fields
}
ErrDomainNotFound occurs when the domain is not found in the account.
func (*ErrDomainNotFound) Error ¶ added in v1.14.0
func (err *ErrDomainNotFound) Error() string
type ErrUnmatchedNSRecords ¶ added in v1.25.0
type ErrUnmatchedNSRecords struct {
// contains filtered or unexported fields
}
ErrUnmatchedNSRecords occurs when the NS records associated with the domain do not match the name server records in the route53 hosted zone.
func (*ErrUnmatchedNSRecords) Error ¶ added in v1.25.0
func (err *ErrUnmatchedNSRecords) Error() string
func (*ErrUnmatchedNSRecords) RecommendActions ¶ added in v1.25.0
func (err *ErrUnmatchedNSRecords) RecommendActions() string
RecommendActions implements the main.actionRecommender interface.
type Route53 ¶
type Route53 struct {
// contains filtered or unexported fields
}
Route53 wraps an Route53 client.
func (*Route53) DomainHostedZoneID ¶ added in v1.5.0
DomainHostedZoneID returns the Hosted Zone ID of a domain.
func (*Route53) ValidateDomainOwnership ¶ added in v1.25.0
ValidateDomainOwnership returns nil if the NS records associated with the domain name matches the NS records of the route53 hosted zone for the domain. If there are missing NS records returns ErrUnmatchedNSRecords.