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.
375 376 377 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 375 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.
400 401 402 403 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 400 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.
452 453 454 455 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 452 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.
476 477 478 479 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 476 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.
524 525 526 527 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 524 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.
567 568 569 570 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 567 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.
622 623 624 625 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 622 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.
676 677 678 679 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 676 def update_s3_resources(params = {}, = {}) req = build_request(:update_s3_resources, params) req.send_request() end |