Documentation ¶
Overview ¶
Package route53resolver provides the API client, operations, and parameter types for Amazon Route 53 Resolver.
When you create a VPC using Amazon VPC, you automatically get DNS resolution within the VPC from Route 53 Resolver. By default, Resolver answers DNS queries for VPC domain names such as domain names for EC2 instances or ELB load balancers. Resolver performs recursive lookups against public name servers for all other domain names. You can also configure DNS resolution between your VPC and your network over a Direct Connect or VPN connection: Forward DNS queries from resolvers on your network to Route 53 Resolver DNS resolvers on your network can forward DNS queries to Resolver in a specified VPC. This allows your DNS resolvers to easily resolve domain names for AWS resources such as EC2 instances or records in a Route 53 private hosted zone. For more information, see How DNS Resolvers on Your Network Forward DNS Queries to Route 53 Resolver (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver.html#resolver-overview-forward-network-to-vpc) in the Amazon Route 53 Developer Guide. Conditionally forward queries from a VPC to resolvers on your network You can configure Resolver to forward queries that it receives from EC2 instances in your VPCs to DNS resolvers on your network. To forward selected queries, you create Resolver rules that specify the domain names for the DNS queries that you want to forward (such as example.com), and the IP addresses of the DNS resolvers on your network that you want to forward the queries to. If a query matches multiple rules (example.com, acme.example.com), Resolver chooses the rule with the most specific match (acme.example.com) and forwards the query to the IP addresses that you specified in that rule. For more information, see How Route 53 Resolver Forwards DNS Queries from Your VPCs to Your Network (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver.html#resolver-overview-forward-vpc-to-network) in the Amazon Route 53 Developer Guide. Like Amazon VPC, Resolver is regional. In each region where you have VPCs, you can choose whether to forward queries from your VPCs to your network (outbound queries), from your network to your VPCs (inbound queries), or both.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- type AssociateResolverEndpointIpAddressInput
- type AssociateResolverEndpointIpAddressOutput
- type AssociateResolverQueryLogConfigInput
- type AssociateResolverQueryLogConfigOutput
- type AssociateResolverRuleInput
- type AssociateResolverRuleOutput
- type Client
- func (c *Client) AssociateResolverEndpointIpAddress(ctx context.Context, params *AssociateResolverEndpointIpAddressInput, ...) (*AssociateResolverEndpointIpAddressOutput, error)
- func (c *Client) AssociateResolverQueryLogConfig(ctx context.Context, params *AssociateResolverQueryLogConfigInput, ...) (*AssociateResolverQueryLogConfigOutput, 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) CreateResolverQueryLogConfig(ctx context.Context, params *CreateResolverQueryLogConfigInput, ...) (*CreateResolverQueryLogConfigOutput, 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) DeleteResolverQueryLogConfig(ctx context.Context, params *DeleteResolverQueryLogConfigInput, ...) (*DeleteResolverQueryLogConfigOutput, 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) DisassociateResolverQueryLogConfig(ctx context.Context, params *DisassociateResolverQueryLogConfigInput, ...) (*DisassociateResolverQueryLogConfigOutput, 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) GetResolverQueryLogConfig(ctx context.Context, params *GetResolverQueryLogConfigInput, ...) (*GetResolverQueryLogConfigOutput, error)
- func (c *Client) GetResolverQueryLogConfigAssociation(ctx context.Context, params *GetResolverQueryLogConfigAssociationInput, ...) (*GetResolverQueryLogConfigAssociationOutput, error)
- func (c *Client) GetResolverQueryLogConfigPolicy(ctx context.Context, params *GetResolverQueryLogConfigPolicyInput, ...) (*GetResolverQueryLogConfigPolicyOutput, 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) ListResolverQueryLogConfigAssociations(ctx context.Context, params *ListResolverQueryLogConfigAssociationsInput, ...) (*ListResolverQueryLogConfigAssociationsOutput, error)
- func (c *Client) ListResolverQueryLogConfigs(ctx context.Context, params *ListResolverQueryLogConfigsInput, ...) (*ListResolverQueryLogConfigsOutput, 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) PutResolverQueryLogConfigPolicy(ctx context.Context, params *PutResolverQueryLogConfigPolicyInput, ...) (*PutResolverQueryLogConfigPolicyOutput, 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 CreateResolverQueryLogConfigInput
- type CreateResolverQueryLogConfigOutput
- type CreateResolverRuleInput
- type CreateResolverRuleOutput
- type DeleteResolverEndpointInput
- type DeleteResolverEndpointOutput
- type DeleteResolverQueryLogConfigInput
- type DeleteResolverQueryLogConfigOutput
- type DeleteResolverRuleInput
- type DeleteResolverRuleOutput
- type DisassociateResolverEndpointIpAddressInput
- type DisassociateResolverEndpointIpAddressOutput
- type DisassociateResolverQueryLogConfigInput
- type DisassociateResolverQueryLogConfigOutput
- type DisassociateResolverRuleInput
- type DisassociateResolverRuleOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type GetResolverEndpointInput
- type GetResolverEndpointOutput
- type GetResolverQueryLogConfigAssociationInput
- type GetResolverQueryLogConfigAssociationOutput
- type GetResolverQueryLogConfigInput
- type GetResolverQueryLogConfigOutput
- type GetResolverQueryLogConfigPolicyInput
- type GetResolverQueryLogConfigPolicyOutput
- type GetResolverRuleAssociationInput
- type GetResolverRuleAssociationOutput
- type GetResolverRuleInput
- type GetResolverRuleOutput
- type GetResolverRulePolicyInput
- type GetResolverRulePolicyOutput
- type HTTPClient
- type HTTPSignerV4
- type IdempotencyTokenProvider
- type ListResolverEndpointIpAddressesAPIClient
- type ListResolverEndpointIpAddressesInput
- type ListResolverEndpointIpAddressesOutput
- type ListResolverEndpointIpAddressesPaginator
- type ListResolverEndpointIpAddressesPaginatorOptions
- type ListResolverEndpointsAPIClient
- type ListResolverEndpointsInput
- type ListResolverEndpointsOutput
- type ListResolverEndpointsPaginator
- type ListResolverEndpointsPaginatorOptions
- type ListResolverQueryLogConfigAssociationsAPIClient
- type ListResolverQueryLogConfigAssociationsInput
- type ListResolverQueryLogConfigAssociationsOutput
- type ListResolverQueryLogConfigAssociationsPaginator
- type ListResolverQueryLogConfigAssociationsPaginatorOptions
- type ListResolverQueryLogConfigsAPIClient
- type ListResolverQueryLogConfigsInput
- type ListResolverQueryLogConfigsOutput
- type ListResolverQueryLogConfigsPaginator
- type ListResolverQueryLogConfigsPaginatorOptions
- type ListResolverRuleAssociationsAPIClient
- type ListResolverRuleAssociationsInput
- type ListResolverRuleAssociationsOutput
- type ListResolverRuleAssociationsPaginator
- type ListResolverRuleAssociationsPaginatorOptions
- type ListResolverRulesAPIClient
- type ListResolverRulesInput
- type ListResolverRulesOutput
- type ListResolverRulesPaginator
- type ListResolverRulesPaginatorOptions
- type ListTagsForResourceAPIClient
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type ListTagsForResourcePaginator
- type ListTagsForResourcePaginatorOptions
- type Options
- type PutResolverQueryLogConfigPolicyInput
- type PutResolverQueryLogConfigPolicyOutput
- type PutResolverRulePolicyInput
- type PutResolverRulePolicyOutput
- type ResolveEndpoint
- 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 NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
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. // // This member is required. IpAddress *types.IpAddressUpdate // The ID of the Resolver endpoint that you want to associate IP addresses with. // // This member is required. 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 AssociateResolverQueryLogConfigInput ¶ added in v0.29.0
type AssociateResolverQueryLogConfigInput struct { // The ID of the query logging configuration that you want to associate a VPC with. // // This member is required. ResolverQueryLogConfigId *string // The ID of an Amazon VPC that you want this query logging configuration to log // queries for. The VPCs and the query logging configuration must be in the same // Region. // // This member is required. ResourceId *string }
type AssociateResolverQueryLogConfigOutput ¶ added in v0.29.0
type AssociateResolverQueryLogConfigOutput struct { // A complex type that contains settings for a specified association between an // Amazon VPC and a query logging configuration. ResolverQueryLogConfigAssociation *types.ResolverQueryLogConfigAssociation // 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 // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html). // // This member is required. ResolverRuleId *string // The ID of the VPC that you want to associate the Resolver rule with. // // This member is required. VPCId *string // A name for the association that you're creating between a Resolver rule and a // VPC. Name *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
}
Client provides the API client to make operations call for Amazon Route 53 Resolver.
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 add more than one IP address, submit one AssociateResolverEndpointIpAddress request for each IP address. To remove an IP address from an endpoint, see DisassociateResolverEndpointIpAddress (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverEndpointIpAddress.html).
func (*Client) AssociateResolverQueryLogConfig ¶ added in v0.29.0
func (c *Client) AssociateResolverQueryLogConfig(ctx context.Context, params *AssociateResolverQueryLogConfigInput, optFns ...func(*Options)) (*AssociateResolverQueryLogConfigOutput, error)
Associates an Amazon VPC with a specified query logging configuration. Route 53 Resolver logs DNS queries that originate in all of the Amazon VPCs that are associated with a specified query logging configuration. To associate more than one VPC with a configuration, submit one AssociateResolverQueryLogConfig request for each VPC. The VPCs that you associate with a query logging configuration must be in the same Region as the configuration. To remove a VPC from a query logging configuration, see DisassociateResolverQueryLogConfig (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverQueryLogConfig.html).
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 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverRule.html).
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.
* An outbound Resolver endpoint forwards DNS queries from the DNS service for a VPC to your network.
func (*Client) CreateResolverQueryLogConfig ¶ added in v0.29.0
func (c *Client) CreateResolverQueryLogConfig(ctx context.Context, params *CreateResolverQueryLogConfigInput, optFns ...func(*Options)) (*CreateResolverQueryLogConfigOutput, error)
Creates a Resolver query logging configuration, which defines where you want Resolver to save DNS query logs that originate in your VPCs. Resolver can log queries only for VPCs that are in the same Region as the query logging configuration. To specify which VPCs you want to log queries for, you use AssociateResolverQueryLogConfig. For more information, see AssociateResolverQueryLogConfig (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverQueryLogConfig.html). You can optionally use AWS Resource Access Manager (AWS RAM) to share a query logging configuration with other AWS accounts. The other accounts can then associate VPCs with the configuration. The query logs that Resolver creates for a configuration include all DNS queries that originate in all VPCs that are associated with the configuration.
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 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.
func (*Client) DeleteResolverQueryLogConfig ¶ added in v0.29.0
func (c *Client) DeleteResolverQueryLogConfig(ctx context.Context, params *DeleteResolverQueryLogConfigInput, optFns ...func(*Options)) (*DeleteResolverQueryLogConfigOutput, error)
Deletes a query logging configuration. When you delete a configuration, Resolver stops logging DNS queries for all of the Amazon VPCs that are associated with the configuration. This also applies if the query logging configuration is shared with other AWS accounts, and the other accounts have associated VPCs with the shared configuration. Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. See DisassociateResolverQueryLogConfig (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverQueryLogConfig.html). If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, you must stop sharing the configuration before you can delete a configuration. The accounts that you shared the configuration with can first disassociate VPCs that they associated with the configuration, but that's not necessary. If you stop sharing the configuration, those VPCs are automatically disassociated from the configuration.
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 information, see DisassociateResolverRule (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html).
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 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverEndpointIpAddress.html).
func (*Client) DisassociateResolverQueryLogConfig ¶ added in v0.29.0
func (c *Client) DisassociateResolverQueryLogConfig(ctx context.Context, params *DisassociateResolverQueryLogConfigInput, optFns ...func(*Options)) (*DisassociateResolverQueryLogConfigOutput, error)
Disassociates a VPC from a query logging configuration. Before you can delete a query logging configuration, you must first disassociate all VPCs from the configuration. If you used Resource Access Manager (RAM) to share a query logging configuration with other accounts, VPCs can be disassociated from the configuration in the following ways:
* The accounts that you shared the configuration with can disassociate VPCs from the configuration.
* You can stop sharing the configuration.
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) GetResolverQueryLogConfig ¶ added in v0.29.0
func (c *Client) GetResolverQueryLogConfig(ctx context.Context, params *GetResolverQueryLogConfigInput, optFns ...func(*Options)) (*GetResolverQueryLogConfigOutput, error)
Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the configuration is logging queries for and the location that logs are sent to.
func (*Client) GetResolverQueryLogConfigAssociation ¶ added in v0.29.0
func (c *Client) GetResolverQueryLogConfigAssociation(ctx context.Context, params *GetResolverQueryLogConfigAssociationInput, optFns ...func(*Options)) (*GetResolverQueryLogConfigAssociationOutput, error)
Gets information about a specified association between a Resolver query logging configuration and an Amazon VPC. When you associate a VPC with a query logging configuration, Resolver logs DNS queries that originate in that VPC.
func (*Client) GetResolverQueryLogConfigPolicy ¶ added in v0.29.0
func (c *Client) GetResolverQueryLogConfigPolicy(ctx context.Context, params *GetResolverQueryLogConfigPolicyInput, optFns ...func(*Options)) (*GetResolverQueryLogConfigPolicyOutput, error)
Gets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another AWS account to be able to use.
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 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html).
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) ListResolverQueryLogConfigAssociations ¶ added in v0.29.0
func (c *Client) ListResolverQueryLogConfigAssociations(ctx context.Context, params *ListResolverQueryLogConfigAssociationsInput, optFns ...func(*Options)) (*ListResolverQueryLogConfigAssociationsOutput, error)
Lists information about associations between Amazon VPCs and query logging configurations.
func (*Client) ListResolverQueryLogConfigs ¶ added in v0.29.0
func (c *Client) ListResolverQueryLogConfigs(ctx context.Context, params *ListResolverQueryLogConfigsInput, optFns ...func(*Options)) (*ListResolverQueryLogConfigsOutput, error)
Lists information about the specified query logging configurations. Each configuration defines where you want Resolver to save DNS query logs and specifies the VPCs that you want to log queries for.
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) PutResolverQueryLogConfigPolicy ¶ added in v0.29.0
func (c *Client) PutResolverQueryLogConfigPolicy(ctx context.Context, params *PutResolverQueryLogConfigPolicyInput, optFns ...func(*Options)) (*PutResolverQueryLogConfigPolicyOutput, error)
Specifies an AWS account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.
func (*Client) PutResolverRulePolicy ¶
func (c *Client) PutResolverRulePolicy(ctx context.Context, params *PutResolverRulePolicyInput, optFns ...func(*Options)) (*PutResolverRulePolicyOutput, error)
Specifies an AWS account that you want to share rules with, the Resolver rules that you want to share, and the operations that you want the account to be able to perform on those rules.
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 { // 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. // // This member is required. CreatorRequestId *string // Specify the applicable value: // // * INBOUND: Resolver forwards DNS queries to the // DNS service for a VPC from your network // // * OUTBOUND: Resolver forwards DNS // queries from the DNS service for a VPC to your network // // This member is required. Direction types.ResolverEndpointDirection // The subnets and IP addresses in your VPC that DNS queries originate from (for // outbound endpoints) or that you forward DNS queries to (for inbound endpoints). // The subnet ID uniquely identifies a VPC. // // This member is required. IpAddresses []types.IpAddressRequest // 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). Inbound and outbound rules must allow TCP and UDP access. For // inbound access, open port 53. For outbound access, open the port that you're // using for DNS queries on your network. // // This member is required. SecurityGroupIds []string // A friendly name that lets you easily find a configuration in the Resolver // dashboard in the Route 53 console. Name *string // A list of the tag keys and values that you want to associate with the endpoint. Tags []types.Tag }
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 CreateResolverQueryLogConfigInput ¶ added in v0.29.0
type CreateResolverQueryLogConfigInput 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. // // This member is required. CreatorRequestId *string // The ARN of the resource that you want Resolver to send query logs. You can send // query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data // Firehose delivery stream. Examples of valid values include the following: // // * S3 // bucket: arn:aws:s3:::examplebucket You can optionally append a file prefix to // the end of the ARN. arn:aws:s3:::examplebucket/development/ // // * CloudWatch Logs // log group: // arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:* // // * // Kinesis Data Firehose delivery stream: // arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name // // This member is required. DestinationArn *string // The name that you want to give the query logging configuration // // This member is required. Name *string // A list of the tag keys and values that you want to associate with the query // logging configuration. Tags []types.Tag }
type CreateResolverQueryLogConfigOutput ¶ added in v0.29.0
type CreateResolverQueryLogConfigOutput struct { // Information about the CreateResolverQueryLogConfig request, including the status // of the request. ResolverQueryLogConfig *types.ResolverQueryLogConfig // 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. // // This member is required. CreatorRequestId *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). // // This member is required. DomainName *string // When you want to forward DNS queries for specified domain name to resolvers on // your network, specify FORWARD. When you have a forwarding rule to forward DNS // queries for a domain to your network and you want Resolver to process queries // for a subdomain of that domain, specify SYSTEM. For example, to forward DNS // queries for example.com to resolvers on your network, you create a rule and // specify FORWARD for RuleType. To then have Resolver process queries for // apex.example.com, you create a rule and specify SYSTEM for RuleType. Currently, // only Resolver can create rules that have a value of RECURSIVE for RuleType. // // This member is required. RuleType types.RuleTypeOption // A friendly name that lets you easily find a rule in the Resolver dashboard in // the Route 53 console. Name *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 // A list of the tag keys and values that you want to associate with the endpoint. Tags []types.Tag // The IPs that you want Resolver to forward DNS queries to. You can specify only // IPv4 addresses. Separate IP addresses with a comma. TargetIps is available only // when the value of Rule type is FORWARD. TargetIps []types.TargetAddress }
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. // // This member is required. 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 DeleteResolverQueryLogConfigInput ¶ added in v0.29.0
type DeleteResolverQueryLogConfigInput struct { // The ID of the query logging configuration that you want to delete. // // This member is required. ResolverQueryLogConfigId *string }
type DeleteResolverQueryLogConfigOutput ¶ added in v0.29.0
type DeleteResolverQueryLogConfigOutput struct { // Information about the query logging configuration that you deleted, including // the status of the request. ResolverQueryLogConfig *types.ResolverQueryLogConfig // 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. // // This member is required. 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 IPv4 address that you want to remove from a Resolver endpoint. // // This member is required. IpAddress *types.IpAddressUpdate // The ID of the Resolver endpoint that you want to disassociate an IP address // from. // // This member is required. ResolverEndpointId *string }
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 DisassociateResolverQueryLogConfigInput ¶ added in v0.29.0
type DisassociateResolverQueryLogConfigInput struct { // The ID of the query logging configuration that you want to disassociate a // specified VPC from. // // This member is required. ResolverQueryLogConfigId *string // The ID of the Amazon VPC that you want to disassociate from a specified query // logging configuration. // // This member is required. ResourceId *string }
type DisassociateResolverQueryLogConfigOutput ¶ added in v0.29.0
type DisassociateResolverQueryLogConfigOutput struct { // A complex type that contains settings for the association that you deleted // between an Amazon VPC and a query logging configuration. ResolverQueryLogConfigAssociation *types.ResolverQueryLogConfigAssociation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type DisassociateResolverRuleInput ¶
type DisassociateResolverRuleInput struct { // The ID of the Resolver rule that you want to disassociate from the specified // VPC. // // This member is required. ResolverRuleId *string // The ID of the VPC that you want to disassociate the Resolver rule from. // // This member is required. VPCId *string }
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 EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (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 EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶ added in v0.29.0
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type GetResolverEndpointInput ¶
type GetResolverEndpointInput struct { // The ID of the Resolver endpoint that you want to get information about. // // This member is required. 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 GetResolverQueryLogConfigAssociationInput ¶ added in v0.29.0
type GetResolverQueryLogConfigAssociationInput struct { // The ID of the Resolver query logging configuration association that you want to // get information about. // // This member is required. ResolverQueryLogConfigAssociationId *string }
type GetResolverQueryLogConfigAssociationOutput ¶ added in v0.29.0
type GetResolverQueryLogConfigAssociationOutput struct { // Information about the Resolver query logging configuration association that you // specified in a GetQueryLogConfigAssociation request. ResolverQueryLogConfigAssociation *types.ResolverQueryLogConfigAssociation // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetResolverQueryLogConfigInput ¶ added in v0.29.0
type GetResolverQueryLogConfigInput struct { // The ID of the Resolver query logging configuration that you want to get // information about. // // This member is required. ResolverQueryLogConfigId *string }
type GetResolverQueryLogConfigOutput ¶ added in v0.29.0
type GetResolverQueryLogConfigOutput struct { // Information about the Resolver query logging configuration that you specified in // a GetQueryLogConfig request. ResolverQueryLogConfig *types.ResolverQueryLogConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type GetResolverQueryLogConfigPolicyInput ¶ added in v0.29.0
type GetResolverQueryLogConfigPolicyInput struct { // The ARN of the query logging configuration that you want to get the query // logging policy for. // // This member is required. Arn *string }
type GetResolverQueryLogConfigPolicyOutput ¶ added in v0.29.0
type GetResolverQueryLogConfigPolicyOutput struct { // Information about the query logging policy for the query logging configuration // that you specified in a GetResolverQueryLogConfigPolicy request. ResolverQueryLogConfigPolicy *string // 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. // // This member is required. 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. // // This member is required. 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. // // This member is required. 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 IdempotencyTokenProvider ¶ added in v0.29.0
IdempotencyTokenProvider interface for providing idempotency token
type ListResolverEndpointIpAddressesAPIClient ¶ added in v0.30.0
type ListResolverEndpointIpAddressesAPIClient interface {
ListResolverEndpointIpAddresses(context.Context, *ListResolverEndpointIpAddressesInput, ...func(*Options)) (*ListResolverEndpointIpAddressesOutput, error)
}
ListResolverEndpointIpAddressesAPIClient is a client that implements the ListResolverEndpointIpAddresses operation.
type ListResolverEndpointIpAddressesInput ¶
type ListResolverEndpointIpAddressesInput struct { // The ID of the Resolver endpoint that you want to get IP addresses for. // // This member is required. ResolverEndpointId *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 // 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 ListResolverEndpointIpAddressesOutput ¶
type ListResolverEndpointIpAddressesOutput struct { // Information about the IP addresses in your VPC that DNS queries originate from // (for outbound endpoints) or that you forward DNS queries to (for inbound // endpoints). IpAddresses []types.IpAddressResponse // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListResolverEndpointIpAddressesPaginator ¶ added in v0.30.0
type ListResolverEndpointIpAddressesPaginator struct {
// contains filtered or unexported fields
}
ListResolverEndpointIpAddressesPaginator is a paginator for ListResolverEndpointIpAddresses
func NewListResolverEndpointIpAddressesPaginator ¶ added in v0.30.0
func NewListResolverEndpointIpAddressesPaginator(client ListResolverEndpointIpAddressesAPIClient, params *ListResolverEndpointIpAddressesInput, optFns ...func(*ListResolverEndpointIpAddressesPaginatorOptions)) *ListResolverEndpointIpAddressesPaginator
NewListResolverEndpointIpAddressesPaginator returns a new ListResolverEndpointIpAddressesPaginator
func (*ListResolverEndpointIpAddressesPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListResolverEndpointIpAddressesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListResolverEndpointIpAddressesPaginator) NextPage ¶ added in v0.30.0
func (p *ListResolverEndpointIpAddressesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListResolverEndpointIpAddressesOutput, error)
NextPage retrieves the next ListResolverEndpointIpAddresses page.
type ListResolverEndpointIpAddressesPaginatorOptions ¶ added in v0.30.0
type ListResolverEndpointIpAddressesPaginatorOptions 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListResolverEndpointIpAddressesPaginatorOptions is the paginator options for ListResolverEndpointIpAddresses
type ListResolverEndpointsAPIClient ¶ added in v0.30.0
type ListResolverEndpointsAPIClient interface {
ListResolverEndpoints(context.Context, *ListResolverEndpointsInput, ...func(*Options)) (*ListResolverEndpointsOutput, error)
}
ListResolverEndpointsAPIClient is a client that implements the ListResolverEndpoints operation.
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 []types.Filter // 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 }
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 ListResolverEndpointsPaginator ¶ added in v0.30.0
type ListResolverEndpointsPaginator struct {
// contains filtered or unexported fields
}
ListResolverEndpointsPaginator is a paginator for ListResolverEndpoints
func NewListResolverEndpointsPaginator ¶ added in v0.30.0
func NewListResolverEndpointsPaginator(client ListResolverEndpointsAPIClient, params *ListResolverEndpointsInput, optFns ...func(*ListResolverEndpointsPaginatorOptions)) *ListResolverEndpointsPaginator
NewListResolverEndpointsPaginator returns a new ListResolverEndpointsPaginator
func (*ListResolverEndpointsPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListResolverEndpointsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListResolverEndpointsPaginator) NextPage ¶ added in v0.30.0
func (p *ListResolverEndpointsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListResolverEndpointsOutput, error)
NextPage retrieves the next ListResolverEndpoints page.
type ListResolverEndpointsPaginatorOptions ¶ added in v0.30.0
type ListResolverEndpointsPaginatorOptions 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListResolverEndpointsPaginatorOptions is the paginator options for ListResolverEndpoints
type ListResolverQueryLogConfigAssociationsAPIClient ¶ added in v0.30.0
type ListResolverQueryLogConfigAssociationsAPIClient interface {
ListResolverQueryLogConfigAssociations(context.Context, *ListResolverQueryLogConfigAssociationsInput, ...func(*Options)) (*ListResolverQueryLogConfigAssociationsOutput, error)
}
ListResolverQueryLogConfigAssociationsAPIClient is a client that implements the ListResolverQueryLogConfigAssociations operation.
type ListResolverQueryLogConfigAssociationsInput ¶ added in v0.29.0
type ListResolverQueryLogConfigAssociationsInput struct { // An optional specification to return a subset of query logging associations. If // you submit a second or subsequent ListResolverQueryLogConfigAssociations request // and specify the NextToken parameter, you must use the same values for Filters, // if any, as in the previous request. Filters []types.Filter // The maximum number of query logging associations that you want to return in the // response to a ListResolverQueryLogConfigAssociations request. If you don't // specify a value for MaxResults, Resolver returns up to 100 query logging // associations. MaxResults *int32 // For the first ListResolverQueryLogConfigAssociations request, omit this value. // If there are more than MaxResults query logging associations that match the // values that you specify for Filters, you can submit another // ListResolverQueryLogConfigAssociations request to get the next group of // associations. In the next request, specify the value of NextToken from the // previous response. NextToken *string // The element that you want Resolver to sort query logging associations by. If you // submit a second or subsequent ListResolverQueryLogConfigAssociations request and // specify the NextToken parameter, you must use the same value for SortBy, if any, // as in the previous request. Valid values include the following elements: // // * // CreationTime: The ID of the query logging association. // // * Error: If the value of // Status is FAILED, the value of Error indicates the cause: // // * // DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 // bucket) was deleted. // // * ACCESS_DENIED: Permissions don't allow sending logs to // the destination. // // If Status is a value other than FAILED, ERROR is null. // // * Id: // The ID of the query logging association // // * ResolverQueryLogConfigId: The ID of // the query logging configuration // // * ResourceId: The ID of the VPC that is // associated with the query logging configuration // // * Status: The current status of // the configuration. Valid values include the following: // // * CREATING: Resolver is // creating an association between an Amazon VPC and a query logging // configuration. // // * CREATED: The association between an Amazon VPC and a query // logging configuration was successfully created. Resolver is logging queries that // originate in the specified VPC. // // * DELETING: Resolver is deleting this query // logging association. // // * FAILED: Resolver either couldn't create or couldn't // delete the query logging association. Here are two common causes: // // * The // specified destination (for example, an Amazon S3 bucket) was deleted. // // * // Permissions don't allow sending logs to the destination. SortBy *string // If you specified a value for SortBy, the order that you want query logging // associations to be listed in, ASCENDING or DESCENDING. If you submit a second or // subsequent ListResolverQueryLogConfigAssociations request and specify the // NextToken parameter, you must use the same value for SortOrder, if any, as in // the previous request. SortOrder types.SortOrder }
type ListResolverQueryLogConfigAssociationsOutput ¶ added in v0.29.0
type ListResolverQueryLogConfigAssociationsOutput struct { // If there are more than MaxResults query logging associations, you can submit // another ListResolverQueryLogConfigAssociations request to get the next group of // associations. In the next request, specify the value of NextToken from the // previous response. NextToken *string // A list that contains one ResolverQueryLogConfigAssociations element for each // query logging association that matches the values that you specified for Filter. ResolverQueryLogConfigAssociations []types.ResolverQueryLogConfigAssociation // The total number of query logging associations that were created by the current // account in the specified Region. This count can differ from the number of // associations that are returned in a ListResolverQueryLogConfigAssociations // response, depending on the values that you specify in the request. TotalCount int32 // The total number of query logging associations that were created by the current // account in the specified Region and that match the filters that were specified // in the ListResolverQueryLogConfigAssociations request. For the total number of // associations that were created by the current account in the specified Region, // see TotalCount. TotalFilteredCount int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListResolverQueryLogConfigAssociationsPaginator ¶ added in v0.30.0
type ListResolverQueryLogConfigAssociationsPaginator struct {
// contains filtered or unexported fields
}
ListResolverQueryLogConfigAssociationsPaginator is a paginator for ListResolverQueryLogConfigAssociations
func NewListResolverQueryLogConfigAssociationsPaginator ¶ added in v0.30.0
func NewListResolverQueryLogConfigAssociationsPaginator(client ListResolverQueryLogConfigAssociationsAPIClient, params *ListResolverQueryLogConfigAssociationsInput, optFns ...func(*ListResolverQueryLogConfigAssociationsPaginatorOptions)) *ListResolverQueryLogConfigAssociationsPaginator
NewListResolverQueryLogConfigAssociationsPaginator returns a new ListResolverQueryLogConfigAssociationsPaginator
func (*ListResolverQueryLogConfigAssociationsPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListResolverQueryLogConfigAssociationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListResolverQueryLogConfigAssociationsPaginator) NextPage ¶ added in v0.30.0
func (p *ListResolverQueryLogConfigAssociationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListResolverQueryLogConfigAssociationsOutput, error)
NextPage retrieves the next ListResolverQueryLogConfigAssociations page.
type ListResolverQueryLogConfigAssociationsPaginatorOptions ¶ added in v0.30.0
type ListResolverQueryLogConfigAssociationsPaginatorOptions struct { // The maximum number of query logging associations that you want to return in the // response to a ListResolverQueryLogConfigAssociations request. If you don't // specify a value for MaxResults, Resolver returns up to 100 query logging // associations. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListResolverQueryLogConfigAssociationsPaginatorOptions is the paginator options for ListResolverQueryLogConfigAssociations
type ListResolverQueryLogConfigsAPIClient ¶ added in v0.30.0
type ListResolverQueryLogConfigsAPIClient interface {
ListResolverQueryLogConfigs(context.Context, *ListResolverQueryLogConfigsInput, ...func(*Options)) (*ListResolverQueryLogConfigsOutput, error)
}
ListResolverQueryLogConfigsAPIClient is a client that implements the ListResolverQueryLogConfigs operation.
type ListResolverQueryLogConfigsInput ¶ added in v0.29.0
type ListResolverQueryLogConfigsInput struct { // An optional specification to return a subset of query logging configurations. If // you submit a second or subsequent ListResolverQueryLogConfigs request and // specify the NextToken parameter, you must use the same values for Filters, if // any, as in the previous request. Filters []types.Filter // The maximum number of query logging configurations that you want to return in // the response to a ListResolverQueryLogConfigs request. If you don't specify a // value for MaxResults, Resolver returns up to 100 query logging configurations. MaxResults *int32 // For the first ListResolverQueryLogConfigs request, omit this value. If there are // more than MaxResults query logging configurations that match the values that you // specify for Filters, you can submit another ListResolverQueryLogConfigs request // to get the next group of configurations. In the next request, specify the value // of NextToken from the previous response. NextToken *string // The element that you want Resolver to sort query logging configurations by. If // you submit a second or subsequent ListResolverQueryLogConfigs request and // specify the NextToken parameter, you must use the same value for SortBy, if any, // as in the previous request. Valid values include the following elements: // // * Arn: // The ARN of the query logging configuration // // * AssociationCount: The number of // VPCs that are associated with the specified configuration // // * CreationTime: The // date and time that Resolver returned when the configuration was created // // * // CreatorRequestId: The value that was specified for CreatorRequestId when the // configuration was created // // * DestinationArn: The location that logs are sent // to // // * Id: The ID of the configuration // // * Name: The name of the configuration // // * // OwnerId: The AWS account number of the account that created the configuration // // * // ShareStatus: Whether the configuration is shared with other AWS accounts or // shared with the current account by another AWS account. Sharing is configured // through AWS Resource Access Manager (AWS RAM). // // * Status: The current status of // the configuration. Valid values include the following: // // * CREATING: Resolver is // creating the query logging configuration. // // * CREATED: The query logging // configuration was successfully created. Resolver is logging queries that // originate in the specified VPC. // // * DELETING: Resolver is deleting this query // logging configuration. // // * FAILED: Resolver either couldn't create or couldn't // delete the query logging configuration. Here are two common causes: // // * The // specified destination (for example, an Amazon S3 bucket) was deleted. // // * // Permissions don't allow sending logs to the destination. SortBy *string // If you specified a value for SortBy, the order that you want query logging // configurations to be listed in, ASCENDING or DESCENDING. If you submit a second // or subsequent ListResolverQueryLogConfigs request and specify the NextToken // parameter, you must use the same value for SortOrder, if any, as in the previous // request. SortOrder types.SortOrder }
type ListResolverQueryLogConfigsOutput ¶ added in v0.29.0
type ListResolverQueryLogConfigsOutput struct { // If there are more than MaxResults query logging configurations, you can submit // another ListResolverQueryLogConfigs request to get the next group of // configurations. In the next request, specify the value of NextToken from the // previous response. NextToken *string // A list that contains one ResolverQueryLogConfig element for each query logging // configuration that matches the values that you specified for Filter. ResolverQueryLogConfigs []types.ResolverQueryLogConfig // The total number of query logging configurations that were created by the // current account in the specified Region. This count can differ from the number // of query logging configurations that are returned in a // ListResolverQueryLogConfigs response, depending on the values that you specify // in the request. TotalCount int32 // The total number of query logging configurations that were created by the // current account in the specified Region and that match the filters that were // specified in the ListResolverQueryLogConfigs request. For the total number of // query logging configurations that were created by the current account in the // specified Region, see TotalCount. TotalFilteredCount int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListResolverQueryLogConfigsPaginator ¶ added in v0.30.0
type ListResolverQueryLogConfigsPaginator struct {
// contains filtered or unexported fields
}
ListResolverQueryLogConfigsPaginator is a paginator for ListResolverQueryLogConfigs
func NewListResolverQueryLogConfigsPaginator ¶ added in v0.30.0
func NewListResolverQueryLogConfigsPaginator(client ListResolverQueryLogConfigsAPIClient, params *ListResolverQueryLogConfigsInput, optFns ...func(*ListResolverQueryLogConfigsPaginatorOptions)) *ListResolverQueryLogConfigsPaginator
NewListResolverQueryLogConfigsPaginator returns a new ListResolverQueryLogConfigsPaginator
func (*ListResolverQueryLogConfigsPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListResolverQueryLogConfigsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListResolverQueryLogConfigsPaginator) NextPage ¶ added in v0.30.0
func (p *ListResolverQueryLogConfigsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListResolverQueryLogConfigsOutput, error)
NextPage retrieves the next ListResolverQueryLogConfigs page.
type ListResolverQueryLogConfigsPaginatorOptions ¶ added in v0.30.0
type ListResolverQueryLogConfigsPaginatorOptions struct { // The maximum number of query logging configurations that you want to return in // the response to a ListResolverQueryLogConfigs request. If you don't specify a // value for MaxResults, Resolver returns up to 100 query logging configurations. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListResolverQueryLogConfigsPaginatorOptions is the paginator options for ListResolverQueryLogConfigs
type ListResolverRuleAssociationsAPIClient ¶ added in v0.30.0
type ListResolverRuleAssociationsAPIClient interface {
ListResolverRuleAssociations(context.Context, *ListResolverRuleAssociationsInput, ...func(*Options)) (*ListResolverRuleAssociationsOutput, error)
}
ListResolverRuleAssociationsAPIClient is a client that implements the ListResolverRuleAssociations operation.
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 []types.Filter // 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 // 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 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 // 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 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
type ListResolverRuleAssociationsPaginator ¶ added in v0.30.0
type ListResolverRuleAssociationsPaginator struct {
// contains filtered or unexported fields
}
ListResolverRuleAssociationsPaginator is a paginator for ListResolverRuleAssociations
func NewListResolverRuleAssociationsPaginator ¶ added in v0.30.0
func NewListResolverRuleAssociationsPaginator(client ListResolverRuleAssociationsAPIClient, params *ListResolverRuleAssociationsInput, optFns ...func(*ListResolverRuleAssociationsPaginatorOptions)) *ListResolverRuleAssociationsPaginator
NewListResolverRuleAssociationsPaginator returns a new ListResolverRuleAssociationsPaginator
func (*ListResolverRuleAssociationsPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListResolverRuleAssociationsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListResolverRuleAssociationsPaginator) NextPage ¶ added in v0.30.0
func (p *ListResolverRuleAssociationsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListResolverRuleAssociationsOutput, error)
NextPage retrieves the next ListResolverRuleAssociations page.
type ListResolverRuleAssociationsPaginatorOptions ¶ added in v0.30.0
type ListResolverRuleAssociationsPaginatorOptions 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListResolverRuleAssociationsPaginatorOptions is the paginator options for ListResolverRuleAssociations
type ListResolverRulesAPIClient ¶ added in v0.30.0
type ListResolverRulesAPIClient interface {
ListResolverRules(context.Context, *ListResolverRulesInput, ...func(*Options)) (*ListResolverRulesOutput, error)
}
ListResolverRulesAPIClient is a client that implements the ListResolverRules operation.
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 []types.Filter // 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 // 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 ListResolverRulesOutput ¶
type ListResolverRulesOutput struct { // The value that you specified for MaxResults in the request. MaxResults *int32 // 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 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 ListResolverRulesPaginator ¶ added in v0.30.0
type ListResolverRulesPaginator struct {
// contains filtered or unexported fields
}
ListResolverRulesPaginator is a paginator for ListResolverRules
func NewListResolverRulesPaginator ¶ added in v0.30.0
func NewListResolverRulesPaginator(client ListResolverRulesAPIClient, params *ListResolverRulesInput, optFns ...func(*ListResolverRulesPaginatorOptions)) *ListResolverRulesPaginator
NewListResolverRulesPaginator returns a new ListResolverRulesPaginator
func (*ListResolverRulesPaginator) HasMorePages ¶ added in v0.30.0
func (p *ListResolverRulesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListResolverRulesPaginator) NextPage ¶ added in v0.30.0
func (p *ListResolverRulesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListResolverRulesOutput, error)
NextPage retrieves the next ListResolverRules page.
type ListResolverRulesPaginatorOptions ¶ added in v0.30.0
type ListResolverRulesPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListResolverRulesPaginatorOptions is the paginator options for ListResolverRules
type ListTagsForResourceAPIClient ¶ added in v0.30.0
type ListTagsForResourceAPIClient interface {
ListTagsForResource(context.Context, *ListTagsForResourceInput, ...func(*Options)) (*ListTagsForResourceOutput, error)
}
ListTagsForResourceAPIClient is a client that implements the ListTagsForResource operation.
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) for the resource that you want to list tags for. // // This member is required. 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 ListTagsForResourcePaginator ¶ added in v0.30.0
type ListTagsForResourcePaginator struct {
// contains filtered or unexported fields
}
ListTagsForResourcePaginator is a paginator for ListTagsForResource
func NewListTagsForResourcePaginator ¶ added in v0.30.0
func NewListTagsForResourcePaginator(client ListTagsForResourceAPIClient, params *ListTagsForResourceInput, optFns ...func(*ListTagsForResourcePaginatorOptions)) *ListTagsForResourcePaginator
NewListTagsForResourcePaginator returns a new ListTagsForResourcePaginator
func (*ListTagsForResourcePaginator) HasMorePages ¶ added in v0.30.0
func (p *ListTagsForResourcePaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListTagsForResourcePaginator) NextPage ¶ added in v0.30.0
func (p *ListTagsForResourcePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)
NextPage retrieves the next ListTagsForResource page.
type ListTagsForResourcePaginatorOptions ¶ added in v0.30.0
type ListTagsForResourcePaginatorOptions 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListTagsForResourcePaginatorOptions is the paginator options for ListTagsForResource
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 // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // Provides idempotency tokens values that will be automatically populated into // idempotent API operations. IdempotencyTokenProvider IdempotencyTokenProvider // The logger writer interface to write logging messages to. Logger logging.Logger // 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 aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
type PutResolverQueryLogConfigPolicyInput ¶ added in v0.29.0
type PutResolverQueryLogConfigPolicyInput struct { // The Amazon Resource Name (ARN) of the account that you want to share rules with. // // This member is required. Arn *string // An AWS Identity and Access Management policy statement that lists the query // logging configurations that you want to share with another AWS account and the // operations that you want the account to be able to perform. You can specify the // following operations in the Actions section of the statement: // // * // route53resolver:AssociateResolverQueryLogConfig // // * // route53resolver:DisassociateResolverQueryLogConfig // // * // route53resolver:ListResolverQueryLogConfigAssociations // // * // route53resolver:ListResolverQueryLogConfigs // // In the Resource section of the // statement, you specify the ARNs for the query logging configurations that you // want to share with the account that you specified in Arn. // // This member is required. ResolverQueryLogConfigPolicy *string }
type PutResolverQueryLogConfigPolicyOutput ¶ added in v0.29.0
type PutResolverQueryLogConfigPolicyOutput struct { // Whether the PutResolverQueryLogConfigPolicy request was successful. ReturnValue bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata }
The response to a PutResolverQueryLogConfigPolicy request.
type PutResolverRulePolicyInput ¶
type PutResolverRulePolicyInput struct { // The Amazon Resource Name (ARN) of the account that you want to share rules with. // // This member is required. Arn *string // An AWS Identity and Access Management policy statement that lists the rules that // you want to share with another AWS account and the operations that you want the // account to be able to perform. You can specify the following operations in the // Actions section of the statement: // // * route53resolver:GetResolverRule // // * // route53resolver:AssociateResolverRule // // * // route53resolver:DisassociateResolverRule // // * route53resolver:ListResolverRules // // * // route53resolver:ListResolverRuleAssociations // // In the Resource section of the // statement, you specify the ARNs for the rules that you want to share with the // account that you specified in Arn. // // This member is required. 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 EndpointResolverOptions }
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 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 // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html) // // * // GetResolverRule // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html) // // * // GetResolverRuleAssociation // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRuleAssociation.html) // // * // ListResolverEndpoints // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html) // // * // ListResolverRuleAssociations // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html) // // * // ListResolverRules // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html) // // This member is required. ResourceArn *string // The tags that you want to add to the specified resource. // // This member is required. Tags []types.Tag }
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 // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html) // // * // GetResolverRule // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html) // // * // GetResolverRuleAssociation // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRuleAssociation.html) // // * // ListResolverEndpoints // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html) // // * // ListResolverRuleAssociations // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html) // // * // ListResolverRules // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html) // // This member is required. ResourceArn *string // The tags that you want to remove to the specified resource. // // This member is required. 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. // // This member is required. Config *types.ResolverRuleConfig // The ID of the Resolver rule that you want to update. // // This member is required. 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_AssociateResolverQueryLogConfig.go
- api_op_AssociateResolverRule.go
- api_op_CreateResolverEndpoint.go
- api_op_CreateResolverQueryLogConfig.go
- api_op_CreateResolverRule.go
- api_op_DeleteResolverEndpoint.go
- api_op_DeleteResolverQueryLogConfig.go
- api_op_DeleteResolverRule.go
- api_op_DisassociateResolverEndpointIpAddress.go
- api_op_DisassociateResolverQueryLogConfig.go
- api_op_DisassociateResolverRule.go
- api_op_GetResolverEndpoint.go
- api_op_GetResolverQueryLogConfig.go
- api_op_GetResolverQueryLogConfigAssociation.go
- api_op_GetResolverQueryLogConfigPolicy.go
- api_op_GetResolverRule.go
- api_op_GetResolverRuleAssociation.go
- api_op_GetResolverRulePolicy.go
- api_op_ListResolverEndpointIpAddresses.go
- api_op_ListResolverEndpoints.go
- api_op_ListResolverQueryLogConfigAssociations.go
- api_op_ListResolverQueryLogConfigs.go
- api_op_ListResolverRuleAssociations.go
- api_op_ListResolverRules.go
- api_op_ListTagsForResource.go
- api_op_PutResolverQueryLogConfigPolicy.go
- api_op_PutResolverRulePolicy.go
- api_op_TagResource.go
- api_op_UntagResource.go
- api_op_UpdateResolverEndpoint.go
- api_op_UpdateResolverRule.go
- deserializers.go
- doc.go
- endpoints.go
- serializers.go
- validators.go