Class: Aws::Macie2::Client
- Inherits:
- 
      Seahorse::Client::Base
      
        - Object
- Seahorse::Client::Base
- Aws::Macie2::Client
 
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb
Overview
An API client for Macie2.  To construct a client, you need to configure a :region and :credentials.
client = Aws::Macie2::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
- 
  
    
      #accept_invitation(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Accepts an Amazon Macie membership invitation that was received from a specific account. 
- 
  
    
      #batch_get_custom_data_identifiers(params = {})  ⇒ Types::BatchGetCustomDataIdentifiersResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves information about one or more custom data identifiers. 
- 
  
    
      #batch_update_automated_discovery_accounts(params = {})  ⇒ Types::BatchUpdateAutomatedDiscoveryAccountsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Changes the status of automated sensitive data discovery for one or more accounts. 
- 
  
    
      #create_allow_list(params = {})  ⇒ Types::CreateAllowListResponse 
    
    
  
  
  
  
  
  
  
  
  
    Creates and defines the settings for an allow list. 
- 
  
    
      #create_classification_job(params = {})  ⇒ Types::CreateClassificationJobResponse 
    
    
  
  
  
  
  
  
  
  
  
    Creates and defines the settings for a classification job. 
- 
  
    
      #create_custom_data_identifier(params = {})  ⇒ Types::CreateCustomDataIdentifierResponse 
    
    
  
  
  
  
  
  
  
  
  
    Creates and defines the criteria and other settings for a custom data identifier. 
- 
  
    
      #create_findings_filter(params = {})  ⇒ Types::CreateFindingsFilterResponse 
    
    
  
  
  
  
  
  
  
  
  
    Creates and defines the criteria and other settings for a findings filter. 
- 
  
    
      #create_invitations(params = {})  ⇒ Types::CreateInvitationsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Sends an Amazon Macie membership invitation to one or more accounts. 
- 
  
    
      #create_member(params = {})  ⇒ Types::CreateMemberResponse 
    
    
  
  
  
  
  
  
  
  
  
    Associates an account with an Amazon Macie administrator account. 
- 
  
    
      #create_sample_findings(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Creates sample findings. 
- 
  
    
      #decline_invitations(params = {})  ⇒ Types::DeclineInvitationsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Declines Amazon Macie membership invitations that were received from specific accounts. 
- 
  
    
      #delete_allow_list(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Deletes an allow list. 
- 
  
    
      #delete_custom_data_identifier(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Soft deletes a custom data identifier. 
- 
  
    
      #delete_findings_filter(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Deletes a findings filter. 
- 
  
    
      #delete_invitations(params = {})  ⇒ Types::DeleteInvitationsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Deletes Amazon Macie membership invitations that were received from specific accounts. 
- 
  
    
      #delete_member(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Deletes the association between an Amazon Macie administrator account and an account. 
- 
  
    
      #describe_buckets(params = {})  ⇒ Types::DescribeBucketsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account. 
- 
  
    
      #describe_classification_job(params = {})  ⇒ Types::DescribeClassificationJobResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the status and settings for a classification job. 
- 
  
    
      #describe_organization_configuration(params = {})  ⇒ Types::DescribeOrganizationConfigurationResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the Amazon Macie configuration settings for an organization in Organizations. 
- 
  
    
      #disable_macie(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Disables Amazon Macie and deletes all settings and resources for a Macie account. 
- 
  
    
      #disable_organization_admin_account(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations. 
- 
  
    
      #disassociate_from_administrator_account(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Disassociates a member account from its Amazon Macie administrator account. 
- 
  
    
      #disassociate_from_master_account(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    (Deprecated) Disassociates a member account from its Amazon Macie administrator account. 
- 
  
    
      #disassociate_member(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Disassociates an Amazon Macie administrator account from a member account. 
- 
  
    
      #enable_macie(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Enables Amazon Macie and specifies the configuration settings for a Macie account. 
- 
  
    
      #enable_organization_admin_account(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations. 
- 
  
    
      #get_administrator_account(params = {})  ⇒ Types::GetAdministratorAccountResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves information about the Amazon Macie administrator account for an account. 
- 
  
    
      #get_allow_list(params = {})  ⇒ Types::GetAllowListResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the settings and status of an allow list. 
- 
  
    
      #get_automated_discovery_configuration(params = {})  ⇒ Types::GetAutomatedDiscoveryConfigurationResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the configuration settings and status of automated sensitive data discovery for an organization or standalone account. 
- 
  
    
      #get_bucket_statistics(params = {})  ⇒ Types::GetBucketStatisticsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account. 
- 
  
    
      #get_classification_export_configuration(params = {})  ⇒ Types::GetClassificationExportConfigurationResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the configuration settings for storing data classification results. 
- 
  
    
      #get_classification_scope(params = {})  ⇒ Types::GetClassificationScopeResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the classification scope settings for an account. 
- 
  
    
      #get_custom_data_identifier(params = {})  ⇒ Types::GetCustomDataIdentifierResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the criteria and other settings for a custom data identifier. 
- 
  
    
      #get_finding_statistics(params = {})  ⇒ Types::GetFindingStatisticsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves (queries) aggregated statistical data about findings. 
- 
  
    
      #get_findings(params = {})  ⇒ Types::GetFindingsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the details of one or more findings. 
- 
  
    
      #get_findings_filter(params = {})  ⇒ Types::GetFindingsFilterResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the criteria and other settings for a findings filter. 
- 
  
    
      #get_findings_publication_configuration(params = {})  ⇒ Types::GetFindingsPublicationConfigurationResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the configuration settings for publishing findings to Security Hub. 
- 
  
    
      #get_invitations_count(params = {})  ⇒ Types::GetInvitationsCountResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the count of Amazon Macie membership invitations that were received by an account. 
- 
  
    
      #get_macie_session(params = {})  ⇒ Types::GetMacieSessionResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the status and configuration settings for an Amazon Macie account. 
- 
  
    
      #get_master_account(params = {})  ⇒ Types::GetMasterAccountResponse 
    
    
  
  
  
  
  
  
  
  
  
    (Deprecated) Retrieves information about the Amazon Macie administrator account for an account. 
- 
  
    
      #get_member(params = {})  ⇒ Types::GetMemberResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves information about an account that's associated with an Amazon Macie administrator account. 
- 
  
    
      #get_resource_profile(params = {})  ⇒ Types::GetResourceProfileResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket. 
- 
  
    
      #get_reveal_configuration(params = {})  ⇒ Types::GetRevealConfigurationResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings. 
- 
  
    
      #get_sensitive_data_occurrences(params = {})  ⇒ Types::GetSensitiveDataOccurrencesResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves occurrences of sensitive data reported by a finding. 
- 
  
    
      #get_sensitive_data_occurrences_availability(params = {})  ⇒ Types::GetSensitiveDataOccurrencesAvailabilityResponse 
    
    
  
  
  
  
  
  
  
  
  
    Checks whether occurrences of sensitive data can be retrieved for a finding. 
- 
  
    
      #get_sensitivity_inspection_template(params = {})  ⇒ Types::GetSensitivityInspectionTemplateResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the settings for the sensitivity inspection template for an account. 
- 
  
    
      #get_usage_statistics(params = {})  ⇒ Types::GetUsageStatisticsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves (queries) quotas and aggregated usage data for one or more accounts. 
- 
  
    
      #get_usage_totals(params = {})  ⇒ Types::GetUsageTotalsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves (queries) aggregated usage data for an account. 
- 
  
    
      #list_allow_lists(params = {})  ⇒ Types::ListAllowListsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves a subset of information about all the allow lists for an account. 
- 
  
    
      #list_automated_discovery_accounts(params = {})  ⇒ Types::ListAutomatedDiscoveryAccountsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the status of automated sensitive data discovery for one or more accounts. 
- 
  
    
      #list_classification_jobs(params = {})  ⇒ Types::ListClassificationJobsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves a subset of information about one or more classification jobs. 
- 
  
    
      #list_classification_scopes(params = {})  ⇒ Types::ListClassificationScopesResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves a subset of information about the classification scope for an account. 
- 
  
    
      #list_custom_data_identifiers(params = {})  ⇒ Types::ListCustomDataIdentifiersResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves a subset of information about the custom data identifiers for an account. 
- 
  
    
      #list_findings(params = {})  ⇒ Types::ListFindingsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves a subset of information about one or more findings. 
- 
  
    
      #list_findings_filters(params = {})  ⇒ Types::ListFindingsFiltersResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves a subset of information about all the findings filters for an account. 
- 
  
    
      #list_invitations(params = {})  ⇒ Types::ListInvitationsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves information about Amazon Macie membership invitations that were received by an account. 
- 
  
    
      #list_managed_data_identifiers(params = {})  ⇒ Types::ListManagedDataIdentifiersResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves information about all the managed data identifiers that Amazon Macie currently provides. 
- 
  
    
      #list_members(params = {})  ⇒ Types::ListMembersResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves information about the accounts that are associated with an Amazon Macie administrator account. 
- 
  
    
      #list_organization_admin_accounts(params = {})  ⇒ Types::ListOrganizationAdminAccountsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations. 
- 
  
    
      #list_resource_profile_artifacts(params = {})  ⇒ Types::ListResourceProfileArtifactsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves information about objects that Amazon Macie selected from an S3 bucket for automated sensitive data discovery. 
- 
  
    
      #list_resource_profile_detections(params = {})  ⇒ Types::ListResourceProfileDetectionsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket. 
- 
  
    
      #list_sensitivity_inspection_templates(params = {})  ⇒ Types::ListSensitivityInspectionTemplatesResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves a subset of information about the sensitivity inspection template for an account. 
- 
  
    
      #list_tags_for_resource(params = {})  ⇒ Types::ListTagsForResourceResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the tags (keys and values) that are associated with an Amazon Macie resource. 
- 
  
    
      #put_classification_export_configuration(params = {})  ⇒ Types::PutClassificationExportConfigurationResponse 
    
    
  
  
  
  
  
  
  
  
  
    Adds or updates the configuration settings for storing data classification results. 
- 
  
    
      #put_findings_publication_configuration(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Updates the configuration settings for publishing findings to Security Hub. 
- 
  
    
      #search_resources(params = {})  ⇒ Types::SearchResourcesResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes for an account. 
- 
  
    
      #tag_resource(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource. 
- 
  
    
      #test_custom_data_identifier(params = {})  ⇒ Types::TestCustomDataIdentifierResponse 
    
    
  
  
  
  
  
  
  
  
  
    Tests criteria for a custom data identifier. 
- 
  
    
      #untag_resource(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Removes one or more tags (keys and values) from an Amazon Macie resource. 
- 
  
    
      #update_allow_list(params = {})  ⇒ Types::UpdateAllowListResponse 
    
    
  
  
  
  
  
  
  
  
  
    Updates the settings for an allow list. 
- 
  
    
      #update_automated_discovery_configuration(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone account. 
- 
  
    
      #update_classification_job(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Changes the status of a classification job. 
- 
  
    
      #update_classification_scope(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Updates the classification scope settings for an account. 
- 
  
    
      #update_findings_filter(params = {})  ⇒ Types::UpdateFindingsFilterResponse 
    
    
  
  
  
  
  
  
  
  
  
    Updates the criteria and other settings for a findings filter. 
- 
  
    
      #update_macie_session(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account. 
- 
  
    
      #update_member_session(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account. 
- 
  
    
      #update_organization_configuration(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Updates the Amazon Macie configuration settings for an organization in Organizations. 
- 
  
    
      #update_resource_profile(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Updates the sensitivity score for an S3 bucket. 
- 
  
    
      #update_resource_profile_detections(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Updates the sensitivity scoring settings for an S3 bucket. 
- 
  
    
      #update_reveal_configuration(params = {})  ⇒ Types::UpdateRevealConfigurationResponse 
    
    
  
  
  
  
  
  
  
  
  
    Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings. 
- 
  
    
      #update_sensitivity_inspection_template(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Updates the settings for the sensitivity inspection template for an account. 
Instance Method Summary collapse
- 
  
    
      #initialize(options)  ⇒ Client 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Client. 
- 
  
    
      #wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    Polls an API operation until a resource enters a desired state. 
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.
| 473 474 475 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 473 def initialize(*args) super end | 
Instance Method Details
#accept_invitation(params = {}) ⇒ Struct
Accepts an Amazon Macie membership invitation that was received from a specific account.
| 502 503 504 505 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 502 def accept_invitation(params = {}, = {}) req = build_request(:accept_invitation, params) req.send_request() end | 
#batch_get_custom_data_identifiers(params = {}) ⇒ Types::BatchGetCustomDataIdentifiersResponse
Retrieves information about one or more custom data identifiers.
| 538 539 540 541 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 538 def batch_get_custom_data_identifiers(params = {}, = {}) req = build_request(:batch_get_custom_data_identifiers, params) req.send_request() end | 
#batch_update_automated_discovery_accounts(params = {}) ⇒ Types::BatchUpdateAutomatedDiscoveryAccountsResponse
Changes the status of automated sensitive data discovery for one or more accounts.
| 573 574 575 576 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 573 def batch_update_automated_discovery_accounts(params = {}, = {}) req = build_request(:batch_update_automated_discovery_accounts, params) req.send_request() end | 
#create_allow_list(params = {}) ⇒ Types::CreateAllowListResponse
Creates and defines the settings for an allow list.
| 629 630 631 632 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 629 def create_allow_list(params = {}, = {}) req = build_request(:create_allow_list, params) req.send_request() end | 
#create_classification_job(params = {}) ⇒ Types::CreateClassificationJobResponse
Creates and defines the settings for a classification job.
| 815 816 817 818 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 815 def create_classification_job(params = {}, = {}) req = build_request(:create_classification_job, params) req.send_request() end | 
#create_custom_data_identifier(params = {}) ⇒ Types::CreateCustomDataIdentifierResponse
Creates and defines the criteria and other settings for a custom data identifier.
| 892 893 894 895 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 892 def create_custom_data_identifier(params = {}, = {}) req = build_request(:create_custom_data_identifier, params) req.send_request() end | 
#create_findings_filter(params = {}) ⇒ Types::CreateFindingsFilterResponse
Creates and defines the criteria and other settings for a findings filter.
| 963 964 965 966 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 963 def create_findings_filter(params = {}, = {}) req = build_request(:create_findings_filter, params) req.send_request() end | 
#create_invitations(params = {}) ⇒ Types::CreateInvitationsResponse
Sends an Amazon Macie membership invitation to one or more accounts.
| 999 1000 1001 1002 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 999 def create_invitations(params = {}, = {}) req = build_request(:create_invitations, params) req.send_request() end | 
#create_member(params = {}) ⇒ Types::CreateMemberResponse
Associates an account with an Amazon Macie administrator account.
| 1038 1039 1040 1041 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1038 def create_member(params = {}, = {}) req = build_request(:create_member, params) req.send_request() end | 
#create_sample_findings(params = {}) ⇒ Struct
Creates sample findings.
| 1059 1060 1061 1062 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1059 def create_sample_findings(params = {}, = {}) req = build_request(:create_sample_findings, params) req.send_request() end | 
#decline_invitations(params = {}) ⇒ Types::DeclineInvitationsResponse
Declines Amazon Macie membership invitations that were received from specific accounts.
| 1090 1091 1092 1093 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1090 def decline_invitations(params = {}, = {}) req = build_request(:decline_invitations, params) req.send_request() end | 
#delete_allow_list(params = {}) ⇒ Struct
Deletes an allow list.
| 1114 1115 1116 1117 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1114 def delete_allow_list(params = {}, = {}) req = build_request(:delete_allow_list, params) req.send_request() end | 
#delete_custom_data_identifier(params = {}) ⇒ Struct
Soft deletes a custom data identifier.
| 1135 1136 1137 1138 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1135 def delete_custom_data_identifier(params = {}, = {}) req = build_request(:delete_custom_data_identifier, params) req.send_request() end | 
#delete_findings_filter(params = {}) ⇒ Struct
Deletes a findings filter.
| 1156 1157 1158 1159 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1156 def delete_findings_filter(params = {}, = {}) req = build_request(:delete_findings_filter, params) req.send_request() end | 
#delete_invitations(params = {}) ⇒ Types::DeleteInvitationsResponse
Deletes Amazon Macie membership invitations that were received from specific accounts.
| 1187 1188 1189 1190 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1187 def delete_invitations(params = {}, = {}) req = build_request(:delete_invitations, params) req.send_request() end | 
#delete_member(params = {}) ⇒ Struct
Deletes the association between an Amazon Macie administrator account and an account.
| 1209 1210 1211 1212 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1209 def delete_member(params = {}, = {}) req = build_request(:delete_member, params) req.send_request() end | 
#describe_buckets(params = {}) ⇒ Types::DescribeBucketsResponse
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 1324 1325 1326 1327 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1324 def describe_buckets(params = {}, = {}) req = build_request(:describe_buckets, params) req.send_request() end | 
#describe_classification_job(params = {}) ⇒ Types::DescribeClassificationJobResponse
Retrieves the status and settings for a classification job.
| 1442 1443 1444 1445 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1442 def describe_classification_job(params = {}, = {}) req = build_request(:describe_classification_job, params) req.send_request() end | 
#describe_organization_configuration(params = {}) ⇒ Types::DescribeOrganizationConfigurationResponse
Retrieves the Amazon Macie configuration settings for an organization in Organizations.
| 1464 1465 1466 1467 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1464 def describe_organization_configuration(params = {}, = {}) req = build_request(:describe_organization_configuration, params) req.send_request() end | 
#disable_macie(params = {}) ⇒ Struct
Disables Amazon Macie and deletes all settings and resources for a Macie account.
| 1478 1479 1480 1481 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1478 def disable_macie(params = {}, = {}) req = build_request(:disable_macie, params) req.send_request() end | 
#disable_organization_admin_account(params = {}) ⇒ Struct
Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.
| 1500 1501 1502 1503 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1500 def disable_organization_admin_account(params = {}, = {}) req = build_request(:disable_organization_admin_account, params) req.send_request() end | 
#disassociate_from_administrator_account(params = {}) ⇒ Struct
Disassociates a member account from its Amazon Macie administrator account.
| 1514 1515 1516 1517 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1514 def disassociate_from_administrator_account(params = {}, = {}) req = build_request(:disassociate_from_administrator_account, params) req.send_request() end | 
#disassociate_from_master_account(params = {}) ⇒ Struct
(Deprecated) Disassociates a member account from its Amazon Macie administrator account. This operation has been replaced by the
DisassociateFromAdministratorAccount operation.
| 1531 1532 1533 1534 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1531 def disassociate_from_master_account(params = {}, = {}) req = build_request(:disassociate_from_master_account, params) req.send_request() end | 
#disassociate_member(params = {}) ⇒ Struct
Disassociates an Amazon Macie administrator account from a member account.
| 1553 1554 1555 1556 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1553 def disassociate_member(params = {}, = {}) req = build_request(:disassociate_member, params) req.send_request() end | 
#enable_macie(params = {}) ⇒ Struct
Enables Amazon Macie and specifies the configuration settings for a Macie account.
| 1593 1594 1595 1596 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1593 def enable_macie(params = {}, = {}) req = build_request(:enable_macie, params) req.send_request() end | 
#enable_organization_admin_account(params = {}) ⇒ Struct
Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.
| 1620 1621 1622 1623 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1620 def enable_organization_admin_account(params = {}, = {}) req = build_request(:enable_organization_admin_account, params) req.send_request() end | 
#get_administrator_account(params = {}) ⇒ Types::GetAdministratorAccountResponse
Retrieves information about the Amazon Macie administrator account for an account.
| 1643 1644 1645 1646 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1643 def get_administrator_account(params = {}, = {}) req = build_request(:get_administrator_account, params) req.send_request() end | 
#get_allow_list(params = {}) ⇒ Types::GetAllowListResponse
Retrieves the settings and status of an allow list.
| 1690 1691 1692 1693 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1690 def get_allow_list(params = {}, = {}) req = build_request(:get_allow_list, params) req.send_request() end | 
#get_automated_discovery_configuration(params = {}) ⇒ Types::GetAutomatedDiscoveryConfigurationResponse
Retrieves the configuration settings and status of automated sensitive data discovery for an organization or standalone account.
| 1722 1723 1724 1725 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1722 def get_automated_discovery_configuration(params = {}, = {}) req = build_request(:get_automated_discovery_configuration, params) req.send_request() end | 
#get_bucket_statistics(params = {}) ⇒ Types::GetBucketStatisticsResponse
Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.
| 1806 1807 1808 1809 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1806 def get_bucket_statistics(params = {}, = {}) req = build_request(:get_bucket_statistics, params) req.send_request() end | 
#get_classification_export_configuration(params = {}) ⇒ Types::GetClassificationExportConfigurationResponse
Retrieves the configuration settings for storing data classification results.
| 1828 1829 1830 1831 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1828 def get_classification_export_configuration(params = {}, = {}) req = build_request(:get_classification_export_configuration, params) req.send_request() end | 
#get_classification_scope(params = {}) ⇒ Types::GetClassificationScopeResponse
Retrieves the classification scope settings for an account.
| 1860 1861 1862 1863 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1860 def get_classification_scope(params = {}, = {}) req = build_request(:get_classification_scope, params) req.send_request() end | 
#get_custom_data_identifier(params = {}) ⇒ Types::GetCustomDataIdentifierResponse
Retrieves the criteria and other settings for a custom data identifier.
| 1915 1916 1917 1918 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1915 def get_custom_data_identifier(params = {}, = {}) req = build_request(:get_custom_data_identifier, params) req.send_request() end | 
#get_finding_statistics(params = {}) ⇒ Types::GetFindingStatisticsResponse
Retrieves (queries) aggregated statistical data about findings.
| 1972 1973 1974 1975 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 1972 def get_finding_statistics(params = {}, = {}) req = build_request(:get_finding_statistics, params) req.send_request() end | 
#get_findings(params = {}) ⇒ Types::GetFindingsResponse
Retrieves the details of one or more findings.
| 2178 2179 2180 2181 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2178 def get_findings(params = {}, = {}) req = build_request(:get_findings, params) req.send_request() end | 
#get_findings_filter(params = {}) ⇒ Types::GetFindingsFilterResponse
Retrieves the criteria and other settings for a findings filter.
| 2230 2231 2232 2233 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2230 def get_findings_filter(params = {}, = {}) req = build_request(:get_findings_filter, params) req.send_request() end | 
#get_findings_publication_configuration(params = {}) ⇒ Types::GetFindingsPublicationConfigurationResponse
Retrieves the configuration settings for publishing findings to Security Hub.
| 2251 2252 2253 2254 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2251 def get_findings_publication_configuration(params = {}, = {}) req = build_request(:get_findings_publication_configuration, params) req.send_request() end | 
#get_invitations_count(params = {}) ⇒ Types::GetInvitationsCountResponse
Retrieves the count of Amazon Macie membership invitations that were received by an account.
| 2271 2272 2273 2274 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2271 def get_invitations_count(params = {}, = {}) req = build_request(:get_invitations_count, params) req.send_request() end | 
#get_macie_session(params = {}) ⇒ Types::GetMacieSessionResponse
Retrieves the status and configuration settings for an Amazon Macie account.
| 2299 2300 2301 2302 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2299 def get_macie_session(params = {}, = {}) req = build_request(:get_macie_session, params) req.send_request() end | 
#get_master_account(params = {}) ⇒ Types::GetMasterAccountResponse
(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the
GetAdministratorAccount operation.
| 2325 2326 2327 2328 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2325 def get_master_account(params = {}, = {}) req = build_request(:get_master_account, params) req.send_request() end | 
#get_member(params = {}) ⇒ Types::GetMemberResponse
Retrieves information about an account that's associated with an Amazon Macie administrator account.
| 2370 2371 2372 2373 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2370 def get_member(params = {}, = {}) req = build_request(:get_member, params) req.send_request() end | 
#get_resource_profile(params = {}) ⇒ Types::GetResourceProfileResponse
Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
| 2412 2413 2414 2415 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2412 def get_resource_profile(params = {}, = {}) req = build_request(:get_resource_profile, params) req.send_request() end | 
#get_reveal_configuration(params = {}) ⇒ Types::GetRevealConfigurationResponse
Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
| 2437 2438 2439 2440 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2437 def get_reveal_configuration(params = {}, = {}) req = build_request(:get_reveal_configuration, params) req.send_request() end | 
#get_sensitive_data_occurrences(params = {}) ⇒ Types::GetSensitiveDataOccurrencesResponse
Retrieves occurrences of sensitive data reported by a finding.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- finding_revealed
| 2475 2476 2477 2478 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2475 def get_sensitive_data_occurrences(params = {}, = {}) req = build_request(:get_sensitive_data_occurrences, params) req.send_request() end | 
#get_sensitive_data_occurrences_availability(params = {}) ⇒ Types::GetSensitiveDataOccurrencesAvailabilityResponse
Checks whether occurrences of sensitive data can be retrieved for a finding.
| 2506 2507 2508 2509 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2506 def get_sensitive_data_occurrences_availability(params = {}, = {}) req = build_request(:get_sensitive_data_occurrences_availability, params) req.send_request() end | 
#get_sensitivity_inspection_template(params = {}) ⇒ Types::GetSensitivityInspectionTemplateResponse
Retrieves the settings for the sensitivity inspection template for an account.
| 2548 2549 2550 2551 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2548 def get_sensitivity_inspection_template(params = {}, = {}) req = build_request(:get_sensitivity_inspection_template, params) req.send_request() end | 
#get_usage_statistics(params = {}) ⇒ Types::GetUsageStatisticsResponse
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 2617 2618 2619 2620 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2617 def get_usage_statistics(params = {}, = {}) req = build_request(:get_usage_statistics, params) req.send_request() end | 
#get_usage_totals(params = {}) ⇒ Types::GetUsageTotalsResponse
Retrieves (queries) aggregated usage data for an account.
| 2649 2650 2651 2652 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2649 def get_usage_totals(params = {}, = {}) req = build_request(:get_usage_totals, params) req.send_request() end | 
#list_allow_lists(params = {}) ⇒ Types::ListAllowListsResponse
Retrieves a subset of information about all the allow lists for an account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 2690 2691 2692 2693 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2690 def list_allow_lists(params = {}, = {}) req = build_request(:list_allow_lists, params) req.send_request() end | 
#list_automated_discovery_accounts(params = {}) ⇒ Types::ListAutomatedDiscoveryAccountsResponse
Retrieves the status of automated sensitive data discovery for one or more accounts.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 2730 2731 2732 2733 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2730 def list_automated_discovery_accounts(params = {}, = {}) req = build_request(:list_automated_discovery_accounts, params) req.send_request() end | 
#list_classification_jobs(params = {}) ⇒ Types::ListClassificationJobsResponse
Retrieves a subset of information about one or more classification jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 2824 2825 2826 2827 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2824 def list_classification_jobs(params = {}, = {}) req = build_request(:list_classification_jobs, params) req.send_request() end | 
#list_classification_scopes(params = {}) ⇒ Types::ListClassificationScopesResponse
Retrieves a subset of information about the classification scope for an account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 2861 2862 2863 2864 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2861 def list_classification_scopes(params = {}, = {}) req = build_request(:list_classification_scopes, params) req.send_request() end | 
#list_custom_data_identifiers(params = {}) ⇒ Types::ListCustomDataIdentifiersResponse
Retrieves a subset of information about the custom data identifiers for an account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 2901 2902 2903 2904 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2901 def list_custom_data_identifiers(params = {}, = {}) req = build_request(:list_custom_data_identifiers, params) req.send_request() end | 
#list_findings(params = {}) ⇒ Types::ListFindingsResponse
Retrieves a subset of information about one or more findings.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 2960 2961 2962 2963 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 2960 def list_findings(params = {}, = {}) req = build_request(:list_findings, params) req.send_request() end | 
#list_findings_filters(params = {}) ⇒ Types::ListFindingsFiltersResponse
Retrieves a subset of information about all the findings filters for an account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 3001 3002 3003 3004 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3001 def list_findings_filters(params = {}, = {}) req = build_request(:list_findings_filters, params) req.send_request() end | 
#list_invitations(params = {}) ⇒ Types::ListInvitationsResponse
Retrieves information about Amazon Macie membership invitations that were received by an account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 3040 3041 3042 3043 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3040 def list_invitations(params = {}, = {}) req = build_request(:list_invitations, params) req.send_request() end | 
#list_managed_data_identifiers(params = {}) ⇒ Types::ListManagedDataIdentifiersResponse
Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 3074 3075 3076 3077 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3074 def list_managed_data_identifiers(params = {}, = {}) req = build_request(:list_managed_data_identifiers, params) req.send_request() end | 
#list_members(params = {}) ⇒ Types::ListMembersResponse
Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 3122 3123 3124 3125 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3122 def list_members(params = {}, = {}) req = build_request(:list_members, params) req.send_request() end | 
#list_organization_admin_accounts(params = {}) ⇒ Types::ListOrganizationAdminAccountsResponse
Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 3159 3160 3161 3162 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3159 def list_organization_admin_accounts(params = {}, = {}) req = build_request(:list_organization_admin_accounts, params) req.send_request() end | 
#list_resource_profile_artifacts(params = {}) ⇒ Types::ListResourceProfileArtifactsResponse
Retrieves information about objects that Amazon Macie selected from an S3 bucket for automated sensitive data discovery.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 3197 3198 3199 3200 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3197 def list_resource_profile_artifacts(params = {}, = {}) req = build_request(:list_resource_profile_artifacts, params) req.send_request() end | 
#list_resource_profile_detections(params = {}) ⇒ Types::ListResourceProfileDetectionsResponse
Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 3241 3242 3243 3244 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3241 def list_resource_profile_detections(params = {}, = {}) req = build_request(:list_resource_profile_detections, params) req.send_request() end | 
#list_sensitivity_inspection_templates(params = {}) ⇒ Types::ListSensitivityInspectionTemplatesResponse
Retrieves a subset of information about the sensitivity inspection template for an account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 3278 3279 3280 3281 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3278 def list_sensitivity_inspection_templates(params = {}, = {}) req = build_request(:list_sensitivity_inspection_templates, params) req.send_request() end | 
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.
| 3307 3308 3309 3310 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3307 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end | 
#put_classification_export_configuration(params = {}) ⇒ Types::PutClassificationExportConfigurationResponse
Adds or updates the configuration settings for storing data classification results.
| 3346 3347 3348 3349 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3346 def put_classification_export_configuration(params = {}, = {}) req = build_request(:put_classification_export_configuration, params) req.send_request() end | 
#put_findings_publication_configuration(params = {}) ⇒ Struct
Updates the configuration settings for publishing findings to Security Hub.
| 3384 3385 3386 3387 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3384 def put_findings_publication_configuration(params = {}, = {}) req = build_request(:put_findings_publication_configuration, params) req.send_request() end | 
#search_resources(params = {}) ⇒ Types::SearchResourcesResponse
Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes for an account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 3503 3504 3505 3506 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3503 def search_resources(params = {}, = {}) req = build_request(:search_resources, params) req.send_request() end | 
#tag_resource(params = {}) ⇒ Struct
Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.
| 3532 3533 3534 3535 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3532 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end | 
#test_custom_data_identifier(params = {}) ⇒ Types::TestCustomDataIdentifierResponse
Tests criteria for a custom data identifier.
| 3571 3572 3573 3574 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3571 def test_custom_data_identifier(params = {}, = {}) req = build_request(:test_custom_data_identifier, params) req.send_request() end | 
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags (keys and values) from an Amazon Macie resource.
| 3596 3597 3598 3599 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3596 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end | 
#update_allow_list(params = {}) ⇒ Types::UpdateAllowListResponse
Updates the settings for an allow list.
| 3643 3644 3645 3646 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3643 def update_allow_list(params = {}, = {}) req = build_request(:update_allow_list, params) req.send_request() end | 
#update_automated_discovery_configuration(params = {}) ⇒ Struct
Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone account.
| 3674 3675 3676 3677 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3674 def update_automated_discovery_configuration(params = {}, = {}) req = build_request(:update_automated_discovery_configuration, params) req.send_request() end | 
#update_classification_job(params = {}) ⇒ Struct
Changes the status of a classification job.
| 3699 3700 3701 3702 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3699 def update_classification_job(params = {}, = {}) req = build_request(:update_classification_job, params) req.send_request() end | 
#update_classification_scope(params = {}) ⇒ Struct
Updates the classification scope settings for an account.
| 3730 3731 3732 3733 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3730 def update_classification_scope(params = {}, = {}) req = build_request(:update_classification_scope, params) req.send_request() end | 
#update_findings_filter(params = {}) ⇒ Types::UpdateFindingsFilterResponse
Updates the criteria and other settings for a findings filter.
| 3796 3797 3798 3799 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3796 def update_findings_filter(params = {}, = {}) req = build_request(:update_findings_filter, params) req.send_request() end | 
#update_macie_session(params = {}) ⇒ Struct
Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.
| 3831 3832 3833 3834 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3831 def update_macie_session(params = {}, = {}) req = build_request(:update_macie_session, params) req.send_request() end | 
#update_member_session(params = {}) ⇒ Struct
Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.
| 3857 3858 3859 3860 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3857 def update_member_session(params = {}, = {}) req = build_request(:update_member_session, params) req.send_request() end | 
#update_organization_configuration(params = {}) ⇒ Struct
Updates the Amazon Macie configuration settings for an organization in Organizations.
| 3879 3880 3881 3882 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3879 def update_organization_configuration(params = {}, = {}) req = build_request(:update_organization_configuration, params) req.send_request() end | 
#update_resource_profile(params = {}) ⇒ Struct
Updates the sensitivity score for an S3 bucket.
| 3903 3904 3905 3906 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3903 def update_resource_profile(params = {}, = {}) req = build_request(:update_resource_profile, params) req.send_request() end | 
#update_resource_profile_detections(params = {}) ⇒ Struct
Updates the sensitivity scoring settings for an S3 bucket.
| 3932 3933 3934 3935 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3932 def update_resource_profile_detections(params = {}, = {}) req = build_request(:update_resource_profile_detections, params) req.send_request() end | 
#update_reveal_configuration(params = {}) ⇒ Types::UpdateRevealConfigurationResponse
Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
| 3991 3992 3993 3994 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 3991 def update_reveal_configuration(params = {}, = {}) req = build_request(:update_reveal_configuration, params) req.send_request() end | 
#update_sensitivity_inspection_template(params = {}) ⇒ Struct
Updates the settings for the sensitivity inspection template for an account.
| 4046 4047 4048 4049 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 4046 def update_sensitivity_inspection_template(params = {}, = {}) req = build_request(:update_sensitivity_inspection_template, params) req.send_request() end | 
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
Basic Usage
A waiter will call an API operation until:
- It is successful
- It enters a terminal state
- It makes the maximum number of attempts
In between attempts, the waiter will sleep.
# polls in a loop, sleeping between attempts
client.wait_until(waiter_name, params)
Configuration
You can configure the maximum number of polling attempts, and the delay (in seconds) between each polling attempt. You can pass configuration as the final arguments hash.
# poll for ~25 seconds
client.wait_until(waiter_name, params, {
  max_attempts: 5,
  delay: 5,
})
Callbacks
You can be notified before each polling attempt and before each
delay. If you throw :success or :failure from these callbacks,
it will terminate the waiter.
started_at = Time.now
client.wait_until(waiter_name, params, {
  # disable max attempts
  max_attempts: nil,
  # poll for 1 hour, instead of a number of attempts
  before_wait: -> (attempts, response) do
    throw :failure if Time.now - started_at > 3600
  end
})
Handling Errors
When a waiter is unsuccessful, it will raise an error. All of the failure errors extend from Waiters::Errors::WaiterFailed.
begin
  client.wait_until(...)
rescue Aws::Waiters::Errors::WaiterFailed
  # resource did not enter the desired state in time
end
Valid Waiters
The following table lists the valid waiter names, the operations they call,
and the default :delay and :max_attempts values.
| waiter_name | params | :delay | :max_attempts | 
|---|---|---|---|
| finding_revealed | #get_sensitive_data_occurrences | 2 | 60 | 
| 4161 4162 4163 4164 4165 | # File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb', line 4161 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |