/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the route53resolver-2018-04-01.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.Route53Resolver.Model;
using Amazon.Route53Resolver.Model.Internal.MarshallTransformations;
using Amazon.Route53Resolver.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Route53Resolver
{
///
/// Implementation for accessing Route53Resolver
///
/// 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 Elastic Load Balancing 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 Amazon Web Services
/// 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 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 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.
///
///
public partial class AmazonRoute53ResolverClient : AmazonServiceClient, IAmazonRoute53Resolver
{
private static IServiceMetadata serviceMetadata = new AmazonRoute53ResolverMetadata();
private IRoute53ResolverPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IRoute53ResolverPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new Route53ResolverPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
///
/// Constructs AmazonRoute53ResolverClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonRoute53ResolverClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonRoute53ResolverConfig()) { }
///
/// Constructs AmazonRoute53ResolverClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonRoute53ResolverClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonRoute53ResolverConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonRoute53ResolverClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonRoute53ResolverClient Configuration Object
public AmazonRoute53ResolverClient(AmazonRoute53ResolverConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonRoute53ResolverClient with AWS Credentials
///
/// AWS Credentials
public AmazonRoute53ResolverClient(AWSCredentials credentials)
: this(credentials, new AmazonRoute53ResolverConfig())
{
}
///
/// Constructs AmazonRoute53ResolverClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonRoute53ResolverClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonRoute53ResolverConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonRoute53ResolverClient with AWS Credentials and an
/// AmazonRoute53ResolverClient Configuration object.
///
/// AWS Credentials
/// The AmazonRoute53ResolverClient Configuration Object
public AmazonRoute53ResolverClient(AWSCredentials credentials, AmazonRoute53ResolverConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonRoute53ResolverClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonRoute53ResolverClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonRoute53ResolverConfig())
{
}
///
/// Constructs AmazonRoute53ResolverClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonRoute53ResolverClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonRoute53ResolverConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonRoute53ResolverClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonRoute53ResolverClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonRoute53ResolverClient Configuration Object
public AmazonRoute53ResolverClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonRoute53ResolverConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonRoute53ResolverClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonRoute53ResolverClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonRoute53ResolverConfig())
{
}
///
/// Constructs AmazonRoute53ResolverClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonRoute53ResolverClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonRoute53ResolverConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonRoute53ResolverClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonRoute53ResolverClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonRoute53ResolverClient Configuration Object
public AmazonRoute53ResolverClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonRoute53ResolverConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonRoute53ResolverEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AssociateFirewallRuleGroup
///
/// Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the
/// VPC.
///
/// Container for the necessary parameters to execute the AssociateFirewallRuleGroup service method.
///
/// The response from the AssociateFirewallRuleGroup service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for AssociateFirewallRuleGroup Operation
public virtual AssociateFirewallRuleGroupResponse AssociateFirewallRuleGroup(AssociateFirewallRuleGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateFirewallRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateFirewallRuleGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates a FirewallRuleGroup with a VPC, to provide DNS filtering for the
/// VPC.
///
/// Container for the necessary parameters to execute the AssociateFirewallRuleGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateFirewallRuleGroup service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for AssociateFirewallRuleGroup Operation
public virtual Task AssociateFirewallRuleGroupAsync(AssociateFirewallRuleGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateFirewallRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateFirewallRuleGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociateResolverEndpointIpAddress
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the AssociateResolverEndpointIpAddress service method.
///
/// The response from the AssociateResolverEndpointIpAddress service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for AssociateResolverEndpointIpAddress Operation
public virtual AssociateResolverEndpointIpAddressResponse AssociateResolverEndpointIpAddress(AssociateResolverEndpointIpAddressRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResolverEndpointIpAddressRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResolverEndpointIpAddressResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the AssociateResolverEndpointIpAddress service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateResolverEndpointIpAddress service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for AssociateResolverEndpointIpAddress Operation
public virtual Task AssociateResolverEndpointIpAddressAsync(AssociateResolverEndpointIpAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResolverEndpointIpAddressRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResolverEndpointIpAddressResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociateResolverQueryLogConfig
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the AssociateResolverQueryLogConfig service method.
///
/// The response from the AssociateResolverQueryLogConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for AssociateResolverQueryLogConfig Operation
public virtual AssociateResolverQueryLogConfigResponse AssociateResolverQueryLogConfig(AssociateResolverQueryLogConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResolverQueryLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResolverQueryLogConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the AssociateResolverQueryLogConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateResolverQueryLogConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for AssociateResolverQueryLogConfig Operation
public virtual Task AssociateResolverQueryLogConfigAsync(AssociateResolverQueryLogConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResolverQueryLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResolverQueryLogConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociateResolverRule
///
/// 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.
///
/// Container for the necessary parameters to execute the AssociateResolverRule service method.
///
/// The response from the AssociateResolverRule service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The specified resource isn't available.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for AssociateResolverRule Operation
public virtual AssociateResolverRuleResponse AssociateResolverRule(AssociateResolverRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResolverRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResolverRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the AssociateResolverRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateResolverRule service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The specified resource isn't available.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for AssociateResolverRule Operation
public virtual Task AssociateResolverRuleAsync(AssociateResolverRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResolverRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResolverRuleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateFirewallDomainList
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateFirewallDomainList service method.
///
/// The response from the CreateFirewallDomainList service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for CreateFirewallDomainList Operation
public virtual CreateFirewallDomainListResponse CreateFirewallDomainList(CreateFirewallDomainListRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFirewallDomainListRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFirewallDomainListResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateFirewallDomainList service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateFirewallDomainList service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for CreateFirewallDomainList Operation
public virtual Task CreateFirewallDomainListAsync(CreateFirewallDomainListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFirewallDomainListRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFirewallDomainListResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateFirewallRule
///
/// Creates a single DNS Firewall rule in the specified rule group, using the specified
/// domain list.
///
/// Container for the necessary parameters to execute the CreateFirewallRule service method.
///
/// The response from the CreateFirewallRule service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for CreateFirewallRule Operation
public virtual CreateFirewallRuleResponse CreateFirewallRule(CreateFirewallRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFirewallRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFirewallRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a single DNS Firewall rule in the specified rule group, using the specified
/// domain list.
///
/// Container for the necessary parameters to execute the CreateFirewallRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateFirewallRule service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for CreateFirewallRule Operation
public virtual Task CreateFirewallRuleAsync(CreateFirewallRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFirewallRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFirewallRuleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateFirewallRuleGroup
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateFirewallRuleGroup service method.
///
/// The response from the CreateFirewallRuleGroup service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for CreateFirewallRuleGroup Operation
public virtual CreateFirewallRuleGroupResponse CreateFirewallRuleGroup(CreateFirewallRuleGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFirewallRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFirewallRuleGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateFirewallRuleGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateFirewallRuleGroup service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for CreateFirewallRuleGroup Operation
public virtual Task CreateFirewallRuleGroupAsync(CreateFirewallRuleGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFirewallRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFirewallRuleGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateOutpostResolver
///
/// Creates an Route 53 Resolver on an Outpost.
///
/// Container for the necessary parameters to execute the CreateOutpostResolver service method.
///
/// The response from the CreateOutpostResolver service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// Fulfilling the request would cause one or more quotas to be exceeded.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for CreateOutpostResolver Operation
public virtual CreateOutpostResolverResponse CreateOutpostResolver(CreateOutpostResolverRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOutpostResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOutpostResolverResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an Route 53 Resolver on an Outpost.
///
/// Container for the necessary parameters to execute the CreateOutpostResolver service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateOutpostResolver service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// Fulfilling the request would cause one or more quotas to be exceeded.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for CreateOutpostResolver Operation
public virtual Task CreateOutpostResolverAsync(CreateOutpostResolverRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOutpostResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOutpostResolverResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateResolverEndpoint
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the CreateResolverEndpoint service method.
///
/// The response from the CreateResolverEndpoint service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for CreateResolverEndpoint Operation
public virtual CreateResolverEndpointResponse CreateResolverEndpoint(CreateResolverEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResolverEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResolverEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the CreateResolverEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateResolverEndpoint service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for CreateResolverEndpoint Operation
public virtual Task CreateResolverEndpointAsync(CreateResolverEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResolverEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResolverEndpointResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateResolverQueryLogConfig
///
/// 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.
///
///
///
///
/// You can optionally use Resource Access Manager (RAM) to share a query logging configuration
/// with other Amazon Web Services 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.
///
///
/// Container for the necessary parameters to execute the CreateResolverQueryLogConfig service method.
///
/// The response from the CreateResolverQueryLogConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for CreateResolverQueryLogConfig Operation
public virtual CreateResolverQueryLogConfigResponse CreateResolverQueryLogConfig(CreateResolverQueryLogConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResolverQueryLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResolverQueryLogConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
///
/// You can optionally use Resource Access Manager (RAM) to share a query logging configuration
/// with other Amazon Web Services 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.
///
///
/// Container for the necessary parameters to execute the CreateResolverQueryLogConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateResolverQueryLogConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for CreateResolverQueryLogConfig Operation
public virtual Task CreateResolverQueryLogConfigAsync(CreateResolverQueryLogConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResolverQueryLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResolverQueryLogConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateResolverRule
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateResolverRule service method.
///
/// The response from the CreateResolverRule service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The specified resource isn't available.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for CreateResolverRule Operation
public virtual CreateResolverRuleResponse CreateResolverRule(CreateResolverRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResolverRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResolverRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateResolverRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateResolverRule service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The specified resource isn't available.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for CreateResolverRule Operation
public virtual Task CreateResolverRuleAsync(CreateResolverRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResolverRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResolverRuleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteFirewallDomainList
///
/// Deletes the specified domain list.
///
/// Container for the necessary parameters to execute the DeleteFirewallDomainList service method.
///
/// The response from the DeleteFirewallDomainList service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DeleteFirewallDomainList Operation
public virtual DeleteFirewallDomainListResponse DeleteFirewallDomainList(DeleteFirewallDomainListRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFirewallDomainListRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFirewallDomainListResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified domain list.
///
/// Container for the necessary parameters to execute the DeleteFirewallDomainList service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFirewallDomainList service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DeleteFirewallDomainList Operation
public virtual Task DeleteFirewallDomainListAsync(DeleteFirewallDomainListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFirewallDomainListRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFirewallDomainListResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteFirewallRule
///
/// Deletes the specified firewall rule.
///
/// Container for the necessary parameters to execute the DeleteFirewallRule service method.
///
/// The response from the DeleteFirewallRule service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DeleteFirewallRule Operation
public virtual DeleteFirewallRuleResponse DeleteFirewallRule(DeleteFirewallRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFirewallRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFirewallRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified firewall rule.
///
/// Container for the necessary parameters to execute the DeleteFirewallRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFirewallRule service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DeleteFirewallRule Operation
public virtual Task DeleteFirewallRuleAsync(DeleteFirewallRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFirewallRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFirewallRuleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteFirewallRuleGroup
///
/// Deletes the specified firewall rule group.
///
/// Container for the necessary parameters to execute the DeleteFirewallRuleGroup service method.
///
/// The response from the DeleteFirewallRuleGroup service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for DeleteFirewallRuleGroup Operation
public virtual DeleteFirewallRuleGroupResponse DeleteFirewallRuleGroup(DeleteFirewallRuleGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFirewallRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFirewallRuleGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified firewall rule group.
///
/// Container for the necessary parameters to execute the DeleteFirewallRuleGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFirewallRuleGroup service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for DeleteFirewallRuleGroup Operation
public virtual Task DeleteFirewallRuleGroupAsync(DeleteFirewallRuleGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFirewallRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFirewallRuleGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteOutpostResolver
///
/// Deletes a Resolver on the Outpost.
///
/// Container for the necessary parameters to execute the DeleteOutpostResolver service method.
///
/// The response from the DeleteOutpostResolver service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for DeleteOutpostResolver Operation
public virtual DeleteOutpostResolverResponse DeleteOutpostResolver(DeleteOutpostResolverRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOutpostResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOutpostResolverResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a Resolver on the Outpost.
///
/// Container for the necessary parameters to execute the DeleteOutpostResolver service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteOutpostResolver service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for DeleteOutpostResolver Operation
public virtual Task DeleteOutpostResolverAsync(DeleteOutpostResolverRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOutpostResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOutpostResolverResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteResolverEndpoint
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DeleteResolverEndpoint service method.
///
/// The response from the DeleteResolverEndpoint service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DeleteResolverEndpoint Operation
public virtual DeleteResolverEndpointResponse DeleteResolverEndpoint(DeleteResolverEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResolverEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResolverEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DeleteResolverEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteResolverEndpoint service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DeleteResolverEndpoint Operation
public virtual Task DeleteResolverEndpointAsync(DeleteResolverEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResolverEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResolverEndpointResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteResolverQueryLogConfig
///
/// 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 Amazon Web
/// Services 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.
///
///
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DeleteResolverQueryLogConfig service method.
///
/// The response from the DeleteResolverQueryLogConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DeleteResolverQueryLogConfig Operation
public virtual DeleteResolverQueryLogConfigResponse DeleteResolverQueryLogConfig(DeleteResolverQueryLogConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResolverQueryLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResolverQueryLogConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 Amazon Web
/// Services 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.
///
///
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DeleteResolverQueryLogConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteResolverQueryLogConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DeleteResolverQueryLogConfig Operation
public virtual Task DeleteResolverQueryLogConfigAsync(DeleteResolverQueryLogConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResolverQueryLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResolverQueryLogConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteResolverRule
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteResolverRule service method.
///
/// The response from the DeleteResolverRule service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The resource that you tried to update or delete is currently in use.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DeleteResolverRule Operation
public virtual DeleteResolverRuleResponse DeleteResolverRule(DeleteResolverRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResolverRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResolverRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteResolverRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteResolverRule service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The resource that you tried to update or delete is currently in use.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DeleteResolverRule Operation
public virtual Task DeleteResolverRuleAsync(DeleteResolverRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResolverRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResolverRuleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateFirewallRuleGroup
///
/// Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from
/// the VPC.
///
/// Container for the necessary parameters to execute the DisassociateFirewallRuleGroup service method.
///
/// The response from the DisassociateFirewallRuleGroup service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for DisassociateFirewallRuleGroup Operation
public virtual DisassociateFirewallRuleGroupResponse DisassociateFirewallRuleGroup(DisassociateFirewallRuleGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateFirewallRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateFirewallRuleGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disassociates a FirewallRuleGroup from a VPC, to remove DNS filtering from
/// the VPC.
///
/// Container for the necessary parameters to execute the DisassociateFirewallRuleGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateFirewallRuleGroup service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for DisassociateFirewallRuleGroup Operation
public virtual Task DisassociateFirewallRuleGroupAsync(DisassociateFirewallRuleGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateFirewallRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateFirewallRuleGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateResolverEndpointIpAddress
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DisassociateResolverEndpointIpAddress service method.
///
/// The response from the DisassociateResolverEndpointIpAddress service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DisassociateResolverEndpointIpAddress Operation
public virtual DisassociateResolverEndpointIpAddressResponse DisassociateResolverEndpointIpAddress(DisassociateResolverEndpointIpAddressRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResolverEndpointIpAddressRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResolverEndpointIpAddressResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DisassociateResolverEndpointIpAddress service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateResolverEndpointIpAddress service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The resource that you tried to create already exists.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DisassociateResolverEndpointIpAddress Operation
public virtual Task DisassociateResolverEndpointIpAddressAsync(DisassociateResolverEndpointIpAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResolverEndpointIpAddressRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResolverEndpointIpAddressResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateResolverQueryLogConfig
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DisassociateResolverQueryLogConfig service method.
///
/// The response from the DisassociateResolverQueryLogConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DisassociateResolverQueryLogConfig Operation
public virtual DisassociateResolverQueryLogConfigResponse DisassociateResolverQueryLogConfig(DisassociateResolverQueryLogConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResolverQueryLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResolverQueryLogConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DisassociateResolverQueryLogConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateResolverQueryLogConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DisassociateResolverQueryLogConfig Operation
public virtual Task DisassociateResolverQueryLogConfigAsync(DisassociateResolverQueryLogConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResolverQueryLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResolverQueryLogConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateResolverRule
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DisassociateResolverRule service method.
///
/// The response from the DisassociateResolverRule service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DisassociateResolverRule Operation
public virtual DisassociateResolverRuleResponse DisassociateResolverRule(DisassociateResolverRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResolverRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResolverRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DisassociateResolverRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateResolverRule service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for DisassociateResolverRule Operation
public virtual Task DisassociateResolverRuleAsync(DisassociateResolverRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResolverRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResolverRuleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetFirewallConfig
///
/// Retrieves the configuration of the firewall behavior provided by DNS Firewall for
/// a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
///
/// Container for the necessary parameters to execute the GetFirewallConfig service method.
///
/// The response from the GetFirewallConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for GetFirewallConfig Operation
public virtual GetFirewallConfigResponse GetFirewallConfig(GetFirewallConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFirewallConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFirewallConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the configuration of the firewall behavior provided by DNS Firewall for
/// a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
///
/// Container for the necessary parameters to execute the GetFirewallConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetFirewallConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for GetFirewallConfig Operation
public virtual Task GetFirewallConfigAsync(GetFirewallConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFirewallConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFirewallConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetFirewallDomainList
///
/// Retrieves the specified firewall domain list.
///
/// Container for the necessary parameters to execute the GetFirewallDomainList service method.
///
/// The response from the GetFirewallDomainList service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetFirewallDomainList Operation
public virtual GetFirewallDomainListResponse GetFirewallDomainList(GetFirewallDomainListRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFirewallDomainListRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFirewallDomainListResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the specified firewall domain list.
///
/// Container for the necessary parameters to execute the GetFirewallDomainList service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetFirewallDomainList service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetFirewallDomainList Operation
public virtual Task GetFirewallDomainListAsync(GetFirewallDomainListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFirewallDomainListRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFirewallDomainListResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetFirewallRuleGroup
///
/// Retrieves the specified firewall rule group.
///
/// Container for the necessary parameters to execute the GetFirewallRuleGroup service method.
///
/// The response from the GetFirewallRuleGroup service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetFirewallRuleGroup Operation
public virtual GetFirewallRuleGroupResponse GetFirewallRuleGroup(GetFirewallRuleGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFirewallRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFirewallRuleGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the specified firewall rule group.
///
/// Container for the necessary parameters to execute the GetFirewallRuleGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetFirewallRuleGroup service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetFirewallRuleGroup Operation
public virtual Task GetFirewallRuleGroupAsync(GetFirewallRuleGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFirewallRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFirewallRuleGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetFirewallRuleGroupAssociation
///
/// 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.
///
/// Container for the necessary parameters to execute the GetFirewallRuleGroupAssociation service method.
///
/// The response from the GetFirewallRuleGroupAssociation service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetFirewallRuleGroupAssociation Operation
public virtual GetFirewallRuleGroupAssociationResponse GetFirewallRuleGroupAssociation(GetFirewallRuleGroupAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFirewallRuleGroupAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFirewallRuleGroupAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the GetFirewallRuleGroupAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetFirewallRuleGroupAssociation service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetFirewallRuleGroupAssociation Operation
public virtual Task GetFirewallRuleGroupAssociationAsync(GetFirewallRuleGroupAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFirewallRuleGroupAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFirewallRuleGroupAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetFirewallRuleGroupPolicy
///
/// Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing
/// the specified rule group. You can use the policy to share the rule group using Resource
/// Access Manager (RAM).
///
/// Container for the necessary parameters to execute the GetFirewallRuleGroupPolicy service method.
///
/// The response from the GetFirewallRuleGroupPolicy service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for GetFirewallRuleGroupPolicy Operation
public virtual GetFirewallRuleGroupPolicyResponse GetFirewallRuleGroupPolicy(GetFirewallRuleGroupPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFirewallRuleGroupPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFirewallRuleGroupPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing
/// the specified rule group. You can use the policy to share the rule group using Resource
/// Access Manager (RAM).
///
/// Container for the necessary parameters to execute the GetFirewallRuleGroupPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetFirewallRuleGroupPolicy service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for GetFirewallRuleGroupPolicy Operation
public virtual Task GetFirewallRuleGroupPolicyAsync(GetFirewallRuleGroupPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFirewallRuleGroupPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFirewallRuleGroupPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetOutpostResolver
///
/// Gets information about a specified Resolver on the Outpost, such as its instance count
/// and type, name, and the current status of the Resolver.
///
/// Container for the necessary parameters to execute the GetOutpostResolver service method.
///
/// The response from the GetOutpostResolver service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for GetOutpostResolver Operation
public virtual GetOutpostResolverResponse GetOutpostResolver(GetOutpostResolverRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOutpostResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOutpostResolverResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about a specified Resolver on the Outpost, such as its instance count
/// and type, name, and the current status of the Resolver.
///
/// Container for the necessary parameters to execute the GetOutpostResolver service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetOutpostResolver service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for GetOutpostResolver Operation
public virtual Task GetOutpostResolverAsync(GetOutpostResolverRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOutpostResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOutpostResolverResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResolverConfig
///
/// Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC
/// from Amazon Virtual Private Cloud.
///
/// Container for the necessary parameters to execute the GetResolverConfig service method.
///
/// The response from the GetResolverConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for GetResolverConfig Operation
public virtual GetResolverConfigResponse GetResolverConfig(GetResolverConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC
/// from Amazon Virtual Private Cloud.
///
/// Container for the necessary parameters to execute the GetResolverConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetResolverConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for GetResolverConfig Operation
public virtual Task GetResolverConfigAsync(GetResolverConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResolverDnssecConfig
///
/// Gets DNSSEC validation information for a specified resource.
///
/// Container for the necessary parameters to execute the GetResolverDnssecConfig service method.
///
/// The response from the GetResolverDnssecConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetResolverDnssecConfig Operation
public virtual GetResolverDnssecConfigResponse GetResolverDnssecConfig(GetResolverDnssecConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverDnssecConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverDnssecConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets DNSSEC validation information for a specified resource.
///
/// Container for the necessary parameters to execute the GetResolverDnssecConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetResolverDnssecConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetResolverDnssecConfig Operation
public virtual Task GetResolverDnssecConfigAsync(GetResolverDnssecConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverDnssecConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverDnssecConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResolverEndpoint
///
/// 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.
///
/// Container for the necessary parameters to execute the GetResolverEndpoint service method.
///
/// The response from the GetResolverEndpoint service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetResolverEndpoint Operation
public virtual GetResolverEndpointResponse GetResolverEndpoint(GetResolverEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the GetResolverEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetResolverEndpoint service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetResolverEndpoint Operation
public virtual Task GetResolverEndpointAsync(GetResolverEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverEndpointResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResolverQueryLogConfig
///
/// 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.
///
/// Container for the necessary parameters to execute the GetResolverQueryLogConfig service method.
///
/// The response from the GetResolverQueryLogConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetResolverQueryLogConfig Operation
public virtual GetResolverQueryLogConfigResponse GetResolverQueryLogConfig(GetResolverQueryLogConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverQueryLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverQueryLogConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the GetResolverQueryLogConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetResolverQueryLogConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetResolverQueryLogConfig Operation
public virtual Task GetResolverQueryLogConfigAsync(GetResolverQueryLogConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverQueryLogConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverQueryLogConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResolverQueryLogConfigAssociation
///
/// 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.
///
/// Container for the necessary parameters to execute the GetResolverQueryLogConfigAssociation service method.
///
/// The response from the GetResolverQueryLogConfigAssociation service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetResolverQueryLogConfigAssociation Operation
public virtual GetResolverQueryLogConfigAssociationResponse GetResolverQueryLogConfigAssociation(GetResolverQueryLogConfigAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverQueryLogConfigAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverQueryLogConfigAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the GetResolverQueryLogConfigAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetResolverQueryLogConfigAssociation service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetResolverQueryLogConfigAssociation Operation
public virtual Task GetResolverQueryLogConfigAssociationAsync(GetResolverQueryLogConfigAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverQueryLogConfigAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverQueryLogConfigAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResolverQueryLogConfigPolicy
///
/// 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 Amazon
/// Web Services account to be able to use.
///
/// Container for the necessary parameters to execute the GetResolverQueryLogConfigPolicy service method.
///
/// The response from the GetResolverQueryLogConfigPolicy service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
/// REST API Reference for GetResolverQueryLogConfigPolicy Operation
public virtual GetResolverQueryLogConfigPolicyResponse GetResolverQueryLogConfigPolicy(GetResolverQueryLogConfigPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverQueryLogConfigPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverQueryLogConfigPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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 Amazon
/// Web Services account to be able to use.
///
/// Container for the necessary parameters to execute the GetResolverQueryLogConfigPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetResolverQueryLogConfigPolicy service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
/// REST API Reference for GetResolverQueryLogConfigPolicy Operation
public virtual Task GetResolverQueryLogConfigPolicyAsync(GetResolverQueryLogConfigPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverQueryLogConfigPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverQueryLogConfigPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResolverRule
///
/// 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.
///
/// Container for the necessary parameters to execute the GetResolverRule service method.
///
/// The response from the GetResolverRule service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetResolverRule Operation
public virtual GetResolverRuleResponse GetResolverRule(GetResolverRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the GetResolverRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetResolverRule service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetResolverRule Operation
public virtual Task GetResolverRuleAsync(GetResolverRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverRuleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResolverRuleAssociation
///
/// Gets information about an association between a specified Resolver rule and a VPC.
/// You associate a Resolver rule and a VPC using AssociateResolverRule.
///
/// Container for the necessary parameters to execute the GetResolverRuleAssociation service method.
///
/// The response from the GetResolverRuleAssociation service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetResolverRuleAssociation Operation
public virtual GetResolverRuleAssociationResponse GetResolverRuleAssociation(GetResolverRuleAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverRuleAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverRuleAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets information about an association between a specified Resolver rule and a VPC.
/// You associate a Resolver rule and a VPC using AssociateResolverRule.
///
/// Container for the necessary parameters to execute the GetResolverRuleAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetResolverRuleAssociation service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for GetResolverRuleAssociation Operation
public virtual Task GetResolverRuleAssociationAsync(GetResolverRuleAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverRuleAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverRuleAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResolverRulePolicy
///
/// 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.
///
/// Container for the necessary parameters to execute the GetResolverRulePolicy service method.
///
/// The response from the GetResolverRulePolicy service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
/// REST API Reference for GetResolverRulePolicy Operation
public virtual GetResolverRulePolicyResponse GetResolverRulePolicy(GetResolverRulePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverRulePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverRulePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the GetResolverRulePolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetResolverRulePolicy service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
/// REST API Reference for GetResolverRulePolicy Operation
public virtual Task GetResolverRulePolicyAsync(GetResolverRulePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResolverRulePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResolverRulePolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ImportFirewallDomains
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the ImportFirewallDomains service method.
///
/// The response from the ImportFirewallDomains service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ImportFirewallDomains Operation
public virtual ImportFirewallDomainsResponse ImportFirewallDomains(ImportFirewallDomainsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportFirewallDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportFirewallDomainsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the ImportFirewallDomains service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ImportFirewallDomains service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ImportFirewallDomains Operation
public virtual Task ImportFirewallDomainsAsync(ImportFirewallDomainsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ImportFirewallDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ImportFirewallDomainsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFirewallConfigs
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the ListFirewallConfigs service method.
///
/// The response from the ListFirewallConfigs service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListFirewallConfigs Operation
public virtual ListFirewallConfigsResponse ListFirewallConfigs(ListFirewallConfigsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallConfigsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the ListFirewallConfigs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFirewallConfigs service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListFirewallConfigs Operation
public virtual Task ListFirewallConfigsAsync(ListFirewallConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallConfigsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFirewallDomainLists
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the ListFirewallDomainLists service method.
///
/// The response from the ListFirewallDomainLists service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListFirewallDomainLists Operation
public virtual ListFirewallDomainListsResponse ListFirewallDomainLists(ListFirewallDomainListsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallDomainListsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallDomainListsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the ListFirewallDomainLists service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFirewallDomainLists service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListFirewallDomainLists Operation
public virtual Task ListFirewallDomainListsAsync(ListFirewallDomainListsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallDomainListsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallDomainListsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFirewallDomains
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the ListFirewallDomains service method.
///
/// The response from the ListFirewallDomains service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListFirewallDomains Operation
public virtual ListFirewallDomainsResponse ListFirewallDomains(ListFirewallDomainsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallDomainsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the ListFirewallDomains service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFirewallDomains service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListFirewallDomains Operation
public virtual Task ListFirewallDomainsAsync(ListFirewallDomainsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallDomainsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFirewallRuleGroupAssociations
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the ListFirewallRuleGroupAssociations service method.
///
/// The response from the ListFirewallRuleGroupAssociations service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListFirewallRuleGroupAssociations Operation
public virtual ListFirewallRuleGroupAssociationsResponse ListFirewallRuleGroupAssociations(ListFirewallRuleGroupAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallRuleGroupAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallRuleGroupAssociationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the ListFirewallRuleGroupAssociations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFirewallRuleGroupAssociations service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListFirewallRuleGroupAssociations Operation
public virtual Task ListFirewallRuleGroupAssociationsAsync(ListFirewallRuleGroupAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallRuleGroupAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallRuleGroupAssociationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFirewallRuleGroups
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the ListFirewallRuleGroups service method.
///
/// The response from the ListFirewallRuleGroups service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListFirewallRuleGroups Operation
public virtual ListFirewallRuleGroupsResponse ListFirewallRuleGroups(ListFirewallRuleGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallRuleGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallRuleGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the ListFirewallRuleGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFirewallRuleGroups service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListFirewallRuleGroups Operation
public virtual Task ListFirewallRuleGroupsAsync(ListFirewallRuleGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallRuleGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallRuleGroupsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFirewallRules
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the ListFirewallRules service method.
///
/// The response from the ListFirewallRules service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListFirewallRules Operation
public virtual ListFirewallRulesResponse ListFirewallRules(ListFirewallRulesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallRulesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallRulesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
.
///
///
/// Container for the necessary parameters to execute the ListFirewallRules service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFirewallRules service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListFirewallRules Operation
public virtual Task ListFirewallRulesAsync(ListFirewallRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallRulesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallRulesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListOutpostResolvers
///
/// Lists all the Resolvers on Outposts that were created using the current Amazon Web
/// Services account.
///
/// Container for the necessary parameters to execute the ListOutpostResolvers service method.
///
/// The response from the ListOutpostResolvers service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListOutpostResolvers Operation
public virtual ListOutpostResolversResponse ListOutpostResolvers(ListOutpostResolversRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOutpostResolversRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOutpostResolversResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all the Resolvers on Outposts that were created using the current Amazon Web
/// Services account.
///
/// Container for the necessary parameters to execute the ListOutpostResolvers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListOutpostResolvers service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListOutpostResolvers Operation
public virtual Task ListOutpostResolversAsync(ListOutpostResolversRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListOutpostResolversRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListOutpostResolversResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResolverConfigs
///
/// Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses
/// the configurations to manage DNS resolution behavior for your VPCs.
///
/// Container for the necessary parameters to execute the ListResolverConfigs service method.
///
/// The response from the ListResolverConfigs service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListResolverConfigs Operation
public virtual ListResolverConfigsResponse ListResolverConfigs(ListResolverConfigsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverConfigsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses
/// the configurations to manage DNS resolution behavior for your VPCs.
///
/// Container for the necessary parameters to execute the ListResolverConfigs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListResolverConfigs service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for ListResolverConfigs Operation
public virtual Task ListResolverConfigsAsync(ListResolverConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverConfigsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResolverDnssecConfigs
///
/// Lists the configurations for DNSSEC validation that are associated with the current
/// Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListResolverDnssecConfigs service method.
///
/// The response from the ListResolverDnssecConfigs service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverDnssecConfigs Operation
public virtual ListResolverDnssecConfigsResponse ListResolverDnssecConfigs(ListResolverDnssecConfigsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverDnssecConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverDnssecConfigsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the configurations for DNSSEC validation that are associated with the current
/// Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListResolverDnssecConfigs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListResolverDnssecConfigs service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverDnssecConfigs Operation
public virtual Task ListResolverDnssecConfigsAsync(ListResolverDnssecConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverDnssecConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverDnssecConfigsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResolverEndpointIpAddresses
///
/// Gets the IP addresses for a specified Resolver endpoint.
///
/// Container for the necessary parameters to execute the ListResolverEndpointIpAddresses service method.
///
/// The response from the ListResolverEndpointIpAddresses service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverEndpointIpAddresses Operation
public virtual ListResolverEndpointIpAddressesResponse ListResolverEndpointIpAddresses(ListResolverEndpointIpAddressesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverEndpointIpAddressesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverEndpointIpAddressesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets the IP addresses for a specified Resolver endpoint.
///
/// Container for the necessary parameters to execute the ListResolverEndpointIpAddresses service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListResolverEndpointIpAddresses service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverEndpointIpAddresses Operation
public virtual Task ListResolverEndpointIpAddressesAsync(ListResolverEndpointIpAddressesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverEndpointIpAddressesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverEndpointIpAddressesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResolverEndpoints
///
/// Lists all the Resolver endpoints that were created using the current Amazon Web Services
/// account.
///
/// Container for the necessary parameters to execute the ListResolverEndpoints service method.
///
/// The response from the ListResolverEndpoints service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverEndpoints Operation
public virtual ListResolverEndpointsResponse ListResolverEndpoints(ListResolverEndpointsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverEndpointsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all the Resolver endpoints that were created using the current Amazon Web Services
/// account.
///
/// Container for the necessary parameters to execute the ListResolverEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListResolverEndpoints service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverEndpoints Operation
public virtual Task ListResolverEndpointsAsync(ListResolverEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverEndpointsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResolverQueryLogConfigAssociations
///
/// Lists information about associations between Amazon VPCs and query logging configurations.
///
/// Container for the necessary parameters to execute the ListResolverQueryLogConfigAssociations service method.
///
/// The response from the ListResolverQueryLogConfigAssociations service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverQueryLogConfigAssociations Operation
public virtual ListResolverQueryLogConfigAssociationsResponse ListResolverQueryLogConfigAssociations(ListResolverQueryLogConfigAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverQueryLogConfigAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverQueryLogConfigAssociationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists information about associations between Amazon VPCs and query logging configurations.
///
/// Container for the necessary parameters to execute the ListResolverQueryLogConfigAssociations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListResolverQueryLogConfigAssociations service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverQueryLogConfigAssociations Operation
public virtual Task ListResolverQueryLogConfigAssociationsAsync(ListResolverQueryLogConfigAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverQueryLogConfigAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverQueryLogConfigAssociationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResolverQueryLogConfigs
///
/// 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.
///
/// Container for the necessary parameters to execute the ListResolverQueryLogConfigs service method.
///
/// The response from the ListResolverQueryLogConfigs service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverQueryLogConfigs Operation
public virtual ListResolverQueryLogConfigsResponse ListResolverQueryLogConfigs(ListResolverQueryLogConfigsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverQueryLogConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverQueryLogConfigsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the ListResolverQueryLogConfigs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListResolverQueryLogConfigs service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverQueryLogConfigs Operation
public virtual Task ListResolverQueryLogConfigsAsync(ListResolverQueryLogConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverQueryLogConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverQueryLogConfigsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResolverRuleAssociations
///
/// Lists the associations that were created between Resolver rules and VPCs using the
/// current Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListResolverRuleAssociations service method.
///
/// The response from the ListResolverRuleAssociations service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverRuleAssociations Operation
public virtual ListResolverRuleAssociationsResponse ListResolverRuleAssociations(ListResolverRuleAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverRuleAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverRuleAssociationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the associations that were created between Resolver rules and VPCs using the
/// current Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListResolverRuleAssociations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListResolverRuleAssociations service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverRuleAssociations Operation
public virtual Task ListResolverRuleAssociationsAsync(ListResolverRuleAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverRuleAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverRuleAssociationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResolverRules
///
/// Lists the Resolver rules that were created using the current Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListResolverRules service method.
///
/// The response from the ListResolverRules service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverRules Operation
public virtual ListResolverRulesResponse ListResolverRules(ListResolverRulesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverRulesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverRulesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the Resolver rules that were created using the current Amazon Web Services account.
///
/// Container for the necessary parameters to execute the ListResolverRules service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListResolverRules service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListResolverRules Operation
public virtual Task ListResolverRulesAsync(ListResolverRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResolverRulesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResolverRulesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
///
/// Lists the tags that you associated with the specified resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the tags that you associated with the specified resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The value that you specified for NextToken
in a List
request
/// isn't valid.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PutFirewallRuleGroupPolicy
///
/// Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing
/// the rule group. You can use the policy to share the rule group using Resource Access
/// Manager (RAM).
///
/// Container for the necessary parameters to execute the PutFirewallRuleGroupPolicy service method.
///
/// The response from the PutFirewallRuleGroupPolicy service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for PutFirewallRuleGroupPolicy Operation
public virtual PutFirewallRuleGroupPolicyResponse PutFirewallRuleGroupPolicy(PutFirewallRuleGroupPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutFirewallRuleGroupPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutFirewallRuleGroupPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Attaches an Identity and Access Management (Amazon Web Services IAM) policy for sharing
/// the rule group. You can use the policy to share the rule group using Resource Access
/// Manager (RAM).
///
/// Container for the necessary parameters to execute the PutFirewallRuleGroupPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutFirewallRuleGroupPolicy service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for PutFirewallRuleGroupPolicy Operation
public virtual Task PutFirewallRuleGroupPolicyAsync(PutFirewallRuleGroupPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutFirewallRuleGroupPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutFirewallRuleGroupPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PutResolverQueryLogConfigPolicy
///
/// Specifies an Amazon Web Services 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.
///
/// Container for the necessary parameters to execute the PutResolverQueryLogConfigPolicy service method.
///
/// The response from the PutResolverQueryLogConfigPolicy service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified Resolver rule policy is invalid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
/// REST API Reference for PutResolverQueryLogConfigPolicy Operation
public virtual PutResolverQueryLogConfigPolicyResponse PutResolverQueryLogConfigPolicy(PutResolverQueryLogConfigPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResolverQueryLogConfigPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResolverQueryLogConfigPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Specifies an Amazon Web Services 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.
///
/// Container for the necessary parameters to execute the PutResolverQueryLogConfigPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutResolverQueryLogConfigPolicy service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified Resolver rule policy is invalid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
/// REST API Reference for PutResolverQueryLogConfigPolicy Operation
public virtual Task PutResolverQueryLogConfigPolicyAsync(PutResolverQueryLogConfigPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResolverQueryLogConfigPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResolverQueryLogConfigPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PutResolverRulePolicy
///
/// Specifies an Amazon Web Services 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.
///
/// Container for the necessary parameters to execute the PutResolverRulePolicy service method.
///
/// The response from the PutResolverRulePolicy service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified Resolver rule policy is invalid.
///
///
/// The specified resource doesn't exist.
///
/// REST API Reference for PutResolverRulePolicy Operation
public virtual PutResolverRulePolicyResponse PutResolverRulePolicy(PutResolverRulePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResolverRulePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResolverRulePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Specifies an Amazon Web Services 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.
///
/// Container for the necessary parameters to execute the PutResolverRulePolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutResolverRulePolicy service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The specified Resolver rule policy is invalid.
///
///
/// The specified resource doesn't exist.
///
/// REST API Reference for PutResolverRulePolicy Operation
public virtual Task PutResolverRulePolicyAsync(PutResolverRulePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResolverRulePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResolverRulePolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
///
/// Adds one or more tags to a specified resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified tag is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds one or more tags to a specified resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified tag is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
///
/// Removes one or more tags from a specified resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes one or more tags from a specified resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFirewallConfig
///
/// Updates the configuration of the firewall behavior provided by DNS Firewall for a
/// single VPC from Amazon Virtual Private Cloud (Amazon VPC).
///
/// Container for the necessary parameters to execute the UpdateFirewallConfig service method.
///
/// The response from the UpdateFirewallConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for UpdateFirewallConfig Operation
public virtual UpdateFirewallConfigResponse UpdateFirewallConfig(UpdateFirewallConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the configuration of the firewall behavior provided by DNS Firewall for a
/// single VPC from Amazon Virtual Private Cloud (Amazon VPC).
///
/// Container for the necessary parameters to execute the UpdateFirewallConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFirewallConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for UpdateFirewallConfig Operation
public virtual Task UpdateFirewallConfigAsync(UpdateFirewallConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFirewallDomains
///
/// Updates the firewall domain list from an array of domain specifications.
///
/// Container for the necessary parameters to execute the UpdateFirewallDomains service method.
///
/// The response from the UpdateFirewallDomains service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for UpdateFirewallDomains Operation
public virtual UpdateFirewallDomainsResponse UpdateFirewallDomains(UpdateFirewallDomainsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallDomainsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the firewall domain list from an array of domain specifications.
///
/// Container for the necessary parameters to execute the UpdateFirewallDomains service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFirewallDomains service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for UpdateFirewallDomains Operation
public virtual Task UpdateFirewallDomainsAsync(UpdateFirewallDomainsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallDomainsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallDomainsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFirewallRule
///
/// Updates the specified firewall rule.
///
/// Container for the necessary parameters to execute the UpdateFirewallRule service method.
///
/// The response from the UpdateFirewallRule service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for UpdateFirewallRule Operation
public virtual UpdateFirewallRuleResponse UpdateFirewallRule(UpdateFirewallRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the specified firewall rule.
///
/// Container for the necessary parameters to execute the UpdateFirewallRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFirewallRule service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for UpdateFirewallRule Operation
public virtual Task UpdateFirewallRuleAsync(UpdateFirewallRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallRuleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFirewallRuleGroupAssociation
///
/// Changes the association of a FirewallRuleGroup with a VPC. The association
/// enables DNS filtering for the VPC.
///
/// Container for the necessary parameters to execute the UpdateFirewallRuleGroupAssociation service method.
///
/// The response from the UpdateFirewallRuleGroupAssociation service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for UpdateFirewallRuleGroupAssociation Operation
public virtual UpdateFirewallRuleGroupAssociationResponse UpdateFirewallRuleGroupAssociation(UpdateFirewallRuleGroupAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallRuleGroupAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallRuleGroupAssociationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Changes the association of a FirewallRuleGroup with a VPC. The association
/// enables DNS filtering for the VPC.
///
/// Container for the necessary parameters to execute the UpdateFirewallRuleGroupAssociation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFirewallRuleGroupAssociation service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for UpdateFirewallRuleGroupAssociation Operation
public virtual Task UpdateFirewallRuleGroupAssociationAsync(UpdateFirewallRuleGroupAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallRuleGroupAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallRuleGroupAssociationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateOutpostResolver
///
/// You can use UpdateOutpostResolver
to update the instance count, type,
/// or name of a Resolver on an Outpost.
///
/// Container for the necessary parameters to execute the UpdateOutpostResolver service method.
///
/// The response from the UpdateOutpostResolver service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// Fulfilling the request would cause one or more quotas to be exceeded.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for UpdateOutpostResolver Operation
public virtual UpdateOutpostResolverResponse UpdateOutpostResolver(UpdateOutpostResolverRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOutpostResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOutpostResolverResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// You can use UpdateOutpostResolver
to update the instance count, type,
/// or name of a Resolver on an Outpost.
///
/// Container for the necessary parameters to execute the UpdateOutpostResolver service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateOutpostResolver service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// The requested state transition isn't valid. For example, you can't delete a firewall
/// domain list if it is in the process of being deleted, or you can't import domains
/// into a domain list that is in the process of being deleted.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// The specified resource doesn't exist.
///
///
/// Fulfilling the request would cause one or more quotas to be exceeded.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for UpdateOutpostResolver Operation
public virtual Task UpdateOutpostResolverAsync(UpdateOutpostResolverRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOutpostResolverRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOutpostResolverResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateResolverConfig
///
/// Updates the behavior configuration of Route 53 Resolver behavior for a single VPC
/// from Amazon Virtual Private Cloud.
///
/// Container for the necessary parameters to execute the UpdateResolverConfig service method.
///
/// The response from the UpdateResolverConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The specified resource isn't available.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for UpdateResolverConfig Operation
public virtual UpdateResolverConfigResponse UpdateResolverConfig(UpdateResolverConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResolverConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResolverConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the behavior configuration of Route 53 Resolver behavior for a single VPC
/// from Amazon Virtual Private Cloud.
///
/// Container for the necessary parameters to execute the UpdateResolverConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateResolverConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The specified resource isn't available.
///
///
/// The request was throttled. Try again in a few minutes.
///
///
/// You have provided an invalid command. Supported values are ADD
, REMOVE
,
/// or REPLACE
a domain.
///
/// REST API Reference for UpdateResolverConfig Operation
public virtual Task UpdateResolverConfigAsync(UpdateResolverConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResolverConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResolverConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateResolverDnssecConfig
///
/// Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC
/// validation configuration, one is created.
///
/// Container for the necessary parameters to execute the UpdateResolverDnssecConfig service method.
///
/// The response from the UpdateResolverDnssecConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for UpdateResolverDnssecConfig Operation
public virtual UpdateResolverDnssecConfigResponse UpdateResolverDnssecConfig(UpdateResolverDnssecConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResolverDnssecConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResolverDnssecConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC
/// validation configuration, one is created.
///
/// Container for the necessary parameters to execute the UpdateResolverDnssecConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateResolverDnssecConfig service method, as returned by Route53Resolver.
///
/// The current account doesn't have the IAM permissions required to perform the specified
/// Resolver operation.
///
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for UpdateResolverDnssecConfig Operation
public virtual Task UpdateResolverDnssecConfigAsync(UpdateResolverDnssecConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResolverDnssecConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResolverDnssecConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateResolverEndpoint
///
/// Updates the name, or enpoint type for an inbound or an outbound Resolver endpoint.
/// You can only update between IPV4 and DUALSTACK, IPV6 endpoint type can't be updated
/// to other type.
///
/// Container for the necessary parameters to execute the UpdateResolverEndpoint service method.
///
/// The response from the UpdateResolverEndpoint service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for UpdateResolverEndpoint Operation
public virtual UpdateResolverEndpointResponse UpdateResolverEndpoint(UpdateResolverEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResolverEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResolverEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the name, or enpoint type for an inbound or an outbound Resolver endpoint.
/// You can only update between IPV4 and DUALSTACK, IPV6 endpoint type can't be updated
/// to other type.
///
/// Container for the necessary parameters to execute the UpdateResolverEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateResolverEndpoint service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The specified resource doesn't exist.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for UpdateResolverEndpoint Operation
public virtual Task UpdateResolverEndpointAsync(UpdateResolverEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResolverEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResolverEndpointResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateResolverRule
///
/// 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.
///
/// Container for the necessary parameters to execute the UpdateResolverRule service method.
///
/// The response from the UpdateResolverRule service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The specified resource isn't available.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for UpdateResolverRule Operation
public virtual UpdateResolverRuleResponse UpdateResolverRule(UpdateResolverRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResolverRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResolverRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the UpdateResolverRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateResolverRule service method, as returned by Route53Resolver.
///
/// We encountered an unknown error. Try again in a few minutes.
///
///
/// One or more parameters in this request are not valid.
///
///
/// The request is invalid.
///
///
/// The request caused one or more limits to be exceeded.
///
///
/// The specified resource doesn't exist.
///
///
/// The specified resource isn't available.
///
///
/// The request was throttled. Try again in a few minutes.
///
/// REST API Reference for UpdateResolverRule Operation
public virtual Task UpdateResolverRuleAsync(UpdateResolverRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResolverRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResolverRuleResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}