route53

package
v0.0.0-...-d0813e5 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2015 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package route53 provides a client for Amazon Route 53.

Index

Constants

View Source
const (
	ChangeActionCreate = "CREATE"
	ChangeActionDelete = "DELETE"
	ChangeActionUpsert = "UPSERT"
)

Possible values for Route53.

View Source
const (
	ChangeStatusInsync  = "INSYNC"
	ChangeStatusPending = "PENDING"
)

Possible values for Route53.

View Source
const (
	HealthCheckTypeHTTP          = "HTTP"
	HealthCheckTypeHTTPS         = "HTTPS"
	HealthCheckTypeHTTPSStrMatch = "HTTPS_STR_MATCH"
	HealthCheckTypeHTTPStrMatch  = "HTTP_STR_MATCH"
	HealthCheckTypeTCP           = "TCP"
)

Possible values for Route53.

View Source
const (
	RRTypeA     = "A"
	RRTypeAaaa  = "AAAA"
	RRTypeCname = "CNAME"
	RRTypeMx    = "MX"
	RRTypeNs    = "NS"
	RRTypePtr   = "PTR"
	RRTypeSoa   = "SOA"
	RRTypeSpf   = "SPF"
	RRTypeSrv   = "SRV"
	RRTypeTxt   = "TXT"
)

Possible values for Route53.

View Source
const (
	ResourceRecordSetFailoverPrimary   = "PRIMARY"
	ResourceRecordSetFailoverSecondary = "SECONDARY"
)

Possible values for Route53.

View Source
const (
	ResourceRecordSetRegionApNortheast1 = "ap-northeast-1"
	ResourceRecordSetRegionApSoutheast1 = "ap-southeast-1"
	ResourceRecordSetRegionApSoutheast2 = "ap-southeast-2"
	ResourceRecordSetRegionCnNorth1     = "cn-north-1"
	ResourceRecordSetRegionEuCentral1   = "eu-central-1"
	ResourceRecordSetRegionEuWest1      = "eu-west-1"
	ResourceRecordSetRegionSaEast1      = "sa-east-1"
	ResourceRecordSetRegionUsEast1      = "us-east-1"
	ResourceRecordSetRegionUsWest1      = "us-west-1"
	ResourceRecordSetRegionUsWest2      = "us-west-2"
)

Possible values for Route53.

View Source
const (
	TagResourceTypeHealthcheck = "healthcheck"
	TagResourceTypeHostedzone  = "hostedzone"
)

Possible values for Route53.

View Source
const (
	VPCRegionApNortheast1 = "ap-northeast-1"
	VPCRegionApSoutheast1 = "ap-southeast-1"
	VPCRegionApSoutheast2 = "ap-southeast-2"
	VPCRegionCnNorth1     = "cn-north-1"
	VPCRegionEuCentral1   = "eu-central-1"
	VPCRegionEuWest1      = "eu-west-1"
	VPCRegionSaEast1      = "sa-east-1"
	VPCRegionUsEast1      = "us-east-1"
	VPCRegionUsWest1      = "us-west-1"
	VPCRegionUsWest2      = "us-west-2"
)

Possible values for Route53.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliasTarget

type AliasTarget struct {
	XMLName xml.Name

	DNSName              aws.StringValue  `xml:"DNSName"`
	EvaluateTargetHealth aws.BooleanValue `xml:"EvaluateTargetHealth"`
	HostedZoneID         aws.StringValue  `xml:"HostedZoneId"`
}

AliasTarget is undocumented.

func (*AliasTarget) MarshalXML

func (v *AliasTarget) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type AssociateVPCWithHostedZoneRequest

type AssociateVPCWithHostedZoneRequest struct {
	XMLName xml.Name

	Comment      aws.StringValue `xml:"Comment"`
	HostedZoneID aws.StringValue `xml:"-"`
	VPC          *VPC            `xml:"VPC,omitempty"`
}

AssociateVPCWithHostedZoneRequest is undocumented.

func (*AssociateVPCWithHostedZoneRequest) MarshalXML

type AssociateVPCWithHostedZoneResponse

type AssociateVPCWithHostedZoneResponse struct {
	XMLName xml.Name

	ChangeInfo *ChangeInfo `xml:"ChangeInfo,omitempty"`
}

AssociateVPCWithHostedZoneResponse is undocumented.

func (*AssociateVPCWithHostedZoneResponse) MarshalXML

type Change

type Change struct {
	XMLName xml.Name

	Action            aws.StringValue    `xml:"Action"`
	ResourceRecordSet *ResourceRecordSet `xml:"ResourceRecordSet,omitempty"`
}

Change is undocumented.

func (*Change) MarshalXML

func (v *Change) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ChangeBatch

type ChangeBatch struct {
	XMLName xml.Name

	Changes []Change        `xml:"Changes>Change,omitempty"`
	Comment aws.StringValue `xml:"Comment"`
}

ChangeBatch is undocumented.

func (*ChangeBatch) MarshalXML

func (v *ChangeBatch) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ChangeInfo

type ChangeInfo struct {
	XMLName xml.Name

	Comment     aws.StringValue `xml:"Comment"`
	ID          aws.StringValue `xml:"Id"`
	Status      aws.StringValue `xml:"Status"`
	SubmittedAt time.Time       `xml:"SubmittedAt"`
}

ChangeInfo is undocumented.

func (*ChangeInfo) MarshalXML

func (v *ChangeInfo) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ChangeResourceRecordSetsRequest

type ChangeResourceRecordSetsRequest struct {
	XMLName xml.Name

	ChangeBatch  *ChangeBatch    `xml:"ChangeBatch,omitempty"`
	HostedZoneID aws.StringValue `xml:"-"`
}

ChangeResourceRecordSetsRequest is undocumented.

func (*ChangeResourceRecordSetsRequest) MarshalXML

type ChangeResourceRecordSetsResponse

type ChangeResourceRecordSetsResponse struct {
	XMLName xml.Name

	ChangeInfo *ChangeInfo `xml:"ChangeInfo,omitempty"`
}

ChangeResourceRecordSetsResponse is undocumented.

func (*ChangeResourceRecordSetsResponse) MarshalXML

type ChangeTagsForResourceRequest

type ChangeTagsForResourceRequest struct {
	XMLName xml.Name

	AddTags       []Tag           `xml:"AddTags>Tag,omitempty"`
	RemoveTagKeys []string        `xml:"RemoveTagKeys>Key,omitempty"`
	ResourceID    aws.StringValue `xml:"-"`
	ResourceType  aws.StringValue `xml:"-"`
}

ChangeTagsForResourceRequest is undocumented.

func (*ChangeTagsForResourceRequest) MarshalXML

func (v *ChangeTagsForResourceRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ChangeTagsForResourceResponse

type ChangeTagsForResourceResponse struct {
	XMLName xml.Name
}

ChangeTagsForResourceResponse is undocumented.

func (*ChangeTagsForResourceResponse) MarshalXML

type CreateHealthCheckRequest

type CreateHealthCheckRequest struct {
	XMLName xml.Name

	CallerReference   aws.StringValue    `xml:"CallerReference"`
	HealthCheckConfig *HealthCheckConfig `xml:"HealthCheckConfig,omitempty"`
}

CreateHealthCheckRequest is undocumented.

func (*CreateHealthCheckRequest) MarshalXML

func (v *CreateHealthCheckRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CreateHealthCheckResponse

type CreateHealthCheckResponse struct {
	XMLName xml.Name

	HealthCheck *HealthCheck    `xml:"HealthCheck,omitempty"`
	Location    aws.StringValue `xml:"-"`
}

CreateHealthCheckResponse is undocumented.

func (*CreateHealthCheckResponse) MarshalXML

func (v *CreateHealthCheckResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CreateHostedZoneRequest

type CreateHostedZoneRequest struct {
	XMLName xml.Name

	CallerReference  aws.StringValue   `xml:"CallerReference"`
	DelegationSetID  aws.StringValue   `xml:"DelegationSetId"`
	HostedZoneConfig *HostedZoneConfig `xml:"HostedZoneConfig,omitempty"`
	Name             aws.StringValue   `xml:"Name"`
	VPC              *VPC              `xml:"VPC,omitempty"`
}

CreateHostedZoneRequest is undocumented.

func (*CreateHostedZoneRequest) MarshalXML

func (v *CreateHostedZoneRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CreateHostedZoneResponse

type CreateHostedZoneResponse struct {
	XMLName xml.Name

	ChangeInfo    *ChangeInfo     `xml:"ChangeInfo,omitempty"`
	DelegationSet *DelegationSet  `xml:"DelegationSet,omitempty"`
	HostedZone    *HostedZone     `xml:"HostedZone,omitempty"`
	Location      aws.StringValue `xml:"-"`
	VPC           *VPC            `xml:"VPC,omitempty"`
}

CreateHostedZoneResponse is undocumented.

func (*CreateHostedZoneResponse) MarshalXML

func (v *CreateHostedZoneResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type CreateReusableDelegationSetRequest

type CreateReusableDelegationSetRequest struct {
	XMLName xml.Name

	CallerReference aws.StringValue `xml:"CallerReference"`
	HostedZoneID    aws.StringValue `xml:"HostedZoneId"`
}

CreateReusableDelegationSetRequest is undocumented.

func (*CreateReusableDelegationSetRequest) MarshalXML

type CreateReusableDelegationSetResponse

type CreateReusableDelegationSetResponse struct {
	XMLName xml.Name

	DelegationSet *DelegationSet  `xml:"DelegationSet,omitempty"`
	Location      aws.StringValue `xml:"-"`
}

CreateReusableDelegationSetResponse is undocumented.

func (*CreateReusableDelegationSetResponse) MarshalXML

type DelegationSet

type DelegationSet struct {
	XMLName xml.Name

	CallerReference aws.StringValue `xml:"CallerReference"`
	ID              aws.StringValue `xml:"Id"`
	NameServers     []string        `xml:"NameServers>NameServer,omitempty"`
}

DelegationSet is undocumented.

func (*DelegationSet) MarshalXML

func (v *DelegationSet) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteHealthCheckRequest

type DeleteHealthCheckRequest struct {
	XMLName xml.Name

	HealthCheckID aws.StringValue `xml:"-"`
}

DeleteHealthCheckRequest is undocumented.

func (*DeleteHealthCheckRequest) MarshalXML

func (v *DeleteHealthCheckRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteHealthCheckResponse

type DeleteHealthCheckResponse struct {
	XMLName xml.Name
}

DeleteHealthCheckResponse is undocumented.

func (*DeleteHealthCheckResponse) MarshalXML

func (v *DeleteHealthCheckResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteHostedZoneRequest

type DeleteHostedZoneRequest struct {
	XMLName xml.Name

	ID aws.StringValue `xml:"-"`
}

DeleteHostedZoneRequest is undocumented.

func (*DeleteHostedZoneRequest) MarshalXML

func (v *DeleteHostedZoneRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteHostedZoneResponse

type DeleteHostedZoneResponse struct {
	XMLName xml.Name

	ChangeInfo *ChangeInfo `xml:"ChangeInfo,omitempty"`
}

DeleteHostedZoneResponse is undocumented.

func (*DeleteHostedZoneResponse) MarshalXML

func (v *DeleteHostedZoneResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type DeleteReusableDelegationSetRequest

type DeleteReusableDelegationSetRequest struct {
	XMLName xml.Name

	ID aws.StringValue `xml:"-"`
}

DeleteReusableDelegationSetRequest is undocumented.

func (*DeleteReusableDelegationSetRequest) MarshalXML

type DeleteReusableDelegationSetResponse

type DeleteReusableDelegationSetResponse struct {
	XMLName xml.Name
}

DeleteReusableDelegationSetResponse is undocumented.

func (*DeleteReusableDelegationSetResponse) MarshalXML

type DisassociateVPCFromHostedZoneRequest

type DisassociateVPCFromHostedZoneRequest struct {
	XMLName xml.Name

	Comment      aws.StringValue `xml:"Comment"`
	HostedZoneID aws.StringValue `xml:"-"`
	VPC          *VPC            `xml:"VPC,omitempty"`
}

DisassociateVPCFromHostedZoneRequest is undocumented.

func (*DisassociateVPCFromHostedZoneRequest) MarshalXML

type DisassociateVPCFromHostedZoneResponse

type DisassociateVPCFromHostedZoneResponse struct {
	XMLName xml.Name

	ChangeInfo *ChangeInfo `xml:"ChangeInfo,omitempty"`
}

DisassociateVPCFromHostedZoneResponse is undocumented.

func (*DisassociateVPCFromHostedZoneResponse) MarshalXML

type GeoLocation

type GeoLocation struct {
	XMLName xml.Name

	ContinentCode   aws.StringValue `xml:"ContinentCode"`
	CountryCode     aws.StringValue `xml:"CountryCode"`
	SubdivisionCode aws.StringValue `xml:"SubdivisionCode"`
}

GeoLocation is undocumented.

func (*GeoLocation) MarshalXML

func (v *GeoLocation) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GeoLocationDetails

type GeoLocationDetails struct {
	XMLName xml.Name

	ContinentCode   aws.StringValue `xml:"ContinentCode"`
	ContinentName   aws.StringValue `xml:"ContinentName"`
	CountryCode     aws.StringValue `xml:"CountryCode"`
	CountryName     aws.StringValue `xml:"CountryName"`
	SubdivisionCode aws.StringValue `xml:"SubdivisionCode"`
	SubdivisionName aws.StringValue `xml:"SubdivisionName"`
}

GeoLocationDetails is undocumented.

func (*GeoLocationDetails) MarshalXML

func (v *GeoLocationDetails) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetChangeRequest

type GetChangeRequest struct {
	XMLName xml.Name

	ID aws.StringValue `xml:"-"`
}

GetChangeRequest is undocumented.

func (*GetChangeRequest) MarshalXML

func (v *GetChangeRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetChangeResponse

type GetChangeResponse struct {
	XMLName xml.Name

	ChangeInfo *ChangeInfo `xml:"ChangeInfo,omitempty"`
}

GetChangeResponse is undocumented.

func (*GetChangeResponse) MarshalXML

func (v *GetChangeResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetCheckerIPRangesRequest

type GetCheckerIPRangesRequest struct {
	XMLName xml.Name
}

GetCheckerIPRangesRequest is undocumented.

func (*GetCheckerIPRangesRequest) MarshalXML

func (v *GetCheckerIPRangesRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetCheckerIPRangesResponse

type GetCheckerIPRangesResponse struct {
	XMLName xml.Name

	CheckerIPRanges []string `xml:"CheckerIpRanges,omitempty"`
}

GetCheckerIPRangesResponse is undocumented.

func (*GetCheckerIPRangesResponse) MarshalXML

func (v *GetCheckerIPRangesResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetGeoLocationRequest

type GetGeoLocationRequest struct {
	XMLName xml.Name

	ContinentCode   aws.StringValue `xml:"-"`
	CountryCode     aws.StringValue `xml:"-"`
	SubdivisionCode aws.StringValue `xml:"-"`
}

GetGeoLocationRequest is undocumented.

func (*GetGeoLocationRequest) MarshalXML

func (v *GetGeoLocationRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetGeoLocationResponse

type GetGeoLocationResponse struct {
	XMLName xml.Name

	GeoLocationDetails *GeoLocationDetails `xml:"GeoLocationDetails,omitempty"`
}

GetGeoLocationResponse is undocumented.

func (*GetGeoLocationResponse) MarshalXML

func (v *GetGeoLocationResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetHealthCheckCountRequest

type GetHealthCheckCountRequest struct {
	XMLName xml.Name
}

GetHealthCheckCountRequest is undocumented.

func (*GetHealthCheckCountRequest) MarshalXML

func (v *GetHealthCheckCountRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetHealthCheckCountResponse

type GetHealthCheckCountResponse struct {
	XMLName xml.Name

	HealthCheckCount aws.LongValue `xml:"HealthCheckCount"`
}

GetHealthCheckCountResponse is undocumented.

func (*GetHealthCheckCountResponse) MarshalXML

func (v *GetHealthCheckCountResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetHealthCheckLastFailureReasonRequest

type GetHealthCheckLastFailureReasonRequest struct {
	XMLName xml.Name

	HealthCheckID aws.StringValue `xml:"-"`
}

GetHealthCheckLastFailureReasonRequest is undocumented.

func (*GetHealthCheckLastFailureReasonRequest) MarshalXML

type GetHealthCheckLastFailureReasonResponse

type GetHealthCheckLastFailureReasonResponse struct {
	XMLName xml.Name

	HealthCheckObservations []HealthCheckObservation `xml:"HealthCheckObservations>HealthCheckObservation,omitempty"`
}

GetHealthCheckLastFailureReasonResponse is undocumented.

func (*GetHealthCheckLastFailureReasonResponse) MarshalXML

type GetHealthCheckRequest

type GetHealthCheckRequest struct {
	XMLName xml.Name

	HealthCheckID aws.StringValue `xml:"-"`
}

GetHealthCheckRequest is undocumented.

func (*GetHealthCheckRequest) MarshalXML

func (v *GetHealthCheckRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetHealthCheckResponse

type GetHealthCheckResponse struct {
	XMLName xml.Name

	HealthCheck *HealthCheck `xml:"HealthCheck,omitempty"`
}

GetHealthCheckResponse is undocumented.

func (*GetHealthCheckResponse) MarshalXML

func (v *GetHealthCheckResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetHealthCheckStatusRequest

type GetHealthCheckStatusRequest struct {
	XMLName xml.Name

	HealthCheckID aws.StringValue `xml:"-"`
}

GetHealthCheckStatusRequest is undocumented.

func (*GetHealthCheckStatusRequest) MarshalXML

func (v *GetHealthCheckStatusRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetHealthCheckStatusResponse

type GetHealthCheckStatusResponse struct {
	XMLName xml.Name

	HealthCheckObservations []HealthCheckObservation `xml:"HealthCheckObservations>HealthCheckObservation,omitempty"`
}

GetHealthCheckStatusResponse is undocumented.

func (*GetHealthCheckStatusResponse) MarshalXML

func (v *GetHealthCheckStatusResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetHostedZoneRequest

type GetHostedZoneRequest struct {
	XMLName xml.Name

	ID aws.StringValue `xml:"-"`
}

GetHostedZoneRequest is undocumented.

func (*GetHostedZoneRequest) MarshalXML

func (v *GetHostedZoneRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetHostedZoneResponse

type GetHostedZoneResponse struct {
	XMLName xml.Name

	DelegationSet *DelegationSet `xml:"DelegationSet,omitempty"`
	HostedZone    *HostedZone    `xml:"HostedZone,omitempty"`
	VPCs          []VPC          `xml:"VPCs>VPC,omitempty"`
}

GetHostedZoneResponse is undocumented.

func (*GetHostedZoneResponse) MarshalXML

func (v *GetHostedZoneResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type GetReusableDelegationSetRequest

type GetReusableDelegationSetRequest struct {
	XMLName xml.Name

	ID aws.StringValue `xml:"-"`
}

GetReusableDelegationSetRequest is undocumented.

func (*GetReusableDelegationSetRequest) MarshalXML

type GetReusableDelegationSetResponse

type GetReusableDelegationSetResponse struct {
	XMLName xml.Name

	DelegationSet *DelegationSet `xml:"DelegationSet,omitempty"`
}

GetReusableDelegationSetResponse is undocumented.

func (*GetReusableDelegationSetResponse) MarshalXML

type HealthCheck

type HealthCheck struct {
	XMLName xml.Name

	CallerReference    aws.StringValue    `xml:"CallerReference"`
	HealthCheckConfig  *HealthCheckConfig `xml:"HealthCheckConfig,omitempty"`
	HealthCheckVersion aws.LongValue      `xml:"HealthCheckVersion"`
	ID                 aws.StringValue    `xml:"Id"`
}

HealthCheck is undocumented.

func (*HealthCheck) MarshalXML

func (v *HealthCheck) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type HealthCheckConfig

type HealthCheckConfig struct {
	XMLName xml.Name

	FailureThreshold         aws.IntegerValue `xml:"FailureThreshold"`
	FullyQualifiedDomainName aws.StringValue  `xml:"FullyQualifiedDomainName"`
	IPAddress                aws.StringValue  `xml:"IPAddress"`
	Port                     aws.IntegerValue `xml:"Port"`
	RequestInterval          aws.IntegerValue `xml:"RequestInterval"`
	ResourcePath             aws.StringValue  `xml:"ResourcePath"`
	SearchString             aws.StringValue  `xml:"SearchString"`
	Type                     aws.StringValue  `xml:"Type"`
}

HealthCheckConfig is undocumented.

func (*HealthCheckConfig) MarshalXML

func (v *HealthCheckConfig) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type HealthCheckObservation

type HealthCheckObservation struct {
	XMLName xml.Name

	IPAddress    aws.StringValue `xml:"IPAddress"`
	StatusReport *StatusReport   `xml:"StatusReport,omitempty"`
}

HealthCheckObservation is undocumented.

func (*HealthCheckObservation) MarshalXML

func (v *HealthCheckObservation) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type HostedZone

type HostedZone struct {
	XMLName xml.Name

	CallerReference        aws.StringValue   `xml:"CallerReference"`
	Config                 *HostedZoneConfig `xml:"Config,omitempty"`
	ID                     aws.StringValue   `xml:"Id"`
	Name                   aws.StringValue   `xml:"Name"`
	ResourceRecordSetCount aws.LongValue     `xml:"ResourceRecordSetCount"`
}

HostedZone is undocumented.

func (*HostedZone) MarshalXML

func (v *HostedZone) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type HostedZoneConfig

type HostedZoneConfig struct {
	XMLName xml.Name

	Comment     aws.StringValue  `xml:"Comment"`
	PrivateZone aws.BooleanValue `xml:"PrivateZone"`
}

HostedZoneConfig is undocumented.

func (*HostedZoneConfig) MarshalXML

func (v *HostedZoneConfig) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListGeoLocationsRequest

type ListGeoLocationsRequest struct {
	XMLName xml.Name

	MaxItems             aws.StringValue `xml:"-"`
	StartContinentCode   aws.StringValue `xml:"-"`
	StartCountryCode     aws.StringValue `xml:"-"`
	StartSubdivisionCode aws.StringValue `xml:"-"`
}

ListGeoLocationsRequest is undocumented.

func (*ListGeoLocationsRequest) MarshalXML

func (v *ListGeoLocationsRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListGeoLocationsResponse

type ListGeoLocationsResponse struct {
	XMLName xml.Name

	GeoLocationDetailsList []GeoLocationDetails `xml:"GeoLocationDetailsList>GeoLocationDetails,omitempty"`
	IsTruncated            aws.BooleanValue     `xml:"IsTruncated"`
	MaxItems               aws.StringValue      `xml:"MaxItems"`
	NextContinentCode      aws.StringValue      `xml:"NextContinentCode"`
	NextCountryCode        aws.StringValue      `xml:"NextCountryCode"`
	NextSubdivisionCode    aws.StringValue      `xml:"NextSubdivisionCode"`
}

ListGeoLocationsResponse is undocumented.

func (*ListGeoLocationsResponse) MarshalXML

func (v *ListGeoLocationsResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListHealthChecksRequest

type ListHealthChecksRequest struct {
	XMLName xml.Name

	Marker   aws.StringValue `xml:"-"`
	MaxItems aws.StringValue `xml:"-"`
}

ListHealthChecksRequest is undocumented.

func (*ListHealthChecksRequest) MarshalXML

func (v *ListHealthChecksRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListHealthChecksResponse

type ListHealthChecksResponse struct {
	XMLName xml.Name

	HealthChecks []HealthCheck    `xml:"HealthChecks>HealthCheck,omitempty"`
	IsTruncated  aws.BooleanValue `xml:"IsTruncated"`
	Marker       aws.StringValue  `xml:"Marker"`
	MaxItems     aws.StringValue  `xml:"MaxItems"`
	NextMarker   aws.StringValue  `xml:"NextMarker"`
}

ListHealthChecksResponse is undocumented.

func (*ListHealthChecksResponse) MarshalXML

func (v *ListHealthChecksResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListHostedZonesRequest

type ListHostedZonesRequest struct {
	XMLName xml.Name

	DelegationSetID aws.StringValue `xml:"-"`
	Marker          aws.StringValue `xml:"-"`
	MaxItems        aws.StringValue `xml:"-"`
}

ListHostedZonesRequest is undocumented.

func (*ListHostedZonesRequest) MarshalXML

func (v *ListHostedZonesRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListHostedZonesResponse

type ListHostedZonesResponse struct {
	XMLName xml.Name

	HostedZones []HostedZone     `xml:"HostedZones>HostedZone,omitempty"`
	IsTruncated aws.BooleanValue `xml:"IsTruncated"`
	Marker      aws.StringValue  `xml:"Marker"`
	MaxItems    aws.StringValue  `xml:"MaxItems"`
	NextMarker  aws.StringValue  `xml:"NextMarker"`
}

ListHostedZonesResponse is undocumented.

func (*ListHostedZonesResponse) MarshalXML

func (v *ListHostedZonesResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListResourceRecordSetsRequest

type ListResourceRecordSetsRequest struct {
	XMLName xml.Name

	HostedZoneID          aws.StringValue `xml:"-"`
	MaxItems              aws.StringValue `xml:"-"`
	StartRecordIdentifier aws.StringValue `xml:"-"`
	StartRecordName       aws.StringValue `xml:"-"`
	StartRecordType       aws.StringValue `xml:"-"`
}

ListResourceRecordSetsRequest is undocumented.

func (*ListResourceRecordSetsRequest) MarshalXML

type ListResourceRecordSetsResponse

type ListResourceRecordSetsResponse struct {
	XMLName xml.Name

	IsTruncated          aws.BooleanValue    `xml:"IsTruncated"`
	MaxItems             aws.StringValue     `xml:"MaxItems"`
	NextRecordIdentifier aws.StringValue     `xml:"NextRecordIdentifier"`
	NextRecordName       aws.StringValue     `xml:"NextRecordName"`
	NextRecordType       aws.StringValue     `xml:"NextRecordType"`
	ResourceRecordSets   []ResourceRecordSet `xml:"ResourceRecordSets>ResourceRecordSet,omitempty"`
}

ListResourceRecordSetsResponse is undocumented.

func (*ListResourceRecordSetsResponse) MarshalXML

type ListReusableDelegationSetsRequest

type ListReusableDelegationSetsRequest struct {
	XMLName xml.Name

	Marker   aws.StringValue `xml:"-"`
	MaxItems aws.StringValue `xml:"-"`
}

ListReusableDelegationSetsRequest is undocumented.

func (*ListReusableDelegationSetsRequest) MarshalXML

type ListReusableDelegationSetsResponse

type ListReusableDelegationSetsResponse struct {
	XMLName xml.Name

	DelegationSets []DelegationSet  `xml:"DelegationSets>DelegationSet,omitempty"`
	IsTruncated    aws.BooleanValue `xml:"IsTruncated"`
	Marker         aws.StringValue  `xml:"Marker"`
	MaxItems       aws.StringValue  `xml:"MaxItems"`
	NextMarker     aws.StringValue  `xml:"NextMarker"`
}

ListReusableDelegationSetsResponse is undocumented.

func (*ListReusableDelegationSetsResponse) MarshalXML

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	XMLName xml.Name

	ResourceID   aws.StringValue `xml:"-"`
	ResourceType aws.StringValue `xml:"-"`
}

ListTagsForResourceRequest is undocumented.

func (*ListTagsForResourceRequest) MarshalXML

func (v *ListTagsForResourceRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListTagsForResourceResponse

type ListTagsForResourceResponse struct {
	XMLName xml.Name

	ResourceTagSet *ResourceTagSet `xml:"ResourceTagSet,omitempty"`
}

ListTagsForResourceResponse is undocumented.

func (*ListTagsForResourceResponse) MarshalXML

func (v *ListTagsForResourceResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListTagsForResourcesRequest

type ListTagsForResourcesRequest struct {
	XMLName xml.Name

	ResourceIDs  []string        `xml:"ResourceIds>ResourceId,omitempty"`
	ResourceType aws.StringValue `xml:"-"`
}

ListTagsForResourcesRequest is undocumented.

func (*ListTagsForResourcesRequest) MarshalXML

func (v *ListTagsForResourcesRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ListTagsForResourcesResponse

type ListTagsForResourcesResponse struct {
	XMLName xml.Name

	ResourceTagSets []ResourceTagSet `xml:"ResourceTagSets>ResourceTagSet,omitempty"`
}

ListTagsForResourcesResponse is undocumented.

func (*ListTagsForResourcesResponse) MarshalXML

func (v *ListTagsForResourcesResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ResourceRecord

type ResourceRecord struct {
	XMLName xml.Name

	Value aws.StringValue `xml:"Value"`
}

ResourceRecord is undocumented.

func (*ResourceRecord) MarshalXML

func (v *ResourceRecord) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ResourceRecordSet

type ResourceRecordSet struct {
	XMLName xml.Name

	AliasTarget     *AliasTarget     `xml:"AliasTarget,omitempty"`
	Failover        aws.StringValue  `xml:"Failover"`
	GeoLocation     *GeoLocation     `xml:"GeoLocation,omitempty"`
	HealthCheckID   aws.StringValue  `xml:"HealthCheckId"`
	Name            aws.StringValue  `xml:"Name"`
	Region          aws.StringValue  `xml:"Region"`
	ResourceRecords []ResourceRecord `xml:"ResourceRecords>ResourceRecord,omitempty"`
	SetIdentifier   aws.StringValue  `xml:"SetIdentifier"`
	TTL             aws.LongValue    `xml:"TTL"`
	Type            aws.StringValue  `xml:"Type"`
	Weight          aws.LongValue    `xml:"Weight"`
}

ResourceRecordSet is undocumented.

func (*ResourceRecordSet) MarshalXML

func (v *ResourceRecordSet) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type ResourceTagSet

type ResourceTagSet struct {
	XMLName xml.Name

	ResourceID   aws.StringValue `xml:"ResourceId"`
	ResourceType aws.StringValue `xml:"ResourceType"`
	Tags         []Tag           `xml:"Tags>Tag,omitempty"`
}

ResourceTagSet is undocumented.

func (*ResourceTagSet) MarshalXML

func (v *ResourceTagSet) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Route53

type Route53 struct {
	// contains filtered or unexported fields
}

Route53 is a client for Amazon Route 53.

func New

func New(creds aws.CredentialsProvider, region string, client *http.Client) *Route53

New returns a new Route53 client.

func (*Route53) AssociateVPCWithHostedZone

func (c *Route53) AssociateVPCWithHostedZone(req *AssociateVPCWithHostedZoneRequest) (resp *AssociateVPCWithHostedZoneResponse, err error)

AssociateVPCWithHostedZone this action associates a VPC with an hosted zone. To associate a VPC with an hosted zone, send a request to the 2013-04-01/hostedzone/ hosted zone /associatevpc resource. The request body must include an XML document with a AssociateVPCWithHostedZoneRequest element. The response returns the AssociateVPCWithHostedZoneResponse element that contains ChangeInfo for you to track the progress of the AssociateVPCWithHostedZoneRequest you made. See GetChange operation for how to track the progress of your change.

func (*Route53) ChangeResourceRecordSets

func (c *Route53) ChangeResourceRecordSets(req *ChangeResourceRecordSetsRequest) (resp *ChangeResourceRecordSetsResponse, err error)

ChangeResourceRecordSets use this action to create or change your authoritative DNS information. To use this action, send a request to the 2013-04-01/hostedzone/ hosted Zone /rrset resource. The request body must include an XML document with a ChangeResourceRecordSetsRequest element. Changes are a list of change items and are considered transactional. For more information on transactional changes, also known as change batches, see Creating, Changing, and Deleting Resource Record Sets Using the Route 53 in the Amazon Route 53 Developer Guide Due to the nature of transactional changes, you cannot delete the same resource record set more than once in a single change batch. If you attempt to delete the same change batch more than once, Route 53 returns an InvalidChangeBatch error. In response to a ChangeResourceRecordSets request, your DNS data is changed on all Route 53 DNS servers. Initially, the status of a change is . This means the change has not yet propagated to all the authoritative Route 53 DNS servers. When the change is propagated to all hosts, the change returns a status of Note the following limitations on a ChangeResourceRecordSets request: - A request cannot contain more than 100 Change elements. - A request cannot contain more than 1000 ResourceRecord elements. The sum of the number of characters (including spaces) in all Value elements in a request cannot exceed 32,000 characters.

func (*Route53) ChangeTagsForResource

func (c *Route53) ChangeTagsForResource(req *ChangeTagsForResourceRequest) (resp *ChangeTagsForResourceResponse, err error)

ChangeTagsForResource <nil>

func (*Route53) CreateHealthCheck

func (c *Route53) CreateHealthCheck(req *CreateHealthCheckRequest) (resp *CreateHealthCheckResponse, err error)

CreateHealthCheck this action creates a new health check. To create a new health check, send a request to the 2013-04-01/healthcheck resource. The request body must include an XML document with a CreateHealthCheckRequest element. The response returns the CreateHealthCheckResponse element that contains metadata about the health check.

func (*Route53) CreateHostedZone

func (c *Route53) CreateHostedZone(req *CreateHostedZoneRequest) (resp *CreateHostedZoneResponse, err error)

CreateHostedZone this action creates a new hosted zone. To create a new hosted zone, send a request to the 2013-04-01/hostedzone resource. The request body must include an XML document with a CreateHostedZoneRequest element. The response returns the CreateHostedZoneResponse element that contains metadata about the hosted zone. Route 53 automatically creates a default SOA record and four NS records for the zone. The NS records in the hosted zone are the name servers you give your registrar to delegate your domain to. For more information about SOA and NS records, see NS and SOA Records that Route 53 Creates for a Hosted Zone in the Amazon Route 53 Developer Guide When you create a zone, its initial status is . This means that it is not yet available on all DNS servers. The status of the zone changes to when the NS and SOA records are available on all Route 53 DNS servers. When trying to create a hosted zone using a reusable delegation set, you could specify an optional DelegationSetId, and Route53 would assign those 4 NS records for the zone, instead of alloting a new one.

func (*Route53) CreateReusableDelegationSet

func (c *Route53) CreateReusableDelegationSet(req *CreateReusableDelegationSetRequest) (resp *CreateReusableDelegationSetResponse, err error)

CreateReusableDelegationSet this action creates a reusable delegationSet. To create a new reusable delegationSet, send a request to the 2013-04-01/delegationset resource. The request body must include an XML document with a CreateReusableDelegationSetRequest element. The response returns the CreateReusableDelegationSetResponse element that contains metadata about the delegationSet. If the optional parameter HostedZoneId is specified, it marks the delegationSet associated with that particular hosted zone as reusable.

func (*Route53) DeleteHealthCheck

func (c *Route53) DeleteHealthCheck(req *DeleteHealthCheckRequest) (resp *DeleteHealthCheckResponse, err error)

DeleteHealthCheck this action deletes a health check. To delete a health check, send a request to the 2013-04-01/healthcheck/ health check resource. You can delete a health check only if there are no resource record sets associated with this health check. If resource record sets are associated with this health check, you must disassociate them before you can delete your health check. If you try to delete a health check that is associated with resource record sets, Route 53 will deny your request with a HealthCheckInUse error. For information about disassociating the records from your health check, see ChangeResourceRecordSets

func (*Route53) DeleteHostedZone

func (c *Route53) DeleteHostedZone(req *DeleteHostedZoneRequest) (resp *DeleteHostedZoneResponse, err error)

DeleteHostedZone this action deletes a hosted zone. To delete a hosted zone, send a request to the 2013-04-01/hostedzone/ hosted zone resource. For more information about deleting a hosted zone, see Deleting a Hosted Zone in the Amazon Route 53 Developer Guide You can delete a hosted zone only if there are no resource record sets other than the default SOA record and NS resource record sets. If your hosted zone contains other resource record sets, you must delete them before you can delete your hosted zone. If you try to delete a hosted zone that contains other resource record sets, Route 53 will deny your request with a HostedZoneNotEmpty error. For information about deleting records from your hosted zone, see ChangeResourceRecordSets

func (*Route53) DeleteReusableDelegationSet

func (c *Route53) DeleteReusableDelegationSet(req *DeleteReusableDelegationSetRequest) (resp *DeleteReusableDelegationSetResponse, err error)

DeleteReusableDelegationSet this action deletes a reusable delegation set. To delete a reusable delegation set, send a request to the 2013-04-01/delegationset/ delegation set resource. You can delete a reusable delegation set only if there are no associated hosted zones. If your reusable delegation set contains associated hosted zones, you must delete them before you can delete your reusable delegation set. If you try to delete a reusable delegation set that contains associated hosted zones, Route 53 will deny your request with a DelegationSetInUse error.

func (*Route53) DisassociateVPCFromHostedZone

func (c *Route53) DisassociateVPCFromHostedZone(req *DisassociateVPCFromHostedZoneRequest) (resp *DisassociateVPCFromHostedZoneResponse, err error)

DisassociateVPCFromHostedZone this action disassociates a VPC from an hosted zone. To disassociate a VPC to a hosted zone, send a request to the 2013-04-01/hostedzone/ hosted zone /disassociatevpc resource. The request body must include an XML document with a DisassociateVPCFromHostedZoneRequest element. The response returns the DisassociateVPCFromHostedZoneResponse element that contains ChangeInfo for you to track the progress of the DisassociateVPCFromHostedZoneRequest you made. See GetChange operation for how to track the progress of your change.

func (*Route53) GetChange

func (c *Route53) GetChange(req *GetChangeRequest) (resp *GetChangeResponse, err error)

GetChange this action returns the current status of a change batch request. The status is one of the following values: - indicates that the changes in this request have not replicated to all Route 53 DNS servers. This is the initial status of all change batch requests. - indicates that the changes have replicated to all Amazon Route 53 DNS servers.

func (*Route53) GetCheckerIPRanges

func (c *Route53) GetCheckerIPRanges(req *GetCheckerIPRangesRequest) (resp *GetCheckerIPRangesResponse, err error)

GetCheckerIPRanges to retrieve a list of the IP ranges used by Amazon Route 53 health checkers to check the health of your resources, send a request to the 2013-04-01/checkeripranges resource. You can use these IP addresses to configure router and firewall rules to allow health checkers to check the health of your resources.

func (*Route53) GetGeoLocation

func (c *Route53) GetGeoLocation(req *GetGeoLocationRequest) (resp *GetGeoLocationResponse, err error)

GetGeoLocation to retrieve a single geo location, send a request to the 2013-04-01/geolocation resource with one of these options: continentcode | countrycode | countrycode and subdivisioncode.

func (*Route53) GetHealthCheck

func (c *Route53) GetHealthCheck(req *GetHealthCheckRequest) (resp *GetHealthCheckResponse, err error)

GetHealthCheck to retrieve the health check, send a request to the 2013-04-01/healthcheck/ health check resource.

func (*Route53) GetHealthCheckCount

func (c *Route53) GetHealthCheckCount(req *GetHealthCheckCountRequest) (resp *GetHealthCheckCountResponse, err error)

GetHealthCheckCount to retrieve a count of all your health checks, send a request to the 2013-04-01/healthcheckcount resource.

func (*Route53) GetHealthCheckLastFailureReason

func (c *Route53) GetHealthCheckLastFailureReason(req *GetHealthCheckLastFailureReasonRequest) (resp *GetHealthCheckLastFailureReasonResponse, err error)

GetHealthCheckLastFailureReason if you want to learn why a health check is currently failing or why it failed most recently (if at all), you can get the failure reason for the most recent failure. Send a request to the 2013-04-01/healthcheck/ health check /lastfailurereason resource.

func (*Route53) GetHealthCheckStatus

func (c *Route53) GetHealthCheckStatus(req *GetHealthCheckStatusRequest) (resp *GetHealthCheckStatusResponse, err error)

GetHealthCheckStatus to retrieve the health check status, send a request to the 2013-04-01/healthcheck/ health check /status resource. You can use this call to get a health check's current status.

func (*Route53) GetHostedZone

func (c *Route53) GetHostedZone(req *GetHostedZoneRequest) (resp *GetHostedZoneResponse, err error)

GetHostedZone to retrieve the delegation set for a hosted zone, send a request to the 2013-04-01/hostedzone/ hosted zone resource. The delegation set is the four Route 53 name servers that were assigned to the hosted zone when you created it.

func (*Route53) GetReusableDelegationSet

func (c *Route53) GetReusableDelegationSet(req *GetReusableDelegationSetRequest) (resp *GetReusableDelegationSetResponse, err error)

GetReusableDelegationSet to retrieve the reusable delegation set, send a request to the 2013-04-01/delegationset/ delegation set resource.

func (*Route53) ListGeoLocations

func (c *Route53) ListGeoLocations(req *ListGeoLocationsRequest) (resp *ListGeoLocationsResponse, err error)

ListGeoLocations to retrieve a list of supported geo locations, send a request to the 2013-04-01/geolocations resource. The response to this request includes a GeoLocationDetailsList element with zero, one, or multiple GeoLocationDetails child elements. The list is sorted by country code, and then subdivision code, followed by continents at the end of the list. By default, the list of geo locations is displayed on a single page. You can control the length of the page that is displayed by using the MaxItems parameter. If the list is truncated, IsTruncated will be set to true and a combination of NextContinentCode, NextCountryCode, NextSubdivisionCode will be populated. You can pass these as parameters to StartContinentCode, StartCountryCode, StartSubdivisionCode to control the geo location that the list begins with.

func (*Route53) ListHealthChecks

func (c *Route53) ListHealthChecks(req *ListHealthChecksRequest) (resp *ListHealthChecksResponse, err error)

ListHealthChecks to retrieve a list of your health checks, send a request to the 2013-04-01/healthcheck resource. The response to this request includes a HealthChecks element with zero, one, or multiple HealthCheck child elements. By default, the list of health checks is displayed on a single page. You can control the length of the page that is displayed by using the MaxItems parameter. You can use the Marker parameter to control the health check that the list begins with. Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100.

func (*Route53) ListHostedZones

func (c *Route53) ListHostedZones(req *ListHostedZonesRequest) (resp *ListHostedZonesResponse, err error)

ListHostedZones to retrieve a list of your hosted zones, send a request to the 2013-04-01/hostedzone resource. The response to this request includes a HostedZones element with zero, one, or multiple HostedZone child elements. By default, the list of hosted zones is displayed on a single page. You can control the length of the page that is displayed by using the MaxItems parameter. You can use the Marker parameter to control the hosted zone that the list begins with. Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100.

func (*Route53) ListResourceRecordSets

func (c *Route53) ListResourceRecordSets(req *ListResourceRecordSetsRequest) (resp *ListResourceRecordSetsResponse, err error)

ListResourceRecordSets imagine all the resource record sets in a zone listed out in front of you. Imagine them sorted lexicographically first by DNS name (with the labels reversed, like "com.amazon.www" for example), and secondarily, lexicographically by record type. This operation retrieves at most MaxItems resource record sets from this list, in order, starting at a position specified by the Name and Type arguments: If both Name and Type are omitted, this means start the results at the first in the HostedZone. If Name is specified but Type is omitted, this means start the results at the first in the list whose name is greater than or equal to Name. If both Name and Type are specified, this means start the results at the first in the list whose name is greater than or equal to Name and whose type is greater than or equal to Type. It is an error to specify the Type but not the Name. Use ListResourceRecordSets to retrieve a single known record set by specifying the record set's name and type, and setting MaxItems = 1 To retrieve all the records in a HostedZone, first pause any processes making calls to ChangeResourceRecordSets. Initially call ListResourceRecordSets without a Name and Type to get the first page of record sets. For subsequent calls, set Name and Type to the NextName and NextType values returned by the previous response. In the presence of concurrent ChangeResourceRecordSets calls, there is no consistency of results across calls to ListResourceRecordSets. The only way to get a consistent multi-page snapshot of all RRSETs in a zone is to stop making changes while pagination is in progress. However, the results from ListResourceRecordSets are consistent within a page. If MakeChange calls are taking place concurrently, the result of each one will either be completely visible in your results or not at all. You will not see partial changes, or changes that do not ultimately succeed. (This follows from the fact that MakeChange is atomic) The results from ListResourceRecordSets are strongly consistent with ChangeResourceRecordSets. To be precise, if a single process makes a call to ChangeResourceRecordSets and receives a successful response, the effects of that change will be visible in a subsequent call to ListResourceRecordSets by that process.

func (*Route53) ListReusableDelegationSets

func (c *Route53) ListReusableDelegationSets(req *ListReusableDelegationSetsRequest) (resp *ListReusableDelegationSetsResponse, err error)

ListReusableDelegationSets to retrieve a list of your reusable delegation sets, send a request to the 2013-04-01/delegationset resource. The response to this request includes a DelegationSets element with zero, one, or multiple DelegationSet child elements. By default, the list of delegation sets is displayed on a single page. You can control the length of the page that is displayed by using the MaxItems parameter. You can use the Marker parameter to control the delegation set that the list begins with. Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100.

func (*Route53) ListTagsForResource

func (c *Route53) ListTagsForResource(req *ListTagsForResourceRequest) (resp *ListTagsForResourceResponse, err error)

ListTagsForResource <nil>

func (*Route53) ListTagsForResources

func (c *Route53) ListTagsForResources(req *ListTagsForResourcesRequest) (resp *ListTagsForResourcesResponse, err error)

ListTagsForResources <nil>

func (*Route53) UpdateHealthCheck

func (c *Route53) UpdateHealthCheck(req *UpdateHealthCheckRequest) (resp *UpdateHealthCheckResponse, err error)

UpdateHealthCheck this action updates an existing health check. To update a health check, send a request to the 2013-04-01/healthcheck/ health check resource. The request body must include an XML document with an UpdateHealthCheckRequest element. The response returns an UpdateHealthCheckResponse element, which contains metadata about the health check.

func (*Route53) UpdateHostedZoneComment

func (c *Route53) UpdateHostedZoneComment(req *UpdateHostedZoneCommentRequest) (resp *UpdateHostedZoneCommentResponse, err error)

UpdateHostedZoneComment to update the hosted zone comment, send a request to the 2013-04-01/hostedzone/ hosted zone resource. The request body must include an XML document with a UpdateHostedZoneCommentRequest element. The response to this request includes the modified HostedZone element. The comment can have a maximum length of 256 characters.

type Route53API

type Route53API interface {
	AssociateVPCWithHostedZone(req *AssociateVPCWithHostedZoneRequest) (resp *AssociateVPCWithHostedZoneResponse, err error)
	ChangeResourceRecordSets(req *ChangeResourceRecordSetsRequest) (resp *ChangeResourceRecordSetsResponse, err error)
	ChangeTagsForResource(req *ChangeTagsForResourceRequest) (resp *ChangeTagsForResourceResponse, err error)
	CreateHealthCheck(req *CreateHealthCheckRequest) (resp *CreateHealthCheckResponse, err error)
	CreateHostedZone(req *CreateHostedZoneRequest) (resp *CreateHostedZoneResponse, err error)
	CreateReusableDelegationSet(req *CreateReusableDelegationSetRequest) (resp *CreateReusableDelegationSetResponse, err error)
	DeleteHealthCheck(req *DeleteHealthCheckRequest) (resp *DeleteHealthCheckResponse, err error)
	DeleteHostedZone(req *DeleteHostedZoneRequest) (resp *DeleteHostedZoneResponse, err error)
	DeleteReusableDelegationSet(req *DeleteReusableDelegationSetRequest) (resp *DeleteReusableDelegationSetResponse, err error)
	DisassociateVPCFromHostedZone(req *DisassociateVPCFromHostedZoneRequest) (resp *DisassociateVPCFromHostedZoneResponse, err error)
	GetChange(req *GetChangeRequest) (resp *GetChangeResponse, err error)
	GetCheckerIPRanges(req *GetCheckerIPRangesRequest) (resp *GetCheckerIPRangesResponse, err error)
	GetGeoLocation(req *GetGeoLocationRequest) (resp *GetGeoLocationResponse, err error)
	GetHealthCheck(req *GetHealthCheckRequest) (resp *GetHealthCheckResponse, err error)
	GetHealthCheckCount(req *GetHealthCheckCountRequest) (resp *GetHealthCheckCountResponse, err error)
	GetHealthCheckLastFailureReason(req *GetHealthCheckLastFailureReasonRequest) (resp *GetHealthCheckLastFailureReasonResponse, err error)
	GetHealthCheckStatus(req *GetHealthCheckStatusRequest) (resp *GetHealthCheckStatusResponse, err error)
	GetHostedZone(req *GetHostedZoneRequest) (resp *GetHostedZoneResponse, err error)
	GetReusableDelegationSet(req *GetReusableDelegationSetRequest) (resp *GetReusableDelegationSetResponse, err error)
	ListGeoLocations(req *ListGeoLocationsRequest) (resp *ListGeoLocationsResponse, err error)
	ListHealthChecks(req *ListHealthChecksRequest) (resp *ListHealthChecksResponse, err error)
	ListHostedZones(req *ListHostedZonesRequest) (resp *ListHostedZonesResponse, err error)
	ListResourceRecordSets(req *ListResourceRecordSetsRequest) (resp *ListResourceRecordSetsResponse, err error)
	ListReusableDelegationSets(req *ListReusableDelegationSetsRequest) (resp *ListReusableDelegationSetsResponse, err error)
	ListTagsForResource(req *ListTagsForResourceRequest) (resp *ListTagsForResourceResponse, err error)
	ListTagsForResources(req *ListTagsForResourcesRequest) (resp *ListTagsForResourcesResponse, err error)
	UpdateHealthCheck(req *UpdateHealthCheckRequest) (resp *UpdateHealthCheckResponse, err error)
	UpdateHostedZoneComment(req *UpdateHostedZoneCommentRequest) (resp *UpdateHostedZoneCommentResponse, err error)
}

type StatusReport

type StatusReport struct {
	XMLName xml.Name

	CheckedTime time.Time       `xml:"CheckedTime"`
	Status      aws.StringValue `xml:"Status"`
}

StatusReport is undocumented.

func (*StatusReport) MarshalXML

func (v *StatusReport) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type Tag

type Tag struct {
	XMLName xml.Name

	Key   aws.StringValue `xml:"Key"`
	Value aws.StringValue `xml:"Value"`
}

Tag is undocumented.

func (*Tag) MarshalXML

func (v *Tag) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type UpdateHealthCheckRequest

type UpdateHealthCheckRequest struct {
	XMLName xml.Name

	FailureThreshold         aws.IntegerValue `xml:"FailureThreshold"`
	FullyQualifiedDomainName aws.StringValue  `xml:"FullyQualifiedDomainName"`
	HealthCheckID            aws.StringValue  `xml:"-"`
	HealthCheckVersion       aws.LongValue    `xml:"HealthCheckVersion"`
	IPAddress                aws.StringValue  `xml:"IPAddress"`
	Port                     aws.IntegerValue `xml:"Port"`
	ResourcePath             aws.StringValue  `xml:"ResourcePath"`
	SearchString             aws.StringValue  `xml:"SearchString"`
}

UpdateHealthCheckRequest is undocumented.

func (*UpdateHealthCheckRequest) MarshalXML

func (v *UpdateHealthCheckRequest) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type UpdateHealthCheckResponse

type UpdateHealthCheckResponse struct {
	XMLName xml.Name

	HealthCheck *HealthCheck `xml:"HealthCheck,omitempty"`
}

UpdateHealthCheckResponse is undocumented.

func (*UpdateHealthCheckResponse) MarshalXML

func (v *UpdateHealthCheckResponse) MarshalXML(e *xml.Encoder, start xml.StartElement) error

type UpdateHostedZoneCommentRequest

type UpdateHostedZoneCommentRequest struct {
	XMLName xml.Name

	Comment aws.StringValue `xml:"Comment"`
	ID      aws.StringValue `xml:"-"`
}

UpdateHostedZoneCommentRequest is undocumented.

func (*UpdateHostedZoneCommentRequest) MarshalXML

type UpdateHostedZoneCommentResponse

type UpdateHostedZoneCommentResponse struct {
	XMLName xml.Name

	HostedZone *HostedZone `xml:"HostedZone,omitempty"`
}

UpdateHostedZoneCommentResponse is undocumented.

func (*UpdateHostedZoneCommentResponse) MarshalXML

type VPC

type VPC struct {
	XMLName xml.Name

	VPCID     aws.StringValue `xml:"VPCId"`
	VPCRegion aws.StringValue `xml:"VPCRegion"`
}

VPC is undocumented.

func (*VPC) MarshalXML

func (v *VPC) MarshalXML(e *xml.Encoder, start xml.StartElement) error

Jump to

Keyboard shortcuts

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