/*
* 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.Threading;
using System.Threading.Tasks;
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 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task AssociateMemberAccountAsync(AssociateMemberAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task AssociateS3ResourcesAsync(AssociateS3ResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisassociateMemberAccount
///
/// (Discontinued) Removes the specified member account from Amazon Macie Classic.
///
/// Container for the necessary parameters to execute the DisassociateMemberAccount service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DisassociateMemberAccountAsync(DisassociateMemberAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DisassociateS3ResourcesAsync(DisassociateS3ResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListMemberAccountsAsync(ListMemberAccountsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListS3ResourcesAsync(ListS3ResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task UpdateS3ResourcesAsync(UpdateS3ResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}