/* * 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.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.FMS.Model; namespace Amazon.FMS { /// /// Interface 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 interface IAmazonFMS : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IFMSPaginatorFactory Paginators { get; } #endif #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task AssociateAdminAccountAsync(AssociateAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task AssociateThirdPartyFirewallAsync(AssociateThirdPartyFirewallRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchAssociateResource /// /// Associate resources to a Firewall Manager resource set. /// /// Container for the necessary parameters to execute the BatchAssociateResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task BatchAssociateResourceAsync(BatchAssociateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchDisassociateResource /// /// Disassociates resources from a Firewall Manager resource set. /// /// Container for the necessary parameters to execute the BatchDisassociateResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task BatchDisassociateResourceAsync(BatchDisassociateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppsList /// /// Permanently deletes an Firewall Manager applications list. /// /// Container for the necessary parameters to execute the DeleteAppsList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteAppsListAsync(DeleteAppsListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteNotificationChannelAsync(DeleteNotificationChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeletePolicy /// /// Permanently deletes an Firewall Manager policy. /// /// Container for the necessary parameters to execute the DeletePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeletePolicyAsync(DeletePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteProtocolsList /// /// Permanently deletes an Firewall Manager protocols list. /// /// Container for the necessary parameters to execute the DeleteProtocolsList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteProtocolsListAsync(DeleteProtocolsListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteResourceSet /// /// Deletes the specified ResourceSet. /// /// Container for the necessary parameters to execute the DeleteResourceSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteResourceSetAsync(DeleteResourceSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DisassociateAdminAccountAsync(DisassociateAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DisassociateThirdPartyFirewallAsync(DisassociateThirdPartyFirewallRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetAdminAccountAsync(GetAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetAdminScopeAsync(GetAdminScopeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetAppsList /// /// Returns information about the specified Firewall Manager applications list. /// /// Container for the necessary parameters to execute the GetAppsList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetAppsListAsync(GetAppsListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetComplianceDetailAsync(GetComplianceDetailRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetNotificationChannelAsync(GetNotificationChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetPolicy /// /// Returns information about the specified Firewall Manager policy. /// /// Container for the necessary parameters to execute the GetPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetPolicyAsync(GetPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetProtectionStatusAsync(GetProtectionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetProtocolsList /// /// Returns information about the specified Firewall Manager protocols list. /// /// Container for the necessary parameters to execute the GetProtocolsList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetProtocolsListAsync(GetProtocolsListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetResourceSet /// /// Gets information about a specific resource set. /// /// Container for the necessary parameters to execute the GetResourceSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetResourceSetAsync(GetResourceSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetThirdPartyFirewallAssociationStatusAsync(GetThirdPartyFirewallAssociationStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetViolationDetailsAsync(GetViolationDetailsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListAdminAccountsForOrganizationAsync(ListAdminAccountsForOrganizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListAdminsManagingAccountAsync(ListAdminsManagingAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAppsLists /// /// Returns an array of AppsListDataSummary objects. /// /// Container for the necessary parameters to execute the ListAppsLists service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListAppsListsAsync(ListAppsListsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListComplianceStatusAsync(ListComplianceStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListDiscoveredResourcesAsync(ListDiscoveredResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListMemberAccountsAsync(ListMemberAccountsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListPolicies /// /// Returns an array of PolicySummary objects. /// /// Container for the necessary parameters to execute the ListPolicies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListPoliciesAsync(ListPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListProtocolsLists /// /// Returns an array of ProtocolsListDataSummary objects. /// /// Container for the necessary parameters to execute the ListProtocolsLists service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListProtocolsListsAsync(ListProtocolsListsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListResourceSetResourcesAsync(ListResourceSetResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListResourceSets /// /// Returns an array of ResourceSetSummary objects. /// /// Container for the necessary parameters to execute the ListResourceSets service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListResourceSetsAsync(ListResourceSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by 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 Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListThirdPartyFirewallFirewallPoliciesAsync(ListThirdPartyFirewallFirewallPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task PutAdminAccountAsync(PutAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutAppsList /// /// Creates an Firewall Manager applications list. /// /// Container for the necessary parameters to execute the PutAppsList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task PutAppsListAsync(PutAppsListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task PutNotificationChannelAsync(PutNotificationChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task PutPolicyAsync(PutPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutProtocolsList /// /// Creates an Firewall Manager protocols list. /// /// Container for the necessary parameters to execute the PutProtocolsList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task PutProtocolsListAsync(PutProtocolsListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task PutResourceSetAsync(PutResourceSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by 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 Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by 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 Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }