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.
395 396 397 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 395 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.
420 421 422 423 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 420 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.
472 473 474 475 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 472 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.
496 497 498 499 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 496 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.
544 545 546 547 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 544 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.
587 588 589 590 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 587 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.
642 643 644 645 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 642 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.
696 697 698 699 |
# File 'gems/aws-sdk-macie/lib/aws-sdk-macie/client.rb', line 696 def update_s3_resources(params = {}, = {}) req = build_request(:update_s3_resources, params) req.send_request() end |