/*
* 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 network-firewall-2020-11-12.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.NetworkFirewall.Model;
using Amazon.NetworkFirewall.Model.Internal.MarshallTransformations;
using Amazon.NetworkFirewall.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.NetworkFirewall
{
///
/// Implementation for accessing NetworkFirewall
///
/// This is the API Reference for Network Firewall. This guide is for developers who need
/// detailed information about the Network Firewall API actions, data types, and errors.
///
///
/// -
///
/// The REST API requires you to handle connection details, such as calculating signatures,
/// handling request retries, and error handling. For general information about using
/// the Amazon Web Services REST APIs, see Amazon
/// Web Services APIs.
///
///
///
/// To access Network Firewall using the REST API endpoint:
https://network-firewall.<region>.amazonaws.com
///
///
/// -
///
/// Alternatively, you can use one of the Amazon Web Services SDKs to access an API that's
/// tailored to the programming language or platform that you're using. For more information,
/// see Amazon Web Services SDKs.
///
///
-
///
/// For descriptions of Network Firewall features, including and step-by-step instructions
/// on how to use them through the Network Firewall console, see the Network
/// Firewall Developer Guide.
///
///
///
/// Network Firewall is a stateful, managed, network firewall and intrusion detection
/// and prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network
/// Firewall, you can filter traffic at the perimeter of your VPC. This includes filtering
/// traffic going to and coming from an internet gateway, NAT gateway, or over VPN or
/// Direct Connect. Network Firewall uses rules that are compatible with Suricata, a free,
/// open source network analysis and threat detection engine. Network Firewall supports
/// Suricata version 6.0.9. For information about Suricata, see the Suricata
/// website.
///
///
///
/// You can use Network Firewall to monitor and protect your VPC traffic in a number of
/// ways. The following are just a few examples:
///
/// -
///
/// Allow domains or IP addresses for known Amazon Web Services service endpoints, such
/// as Amazon S3, and block all other forms of traffic.
///
///
-
///
/// Use custom lists of known bad domains to limit the types of domain names that your
/// applications can access.
///
///
-
///
/// Perform deep packet inspection on traffic entering or leaving your VPC.
///
///
-
///
/// Use stateful protocol detection to filter protocols like HTTPS, regardless of the
/// port used.
///
///
///
/// To enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and
/// in Network Firewall. For information about using Amazon VPC, see Amazon
/// VPC User Guide.
///
///
///
/// To start using Network Firewall, do the following:
///
/// -
///
/// (Optional) If you don't already have a VPC that you want to protect, create it in
/// Amazon VPC.
///
///
-
///
/// In Amazon VPC, in each Availability Zone where you want to have a firewall endpoint,
/// create a subnet for the sole use of Network Firewall.
///
///
-
///
/// In Network Firewall, create stateless and stateful rule groups, to define the components
/// of the network traffic filtering behavior that you want your firewall to have.
///
///
-
///
/// In Network Firewall, create a firewall policy that uses your rule groups and specifies
/// additional default traffic filtering behavior.
///
///
-
///
/// In Network Firewall, create a firewall and specify your new firewall policy and VPC
/// subnets. Network Firewall creates a firewall endpoint in each subnet that you specify,
/// with the behavior that's defined in the firewall policy.
///
///
-
///
/// In Amazon VPC, use ingress routing enhancements to route traffic through the new firewall
/// endpoints.
///
///
///
public partial class AmazonNetworkFirewallClient : AmazonServiceClient, IAmazonNetworkFirewall
{
private static IServiceMetadata serviceMetadata = new AmazonNetworkFirewallMetadata();
private INetworkFirewallPaginatorFactory _paginators;
///
/// Paginators for the service
///
public INetworkFirewallPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new NetworkFirewallPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
///
/// Constructs AmazonNetworkFirewallClient 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 AmazonNetworkFirewallClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonNetworkFirewallConfig()) { }
///
/// Constructs AmazonNetworkFirewallClient 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 AmazonNetworkFirewallClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonNetworkFirewallConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonNetworkFirewallClient 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 AmazonNetworkFirewallClient Configuration Object
public AmazonNetworkFirewallClient(AmazonNetworkFirewallConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonNetworkFirewallClient with AWS Credentials
///
/// AWS Credentials
public AmazonNetworkFirewallClient(AWSCredentials credentials)
: this(credentials, new AmazonNetworkFirewallConfig())
{
}
///
/// Constructs AmazonNetworkFirewallClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonNetworkFirewallClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonNetworkFirewallConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonNetworkFirewallClient with AWS Credentials and an
/// AmazonNetworkFirewallClient Configuration object.
///
/// AWS Credentials
/// The AmazonNetworkFirewallClient Configuration Object
public AmazonNetworkFirewallClient(AWSCredentials credentials, AmazonNetworkFirewallConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonNetworkFirewallClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonNetworkFirewallClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonNetworkFirewallConfig())
{
}
///
/// Constructs AmazonNetworkFirewallClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonNetworkFirewallClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonNetworkFirewallConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonNetworkFirewallClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonNetworkFirewallClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonNetworkFirewallClient Configuration Object
public AmazonNetworkFirewallClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonNetworkFirewallConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonNetworkFirewallClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonNetworkFirewallClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonNetworkFirewallConfig())
{
}
///
/// Constructs AmazonNetworkFirewallClient 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 AmazonNetworkFirewallClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonNetworkFirewallConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonNetworkFirewallClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonNetworkFirewallClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonNetworkFirewallClient Configuration Object
public AmazonNetworkFirewallClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonNetworkFirewallConfig 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 AmazonNetworkFirewallEndpointResolver());
}
///
/// 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 AssociateFirewallPolicy
///
/// Associates a FirewallPolicy to a Firewall.
///
///
///
/// A firewall policy defines how to monitor and manage your VPC network traffic, using
/// a collection of inspection rule groups and other settings. Each firewall requires
/// one firewall policy association, and you can use the same firewall policy for multiple
/// firewalls.
///
///
/// Container for the necessary parameters to execute the AssociateFirewallPolicy service method.
///
/// The response from the AssociateFirewallPolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for AssociateFirewallPolicy Operation
public virtual AssociateFirewallPolicyResponse AssociateFirewallPolicy(AssociateFirewallPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateFirewallPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates a FirewallPolicy to a Firewall.
///
///
///
/// A firewall policy defines how to monitor and manage your VPC network traffic, using
/// a collection of inspection rule groups and other settings. Each firewall requires
/// one firewall policy association, and you can use the same firewall policy for multiple
/// firewalls.
///
///
/// Container for the necessary parameters to execute the AssociateFirewallPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateFirewallPolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for AssociateFirewallPolicy Operation
public virtual Task AssociateFirewallPolicyAsync(AssociateFirewallPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateFirewallPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociateSubnets
///
/// Associates the specified subnets in the Amazon VPC to the firewall. You can specify
/// one subnet for each of the Availability Zones that the VPC spans.
///
///
///
/// This request creates an Network Firewall firewall endpoint in each of the subnets.
/// To enable the firewall's protections, you must also modify the VPC's route tables
/// for each subnet's Availability Zone, to redirect the traffic that's coming into and
/// going out of the zone through the firewall endpoint.
///
///
/// Container for the necessary parameters to execute the AssociateSubnets service method.
///
/// The response from the AssociateSubnets service method, as returned by NetworkFirewall.
///
/// Amazon Web Services doesn't currently have enough available capacity to fulfill your
/// request. Try your request later.
///
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for AssociateSubnets Operation
public virtual AssociateSubnetsResponse AssociateSubnets(AssociateSubnetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateSubnetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateSubnetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates the specified subnets in the Amazon VPC to the firewall. You can specify
/// one subnet for each of the Availability Zones that the VPC spans.
///
///
///
/// This request creates an Network Firewall firewall endpoint in each of the subnets.
/// To enable the firewall's protections, you must also modify the VPC's route tables
/// for each subnet's Availability Zone, to redirect the traffic that's coming into and
/// going out of the zone through the firewall endpoint.
///
///
/// Container for the necessary parameters to execute the AssociateSubnets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateSubnets service method, as returned by NetworkFirewall.
///
/// Amazon Web Services doesn't currently have enough available capacity to fulfill your
/// request. Try your request later.
///
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for AssociateSubnets Operation
public virtual Task AssociateSubnetsAsync(AssociateSubnetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateSubnetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateSubnetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateFirewall
///
/// Creates an Network Firewall Firewall and accompanying FirewallStatus
/// for a VPC.
///
///
///
/// The firewall defines the configuration settings for an Network Firewall firewall.
/// The settings that you can define at creation include the firewall policy, the subnets
/// in your VPC to use for the firewall endpoints, and any tags that are attached to the
/// firewall Amazon Web Services resource.
///
///
///
/// After you create a firewall, you can provide additional settings, like the logging
/// configuration.
///
///
///
/// To update the settings for a firewall, you use the operations that apply to the settings
/// themselves, for example UpdateLoggingConfiguration, AssociateSubnets,
/// and UpdateFirewallDeleteProtection.
///
///
///
/// To manage a firewall's tags, use the standard Amazon Web Services resource tagging
/// operations, ListTagsForResource, TagResource, and UntagResource.
///
///
///
/// To retrieve information about firewalls, use ListFirewalls and DescribeFirewall.
///
///
/// Container for the necessary parameters to execute the CreateFirewall service method.
///
/// The response from the CreateFirewall service method, as returned by NetworkFirewall.
///
/// Amazon Web Services doesn't currently have enough available capacity to fulfill your
/// request. Try your request later.
///
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to perform the operation because doing so would violate a limit setting.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for CreateFirewall Operation
public virtual CreateFirewallResponse CreateFirewall(CreateFirewallRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFirewallRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFirewallResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an Network Firewall Firewall and accompanying FirewallStatus
/// for a VPC.
///
///
///
/// The firewall defines the configuration settings for an Network Firewall firewall.
/// The settings that you can define at creation include the firewall policy, the subnets
/// in your VPC to use for the firewall endpoints, and any tags that are attached to the
/// firewall Amazon Web Services resource.
///
///
///
/// After you create a firewall, you can provide additional settings, like the logging
/// configuration.
///
///
///
/// To update the settings for a firewall, you use the operations that apply to the settings
/// themselves, for example UpdateLoggingConfiguration, AssociateSubnets,
/// and UpdateFirewallDeleteProtection.
///
///
///
/// To manage a firewall's tags, use the standard Amazon Web Services resource tagging
/// operations, ListTagsForResource, TagResource, and UntagResource.
///
///
///
/// To retrieve information about firewalls, use ListFirewalls and DescribeFirewall.
///
///
/// Container for the necessary parameters to execute the CreateFirewall service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateFirewall service method, as returned by NetworkFirewall.
///
/// Amazon Web Services doesn't currently have enough available capacity to fulfill your
/// request. Try your request later.
///
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to perform the operation because doing so would violate a limit setting.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for CreateFirewall Operation
public virtual Task CreateFirewallAsync(CreateFirewallRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFirewallRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFirewallResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateFirewallPolicy
///
/// Creates the firewall policy for the firewall according to the specifications.
///
///
///
/// An Network Firewall firewall policy defines the behavior of a firewall, in a collection
/// of stateless and stateful rule groups and other settings. You can use one firewall
/// policy for multiple firewalls.
///
///
/// Container for the necessary parameters to execute the CreateFirewallPolicy service method.
///
/// The response from the CreateFirewallPolicy service method, as returned by NetworkFirewall.
///
/// Amazon Web Services doesn't currently have enough available capacity to fulfill your
/// request. Try your request later.
///
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to perform the operation because doing so would violate a limit setting.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for CreateFirewallPolicy Operation
public virtual CreateFirewallPolicyResponse CreateFirewallPolicy(CreateFirewallPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFirewallPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates the firewall policy for the firewall according to the specifications.
///
///
///
/// An Network Firewall firewall policy defines the behavior of a firewall, in a collection
/// of stateless and stateful rule groups and other settings. You can use one firewall
/// policy for multiple firewalls.
///
///
/// Container for the necessary parameters to execute the CreateFirewallPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateFirewallPolicy service method, as returned by NetworkFirewall.
///
/// Amazon Web Services doesn't currently have enough available capacity to fulfill your
/// request. Try your request later.
///
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to perform the operation because doing so would violate a limit setting.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for CreateFirewallPolicy Operation
public virtual Task CreateFirewallPolicyAsync(CreateFirewallPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFirewallPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateRuleGroup
///
/// Creates the specified stateless or stateful rule group, which includes the rules for
/// network traffic inspection, a capacity setting, and tags.
///
///
///
/// You provide your rule group specification in your request using either RuleGroup
/// or Rules
.
///
///
/// Container for the necessary parameters to execute the CreateRuleGroup service method.
///
/// The response from the CreateRuleGroup service method, as returned by NetworkFirewall.
///
/// Amazon Web Services doesn't currently have enough available capacity to fulfill your
/// request. Try your request later.
///
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to perform the operation because doing so would violate a limit setting.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for CreateRuleGroup Operation
public virtual CreateRuleGroupResponse CreateRuleGroup(CreateRuleGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRuleGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates the specified stateless or stateful rule group, which includes the rules for
/// network traffic inspection, a capacity setting, and tags.
///
///
///
/// You provide your rule group specification in your request using either RuleGroup
/// or Rules
.
///
///
/// Container for the necessary parameters to execute the CreateRuleGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateRuleGroup service method, as returned by NetworkFirewall.
///
/// Amazon Web Services doesn't currently have enough available capacity to fulfill your
/// request. Try your request later.
///
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to perform the operation because doing so would violate a limit setting.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for CreateRuleGroup Operation
public virtual Task CreateRuleGroupAsync(CreateRuleGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRuleGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateTLSInspectionConfiguration
///
/// Creates an Network Firewall TLS inspection configuration. A TLS inspection configuration
/// contains the Certificate Manager certificate references that Network Firewall uses
/// to decrypt and re-encrypt inbound traffic.
///
///
///
/// After you create a TLS inspection configuration, you associate it with a firewall
/// policy.
///
///
///
/// To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration.
///
///
///
/// To manage a TLS inspection configuration's tags, use the standard Amazon Web Services
/// resource tagging operations, ListTagsForResource, TagResource, and UntagResource.
///
///
///
/// To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations
/// and DescribeTLSInspectionConfiguration.
///
///
///
/// For more information about TLS inspection configurations, see Decrypting
/// SSL/TLS traffic with TLS inspection configurations in the Network Firewall
/// Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateTLSInspectionConfiguration service method.
///
/// The response from the CreateTLSInspectionConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for CreateTLSInspectionConfiguration Operation
public virtual CreateTLSInspectionConfigurationResponse CreateTLSInspectionConfiguration(CreateTLSInspectionConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTLSInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTLSInspectionConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an Network Firewall TLS inspection configuration. A TLS inspection configuration
/// contains the Certificate Manager certificate references that Network Firewall uses
/// to decrypt and re-encrypt inbound traffic.
///
///
///
/// After you create a TLS inspection configuration, you associate it with a firewall
/// policy.
///
///
///
/// To update the settings for a TLS inspection configuration, use UpdateTLSInspectionConfiguration.
///
///
///
/// To manage a TLS inspection configuration's tags, use the standard Amazon Web Services
/// resource tagging operations, ListTagsForResource, TagResource, and UntagResource.
///
///
///
/// To retrieve information about TLS inspection configurations, use ListTLSInspectionConfigurations
/// and DescribeTLSInspectionConfiguration.
///
///
///
/// For more information about TLS inspection configurations, see Decrypting
/// SSL/TLS traffic with TLS inspection configurations in the Network Firewall
/// Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateTLSInspectionConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateTLSInspectionConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for CreateTLSInspectionConfiguration Operation
public virtual Task CreateTLSInspectionConfigurationAsync(CreateTLSInspectionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTLSInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTLSInspectionConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteFirewall
///
/// Deletes the specified Firewall and its FirewallStatus. This operation
/// requires the firewall's DeleteProtection
flag to be FALSE
.
/// You can't revert this operation.
///
///
///
/// You can check whether a firewall is in use by reviewing the route tables for the Availability
/// Zones where you have firewall subnet mappings. Retrieve the subnet mappings by calling
/// DescribeFirewall. You define and update the route tables through Amazon VPC.
/// As needed, update the route tables for the zones to remove the firewall endpoints.
/// When the route tables no longer use the firewall endpoints, you can remove the firewall
/// safely.
///
///
///
/// To delete a firewall, remove the delete protection if you need to using UpdateFirewallDeleteProtection,
/// then delete the firewall by calling DeleteFirewall.
///
///
/// Container for the necessary parameters to execute the DeleteFirewall service method.
///
/// The response from the DeleteFirewall service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
///
/// The operation you requested isn't supported by Network Firewall.
///
/// REST API Reference for DeleteFirewall Operation
public virtual DeleteFirewallResponse DeleteFirewall(DeleteFirewallRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFirewallRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFirewallResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified Firewall and its FirewallStatus. This operation
/// requires the firewall's DeleteProtection
flag to be FALSE
.
/// You can't revert this operation.
///
///
///
/// You can check whether a firewall is in use by reviewing the route tables for the Availability
/// Zones where you have firewall subnet mappings. Retrieve the subnet mappings by calling
/// DescribeFirewall. You define and update the route tables through Amazon VPC.
/// As needed, update the route tables for the zones to remove the firewall endpoints.
/// When the route tables no longer use the firewall endpoints, you can remove the firewall
/// safely.
///
///
///
/// To delete a firewall, remove the delete protection if you need to using UpdateFirewallDeleteProtection,
/// then delete the firewall by calling DeleteFirewall.
///
///
/// Container for the necessary parameters to execute the DeleteFirewall service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFirewall service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
///
/// The operation you requested isn't supported by Network Firewall.
///
/// REST API Reference for DeleteFirewall Operation
public virtual Task DeleteFirewallAsync(DeleteFirewallRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFirewallRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFirewallResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteFirewallPolicy
///
/// Deletes the specified FirewallPolicy.
///
/// Container for the necessary parameters to execute the DeleteFirewallPolicy service method.
///
/// The response from the DeleteFirewallPolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
///
/// The operation you requested isn't supported by Network Firewall.
///
/// REST API Reference for DeleteFirewallPolicy Operation
public virtual DeleteFirewallPolicyResponse DeleteFirewallPolicy(DeleteFirewallPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFirewallPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified FirewallPolicy.
///
/// Container for the necessary parameters to execute the DeleteFirewallPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFirewallPolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
///
/// The operation you requested isn't supported by Network Firewall.
///
/// REST API Reference for DeleteFirewallPolicy Operation
public virtual Task DeleteFirewallPolicyAsync(DeleteFirewallPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFirewallPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteResourcePolicy
///
/// Deletes a resource policy that you created in a PutResourcePolicy request.
///
/// Container for the necessary parameters to execute the DeleteResourcePolicy service method.
///
/// The response from the DeleteResourcePolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The policy statement failed validation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DeleteResourcePolicy Operation
public virtual DeleteResourcePolicyResponse DeleteResourcePolicy(DeleteResourcePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a resource policy that you created in a PutResourcePolicy request.
///
/// Container for the necessary parameters to execute the DeleteResourcePolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteResourcePolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The policy statement failed validation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DeleteResourcePolicy Operation
public virtual Task DeleteResourcePolicyAsync(DeleteResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteRuleGroup
///
/// Deletes the specified RuleGroup.
///
/// Container for the necessary parameters to execute the DeleteRuleGroup service method.
///
/// The response from the DeleteRuleGroup service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
///
/// The operation you requested isn't supported by Network Firewall.
///
/// REST API Reference for DeleteRuleGroup Operation
public virtual DeleteRuleGroupResponse DeleteRuleGroup(DeleteRuleGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRuleGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified RuleGroup.
///
/// Container for the necessary parameters to execute the DeleteRuleGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteRuleGroup service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
///
/// The operation you requested isn't supported by Network Firewall.
///
/// REST API Reference for DeleteRuleGroup Operation
public virtual Task DeleteRuleGroupAsync(DeleteRuleGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRuleGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteTLSInspectionConfiguration
///
/// Deletes the specified TLSInspectionConfiguration.
///
/// Container for the necessary parameters to execute the DeleteTLSInspectionConfiguration service method.
///
/// The response from the DeleteTLSInspectionConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DeleteTLSInspectionConfiguration Operation
public virtual DeleteTLSInspectionConfigurationResponse DeleteTLSInspectionConfiguration(DeleteTLSInspectionConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTLSInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTLSInspectionConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified TLSInspectionConfiguration.
///
/// Container for the necessary parameters to execute the DeleteTLSInspectionConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteTLSInspectionConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DeleteTLSInspectionConfiguration Operation
public virtual Task DeleteTLSInspectionConfigurationAsync(DeleteTLSInspectionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTLSInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTLSInspectionConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeFirewall
///
/// Returns the data objects for the specified firewall.
///
/// Container for the necessary parameters to execute the DescribeFirewall service method.
///
/// The response from the DescribeFirewall service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeFirewall Operation
public virtual DescribeFirewallResponse DescribeFirewall(DescribeFirewallRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFirewallRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFirewallResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the data objects for the specified firewall.
///
/// Container for the necessary parameters to execute the DescribeFirewall service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFirewall service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeFirewall Operation
public virtual Task DescribeFirewallAsync(DescribeFirewallRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFirewallRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFirewallResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeFirewallPolicy
///
/// Returns the data objects for the specified firewall policy.
///
/// Container for the necessary parameters to execute the DescribeFirewallPolicy service method.
///
/// The response from the DescribeFirewallPolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeFirewallPolicy Operation
public virtual DescribeFirewallPolicyResponse DescribeFirewallPolicy(DescribeFirewallPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFirewallPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the data objects for the specified firewall policy.
///
/// Container for the necessary parameters to execute the DescribeFirewallPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFirewallPolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeFirewallPolicy Operation
public virtual Task DescribeFirewallPolicyAsync(DescribeFirewallPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFirewallPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeLoggingConfiguration
///
/// Returns the logging configuration for the specified firewall.
///
/// Container for the necessary parameters to execute the DescribeLoggingConfiguration service method.
///
/// The response from the DescribeLoggingConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeLoggingConfiguration Operation
public virtual DescribeLoggingConfigurationResponse DescribeLoggingConfiguration(DescribeLoggingConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLoggingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLoggingConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the logging configuration for the specified firewall.
///
/// Container for the necessary parameters to execute the DescribeLoggingConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeLoggingConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeLoggingConfiguration Operation
public virtual Task DescribeLoggingConfigurationAsync(DescribeLoggingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLoggingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLoggingConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeResourcePolicy
///
/// Retrieves a resource policy that you created in a PutResourcePolicy request.
///
/// Container for the necessary parameters to execute the DescribeResourcePolicy service method.
///
/// The response from the DescribeResourcePolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeResourcePolicy Operation
public virtual DescribeResourcePolicyResponse DescribeResourcePolicy(DescribeResourcePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeResourcePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a resource policy that you created in a PutResourcePolicy request.
///
/// Container for the necessary parameters to execute the DescribeResourcePolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeResourcePolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeResourcePolicy Operation
public virtual Task DescribeResourcePolicyAsync(DescribeResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeResourcePolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeRuleGroup
///
/// Returns the data objects for the specified rule group.
///
/// Container for the necessary parameters to execute the DescribeRuleGroup service method.
///
/// The response from the DescribeRuleGroup service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeRuleGroup Operation
public virtual DescribeRuleGroupResponse DescribeRuleGroup(DescribeRuleGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRuleGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the data objects for the specified rule group.
///
/// Container for the necessary parameters to execute the DescribeRuleGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeRuleGroup service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeRuleGroup Operation
public virtual Task DescribeRuleGroupAsync(DescribeRuleGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRuleGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeRuleGroupMetadata
///
/// High-level information about a rule group, returned by operations like create and
/// describe. You can use the information provided in the metadata to retrieve and manage
/// a rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.
///
/// Container for the necessary parameters to execute the DescribeRuleGroupMetadata service method.
///
/// The response from the DescribeRuleGroupMetadata service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeRuleGroupMetadata Operation
public virtual DescribeRuleGroupMetadataResponse DescribeRuleGroupMetadata(DescribeRuleGroupMetadataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRuleGroupMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRuleGroupMetadataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// High-level information about a rule group, returned by operations like create and
/// describe. You can use the information provided in the metadata to retrieve and manage
/// a rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.
///
/// Container for the necessary parameters to execute the DescribeRuleGroupMetadata service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeRuleGroupMetadata service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeRuleGroupMetadata Operation
public virtual Task DescribeRuleGroupMetadataAsync(DescribeRuleGroupMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRuleGroupMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRuleGroupMetadataResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeTLSInspectionConfiguration
///
/// Returns the data objects for the specified TLS inspection configuration.
///
/// Container for the necessary parameters to execute the DescribeTLSInspectionConfiguration service method.
///
/// The response from the DescribeTLSInspectionConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeTLSInspectionConfiguration Operation
public virtual DescribeTLSInspectionConfigurationResponse DescribeTLSInspectionConfiguration(DescribeTLSInspectionConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTLSInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTLSInspectionConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the data objects for the specified TLS inspection configuration.
///
/// Container for the necessary parameters to execute the DescribeTLSInspectionConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeTLSInspectionConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DescribeTLSInspectionConfiguration Operation
public virtual Task DescribeTLSInspectionConfigurationAsync(DescribeTLSInspectionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTLSInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTLSInspectionConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateSubnets
///
/// Removes the specified subnet associations from the firewall. This removes the firewall
/// endpoints from the subnets and removes any network filtering protections that the
/// endpoints were providing.
///
/// Container for the necessary parameters to execute the DisassociateSubnets service method.
///
/// The response from the DisassociateSubnets service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DisassociateSubnets Operation
public virtual DisassociateSubnetsResponse DisassociateSubnets(DisassociateSubnetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateSubnetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateSubnetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes the specified subnet associations from the firewall. This removes the firewall
/// endpoints from the subnets and removes any network filtering protections that the
/// endpoints were providing.
///
/// Container for the necessary parameters to execute the DisassociateSubnets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateSubnets service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because it's not valid. For example, you might have tried to
/// delete a rule group or firewall policy that's in use.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for DisassociateSubnets Operation
public virtual Task DisassociateSubnetsAsync(DisassociateSubnetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateSubnetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateSubnetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFirewallPolicies
///
/// Retrieves the metadata for the firewall policies that you have defined. Depending
/// on your setting for max results and the number of firewall policies, a single call
/// might not return the full list.
///
/// Container for the necessary parameters to execute the ListFirewallPolicies service method.
///
/// The response from the ListFirewallPolicies service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for ListFirewallPolicies Operation
public virtual ListFirewallPoliciesResponse ListFirewallPolicies(ListFirewallPoliciesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallPoliciesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the metadata for the firewall policies that you have defined. Depending
/// on your setting for max results and the number of firewall policies, a single call
/// might not return the full list.
///
/// Container for the necessary parameters to execute the ListFirewallPolicies service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFirewallPolicies service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for ListFirewallPolicies Operation
public virtual Task ListFirewallPoliciesAsync(ListFirewallPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallPoliciesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFirewalls
///
/// Retrieves the metadata for the firewalls that you have defined. If you provide VPC
/// identifiers in your request, this returns only the firewalls for those VPCs.
///
///
///
/// Depending on your setting for max results and the number of firewalls, a single call
/// might not return the full list.
///
///
/// Container for the necessary parameters to execute the ListFirewalls service method.
///
/// The response from the ListFirewalls service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for ListFirewalls Operation
public virtual ListFirewallsResponse ListFirewalls(ListFirewallsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the metadata for the firewalls that you have defined. If you provide VPC
/// identifiers in your request, this returns only the firewalls for those VPCs.
///
///
///
/// Depending on your setting for max results and the number of firewalls, a single call
/// might not return the full list.
///
///
/// Container for the necessary parameters to execute the ListFirewalls service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFirewalls service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for ListFirewalls Operation
public virtual Task ListFirewallsAsync(ListFirewallsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListRuleGroups
///
/// Retrieves the metadata for the rule groups that you have defined. Depending on your
/// setting for max results and the number of rule groups, a single call might not return
/// the full list.
///
/// Container for the necessary parameters to execute the ListRuleGroups service method.
///
/// The response from the ListRuleGroups service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for ListRuleGroups Operation
public virtual ListRuleGroupsResponse ListRuleGroups(ListRuleGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRuleGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRuleGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the metadata for the rule groups that you have defined. Depending on your
/// setting for max results and the number of rule groups, a single call might not return
/// the full list.
///
/// Container for the necessary parameters to execute the ListRuleGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListRuleGroups service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for ListRuleGroups Operation
public virtual Task ListRuleGroupsAsync(ListRuleGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRuleGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRuleGroupsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
///
/// Retrieves the tags associated with the specified resource. Tags are key:value pairs
/// that you can use to categorize and manage your resources, for purposes like billing.
/// For example, you might set the tag key to "customer" and the value to the customer
/// name or ID. You can specify one or more tags to add to each Amazon Web Services resource,
/// up to 50 tags for a resource.
///
///
///
/// You can tag the Amazon Web Services resources that you manage through Network Firewall:
/// firewalls, firewall policies, and rule groups.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// 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);
}
///
/// Retrieves the tags associated with the specified resource. Tags are key:value pairs
/// that you can use to categorize and manage your resources, for purposes like billing.
/// For example, you might set the tag key to "customer" and the value to the customer
/// name or ID. You can specify one or more tags to add to each Amazon Web Services resource,
/// up to 50 tags for a resource.
///
///
///
/// You can tag the Amazon Web Services resources that you manage through Network Firewall:
/// firewalls, firewall policies, and rule groups.
///
///
/// 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 NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// 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 ListTLSInspectionConfigurations
///
/// Retrieves the metadata for the TLS inspection configurations that you have defined.
/// Depending on your setting for max results and the number of TLS inspection configurations,
/// a single call might not return the full list.
///
/// Container for the necessary parameters to execute the ListTLSInspectionConfigurations service method.
///
/// The response from the ListTLSInspectionConfigurations service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for ListTLSInspectionConfigurations Operation
public virtual ListTLSInspectionConfigurationsResponse ListTLSInspectionConfigurations(ListTLSInspectionConfigurationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTLSInspectionConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTLSInspectionConfigurationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the metadata for the TLS inspection configurations that you have defined.
/// Depending on your setting for max results and the number of TLS inspection configurations,
/// a single call might not return the full list.
///
/// Container for the necessary parameters to execute the ListTLSInspectionConfigurations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTLSInspectionConfigurations service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for ListTLSInspectionConfigurations Operation
public virtual Task ListTLSInspectionConfigurationsAsync(ListTLSInspectionConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTLSInspectionConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTLSInspectionConfigurationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PutResourcePolicy
///
/// Creates or updates an IAM policy for your rule group or firewall policy. Use this
/// to share rule groups and firewall policies between accounts. This operation works
/// in conjunction with the Amazon Web Services Resource Access Manager (RAM) service
/// to manage resource sharing for Network Firewall.
///
///
///
/// Use this operation to create or update a resource policy for your rule group or firewall
/// policy. In the policy, you specify the accounts that you want to share the resource
/// with and the operations that you want the accounts to be able to perform.
///
///
///
/// When you add an account in the resource policy, you then run the following Resource
/// Access Manager (RAM) operations to access and accept the shared rule group or firewall
/// policy.
///
///
///
/// For additional information about resource sharing using RAM, see Resource
/// Access Manager User Guide.
///
///
/// Container for the necessary parameters to execute the PutResourcePolicy service method.
///
/// The response from the PutResourcePolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The policy statement failed validation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for PutResourcePolicy Operation
public virtual PutResourcePolicyResponse PutResourcePolicy(PutResourcePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates or updates an IAM policy for your rule group or firewall policy. Use this
/// to share rule groups and firewall policies between accounts. This operation works
/// in conjunction with the Amazon Web Services Resource Access Manager (RAM) service
/// to manage resource sharing for Network Firewall.
///
///
///
/// Use this operation to create or update a resource policy for your rule group or firewall
/// policy. In the policy, you specify the accounts that you want to share the resource
/// with and the operations that you want the accounts to be able to perform.
///
///
///
/// When you add an account in the resource policy, you then run the following Resource
/// Access Manager (RAM) operations to access and accept the shared rule group or firewall
/// policy.
///
///
///
/// For additional information about resource sharing using RAM, see Resource
/// Access Manager User Guide.
///
///
/// Container for the necessary parameters to execute the PutResourcePolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutResourcePolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The policy statement failed validation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for PutResourcePolicy Operation
public virtual Task PutResourcePolicyAsync(PutResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
///
/// Adds the specified tags to the specified resource. Tags are key:value pairs that you
/// can use to categorize and manage your resources, for purposes like billing. For example,
/// you might set the tag key to "customer" and the value to the customer name or ID.
/// You can specify one or more tags to add to each Amazon Web Services resource, up to
/// 50 tags for a resource.
///
///
///
/// You can tag the Amazon Web Services resources that you manage through Network Firewall:
/// firewalls, firewall policies, and rule groups.
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// 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 the specified tags to the specified resource. Tags are key:value pairs that you
/// can use to categorize and manage your resources, for purposes like billing. For example,
/// you might set the tag key to "customer" and the value to the customer name or ID.
/// You can specify one or more tags to add to each Amazon Web Services resource, up to
/// 50 tags for a resource.
///
///
///
/// You can tag the Amazon Web Services resources that you manage through Network Firewall:
/// firewalls, firewall policies, and rule groups.
///
///
/// 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 NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// 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 the tags with the specified keys from the specified resource. Tags are key:value
/// pairs that you can use to categorize and manage your resources, for purposes like
/// billing. For example, you might set the tag key to "customer" and the value to the
/// customer name or ID. You can specify one or more tags to add to each Amazon Web Services
/// resource, up to 50 tags for a resource.
///
///
///
/// You can manage tags for the Amazon Web Services resources that you manage through
/// Network Firewall: firewalls, firewall policies, and rule groups.
///
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// 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 the tags with the specified keys from the specified resource. Tags are key:value
/// pairs that you can use to categorize and manage your resources, for purposes like
/// billing. For example, you might set the tag key to "customer" and the value to the
/// customer name or ID. You can specify one or more tags to add to each Amazon Web Services
/// resource, up to 50 tags for a resource.
///
///
///
/// You can manage tags for the Amazon Web Services resources that you manage through
/// Network Firewall: firewalls, firewall policies, and rule groups.
///
///
/// 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 NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// 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 UpdateFirewallDeleteProtection
///
/// Modifies the flag, DeleteProtection
, which indicates whether it is possible
/// to delete the firewall. If the flag is set to TRUE
, the firewall is protected
/// against deletion. This setting helps protect against accidentally deleting a firewall
/// that's in use.
///
/// Container for the necessary parameters to execute the UpdateFirewallDeleteProtection service method.
///
/// The response from the UpdateFirewallDeleteProtection service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to change the resource because your account doesn't own it.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateFirewallDeleteProtection Operation
public virtual UpdateFirewallDeleteProtectionResponse UpdateFirewallDeleteProtection(UpdateFirewallDeleteProtectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallDeleteProtectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallDeleteProtectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the flag, DeleteProtection
, which indicates whether it is possible
/// to delete the firewall. If the flag is set to TRUE
, the firewall is protected
/// against deletion. This setting helps protect against accidentally deleting a firewall
/// that's in use.
///
/// Container for the necessary parameters to execute the UpdateFirewallDeleteProtection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFirewallDeleteProtection service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to change the resource because your account doesn't own it.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateFirewallDeleteProtection Operation
public virtual Task UpdateFirewallDeleteProtectionAsync(UpdateFirewallDeleteProtectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallDeleteProtectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallDeleteProtectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFirewallDescription
///
/// Modifies the description for the specified firewall. Use the description to help you
/// identify the firewall when you're working with it.
///
/// Container for the necessary parameters to execute the UpdateFirewallDescription service method.
///
/// The response from the UpdateFirewallDescription service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateFirewallDescription Operation
public virtual UpdateFirewallDescriptionResponse UpdateFirewallDescription(UpdateFirewallDescriptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallDescriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallDescriptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the description for the specified firewall. Use the description to help you
/// identify the firewall when you're working with it.
///
/// Container for the necessary parameters to execute the UpdateFirewallDescription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFirewallDescription service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateFirewallDescription Operation
public virtual Task UpdateFirewallDescriptionAsync(UpdateFirewallDescriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallDescriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallDescriptionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFirewallEncryptionConfiguration
///
/// A complex type that contains settings for encryption of your firewall resources.
///
/// Container for the necessary parameters to execute the UpdateFirewallEncryptionConfiguration service method.
///
/// The response from the UpdateFirewallEncryptionConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to change the resource because your account doesn't own it.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateFirewallEncryptionConfiguration Operation
public virtual UpdateFirewallEncryptionConfigurationResponse UpdateFirewallEncryptionConfiguration(UpdateFirewallEncryptionConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallEncryptionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallEncryptionConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// A complex type that contains settings for encryption of your firewall resources.
///
/// Container for the necessary parameters to execute the UpdateFirewallEncryptionConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFirewallEncryptionConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to change the resource because your account doesn't own it.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateFirewallEncryptionConfiguration Operation
public virtual Task UpdateFirewallEncryptionConfigurationAsync(UpdateFirewallEncryptionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallEncryptionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallEncryptionConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFirewallPolicy
///
/// Updates the properties of the specified firewall policy.
///
/// Container for the necessary parameters to execute the UpdateFirewallPolicy service method.
///
/// The response from the UpdateFirewallPolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateFirewallPolicy Operation
public virtual UpdateFirewallPolicyResponse UpdateFirewallPolicy(UpdateFirewallPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the properties of the specified firewall policy.
///
/// Container for the necessary parameters to execute the UpdateFirewallPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFirewallPolicy service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateFirewallPolicy Operation
public virtual Task UpdateFirewallPolicyAsync(UpdateFirewallPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFirewallPolicyChangeProtection
///
/// Modifies the flag, ChangeProtection
, which indicates whether it is possible
/// to change the firewall. If the flag is set to TRUE
, the firewall is protected
/// from changes. This setting helps protect against accidentally changing a firewall
/// that's in use.
///
/// Container for the necessary parameters to execute the UpdateFirewallPolicyChangeProtection service method.
///
/// The response from the UpdateFirewallPolicyChangeProtection service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to change the resource because your account doesn't own it.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateFirewallPolicyChangeProtection Operation
public virtual UpdateFirewallPolicyChangeProtectionResponse UpdateFirewallPolicyChangeProtection(UpdateFirewallPolicyChangeProtectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallPolicyChangeProtectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallPolicyChangeProtectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modifies the flag, ChangeProtection
, which indicates whether it is possible
/// to change the firewall. If the flag is set to TRUE
, the firewall is protected
/// from changes. This setting helps protect against accidentally changing a firewall
/// that's in use.
///
/// Container for the necessary parameters to execute the UpdateFirewallPolicyChangeProtection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFirewallPolicyChangeProtection service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to change the resource because your account doesn't own it.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateFirewallPolicyChangeProtection Operation
public virtual Task UpdateFirewallPolicyChangeProtectionAsync(UpdateFirewallPolicyChangeProtectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallPolicyChangeProtectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallPolicyChangeProtectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateLoggingConfiguration
///
/// Sets the logging configuration for the specified firewall.
///
///
///
/// To change the logging configuration, retrieve the LoggingConfiguration by calling
/// DescribeLoggingConfiguration, then change it and provide the modified object
/// to this update call. You must change the logging configuration one LogDestinationConfig
/// at a time inside the retrieved LoggingConfiguration object.
///
///
///
/// You can perform only one of the following actions in any call to UpdateLoggingConfiguration
:
///
///
/// -
///
/// Create a new log destination object by adding a single
LogDestinationConfig
/// array element to LogDestinationConfigs
.
///
/// -
///
/// Delete a log destination object by removing a single
LogDestinationConfig
/// array element from LogDestinationConfigs
.
///
/// -
///
/// Change the
LogDestination
setting in a single LogDestinationConfig
/// array element.
///
///
///
/// You can't change the LogDestinationType
or LogType
in a
/// LogDestinationConfig
. To change these settings, delete the existing LogDestinationConfig
/// object and create a new one, using two separate calls to this update operation.
///
///
/// Container for the necessary parameters to execute the UpdateLoggingConfiguration service method.
///
/// The response from the UpdateLoggingConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to send logs to a configured logging destination.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateLoggingConfiguration Operation
public virtual UpdateLoggingConfigurationResponse UpdateLoggingConfiguration(UpdateLoggingConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLoggingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLoggingConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Sets the logging configuration for the specified firewall.
///
///
///
/// To change the logging configuration, retrieve the LoggingConfiguration by calling
/// DescribeLoggingConfiguration, then change it and provide the modified object
/// to this update call. You must change the logging configuration one LogDestinationConfig
/// at a time inside the retrieved LoggingConfiguration object.
///
///
///
/// You can perform only one of the following actions in any call to UpdateLoggingConfiguration
:
///
///
/// -
///
/// Create a new log destination object by adding a single
LogDestinationConfig
/// array element to LogDestinationConfigs
.
///
/// -
///
/// Delete a log destination object by removing a single
LogDestinationConfig
/// array element from LogDestinationConfigs
.
///
/// -
///
/// Change the
LogDestination
setting in a single LogDestinationConfig
/// array element.
///
///
///
/// You can't change the LogDestinationType
or LogType
in a
/// LogDestinationConfig
. To change these settings, delete the existing LogDestinationConfig
/// object and create a new one, using two separate calls to this update operation.
///
///
/// Container for the necessary parameters to execute the UpdateLoggingConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateLoggingConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to send logs to a configured logging destination.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateLoggingConfiguration Operation
public virtual Task UpdateLoggingConfigurationAsync(UpdateLoggingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLoggingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLoggingConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateRuleGroup
///
/// Updates the rule settings for the specified rule group. You use a rule group by reference
/// in one or more firewall policies. When you modify a rule group, you modify all firewall
/// policies that use the rule group.
///
///
///
/// To update a rule group, first call DescribeRuleGroup to retrieve the current
/// RuleGroup object, update the object as needed, and then provide the updated
/// object to this call.
///
///
/// Container for the necessary parameters to execute the UpdateRuleGroup service method.
///
/// The response from the UpdateRuleGroup service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateRuleGroup Operation
public virtual UpdateRuleGroupResponse UpdateRuleGroup(UpdateRuleGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRuleGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the rule settings for the specified rule group. You use a rule group by reference
/// in one or more firewall policies. When you modify a rule group, you modify all firewall
/// policies that use the rule group.
///
///
///
/// To update a rule group, first call DescribeRuleGroup to retrieve the current
/// RuleGroup object, update the object as needed, and then provide the updated
/// object to this call.
///
///
/// Container for the necessary parameters to execute the UpdateRuleGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateRuleGroup service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateRuleGroup Operation
public virtual Task UpdateRuleGroupAsync(UpdateRuleGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRuleGroupResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateSubnetChangeProtection
///
///
///
/// Container for the necessary parameters to execute the UpdateSubnetChangeProtection service method.
///
/// The response from the UpdateSubnetChangeProtection service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to change the resource because your account doesn't own it.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateSubnetChangeProtection Operation
public virtual UpdateSubnetChangeProtectionResponse UpdateSubnetChangeProtection(UpdateSubnetChangeProtectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSubnetChangeProtectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSubnetChangeProtectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
///
///
/// Container for the necessary parameters to execute the UpdateSubnetChangeProtection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateSubnetChangeProtection service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to change the resource because your account doesn't own it.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateSubnetChangeProtection Operation
public virtual Task UpdateSubnetChangeProtectionAsync(UpdateSubnetChangeProtectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSubnetChangeProtectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSubnetChangeProtectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateTLSInspectionConfiguration
///
/// Updates the TLS inspection configuration settings for the specified TLS inspection
/// configuration. You use a TLS inspection configuration by reference in one or more
/// firewall policies. When you modify a TLS inspection configuration, you modify all
/// firewall policies that use the TLS inspection configuration.
///
///
///
/// To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration
/// to retrieve the current TLSInspectionConfiguration object, update the object
/// as needed, and then provide the updated object to this call.
///
///
/// Container for the necessary parameters to execute the UpdateTLSInspectionConfiguration service method.
///
/// The response from the UpdateTLSInspectionConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateTLSInspectionConfiguration Operation
public virtual UpdateTLSInspectionConfigurationResponse UpdateTLSInspectionConfiguration(UpdateTLSInspectionConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTLSInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTLSInspectionConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the TLS inspection configuration settings for the specified TLS inspection
/// configuration. You use a TLS inspection configuration by reference in one or more
/// firewall policies. When you modify a TLS inspection configuration, you modify all
/// firewall policies that use the TLS inspection configuration.
///
///
///
/// To update a TLS inspection configuration, first call DescribeTLSInspectionConfiguration
/// to retrieve the current TLSInspectionConfiguration object, update the object
/// as needed, and then provide the updated object to this call.
///
///
/// Container for the necessary parameters to execute the UpdateTLSInspectionConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateTLSInspectionConfiguration service method, as returned by NetworkFirewall.
///
/// Your request is valid, but Network Firewall couldn’t perform the operation because
/// of a system problem. Retry your request.
///
///
/// The operation failed because of a problem with your request. Examples include:
///
/// -
///
/// You specified an unsupported parameter name or value.
///
///
-
///
/// You tried to update a property with a value that isn't among the available types.
///
///
-
///
/// Your request references an ARN that is malformed, or corresponds to a resource that
/// isn't valid in the context of the request.
///
///
///
///
/// The token you provided is stale or isn't valid for the operation.
///
///
/// Unable to locate a resource using the parameters that you provided.
///
///
/// Unable to process the request due to throttling limitations.
///
/// REST API Reference for UpdateTLSInspectionConfiguration Operation
public virtual Task UpdateTLSInspectionConfigurationAsync(UpdateTLSInspectionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTLSInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTLSInspectionConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}