Documentation ¶
Index ¶
- func CleanZoneID(ID string) string
- type AliasTarget
- type Awsdns
- func (awsdns *Awsdns) CreateDns(request interface{}) (resp interface{}, err error)
- func (awsdns *Awsdns) DeleteDns(request interface{}) (resp interface{}, err error)
- func (awsdns *Awsdns) ListDns(request interface{}) (resp interface{}, err error)
- func (awsdns *Awsdns) ListResourceDnsRecordSets(request interface{}) (resp interface{}, err error)
- func (awsdns *Awsdns) PrepareSignatureV4query(method, path string, req, resp interface{}, response map[string]interface{}) error
- type Change
- type ChangeInfo
- type ChangeResourceRecordSetsRequest
- type ChangeResourceRecordSetsResponse
- type CreateHostedZoneRequest
- type CreateHostedZoneResponse
- type DelegationSet
- type DeleteHostedZoneResponse
- type HostedZone
- type ListHostedZonesResponse
- type ListResourceDnsRecordSets
- type ListResourceRecordSetsResponse
- type ResourceRecordSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AliasTarget ¶
AliasTarget represents AliasTarget.
type Awsdns ¶
type Awsdns struct { }
Awsdns represents Awsdns attribute and method associates with it.
func (*Awsdns) ListResourceDnsRecordSets ¶
ListResourceDnsRecordSets represents awsdns ListResourceDnsRecordSets.
type Change ¶
type Change struct { Action string `xml:"Action"` Record ResourceRecordSet `xml:"ResourceRecordSet"` }
Change represents Change.
type ChangeInfo ¶
type ChangeInfo struct { ID string `xml:"Id"` Status string `xml:"Status"` SubmittedAt string `xml:"SubmittedAt"` }
ChangeInfo represents ChangeInfo.
type ChangeResourceRecordSetsRequest ¶
type ChangeResourceRecordSetsRequest struct { Comment string `xml:"ChangeBatch>Comment,omitempty"` Changes []Change `xml:"ChangeBatch>Changes>Change"` }
ChangeResourceRecordSetsRequest respeptes ChangeResourceRecordSetsRequest.
type ChangeResourceRecordSetsResponse ¶
type ChangeResourceRecordSetsResponse struct {
ChangeInfo ChangeInfo `xml:"ChangeInfo"`
}
ChangeResourceRecordSetsResponse represents ChangeResourceRecordSetsResponse
type CreateHostedZoneRequest ¶
type CreateHostedZoneRequest struct { Name string `xml:"Name"` CallerReference string `xml:"CallerReference"` Comment string `xml:"HostedZoneConfig>Comment"` }
CreateHostedZoneRequest represents CreateHostedZoneRequest.
type CreateHostedZoneResponse ¶
type CreateHostedZoneResponse struct { HostedZone HostedZone `xml:"HostedZone"` ChangeInfo ChangeInfo `xml:"ChangeInfo"` DelegationSet DelegationSet `xml:"DelegationSet"` }
CreateHostedZoneResponse represents CreateHostedZoneResponse.
type DelegationSet ¶
type DelegationSet struct {
NameServers []string `xml:"NameServers>NameServer"`
}
DelegationSet represents DelegationSet.
type DeleteHostedZoneResponse ¶
type DeleteHostedZoneResponse struct {
ChangeInfo ChangeInfo `xml:"ChangeInfo"`
}
DeleteHostedZoneResponse represents DeleteHostedZoneResponse.
type HostedZone ¶
type HostedZone struct { ID string `xml:"Id"` Name string `xml:"Name"` CallerReference string `xml:"CallerReference"` Comment string `xml:"Config>Comment"` ResourceCount int `xml:"ResourceRecordSetCount"` }
HostedZone represents HostedZone.
type ListHostedZonesResponse ¶
type ListHostedZonesResponse struct { HostedZones []HostedZone `xml:"HostedZones>HostedZone"` Marker string `xml:"Marker"` IsTruncated bool `xml:"IsTruncated"` NextMarker string `xml:"NextMarker"` MaxItems int `xml:"MaxItems"` }
ListHostedZonesResponse represents ListHostedZonesResponse.
type ListResourceDnsRecordSets ¶
ListResourceDnsRecordSets represents ListResourceDnsRecordSets.
type ListResourceRecordSetsResponse ¶
type ListResourceRecordSetsResponse struct { Records []ResourceRecordSet `xml:"ResourceRecordSets>ResourceRecordSet"` IsTruncated bool `xml:"IsTruncated"` MaxItems int `xml:"MaxItems"` NextRecordName string `xml:"NextRecordName"` NextRecordType string `xml:"NextRecordType"` NextRecordIdentifier string `xml:"NextRecordIdentifier"` }
ListResourceRecordSetsResponse represents ListResourceRecordSetsResponse.
type ResourceRecordSet ¶
type ResourceRecordSet struct { Name string `xml:"Name"` Type string `xml:"Type"` TTL int `xml:"TTL"` Records []string `xml:"ResourceRecords>ResourceRecord>Value,omitempty"` SetIdentifier string `xml:"SetIdentifier,omitempty"` Weight int `xml:"Weight,omitempty"` HealthCheckId string `xml:"HealthCheckId,omitempty"` Region string `xml:"Region,omitempty"` Failover string `xml:"Failover,omitempty"` AliasTarget *AliasTarget `xml:"AliasTarget,omitempty"` RecordsXML string `xml:",innerxml"` }
ResourceRecordSet represents ResourceRecordSet.