/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the macie-2017-12-19.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Macie.Model;
namespace Amazon.Macie
{
///
/// Interface for accessing Macie
///
/// Amazon Macie Classic
///
/// Amazon Macie Classic has been discontinued and is no longer available.
///
///
///
/// A new Amazon Macie is now available with significant design improvements and additional
/// features, at a lower price and in most Amazon Web Services Regions. We encourage you
/// to take advantage of the new and improved features, and benefit from the reduced cost.
/// To learn about features and pricing for the new Macie, see Amazon
/// Macie. To learn how to use the new Macie, see the Amazon
/// Macie User Guide.
///
///
public partial interface IAmazonMacie : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IMaciePaginatorFactory Paginators { get; }
#endif
#region AssociateMemberAccount
///
/// (Discontinued) Associates a specified Amazon Web Services account with Amazon Macie
/// Classic as a member account.
///
/// Container for the necessary parameters to execute the AssociateMemberAccount service method.
///
/// The response from the AssociateMemberAccount service method, as returned by Macie.
///
/// (Discontinued) Internal server error.
///
///
/// (Discontinued) The request was rejected because an invalid or out-of-range value was
/// supplied for an input parameter.
///
///
/// (Discontinued) The request was rejected because it attempted to create resources beyond
/// the current Amazon Web Services account quotas. The error code describes the quota
/// exceeded.
///
/// REST API Reference for AssociateMemberAccount Operation
AssociateMemberAccountResponse AssociateMemberAccount(AssociateMemberAccountRequest request);
///
/// Initiates the asynchronous execution of the AssociateMemberAccount operation.
///
///
/// Container for the necessary parameters to execute the AssociateMemberAccount operation on AmazonMacieClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateMemberAccount
/// operation.
/// REST API Reference for AssociateMemberAccount Operation
IAsyncResult BeginAssociateMemberAccount(AssociateMemberAccountRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the AssociateMemberAccount operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateMemberAccount.
///
/// Returns a AssociateMemberAccountResult from Macie.
/// REST API Reference for AssociateMemberAccount Operation
AssociateMemberAccountResponse EndAssociateMemberAccount(IAsyncResult asyncResult);
#endregion
#region AssociateS3Resources
///
/// (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.
///
/// Container for the necessary parameters to execute the AssociateS3Resources service method.
///
/// The response from the AssociateS3Resources service method, as returned by Macie.
///
/// (Discontinued) You do not have required permissions to access the requested resource.
///
///
/// (Discontinued) Internal server error.
///
///
/// (Discontinued) The request was rejected because an invalid or out-of-range value was
/// supplied for an input parameter.
///
///
/// (Discontinued) The request was rejected because it attempted to create resources beyond
/// the current Amazon Web Services account quotas. The error code describes the quota
/// exceeded.
///
/// REST API Reference for AssociateS3Resources Operation
AssociateS3ResourcesResponse AssociateS3Resources(AssociateS3ResourcesRequest request);
///
/// Initiates the asynchronous execution of the AssociateS3Resources operation.
///
///
/// Container for the necessary parameters to execute the AssociateS3Resources operation on AmazonMacieClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateS3Resources
/// operation.
/// REST API Reference for AssociateS3Resources Operation
IAsyncResult BeginAssociateS3Resources(AssociateS3ResourcesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the AssociateS3Resources operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateS3Resources.
///
/// Returns a AssociateS3ResourcesResult from Macie.
/// REST API Reference for AssociateS3Resources Operation
AssociateS3ResourcesResponse EndAssociateS3Resources(IAsyncResult asyncResult);
#endregion
#region DisassociateMemberAccount
///
/// (Discontinued) Removes the specified member account from Amazon Macie Classic.
///
/// Container for the necessary parameters to execute the DisassociateMemberAccount service method.
///
/// The response from the DisassociateMemberAccount service method, as returned by Macie.
///
/// (Discontinued) Internal server error.
///
///
/// (Discontinued) The request was rejected because an invalid or out-of-range value was
/// supplied for an input parameter.
///
/// REST API Reference for DisassociateMemberAccount Operation
DisassociateMemberAccountResponse DisassociateMemberAccount(DisassociateMemberAccountRequest request);
///
/// Initiates the asynchronous execution of the DisassociateMemberAccount operation.
///
///
/// Container for the necessary parameters to execute the DisassociateMemberAccount operation on AmazonMacieClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateMemberAccount
/// operation.
/// REST API Reference for DisassociateMemberAccount Operation
IAsyncResult BeginDisassociateMemberAccount(DisassociateMemberAccountRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DisassociateMemberAccount operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateMemberAccount.
///
/// Returns a DisassociateMemberAccountResult from Macie.
/// REST API Reference for DisassociateMemberAccount Operation
DisassociateMemberAccountResponse EndDisassociateMemberAccount(IAsyncResult asyncResult);
#endregion
#region DisassociateS3Resources
///
/// (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.
///
/// Container for the necessary parameters to execute the DisassociateS3Resources service method.
///
/// The response from the DisassociateS3Resources service method, as returned by Macie.
///
/// (Discontinued) You do not have required permissions to access the requested resource.
///
///
/// (Discontinued) Internal server error.
///
///
/// (Discontinued) The request was rejected because an invalid or out-of-range value was
/// supplied for an input parameter.
///
/// REST API Reference for DisassociateS3Resources Operation
DisassociateS3ResourcesResponse DisassociateS3Resources(DisassociateS3ResourcesRequest request);
///
/// Initiates the asynchronous execution of the DisassociateS3Resources operation.
///
///
/// Container for the necessary parameters to execute the DisassociateS3Resources operation on AmazonMacieClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateS3Resources
/// operation.
/// REST API Reference for DisassociateS3Resources Operation
IAsyncResult BeginDisassociateS3Resources(DisassociateS3ResourcesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the DisassociateS3Resources operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateS3Resources.
///
/// Returns a DisassociateS3ResourcesResult from Macie.
/// REST API Reference for DisassociateS3Resources Operation
DisassociateS3ResourcesResponse EndDisassociateS3Resources(IAsyncResult asyncResult);
#endregion
#region ListMemberAccounts
///
/// (Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie
/// Classic administrator account.
///
/// Container for the necessary parameters to execute the ListMemberAccounts service method.
///
/// The response from the ListMemberAccounts service method, as returned by Macie.
///
/// (Discontinued) Internal server error.
///
///
/// (Discontinued) The request was rejected because an invalid or out-of-range value was
/// supplied for an input parameter.
///
/// REST API Reference for ListMemberAccounts Operation
ListMemberAccountsResponse ListMemberAccounts(ListMemberAccountsRequest request);
///
/// Initiates the asynchronous execution of the ListMemberAccounts operation.
///
///
/// Container for the necessary parameters to execute the ListMemberAccounts operation on AmazonMacieClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListMemberAccounts
/// operation.
/// REST API Reference for ListMemberAccounts Operation
IAsyncResult BeginListMemberAccounts(ListMemberAccountsRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListMemberAccounts operation.
///
///
/// The IAsyncResult returned by the call to BeginListMemberAccounts.
///
/// Returns a ListMemberAccountsResult from Macie.
/// REST API Reference for ListMemberAccounts Operation
ListMemberAccountsResponse EndListMemberAccounts(IAsyncResult asyncResult);
#endregion
#region ListS3Resources
///
/// (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.
///
/// Container for the necessary parameters to execute the ListS3Resources service method.
///
/// The response from the ListS3Resources service method, as returned by Macie.
///
/// (Discontinued) You do not have required permissions to access the requested resource.
///
///
/// (Discontinued) Internal server error.
///
///
/// (Discontinued) The request was rejected because an invalid or out-of-range value was
/// supplied for an input parameter.
///
/// REST API Reference for ListS3Resources Operation
ListS3ResourcesResponse ListS3Resources(ListS3ResourcesRequest request);
///
/// Initiates the asynchronous execution of the ListS3Resources operation.
///
///
/// Container for the necessary parameters to execute the ListS3Resources operation on AmazonMacieClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListS3Resources
/// operation.
/// REST API Reference for ListS3Resources Operation
IAsyncResult BeginListS3Resources(ListS3ResourcesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the ListS3Resources operation.
///
///
/// The IAsyncResult returned by the call to BeginListS3Resources.
///
/// Returns a ListS3ResourcesResult from Macie.
/// REST API Reference for ListS3Resources Operation
ListS3ResourcesResponse EndListS3Resources(IAsyncResult asyncResult);
#endregion
#region UpdateS3Resources
///
/// (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.
///
/// Container for the necessary parameters to execute the UpdateS3Resources service method.
///
/// The response from the UpdateS3Resources service method, as returned by Macie.
///
/// (Discontinued) You do not have required permissions to access the requested resource.
///
///
/// (Discontinued) Internal server error.
///
///
/// (Discontinued) The request was rejected because an invalid or out-of-range value was
/// supplied for an input parameter.
///
/// REST API Reference for UpdateS3Resources Operation
UpdateS3ResourcesResponse UpdateS3Resources(UpdateS3ResourcesRequest request);
///
/// Initiates the asynchronous execution of the UpdateS3Resources operation.
///
///
/// Container for the necessary parameters to execute the UpdateS3Resources operation on AmazonMacieClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateS3Resources
/// operation.
/// REST API Reference for UpdateS3Resources Operation
IAsyncResult BeginUpdateS3Resources(UpdateS3ResourcesRequest request, AsyncCallback callback, object state);
///
/// Finishes the asynchronous execution of the UpdateS3Resources operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateS3Resources.
///
/// Returns a UpdateS3ResourcesResult from Macie.
/// REST API Reference for UpdateS3Resources Operation
UpdateS3ResourcesResponse EndUpdateS3Resources(IAsyncResult asyncResult);
#endregion
}
}