package route53resolver
import "github.com/aws/aws-sdk-go-v2/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 Amazon Route 53 Resolver with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon Route 53 Resolver client Route53Resolver for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/route53resolver/#New
Index ¶
- Constants
- type AssociateResolverEndpointIpAddressInput
- func (s AssociateResolverEndpointIpAddressInput) GoString() string
- func (s AssociateResolverEndpointIpAddressInput) String() string
- func (s *AssociateResolverEndpointIpAddressInput) Validate() error
- type AssociateResolverEndpointIpAddressOutput
- func (s AssociateResolverEndpointIpAddressOutput) GoString() string
- func (s AssociateResolverEndpointIpAddressOutput) SDKResponseMetadata() aws.Response
- func (s AssociateResolverEndpointIpAddressOutput) String() string
- type AssociateResolverEndpointIpAddressRequest
- type AssociateResolverRuleInput
- func (s AssociateResolverRuleInput) GoString() string
- func (s AssociateResolverRuleInput) String() string
- func (s *AssociateResolverRuleInput) Validate() error
- type AssociateResolverRuleOutput
- func (s AssociateResolverRuleOutput) GoString() string
- func (s AssociateResolverRuleOutput) SDKResponseMetadata() aws.Response
- func (s AssociateResolverRuleOutput) String() string
- type AssociateResolverRuleRequest
- type CreateResolverEndpointInput
- func (s CreateResolverEndpointInput) GoString() string
- func (s CreateResolverEndpointInput) String() string
- func (s *CreateResolverEndpointInput) Validate() error
- type CreateResolverEndpointOutput
- func (s CreateResolverEndpointOutput) GoString() string
- func (s CreateResolverEndpointOutput) SDKResponseMetadata() aws.Response
- func (s CreateResolverEndpointOutput) String() string
- type CreateResolverEndpointRequest
- type CreateResolverRuleInput
- func (s CreateResolverRuleInput) GoString() string
- func (s CreateResolverRuleInput) String() string
- func (s *CreateResolverRuleInput) Validate() error
- type CreateResolverRuleOutput
- func (s CreateResolverRuleOutput) GoString() string
- func (s CreateResolverRuleOutput) SDKResponseMetadata() aws.Response
- func (s CreateResolverRuleOutput) String() string
- type CreateResolverRuleRequest
- type DeleteResolverEndpointInput
- func (s DeleteResolverEndpointInput) GoString() string
- func (s DeleteResolverEndpointInput) String() string
- func (s *DeleteResolverEndpointInput) Validate() error
- type DeleteResolverEndpointOutput
- func (s DeleteResolverEndpointOutput) GoString() string
- func (s DeleteResolverEndpointOutput) SDKResponseMetadata() aws.Response
- func (s DeleteResolverEndpointOutput) String() string
- type DeleteResolverEndpointRequest
- type DeleteResolverRuleInput
- func (s DeleteResolverRuleInput) GoString() string
- func (s DeleteResolverRuleInput) String() string
- func (s *DeleteResolverRuleInput) Validate() error
- type DeleteResolverRuleOutput
- func (s DeleteResolverRuleOutput) GoString() string
- func (s DeleteResolverRuleOutput) SDKResponseMetadata() aws.Response
- func (s DeleteResolverRuleOutput) String() string
- type DeleteResolverRuleRequest
- type DisassociateResolverEndpointIpAddressInput
- func (s DisassociateResolverEndpointIpAddressInput) GoString() string
- func (s DisassociateResolverEndpointIpAddressInput) String() string
- func (s *DisassociateResolverEndpointIpAddressInput) Validate() error
- type DisassociateResolverEndpointIpAddressOutput
- func (s DisassociateResolverEndpointIpAddressOutput) GoString() string
- func (s DisassociateResolverEndpointIpAddressOutput) SDKResponseMetadata() aws.Response
- func (s DisassociateResolverEndpointIpAddressOutput) String() string
- type DisassociateResolverEndpointIpAddressRequest
- type DisassociateResolverRuleInput
- func (s DisassociateResolverRuleInput) GoString() string
- func (s DisassociateResolverRuleInput) String() string
- func (s *DisassociateResolverRuleInput) Validate() error
- type DisassociateResolverRuleOutput
- func (s DisassociateResolverRuleOutput) GoString() string
- func (s DisassociateResolverRuleOutput) SDKResponseMetadata() aws.Response
- func (s DisassociateResolverRuleOutput) String() string
- type DisassociateResolverRuleRequest
- type Filter
- type GetResolverEndpointInput
- func (s GetResolverEndpointInput) GoString() string
- func (s GetResolverEndpointInput) String() string
- func (s *GetResolverEndpointInput) Validate() error
- type GetResolverEndpointOutput
- func (s GetResolverEndpointOutput) GoString() string
- func (s GetResolverEndpointOutput) SDKResponseMetadata() aws.Response
- func (s GetResolverEndpointOutput) String() string
- type GetResolverEndpointRequest
- type GetResolverRuleAssociationInput
- func (s GetResolverRuleAssociationInput) GoString() string
- func (s GetResolverRuleAssociationInput) String() string
- func (s *GetResolverRuleAssociationInput) Validate() error
- type GetResolverRuleAssociationOutput
- func (s GetResolverRuleAssociationOutput) GoString() string
- func (s GetResolverRuleAssociationOutput) SDKResponseMetadata() aws.Response
- func (s GetResolverRuleAssociationOutput) String() string
- type GetResolverRuleAssociationRequest
- type GetResolverRuleInput
- func (s GetResolverRuleInput) GoString() string
- func (s GetResolverRuleInput) String() string
- func (s *GetResolverRuleInput) Validate() error
- type GetResolverRuleOutput
- func (s GetResolverRuleOutput) GoString() string
- func (s GetResolverRuleOutput) SDKResponseMetadata() aws.Response
- func (s GetResolverRuleOutput) String() string
- type GetResolverRulePolicyInput
- func (s GetResolverRulePolicyInput) GoString() string
- func (s GetResolverRulePolicyInput) String() string
- func (s *GetResolverRulePolicyInput) Validate() error
- type GetResolverRulePolicyOutput
- func (s GetResolverRulePolicyOutput) GoString() string
- func (s GetResolverRulePolicyOutput) SDKResponseMetadata() aws.Response
- func (s GetResolverRulePolicyOutput) String() string
- type GetResolverRulePolicyRequest
- type GetResolverRuleRequest
- type IpAddressRequest
- func (s IpAddressRequest) GoString() string
- func (s IpAddressRequest) String() string
- func (s *IpAddressRequest) Validate() error
- type IpAddressResponse
- type IpAddressStatus
- func (enum IpAddressStatus) MarshalValue() (string, error)
- func (enum IpAddressStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type IpAddressUpdate
- func (s IpAddressUpdate) GoString() string
- func (s IpAddressUpdate) String() string
- func (s *IpAddressUpdate) Validate() error
- type ListResolverEndpointIpAddressesInput
- func (s ListResolverEndpointIpAddressesInput) GoString() string
- func (s ListResolverEndpointIpAddressesInput) String() string
- func (s *ListResolverEndpointIpAddressesInput) Validate() error
- type ListResolverEndpointIpAddressesOutput
- func (s ListResolverEndpointIpAddressesOutput) GoString() string
- func (s ListResolverEndpointIpAddressesOutput) SDKResponseMetadata() aws.Response
- func (s ListResolverEndpointIpAddressesOutput) String() string
- type ListResolverEndpointIpAddressesPager
- type ListResolverEndpointIpAddressesRequest
- func (p *ListResolverEndpointIpAddressesRequest) Paginate(opts ...aws.Option) ListResolverEndpointIpAddressesPager
- func (r ListResolverEndpointIpAddressesRequest) Send() (*ListResolverEndpointIpAddressesOutput, error)
- type ListResolverEndpointsInput
- func (s ListResolverEndpointsInput) GoString() string
- func (s ListResolverEndpointsInput) String() string
- func (s *ListResolverEndpointsInput) Validate() error
- type ListResolverEndpointsOutput
- func (s ListResolverEndpointsOutput) GoString() string
- func (s ListResolverEndpointsOutput) SDKResponseMetadata() aws.Response
- func (s ListResolverEndpointsOutput) String() string
- type ListResolverEndpointsPager
- type ListResolverEndpointsRequest
- func (p *ListResolverEndpointsRequest) Paginate(opts ...aws.Option) ListResolverEndpointsPager
- func (r ListResolverEndpointsRequest) Send() (*ListResolverEndpointsOutput, error)
- type ListResolverRuleAssociationsInput
- func (s ListResolverRuleAssociationsInput) GoString() string
- func (s ListResolverRuleAssociationsInput) String() string
- func (s *ListResolverRuleAssociationsInput) Validate() error
- type ListResolverRuleAssociationsOutput
- func (s ListResolverRuleAssociationsOutput) GoString() string
- func (s ListResolverRuleAssociationsOutput) SDKResponseMetadata() aws.Response
- func (s ListResolverRuleAssociationsOutput) String() string
- type ListResolverRuleAssociationsPager
- type ListResolverRuleAssociationsRequest
- func (p *ListResolverRuleAssociationsRequest) Paginate(opts ...aws.Option) ListResolverRuleAssociationsPager
- func (r ListResolverRuleAssociationsRequest) Send() (*ListResolverRuleAssociationsOutput, error)
- type ListResolverRulesInput
- func (s ListResolverRulesInput) GoString() string
- func (s ListResolverRulesInput) String() string
- func (s *ListResolverRulesInput) Validate() error
- type ListResolverRulesOutput
- func (s ListResolverRulesOutput) GoString() string
- func (s ListResolverRulesOutput) SDKResponseMetadata() aws.Response
- func (s ListResolverRulesOutput) String() string
- type ListResolverRulesPager
- type ListResolverRulesRequest
- func (p *ListResolverRulesRequest) Paginate(opts ...aws.Option) ListResolverRulesPager
- func (r ListResolverRulesRequest) Send() (*ListResolverRulesOutput, error)
- type ListTagsForResourceInput
- func (s ListTagsForResourceInput) GoString() string
- func (s ListTagsForResourceInput) String() string
- func (s *ListTagsForResourceInput) Validate() error
- type ListTagsForResourceOutput
- func (s ListTagsForResourceOutput) GoString() string
- func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response
- func (s ListTagsForResourceOutput) String() string
- type ListTagsForResourceRequest
- type PutResolverRulePolicyInput
- func (s PutResolverRulePolicyInput) GoString() string
- func (s PutResolverRulePolicyInput) String() string
- func (s *PutResolverRulePolicyInput) Validate() error
- type PutResolverRulePolicyOutput
- func (s PutResolverRulePolicyOutput) GoString() string
- func (s PutResolverRulePolicyOutput) SDKResponseMetadata() aws.Response
- func (s PutResolverRulePolicyOutput) String() string
- type PutResolverRulePolicyRequest
- type ResolverEndpoint
- type ResolverEndpointDirection
- func (enum ResolverEndpointDirection) MarshalValue() (string, error)
- func (enum ResolverEndpointDirection) MarshalValueBuf(b []byte) ([]byte, error)
- type ResolverEndpointStatus
- func (enum ResolverEndpointStatus) MarshalValue() (string, error)
- func (enum ResolverEndpointStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type ResolverRule
- type ResolverRuleAssociation
- type ResolverRuleAssociationStatus
- func (enum ResolverRuleAssociationStatus) MarshalValue() (string, error)
- func (enum ResolverRuleAssociationStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type ResolverRuleConfig
- func (s ResolverRuleConfig) GoString() string
- func (s ResolverRuleConfig) String() string
- func (s *ResolverRuleConfig) Validate() error
- type ResolverRuleStatus
- func (enum ResolverRuleStatus) MarshalValue() (string, error)
- func (enum ResolverRuleStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type Route53Resolver
- func New(config aws.Config) *Route53Resolver
- func (c *Route53Resolver) AssociateResolverEndpointIpAddressRequest(input *AssociateResolverEndpointIpAddressInput) AssociateResolverEndpointIpAddressRequest
- func (c *Route53Resolver) AssociateResolverRuleRequest(input *AssociateResolverRuleInput) AssociateResolverRuleRequest
- func (c *Route53Resolver) CreateResolverEndpointRequest(input *CreateResolverEndpointInput) CreateResolverEndpointRequest
- func (c *Route53Resolver) CreateResolverRuleRequest(input *CreateResolverRuleInput) CreateResolverRuleRequest
- func (c *Route53Resolver) DeleteResolverEndpointRequest(input *DeleteResolverEndpointInput) DeleteResolverEndpointRequest
- func (c *Route53Resolver) DeleteResolverRuleRequest(input *DeleteResolverRuleInput) DeleteResolverRuleRequest
- func (c *Route53Resolver) DisassociateResolverEndpointIpAddressRequest(input *DisassociateResolverEndpointIpAddressInput) DisassociateResolverEndpointIpAddressRequest
- func (c *Route53Resolver) DisassociateResolverRuleRequest(input *DisassociateResolverRuleInput) DisassociateResolverRuleRequest
- func (c *Route53Resolver) GetResolverEndpointRequest(input *GetResolverEndpointInput) GetResolverEndpointRequest
- func (c *Route53Resolver) GetResolverRuleAssociationRequest(input *GetResolverRuleAssociationInput) GetResolverRuleAssociationRequest
- func (c *Route53Resolver) GetResolverRulePolicyRequest(input *GetResolverRulePolicyInput) GetResolverRulePolicyRequest
- func (c *Route53Resolver) GetResolverRuleRequest(input *GetResolverRuleInput) GetResolverRuleRequest
- func (c *Route53Resolver) ListResolverEndpointIpAddressesRequest(input *ListResolverEndpointIpAddressesInput) ListResolverEndpointIpAddressesRequest
- func (c *Route53Resolver) ListResolverEndpointsRequest(input *ListResolverEndpointsInput) ListResolverEndpointsRequest
- func (c *Route53Resolver) ListResolverRuleAssociationsRequest(input *ListResolverRuleAssociationsInput) ListResolverRuleAssociationsRequest
- func (c *Route53Resolver) ListResolverRulesRequest(input *ListResolverRulesInput) ListResolverRulesRequest
- func (c *Route53Resolver) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
- func (c *Route53Resolver) PutResolverRulePolicyRequest(input *PutResolverRulePolicyInput) PutResolverRulePolicyRequest
- func (c *Route53Resolver) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *Route53Resolver) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *Route53Resolver) UpdateResolverEndpointRequest(input *UpdateResolverEndpointInput) UpdateResolverEndpointRequest
- func (c *Route53Resolver) UpdateResolverRuleRequest(input *UpdateResolverRuleInput) UpdateResolverRuleRequest
- type RuleTypeOption
- func (enum RuleTypeOption) MarshalValue() (string, error)
- func (enum RuleTypeOption) MarshalValueBuf(b []byte) ([]byte, error)
- type ShareStatus
- func (enum ShareStatus) MarshalValue() (string, error)
- func (enum ShareStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type Tag
- type TagResourceInput
- func (s TagResourceInput) GoString() string
- func (s TagResourceInput) String() string
- func (s *TagResourceInput) Validate() error
- type TagResourceOutput
- func (s TagResourceOutput) GoString() string
- func (s TagResourceOutput) SDKResponseMetadata() aws.Response
- func (s TagResourceOutput) String() string
- type TagResourceRequest
- type TargetAddress
- func (s TargetAddress) GoString() string
- func (s TargetAddress) String() string
- func (s *TargetAddress) Validate() error
- type UntagResourceInput
- func (s UntagResourceInput) GoString() string
- func (s UntagResourceInput) String() string
- func (s *UntagResourceInput) Validate() error
- type UntagResourceOutput
- func (s UntagResourceOutput) GoString() string
- func (s UntagResourceOutput) SDKResponseMetadata() aws.Response
- func (s UntagResourceOutput) String() string
- type UntagResourceRequest
- type UpdateResolverEndpointInput
- func (s UpdateResolverEndpointInput) GoString() string
- func (s UpdateResolverEndpointInput) String() string
- func (s *UpdateResolverEndpointInput) Validate() error
- type UpdateResolverEndpointOutput
- func (s UpdateResolverEndpointOutput) GoString() string
- func (s UpdateResolverEndpointOutput) SDKResponseMetadata() aws.Response
- func (s UpdateResolverEndpointOutput) String() string
- type UpdateResolverEndpointRequest
- type UpdateResolverRuleInput
- func (s UpdateResolverRuleInput) GoString() string
- func (s UpdateResolverRuleInput) String() string
- func (s *UpdateResolverRuleInput) Validate() error
- type UpdateResolverRuleOutput
- func (s UpdateResolverRuleOutput) GoString() string
- func (s UpdateResolverRuleOutput) SDKResponseMetadata() aws.Response
- func (s UpdateResolverRuleOutput) String() string
- type UpdateResolverRuleRequest
Constants ¶
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. = "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" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Types ¶
type AssociateResolverEndpointIpAddressInput ¶
type AssociateResolverEndpointIpAddressInput struct { // Either the IPv4 address that you want to add to a resolver endpoint or a // subnet ID. If you specify a subnet ID, Resolver chooses an IP address for // you from the available IPs in the specified subnet. // // IpAddress is a required field IpAddress *IpAddressUpdate `type:"structure" required:"true"` // The ID of the resolver endpoint that you want to associate IP addresses with. // // ResolverEndpointId is a required field ResolverEndpointId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverEndpointIpAddressRequest
func (AssociateResolverEndpointIpAddressInput) GoString ¶
func (s AssociateResolverEndpointIpAddressInput) GoString() string
GoString returns the string representation
func (AssociateResolverEndpointIpAddressInput) String ¶
func (s AssociateResolverEndpointIpAddressInput) String() string
String returns the string representation
func (*AssociateResolverEndpointIpAddressInput) Validate ¶
func (s *AssociateResolverEndpointIpAddressInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateResolverEndpointIpAddressOutput ¶
type AssociateResolverEndpointIpAddressOutput struct { // The response to an AssociateResolverEndpointIpAddress request. ResolverEndpoint *ResolverEndpoint `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverEndpointIpAddressResponse
func (AssociateResolverEndpointIpAddressOutput) GoString ¶
func (s AssociateResolverEndpointIpAddressOutput) GoString() string
GoString returns the string representation
func (AssociateResolverEndpointIpAddressOutput) SDKResponseMetadata ¶
func (s AssociateResolverEndpointIpAddressOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AssociateResolverEndpointIpAddressOutput) String ¶
func (s AssociateResolverEndpointIpAddressOutput) String() string
String returns the string representation
type AssociateResolverEndpointIpAddressRequest ¶
type AssociateResolverEndpointIpAddressRequest struct { *aws.Request Input *AssociateResolverEndpointIpAddressInput Copy func(*AssociateResolverEndpointIpAddressInput) AssociateResolverEndpointIpAddressRequest }
AssociateResolverEndpointIpAddressRequest is a API request type for the AssociateResolverEndpointIpAddress API operation.
func (AssociateResolverEndpointIpAddressRequest) Send ¶
func (r AssociateResolverEndpointIpAddressRequest) Send() (*AssociateResolverEndpointIpAddressOutput, error)
Send marshals and sends the AssociateResolverEndpointIpAddress API request.
type AssociateResolverRuleInput ¶
type AssociateResolverRuleInput struct { // A name for the association that you're creating between a resolver rule and // a VPC. Name *string `type:"string"` // The ID of the resolver rule that you want to associate with the VPC. To list // the existing resolver rules, use ListResolverRules. // // ResolverRuleId is a required field ResolverRuleId *string `min:"1" type:"string" required:"true"` // The ID of the VPC that you want to associate the resolver rule with. // // VPCId is a required field VPCId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverRuleRequest
func (AssociateResolverRuleInput) GoString ¶
func (s AssociateResolverRuleInput) GoString() string
GoString returns the string representation
func (AssociateResolverRuleInput) String ¶
func (s AssociateResolverRuleInput) String() string
String returns the string representation
func (*AssociateResolverRuleInput) Validate ¶
func (s *AssociateResolverRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateResolverRuleOutput ¶
type AssociateResolverRuleOutput struct { // Information about the AssociateResolverRule request, including the status // of the request. ResolverRuleAssociation *ResolverRuleAssociation `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverRuleResponse
func (AssociateResolverRuleOutput) GoString ¶
func (s AssociateResolverRuleOutput) GoString() string
GoString returns the string representation
func (AssociateResolverRuleOutput) SDKResponseMetadata ¶
func (s AssociateResolverRuleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AssociateResolverRuleOutput) String ¶
func (s AssociateResolverRuleOutput) String() string
String returns the string representation
type AssociateResolverRuleRequest ¶
type AssociateResolverRuleRequest struct { *aws.Request Input *AssociateResolverRuleInput Copy func(*AssociateResolverRuleInput) AssociateResolverRuleRequest }
AssociateResolverRuleRequest is a API request type for the AssociateResolverRule API operation.
func (AssociateResolverRuleRequest) Send ¶
func (r AssociateResolverRuleRequest) Send() (*AssociateResolverRuleOutput, error)
Send marshals and sends the AssociateResolverRule API request.
type CreateResolverEndpointInput ¶
type CreateResolverEndpointInput struct { // A unique string that identifies the request and that allows failed requests // to be retried without the risk of executing the operation twice. CreatorRequestId // can be any unique string, for example, a date/time stamp. // // CreatorRequestId is a required field CreatorRequestId *string `min:"1" type:"string" required:"true"` // Specify the applicable value: // // * INBOUND: Resolver forwards DNS queries to the DNS service for a VPC // from your network or another VPC // // * OUTBOUND: Resolver forwards DNS queries from the DNS service for a VPC // to your network or another VPC // // Direction is a required field Direction ResolverEndpointDirection `type:"string" required:"true" enum:"true"` // The subnets and IP addresses in your VPC that you want DNS queries to pass // through on the way from your VPCs to your network (for outbound endpoints) // or on the way from your network to your VPCs (for inbound resolver endpoints). // // IpAddresses is a required field IpAddresses []IpAddressRequest `min:"1" type:"list" required:"true"` // A friendly name that lets you easily find a configuration in the Resolver // dashboard in the Route 53 console. Name *string `type:"string"` // The ID of one or more security groups that you want to use to control access // to this VPC. The security group that you specify must include one or more // inbound rules (for inbound resolver endpoints) or outbound rules (for outbound // resolver endpoints). // // SecurityGroupIds is a required field SecurityGroupIds []string `type:"list" required:"true"` // A list of the tag keys and values that you want to associate with the endpoint. Tags []Tag `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverEndpointRequest
func (CreateResolverEndpointInput) GoString ¶
func (s CreateResolverEndpointInput) GoString() string
GoString returns the string representation
func (CreateResolverEndpointInput) String ¶
func (s CreateResolverEndpointInput) String() string
String returns the string representation
func (*CreateResolverEndpointInput) Validate ¶
func (s *CreateResolverEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateResolverEndpointOutput ¶
type CreateResolverEndpointOutput struct { // Information about the CreateResolverEndpoint request, including the status // of the request. ResolverEndpoint *ResolverEndpoint `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverEndpointResponse
func (CreateResolverEndpointOutput) GoString ¶
func (s CreateResolverEndpointOutput) GoString() string
GoString returns the string representation
func (CreateResolverEndpointOutput) SDKResponseMetadata ¶
func (s CreateResolverEndpointOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateResolverEndpointOutput) String ¶
func (s CreateResolverEndpointOutput) String() string
String returns the string representation
type CreateResolverEndpointRequest ¶
type CreateResolverEndpointRequest struct { *aws.Request Input *CreateResolverEndpointInput Copy func(*CreateResolverEndpointInput) CreateResolverEndpointRequest }
CreateResolverEndpointRequest is a API request type for the CreateResolverEndpoint API operation.
func (CreateResolverEndpointRequest) Send ¶
func (r CreateResolverEndpointRequest) Send() (*CreateResolverEndpointOutput, error)
Send marshals and sends the CreateResolverEndpoint API request.
type CreateResolverRuleInput ¶
type CreateResolverRuleInput struct { // A unique string that identifies the request and that allows failed requests // to be retried without the risk of executing the operation twice. CreatorRequestId // can be any unique string, for example, a date/time stamp. // // CreatorRequestId is a required field CreatorRequestId *string `min:"1" type:"string" required:"true"` // DNS queries for this domain name are forwarded to the IP addresses that you // specify in TargetIps. If a query matches multiple resolver rules (example.com // and www.example.com), outbound DNS queries are routed using the resolver // rule that contains the most specific domain name (www.example.com). // // DomainName is a required field DomainName *string `min:"1" type:"string" required:"true"` // A friendly name that lets you easily find a rule in the Resolver dashboard // in the Route 53 console. Name *string `type:"string"` // The ID of the outbound resolver endpoint that you want to use to route DNS // queries to the IP addresses that you specify in TargetIps. ResolverEndpointId *string `min:"1" type:"string"` // Specify FORWARD. Other resolver rule types aren't supported. // // RuleType is a required field RuleType RuleTypeOption `type:"string" required:"true" enum:"true"` // A list of the tag keys and values that you want to associate with the endpoint. Tags []Tag `type:"list"` // The IPs that you want Resolver to forward DNS queries to. You can specify // only IPv4 addresses. Separate IP addresses with a comma. TargetIps []TargetAddress `min:"1" type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRuleRequest
func (CreateResolverRuleInput) GoString ¶
func (s CreateResolverRuleInput) GoString() string
GoString returns the string representation
func (CreateResolverRuleInput) String ¶
func (s CreateResolverRuleInput) String() string
String returns the string representation
func (*CreateResolverRuleInput) Validate ¶
func (s *CreateResolverRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateResolverRuleOutput ¶
type CreateResolverRuleOutput struct { // Information about the CreateResolverRule request, including the status of // the request. ResolverRule *ResolverRule `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRuleResponse
func (CreateResolverRuleOutput) GoString ¶
func (s CreateResolverRuleOutput) GoString() string
GoString returns the string representation
func (CreateResolverRuleOutput) SDKResponseMetadata ¶
func (s CreateResolverRuleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateResolverRuleOutput) String ¶
func (s CreateResolverRuleOutput) String() string
String returns the string representation
type CreateResolverRuleRequest ¶
type CreateResolverRuleRequest struct { *aws.Request Input *CreateResolverRuleInput Copy func(*CreateResolverRuleInput) CreateResolverRuleRequest }
CreateResolverRuleRequest is a API request type for the CreateResolverRule API operation.
func (CreateResolverRuleRequest) Send ¶
func (r CreateResolverRuleRequest) Send() (*CreateResolverRuleOutput, error)
Send marshals and sends the CreateResolverRule API request.
type DeleteResolverEndpointInput ¶
type DeleteResolverEndpointInput struct { // The ID of the resolver endpoint that you want to delete. // // ResolverEndpointId is a required field ResolverEndpointId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpointRequest
func (DeleteResolverEndpointInput) GoString ¶
func (s DeleteResolverEndpointInput) GoString() string
GoString returns the string representation
func (DeleteResolverEndpointInput) String ¶
func (s DeleteResolverEndpointInput) String() string
String returns the string representation
func (*DeleteResolverEndpointInput) Validate ¶
func (s *DeleteResolverEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResolverEndpointOutput ¶
type DeleteResolverEndpointOutput struct { // Information about the DeleteResolverEndpoint request, including the status // of the request. ResolverEndpoint *ResolverEndpoint `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpointResponse
func (DeleteResolverEndpointOutput) GoString ¶
func (s DeleteResolverEndpointOutput) GoString() string
GoString returns the string representation
func (DeleteResolverEndpointOutput) SDKResponseMetadata ¶
func (s DeleteResolverEndpointOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteResolverEndpointOutput) String ¶
func (s DeleteResolverEndpointOutput) String() string
String returns the string representation
type DeleteResolverEndpointRequest ¶
type DeleteResolverEndpointRequest struct { *aws.Request Input *DeleteResolverEndpointInput Copy func(*DeleteResolverEndpointInput) DeleteResolverEndpointRequest }
DeleteResolverEndpointRequest is a API request type for the DeleteResolverEndpoint API operation.
func (DeleteResolverEndpointRequest) Send ¶
func (r DeleteResolverEndpointRequest) Send() (*DeleteResolverEndpointOutput, error)
Send marshals and sends the DeleteResolverEndpoint API request.
type DeleteResolverRuleInput ¶
type DeleteResolverRuleInput struct { // The ID of the resolver rule that you want to delete. // // ResolverRuleId is a required field ResolverRuleId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRuleRequest
func (DeleteResolverRuleInput) GoString ¶
func (s DeleteResolverRuleInput) GoString() string
GoString returns the string representation
func (DeleteResolverRuleInput) String ¶
func (s DeleteResolverRuleInput) String() string
String returns the string representation
func (*DeleteResolverRuleInput) Validate ¶
func (s *DeleteResolverRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteResolverRuleOutput ¶
type DeleteResolverRuleOutput struct { // Information about the DeleteResolverRule request, including the status of // the request. ResolverRule *ResolverRule `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRuleResponse
func (DeleteResolverRuleOutput) GoString ¶
func (s DeleteResolverRuleOutput) GoString() string
GoString returns the string representation
func (DeleteResolverRuleOutput) SDKResponseMetadata ¶
func (s DeleteResolverRuleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteResolverRuleOutput) String ¶
func (s DeleteResolverRuleOutput) String() string
String returns the string representation
type DeleteResolverRuleRequest ¶
type DeleteResolverRuleRequest struct { *aws.Request Input *DeleteResolverRuleInput Copy func(*DeleteResolverRuleInput) DeleteResolverRuleRequest }
DeleteResolverRuleRequest is a API request type for the DeleteResolverRule API operation.
func (DeleteResolverRuleRequest) Send ¶
func (r DeleteResolverRuleRequest) Send() (*DeleteResolverRuleOutput, error)
Send marshals and sends the DeleteResolverRule API request.
type DisassociateResolverEndpointIpAddressInput ¶
type DisassociateResolverEndpointIpAddressInput struct { // The IPv4 address that you want to remove from a resolver endpoint. // // IpAddress is a required field IpAddress *IpAddressUpdate `type:"structure" required:"true"` // The ID of the resolver endpoint that you want to disassociate an IP address // from. // // ResolverEndpointId is a required field ResolverEndpointId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddressRequest
func (DisassociateResolverEndpointIpAddressInput) GoString ¶
func (s DisassociateResolverEndpointIpAddressInput) GoString() string
GoString returns the string representation
func (DisassociateResolverEndpointIpAddressInput) String ¶
func (s DisassociateResolverEndpointIpAddressInput) String() string
String returns the string representation
func (*DisassociateResolverEndpointIpAddressInput) Validate ¶
func (s *DisassociateResolverEndpointIpAddressInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateResolverEndpointIpAddressOutput ¶
type DisassociateResolverEndpointIpAddressOutput struct { // The response to an DisassociateResolverEndpointIpAddress request. ResolverEndpoint *ResolverEndpoint `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddressResponse
func (DisassociateResolverEndpointIpAddressOutput) GoString ¶
func (s DisassociateResolverEndpointIpAddressOutput) GoString() string
GoString returns the string representation
func (DisassociateResolverEndpointIpAddressOutput) SDKResponseMetadata ¶
func (s DisassociateResolverEndpointIpAddressOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DisassociateResolverEndpointIpAddressOutput) String ¶
func (s DisassociateResolverEndpointIpAddressOutput) String() string
String returns the string representation
type DisassociateResolverEndpointIpAddressRequest ¶
type DisassociateResolverEndpointIpAddressRequest struct { *aws.Request Input *DisassociateResolverEndpointIpAddressInput Copy func(*DisassociateResolverEndpointIpAddressInput) DisassociateResolverEndpointIpAddressRequest }
DisassociateResolverEndpointIpAddressRequest is a API request type for the DisassociateResolverEndpointIpAddress API operation.
func (DisassociateResolverEndpointIpAddressRequest) Send ¶
func (r DisassociateResolverEndpointIpAddressRequest) Send() (*DisassociateResolverEndpointIpAddressOutput, error)
Send marshals and sends the DisassociateResolverEndpointIpAddress API request.
type DisassociateResolverRuleInput ¶
type DisassociateResolverRuleInput struct { // The ID of the resolver rule that you want to disassociate from the specified // VPC. // // ResolverRuleId is a required field ResolverRuleId *string `min:"1" type:"string" required:"true"` // The ID of the VPC that you want to disassociate the resolver rule from. // // VPCId is a required field VPCId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverRuleRequest
func (DisassociateResolverRuleInput) GoString ¶
func (s DisassociateResolverRuleInput) GoString() string
GoString returns the string representation
func (DisassociateResolverRuleInput) String ¶
func (s DisassociateResolverRuleInput) String() string
String returns the string representation
func (*DisassociateResolverRuleInput) Validate ¶
func (s *DisassociateResolverRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateResolverRuleOutput ¶
type DisassociateResolverRuleOutput struct { // Information about the DisassociateResolverRule request, including the status // of the request. ResolverRuleAssociation *ResolverRuleAssociation `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverRuleResponse
func (DisassociateResolverRuleOutput) GoString ¶
func (s DisassociateResolverRuleOutput) GoString() string
GoString returns the string representation
func (DisassociateResolverRuleOutput) SDKResponseMetadata ¶
func (s DisassociateResolverRuleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DisassociateResolverRuleOutput) String ¶
func (s DisassociateResolverRuleOutput) String() string
String returns the string representation
type DisassociateResolverRuleRequest ¶
type DisassociateResolverRuleRequest struct { *aws.Request Input *DisassociateResolverRuleInput Copy func(*DisassociateResolverRuleInput) DisassociateResolverRuleRequest }
DisassociateResolverRuleRequest is a API request type for the DisassociateResolverRule API operation.
func (DisassociateResolverRuleRequest) Send ¶
func (r DisassociateResolverRuleRequest) Send() (*DisassociateResolverRuleOutput, error)
Send marshals and sends the DisassociateResolverRule API request.
type Filter ¶
type Filter struct { // When you're using a List operation and you want the operation to return a // subset of objects, such as resolver endpoints or resolver rules, the name // of the parameter that you want to use to filter objects. For example, to // list only inbound resolver endpoints, specify Direction for the value of // Name. Name *string `min:"1" type:"string"` // When you're using a List operation and you want the operation to return a // subset of objects, such as resolver endpoints or resolver rules, the value // of the parameter that you want to use to filter objects. For example, to // list only inbound resolver endpoints, specify INBOUND for the value of Values. Values []string `type:"list"` // contains filtered or unexported fields }
For List operations, an optional specification to return a subset of objects, such as resolver endpoints or resolver rules. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/Filter
func (Filter) GoString ¶
GoString returns the string representation
func (Filter) String ¶
String returns the string representation
func (*Filter) Validate ¶
Validate inspects the fields of the type to determine if they are valid.
type GetResolverEndpointInput ¶
type GetResolverEndpointInput struct { // The ID of the resolver endpoint that you want to get information about. // // ResolverEndpointId is a required field ResolverEndpointId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverEndpointRequest
func (GetResolverEndpointInput) GoString ¶
func (s GetResolverEndpointInput) GoString() string
GoString returns the string representation
func (GetResolverEndpointInput) String ¶
func (s GetResolverEndpointInput) String() string
String returns the string representation
func (*GetResolverEndpointInput) Validate ¶
func (s *GetResolverEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResolverEndpointOutput ¶
type GetResolverEndpointOutput struct { // Information about the resolver endpoint that you specified in a GetResolverEndpoint // request. ResolverEndpoint *ResolverEndpoint `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverEndpointResponse
func (GetResolverEndpointOutput) GoString ¶
func (s GetResolverEndpointOutput) GoString() string
GoString returns the string representation
func (GetResolverEndpointOutput) SDKResponseMetadata ¶
func (s GetResolverEndpointOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetResolverEndpointOutput) String ¶
func (s GetResolverEndpointOutput) String() string
String returns the string representation
type GetResolverEndpointRequest ¶
type GetResolverEndpointRequest struct { *aws.Request Input *GetResolverEndpointInput Copy func(*GetResolverEndpointInput) GetResolverEndpointRequest }
GetResolverEndpointRequest is a API request type for the GetResolverEndpoint API operation.
func (GetResolverEndpointRequest) Send ¶
func (r GetResolverEndpointRequest) Send() (*GetResolverEndpointOutput, error)
Send marshals and sends the GetResolverEndpoint API request.
type GetResolverRuleAssociationInput ¶
type GetResolverRuleAssociationInput struct { // The ID of the resolver rule association that you want to get information // about. // // ResolverRuleAssociationId is a required field ResolverRuleAssociationId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleAssociationRequest
func (GetResolverRuleAssociationInput) GoString ¶
func (s GetResolverRuleAssociationInput) GoString() string
GoString returns the string representation
func (GetResolverRuleAssociationInput) String ¶
func (s GetResolverRuleAssociationInput) String() string
String returns the string representation
func (*GetResolverRuleAssociationInput) Validate ¶
func (s *GetResolverRuleAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResolverRuleAssociationOutput ¶
type GetResolverRuleAssociationOutput struct { // Information about the resolver rule association that you specified in a GetResolverRuleAssociation // request. ResolverRuleAssociation *ResolverRuleAssociation `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleAssociationResponse
func (GetResolverRuleAssociationOutput) GoString ¶
func (s GetResolverRuleAssociationOutput) GoString() string
GoString returns the string representation
func (GetResolverRuleAssociationOutput) SDKResponseMetadata ¶
func (s GetResolverRuleAssociationOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetResolverRuleAssociationOutput) String ¶
func (s GetResolverRuleAssociationOutput) String() string
String returns the string representation
type GetResolverRuleAssociationRequest ¶
type GetResolverRuleAssociationRequest struct { *aws.Request Input *GetResolverRuleAssociationInput Copy func(*GetResolverRuleAssociationInput) GetResolverRuleAssociationRequest }
GetResolverRuleAssociationRequest is a API request type for the GetResolverRuleAssociation API operation.
func (GetResolverRuleAssociationRequest) Send ¶
func (r GetResolverRuleAssociationRequest) Send() (*GetResolverRuleAssociationOutput, error)
Send marshals and sends the GetResolverRuleAssociation API request.
type GetResolverRuleInput ¶
type GetResolverRuleInput struct { // The ID of the resolver rule that you want to get information about. // // ResolverRuleId is a required field ResolverRuleId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleRequest
func (GetResolverRuleInput) GoString ¶
func (s GetResolverRuleInput) GoString() string
GoString returns the string representation
func (GetResolverRuleInput) String ¶
func (s GetResolverRuleInput) String() string
String returns the string representation
func (*GetResolverRuleInput) Validate ¶
func (s *GetResolverRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResolverRuleOutput ¶
type GetResolverRuleOutput struct { // Information about the resolver rule that you specified in a GetResolverRule // request. ResolverRule *ResolverRule `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleResponse
func (GetResolverRuleOutput) GoString ¶
func (s GetResolverRuleOutput) GoString() string
GoString returns the string representation
func (GetResolverRuleOutput) SDKResponseMetadata ¶
func (s GetResolverRuleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetResolverRuleOutput) String ¶
func (s GetResolverRuleOutput) String() string
String returns the string representation
type GetResolverRulePolicyInput ¶
type GetResolverRulePolicyInput struct { // The ID of the resolver rule policy that you want to get information about. // // Arn is a required field Arn *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRulePolicyRequest
func (GetResolverRulePolicyInput) GoString ¶
func (s GetResolverRulePolicyInput) GoString() string
GoString returns the string representation
func (GetResolverRulePolicyInput) String ¶
func (s GetResolverRulePolicyInput) String() string
String returns the string representation
func (*GetResolverRulePolicyInput) Validate ¶
func (s *GetResolverRulePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResolverRulePolicyOutput ¶
type GetResolverRulePolicyOutput struct { // Information about the resolver rule policy that you specified in a GetResolverRulePolicy // request. ResolverRulePolicy *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRulePolicyResponse
func (GetResolverRulePolicyOutput) GoString ¶
func (s GetResolverRulePolicyOutput) GoString() string
GoString returns the string representation
func (GetResolverRulePolicyOutput) SDKResponseMetadata ¶
func (s GetResolverRulePolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetResolverRulePolicyOutput) String ¶
func (s GetResolverRulePolicyOutput) String() string
String returns the string representation
type GetResolverRulePolicyRequest ¶
type GetResolverRulePolicyRequest struct { *aws.Request Input *GetResolverRulePolicyInput Copy func(*GetResolverRulePolicyInput) GetResolverRulePolicyRequest }
GetResolverRulePolicyRequest is a API request type for the GetResolverRulePolicy API operation.
func (GetResolverRulePolicyRequest) Send ¶
func (r GetResolverRulePolicyRequest) Send() (*GetResolverRulePolicyOutput, error)
Send marshals and sends the GetResolverRulePolicy API request.
type GetResolverRuleRequest ¶
type GetResolverRuleRequest struct { *aws.Request Input *GetResolverRuleInput Copy func(*GetResolverRuleInput) GetResolverRuleRequest }
GetResolverRuleRequest is a API request type for the GetResolverRule API operation.
func (GetResolverRuleRequest) Send ¶
func (r GetResolverRuleRequest) Send() (*GetResolverRuleOutput, error)
Send marshals and sends the GetResolverRule API request.
type IpAddressRequest ¶
type IpAddressRequest struct { // The IP address that you want to use for DNS queries. Ip *string `min:"7" type:"string"` // The subnet that contains the IP address. // // SubnetId is a required field SubnetId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
In an CreateResolverEndpoint request, a subnet and IP address that you want to use for DNS queries. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/IpAddressRequest
func (IpAddressRequest) GoString ¶
func (s IpAddressRequest) GoString() string
GoString returns the string representation
func (IpAddressRequest) String ¶
func (s IpAddressRequest) String() string
String returns the string representation
func (*IpAddressRequest) Validate ¶
func (s *IpAddressRequest) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type IpAddressResponse ¶
type IpAddressResponse struct { // The date and time that the IP address was created, in Unix time format and // Coordinated Universal Time (UTC). CreationTime *string `min:"20" type:"string"` // One IP address that the resolver endpoint uses for DNS queries. Ip *string `min:"7" type:"string"` // The ID of one IP address. IpId *string `min:"1" type:"string"` // The date and time that the IP address was last modified, in Unix time format // and Coordinated Universal Time (UTC). ModificationTime *string `min:"20" type:"string"` // A status code that gives the current status of the request. Status IpAddressStatus `type:"string" enum:"true"` // A message that provides additional information about the status of the request. StatusMessage *string `type:"string"` // The ID of one subnet. SubnetId *string `min:"1" type:"string"` // contains filtered or unexported fields }
In the response to a GetResolverEndpoint request, information about the IP addresses that the resolver endpoint uses for DNS queries. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/IpAddressResponse
func (IpAddressResponse) GoString ¶
func (s IpAddressResponse) GoString() string
GoString returns the string representation
func (IpAddressResponse) String ¶
func (s IpAddressResponse) String() string
String returns the string representation
type IpAddressStatus ¶
type IpAddressStatus string
const ( IpAddressStatusCreating IpAddressStatus = "CREATING" IpAddressStatusFailedCreation IpAddressStatus = "FAILED_CREATION" IpAddressStatusAttaching IpAddressStatus = "ATTACHING" IpAddressStatusAttached IpAddressStatus = "ATTACHED" IpAddressStatusRemapDetaching IpAddressStatus = "REMAP_DETACHING" IpAddressStatusRemapAttaching IpAddressStatus = "REMAP_ATTACHING" IpAddressStatusDetaching IpAddressStatus = "DETACHING" IpAddressStatusFailedResourceGone IpAddressStatus = "FAILED_RESOURCE_GONE" IpAddressStatusDeleting IpAddressStatus = "DELETING" IpAddressStatusDeleteFailedFasExpired IpAddressStatus = "DELETE_FAILED_FAS_EXPIRED" )
Enum values for IpAddressStatus
func (IpAddressStatus) MarshalValue ¶
func (enum IpAddressStatus) MarshalValue() (string, error)
func (IpAddressStatus) MarshalValueBuf ¶
func (enum IpAddressStatus) MarshalValueBuf(b []byte) ([]byte, error)
type IpAddressUpdate ¶
type IpAddressUpdate struct { // The new IP address. Ip *string `min:"7" type:"string"` // Only when removing an IP address from a resolver endpoint: The ID of the // IP address that you want to remove. To get this ID, use GetResolverEndpoint. IpId *string `min:"1" type:"string"` // The ID of the subnet that includes the IP address that you want to update. // To get this ID, use GetResolverEndpoint. SubnetId *string `min:"1" type:"string"` // contains filtered or unexported fields }
In an UpdateResolverEndpoint request, information about an IP address to update. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/IpAddressUpdate
func (IpAddressUpdate) GoString ¶
func (s IpAddressUpdate) GoString() string
GoString returns the string representation
func (IpAddressUpdate) String ¶
func (s IpAddressUpdate) String() string
String returns the string representation
func (*IpAddressUpdate) Validate ¶
func (s *IpAddressUpdate) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResolverEndpointIpAddressesInput ¶
type ListResolverEndpointIpAddressesInput struct { // The maximum number of IP addresses that you want to return in the response // to a ListResolverEndpointIpAddresses request. If you don't specify a value // for MaxResults, Resolver returns up to 100 IP addresses. MaxResults *int64 `min:"1" type:"integer"` // For the first ListResolverEndpointIpAddresses request, omit this value. // // If the specified resolver endpoint has more than MaxResults IP addresses, // you can submit another ListResolverEndpointIpAddresses request to get the // next group of IP addresses. In the next request, specify the value of NextToken // from the previous response. NextToken *string `type:"string"` // The ID of the resolver endpoint that you want to get IP addresses for. // // ResolverEndpointId is a required field ResolverEndpointId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddressesRequest
func (ListResolverEndpointIpAddressesInput) GoString ¶
func (s ListResolverEndpointIpAddressesInput) GoString() string
GoString returns the string representation
func (ListResolverEndpointIpAddressesInput) String ¶
func (s ListResolverEndpointIpAddressesInput) String() string
String returns the string representation
func (*ListResolverEndpointIpAddressesInput) Validate ¶
func (s *ListResolverEndpointIpAddressesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResolverEndpointIpAddressesOutput ¶
type ListResolverEndpointIpAddressesOutput struct { // The IP addresses that DNS queries pass through on their way to your network // (outbound endpoint) or on the way to Resolver (inbound endpoint). IpAddresses []IpAddressResponse `type:"list"` // The value that you specified for MaxResults in the request. MaxResults *int64 `min:"1" type:"integer"` // If the specified endpoint has more than MaxResults IP addresses, you can // submit another ListResolverEndpointIpAddresses request to get the next group // of IP addresses. In the next request, specify the value of NextToken from // the previous response. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddressesResponse
func (ListResolverEndpointIpAddressesOutput) GoString ¶
func (s ListResolverEndpointIpAddressesOutput) GoString() string
GoString returns the string representation
func (ListResolverEndpointIpAddressesOutput) SDKResponseMetadata ¶
func (s ListResolverEndpointIpAddressesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListResolverEndpointIpAddressesOutput) String ¶
func (s ListResolverEndpointIpAddressesOutput) String() string
String returns the string representation
type ListResolverEndpointIpAddressesPager ¶
ListResolverEndpointIpAddressesPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListResolverEndpointIpAddressesPager) CurrentPage ¶
func (p *ListResolverEndpointIpAddressesPager) CurrentPage() *ListResolverEndpointIpAddressesOutput
type ListResolverEndpointIpAddressesRequest ¶
type ListResolverEndpointIpAddressesRequest struct { *aws.Request Input *ListResolverEndpointIpAddressesInput Copy func(*ListResolverEndpointIpAddressesInput) ListResolverEndpointIpAddressesRequest }
ListResolverEndpointIpAddressesRequest is a API request type for the ListResolverEndpointIpAddresses API operation.
func (*ListResolverEndpointIpAddressesRequest) Paginate ¶
func (p *ListResolverEndpointIpAddressesRequest) Paginate(opts ...aws.Option) ListResolverEndpointIpAddressesPager
Paginate pages iterates over the pages of a ListResolverEndpointIpAddressesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListResolverEndpointIpAddresses operation. req := client.ListResolverEndpointIpAddressesRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListResolverEndpointIpAddressesRequest) Send ¶
func (r ListResolverEndpointIpAddressesRequest) Send() (*ListResolverEndpointIpAddressesOutput, error)
Send marshals and sends the ListResolverEndpointIpAddresses API request.
type ListResolverEndpointsInput ¶
type ListResolverEndpointsInput struct { // An optional specification to return a subset of resolver endpoints, such // as all inbound resolver endpoints. // // If you submit a second or subsequent ListResolverEndpoints request and specify // the NextToken parameter, you must use the same values for Filters, if any, // as in the previous request. Filters []Filter `type:"list"` // The maximum number of resolver endpoints that you want to return in the response // to a ListResolverEndpoints request. If you don't specify a value for MaxResults, // Resolver returns up to 100 resolver endpoints. MaxResults *int64 `min:"1" type:"integer"` // For the first ListResolverEndpoints request, omit this value. // // If you have more than MaxResults resolver endpoints, you can submit another // ListResolverEndpoints request to get the next group of resolver endpoints. // In the next request, specify the value of NextToken from the previous response. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointsRequest
func (ListResolverEndpointsInput) GoString ¶
func (s ListResolverEndpointsInput) GoString() string
GoString returns the string representation
func (ListResolverEndpointsInput) String ¶
func (s ListResolverEndpointsInput) String() string
String returns the string representation
func (*ListResolverEndpointsInput) Validate ¶
func (s *ListResolverEndpointsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResolverEndpointsOutput ¶
type ListResolverEndpointsOutput struct { // The value that you specified for MaxResults in the request. MaxResults *int64 `min:"1" type:"integer"` // If more than MaxResults IP addresses match the specified criteria, you can // submit another ListResolverEndpoint request to get the next group of results. // In the next request, specify the value of NextToken from the previous response. NextToken *string `type:"string"` // The resolver endpoints that were created by using the current AWS account, // and that match the specified filters, if any. ResolverEndpoints []ResolverEndpoint `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointsResponse
func (ListResolverEndpointsOutput) GoString ¶
func (s ListResolverEndpointsOutput) GoString() string
GoString returns the string representation
func (ListResolverEndpointsOutput) SDKResponseMetadata ¶
func (s ListResolverEndpointsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListResolverEndpointsOutput) String ¶
func (s ListResolverEndpointsOutput) String() string
String returns the string representation
type ListResolverEndpointsPager ¶
ListResolverEndpointsPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListResolverEndpointsPager) CurrentPage ¶
func (p *ListResolverEndpointsPager) CurrentPage() *ListResolverEndpointsOutput
type ListResolverEndpointsRequest ¶
type ListResolverEndpointsRequest struct { *aws.Request Input *ListResolverEndpointsInput Copy func(*ListResolverEndpointsInput) ListResolverEndpointsRequest }
ListResolverEndpointsRequest is a API request type for the ListResolverEndpoints API operation.
func (*ListResolverEndpointsRequest) Paginate ¶
func (p *ListResolverEndpointsRequest) Paginate(opts ...aws.Option) ListResolverEndpointsPager
Paginate pages iterates over the pages of a ListResolverEndpointsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListResolverEndpoints operation. req := client.ListResolverEndpointsRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListResolverEndpointsRequest) Send ¶
func (r ListResolverEndpointsRequest) Send() (*ListResolverEndpointsOutput, error)
Send marshals and sends the ListResolverEndpoints API request.
type ListResolverRuleAssociationsInput ¶
type ListResolverRuleAssociationsInput struct { // An optional specification to return a subset of resolver rules, such as resolver // rules that are associated with the same VPC ID. // // If you submit a second or subsequent ListResolverRuleAssociations request // and specify the NextToken parameter, you must use the same values for Filters, // if any, as in the previous request. Filters []Filter `type:"list"` // The maximum number of rule associations that you want to return in the response // to a ListResolverRuleAssociations request. If you don't specify a value for // MaxResults, Resolver returns up to 100 rule associations. MaxResults *int64 `min:"1" type:"integer"` // For the first ListResolverRuleAssociation request, omit this value. // // If you have more than MaxResults rule associations, you can submit another // ListResolverRuleAssociation request to get the next group of rule associations. // In the next request, specify the value of NextToken from the previous response. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRuleAssociationsRequest
func (ListResolverRuleAssociationsInput) GoString ¶
func (s ListResolverRuleAssociationsInput) GoString() string
GoString returns the string representation
func (ListResolverRuleAssociationsInput) String ¶
func (s ListResolverRuleAssociationsInput) String() string
String returns the string representation
func (*ListResolverRuleAssociationsInput) Validate ¶
func (s *ListResolverRuleAssociationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResolverRuleAssociationsOutput ¶
type ListResolverRuleAssociationsOutput struct { // The value that you specified for MaxResults in the request. MaxResults *int64 `min:"1" type:"integer"` // If more than MaxResults rule associations match the specified criteria, you // can submit another ListResolverRuleAssociation request to get the next group // of results. In the next request, specify the value of NextToken from the // previous response. NextToken *string `type:"string"` // The associations that were created between resolver rules and VPCs using // the current AWS account, and that match the specified filters, if any. ResolverRuleAssociations []ResolverRuleAssociation `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRuleAssociationsResponse
func (ListResolverRuleAssociationsOutput) GoString ¶
func (s ListResolverRuleAssociationsOutput) GoString() string
GoString returns the string representation
func (ListResolverRuleAssociationsOutput) SDKResponseMetadata ¶
func (s ListResolverRuleAssociationsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListResolverRuleAssociationsOutput) String ¶
func (s ListResolverRuleAssociationsOutput) String() string
String returns the string representation
type ListResolverRuleAssociationsPager ¶
ListResolverRuleAssociationsPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListResolverRuleAssociationsPager) CurrentPage ¶
func (p *ListResolverRuleAssociationsPager) CurrentPage() *ListResolverRuleAssociationsOutput
type ListResolverRuleAssociationsRequest ¶
type ListResolverRuleAssociationsRequest struct { *aws.Request Input *ListResolverRuleAssociationsInput Copy func(*ListResolverRuleAssociationsInput) ListResolverRuleAssociationsRequest }
ListResolverRuleAssociationsRequest is a API request type for the ListResolverRuleAssociations API operation.
func (*ListResolverRuleAssociationsRequest) Paginate ¶
func (p *ListResolverRuleAssociationsRequest) Paginate(opts ...aws.Option) ListResolverRuleAssociationsPager
Paginate pages iterates over the pages of a ListResolverRuleAssociationsRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListResolverRuleAssociations operation. req := client.ListResolverRuleAssociationsRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListResolverRuleAssociationsRequest) Send ¶
func (r ListResolverRuleAssociationsRequest) Send() (*ListResolverRuleAssociationsOutput, error)
Send marshals and sends the ListResolverRuleAssociations API request.
type ListResolverRulesInput ¶
type ListResolverRulesInput struct { // An optional specification to return a subset of resolver rules, such as all // resolver rules that are associated with the same resolver endpoint. // // If you submit a second or subsequent ListResolverRules request and specify // the NextToken parameter, you must use the same values for Filters, if any, // as in the previous request. Filters []Filter `type:"list"` // The maximum number of resolver rules that you want to return in the response // to a ListResolverRules request. If you don't specify a value for MaxResults, // Resolver returns up to 100 resolver rules. MaxResults *int64 `min:"1" type:"integer"` // For the first ListResolverRules request, omit this value. // // If you have more than MaxResults resolver rules, you can submit another ListResolverRules // request to get the next group of resolver rules. In the next request, specify // the value of NextToken from the previous response. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRulesRequest
func (ListResolverRulesInput) GoString ¶
func (s ListResolverRulesInput) GoString() string
GoString returns the string representation
func (ListResolverRulesInput) String ¶
func (s ListResolverRulesInput) String() string
String returns the string representation
func (*ListResolverRulesInput) Validate ¶
func (s *ListResolverRulesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListResolverRulesOutput ¶
type ListResolverRulesOutput struct { // The value that you specified for MaxResults in the request. MaxResults *int64 `min:"1" type:"integer"` // If more than MaxResults resolver rules match the specified criteria, you // can submit another ListResolverRules request to get the next group of results. // In the next request, specify the value of NextToken from the previous response. NextToken *string `type:"string"` // The resolver rules that were created using the current AWS account and that // match the specified filters, if any. ResolverRules []ResolverRule `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRulesResponse
func (ListResolverRulesOutput) GoString ¶
func (s ListResolverRulesOutput) GoString() string
GoString returns the string representation
func (ListResolverRulesOutput) SDKResponseMetadata ¶
func (s ListResolverRulesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListResolverRulesOutput) String ¶
func (s ListResolverRulesOutput) String() string
String returns the string representation
type ListResolverRulesPager ¶
ListResolverRulesPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*ListResolverRulesPager) CurrentPage ¶
func (p *ListResolverRulesPager) CurrentPage() *ListResolverRulesOutput
type ListResolverRulesRequest ¶
type ListResolverRulesRequest struct { *aws.Request Input *ListResolverRulesInput Copy func(*ListResolverRulesInput) ListResolverRulesRequest }
ListResolverRulesRequest is a API request type for the ListResolverRules API operation.
func (*ListResolverRulesRequest) Paginate ¶
func (p *ListResolverRulesRequest) Paginate(opts ...aws.Option) ListResolverRulesPager
Paginate pages iterates over the pages of a ListResolverRulesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListResolverRules operation. req := client.ListResolverRulesRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (ListResolverRulesRequest) Send ¶
func (r ListResolverRulesRequest) Send() (*ListResolverRulesOutput, error)
Send marshals and sends the ListResolverRules API request.
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The maximum number of tags that you want to return in the response to a ListTagsForResource // request. If you don't specify a value for MaxResults, Resolver returns up // to 100 tags. MaxResults *int64 `min:"1" type:"integer"` // For the first ListTagsForResource request, omit this value. // // If you have more than MaxResults tags, you can submit another ListTagsForResource // request to get the next group of tags for the resource. In the next request, // specify the value of NextToken from the previous response. NextToken *string `type:"string"` // The Amazon Resource Name (ARN) for the resource that you want to list tags // for. // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListTagsForResourceRequest
func (ListTagsForResourceInput) GoString ¶
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // If more than MaxResults tags match the specified criteria, you can submit // another ListTagsForResource request to get the next group of results. In // the next request, specify the value of NextToken from the previous response. NextToken *string `type:"string"` // The tags that are associated with the resource that you specified in the // ListTagsForResource request. Tags []Tag `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListTagsForResourceResponse
func (ListTagsForResourceOutput) GoString ¶
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation
func (ListTagsForResourceOutput) SDKResponseMetadata ¶
func (s ListTagsForResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTagsForResourceRequest ¶
type ListTagsForResourceRequest struct { *aws.Request Input *ListTagsForResourceInput Copy func(*ListTagsForResourceInput) ListTagsForResourceRequest }
ListTagsForResourceRequest is a API request type for the ListTagsForResource API operation.
func (ListTagsForResourceRequest) Send ¶
func (r ListTagsForResourceRequest) Send() (*ListTagsForResourceOutput, error)
Send marshals and sends the ListTagsForResource API request.
type PutResolverRulePolicyInput ¶
type PutResolverRulePolicyInput struct { // The Amazon Resource Name (ARN) of the account that you want to grant permissions // to. // // Arn is a required field Arn *string `min:"1" type:"string" required:"true"` // An AWS Identity and Access Management policy statement that lists the permissions // that you want to grant to another AWS account. // // ResolverRulePolicy is a required field ResolverRulePolicy *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicyRequest
func (PutResolverRulePolicyInput) GoString ¶
func (s PutResolverRulePolicyInput) GoString() string
GoString returns the string representation
func (PutResolverRulePolicyInput) String ¶
func (s PutResolverRulePolicyInput) String() string
String returns the string representation
func (*PutResolverRulePolicyInput) Validate ¶
func (s *PutResolverRulePolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutResolverRulePolicyOutput ¶
type PutResolverRulePolicyOutput struct { // Whether the PutResolverRulePolicy request was successful. ReturnValue *bool `type:"boolean"` // contains filtered or unexported fields }
The response to a PutResolverRulePolicy request. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicyResponse
func (PutResolverRulePolicyOutput) GoString ¶
func (s PutResolverRulePolicyOutput) GoString() string
GoString returns the string representation
func (PutResolverRulePolicyOutput) SDKResponseMetadata ¶
func (s PutResolverRulePolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutResolverRulePolicyOutput) String ¶
func (s PutResolverRulePolicyOutput) String() string
String returns the string representation
type PutResolverRulePolicyRequest ¶
type PutResolverRulePolicyRequest struct { *aws.Request Input *PutResolverRulePolicyInput Copy func(*PutResolverRulePolicyInput) PutResolverRulePolicyRequest }
PutResolverRulePolicyRequest is a API request type for the PutResolverRulePolicy API operation.
func (PutResolverRulePolicyRequest) Send ¶
func (r PutResolverRulePolicyRequest) Send() (*PutResolverRulePolicyOutput, error)
Send marshals and sends the PutResolverRulePolicy API request.
type ResolverEndpoint ¶
type ResolverEndpoint struct { // The ARN (Amazon Resource Name) for the resolver endpoint. Arn *string `min:"1" type:"string"` // The date and time that the endpoint was created, in Unix time format and // Coordinated Universal Time (UTC). CreationTime *string `min:"20" type:"string"` // A unique string that identifies the request that created the resolver endpoint. // The CreatorRequestId allows failed requests to be retried without the risk // of executing the operation twice. CreatorRequestId *string `min:"1" type:"string"` // Indicates whether the resolver endpoint allows inbound or outbound DNS queries: // // * INBOUND: allows DNS queries to your VPC from your network or another // VPC // // * OUTBOUND: allows DNS queries from your VPC to your network or another // VPC Direction ResolverEndpointDirection `type:"string" enum:"true"` // The ID of the VPC that you want to create the resolver endpoint in. HostVPCId *string `min:"1" type:"string"` // The ID of the resolver endpoint. Id *string `min:"1" type:"string"` // The number of IP addresses that the resolver endpoint can use for DNS queries. IpAddressCount *int64 `type:"integer"` // The date and time that the endpoint was last modified, in Unix time format // and Coordinated Universal Time (UTC). ModificationTime *string `min:"20" type:"string"` // The name that you assigned to the resolver endpoint when you submitted a // CreateResolverEndpoint request. Name *string `type:"string"` // The ID of one or more security groups that control access to this VPC. The // security group must include one or more inbound resolver rules. SecurityGroupIds []string `type:"list"` // A code that specifies the current status of the resolver endpoint. Status ResolverEndpointStatus `type:"string" enum:"true"` // A detailed description of the status of the resolver endpoint. StatusMessage *string `type:"string"` // contains filtered or unexported fields }
In the response to a CreateResolverEndpoint, DeleteResolverEndpoint, GetResolverEndpoint, ListResolverEndpoints, or UpdateResolverEndpoint request, a complex type that contains settings for an existing inbound or outbound resolver endpoint. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverEndpoint
func (ResolverEndpoint) GoString ¶
func (s ResolverEndpoint) GoString() string
GoString returns the string representation
func (ResolverEndpoint) String ¶
func (s ResolverEndpoint) String() string
String returns the string representation
type ResolverEndpointDirection ¶
type ResolverEndpointDirection string
const ( ResolverEndpointDirectionInbound ResolverEndpointDirection = "INBOUND" ResolverEndpointDirectionOutbound ResolverEndpointDirection = "OUTBOUND" )
Enum values for ResolverEndpointDirection
func (ResolverEndpointDirection) MarshalValue ¶
func (enum ResolverEndpointDirection) MarshalValue() (string, error)
func (ResolverEndpointDirection) MarshalValueBuf ¶
func (enum ResolverEndpointDirection) MarshalValueBuf(b []byte) ([]byte, error)
type ResolverEndpointStatus ¶
type ResolverEndpointStatus string
const ( ResolverEndpointStatusCreating ResolverEndpointStatus = "CREATING" ResolverEndpointStatusOperational ResolverEndpointStatus = "OPERATIONAL" ResolverEndpointStatusUpdating ResolverEndpointStatus = "UPDATING" ResolverEndpointStatusAutoRecovering ResolverEndpointStatus = "AUTO_RECOVERING" ResolverEndpointStatusActionNeeded ResolverEndpointStatus = "ACTION_NEEDED" ResolverEndpointStatusDeleting ResolverEndpointStatus = "DELETING" )
Enum values for ResolverEndpointStatus
func (ResolverEndpointStatus) MarshalValue ¶
func (enum ResolverEndpointStatus) MarshalValue() (string, error)
func (ResolverEndpointStatus) MarshalValueBuf ¶
func (enum ResolverEndpointStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ResolverRule ¶
type ResolverRule struct { // The ARN (Amazon Resource Name) for the resolver rule specified by Id. Arn *string `min:"1" type:"string"` // A unique string that you specified when you created the resolver rule. CreatorRequestIdidentifies // the request and allows failed requests to be retried without the risk of // executing the operation twice. CreatorRequestId *string `min:"1" type:"string"` // DNS queries for this domain name are forwarded to the IP addresses that are // specified in TargetIps. If a query matches multiple resolver rules (example.com // and www.example.com), the query is routed using the resolver rule that contains // the most specific domain name (www.example.com). DomainName *string `min:"1" type:"string"` // The ID that Resolver assigned to the resolver rule when you created it. Id *string `min:"1" type:"string"` // The name for the resolver rule, which you specified when you created the // resolver rule. Name *string `type:"string"` // When a rule is shared with another AWS account, the account ID of the account // that the rule is shared with. OwnerId *string `min:"12" type:"string"` // The ID of the endpoint that the rule is associated with. ResolverEndpointId *string `min:"1" type:"string"` // This value is always FORWARD. Other resolver rule types aren't supported. RuleType RuleTypeOption `type:"string" enum:"true"` // Whether the rules is shared and, if so, whether the current account is sharing // the rule with another account, or another account is sharing the rule with // the current account. ShareStatus `type:"string" enum:"true"` // A code that specifies the current status of the resolver rule. Status ResolverRuleStatus `type:"string" enum:"true"` // A detailed description of the status of a resolver rule. StatusMessage *string `type:"string"` // An array that contains the IP addresses and ports that you want to forward TargetIps []TargetAddress `min:"1" type:"list"` // contains filtered or unexported fields }
For queries that originate in your VPC, detailed information about a resolver rule, which specifies how to route DNS queries out of the VPC. The ResolverRule parameter appears in the response to a CreateResolverRule, DeleteResolverRule, GetResolverRule, ListResolverRules, or UpdateResolverRule request. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRule
func (ResolverRule) GoString ¶
func (s ResolverRule) GoString() string
GoString returns the string representation
func (ResolverRule) String ¶
func (s ResolverRule) String() string
String returns the string representation
type ResolverRuleAssociation ¶
type ResolverRuleAssociation struct { // The ID of the association between a resolver rule and a VPC. Resolver assigns // this value when you submit an AssociateResolverRule request. Id *string `min:"1" type:"string"` // The name of an association between a resolver rule and a VPC. Name *string `type:"string"` // The ID of the resolver rule that you associated with the VPC that is specified // by VPCId. ResolverRuleId *string `min:"1" type:"string"` // A code that specifies the current status of the association between a resolver // rule and a VPC. Status ResolverRuleAssociationStatus `type:"string" enum:"true"` // A detailed description of the status of the association between a resolver // rule and a VPC. StatusMessage *string `type:"string"` // The ID of the VPC that you associated the resolver rule with. VPCId *string `min:"1" type:"string"` // contains filtered or unexported fields }
In the response to an AssociateResolverRule, DisassociateResolverRule, or ListResolverRuleAssociations request, information about an association between a resolver rule and a VPC. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRuleAssociation
func (ResolverRuleAssociation) GoString ¶
func (s ResolverRuleAssociation) GoString() string
GoString returns the string representation
func (ResolverRuleAssociation) String ¶
func (s ResolverRuleAssociation) String() string
String returns the string representation
type ResolverRuleAssociationStatus ¶
type ResolverRuleAssociationStatus string
const ( ResolverRuleAssociationStatusCreating ResolverRuleAssociationStatus = "CREATING" ResolverRuleAssociationStatusComplete ResolverRuleAssociationStatus = "COMPLETE" ResolverRuleAssociationStatusDeleting ResolverRuleAssociationStatus = "DELETING" ResolverRuleAssociationStatusFailed ResolverRuleAssociationStatus = "FAILED" ResolverRuleAssociationStatusOverridden ResolverRuleAssociationStatus = "OVERRIDDEN" )
Enum values for ResolverRuleAssociationStatus
func (ResolverRuleAssociationStatus) MarshalValue ¶
func (enum ResolverRuleAssociationStatus) MarshalValue() (string, error)
func (ResolverRuleAssociationStatus) MarshalValueBuf ¶
func (enum ResolverRuleAssociationStatus) MarshalValueBuf(b []byte) ([]byte, error)
type ResolverRuleConfig ¶
type ResolverRuleConfig struct { // The new name for the resolver rule. The name that you specify appears in // the Resolver dashboard in the Route 53 console. Name *string `type:"string"` // The ID of the new outbound resolver endpoint that you want to use to route // DNS queries to the IP addresses that you specify in TargetIps. ResolverEndpointId *string `min:"1" type:"string"` // For DNS queries that originate in your VPC, the new IP addresses that you // want to route outbound DNS queries to. TargetIps []TargetAddress `min:"1" type:"list"` // contains filtered or unexported fields }
In an UpdateResolverRule request, information about the changes that you want to make. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverRuleConfig
func (ResolverRuleConfig) GoString ¶
func (s ResolverRuleConfig) GoString() string
GoString returns the string representation
func (ResolverRuleConfig) String ¶
func (s ResolverRuleConfig) String() string
String returns the string representation
func (*ResolverRuleConfig) Validate ¶
func (s *ResolverRuleConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResolverRuleStatus ¶
type ResolverRuleStatus string
const ( ResolverRuleStatusComplete ResolverRuleStatus = "COMPLETE" ResolverRuleStatusDeleting ResolverRuleStatus = "DELETING" ResolverRuleStatusUpdating ResolverRuleStatus = "UPDATING" ResolverRuleStatusFailed ResolverRuleStatus = "FAILED" )
Enum values for ResolverRuleStatus
func (ResolverRuleStatus) MarshalValue ¶
func (enum ResolverRuleStatus) MarshalValue() (string, error)
func (ResolverRuleStatus) MarshalValueBuf ¶
func (enum ResolverRuleStatus) MarshalValueBuf(b []byte) ([]byte, error)
type Route53Resolver ¶
Route53Resolver provides the API operation methods for making requests to Amazon Route 53 Resolver. See this package's package overview docs for details on the service.
Route53Resolver methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(config aws.Config) *Route53Resolver
New creates a new instance of the Route53Resolver client with a config.
Example:
// Create a Route53Resolver client from just a config. svc := route53resolver.New(myConfig)
func (*Route53Resolver) AssociateResolverEndpointIpAddressRequest ¶
func (c *Route53Resolver) AssociateResolverEndpointIpAddressRequest(input *AssociateResolverEndpointIpAddressInput) AssociateResolverEndpointIpAddressRequest
AssociateResolverEndpointIpAddressRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Adds IP addresses to an inbound or an outbound resolver endpoint. If you want to adding more than one IP address, submit one AssociateResolverEndpointIpAddress request for each IP address.
To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress.
// Example sending a request using the AssociateResolverEndpointIpAddressRequest method. req := client.AssociateResolverEndpointIpAddressRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverEndpointIpAddress
func (*Route53Resolver) AssociateResolverRuleRequest ¶
func (c *Route53Resolver) AssociateResolverRuleRequest(input *AssociateResolverRuleInput) AssociateResolverRuleRequest
AssociateResolverRuleRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Associates a resolver rule with a VPC. When you associate a rule with a VPC, Resolver forwards all DNS queries for the domain name that is specified in the rule and that originate in the VPC. The queries are forwarded to the IP addresses for the DNS resolvers that are specified in the rule. For more information about rules, see CreateResolverRule.
// Example sending a request using the AssociateResolverRuleRequest method. req := client.AssociateResolverRuleRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverRule
func (*Route53Resolver) CreateResolverEndpointRequest ¶
func (c *Route53Resolver) CreateResolverEndpointRequest(input *CreateResolverEndpointInput) CreateResolverEndpointRequest
CreateResolverEndpointRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Creates a resolver endpoint. There are two types of resolver endpoints, inbound and outbound:
An inbound resolver endpoint forwards DNS queries to the DNS service for a VPC from your network or another VPC.
An outbound resolver endpoint forwards DNS queries from the DNS service for a VPC to your network or another VPC.
// Example sending a request using the CreateResolverEndpointRequest method. req := client.CreateResolverEndpointRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverEndpoint
func (*Route53Resolver) CreateResolverRuleRequest ¶
func (c *Route53Resolver) CreateResolverRuleRequest(input *CreateResolverRuleInput) CreateResolverRuleRequest
CreateResolverRuleRequest returns a request value for making API operation for Amazon Route 53 Resolver.
For DNS queries that originate in your VPCs, specifies which resolver endpoint the queries pass through, one domain name that you want to forward to your network, and the IP addresses of the DNS resolvers in your network.
// Example sending a request using the CreateResolverRuleRequest method. req := client.CreateResolverRuleRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRule
func (*Route53Resolver) DeleteResolverEndpointRequest ¶
func (c *Route53Resolver) DeleteResolverEndpointRequest(input *DeleteResolverEndpointInput) DeleteResolverEndpointRequest
DeleteResolverEndpointRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Deletes a resolver endpoint. The effect of deleting a resolver endpoint depends on whether it's an inbound or an outbound resolver endpoint:
Inbound: DNS queries from your network or another VPC are no longer routed to the DNS service for the specified VPC.
Outbound: DNS queries from a VPC are no longer routed to your network or to another VPC.
// Example sending a request using the DeleteResolverEndpointRequest method. req := client.DeleteResolverEndpointRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpoint
func (*Route53Resolver) DeleteResolverRuleRequest ¶
func (c *Route53Resolver) DeleteResolverRuleRequest(input *DeleteResolverRuleInput) DeleteResolverRuleRequest
DeleteResolverRuleRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Deletes a resolver rule. Before you can delete a resolver rule, you must disassociate it from all the VPCs that you associated the resolver rule with. For more infomation, see DisassociateResolverRule.
// Example sending a request using the DeleteResolverRuleRequest method. req := client.DeleteResolverRuleRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRule
func (*Route53Resolver) DisassociateResolverEndpointIpAddressRequest ¶
func (c *Route53Resolver) DisassociateResolverEndpointIpAddressRequest(input *DisassociateResolverEndpointIpAddressInput) DisassociateResolverEndpointIpAddressRequest
DisassociateResolverEndpointIpAddressRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Removes IP addresses from an inbound or an outbound resolver endpoint. If you want to remove more than one IP address, submit one DisassociateResolverEndpointIpAddress request for each IP address.
To add an IP address to an endpoint, see AssociateResolverEndpointIpAddress.
// Example sending a request using the DisassociateResolverEndpointIpAddressRequest method. req := client.DisassociateResolverEndpointIpAddressRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddress
func (*Route53Resolver) DisassociateResolverRuleRequest ¶
func (c *Route53Resolver) DisassociateResolverRuleRequest(input *DisassociateResolverRuleInput) DisassociateResolverRuleRequest
DisassociateResolverRuleRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Removes the association between a specified resolver rule and a specified VPC.
If you disassociate a resolver rule from a VPC, Resolver stops forwarding DNS queries for the domain name that you specified in the resolver rule.
// Example sending a request using the DisassociateResolverRuleRequest method. req := client.DisassociateResolverRuleRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverRule
func (*Route53Resolver) GetResolverEndpointRequest ¶
func (c *Route53Resolver) GetResolverEndpointRequest(input *GetResolverEndpointInput) GetResolverEndpointRequest
GetResolverEndpointRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Gets information about a specified resolver endpoint, such as whether it's an inbound or an outbound resolver endpoint, and the current status of the endpoint.
// Example sending a request using the GetResolverEndpointRequest method. req := client.GetResolverEndpointRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverEndpoint
func (*Route53Resolver) GetResolverRuleAssociationRequest ¶
func (c *Route53Resolver) GetResolverRuleAssociationRequest(input *GetResolverRuleAssociationInput) GetResolverRuleAssociationRequest
GetResolverRuleAssociationRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Gets information about an association between a specified resolver rule and a VPC. You associate a resolver rule and a VPC using AssociateResolverRule.
// Example sending a request using the GetResolverRuleAssociationRequest method. req := client.GetResolverRuleAssociationRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleAssociation
func (*Route53Resolver) GetResolverRulePolicyRequest ¶
func (c *Route53Resolver) GetResolverRulePolicyRequest(input *GetResolverRulePolicyInput) GetResolverRulePolicyRequest
GetResolverRulePolicyRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Gets information about a resolver rule policy. A resolver rule policy specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
// Example sending a request using the GetResolverRulePolicyRequest method. req := client.GetResolverRulePolicyRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRulePolicy
func (*Route53Resolver) GetResolverRuleRequest ¶
func (c *Route53Resolver) GetResolverRuleRequest(input *GetResolverRuleInput) GetResolverRuleRequest
GetResolverRuleRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Gets information about a specified resolver rule, such as the domain name that the rule forwards DNS queries for and the ID of the outbound resolver endpoint that the rule is associated with.
// Example sending a request using the GetResolverRuleRequest method. req := client.GetResolverRuleRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRule
func (*Route53Resolver) ListResolverEndpointIpAddressesRequest ¶
func (c *Route53Resolver) ListResolverEndpointIpAddressesRequest(input *ListResolverEndpointIpAddressesInput) ListResolverEndpointIpAddressesRequest
ListResolverEndpointIpAddressesRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Gets the IP addresses for a specified resolver endpoint.
// Example sending a request using the ListResolverEndpointIpAddressesRequest method. req := client.ListResolverEndpointIpAddressesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddresses
func (*Route53Resolver) ListResolverEndpointsRequest ¶
func (c *Route53Resolver) ListResolverEndpointsRequest(input *ListResolverEndpointsInput) ListResolverEndpointsRequest
ListResolverEndpointsRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Lists all the resolver endpoints that were created using the current AWS account.
// Example sending a request using the ListResolverEndpointsRequest method. req := client.ListResolverEndpointsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpoints
func (*Route53Resolver) ListResolverRuleAssociationsRequest ¶
func (c *Route53Resolver) ListResolverRuleAssociationsRequest(input *ListResolverRuleAssociationsInput) ListResolverRuleAssociationsRequest
ListResolverRuleAssociationsRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Lists the associations that were created between resolver rules and VPCs using the current AWS account.
// Example sending a request using the ListResolverRuleAssociationsRequest method. req := client.ListResolverRuleAssociationsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRuleAssociations
func (*Route53Resolver) ListResolverRulesRequest ¶
func (c *Route53Resolver) ListResolverRulesRequest(input *ListResolverRulesInput) ListResolverRulesRequest
ListResolverRulesRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Lists the resolver rules that were created using the current AWS account.
// Example sending a request using the ListResolverRulesRequest method. req := client.ListResolverRulesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRules
func (*Route53Resolver) ListTagsForResourceRequest ¶
func (c *Route53Resolver) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest
ListTagsForResourceRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Lists the tags that you associated with the specified resource.
// Example sending a request using the ListTagsForResourceRequest method. req := client.ListTagsForResourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListTagsForResource
func (*Route53Resolver) PutResolverRulePolicyRequest ¶
func (c *Route53Resolver) PutResolverRulePolicyRequest(input *PutResolverRulePolicyInput) PutResolverRulePolicyRequest
PutResolverRulePolicyRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
// Example sending a request using the PutResolverRulePolicyRequest method. req := client.PutResolverRulePolicyRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicy
func (*Route53Resolver) TagResourceRequest ¶
func (c *Route53Resolver) TagResourceRequest(input *TagResourceInput) TagResourceRequest
TagResourceRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Adds one or more tags to a specified resource.
// Example sending a request using the TagResourceRequest method. req := client.TagResourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TagResource
func (*Route53Resolver) UntagResourceRequest ¶
func (c *Route53Resolver) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
UntagResourceRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Removes one or more tags from a specified resource.
// Example sending a request using the UntagResourceRequest method. req := client.UntagResourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UntagResource
func (*Route53Resolver) UpdateResolverEndpointRequest ¶
func (c *Route53Resolver) UpdateResolverEndpointRequest(input *UpdateResolverEndpointInput) UpdateResolverEndpointRequest
UpdateResolverEndpointRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Updates the name of an inbound or an outbound resolver endpoint.
// Example sending a request using the UpdateResolverEndpointRequest method. req := client.UpdateResolverEndpointRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpoint
func (*Route53Resolver) UpdateResolverRuleRequest ¶
func (c *Route53Resolver) UpdateResolverRuleRequest(input *UpdateResolverRuleInput) UpdateResolverRuleRequest
UpdateResolverRuleRequest returns a request value for making API operation for Amazon Route 53 Resolver.
Updates settings for a specified resolver rule. ResolverRuleId is required, and all other parameters are optional. If you don't specify a parameter, it retains its current value.
// Example sending a request using the UpdateResolverRuleRequest method. req := client.UpdateResolverRuleRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRule
type RuleTypeOption ¶
type RuleTypeOption string
const ( RuleTypeOptionForward RuleTypeOption = "FORWARD" RuleTypeOptionSystem RuleTypeOption = "SYSTEM" RuleTypeOptionRecursive RuleTypeOption = "RECURSIVE" )
Enum values for RuleTypeOption
func (RuleTypeOption) MarshalValue ¶
func (enum RuleTypeOption) MarshalValue() (string, error)
func (RuleTypeOption) MarshalValueBuf ¶
func (enum RuleTypeOption) MarshalValueBuf(b []byte) ([]byte, error)
type ShareStatus ¶
type ShareStatus string
const ( ShareStatus = "NOT_SHARED" ShareStatus = "SHARED_WITH_ME" ShareStatus = "SHARED_BY_ME" )
Enum values for ShareStatus
func (ShareStatus) MarshalValue ¶
func (enum ShareStatus) MarshalValue() (string, error)
func (ShareStatus) MarshalValueBuf ¶
func (enum ShareStatus) MarshalValueBuf(b []byte) ([]byte, error)
type Tag ¶
type Tag struct { // The name for the tag. For example, if you want to associate Resolver resources // with the account IDs of your customers for billing purposes, the value of // Key might be account-id. Key *string `type:"string"` // The value for the tag. For example, if Key is account-id, then Value might // be the ID of the customer account that you're creating the resource for. Value *string `type:"string"` // contains filtered or unexported fields }
One tag that you want to add to the specified resource. A tag consists of a Key (a name for the tag) and a Value. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/Tag
func (Tag) GoString ¶
GoString returns the string representation
func (Tag) String ¶
String returns the string representation
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) for the resource that you want to add tags // to. To get the ARN for a resource, use the applicable Get or List command: // // * GetResolverEndpoint // // * GetResolverRule // // * GetResolverRuleAssociation // // * ListResolverEndpoints // // * ListResolverRuleAssociations // // * ListResolverRules // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` // The tags that you want to add to the specified resource. // // Tags is a required field Tags []Tag `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TagResourceRequest
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TagResourceResponse
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation
func (TagResourceOutput) SDKResponseMetadata ¶
func (s TagResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶
type TagResourceRequest struct { *aws.Request Input *TagResourceInput Copy func(*TagResourceInput) TagResourceRequest }
TagResourceRequest is a API request type for the TagResource API operation.
func (TagResourceRequest) Send ¶
func (r TagResourceRequest) Send() (*TagResourceOutput, error)
Send marshals and sends the TagResource API request.
type TargetAddress ¶
type TargetAddress struct { // One IP address that you want to forward DNS queries to. You can specify only // IPv4 addresses. // // Ip is a required field Ip *string `min:"7" type:"string" required:"true"` // The port at Ip that you want to forward DNS queries to. Port *int64 `type:"integer"` // contains filtered or unexported fields }
In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to. Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TargetAddress
func (TargetAddress) GoString ¶
func (s TargetAddress) GoString() string
GoString returns the string representation
func (TargetAddress) String ¶
func (s TargetAddress) String() string
String returns the string representation
func (*TargetAddress) Validate ¶
func (s *TargetAddress) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) for the resource that you want to remove tags // from. To get the ARN for a resource, use the applicable Get or List command: // // * GetResolverEndpoint // // * GetResolverRule // // * GetResolverRuleAssociation // // * ListResolverEndpoints // // * ListResolverRuleAssociations // // * ListResolverRules // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` // The tags that you want to remove to the specified resource. // // TagKeys is a required field TagKeys []string `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UntagResourceRequest
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UntagResourceResponse
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation
func (UntagResourceOutput) SDKResponseMetadata ¶
func (s UntagResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput Copy func(*UntagResourceInput) UntagResourceRequest }
UntagResourceRequest is a API request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶
func (r UntagResourceRequest) Send() (*UntagResourceOutput, error)
Send marshals and sends the UntagResource API request.
type UpdateResolverEndpointInput ¶
type UpdateResolverEndpointInput struct { // The name of the resolver endpoint that you want to update. Name *string `type:"string"` // The ID of the resolver endpoint that you want to update. // // ResolverEndpointId is a required field ResolverEndpointId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpointRequest
func (UpdateResolverEndpointInput) GoString ¶
func (s UpdateResolverEndpointInput) GoString() string
GoString returns the string representation
func (UpdateResolverEndpointInput) String ¶
func (s UpdateResolverEndpointInput) String() string
String returns the string representation
func (*UpdateResolverEndpointInput) Validate ¶
func (s *UpdateResolverEndpointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateResolverEndpointOutput ¶
type UpdateResolverEndpointOutput struct { // The response to an UpdateResolverEndpoint request. ResolverEndpoint *ResolverEndpoint `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpointResponse
func (UpdateResolverEndpointOutput) GoString ¶
func (s UpdateResolverEndpointOutput) GoString() string
GoString returns the string representation
func (UpdateResolverEndpointOutput) SDKResponseMetadata ¶
func (s UpdateResolverEndpointOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateResolverEndpointOutput) String ¶
func (s UpdateResolverEndpointOutput) String() string
String returns the string representation
type UpdateResolverEndpointRequest ¶
type UpdateResolverEndpointRequest struct { *aws.Request Input *UpdateResolverEndpointInput Copy func(*UpdateResolverEndpointInput) UpdateResolverEndpointRequest }
UpdateResolverEndpointRequest is a API request type for the UpdateResolverEndpoint API operation.
func (UpdateResolverEndpointRequest) Send ¶
func (r UpdateResolverEndpointRequest) Send() (*UpdateResolverEndpointOutput, error)
Send marshals and sends the UpdateResolverEndpoint API request.
type UpdateResolverRuleInput ¶
type UpdateResolverRuleInput struct { // The new settings for the resolver rule. // // Config is a required field Config *ResolverRuleConfig `type:"structure" required:"true"` // The ID of the resolver rule that you want to update. // // ResolverRuleId is a required field ResolverRuleId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRuleRequest
func (UpdateResolverRuleInput) GoString ¶
func (s UpdateResolverRuleInput) GoString() string
GoString returns the string representation
func (UpdateResolverRuleInput) String ¶
func (s UpdateResolverRuleInput) String() string
String returns the string representation
func (*UpdateResolverRuleInput) Validate ¶
func (s *UpdateResolverRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateResolverRuleOutput ¶
type UpdateResolverRuleOutput struct { // The response to an UpdateResolverRule request. ResolverRule *ResolverRule `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRuleResponse
func (UpdateResolverRuleOutput) GoString ¶
func (s UpdateResolverRuleOutput) GoString() string
GoString returns the string representation
func (UpdateResolverRuleOutput) SDKResponseMetadata ¶
func (s UpdateResolverRuleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateResolverRuleOutput) String ¶
func (s UpdateResolverRuleOutput) String() string
String returns the string representation
type UpdateResolverRuleRequest ¶
type UpdateResolverRuleRequest struct { *aws.Request Input *UpdateResolverRuleInput Copy func(*UpdateResolverRuleInput) UpdateResolverRuleRequest }
UpdateResolverRuleRequest is a API request type for the UpdateResolverRule API operation.
func (UpdateResolverRuleRequest) Send ¶
func (r UpdateResolverRuleRequest) Send() (*UpdateResolverRuleOutput, error)
Send marshals and sends the UpdateResolverRule API request.
Source Files ¶
api.go doc.go errors.go service.go
Directories ¶
Path | Synopsis |
---|---|
service/route53resolver/route53resolveriface | Package route53resolveriface provides an interface to enable mocking the Amazon Route 53 Resolver service client for testing your code. |
- Version
- v0.6.0
- Published
- Dec 3, 2018
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 3 minutes ago –
Tools for package owners.