route53resolver

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 21

Documentation

Overview

Package route53resolver provides the client and types for making API requests to Route53Resolver.

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 use Route53Resolver 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 Route53Resolver client 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 (
	ServiceName = "Route53Resolver" // Service's name
	ServiceID   = "Route53Resolver" // Service's identifier
	EndpointsID = "route53resolver" // Service's Endpoint identifier
)
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"
)

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
}

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
}

func (AssociateResolverEndpointIpAddressOutput) String

String returns the string representation

type AssociateResolverEndpointIpAddressRequest

AssociateResolverEndpointIpAddressRequest is the request type for the AssociateResolverEndpointIpAddress API operation.

func (AssociateResolverEndpointIpAddressRequest) Send

Send marshals and sends the AssociateResolverEndpointIpAddress API request.

type AssociateResolverEndpointIpAddressResponse added in v0.9.0

type AssociateResolverEndpointIpAddressResponse struct {
	*AssociateResolverEndpointIpAddressOutput
	// contains filtered or unexported fields
}

AssociateResolverEndpointIpAddressResponse is the response type for the AssociateResolverEndpointIpAddress API operation.

func (*AssociateResolverEndpointIpAddressResponse) SDKResponseMetdata added in v0.9.0

func (r *AssociateResolverEndpointIpAddressResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AssociateResolverEndpointIpAddress 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
}

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
}

func (AssociateResolverRuleOutput) String

String returns the string representation

type AssociateResolverRuleRequest

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

AssociateResolverRuleRequest is the request type for the AssociateResolverRule API operation.

func (AssociateResolverRuleRequest) Send

Send marshals and sends the AssociateResolverRule API request.

type AssociateResolverRuleResponse added in v0.9.0

type AssociateResolverRuleResponse struct {
	*AssociateResolverRuleOutput
	// contains filtered or unexported fields
}

AssociateResolverRuleResponse is the response type for the AssociateResolverRule API operation.

func (*AssociateResolverRuleResponse) SDKResponseMetdata added in v0.9.0

func (r *AssociateResolverRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AssociateResolverRule request.

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

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

The client's 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) *Client

New creates a new instance of the client from the provided Config.

Example:

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

func (*Client) AssociateResolverEndpointIpAddressRequest added in v0.9.0

func (c *Client) 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 AssociateResolverEndpointIpAddressRequest.
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 (*Client) AssociateResolverRuleRequest added in v0.9.0

func (c *Client) 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 AssociateResolverRuleRequest.
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 (*Client) CreateResolverEndpointRequest added in v0.9.0

func (c *Client) 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 CreateResolverEndpointRequest. 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 (*Client) CreateResolverRuleRequest added in v0.9.0

func (c *Client) 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 CreateResolverRuleRequest.
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 (*Client) DeleteResolverEndpointRequest added in v0.9.0

func (c *Client) 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 DeleteResolverEndpointRequest. 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 (*Client) DeleteResolverRuleRequest added in v0.9.0

func (c *Client) 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 DeleteResolverRuleRequest.
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 (*Client) DisassociateResolverEndpointIpAddressRequest added in v0.9.0

func (c *Client) DisassociateResolverEndpointIpAddressRequest(input *DisassociateResolverEndpointIpAddressInput) 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 DisassociateResolverEndpointIpAddressRequest.
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 (*Client) DisassociateResolverRuleRequest added in v0.9.0

func (c *Client) 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 DisassociateResolverRuleRequest.
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 (*Client) GetResolverEndpointRequest added in v0.9.0

func (c *Client) 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 GetResolverEndpointRequest.
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 (*Client) GetResolverRuleAssociationRequest added in v0.9.0

func (c *Client) 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 GetResolverRuleAssociationRequest.
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 (*Client) GetResolverRulePolicyRequest added in v0.9.0

func (c *Client) 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 GetResolverRulePolicyRequest.
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 (*Client) GetResolverRuleRequest added in v0.9.0

func (c *Client) 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 GetResolverRuleRequest.
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 (*Client) ListResolverEndpointIpAddressesRequest added in v0.9.0

func (c *Client) 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 ListResolverEndpointIpAddressesRequest.
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 (*Client) ListResolverEndpointsRequest added in v0.9.0

func (c *Client) 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 ListResolverEndpointsRequest.
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 (*Client) ListResolverRuleAssociationsRequest added in v0.9.0

func (c *Client) 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 ListResolverRuleAssociationsRequest.
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 (*Client) ListResolverRulesRequest added in v0.9.0

func (c *Client) 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 ListResolverRulesRequest.
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 (*Client) ListTagsForResourceRequest added in v0.9.0

func (c *Client) 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 ListTagsForResourceRequest.
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 (*Client) PutResolverRulePolicyRequest added in v0.9.0

func (c *Client) 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 PutResolverRulePolicyRequest.
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 (*Client) TagResourceRequest added in v0.9.0

func (c *Client) 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 TagResourceRequest.
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 (*Client) UntagResourceRequest added in v0.9.0

func (c *Client) 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 UntagResourceRequest.
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 (*Client) UpdateResolverEndpointRequest added in v0.9.0

func (c *Client) 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 UpdateResolverEndpointRequest.
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 (*Client) UpdateResolverRuleRequest added in v0.9.0

func (c *Client) 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 UpdateResolverRuleRequest.
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 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
}

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
}

func (CreateResolverEndpointOutput) String

String returns the string representation

type CreateResolverEndpointRequest

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

CreateResolverEndpointRequest is the request type for the CreateResolverEndpoint API operation.

func (CreateResolverEndpointRequest) Send

Send marshals and sends the CreateResolverEndpoint API request.

type CreateResolverEndpointResponse added in v0.9.0

type CreateResolverEndpointResponse struct {
	*CreateResolverEndpointOutput
	// contains filtered or unexported fields
}

CreateResolverEndpointResponse is the response type for the CreateResolverEndpoint API operation.

func (*CreateResolverEndpointResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateResolverEndpointResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateResolverEndpoint 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
}

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
}

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 the request type for the CreateResolverRule API operation.

func (CreateResolverRuleRequest) Send

Send marshals and sends the CreateResolverRule API request.

type CreateResolverRuleResponse added in v0.9.0

type CreateResolverRuleResponse struct {
	*CreateResolverRuleOutput
	// contains filtered or unexported fields
}

CreateResolverRuleResponse is the response type for the CreateResolverRule API operation.

func (*CreateResolverRuleResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateResolverRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateResolverRule 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
}

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
}

func (DeleteResolverEndpointOutput) String

String returns the string representation

type DeleteResolverEndpointRequest

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

DeleteResolverEndpointRequest is the request type for the DeleteResolverEndpoint API operation.

func (DeleteResolverEndpointRequest) Send

Send marshals and sends the DeleteResolverEndpoint API request.

type DeleteResolverEndpointResponse added in v0.9.0

type DeleteResolverEndpointResponse struct {
	*DeleteResolverEndpointOutput
	// contains filtered or unexported fields
}

DeleteResolverEndpointResponse is the response type for the DeleteResolverEndpoint API operation.

func (*DeleteResolverEndpointResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteResolverEndpointResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteResolverEndpoint 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
}

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
}

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 the request type for the DeleteResolverRule API operation.

func (DeleteResolverRuleRequest) Send

Send marshals and sends the DeleteResolverRule API request.

type DeleteResolverRuleResponse added in v0.9.0

type DeleteResolverRuleResponse struct {
	*DeleteResolverRuleOutput
	// contains filtered or unexported fields
}

DeleteResolverRuleResponse is the response type for the DeleteResolverRule API operation.

func (*DeleteResolverRuleResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteResolverRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteResolverRule 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
}

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
}

func (DisassociateResolverEndpointIpAddressOutput) String

String returns the string representation

type DisassociateResolverEndpointIpAddressRequest

DisassociateResolverEndpointIpAddressRequest is the request type for the DisassociateResolverEndpointIpAddress API operation.

func (DisassociateResolverEndpointIpAddressRequest) Send

Send marshals and sends the DisassociateResolverEndpointIpAddress API request.

type DisassociateResolverEndpointIpAddressResponse added in v0.9.0

type DisassociateResolverEndpointIpAddressResponse struct {
	*DisassociateResolverEndpointIpAddressOutput
	// contains filtered or unexported fields
}

DisassociateResolverEndpointIpAddressResponse is the response type for the DisassociateResolverEndpointIpAddress API operation.

func (*DisassociateResolverEndpointIpAddressResponse) SDKResponseMetdata added in v0.9.0

SDKResponseMetdata returns the response metadata for the DisassociateResolverEndpointIpAddress 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
}

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
}

func (DisassociateResolverRuleOutput) String

String returns the string representation

type DisassociateResolverRuleRequest

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

DisassociateResolverRuleRequest is the request type for the DisassociateResolverRule API operation.

func (DisassociateResolverRuleRequest) Send

Send marshals and sends the DisassociateResolverRule API request.

type DisassociateResolverRuleResponse added in v0.9.0

type DisassociateResolverRuleResponse struct {
	*DisassociateResolverRuleOutput
	// contains filtered or unexported fields
}

DisassociateResolverRuleResponse is the response type for the DisassociateResolverRule API operation.

func (*DisassociateResolverRuleResponse) SDKResponseMetdata added in v0.9.0

func (r *DisassociateResolverRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisassociateResolverRule 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.

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
}

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
}

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 the request type for the GetResolverEndpoint API operation.

func (GetResolverEndpointRequest) Send

Send marshals and sends the GetResolverEndpoint API request.

type GetResolverEndpointResponse added in v0.9.0

type GetResolverEndpointResponse struct {
	*GetResolverEndpointOutput
	// contains filtered or unexported fields
}

GetResolverEndpointResponse is the response type for the GetResolverEndpoint API operation.

func (*GetResolverEndpointResponse) SDKResponseMetdata added in v0.9.0

func (r *GetResolverEndpointResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetResolverEndpoint 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
}

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
}

func (GetResolverRuleAssociationOutput) String

String returns the string representation

type GetResolverRuleAssociationRequest

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

GetResolverRuleAssociationRequest is the request type for the GetResolverRuleAssociation API operation.

func (GetResolverRuleAssociationRequest) Send

Send marshals and sends the GetResolverRuleAssociation API request.

type GetResolverRuleAssociationResponse added in v0.9.0

type GetResolverRuleAssociationResponse struct {
	*GetResolverRuleAssociationOutput
	// contains filtered or unexported fields
}

GetResolverRuleAssociationResponse is the response type for the GetResolverRuleAssociation API operation.

func (*GetResolverRuleAssociationResponse) SDKResponseMetdata added in v0.9.0

func (r *GetResolverRuleAssociationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetResolverRuleAssociation 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
}

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
}

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
}

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
}

func (GetResolverRulePolicyOutput) String

String returns the string representation

type GetResolverRulePolicyRequest

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

GetResolverRulePolicyRequest is the request type for the GetResolverRulePolicy API operation.

func (GetResolverRulePolicyRequest) Send

Send marshals and sends the GetResolverRulePolicy API request.

type GetResolverRulePolicyResponse added in v0.9.0

type GetResolverRulePolicyResponse struct {
	*GetResolverRulePolicyOutput
	// contains filtered or unexported fields
}

GetResolverRulePolicyResponse is the response type for the GetResolverRulePolicy API operation.

func (*GetResolverRulePolicyResponse) SDKResponseMetdata added in v0.9.0

func (r *GetResolverRulePolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetResolverRulePolicy request.

type GetResolverRuleRequest

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

GetResolverRuleRequest is the request type for the GetResolverRule API operation.

func (GetResolverRuleRequest) Send

Send marshals and sends the GetResolverRule API request.

type GetResolverRuleResponse added in v0.9.0

type GetResolverRuleResponse struct {
	*GetResolverRuleOutput
	// contains filtered or unexported fields
}

GetResolverRuleResponse is the response type for the GetResolverRule API operation.

func (*GetResolverRuleResponse) SDKResponseMetdata added in v0.9.0

func (r *GetResolverRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetResolverRule 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.

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.

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.

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
}

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
}

func (ListResolverEndpointIpAddressesOutput) String

String returns the string representation

type ListResolverEndpointIpAddressesPaginator added in v0.9.0

type ListResolverEndpointIpAddressesPaginator struct {
	aws.Pager
}

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

func NewListResolverEndpointIpAddressesPaginator added in v0.9.0

func NewListResolverEndpointIpAddressesPaginator(req ListResolverEndpointIpAddressesRequest) ListResolverEndpointIpAddressesPaginator

NewListResolverEndpointIpAddressesRequestPaginator returns a paginator for ListResolverEndpointIpAddresses. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListResolverEndpointIpAddressesRequest(input)
p := route53resolver.NewListResolverEndpointIpAddressesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

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

func (*ListResolverEndpointIpAddressesPaginator) CurrentPage added in v0.9.0

type ListResolverEndpointIpAddressesRequest

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

ListResolverEndpointIpAddressesRequest is the request type for the ListResolverEndpointIpAddresses API operation.

func (ListResolverEndpointIpAddressesRequest) Send

Send marshals and sends the ListResolverEndpointIpAddresses API request.

type ListResolverEndpointIpAddressesResponse added in v0.9.0

type ListResolverEndpointIpAddressesResponse struct {
	*ListResolverEndpointIpAddressesOutput
	// contains filtered or unexported fields
}

ListResolverEndpointIpAddressesResponse is the response type for the ListResolverEndpointIpAddresses API operation.

func (*ListResolverEndpointIpAddressesResponse) SDKResponseMetdata added in v0.9.0

func (r *ListResolverEndpointIpAddressesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListResolverEndpointIpAddresses 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
}

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
}

func (ListResolverEndpointsOutput) String

String returns the string representation

type ListResolverEndpointsPaginator added in v0.9.0

type ListResolverEndpointsPaginator struct {
	aws.Pager
}

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

func NewListResolverEndpointsPaginator added in v0.9.0

func NewListResolverEndpointsPaginator(req ListResolverEndpointsRequest) ListResolverEndpointsPaginator

NewListResolverEndpointsRequestPaginator returns a paginator for ListResolverEndpoints. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListResolverEndpointsRequest(input)
p := route53resolver.NewListResolverEndpointsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

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

func (*ListResolverEndpointsPaginator) CurrentPage added in v0.9.0

type ListResolverEndpointsRequest

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

ListResolverEndpointsRequest is the request type for the ListResolverEndpoints API operation.

func (ListResolverEndpointsRequest) Send

Send marshals and sends the ListResolverEndpoints API request.

type ListResolverEndpointsResponse added in v0.9.0

type ListResolverEndpointsResponse struct {
	*ListResolverEndpointsOutput
	// contains filtered or unexported fields
}

ListResolverEndpointsResponse is the response type for the ListResolverEndpoints API operation.

func (*ListResolverEndpointsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListResolverEndpointsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListResolverEndpoints 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
}

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
}

func (ListResolverRuleAssociationsOutput) String

String returns the string representation

type ListResolverRuleAssociationsPaginator added in v0.9.0

type ListResolverRuleAssociationsPaginator struct {
	aws.Pager
}

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

func NewListResolverRuleAssociationsPaginator added in v0.9.0

func NewListResolverRuleAssociationsPaginator(req ListResolverRuleAssociationsRequest) ListResolverRuleAssociationsPaginator

NewListResolverRuleAssociationsRequestPaginator returns a paginator for ListResolverRuleAssociations. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListResolverRuleAssociationsRequest(input)
p := route53resolver.NewListResolverRuleAssociationsRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

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

func (*ListResolverRuleAssociationsPaginator) CurrentPage added in v0.9.0

type ListResolverRuleAssociationsRequest

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

ListResolverRuleAssociationsRequest is the request type for the ListResolverRuleAssociations API operation.

func (ListResolverRuleAssociationsRequest) Send

Send marshals and sends the ListResolverRuleAssociations API request.

type ListResolverRuleAssociationsResponse added in v0.9.0

type ListResolverRuleAssociationsResponse struct {
	*ListResolverRuleAssociationsOutput
	// contains filtered or unexported fields
}

ListResolverRuleAssociationsResponse is the response type for the ListResolverRuleAssociations API operation.

func (*ListResolverRuleAssociationsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListResolverRuleAssociationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListResolverRuleAssociations 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
}

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
}

func (ListResolverRulesOutput) String

func (s ListResolverRulesOutput) String() string

String returns the string representation

type ListResolverRulesPaginator added in v0.9.0

type ListResolverRulesPaginator struct {
	aws.Pager
}

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

func NewListResolverRulesPaginator added in v0.9.0

func NewListResolverRulesPaginator(req ListResolverRulesRequest) ListResolverRulesPaginator

NewListResolverRulesRequestPaginator returns a paginator for ListResolverRules. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

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

// Example iterating over pages.
req := client.ListResolverRulesRequest(input)
p := route53resolver.NewListResolverRulesRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

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

func (*ListResolverRulesPaginator) CurrentPage added in v0.9.0

type ListResolverRulesRequest

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

ListResolverRulesRequest is the request type for the ListResolverRules API operation.

func (ListResolverRulesRequest) Send

Send marshals and sends the ListResolverRules API request.

type ListResolverRulesResponse added in v0.9.0

type ListResolverRulesResponse struct {
	*ListResolverRulesOutput
	// contains filtered or unexported fields
}

ListResolverRulesResponse is the response type for the ListResolverRules API operation.

func (*ListResolverRulesResponse) SDKResponseMetdata added in v0.9.0

func (r *ListResolverRulesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListResolverRules 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
}

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
}

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 the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse added in v0.9.0

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource 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
}

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.

func (PutResolverRulePolicyOutput) String

String returns the string representation

type PutResolverRulePolicyRequest

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

PutResolverRulePolicyRequest is the request type for the PutResolverRulePolicy API operation.

func (PutResolverRulePolicyRequest) Send

Send marshals and sends the PutResolverRulePolicy API request.

type PutResolverRulePolicyResponse added in v0.9.0

type PutResolverRulePolicyResponse struct {
	*PutResolverRulePolicyOutput
	// contains filtered or unexported fields
}

PutResolverRulePolicyResponse is the response type for the PutResolverRulePolicy API operation.

func (*PutResolverRulePolicyResponse) SDKResponseMetdata added in v0.9.0

func (r *PutResolverRulePolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutResolverRulePolicy 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.

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.

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.

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.

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 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.

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
}

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
}

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 the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.9.0

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

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource 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.

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
}

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
}

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 the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.9.0

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

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource 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
}

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
}

func (UpdateResolverEndpointOutput) String

String returns the string representation

type UpdateResolverEndpointRequest

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

UpdateResolverEndpointRequest is the request type for the UpdateResolverEndpoint API operation.

func (UpdateResolverEndpointRequest) Send

Send marshals and sends the UpdateResolverEndpoint API request.

type UpdateResolverEndpointResponse added in v0.9.0

type UpdateResolverEndpointResponse struct {
	*UpdateResolverEndpointOutput
	// contains filtered or unexported fields
}

UpdateResolverEndpointResponse is the response type for the UpdateResolverEndpoint API operation.

func (*UpdateResolverEndpointResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateResolverEndpointResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateResolverEndpoint 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
}

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
}

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 the request type for the UpdateResolverRule API operation.

func (UpdateResolverRuleRequest) Send

Send marshals and sends the UpdateResolverRule API request.

type UpdateResolverRuleResponse added in v0.9.0

type UpdateResolverRuleResponse struct {
	*UpdateResolverRuleOutput
	// contains filtered or unexported fields
}

UpdateResolverRuleResponse is the response type for the UpdateResolverRule API operation.

func (*UpdateResolverRuleResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateResolverRuleResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateResolverRule 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