aws-sdk-go: github.com/aws/aws-sdk-go/service/route53resolver Index | Files | Directories

package route53resolver

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

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

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

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

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

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

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

Get the IP addresses for the Resolver endpoints:

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

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

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

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

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

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

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

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

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

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

Using the Client

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

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

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

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

Index

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // IpAddressStatusCreating is a IpAddressStatus enum value
    IpAddressStatusCreating = "CREATING"

    // IpAddressStatusFailedCreation is a IpAddressStatus enum value
    IpAddressStatusFailedCreation = "FAILED_CREATION"

    // IpAddressStatusAttaching is a IpAddressStatus enum value
    IpAddressStatusAttaching = "ATTACHING"

    // IpAddressStatusAttached is a IpAddressStatus enum value
    IpAddressStatusAttached = "ATTACHED"

    // IpAddressStatusRemapDetaching is a IpAddressStatus enum value
    IpAddressStatusRemapDetaching = "REMAP_DETACHING"

    // IpAddressStatusRemapAttaching is a IpAddressStatus enum value
    IpAddressStatusRemapAttaching = "REMAP_ATTACHING"

    // IpAddressStatusDetaching is a IpAddressStatus enum value
    IpAddressStatusDetaching = "DETACHING"

    // IpAddressStatusFailedResourceGone is a IpAddressStatus enum value
    IpAddressStatusFailedResourceGone = "FAILED_RESOURCE_GONE"

    // IpAddressStatusDeleting is a IpAddressStatus enum value
    IpAddressStatusDeleting = "DELETING"

    // IpAddressStatusDeleteFailedFasExpired is a IpAddressStatus enum value
    IpAddressStatusDeleteFailedFasExpired = "DELETE_FAILED_FAS_EXPIRED"
)
const (
    // ResolverEndpointDirectionInbound is a ResolverEndpointDirection enum value
    ResolverEndpointDirectionInbound = "INBOUND"

    // ResolverEndpointDirectionOutbound is a ResolverEndpointDirection enum value
    ResolverEndpointDirectionOutbound = "OUTBOUND"
)
const (
    // ResolverEndpointStatusCreating is a ResolverEndpointStatus enum value
    ResolverEndpointStatusCreating = "CREATING"

    // ResolverEndpointStatusOperational is a ResolverEndpointStatus enum value
    ResolverEndpointStatusOperational = "OPERATIONAL"

    // ResolverEndpointStatusUpdating is a ResolverEndpointStatus enum value
    ResolverEndpointStatusUpdating = "UPDATING"

    // ResolverEndpointStatusAutoRecovering is a ResolverEndpointStatus enum value
    ResolverEndpointStatusAutoRecovering = "AUTO_RECOVERING"

    // ResolverEndpointStatusActionNeeded is a ResolverEndpointStatus enum value
    ResolverEndpointStatusActionNeeded = "ACTION_NEEDED"

    // ResolverEndpointStatusDeleting is a ResolverEndpointStatus enum value
    ResolverEndpointStatusDeleting = "DELETING"
)
const (
    // ResolverRuleAssociationStatusCreating is a ResolverRuleAssociationStatus enum value
    ResolverRuleAssociationStatusCreating = "CREATING"

    // ResolverRuleAssociationStatusComplete is a ResolverRuleAssociationStatus enum value
    ResolverRuleAssociationStatusComplete = "COMPLETE"

    // ResolverRuleAssociationStatusDeleting is a ResolverRuleAssociationStatus enum value
    ResolverRuleAssociationStatusDeleting = "DELETING"

    // ResolverRuleAssociationStatusFailed is a ResolverRuleAssociationStatus enum value
    ResolverRuleAssociationStatusFailed = "FAILED"

    // ResolverRuleAssociationStatusOverridden is a ResolverRuleAssociationStatus enum value
    ResolverRuleAssociationStatusOverridden = "OVERRIDDEN"
)
const (
    // ResolverRuleStatusComplete is a ResolverRuleStatus enum value
    ResolverRuleStatusComplete = "COMPLETE"

    // ResolverRuleStatusDeleting is a ResolverRuleStatus enum value
    ResolverRuleStatusDeleting = "DELETING"

    // ResolverRuleStatusUpdating is a ResolverRuleStatus enum value
    ResolverRuleStatusUpdating = "UPDATING"

    // ResolverRuleStatusFailed is a ResolverRuleStatus enum value
    ResolverRuleStatusFailed = "FAILED"
)
const (
    // RuleTypeOptionForward is a RuleTypeOption enum value
    RuleTypeOptionForward = "FORWARD"

    // RuleTypeOptionSystem is a RuleTypeOption enum value
    RuleTypeOptionSystem = "SYSTEM"

    // RuleTypeOptionRecursive is a RuleTypeOption enum value
    RuleTypeOptionRecursive = "RECURSIVE"
)
const (
    // ShareStatusNotShared is a ShareStatus enum value
    ShareStatusNotShared = "NOT_SHARED"

    // ShareStatusSharedWithMe is a ShareStatus enum value
    ShareStatusSharedWithMe = "SHARED_WITH_ME"

    // ShareStatusSharedByMe is a ShareStatus enum value
    ShareStatusSharedByMe = "SHARED_BY_ME"
)
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"
)
const (
    ServiceName = "Route53Resolver" // Name of service.
    EndpointsID = "route53resolver" // ID to lookup a service endpoint with.
    ServiceID   = "Route53Resolver" // ServiceID is a unique identifer of a specific service.
)

Service information constants

type AssociateResolverEndpointIpAddressInput Uses

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) GoString Uses

func (s AssociateResolverEndpointIpAddressInput) GoString() string

GoString returns the string representation

func (*AssociateResolverEndpointIpAddressInput) SetIpAddress Uses

func (s *AssociateResolverEndpointIpAddressInput) SetIpAddress(v *IpAddressUpdate) *AssociateResolverEndpointIpAddressInput

SetIpAddress sets the IpAddress field's value.

func (*AssociateResolverEndpointIpAddressInput) SetResolverEndpointId Uses

func (s *AssociateResolverEndpointIpAddressInput) SetResolverEndpointId(v string) *AssociateResolverEndpointIpAddressInput

SetResolverEndpointId sets the ResolverEndpointId field's value.

func (AssociateResolverEndpointIpAddressInput) String Uses

func (s AssociateResolverEndpointIpAddressInput) String() string

String returns the string representation

func (*AssociateResolverEndpointIpAddressInput) Validate Uses

func (s *AssociateResolverEndpointIpAddressInput) Validate() error

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

type AssociateResolverEndpointIpAddressOutput Uses

type AssociateResolverEndpointIpAddressOutput struct {

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

func (AssociateResolverEndpointIpAddressOutput) GoString Uses

func (s AssociateResolverEndpointIpAddressOutput) GoString() string

GoString returns the string representation

func (*AssociateResolverEndpointIpAddressOutput) SetResolverEndpoint Uses

func (s *AssociateResolverEndpointIpAddressOutput) SetResolverEndpoint(v *ResolverEndpoint) *AssociateResolverEndpointIpAddressOutput

SetResolverEndpoint sets the ResolverEndpoint field's value.

func (AssociateResolverEndpointIpAddressOutput) String Uses

func (s AssociateResolverEndpointIpAddressOutput) String() string

String returns the string representation

type AssociateResolverRuleInput Uses

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) GoString Uses

func (s AssociateResolverRuleInput) GoString() string

GoString returns the string representation

func (*AssociateResolverRuleInput) SetName Uses

func (s *AssociateResolverRuleInput) SetName(v string) *AssociateResolverRuleInput

SetName sets the Name field's value.

func (*AssociateResolverRuleInput) SetResolverRuleId Uses

func (s *AssociateResolverRuleInput) SetResolverRuleId(v string) *AssociateResolverRuleInput

SetResolverRuleId sets the ResolverRuleId field's value.

func (*AssociateResolverRuleInput) SetVPCId Uses

func (s *AssociateResolverRuleInput) SetVPCId(v string) *AssociateResolverRuleInput

SetVPCId sets the VPCId field's value.

func (AssociateResolverRuleInput) String Uses

func (s AssociateResolverRuleInput) String() string

String returns the string representation

func (*AssociateResolverRuleInput) Validate Uses

func (s *AssociateResolverRuleInput) Validate() error

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

type AssociateResolverRuleOutput Uses

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) GoString Uses

func (s AssociateResolverRuleOutput) GoString() string

GoString returns the string representation

func (*AssociateResolverRuleOutput) SetResolverRuleAssociation Uses

func (s *AssociateResolverRuleOutput) SetResolverRuleAssociation(v *ResolverRuleAssociation) *AssociateResolverRuleOutput

SetResolverRuleAssociation sets the ResolverRuleAssociation field's value.

func (AssociateResolverRuleOutput) String Uses

func (s AssociateResolverRuleOutput) String() string

String returns the string representation

type CreateResolverEndpointInput Uses

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 *string `type:"string" required:"true" enum:"ResolverEndpointDirection"`

    // 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) GoString Uses

func (s CreateResolverEndpointInput) GoString() string

GoString returns the string representation

func (*CreateResolverEndpointInput) SetCreatorRequestId Uses

func (s *CreateResolverEndpointInput) SetCreatorRequestId(v string) *CreateResolverEndpointInput

SetCreatorRequestId sets the CreatorRequestId field's value.

func (*CreateResolverEndpointInput) SetDirection Uses

func (s *CreateResolverEndpointInput) SetDirection(v string) *CreateResolverEndpointInput

SetDirection sets the Direction field's value.

func (*CreateResolverEndpointInput) SetIpAddresses Uses

func (s *CreateResolverEndpointInput) SetIpAddresses(v []*IpAddressRequest) *CreateResolverEndpointInput

SetIpAddresses sets the IpAddresses field's value.

func (*CreateResolverEndpointInput) SetName Uses

func (s *CreateResolverEndpointInput) SetName(v string) *CreateResolverEndpointInput

SetName sets the Name field's value.

func (*CreateResolverEndpointInput) SetSecurityGroupIds Uses

func (s *CreateResolverEndpointInput) SetSecurityGroupIds(v []*string) *CreateResolverEndpointInput

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*CreateResolverEndpointInput) SetTags Uses

func (s *CreateResolverEndpointInput) SetTags(v []*Tag) *CreateResolverEndpointInput

SetTags sets the Tags field's value.

func (CreateResolverEndpointInput) String Uses

func (s CreateResolverEndpointInput) String() string

String returns the string representation

func (*CreateResolverEndpointInput) Validate Uses

func (s *CreateResolverEndpointInput) Validate() error

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

type CreateResolverEndpointOutput Uses

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) GoString Uses

func (s CreateResolverEndpointOutput) GoString() string

GoString returns the string representation

func (*CreateResolverEndpointOutput) SetResolverEndpoint Uses

func (s *CreateResolverEndpointOutput) SetResolverEndpoint(v *ResolverEndpoint) *CreateResolverEndpointOutput

SetResolverEndpoint sets the ResolverEndpoint field's value.

func (CreateResolverEndpointOutput) String Uses

func (s CreateResolverEndpointOutput) String() string

String returns the string representation

type CreateResolverRuleInput Uses

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 *string `type:"string" required:"true" enum:"RuleTypeOption"`

    // 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) GoString Uses

func (s CreateResolverRuleInput) GoString() string

GoString returns the string representation

func (*CreateResolverRuleInput) SetCreatorRequestId Uses

func (s *CreateResolverRuleInput) SetCreatorRequestId(v string) *CreateResolverRuleInput

SetCreatorRequestId sets the CreatorRequestId field's value.

func (*CreateResolverRuleInput) SetDomainName Uses

func (s *CreateResolverRuleInput) SetDomainName(v string) *CreateResolverRuleInput

SetDomainName sets the DomainName field's value.

func (*CreateResolverRuleInput) SetName Uses

func (s *CreateResolverRuleInput) SetName(v string) *CreateResolverRuleInput

SetName sets the Name field's value.

func (*CreateResolverRuleInput) SetResolverEndpointId Uses

func (s *CreateResolverRuleInput) SetResolverEndpointId(v string) *CreateResolverRuleInput

SetResolverEndpointId sets the ResolverEndpointId field's value.

func (*CreateResolverRuleInput) SetRuleType Uses

func (s *CreateResolverRuleInput) SetRuleType(v string) *CreateResolverRuleInput

SetRuleType sets the RuleType field's value.

func (*CreateResolverRuleInput) SetTags Uses

func (s *CreateResolverRuleInput) SetTags(v []*Tag) *CreateResolverRuleInput

SetTags sets the Tags field's value.

func (*CreateResolverRuleInput) SetTargetIps Uses

func (s *CreateResolverRuleInput) SetTargetIps(v []*TargetAddress) *CreateResolverRuleInput

SetTargetIps sets the TargetIps field's value.

func (CreateResolverRuleInput) String Uses

func (s CreateResolverRuleInput) String() string

String returns the string representation

func (*CreateResolverRuleInput) Validate Uses

func (s *CreateResolverRuleInput) Validate() error

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

type CreateResolverRuleOutput Uses

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) GoString Uses

func (s CreateResolverRuleOutput) GoString() string

GoString returns the string representation

func (*CreateResolverRuleOutput) SetResolverRule Uses

func (s *CreateResolverRuleOutput) SetResolverRule(v *ResolverRule) *CreateResolverRuleOutput

SetResolverRule sets the ResolverRule field's value.

func (CreateResolverRuleOutput) String Uses

func (s CreateResolverRuleOutput) String() string

String returns the string representation

type DeleteResolverEndpointInput Uses

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) GoString Uses

func (s DeleteResolverEndpointInput) GoString() string

GoString returns the string representation

func (*DeleteResolverEndpointInput) SetResolverEndpointId Uses

func (s *DeleteResolverEndpointInput) SetResolverEndpointId(v string) *DeleteResolverEndpointInput

SetResolverEndpointId sets the ResolverEndpointId field's value.

func (DeleteResolverEndpointInput) String Uses

func (s DeleteResolverEndpointInput) String() string

String returns the string representation

func (*DeleteResolverEndpointInput) Validate Uses

func (s *DeleteResolverEndpointInput) Validate() error

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

type DeleteResolverEndpointOutput Uses

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) GoString Uses

func (s DeleteResolverEndpointOutput) GoString() string

GoString returns the string representation

func (*DeleteResolverEndpointOutput) SetResolverEndpoint Uses

func (s *DeleteResolverEndpointOutput) SetResolverEndpoint(v *ResolverEndpoint) *DeleteResolverEndpointOutput

SetResolverEndpoint sets the ResolverEndpoint field's value.

func (DeleteResolverEndpointOutput) String Uses

func (s DeleteResolverEndpointOutput) String() string

String returns the string representation

type DeleteResolverRuleInput Uses

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) GoString Uses

func (s DeleteResolverRuleInput) GoString() string

GoString returns the string representation

func (*DeleteResolverRuleInput) SetResolverRuleId Uses

func (s *DeleteResolverRuleInput) SetResolverRuleId(v string) *DeleteResolverRuleInput

SetResolverRuleId sets the ResolverRuleId field's value.

func (DeleteResolverRuleInput) String Uses

func (s DeleteResolverRuleInput) String() string

String returns the string representation

func (*DeleteResolverRuleInput) Validate Uses

func (s *DeleteResolverRuleInput) Validate() error

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

type DeleteResolverRuleOutput Uses

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) GoString Uses

func (s DeleteResolverRuleOutput) GoString() string

GoString returns the string representation

func (*DeleteResolverRuleOutput) SetResolverRule Uses

func (s *DeleteResolverRuleOutput) SetResolverRule(v *ResolverRule) *DeleteResolverRuleOutput

SetResolverRule sets the ResolverRule field's value.

func (DeleteResolverRuleOutput) String Uses

func (s DeleteResolverRuleOutput) String() string

String returns the string representation

type DisassociateResolverEndpointIpAddressInput Uses

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) GoString Uses

func (s DisassociateResolverEndpointIpAddressInput) GoString() string

GoString returns the string representation

func (*DisassociateResolverEndpointIpAddressInput) SetIpAddress Uses

func (s *DisassociateResolverEndpointIpAddressInput) SetIpAddress(v *IpAddressUpdate) *DisassociateResolverEndpointIpAddressInput

SetIpAddress sets the IpAddress field's value.

func (*DisassociateResolverEndpointIpAddressInput) SetResolverEndpointId Uses

func (s *DisassociateResolverEndpointIpAddressInput) SetResolverEndpointId(v string) *DisassociateResolverEndpointIpAddressInput

SetResolverEndpointId sets the ResolverEndpointId field's value.

func (DisassociateResolverEndpointIpAddressInput) String Uses

func (s DisassociateResolverEndpointIpAddressInput) String() string

String returns the string representation

func (*DisassociateResolverEndpointIpAddressInput) Validate Uses

func (s *DisassociateResolverEndpointIpAddressInput) Validate() error

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

type DisassociateResolverEndpointIpAddressOutput Uses

type DisassociateResolverEndpointIpAddressOutput struct {

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

func (DisassociateResolverEndpointIpAddressOutput) GoString Uses

func (s DisassociateResolverEndpointIpAddressOutput) GoString() string

GoString returns the string representation

func (*DisassociateResolverEndpointIpAddressOutput) SetResolverEndpoint Uses

func (s *DisassociateResolverEndpointIpAddressOutput) SetResolverEndpoint(v *ResolverEndpoint) *DisassociateResolverEndpointIpAddressOutput

SetResolverEndpoint sets the ResolverEndpoint field's value.

func (DisassociateResolverEndpointIpAddressOutput) String Uses

func (s DisassociateResolverEndpointIpAddressOutput) String() string

String returns the string representation

type DisassociateResolverRuleInput Uses

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) GoString Uses

func (s DisassociateResolverRuleInput) GoString() string

GoString returns the string representation

func (*DisassociateResolverRuleInput) SetResolverRuleId Uses

func (s *DisassociateResolverRuleInput) SetResolverRuleId(v string) *DisassociateResolverRuleInput

SetResolverRuleId sets the ResolverRuleId field's value.

func (*DisassociateResolverRuleInput) SetVPCId Uses

func (s *DisassociateResolverRuleInput) SetVPCId(v string) *DisassociateResolverRuleInput

SetVPCId sets the VPCId field's value.

func (DisassociateResolverRuleInput) String Uses

func (s DisassociateResolverRuleInput) String() string

String returns the string representation

func (*DisassociateResolverRuleInput) Validate Uses

func (s *DisassociateResolverRuleInput) Validate() error

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

type DisassociateResolverRuleOutput Uses

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) GoString Uses

func (s DisassociateResolverRuleOutput) GoString() string

GoString returns the string representation

func (*DisassociateResolverRuleOutput) SetResolverRuleAssociation Uses

func (s *DisassociateResolverRuleOutput) SetResolverRuleAssociation(v *ResolverRuleAssociation) *DisassociateResolverRuleOutput

SetResolverRuleAssociation sets the ResolverRuleAssociation field's value.

func (DisassociateResolverRuleOutput) String Uses

func (s DisassociateResolverRuleOutput) String() string

String returns the string representation

type Filter Uses

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) GoString Uses

func (s Filter) GoString() string

GoString returns the string representation

func (*Filter) SetName Uses

func (s *Filter) SetName(v string) *Filter

SetName sets the Name field's value.

func (*Filter) SetValues Uses

func (s *Filter) SetValues(v []*string) *Filter

SetValues sets the Values field's value.

func (Filter) String Uses

func (s Filter) String() string

String returns the string representation

func (*Filter) Validate Uses

func (s *Filter) Validate() error

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

type GetResolverEndpointInput Uses

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) GoString Uses

func (s GetResolverEndpointInput) GoString() string

GoString returns the string representation

func (*GetResolverEndpointInput) SetResolverEndpointId Uses

func (s *GetResolverEndpointInput) SetResolverEndpointId(v string) *GetResolverEndpointInput

SetResolverEndpointId sets the ResolverEndpointId field's value.

func (GetResolverEndpointInput) String Uses

func (s GetResolverEndpointInput) String() string

String returns the string representation

func (*GetResolverEndpointInput) Validate Uses

func (s *GetResolverEndpointInput) Validate() error

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

type GetResolverEndpointOutput Uses

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) GoString Uses

func (s GetResolverEndpointOutput) GoString() string

GoString returns the string representation

func (*GetResolverEndpointOutput) SetResolverEndpoint Uses

func (s *GetResolverEndpointOutput) SetResolverEndpoint(v *ResolverEndpoint) *GetResolverEndpointOutput

SetResolverEndpoint sets the ResolverEndpoint field's value.

func (GetResolverEndpointOutput) String Uses

func (s GetResolverEndpointOutput) String() string

String returns the string representation

type GetResolverRuleAssociationInput Uses

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) GoString Uses

func (s GetResolverRuleAssociationInput) GoString() string

GoString returns the string representation

func (*GetResolverRuleAssociationInput) SetResolverRuleAssociationId Uses

func (s *GetResolverRuleAssociationInput) SetResolverRuleAssociationId(v string) *GetResolverRuleAssociationInput

SetResolverRuleAssociationId sets the ResolverRuleAssociationId field's value.

func (GetResolverRuleAssociationInput) String Uses

func (s GetResolverRuleAssociationInput) String() string

String returns the string representation

func (*GetResolverRuleAssociationInput) Validate Uses

func (s *GetResolverRuleAssociationInput) Validate() error

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

type GetResolverRuleAssociationOutput Uses

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) GoString Uses

func (s GetResolverRuleAssociationOutput) GoString() string

GoString returns the string representation

func (*GetResolverRuleAssociationOutput) SetResolverRuleAssociation Uses

func (s *GetResolverRuleAssociationOutput) SetResolverRuleAssociation(v *ResolverRuleAssociation) *GetResolverRuleAssociationOutput

SetResolverRuleAssociation sets the ResolverRuleAssociation field's value.

func (GetResolverRuleAssociationOutput) String Uses

func (s GetResolverRuleAssociationOutput) String() string

String returns the string representation

type GetResolverRuleInput Uses

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) GoString Uses

func (s GetResolverRuleInput) GoString() string

GoString returns the string representation

func (*GetResolverRuleInput) SetResolverRuleId Uses

func (s *GetResolverRuleInput) SetResolverRuleId(v string) *GetResolverRuleInput

SetResolverRuleId sets the ResolverRuleId field's value.

func (GetResolverRuleInput) String Uses

func (s GetResolverRuleInput) String() string

String returns the string representation

func (*GetResolverRuleInput) Validate Uses

func (s *GetResolverRuleInput) Validate() error

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

type GetResolverRuleOutput Uses

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) GoString Uses

func (s GetResolverRuleOutput) GoString() string

GoString returns the string representation

func (*GetResolverRuleOutput) SetResolverRule Uses

func (s *GetResolverRuleOutput) SetResolverRule(v *ResolverRule) *GetResolverRuleOutput

SetResolverRule sets the ResolverRule field's value.

func (GetResolverRuleOutput) String Uses

func (s GetResolverRuleOutput) String() string

String returns the string representation

type GetResolverRulePolicyInput Uses

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) GoString Uses

func (s GetResolverRulePolicyInput) GoString() string

GoString returns the string representation

func (*GetResolverRulePolicyInput) SetArn Uses

func (s *GetResolverRulePolicyInput) SetArn(v string) *GetResolverRulePolicyInput

SetArn sets the Arn field's value.

func (GetResolverRulePolicyInput) String Uses

func (s GetResolverRulePolicyInput) String() string

String returns the string representation

func (*GetResolverRulePolicyInput) Validate Uses

func (s *GetResolverRulePolicyInput) Validate() error

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

type GetResolverRulePolicyOutput Uses

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) GoString Uses

func (s GetResolverRulePolicyOutput) GoString() string

GoString returns the string representation

func (*GetResolverRulePolicyOutput) SetResolverRulePolicy Uses

func (s *GetResolverRulePolicyOutput) SetResolverRulePolicy(v string) *GetResolverRulePolicyOutput

SetResolverRulePolicy sets the ResolverRulePolicy field's value.

func (GetResolverRulePolicyOutput) String Uses

func (s GetResolverRulePolicyOutput) String() string

String returns the string representation

type IpAddressRequest Uses

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) GoString Uses

func (s IpAddressRequest) GoString() string

GoString returns the string representation

func (*IpAddressRequest) SetIp Uses

func (s *IpAddressRequest) SetIp(v string) *IpAddressRequest

SetIp sets the Ip field's value.

func (*IpAddressRequest) SetSubnetId Uses

func (s *IpAddressRequest) SetSubnetId(v string) *IpAddressRequest

SetSubnetId sets the SubnetId field's value.

func (IpAddressRequest) String Uses

func (s IpAddressRequest) String() string

String returns the string representation

func (*IpAddressRequest) Validate Uses

func (s *IpAddressRequest) Validate() error

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

type IpAddressResponse Uses

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 *string `type:"string" enum:"IpAddressStatus"`

    // 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) GoString Uses

func (s IpAddressResponse) GoString() string

GoString returns the string representation

func (*IpAddressResponse) SetCreationTime Uses

func (s *IpAddressResponse) SetCreationTime(v string) *IpAddressResponse

SetCreationTime sets the CreationTime field's value.

func (*IpAddressResponse) SetIp Uses

func (s *IpAddressResponse) SetIp(v string) *IpAddressResponse

SetIp sets the Ip field's value.

func (*IpAddressResponse) SetIpId Uses

func (s *IpAddressResponse) SetIpId(v string) *IpAddressResponse

SetIpId sets the IpId field's value.

func (*IpAddressResponse) SetModificationTime Uses

func (s *IpAddressResponse) SetModificationTime(v string) *IpAddressResponse

SetModificationTime sets the ModificationTime field's value.

func (*IpAddressResponse) SetStatus Uses

func (s *IpAddressResponse) SetStatus(v string) *IpAddressResponse

SetStatus sets the Status field's value.

func (*IpAddressResponse) SetStatusMessage Uses

func (s *IpAddressResponse) SetStatusMessage(v string) *IpAddressResponse

SetStatusMessage sets the StatusMessage field's value.

func (*IpAddressResponse) SetSubnetId Uses

func (s *IpAddressResponse) SetSubnetId(v string) *IpAddressResponse

SetSubnetId sets the SubnetId field's value.

func (IpAddressResponse) String Uses

func (s IpAddressResponse) String() string

String returns the string representation

type IpAddressUpdate Uses

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) GoString Uses

func (s IpAddressUpdate) GoString() string

GoString returns the string representation

func (*IpAddressUpdate) SetIp Uses

func (s *IpAddressUpdate) SetIp(v string) *IpAddressUpdate

SetIp sets the Ip field's value.

func (*IpAddressUpdate) SetIpId Uses

func (s *IpAddressUpdate) SetIpId(v string) *IpAddressUpdate

SetIpId sets the IpId field's value.

func (*IpAddressUpdate) SetSubnetId Uses

func (s *IpAddressUpdate) SetSubnetId(v string) *IpAddressUpdate

SetSubnetId sets the SubnetId field's value.

func (IpAddressUpdate) String Uses

func (s IpAddressUpdate) String() string

String returns the string representation

func (*IpAddressUpdate) Validate Uses

func (s *IpAddressUpdate) Validate() error

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

type ListResolverEndpointIpAddressesInput Uses

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) GoString Uses

func (s ListResolverEndpointIpAddressesInput) GoString() string

GoString returns the string representation

func (*ListResolverEndpointIpAddressesInput) SetMaxResults Uses

func (s *ListResolverEndpointIpAddressesInput) SetMaxResults(v int64) *ListResolverEndpointIpAddressesInput

SetMaxResults sets the MaxResults field's value.

func (*ListResolverEndpointIpAddressesInput) SetNextToken Uses

func (s *ListResolverEndpointIpAddressesInput) SetNextToken(v string) *ListResolverEndpointIpAddressesInput

SetNextToken sets the NextToken field's value.

func (*ListResolverEndpointIpAddressesInput) SetResolverEndpointId Uses

func (s *ListResolverEndpointIpAddressesInput) SetResolverEndpointId(v string) *ListResolverEndpointIpAddressesInput

SetResolverEndpointId sets the ResolverEndpointId field's value.

func (ListResolverEndpointIpAddressesInput) String Uses

func (s ListResolverEndpointIpAddressesInput) String() string

String returns the string representation

func (*ListResolverEndpointIpAddressesInput) Validate Uses

func (s *ListResolverEndpointIpAddressesInput) Validate() error

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

type ListResolverEndpointIpAddressesOutput Uses

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) GoString Uses

func (s ListResolverEndpointIpAddressesOutput) GoString() string

GoString returns the string representation

func (*ListResolverEndpointIpAddressesOutput) SetIpAddresses Uses

func (s *ListResolverEndpointIpAddressesOutput) SetIpAddresses(v []*IpAddressResponse) *ListResolverEndpointIpAddressesOutput

SetIpAddresses sets the IpAddresses field's value.

func (*ListResolverEndpointIpAddressesOutput) SetMaxResults Uses

func (s *ListResolverEndpointIpAddressesOutput) SetMaxResults(v int64) *ListResolverEndpointIpAddressesOutput

SetMaxResults sets the MaxResults field's value.

func (*ListResolverEndpointIpAddressesOutput) SetNextToken Uses

func (s *ListResolverEndpointIpAddressesOutput) SetNextToken(v string) *ListResolverEndpointIpAddressesOutput

SetNextToken sets the NextToken field's value.

func (ListResolverEndpointIpAddressesOutput) String Uses

func (s ListResolverEndpointIpAddressesOutput) String() string

String returns the string representation

type ListResolverEndpointsInput Uses

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) GoString Uses

func (s ListResolverEndpointsInput) GoString() string

GoString returns the string representation

func (*ListResolverEndpointsInput) SetFilters Uses

func (s *ListResolverEndpointsInput) SetFilters(v []*Filter) *ListResolverEndpointsInput

SetFilters sets the Filters field's value.

func (*ListResolverEndpointsInput) SetMaxResults Uses

func (s *ListResolverEndpointsInput) SetMaxResults(v int64) *ListResolverEndpointsInput

SetMaxResults sets the MaxResults field's value.

func (*ListResolverEndpointsInput) SetNextToken Uses

func (s *ListResolverEndpointsInput) SetNextToken(v string) *ListResolverEndpointsInput

SetNextToken sets the NextToken field's value.

func (ListResolverEndpointsInput) String Uses

func (s ListResolverEndpointsInput) String() string

String returns the string representation

func (*ListResolverEndpointsInput) Validate Uses

func (s *ListResolverEndpointsInput) Validate() error

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

type ListResolverEndpointsOutput Uses

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) GoString Uses

func (s ListResolverEndpointsOutput) GoString() string

GoString returns the string representation

func (*ListResolverEndpointsOutput) SetMaxResults Uses

func (s *ListResolverEndpointsOutput) SetMaxResults(v int64) *ListResolverEndpointsOutput

SetMaxResults sets the MaxResults field's value.

func (*ListResolverEndpointsOutput) SetNextToken Uses

func (s *ListResolverEndpointsOutput) SetNextToken(v string) *ListResolverEndpointsOutput

SetNextToken sets the NextToken field's value.

func (*ListResolverEndpointsOutput) SetResolverEndpoints Uses

func (s *ListResolverEndpointsOutput) SetResolverEndpoints(v []*ResolverEndpoint) *ListResolverEndpointsOutput

SetResolverEndpoints sets the ResolverEndpoints field's value.

func (ListResolverEndpointsOutput) String Uses

func (s ListResolverEndpointsOutput) String() string

String returns the string representation

type ListResolverRuleAssociationsInput Uses

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) GoString Uses

func (s ListResolverRuleAssociationsInput) GoString() string

GoString returns the string representation

func (*ListResolverRuleAssociationsInput) SetFilters Uses

func (s *ListResolverRuleAssociationsInput) SetFilters(v []*Filter) *ListResolverRuleAssociationsInput

SetFilters sets the Filters field's value.

func (*ListResolverRuleAssociationsInput) SetMaxResults Uses

func (s *ListResolverRuleAssociationsInput) SetMaxResults(v int64) *ListResolverRuleAssociationsInput

SetMaxResults sets the MaxResults field's value.

func (*ListResolverRuleAssociationsInput) SetNextToken Uses

func (s *ListResolverRuleAssociationsInput) SetNextToken(v string) *ListResolverRuleAssociationsInput

SetNextToken sets the NextToken field's value.

func (ListResolverRuleAssociationsInput) String Uses

func (s ListResolverRuleAssociationsInput) String() string

String returns the string representation

func (*ListResolverRuleAssociationsInput) Validate Uses

func (s *ListResolverRuleAssociationsInput) Validate() error

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

type ListResolverRuleAssociationsOutput Uses

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) GoString Uses

func (s ListResolverRuleAssociationsOutput) GoString() string

GoString returns the string representation

func (*ListResolverRuleAssociationsOutput) SetMaxResults Uses

func (s *ListResolverRuleAssociationsOutput) SetMaxResults(v int64) *ListResolverRuleAssociationsOutput

SetMaxResults sets the MaxResults field's value.

func (*ListResolverRuleAssociationsOutput) SetNextToken Uses

func (s *ListResolverRuleAssociationsOutput) SetNextToken(v string) *ListResolverRuleAssociationsOutput

SetNextToken sets the NextToken field's value.

func (*ListResolverRuleAssociationsOutput) SetResolverRuleAssociations Uses

func (s *ListResolverRuleAssociationsOutput) SetResolverRuleAssociations(v []*ResolverRuleAssociation) *ListResolverRuleAssociationsOutput

SetResolverRuleAssociations sets the ResolverRuleAssociations field's value.

func (ListResolverRuleAssociationsOutput) String Uses

func (s ListResolverRuleAssociationsOutput) String() string

String returns the string representation

type ListResolverRulesInput Uses

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) GoString Uses

func (s ListResolverRulesInput) GoString() string

GoString returns the string representation

func (*ListResolverRulesInput) SetFilters Uses

func (s *ListResolverRulesInput) SetFilters(v []*Filter) *ListResolverRulesInput

SetFilters sets the Filters field's value.

func (*ListResolverRulesInput) SetMaxResults Uses

func (s *ListResolverRulesInput) SetMaxResults(v int64) *ListResolverRulesInput

SetMaxResults sets the MaxResults field's value.

func (*ListResolverRulesInput) SetNextToken Uses

func (s *ListResolverRulesInput) SetNextToken(v string) *ListResolverRulesInput

SetNextToken sets the NextToken field's value.

func (ListResolverRulesInput) String Uses

func (s ListResolverRulesInput) String() string

String returns the string representation

func (*ListResolverRulesInput) Validate Uses

func (s *ListResolverRulesInput) Validate() error

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

type ListResolverRulesOutput Uses

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) GoString Uses

func (s ListResolverRulesOutput) GoString() string

GoString returns the string representation

func (*ListResolverRulesOutput) SetMaxResults Uses

func (s *ListResolverRulesOutput) SetMaxResults(v int64) *ListResolverRulesOutput

SetMaxResults sets the MaxResults field's value.

func (*ListResolverRulesOutput) SetNextToken Uses

func (s *ListResolverRulesOutput) SetNextToken(v string) *ListResolverRulesOutput

SetNextToken sets the NextToken field's value.

func (*ListResolverRulesOutput) SetResolverRules Uses

func (s *ListResolverRulesOutput) SetResolverRules(v []*ResolverRule) *ListResolverRulesOutput

SetResolverRules sets the ResolverRules field's value.

func (ListResolverRulesOutput) String Uses

func (s ListResolverRulesOutput) String() string

String returns the string representation

type ListTagsForResourceInput Uses

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) GoString Uses

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetMaxResults Uses

func (s *ListTagsForResourceInput) SetMaxResults(v int64) *ListTagsForResourceInput

SetMaxResults sets the MaxResults field's value.

func (*ListTagsForResourceInput) SetNextToken Uses

func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput

SetNextToken sets the NextToken field's value.

func (*ListTagsForResourceInput) SetResourceArn Uses

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String Uses

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate Uses

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput Uses

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) GoString Uses

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetNextToken Uses

func (s *ListTagsForResourceOutput) SetNextToken(v string) *ListTagsForResourceOutput

SetNextToken sets the NextToken field's value.

func (*ListTagsForResourceOutput) SetTags Uses

func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String Uses

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type PutResolverRulePolicyInput Uses

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) GoString Uses

func (s PutResolverRulePolicyInput) GoString() string

GoString returns the string representation

func (*PutResolverRulePolicyInput) SetArn Uses

func (s *PutResolverRulePolicyInput) SetArn(v string) *PutResolverRulePolicyInput

SetArn sets the Arn field's value.

func (*PutResolverRulePolicyInput) SetResolverRulePolicy Uses

func (s *PutResolverRulePolicyInput) SetResolverRulePolicy(v string) *PutResolverRulePolicyInput

SetResolverRulePolicy sets the ResolverRulePolicy field's value.

func (PutResolverRulePolicyInput) String Uses

func (s PutResolverRulePolicyInput) String() string

String returns the string representation

func (*PutResolverRulePolicyInput) Validate Uses

func (s *PutResolverRulePolicyInput) Validate() error

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

type PutResolverRulePolicyOutput Uses

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) GoString Uses

func (s PutResolverRulePolicyOutput) GoString() string

GoString returns the string representation

func (*PutResolverRulePolicyOutput) SetReturnValue Uses

func (s *PutResolverRulePolicyOutput) SetReturnValue(v bool) *PutResolverRulePolicyOutput

SetReturnValue sets the ReturnValue field's value.

func (PutResolverRulePolicyOutput) String Uses

func (s PutResolverRulePolicyOutput) String() string

String returns the string representation

type ResolverEndpoint Uses

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 *string `type:"string" enum:"ResolverEndpointDirection"`

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

    // 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) GoString Uses

func (s ResolverEndpoint) GoString() string

GoString returns the string representation

func (*ResolverEndpoint) SetArn Uses

func (s *ResolverEndpoint) SetArn(v string) *ResolverEndpoint

SetArn sets the Arn field's value.

func (*ResolverEndpoint) SetCreationTime Uses

func (s *ResolverEndpoint) SetCreationTime(v string) *ResolverEndpoint

SetCreationTime sets the CreationTime field's value.

func (*ResolverEndpoint) SetCreatorRequestId Uses

func (s *ResolverEndpoint) SetCreatorRequestId(v string) *ResolverEndpoint

SetCreatorRequestId sets the CreatorRequestId field's value.

func (*ResolverEndpoint) SetDirection Uses

func (s *ResolverEndpoint) SetDirection(v string) *ResolverEndpoint

SetDirection sets the Direction field's value.

func (*ResolverEndpoint) SetHostVPCId Uses

func (s *ResolverEndpoint) SetHostVPCId(v string) *ResolverEndpoint

SetHostVPCId sets the HostVPCId field's value.

func (*ResolverEndpoint) SetId Uses

func (s *ResolverEndpoint) SetId(v string) *ResolverEndpoint

SetId sets the Id field's value.

func (*ResolverEndpoint) SetIpAddressCount Uses

func (s *ResolverEndpoint) SetIpAddressCount(v int64) *ResolverEndpoint

SetIpAddressCount sets the IpAddressCount field's value.

func (*ResolverEndpoint) SetModificationTime Uses

func (s *ResolverEndpoint) SetModificationTime(v string) *ResolverEndpoint

SetModificationTime sets the ModificationTime field's value.

func (*ResolverEndpoint) SetName Uses

func (s *ResolverEndpoint) SetName(v string) *ResolverEndpoint

SetName sets the Name field's value.

func (*ResolverEndpoint) SetSecurityGroupIds Uses

func (s *ResolverEndpoint) SetSecurityGroupIds(v []*string) *ResolverEndpoint

SetSecurityGroupIds sets the SecurityGroupIds field's value.

func (*ResolverEndpoint) SetStatus Uses

func (s *ResolverEndpoint) SetStatus(v string) *ResolverEndpoint

SetStatus sets the Status field's value.

func (*ResolverEndpoint) SetStatusMessage Uses

func (s *ResolverEndpoint) SetStatusMessage(v string) *ResolverEndpoint

SetStatusMessage sets the StatusMessage field's value.

func (ResolverEndpoint) String Uses

func (s ResolverEndpoint) String() string

String returns the string representation

type ResolverRule Uses

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 *string `type:"string" enum:"RuleTypeOption"`

    // Whether the rules is shared and, if so, whether the current account is sharing
    // the rule with another account, or another account is sharing the rule with
    // the current account.
    ShareStatus *string `type:"string" enum:"ShareStatus"`

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

    // 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) GoString Uses

func (s ResolverRule) GoString() string

GoString returns the string representation

func (*ResolverRule) SetArn Uses

func (s *ResolverRule) SetArn(v string) *ResolverRule

SetArn sets the Arn field's value.

func (*ResolverRule) SetCreatorRequestId Uses

func (s *ResolverRule) SetCreatorRequestId(v string) *ResolverRule

SetCreatorRequestId sets the CreatorRequestId field's value.

func (*ResolverRule) SetDomainName Uses

func (s *ResolverRule) SetDomainName(v string) *ResolverRule

SetDomainName sets the DomainName field's value.

func (*ResolverRule) SetId Uses

func (s *ResolverRule) SetId(v string) *ResolverRule

SetId sets the Id field's value.

func (*ResolverRule) SetName Uses

func (s *ResolverRule) SetName(v string) *ResolverRule

SetName sets the Name field's value.

func (*ResolverRule) SetOwnerId Uses

func (s *ResolverRule) SetOwnerId(v string) *ResolverRule

SetOwnerId sets the OwnerId field's value.

func (*ResolverRule) SetResolverEndpointId Uses

func (s *ResolverRule) SetResolverEndpointId(v string) *ResolverRule

SetResolverEndpointId sets the ResolverEndpointId field's value.

func (*ResolverRule) SetRuleType Uses

func (s *ResolverRule) SetRuleType(v string) *ResolverRule

SetRuleType sets the RuleType field's value.

func (*ResolverRule) SetShareStatus Uses

func (s *ResolverRule) SetShareStatus(v string) *ResolverRule

SetShareStatus sets the ShareStatus field's value.

func (*ResolverRule) SetStatus Uses

func (s *ResolverRule) SetStatus(v string) *ResolverRule

SetStatus sets the Status field's value.

func (*ResolverRule) SetStatusMessage Uses

func (s *ResolverRule) SetStatusMessage(v string) *ResolverRule

SetStatusMessage sets the StatusMessage field's value.

func (*ResolverRule) SetTargetIps Uses

func (s *ResolverRule) SetTargetIps(v []*TargetAddress) *ResolverRule

SetTargetIps sets the TargetIps field's value.

func (ResolverRule) String Uses

func (s ResolverRule) String() string

String returns the string representation

type ResolverRuleAssociation Uses

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 *string `type:"string" enum:"ResolverRuleAssociationStatus"`

    // 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) GoString Uses

func (s ResolverRuleAssociation) GoString() string

GoString returns the string representation

func (*ResolverRuleAssociation) SetId Uses

func (s *ResolverRuleAssociation) SetId(v string) *ResolverRuleAssociation

SetId sets the Id field's value.

func (*ResolverRuleAssociation) SetName Uses

func (s *ResolverRuleAssociation) SetName(v string) *ResolverRuleAssociation

SetName sets the Name field's value.

func (*ResolverRuleAssociation) SetResolverRuleId Uses

func (s *ResolverRuleAssociation) SetResolverRuleId(v string) *ResolverRuleAssociation

SetResolverRuleId sets the ResolverRuleId field's value.

func (*ResolverRuleAssociation) SetStatus Uses

func (s *ResolverRuleAssociation) SetStatus(v string) *ResolverRuleAssociation

SetStatus sets the Status field's value.

func (*ResolverRuleAssociation) SetStatusMessage Uses

func (s *ResolverRuleAssociation) SetStatusMessage(v string) *ResolverRuleAssociation

SetStatusMessage sets the StatusMessage field's value.

func (*ResolverRuleAssociation) SetVPCId Uses

func (s *ResolverRuleAssociation) SetVPCId(v string) *ResolverRuleAssociation

SetVPCId sets the VPCId field's value.

func (ResolverRuleAssociation) String Uses

func (s ResolverRuleAssociation) String() string

String returns the string representation

type ResolverRuleConfig Uses

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) GoString Uses

func (s ResolverRuleConfig) GoString() string

GoString returns the string representation

func (*ResolverRuleConfig) SetName Uses

func (s *ResolverRuleConfig) SetName(v string) *ResolverRuleConfig

SetName sets the Name field's value.

func (*ResolverRuleConfig) SetResolverEndpointId Uses

func (s *ResolverRuleConfig) SetResolverEndpointId(v string) *ResolverRuleConfig

SetResolverEndpointId sets the ResolverEndpointId field's value.

func (*ResolverRuleConfig) SetTargetIps Uses

func (s *ResolverRuleConfig) SetTargetIps(v []*TargetAddress) *ResolverRuleConfig

SetTargetIps sets the TargetIps field's value.

func (ResolverRuleConfig) String Uses

func (s ResolverRuleConfig) String() string

String returns the string representation

func (*ResolverRuleConfig) Validate Uses

func (s *ResolverRuleConfig) Validate() error

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

type Route53Resolver Uses

type Route53Resolver struct {
    *client.Client
}

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

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

func New Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *Route53Resolver

New creates a new instance of the Route53Resolver client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a Route53Resolver client from just a session.
svc := route53resolver.New(mySession)

// Create a Route53Resolver client with additional configuration
svc := route53resolver.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*Route53Resolver) AssociateResolverEndpointIpAddress Uses

func (c *Route53Resolver) AssociateResolverEndpointIpAddress(input *AssociateResolverEndpointIpAddressInput) (*AssociateResolverEndpointIpAddressOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation AssociateResolverEndpointIpAddress for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is invalid.

* ErrCodeResourceExistsException "ResourceExistsException"
The resource that you tried to create already exists.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeLimitExceededException "LimitExceededException"
The request caused one or more limits to be exceeded.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) AssociateResolverEndpointIpAddressRequest Uses

func (c *Route53Resolver) AssociateResolverEndpointIpAddressRequest(input *AssociateResolverEndpointIpAddressInput) (req *request.Request, output *AssociateResolverEndpointIpAddressOutput)

AssociateResolverEndpointIpAddressRequest generates a "aws/request.Request" representing the client's request for the AssociateResolverEndpointIpAddress operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateResolverEndpointIpAddress for more information on using the AssociateResolverEndpointIpAddress API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateResolverEndpointIpAddressRequest method.
req, resp := client.AssociateResolverEndpointIpAddressRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) AssociateResolverEndpointIpAddressWithContext Uses

func (c *Route53Resolver) AssociateResolverEndpointIpAddressWithContext(ctx aws.Context, input *AssociateResolverEndpointIpAddressInput, opts ...request.Option) (*AssociateResolverEndpointIpAddressOutput, error)

AssociateResolverEndpointIpAddressWithContext is the same as AssociateResolverEndpointIpAddress with the addition of the ability to pass a context and additional request options.

See AssociateResolverEndpointIpAddress for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) AssociateResolverRule Uses

func (c *Route53Resolver) AssociateResolverRule(input *AssociateResolverRuleInput) (*AssociateResolverRuleOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation AssociateResolverRule for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is invalid.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeResourceUnavailableException "ResourceUnavailableException"
The specified resource isn't available.

* ErrCodeResourceExistsException "ResourceExistsException"
The resource that you tried to create already exists.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) AssociateResolverRuleRequest Uses

func (c *Route53Resolver) AssociateResolverRuleRequest(input *AssociateResolverRuleInput) (req *request.Request, output *AssociateResolverRuleOutput)

AssociateResolverRuleRequest generates a "aws/request.Request" representing the client's request for the AssociateResolverRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateResolverRule for more information on using the AssociateResolverRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateResolverRuleRequest method.
req, resp := client.AssociateResolverRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) AssociateResolverRuleWithContext Uses

func (c *Route53Resolver) AssociateResolverRuleWithContext(ctx aws.Context, input *AssociateResolverRuleInput, opts ...request.Option) (*AssociateResolverRuleOutput, error)

AssociateResolverRuleWithContext is the same as AssociateResolverRule with the addition of the ability to pass a context and additional request options.

See AssociateResolverRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) CreateResolverEndpoint Uses

func (c *Route53Resolver) CreateResolverEndpoint(input *CreateResolverEndpointInput) (*CreateResolverEndpointOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation CreateResolverEndpoint for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is invalid.

* ErrCodeResourceExistsException "ResourceExistsException"
The resource that you tried to create already exists.

* ErrCodeLimitExceededException "LimitExceededException"
The request caused one or more limits to be exceeded.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) CreateResolverEndpointRequest Uses

func (c *Route53Resolver) CreateResolverEndpointRequest(input *CreateResolverEndpointInput) (req *request.Request, output *CreateResolverEndpointOutput)

CreateResolverEndpointRequest generates a "aws/request.Request" representing the client's request for the CreateResolverEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateResolverEndpoint for more information on using the CreateResolverEndpoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateResolverEndpointRequest method.
req, resp := client.CreateResolverEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) CreateResolverEndpointWithContext Uses

func (c *Route53Resolver) CreateResolverEndpointWithContext(ctx aws.Context, input *CreateResolverEndpointInput, opts ...request.Option) (*CreateResolverEndpointOutput, error)

CreateResolverEndpointWithContext is the same as CreateResolverEndpoint with the addition of the ability to pass a context and additional request options.

See CreateResolverEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) CreateResolverRule Uses

func (c *Route53Resolver) CreateResolverRule(input *CreateResolverRuleInput) (*CreateResolverRuleOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation CreateResolverRule for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is invalid.

* ErrCodeLimitExceededException "LimitExceededException"
The request caused one or more limits to be exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeResourceExistsException "ResourceExistsException"
The resource that you tried to create already exists.

* ErrCodeResourceUnavailableException "ResourceUnavailableException"
The specified resource isn't available.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) CreateResolverRuleRequest Uses

func (c *Route53Resolver) CreateResolverRuleRequest(input *CreateResolverRuleInput) (req *request.Request, output *CreateResolverRuleOutput)

CreateResolverRuleRequest generates a "aws/request.Request" representing the client's request for the CreateResolverRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateResolverRule for more information on using the CreateResolverRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateResolverRuleRequest method.
req, resp := client.CreateResolverRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) CreateResolverRuleWithContext Uses

func (c *Route53Resolver) CreateResolverRuleWithContext(ctx aws.Context, input *CreateResolverRuleInput, opts ...request.Option) (*CreateResolverRuleOutput, error)

CreateResolverRuleWithContext is the same as CreateResolverRule with the addition of the ability to pass a context and additional request options.

See CreateResolverRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) DeleteResolverEndpoint Uses

func (c *Route53Resolver) DeleteResolverEndpoint(input *DeleteResolverEndpointInput) (*DeleteResolverEndpointOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation DeleteResolverEndpoint for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is invalid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) DeleteResolverEndpointRequest Uses

func (c *Route53Resolver) DeleteResolverEndpointRequest(input *DeleteResolverEndpointInput) (req *request.Request, output *DeleteResolverEndpointOutput)

DeleteResolverEndpointRequest generates a "aws/request.Request" representing the client's request for the DeleteResolverEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteResolverEndpoint for more information on using the DeleteResolverEndpoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteResolverEndpointRequest method.
req, resp := client.DeleteResolverEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) DeleteResolverEndpointWithContext Uses

func (c *Route53Resolver) DeleteResolverEndpointWithContext(ctx aws.Context, input *DeleteResolverEndpointInput, opts ...request.Option) (*DeleteResolverEndpointOutput, error)

DeleteResolverEndpointWithContext is the same as DeleteResolverEndpoint with the addition of the ability to pass a context and additional request options.

See DeleteResolverEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) DeleteResolverRule Uses

func (c *Route53Resolver) DeleteResolverRule(input *DeleteResolverRuleInput) (*DeleteResolverRuleOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation DeleteResolverRule for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeResourceInUseException "ResourceInUseException"
The resource that you tried to update or delete is currently in use.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) DeleteResolverRuleRequest Uses

func (c *Route53Resolver) DeleteResolverRuleRequest(input *DeleteResolverRuleInput) (req *request.Request, output *DeleteResolverRuleOutput)

DeleteResolverRuleRequest generates a "aws/request.Request" representing the client's request for the DeleteResolverRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteResolverRule for more information on using the DeleteResolverRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteResolverRuleRequest method.
req, resp := client.DeleteResolverRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) DeleteResolverRuleWithContext Uses

func (c *Route53Resolver) DeleteResolverRuleWithContext(ctx aws.Context, input *DeleteResolverRuleInput, opts ...request.Option) (*DeleteResolverRuleOutput, error)

DeleteResolverRuleWithContext is the same as DeleteResolverRule with the addition of the ability to pass a context and additional request options.

See DeleteResolverRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) DisassociateResolverEndpointIpAddress Uses

func (c *Route53Resolver) DisassociateResolverEndpointIpAddress(input *DisassociateResolverEndpointIpAddressInput) (*DisassociateResolverEndpointIpAddressOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation DisassociateResolverEndpointIpAddress for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is invalid.

* ErrCodeResourceExistsException "ResourceExistsException"
The resource that you tried to create already exists.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) DisassociateResolverEndpointIpAddressRequest Uses

func (c *Route53Resolver) DisassociateResolverEndpointIpAddressRequest(input *DisassociateResolverEndpointIpAddressInput) (req *request.Request, output *DisassociateResolverEndpointIpAddressOutput)

DisassociateResolverEndpointIpAddressRequest generates a "aws/request.Request" representing the client's request for the DisassociateResolverEndpointIpAddress operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateResolverEndpointIpAddress for more information on using the DisassociateResolverEndpointIpAddress API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateResolverEndpointIpAddressRequest method.
req, resp := client.DisassociateResolverEndpointIpAddressRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) DisassociateResolverEndpointIpAddressWithContext Uses

func (c *Route53Resolver) DisassociateResolverEndpointIpAddressWithContext(ctx aws.Context, input *DisassociateResolverEndpointIpAddressInput, opts ...request.Option) (*DisassociateResolverEndpointIpAddressOutput, error)

DisassociateResolverEndpointIpAddressWithContext is the same as DisassociateResolverEndpointIpAddress with the addition of the ability to pass a context and additional request options.

See DisassociateResolverEndpointIpAddress for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) DisassociateResolverRule Uses

func (c *Route53Resolver) DisassociateResolverRule(input *DisassociateResolverRuleInput) (*DisassociateResolverRuleOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation DisassociateResolverRule for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) DisassociateResolverRuleRequest Uses

func (c *Route53Resolver) DisassociateResolverRuleRequest(input *DisassociateResolverRuleInput) (req *request.Request, output *DisassociateResolverRuleOutput)

DisassociateResolverRuleRequest generates a "aws/request.Request" representing the client's request for the DisassociateResolverRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateResolverRule for more information on using the DisassociateResolverRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateResolverRuleRequest method.
req, resp := client.DisassociateResolverRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) DisassociateResolverRuleWithContext Uses

func (c *Route53Resolver) DisassociateResolverRuleWithContext(ctx aws.Context, input *DisassociateResolverRuleInput, opts ...request.Option) (*DisassociateResolverRuleOutput, error)

DisassociateResolverRuleWithContext is the same as DisassociateResolverRule with the addition of the ability to pass a context and additional request options.

See DisassociateResolverRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) GetResolverEndpoint Uses

func (c *Route53Resolver) GetResolverEndpoint(input *GetResolverEndpointInput) (*GetResolverEndpointOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation GetResolverEndpoint for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) GetResolverEndpointRequest Uses

func (c *Route53Resolver) GetResolverEndpointRequest(input *GetResolverEndpointInput) (req *request.Request, output *GetResolverEndpointOutput)

GetResolverEndpointRequest generates a "aws/request.Request" representing the client's request for the GetResolverEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResolverEndpoint for more information on using the GetResolverEndpoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResolverEndpointRequest method.
req, resp := client.GetResolverEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) GetResolverEndpointWithContext Uses

func (c *Route53Resolver) GetResolverEndpointWithContext(ctx aws.Context, input *GetResolverEndpointInput, opts ...request.Option) (*GetResolverEndpointOutput, error)

GetResolverEndpointWithContext is the same as GetResolverEndpoint with the addition of the ability to pass a context and additional request options.

See GetResolverEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) GetResolverRule Uses

func (c *Route53Resolver) GetResolverRule(input *GetResolverRuleInput) (*GetResolverRuleOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation GetResolverRule for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) GetResolverRuleAssociation Uses

func (c *Route53Resolver) GetResolverRuleAssociation(input *GetResolverRuleAssociationInput) (*GetResolverRuleAssociationOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation GetResolverRuleAssociation for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) GetResolverRuleAssociationRequest Uses

func (c *Route53Resolver) GetResolverRuleAssociationRequest(input *GetResolverRuleAssociationInput) (req *request.Request, output *GetResolverRuleAssociationOutput)

GetResolverRuleAssociationRequest generates a "aws/request.Request" representing the client's request for the GetResolverRuleAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResolverRuleAssociation for more information on using the GetResolverRuleAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResolverRuleAssociationRequest method.
req, resp := client.GetResolverRuleAssociationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) GetResolverRuleAssociationWithContext Uses

func (c *Route53Resolver) GetResolverRuleAssociationWithContext(ctx aws.Context, input *GetResolverRuleAssociationInput, opts ...request.Option) (*GetResolverRuleAssociationOutput, error)

GetResolverRuleAssociationWithContext is the same as GetResolverRuleAssociation with the addition of the ability to pass a context and additional request options.

See GetResolverRuleAssociation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) GetResolverRulePolicy Uses

func (c *Route53Resolver) GetResolverRulePolicy(input *GetResolverRulePolicyInput) (*GetResolverRulePolicyOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation GetResolverRulePolicy for usage and error information.

Returned Error Codes:

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeUnknownResourceException "UnknownResourceException"
The specified resource doesn't exist.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

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

func (*Route53Resolver) GetResolverRulePolicyRequest Uses

func (c *Route53Resolver) GetResolverRulePolicyRequest(input *GetResolverRulePolicyInput) (req *request.Request, output *GetResolverRulePolicyOutput)

GetResolverRulePolicyRequest generates a "aws/request.Request" representing the client's request for the GetResolverRulePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResolverRulePolicy for more information on using the GetResolverRulePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResolverRulePolicyRequest method.
req, resp := client.GetResolverRulePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) GetResolverRulePolicyWithContext Uses

func (c *Route53Resolver) GetResolverRulePolicyWithContext(ctx aws.Context, input *GetResolverRulePolicyInput, opts ...request.Option) (*GetResolverRulePolicyOutput, error)

GetResolverRulePolicyWithContext is the same as GetResolverRulePolicy with the addition of the ability to pass a context and additional request options.

See GetResolverRulePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) GetResolverRuleRequest Uses

func (c *Route53Resolver) GetResolverRuleRequest(input *GetResolverRuleInput) (req *request.Request, output *GetResolverRuleOutput)

GetResolverRuleRequest generates a "aws/request.Request" representing the client's request for the GetResolverRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetResolverRule for more information on using the GetResolverRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetResolverRuleRequest method.
req, resp := client.GetResolverRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) GetResolverRuleWithContext Uses

func (c *Route53Resolver) GetResolverRuleWithContext(ctx aws.Context, input *GetResolverRuleInput, opts ...request.Option) (*GetResolverRuleOutput, error)

GetResolverRuleWithContext is the same as GetResolverRule with the addition of the ability to pass a context and additional request options.

See GetResolverRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) ListResolverEndpointIpAddresses Uses

func (c *Route53Resolver) ListResolverEndpointIpAddresses(input *ListResolverEndpointIpAddressesInput) (*ListResolverEndpointIpAddressesOutput, error)

ListResolverEndpointIpAddresses API operation for Amazon Route 53 Resolver.

Gets the IP addresses for a specified resolver endpoint.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation ListResolverEndpointIpAddresses for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

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

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) ListResolverEndpointIpAddressesPages Uses

func (c *Route53Resolver) ListResolverEndpointIpAddressesPages(input *ListResolverEndpointIpAddressesInput, fn func(*ListResolverEndpointIpAddressesOutput, bool) bool) error

ListResolverEndpointIpAddressesPages iterates over the pages of a ListResolverEndpointIpAddresses operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListResolverEndpointIpAddresses method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListResolverEndpointIpAddresses operation.
pageNum := 0
err := client.ListResolverEndpointIpAddressesPages(params,
    func(page *route53resolver.ListResolverEndpointIpAddressesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Route53Resolver) ListResolverEndpointIpAddressesPagesWithContext Uses

func (c *Route53Resolver) ListResolverEndpointIpAddressesPagesWithContext(ctx aws.Context, input *ListResolverEndpointIpAddressesInput, fn func(*ListResolverEndpointIpAddressesOutput, bool) bool, opts ...request.Option) error

ListResolverEndpointIpAddressesPagesWithContext same as ListResolverEndpointIpAddressesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) ListResolverEndpointIpAddressesRequest Uses

func (c *Route53Resolver) ListResolverEndpointIpAddressesRequest(input *ListResolverEndpointIpAddressesInput) (req *request.Request, output *ListResolverEndpointIpAddressesOutput)

ListResolverEndpointIpAddressesRequest generates a "aws/request.Request" representing the client's request for the ListResolverEndpointIpAddresses operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListResolverEndpointIpAddresses for more information on using the ListResolverEndpointIpAddresses API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListResolverEndpointIpAddressesRequest method.
req, resp := client.ListResolverEndpointIpAddressesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) ListResolverEndpointIpAddressesWithContext Uses

func (c *Route53Resolver) ListResolverEndpointIpAddressesWithContext(ctx aws.Context, input *ListResolverEndpointIpAddressesInput, opts ...request.Option) (*ListResolverEndpointIpAddressesOutput, error)

ListResolverEndpointIpAddressesWithContext is the same as ListResolverEndpointIpAddresses with the addition of the ability to pass a context and additional request options.

See ListResolverEndpointIpAddresses for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) ListResolverEndpoints Uses

func (c *Route53Resolver) ListResolverEndpoints(input *ListResolverEndpointsInput) (*ListResolverEndpointsOutput, error)

ListResolverEndpoints API operation for Amazon Route 53 Resolver.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation ListResolverEndpoints for usage and error information.

Returned Error Codes:

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

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is invalid.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) ListResolverEndpointsPages Uses

func (c *Route53Resolver) ListResolverEndpointsPages(input *ListResolverEndpointsInput, fn func(*ListResolverEndpointsOutput, bool) bool) error

ListResolverEndpointsPages iterates over the pages of a ListResolverEndpoints operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListResolverEndpoints method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListResolverEndpoints operation.
pageNum := 0
err := client.ListResolverEndpointsPages(params,
    func(page *route53resolver.ListResolverEndpointsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Route53Resolver) ListResolverEndpointsPagesWithContext Uses

func (c *Route53Resolver) ListResolverEndpointsPagesWithContext(ctx aws.Context, input *ListResolverEndpointsInput, fn func(*ListResolverEndpointsOutput, bool) bool, opts ...request.Option) error

ListResolverEndpointsPagesWithContext same as ListResolverEndpointsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) ListResolverEndpointsRequest Uses

func (c *Route53Resolver) ListResolverEndpointsRequest(input *ListResolverEndpointsInput) (req *request.Request, output *ListResolverEndpointsOutput)

ListResolverEndpointsRequest generates a "aws/request.Request" representing the client's request for the ListResolverEndpoints operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListResolverEndpoints for more information on using the ListResolverEndpoints API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListResolverEndpointsRequest method.
req, resp := client.ListResolverEndpointsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) ListResolverEndpointsWithContext Uses

func (c *Route53Resolver) ListResolverEndpointsWithContext(ctx aws.Context, input *ListResolverEndpointsInput, opts ...request.Option) (*ListResolverEndpointsOutput, error)

ListResolverEndpointsWithContext is the same as ListResolverEndpoints with the addition of the ability to pass a context and additional request options.

See ListResolverEndpoints for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) ListResolverRuleAssociations Uses

func (c *Route53Resolver) ListResolverRuleAssociations(input *ListResolverRuleAssociationsInput) (*ListResolverRuleAssociationsOutput, error)

ListResolverRuleAssociations API operation for Amazon Route 53 Resolver.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation ListResolverRuleAssociations for usage and error information.

Returned Error Codes:

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

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is invalid.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) ListResolverRuleAssociationsPages Uses

func (c *Route53Resolver) ListResolverRuleAssociationsPages(input *ListResolverRuleAssociationsInput, fn func(*ListResolverRuleAssociationsOutput, bool) bool) error

ListResolverRuleAssociationsPages iterates over the pages of a ListResolverRuleAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListResolverRuleAssociations method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListResolverRuleAssociations operation.
pageNum := 0
err := client.ListResolverRuleAssociationsPages(params,
    func(page *route53resolver.ListResolverRuleAssociationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Route53Resolver) ListResolverRuleAssociationsPagesWithContext Uses

func (c *Route53Resolver) ListResolverRuleAssociationsPagesWithContext(ctx aws.Context, input *ListResolverRuleAssociationsInput, fn func(*ListResolverRuleAssociationsOutput, bool) bool, opts ...request.Option) error

ListResolverRuleAssociationsPagesWithContext same as ListResolverRuleAssociationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) ListResolverRuleAssociationsRequest Uses

func (c *Route53Resolver) ListResolverRuleAssociationsRequest(input *ListResolverRuleAssociationsInput) (req *request.Request, output *ListResolverRuleAssociationsOutput)

ListResolverRuleAssociationsRequest generates a "aws/request.Request" representing the client's request for the ListResolverRuleAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListResolverRuleAssociations for more information on using the ListResolverRuleAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListResolverRuleAssociationsRequest method.
req, resp := client.ListResolverRuleAssociationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) ListResolverRuleAssociationsWithContext Uses

func (c *Route53Resolver) ListResolverRuleAssociationsWithContext(ctx aws.Context, input *ListResolverRuleAssociationsInput, opts ...request.Option) (*ListResolverRuleAssociationsOutput, error)

ListResolverRuleAssociationsWithContext is the same as ListResolverRuleAssociations with the addition of the ability to pass a context and additional request options.

See ListResolverRuleAssociations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) ListResolverRules Uses

func (c *Route53Resolver) ListResolverRules(input *ListResolverRulesInput) (*ListResolverRulesOutput, error)

ListResolverRules API operation for Amazon Route 53 Resolver.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation ListResolverRules for usage and error information.

Returned Error Codes:

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

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is invalid.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) ListResolverRulesPages Uses

func (c *Route53Resolver) ListResolverRulesPages(input *ListResolverRulesInput, fn func(*ListResolverRulesOutput, bool) bool) error

ListResolverRulesPages iterates over the pages of a ListResolverRules operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListResolverRules method for more information on how to use this operation.

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

// Example iterating over at most 3 pages of a ListResolverRules operation.
pageNum := 0
err := client.ListResolverRulesPages(params,
    func(page *route53resolver.ListResolverRulesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*Route53Resolver) ListResolverRulesPagesWithContext Uses

func (c *Route53Resolver) ListResolverRulesPagesWithContext(ctx aws.Context, input *ListResolverRulesInput, fn func(*ListResolverRulesOutput, bool) bool, opts ...request.Option) error

ListResolverRulesPagesWithContext same as ListResolverRulesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) ListResolverRulesRequest Uses

func (c *Route53Resolver) ListResolverRulesRequest(input *ListResolverRulesInput) (req *request.Request, output *ListResolverRulesOutput)

ListResolverRulesRequest generates a "aws/request.Request" representing the client's request for the ListResolverRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListResolverRules for more information on using the ListResolverRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListResolverRulesRequest method.
req, resp := client.ListResolverRulesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) ListResolverRulesWithContext Uses

func (c *Route53Resolver) ListResolverRulesWithContext(ctx aws.Context, input *ListResolverRulesInput, opts ...request.Option) (*ListResolverRulesOutput, error)

ListResolverRulesWithContext is the same as ListResolverRules with the addition of the ability to pass a context and additional request options.

See ListResolverRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) ListTagsForResource Uses

func (c *Route53Resolver) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for Amazon Route 53 Resolver.

Lists the tags that you associated with the specified resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation ListTagsForResource for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

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

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is invalid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) ListTagsForResourceRequest Uses

func (c *Route53Resolver) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTagsForResourceRequest method.
req, resp := client.ListTagsForResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) ListTagsForResourceWithContext Uses

func (c *Route53Resolver) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.

See ListTagsForResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) PutResolverRulePolicy Uses

func (c *Route53Resolver) PutResolverRulePolicy(input *PutResolverRulePolicyInput) (*PutResolverRulePolicyOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation PutResolverRulePolicy for usage and error information.

Returned Error Codes:

* ErrCodeInvalidPolicyDocument "InvalidPolicyDocument"
The specified resolver rule policy is invalid.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeUnknownResourceException "UnknownResourceException"
The specified resource doesn't exist.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

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

func (*Route53Resolver) PutResolverRulePolicyRequest Uses

func (c *Route53Resolver) PutResolverRulePolicyRequest(input *PutResolverRulePolicyInput) (req *request.Request, output *PutResolverRulePolicyOutput)

PutResolverRulePolicyRequest generates a "aws/request.Request" representing the client's request for the PutResolverRulePolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutResolverRulePolicy for more information on using the PutResolverRulePolicy API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutResolverRulePolicyRequest method.
req, resp := client.PutResolverRulePolicyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) PutResolverRulePolicyWithContext Uses

func (c *Route53Resolver) PutResolverRulePolicyWithContext(ctx aws.Context, input *PutResolverRulePolicyInput, opts ...request.Option) (*PutResolverRulePolicyOutput, error)

PutResolverRulePolicyWithContext is the same as PutResolverRulePolicy with the addition of the ability to pass a context and additional request options.

See PutResolverRulePolicy for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) TagResource Uses

func (c *Route53Resolver) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for Amazon Route 53 Resolver.

Adds one or more tags to a specified resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation TagResource for usage and error information.

Returned Error Codes:

* ErrCodeLimitExceededException "LimitExceededException"
The request caused one or more limits to be exceeded.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInvalidTagException "InvalidTagException"
The specified tag is invalid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) TagResourceRequest Uses

func (c *Route53Resolver) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method.
req, resp := client.TagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) TagResourceWithContext Uses

func (c *Route53Resolver) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) UntagResource Uses

func (c *Route53Resolver) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for Amazon Route 53 Resolver.

Removes one or more tags from a specified resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation UntagResource for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) UntagResourceRequest Uses

func (c *Route53Resolver) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method.
req, resp := client.UntagResourceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) UntagResourceWithContext Uses

func (c *Route53Resolver) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) UpdateResolverEndpoint Uses

func (c *Route53Resolver) UpdateResolverEndpoint(input *UpdateResolverEndpointInput) (*UpdateResolverEndpointOutput, error)

UpdateResolverEndpoint API operation for Amazon Route 53 Resolver.

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation UpdateResolverEndpoint for usage and error information.

Returned Error Codes:

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is invalid.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) UpdateResolverEndpointRequest Uses

func (c *Route53Resolver) UpdateResolverEndpointRequest(input *UpdateResolverEndpointInput) (req *request.Request, output *UpdateResolverEndpointOutput)

UpdateResolverEndpointRequest generates a "aws/request.Request" representing the client's request for the UpdateResolverEndpoint operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateResolverEndpoint for more information on using the UpdateResolverEndpoint API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateResolverEndpointRequest method.
req, resp := client.UpdateResolverEndpointRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) UpdateResolverEndpointWithContext Uses

func (c *Route53Resolver) UpdateResolverEndpointWithContext(ctx aws.Context, input *UpdateResolverEndpointInput, opts ...request.Option) (*UpdateResolverEndpointOutput, error)

UpdateResolverEndpointWithContext is the same as UpdateResolverEndpoint with the addition of the ability to pass a context and additional request options.

See UpdateResolverEndpoint for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Route53Resolver) UpdateResolverRule Uses

func (c *Route53Resolver) UpdateResolverRule(input *UpdateResolverRuleInput) (*UpdateResolverRuleOutput, error)

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

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Route 53 Resolver's API operation UpdateResolverRule for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is invalid.

* ErrCodeInvalidParameterException "InvalidParameterException"
One or more parameters in this request are not valid.

* ErrCodeResourceNotFoundException "ResourceNotFoundException"
The specified resource doesn't exist.

* ErrCodeResourceUnavailableException "ResourceUnavailableException"
The specified resource isn't available.

* ErrCodeLimitExceededException "LimitExceededException"
The request caused one or more limits to be exceeded.

* ErrCodeInternalServiceErrorException "InternalServiceErrorException"
We encountered an unknown error. Try again in a few minutes.

* ErrCodeThrottlingException "ThrottlingException"
The request was throttled. Try again in a few minutes.

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

func (*Route53Resolver) UpdateResolverRuleRequest Uses

func (c *Route53Resolver) UpdateResolverRuleRequest(input *UpdateResolverRuleInput) (req *request.Request, output *UpdateResolverRuleOutput)

UpdateResolverRuleRequest generates a "aws/request.Request" representing the client's request for the UpdateResolverRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateResolverRule for more information on using the UpdateResolverRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateResolverRuleRequest method.
req, resp := client.UpdateResolverRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

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

func (*Route53Resolver) UpdateResolverRuleWithContext Uses

func (c *Route53Resolver) UpdateResolverRuleWithContext(ctx aws.Context, input *UpdateResolverRuleInput, opts ...request.Option) (*UpdateResolverRuleOutput, error)

UpdateResolverRuleWithContext is the same as UpdateResolverRule with the addition of the ability to pass a context and additional request options.

See UpdateResolverRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type Tag Uses

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) GoString Uses

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey Uses

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue Uses

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String Uses

func (s Tag) String() string

String returns the string representation

type TagResourceInput Uses

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) GoString Uses

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn Uses

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags Uses

func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String Uses

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate Uses

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput Uses

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

func (TagResourceOutput) GoString Uses

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String Uses

func (s TagResourceOutput) String() string

String returns the string representation

type TargetAddress Uses

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) GoString Uses

func (s TargetAddress) GoString() string

GoString returns the string representation

func (*TargetAddress) SetIp Uses

func (s *TargetAddress) SetIp(v string) *TargetAddress

SetIp sets the Ip field's value.

func (*TargetAddress) SetPort Uses

func (s *TargetAddress) SetPort(v int64) *TargetAddress

SetPort sets the Port field's value.

func (TargetAddress) String Uses

func (s TargetAddress) String() string

String returns the string representation

func (*TargetAddress) Validate Uses

func (s *TargetAddress) Validate() error

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

type UntagResourceInput Uses

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) GoString Uses

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn Uses

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys Uses

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String Uses

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate Uses

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput Uses

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

func (UntagResourceOutput) GoString Uses

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String Uses

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateResolverEndpointInput Uses

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) GoString Uses

func (s UpdateResolverEndpointInput) GoString() string

GoString returns the string representation

func (*UpdateResolverEndpointInput) SetName Uses

func (s *UpdateResolverEndpointInput) SetName(v string) *UpdateResolverEndpointInput

SetName sets the Name field's value.

func (*UpdateResolverEndpointInput) SetResolverEndpointId Uses

func (s *UpdateResolverEndpointInput) SetResolverEndpointId(v string) *UpdateResolverEndpointInput

SetResolverEndpointId sets the ResolverEndpointId field's value.

func (UpdateResolverEndpointInput) String Uses

func (s UpdateResolverEndpointInput) String() string

String returns the string representation

func (*UpdateResolverEndpointInput) Validate Uses

func (s *UpdateResolverEndpointInput) Validate() error

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

type UpdateResolverEndpointOutput Uses

type UpdateResolverEndpointOutput struct {

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

func (UpdateResolverEndpointOutput) GoString Uses

func (s UpdateResolverEndpointOutput) GoString() string

GoString returns the string representation

func (*UpdateResolverEndpointOutput) SetResolverEndpoint Uses

func (s *UpdateResolverEndpointOutput) SetResolverEndpoint(v *ResolverEndpoint) *UpdateResolverEndpointOutput

SetResolverEndpoint sets the ResolverEndpoint field's value.

func (UpdateResolverEndpointOutput) String Uses

func (s UpdateResolverEndpointOutput) String() string

String returns the string representation

type UpdateResolverRuleInput Uses

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) GoString Uses

func (s UpdateResolverRuleInput) GoString() string

GoString returns the string representation

func (*UpdateResolverRuleInput) SetConfig Uses

func (s *UpdateResolverRuleInput) SetConfig(v *ResolverRuleConfig) *UpdateResolverRuleInput

SetConfig sets the Config field's value.

func (*UpdateResolverRuleInput) SetResolverRuleId Uses

func (s *UpdateResolverRuleInput) SetResolverRuleId(v string) *UpdateResolverRuleInput

SetResolverRuleId sets the ResolverRuleId field's value.

func (UpdateResolverRuleInput) String Uses

func (s UpdateResolverRuleInput) String() string

String returns the string representation

func (*UpdateResolverRuleInput) Validate Uses

func (s *UpdateResolverRuleInput) Validate() error

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

type UpdateResolverRuleOutput Uses

type UpdateResolverRuleOutput struct {

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

func (UpdateResolverRuleOutput) GoString Uses

func (s UpdateResolverRuleOutput) GoString() string

GoString returns the string representation

func (*UpdateResolverRuleOutput) SetResolverRule Uses

func (s *UpdateResolverRuleOutput) SetResolverRule(v *ResolverRule) *UpdateResolverRuleOutput

SetResolverRule sets the ResolverRule field's value.

func (UpdateResolverRuleOutput) String Uses

func (s UpdateResolverRuleOutput) String() string

String returns the string representation

Directories

PathSynopsis
route53resolverifacePackage route53resolveriface provides an interface to enable mocking the Amazon Route 53 Resolver service client for testing your code.

Package route53resolver imports 9 packages (graph) and is imported by 13 packages. Updated 2019-05-29. Refresh now. Tools for package owners.