package types

import "github.com/aws/aws-sdk-go-v2/service/route53resolver/types"

Index

Types

type Filter

type Filter struct {

	// When you're using a List operation and you want the operation to return a subset
	// of objects, such as resolver endpoints or resolver rules, the name of the
	// parameter that you want to use to filter objects. For example, to list only
	// inbound resolver endpoints, specify Direction for the value of Name.
	Name *string

	// When you're using a List operation and you want the operation to return a subset
	// of objects, such as resolver endpoints or resolver rules, the value of the
	// parameter that you want to use to filter objects. For example, to list only
	// inbound resolver endpoints, specify INBOUND for the value of Values.
	Values []*string
}

For List operations, an optional specification to return a subset of objects, such as resolver endpoints or resolver rules.

type InternalServiceErrorException

type InternalServiceErrorException struct {
	Message *string
}

We encountered an unknown error. Try again in a few minutes.

func (*InternalServiceErrorException) Error

func (*InternalServiceErrorException) ErrorCode

func (e *InternalServiceErrorException) ErrorCode() string

func (*InternalServiceErrorException) ErrorFault

func (*InternalServiceErrorException) ErrorMessage

func (e *InternalServiceErrorException) ErrorMessage() string

type InvalidNextTokenException

type InvalidNextTokenException struct {
	Message *string
}

The value that you specified for NextToken in a List request isn't valid.

func (*InvalidNextTokenException) Error

func (e *InvalidNextTokenException) Error() string

func (*InvalidNextTokenException) ErrorCode

func (e *InvalidNextTokenException) ErrorCode() string

func (*InvalidNextTokenException) ErrorFault

func (*InvalidNextTokenException) ErrorMessage

func (e *InvalidNextTokenException) ErrorMessage() string

type InvalidParameterException

type InvalidParameterException struct {
	Message *string

	FieldName *string
}

One or more parameters in this request are not valid.

func (*InvalidParameterException) Error

func (e *InvalidParameterException) Error() string

func (*InvalidParameterException) ErrorCode

func (e *InvalidParameterException) ErrorCode() string

func (*InvalidParameterException) ErrorFault

func (*InvalidParameterException) ErrorMessage

func (e *InvalidParameterException) ErrorMessage() string

type InvalidPolicyDocument

type InvalidPolicyDocument struct {
	Message *string
}

The specified resolver rule policy is invalid.

func (*InvalidPolicyDocument) Error

func (e *InvalidPolicyDocument) Error() string

func (*InvalidPolicyDocument) ErrorCode

func (e *InvalidPolicyDocument) ErrorCode() string

func (*InvalidPolicyDocument) ErrorFault

func (e *InvalidPolicyDocument) ErrorFault() smithy.ErrorFault

func (*InvalidPolicyDocument) ErrorMessage

func (e *InvalidPolicyDocument) ErrorMessage() string

type InvalidRequestException

type InvalidRequestException struct {
	Message *string
}

The request is invalid.

func (*InvalidRequestException) Error

func (e *InvalidRequestException) Error() string

func (*InvalidRequestException) ErrorCode

func (e *InvalidRequestException) ErrorCode() string

func (*InvalidRequestException) ErrorFault

func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault

func (*InvalidRequestException) ErrorMessage

func (e *InvalidRequestException) ErrorMessage() string

type InvalidTagException

type InvalidTagException struct {
	Message *string
}

The specified tag is invalid.

func (*InvalidTagException) Error

func (e *InvalidTagException) Error() string

func (*InvalidTagException) ErrorCode

func (e *InvalidTagException) ErrorCode() string

func (*InvalidTagException) ErrorFault

func (e *InvalidTagException) ErrorFault() smithy.ErrorFault

func (*InvalidTagException) ErrorMessage

func (e *InvalidTagException) ErrorMessage() string

type IpAddressRequest

type IpAddressRequest struct {

	// The subnet that contains the IP address.
	//
	// This member is required.
	SubnetId *string

	// The IP address that you want to use for DNS queries.
	Ip *string
}

In an CreateResolverEndpoint request, a subnet and IP address that you want to use for DNS queries.

type IpAddressResponse

type IpAddressResponse struct {

	// The date and time that the IP address was created, in Unix time format and
	// Coordinated Universal Time (UTC).
	CreationTime *string

	// One IP address that the resolver endpoint uses for DNS queries.
	Ip *string

	// The ID of one IP address.
	IpId *string

	// The date and time that the IP address was last modified, in Unix time format and
	// Coordinated Universal Time (UTC).
	ModificationTime *string

	// A status code that gives the current status of the request.
	Status IpAddressStatus

	// A message that provides additional information about the status of the request.
	StatusMessage *string

	// The ID of one subnet.
	SubnetId *string
}

In the response to a GetResolverEndpoint request, information about the IP addresses that the resolver endpoint uses for DNS queries.

type IpAddressStatus

type IpAddressStatus string
const (
	IpAddressStatusCreating               IpAddressStatus = "CREATING"
	IpAddressStatusFailedcreation         IpAddressStatus = "FAILED_CREATION"
	IpAddressStatusAttaching              IpAddressStatus = "ATTACHING"
	IpAddressStatusAttached               IpAddressStatus = "ATTACHED"
	IpAddressStatusRemapdetaching         IpAddressStatus = "REMAP_DETACHING"
	IpAddressStatusRemapattaching         IpAddressStatus = "REMAP_ATTACHING"
	IpAddressStatusDetaching              IpAddressStatus = "DETACHING"
	IpAddressStatusFailedresourcegone     IpAddressStatus = "FAILED_RESOURCE_GONE"
	IpAddressStatusDeleting               IpAddressStatus = "DELETING"
	IpAddressStatusDeletefailedfasexpired IpAddressStatus = "DELETE_FAILED_FAS_EXPIRED"
)

Enum values for IpAddressStatus

type IpAddressUpdate

type IpAddressUpdate struct {

	// The new IP address.
	Ip *string

	// Only when removing an IP address from a resolver endpoint: The ID of the IP
	// address that you want to remove. To get this ID, use GetResolverEndpoint.
	IpId *string

	// The ID of the subnet that includes the IP address that you want to update. To
	// get this ID, use GetResolverEndpoint.
	SubnetId *string
}

In an UpdateResolverEndpoint request, information about an IP address to update.

type LimitExceededException

type LimitExceededException struct {
	Message *string

	ResourceType *string
}

The request caused one or more limits to be exceeded.

func (*LimitExceededException) Error

func (e *LimitExceededException) Error() string

func (*LimitExceededException) ErrorCode

func (e *LimitExceededException) ErrorCode() string

func (*LimitExceededException) ErrorFault

func (e *LimitExceededException) ErrorFault() smithy.ErrorFault

func (*LimitExceededException) ErrorMessage

func (e *LimitExceededException) ErrorMessage() string

type ResolverEndpoint

type ResolverEndpoint struct {

	// The ARN (Amazon Resource Name) for the resolver endpoint.
	Arn *string

	// The date and time that the endpoint was created, in Unix time format and
	// Coordinated Universal Time (UTC).
	CreationTime *string

	// A unique string that identifies the request that created the resolver endpoint.
	// The CreatorRequestId allows failed requests to be retried without the risk of
	// executing the operation twice.
	CreatorRequestId *string

	// Indicates whether the resolver endpoint allows inbound or outbound DNS
	// queries:
	//
	//     * INBOUND: allows DNS queries to your VPC from your network or
	// another VPC
	//
	//     * OUTBOUND: allows DNS queries from your VPC to your network or
	// another VPC
	Direction ResolverEndpointDirection

	// The ID of the VPC that you want to create the resolver endpoint in.
	HostVPCId *string

	// The ID of the resolver endpoint.
	Id *string

	// The number of IP addresses that the resolver endpoint can use for DNS queries.
	IpAddressCount *int32

	// The date and time that the endpoint was last modified, in Unix time format and
	// Coordinated Universal Time (UTC).
	ModificationTime *string

	// The name that you assigned to the resolver endpoint when you submitted a
	// CreateResolverEndpoint request.
	Name *string

	// The ID of one or more security groups that control access to this VPC. The
	// security group must include one or more inbound resolver rules.
	SecurityGroupIds []*string

	// A code that specifies the current status of the resolver endpoint.
	Status ResolverEndpointStatus

	// A detailed description of the status of the resolver endpoint.
	StatusMessage *string
}

In the response to a CreateResolverEndpoint, DeleteResolverEndpoint, GetResolverEndpoint, ListResolverEndpoints, or UpdateResolverEndpoint request, a complex type that contains settings for an existing inbound or outbound resolver endpoint.

type ResolverEndpointDirection

type ResolverEndpointDirection string
const (
	ResolverEndpointDirectionInbound  ResolverEndpointDirection = "INBOUND"
	ResolverEndpointDirectionOutbound ResolverEndpointDirection = "OUTBOUND"
)

Enum values for ResolverEndpointDirection

type ResolverEndpointStatus

type ResolverEndpointStatus string
const (
	ResolverEndpointStatusCreating       ResolverEndpointStatus = "CREATING"
	ResolverEndpointStatusOperational    ResolverEndpointStatus = "OPERATIONAL"
	ResolverEndpointStatusUpdating       ResolverEndpointStatus = "UPDATING"
	ResolverEndpointStatusAutorecovering ResolverEndpointStatus = "AUTO_RECOVERING"
	ResolverEndpointStatusActionneeded   ResolverEndpointStatus = "ACTION_NEEDED"
	ResolverEndpointStatusDeleting       ResolverEndpointStatus = "DELETING"
)

Enum values for ResolverEndpointStatus

type ResolverRule

type ResolverRule struct {

	// The ARN (Amazon Resource Name) for the resolver rule specified by Id.
	Arn *string

	// A unique string that you specified when you created the resolver rule.
	// CreatorRequestIdidentifies the request and allows failed requests to be retried
	// without the risk of executing the operation twice.
	CreatorRequestId *string

	// DNS queries for this domain name are forwarded to the IP addresses that are
	// specified in TargetIps. If a query matches multiple resolver rules (example.com
	// and www.example.com), the query is routed using the resolver rule that contains
	// the most specific domain name (www.example.com).
	DomainName *string

	// The ID that Resolver assigned to the resolver rule when you created it.
	Id *string

	// The name for the resolver rule, which you specified when you created the
	// resolver rule.
	Name *string

	// When a rule is shared with another AWS account, the account ID of the account
	// that the rule is shared with.
	OwnerId *string

	// The ID of the endpoint that the rule is associated with.
	ResolverEndpointId *string

	// This value is always FORWARD. Other resolver rule types aren't supported.
	RuleType RuleTypeOption

	// Whether the rules is shared and, if so, whether the current account is sharing
	// the rule with another account, or another account is sharing the rule with the
	// current account.
	ShareStatus ShareStatus

	// A code that specifies the current status of the resolver rule.
	Status ResolverRuleStatus

	// A detailed description of the status of a resolver rule.
	StatusMessage *string

	// An array that contains the IP addresses and ports that you want to forward
	TargetIps []*TargetAddress
}

For queries that originate in your VPC, detailed information about a resolver rule, which specifies how to route DNS queries out of the VPC. The ResolverRule parameter appears in the response to a CreateResolverRule, DeleteResolverRule, GetResolverRule, ListResolverRules, or UpdateResolverRule request.

type ResolverRuleAssociation

type ResolverRuleAssociation struct {

	// The ID of the association between a resolver rule and a VPC. Resolver assigns
	// this value when you submit an AssociateResolverRule request.
	Id *string

	// The name of an association between a resolver rule and a VPC.
	Name *string

	// The ID of the resolver rule that you associated with the VPC that is specified
	// by VPCId.
	ResolverRuleId *string

	// A code that specifies the current status of the association between a resolver
	// rule and a VPC.
	Status ResolverRuleAssociationStatus

	// A detailed description of the status of the association between a resolver rule
	// and a VPC.
	StatusMessage *string

	// The ID of the VPC that you associated the resolver rule with.
	VPCId *string
}

In the response to an AssociateResolverRule, DisassociateResolverRule, or ListResolverRuleAssociations request, information about an association between a resolver rule and a VPC.

type ResolverRuleAssociationStatus

type ResolverRuleAssociationStatus string
const (
	ResolverRuleAssociationStatusCreating   ResolverRuleAssociationStatus = "CREATING"
	ResolverRuleAssociationStatusComplete   ResolverRuleAssociationStatus = "COMPLETE"
	ResolverRuleAssociationStatusDeleting   ResolverRuleAssociationStatus = "DELETING"
	ResolverRuleAssociationStatusFailed     ResolverRuleAssociationStatus = "FAILED"
	ResolverRuleAssociationStatusOverridden ResolverRuleAssociationStatus = "OVERRIDDEN"
)

Enum values for ResolverRuleAssociationStatus

type ResolverRuleConfig

type ResolverRuleConfig struct {

	// The new name for the resolver rule. The name that you specify appears in the
	// Resolver dashboard in the Route 53 console.
	Name *string

	// The ID of the new outbound resolver endpoint that you want to use to route DNS
	// queries to the IP addresses that you specify in TargetIps.
	ResolverEndpointId *string

	// For DNS queries that originate in your VPC, the new IP addresses that you want
	// to route outbound DNS queries to.
	TargetIps []*TargetAddress
}

In an UpdateResolverRule request, information about the changes that you want to make.

type ResolverRuleStatus

type ResolverRuleStatus string
const (
	ResolverRuleStatusComplete ResolverRuleStatus = "COMPLETE"
	ResolverRuleStatusDeleting ResolverRuleStatus = "DELETING"
	ResolverRuleStatusUpdating ResolverRuleStatus = "UPDATING"
	ResolverRuleStatusFailed   ResolverRuleStatus = "FAILED"
)

Enum values for ResolverRuleStatus

type ResourceExistsException

type ResourceExistsException struct {
	Message *string

	ResourceType *string
}

The resource that you tried to create already exists.

func (*ResourceExistsException) Error

func (e *ResourceExistsException) Error() string

func (*ResourceExistsException) ErrorCode

func (e *ResourceExistsException) ErrorCode() string

func (*ResourceExistsException) ErrorFault

func (e *ResourceExistsException) ErrorFault() smithy.ErrorFault

func (*ResourceExistsException) ErrorMessage

func (e *ResourceExistsException) ErrorMessage() string

type ResourceInUseException

type ResourceInUseException struct {
	Message *string

	ResourceType *string
}

The resource that you tried to update or delete is currently in use.

func (*ResourceInUseException) Error

func (e *ResourceInUseException) Error() string

func (*ResourceInUseException) ErrorCode

func (e *ResourceInUseException) ErrorCode() string

func (*ResourceInUseException) ErrorFault

func (e *ResourceInUseException) ErrorFault() smithy.ErrorFault

func (*ResourceInUseException) ErrorMessage

func (e *ResourceInUseException) ErrorMessage() string

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ResourceType *string
}

The specified resource doesn't exist.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type ResourceUnavailableException

type ResourceUnavailableException struct {
	Message *string

	ResourceType *string
}

The specified resource isn't available.

func (*ResourceUnavailableException) Error

func (*ResourceUnavailableException) ErrorCode

func (e *ResourceUnavailableException) ErrorCode() string

func (*ResourceUnavailableException) ErrorFault

func (*ResourceUnavailableException) ErrorMessage

func (e *ResourceUnavailableException) ErrorMessage() string

type RuleTypeOption

type RuleTypeOption string
const (
	RuleTypeOptionForward   RuleTypeOption = "FORWARD"
	RuleTypeOptionSystem    RuleTypeOption = "SYSTEM"
	RuleTypeOptionRecursive RuleTypeOption = "RECURSIVE"
)

Enum values for RuleTypeOption

type ShareStatus

type ShareStatus string
const (
	ShareStatusNotshared    ShareStatus = "NOT_SHARED"
	ShareStatusSharedwithme ShareStatus = "SHARED_WITH_ME"
	ShareStatusSharedbyme   ShareStatus = "SHARED_BY_ME"
)

Enum values for ShareStatus

type Tag

type Tag struct {

	// The name for the tag. For example, if you want to associate Resolver resources
	// with the account IDs of your customers for billing purposes, the value of Key
	// might be account-id.
	Key *string

	// The value for the tag. For example, if Key is account-id, then Value might be
	// the ID of the customer account that you're creating the resource for.
	Value *string
}

One tag that you want to add to the specified resource. A tag consists of a Key (a name for the tag) and a Value.

type TargetAddress

type TargetAddress struct {

	// One IP address that you want to forward DNS queries to. You can specify only
	// IPv4 addresses.
	//
	// This member is required.
	Ip *string

	// The port at Ip that you want to forward DNS queries to.
	Port *int32
}

In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to.

type ThrottlingException

type ThrottlingException struct {
	Message *string
}

The request was throttled. Try again in a few minutes.

func (*ThrottlingException) Error

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault

func (e *ThrottlingException) ErrorFault() smithy.ErrorFault

func (*ThrottlingException) ErrorMessage

func (e *ThrottlingException) ErrorMessage() string

type UnknownResourceException

type UnknownResourceException struct {
	Message *string
}

The specified resource doesn't exist.

func (*UnknownResourceException) Error

func (e *UnknownResourceException) Error() string

func (*UnknownResourceException) ErrorCode

func (e *UnknownResourceException) ErrorCode() string

func (*UnknownResourceException) ErrorFault

func (e *UnknownResourceException) ErrorFault() smithy.ErrorFault

func (*UnknownResourceException) ErrorMessage

func (e *UnknownResourceException) ErrorMessage() string

Source Files

enums.go errors.go types.go

Version
v0.27.0
Published
Oct 17, 2020
Platform
darwin/amd64
Imports
2 packages
Last checked
1 week ago

Tools for package owners.