awsdns

package
v0.0.0-...-4f62784 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanZoneID

func CleanZoneID(ID string) string

CleanZoneID cleans zone ID.

Types

type AliasTarget

type AliasTarget struct {
	HostedZoneId         string
	DNSName              string
	EvaluateTargetHealth bool
}

AliasTarget represents AliasTarget.

type Awsdns

type Awsdns struct {
}

Awsdns represents Awsdns attribute and method associates with it.

func (*Awsdns) CreateDns

func (awsdns *Awsdns) CreateDns(request interface{}) (resp interface{}, err error)

CreateDns creates awsdns.

func (*Awsdns) DeleteDns

func (awsdns *Awsdns) DeleteDns(request interface{}) (resp interface{}, err error)

func (*Awsdns) ListDns

func (awsdns *Awsdns) ListDns(request interface{}) (resp interface{}, err error)

ListDns ListDns awsdns.

func (*Awsdns) ListResourceDnsRecordSets

func (awsdns *Awsdns) ListResourceDnsRecordSets(request interface{}) (resp interface{}, err error)

ListResourceDnsRecordSets represents awsdns ListResourceDnsRecordSets.

func (*Awsdns) PrepareSignatureV4query

func (awsdns *Awsdns) PrepareSignatureV4query(method, path string, req, resp interface{}, response map[string]interface{}) error

PrepareSignatureV4query prepare signatue for awsdns.

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

type ListResourceDnsRecordSets struct {
	Name       string
	Type       string
	Identifier string
	MaxItems   int
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL