Class: Aws::FMS::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::FMS::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-fms/client.rb
Overview
An API client for FMS. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::FMS::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#associate_admin_account(params = {}) ⇒ Struct
Sets a Firewall Manager default administrator account.
-
#associate_third_party_firewall(params = {}) ⇒ Types::AssociateThirdPartyFirewallResponse
Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service.
-
#batch_associate_resource(params = {}) ⇒ Types::BatchAssociateResourceResponse
Associate resources to a Firewall Manager resource set.
-
#batch_disassociate_resource(params = {}) ⇒ Types::BatchDisassociateResourceResponse
Disassociates resources from a Firewall Manager resource set.
-
#delete_apps_list(params = {}) ⇒ Struct
Permanently deletes an Firewall Manager applications list.
-
#delete_notification_channel(params = {}) ⇒ Struct
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.
-
#delete_policy(params = {}) ⇒ Struct
Permanently deletes an Firewall Manager policy.
-
#delete_protocols_list(params = {}) ⇒ Struct
Permanently deletes an Firewall Manager protocols list.
-
#delete_resource_set(params = {}) ⇒ Struct
Deletes the specified ResourceSet.
-
#disassociate_admin_account(params = {}) ⇒ Struct
Disassociates an Firewall Manager administrator account.
-
#disassociate_third_party_firewall(params = {}) ⇒ Types::DisassociateThirdPartyFirewallResponse
Disassociates a Firewall Manager policy administrator from a third-party firewall tenant.
-
#get_admin_account(params = {}) ⇒ Types::GetAdminAccountResponse
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.
-
#get_admin_scope(params = {}) ⇒ Types::GetAdminScopeResponse
Returns information about the specified account’s administrative scope.
-
#get_apps_list(params = {}) ⇒ Types::GetAppsListResponse
Returns information about the specified Firewall Manager applications list.
-
#get_compliance_detail(params = {}) ⇒ Types::GetComplianceDetailResponse
Returns detailed compliance information about the specified member account.
-
#get_notification_channel(params = {}) ⇒ Types::GetNotificationChannelResponse
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
-
#get_policy(params = {}) ⇒ Types::GetPolicyResponse
Returns information about the specified Firewall Manager policy.
-
#get_protection_status(params = {}) ⇒ Types::GetProtectionStatusResponse
If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack.
-
#get_protocols_list(params = {}) ⇒ Types::GetProtocolsListResponse
Returns information about the specified Firewall Manager protocols list.
-
#get_resource_set(params = {}) ⇒ Types::GetResourceSetResponse
Gets information about a specific resource set.
-
#get_third_party_firewall_association_status(params = {}) ⇒ Types::GetThirdPartyFirewallAssociationStatusResponse
The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
-
#get_violation_details(params = {}) ⇒ Types::GetViolationDetailsResponse
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
-
#list_admin_accounts_for_organization(params = {}) ⇒ Types::ListAdminAccountsForOrganizationResponse
Returns a ‘AdminAccounts` object that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount.
-
#list_admins_managing_account(params = {}) ⇒ Types::ListAdminsManagingAccountResponse
Lists the accounts that are managing the specified Organizations member account.
-
#list_apps_lists(params = {}) ⇒ Types::ListAppsListsResponse
Returns an array of ‘AppsListDataSummary` objects.
-
#list_compliance_status(params = {}) ⇒ Types::ListComplianceStatusResponse
Returns an array of ‘PolicyComplianceStatus` objects.
-
#list_discovered_resources(params = {}) ⇒ Types::ListDiscoveredResourcesResponse
Returns an array of resources in the organization’s accounts that are available to be associated with a resource set.
-
#list_member_accounts(params = {}) ⇒ Types::ListMemberAccountsResponse
Returns a ‘MemberAccounts` object that lists the member accounts in the administrator’s Amazon Web Services organization.
-
#list_policies(params = {}) ⇒ Types::ListPoliciesResponse
Returns an array of ‘PolicySummary` objects.
-
#list_protocols_lists(params = {}) ⇒ Types::ListProtocolsListsResponse
Returns an array of ‘ProtocolsListDataSummary` objects.
-
#list_resource_set_resources(params = {}) ⇒ Types::ListResourceSetResourcesResponse
Returns an array of resources that are currently associated to a resource set.
-
#list_resource_sets(params = {}) ⇒ Types::ListResourceSetsResponse
Returns an array of ‘ResourceSetSummary` objects.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves the list of tags for the specified Amazon Web Services resource.
-
#list_third_party_firewall_firewall_policies(params = {}) ⇒ Types::ListThirdPartyFirewallFirewallPoliciesResponse
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator’s account.
-
#put_admin_account(params = {}) ⇒ Struct
Creates or updates an Firewall Manager administrator account.
-
#put_apps_list(params = {}) ⇒ Types::PutAppsListResponse
Creates an Firewall Manager applications list.
-
#put_notification_channel(params = {}) ⇒ Struct
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs.
-
#put_policy(params = {}) ⇒ Types::PutPolicyResponse
Creates an Firewall Manager policy.
-
#put_protocols_list(params = {}) ⇒ Types::PutProtocolsListResponse
Creates an Firewall Manager protocols list.
-
#put_resource_set(params = {}) ⇒ Types::PutResourceSetResponse
Creates the resource set.
-
#tag_resource(params = {}) ⇒ Struct
Adds one or more tags to an Amazon Web Services resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from an Amazon Web Services resource.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
451 452 453 |
# File 'lib/aws-sdk-fms/client.rb', line 451 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2970 2971 2972 |
# File 'lib/aws-sdk-fms/client.rb', line 2970 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2973 2974 2975 |
# File 'lib/aws-sdk-fms/client.rb', line 2973 def errors_module Errors end |
Instance Method Details
#associate_admin_account(params = {}) ⇒ Struct
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*.
[1]: docs.aws.amazon.com/organizations/latest/userguide/fms-administrators.html
496 497 498 499 |
# File 'lib/aws-sdk-fms/client.rb', line 496 def associate_admin_account(params = {}, = {}) req = build_request(:associate_admin_account, params) req.send_request() end |
#associate_third_party_firewall(params = {}) ⇒ Types::AssociateThirdPartyFirewallResponse
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.
527 528 529 530 |
# File 'lib/aws-sdk-fms/client.rb', line 527 def associate_third_party_firewall(params = {}, = {}) req = build_request(:associate_third_party_firewall, params) req.send_request() end |
#batch_associate_resource(params = {}) ⇒ Types::BatchAssociateResourceResponse
Associate resources to a Firewall Manager resource set.
566 567 568 569 |
# File 'lib/aws-sdk-fms/client.rb', line 566 def batch_associate_resource(params = {}, = {}) req = build_request(:batch_associate_resource, params) req.send_request() end |
#batch_disassociate_resource(params = {}) ⇒ Types::BatchDisassociateResourceResponse
Disassociates resources from a Firewall Manager resource set.
605 606 607 608 |
# File 'lib/aws-sdk-fms/client.rb', line 605 def batch_disassociate_resource(params = {}, = {}) req = build_request(:batch_disassociate_resource, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 |
# File 'lib/aws-sdk-fms/client.rb', line 2943 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::FMS') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-fms' context[:gem_version] = '1.86.0' Seahorse::Client::Request.new(handlers, context) end |
#delete_apps_list(params = {}) ⇒ Struct
Permanently deletes an Firewall Manager applications list.
629 630 631 632 |
# File 'lib/aws-sdk-fms/client.rb', line 629 def delete_apps_list(params = {}, = {}) req = build_request(:delete_apps_list, params) req.send_request() end |
#delete_notification_channel(params = {}) ⇒ Struct
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.
644 645 646 647 |
# File 'lib/aws-sdk-fms/client.rb', line 644 def delete_notification_channel(params = {}, = {}) req = build_request(:delete_notification_channel, params) req.send_request() end |
#delete_policy(params = {}) ⇒ Struct
Permanently deletes an Firewall Manager policy.
703 704 705 706 |
# File 'lib/aws-sdk-fms/client.rb', line 703 def delete_policy(params = {}, = {}) req = build_request(:delete_policy, params) req.send_request() end |
#delete_protocols_list(params = {}) ⇒ Struct
Permanently deletes an Firewall Manager protocols list.
727 728 729 730 |
# File 'lib/aws-sdk-fms/client.rb', line 727 def delete_protocols_list(params = {}, = {}) req = build_request(:delete_protocols_list, params) req.send_request() end |
#delete_resource_set(params = {}) ⇒ Struct
Deletes the specified ResourceSet.
750 751 752 753 |
# File 'lib/aws-sdk-fms/client.rb', line 750 def delete_resource_set(params = {}, = {}) req = build_request(:delete_resource_set, params) req.send_request() end |
#disassociate_admin_account(params = {}) ⇒ Struct
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.
771 772 773 774 |
# File 'lib/aws-sdk-fms/client.rb', line 771 def disassociate_admin_account(params = {}, = {}) req = build_request(:disassociate_admin_account, params) req.send_request() end |
#disassociate_third_party_firewall(params = {}) ⇒ Types::DisassociateThirdPartyFirewallResponse
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.
802 803 804 805 |
# File 'lib/aws-sdk-fms/client.rb', line 802 def disassociate_third_party_firewall(params = {}, = {}) req = build_request(:disassociate_third_party_firewall, params) req.send_request() end |
#get_admin_account(params = {}) ⇒ Types::GetAdminAccountResponse
Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.
824 825 826 827 |
# File 'lib/aws-sdk-fms/client.rb', line 824 def get_admin_account(params = {}, = {}) req = build_request(:get_admin_account, params) req.send_request() end |
#get_admin_scope(params = {}) ⇒ Types::GetAdminScopeResponse
Returns information about the specified account’s administrative scope. The administrative scope defines the resources that an Firewall Manager administrator can manage.
869 870 871 872 |
# File 'lib/aws-sdk-fms/client.rb', line 869 def get_admin_scope(params = {}, = {}) req = build_request(:get_admin_scope, params) req.send_request() end |
#get_apps_list(params = {}) ⇒ Types::GetAppsListResponse
Returns information about the specified Firewall Manager applications list.
919 920 921 922 |
# File 'lib/aws-sdk-fms/client.rb', line 919 def get_apps_list(params = {}, = {}) req = build_request(:get_apps_list, params) req.send_request() end |
#get_compliance_detail(params = {}) ⇒ Types::GetComplianceDetailResponse
Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy.
The reasons for resources being considered compliant depend on the Firewall Manager policy type.
970 971 972 973 |
# File 'lib/aws-sdk-fms/client.rb', line 970 def get_compliance_detail(params = {}, = {}) req = build_request(:get_compliance_detail, params) req.send_request() end |
#get_notification_channel(params = {}) ⇒ Types::GetNotificationChannelResponse
Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
992 993 994 995 |
# File 'lib/aws-sdk-fms/client.rb', line 992 def get_notification_channel(params = {}, = {}) req = build_request(:get_notification_channel, params) req.send_request() end |
#get_policy(params = {}) ⇒ Types::GetPolicyResponse
Returns information about the specified Firewall Manager policy.
1069 1070 1071 1072 |
# File 'lib/aws-sdk-fms/client.rb', line 1069 def get_policy(params = {}, = {}) req = build_request(:get_policy, params) req.send_request() end |
#get_protection_status(params = {}) ⇒ Types::GetProtectionStatusResponse
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.
1141 1142 1143 1144 |
# File 'lib/aws-sdk-fms/client.rb', line 1141 def get_protection_status(params = {}, = {}) req = build_request(:get_protection_status, params) req.send_request() end |
#get_protocols_list(params = {}) ⇒ Types::GetProtocolsListResponse
Returns information about the specified Firewall Manager protocols list.
1187 1188 1189 1190 |
# File 'lib/aws-sdk-fms/client.rb', line 1187 def get_protocols_list(params = {}, = {}) req = build_request(:get_protocols_list, params) req.send_request() end |
#get_resource_set(params = {}) ⇒ Types::GetResourceSetResponse
Gets information about a specific resource set.
1225 1226 1227 1228 |
# File 'lib/aws-sdk-fms/client.rb', line 1225 def get_resource_set(params = {}, = {}) req = build_request(:get_resource_set, params) req.send_request() end |
#get_third_party_firewall_association_status(params = {}) ⇒ Types::GetThirdPartyFirewallAssociationStatusResponse
The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
1256 1257 1258 1259 |
# File 'lib/aws-sdk-fms/client.rb', line 1256 def get_third_party_firewall_association_status(params = {}, = {}) req = build_request(:get_third_party_firewall_association_status, params) req.send_request() end |
#get_violation_details(params = {}) ⇒ Types::GetViolationDetailsResponse
Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
1727 1728 1729 1730 |
# File 'lib/aws-sdk-fms/client.rb', line 1727 def get_violation_details(params = {}, = {}) req = build_request(:get_violation_details, params) req.send_request() end |
#list_admin_accounts_for_organization(params = {}) ⇒ Types::ListAdminAccountsForOrganizationResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1778 1779 1780 1781 |
# File 'lib/aws-sdk-fms/client.rb', line 1778 def list_admin_accounts_for_organization(params = {}, = {}) req = build_request(:list_admin_accounts_for_organization, params) req.send_request() end |
#list_admins_managing_account(params = {}) ⇒ Types::ListAdminsManagingAccountResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1826 1827 1828 1829 |
# File 'lib/aws-sdk-fms/client.rb', line 1826 def list_admins_managing_account(params = {}, = {}) req = build_request(:list_admins_managing_account, params) req.send_request() end |
#list_apps_lists(params = {}) ⇒ Types::ListAppsListsResponse
Returns an array of ‘AppsListDataSummary` objects.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1884 1885 1886 1887 |
# File 'lib/aws-sdk-fms/client.rb', line 1884 def list_apps_lists(params = {}, = {}) req = build_request(:list_apps_lists, params) req.send_request() end |
#list_compliance_status(params = {}) ⇒ Types::ListComplianceStatusResponse
Returns an array of ‘PolicyComplianceStatus` objects. Use `PolicyComplianceStatus` to get a summary of which member accounts are protected by the specified policy.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1948 1949 1950 1951 |
# File 'lib/aws-sdk-fms/client.rb', line 1948 def list_compliance_status(params = {}, = {}) req = build_request(:list_compliance_status, params) req.send_request() end |
#list_discovered_resources(params = {}) ⇒ Types::ListDiscoveredResourcesResponse
Returns an array of resources in the organization’s accounts that are available to be associated with a resource set.
2004 2005 2006 2007 |
# File 'lib/aws-sdk-fms/client.rb', line 2004 def list_discovered_resources(params = {}, = {}) req = build_request(:list_discovered_resources, params) req.send_request() end |
#list_member_accounts(params = {}) ⇒ Types::ListMemberAccountsResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2055 2056 2057 2058 |
# File 'lib/aws-sdk-fms/client.rb', line 2055 def list_member_accounts(params = {}, = {}) req = build_request(:list_member_accounts, params) req.send_request() end |
#list_policies(params = {}) ⇒ Types::ListPoliciesResponse
Returns an array of ‘PolicySummary` objects.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2109 2110 2111 2112 |
# File 'lib/aws-sdk-fms/client.rb', line 2109 def list_policies(params = {}, = {}) req = build_request(:list_policies, params) req.send_request() end |
#list_protocols_lists(params = {}) ⇒ Types::ListProtocolsListsResponse
Returns an array of ‘ProtocolsListDataSummary` objects.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2165 2166 2167 2168 |
# File 'lib/aws-sdk-fms/client.rb', line 2165 def list_protocols_lists(params = {}, = {}) req = build_request(:list_protocols_lists, params) req.send_request() end |
#list_resource_set_resources(params = {}) ⇒ Types::ListResourceSetResourcesResponse
Returns an array of resources that are currently associated to a resource set.
2214 2215 2216 2217 |
# File 'lib/aws-sdk-fms/client.rb', line 2214 def list_resource_set_resources(params = {}, = {}) req = build_request(:list_resource_set_resources, params) req.send_request() end |
#list_resource_sets(params = {}) ⇒ Types::ListResourceSetsResponse
Returns an array of ‘ResourceSetSummary` objects.
2260 2261 2262 2263 |
# File 'lib/aws-sdk-fms/client.rb', line 2260 def list_resource_sets(params = {}, = {}) req = build_request(:list_resource_sets, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves the list of tags for the specified Amazon Web Services resource.
2293 2294 2295 2296 |
# File 'lib/aws-sdk-fms/client.rb', line 2293 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_third_party_firewall_firewall_policies(params = {}) ⇒ Types::ListThirdPartyFirewallFirewallPoliciesResponse
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator’s account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2350 2351 2352 2353 |
# File 'lib/aws-sdk-fms/client.rb', line 2350 def list_third_party_firewall_firewall_policies(params = {}, = {}) req = build_request(:list_third_party_firewall_firewall_policies, params) req.send_request() end |
#put_admin_account(params = {}) ⇒ Struct
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].
[1]: docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts.html
2421 2422 2423 2424 |
# File 'lib/aws-sdk-fms/client.rb', line 2421 def put_admin_account(params = {}, = {}) req = build_request(:put_admin_account, params) req.send_request() end |
#put_apps_list(params = {}) ⇒ Types::PutAppsListResponse
Creates an Firewall Manager applications list.
2495 2496 2497 2498 |
# File 'lib/aws-sdk-fms/client.rb', line 2495 def put_apps_list(params = {}, = {}) req = build_request(:put_apps_list, params) req.send_request() end |
#put_notification_channel(params = {}) ⇒ Struct
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*.
2537 2538 2539 2540 |
# File 'lib/aws-sdk-fms/client.rb', line 2537 def put_notification_channel(params = {}, = {}) req = build_request(:put_notification_channel, params) req.send_request() end |
#put_policy(params = {}) ⇒ Types::PutPolicyResponse
Creates an Firewall Manager policy.
A Firewall Manager policy is specific to the individual policy type. If you want to enforce multiple policy types across accounts, you can create multiple policies. You can create more than one policy for each type.
If you add a new account to an organization that you created with Organizations, Firewall Manager automatically applies the policy to the resources in that account that are within scope of the policy.
Firewall Manager provides the following types of policies:
-
**WAF policy** - This policy applies WAF web ACL protections to specified accounts and resources.
-
**Shield Advanced policy** - This policy applies Shield Advanced protection to specified accounts and resources.
-
**Security Groups policy** - This type of policy gives you control over security groups that are in use throughout your organization in Organizations and lets you enforce a baseline set of rules across your organization.
-
**Network ACL policy** - This type of policy gives you control over the network ACLs that are in use throughout your organization in Organizations and lets you enforce a baseline set of first and last network ACL rules across your organization.
-
**Network Firewall policy** - This policy applies Network Firewall protection to your organization’s VPCs.
-
**DNS Firewall policy** - This policy applies Amazon Route 53 Resolver DNS Firewall protections to your organization’s VPCs.
-
**Third-party firewall policy** - This policy applies third-party firewall protections. Third-party firewalls are available by subscription through the Amazon Web Services Marketplace console at [Amazon Web Services Marketplace].
-
**Palo Alto Networks Cloud NGFW policy** - This policy applies Palo Alto Networks Cloud Next Generation Firewall (NGFW) protections and Palo Alto Networks Cloud NGFW rulestacks to your organization’s VPCs.
-
**Fortigate CNF policy** - This policy applies Fortigate Cloud Native Firewall (CNF) protections. Fortigate CNF is a cloud-centered solution that blocks Zero-Day threats and secures cloud infrastructures with industry-leading advanced threat prevention, smart web application firewalls (WAF), and API protection.
-
2753 2754 2755 2756 |
# File 'lib/aws-sdk-fms/client.rb', line 2753 def put_policy(params = {}, = {}) req = build_request(:put_policy, params) req.send_request() end |
#put_protocols_list(params = {}) ⇒ Types::PutProtocolsListResponse
Creates an Firewall Manager protocols list.
2811 2812 2813 2814 |
# File 'lib/aws-sdk-fms/client.rb', line 2811 def put_protocols_list(params = {}, = {}) req = build_request(:put_protocols_list, params) req.send_request() end |
#put_resource_set(params = {}) ⇒ Types::PutResourceSetResponse
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.
2873 2874 2875 2876 |
# File 'lib/aws-sdk-fms/client.rb', line 2873 def put_resource_set(params = {}, = {}) req = build_request(:put_resource_set, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds one or more tags to an Amazon Web Services resource.
2906 2907 2908 2909 |
# File 'lib/aws-sdk-fms/client.rb', line 2906 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from an Amazon Web Services resource.
2934 2935 2936 2937 |
# File 'lib/aws-sdk-fms/client.rb', line 2934 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2963 2964 2965 |
# File 'lib/aws-sdk-fms/client.rb', line 2963 def waiter_names [] end |