route53resolver

package module
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 28 Imported by: 21

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

View Source
const ServiceAPIVersion = "2018-04-01"
View Source
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.

func WithEndpointResolver

func WithEndpointResolver(v EndpointResolver) func(*Options)

WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.

Types

type AssociateFirewallRuleGroupInput added in v1.3.0

type AssociateFirewallRuleGroupInput 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 unique identifier of the firewall rule group.
	//
	// This member is required.
	FirewallRuleGroupId *string

	// A name that lets you identify the association, to manage and use it.
	//
	// This member is required.
	Name *string

	// The setting that determines the processing order of the rule group among the
	// rule groups that you associate with the specified VPC. DNS Firewall filters VPC
	// traffic starting from rule group with the lowest numeric priority setting. You
	// must specify a unique priority for each rule group that you associate with a
	// single VPC. To make it easier to insert rule groups later, leave space between
	// the numbers, for example, use 100, 200, and so on. You can change the priority
	// setting for a rule group association after you create it.
	//
	// This member is required.
	Priority *int32

	// The unique identifier of the VPC that you want to associate with the rule group.
	//
	// This member is required.
	VpcId *string

	// If enabled, this setting disallows modification or removal of the association,
	// to help prevent against accidentally altering DNS firewall protections. When you
	// create the association, the default setting is DISABLED.
	MutationProtection types.MutationProtectionStatus

	// A list of the tag keys and values that you want to associate with the rule group
	// association.
	Tags []types.Tag
}

type AssociateFirewallRuleGroupOutput added in v1.3.0

type AssociateFirewallRuleGroupOutput struct {

	// The association that you just created. The association has an Id that you can
	// use to identify it in other requests, like update and delete.
	FirewallRuleGroupAssociation *types.FirewallRuleGroupAssociation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

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

func New(options Options, optFns ...func(*Options)) *Client

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

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) AssociateFirewallRuleGroup added in v1.3.0

func (c *Client) AssociateFirewallRuleGroup(ctx context.Context, params *AssociateFirewallRuleGroupInput, optFns ...func(*Options)) (*AssociateFirewallRuleGroupOutput, error)

Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the VPC.

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) CreateFirewallDomainList added in v1.3.0

func (c *Client) CreateFirewallDomainList(ctx context.Context, params *CreateFirewallDomainListInput, optFns ...func(*Options)) (*CreateFirewallDomainListOutput, error)

Creates an empty firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains.

func (*Client) CreateFirewallRule added in v1.3.0

func (c *Client) CreateFirewallRule(ctx context.Context, params *CreateFirewallRuleInput, optFns ...func(*Options)) (*CreateFirewallRuleOutput, error)

Creates a single DNS Firewall rule in the specified rule group, using the specified domain list.

func (*Client) CreateFirewallRuleGroup added in v1.3.0

func (c *Client) CreateFirewallRuleGroup(ctx context.Context, params *CreateFirewallRuleGroupInput, optFns ...func(*Options)) (*CreateFirewallRuleGroupOutput, error)

Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new rule group by calling CreateFirewallRule.

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) DeleteFirewallDomainList added in v1.3.0

func (c *Client) DeleteFirewallDomainList(ctx context.Context, params *DeleteFirewallDomainListInput, optFns ...func(*Options)) (*DeleteFirewallDomainListOutput, error)

Deletes the specified domain list.

func (*Client) DeleteFirewallRule added in v1.3.0

func (c *Client) DeleteFirewallRule(ctx context.Context, params *DeleteFirewallRuleInput, optFns ...func(*Options)) (*DeleteFirewallRuleOutput, error)

Deletes the specified firewall rule.

func (*Client) DeleteFirewallRuleGroup added in v1.3.0

func (c *Client) DeleteFirewallRuleGroup(ctx context.Context, params *DeleteFirewallRuleGroupInput, optFns ...func(*Options)) (*DeleteFirewallRuleGroupOutput, error)

Deletes the specified firewall rule group.

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) DisassociateFirewallRuleGroup added in v1.3.0

func (c *Client) DisassociateFirewallRuleGroup(ctx context.Context, params *DisassociateFirewallRuleGroupInput, optFns ...func(*Options)) (*DisassociateFirewallRuleGroupOutput, error)

Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from the VPC.

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) GetFirewallConfig added in v1.3.0

func (c *Client) GetFirewallConfig(ctx context.Context, params *GetFirewallConfigInput, optFns ...func(*Options)) (*GetFirewallConfigOutput, error)

Retrieves the configuration of the firewall behavior provided by DNS Firewall for a single Amazon virtual private cloud (VPC).

func (*Client) GetFirewallDomainList added in v1.3.0

func (c *Client) GetFirewallDomainList(ctx context.Context, params *GetFirewallDomainListInput, optFns ...func(*Options)) (*GetFirewallDomainListOutput, error)

Retrieves the specified firewall domain list.

func (*Client) GetFirewallRuleGroup added in v1.3.0

func (c *Client) GetFirewallRuleGroup(ctx context.Context, params *GetFirewallRuleGroupInput, optFns ...func(*Options)) (*GetFirewallRuleGroupOutput, error)

Retrieves the specified firewall rule group.

func (*Client) GetFirewallRuleGroupAssociation added in v1.3.0

func (c *Client) GetFirewallRuleGroupAssociation(ctx context.Context, params *GetFirewallRuleGroupAssociationInput, optFns ...func(*Options)) (*GetFirewallRuleGroupAssociationOutput, error)

Retrieves a firewall rule group association, which enables DNS filtering for a VPC with one rule group. A VPC can have more than one firewall rule group association, and a rule group can be associated with more than one VPC.

func (*Client) GetFirewallRuleGroupPolicy added in v1.3.0

func (c *Client) GetFirewallRuleGroupPolicy(ctx context.Context, params *GetFirewallRuleGroupPolicyInput, optFns ...func(*Options)) (*GetFirewallRuleGroupPolicyOutput, error)

Returns the AWS Identity and Access Management (AWS IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using AWS Resource Access Manager (RAM).

func (*Client) GetResolverDnssecConfig added in v1.2.0

func (c *Client) GetResolverDnssecConfig(ctx context.Context, params *GetResolverDnssecConfigInput, optFns ...func(*Options)) (*GetResolverDnssecConfigOutput, error)

Gets DNSSEC validation information for a specified resource.

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 the Resolver rule policy for a specified rule. A Resolver rule policy includes the rule that you want to share with another account, the account that you want to share the rule with, and the Resolver operations that you want to allow the account to use.

func (*Client) ImportFirewallDomains added in v1.3.0

func (c *Client) ImportFirewallDomains(ctx context.Context, params *ImportFirewallDomainsInput, optFns ...func(*Options)) (*ImportFirewallDomainsOutput, error)

Imports domain names from a file into a domain list, for use in a DNS firewall rule group. Each domain specification in your domain list must satisfy the following requirements:

* It can optionally start with * (asterisk).

* With the exception of the optional starting asterisk, it must only contain the following characters: A-Z, a-z, 0-9, - (hyphen).

* It must be from 1-255 characters in length.

func (*Client) ListFirewallConfigs added in v1.3.0

func (c *Client) ListFirewallConfigs(ctx context.Context, params *ListFirewallConfigsInput, optFns ...func(*Options)) (*ListFirewallConfigsOutput, error)

Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs. A single call might return only a partial list of the configurations. For information, see MaxResults.

func (*Client) ListFirewallDomainLists added in v1.3.0

func (c *Client) ListFirewallDomainLists(ctx context.Context, params *ListFirewallDomainListsInput, optFns ...func(*Options)) (*ListFirewallDomainListsOutput, error)

Retrieves the firewall domain lists that you have defined. For each firewall domain list, you can retrieve the domains that are defined for a list by calling ListFirewallDomains. A single call to this list operation might return only a partial list of the domain lists. For information, see MaxResults.

func (*Client) ListFirewallDomains added in v1.3.0

func (c *Client) ListFirewallDomains(ctx context.Context, params *ListFirewallDomainsInput, optFns ...func(*Options)) (*ListFirewallDomainsOutput, error)

Retrieves the domains that you have defined for the specified firewall domain list. A single call might return only a partial list of the domains. For information, see MaxResults.

func (*Client) ListFirewallRuleGroupAssociations added in v1.3.0

func (c *Client) ListFirewallRuleGroupAssociations(ctx context.Context, params *ListFirewallRuleGroupAssociationsInput, optFns ...func(*Options)) (*ListFirewallRuleGroupAssociationsOutput, error)

Retrieves the firewall rule group associations that you have defined. Each association enables DNS filtering for a VPC with one rule group. A single call might return only a partial list of the associations. For information, see MaxResults.

func (*Client) ListFirewallRuleGroups added in v1.3.0

func (c *Client) ListFirewallRuleGroups(ctx context.Context, params *ListFirewallRuleGroupsInput, optFns ...func(*Options)) (*ListFirewallRuleGroupsOutput, error)

Retrieves the minimal high-level information for the rule groups that you have defined. A single call might return only a partial list of the rule groups. For information, see MaxResults.

func (*Client) ListFirewallRules added in v1.3.0

func (c *Client) ListFirewallRules(ctx context.Context, params *ListFirewallRulesInput, optFns ...func(*Options)) (*ListFirewallRulesOutput, error)

Retrieves the firewall rules that you have defined for the specified firewall rule group. DNS Firewall uses the rules in a rule group to filter DNS network traffic for a VPC. A single call might return only a partial list of the rules. For information, see MaxResults.

func (*Client) ListResolverDnssecConfigs added in v1.2.0

func (c *Client) ListResolverDnssecConfigs(ctx context.Context, params *ListResolverDnssecConfigsInput, optFns ...func(*Options)) (*ListResolverDnssecConfigsOutput, error)

Lists the configurations for DNSSEC validation that are associated with the current AWS account.

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) PutFirewallRuleGroupPolicy added in v1.3.0

func (c *Client) PutFirewallRuleGroupPolicy(ctx context.Context, params *PutFirewallRuleGroupPolicyInput, optFns ...func(*Options)) (*PutFirewallRuleGroupPolicyOutput, error)

Attaches an AWS Identity and Access Management (AWS IAM) policy for sharing the rule group. You can use the policy to share the rule group using AWS Resource Access Manager (RAM).

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 rule that you want to share with another account, the account that you want to share the rule with, and the operations that you want the account to be able to perform on the rule.

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) UpdateFirewallConfig added in v1.3.0

func (c *Client) UpdateFirewallConfig(ctx context.Context, params *UpdateFirewallConfigInput, optFns ...func(*Options)) (*UpdateFirewallConfigOutput, error)

Updates the configuration of the firewall behavior provided by DNS Firewall for a single Amazon virtual private cloud (VPC).

func (*Client) UpdateFirewallDomains added in v1.3.0

func (c *Client) UpdateFirewallDomains(ctx context.Context, params *UpdateFirewallDomainsInput, optFns ...func(*Options)) (*UpdateFirewallDomainsOutput, error)

Updates the firewall domain list from an array of domain specifications.

func (*Client) UpdateFirewallRule added in v1.3.0

func (c *Client) UpdateFirewallRule(ctx context.Context, params *UpdateFirewallRuleInput, optFns ...func(*Options)) (*UpdateFirewallRuleOutput, error)

Updates the specified firewall rule.

func (*Client) UpdateFirewallRuleGroupAssociation added in v1.3.0

func (c *Client) UpdateFirewallRuleGroupAssociation(ctx context.Context, params *UpdateFirewallRuleGroupAssociationInput, optFns ...func(*Options)) (*UpdateFirewallRuleGroupAssociationOutput, error)

Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC.

func (*Client) UpdateResolverDnssecConfig added in v1.2.0

func (c *Client) UpdateResolverDnssecConfig(ctx context.Context, params *UpdateResolverDnssecConfigInput, optFns ...func(*Options)) (*UpdateResolverDnssecConfigOutput, error)

Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.

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 CreateFirewallDomainListInput added in v1.3.0

type CreateFirewallDomainListInput struct {

	// A unique string that identifies the request and that allows you to retry failed
	// requests 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

	// A name that lets you identify the domain list to manage and use it.
	//
	// This member is required.
	Name *string

	// A list of the tag keys and values that you want to associate with the domain
	// list.
	Tags []types.Tag
}

type CreateFirewallDomainListOutput added in v1.3.0

type CreateFirewallDomainListOutput struct {

	// The domain list that you just created.
	FirewallDomainList *types.FirewallDomainList

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateFirewallRuleGroupInput added in v1.3.0

type CreateFirewallRuleGroupInput struct {

	// A unique string defined by you to identify the request. This allows you to retry
	// failed requests without the risk of executing the operation twice. This can be
	// any unique string, for example, a timestamp.
	//
	// This member is required.
	CreatorRequestId *string

	// A name that lets you identify the rule group, to manage and use it.
	//
	// This member is required.
	Name *string

	// A list of the tag keys and values that you want to associate with the rule
	// group.
	Tags []types.Tag
}

type CreateFirewallRuleGroupOutput added in v1.3.0

type CreateFirewallRuleGroupOutput struct {

	// A collection of rules used to filter DNS network traffic.
	FirewallRuleGroup *types.FirewallRuleGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateFirewallRuleInput added in v1.3.0

type CreateFirewallRuleInput struct {

	// The action that DNS Firewall should take on a DNS query when it matches one of
	// the domains in the rule's domain list:
	//
	// * ALLOW - Permit the request to go
	// through.
	//
	// * ALERT - Permit the request and send metrics and log to Cloud
	// Watch.
	//
	// * BLOCK - Disallow the request. This option requires additional details
	// in the rule's BlockResponse.
	//
	// This member is required.
	Action types.Action

	// A unique string that identifies the request and that allows you to retry failed
	// requests 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 ID of the domain list that you want to use in the rule.
	//
	// This member is required.
	FirewallDomainListId *string

	// The unique identifier of the firewall rule group where you want to create the
	// rule.
	//
	// This member is required.
	FirewallRuleGroupId *string

	// A name that lets you identify the rule in the rule group.
	//
	// This member is required.
	Name *string

	// The setting that determines the processing order of the rule in the rule group.
	// DNS Firewall processes the rules in a rule group by order of priority, starting
	// from the lowest setting. You must specify a unique priority for each rule in a
	// rule group. To make it easier to insert rules later, leave space between the
	// numbers, for example, use 100, 200, and so on. You can change the priority
	// setting for the rules in a rule group at any time.
	//
	// This member is required.
	Priority *int32

	// The DNS record's type. This determines the format of the record value that you
	// provided in BlockOverrideDomain. Used for the rule action BLOCK with a
	// BlockResponse setting of OVERRIDE. This setting is required if the BlockResponse
	// setting is OVERRIDE.
	BlockOverrideDnsType types.BlockOverrideDnsType

	// The custom DNS record to send back in response to the query. Used for the rule
	// action BLOCK with a BlockResponse setting of OVERRIDE. This setting is required
	// if the BlockResponse setting is OVERRIDE.
	BlockOverrideDomain *string

	// The recommended amount of time, in seconds, for the DNS resolver or web browser
	// to cache the provided override record. Used for the rule action BLOCK with a
	// BlockResponse setting of OVERRIDE. This setting is required if the BlockResponse
	// setting is OVERRIDE.
	BlockOverrideTtl *int32

	// The way that you want DNS Firewall to block the request, used with the rule
	// aciton setting BLOCK.
	//
	// * NODATA - Respond indicating that the query was
	// successful, but no response is available for it.
	//
	// * NXDOMAIN - Respond
	// indicating that the domain name that's in the query doesn't exist.
	//
	// * OVERRIDE -
	// Provide a custom override in the response. This option requires custom handling
	// details in the rule's BlockOverride* settings.
	//
	// This setting is required if the
	// rule action setting is BLOCK.
	BlockResponse types.BlockResponse
}

type CreateFirewallRuleOutput added in v1.3.0

type CreateFirewallRuleOutput struct {

	// The firewall rule that you just created.
	FirewallRule *types.FirewallRule

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

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 DeleteFirewallDomainListInput added in v1.3.0

type DeleteFirewallDomainListInput struct {

	// The ID of the domain list that you want to delete.
	//
	// This member is required.
	FirewallDomainListId *string
}

type DeleteFirewallDomainListOutput added in v1.3.0

type DeleteFirewallDomainListOutput struct {

	// The domain list that you just deleted.
	FirewallDomainList *types.FirewallDomainList

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteFirewallRuleGroupInput added in v1.3.0

type DeleteFirewallRuleGroupInput struct {

	// The unique identifier of the firewall rule group that you want to delete.
	//
	// This member is required.
	FirewallRuleGroupId *string
}

type DeleteFirewallRuleGroupOutput added in v1.3.0

type DeleteFirewallRuleGroupOutput struct {

	// A collection of rules used to filter DNS network traffic.
	FirewallRuleGroup *types.FirewallRuleGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteFirewallRuleInput added in v1.3.0

type DeleteFirewallRuleInput struct {

	// The ID of the domain list that's used in the rule.
	//
	// This member is required.
	FirewallDomainListId *string

	// The unique identifier of the firewall rule group that you want to delete the
	// rule from.
	//
	// This member is required.
	FirewallRuleGroupId *string
}

type DeleteFirewallRuleOutput added in v1.3.0

type DeleteFirewallRuleOutput struct {

	// The specification for the firewall rule that you just deleted.
	FirewallRule *types.FirewallRule

	// 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 DisassociateFirewallRuleGroupInput added in v1.3.0

type DisassociateFirewallRuleGroupInput struct {

	// The identifier of the FirewallRuleGroupAssociation.
	//
	// This member is required.
	FirewallRuleGroupAssociationId *string
}

type DisassociateFirewallRuleGroupOutput added in v1.3.0

type DisassociateFirewallRuleGroupOutput struct {

	// The firewall rule group association that you just removed.
	FirewallRuleGroupAssociation *types.FirewallRuleGroupAssociation

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

func EndpointResolverFromURL added in v1.1.0

func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver

EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.

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 GetFirewallConfigInput added in v1.3.0

type GetFirewallConfigInput struct {

	// The ID of the Amazon virtual private cloud (VPC) that the configuration is for.
	//
	// This member is required.
	ResourceId *string
}

type GetFirewallConfigOutput added in v1.3.0

type GetFirewallConfigOutput struct {

	// Configuration of the firewall behavior provided by DNS Firewall for a single
	// Amazon virtual private cloud (VPC).
	FirewallConfig *types.FirewallConfig

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetFirewallDomainListInput added in v1.3.0

type GetFirewallDomainListInput struct {

	// The ID of the domain list.
	//
	// This member is required.
	FirewallDomainListId *string
}

type GetFirewallDomainListOutput added in v1.3.0

type GetFirewallDomainListOutput struct {

	// The domain list that you requested.
	FirewallDomainList *types.FirewallDomainList

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetFirewallRuleGroupAssociationInput added in v1.3.0

type GetFirewallRuleGroupAssociationInput struct {

	// The identifier of the FirewallRuleGroupAssociation.
	//
	// This member is required.
	FirewallRuleGroupAssociationId *string
}

type GetFirewallRuleGroupAssociationOutput added in v1.3.0

type GetFirewallRuleGroupAssociationOutput struct {

	// The association that you requested.
	FirewallRuleGroupAssociation *types.FirewallRuleGroupAssociation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetFirewallRuleGroupInput added in v1.3.0

type GetFirewallRuleGroupInput struct {

	// The unique identifier of the firewall rule group.
	//
	// This member is required.
	FirewallRuleGroupId *string
}

type GetFirewallRuleGroupOutput added in v1.3.0

type GetFirewallRuleGroupOutput struct {

	// A collection of rules used to filter DNS network traffic.
	FirewallRuleGroup *types.FirewallRuleGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetFirewallRuleGroupPolicyInput added in v1.3.0

type GetFirewallRuleGroupPolicyInput struct {

	// The ARN (Amazon Resource Name) for the rule group.
	//
	// This member is required.
	Arn *string
}

type GetFirewallRuleGroupPolicyOutput added in v1.3.0

type GetFirewallRuleGroupPolicyOutput struct {

	// The AWS Identity and Access Management (AWS IAM) policy for sharing the
	// specified rule group. You can use the policy to share the rule group using AWS
	// Resource Access Manager (RAM).
	FirewallRuleGroupPolicy *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type GetResolverDnssecConfigInput added in v1.2.0

type GetResolverDnssecConfigInput struct {

	// The ID of the virtual private cloud (VPC) for the DNSSEC validation status.
	//
	// This member is required.
	ResourceId *string
}

type GetResolverDnssecConfigOutput added in v1.2.0

type GetResolverDnssecConfigOutput struct {

	// The information about a configuration for DNSSEC validation.
	ResolverDNSSECConfig *types.ResolverDnssecConfig

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

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 that you want to get the Resolver rule policy for.
	//
	// This member is required.
	Arn *string
}

type GetResolverRulePolicyOutput

type GetResolverRulePolicyOutput struct {

	// The Resolver rule policy for the rule that you specified in a
	// GetResolverRulePolicy request.
	ResolverRulePolicy *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error
}

type IdempotencyTokenProvider added in v0.29.0

type IdempotencyTokenProvider interface {
	GetIdempotencyToken() (string, error)
}

IdempotencyTokenProvider interface for providing idempotency token

type ImportFirewallDomainsInput added in v1.3.0

type ImportFirewallDomainsInput struct {

	// The fully qualified URL or URI of the file stored in Amazon Simple Storage
	// Service (S3) that contains the list of domains to import. The file must be in an
	// S3 bucket that's in the same Region as your DNS Firewall. The file must be a
	// text file and must contain a single domain per line.
	//
	// This member is required.
	DomainFileUrl *string

	// The ID of the domain list that you want to modify with the import operation.
	//
	// This member is required.
	FirewallDomainListId *string

	// What you want DNS Firewall to do with the domains that are listed in the file.
	// This must be set to REPLACE, which updates the domain list to exactly match the
	// list in the file.
	//
	// This member is required.
	Operation types.FirewallDomainImportOperation
}

type ImportFirewallDomainsOutput added in v1.3.0

type ImportFirewallDomainsOutput struct {

	// The Id of the firewall domain list that DNS Firewall just updated.
	Id *string

	// The name of the domain list.
	Name *string

	//
	Status types.FirewallDomainListStatus

	// Additional information about the status of the list, if available.
	StatusMessage *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListFirewallConfigsAPIClient added in v1.3.0

type ListFirewallConfigsAPIClient interface {
	ListFirewallConfigs(context.Context, *ListFirewallConfigsInput, ...func(*Options)) (*ListFirewallConfigsOutput, error)
}

ListFirewallConfigsAPIClient is a client that implements the ListFirewallConfigs operation.

type ListFirewallConfigsInput added in v1.3.0

type ListFirewallConfigsInput struct {

	// The maximum number of objects that you want Resolver to return for this request.
	// If more objects are available, in the response, Resolver provides a NextToken
	// value that you can use in a subsequent call to get the next batch of objects. If
	// you don't specify a value for MaxResults, Resolver returns up to 100 objects.
	MaxResults *int32

	// For the first call to this list request, omit this value. When you request a
	// list of objects, Resolver returns at most the number of objects specified in
	// MaxResults. If more objects are available for retrieval, Resolver returns a
	// NextToken value in the response. To retrieve the next batch of objects, use the
	// token that was returned for the prior request in your next request.
	NextToken *string
}

type ListFirewallConfigsOutput added in v1.3.0

type ListFirewallConfigsOutput struct {

	// The configurations for the firewall behavior provided by DNS Firewall for Amazon
	// virtual private clouds (VPC).
	FirewallConfigs []types.FirewallConfig

	// If objects are still available for retrieval, Resolver returns this token in the
	// response. To retrieve the next batch of objects, provide this token in your next
	// request.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListFirewallConfigsPaginator added in v1.3.0

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

ListFirewallConfigsPaginator is a paginator for ListFirewallConfigs

func NewListFirewallConfigsPaginator added in v1.3.0

func NewListFirewallConfigsPaginator(client ListFirewallConfigsAPIClient, params *ListFirewallConfigsInput, optFns ...func(*ListFirewallConfigsPaginatorOptions)) *ListFirewallConfigsPaginator

NewListFirewallConfigsPaginator returns a new ListFirewallConfigsPaginator

func (*ListFirewallConfigsPaginator) HasMorePages added in v1.3.0

func (p *ListFirewallConfigsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListFirewallConfigsPaginator) NextPage added in v1.3.0

func (p *ListFirewallConfigsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFirewallConfigsOutput, error)

NextPage retrieves the next ListFirewallConfigs page.

type ListFirewallConfigsPaginatorOptions added in v1.3.0

type ListFirewallConfigsPaginatorOptions struct {
	// The maximum number of objects that you want Resolver to return for this request.
	// If more objects are available, in the response, Resolver provides a NextToken
	// value that you can use in a subsequent call to get the next batch of objects. If
	// you don't specify a value for MaxResults, Resolver returns up to 100 objects.
	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
}

ListFirewallConfigsPaginatorOptions is the paginator options for ListFirewallConfigs

type ListFirewallDomainListsAPIClient added in v1.3.0

type ListFirewallDomainListsAPIClient interface {
	ListFirewallDomainLists(context.Context, *ListFirewallDomainListsInput, ...func(*Options)) (*ListFirewallDomainListsOutput, error)
}

ListFirewallDomainListsAPIClient is a client that implements the ListFirewallDomainLists operation.

type ListFirewallDomainListsInput added in v1.3.0

type ListFirewallDomainListsInput struct {

	// The maximum number of objects that you want Resolver to return for this request.
	// If more objects are available, in the response, Resolver provides a NextToken
	// value that you can use in a subsequent call to get the next batch of objects. If
	// you don't specify a value for MaxResults, Resolver returns up to 100 objects.
	MaxResults *int32

	// For the first call to this list request, omit this value. When you request a
	// list of objects, Resolver returns at most the number of objects specified in
	// MaxResults. If more objects are available for retrieval, Resolver returns a
	// NextToken value in the response. To retrieve the next batch of objects, use the
	// token that was returned for the prior request in your next request.
	NextToken *string
}

type ListFirewallDomainListsOutput added in v1.3.0

type ListFirewallDomainListsOutput struct {

	// A list of the domain lists that you have defined. This might be a parital list
	// of the domain lists that you've defined. For information, see MaxResults.
	FirewallDomainLists []types.FirewallDomainListMetadata

	// If objects are still available for retrieval, Resolver returns this token in the
	// response. To retrieve the next batch of objects, provide this token in your next
	// request.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListFirewallDomainListsPaginator added in v1.3.0

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

ListFirewallDomainListsPaginator is a paginator for ListFirewallDomainLists

func NewListFirewallDomainListsPaginator added in v1.3.0

NewListFirewallDomainListsPaginator returns a new ListFirewallDomainListsPaginator

func (*ListFirewallDomainListsPaginator) HasMorePages added in v1.3.0

func (p *ListFirewallDomainListsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListFirewallDomainListsPaginator) NextPage added in v1.3.0

NextPage retrieves the next ListFirewallDomainLists page.

type ListFirewallDomainListsPaginatorOptions added in v1.3.0

type ListFirewallDomainListsPaginatorOptions struct {
	// The maximum number of objects that you want Resolver to return for this request.
	// If more objects are available, in the response, Resolver provides a NextToken
	// value that you can use in a subsequent call to get the next batch of objects. If
	// you don't specify a value for MaxResults, Resolver returns up to 100 objects.
	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
}

ListFirewallDomainListsPaginatorOptions is the paginator options for ListFirewallDomainLists

type ListFirewallDomainsAPIClient added in v1.3.0

type ListFirewallDomainsAPIClient interface {
	ListFirewallDomains(context.Context, *ListFirewallDomainsInput, ...func(*Options)) (*ListFirewallDomainsOutput, error)
}

ListFirewallDomainsAPIClient is a client that implements the ListFirewallDomains operation.

type ListFirewallDomainsInput added in v1.3.0

type ListFirewallDomainsInput struct {

	// The ID of the domain list whose domains you want to retrieve.
	//
	// This member is required.
	FirewallDomainListId *string

	// The maximum number of objects that you want Resolver to return for this request.
	// If more objects are available, in the response, Resolver provides a NextToken
	// value that you can use in a subsequent call to get the next batch of objects. If
	// you don't specify a value for MaxResults, Resolver returns up to 100 objects.
	MaxResults *int32

	// For the first call to this list request, omit this value. When you request a
	// list of objects, Resolver returns at most the number of objects specified in
	// MaxResults. If more objects are available for retrieval, Resolver returns a
	// NextToken value in the response. To retrieve the next batch of objects, use the
	// token that was returned for the prior request in your next request.
	NextToken *string
}

type ListFirewallDomainsOutput added in v1.3.0

type ListFirewallDomainsOutput struct {

	// A list of the domains in the firewall domain list. This might be a parital list
	// of the domains that you've defined in the domain list. For information, see
	// MaxResults.
	Domains []string

	// If objects are still available for retrieval, Resolver returns this token in the
	// response. To retrieve the next batch of objects, provide this token in your next
	// request.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListFirewallDomainsPaginator added in v1.3.0

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

ListFirewallDomainsPaginator is a paginator for ListFirewallDomains

func NewListFirewallDomainsPaginator added in v1.3.0

func NewListFirewallDomainsPaginator(client ListFirewallDomainsAPIClient, params *ListFirewallDomainsInput, optFns ...func(*ListFirewallDomainsPaginatorOptions)) *ListFirewallDomainsPaginator

NewListFirewallDomainsPaginator returns a new ListFirewallDomainsPaginator

func (*ListFirewallDomainsPaginator) HasMorePages added in v1.3.0

func (p *ListFirewallDomainsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListFirewallDomainsPaginator) NextPage added in v1.3.0

func (p *ListFirewallDomainsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFirewallDomainsOutput, error)

NextPage retrieves the next ListFirewallDomains page.

type ListFirewallDomainsPaginatorOptions added in v1.3.0

type ListFirewallDomainsPaginatorOptions struct {
	// The maximum number of objects that you want Resolver to return for this request.
	// If more objects are available, in the response, Resolver provides a NextToken
	// value that you can use in a subsequent call to get the next batch of objects. If
	// you don't specify a value for MaxResults, Resolver returns up to 100 objects.
	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
}

ListFirewallDomainsPaginatorOptions is the paginator options for ListFirewallDomains

type ListFirewallRuleGroupAssociationsAPIClient added in v1.3.0

type ListFirewallRuleGroupAssociationsAPIClient interface {
	ListFirewallRuleGroupAssociations(context.Context, *ListFirewallRuleGroupAssociationsInput, ...func(*Options)) (*ListFirewallRuleGroupAssociationsOutput, error)
}

ListFirewallRuleGroupAssociationsAPIClient is a client that implements the ListFirewallRuleGroupAssociations operation.

type ListFirewallRuleGroupAssociationsInput added in v1.3.0

type ListFirewallRuleGroupAssociationsInput struct {

	// The unique identifier of the firewall rule group that you want to retrieve the
	// associations for. Leave this blank to retrieve associations for any rule group.
	FirewallRuleGroupId *string

	// The maximum number of objects that you want Resolver to return for this request.
	// If more objects are available, in the response, Resolver provides a NextToken
	// value that you can use in a subsequent call to get the next batch of objects. If
	// you don't specify a value for MaxResults, Resolver returns up to 100 objects.
	MaxResults *int32

	// For the first call to this list request, omit this value. When you request a
	// list of objects, Resolver returns at most the number of objects specified in
	// MaxResults. If more objects are available for retrieval, Resolver returns a
	// NextToken value in the response. To retrieve the next batch of objects, use the
	// token that was returned for the prior request in your next request.
	NextToken *string

	// The setting that determines the processing order of the rule group among the
	// rule groups that are associated with a single VPC. DNS Firewall filters VPC
	// traffic starting from rule group with the lowest numeric priority setting.
	Priority *int32

	// The association Status setting that you want DNS Firewall to filter on for the
	// list. If you don't specify this, then DNS Firewall returns all associations,
	// regardless of status.
	Status types.FirewallRuleGroupAssociationStatus

	// The unique identifier of the VPC that you want to retrieve the associations for.
	// Leave this blank to retrieve associations for any VPC.
	VpcId *string
}

type ListFirewallRuleGroupAssociationsOutput added in v1.3.0

type ListFirewallRuleGroupAssociationsOutput struct {

	// A list of your firewall rule group associations. This might be a partial list of
	// the associations that you have defined. For information, see MaxResults.
	FirewallRuleGroupAssociations []types.FirewallRuleGroupAssociation

	// If objects are still available for retrieval, Resolver returns this token in the
	// response. To retrieve the next batch of objects, provide this token in your next
	// request.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListFirewallRuleGroupAssociationsPaginator added in v1.3.0

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

ListFirewallRuleGroupAssociationsPaginator is a paginator for ListFirewallRuleGroupAssociations

func NewListFirewallRuleGroupAssociationsPaginator added in v1.3.0

NewListFirewallRuleGroupAssociationsPaginator returns a new ListFirewallRuleGroupAssociationsPaginator

func (*ListFirewallRuleGroupAssociationsPaginator) HasMorePages added in v1.3.0

HasMorePages returns a boolean indicating whether more pages are available

func (*ListFirewallRuleGroupAssociationsPaginator) NextPage added in v1.3.0

NextPage retrieves the next ListFirewallRuleGroupAssociations page.

type ListFirewallRuleGroupAssociationsPaginatorOptions added in v1.3.0

type ListFirewallRuleGroupAssociationsPaginatorOptions struct {
	// The maximum number of objects that you want Resolver to return for this request.
	// If more objects are available, in the response, Resolver provides a NextToken
	// value that you can use in a subsequent call to get the next batch of objects. If
	// you don't specify a value for MaxResults, Resolver returns up to 100 objects.
	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
}

ListFirewallRuleGroupAssociationsPaginatorOptions is the paginator options for ListFirewallRuleGroupAssociations

type ListFirewallRuleGroupsAPIClient added in v1.3.0

type ListFirewallRuleGroupsAPIClient interface {
	ListFirewallRuleGroups(context.Context, *ListFirewallRuleGroupsInput, ...func(*Options)) (*ListFirewallRuleGroupsOutput, error)
}

ListFirewallRuleGroupsAPIClient is a client that implements the ListFirewallRuleGroups operation.

type ListFirewallRuleGroupsInput added in v1.3.0

type ListFirewallRuleGroupsInput struct {

	// The maximum number of objects that you want Resolver to return for this request.
	// If more objects are available, in the response, Resolver provides a NextToken
	// value that you can use in a subsequent call to get the next batch of objects. If
	// you don't specify a value for MaxResults, Resolver returns up to 100 objects.
	MaxResults *int32

	// For the first call to this list request, omit this value. When you request a
	// list of objects, Resolver returns at most the number of objects specified in
	// MaxResults. If more objects are available for retrieval, Resolver returns a
	// NextToken value in the response. To retrieve the next batch of objects, use the
	// token that was returned for the prior request in your next request.
	NextToken *string
}

type ListFirewallRuleGroupsOutput added in v1.3.0

type ListFirewallRuleGroupsOutput struct {

	// A list of your firewall rule groups. This might be a partial list of the rule
	// groups that you have defined. For information, see MaxResults.
	FirewallRuleGroups []types.FirewallRuleGroupMetadata

	// If objects are still available for retrieval, Resolver returns this token in the
	// response. To retrieve the next batch of objects, provide this token in your next
	// request.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListFirewallRuleGroupsPaginator added in v1.3.0

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

ListFirewallRuleGroupsPaginator is a paginator for ListFirewallRuleGroups

func NewListFirewallRuleGroupsPaginator added in v1.3.0

NewListFirewallRuleGroupsPaginator returns a new ListFirewallRuleGroupsPaginator

func (*ListFirewallRuleGroupsPaginator) HasMorePages added in v1.3.0

func (p *ListFirewallRuleGroupsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListFirewallRuleGroupsPaginator) NextPage added in v1.3.0

NextPage retrieves the next ListFirewallRuleGroups page.

type ListFirewallRuleGroupsPaginatorOptions added in v1.3.0

type ListFirewallRuleGroupsPaginatorOptions struct {
	// The maximum number of objects that you want Resolver to return for this request.
	// If more objects are available, in the response, Resolver provides a NextToken
	// value that you can use in a subsequent call to get the next batch of objects. If
	// you don't specify a value for MaxResults, Resolver returns up to 100 objects.
	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
}

ListFirewallRuleGroupsPaginatorOptions is the paginator options for ListFirewallRuleGroups

type ListFirewallRulesAPIClient added in v1.3.0

type ListFirewallRulesAPIClient interface {
	ListFirewallRules(context.Context, *ListFirewallRulesInput, ...func(*Options)) (*ListFirewallRulesOutput, error)
}

ListFirewallRulesAPIClient is a client that implements the ListFirewallRules operation.

type ListFirewallRulesInput added in v1.3.0

type ListFirewallRulesInput struct {

	// The unique identifier of the firewall rule group that you want to retrieve the
	// rules for.
	//
	// This member is required.
	FirewallRuleGroupId *string

	// Optional additional filter for the rules to retrieve. The action that DNS
	// Firewall should take on a DNS query when it matches one of the domains in the
	// rule's domain list:
	//
	// * ALLOW - Permit the request to go through.
	//
	// * ALERT -
	// Permit the request to go through but send an alert to the logs.
	//
	// * BLOCK -
	// Disallow the request. If this is specified, additional handling details are
	// provided in the rule's BlockResponse setting.
	Action types.Action

	// The maximum number of objects that you want Resolver to return for this request.
	// If more objects are available, in the response, Resolver provides a NextToken
	// value that you can use in a subsequent call to get the next batch of objects. If
	// you don't specify a value for MaxResults, Resolver returns up to 100 objects.
	MaxResults *int32

	// For the first call to this list request, omit this value. When you request a
	// list of objects, Resolver returns at most the number of objects specified in
	// MaxResults. If more objects are available for retrieval, Resolver returns a
	// NextToken value in the response. To retrieve the next batch of objects, use the
	// token that was returned for the prior request in your next request.
	NextToken *string

	// Optional additional filter for the rules to retrieve. The setting that
	// determines the processing order of the rules in a rule group. DNS Firewall
	// processes the rules in a rule group by order of priority, starting from the
	// lowest setting.
	Priority *int32
}

type ListFirewallRulesOutput added in v1.3.0

type ListFirewallRulesOutput struct {

	// A list of the rules that you have defined. This might be a parital list of the
	// firewall rules that you've defined. For information, see MaxResults.
	FirewallRules []types.FirewallRule

	// If objects are still available for retrieval, Resolver returns this token in the
	// response. To retrieve the next batch of objects, provide this token in your next
	// request.
	NextToken *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListFirewallRulesPaginator added in v1.3.0

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

ListFirewallRulesPaginator is a paginator for ListFirewallRules

func NewListFirewallRulesPaginator added in v1.3.0

func NewListFirewallRulesPaginator(client ListFirewallRulesAPIClient, params *ListFirewallRulesInput, optFns ...func(*ListFirewallRulesPaginatorOptions)) *ListFirewallRulesPaginator

NewListFirewallRulesPaginator returns a new ListFirewallRulesPaginator

func (*ListFirewallRulesPaginator) HasMorePages added in v1.3.0

func (p *ListFirewallRulesPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListFirewallRulesPaginator) NextPage added in v1.3.0

func (p *ListFirewallRulesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFirewallRulesOutput, error)

NextPage retrieves the next ListFirewallRules page.

type ListFirewallRulesPaginatorOptions added in v1.3.0

type ListFirewallRulesPaginatorOptions struct {
	// The maximum number of objects that you want Resolver to return for this request.
	// If more objects are available, in the response, Resolver provides a NextToken
	// value that you can use in a subsequent call to get the next batch of objects. If
	// you don't specify a value for MaxResults, Resolver returns up to 100 objects.
	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
}

ListFirewallRulesPaginatorOptions is the paginator options for ListFirewallRules

type ListResolverDnssecConfigsAPIClient added in v1.2.0

type ListResolverDnssecConfigsAPIClient interface {
	ListResolverDnssecConfigs(context.Context, *ListResolverDnssecConfigsInput, ...func(*Options)) (*ListResolverDnssecConfigsOutput, error)
}

ListResolverDnssecConfigsAPIClient is a client that implements the ListResolverDnssecConfigs operation.

type ListResolverDnssecConfigsInput added in v1.2.0

type ListResolverDnssecConfigsInput struct {

	// An optional specification to return a subset of objects.
	Filters []types.Filter

	// Optional: An integer that specifies the maximum number of DNSSEC configuration
	// results that you want Amazon Route 53 to return. If you don't specify a value
	// for MaxResults, Route 53 returns up to 100 configuration per page.
	MaxResults *int32

	// (Optional) If the current AWS account has more than MaxResults DNSSEC
	// configurations, use NextToken to get the second and subsequent pages of results.
	// For the first ListResolverDnssecConfigs request, omit this value. For the second
	// and subsequent requests, get the value of NextToken from the previous response
	// and specify that value for NextToken in the request.
	NextToken *string
}

type ListResolverDnssecConfigsOutput added in v1.2.0

type ListResolverDnssecConfigsOutput struct {

	// If a response includes the last of the DNSSEC configurations that are associated
	// with the current AWS account, NextToken doesn't appear in the response. If a
	// response doesn't include the last of the configurations, you can get more
	// configurations by submitting another ListResolverDnssecConfigs
	// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListResolverDnssecConfigs.html)
	// request. Get the value of NextToken that Amazon Route 53 returned in the
	// previous response and include it in NextToken in the next request.
	NextToken *string

	// An array that contains one ResolverDnssecConfig
	// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_ResolverDnssecConfig.html)
	// element for each configuration for DNSSEC validation that is associated with the
	// current AWS account.
	ResolverDnssecConfigs []types.ResolverDnssecConfig

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ListResolverDnssecConfigsPaginator added in v1.2.0

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

ListResolverDnssecConfigsPaginator is a paginator for ListResolverDnssecConfigs

func NewListResolverDnssecConfigsPaginator added in v1.2.0

NewListResolverDnssecConfigsPaginator returns a new ListResolverDnssecConfigsPaginator

func (*ListResolverDnssecConfigsPaginator) HasMorePages added in v1.2.0

func (p *ListResolverDnssecConfigsPaginator) HasMorePages() bool

HasMorePages returns a boolean indicating whether more pages are available

func (*ListResolverDnssecConfigsPaginator) NextPage added in v1.2.0

NextPage retrieves the next ListResolverDnssecConfigs page.

type ListResolverDnssecConfigsPaginatorOptions added in v1.2.0

type ListResolverDnssecConfigsPaginatorOptions struct {
	// Optional: An integer that specifies the maximum number of DNSSEC configuration
	// results that you want Amazon Route 53 to return. If you don't specify a value
	// for MaxResults, Route 53 returns up to 100 configuration per page.
	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
}

ListResolverDnssecConfigsPaginatorOptions is the paginator options for ListResolverDnssecConfigs

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

NewListResolverEndpointIpAddressesPaginator returns a new ListResolverEndpointIpAddressesPaginator

func (*ListResolverEndpointIpAddressesPaginator) HasMorePages added in v0.30.0

HasMorePages returns a boolean indicating whether more pages are available

func (*ListResolverEndpointIpAddressesPaginator) NextPage added in v0.30.0

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

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

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

NewListResolverQueryLogConfigAssociationsPaginator returns a new ListResolverQueryLogConfigAssociationsPaginator

func (*ListResolverQueryLogConfigAssociationsPaginator) HasMorePages added in v0.30.0

HasMorePages returns a boolean indicating whether more pages are available

func (*ListResolverQueryLogConfigAssociationsPaginator) NextPage added in v0.30.0

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

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

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

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

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
}

func (Options) Copy

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

type PutFirewallRuleGroupPolicyInput added in v1.3.0

type PutFirewallRuleGroupPolicyInput struct {

	// The ARN (Amazon Resource Name) for the rule group that you want to share.
	//
	// This member is required.
	Arn *string

	// The AWS Identity and Access Management (AWS IAM) policy to attach to the rule
	// group.
	//
	// This member is required.
	FirewallRuleGroupPolicy *string
}

type PutFirewallRuleGroupPolicyOutput added in v1.3.0

type PutFirewallRuleGroupPolicyOutput struct {

	//
	ReturnValue bool

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

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 rule that you want to share with another
	// account.
	//
	// 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
	// Action section of the statement:
	//
	// * route53resolver:GetResolverRule
	//
	// *
	// route53resolver:AssociateResolverRule
	//
	// *
	// route53resolver:DisassociateResolverRule
	//
	// * route53resolver:ListResolverRules
	//
	// *
	// route53resolver:ListResolverRuleAssociations
	//
	// In the Resource section of the
	// statement, specify the ARN for the rule that you want to share with another
	// account. Specify the same ARN 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 (*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 UpdateFirewallConfigInput added in v1.3.0

type UpdateFirewallConfigInput struct {

	// Determines how Route 53 Resolver handles queries during failures, for example
	// when all traffic that is sent to DNS Firewall fails to receive a reply.
	//
	// * By
	// default, fail open is disabled, which means the failure mode is closed. This
	// approach favors security over availability. DNS Firewall blocks queries that it
	// is unable to evaluate properly.
	//
	// * If you enable this option, the failure mode
	// is open. This approach favors availability over security. DNS Firewall allows
	// queries to proceed if it is unable to properly evaluate them.
	//
	// This behavior is
	// only enforced for VPCs that have at least one DNS Firewall rule group
	// association.
	//
	// This member is required.
	FirewallFailOpen types.FirewallFailOpenStatus

	// The ID of the Amazon virtual private cloud (VPC) that the configuration is for.
	//
	// This member is required.
	ResourceId *string
}

type UpdateFirewallConfigOutput added in v1.3.0

type UpdateFirewallConfigOutput struct {

	// Configuration of the firewall behavior provided by DNS Firewall for a single
	// Amazon virtual private cloud (VPC).
	FirewallConfig *types.FirewallConfig

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateFirewallDomainsInput added in v1.3.0

type UpdateFirewallDomainsInput struct {

	// A list of domains to use in the update operation. Each domain specification in
	// your domain list must satisfy the following requirements:
	//
	// * It can optionally
	// start with * (asterisk).
	//
	// * With the exception of the optional starting
	// asterisk, it must only contain the following characters: A-Z, a-z, 0-9, -
	// (hyphen).
	//
	// * It must be from 1-255 characters in length.
	//
	// This member is required.
	Domains []string

	// The ID of the domain list whose domains you want to update.
	//
	// This member is required.
	FirewallDomainListId *string

	// What you want DNS Firewall to do with the domains that you are providing:
	//
	// * ADD
	// - Add the domains to the ones that are already in the domain list.
	//
	// * REMOVE -
	// Search the domain list for the domains and remove them from the list.
	//
	// * REPLACE
	// - Update the domain list to exactly match the list that you are providing.
	//
	// This member is required.
	Operation types.FirewallDomainUpdateOperation
}

type UpdateFirewallDomainsOutput added in v1.3.0

type UpdateFirewallDomainsOutput struct {

	// The Id of the firewall domain list that DNS Firewall just updated.
	Id *string

	// The name of the domain list.
	Name *string

	//
	Status types.FirewallDomainListStatus

	// Additional information about the status of the list, if available.
	StatusMessage *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateFirewallRuleGroupAssociationInput added in v1.3.0

type UpdateFirewallRuleGroupAssociationInput struct {

	// The identifier of the FirewallRuleGroupAssociation.
	//
	// This member is required.
	FirewallRuleGroupAssociationId *string

	// If enabled, this setting disallows modification or removal of the association,
	// to help prevent against accidentally altering DNS firewall protections.
	MutationProtection types.MutationProtectionStatus

	// The name of the rule group association.
	Name *string

	// The setting that determines the processing order of the rule group among the
	// rule groups that you associate with the specified VPC. DNS Firewall filters VPC
	// traffic starting from rule group with the lowest numeric priority setting. You
	// must specify a unique priority for each rule group that you associate with a
	// single VPC. To make it easier to insert rule groups later, leave space between
	// the numbers, for example, use 100, 200, and so on. You can change the priority
	// setting for a rule group association after you create it.
	Priority *int32
}

type UpdateFirewallRuleGroupAssociationOutput added in v1.3.0

type UpdateFirewallRuleGroupAssociationOutput struct {

	// The association that you just updated.
	FirewallRuleGroupAssociation *types.FirewallRuleGroupAssociation

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateFirewallRuleInput added in v1.3.0

type UpdateFirewallRuleInput struct {

	// The ID of the domain list to use in the rule.
	//
	// This member is required.
	FirewallDomainListId *string

	// The unique identifier of the firewall rule group for the rule.
	//
	// This member is required.
	FirewallRuleGroupId *string

	// The action that DNS Firewall should take on a DNS query when it matches one of
	// the domains in the rule's domain list:
	//
	// * ALLOW - Permit the request to go
	// through.
	//
	// * ALERT - Permit the request to go through but send an alert to the
	// logs.
	//
	// * BLOCK - Disallow the request. This option requires additional details
	// in the rule's BlockResponse.
	Action types.Action

	// The DNS record's type. This determines the format of the record value that you
	// provided in BlockOverrideDomain. Used for the rule action BLOCK with a
	// BlockResponse setting of OVERRIDE.
	BlockOverrideDnsType types.BlockOverrideDnsType

	// The custom DNS record to send back in response to the query. Used for the rule
	// action BLOCK with a BlockResponse setting of OVERRIDE.
	BlockOverrideDomain *string

	// The recommended amount of time, in seconds, for the DNS resolver or web browser
	// to cache the provided override record. Used for the rule action BLOCK with a
	// BlockResponse setting of OVERRIDE.
	BlockOverrideTtl *int32

	// The way that you want DNS Firewall to block the request. Used for the rule
	// action setting BLOCK.
	//
	// * NODATA - Respond indicating that the query was
	// successful, but no response is available for it.
	//
	// * NXDOMAIN - Respond
	// indicating that the domain name that's in the query doesn't exist.
	//
	// * OVERRIDE -
	// Provide a custom override in the response. This option requires custom handling
	// details in the rule's BlockOverride* settings.
	BlockResponse types.BlockResponse

	// The name of the rule.
	Name *string

	// The setting that determines the processing order of the rule in the rule group.
	// DNS Firewall processes the rules in a rule group by order of priority, starting
	// from the lowest setting. You must specify a unique priority for each rule in a
	// rule group. To make it easier to insert rules later, leave space between the
	// numbers, for example, use 100, 200, and so on. You can change the priority
	// setting for the rules in a rule group at any time.
	Priority *int32
}

type UpdateFirewallRuleOutput added in v1.3.0

type UpdateFirewallRuleOutput struct {

	// The firewall rule that you just updated.
	FirewallRule *types.FirewallRule

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateResolverDnssecConfigInput added in v1.2.0

type UpdateResolverDnssecConfigInput struct {

	// The ID of the virtual private cloud (VPC) that you're updating the DNSSEC
	// validation status for.
	//
	// This member is required.
	ResourceId *string

	// The new value that you are specifying for DNSSEC validation for the VPC. The
	// value can be ENABLE or DISABLE. Be aware that it can take time for a validation
	// status change to be completed.
	//
	// This member is required.
	Validation types.Validation
}

type UpdateResolverDnssecConfigOutput added in v1.2.0

type UpdateResolverDnssecConfigOutput struct {

	// A complex type that contains settings for the specified DNSSEC configuration.
	ResolverDNSSECConfig *types.ResolverDnssecConfig

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type UpdateResolverEndpointInput

type UpdateResolverEndpointInput struct {

	// The ID of the Resolver endpoint that you want to update.
	//
	// This member is required.
	ResolverEndpointId *string

	// The name of the Resolver endpoint that you want to update.
	Name *string
}

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

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL