Versions in this module Expand all Collapse all v1 v1.1.4 Jul 20, 2026 v1.1.3 Jul 20, 2026 v1.1.2 Jul 20, 2026 v1.1.1 Jul 20, 2026 v1.1.0 Jul 19, 2026 Changes in this version + var ErrChangeNotFound = errors.New("NoSuchChange") + var ErrCidrCollectionAlreadyExists = errors.New("CidrCollectionAlreadyExistsException") + var ErrCidrCollectionInUse = errors.New("CidrCollectionInUseException") + var ErrCidrCollectionNotFound = errors.New("NoSuchCidrCollectionException") + var ErrCidrCollectionVersionMismatch = errors.New("CidrCollectionVersionMismatchException") + var ErrDelegationSetInUse = errors.New("DelegationSetInUse") + var ErrDelegationSetNotFound = errors.New("NoSuchDelegationSet") + var ErrHealthCheckAlreadyExists = errors.New("HealthCheckAlreadyExists") + var ErrHealthCheckNotFound = errors.New("NoSuchHealthCheck") + var ErrHealthCheckVersionMismatch = errors.New("HealthCheckVersionMismatch") + var ErrHostedZoneAlreadyExists = errors.New("HostedZoneAlreadyExists") + var ErrHostedZoneNotEmpty = errors.New("HostedZoneNotEmpty") + var ErrHostedZoneNotFound = errors.New("NoSuchHostedZone") + var ErrInvalidAAAARecord = errors.New("invalid AAAA record value") + var ErrInvalidARecord = errors.New("invalid A record value") + var ErrInvalidAction = errors.New("InvalidChangeBatch") + var ErrInvalidCAARecord = errors.New("invalid CAA record value") + var ErrInvalidCNAMERecord = errors.New("invalid CNAME record value") + var ErrInvalidDSRecord = errors.New("invalid DS record value") + var ErrInvalidInput = errors.New("InvalidInput") + var ErrInvalidKeySigningKeyStatus = errors.New("InvalidKeySigningKeyStatus") + var ErrInvalidMXRecord = errors.New("invalid MX record value") + var ErrInvalidNAPTRRecord = errors.New("invalid NAPTR record value") + var ErrInvalidNSRecord = errors.New("invalid NS record value") + var ErrInvalidPTRRecord = errors.New("invalid PTR record value") + var ErrInvalidSPFRecord = errors.New("invalid SPF record value") + var ErrInvalidSRVRecord = errors.New("invalid SRV record value") + var ErrInvalidTXTRecord = errors.New("invalid TXT record value") + var ErrKeySigningKeyAlreadyExists = errors.New("KeySigningKeyAlreadyExists") + var ErrKeySigningKeyNotFound = errors.New("NoSuchKeySigningKey") + var ErrKeySigningKeyWithActiveStatusNF = errors.New("KeySigningKeyWithActiveStatusNotFound") + var ErrLastVPCAssociation = errors.New("LastVPCAssociation") + var ErrNilAppContext = errors.New("route53: AppContext is nil") + var ErrNoSuchGeoLocation = errors.New("NoSuchGeoLocation") + var ErrPublicZoneVPCAssociation = errors.New("PublicZoneVPCAssociation") + var ErrQueryLoggingConfigAlreadyExists = errors.New("QueryLoggingConfigAlreadyExists") + var ErrQueryLoggingConfigNotFound = errors.New("NoSuchQueryLoggingConfig") + var ErrTrafficPolicyAlreadyExists = errors.New("TrafficPolicyAlreadyExists") + var ErrTrafficPolicyInUse = errors.New("TrafficPolicyInUse") + var ErrTrafficPolicyInstNotFound = errors.New("NoSuchTrafficPolicyInstance") + var ErrTrafficPolicyInstanceAlreadyExists = errors.New("TrafficPolicyInstanceAlreadyExists") + var ErrTrafficPolicyNotFound = errors.New("NoSuchTrafficPolicy") + var ErrVPCAssociationAuthorizationNF = errors.New("VPCAssociationAuthorizationNotFound") + var ErrVPCAssociationNotFound = errors.New("VPCAssociationNotFound") + type AlarmIdentifier struct + Name string + Region string + type AliasTarget struct + DNSName string + EvaluateTargetHealth bool + HostedZoneID string + type Change struct + Action ChangeAction + ResourceRecordSet ResourceRecordSet + type ChangeAction string + const ChangeActionCreate + const ChangeActionDelete + const ChangeActionUpsert + type ChangeInfo struct + ID string + Status string + SubmittedAt time.Time + type CidrCollection struct + ARN string + ID string + Locations map[string][]string + Name string + Version int64 + type CidrCollectionChange struct + Action string + CidrList []string + LocationName string + type CidrRoutingConfig struct + CollectionID string + LocationName string + type DNSQueryContext struct + ClientRegion string + ContinentCode string + CountryCode string + ResolverIP string + SubdivisionCode string + type DNSRegistrar interface + Deregister func(hostname string) + RegisterRecord func(hostname, recordType string, values []string) + type FailoverPolicy string + const FailoverPrimary + const FailoverSecondary + type GeoLocation struct + ContinentCode string + CountryCode string + SubdivisionCode string + type GeoProximityCoordinates struct + Latitude string + Longitude string + type GeoProximityLocation struct + AWSRegion string + Bias int + Coordinates *GeoProximityCoordinates + LocalZoneGroup string + type Handler struct + Backend StorageBackend + func NewHandler(backend StorageBackend) *Handler + func (h *Handler) ChaosOperations() []string + func (h *Handler) ChaosRegions() []string + func (h *Handler) ChaosServiceName() string + func (h *Handler) ExtractOperation(c *echo.Context) string + func (h *Handler) ExtractResource(c *echo.Context) string + func (h *Handler) GetSupportedOperations() []string + func (h *Handler) Handler() echo.HandlerFunc + func (h *Handler) IAMAction(r *http.Request) string + func (h *Handler) MatchPriority() int + func (h *Handler) Name() string + func (h *Handler) Reset() + func (h *Handler) Restore(ctx context.Context, data []byte) error + func (h *Handler) RouteMatcher() service.Matcher + func (h *Handler) Snapshot(ctx context.Context) []byte + type HealthCheck struct + CallerReference string + Config HealthCheckConfig + CreatedAt time.Time + ID string + Observations []HealthCheckObservation + Status string + Version int64 + type HealthCheckConfig struct + AlarmIdentifier *AlarmIdentifier + ChildHealthChecks []string + Disabled bool + EnableSNI bool + FailureThreshold int + FullyQualifiedDomainName string + HealthThreshold int + IPAddress string + InsufficientDataHealthStatus string + Inverted bool + MeasureLatency bool + Port int + Regions []string + RequestInterval int + ResourcePath string + RoutingControlArn string + SearchString string + Type HealthCheckType + type HealthCheckObservation struct + CheckedTime time.Time + IPAddress string + Region string + Status string + type HealthCheckType string + const HealthCheckTypeCalculated + const HealthCheckTypeCloudWatchMetric + const HealthCheckTypeHTTP + const HealthCheckTypeHTTPS + const HealthCheckTypeRecoveryControl + const HealthCheckTypeTCP + type HostedZone struct + CallerReference string + Comment string + CreatedAt time.Time + DelegationSetID string + ID string + Name string + NameServers []string + PrivateZone bool + ResourceRecordSetCount int + type InMemoryBackend struct + func NewInMemoryBackend() *InMemoryBackend + func (b *InMemoryBackend) AccountID() string + func (b *InMemoryBackend) ActivateKeySigningKey(hostedZoneID, name string) (*KeySigningKey, error) + func (b *InMemoryBackend) AddHealthCheckInternal(hc HealthCheck) + func (b *InMemoryBackend) AddKeySigningKeyInternal(ksk KeySigningKey) + func (b *InMemoryBackend) AddTrafficPolicyInternal(tp TrafficPolicy) + func (b *InMemoryBackend) AddZoneInternal(hz HostedZone) + func (b *InMemoryBackend) AssociateVPCWithHostedZone(zoneID, vpcID, vpcRegion string) error + func (b *InMemoryBackend) ChangeCidrCollection(collectionID string, changes []CidrCollectionChange, expectedVersion *int64) (*CidrCollection, error) + func (b *InMemoryBackend) ChangeResourceRecordSets(zoneID string, changes []Change) (string, error) + func (b *InMemoryBackend) ChangeTagsForResource(resourceType, resourceID string, addTags map[string]string, ...) error + func (b *InMemoryBackend) CountAssociatedVPCs(zoneID string) (int, error) + func (b *InMemoryBackend) CountResourceRecordSets(zoneID string) (int, error) + func (b *InMemoryBackend) CountZonesByReusableDelegationSet(id string) (int, error) + func (b *InMemoryBackend) CreateCidrCollection(name, _ string) (*CidrCollection, error) + func (b *InMemoryBackend) CreateHealthCheck(callerRef string, cfg HealthCheckConfig) (*HealthCheck, error) + func (b *InMemoryBackend) CreateHostedZone(name, callerRef, comment string, private bool, delegationSetID string) (*HostedZone, error) + func (b *InMemoryBackend) CreateKeySigningKey(hostedZoneID, _, name, kmsArn, status string) (*KeySigningKey, error) + func (b *InMemoryBackend) CreateQueryLoggingConfig(hostedZoneID, logGroupArn string) (*QueryLoggingConfig, error) + func (b *InMemoryBackend) CreateReusableDelegationSet(callerRef, _ string) (*ReusableDelegationSet, error) + func (b *InMemoryBackend) CreateTrafficPolicy(name, document, comment string) (*TrafficPolicy, error) + func (b *InMemoryBackend) CreateTrafficPolicyInstance(hostedZoneID, name, tpID string, tpVersion int32, ttl int64) (*TrafficPolicyInstance, error) + func (b *InMemoryBackend) CreateTrafficPolicyVersion(id, document, comment string) (*TrafficPolicy, error) + func (b *InMemoryBackend) CreateVPCAssociationAuthorization(zoneID, vpcID, vpcRegion string) (*VPCAssociationAuthorization, error) + func (b *InMemoryBackend) DeactivateKeySigningKey(hostedZoneID, name string) (*KeySigningKey, error) + func (b *InMemoryBackend) DeleteCidrCollection(id string) error + func (b *InMemoryBackend) DeleteHealthCheck(id string) error + func (b *InMemoryBackend) DeleteHostedZone(zoneID string) error + func (b *InMemoryBackend) DeleteKeySigningKey(hostedZoneID, name string) error + func (b *InMemoryBackend) DeleteQueryLoggingConfig(id string) error + func (b *InMemoryBackend) DeleteReusableDelegationSet(id string) error + func (b *InMemoryBackend) DeleteTrafficPolicy(id string, version int32) error + func (b *InMemoryBackend) DeleteTrafficPolicyInstance(id string) error + func (b *InMemoryBackend) DeleteVPCAssociationAuthorization(zoneID, vpcID string) error + func (b *InMemoryBackend) DisableHostedZoneDNSSEC(zoneID string) error + func (b *InMemoryBackend) DisassociateVPCFromHostedZone(zoneID, vpcID string) error + func (b *InMemoryBackend) EnableHostedZoneDNSSEC(zoneID string) error + func (b *InMemoryBackend) GetChange(changeID string) (*ChangeInfo, error) + func (b *InMemoryBackend) GetDNSSEC(zoneID string) (bool, []KeySigningKey, error) + func (b *InMemoryBackend) GetHealthCheck(id string) (*HealthCheck, error) + func (b *InMemoryBackend) GetHealthCheckCount() int + func (b *InMemoryBackend) GetHealthCheckStatus(id string) (string, error) + func (b *InMemoryBackend) GetHostedZone(zoneID string) (*HostedZone, error) + func (b *InMemoryBackend) GetHostedZoneCount() int + func (b *InMemoryBackend) GetQueryLoggingConfig(id string) (*QueryLoggingConfig, error) + func (b *InMemoryBackend) GetReusableDelegationSet(id string) (*ReusableDelegationSet, error) + func (b *InMemoryBackend) GetTrafficPolicy(id string, version int32) (*TrafficPolicy, error) + func (b *InMemoryBackend) GetTrafficPolicyInstance(id string) (*TrafficPolicyInstance, error) + func (b *InMemoryBackend) ListCidrBlocks(collectionID, locationName string) ([]string, error) + func (b *InMemoryBackend) ListCidrCollections() ([]*CidrCollection, error) + func (b *InMemoryBackend) ListCidrLocations(collectionID string) ([]string, error) + func (b *InMemoryBackend) ListHealthChecks(marker string, maxItems int) (page.Page[HealthCheck], error) + func (b *InMemoryBackend) ListHostedZones(marker string, maxItems int) (page.Page[HostedZone], error) + func (b *InMemoryBackend) ListHostedZonesByName(dnsName, zoneID string, maxItems int) ([]HostedZone, string, string, error) + func (b *InMemoryBackend) ListHostedZonesByVPC(vpcID, vpcRegion string) ([]HostedZone, error) + func (b *InMemoryBackend) ListQueryLoggingConfigs(hostedZoneID string) ([]*QueryLoggingConfig, error) + func (b *InMemoryBackend) ListResourceRecordSets(zoneID, startName, startType, startIdentifier string, maxItems int) (RRSetPage, error) + func (b *InMemoryBackend) ListReusableDelegationSets() ([]*ReusableDelegationSet, error) + func (b *InMemoryBackend) ListTagsForResource(resourceType, resourceID string) (map[string]string, error) + func (b *InMemoryBackend) ListTagsForResources(resourceType string, resourceIDs []string) (map[string]map[string]string, error) + func (b *InMemoryBackend) ListTrafficPolicies() ([]*TrafficPolicySummary, error) + func (b *InMemoryBackend) ListTrafficPolicyInstances() ([]*TrafficPolicyInstance, error) + func (b *InMemoryBackend) ListTrafficPolicyInstancesByHostedZone(hostedZoneID string) ([]*TrafficPolicyInstance, error) + func (b *InMemoryBackend) ListTrafficPolicyInstancesByPolicy(tpID string, tpVersion int32) ([]*TrafficPolicyInstance, error) + func (b *InMemoryBackend) ListTrafficPolicyVersions(id string) ([]*TrafficPolicy, error) + func (b *InMemoryBackend) ListVPCAssociationAuthorizations(zoneID string) ([]VPCAssociationAuthorization, error) + func (b *InMemoryBackend) ListVPCAssociations(zoneID string) ([]vpcAssociation, error) + func (b *InMemoryBackend) Region() string + func (b *InMemoryBackend) Reset() + func (b *InMemoryBackend) Restore(ctx context.Context, data []byte) error + func (b *InMemoryBackend) SetDNSRegistrar(dns DNSRegistrar) + func (b *InMemoryBackend) SetHealthCheckStatus(id, status string) error + func (b *InMemoryBackend) Snapshot(ctx context.Context) []byte + func (b *InMemoryBackend) TestDNSAnswer(zoneID, recordName, recordType string, qctx DNSQueryContext) ([]string, error) + func (b *InMemoryBackend) UpdateHealthCheck(id string, cfg HealthCheckConfig, expectedVersion *int64) (*HealthCheck, error) + func (b *InMemoryBackend) UpdateHostedZoneComment(zoneID, comment string) (*HostedZone, error) + func (b *InMemoryBackend) UpdateTrafficPolicyComment(id string, version int32, comment string) (*TrafficPolicy, error) + func (b *InMemoryBackend) UpdateTrafficPolicyInstance(id, tpID string, tpVersion int32, ttl int64) (*TrafficPolicyInstance, error) + type KeySigningKey struct + CreatedAt time.Time + DSRecord string + DigestAlgorithmMnemonic string + DigestAlgorithmType int + DigestValue string + Flag int + HostedZoneID string + KeyManagementServiceArn string + KeyTag int + Name string + PublicKey string + SigningAlgorithmMnemonic string + SigningAlgorithmType int + Status string + type Provider struct + func (p *Provider) Init(ctx *service.AppContext) (service.Registerable, error) + func (p *Provider) Name() string + type QueryLoggingConfig struct + CloudWatchLogsLogGroupArn string + CreatedAt time.Time + HostedZoneID string + ID string + type RRSetPage struct + IsTruncated bool + NextIdentifier string + NextName string + NextType string + Records []ResourceRecordSet + type ResourceRecord struct + Value string + type ResourceRecordSet struct + AliasTarget *AliasTarget + CidrRoutingConfig *CidrRoutingConfig + Failover FailoverPolicy + GeoLocation *GeoLocation + GeoProximityLocation *GeoProximityLocation + HealthCheckID string + MultiValueAnswer bool + Name string + Records []ResourceRecord + Region string + SetIdentifier string + TTL int64 + Type string + Weight *int64 + type ReusableDelegationSet struct + CallerReference string + CreatedAt time.Time + ID string + NameServers []string + type StorageBackend interface + AccountID func() string + ActivateKeySigningKey func(hostedZoneID, name string) (*KeySigningKey, error) + AssociateVPCWithHostedZone func(zoneID, vpcID, vpcRegion string) error + ChangeCidrCollection func(collectionID string, changes []CidrCollectionChange, expectedVersion *int64) (*CidrCollection, error) + ChangeResourceRecordSets func(zoneID string, changes []Change) (string, error) + ChangeTagsForResource func(resourceType, resourceID string, addTags map[string]string, ...) error + CountAssociatedVPCs func(zoneID string) (int, error) + CountResourceRecordSets func(zoneID string) (int, error) + CountZonesByReusableDelegationSet func(id string) (int, error) + CreateCidrCollection func(name, callerRef string) (*CidrCollection, error) + CreateHealthCheck func(callerRef string, cfg HealthCheckConfig) (*HealthCheck, error) + CreateHostedZone func(name, callerRef, comment string, private bool, delegationSetID string) (*HostedZone, error) + CreateKeySigningKey func(hostedZoneID, callerRef, name, kmsArn, status string) (*KeySigningKey, error) + CreateQueryLoggingConfig func(hostedZoneID, logGroupArn string) (*QueryLoggingConfig, error) + CreateReusableDelegationSet func(callerRef, hostedZoneID string) (*ReusableDelegationSet, error) + CreateTrafficPolicy func(name, document, comment string) (*TrafficPolicy, error) + CreateTrafficPolicyInstance func(hostedZoneID, name, tpID string, tpVersion int32, ttl int64) (*TrafficPolicyInstance, error) + CreateTrafficPolicyVersion func(id, document, comment string) (*TrafficPolicy, error) + CreateVPCAssociationAuthorization func(zoneID, vpcID, vpcRegion string) (*VPCAssociationAuthorization, error) + DeactivateKeySigningKey func(hostedZoneID, name string) (*KeySigningKey, error) + DeleteCidrCollection func(id string) error + DeleteHealthCheck func(id string) error + DeleteHostedZone func(zoneID string) error + DeleteKeySigningKey func(hostedZoneID, name string) error + DeleteQueryLoggingConfig func(id string) error + DeleteReusableDelegationSet func(id string) error + DeleteTrafficPolicy func(id string, version int32) error + DeleteTrafficPolicyInstance func(id string) error + DeleteVPCAssociationAuthorization func(zoneID, vpcID string) error + DisableHostedZoneDNSSEC func(zoneID string) error + DisassociateVPCFromHostedZone func(zoneID, vpcID string) error + EnableHostedZoneDNSSEC func(zoneID string) error + GetChange func(changeID string) (*ChangeInfo, error) + GetDNSSEC func(zoneID string) (bool, []KeySigningKey, error) + GetHealthCheck func(id string) (*HealthCheck, error) + GetHealthCheckCount func() int + GetHealthCheckStatus func(id string) (string, error) + GetHostedZone func(zoneID string) (*HostedZone, error) + GetHostedZoneCount func() int + GetQueryLoggingConfig func(id string) (*QueryLoggingConfig, error) + GetReusableDelegationSet func(id string) (*ReusableDelegationSet, error) + GetTrafficPolicy func(id string, version int32) (*TrafficPolicy, error) + GetTrafficPolicyInstance func(id string) (*TrafficPolicyInstance, error) + ListCidrBlocks func(collectionID, locationName string) ([]string, error) + ListCidrCollections func() ([]*CidrCollection, error) + ListCidrLocations func(collectionID string) ([]string, error) + ListHealthChecks func(marker string, maxItems int) (page.Page[HealthCheck], error) + ListHostedZones func(marker string, maxItems int) (page.Page[HostedZone], error) + ListHostedZonesByName func(dnsName, zoneID string, maxItems int) ([]HostedZone, string, string, error) + ListHostedZonesByVPC func(vpcID, vpcRegion string) ([]HostedZone, error) + ListQueryLoggingConfigs func(hostedZoneID string) ([]*QueryLoggingConfig, error) + ListResourceRecordSets func(zoneID, startName, startType, startIdentifier string, maxItems int) (RRSetPage, error) + ListReusableDelegationSets func() ([]*ReusableDelegationSet, error) + ListTagsForResource func(resourceType, resourceID string) (map[string]string, error) + ListTagsForResources func(resourceType string, resourceIDs []string) (map[string]map[string]string, error) + ListTrafficPolicies func() ([]*TrafficPolicySummary, error) + ListTrafficPolicyInstances func() ([]*TrafficPolicyInstance, error) + ListTrafficPolicyInstancesByHostedZone func(hostedZoneID string) ([]*TrafficPolicyInstance, error) + ListTrafficPolicyInstancesByPolicy func(tpID string, tpVersion int32) ([]*TrafficPolicyInstance, error) + ListTrafficPolicyVersions func(id string) ([]*TrafficPolicy, error) + ListVPCAssociationAuthorizations func(zoneID string) ([]VPCAssociationAuthorization, error) + ListVPCAssociations func(zoneID string) ([]vpcAssociation, error) + Region func() string + Reset func() + Restore func(ctx context.Context, data []byte) error + SetHealthCheckStatus func(id, status string) error + Snapshot func(ctx context.Context) []byte + TestDNSAnswer func(zoneID, recordName, recordType string, qctx DNSQueryContext) ([]string, error) + UpdateHealthCheck func(id string, cfg HealthCheckConfig, expectedVersion *int64) (*HealthCheck, error) + UpdateHostedZoneComment func(zoneID, comment string) (*HostedZone, error) + UpdateTrafficPolicyComment func(id string, version int32, comment string) (*TrafficPolicy, error) + UpdateTrafficPolicyInstance func(id, tpID string, tpVersion int32, ttl int64) (*TrafficPolicyInstance, error) + type TrafficPolicy struct + Comment string + Document string + ID string + Name string + Type string + Version int32 + type TrafficPolicyInstance struct + HostedZoneID string + ID string + Name string + State string + TTL int64 + TrafficPolicyID string + TrafficPolicyType string + TrafficPolicyVersion int32 + type TrafficPolicySummary struct + VersionCount int32 + type VPCAssociationAuthorization struct + VPCID string + VPCRegion string