Documentation ¶
Index ¶
- type AliasTarget
- type ChangeBatch
- type ChangeBatchChanges
- type ChangeInfo
- type ChangeResourceRecordSetsReq
- type CreateHostedZoneRequest
- type CreateHostedZoneResponse
- type DeleteHostedZoneResponse
- type Error
- type GetHostedZoneResponse
- type HealthCheck
- type HostedZone
- type HostedZones
- type ListHostedZonesResponse
- type ListResourceRecordSetsResponse
- type ResourceRecord
- type ResourceRecordSet
- type ResourceRecordSetChange
- type Route53
- func (r *Route53) ChangeResourceRecordSets(zoneId string, changes []ResourceRecordSetChange) (*ChangeInfo, error)
- func (r *Route53) CreateHealthCheck(check *HealthCheck) (*HealthCheck, error)
- func (r *Route53) CreateHostedZone(name, callerRef, comment string) (*CreateHostedZoneResponse, error)
- func (r *Route53) DeleteHealthCheck(id string) error
- func (r *Route53) DeleteHostedZone(id string) (*DeleteHostedZoneResponse, error)
- func (r *Route53) GetChange(id string) (*ChangeInfo, error)
- func (r *Route53) GetHealthCheck(id string) (*HealthCheck, error)
- func (r *Route53) GetHostedZone(id string) (*GetHostedZoneResponse, error)
- func (r *Route53) ListHostedZones(marker string, maxItems int) (*ListHostedZonesResponse, error)
- func (r *Route53) ListResourceRecordSets(zoneId string) (*ListResourceRecordSetsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasTarget ¶
type ChangeBatch ¶
type ChangeBatch struct {
Changes ChangeBatchChanges
}
type ChangeBatchChanges ¶
type ChangeBatchChanges struct {
Change []ResourceRecordSetChange
}
type ChangeInfo ¶
type ChangeResourceRecordSetsReq ¶
type ChangeResourceRecordSetsReq struct { XMLName xml.Name `xml:"https://route53.amazonaws.com/doc/2013-04-01/ ChangeResourceRecordSetsRequest"` Batch ChangeBatch `xml:"ChangeBatch"` }
type CreateHostedZoneRequest ¶
type CreateHostedZoneResponse ¶
type CreateHostedZoneResponse struct { HostedZone HostedZone ChangeInfo ChangeInfo NameServers []string `xml:"DelegationSet>NameServers>NameServer"` }
type DeleteHostedZoneResponse ¶
type DeleteHostedZoneResponse struct {
ChangeInfo ChangeInfo
}
type Error ¶
type GetHostedZoneResponse ¶
type GetHostedZoneResponse struct { HostedZone HostedZone NameServers []string `xml:"DelegationSet>NameServers>NameServer"` }
type HealthCheck ¶
type HealthCheck struct { XMLName xml.Name Id string `xml:",omitempty"` CallerReference string IPAddress string `xml:"HealthCheckConfig>IPAddress"` Port int `xml:"HealthCheckConfig>Port,omitempty"` Type string `xml:"HealthCheckConfig>Type"` ResourcePath string `xml:"HealthCheckConfig>ResourcePath,omitempty"` FQDN string `xml:"HealthCheckConfig>FullyQualifiedDomainName,omitempty"` SearchString string `xml:"HealthCheckConfig>SearchString,omitempty"` RequestInterval int `xml:"HealthCheckConfig>RequestInterval,omitempty"` FailureThreshold int `xml:"HealthCheckConfig>FailureThreshold,omitempty"` }
type HostedZone ¶
type HostedZones ¶
type HostedZones struct {
HostedZone []HostedZone
}
type ListHostedZonesResponse ¶
type ListHostedZonesResponse struct { HostedZones []HostedZones Marker string IsTruncated bool NextMarker string MaxItems int }
type ResourceRecord ¶
type ResourceRecord struct {
Value string
}
type ResourceRecordSet ¶
type ResourceRecordSet struct { Name string Type string SetId string `xml:"SetIdentifier,omitempty"` Weight int `xml:",omitempty"` Region string `xml:",omitempty"` Failover string `xml:",omitempty"` TTL int `xml:",omitempty"` Records []ResourceRecord `xml:"ResourceRecords>ResourceRecord"` HealthCheckId string `xml:",omitempty"` AliasTarget *AliasTarget `xml:",omitempty"` }
type ResourceRecordSetChange ¶
type ResourceRecordSetChange struct { Action string ResourceRecordSet ResourceRecordSet }
type Route53 ¶
func (*Route53) ChangeResourceRecordSets ¶
func (r *Route53) ChangeResourceRecordSets(zoneId string, changes []ResourceRecordSetChange) (*ChangeInfo, error)
func (*Route53) CreateHealthCheck ¶
func (r *Route53) CreateHealthCheck(check *HealthCheck) (*HealthCheck, error)
func (*Route53) CreateHostedZone ¶
func (r *Route53) CreateHostedZone(name, callerRef, comment string) (*CreateHostedZoneResponse, error)
func (*Route53) DeleteHealthCheck ¶
func (*Route53) DeleteHostedZone ¶
func (r *Route53) DeleteHostedZone(id string) (*DeleteHostedZoneResponse, error)
func (*Route53) GetHealthCheck ¶
func (r *Route53) GetHealthCheck(id string) (*HealthCheck, error)
func (*Route53) GetHostedZone ¶
func (r *Route53) GetHostedZone(id string) (*GetHostedZoneResponse, error)
func (*Route53) ListHostedZones ¶
func (r *Route53) ListHostedZones(marker string, maxItems int) (*ListHostedZonesResponse, error)
func (*Route53) ListResourceRecordSets ¶
func (r *Route53) ListResourceRecordSets(zoneId string) (*ListResourceRecordSetsResponse, error)
Click to show internal directories.
Click to hide internal directories.