Documentation ¶
Index ¶
- Constants
- func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
- type AssociateResolverEndpointIpAddressInput
- type AssociateResolverEndpointIpAddressOutput
- type AssociateResolverRuleInput
- type AssociateResolverRuleOutput
- type Client
- func (c *Client) AssociateResolverEndpointIpAddress(ctx context.Context, params *AssociateResolverEndpointIpAddressInput, ...) (*AssociateResolverEndpointIpAddressOutput, error)
- func (c *Client) AssociateResolverRule(ctx context.Context, params *AssociateResolverRuleInput, ...) (*AssociateResolverRuleOutput, error)
- func (c *Client) CreateResolverEndpoint(ctx context.Context, params *CreateResolverEndpointInput, ...) (*CreateResolverEndpointOutput, error)
- func (c *Client) CreateResolverRule(ctx context.Context, params *CreateResolverRuleInput, optFns ...func(*Options)) (*CreateResolverRuleOutput, error)
- func (c *Client) DeleteResolverEndpoint(ctx context.Context, params *DeleteResolverEndpointInput, ...) (*DeleteResolverEndpointOutput, error)
- func (c *Client) DeleteResolverRule(ctx context.Context, params *DeleteResolverRuleInput, optFns ...func(*Options)) (*DeleteResolverRuleOutput, error)
- func (c *Client) DisassociateResolverEndpointIpAddress(ctx context.Context, params *DisassociateResolverEndpointIpAddressInput, ...) (*DisassociateResolverEndpointIpAddressOutput, error)
- func (c *Client) DisassociateResolverRule(ctx context.Context, params *DisassociateResolverRuleInput, ...) (*DisassociateResolverRuleOutput, error)
- func (c *Client) GetResolverEndpoint(ctx context.Context, params *GetResolverEndpointInput, ...) (*GetResolverEndpointOutput, error)
- func (c *Client) GetResolverRule(ctx context.Context, params *GetResolverRuleInput, optFns ...func(*Options)) (*GetResolverRuleOutput, error)
- func (c *Client) GetResolverRuleAssociation(ctx context.Context, params *GetResolverRuleAssociationInput, ...) (*GetResolverRuleAssociationOutput, error)
- func (c *Client) GetResolverRulePolicy(ctx context.Context, params *GetResolverRulePolicyInput, ...) (*GetResolverRulePolicyOutput, error)
- func (c *Client) ListResolverEndpointIpAddresses(ctx context.Context, params *ListResolverEndpointIpAddressesInput, ...) (*ListResolverEndpointIpAddressesOutput, error)
- func (c *Client) ListResolverEndpoints(ctx context.Context, params *ListResolverEndpointsInput, ...) (*ListResolverEndpointsOutput, error)
- func (c *Client) ListResolverRuleAssociations(ctx context.Context, params *ListResolverRuleAssociationsInput, ...) (*ListResolverRuleAssociationsOutput, error)
- func (c *Client) ListResolverRules(ctx context.Context, params *ListResolverRulesInput, optFns ...func(*Options)) (*ListResolverRulesOutput, error)
- func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, ...) (*ListTagsForResourceOutput, error)
- func (c *Client) PutResolverRulePolicy(ctx context.Context, params *PutResolverRulePolicyInput, ...) (*PutResolverRulePolicyOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateResolverEndpoint(ctx context.Context, params *UpdateResolverEndpointInput, ...) (*UpdateResolverEndpointOutput, error)
- func (c *Client) UpdateResolverRule(ctx context.Context, params *UpdateResolverRuleInput, optFns ...func(*Options)) (*UpdateResolverRuleOutput, error)
- type CreateResolverEndpointInput
- type CreateResolverEndpointOutput
- type CreateResolverRuleInput
- type CreateResolverRuleOutput
- type DeleteResolverEndpointInput
- type DeleteResolverEndpointOutput
- type DeleteResolverRuleInput
- type DeleteResolverRuleOutput
- type DisassociateResolverEndpointIpAddressInput
- type DisassociateResolverEndpointIpAddressOutput
- type DisassociateResolverRuleInput
- type DisassociateResolverRuleOutput
- type EndpointResolver
- type EndpointResolverFunc
- type GetResolverEndpointInput
- type GetResolverEndpointOutput
- type GetResolverRuleAssociationInput
- type GetResolverRuleAssociationOutput
- type GetResolverRuleInput
- type GetResolverRuleOutput
- type GetResolverRulePolicyInput
- type GetResolverRulePolicyOutput
- type HTTPClient
- type HTTPSignerV4
- type ListResolverEndpointIpAddressesInput
- type ListResolverEndpointIpAddressesOutput
- type ListResolverEndpointsInput
- type ListResolverEndpointsOutput
- type ListResolverRuleAssociationsInput
- type ListResolverRuleAssociationsOutput
- type ListResolverRulesInput
- type ListResolverRulesOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Options
- func (o Options) Copy() Options
- func (o Options) GetCredentials() aws.CredentialsProvider
- func (o Options) GetEndpointOptions() ResolverOptions
- func (o Options) GetEndpointResolver() EndpointResolver
- func (o Options) GetHTTPSignerV4() HTTPSignerV4
- func (o Options) GetRegion() string
- func (o Options) GetRetryer() retry.Retryer
- type PutResolverRulePolicyInput
- type PutResolverRulePolicyOutput
- type ResolveEndpoint
- type ResolveEndpointMiddlewareOptions
- type ResolverOptions
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateResolverEndpointInput
- type UpdateResolverEndpointOutput
- type UpdateResolverRuleInput
- type UpdateResolverRuleOutput
Constants ¶
const ServiceAPIVersion = "2018-04-01"
const ServiceID = "Route53Resolver"
Variables ¶
This section is empty.
Functions ¶
func AddResolveEndpointMiddleware ¶
func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func RemoveResolveEndpointMiddleware ¶
func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error
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 *types.IpAddressUpdate // The ID of the resolver endpoint that you want to associate IP addresses with. ResolverEndpointId *string }
type AssociateResolverEndpointIpAddressOutput ¶
type AssociateResolverEndpointIpAddressOutput struct { // The response to an AssociateResolverEndpointIpAddress request. ResolverEndpoint *types.ResolverEndpoint // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type AssociateResolverRuleInput ¶
type AssociateResolverRuleInput struct { // The ID of the resolver rule that you want to associate with the VPC. To list the // existing resolver rules, use ListResolverRules (). ResolverRuleId *string // A name for the association that you're creating between a resolver rule and a // VPC. Name *string // The ID of the VPC that you want to associate the resolver rule with. VPCId *string }
type AssociateResolverRuleOutput ¶
type AssociateResolverRuleOutput struct { // Information about the AssociateResolverRule request, including the status of the // request. ResolverRuleAssociation *types.ResolverRuleAssociation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Here's how you set up to query an Amazon Route 53 private hosted zone from your network: <ol> <li> <p>Connect your network to a VPC using AWS Direct Connect or a VPN.</p> </li> <li> <p>Run the following AWS CLI command to create a Resolver endpoint:</p> <p> <code>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]</code> </p> <p>Note the resolver endpoint ID that appears in the response. You'll use it in step 3.</p> </li> <li> <p>Get the IP addresses for the Resolver endpoints:</p> <p> <code>get-resolver-endpoint --resolver-endpoint-id [resolver_endpoint_id]</code> </p> </li> <li> <p>In your network configuration, define the IP addresses that you got in step 3 as DNS servers.</p> <p>You can now query instance names in your VPCs and the names of records in your private hosted zone.</p> </li> </ol> <p>You can also perform the following operations using the AWS CLI:</p> <ul> <li> <p> <code>list-resolver-endpoints</code>: List all endpoints. The syntax includes options for pagination and filtering.</p> </li> <li> <p> <code>update-resolver-endpoints</code>: Add IP addresses to an endpoint or remove IP addresses from an endpoint. </p> </li> </ul> <p>To delete an endpoint, use the following AWS CLI command:</p> <p> <code>delete-resolver-endpoint --resolver-endpoint-id [resolver_endpoint_id]</code> </p>
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AssociateResolverEndpointIpAddress ¶
func (c *Client) AssociateResolverEndpointIpAddress(ctx context.Context, params *AssociateResolverEndpointIpAddressInput, optFns ...func(*Options)) (*AssociateResolverEndpointIpAddressOutput, error)
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 ().
func (*Client) AssociateResolverRule ¶
func (c *Client) AssociateResolverRule(ctx context.Context, params *AssociateResolverRuleInput, optFns ...func(*Options)) (*AssociateResolverRuleOutput, error)
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 ().
func (*Client) CreateResolverEndpoint ¶
func (c *Client) CreateResolverEndpoint(ctx context.Context, params *CreateResolverEndpointInput, optFns ...func(*Options)) (*CreateResolverEndpointOutput, error)
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.
func (*Client) CreateResolverRule ¶
func (c *Client) CreateResolverRule(ctx context.Context, params *CreateResolverRuleInput, optFns ...func(*Options)) (*CreateResolverRuleOutput, error)
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.
func (*Client) DeleteResolverEndpoint ¶
func (c *Client) DeleteResolverEndpoint(ctx context.Context, params *DeleteResolverEndpointInput, optFns ...func(*Options)) (*DeleteResolverEndpointOutput, error)
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.
func (*Client) DeleteResolverRule ¶
func (c *Client) DeleteResolverRule(ctx context.Context, params *DeleteResolverRuleInput, optFns ...func(*Options)) (*DeleteResolverRuleOutput, error)
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 ().
func (*Client) DisassociateResolverEndpointIpAddress ¶
func (c *Client) DisassociateResolverEndpointIpAddress(ctx context.Context, params *DisassociateResolverEndpointIpAddressInput, optFns ...func(*Options)) (*DisassociateResolverEndpointIpAddressOutput, error)
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 ().
func (*Client) DisassociateResolverRule ¶
func (c *Client) DisassociateResolverRule(ctx context.Context, params *DisassociateResolverRuleInput, optFns ...func(*Options)) (*DisassociateResolverRuleOutput, error)
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.
func (*Client) GetResolverEndpoint ¶
func (c *Client) GetResolverEndpoint(ctx context.Context, params *GetResolverEndpointInput, optFns ...func(*Options)) (*GetResolverEndpointOutput, error)
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.
func (*Client) GetResolverRule ¶
func (c *Client) GetResolverRule(ctx context.Context, params *GetResolverRuleInput, optFns ...func(*Options)) (*GetResolverRuleOutput, error)
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.
func (*Client) GetResolverRuleAssociation ¶
func (c *Client) GetResolverRuleAssociation(ctx context.Context, params *GetResolverRuleAssociationInput, optFns ...func(*Options)) (*GetResolverRuleAssociationOutput, error)
Gets information about an association between a specified resolver rule and a VPC. You associate a resolver rule and a VPC using AssociateResolverRule ().
func (*Client) GetResolverRulePolicy ¶
func (c *Client) GetResolverRulePolicy(ctx context.Context, params *GetResolverRulePolicyInput, optFns ...func(*Options)) (*GetResolverRulePolicyOutput, error)
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.
func (*Client) ListResolverEndpointIpAddresses ¶
func (c *Client) ListResolverEndpointIpAddresses(ctx context.Context, params *ListResolverEndpointIpAddressesInput, optFns ...func(*Options)) (*ListResolverEndpointIpAddressesOutput, error)
Gets the IP addresses for a specified resolver endpoint.
func (*Client) ListResolverEndpoints ¶
func (c *Client) ListResolverEndpoints(ctx context.Context, params *ListResolverEndpointsInput, optFns ...func(*Options)) (*ListResolverEndpointsOutput, error)
Lists all the resolver endpoints that were created using the current AWS account.
func (*Client) ListResolverRuleAssociations ¶
func (c *Client) ListResolverRuleAssociations(ctx context.Context, params *ListResolverRuleAssociationsInput, optFns ...func(*Options)) (*ListResolverRuleAssociationsOutput, error)
Lists the associations that were created between resolver rules and VPCs using the current AWS account.
func (*Client) ListResolverRules ¶
func (c *Client) ListResolverRules(ctx context.Context, params *ListResolverRulesInput, optFns ...func(*Options)) (*ListResolverRulesOutput, error)
Lists the resolver rules that were created using the current AWS account.
func (*Client) ListTagsForResource ¶
func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
Lists the tags that you associated with the specified resource.
func (*Client) PutResolverRulePolicy ¶
func (c *Client) PutResolverRulePolicy(ctx context.Context, params *PutResolverRulePolicyInput, optFns ...func(*Options)) (*PutResolverRulePolicyOutput, error)
Specifies the Resolver operations and resources that you want to allow another AWS account to be able to use.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds one or more tags to a specified resource.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes one or more tags from a specified resource.
func (*Client) UpdateResolverEndpoint ¶
func (c *Client) UpdateResolverEndpoint(ctx context.Context, params *UpdateResolverEndpointInput, optFns ...func(*Options)) (*UpdateResolverEndpointOutput, error)
Updates the name of an inbound or an outbound resolver endpoint.
func (*Client) UpdateResolverRule ¶
func (c *Client) UpdateResolverRule(ctx context.Context, params *UpdateResolverRuleInput, optFns ...func(*Options)) (*UpdateResolverRuleOutput, error)
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.
type CreateResolverEndpointInput ¶
type CreateResolverEndpointInput struct { // 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 []*string // A friendly name that lets you easily find a configuration in the Resolver // dashboard in the Route 53 console. Name *string // 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 []*types.IpAddressRequest // A list of the tag keys and values that you want to associate with the endpoint. Tags []*types.Tag // 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 *string // 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 types.ResolverEndpointDirection }
type CreateResolverEndpointOutput ¶
type CreateResolverEndpointOutput struct { // Information about the CreateResolverEndpoint request, including the status of // the request. ResolverEndpoint *types.ResolverEndpoint // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 *string // Specify FORWARD. Other resolver rule types aren't supported. RuleType types.RuleTypeOption // The IPs that you want Resolver to forward DNS queries to. You can specify only // IPv4 addresses. Separate IP addresses with a comma. TargetIps []*types.TargetAddress // A friendly name that lets you easily find a rule in the Resolver dashboard in // the Route 53 console. Name *string // 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 *string // A list of the tag keys and values that you want to associate with the endpoint. Tags []*types.Tag // 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 }
type CreateResolverRuleOutput ¶
type CreateResolverRuleOutput struct { // Information about the CreateResolverRule request, including the status of the // request. ResolverRule *types.ResolverRule // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteResolverEndpointInput ¶
type DeleteResolverEndpointInput struct { // The ID of the resolver endpoint that you want to delete. ResolverEndpointId *string }
type DeleteResolverEndpointOutput ¶
type DeleteResolverEndpointOutput struct { // Information about the DeleteResolverEndpoint request, including the status of // the request. ResolverEndpoint *types.ResolverEndpoint // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DeleteResolverRuleInput ¶
type DeleteResolverRuleInput struct { // The ID of the resolver rule that you want to delete. ResolverRuleId *string }
type DeleteResolverRuleOutput ¶
type DeleteResolverRuleOutput struct { // Information about the DeleteResolverRule request, including the status of the // request. ResolverRule *types.ResolverRule // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DisassociateResolverEndpointIpAddressInput ¶
type DisassociateResolverEndpointIpAddressInput struct { // The ID of the resolver endpoint that you want to disassociate an IP address // from. ResolverEndpointId *string // The IPv4 address that you want to remove from a resolver endpoint. IpAddress *types.IpAddressUpdate }
type DisassociateResolverEndpointIpAddressOutput ¶
type DisassociateResolverEndpointIpAddressOutput struct { // The response to an DisassociateResolverEndpointIpAddress request. ResolverEndpoint *types.ResolverEndpoint // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DisassociateResolverRuleOutput ¶
type DisassociateResolverRuleOutput struct { // Information about the DisassociateResolverRule request, including the status of // the request. ResolverRuleAssociation *types.ResolverRuleAssociation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func WithEndpointResolver ¶
func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver
WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)
type GetResolverEndpointInput ¶
type GetResolverEndpointInput struct { // The ID of the resolver endpoint that you want to get information about. ResolverEndpointId *string }
type GetResolverEndpointOutput ¶
type GetResolverEndpointOutput struct { // Information about the resolver endpoint that you specified in a // GetResolverEndpoint request. ResolverEndpoint *types.ResolverEndpoint // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetResolverRuleAssociationInput ¶
type GetResolverRuleAssociationInput struct { // The ID of the resolver rule association that you want to get information about. ResolverRuleAssociationId *string }
type GetResolverRuleAssociationOutput ¶
type GetResolverRuleAssociationOutput struct { // Information about the resolver rule association that you specified in a // GetResolverRuleAssociation request. ResolverRuleAssociation *types.ResolverRuleAssociation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetResolverRuleInput ¶
type GetResolverRuleInput struct { // The ID of the resolver rule that you want to get information about. ResolverRuleId *string }
type GetResolverRuleOutput ¶
type GetResolverRuleOutput struct { // Information about the resolver rule that you specified in a GetResolverRule // request. ResolverRule *types.ResolverRule // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetResolverRulePolicyInput ¶
type GetResolverRulePolicyInput struct { // The ID of the resolver rule policy that you want to get information about. Arn *string }
type GetResolverRulePolicyOutput ¶
type GetResolverRulePolicyOutput struct { // Information about the resolver rule policy that you specified in a // GetResolverRulePolicy request. ResolverRulePolicy *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type HTTPSignerV4 ¶
type ListResolverEndpointIpAddressesInput ¶
type ListResolverEndpointIpAddressesInput struct { // 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 // 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 *int32 // The ID of the resolver endpoint that you want to get IP addresses for. ResolverEndpointId *string }
type ListResolverEndpointIpAddressesOutput ¶
type ListResolverEndpointIpAddressesOutput struct { // The value that you specified for MaxResults in the request. MaxResults *int32 // 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 // 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 []*types.IpAddressResponse // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListResolverEndpointsInput ¶
type ListResolverEndpointsInput struct { // 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 *int32 // 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 // 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 []*types.Filter }
type ListResolverEndpointsOutput ¶
type ListResolverEndpointsOutput struct { // The value that you specified for MaxResults in the request. MaxResults *int32 // 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 // The resolver endpoints that were created by using the current AWS account, and // that match the specified filters, if any. ResolverEndpoints []*types.ResolverEndpoint // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListResolverRuleAssociationsInput ¶
type ListResolverRuleAssociationsInput struct { // 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 *int32 // 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 []*types.Filter // 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 ListResolverRuleAssociationsOutput ¶
type ListResolverRuleAssociationsOutput struct { // The associations that were created between resolver rules and VPCs using the // current AWS account, and that match the specified filters, if any. ResolverRuleAssociations []*types.ResolverRuleAssociation // The value that you specified for MaxResults in the request. MaxResults *int32 // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListResolverRulesInput ¶
type ListResolverRulesInput struct { // 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 // 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 *int32 // 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 []*types.Filter }
type ListResolverRulesOutput ¶
type ListResolverRulesOutput struct { // 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 // The value that you specified for MaxResults in the request. MaxResults *int32 // The resolver rules that were created using the current AWS account and that // match the specified filters, if any. ResolverRules []*types.ResolverRule // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) for the resource that you want to list tags for. ResourceArn *string // 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 *int32 // 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 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 // The tags that are associated with the resource that you specified in the // ListTagsForResource request. Tags []*types.Tag // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions ResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer retry.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
func (Options) GetCredentials ¶
func (o Options) GetCredentials() aws.CredentialsProvider
func (Options) GetEndpointOptions ¶
func (o Options) GetEndpointOptions() ResolverOptions
func (Options) GetEndpointResolver ¶
func (o Options) GetEndpointResolver() EndpointResolver
func (Options) GetHTTPSignerV4 ¶
func (o Options) GetHTTPSignerV4() HTTPSignerV4
func (Options) GetRetryer ¶
type PutResolverRulePolicyInput ¶
type PutResolverRulePolicyInput struct { // The Amazon Resource Name (ARN) of the account that you want to grant permissions // to. Arn *string // An AWS Identity and Access Management policy statement that lists the // permissions that you want to grant to another AWS account. ResolverRulePolicy *string }
type PutResolverRulePolicyOutput ¶
type PutResolverRulePolicyOutput struct { // Whether the PutResolverRulePolicy request was successful. ReturnValue *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to a PutResolverRulePolicy request.
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options ResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type ResolveEndpointMiddlewareOptions ¶
type ResolveEndpointMiddlewareOptions interface { GetEndpointResolver() EndpointResolver GetEndpointOptions() ResolverOptions }
type ResolverOptions ¶
type ResolverOptions = internalendpoints.Options
ResolverOptions is the service endpoint resolver options
type TagResourceInput ¶
type TagResourceInput struct { // The tags that you want to add to the specified resource. Tags []*types.Tag // 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 *string }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
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 *string // The tags that you want to remove to the specified resource. TagKeys []*string }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateResolverEndpointOutput ¶
type UpdateResolverEndpointOutput struct { // The response to an UpdateResolverEndpoint request. ResolverEndpoint *types.ResolverEndpoint // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type UpdateResolverRuleInput ¶
type UpdateResolverRuleInput struct { // The new settings for the resolver rule. Config *types.ResolverRuleConfig // The ID of the resolver rule that you want to update. ResolverRuleId *string }
type UpdateResolverRuleOutput ¶
type UpdateResolverRuleOutput struct { // The response to an UpdateResolverRule request. ResolverRule *types.ResolverRule // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
Source Files ¶
- api_client.go
- api_op_AssociateResolverEndpointIpAddress.go
- api_op_AssociateResolverRule.go
- api_op_CreateResolverEndpoint.go
- api_op_CreateResolverRule.go
- api_op_DeleteResolverEndpoint.go
- api_op_DeleteResolverRule.go
- api_op_DisassociateResolverEndpointIpAddress.go
- api_op_DisassociateResolverRule.go
- api_op_GetResolverEndpoint.go
- api_op_GetResolverRule.go
- api_op_GetResolverRuleAssociation.go
- api_op_GetResolverRulePolicy.go
- api_op_ListResolverEndpointIpAddresses.go
- api_op_ListResolverEndpoints.go
- api_op_ListResolverRuleAssociations.go
- api_op_ListResolverRules.go
- api_op_ListTagsForResource.go
- api_op_PutResolverRulePolicy.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateResolverEndpoint.go
- api_op_UpdateResolverRule.go
- deserializers.go
- endpoints.go
- serializers.go
- validators.go