/* * 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 fms-2018-01-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.FMS.Model; using Amazon.FMS.Model.Internal.MarshallTransformations; using Amazon.FMS.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.FMS { /// /// Implementation for accessing FMS /// /// This is the Firewall Manager API Reference. This guide is for developers who /// need detailed information about the Firewall Manager API actions, data types, and /// errors. For detailed information about Firewall Manager features, see the Firewall /// Manager Developer Guide. /// /// /// /// Some API actions require explicit resource permissions. For information, see the developer /// guide topic Service /// roles for Firewall Manager. /// /// public partial class AmazonFMSClient : AmazonServiceClient, IAmazonFMS { private static IServiceMetadata serviceMetadata = new AmazonFMSMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IFMSPaginatorFactory _paginators; /// /// Paginators for the service /// public IFMSPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new FMSPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonFMSClient 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 AmazonFMSClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonFMSConfig()) { } /// /// Constructs AmazonFMSClient 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 AmazonFMSClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonFMSConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonFMSClient 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 AmazonFMSClient Configuration Object public AmazonFMSClient(AmazonFMSConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonFMSClient with AWS Credentials /// /// AWS Credentials public AmazonFMSClient(AWSCredentials credentials) : this(credentials, new AmazonFMSConfig()) { } /// /// Constructs AmazonFMSClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonFMSClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonFMSConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonFMSClient with AWS Credentials and an /// AmazonFMSClient Configuration object. /// /// AWS Credentials /// The AmazonFMSClient Configuration Object public AmazonFMSClient(AWSCredentials credentials, AmazonFMSConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonFMSClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonFMSClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonFMSConfig()) { } /// /// Constructs AmazonFMSClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonFMSClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonFMSConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonFMSClient with AWS Access Key ID, AWS Secret Key and an /// AmazonFMSClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonFMSClient Configuration Object public AmazonFMSClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonFMSConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonFMSClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonFMSClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonFMSConfig()) { } /// /// Constructs AmazonFMSClient 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 AmazonFMSClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonFMSConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonFMSClient with AWS Access Key ID, AWS Secret Key and an /// AmazonFMSClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonFMSClient Configuration Object public AmazonFMSClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonFMSConfig 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 AmazonFMSEndpointResolver()); } /// /// 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 AssociateAdminAccount /// /// Sets a Firewall Manager default administrator account. The Firewall Manager default /// administrator account can manage third-party firewalls and has full administrative /// scope that allows administration of all policy types, accounts, organizational units, /// and Regions. This account must be a member account of the organization in Organizations /// whose resources you want to protect. /// /// /// /// For information about working with Firewall Manager administrator accounts, see Managing /// Firewall Manager administrators in the Firewall Manager Developer Guide. /// /// /// Container for the necessary parameters to execute the AssociateAdminAccount service method. /// /// The response from the AssociateAdminAccount service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// /// The specified resource was not found. /// /// REST API Reference for AssociateAdminAccount Operation public virtual AssociateAdminAccountResponse AssociateAdminAccount(AssociateAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AssociateAdminAccount operation. /// /// /// Container for the necessary parameters to execute the AssociateAdminAccount operation on AmazonFMSClient. /// 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 EndAssociateAdminAccount /// operation. /// REST API Reference for AssociateAdminAccount Operation public virtual IAsyncResult BeginAssociateAdminAccount(AssociateAdminAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAdminAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AssociateAdminAccount operation. /// /// /// The IAsyncResult returned by the call to BeginAssociateAdminAccount. /// /// Returns a AssociateAdminAccountResult from FMS. /// REST API Reference for AssociateAdminAccount Operation public virtual AssociateAdminAccountResponse EndAssociateAdminAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AssociateThirdPartyFirewall /// /// Sets the Firewall Manager policy administrator as a tenant administrator of a third-party /// firewall service. A tenant is an instance of the third-party firewall service that's /// associated with your Amazon Web Services customer account. /// /// Container for the necessary parameters to execute the AssociateThirdPartyFirewall service method. /// /// The response from the AssociateThirdPartyFirewall service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for AssociateThirdPartyFirewall Operation public virtual AssociateThirdPartyFirewallResponse AssociateThirdPartyFirewall(AssociateThirdPartyFirewallRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateThirdPartyFirewallRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateThirdPartyFirewallResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AssociateThirdPartyFirewall operation. /// /// /// Container for the necessary parameters to execute the AssociateThirdPartyFirewall operation on AmazonFMSClient. /// 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 EndAssociateThirdPartyFirewall /// operation. /// REST API Reference for AssociateThirdPartyFirewall Operation public virtual IAsyncResult BeginAssociateThirdPartyFirewall(AssociateThirdPartyFirewallRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateThirdPartyFirewallRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateThirdPartyFirewallResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AssociateThirdPartyFirewall operation. /// /// /// The IAsyncResult returned by the call to BeginAssociateThirdPartyFirewall. /// /// Returns a AssociateThirdPartyFirewallResult from FMS. /// REST API Reference for AssociateThirdPartyFirewall Operation public virtual AssociateThirdPartyFirewallResponse EndAssociateThirdPartyFirewall(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchAssociateResource /// /// Associate resources to a Firewall Manager resource set. /// /// Container for the necessary parameters to execute the BatchAssociateResource service method. /// /// The response from the BatchAssociateResource service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// /// The specified resource was not found. /// /// REST API Reference for BatchAssociateResource Operation public virtual BatchAssociateResourceResponse BatchAssociateResource(BatchAssociateResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchAssociateResource operation. /// /// /// Container for the necessary parameters to execute the BatchAssociateResource operation on AmazonFMSClient. /// 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 EndBatchAssociateResource /// operation. /// REST API Reference for BatchAssociateResource Operation public virtual IAsyncResult BeginBatchAssociateResource(BatchAssociateResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchAssociateResource operation. /// /// /// The IAsyncResult returned by the call to BeginBatchAssociateResource. /// /// Returns a BatchAssociateResourceResult from FMS. /// REST API Reference for BatchAssociateResource Operation public virtual BatchAssociateResourceResponse EndBatchAssociateResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchDisassociateResource /// /// Disassociates resources from a Firewall Manager resource set. /// /// Container for the necessary parameters to execute the BatchDisassociateResource service method. /// /// The response from the BatchDisassociateResource service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for BatchDisassociateResource Operation public virtual BatchDisassociateResourceResponse BatchDisassociateResource(BatchDisassociateResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchDisassociateResource operation. /// /// /// Container for the necessary parameters to execute the BatchDisassociateResource operation on AmazonFMSClient. /// 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 EndBatchDisassociateResource /// operation. /// REST API Reference for BatchDisassociateResource Operation public virtual IAsyncResult BeginBatchDisassociateResource(BatchDisassociateResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchDisassociateResource operation. /// /// /// The IAsyncResult returned by the call to BeginBatchDisassociateResource. /// /// Returns a BatchDisassociateResourceResult from FMS. /// REST API Reference for BatchDisassociateResource Operation public virtual BatchDisassociateResourceResponse EndBatchDisassociateResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteAppsList /// /// Permanently deletes an Firewall Manager applications list. /// /// Container for the necessary parameters to execute the DeleteAppsList service method. /// /// The response from the DeleteAppsList service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for DeleteAppsList Operation public virtual DeleteAppsListResponse DeleteAppsList(DeleteAppsListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppsListRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppsListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteAppsList operation. /// /// /// Container for the necessary parameters to execute the DeleteAppsList operation on AmazonFMSClient. /// 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 EndDeleteAppsList /// operation. /// REST API Reference for DeleteAppsList Operation public virtual IAsyncResult BeginDeleteAppsList(DeleteAppsListRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppsListRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppsListResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAppsList operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAppsList. /// /// Returns a DeleteAppsListResult from FMS. /// REST API Reference for DeleteAppsList Operation public virtual DeleteAppsListResponse EndDeleteAppsList(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteNotificationChannel /// /// Deletes an Firewall Manager association with the IAM role and the Amazon Simple Notification /// Service (SNS) topic that is used to record Firewall Manager SNS logs. /// /// Container for the necessary parameters to execute the DeleteNotificationChannel service method. /// /// The response from the DeleteNotificationChannel service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for DeleteNotificationChannel Operation public virtual DeleteNotificationChannelResponse DeleteNotificationChannel(DeleteNotificationChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNotificationChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNotificationChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteNotificationChannel operation. /// /// /// Container for the necessary parameters to execute the DeleteNotificationChannel operation on AmazonFMSClient. /// 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 EndDeleteNotificationChannel /// operation. /// REST API Reference for DeleteNotificationChannel Operation public virtual IAsyncResult BeginDeleteNotificationChannel(DeleteNotificationChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNotificationChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNotificationChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteNotificationChannel operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteNotificationChannel. /// /// Returns a DeleteNotificationChannelResult from FMS. /// REST API Reference for DeleteNotificationChannel Operation public virtual DeleteNotificationChannelResponse EndDeleteNotificationChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeletePolicy /// /// Permanently deletes an Firewall Manager policy. /// /// Container for the necessary parameters to execute the DeletePolicy service method. /// /// The response from the DeletePolicy service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// /// The specified resource was not found. /// /// REST API Reference for DeletePolicy Operation public virtual DeletePolicyResponse DeletePolicy(DeletePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeletePolicy operation. /// /// /// Container for the necessary parameters to execute the DeletePolicy operation on AmazonFMSClient. /// 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 EndDeletePolicy /// operation. /// REST API Reference for DeletePolicy Operation public virtual IAsyncResult BeginDeletePolicy(DeletePolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeletePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePolicy. /// /// Returns a DeletePolicyResult from FMS. /// REST API Reference for DeletePolicy Operation public virtual DeletePolicyResponse EndDeletePolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteProtocolsList /// /// Permanently deletes an Firewall Manager protocols list. /// /// Container for the necessary parameters to execute the DeleteProtocolsList service method. /// /// The response from the DeleteProtocolsList service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for DeleteProtocolsList Operation public virtual DeleteProtocolsListResponse DeleteProtocolsList(DeleteProtocolsListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProtocolsListRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProtocolsListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteProtocolsList operation. /// /// /// Container for the necessary parameters to execute the DeleteProtocolsList operation on AmazonFMSClient. /// 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 EndDeleteProtocolsList /// operation. /// REST API Reference for DeleteProtocolsList Operation public virtual IAsyncResult BeginDeleteProtocolsList(DeleteProtocolsListRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProtocolsListRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProtocolsListResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteProtocolsList operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteProtocolsList. /// /// Returns a DeleteProtocolsListResult from FMS. /// REST API Reference for DeleteProtocolsList Operation public virtual DeleteProtocolsListResponse EndDeleteProtocolsList(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteResourceSet /// /// Deletes the specified ResourceSet. /// /// Container for the necessary parameters to execute the DeleteResourceSet service method. /// /// The response from the DeleteResourceSet service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for DeleteResourceSet Operation public virtual DeleteResourceSetResponse DeleteResourceSet(DeleteResourceSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourceSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteResourceSet operation. /// /// /// Container for the necessary parameters to execute the DeleteResourceSet operation on AmazonFMSClient. /// 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 EndDeleteResourceSet /// operation. /// REST API Reference for DeleteResourceSet Operation public virtual IAsyncResult BeginDeleteResourceSet(DeleteResourceSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourceSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteResourceSet operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteResourceSet. /// /// Returns a DeleteResourceSetResult from FMS. /// REST API Reference for DeleteResourceSet Operation public virtual DeleteResourceSetResponse EndDeleteResourceSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisassociateAdminAccount /// /// Disassociates an Firewall Manager administrator account. To set a different account /// as an Firewall Manager administrator, submit a PutAdminAccount request. To /// set an account as a default administrator account, you must submit an AssociateAdminAccount /// request. /// /// /// /// Disassociation of the default administrator account follows the first in, last out /// principle. If you are the default administrator, all Firewall Manager administrators /// within the organization must first disassociate their accounts before you can disassociate /// your account. /// /// /// Container for the necessary parameters to execute the DisassociateAdminAccount service method. /// /// The response from the DisassociateAdminAccount service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for DisassociateAdminAccount Operation public virtual DisassociateAdminAccountResponse DisassociateAdminAccount(DisassociateAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisassociateAdminAccount operation. /// /// /// Container for the necessary parameters to execute the DisassociateAdminAccount operation on AmazonFMSClient. /// 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 EndDisassociateAdminAccount /// operation. /// REST API Reference for DisassociateAdminAccount Operation public virtual IAsyncResult BeginDisassociateAdminAccount(DisassociateAdminAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAdminAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisassociateAdminAccount operation. /// /// /// The IAsyncResult returned by the call to BeginDisassociateAdminAccount. /// /// Returns a DisassociateAdminAccountResult from FMS. /// REST API Reference for DisassociateAdminAccount Operation public virtual DisassociateAdminAccountResponse EndDisassociateAdminAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisassociateThirdPartyFirewall /// /// Disassociates a Firewall Manager policy administrator from a third-party firewall /// tenant. When you call DisassociateThirdPartyFirewall, the third-party /// firewall vendor deletes all of the firewalls that are associated with the account. /// /// Container for the necessary parameters to execute the DisassociateThirdPartyFirewall service method. /// /// The response from the DisassociateThirdPartyFirewall service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for DisassociateThirdPartyFirewall Operation public virtual DisassociateThirdPartyFirewallResponse DisassociateThirdPartyFirewall(DisassociateThirdPartyFirewallRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateThirdPartyFirewallRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateThirdPartyFirewallResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisassociateThirdPartyFirewall operation. /// /// /// Container for the necessary parameters to execute the DisassociateThirdPartyFirewall operation on AmazonFMSClient. /// 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 EndDisassociateThirdPartyFirewall /// operation. /// REST API Reference for DisassociateThirdPartyFirewall Operation public virtual IAsyncResult BeginDisassociateThirdPartyFirewall(DisassociateThirdPartyFirewallRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateThirdPartyFirewallRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateThirdPartyFirewallResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisassociateThirdPartyFirewall operation. /// /// /// The IAsyncResult returned by the call to BeginDisassociateThirdPartyFirewall. /// /// Returns a DisassociateThirdPartyFirewallResult from FMS. /// REST API Reference for DisassociateThirdPartyFirewall Operation public virtual DisassociateThirdPartyFirewallResponse EndDisassociateThirdPartyFirewall(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetAdminAccount /// /// Returns the Organizations account that is associated with Firewall Manager as the /// Firewall Manager default administrator. /// /// Container for the necessary parameters to execute the GetAdminAccount service method. /// /// The response from the GetAdminAccount service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for GetAdminAccount Operation public virtual GetAdminAccountResponse GetAdminAccount(GetAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetAdminAccount operation. /// /// /// Container for the necessary parameters to execute the GetAdminAccount operation on AmazonFMSClient. /// 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 EndGetAdminAccount /// operation. /// REST API Reference for GetAdminAccount Operation public virtual IAsyncResult BeginGetAdminAccount(GetAdminAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAdminAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetAdminAccount operation. /// /// /// The IAsyncResult returned by the call to BeginGetAdminAccount. /// /// Returns a GetAdminAccountResult from FMS. /// REST API Reference for GetAdminAccount Operation public virtual GetAdminAccountResponse EndGetAdminAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetAdminScope /// /// Returns information about the specified account's administrative scope. The admistrative /// scope defines the resources that an Firewall Manager administrator can manage. /// /// Container for the necessary parameters to execute the GetAdminScope service method. /// /// The response from the GetAdminScope service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// /// The specified resource was not found. /// /// REST API Reference for GetAdminScope Operation public virtual GetAdminScopeResponse GetAdminScope(GetAdminScopeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAdminScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAdminScopeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetAdminScope operation. /// /// /// Container for the necessary parameters to execute the GetAdminScope operation on AmazonFMSClient. /// 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 EndGetAdminScope /// operation. /// REST API Reference for GetAdminScope Operation public virtual IAsyncResult BeginGetAdminScope(GetAdminScopeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAdminScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAdminScopeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetAdminScope operation. /// /// /// The IAsyncResult returned by the call to BeginGetAdminScope. /// /// Returns a GetAdminScopeResult from FMS. /// REST API Reference for GetAdminScope Operation public virtual GetAdminScopeResponse EndGetAdminScope(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetAppsList /// /// Returns information about the specified Firewall Manager applications list. /// /// Container for the necessary parameters to execute the GetAppsList service method. /// /// The response from the GetAppsList service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for GetAppsList Operation public virtual GetAppsListResponse GetAppsList(GetAppsListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAppsListRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAppsListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetAppsList operation. /// /// /// Container for the necessary parameters to execute the GetAppsList operation on AmazonFMSClient. /// 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 EndGetAppsList /// operation. /// REST API Reference for GetAppsList Operation public virtual IAsyncResult BeginGetAppsList(GetAppsListRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAppsListRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAppsListResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetAppsList operation. /// /// /// The IAsyncResult returned by the call to BeginGetAppsList. /// /// Returns a GetAppsListResult from FMS. /// REST API Reference for GetAppsList Operation public virtual GetAppsListResponse EndGetAppsList(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetComplianceDetail /// /// Returns detailed compliance information about the specified member account. Details /// include resources that are in and out of compliance with the specified policy. /// ///
  • /// /// Resources are considered noncompliant for WAF and Shield Advanced policies if the /// specified policy has not been applied to them. /// ///
  • /// /// Resources are considered noncompliant for security group policies if they are in scope /// of the policy, they violate one or more of the policy rules, and remediation is disabled /// or not possible. /// ///
  • /// /// Resources are considered noncompliant for Network Firewall policies if a firewall /// is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability /// Zone and subnet, if a subnet created by the Firewall Manager doesn't have the expected /// route table, and for modifications to a firewall policy that violate the Firewall /// Manager policy's rules. /// ///
  • /// /// Resources are considered noncompliant for DNS Firewall policies if a DNS Firewall /// rule group is missing from the rule group associations for the VPC. /// ///
///
/// Container for the necessary parameters to execute the GetComplianceDetail service method. /// /// The response from the GetComplianceDetail service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for GetComplianceDetail Operation public virtual GetComplianceDetailResponse GetComplianceDetail(GetComplianceDetailRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetComplianceDetailRequestMarshaller.Instance; options.ResponseUnmarshaller = GetComplianceDetailResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetComplianceDetail operation. /// /// /// Container for the necessary parameters to execute the GetComplianceDetail operation on AmazonFMSClient. /// 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 EndGetComplianceDetail /// operation. /// REST API Reference for GetComplianceDetail Operation public virtual IAsyncResult BeginGetComplianceDetail(GetComplianceDetailRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetComplianceDetailRequestMarshaller.Instance; options.ResponseUnmarshaller = GetComplianceDetailResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetComplianceDetail operation. /// /// /// The IAsyncResult returned by the call to BeginGetComplianceDetail. /// /// Returns a GetComplianceDetailResult from FMS. /// REST API Reference for GetComplianceDetail Operation public virtual GetComplianceDetailResponse EndGetComplianceDetail(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetNotificationChannel /// /// Information about the Amazon Simple Notification Service (SNS) topic that is used /// to record Firewall Manager SNS logs. /// /// Container for the necessary parameters to execute the GetNotificationChannel service method. /// /// The response from the GetNotificationChannel service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for GetNotificationChannel Operation public virtual GetNotificationChannelResponse GetNotificationChannel(GetNotificationChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNotificationChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNotificationChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetNotificationChannel operation. /// /// /// Container for the necessary parameters to execute the GetNotificationChannel operation on AmazonFMSClient. /// 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 EndGetNotificationChannel /// operation. /// REST API Reference for GetNotificationChannel Operation public virtual IAsyncResult BeginGetNotificationChannel(GetNotificationChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetNotificationChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNotificationChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetNotificationChannel operation. /// /// /// The IAsyncResult returned by the call to BeginGetNotificationChannel. /// /// Returns a GetNotificationChannelResult from FMS. /// REST API Reference for GetNotificationChannel Operation public virtual GetNotificationChannelResponse EndGetNotificationChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPolicy /// /// Returns information about the specified Firewall Manager policy. /// /// Container for the necessary parameters to execute the GetPolicy service method. /// /// The response from the GetPolicy service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The value of the Type parameter is invalid. /// /// /// The specified resource was not found. /// /// REST API Reference for GetPolicy Operation public virtual GetPolicyResponse GetPolicy(GetPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPolicy operation. /// /// /// Container for the necessary parameters to execute the GetPolicy operation on AmazonFMSClient. /// 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 EndGetPolicy /// operation. /// REST API Reference for GetPolicy Operation public virtual IAsyncResult BeginGetPolicy(GetPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginGetPolicy. /// /// Returns a GetPolicyResult from FMS. /// REST API Reference for GetPolicy Operation public virtual GetPolicyResponse EndGetPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetProtectionStatus /// /// If you created a Shield Advanced policy, returns policy-level attack summary information /// in the event of a potential DDoS attack. Other policy types are currently unsupported. /// /// Container for the necessary parameters to execute the GetProtectionStatus service method. /// /// The response from the GetProtectionStatus service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The specified resource was not found. /// /// REST API Reference for GetProtectionStatus Operation public virtual GetProtectionStatusResponse GetProtectionStatus(GetProtectionStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetProtectionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetProtectionStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetProtectionStatus operation. /// /// /// Container for the necessary parameters to execute the GetProtectionStatus operation on AmazonFMSClient. /// 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 EndGetProtectionStatus /// operation. /// REST API Reference for GetProtectionStatus Operation public virtual IAsyncResult BeginGetProtectionStatus(GetProtectionStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetProtectionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetProtectionStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetProtectionStatus operation. /// /// /// The IAsyncResult returned by the call to BeginGetProtectionStatus. /// /// Returns a GetProtectionStatusResult from FMS. /// REST API Reference for GetProtectionStatus Operation public virtual GetProtectionStatusResponse EndGetProtectionStatus(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetProtocolsList /// /// Returns information about the specified Firewall Manager protocols list. /// /// Container for the necessary parameters to execute the GetProtocolsList service method. /// /// The response from the GetProtocolsList service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for GetProtocolsList Operation public virtual GetProtocolsListResponse GetProtocolsList(GetProtocolsListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetProtocolsListRequestMarshaller.Instance; options.ResponseUnmarshaller = GetProtocolsListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetProtocolsList operation. /// /// /// Container for the necessary parameters to execute the GetProtocolsList operation on AmazonFMSClient. /// 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 EndGetProtocolsList /// operation. /// REST API Reference for GetProtocolsList Operation public virtual IAsyncResult BeginGetProtocolsList(GetProtocolsListRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetProtocolsListRequestMarshaller.Instance; options.ResponseUnmarshaller = GetProtocolsListResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetProtocolsList operation. /// /// /// The IAsyncResult returned by the call to BeginGetProtocolsList. /// /// Returns a GetProtocolsListResult from FMS. /// REST API Reference for GetProtocolsList Operation public virtual GetProtocolsListResponse EndGetProtocolsList(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetResourceSet /// /// Gets information about a specific resource set. /// /// Container for the necessary parameters to execute the GetResourceSet service method. /// /// The response from the GetResourceSet service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for GetResourceSet Operation public virtual GetResourceSetResponse GetResourceSet(GetResourceSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetResourceSet operation. /// /// /// Container for the necessary parameters to execute the GetResourceSet operation on AmazonFMSClient. /// 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 EndGetResourceSet /// operation. /// REST API Reference for GetResourceSet Operation public virtual IAsyncResult BeginGetResourceSet(GetResourceSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetResourceSet operation. /// /// /// The IAsyncResult returned by the call to BeginGetResourceSet. /// /// Returns a GetResourceSetResult from FMS. /// REST API Reference for GetResourceSet Operation public virtual GetResourceSetResponse EndGetResourceSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetThirdPartyFirewallAssociationStatus /// /// The onboarding status of a Firewall Manager admin account to third-party firewall /// vendor tenant. /// /// Container for the necessary parameters to execute the GetThirdPartyFirewallAssociationStatus service method. /// /// The response from the GetThirdPartyFirewallAssociationStatus service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for GetThirdPartyFirewallAssociationStatus Operation public virtual GetThirdPartyFirewallAssociationStatusResponse GetThirdPartyFirewallAssociationStatus(GetThirdPartyFirewallAssociationStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetThirdPartyFirewallAssociationStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetThirdPartyFirewallAssociationStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetThirdPartyFirewallAssociationStatus operation. /// /// /// Container for the necessary parameters to execute the GetThirdPartyFirewallAssociationStatus operation on AmazonFMSClient. /// 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 EndGetThirdPartyFirewallAssociationStatus /// operation. /// REST API Reference for GetThirdPartyFirewallAssociationStatus Operation public virtual IAsyncResult BeginGetThirdPartyFirewallAssociationStatus(GetThirdPartyFirewallAssociationStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetThirdPartyFirewallAssociationStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetThirdPartyFirewallAssociationStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetThirdPartyFirewallAssociationStatus operation. /// /// /// The IAsyncResult returned by the call to BeginGetThirdPartyFirewallAssociationStatus. /// /// Returns a GetThirdPartyFirewallAssociationStatusResult from FMS. /// REST API Reference for GetThirdPartyFirewallAssociationStatus Operation public virtual GetThirdPartyFirewallAssociationStatusResponse EndGetThirdPartyFirewallAssociationStatus(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetViolationDetails /// /// Retrieves violations for a resource based on the specified Firewall Manager policy /// and Amazon Web Services account. /// /// Container for the necessary parameters to execute the GetViolationDetails service method. /// /// The response from the GetViolationDetails service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The specified resource was not found. /// /// REST API Reference for GetViolationDetails Operation public virtual GetViolationDetailsResponse GetViolationDetails(GetViolationDetailsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetViolationDetailsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetViolationDetailsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetViolationDetails operation. /// /// /// Container for the necessary parameters to execute the GetViolationDetails operation on AmazonFMSClient. /// 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 EndGetViolationDetails /// operation. /// REST API Reference for GetViolationDetails Operation public virtual IAsyncResult BeginGetViolationDetails(GetViolationDetailsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetViolationDetailsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetViolationDetailsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetViolationDetails operation. /// /// /// The IAsyncResult returned by the call to BeginGetViolationDetails. /// /// Returns a GetViolationDetailsResult from FMS. /// REST API Reference for GetViolationDetails Operation public virtual GetViolationDetailsResponse EndGetViolationDetails(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAdminAccountsForOrganization /// /// Returns a AdminAccounts object that lists the Firewall Manager administrators /// within the organization that are onboarded to Firewall Manager by AssociateAdminAccount. /// /// /// /// This operation can be called only from the organization's management account. /// /// /// Container for the necessary parameters to execute the ListAdminAccountsForOrganization service method. /// /// The response from the ListAdminAccountsForOrganization service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// /// The specified resource was not found. /// /// REST API Reference for ListAdminAccountsForOrganization Operation public virtual ListAdminAccountsForOrganizationResponse ListAdminAccountsForOrganization(ListAdminAccountsForOrganizationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAdminAccountsForOrganizationRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAdminAccountsForOrganizationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAdminAccountsForOrganization operation. /// /// /// Container for the necessary parameters to execute the ListAdminAccountsForOrganization operation on AmazonFMSClient. /// 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 EndListAdminAccountsForOrganization /// operation. /// REST API Reference for ListAdminAccountsForOrganization Operation public virtual IAsyncResult BeginListAdminAccountsForOrganization(ListAdminAccountsForOrganizationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAdminAccountsForOrganizationRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAdminAccountsForOrganizationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAdminAccountsForOrganization operation. /// /// /// The IAsyncResult returned by the call to BeginListAdminAccountsForOrganization. /// /// Returns a ListAdminAccountsForOrganizationResult from FMS. /// REST API Reference for ListAdminAccountsForOrganization Operation public virtual ListAdminAccountsForOrganizationResponse EndListAdminAccountsForOrganization(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAdminsManagingAccount /// /// Lists the accounts that are managing the specified Organizations member account. This /// is useful for any member account so that they can view the accounts who are managing /// their account. This operation only returns the managing administrators that have the /// requested account within their AdminScope. /// /// Container for the necessary parameters to execute the ListAdminsManagingAccount service method. /// /// The response from the ListAdminsManagingAccount service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The specified resource was not found. /// /// REST API Reference for ListAdminsManagingAccount Operation public virtual ListAdminsManagingAccountResponse ListAdminsManagingAccount(ListAdminsManagingAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAdminsManagingAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAdminsManagingAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAdminsManagingAccount operation. /// /// /// Container for the necessary parameters to execute the ListAdminsManagingAccount operation on AmazonFMSClient. /// 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 EndListAdminsManagingAccount /// operation. /// REST API Reference for ListAdminsManagingAccount Operation public virtual IAsyncResult BeginListAdminsManagingAccount(ListAdminsManagingAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAdminsManagingAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAdminsManagingAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAdminsManagingAccount operation. /// /// /// The IAsyncResult returned by the call to BeginListAdminsManagingAccount. /// /// Returns a ListAdminsManagingAccountResult from FMS. /// REST API Reference for ListAdminsManagingAccount Operation public virtual ListAdminsManagingAccountResponse EndListAdminsManagingAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAppsLists /// /// Returns an array of AppsListDataSummary objects. /// /// Container for the necessary parameters to execute the ListAppsLists service method. /// /// The response from the ListAppsLists service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// /// The specified resource was not found. /// /// REST API Reference for ListAppsLists Operation public virtual ListAppsListsResponse ListAppsLists(ListAppsListsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppsListsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppsListsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAppsLists operation. /// /// /// Container for the necessary parameters to execute the ListAppsLists operation on AmazonFMSClient. /// 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 EndListAppsLists /// operation. /// REST API Reference for ListAppsLists Operation public virtual IAsyncResult BeginListAppsLists(ListAppsListsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppsListsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppsListsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAppsLists operation. /// /// /// The IAsyncResult returned by the call to BeginListAppsLists. /// /// Returns a ListAppsListsResult from FMS. /// REST API Reference for ListAppsLists Operation public virtual ListAppsListsResponse EndListAppsLists(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListComplianceStatus /// /// Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus /// to get a summary of which member accounts are protected by the specified policy. /// /// Container for the necessary parameters to execute the ListComplianceStatus service method. /// /// The response from the ListComplianceStatus service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The specified resource was not found. /// /// REST API Reference for ListComplianceStatus Operation public virtual ListComplianceStatusResponse ListComplianceStatus(ListComplianceStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListComplianceStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = ListComplianceStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListComplianceStatus operation. /// /// /// Container for the necessary parameters to execute the ListComplianceStatus operation on AmazonFMSClient. /// 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 EndListComplianceStatus /// operation. /// REST API Reference for ListComplianceStatus Operation public virtual IAsyncResult BeginListComplianceStatus(ListComplianceStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListComplianceStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = ListComplianceStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListComplianceStatus operation. /// /// /// The IAsyncResult returned by the call to BeginListComplianceStatus. /// /// Returns a ListComplianceStatusResult from FMS. /// REST API Reference for ListComplianceStatus Operation public virtual ListComplianceStatusResponse EndListComplianceStatus(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDiscoveredResources /// /// Returns an array of resources in the organization's accounts that are available to /// be associated with a resource set. /// /// Container for the necessary parameters to execute the ListDiscoveredResources service method. /// /// The response from the ListDiscoveredResources service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// REST API Reference for ListDiscoveredResources Operation public virtual ListDiscoveredResourcesResponse ListDiscoveredResources(ListDiscoveredResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDiscoveredResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDiscoveredResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDiscoveredResources operation. /// /// /// Container for the necessary parameters to execute the ListDiscoveredResources operation on AmazonFMSClient. /// 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 EndListDiscoveredResources /// operation. /// REST API Reference for ListDiscoveredResources Operation public virtual IAsyncResult BeginListDiscoveredResources(ListDiscoveredResourcesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDiscoveredResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDiscoveredResourcesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDiscoveredResources operation. /// /// /// The IAsyncResult returned by the call to BeginListDiscoveredResources. /// /// Returns a ListDiscoveredResourcesResult from FMS. /// REST API Reference for ListDiscoveredResources Operation public virtual ListDiscoveredResourcesResponse EndListDiscoveredResources(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListMemberAccounts /// /// Returns a MemberAccounts object that lists the member accounts in the /// administrator's Amazon Web Services organization. /// /// /// /// Either an Firewall Manager administrator or the organization's management account /// can make this request. /// /// /// Container for the necessary parameters to execute the ListMemberAccounts service method. /// /// The response from the ListMemberAccounts service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The specified resource was not found. /// /// REST API Reference for ListMemberAccounts Operation public virtual ListMemberAccountsResponse ListMemberAccounts(ListMemberAccountsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMemberAccountsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMemberAccountsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListMemberAccounts operation. /// /// /// Container for the necessary parameters to execute the ListMemberAccounts operation on AmazonFMSClient. /// 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 EndListMemberAccounts /// operation. /// REST API Reference for ListMemberAccounts Operation public virtual IAsyncResult BeginListMemberAccounts(ListMemberAccountsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListMemberAccountsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMemberAccountsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListMemberAccounts operation. /// /// /// The IAsyncResult returned by the call to BeginListMemberAccounts. /// /// Returns a ListMemberAccountsResult from FMS. /// REST API Reference for ListMemberAccounts Operation public virtual ListMemberAccountsResponse EndListMemberAccounts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPolicies /// /// Returns an array of PolicySummary objects. /// /// Container for the necessary parameters to execute the ListPolicies service method. /// /// The response from the ListPolicies service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// /// The specified resource was not found. /// /// REST API Reference for ListPolicies Operation public virtual ListPoliciesResponse ListPolicies(ListPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPolicies operation. /// /// /// Container for the necessary parameters to execute the ListPolicies operation on AmazonFMSClient. /// 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 EndListPolicies /// operation. /// REST API Reference for ListPolicies Operation public virtual IAsyncResult BeginListPolicies(ListPoliciesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPoliciesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPolicies operation. /// /// /// The IAsyncResult returned by the call to BeginListPolicies. /// /// Returns a ListPoliciesResult from FMS. /// REST API Reference for ListPolicies Operation public virtual ListPoliciesResponse EndListPolicies(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListProtocolsLists /// /// Returns an array of ProtocolsListDataSummary objects. /// /// Container for the necessary parameters to execute the ListProtocolsLists service method. /// /// The response from the ListProtocolsLists service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for ListProtocolsLists Operation public virtual ListProtocolsListsResponse ListProtocolsLists(ListProtocolsListsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListProtocolsListsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProtocolsListsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListProtocolsLists operation. /// /// /// Container for the necessary parameters to execute the ListProtocolsLists operation on AmazonFMSClient. /// 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 EndListProtocolsLists /// operation. /// REST API Reference for ListProtocolsLists Operation public virtual IAsyncResult BeginListProtocolsLists(ListProtocolsListsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListProtocolsListsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProtocolsListsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListProtocolsLists operation. /// /// /// The IAsyncResult returned by the call to BeginListProtocolsLists. /// /// Returns a ListProtocolsListsResult from FMS. /// REST API Reference for ListProtocolsLists Operation public virtual ListProtocolsListsResponse EndListProtocolsLists(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListResourceSetResources /// /// Returns an array of resources that are currently associated to a resource set. /// /// Container for the necessary parameters to execute the ListResourceSetResources service method. /// /// The response from the ListResourceSetResources service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for ListResourceSetResources Operation public virtual ListResourceSetResourcesResponse ListResourceSetResources(ListResourceSetResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceSetResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceSetResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListResourceSetResources operation. /// /// /// Container for the necessary parameters to execute the ListResourceSetResources operation on AmazonFMSClient. /// 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 EndListResourceSetResources /// operation. /// REST API Reference for ListResourceSetResources Operation public virtual IAsyncResult BeginListResourceSetResources(ListResourceSetResourcesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceSetResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceSetResourcesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListResourceSetResources operation. /// /// /// The IAsyncResult returned by the call to BeginListResourceSetResources. /// /// Returns a ListResourceSetResourcesResult from FMS. /// REST API Reference for ListResourceSetResources Operation public virtual ListResourceSetResourcesResponse EndListResourceSetResources(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListResourceSets /// /// Returns an array of ResourceSetSummary objects. /// /// Container for the necessary parameters to execute the ListResourceSets service method. /// /// The response from the ListResourceSets service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// REST API Reference for ListResourceSets Operation public virtual ListResourceSetsResponse ListResourceSets(ListResourceSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceSetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListResourceSets operation. /// /// /// Container for the necessary parameters to execute the ListResourceSets operation on AmazonFMSClient. /// 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 EndListResourceSets /// operation. /// REST API Reference for ListResourceSets Operation public virtual IAsyncResult BeginListResourceSets(ListResourceSetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceSetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListResourceSets operation. /// /// /// The IAsyncResult returned by the call to BeginListResourceSets. /// /// Returns a ListResourceSetsResult from FMS. /// REST API Reference for ListResourceSets Operation public virtual ListResourceSetsResponse EndListResourceSets(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Retrieves the list of tags for the specified Amazon Web Services resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// 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 AmazonFMSClient. /// 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 FMS. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListThirdPartyFirewallFirewallPolicies /// /// Retrieves a list of all of the third-party firewall policies that are associated with /// the third-party firewall administrator's account. /// /// Container for the necessary parameters to execute the ListThirdPartyFirewallFirewallPolicies service method. /// /// The response from the ListThirdPartyFirewallFirewallPolicies service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for ListThirdPartyFirewallFirewallPolicies Operation public virtual ListThirdPartyFirewallFirewallPoliciesResponse ListThirdPartyFirewallFirewallPolicies(ListThirdPartyFirewallFirewallPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListThirdPartyFirewallFirewallPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThirdPartyFirewallFirewallPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListThirdPartyFirewallFirewallPolicies operation. /// /// /// Container for the necessary parameters to execute the ListThirdPartyFirewallFirewallPolicies operation on AmazonFMSClient. /// 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 EndListThirdPartyFirewallFirewallPolicies /// operation. /// REST API Reference for ListThirdPartyFirewallFirewallPolicies Operation public virtual IAsyncResult BeginListThirdPartyFirewallFirewallPolicies(ListThirdPartyFirewallFirewallPoliciesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListThirdPartyFirewallFirewallPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThirdPartyFirewallFirewallPoliciesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListThirdPartyFirewallFirewallPolicies operation. /// /// /// The IAsyncResult returned by the call to BeginListThirdPartyFirewallFirewallPolicies. /// /// Returns a ListThirdPartyFirewallFirewallPoliciesResult from FMS. /// REST API Reference for ListThirdPartyFirewallFirewallPolicies Operation public virtual ListThirdPartyFirewallFirewallPoliciesResponse EndListThirdPartyFirewallFirewallPolicies(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutAdminAccount /// /// Creates or updates an Firewall Manager administrator account. The account must be /// a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. /// Only the organization's management account can create an Firewall Manager administrator /// account. When you create an Firewall Manager administrator account, the service checks /// to see if the account is already a delegated administrator within Organizations. If /// the account isn't a delegated administrator, Firewall Manager calls Organizations /// to delegate the account within Organizations. For more information about administrator /// accounts within Organizations, see Managing /// the Amazon Web Services Accounts in Your Organization. /// /// Container for the necessary parameters to execute the PutAdminAccount service method. /// /// The response from the PutAdminAccount service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// REST API Reference for PutAdminAccount Operation public virtual PutAdminAccountResponse PutAdminAccount(PutAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutAdminAccount operation. /// /// /// Container for the necessary parameters to execute the PutAdminAccount operation on AmazonFMSClient. /// 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 EndPutAdminAccount /// operation. /// REST API Reference for PutAdminAccount Operation public virtual IAsyncResult BeginPutAdminAccount(PutAdminAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAdminAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutAdminAccount operation. /// /// /// The IAsyncResult returned by the call to BeginPutAdminAccount. /// /// Returns a PutAdminAccountResult from FMS. /// REST API Reference for PutAdminAccount Operation public virtual PutAdminAccountResponse EndPutAdminAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutAppsList /// /// Creates an Firewall Manager applications list. /// /// Container for the necessary parameters to execute the PutAppsList service method. /// /// The response from the PutAppsList service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// /// The specified resource was not found. /// /// REST API Reference for PutAppsList Operation public virtual PutAppsListResponse PutAppsList(PutAppsListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppsListRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppsListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutAppsList operation. /// /// /// Container for the necessary parameters to execute the PutAppsList operation on AmazonFMSClient. /// 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 EndPutAppsList /// operation. /// REST API Reference for PutAppsList Operation public virtual IAsyncResult BeginPutAppsList(PutAppsListRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppsListRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppsListResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutAppsList operation. /// /// /// The IAsyncResult returned by the call to BeginPutAppsList. /// /// Returns a PutAppsListResult from FMS. /// REST API Reference for PutAppsList Operation public virtual PutAppsListResponse EndPutAppsList(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutNotificationChannel /// /// Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall /// Manager uses to record SNS logs. /// /// /// /// To perform this action outside of the console, you must first configure the SNS topic's /// access policy to allow the SnsRoleName to publish SNS logs. If the SnsRoleName /// provided is a role other than the AWSServiceRoleForFMS service-linked /// role, this role must have a trust relationship configured to allow the Firewall Manager /// service principal fms.amazonaws.com to assume this role. For information /// about configuring an SNS access policy, see Service /// roles for Firewall Manager in the Firewall Manager Developer Guide. /// /// /// Container for the necessary parameters to execute the PutNotificationChannel service method. /// /// The response from the PutNotificationChannel service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// REST API Reference for PutNotificationChannel Operation public virtual PutNotificationChannelResponse PutNotificationChannel(PutNotificationChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutNotificationChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = PutNotificationChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutNotificationChannel operation. /// /// /// Container for the necessary parameters to execute the PutNotificationChannel operation on AmazonFMSClient. /// 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 EndPutNotificationChannel /// operation. /// REST API Reference for PutNotificationChannel Operation public virtual IAsyncResult BeginPutNotificationChannel(PutNotificationChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutNotificationChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = PutNotificationChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutNotificationChannel operation. /// /// /// The IAsyncResult returned by the call to BeginPutNotificationChannel. /// /// Returns a PutNotificationChannelResult from FMS. /// REST API Reference for PutNotificationChannel Operation public virtual PutNotificationChannelResponse EndPutNotificationChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutPolicy /// /// Creates an Firewall Manager policy. /// /// /// /// Firewall Manager provides the following types of policies: /// ///
  • /// /// An WAF policy (type WAFV2), which defines rule groups to run first in the corresponding /// WAF web ACL and rule groups to run last in the web ACL. /// ///
  • /// /// An WAF Classic policy (type WAF), which defines a rule group. /// ///
  • /// /// A Shield Advanced policy, which applies Shield Advanced protection to specified accounts /// and resources. /// ///
  • /// /// A security group policy, which manages VPC security groups across your Amazon Web /// Services organization. /// ///
  • /// /// An Network Firewall policy, which provides firewall rules to filter network traffic /// in specified Amazon VPCs. /// ///
  • /// /// A DNS Firewall policy, which provides RouteĀ 53 Resolver DNS Firewall rules to filter /// DNS queries for specified VPCs. /// ///
/// /// Each policy is specific to one of the types. If you want to enforce more than one /// policy type across accounts, create multiple policies. You can create multiple policies /// for each type. /// /// /// /// You must be subscribed to Shield Advanced to create a Shield Advanced policy. For /// more information about subscribing to Shield Advanced, see CreateSubscription. /// ///
/// Container for the necessary parameters to execute the PutPolicy service method. /// /// The response from the PutPolicy service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The value of the Type parameter is invalid. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// /// The specified resource was not found. /// /// REST API Reference for PutPolicy Operation public virtual PutPolicyResponse PutPolicy(PutPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutPolicy operation. /// /// /// Container for the necessary parameters to execute the PutPolicy operation on AmazonFMSClient. /// 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 EndPutPolicy /// operation. /// REST API Reference for PutPolicy Operation public virtual IAsyncResult BeginPutPolicy(PutPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutPolicy. /// /// Returns a PutPolicyResult from FMS. /// REST API Reference for PutPolicy Operation public virtual PutPolicyResponse EndPutPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutProtocolsList /// /// Creates an Firewall Manager protocols list. /// /// Container for the necessary parameters to execute the PutProtocolsList service method. /// /// The response from the PutProtocolsList service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// /// The specified resource was not found. /// /// REST API Reference for PutProtocolsList Operation public virtual PutProtocolsListResponse PutProtocolsList(PutProtocolsListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutProtocolsListRequestMarshaller.Instance; options.ResponseUnmarshaller = PutProtocolsListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutProtocolsList operation. /// /// /// Container for the necessary parameters to execute the PutProtocolsList operation on AmazonFMSClient. /// 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 EndPutProtocolsList /// operation. /// REST API Reference for PutProtocolsList Operation public virtual IAsyncResult BeginPutProtocolsList(PutProtocolsListRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutProtocolsListRequestMarshaller.Instance; options.ResponseUnmarshaller = PutProtocolsListResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutProtocolsList operation. /// /// /// The IAsyncResult returned by the call to BeginPutProtocolsList. /// /// Returns a PutProtocolsListResult from FMS. /// REST API Reference for PutProtocolsList Operation public virtual PutProtocolsListResponse EndPutProtocolsList(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutResourceSet /// /// Creates the resource set. /// /// /// /// An Firewall Manager resource set defines the resources to import into an Firewall /// Manager policy from another Amazon Web Services service. /// /// /// Container for the necessary parameters to execute the PutResourceSet service method. /// /// The response from the PutResourceSet service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// REST API Reference for PutResourceSet Operation public virtual PutResourceSetResponse PutResourceSet(PutResourceSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = PutResourceSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutResourceSet operation. /// /// /// Container for the necessary parameters to execute the PutResourceSet operation on AmazonFMSClient. /// 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 EndPutResourceSet /// operation. /// REST API Reference for PutResourceSet Operation public virtual IAsyncResult BeginPutResourceSet(PutResourceSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutResourceSetRequestMarshaller.Instance; options.ResponseUnmarshaller = PutResourceSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutResourceSet operation. /// /// /// The IAsyncResult returned by the call to BeginPutResourceSet. /// /// Returns a PutResourceSetResult from FMS. /// REST API Reference for PutResourceSet Operation public virtual PutResourceSetResponse EndPutResourceSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds one or more tags to an Amazon Web Services resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The operation exceeds a resource limit, for example, the maximum number of policy /// objects that you can create for an Amazon Web Services account. For more information, /// see Firewall /// Manager Limits in the WAF Developer Guide. /// /// /// The specified resource was not found. /// /// 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 AmazonFMSClient. /// 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 FMS. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Removes one or more tags from an Amazon Web Services resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by FMS. /// /// The operation failed because of a system problem, even though the request was valid. /// Retry your request. /// /// /// The parameters of the request were invalid. /// /// /// The operation failed because there was nothing to do or the operation wasn't possible. /// For example, you might have submitted an AssociateAdminAccount request /// for an account ID that was already set as the Firewall Manager administrator. Or you /// might have tried to access a Region that's disabled by default, and that you need /// to enable for the Firewall Manager administrator account and for Organizations before /// you can access it. /// /// /// The specified resource was not found. /// /// 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 AmazonFMSClient. /// 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 FMS. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }