route53resolver

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: Apache-2.0 Imports: 6 Imported by: 18

Documentation

Overview

Package route53resolver provides the client and types for making API requests to Amazon Route 53 Resolver.

Here's how you set up to query an Amazon Route 53 private hosted zone from your network:

Connect your network to a VPC using AWS Direct Connect or a VPN.

Run the following AWS CLI command to create a Resolver endpoint:

create-resolver-endpoint --name [endpoint_name] --direction INBOUND --creator-request-id [unique_string] --security-group-ids [security_group_with_inbound_rules] --ip-addresses SubnetId=[subnet_id] SubnetId=[subnet_id_in_different_AZ]

Note the resolver endpoint ID that appears in the response. You'll use it in step 3.

Get the IP addresses for the Resolver endpoints:

get-resolver-endpoint --resolver-endpoint-id [resolver_endpoint_id]

In your network configuration, define the IP addresses that you got in step 3 as DNS servers.

You can now query instance names in your VPCs and the names of records in your private hosted zone.

You can also perform the following operations using the AWS CLI:

  • list-resolver-endpoints: List all endpoints. The syntax includes options for pagination and filtering.

  • update-resolver-endpoints: Add IP addresses to an endpoint or remove IP addresses from an endpoint.

To delete an endpoint, use the following AWS CLI command:

delete-resolver-endpoint --resolver-endpoint-id [resolver_endpoint_id]

See https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01 for more information on this service.

See route53resolver package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/route53resolver/

Using the Client

To Amazon Route 53 Resolver with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Route 53 Resolver client Route53Resolver for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/route53resolver/#New

Index

Constants

View Source
const (

	// ErrCodeInternalServiceErrorException for service response error code
	// "InternalServiceErrorException".
	//
	// We encountered an unknown error. Try again in a few minutes.
	ErrCodeInternalServiceErrorException = "InternalServiceErrorException"

	// ErrCodeInvalidNextTokenException for service response error code
	// "InvalidNextTokenException".
	//
	// The value that you specified for NextToken in a List request isn't valid.
	ErrCodeInvalidNextTokenException = "InvalidNextTokenException"

	// ErrCodeInvalidParameterException for service response error code
	// "InvalidParameterException".
	//
	// One or more parameters in this request are not valid.
	ErrCodeInvalidParameterException = "InvalidParameterException"

	// ErrCodeInvalidPolicyDocument for service response error code
	// "InvalidPolicyDocument".
	//
	// The specified resolver rule policy is invalid.
	ErrCodeInvalidPolicyDocument = "InvalidPolicyDocument"

	// ErrCodeInvalidRequestException for service response error code
	// "InvalidRequestException".
	//
	// The request is invalid.
	ErrCodeInvalidRequestException = "InvalidRequestException"

	// ErrCodeInvalidTagException for service response error code
	// "InvalidTagException".
	//
	// The specified tag is invalid.
	ErrCodeInvalidTagException = "InvalidTagException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// The request caused one or more limits to be exceeded.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeResourceExistsException for service response error code
	// "ResourceExistsException".
	//
	// The resource that you tried to create already exists.
	ErrCodeResourceExistsException = "ResourceExistsException"

	// ErrCodeResourceInUseException for service response error code
	// "ResourceInUseException".
	//
	// The resource that you tried to update or delete is currently in use.
	ErrCodeResourceInUseException = "ResourceInUseException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified resource doesn't exist.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeResourceUnavailableException for service response error code
	// "ResourceUnavailableException".
	//
	// The specified resource isn't available.
	ErrCodeResourceUnavailableException = "ResourceUnavailableException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The request was throttled. Try again in a few minutes.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeUnknownResourceException for service response error code
	// "UnknownResourceException".
	//
	// The specified resource doesn't exist.
	ErrCodeUnknownResourceException = "UnknownResourceException"
)
View Source
const (
	ServiceName = "route53resolver" // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName       // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AssociateResolverEndpointIpAddressInput

type AssociateResolverEndpointIpAddressInput struct {

	// Either the IPv4 address that you want to add to a resolver endpoint or a
	// subnet ID. If you specify a subnet ID, Resolver chooses an IP address for
	// you from the available IPs in the specified subnet.
	//
	// IpAddress is a required field
	IpAddress *IpAddressUpdate `type:"structure" required:"true"`

	// The ID of the resolver endpoint that you want to associate IP addresses with.
	//
	// ResolverEndpointId is a required field
	ResolverEndpointId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverEndpointIpAddressRequest

func (AssociateResolverEndpointIpAddressInput) GoString

GoString returns the string representation

func (AssociateResolverEndpointIpAddressInput) String

String returns the string representation

func (*AssociateResolverEndpointIpAddressInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type AssociateResolverEndpointIpAddressOutput

type AssociateResolverEndpointIpAddressOutput struct {

	// The response to an AssociateResolverEndpointIpAddress request.
	ResolverEndpoint *ResolverEndpoint `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverEndpointIpAddressResponse

func (AssociateResolverEndpointIpAddressOutput) GoString

GoString returns the string representation

func (AssociateResolverEndpointIpAddressOutput) SDKResponseMetadata

func (s AssociateResolverEndpointIpAddressOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AssociateResolverEndpointIpAddressOutput) String

String returns the string representation

type AssociateResolverEndpointIpAddressRequest

AssociateResolverEndpointIpAddressRequest is a API request type for the AssociateResolverEndpointIpAddress API operation.

func (AssociateResolverEndpointIpAddressRequest) Send

Send marshals and sends the AssociateResolverEndpointIpAddress API request.

type AssociateResolverRuleInput

type AssociateResolverRuleInput struct {

	// A name for the association that you're creating between a resolver rule and
	// a VPC.
	Name *string `type:"string"`

	// The ID of the resolver rule that you want to associate with the VPC. To list
	// the existing resolver rules, use ListResolverRules.
	//
	// ResolverRuleId is a required field
	ResolverRuleId *string `min:"1" type:"string" required:"true"`

	// The ID of the VPC that you want to associate the resolver rule with.
	//
	// VPCId is a required field
	VPCId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverRuleRequest

func (AssociateResolverRuleInput) GoString

func (s AssociateResolverRuleInput) GoString() string

GoString returns the string representation

func (AssociateResolverRuleInput) String

String returns the string representation

func (*AssociateResolverRuleInput) Validate

func (s *AssociateResolverRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateResolverRuleOutput

type AssociateResolverRuleOutput struct {

	// Information about the AssociateResolverRule request, including the status
	// of the request.
	ResolverRuleAssociation *ResolverRuleAssociation `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverRuleResponse

func (AssociateResolverRuleOutput) GoString

func (s AssociateResolverRuleOutput) GoString() string

GoString returns the string representation

func (AssociateResolverRuleOutput) SDKResponseMetadata

func (s AssociateResolverRuleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AssociateResolverRuleOutput) String

String returns the string representation

type AssociateResolverRuleRequest

type AssociateResolverRuleRequest struct {
	*aws.Request
	Input *AssociateResolverRuleInput
	Copy  func(*AssociateResolverRuleInput) AssociateResolverRuleRequest
}

AssociateResolverRuleRequest is a API request type for the AssociateResolverRule API operation.

func (AssociateResolverRuleRequest) Send

Send marshals and sends the AssociateResolverRule API request.

type CreateResolverEndpointInput

type CreateResolverEndpointInput struct {

	// A unique string that identifies the request and that allows failed requests
	// to be retried without the risk of executing the operation twice. CreatorRequestId
	// can be any unique string, for example, a date/time stamp.
	//
	// CreatorRequestId is a required field
	CreatorRequestId *string `min:"1" type:"string" required:"true"`

	// Specify the applicable value:
	//
	//    * INBOUND: Resolver forwards DNS queries to the DNS service for a VPC
	//    from your network or another VPC
	//
	//    * OUTBOUND: Resolver forwards DNS queries from the DNS service for a VPC
	//    to your network or another VPC
	//
	// Direction is a required field
	Direction ResolverEndpointDirection `type:"string" required:"true" enum:"true"`

	// The subnets and IP addresses in your VPC that you want DNS queries to pass
	// through on the way from your VPCs to your network (for outbound endpoints)
	// or on the way from your network to your VPCs (for inbound resolver endpoints).
	//
	// IpAddresses is a required field
	IpAddresses []IpAddressRequest `min:"1" type:"list" required:"true"`

	// A friendly name that lets you easily find a configuration in the Resolver
	// dashboard in the Route 53 console.
	Name *string `type:"string"`

	// The ID of one or more security groups that you want to use to control access
	// to this VPC. The security group that you specify must include one or more
	// inbound rules (for inbound resolver endpoints) or outbound rules (for outbound
	// resolver endpoints).
	//
	// SecurityGroupIds is a required field
	SecurityGroupIds []string `type:"list" required:"true"`

	// A list of the tag keys and values that you want to associate with the endpoint.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverEndpointRequest

func (CreateResolverEndpointInput) GoString

func (s CreateResolverEndpointInput) GoString() string

GoString returns the string representation

func (CreateResolverEndpointInput) String

String returns the string representation

func (*CreateResolverEndpointInput) Validate

func (s *CreateResolverEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateResolverEndpointOutput

type CreateResolverEndpointOutput struct {

	// Information about the CreateResolverEndpoint request, including the status
	// of the request.
	ResolverEndpoint *ResolverEndpoint `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverEndpointResponse

func (CreateResolverEndpointOutput) GoString

func (s CreateResolverEndpointOutput) GoString() string

GoString returns the string representation

func (CreateResolverEndpointOutput) SDKResponseMetadata

func (s CreateResolverEndpointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateResolverEndpointOutput) String

String returns the string representation

type CreateResolverEndpointRequest

type CreateResolverEndpointRequest struct {
	*aws.Request
	Input *CreateResolverEndpointInput
	Copy  func(*CreateResolverEndpointInput) CreateResolverEndpointRequest
}

CreateResolverEndpointRequest is a API request type for the CreateResolverEndpoint API operation.

func (CreateResolverEndpointRequest) Send

Send marshals and sends the CreateResolverEndpoint API request.

type CreateResolverRuleInput

type CreateResolverRuleInput struct {

	// A unique string that identifies the request and that allows failed requests
	// to be retried without the risk of executing the operation twice. CreatorRequestId
	// can be any unique string, for example, a date/time stamp.
	//
	// CreatorRequestId is a required field
	CreatorRequestId *string `min:"1" type:"string" required:"true"`

	// DNS queries for this domain name are forwarded to the IP addresses that you
	// specify in TargetIps. If a query matches multiple resolver rules (example.com
	// and www.example.com), outbound DNS queries are routed using the resolver
	// rule that contains the most specific domain name (www.example.com).
	//
	// DomainName is a required field
	DomainName *string `min:"1" type:"string" required:"true"`

	// A friendly name that lets you easily find a rule in the Resolver dashboard
	// in the Route 53 console.
	Name *string `type:"string"`

	// The ID of the outbound resolver endpoint that you want to use to route DNS
	// queries to the IP addresses that you specify in TargetIps.
	ResolverEndpointId *string `min:"1" type:"string"`

	// Specify FORWARD. Other resolver rule types aren't supported.
	//
	// RuleType is a required field
	RuleType RuleTypeOption `type:"string" required:"true" enum:"true"`

	// A list of the tag keys and values that you want to associate with the endpoint.
	Tags []Tag `type:"list"`

	// The IPs that you want Resolver to forward DNS queries to. You can specify
	// only IPv4 addresses. Separate IP addresses with a comma.
	TargetIps []TargetAddress `min:"1" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRuleRequest

func (CreateResolverRuleInput) GoString

func (s CreateResolverRuleInput) GoString() string

GoString returns the string representation

func (CreateResolverRuleInput) String

func (s CreateResolverRuleInput) String() string

String returns the string representation

func (*CreateResolverRuleInput) Validate

func (s *CreateResolverRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateResolverRuleOutput

type CreateResolverRuleOutput struct {

	// Information about the CreateResolverRule request, including the status of
	// the request.
	ResolverRule *ResolverRule `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRuleResponse

func (CreateResolverRuleOutput) GoString

func (s CreateResolverRuleOutput) GoString() string

GoString returns the string representation

func (CreateResolverRuleOutput) SDKResponseMetadata

func (s CreateResolverRuleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateResolverRuleOutput) String

func (s CreateResolverRuleOutput) String() string

String returns the string representation

type CreateResolverRuleRequest

type CreateResolverRuleRequest struct {
	*aws.Request
	Input *CreateResolverRuleInput
	Copy  func(*CreateResolverRuleInput) CreateResolverRuleRequest
}

CreateResolverRuleRequest is a API request type for the CreateResolverRule API operation.

func (CreateResolverRuleRequest) Send

Send marshals and sends the CreateResolverRule API request.

type DeleteResolverEndpointInput

type DeleteResolverEndpointInput struct {

	// The ID of the resolver endpoint that you want to delete.
	//
	// ResolverEndpointId is a required field
	ResolverEndpointId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpointRequest

func (DeleteResolverEndpointInput) GoString

func (s DeleteResolverEndpointInput) GoString() string

GoString returns the string representation

func (DeleteResolverEndpointInput) String

String returns the string representation

func (*DeleteResolverEndpointInput) Validate

func (s *DeleteResolverEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteResolverEndpointOutput

type DeleteResolverEndpointOutput struct {

	// Information about the DeleteResolverEndpoint request, including the status
	// of the request.
	ResolverEndpoint *ResolverEndpoint `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpointResponse

func (DeleteResolverEndpointOutput) GoString

func (s DeleteResolverEndpointOutput) GoString() string

GoString returns the string representation

func (DeleteResolverEndpointOutput) SDKResponseMetadata

func (s DeleteResolverEndpointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteResolverEndpointOutput) String

String returns the string representation

type DeleteResolverEndpointRequest

type DeleteResolverEndpointRequest struct {
	*aws.Request
	Input *DeleteResolverEndpointInput
	Copy  func(*DeleteResolverEndpointInput) DeleteResolverEndpointRequest
}

DeleteResolverEndpointRequest is a API request type for the DeleteResolverEndpoint API operation.

func (DeleteResolverEndpointRequest) Send

Send marshals and sends the DeleteResolverEndpoint API request.

type DeleteResolverRuleInput

type DeleteResolverRuleInput struct {

	// The ID of the resolver rule that you want to delete.
	//
	// ResolverRuleId is a required field
	ResolverRuleId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRuleRequest

func (DeleteResolverRuleInput) GoString

func (s DeleteResolverRuleInput) GoString() string

GoString returns the string representation

func (DeleteResolverRuleInput) String

func (s DeleteResolverRuleInput) String() string

String returns the string representation

func (*DeleteResolverRuleInput) Validate

func (s *DeleteResolverRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteResolverRuleOutput

type DeleteResolverRuleOutput struct {

	// Information about the DeleteResolverRule request, including the status of
	// the request.
	ResolverRule *ResolverRule `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRuleResponse

func (DeleteResolverRuleOutput) GoString

func (s DeleteResolverRuleOutput) GoString() string

GoString returns the string representation

func (DeleteResolverRuleOutput) SDKResponseMetadata

func (s DeleteResolverRuleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteResolverRuleOutput) String

func (s DeleteResolverRuleOutput) String() string

String returns the string representation

type DeleteResolverRuleRequest

type DeleteResolverRuleRequest struct {
	*aws.Request
	Input *DeleteResolverRuleInput
	Copy  func(*DeleteResolverRuleInput) DeleteResolverRuleRequest
}

DeleteResolverRuleRequest is a API request type for the DeleteResolverRule API operation.

func (DeleteResolverRuleRequest) Send

Send marshals and sends the DeleteResolverRule API request.

type DisassociateResolverEndpointIpAddressInput

type DisassociateResolverEndpointIpAddressInput struct {

	// The IPv4 address that you want to remove from a resolver endpoint.
	//
	// IpAddress is a required field
	IpAddress *IpAddressUpdate `type:"structure" required:"true"`

	// The ID of the resolver endpoint that you want to disassociate an IP address
	// from.
	//
	// ResolverEndpointId is a required field
	ResolverEndpointId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddressRequest

func (DisassociateResolverEndpointIpAddressInput) GoString

GoString returns the string representation

func (DisassociateResolverEndpointIpAddressInput) String

String returns the string representation

func (*DisassociateResolverEndpointIpAddressInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DisassociateResolverEndpointIpAddressOutput

type DisassociateResolverEndpointIpAddressOutput struct {

	// The response to an DisassociateResolverEndpointIpAddress request.
	ResolverEndpoint *ResolverEndpoint `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddressResponse

func (DisassociateResolverEndpointIpAddressOutput) GoString

GoString returns the string representation

func (DisassociateResolverEndpointIpAddressOutput) SDKResponseMetadata

SDKResponseMetdata return sthe response metadata for the API.

func (DisassociateResolverEndpointIpAddressOutput) String

String returns the string representation

type DisassociateResolverEndpointIpAddressRequest

DisassociateResolverEndpointIpAddressRequest is a API request type for the DisassociateResolverEndpointIpAddress API operation.

func (DisassociateResolverEndpointIpAddressRequest) Send

Send marshals and sends the DisassociateResolverEndpointIpAddress API request.

type DisassociateResolverRuleInput

type DisassociateResolverRuleInput struct {

	// The ID of the resolver rule that you want to disassociate from the specified
	// VPC.
	//
	// ResolverRuleId is a required field
	ResolverRuleId *string `min:"1" type:"string" required:"true"`

	// The ID of the VPC that you want to disassociate the resolver rule from.
	//
	// VPCId is a required field
	VPCId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverRuleRequest

func (DisassociateResolverRuleInput) GoString

GoString returns the string representation

func (DisassociateResolverRuleInput) String

String returns the string representation

func (*DisassociateResolverRuleInput) Validate

func (s *DisassociateResolverRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisassociateResolverRuleOutput

type DisassociateResolverRuleOutput struct {

	// Information about the DisassociateResolverRule request, including the status
	// of the request.
	ResolverRuleAssociation *ResolverRuleAssociation `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverRuleResponse

func (DisassociateResolverRuleOutput) GoString

GoString returns the string representation

func (DisassociateResolverRuleOutput) SDKResponseMetadata

func (s DisassociateResolverRuleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DisassociateResolverRuleOutput) String

String returns the string representation

type DisassociateResolverRuleRequest

type DisassociateResolverRuleRequest struct {
	*aws.Request
	Input *DisassociateResolverRuleInput
	Copy  func(*DisassociateResolverRuleInput) DisassociateResolverRuleRequest
}

DisassociateResolverRuleRequest is a API request type for the DisassociateResolverRule API operation.

func (DisassociateResolverRuleRequest) Send

Send marshals and sends the DisassociateResolverRule API request.

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 `min:"1" type:"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 `type:"list"`
	// contains filtered or unexported fields
}

For List operations, an optional specification to return a subset of objects, such as resolver endpoints or resolver rules. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/Filter

func (Filter) GoString

func (s Filter) GoString() string

GoString returns the string representation

func (Filter) String

func (s Filter) String() string

String returns the string representation

func (*Filter) Validate

func (s *Filter) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetResolverEndpointInput

type GetResolverEndpointInput struct {

	// The ID of the resolver endpoint that you want to get information about.
	//
	// ResolverEndpointId is a required field
	ResolverEndpointId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverEndpointRequest

func (GetResolverEndpointInput) GoString

func (s GetResolverEndpointInput) GoString() string

GoString returns the string representation

func (GetResolverEndpointInput) String

func (s GetResolverEndpointInput) String() string

String returns the string representation

func (*GetResolverEndpointInput) Validate

func (s *GetResolverEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetResolverEndpointOutput

type GetResolverEndpointOutput struct {

	// Information about the resolver endpoint that you specified in a GetResolverEndpoint
	// request.
	ResolverEndpoint *ResolverEndpoint `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverEndpointResponse

func (GetResolverEndpointOutput) GoString

func (s GetResolverEndpointOutput) GoString() string

GoString returns the string representation

func (GetResolverEndpointOutput) SDKResponseMetadata

func (s GetResolverEndpointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetResolverEndpointOutput) String

func (s GetResolverEndpointOutput) String() string

String returns the string representation

type GetResolverEndpointRequest

type GetResolverEndpointRequest struct {
	*aws.Request
	Input *GetResolverEndpointInput
	Copy  func(*GetResolverEndpointInput) GetResolverEndpointRequest
}

GetResolverEndpointRequest is a API request type for the GetResolverEndpoint API operation.

func (GetResolverEndpointRequest) Send

Send marshals and sends the GetResolverEndpoint API request.

type GetResolverRuleAssociationInput

type GetResolverRuleAssociationInput struct {

	// The ID of the resolver rule association that you want to get information
	// about.
	//
	// ResolverRuleAssociationId is a required field
	ResolverRuleAssociationId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleAssociationRequest

func (GetResolverRuleAssociationInput) GoString

GoString returns the string representation

func (GetResolverRuleAssociationInput) String

String returns the string representation

func (*GetResolverRuleAssociationInput) Validate

func (s *GetResolverRuleAssociationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetResolverRuleAssociationOutput

type GetResolverRuleAssociationOutput struct {

	// Information about the resolver rule association that you specified in a GetResolverRuleAssociation
	// request.
	ResolverRuleAssociation *ResolverRuleAssociation `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleAssociationResponse

func (GetResolverRuleAssociationOutput) GoString

GoString returns the string representation

func (GetResolverRuleAssociationOutput) SDKResponseMetadata

func (s GetResolverRuleAssociationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetResolverRuleAssociationOutput) String

String returns the string representation

type GetResolverRuleAssociationRequest

type GetResolverRuleAssociationRequest struct {
	*aws.Request
	Input *GetResolverRuleAssociationInput
	Copy  func(*GetResolverRuleAssociationInput) GetResolverRuleAssociationRequest
}

GetResolverRuleAssociationRequest is a API request type for the GetResolverRuleAssociation API operation.

func (GetResolverRuleAssociationRequest) Send

Send marshals and sends the GetResolverRuleAssociation API request.

type GetResolverRuleInput

type GetResolverRuleInput struct {

	// The ID of the resolver rule that you want to get information about.
	//
	// ResolverRuleId is a required field
	ResolverRuleId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleRequest

func (GetResolverRuleInput) GoString

func (s GetResolverRuleInput) GoString() string

GoString returns the string representation

func (GetResolverRuleInput) String

func (s GetResolverRuleInput) String() string

String returns the string representation

func (*GetResolverRuleInput) Validate

func (s *GetResolverRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetResolverRuleOutput

type GetResolverRuleOutput struct {

	// Information about the resolver rule that you specified in a GetResolverRule
	// request.
	ResolverRule *ResolverRule `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleResponse

func (GetResolverRuleOutput) GoString

func (s GetResolverRuleOutput) GoString() string

GoString returns the string representation

func (GetResolverRuleOutput) SDKResponseMetadata

func (s GetResolverRuleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetResolverRuleOutput) String

func (s GetResolverRuleOutput) String() string

String returns the string representation

type GetResolverRulePolicyInput

type GetResolverRulePolicyInput struct {

	// The ID of the resolver rule policy that you want to get information about.
	//
	// Arn is a required field
	Arn *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRulePolicyRequest

func (GetResolverRulePolicyInput) GoString

func (s GetResolverRulePolicyInput) GoString() string

GoString returns the string representation

func (GetResolverRulePolicyInput) String

String returns the string representation

func (*GetResolverRulePolicyInput) Validate

func (s *GetResolverRulePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetResolverRulePolicyOutput

type GetResolverRulePolicyOutput struct {

	// Information about the resolver rule policy that you specified in a GetResolverRulePolicy
	// request.
	ResolverRulePolicy *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRulePolicyResponse

func (GetResolverRulePolicyOutput) GoString

func (s GetResolverRulePolicyOutput) GoString() string

GoString returns the string representation

func (GetResolverRulePolicyOutput) SDKResponseMetadata

func (s GetResolverRulePolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetResolverRulePolicyOutput) String

String returns the string representation

type GetResolverRulePolicyRequest

type GetResolverRulePolicyRequest struct {
	*aws.Request
	Input *GetResolverRulePolicyInput
	Copy  func(*GetResolverRulePolicyInput) GetResolverRulePolicyRequest
}

GetResolverRulePolicyRequest is a API request type for the GetResolverRulePolicy API operation.

func (GetResolverRulePolicyRequest) Send

Send marshals and sends the GetResolverRulePolicy API request.

type GetResolverRuleRequest

type GetResolverRuleRequest struct {
	*aws.Request
	Input *GetResolverRuleInput
	Copy  func(*GetResolverRuleInput) GetResolverRuleRequest
}

GetResolverRuleRequest is a API request type for the GetResolverRule API operation.

func (GetResolverRuleRequest) Send

Send marshals and sends the GetResolverRule API request.

type IpAddressRequest

type IpAddressRequest struct {

	// The IP address that you want to use for DNS queries.
	Ip *string `min:"7" type:"string"`

	// The subnet that contains the IP address.
	//
	// SubnetId is a required field
	SubnetId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

In an CreateResolverEndpoint request, a subnet and IP address that you want to use for DNS queries. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/IpAddressRequest

func (IpAddressRequest) GoString

func (s IpAddressRequest) GoString() string

GoString returns the string representation

func (IpAddressRequest) String

func (s IpAddressRequest) String() string

String returns the string representation

func (*IpAddressRequest) Validate

func (s *IpAddressRequest) Validate() error

Validate inspects the fields of the type to determine if they are valid.

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 `min:"20" type:"string"`

	// One IP address that the resolver endpoint uses for DNS queries.
	Ip *string `min:"7" type:"string"`

	// The ID of one IP address.
	IpId *string `min:"1" type:"string"`

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

	// A status code that gives the current status of the request.
	Status IpAddressStatus `type:"string" enum:"true"`

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

	// The ID of one subnet.
	SubnetId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

In the response to a GetResolverEndpoint request, information about the IP addresses that the resolver endpoint uses for DNS queries. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/IpAddressResponse

func (IpAddressResponse) GoString

func (s IpAddressResponse) GoString() string

GoString returns the string representation

func (IpAddressResponse) String

func (s IpAddressResponse) String() string

String returns the string representation

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

func (IpAddressStatus) MarshalValue

func (enum IpAddressStatus) MarshalValue() (string, error)

func (IpAddressStatus) MarshalValueBuf

func (enum IpAddressStatus) MarshalValueBuf(b []byte) ([]byte, error)

type IpAddressUpdate

type IpAddressUpdate struct {

	// The new IP address.
	Ip *string `min:"7" type:"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 `min:"1" type:"string"`

	// The ID of the subnet that includes the IP address that you want to update.
	// To get this ID, use GetResolverEndpoint.
	SubnetId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

In an UpdateResolverEndpoint request, information about an IP address to update. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/IpAddressUpdate

func (IpAddressUpdate) GoString

func (s IpAddressUpdate) GoString() string

GoString returns the string representation

func (IpAddressUpdate) String

func (s IpAddressUpdate) String() string

String returns the string representation

func (*IpAddressUpdate) Validate

func (s *IpAddressUpdate) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListResolverEndpointIpAddressesInput

type ListResolverEndpointIpAddressesInput struct {

	// The maximum number of IP addresses that you want to return in the response
	// to a ListResolverEndpointIpAddresses request. If you don't specify a value
	// for MaxResults, Resolver returns up to 100 IP addresses.
	MaxResults *int64 `min:"1" type:"integer"`

	// For the first ListResolverEndpointIpAddresses request, omit this value.
	//
	// If the specified resolver endpoint has more than MaxResults IP addresses,
	// you can submit another ListResolverEndpointIpAddresses request to get the
	// next group of IP addresses. In the next request, specify the value of NextToken
	// from the previous response.
	NextToken *string `type:"string"`

	// The ID of the resolver endpoint that you want to get IP addresses for.
	//
	// ResolverEndpointId is a required field
	ResolverEndpointId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddressesRequest

func (ListResolverEndpointIpAddressesInput) GoString

GoString returns the string representation

func (ListResolverEndpointIpAddressesInput) String

String returns the string representation

func (*ListResolverEndpointIpAddressesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListResolverEndpointIpAddressesOutput

type ListResolverEndpointIpAddressesOutput struct {

	// The IP addresses that DNS queries pass through on their way to your network
	// (outbound endpoint) or on the way to Resolver (inbound endpoint).
	IpAddresses []IpAddressResponse `type:"list"`

	// The value that you specified for MaxResults in the request.
	MaxResults *int64 `min:"1" type:"integer"`

	// If the specified endpoint has more than MaxResults IP addresses, you can
	// submit another ListResolverEndpointIpAddresses request to get the next group
	// of IP addresses. In the next request, specify the value of NextToken from
	// the previous response.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddressesResponse

func (ListResolverEndpointIpAddressesOutput) GoString

GoString returns the string representation

func (ListResolverEndpointIpAddressesOutput) SDKResponseMetadata

func (s ListResolverEndpointIpAddressesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListResolverEndpointIpAddressesOutput) String

String returns the string representation

type ListResolverEndpointIpAddressesPager

type ListResolverEndpointIpAddressesPager struct {
	aws.Pager
}

ListResolverEndpointIpAddressesPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListResolverEndpointIpAddressesPager) CurrentPage

type ListResolverEndpointIpAddressesRequest

type ListResolverEndpointIpAddressesRequest struct {
	*aws.Request
	Input *ListResolverEndpointIpAddressesInput
	Copy  func(*ListResolverEndpointIpAddressesInput) ListResolverEndpointIpAddressesRequest
}

ListResolverEndpointIpAddressesRequest is a API request type for the ListResolverEndpointIpAddresses API operation.

func (*ListResolverEndpointIpAddressesRequest) Paginate

Paginate pages iterates over the pages of a ListResolverEndpointIpAddressesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListResolverEndpointIpAddresses operation.
		req := client.ListResolverEndpointIpAddressesRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListResolverEndpointIpAddressesRequest) Send

Send marshals and sends the ListResolverEndpointIpAddresses API request.

type ListResolverEndpointsInput

type ListResolverEndpointsInput struct {

	// An optional specification to return a subset of resolver endpoints, such
	// as all inbound resolver endpoints.
	//
	// If you submit a second or subsequent ListResolverEndpoints request and specify
	// the NextToken parameter, you must use the same values for Filters, if any,
	// as in the previous request.
	Filters []Filter `type:"list"`

	// The maximum number of resolver endpoints that you want to return in the response
	// to a ListResolverEndpoints request. If you don't specify a value for MaxResults,
	// Resolver returns up to 100 resolver endpoints.
	MaxResults *int64 `min:"1" type:"integer"`

	// For the first ListResolverEndpoints request, omit this value.
	//
	// If you have more than MaxResults resolver endpoints, you can submit another
	// ListResolverEndpoints request to get the next group of resolver endpoints.
	// In the next request, specify the value of NextToken from the previous response.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointsRequest

func (ListResolverEndpointsInput) GoString

func (s ListResolverEndpointsInput) GoString() string

GoString returns the string representation

func (ListResolverEndpointsInput) String

String returns the string representation

func (*ListResolverEndpointsInput) Validate

func (s *ListResolverEndpointsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListResolverEndpointsOutput

type ListResolverEndpointsOutput struct {

	// The value that you specified for MaxResults in the request.
	MaxResults *int64 `min:"1" type:"integer"`

	// If more than MaxResults IP addresses match the specified criteria, you can
	// submit another ListResolverEndpoint request to get the next group of results.
	// In the next request, specify the value of NextToken from the previous response.
	NextToken *string `type:"string"`

	// The resolver endpoints that were created by using the current AWS account,
	// and that match the specified filters, if any.
	ResolverEndpoints []ResolverEndpoint `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointsResponse

func (ListResolverEndpointsOutput) GoString

func (s ListResolverEndpointsOutput) GoString() string

GoString returns the string representation

func (ListResolverEndpointsOutput) SDKResponseMetadata

func (s ListResolverEndpointsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListResolverEndpointsOutput) String

String returns the string representation

type ListResolverEndpointsPager

type ListResolverEndpointsPager struct {
	aws.Pager
}

ListResolverEndpointsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListResolverEndpointsPager) CurrentPage

type ListResolverEndpointsRequest

type ListResolverEndpointsRequest struct {
	*aws.Request
	Input *ListResolverEndpointsInput
	Copy  func(*ListResolverEndpointsInput) ListResolverEndpointsRequest
}

ListResolverEndpointsRequest is a API request type for the ListResolverEndpoints API operation.

func (*ListResolverEndpointsRequest) Paginate

Paginate pages iterates over the pages of a ListResolverEndpointsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListResolverEndpoints operation.
		req := client.ListResolverEndpointsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListResolverEndpointsRequest) Send

Send marshals and sends the ListResolverEndpoints API request.

type ListResolverRuleAssociationsInput

type ListResolverRuleAssociationsInput struct {

	// An optional specification to return a subset of resolver rules, such as resolver
	// rules that are associated with the same VPC ID.
	//
	// If you submit a second or subsequent ListResolverRuleAssociations request
	// and specify the NextToken parameter, you must use the same values for Filters,
	// if any, as in the previous request.
	Filters []Filter `type:"list"`

	// The maximum number of rule associations that you want to return in the response
	// to a ListResolverRuleAssociations request. If you don't specify a value for
	// MaxResults, Resolver returns up to 100 rule associations.
	MaxResults *int64 `min:"1" type:"integer"`

	// For the first ListResolverRuleAssociation request, omit this value.
	//
	// If you have more than MaxResults rule associations, you can submit another
	// ListResolverRuleAssociation request to get the next group of rule associations.
	// In the next request, specify the value of NextToken from the previous response.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRuleAssociationsRequest

func (ListResolverRuleAssociationsInput) GoString

GoString returns the string representation

func (ListResolverRuleAssociationsInput) String

String returns the string representation

func (*ListResolverRuleAssociationsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListResolverRuleAssociationsOutput

type ListResolverRuleAssociationsOutput struct {

	// The value that you specified for MaxResults in the request.
	MaxResults *int64 `min:"1" type:"integer"`

	// If more than MaxResults rule associations match the specified criteria, you
	// can submit another ListResolverRuleAssociation request to get the next group
	// of results. In the next request, specify the value of NextToken from the
	// previous response.
	NextToken *string `type:"string"`

	// The associations that were created between resolver rules and VPCs using
	// the current AWS account, and that match the specified filters, if any.
	ResolverRuleAssociations []ResolverRuleAssociation `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRuleAssociationsResponse

func (ListResolverRuleAssociationsOutput) GoString

GoString returns the string representation

func (ListResolverRuleAssociationsOutput) SDKResponseMetadata

func (s ListResolverRuleAssociationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListResolverRuleAssociationsOutput) String

String returns the string representation

type ListResolverRuleAssociationsPager

type ListResolverRuleAssociationsPager struct {
	aws.Pager
}

ListResolverRuleAssociationsPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListResolverRuleAssociationsPager) CurrentPage

type ListResolverRuleAssociationsRequest

type ListResolverRuleAssociationsRequest struct {
	*aws.Request
	Input *ListResolverRuleAssociationsInput
	Copy  func(*ListResolverRuleAssociationsInput) ListResolverRuleAssociationsRequest
}

ListResolverRuleAssociationsRequest is a API request type for the ListResolverRuleAssociations API operation.

func (*ListResolverRuleAssociationsRequest) Paginate

Paginate pages iterates over the pages of a ListResolverRuleAssociationsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListResolverRuleAssociations operation.
		req := client.ListResolverRuleAssociationsRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListResolverRuleAssociationsRequest) Send

Send marshals and sends the ListResolverRuleAssociations API request.

type ListResolverRulesInput

type ListResolverRulesInput struct {

	// An optional specification to return a subset of resolver rules, such as all
	// resolver rules that are associated with the same resolver endpoint.
	//
	// If you submit a second or subsequent ListResolverRules request and specify
	// the NextToken parameter, you must use the same values for Filters, if any,
	// as in the previous request.
	Filters []Filter `type:"list"`

	// The maximum number of resolver rules that you want to return in the response
	// to a ListResolverRules request. If you don't specify a value for MaxResults,
	// Resolver returns up to 100 resolver rules.
	MaxResults *int64 `min:"1" type:"integer"`

	// For the first ListResolverRules request, omit this value.
	//
	// If you have more than MaxResults resolver rules, you can submit another ListResolverRules
	// request to get the next group of resolver rules. In the next request, specify
	// the value of NextToken from the previous response.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRulesRequest

func (ListResolverRulesInput) GoString

func (s ListResolverRulesInput) GoString() string

GoString returns the string representation

func (ListResolverRulesInput) String

func (s ListResolverRulesInput) String() string

String returns the string representation

func (*ListResolverRulesInput) Validate

func (s *ListResolverRulesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListResolverRulesOutput

type ListResolverRulesOutput struct {

	// The value that you specified for MaxResults in the request.
	MaxResults *int64 `min:"1" type:"integer"`

	// If more than MaxResults resolver rules match the specified criteria, you
	// can submit another ListResolverRules request to get the next group of results.
	// In the next request, specify the value of NextToken from the previous response.
	NextToken *string `type:"string"`

	// The resolver rules that were created using the current AWS account and that
	// match the specified filters, if any.
	ResolverRules []ResolverRule `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRulesResponse

func (ListResolverRulesOutput) GoString

func (s ListResolverRulesOutput) GoString() string

GoString returns the string representation

func (ListResolverRulesOutput) SDKResponseMetadata

func (s ListResolverRulesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListResolverRulesOutput) String

func (s ListResolverRulesOutput) String() string

String returns the string representation

type ListResolverRulesPager

type ListResolverRulesPager struct {
	aws.Pager
}

ListResolverRulesPager is used to paginate the request. This can be done by calling Next and CurrentPage.

func (*ListResolverRulesPager) CurrentPage

type ListResolverRulesRequest

type ListResolverRulesRequest struct {
	*aws.Request
	Input *ListResolverRulesInput
	Copy  func(*ListResolverRulesInput) ListResolverRulesRequest
}

ListResolverRulesRequest is a API request type for the ListResolverRules API operation.

func (*ListResolverRulesRequest) Paginate

Paginate pages iterates over the pages of a ListResolverRulesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.

Note: This operation can generate multiple requests to a service.

   // Example iterating over at most 3 pages of a ListResolverRules operation.
		req := client.ListResolverRulesRequest(input)
		p := req.Paginate()
		for p.Next() {
			page := p.CurrentPage()
		}

		if err := p.Err(); err != nil {
			return err
		}

func (ListResolverRulesRequest) Send

Send marshals and sends the ListResolverRules API request.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The maximum number of tags that you want to return in the response to a ListTagsForResource
	// request. If you don't specify a value for MaxResults, Resolver returns up
	// to 100 tags.
	MaxResults *int64 `min:"1" type:"integer"`

	// For the first ListTagsForResource request, omit this value.
	//
	// If you have more than MaxResults tags, you can submit another ListTagsForResource
	// request to get the next group of tags for the resource. In the next request,
	// specify the value of NextToken from the previous response.
	NextToken *string `type:"string"`

	// The Amazon Resource Name (ARN) for the resource that you want to list tags
	// for.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListTagsForResourceRequest

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// If more than MaxResults tags match the specified criteria, you can submit
	// another ListTagsForResource request to get the next group of results. In
	// the next request, specify the value of NextToken from the previous response.
	NextToken *string `type:"string"`

	// The tags that are associated with the resource that you specified in the
	// ListTagsForResource request.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListTagsForResourceResponse

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (ListTagsForResourceOutput) SDKResponseMetadata

func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is a API request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type PutResolverRulePolicyInput

type PutResolverRulePolicyInput struct {

	// The Amazon Resource Name (ARN) of the account that you want to grant permissions
	// to.
	//
	// Arn is a required field
	Arn *string `min:"1" type:"string" required:"true"`

	// An AWS Identity and Access Management policy statement that lists the permissions
	// that you want to grant to another AWS account.
	//
	// ResolverRulePolicy is a required field
	ResolverRulePolicy *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicyRequest

func (PutResolverRulePolicyInput) GoString

func (s PutResolverRulePolicyInput) GoString() string

GoString returns the string representation

func (PutResolverRulePolicyInput) String

String returns the string representation

func (*PutResolverRulePolicyInput) Validate

func (s *PutResolverRulePolicyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutResolverRulePolicyOutput

type PutResolverRulePolicyOutput struct {

	// Whether the PutResolverRulePolicy request was successful.
	ReturnValue *bool `type:"boolean"`
	// contains filtered or unexported fields
}

The response to a PutResolverRulePolicy request. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicyResponse

func (PutResolverRulePolicyOutput) GoString

func (s PutResolverRulePolicyOutput) GoString() string

GoString returns the string representation

func (PutResolverRulePolicyOutput) SDKResponseMetadata

func (s PutResolverRulePolicyOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutResolverRulePolicyOutput) String

String returns the string representation

type PutResolverRulePolicyRequest

type PutResolverRulePolicyRequest struct {
	*aws.Request
	Input *PutResolverRulePolicyInput
	Copy  func(*PutResolverRulePolicyInput) PutResolverRulePolicyRequest
}

PutResolverRulePolicyRequest is a API request type for the PutResolverRulePolicy API operation.

func (PutResolverRulePolicyRequest) Send

Send marshals and sends the PutResolverRulePolicy API request.

type ResolverEndpoint

type ResolverEndpoint struct {

	// The ARN (Amazon Resource Name) for the resolver endpoint.
	Arn *string `min:"1" type:"string"`

	// The date and time that the endpoint was created, in Unix time format and
	// Coordinated Universal Time (UTC).
	CreationTime *string `min:"20" type:"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 `min:"1" type:"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 `type:"string" enum:"true"`

	// The ID of the VPC that you want to create the resolver endpoint in.
	HostVPCId *string `min:"1" type:"string"`

	// The ID of the resolver endpoint.
	Id *string `min:"1" type:"string"`

	// The number of IP addresses that the resolver endpoint can use for DNS queries.
	IpAddressCount *int64 `type:"integer"`

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

	// The name that you assigned to the resolver endpoint when you submitted a
	// CreateResolverEndpoint request.
	Name *string `type:"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 `type:"list"`

	// A code that specifies the current status of the resolver endpoint.
	Status ResolverEndpointStatus `type:"string" enum:"true"`

	// A detailed description of the status of the resolver endpoint.
	StatusMessage *string `type:"string"`
	// contains filtered or unexported fields
}

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverEndpoint

func (ResolverEndpoint) GoString

func (s ResolverEndpoint) GoString() string

GoString returns the string representation

func (ResolverEndpoint) String

func (s ResolverEndpoint) String() string

String returns the string representation

type ResolverEndpointDirection

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

Enum values for ResolverEndpointDirection

func (ResolverEndpointDirection) MarshalValue

func (enum ResolverEndpointDirection) MarshalValue() (string, error)

func (ResolverEndpointDirection) MarshalValueBuf

func (enum ResolverEndpointDirection) MarshalValueBuf(b []byte) ([]byte, error)

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

func (ResolverEndpointStatus) MarshalValue

func (enum ResolverEndpointStatus) MarshalValue() (string, error)

func (ResolverEndpointStatus) MarshalValueBuf

func (enum ResolverEndpointStatus) MarshalValueBuf(b []byte) ([]byte, error)

type ResolverRule

type ResolverRule struct {

	// The ARN (Amazon Resource Name) for the resolver rule specified by Id.
	Arn *string `min:"1" type:"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 `min:"1" type:"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 `min:"1" type:"string"`

	// The ID that Resolver assigned to the resolver rule when you created it.
	Id *string `min:"1" type:"string"`

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

	// When a rule is shared with another AWS account, the account ID of the account
	// that the rule is shared with.
	OwnerId *string `min:"12" type:"string"`

	// The ID of the endpoint that the rule is associated with.
	ResolverEndpointId *string `min:"1" type:"string"`

	// This value is always FORWARD. Other resolver rule types aren't supported.
	RuleType RuleTypeOption `type:"string" enum:"true"`

	// 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 `type:"string" enum:"true"`

	// A code that specifies the current status of the resolver rule.
	Status ResolverRuleStatus `type:"string" enum:"true"`

	// A detailed description of the status of a resolver rule.
	StatusMessage *string `type:"string"`

	// An array that contains the IP addresses and ports that you want to forward
	TargetIps []TargetAddress `min:"1" type:"list"`
	// contains filtered or unexported fields
}

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRule

func (ResolverRule) GoString

func (s ResolverRule) GoString() string

GoString returns the string representation

func (ResolverRule) String

func (s ResolverRule) String() string

String returns the string representation

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 `min:"1" type:"string"`

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

	// The ID of the resolver rule that you associated with the VPC that is specified
	// by VPCId.
	ResolverRuleId *string `min:"1" type:"string"`

	// A code that specifies the current status of the association between a resolver
	// rule and a VPC.
	Status ResolverRuleAssociationStatus `type:"string" enum:"true"`

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

	// The ID of the VPC that you associated the resolver rule with.
	VPCId *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

In the response to an AssociateResolverRule, DisassociateResolverRule, or ListResolverRuleAssociations request, information about an association between a resolver rule and a VPC. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRuleAssociation

func (ResolverRuleAssociation) GoString

func (s ResolverRuleAssociation) GoString() string

GoString returns the string representation

func (ResolverRuleAssociation) String

func (s ResolverRuleAssociation) String() string

String returns the string representation

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

func (ResolverRuleAssociationStatus) MarshalValue

func (enum ResolverRuleAssociationStatus) MarshalValue() (string, error)

func (ResolverRuleAssociationStatus) MarshalValueBuf

func (enum ResolverRuleAssociationStatus) MarshalValueBuf(b []byte) ([]byte, error)

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 `type:"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 `min:"1" type:"string"`

	// For DNS queries that originate in your VPC, the new IP addresses that you
	// want to route outbound DNS queries to.
	TargetIps []TargetAddress `min:"1" type:"list"`
	// contains filtered or unexported fields
}

In an UpdateResolverRule request, information about the changes that you want to make. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRuleConfig

func (ResolverRuleConfig) GoString

func (s ResolverRuleConfig) GoString() string

GoString returns the string representation

func (ResolverRuleConfig) String

func (s ResolverRuleConfig) String() string

String returns the string representation

func (*ResolverRuleConfig) Validate

func (s *ResolverRuleConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResolverRuleStatus

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

Enum values for ResolverRuleStatus

func (ResolverRuleStatus) MarshalValue

func (enum ResolverRuleStatus) MarshalValue() (string, error)

func (ResolverRuleStatus) MarshalValueBuf

func (enum ResolverRuleStatus) MarshalValueBuf(b []byte) ([]byte, error)

type Route53Resolver

type Route53Resolver struct {
	*aws.Client
}

Route53Resolver provides the API operation methods for making requests to Amazon Route 53 Resolver. See this package's package overview docs for details on the service.

Route53Resolver methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Route53Resolver

New creates a new instance of the Route53Resolver client with a config.

Example:

// Create a Route53Resolver client from just a config.
svc := route53resolver.New(myConfig)

func (*Route53Resolver) AssociateResolverEndpointIpAddressRequest

func (c *Route53Resolver) AssociateResolverEndpointIpAddressRequest(input *AssociateResolverEndpointIpAddressInput) AssociateResolverEndpointIpAddressRequest

AssociateResolverEndpointIpAddressRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Adds IP addresses to an inbound or an outbound resolver endpoint. If you want to adding more than one IP address, submit one AssociateResolverEndpointIpAddress request for each IP address.

To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.

// Example sending a request using the AssociateResolverEndpointIpAddressRequest method.
req := client.AssociateResolverEndpointIpAddressRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverEndpointIpAddress

func (*Route53Resolver) AssociateResolverRuleRequest

func (c *Route53Resolver) AssociateResolverRuleRequest(input *AssociateResolverRuleInput) AssociateResolverRuleRequest

AssociateResolverRuleRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Associates a resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see CreateResolverRule.

// Example sending a request using the AssociateResolverRuleRequest method.
req := client.AssociateResolverRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverRule

func (*Route53Resolver) CreateResolverEndpointRequest

func (c *Route53Resolver) CreateResolverEndpointRequest(input *CreateResolverEndpointInput) CreateResolverEndpointRequest

CreateResolverEndpointRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Creates a resolver endpoint. There are two types of resolver endpoints, inbound and outbound:

  • An inbound resolver endpoint forwards DNS queries to the DNS service for a VPC from your network or another VPC.

  • An outbound resolver endpoint forwards DNS queries from the DNS service for a VPC to your network or another VPC.

    // Example sending a request using the CreateResolverEndpointRequest method. req := client.CreateResolverEndpointRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverEndpoint

func (*Route53Resolver) CreateResolverRuleRequest

func (c *Route53Resolver) CreateResolverRuleRequest(input *CreateResolverRuleInput) CreateResolverRuleRequest

CreateResolverRuleRequest returns a request value for making API operation for Amazon Route 53 Resolver.

For DNS queries that originate in your VPCs, specifies which resolver endpoint the queries pass through, one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network.

// Example sending a request using the CreateResolverRuleRequest method.
req := client.CreateResolverRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRule

func (*Route53Resolver) DeleteResolverEndpointRequest

func (c *Route53Resolver) DeleteResolverEndpointRequest(input *DeleteResolverEndpointInput) DeleteResolverEndpointRequest

DeleteResolverEndpointRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Deletes a resolver endpoint. The effect of deleting a resolver endpoint depends on whether it's an inbound or an outbound resolver endpoint:

  • Inbound: DNS queries from your network or another VPC are no longer routed to the DNS service for the specified VPC.

  • Outbound: DNS queries from a VPC are no longer routed to your network or to another VPC.

    // Example sending a request using the DeleteResolverEndpointRequest method. req := client.DeleteResolverEndpointRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpoint

func (*Route53Resolver) DeleteResolverRuleRequest

func (c *Route53Resolver) DeleteResolverRuleRequest(input *DeleteResolverRuleInput) DeleteResolverRuleRequest

DeleteResolverRuleRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Deletes a resolver rule. Before you can delete a resolver rule, you must disassociate it from all the VPCs that you associated the resolver rule with. For more infomation, see DisassociateResolverRule.

// Example sending a request using the DeleteResolverRuleRequest method.
req := client.DeleteResolverRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRule

func (*Route53Resolver) DisassociateResolverEndpointIpAddressRequest

DisassociateResolverEndpointIpAddressRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Removes IP addresses from an inbound or an outbound resolver endpoint. If you want to remove more than one IP address, submit one DisassociateResolverEndpointIpAddress request for each IP address.

To add an IP address to an endpoint, see AssociateResolverEndpointIpAddress.

// Example sending a request using the DisassociateResolverEndpointIpAddressRequest method.
req := client.DisassociateResolverEndpointIpAddressRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddress

func (*Route53Resolver) DisassociateResolverRuleRequest

func (c *Route53Resolver) DisassociateResolverRuleRequest(input *DisassociateResolverRuleInput) DisassociateResolverRuleRequest

DisassociateResolverRuleRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Removes the association between a specified resolver rule and a specified VPC.

If you disassociate a resolver rule from a VPC, Resolver stops forwarding DNS queries for the domain name that you specified in the resolver rule.

// Example sending a request using the DisassociateResolverRuleRequest method.
req := client.DisassociateResolverRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverRule

func (*Route53Resolver) GetResolverEndpointRequest

func (c *Route53Resolver) GetResolverEndpointRequest(input *GetResolverEndpointInput) GetResolverEndpointRequest

GetResolverEndpointRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Gets information about a specified resolver endpoint, such as whether it's an inbound or an outbound resolver endpoint, and the current status of the endpoint.

// Example sending a request using the GetResolverEndpointRequest method.
req := client.GetResolverEndpointRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverEndpoint

func (*Route53Resolver) GetResolverRuleAssociationRequest

func (c *Route53Resolver) GetResolverRuleAssociationRequest(input *GetResolverRuleAssociationInput) GetResolverRuleAssociationRequest

GetResolverRuleAssociationRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Gets information about an association between a specified resolver rule and a VPC. You associate a resolver rule and a VPC using AssociateResolverRule.

// Example sending a request using the GetResolverRuleAssociationRequest method.
req := client.GetResolverRuleAssociationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleAssociation

func (*Route53Resolver) GetResolverRulePolicyRequest

func (c *Route53Resolver) GetResolverRulePolicyRequest(input *GetResolverRulePolicyInput) GetResolverRulePolicyRequest

GetResolverRulePolicyRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Gets information about a resolver rule policy. A resolver rule policy specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.

// Example sending a request using the GetResolverRulePolicyRequest method.
req := client.GetResolverRulePolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRulePolicy

func (*Route53Resolver) GetResolverRuleRequest

func (c *Route53Resolver) GetResolverRuleRequest(input *GetResolverRuleInput) GetResolverRuleRequest

GetResolverRuleRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Gets information about a specified resolver rule, such as the domain name that the rule forwards DNS queries for and the ID of the outbound resolver endpoint that the rule is associated with.

// Example sending a request using the GetResolverRuleRequest method.
req := client.GetResolverRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRule

func (*Route53Resolver) ListResolverEndpointIpAddressesRequest

func (c *Route53Resolver) ListResolverEndpointIpAddressesRequest(input *ListResolverEndpointIpAddressesInput) ListResolverEndpointIpAddressesRequest

ListResolverEndpointIpAddressesRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Gets the IP addresses for a specified resolver endpoint.

// Example sending a request using the ListResolverEndpointIpAddressesRequest method.
req := client.ListResolverEndpointIpAddressesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddresses

func (*Route53Resolver) ListResolverEndpointsRequest

func (c *Route53Resolver) ListResolverEndpointsRequest(input *ListResolverEndpointsInput) ListResolverEndpointsRequest

ListResolverEndpointsRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Lists all the resolver endpoints that were created using the current AWS account.

// Example sending a request using the ListResolverEndpointsRequest method.
req := client.ListResolverEndpointsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpoints

func (*Route53Resolver) ListResolverRuleAssociationsRequest

func (c *Route53Resolver) ListResolverRuleAssociationsRequest(input *ListResolverRuleAssociationsInput) ListResolverRuleAssociationsRequest

ListResolverRuleAssociationsRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Lists the associations that were created between resolver rules and VPCs using the current AWS account.

// Example sending a request using the ListResolverRuleAssociationsRequest method.
req := client.ListResolverRuleAssociationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRuleAssociations

func (*Route53Resolver) ListResolverRulesRequest

func (c *Route53Resolver) ListResolverRulesRequest(input *ListResolverRulesInput) ListResolverRulesRequest

ListResolverRulesRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Lists the resolver rules that were created using the current AWS account.

// Example sending a request using the ListResolverRulesRequest method.
req := client.ListResolverRulesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRules

func (*Route53Resolver) ListTagsForResourceRequest

func (c *Route53Resolver) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Lists the tags that you associated with the specified resource.

// Example sending a request using the ListTagsForResourceRequest method.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListTagsForResource

func (*Route53Resolver) PutResolverRulePolicyRequest

func (c *Route53Resolver) PutResolverRulePolicyRequest(input *PutResolverRulePolicyInput) PutResolverRulePolicyRequest

PutResolverRulePolicyRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.

// Example sending a request using the PutResolverRulePolicyRequest method.
req := client.PutResolverRulePolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicy

func (*Route53Resolver) TagResourceRequest

func (c *Route53Resolver) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Adds one or more tags to a specified resource.

// Example sending a request using the TagResourceRequest method.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TagResource

func (*Route53Resolver) UntagResourceRequest

func (c *Route53Resolver) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Removes one or more tags from a specified resource.

// Example sending a request using the UntagResourceRequest method.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UntagResource

func (*Route53Resolver) UpdateResolverEndpointRequest

func (c *Route53Resolver) UpdateResolverEndpointRequest(input *UpdateResolverEndpointInput) UpdateResolverEndpointRequest

UpdateResolverEndpointRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Updates the name of an inbound or an outbound resolver endpoint.

// Example sending a request using the UpdateResolverEndpointRequest method.
req := client.UpdateResolverEndpointRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpoint

func (*Route53Resolver) UpdateResolverRuleRequest

func (c *Route53Resolver) UpdateResolverRuleRequest(input *UpdateResolverRuleInput) UpdateResolverRuleRequest

UpdateResolverRuleRequest returns a request value for making API operation for Amazon Route 53 Resolver.

Updates settings for a specified resolver rule. ResolverRuleId is required, and all other parameters are optional. If you don't specify a parameter, it retains its current value.

// Example sending a request using the UpdateResolverRuleRequest method.
req := client.UpdateResolverRuleRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRule

type RuleTypeOption

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

Enum values for RuleTypeOption

func (RuleTypeOption) MarshalValue

func (enum RuleTypeOption) MarshalValue() (string, error)

func (RuleTypeOption) MarshalValueBuf

func (enum RuleTypeOption) MarshalValueBuf(b []byte) ([]byte, error)

type ShareStatus

type ShareStatus string
const (
	ShareStatusNotShared    ShareStatus = "NOT_SHARED"
	ShareStatusSharedWithMe ShareStatus = "SHARED_WITH_ME"
	ShareStatusSharedByMe   ShareStatus = "SHARED_BY_ME"
)

Enum values for ShareStatus

func (ShareStatus) MarshalValue

func (enum ShareStatus) MarshalValue() (string, error)

func (ShareStatus) MarshalValueBuf

func (enum ShareStatus) MarshalValueBuf(b []byte) ([]byte, error)

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 `type:"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 `type:"string"`
	// contains filtered or unexported fields
}

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. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/Tag

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (Tag) String

func (s Tag) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) for the resource that you want to add tags
	// to. To get the ARN for a resource, use the applicable Get or List command:
	//
	//    * GetResolverEndpoint
	//
	//    * GetResolverRule
	//
	//    * GetResolverRuleAssociation
	//
	//    * ListResolverEndpoints
	//
	//    * ListResolverRuleAssociations
	//
	//    * ListResolverRules
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"1" type:"string" required:"true"`

	// The tags that you want to add to the specified resource.
	//
	// Tags is a required field
	Tags []Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TagResourceRequest

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TagResourceResponse

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) SDKResponseMetadata

func (s TagResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is a API request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TargetAddress

type TargetAddress struct {

	// One IP address that you want to forward DNS queries to. You can specify only
	// IPv4 addresses.
	//
	// Ip is a required field
	Ip *string `min:"7" type:"string" required:"true"`

	// The port at Ip that you want to forward DNS queries to.
	Port *int64 `type:"integer"`
	// contains filtered or unexported fields
}

In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TargetAddress

func (TargetAddress) GoString

func (s TargetAddress) GoString() string

GoString returns the string representation

func (TargetAddress) String

func (s TargetAddress) String() string

String returns the string representation

func (*TargetAddress) Validate

func (s *TargetAddress) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) for the resource that you want to remove tags
	// from. To get the ARN for a resource, use the applicable Get or List command:
	//
	//    * GetResolverEndpoint
	//
	//    * GetResolverRule
	//
	//    * GetResolverRuleAssociation
	//
	//    * ListResolverEndpoints
	//
	//    * ListResolverRuleAssociations
	//
	//    * ListResolverRules
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"1" type:"string" required:"true"`

	// The tags that you want to remove to the specified resource.
	//
	// TagKeys is a required field
	TagKeys []string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UntagResourceRequest

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UntagResourceResponse

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) SDKResponseMetadata

func (s UntagResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is a API request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UpdateResolverEndpointInput

type UpdateResolverEndpointInput struct {

	// The name of the resolver endpoint that you want to update.
	Name *string `type:"string"`

	// The ID of the resolver endpoint that you want to update.
	//
	// ResolverEndpointId is a required field
	ResolverEndpointId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpointRequest

func (UpdateResolverEndpointInput) GoString

func (s UpdateResolverEndpointInput) GoString() string

GoString returns the string representation

func (UpdateResolverEndpointInput) String

String returns the string representation

func (*UpdateResolverEndpointInput) Validate

func (s *UpdateResolverEndpointInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateResolverEndpointOutput

type UpdateResolverEndpointOutput struct {

	// The response to an UpdateResolverEndpoint request.
	ResolverEndpoint *ResolverEndpoint `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpointResponse

func (UpdateResolverEndpointOutput) GoString

func (s UpdateResolverEndpointOutput) GoString() string

GoString returns the string representation

func (UpdateResolverEndpointOutput) SDKResponseMetadata

func (s UpdateResolverEndpointOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateResolverEndpointOutput) String

String returns the string representation

type UpdateResolverEndpointRequest

type UpdateResolverEndpointRequest struct {
	*aws.Request
	Input *UpdateResolverEndpointInput
	Copy  func(*UpdateResolverEndpointInput) UpdateResolverEndpointRequest
}

UpdateResolverEndpointRequest is a API request type for the UpdateResolverEndpoint API operation.

func (UpdateResolverEndpointRequest) Send

Send marshals and sends the UpdateResolverEndpoint API request.

type UpdateResolverRuleInput

type UpdateResolverRuleInput struct {

	// The new settings for the resolver rule.
	//
	// Config is a required field
	Config *ResolverRuleConfig `type:"structure" required:"true"`

	// The ID of the resolver rule that you want to update.
	//
	// ResolverRuleId is a required field
	ResolverRuleId *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRuleRequest

func (UpdateResolverRuleInput) GoString

func (s UpdateResolverRuleInput) GoString() string

GoString returns the string representation

func (UpdateResolverRuleInput) String

func (s UpdateResolverRuleInput) String() string

String returns the string representation

func (*UpdateResolverRuleInput) Validate

func (s *UpdateResolverRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateResolverRuleOutput

type UpdateResolverRuleOutput struct {

	// The response to an UpdateResolverRule request.
	ResolverRule *ResolverRule `type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRuleResponse

func (UpdateResolverRuleOutput) GoString

func (s UpdateResolverRuleOutput) GoString() string

GoString returns the string representation

func (UpdateResolverRuleOutput) SDKResponseMetadata

func (s UpdateResolverRuleOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateResolverRuleOutput) String

func (s UpdateResolverRuleOutput) String() string

String returns the string representation

type UpdateResolverRuleRequest

type UpdateResolverRuleRequest struct {
	*aws.Request
	Input *UpdateResolverRuleInput
	Copy  func(*UpdateResolverRuleInput) UpdateResolverRuleRequest
}

UpdateResolverRuleRequest is a API request type for the UpdateResolverRule API operation.

func (UpdateResolverRuleRequest) Send

Send marshals and sends the UpdateResolverRule API request.

Directories

Path Synopsis
Package route53resolveriface provides an interface to enable mocking the Amazon Route 53 Resolver service client for testing your code.
Package route53resolveriface provides an interface to enable mocking the Amazon Route 53 Resolver service client for testing your code.

Jump to

Keyboard shortcuts

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