Class: Aws::Macie::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Macie::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb
Overview
An API client for Macie. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::Macie::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#associate_member_account(params = {}) ⇒ Struct
(Discontinued) Associates a specified Amazon Web Services account with Amazon Macie Classic as a member account.
-
#associate_s3_resources(params = {}) ⇒ Types::AssociateS3ResourcesResult
(Discontinued) Associates specified S3 resources with Amazon Macie Classic for monitoring and data classification.
-
#disassociate_member_account(params = {}) ⇒ Struct
(Discontinued) Removes the specified member account from Amazon Macie Classic.
-
#disassociate_s3_resources(params = {}) ⇒ Types::DisassociateS3ResourcesResult
(Discontinued) Removes specified S3 resources from being monitored by Amazon Macie Classic.
-
#list_member_accounts(params = {}) ⇒ Types::ListMemberAccountsResult
(Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator account.
-
#list_s3_resources(params = {}) ⇒ Types::ListS3ResourcesResult
(Discontinued) Lists all the S3 resources associated with Amazon Macie Classic.
-
#update_s3_resources(params = {}) ⇒ Types::UpdateS3ResourcesResult
(Discontinued) Updates the classification types for the specified S3 resources.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
358 359 360 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 358 def initialize(*args) super end |
Instance Method Details
#associate_member_account(params = {}) ⇒ Struct
(Discontinued) Associates a specified Amazon Web Services account with Amazon Macie Classic as a member account.
383 384 385 386 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 383 def associate_member_account(params = {}, = {}) req = build_request(:associate_member_account, params) req.send_request() end |
#associate_s3_resources(params = {}) ⇒ Types::AssociateS3ResourcesResult
(Discontinued) Associates specified S3 resources with Amazon Macie
Classic for monitoring and data classification. If memberAccountId
isn't specified, the action associates specified S3 resources with
Macie Classic for the current Macie Classic administrator account. If
memberAccountId
is specified, the action associates specified S3
resources with Macie Classic for the specified member account.
435 436 437 438 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 435 def associate_s3_resources(params = {}, = {}) req = build_request(:associate_s3_resources, params) req.send_request() end |
#disassociate_member_account(params = {}) ⇒ Struct
(Discontinued) Removes the specified member account from Amazon Macie Classic.
459 460 461 462 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 459 def disassociate_member_account(params = {}, = {}) req = build_request(:disassociate_member_account, params) req.send_request() end |
#disassociate_s3_resources(params = {}) ⇒ Types::DisassociateS3ResourcesResult
(Discontinued) Removes specified S3 resources from being monitored by
Amazon Macie Classic. If memberAccountId
isn't specified, the
action removes specified S3 resources from Macie Classic for the
current Macie Classic administrator account. If memberAccountId
is
specified, the action removes specified S3 resources from Macie
Classic for the specified member account.
507 508 509 510 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 507 def disassociate_s3_resources(params = {}, = {}) req = build_request(:disassociate_s3_resources, params) req.send_request() end |
#list_member_accounts(params = {}) ⇒ Types::ListMemberAccountsResult
(Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
550 551 552 553 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 550 def list_member_accounts(params = {}, = {}) req = build_request(:list_member_accounts, params) req.send_request() end |
#list_s3_resources(params = {}) ⇒ Types::ListS3ResourcesResult
(Discontinued) Lists all the S3 resources associated with Amazon Macie
Classic. If memberAccountId
isn't specified, the action lists the
S3 resources associated with Macie Classic for the current Macie
Classic administrator account. If memberAccountId
is specified, the
action lists the S3 resources associated with Macie Classic for the
specified member account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
605 606 607 608 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 605 def list_s3_resources(params = {}, = {}) req = build_request(:list_s3_resources, params) req.send_request() end |
#update_s3_resources(params = {}) ⇒ Types::UpdateS3ResourcesResult
(Discontinued) Updates the classification types for the specified S3
resources. If memberAccountId
isn't specified, the action updates
the classification types of the S3 resources associated with Amazon
Macie Classic for the current Macie Classic administrator account. If
memberAccountId
is specified, the action updates the classification
types of the S3 resources associated with Macie Classic for the
specified member account.
659 660 661 662 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 659 def update_s3_resources(params = {}, = {}) req = build_request(:update_s3_resources, params) req.send_request() end |