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
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#associate_admin_account(params = {}) ⇒ Struct
Sets the AWS Firewall Manager administrator account.
-
#delete_notification_channel(params = {}) ⇒ Struct
Deletes an AWS Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
-
#delete_policy(params = {}) ⇒ Struct
Permanently deletes an AWS Firewall Manager policy.
-
#disassociate_admin_account(params = {}) ⇒ Struct
Disassociates the account that has been set as the AWS Firewall Manager administrator account.
-
#get_admin_account(params = {}) ⇒ Types::GetAdminAccountResponse
Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.
-
#get_compliance_detail(params = {}) ⇒ Types::GetComplianceDetailResponse
Returns detailed compliance information about the specified member account.
-
#get_notification_channel(params = {}) ⇒ Types::GetNotificationChannelResponse
Returns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
-
#get_policy(params = {}) ⇒ Types::GetPolicyResponse
Returns information about the specified AWS Firewall Manager policy.
-
#list_compliance_status(params = {}) ⇒ Types::ListComplianceStatusResponse
Returns an array of ‘PolicyComplianceStatus` objects in the response.
-
#list_policies(params = {}) ⇒ Types::ListPoliciesResponse
Returns an array of ‘PolicySummary` objects in the response.
-
#put_notification_channel(params = {}) ⇒ Struct
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.
-
#put_policy(params = {}) ⇒ Types::PutPolicyResponse
Creates an AWS Firewall Manager policy.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(*args) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(*args) ⇒ Client
Returns a new instance of Client.
152 153 154 |
# File 'lib/aws-sdk-fms/client.rb', line 152 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.
601 602 603 |
# File 'lib/aws-sdk-fms/client.rb', line 601 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.
604 605 606 |
# File 'lib/aws-sdk-fms/client.rb', line 604 def errors_module Errors end |
Instance Method Details
#associate_admin_account(params = {}) ⇒ Struct
Sets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with a master account in AWS Organizations or associated with a member account that has the appropriate permissions. If the account ID that you submit is not an AWS Organizations master account, AWS Firewall Manager will set the appropriate permissions for the given member account.
The account that you associate with AWS Firewall Manager is called the AWS Firewall manager administrator account.
191 192 193 194 |
# File 'lib/aws-sdk-fms/client.rb', line 191 def associate_admin_account(params = {}, = {}) req = build_request(:associate_admin_account, 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.
579 580 581 582 583 584 585 586 587 588 589 590 |
# File 'lib/aws-sdk-fms/client.rb', line 579 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-fms' context[:gem_version] = '1.0.0' Seahorse::Client::Request.new(handlers, context) end |
#delete_notification_channel(params = {}) ⇒ Struct
Deletes an AWS Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
206 207 208 209 |
# File 'lib/aws-sdk-fms/client.rb', line 206 def delete_notification_channel(params = {}, = {}) req = build_request(:delete_notification_channel, params) req.send_request() end |
#delete_policy(params = {}) ⇒ Struct
Permanently deletes an AWS Firewall Manager policy.
229 230 231 232 |
# File 'lib/aws-sdk-fms/client.rb', line 229 def delete_policy(params = {}, = {}) req = build_request(:delete_policy, params) req.send_request() end |
#disassociate_admin_account(params = {}) ⇒ Struct
Disassociates the account that has been set as the AWS Firewall Manager administrator account. You will need to submit an ‘AssociateAdminAccount` request to set a new account as the AWS Firewall administrator.
245 246 247 248 |
# File 'lib/aws-sdk-fms/client.rb', line 245 def disassociate_admin_account(params = {}, = {}) req = build_request(:disassociate_admin_account, params) req.send_request() end |
#get_admin_account(params = {}) ⇒ Types::GetAdminAccountResponse
Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.
265 266 267 268 |
# File 'lib/aws-sdk-fms/client.rb', line 265 def get_admin_account(params = {}, = {}) req = build_request(:get_admin_account, 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. Resources are considered non-compliant if the specified policy has not been applied to them.
310 311 312 313 |
# File 'lib/aws-sdk-fms/client.rb', line 310 def get_compliance_detail(params = {}, = {}) req = build_request(:get_compliance_detail, params) req.send_request() end |
#get_notification_channel(params = {}) ⇒ Types::GetNotificationChannelResponse
Returns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.
332 333 334 335 |
# File 'lib/aws-sdk-fms/client.rb', line 332 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 AWS Firewall Manager policy.
373 374 375 376 |
# File 'lib/aws-sdk-fms/client.rb', line 373 def get_policy(params = {}, = {}) req = build_request(:get_policy, params) req.send_request() end |
#list_compliance_status(params = {}) ⇒ Types::ListComplianceStatusResponse
Returns an array of ‘PolicyComplianceStatus` objects in the response. Use `PolicyComplianceStatus` to get a summary of which member accounts are protected by the specified policy.
434 435 436 437 |
# File 'lib/aws-sdk-fms/client.rb', line 434 def list_compliance_status(params = {}, = {}) req = build_request(:list_compliance_status, params) req.send_request() end |
#list_policies(params = {}) ⇒ Types::ListPoliciesResponse
Returns an array of ‘PolicySummary` objects in the response.
484 485 486 487 |
# File 'lib/aws-sdk-fms/client.rb', line 484 def list_policies(params = {}, = {}) req = build_request(:list_policies, params) req.send_request() end |
#put_notification_channel(params = {}) ⇒ Struct
Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.
513 514 515 516 |
# File 'lib/aws-sdk-fms/client.rb', line 513 def put_notification_channel(params = {}, = {}) req = build_request(:put_notification_channel, params) req.send_request() end |
#put_policy(params = {}) ⇒ Types::PutPolicyResponse
Creates an AWS Firewall Manager policy.
570 571 572 573 |
# File 'lib/aws-sdk-fms/client.rb', line 570 def put_policy(params = {}, = {}) req = build_request(:put_policy, 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.
594 595 596 |
# File 'lib/aws-sdk-fms/client.rb', line 594 def waiter_names [] end |