/*
* 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.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();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private INetworkFirewallPaginatorFactory _paginators;
///
/// Paginators for the service
///
public INetworkFirewallPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new NetworkFirewallPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#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);
}
///
/// Initiates the asynchronous execution of the AssociateFirewallPolicy operation.
///
///
/// Container for the necessary parameters to execute the AssociateFirewallPolicy operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateFirewallPolicy
/// operation.
/// REST API Reference for AssociateFirewallPolicy Operation
public virtual IAsyncResult BeginAssociateFirewallPolicy(AssociateFirewallPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateFirewallPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateFirewallPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateFirewallPolicy.
///
/// Returns a AssociateFirewallPolicyResult from NetworkFirewall.
/// REST API Reference for AssociateFirewallPolicy Operation
public virtual AssociateFirewallPolicyResponse EndAssociateFirewallPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the AssociateSubnets operation.
///
///
/// Container for the necessary parameters to execute the AssociateSubnets operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateSubnets
/// operation.
/// REST API Reference for AssociateSubnets Operation
public virtual IAsyncResult BeginAssociateSubnets(AssociateSubnetsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateSubnetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateSubnetsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateSubnets operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateSubnets.
///
/// Returns a AssociateSubnetsResult from NetworkFirewall.
/// REST API Reference for AssociateSubnets Operation
public virtual AssociateSubnetsResponse EndAssociateSubnets(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateFirewall operation.
///
///
/// Container for the necessary parameters to execute the CreateFirewall operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFirewall
/// operation.
/// REST API Reference for CreateFirewall Operation
public virtual IAsyncResult BeginCreateFirewall(CreateFirewallRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFirewallRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFirewallResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateFirewall operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateFirewall.
///
/// Returns a CreateFirewallResult from NetworkFirewall.
/// REST API Reference for CreateFirewall Operation
public virtual CreateFirewallResponse EndCreateFirewall(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateFirewallPolicy operation.
///
///
/// Container for the necessary parameters to execute the CreateFirewallPolicy operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFirewallPolicy
/// operation.
/// REST API Reference for CreateFirewallPolicy Operation
public virtual IAsyncResult BeginCreateFirewallPolicy(CreateFirewallPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFirewallPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateFirewallPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateFirewallPolicy.
///
/// Returns a CreateFirewallPolicyResult from NetworkFirewall.
/// REST API Reference for CreateFirewallPolicy Operation
public virtual CreateFirewallPolicyResponse EndCreateFirewallPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateRuleGroup operation.
///
///
/// Container for the necessary parameters to execute the CreateRuleGroup operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRuleGroup
/// operation.
/// REST API Reference for CreateRuleGroup Operation
public virtual IAsyncResult BeginCreateRuleGroup(CreateRuleGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRuleGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateRuleGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateRuleGroup.
///
/// Returns a CreateRuleGroupResult from NetworkFirewall.
/// REST API Reference for CreateRuleGroup Operation
public virtual CreateRuleGroupResponse EndCreateRuleGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the CreateTLSInspectionConfiguration operation.
///
///
/// Container for the necessary parameters to execute the CreateTLSInspectionConfiguration operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateTLSInspectionConfiguration
/// operation.
/// REST API Reference for CreateTLSInspectionConfiguration Operation
public virtual IAsyncResult BeginCreateTLSInspectionConfiguration(CreateTLSInspectionConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTLSInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTLSInspectionConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateTLSInspectionConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateTLSInspectionConfiguration.
///
/// Returns a CreateTLSInspectionConfigurationResult from NetworkFirewall.
/// REST API Reference for CreateTLSInspectionConfiguration Operation
public virtual CreateTLSInspectionConfigurationResponse EndCreateTLSInspectionConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteFirewall operation.
///
///
/// Container for the necessary parameters to execute the DeleteFirewall operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFirewall
/// operation.
/// REST API Reference for DeleteFirewall Operation
public virtual IAsyncResult BeginDeleteFirewall(DeleteFirewallRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFirewallRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFirewallResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteFirewall operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteFirewall.
///
/// Returns a DeleteFirewallResult from NetworkFirewall.
/// REST API Reference for DeleteFirewall Operation
public virtual DeleteFirewallResponse EndDeleteFirewall(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteFirewallPolicy operation.
///
///
/// Container for the necessary parameters to execute the DeleteFirewallPolicy operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFirewallPolicy
/// operation.
/// REST API Reference for DeleteFirewallPolicy Operation
public virtual IAsyncResult BeginDeleteFirewallPolicy(DeleteFirewallPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFirewallPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteFirewallPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteFirewallPolicy.
///
/// Returns a DeleteFirewallPolicyResult from NetworkFirewall.
/// REST API Reference for DeleteFirewallPolicy Operation
public virtual DeleteFirewallPolicyResponse EndDeleteFirewallPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteResourcePolicy operation.
///
///
/// Container for the necessary parameters to execute the DeleteResourcePolicy operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteResourcePolicy
/// operation.
/// REST API Reference for DeleteResourcePolicy Operation
public virtual IAsyncResult BeginDeleteResourcePolicy(DeleteResourcePolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteResourcePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteResourcePolicy.
///
/// Returns a DeleteResourcePolicyResult from NetworkFirewall.
/// REST API Reference for DeleteResourcePolicy Operation
public virtual DeleteResourcePolicyResponse EndDeleteResourcePolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteRuleGroup operation.
///
///
/// Container for the necessary parameters to execute the DeleteRuleGroup operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRuleGroup
/// operation.
/// REST API Reference for DeleteRuleGroup Operation
public virtual IAsyncResult BeginDeleteRuleGroup(DeleteRuleGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRuleGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteRuleGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteRuleGroup.
///
/// Returns a DeleteRuleGroupResult from NetworkFirewall.
/// REST API Reference for DeleteRuleGroup Operation
public virtual DeleteRuleGroupResponse EndDeleteRuleGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DeleteTLSInspectionConfiguration operation.
///
///
/// Container for the necessary parameters to execute the DeleteTLSInspectionConfiguration operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteTLSInspectionConfiguration
/// operation.
/// REST API Reference for DeleteTLSInspectionConfiguration Operation
public virtual IAsyncResult BeginDeleteTLSInspectionConfiguration(DeleteTLSInspectionConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTLSInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTLSInspectionConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteTLSInspectionConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteTLSInspectionConfiguration.
///
/// Returns a DeleteTLSInspectionConfigurationResult from NetworkFirewall.
/// REST API Reference for DeleteTLSInspectionConfiguration Operation
public virtual DeleteTLSInspectionConfigurationResponse EndDeleteTLSInspectionConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeFirewall operation.
///
///
/// Container for the necessary parameters to execute the DescribeFirewall operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeFirewall
/// operation.
/// REST API Reference for DescribeFirewall Operation
public virtual IAsyncResult BeginDescribeFirewall(DescribeFirewallRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFirewallRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFirewallResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeFirewall operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeFirewall.
///
/// Returns a DescribeFirewallResult from NetworkFirewall.
/// REST API Reference for DescribeFirewall Operation
public virtual DescribeFirewallResponse EndDescribeFirewall(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeFirewallPolicy operation.
///
///
/// Container for the necessary parameters to execute the DescribeFirewallPolicy operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeFirewallPolicy
/// operation.
/// REST API Reference for DescribeFirewallPolicy Operation
public virtual IAsyncResult BeginDescribeFirewallPolicy(DescribeFirewallPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFirewallPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeFirewallPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeFirewallPolicy.
///
/// Returns a DescribeFirewallPolicyResult from NetworkFirewall.
/// REST API Reference for DescribeFirewallPolicy Operation
public virtual DescribeFirewallPolicyResponse EndDescribeFirewallPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeLoggingConfiguration operation.
///
///
/// Container for the necessary parameters to execute the DescribeLoggingConfiguration operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeLoggingConfiguration
/// operation.
/// REST API Reference for DescribeLoggingConfiguration Operation
public virtual IAsyncResult BeginDescribeLoggingConfiguration(DescribeLoggingConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLoggingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLoggingConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLoggingConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLoggingConfiguration.
///
/// Returns a DescribeLoggingConfigurationResult from NetworkFirewall.
/// REST API Reference for DescribeLoggingConfiguration Operation
public virtual DescribeLoggingConfigurationResponse EndDescribeLoggingConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeResourcePolicy operation.
///
///
/// Container for the necessary parameters to execute the DescribeResourcePolicy operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeResourcePolicy
/// operation.
/// REST API Reference for DescribeResourcePolicy Operation
public virtual IAsyncResult BeginDescribeResourcePolicy(DescribeResourcePolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeResourcePolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeResourcePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeResourcePolicy.
///
/// Returns a DescribeResourcePolicyResult from NetworkFirewall.
/// REST API Reference for DescribeResourcePolicy Operation
public virtual DescribeResourcePolicyResponse EndDescribeResourcePolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeRuleGroup operation.
///
///
/// Container for the necessary parameters to execute the DescribeRuleGroup operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeRuleGroup
/// operation.
/// REST API Reference for DescribeRuleGroup Operation
public virtual IAsyncResult BeginDescribeRuleGroup(DescribeRuleGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRuleGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeRuleGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeRuleGroup.
///
/// Returns a DescribeRuleGroupResult from NetworkFirewall.
/// REST API Reference for DescribeRuleGroup Operation
public virtual DescribeRuleGroupResponse EndDescribeRuleGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeRuleGroupMetadata operation.
///
///
/// Container for the necessary parameters to execute the DescribeRuleGroupMetadata operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeRuleGroupMetadata
/// operation.
/// REST API Reference for DescribeRuleGroupMetadata Operation
public virtual IAsyncResult BeginDescribeRuleGroupMetadata(DescribeRuleGroupMetadataRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRuleGroupMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRuleGroupMetadataResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeRuleGroupMetadata operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeRuleGroupMetadata.
///
/// Returns a DescribeRuleGroupMetadataResult from NetworkFirewall.
/// REST API Reference for DescribeRuleGroupMetadata Operation
public virtual DescribeRuleGroupMetadataResponse EndDescribeRuleGroupMetadata(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DescribeTLSInspectionConfiguration operation.
///
///
/// Container for the necessary parameters to execute the DescribeTLSInspectionConfiguration operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeTLSInspectionConfiguration
/// operation.
/// REST API Reference for DescribeTLSInspectionConfiguration Operation
public virtual IAsyncResult BeginDescribeTLSInspectionConfiguration(DescribeTLSInspectionConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTLSInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTLSInspectionConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeTLSInspectionConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeTLSInspectionConfiguration.
///
/// Returns a DescribeTLSInspectionConfigurationResult from NetworkFirewall.
/// REST API Reference for DescribeTLSInspectionConfiguration Operation
public virtual DescribeTLSInspectionConfigurationResponse EndDescribeTLSInspectionConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the DisassociateSubnets operation.
///
///
/// Container for the necessary parameters to execute the DisassociateSubnets operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateSubnets
/// operation.
/// REST API Reference for DisassociateSubnets Operation
public virtual IAsyncResult BeginDisassociateSubnets(DisassociateSubnetsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateSubnetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateSubnetsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociateSubnets operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateSubnets.
///
/// Returns a DisassociateSubnetsResult from NetworkFirewall.
/// REST API Reference for DisassociateSubnets Operation
public virtual DisassociateSubnetsResponse EndDisassociateSubnets(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListFirewallPolicies operation.
///
///
/// Container for the necessary parameters to execute the ListFirewallPolicies operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFirewallPolicies
/// operation.
/// REST API Reference for ListFirewallPolicies Operation
public virtual IAsyncResult BeginListFirewallPolicies(ListFirewallPoliciesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallPoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallPoliciesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListFirewallPolicies operation.
///
///
/// The IAsyncResult returned by the call to BeginListFirewallPolicies.
///
/// Returns a ListFirewallPoliciesResult from NetworkFirewall.
/// REST API Reference for ListFirewallPolicies Operation
public virtual ListFirewallPoliciesResponse EndListFirewallPolicies(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListFirewalls operation.
///
///
/// Container for the necessary parameters to execute the ListFirewalls operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFirewalls
/// operation.
/// REST API Reference for ListFirewalls Operation
public virtual IAsyncResult BeginListFirewalls(ListFirewallsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFirewallsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFirewallsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListFirewalls operation.
///
///
/// The IAsyncResult returned by the call to BeginListFirewalls.
///
/// Returns a ListFirewallsResult from NetworkFirewall.
/// REST API Reference for ListFirewalls Operation
public virtual ListFirewallsResponse EndListFirewalls(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListRuleGroups operation.
///
///
/// Container for the necessary parameters to execute the ListRuleGroups operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRuleGroups
/// operation.
/// REST API Reference for ListRuleGroups Operation
public virtual IAsyncResult BeginListRuleGroups(ListRuleGroupsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRuleGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRuleGroupsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListRuleGroups operation.
///
///
/// The IAsyncResult returned by the call to BeginListRuleGroups.
///
/// Returns a ListRuleGroupsResult from NetworkFirewall.
/// REST API Reference for ListRuleGroups Operation
public virtual ListRuleGroupsResponse EndListRuleGroups(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from NetworkFirewall.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the ListTLSInspectionConfigurations operation.
///
///
/// Container for the necessary parameters to execute the ListTLSInspectionConfigurations operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTLSInspectionConfigurations
/// operation.
/// REST API Reference for ListTLSInspectionConfigurations Operation
public virtual IAsyncResult BeginListTLSInspectionConfigurations(ListTLSInspectionConfigurationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTLSInspectionConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTLSInspectionConfigurationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTLSInspectionConfigurations operation.
///
///
/// The IAsyncResult returned by the call to BeginListTLSInspectionConfigurations.
///
/// Returns a ListTLSInspectionConfigurationsResult from NetworkFirewall.
/// REST API Reference for ListTLSInspectionConfigurations Operation
public virtual ListTLSInspectionConfigurationsResponse EndListTLSInspectionConfigurations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the PutResourcePolicy operation.
///
///
/// Container for the necessary parameters to execute the PutResourcePolicy operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutResourcePolicy
/// operation.
/// REST API Reference for PutResourcePolicy Operation
public virtual IAsyncResult BeginPutResourcePolicy(PutResourcePolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutResourcePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginPutResourcePolicy.
///
/// Returns a PutResourcePolicyResult from NetworkFirewall.
/// REST API Reference for PutResourcePolicy Operation
public virtual PutResourcePolicyResponse EndPutResourcePolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from NetworkFirewall.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from NetworkFirewall.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateFirewallDeleteProtection operation.
///
///
/// Container for the necessary parameters to execute the UpdateFirewallDeleteProtection operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFirewallDeleteProtection
/// operation.
/// REST API Reference for UpdateFirewallDeleteProtection Operation
public virtual IAsyncResult BeginUpdateFirewallDeleteProtection(UpdateFirewallDeleteProtectionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallDeleteProtectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallDeleteProtectionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateFirewallDeleteProtection operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateFirewallDeleteProtection.
///
/// Returns a UpdateFirewallDeleteProtectionResult from NetworkFirewall.
/// REST API Reference for UpdateFirewallDeleteProtection Operation
public virtual UpdateFirewallDeleteProtectionResponse EndUpdateFirewallDeleteProtection(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateFirewallDescription operation.
///
///
/// Container for the necessary parameters to execute the UpdateFirewallDescription operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFirewallDescription
/// operation.
/// REST API Reference for UpdateFirewallDescription Operation
public virtual IAsyncResult BeginUpdateFirewallDescription(UpdateFirewallDescriptionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallDescriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallDescriptionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateFirewallDescription operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateFirewallDescription.
///
/// Returns a UpdateFirewallDescriptionResult from NetworkFirewall.
/// REST API Reference for UpdateFirewallDescription Operation
public virtual UpdateFirewallDescriptionResponse EndUpdateFirewallDescription(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateFirewallEncryptionConfiguration operation.
///
///
/// Container for the necessary parameters to execute the UpdateFirewallEncryptionConfiguration operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFirewallEncryptionConfiguration
/// operation.
/// REST API Reference for UpdateFirewallEncryptionConfiguration Operation
public virtual IAsyncResult BeginUpdateFirewallEncryptionConfiguration(UpdateFirewallEncryptionConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallEncryptionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallEncryptionConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateFirewallEncryptionConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateFirewallEncryptionConfiguration.
///
/// Returns a UpdateFirewallEncryptionConfigurationResult from NetworkFirewall.
/// REST API Reference for UpdateFirewallEncryptionConfiguration Operation
public virtual UpdateFirewallEncryptionConfigurationResponse EndUpdateFirewallEncryptionConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateFirewallPolicy operation.
///
///
/// Container for the necessary parameters to execute the UpdateFirewallPolicy operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFirewallPolicy
/// operation.
/// REST API Reference for UpdateFirewallPolicy Operation
public virtual IAsyncResult BeginUpdateFirewallPolicy(UpdateFirewallPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateFirewallPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateFirewallPolicy.
///
/// Returns a UpdateFirewallPolicyResult from NetworkFirewall.
/// REST API Reference for UpdateFirewallPolicy Operation
public virtual UpdateFirewallPolicyResponse EndUpdateFirewallPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateFirewallPolicyChangeProtection operation.
///
///
/// Container for the necessary parameters to execute the UpdateFirewallPolicyChangeProtection operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFirewallPolicyChangeProtection
/// operation.
/// REST API Reference for UpdateFirewallPolicyChangeProtection Operation
public virtual IAsyncResult BeginUpdateFirewallPolicyChangeProtection(UpdateFirewallPolicyChangeProtectionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFirewallPolicyChangeProtectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFirewallPolicyChangeProtectionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateFirewallPolicyChangeProtection operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateFirewallPolicyChangeProtection.
///
/// Returns a UpdateFirewallPolicyChangeProtectionResult from NetworkFirewall.
/// REST API Reference for UpdateFirewallPolicyChangeProtection Operation
public virtual UpdateFirewallPolicyChangeProtectionResponse EndUpdateFirewallPolicyChangeProtection(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateLoggingConfiguration operation.
///
///
/// Container for the necessary parameters to execute the UpdateLoggingConfiguration operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateLoggingConfiguration
/// operation.
/// REST API Reference for UpdateLoggingConfiguration Operation
public virtual IAsyncResult BeginUpdateLoggingConfiguration(UpdateLoggingConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLoggingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLoggingConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateLoggingConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateLoggingConfiguration.
///
/// Returns a UpdateLoggingConfigurationResult from NetworkFirewall.
/// REST API Reference for UpdateLoggingConfiguration Operation
public virtual UpdateLoggingConfigurationResponse EndUpdateLoggingConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateRuleGroup operation.
///
///
/// Container for the necessary parameters to execute the UpdateRuleGroup operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRuleGroup
/// operation.
/// REST API Reference for UpdateRuleGroup Operation
public virtual IAsyncResult BeginUpdateRuleGroup(UpdateRuleGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRuleGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRuleGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateRuleGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateRuleGroup.
///
/// Returns a UpdateRuleGroupResult from NetworkFirewall.
/// REST API Reference for UpdateRuleGroup Operation
public virtual UpdateRuleGroupResponse EndUpdateRuleGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateSubnetChangeProtection operation.
///
///
/// Container for the necessary parameters to execute the UpdateSubnetChangeProtection operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSubnetChangeProtection
/// operation.
/// REST API Reference for UpdateSubnetChangeProtection Operation
public virtual IAsyncResult BeginUpdateSubnetChangeProtection(UpdateSubnetChangeProtectionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSubnetChangeProtectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSubnetChangeProtectionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateSubnetChangeProtection operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateSubnetChangeProtection.
///
/// Returns a UpdateSubnetChangeProtectionResult from NetworkFirewall.
/// REST API Reference for UpdateSubnetChangeProtection Operation
public virtual UpdateSubnetChangeProtectionResponse EndUpdateSubnetChangeProtection(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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);
}
///
/// Initiates the asynchronous execution of the UpdateTLSInspectionConfiguration operation.
///
///
/// Container for the necessary parameters to execute the UpdateTLSInspectionConfiguration operation on AmazonNetworkFirewallClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateTLSInspectionConfiguration
/// operation.
/// REST API Reference for UpdateTLSInspectionConfiguration Operation
public virtual IAsyncResult BeginUpdateTLSInspectionConfiguration(UpdateTLSInspectionConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTLSInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTLSInspectionConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateTLSInspectionConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateTLSInspectionConfiguration.
///
/// Returns a UpdateTLSInspectionConfigurationResult from NetworkFirewall.
/// REST API Reference for UpdateTLSInspectionConfiguration Operation
public virtual UpdateTLSInspectionConfigurationResponse EndUpdateTLSInspectionConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}