Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CreateAlias(CreateAliasInput) (string, error) CreateResourceRecord(CreateResourceRecordInput) (string, error) ListHostedZones() (HostedZones, error) }
Client represents a method for accessing Amazon Route 53.
type CreateAliasInput ¶
type CreateAliasInput struct {
HostedZoneID, Name, RecordType, Target, TargetHostedZoneID string
}
CreateAliasInput holds configuration parameters for CreateAlias.
type CreateResourceRecordInput ¶
type CreateResourceRecordInput struct {
HostedZoneID, RecordType, Name, Value string
}
CreateResourceRecordInput holds configuration parameters for CreateResourceRecord.
type HostedZone ¶
HostedZone is a zone hosted in Amazon Route 53.
type HostedZones ¶
type HostedZones []HostedZone
HostedZones is a collection of HostedZones.
func (HostedZones) FindSuperDomainOf ¶
func (h HostedZones) FindSuperDomainOf(fqdn string) (HostedZone, bool)
FindSuperDomainOf searches a HostedZones collection for the zone that is the superdomain of the given fully qualified domain name. Returns a HostedZone and a boolean indicating whether a match was found.
type SDKClient ¶
type SDKClient struct {
// contains filtered or unexported fields
}
SDKClient implements access to Amazon Route 53 via the AWS SDK.
func (SDKClient) CreateAlias ¶
func (route53 SDKClient) CreateAlias(i CreateAliasInput) (string, error)
CreateAlias creates an alias record in an Amazon Route 53 hosted zone.
func (SDKClient) CreateResourceRecord ¶
func (route53 SDKClient) CreateResourceRecord(i CreateResourceRecordInput) (string, error)
CreateResourceRecord creates a DNS record in an Amazon Route 53 hosted zone.
func (SDKClient) ListHostedZones ¶
func (route53 SDKClient) ListHostedZones() (HostedZones, error)
ListHostedZones returns all Amazon Route 53 zones in the caller's account.