/* * 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 macie2-2020-01-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.Macie2.Model; using Amazon.Macie2.Model.Internal.MarshallTransformations; using Amazon.Macie2.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Macie2 { /// <summary> /// Implementation for accessing Macie2 /// /// Amazon Macie /// </summary> public partial class AmazonMacie2Client : AmazonServiceClient, IAmazonMacie2 { private static IServiceMetadata serviceMetadata = new AmazonMacie2Metadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IMacie2PaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IMacie2PaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new Macie2PaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// <summary> /// Constructs AmazonMacie2Client with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// </code> /// /// </summary> public AmazonMacie2Client() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonMacie2Config()) { } /// <summary> /// Constructs AmazonMacie2Client with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonMacie2Client(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonMacie2Config{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonMacie2Client with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// </code> /// /// </summary> /// <param name="config">The AmazonMacie2Client Configuration Object</param> public AmazonMacie2Client(AmazonMacie2Config config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// <summary> /// Constructs AmazonMacie2Client with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonMacie2Client(AWSCredentials credentials) : this(credentials, new AmazonMacie2Config()) { } /// <summary> /// Constructs AmazonMacie2Client with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonMacie2Client(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonMacie2Config{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonMacie2Client with AWS Credentials and an /// AmazonMacie2Client Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonMacie2Client Configuration Object</param> public AmazonMacie2Client(AWSCredentials credentials, AmazonMacie2Config clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonMacie2Client with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonMacie2Client(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonMacie2Config()) { } /// <summary> /// Constructs AmazonMacie2Client with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonMacie2Client(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonMacie2Config() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonMacie2Client with AWS Access Key ID, AWS Secret Key and an /// AmazonMacie2Client Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonMacie2Client Configuration Object</param> public AmazonMacie2Client(string awsAccessKeyId, string awsSecretAccessKey, AmazonMacie2Config clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonMacie2Client with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonMacie2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonMacie2Config()) { } /// <summary> /// Constructs AmazonMacie2Client with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonMacie2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonMacie2Config{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonMacie2Client with AWS Access Key ID, AWS Secret Key and an /// AmazonMacie2Client Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonMacie2Client Configuration Object</param> public AmazonMacie2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonMacie2Config clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customize the pipeline /// </summary> /// <param name="pipeline"></param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonMacie2EndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AcceptInvitation /// <summary> /// Accepts an Amazon Macie membership invitation that was received from a specific account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AcceptInvitation service method.</param> /// /// <returns>The response from the AcceptInvitation service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitation">REST API Reference for AcceptInvitation Operation</seealso> public virtual AcceptInvitationResponse AcceptInvitation(AcceptInvitationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptInvitationRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptInvitationResponseUnmarshaller.Instance; return Invoke<AcceptInvitationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the AcceptInvitation operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AcceptInvitation operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAcceptInvitation /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitation">REST API Reference for AcceptInvitation Operation</seealso> public virtual IAsyncResult BeginAcceptInvitation(AcceptInvitationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptInvitationRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptInvitationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the AcceptInvitation operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAcceptInvitation.</param> /// /// <returns>Returns a AcceptInvitationResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitation">REST API Reference for AcceptInvitation Operation</seealso> public virtual AcceptInvitationResponse EndAcceptInvitation(IAsyncResult asyncResult) { return EndInvoke<AcceptInvitationResponse>(asyncResult); } #endregion #region BatchGetCustomDataIdentifiers /// <summary> /// Retrieves information about one or more custom data identifiers. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetCustomDataIdentifiers service method.</param> /// /// <returns>The response from the BatchGetCustomDataIdentifiers service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiers">REST API Reference for BatchGetCustomDataIdentifiers Operation</seealso> public virtual BatchGetCustomDataIdentifiersResponse BatchGetCustomDataIdentifiers(BatchGetCustomDataIdentifiersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetCustomDataIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetCustomDataIdentifiersResponseUnmarshaller.Instance; return Invoke<BatchGetCustomDataIdentifiersResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the BatchGetCustomDataIdentifiers operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the BatchGetCustomDataIdentifiers operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetCustomDataIdentifiers /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiers">REST API Reference for BatchGetCustomDataIdentifiers Operation</seealso> public virtual IAsyncResult BeginBatchGetCustomDataIdentifiers(BatchGetCustomDataIdentifiersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetCustomDataIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetCustomDataIdentifiersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the BatchGetCustomDataIdentifiers operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchGetCustomDataIdentifiers.</param> /// /// <returns>Returns a BatchGetCustomDataIdentifiersResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiers">REST API Reference for BatchGetCustomDataIdentifiers Operation</seealso> public virtual BatchGetCustomDataIdentifiersResponse EndBatchGetCustomDataIdentifiers(IAsyncResult asyncResult) { return EndInvoke<BatchGetCustomDataIdentifiersResponse>(asyncResult); } #endregion #region CreateAllowList /// <summary> /// Creates and defines the settings for an allow list. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAllowList service method.</param> /// /// <returns>The response from the CreateAllowList service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateAllowList">REST API Reference for CreateAllowList Operation</seealso> public virtual CreateAllowListResponse CreateAllowList(CreateAllowListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAllowListResponseUnmarshaller.Instance; return Invoke<CreateAllowListResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateAllowList operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAllowList operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAllowList /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateAllowList">REST API Reference for CreateAllowList Operation</seealso> public virtual IAsyncResult BeginCreateAllowList(CreateAllowListRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAllowListResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateAllowList operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAllowList.</param> /// /// <returns>Returns a CreateAllowListResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateAllowList">REST API Reference for CreateAllowList Operation</seealso> public virtual CreateAllowListResponse EndCreateAllowList(IAsyncResult asyncResult) { return EndInvoke<CreateAllowListResponse>(asyncResult); } #endregion #region CreateClassificationJob /// <summary> /// Creates and defines the settings for a classification job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateClassificationJob service method.</param> /// /// <returns>The response from the CreateClassificationJob service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJob">REST API Reference for CreateClassificationJob Operation</seealso> public virtual CreateClassificationJobResponse CreateClassificationJob(CreateClassificationJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateClassificationJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateClassificationJobResponseUnmarshaller.Instance; return Invoke<CreateClassificationJobResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateClassificationJob operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateClassificationJob operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateClassificationJob /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJob">REST API Reference for CreateClassificationJob Operation</seealso> public virtual IAsyncResult BeginCreateClassificationJob(CreateClassificationJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateClassificationJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateClassificationJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateClassificationJob operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateClassificationJob.</param> /// /// <returns>Returns a CreateClassificationJobResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJob">REST API Reference for CreateClassificationJob Operation</seealso> public virtual CreateClassificationJobResponse EndCreateClassificationJob(IAsyncResult asyncResult) { return EndInvoke<CreateClassificationJobResponse>(asyncResult); } #endregion #region CreateCustomDataIdentifier /// <summary> /// Creates and defines the criteria and other settings for a custom data identifier. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateCustomDataIdentifier service method.</param> /// /// <returns>The response from the CreateCustomDataIdentifier service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifier">REST API Reference for CreateCustomDataIdentifier Operation</seealso> public virtual CreateCustomDataIdentifierResponse CreateCustomDataIdentifier(CreateCustomDataIdentifierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomDataIdentifierResponseUnmarshaller.Instance; return Invoke<CreateCustomDataIdentifierResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateCustomDataIdentifier operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateCustomDataIdentifier operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCustomDataIdentifier /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifier">REST API Reference for CreateCustomDataIdentifier Operation</seealso> public virtual IAsyncResult BeginCreateCustomDataIdentifier(CreateCustomDataIdentifierRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomDataIdentifierResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateCustomDataIdentifier operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateCustomDataIdentifier.</param> /// /// <returns>Returns a CreateCustomDataIdentifierResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifier">REST API Reference for CreateCustomDataIdentifier Operation</seealso> public virtual CreateCustomDataIdentifierResponse EndCreateCustomDataIdentifier(IAsyncResult asyncResult) { return EndInvoke<CreateCustomDataIdentifierResponse>(asyncResult); } #endregion #region CreateFindingsFilter /// <summary> /// Creates and defines the criteria and other settings for a findings filter. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFindingsFilter service method.</param> /// /// <returns>The response from the CreateFindingsFilter service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilter">REST API Reference for CreateFindingsFilter Operation</seealso> public virtual CreateFindingsFilterResponse CreateFindingsFilter(CreateFindingsFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFindingsFilterResponseUnmarshaller.Instance; return Invoke<CreateFindingsFilterResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateFindingsFilter operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateFindingsFilter operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFindingsFilter /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilter">REST API Reference for CreateFindingsFilter Operation</seealso> public virtual IAsyncResult BeginCreateFindingsFilter(CreateFindingsFilterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFindingsFilterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateFindingsFilter operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateFindingsFilter.</param> /// /// <returns>Returns a CreateFindingsFilterResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilter">REST API Reference for CreateFindingsFilter Operation</seealso> public virtual CreateFindingsFilterResponse EndCreateFindingsFilter(IAsyncResult asyncResult) { return EndInvoke<CreateFindingsFilterResponse>(asyncResult); } #endregion #region CreateInvitations /// <summary> /// Sends an Amazon Macie membership invitation to one or more accounts. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateInvitations service method.</param> /// /// <returns>The response from the CreateInvitations service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitations">REST API Reference for CreateInvitations Operation</seealso> public virtual CreateInvitationsResponse CreateInvitations(CreateInvitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInvitationsResponseUnmarshaller.Instance; return Invoke<CreateInvitationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateInvitations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateInvitations operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateInvitations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitations">REST API Reference for CreateInvitations Operation</seealso> public virtual IAsyncResult BeginCreateInvitations(CreateInvitationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInvitationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateInvitations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateInvitations.</param> /// /// <returns>Returns a CreateInvitationsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitations">REST API Reference for CreateInvitations Operation</seealso> public virtual CreateInvitationsResponse EndCreateInvitations(IAsyncResult asyncResult) { return EndInvoke<CreateInvitationsResponse>(asyncResult); } #endregion #region CreateMember /// <summary> /// Associates an account with an Amazon Macie administrator account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateMember service method.</param> /// /// <returns>The response from the CreateMember service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMember">REST API Reference for CreateMember Operation</seealso> public virtual CreateMemberResponse CreateMember(CreateMemberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMemberResponseUnmarshaller.Instance; return Invoke<CreateMemberResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateMember operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateMember operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateMember /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMember">REST API Reference for CreateMember Operation</seealso> public virtual IAsyncResult BeginCreateMember(CreateMemberRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMemberResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateMember operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateMember.</param> /// /// <returns>Returns a CreateMemberResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMember">REST API Reference for CreateMember Operation</seealso> public virtual CreateMemberResponse EndCreateMember(IAsyncResult asyncResult) { return EndInvoke<CreateMemberResponse>(asyncResult); } #endregion #region CreateSampleFindings /// <summary> /// Creates sample findings. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateSampleFindings service method.</param> /// /// <returns>The response from the CreateSampleFindings service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings">REST API Reference for CreateSampleFindings Operation</seealso> public virtual CreateSampleFindingsResponse CreateSampleFindings(CreateSampleFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSampleFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSampleFindingsResponseUnmarshaller.Instance; return Invoke<CreateSampleFindingsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateSampleFindings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateSampleFindings operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSampleFindings /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings">REST API Reference for CreateSampleFindings Operation</seealso> public virtual IAsyncResult BeginCreateSampleFindings(CreateSampleFindingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSampleFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSampleFindingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateSampleFindings operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateSampleFindings.</param> /// /// <returns>Returns a CreateSampleFindingsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings">REST API Reference for CreateSampleFindings Operation</seealso> public virtual CreateSampleFindingsResponse EndCreateSampleFindings(IAsyncResult asyncResult) { return EndInvoke<CreateSampleFindingsResponse>(asyncResult); } #endregion #region DeclineInvitations /// <summary> /// Declines Amazon Macie membership invitations that were received from specific accounts. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeclineInvitations service method.</param> /// /// <returns>The response from the DeclineInvitations service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitations">REST API Reference for DeclineInvitations Operation</seealso> public virtual DeclineInvitationsResponse DeclineInvitations(DeclineInvitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeclineInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeclineInvitationsResponseUnmarshaller.Instance; return Invoke<DeclineInvitationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeclineInvitations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeclineInvitations operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeclineInvitations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitations">REST API Reference for DeclineInvitations Operation</seealso> public virtual IAsyncResult BeginDeclineInvitations(DeclineInvitationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeclineInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeclineInvitationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeclineInvitations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeclineInvitations.</param> /// /// <returns>Returns a DeclineInvitationsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitations">REST API Reference for DeclineInvitations Operation</seealso> public virtual DeclineInvitationsResponse EndDeclineInvitations(IAsyncResult asyncResult) { return EndInvoke<DeclineInvitationsResponse>(asyncResult); } #endregion #region DeleteAllowList /// <summary> /// Deletes an allow list. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAllowList service method.</param> /// /// <returns>The response from the DeleteAllowList service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteAllowList">REST API Reference for DeleteAllowList Operation</seealso> public virtual DeleteAllowListResponse DeleteAllowList(DeleteAllowListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAllowListResponseUnmarshaller.Instance; return Invoke<DeleteAllowListResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteAllowList operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAllowList operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAllowList /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteAllowList">REST API Reference for DeleteAllowList Operation</seealso> public virtual IAsyncResult BeginDeleteAllowList(DeleteAllowListRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAllowListResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteAllowList operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAllowList.</param> /// /// <returns>Returns a DeleteAllowListResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteAllowList">REST API Reference for DeleteAllowList Operation</seealso> public virtual DeleteAllowListResponse EndDeleteAllowList(IAsyncResult asyncResult) { return EndInvoke<DeleteAllowListResponse>(asyncResult); } #endregion #region DeleteCustomDataIdentifier /// <summary> /// Soft deletes a custom data identifier. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteCustomDataIdentifier service method.</param> /// /// <returns>The response from the DeleteCustomDataIdentifier service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifier">REST API Reference for DeleteCustomDataIdentifier Operation</seealso> public virtual DeleteCustomDataIdentifierResponse DeleteCustomDataIdentifier(DeleteCustomDataIdentifierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomDataIdentifierResponseUnmarshaller.Instance; return Invoke<DeleteCustomDataIdentifierResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteCustomDataIdentifier operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteCustomDataIdentifier operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCustomDataIdentifier /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifier">REST API Reference for DeleteCustomDataIdentifier Operation</seealso> public virtual IAsyncResult BeginDeleteCustomDataIdentifier(DeleteCustomDataIdentifierRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomDataIdentifierResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteCustomDataIdentifier operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteCustomDataIdentifier.</param> /// /// <returns>Returns a DeleteCustomDataIdentifierResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifier">REST API Reference for DeleteCustomDataIdentifier Operation</seealso> public virtual DeleteCustomDataIdentifierResponse EndDeleteCustomDataIdentifier(IAsyncResult asyncResult) { return EndInvoke<DeleteCustomDataIdentifierResponse>(asyncResult); } #endregion #region DeleteFindingsFilter /// <summary> /// Deletes a findings filter. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFindingsFilter service method.</param> /// /// <returns>The response from the DeleteFindingsFilter service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilter">REST API Reference for DeleteFindingsFilter Operation</seealso> public virtual DeleteFindingsFilterResponse DeleteFindingsFilter(DeleteFindingsFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFindingsFilterResponseUnmarshaller.Instance; return Invoke<DeleteFindingsFilterResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteFindingsFilter operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteFindingsFilter operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFindingsFilter /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilter">REST API Reference for DeleteFindingsFilter Operation</seealso> public virtual IAsyncResult BeginDeleteFindingsFilter(DeleteFindingsFilterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFindingsFilterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteFindingsFilter operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteFindingsFilter.</param> /// /// <returns>Returns a DeleteFindingsFilterResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilter">REST API Reference for DeleteFindingsFilter Operation</seealso> public virtual DeleteFindingsFilterResponse EndDeleteFindingsFilter(IAsyncResult asyncResult) { return EndInvoke<DeleteFindingsFilterResponse>(asyncResult); } #endregion #region DeleteInvitations /// <summary> /// Deletes Amazon Macie membership invitations that were received from specific accounts. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteInvitations service method.</param> /// /// <returns>The response from the DeleteInvitations service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitations">REST API Reference for DeleteInvitations Operation</seealso> public virtual DeleteInvitationsResponse DeleteInvitations(DeleteInvitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInvitationsResponseUnmarshaller.Instance; return Invoke<DeleteInvitationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteInvitations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteInvitations operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteInvitations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitations">REST API Reference for DeleteInvitations Operation</seealso> public virtual IAsyncResult BeginDeleteInvitations(DeleteInvitationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInvitationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteInvitations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteInvitations.</param> /// /// <returns>Returns a DeleteInvitationsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitations">REST API Reference for DeleteInvitations Operation</seealso> public virtual DeleteInvitationsResponse EndDeleteInvitations(IAsyncResult asyncResult) { return EndInvoke<DeleteInvitationsResponse>(asyncResult); } #endregion #region DeleteMember /// <summary> /// Deletes the association between an Amazon Macie administrator account and an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMember service method.</param> /// /// <returns>The response from the DeleteMember service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMember">REST API Reference for DeleteMember Operation</seealso> public virtual DeleteMemberResponse DeleteMember(DeleteMemberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMemberResponseUnmarshaller.Instance; return Invoke<DeleteMemberResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteMember operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteMember operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMember /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMember">REST API Reference for DeleteMember Operation</seealso> public virtual IAsyncResult BeginDeleteMember(DeleteMemberRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMemberResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteMember operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteMember.</param> /// /// <returns>Returns a DeleteMemberResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMember">REST API Reference for DeleteMember Operation</seealso> public virtual DeleteMemberResponse EndDeleteMember(IAsyncResult asyncResult) { return EndInvoke<DeleteMemberResponse>(asyncResult); } #endregion #region DescribeBuckets /// <summary> /// Retrieves (queries) statistical data and other information about one or more S3 buckets /// that Amazon Macie monitors and analyzes for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeBuckets service method.</param> /// /// <returns>The response from the DescribeBuckets service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBuckets">REST API Reference for DescribeBuckets Operation</seealso> public virtual DescribeBucketsResponse DescribeBuckets(DescribeBucketsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBucketsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBucketsResponseUnmarshaller.Instance; return Invoke<DescribeBucketsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeBuckets operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeBuckets operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeBuckets /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBuckets">REST API Reference for DescribeBuckets Operation</seealso> public virtual IAsyncResult BeginDescribeBuckets(DescribeBucketsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBucketsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBucketsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeBuckets operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeBuckets.</param> /// /// <returns>Returns a DescribeBucketsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBuckets">REST API Reference for DescribeBuckets Operation</seealso> public virtual DescribeBucketsResponse EndDescribeBuckets(IAsyncResult asyncResult) { return EndInvoke<DescribeBucketsResponse>(asyncResult); } #endregion #region DescribeClassificationJob /// <summary> /// Retrieves the status and settings for a classification job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeClassificationJob service method.</param> /// /// <returns>The response from the DescribeClassificationJob service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob">REST API Reference for DescribeClassificationJob Operation</seealso> public virtual DescribeClassificationJobResponse DescribeClassificationJob(DescribeClassificationJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClassificationJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClassificationJobResponseUnmarshaller.Instance; return Invoke<DescribeClassificationJobResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeClassificationJob operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeClassificationJob operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeClassificationJob /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob">REST API Reference for DescribeClassificationJob Operation</seealso> public virtual IAsyncResult BeginDescribeClassificationJob(DescribeClassificationJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClassificationJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClassificationJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeClassificationJob operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeClassificationJob.</param> /// /// <returns>Returns a DescribeClassificationJobResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob">REST API Reference for DescribeClassificationJob Operation</seealso> public virtual DescribeClassificationJobResponse EndDescribeClassificationJob(IAsyncResult asyncResult) { return EndInvoke<DescribeClassificationJobResponse>(asyncResult); } #endregion #region DescribeOrganizationConfiguration /// <summary> /// Retrieves the Amazon Macie configuration settings for an organization in Organizations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeOrganizationConfiguration service method.</param> /// /// <returns>The response from the DescribeOrganizationConfiguration service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfiguration">REST API Reference for DescribeOrganizationConfiguration Operation</seealso> public virtual DescribeOrganizationConfigurationResponse DescribeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOrganizationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOrganizationConfigurationResponseUnmarshaller.Instance; return Invoke<DescribeOrganizationConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeOrganizationConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeOrganizationConfiguration operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeOrganizationConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfiguration">REST API Reference for DescribeOrganizationConfiguration Operation</seealso> public virtual IAsyncResult BeginDescribeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOrganizationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOrganizationConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeOrganizationConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeOrganizationConfiguration.</param> /// /// <returns>Returns a DescribeOrganizationConfigurationResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfiguration">REST API Reference for DescribeOrganizationConfiguration Operation</seealso> public virtual DescribeOrganizationConfigurationResponse EndDescribeOrganizationConfiguration(IAsyncResult asyncResult) { return EndInvoke<DescribeOrganizationConfigurationResponse>(asyncResult); } #endregion #region DisableMacie /// <summary> /// Disables Amazon Macie and deletes all settings and resources for a Macie account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableMacie service method.</param> /// /// <returns>The response from the DisableMacie service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacie">REST API Reference for DisableMacie Operation</seealso> public virtual DisableMacieResponse DisableMacie(DisableMacieRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableMacieRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableMacieResponseUnmarshaller.Instance; return Invoke<DisableMacieResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DisableMacie operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisableMacie operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisableMacie /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacie">REST API Reference for DisableMacie Operation</seealso> public virtual IAsyncResult BeginDisableMacie(DisableMacieRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisableMacieRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableMacieResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DisableMacie operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisableMacie.</param> /// /// <returns>Returns a DisableMacieResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacie">REST API Reference for DisableMacie Operation</seealso> public virtual DisableMacieResponse EndDisableMacie(IAsyncResult asyncResult) { return EndInvoke<DisableMacieResponse>(asyncResult); } #endregion #region DisableOrganizationAdminAccount /// <summary> /// Disables an account as the delegated Amazon Macie administrator account for an organization /// in Organizations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableOrganizationAdminAccount service method.</param> /// /// <returns>The response from the DisableOrganizationAdminAccount service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccount">REST API Reference for DisableOrganizationAdminAccount Operation</seealso> public virtual DisableOrganizationAdminAccountResponse DisableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableOrganizationAdminAccountResponseUnmarshaller.Instance; return Invoke<DisableOrganizationAdminAccountResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DisableOrganizationAdminAccount operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisableOrganizationAdminAccount operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisableOrganizationAdminAccount /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccount">REST API Reference for DisableOrganizationAdminAccount Operation</seealso> public virtual IAsyncResult BeginDisableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisableOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableOrganizationAdminAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DisableOrganizationAdminAccount operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisableOrganizationAdminAccount.</param> /// /// <returns>Returns a DisableOrganizationAdminAccountResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccount">REST API Reference for DisableOrganizationAdminAccount Operation</seealso> public virtual DisableOrganizationAdminAccountResponse EndDisableOrganizationAdminAccount(IAsyncResult asyncResult) { return EndInvoke<DisableOrganizationAdminAccountResponse>(asyncResult); } #endregion #region DisassociateFromAdministratorAccount /// <summary> /// Disassociates a member account from its Amazon Macie administrator account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFromAdministratorAccount service method.</param> /// /// <returns>The response from the DisassociateFromAdministratorAccount service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount">REST API Reference for DisassociateFromAdministratorAccount Operation</seealso> public virtual DisassociateFromAdministratorAccountResponse DisassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFromAdministratorAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFromAdministratorAccountResponseUnmarshaller.Instance; return Invoke<DisassociateFromAdministratorAccountResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DisassociateFromAdministratorAccount operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateFromAdministratorAccount operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateFromAdministratorAccount /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount">REST API Reference for DisassociateFromAdministratorAccount Operation</seealso> public virtual IAsyncResult BeginDisassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFromAdministratorAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFromAdministratorAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DisassociateFromAdministratorAccount operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateFromAdministratorAccount.</param> /// /// <returns>Returns a DisassociateFromAdministratorAccountResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount">REST API Reference for DisassociateFromAdministratorAccount Operation</seealso> public virtual DisassociateFromAdministratorAccountResponse EndDisassociateFromAdministratorAccount(IAsyncResult asyncResult) { return EndInvoke<DisassociateFromAdministratorAccountResponse>(asyncResult); } #endregion #region DisassociateFromMasterAccount /// <summary> /// (Deprecated) Disassociates a member account from its Amazon Macie administrator account. /// This operation has been replaced by the <link linkend="DisassociateFromAdministratorAccount">DisassociateFromAdministratorAccount</link> /// operation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFromMasterAccount service method.</param> /// /// <returns>The response from the DisassociateFromMasterAccount service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccount">REST API Reference for DisassociateFromMasterAccount Operation</seealso> public virtual DisassociateFromMasterAccountResponse DisassociateFromMasterAccount(DisassociateFromMasterAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFromMasterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFromMasterAccountResponseUnmarshaller.Instance; return Invoke<DisassociateFromMasterAccountResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DisassociateFromMasterAccount operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateFromMasterAccount operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateFromMasterAccount /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccount">REST API Reference for DisassociateFromMasterAccount Operation</seealso> public virtual IAsyncResult BeginDisassociateFromMasterAccount(DisassociateFromMasterAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFromMasterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFromMasterAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DisassociateFromMasterAccount operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateFromMasterAccount.</param> /// /// <returns>Returns a DisassociateFromMasterAccountResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccount">REST API Reference for DisassociateFromMasterAccount Operation</seealso> public virtual DisassociateFromMasterAccountResponse EndDisassociateFromMasterAccount(IAsyncResult asyncResult) { return EndInvoke<DisassociateFromMasterAccountResponse>(asyncResult); } #endregion #region DisassociateMember /// <summary> /// Disassociates an Amazon Macie administrator account from a member account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateMember service method.</param> /// /// <returns>The response from the DisassociateMember service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMember">REST API Reference for DisassociateMember Operation</seealso> public virtual DisassociateMemberResponse DisassociateMember(DisassociateMemberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateMemberResponseUnmarshaller.Instance; return Invoke<DisassociateMemberResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DisassociateMember operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateMember operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateMember /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMember">REST API Reference for DisassociateMember Operation</seealso> public virtual IAsyncResult BeginDisassociateMember(DisassociateMemberRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateMemberResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DisassociateMember operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateMember.</param> /// /// <returns>Returns a DisassociateMemberResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMember">REST API Reference for DisassociateMember Operation</seealso> public virtual DisassociateMemberResponse EndDisassociateMember(IAsyncResult asyncResult) { return EndInvoke<DisassociateMemberResponse>(asyncResult); } #endregion #region EnableMacie /// <summary> /// Enables Amazon Macie and specifies the configuration settings for a Macie account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableMacie service method.</param> /// /// <returns>The response from the EnableMacie service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacie">REST API Reference for EnableMacie Operation</seealso> public virtual EnableMacieResponse EnableMacie(EnableMacieRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableMacieRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableMacieResponseUnmarshaller.Instance; return Invoke<EnableMacieResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the EnableMacie operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the EnableMacie operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEnableMacie /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacie">REST API Reference for EnableMacie Operation</seealso> public virtual IAsyncResult BeginEnableMacie(EnableMacieRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = EnableMacieRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableMacieResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the EnableMacie operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginEnableMacie.</param> /// /// <returns>Returns a EnableMacieResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacie">REST API Reference for EnableMacie Operation</seealso> public virtual EnableMacieResponse EndEnableMacie(IAsyncResult asyncResult) { return EndInvoke<EnableMacieResponse>(asyncResult); } #endregion #region EnableOrganizationAdminAccount /// <summary> /// Designates an account as the delegated Amazon Macie administrator account for an organization /// in Organizations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableOrganizationAdminAccount service method.</param> /// /// <returns>The response from the EnableOrganizationAdminAccount service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccount">REST API Reference for EnableOrganizationAdminAccount Operation</seealso> public virtual EnableOrganizationAdminAccountResponse EnableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableOrganizationAdminAccountResponseUnmarshaller.Instance; return Invoke<EnableOrganizationAdminAccountResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the EnableOrganizationAdminAccount operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the EnableOrganizationAdminAccount operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEnableOrganizationAdminAccount /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccount">REST API Reference for EnableOrganizationAdminAccount Operation</seealso> public virtual IAsyncResult BeginEnableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = EnableOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableOrganizationAdminAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the EnableOrganizationAdminAccount operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginEnableOrganizationAdminAccount.</param> /// /// <returns>Returns a EnableOrganizationAdminAccountResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccount">REST API Reference for EnableOrganizationAdminAccount Operation</seealso> public virtual EnableOrganizationAdminAccountResponse EndEnableOrganizationAdminAccount(IAsyncResult asyncResult) { return EndInvoke<EnableOrganizationAdminAccountResponse>(asyncResult); } #endregion #region GetAdministratorAccount /// <summary> /// Retrieves information about the Amazon Macie administrator account for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAdministratorAccount service method.</param> /// /// <returns>The response from the GetAdministratorAccount service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount">REST API Reference for GetAdministratorAccount Operation</seealso> public virtual GetAdministratorAccountResponse GetAdministratorAccount(GetAdministratorAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAdministratorAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAdministratorAccountResponseUnmarshaller.Instance; return Invoke<GetAdministratorAccountResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetAdministratorAccount operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAdministratorAccount operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAdministratorAccount /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount">REST API Reference for GetAdministratorAccount Operation</seealso> public virtual IAsyncResult BeginGetAdministratorAccount(GetAdministratorAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAdministratorAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAdministratorAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetAdministratorAccount operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAdministratorAccount.</param> /// /// <returns>Returns a GetAdministratorAccountResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount">REST API Reference for GetAdministratorAccount Operation</seealso> public virtual GetAdministratorAccountResponse EndGetAdministratorAccount(IAsyncResult asyncResult) { return EndInvoke<GetAdministratorAccountResponse>(asyncResult); } #endregion #region GetAllowList /// <summary> /// Retrieves the settings and status of an allow list. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAllowList service method.</param> /// /// <returns>The response from the GetAllowList service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAllowList">REST API Reference for GetAllowList Operation</seealso> public virtual GetAllowListResponse GetAllowList(GetAllowListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAllowListResponseUnmarshaller.Instance; return Invoke<GetAllowListResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetAllowList operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAllowList operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAllowList /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAllowList">REST API Reference for GetAllowList Operation</seealso> public virtual IAsyncResult BeginGetAllowList(GetAllowListRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAllowListResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetAllowList operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAllowList.</param> /// /// <returns>Returns a GetAllowListResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAllowList">REST API Reference for GetAllowList Operation</seealso> public virtual GetAllowListResponse EndGetAllowList(IAsyncResult asyncResult) { return EndInvoke<GetAllowListResponse>(asyncResult); } #endregion #region GetAutomatedDiscoveryConfiguration /// <summary> /// Retrieves the configuration settings and status of automated sensitive data discovery /// for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAutomatedDiscoveryConfiguration service method.</param> /// /// <returns>The response from the GetAutomatedDiscoveryConfiguration service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAutomatedDiscoveryConfiguration">REST API Reference for GetAutomatedDiscoveryConfiguration Operation</seealso> public virtual GetAutomatedDiscoveryConfigurationResponse GetAutomatedDiscoveryConfiguration(GetAutomatedDiscoveryConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAutomatedDiscoveryConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAutomatedDiscoveryConfigurationResponseUnmarshaller.Instance; return Invoke<GetAutomatedDiscoveryConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetAutomatedDiscoveryConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAutomatedDiscoveryConfiguration operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAutomatedDiscoveryConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAutomatedDiscoveryConfiguration">REST API Reference for GetAutomatedDiscoveryConfiguration Operation</seealso> public virtual IAsyncResult BeginGetAutomatedDiscoveryConfiguration(GetAutomatedDiscoveryConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAutomatedDiscoveryConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAutomatedDiscoveryConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetAutomatedDiscoveryConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAutomatedDiscoveryConfiguration.</param> /// /// <returns>Returns a GetAutomatedDiscoveryConfigurationResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAutomatedDiscoveryConfiguration">REST API Reference for GetAutomatedDiscoveryConfiguration Operation</seealso> public virtual GetAutomatedDiscoveryConfigurationResponse EndGetAutomatedDiscoveryConfiguration(IAsyncResult asyncResult) { return EndInvoke<GetAutomatedDiscoveryConfigurationResponse>(asyncResult); } #endregion #region GetBucketStatistics /// <summary> /// Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon /// Macie monitors and analyzes for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBucketStatistics service method.</param> /// /// <returns>The response from the GetBucketStatistics service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics">REST API Reference for GetBucketStatistics Operation</seealso> public virtual GetBucketStatisticsResponse GetBucketStatistics(GetBucketStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBucketStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBucketStatisticsResponseUnmarshaller.Instance; return Invoke<GetBucketStatisticsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetBucketStatistics operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBucketStatistics operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBucketStatistics /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics">REST API Reference for GetBucketStatistics Operation</seealso> public virtual IAsyncResult BeginGetBucketStatistics(GetBucketStatisticsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetBucketStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBucketStatisticsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetBucketStatistics operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBucketStatistics.</param> /// /// <returns>Returns a GetBucketStatisticsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics">REST API Reference for GetBucketStatistics Operation</seealso> public virtual GetBucketStatisticsResponse EndGetBucketStatistics(IAsyncResult asyncResult) { return EndInvoke<GetBucketStatisticsResponse>(asyncResult); } #endregion #region GetClassificationExportConfiguration /// <summary> /// Retrieves the configuration settings for storing data classification results. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetClassificationExportConfiguration service method.</param> /// /// <returns>The response from the GetClassificationExportConfiguration service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfiguration">REST API Reference for GetClassificationExportConfiguration Operation</seealso> public virtual GetClassificationExportConfigurationResponse GetClassificationExportConfiguration(GetClassificationExportConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetClassificationExportConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetClassificationExportConfigurationResponseUnmarshaller.Instance; return Invoke<GetClassificationExportConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetClassificationExportConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetClassificationExportConfiguration operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetClassificationExportConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfiguration">REST API Reference for GetClassificationExportConfiguration Operation</seealso> public virtual IAsyncResult BeginGetClassificationExportConfiguration(GetClassificationExportConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetClassificationExportConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetClassificationExportConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetClassificationExportConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetClassificationExportConfiguration.</param> /// /// <returns>Returns a GetClassificationExportConfigurationResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfiguration">REST API Reference for GetClassificationExportConfiguration Operation</seealso> public virtual GetClassificationExportConfigurationResponse EndGetClassificationExportConfiguration(IAsyncResult asyncResult) { return EndInvoke<GetClassificationExportConfigurationResponse>(asyncResult); } #endregion #region GetClassificationScope /// <summary> /// Retrieves the classification scope settings for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetClassificationScope service method.</param> /// /// <returns>The response from the GetClassificationScope service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationScope">REST API Reference for GetClassificationScope Operation</seealso> public virtual GetClassificationScopeResponse GetClassificationScope(GetClassificationScopeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetClassificationScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetClassificationScopeResponseUnmarshaller.Instance; return Invoke<GetClassificationScopeResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetClassificationScope operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetClassificationScope operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetClassificationScope /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationScope">REST API Reference for GetClassificationScope Operation</seealso> public virtual IAsyncResult BeginGetClassificationScope(GetClassificationScopeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetClassificationScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetClassificationScopeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetClassificationScope operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetClassificationScope.</param> /// /// <returns>Returns a GetClassificationScopeResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationScope">REST API Reference for GetClassificationScope Operation</seealso> public virtual GetClassificationScopeResponse EndGetClassificationScope(IAsyncResult asyncResult) { return EndInvoke<GetClassificationScopeResponse>(asyncResult); } #endregion #region GetCustomDataIdentifier /// <summary> /// Retrieves the criteria and other settings for a custom data identifier. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetCustomDataIdentifier service method.</param> /// /// <returns>The response from the GetCustomDataIdentifier service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifier">REST API Reference for GetCustomDataIdentifier Operation</seealso> public virtual GetCustomDataIdentifierResponse GetCustomDataIdentifier(GetCustomDataIdentifierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCustomDataIdentifierResponseUnmarshaller.Instance; return Invoke<GetCustomDataIdentifierResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetCustomDataIdentifier operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetCustomDataIdentifier operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCustomDataIdentifier /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifier">REST API Reference for GetCustomDataIdentifier Operation</seealso> public virtual IAsyncResult BeginGetCustomDataIdentifier(GetCustomDataIdentifierRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCustomDataIdentifierResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetCustomDataIdentifier operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetCustomDataIdentifier.</param> /// /// <returns>Returns a GetCustomDataIdentifierResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifier">REST API Reference for GetCustomDataIdentifier Operation</seealso> public virtual GetCustomDataIdentifierResponse EndGetCustomDataIdentifier(IAsyncResult asyncResult) { return EndInvoke<GetCustomDataIdentifierResponse>(asyncResult); } #endregion #region GetFindings /// <summary> /// Retrieves the details of one or more findings. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetFindings service method.</param> /// /// <returns>The response from the GetFindings service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindings">REST API Reference for GetFindings Operation</seealso> public virtual GetFindingsResponse GetFindings(GetFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsResponseUnmarshaller.Instance; return Invoke<GetFindingsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetFindings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetFindings operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFindings /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindings">REST API Reference for GetFindings Operation</seealso> public virtual IAsyncResult BeginGetFindings(GetFindingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetFindings operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetFindings.</param> /// /// <returns>Returns a GetFindingsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindings">REST API Reference for GetFindings Operation</seealso> public virtual GetFindingsResponse EndGetFindings(IAsyncResult asyncResult) { return EndInvoke<GetFindingsResponse>(asyncResult); } #endregion #region GetFindingsFilter /// <summary> /// Retrieves the criteria and other settings for a findings filter. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetFindingsFilter service method.</param> /// /// <returns>The response from the GetFindingsFilter service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilter">REST API Reference for GetFindingsFilter Operation</seealso> public virtual GetFindingsFilterResponse GetFindingsFilter(GetFindingsFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsFilterResponseUnmarshaller.Instance; return Invoke<GetFindingsFilterResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetFindingsFilter operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetFindingsFilter operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFindingsFilter /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilter">REST API Reference for GetFindingsFilter Operation</seealso> public virtual IAsyncResult BeginGetFindingsFilter(GetFindingsFilterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsFilterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetFindingsFilter operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetFindingsFilter.</param> /// /// <returns>Returns a GetFindingsFilterResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilter">REST API Reference for GetFindingsFilter Operation</seealso> public virtual GetFindingsFilterResponse EndGetFindingsFilter(IAsyncResult asyncResult) { return EndInvoke<GetFindingsFilterResponse>(asyncResult); } #endregion #region GetFindingsPublicationConfiguration /// <summary> /// Retrieves the configuration settings for publishing findings to Security Hub. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetFindingsPublicationConfiguration service method.</param> /// /// <returns>The response from the GetFindingsPublicationConfiguration service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration">REST API Reference for GetFindingsPublicationConfiguration Operation</seealso> public virtual GetFindingsPublicationConfigurationResponse GetFindingsPublicationConfiguration(GetFindingsPublicationConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsPublicationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsPublicationConfigurationResponseUnmarshaller.Instance; return Invoke<GetFindingsPublicationConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetFindingsPublicationConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetFindingsPublicationConfiguration operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFindingsPublicationConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration">REST API Reference for GetFindingsPublicationConfiguration Operation</seealso> public virtual IAsyncResult BeginGetFindingsPublicationConfiguration(GetFindingsPublicationConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsPublicationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsPublicationConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetFindingsPublicationConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetFindingsPublicationConfiguration.</param> /// /// <returns>Returns a GetFindingsPublicationConfigurationResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration">REST API Reference for GetFindingsPublicationConfiguration Operation</seealso> public virtual GetFindingsPublicationConfigurationResponse EndGetFindingsPublicationConfiguration(IAsyncResult asyncResult) { return EndInvoke<GetFindingsPublicationConfigurationResponse>(asyncResult); } #endregion #region GetFindingStatistics /// <summary> /// Retrieves (queries) aggregated statistical data about findings. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetFindingStatistics service method.</param> /// /// <returns>The response from the GetFindingStatistics service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatistics">REST API Reference for GetFindingStatistics Operation</seealso> public virtual GetFindingStatisticsResponse GetFindingStatistics(GetFindingStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingStatisticsResponseUnmarshaller.Instance; return Invoke<GetFindingStatisticsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetFindingStatistics operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetFindingStatistics operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFindingStatistics /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatistics">REST API Reference for GetFindingStatistics Operation</seealso> public virtual IAsyncResult BeginGetFindingStatistics(GetFindingStatisticsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingStatisticsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetFindingStatistics operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetFindingStatistics.</param> /// /// <returns>Returns a GetFindingStatisticsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatistics">REST API Reference for GetFindingStatistics Operation</seealso> public virtual GetFindingStatisticsResponse EndGetFindingStatistics(IAsyncResult asyncResult) { return EndInvoke<GetFindingStatisticsResponse>(asyncResult); } #endregion #region GetInvitationsCount /// <summary> /// Retrieves the count of Amazon Macie membership invitations that were received by an /// account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetInvitationsCount service method.</param> /// /// <returns>The response from the GetInvitationsCount service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCount">REST API Reference for GetInvitationsCount Operation</seealso> public virtual GetInvitationsCountResponse GetInvitationsCount(GetInvitationsCountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetInvitationsCountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInvitationsCountResponseUnmarshaller.Instance; return Invoke<GetInvitationsCountResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetInvitationsCount operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetInvitationsCount operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetInvitationsCount /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCount">REST API Reference for GetInvitationsCount Operation</seealso> public virtual IAsyncResult BeginGetInvitationsCount(GetInvitationsCountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetInvitationsCountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInvitationsCountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetInvitationsCount operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetInvitationsCount.</param> /// /// <returns>Returns a GetInvitationsCountResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCount">REST API Reference for GetInvitationsCount Operation</seealso> public virtual GetInvitationsCountResponse EndGetInvitationsCount(IAsyncResult asyncResult) { return EndInvoke<GetInvitationsCountResponse>(asyncResult); } #endregion #region GetMacieSession /// <summary> /// Retrieves the status and configuration settings for an Amazon Macie account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMacieSession service method.</param> /// /// <returns>The response from the GetMacieSession service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSession">REST API Reference for GetMacieSession Operation</seealso> public virtual GetMacieSessionResponse GetMacieSession(GetMacieSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMacieSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMacieSessionResponseUnmarshaller.Instance; return Invoke<GetMacieSessionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetMacieSession operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetMacieSession operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMacieSession /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSession">REST API Reference for GetMacieSession Operation</seealso> public virtual IAsyncResult BeginGetMacieSession(GetMacieSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMacieSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMacieSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetMacieSession operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetMacieSession.</param> /// /// <returns>Returns a GetMacieSessionResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSession">REST API Reference for GetMacieSession Operation</seealso> public virtual GetMacieSessionResponse EndGetMacieSession(IAsyncResult asyncResult) { return EndInvoke<GetMacieSessionResponse>(asyncResult); } #endregion #region GetMasterAccount /// <summary> /// (Deprecated) Retrieves information about the Amazon Macie administrator account for /// an account. This operation has been replaced by the <link linkend="GetAdministratorAccount">GetAdministratorAccount</link> /// operation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMasterAccount service method.</param> /// /// <returns>The response from the GetMasterAccount service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount">REST API Reference for GetMasterAccount Operation</seealso> public virtual GetMasterAccountResponse GetMasterAccount(GetMasterAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMasterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMasterAccountResponseUnmarshaller.Instance; return Invoke<GetMasterAccountResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetMasterAccount operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetMasterAccount operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMasterAccount /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount">REST API Reference for GetMasterAccount Operation</seealso> public virtual IAsyncResult BeginGetMasterAccount(GetMasterAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMasterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMasterAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetMasterAccount operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetMasterAccount.</param> /// /// <returns>Returns a GetMasterAccountResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount">REST API Reference for GetMasterAccount Operation</seealso> public virtual GetMasterAccountResponse EndGetMasterAccount(IAsyncResult asyncResult) { return EndInvoke<GetMasterAccountResponse>(asyncResult); } #endregion #region GetMember /// <summary> /// Retrieves information about an account that's associated with an Amazon Macie administrator /// account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMember service method.</param> /// /// <returns>The response from the GetMember service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMember">REST API Reference for GetMember Operation</seealso> public virtual GetMemberResponse GetMember(GetMemberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMemberResponseUnmarshaller.Instance; return Invoke<GetMemberResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetMember operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetMember operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMember /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMember">REST API Reference for GetMember Operation</seealso> public virtual IAsyncResult BeginGetMember(GetMemberRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMemberResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetMember operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetMember.</param> /// /// <returns>Returns a GetMemberResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMember">REST API Reference for GetMember Operation</seealso> public virtual GetMemberResponse EndGetMember(IAsyncResult asyncResult) { return EndInvoke<GetMemberResponse>(asyncResult); } #endregion #region GetResourceProfile /// <summary> /// Retrieves (queries) sensitive data discovery statistics and the sensitivity score /// for an S3 bucket. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetResourceProfile service method.</param> /// /// <returns>The response from the GetResourceProfile service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetResourceProfile">REST API Reference for GetResourceProfile Operation</seealso> public virtual GetResourceProfileResponse GetResourceProfile(GetResourceProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceProfileResponseUnmarshaller.Instance; return Invoke<GetResourceProfileResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetResourceProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetResourceProfile operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetResourceProfile /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetResourceProfile">REST API Reference for GetResourceProfile Operation</seealso> public virtual IAsyncResult BeginGetResourceProfile(GetResourceProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetResourceProfile operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetResourceProfile.</param> /// /// <returns>Returns a GetResourceProfileResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetResourceProfile">REST API Reference for GetResourceProfile Operation</seealso> public virtual GetResourceProfileResponse EndGetResourceProfile(IAsyncResult asyncResult) { return EndInvoke<GetResourceProfileResponse>(asyncResult); } #endregion #region GetRevealConfiguration /// <summary> /// Retrieves the status and configuration settings for retrieving occurrences of sensitive /// data reported by findings. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetRevealConfiguration service method.</param> /// /// <returns>The response from the GetRevealConfiguration service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetRevealConfiguration">REST API Reference for GetRevealConfiguration Operation</seealso> public virtual GetRevealConfigurationResponse GetRevealConfiguration(GetRevealConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRevealConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRevealConfigurationResponseUnmarshaller.Instance; return Invoke<GetRevealConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetRevealConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetRevealConfiguration operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRevealConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetRevealConfiguration">REST API Reference for GetRevealConfiguration Operation</seealso> public virtual IAsyncResult BeginGetRevealConfiguration(GetRevealConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetRevealConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRevealConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetRevealConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetRevealConfiguration.</param> /// /// <returns>Returns a GetRevealConfigurationResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetRevealConfiguration">REST API Reference for GetRevealConfiguration Operation</seealso> public virtual GetRevealConfigurationResponse EndGetRevealConfiguration(IAsyncResult asyncResult) { return EndInvoke<GetRevealConfigurationResponse>(asyncResult); } #endregion #region GetSensitiveDataOccurrences /// <summary> /// Retrieves occurrences of sensitive data reported by a finding. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetSensitiveDataOccurrences service method.</param> /// /// <returns>The response from the GetSensitiveDataOccurrences service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.UnprocessableEntityException"> /// Provides information about an error that occurred due to an unprocessable entity. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitiveDataOccurrences">REST API Reference for GetSensitiveDataOccurrences Operation</seealso> public virtual GetSensitiveDataOccurrencesResponse GetSensitiveDataOccurrences(GetSensitiveDataOccurrencesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSensitiveDataOccurrencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSensitiveDataOccurrencesResponseUnmarshaller.Instance; return Invoke<GetSensitiveDataOccurrencesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetSensitiveDataOccurrences operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetSensitiveDataOccurrences operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSensitiveDataOccurrences /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitiveDataOccurrences">REST API Reference for GetSensitiveDataOccurrences Operation</seealso> public virtual IAsyncResult BeginGetSensitiveDataOccurrences(GetSensitiveDataOccurrencesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSensitiveDataOccurrencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSensitiveDataOccurrencesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetSensitiveDataOccurrences operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSensitiveDataOccurrences.</param> /// /// <returns>Returns a GetSensitiveDataOccurrencesResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitiveDataOccurrences">REST API Reference for GetSensitiveDataOccurrences Operation</seealso> public virtual GetSensitiveDataOccurrencesResponse EndGetSensitiveDataOccurrences(IAsyncResult asyncResult) { return EndInvoke<GetSensitiveDataOccurrencesResponse>(asyncResult); } #endregion #region GetSensitiveDataOccurrencesAvailability /// <summary> /// Checks whether occurrences of sensitive data can be retrieved for a finding. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetSensitiveDataOccurrencesAvailability service method.</param> /// /// <returns>The response from the GetSensitiveDataOccurrencesAvailability service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitiveDataOccurrencesAvailability">REST API Reference for GetSensitiveDataOccurrencesAvailability Operation</seealso> public virtual GetSensitiveDataOccurrencesAvailabilityResponse GetSensitiveDataOccurrencesAvailability(GetSensitiveDataOccurrencesAvailabilityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSensitiveDataOccurrencesAvailabilityRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSensitiveDataOccurrencesAvailabilityResponseUnmarshaller.Instance; return Invoke<GetSensitiveDataOccurrencesAvailabilityResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetSensitiveDataOccurrencesAvailability operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetSensitiveDataOccurrencesAvailability operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSensitiveDataOccurrencesAvailability /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitiveDataOccurrencesAvailability">REST API Reference for GetSensitiveDataOccurrencesAvailability Operation</seealso> public virtual IAsyncResult BeginGetSensitiveDataOccurrencesAvailability(GetSensitiveDataOccurrencesAvailabilityRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSensitiveDataOccurrencesAvailabilityRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSensitiveDataOccurrencesAvailabilityResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetSensitiveDataOccurrencesAvailability operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSensitiveDataOccurrencesAvailability.</param> /// /// <returns>Returns a GetSensitiveDataOccurrencesAvailabilityResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitiveDataOccurrencesAvailability">REST API Reference for GetSensitiveDataOccurrencesAvailability Operation</seealso> public virtual GetSensitiveDataOccurrencesAvailabilityResponse EndGetSensitiveDataOccurrencesAvailability(IAsyncResult asyncResult) { return EndInvoke<GetSensitiveDataOccurrencesAvailabilityResponse>(asyncResult); } #endregion #region GetSensitivityInspectionTemplate /// <summary> /// Retrieves the settings for the sensitivity inspection template for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetSensitivityInspectionTemplate service method.</param> /// /// <returns>The response from the GetSensitivityInspectionTemplate service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitivityInspectionTemplate">REST API Reference for GetSensitivityInspectionTemplate Operation</seealso> public virtual GetSensitivityInspectionTemplateResponse GetSensitivityInspectionTemplate(GetSensitivityInspectionTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSensitivityInspectionTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSensitivityInspectionTemplateResponseUnmarshaller.Instance; return Invoke<GetSensitivityInspectionTemplateResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetSensitivityInspectionTemplate operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetSensitivityInspectionTemplate operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSensitivityInspectionTemplate /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitivityInspectionTemplate">REST API Reference for GetSensitivityInspectionTemplate Operation</seealso> public virtual IAsyncResult BeginGetSensitivityInspectionTemplate(GetSensitivityInspectionTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSensitivityInspectionTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSensitivityInspectionTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetSensitivityInspectionTemplate operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSensitivityInspectionTemplate.</param> /// /// <returns>Returns a GetSensitivityInspectionTemplateResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitivityInspectionTemplate">REST API Reference for GetSensitivityInspectionTemplate Operation</seealso> public virtual GetSensitivityInspectionTemplateResponse EndGetSensitivityInspectionTemplate(IAsyncResult asyncResult) { return EndInvoke<GetSensitivityInspectionTemplateResponse>(asyncResult); } #endregion #region GetUsageStatistics /// <summary> /// Retrieves (queries) quotas and aggregated usage data for one or more accounts. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetUsageStatistics service method.</param> /// /// <returns>The response from the GetUsageStatistics service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics">REST API Reference for GetUsageStatistics Operation</seealso> public virtual GetUsageStatisticsResponse GetUsageStatistics(GetUsageStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsageStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsageStatisticsResponseUnmarshaller.Instance; return Invoke<GetUsageStatisticsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetUsageStatistics operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetUsageStatistics operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUsageStatistics /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics">REST API Reference for GetUsageStatistics Operation</seealso> public virtual IAsyncResult BeginGetUsageStatistics(GetUsageStatisticsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsageStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsageStatisticsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetUsageStatistics operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetUsageStatistics.</param> /// /// <returns>Returns a GetUsageStatisticsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics">REST API Reference for GetUsageStatistics Operation</seealso> public virtual GetUsageStatisticsResponse EndGetUsageStatistics(IAsyncResult asyncResult) { return EndInvoke<GetUsageStatisticsResponse>(asyncResult); } #endregion #region GetUsageTotals /// <summary> /// Retrieves (queries) aggregated usage data for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetUsageTotals service method.</param> /// /// <returns>The response from the GetUsageTotals service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotals">REST API Reference for GetUsageTotals Operation</seealso> public virtual GetUsageTotalsResponse GetUsageTotals(GetUsageTotalsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsageTotalsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsageTotalsResponseUnmarshaller.Instance; return Invoke<GetUsageTotalsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetUsageTotals operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetUsageTotals operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUsageTotals /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotals">REST API Reference for GetUsageTotals Operation</seealso> public virtual IAsyncResult BeginGetUsageTotals(GetUsageTotalsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsageTotalsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsageTotalsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetUsageTotals operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetUsageTotals.</param> /// /// <returns>Returns a GetUsageTotalsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotals">REST API Reference for GetUsageTotals Operation</seealso> public virtual GetUsageTotalsResponse EndGetUsageTotals(IAsyncResult asyncResult) { return EndInvoke<GetUsageTotalsResponse>(asyncResult); } #endregion #region ListAllowLists /// <summary> /// Retrieves a subset of information about all the allow lists for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAllowLists service method.</param> /// /// <returns>The response from the ListAllowLists service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListAllowLists">REST API Reference for ListAllowLists Operation</seealso> public virtual ListAllowListsResponse ListAllowLists(ListAllowListsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAllowListsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAllowListsResponseUnmarshaller.Instance; return Invoke<ListAllowListsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListAllowLists operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAllowLists operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAllowLists /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListAllowLists">REST API Reference for ListAllowLists Operation</seealso> public virtual IAsyncResult BeginListAllowLists(ListAllowListsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAllowListsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAllowListsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListAllowLists operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAllowLists.</param> /// /// <returns>Returns a ListAllowListsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListAllowLists">REST API Reference for ListAllowLists Operation</seealso> public virtual ListAllowListsResponse EndListAllowLists(IAsyncResult asyncResult) { return EndInvoke<ListAllowListsResponse>(asyncResult); } #endregion #region ListClassificationJobs /// <summary> /// Retrieves a subset of information about one or more classification jobs. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListClassificationJobs service method.</param> /// /// <returns>The response from the ListClassificationJobs service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs">REST API Reference for ListClassificationJobs Operation</seealso> public virtual ListClassificationJobsResponse ListClassificationJobs(ListClassificationJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListClassificationJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClassificationJobsResponseUnmarshaller.Instance; return Invoke<ListClassificationJobsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListClassificationJobs operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListClassificationJobs operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListClassificationJobs /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs">REST API Reference for ListClassificationJobs Operation</seealso> public virtual IAsyncResult BeginListClassificationJobs(ListClassificationJobsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListClassificationJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClassificationJobsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListClassificationJobs operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListClassificationJobs.</param> /// /// <returns>Returns a ListClassificationJobsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs">REST API Reference for ListClassificationJobs Operation</seealso> public virtual ListClassificationJobsResponse EndListClassificationJobs(IAsyncResult asyncResult) { return EndInvoke<ListClassificationJobsResponse>(asyncResult); } #endregion #region ListClassificationScopes /// <summary> /// Retrieves a subset of information about the classification scope for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListClassificationScopes service method.</param> /// /// <returns>The response from the ListClassificationScopes service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationScopes">REST API Reference for ListClassificationScopes Operation</seealso> public virtual ListClassificationScopesResponse ListClassificationScopes(ListClassificationScopesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListClassificationScopesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClassificationScopesResponseUnmarshaller.Instance; return Invoke<ListClassificationScopesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListClassificationScopes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListClassificationScopes operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListClassificationScopes /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationScopes">REST API Reference for ListClassificationScopes Operation</seealso> public virtual IAsyncResult BeginListClassificationScopes(ListClassificationScopesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListClassificationScopesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClassificationScopesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListClassificationScopes operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListClassificationScopes.</param> /// /// <returns>Returns a ListClassificationScopesResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationScopes">REST API Reference for ListClassificationScopes Operation</seealso> public virtual ListClassificationScopesResponse EndListClassificationScopes(IAsyncResult asyncResult) { return EndInvoke<ListClassificationScopesResponse>(asyncResult); } #endregion #region ListCustomDataIdentifiers /// <summary> /// Retrieves a subset of information about all the custom data identifiers for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListCustomDataIdentifiers service method.</param> /// /// <returns>The response from the ListCustomDataIdentifiers service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiers">REST API Reference for ListCustomDataIdentifiers Operation</seealso> public virtual ListCustomDataIdentifiersResponse ListCustomDataIdentifiers(ListCustomDataIdentifiersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomDataIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomDataIdentifiersResponseUnmarshaller.Instance; return Invoke<ListCustomDataIdentifiersResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListCustomDataIdentifiers operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListCustomDataIdentifiers operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCustomDataIdentifiers /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiers">REST API Reference for ListCustomDataIdentifiers Operation</seealso> public virtual IAsyncResult BeginListCustomDataIdentifiers(ListCustomDataIdentifiersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomDataIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomDataIdentifiersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListCustomDataIdentifiers operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListCustomDataIdentifiers.</param> /// /// <returns>Returns a ListCustomDataIdentifiersResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiers">REST API Reference for ListCustomDataIdentifiers Operation</seealso> public virtual ListCustomDataIdentifiersResponse EndListCustomDataIdentifiers(IAsyncResult asyncResult) { return EndInvoke<ListCustomDataIdentifiersResponse>(asyncResult); } #endregion #region ListFindings /// <summary> /// Retrieves a subset of information about one or more findings. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListFindings service method.</param> /// /// <returns>The response from the ListFindings service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindings">REST API Reference for ListFindings Operation</seealso> public virtual ListFindingsResponse ListFindings(ListFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFindingsResponseUnmarshaller.Instance; return Invoke<ListFindingsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListFindings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListFindings operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFindings /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindings">REST API Reference for ListFindings Operation</seealso> public virtual IAsyncResult BeginListFindings(ListFindingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFindingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListFindings operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListFindings.</param> /// /// <returns>Returns a ListFindingsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindings">REST API Reference for ListFindings Operation</seealso> public virtual ListFindingsResponse EndListFindings(IAsyncResult asyncResult) { return EndInvoke<ListFindingsResponse>(asyncResult); } #endregion #region ListFindingsFilters /// <summary> /// Retrieves a subset of information about all the findings filters for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListFindingsFilters service method.</param> /// /// <returns>The response from the ListFindingsFilters service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFilters">REST API Reference for ListFindingsFilters Operation</seealso> public virtual ListFindingsFiltersResponse ListFindingsFilters(ListFindingsFiltersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFindingsFiltersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFindingsFiltersResponseUnmarshaller.Instance; return Invoke<ListFindingsFiltersResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListFindingsFilters operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListFindingsFilters operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFindingsFilters /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFilters">REST API Reference for ListFindingsFilters Operation</seealso> public virtual IAsyncResult BeginListFindingsFilters(ListFindingsFiltersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFindingsFiltersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFindingsFiltersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListFindingsFilters operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListFindingsFilters.</param> /// /// <returns>Returns a ListFindingsFiltersResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFilters">REST API Reference for ListFindingsFilters Operation</seealso> public virtual ListFindingsFiltersResponse EndListFindingsFilters(IAsyncResult asyncResult) { return EndInvoke<ListFindingsFiltersResponse>(asyncResult); } #endregion #region ListInvitations /// <summary> /// Retrieves information about the Amazon Macie membership invitations that were received /// by an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListInvitations service method.</param> /// /// <returns>The response from the ListInvitations service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations">REST API Reference for ListInvitations Operation</seealso> public virtual ListInvitationsResponse ListInvitations(ListInvitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInvitationsResponseUnmarshaller.Instance; return Invoke<ListInvitationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListInvitations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListInvitations operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListInvitations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations">REST API Reference for ListInvitations Operation</seealso> public virtual IAsyncResult BeginListInvitations(ListInvitationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInvitationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListInvitations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListInvitations.</param> /// /// <returns>Returns a ListInvitationsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations">REST API Reference for ListInvitations Operation</seealso> public virtual ListInvitationsResponse EndListInvitations(IAsyncResult asyncResult) { return EndInvoke<ListInvitationsResponse>(asyncResult); } #endregion #region ListManagedDataIdentifiers /// <summary> /// Retrieves information about all the managed data identifiers that Amazon Macie currently /// provides. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListManagedDataIdentifiers service method.</param> /// /// <returns>The response from the ListManagedDataIdentifiers service method, as returned by Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiers">REST API Reference for ListManagedDataIdentifiers Operation</seealso> public virtual ListManagedDataIdentifiersResponse ListManagedDataIdentifiers(ListManagedDataIdentifiersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListManagedDataIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListManagedDataIdentifiersResponseUnmarshaller.Instance; return Invoke<ListManagedDataIdentifiersResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListManagedDataIdentifiers operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListManagedDataIdentifiers operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListManagedDataIdentifiers /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiers">REST API Reference for ListManagedDataIdentifiers Operation</seealso> public virtual IAsyncResult BeginListManagedDataIdentifiers(ListManagedDataIdentifiersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListManagedDataIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListManagedDataIdentifiersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListManagedDataIdentifiers operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListManagedDataIdentifiers.</param> /// /// <returns>Returns a ListManagedDataIdentifiersResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiers">REST API Reference for ListManagedDataIdentifiers Operation</seealso> public virtual ListManagedDataIdentifiersResponse EndListManagedDataIdentifiers(IAsyncResult asyncResult) { return EndInvoke<ListManagedDataIdentifiersResponse>(asyncResult); } #endregion #region ListMembers /// <summary> /// Retrieves information about the accounts that are associated with an Amazon Macie /// administrator account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param> /// /// <returns>The response from the ListMembers service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembers">REST API Reference for ListMembers Operation</seealso> public virtual ListMembersResponse ListMembers(ListMembersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance; return Invoke<ListMembersResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListMembers operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListMembers operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListMembers /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembers">REST API Reference for ListMembers Operation</seealso> public virtual IAsyncResult BeginListMembers(ListMembersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListMembers operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListMembers.</param> /// /// <returns>Returns a ListMembersResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembers">REST API Reference for ListMembers Operation</seealso> public virtual ListMembersResponse EndListMembers(IAsyncResult asyncResult) { return EndInvoke<ListMembersResponse>(asyncResult); } #endregion #region ListOrganizationAdminAccounts /// <summary> /// Retrieves information about the delegated Amazon Macie administrator account for an /// organization in Organizations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListOrganizationAdminAccounts service method.</param> /// /// <returns>The response from the ListOrganizationAdminAccounts service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccounts">REST API Reference for ListOrganizationAdminAccounts Operation</seealso> public virtual ListOrganizationAdminAccountsResponse ListOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListOrganizationAdminAccountsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOrganizationAdminAccountsResponseUnmarshaller.Instance; return Invoke<ListOrganizationAdminAccountsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListOrganizationAdminAccounts operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListOrganizationAdminAccounts operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListOrganizationAdminAccounts /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccounts">REST API Reference for ListOrganizationAdminAccounts Operation</seealso> public virtual IAsyncResult BeginListOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListOrganizationAdminAccountsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOrganizationAdminAccountsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListOrganizationAdminAccounts operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListOrganizationAdminAccounts.</param> /// /// <returns>Returns a ListOrganizationAdminAccountsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccounts">REST API Reference for ListOrganizationAdminAccounts Operation</seealso> public virtual ListOrganizationAdminAccountsResponse EndListOrganizationAdminAccounts(IAsyncResult asyncResult) { return EndInvoke<ListOrganizationAdminAccountsResponse>(asyncResult); } #endregion #region ListResourceProfileArtifacts /// <summary> /// Retrieves information about objects that were selected from an S3 bucket for automated /// sensitive data discovery. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListResourceProfileArtifacts service method.</param> /// /// <returns>The response from the ListResourceProfileArtifacts service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileArtifacts">REST API Reference for ListResourceProfileArtifacts Operation</seealso> public virtual ListResourceProfileArtifactsResponse ListResourceProfileArtifacts(ListResourceProfileArtifactsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceProfileArtifactsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceProfileArtifactsResponseUnmarshaller.Instance; return Invoke<ListResourceProfileArtifactsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListResourceProfileArtifacts operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListResourceProfileArtifacts operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListResourceProfileArtifacts /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileArtifacts">REST API Reference for ListResourceProfileArtifacts Operation</seealso> public virtual IAsyncResult BeginListResourceProfileArtifacts(ListResourceProfileArtifactsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceProfileArtifactsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceProfileArtifactsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListResourceProfileArtifacts operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListResourceProfileArtifacts.</param> /// /// <returns>Returns a ListResourceProfileArtifactsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileArtifacts">REST API Reference for ListResourceProfileArtifacts Operation</seealso> public virtual ListResourceProfileArtifactsResponse EndListResourceProfileArtifacts(IAsyncResult asyncResult) { return EndInvoke<ListResourceProfileArtifactsResponse>(asyncResult); } #endregion #region ListResourceProfileDetections /// <summary> /// Retrieves information about the types and amount of sensitive data that Amazon Macie /// found in an S3 bucket. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListResourceProfileDetections service method.</param> /// /// <returns>The response from the ListResourceProfileDetections service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileDetections">REST API Reference for ListResourceProfileDetections Operation</seealso> public virtual ListResourceProfileDetectionsResponse ListResourceProfileDetections(ListResourceProfileDetectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceProfileDetectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceProfileDetectionsResponseUnmarshaller.Instance; return Invoke<ListResourceProfileDetectionsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListResourceProfileDetections operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListResourceProfileDetections operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListResourceProfileDetections /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileDetections">REST API Reference for ListResourceProfileDetections Operation</seealso> public virtual IAsyncResult BeginListResourceProfileDetections(ListResourceProfileDetectionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceProfileDetectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceProfileDetectionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListResourceProfileDetections operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListResourceProfileDetections.</param> /// /// <returns>Returns a ListResourceProfileDetectionsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileDetections">REST API Reference for ListResourceProfileDetections Operation</seealso> public virtual ListResourceProfileDetectionsResponse EndListResourceProfileDetections(IAsyncResult asyncResult) { return EndInvoke<ListResourceProfileDetectionsResponse>(asyncResult); } #endregion #region ListSensitivityInspectionTemplates /// <summary> /// Retrieves a subset of information about the sensitivity inspection template for an /// account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListSensitivityInspectionTemplates service method.</param> /// /// <returns>The response from the ListSensitivityInspectionTemplates service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListSensitivityInspectionTemplates">REST API Reference for ListSensitivityInspectionTemplates Operation</seealso> public virtual ListSensitivityInspectionTemplatesResponse ListSensitivityInspectionTemplates(ListSensitivityInspectionTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSensitivityInspectionTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSensitivityInspectionTemplatesResponseUnmarshaller.Instance; return Invoke<ListSensitivityInspectionTemplatesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListSensitivityInspectionTemplates operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListSensitivityInspectionTemplates operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSensitivityInspectionTemplates /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListSensitivityInspectionTemplates">REST API Reference for ListSensitivityInspectionTemplates Operation</seealso> public virtual IAsyncResult BeginListSensitivityInspectionTemplates(ListSensitivityInspectionTemplatesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSensitivityInspectionTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSensitivityInspectionTemplatesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListSensitivityInspectionTemplates operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListSensitivityInspectionTemplates.</param> /// /// <returns>Returns a ListSensitivityInspectionTemplatesResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListSensitivityInspectionTemplates">REST API Reference for ListSensitivityInspectionTemplates Operation</seealso> public virtual ListSensitivityInspectionTemplatesResponse EndListSensitivityInspectionTemplates(IAsyncResult asyncResult) { return EndInvoke<ListSensitivityInspectionTemplatesResponse>(asyncResult); } #endregion #region ListTagsForResource /// <summary> /// Retrieves the tags (keys and values) that are associated with an Amazon Macie resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke<ListTagsForResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param> /// /// <returns>Returns a ListTagsForResourceResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke<ListTagsForResourceResponse>(asyncResult); } #endregion #region PutClassificationExportConfiguration /// <summary> /// Creates or updates the configuration settings for storing data classification results. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutClassificationExportConfiguration service method.</param> /// /// <returns>The response from the PutClassificationExportConfiguration service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration">REST API Reference for PutClassificationExportConfiguration Operation</seealso> public virtual PutClassificationExportConfigurationResponse PutClassificationExportConfiguration(PutClassificationExportConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutClassificationExportConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutClassificationExportConfigurationResponseUnmarshaller.Instance; return Invoke<PutClassificationExportConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the PutClassificationExportConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutClassificationExportConfiguration operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutClassificationExportConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration">REST API Reference for PutClassificationExportConfiguration Operation</seealso> public virtual IAsyncResult BeginPutClassificationExportConfiguration(PutClassificationExportConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutClassificationExportConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutClassificationExportConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the PutClassificationExportConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutClassificationExportConfiguration.</param> /// /// <returns>Returns a PutClassificationExportConfigurationResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration">REST API Reference for PutClassificationExportConfiguration Operation</seealso> public virtual PutClassificationExportConfigurationResponse EndPutClassificationExportConfiguration(IAsyncResult asyncResult) { return EndInvoke<PutClassificationExportConfigurationResponse>(asyncResult); } #endregion #region PutFindingsPublicationConfiguration /// <summary> /// Updates the configuration settings for publishing findings to Security Hub. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutFindingsPublicationConfiguration service method.</param> /// /// <returns>The response from the PutFindingsPublicationConfiguration service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration">REST API Reference for PutFindingsPublicationConfiguration Operation</seealso> public virtual PutFindingsPublicationConfigurationResponse PutFindingsPublicationConfiguration(PutFindingsPublicationConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutFindingsPublicationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutFindingsPublicationConfigurationResponseUnmarshaller.Instance; return Invoke<PutFindingsPublicationConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the PutFindingsPublicationConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutFindingsPublicationConfiguration operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutFindingsPublicationConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration">REST API Reference for PutFindingsPublicationConfiguration Operation</seealso> public virtual IAsyncResult BeginPutFindingsPublicationConfiguration(PutFindingsPublicationConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutFindingsPublicationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutFindingsPublicationConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the PutFindingsPublicationConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutFindingsPublicationConfiguration.</param> /// /// <returns>Returns a PutFindingsPublicationConfigurationResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration">REST API Reference for PutFindingsPublicationConfiguration Operation</seealso> public virtual PutFindingsPublicationConfigurationResponse EndPutFindingsPublicationConfiguration(IAsyncResult asyncResult) { return EndInvoke<PutFindingsPublicationConfigurationResponse>(asyncResult); } #endregion #region SearchResources /// <summary> /// Retrieves (queries) statistical data and other information about Amazon Web Services /// resources that Amazon Macie monitors and analyzes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchResources service method.</param> /// /// <returns>The response from the SearchResources service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources">REST API Reference for SearchResources Operation</seealso> public virtual SearchResourcesResponse SearchResources(SearchResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchResourcesResponseUnmarshaller.Instance; return Invoke<SearchResourcesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the SearchResources operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the SearchResources operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSearchResources /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources">REST API Reference for SearchResources Operation</seealso> public virtual IAsyncResult BeginSearchResources(SearchResourcesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SearchResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchResourcesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the SearchResources operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginSearchResources.</param> /// /// <returns>Returns a SearchResourcesResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources">REST API Reference for SearchResources Operation</seealso> public virtual SearchResourcesResponse EndSearchResources(IAsyncResult asyncResult) { return EndInvoke<SearchResourcesResponse>(asyncResult); } #endregion #region TagResource /// <summary> /// Adds or updates one or more tags (keys and values) that are associated with an Amazon /// Macie resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke<TagResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource">REST API Reference for TagResource Operation</seealso> public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param> /// /// <returns>Returns a TagResourceResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke<TagResourceResponse>(asyncResult); } #endregion #region TestCustomDataIdentifier /// <summary> /// Tests a custom data identifier. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TestCustomDataIdentifier service method.</param> /// /// <returns>The response from the TestCustomDataIdentifier service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier">REST API Reference for TestCustomDataIdentifier Operation</seealso> public virtual TestCustomDataIdentifierResponse TestCustomDataIdentifier(TestCustomDataIdentifierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TestCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = TestCustomDataIdentifierResponseUnmarshaller.Instance; return Invoke<TestCustomDataIdentifierResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the TestCustomDataIdentifier operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the TestCustomDataIdentifier operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTestCustomDataIdentifier /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier">REST API Reference for TestCustomDataIdentifier Operation</seealso> public virtual IAsyncResult BeginTestCustomDataIdentifier(TestCustomDataIdentifierRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TestCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = TestCustomDataIdentifierResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the TestCustomDataIdentifier operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginTestCustomDataIdentifier.</param> /// /// <returns>Returns a TestCustomDataIdentifierResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier">REST API Reference for TestCustomDataIdentifier Operation</seealso> public virtual TestCustomDataIdentifierResponse EndTestCustomDataIdentifier(IAsyncResult asyncResult) { return EndInvoke<TestCustomDataIdentifierResponse>(asyncResult); } #endregion #region UntagResource /// <summary> /// Removes one or more tags (keys and values) from an Amazon Macie resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke<UntagResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param> /// /// <returns>Returns a UntagResourceResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke<UntagResourceResponse>(asyncResult); } #endregion #region UpdateAllowList /// <summary> /// Updates the settings for an allow list. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAllowList service method.</param> /// /// <returns>The response from the UpdateAllowList service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowList">REST API Reference for UpdateAllowList Operation</seealso> public virtual UpdateAllowListResponse UpdateAllowList(UpdateAllowListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAllowListResponseUnmarshaller.Instance; return Invoke<UpdateAllowListResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateAllowList operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateAllowList operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAllowList /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowList">REST API Reference for UpdateAllowList Operation</seealso> public virtual IAsyncResult BeginUpdateAllowList(UpdateAllowListRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAllowListResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateAllowList operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAllowList.</param> /// /// <returns>Returns a UpdateAllowListResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowList">REST API Reference for UpdateAllowList Operation</seealso> public virtual UpdateAllowListResponse EndUpdateAllowList(IAsyncResult asyncResult) { return EndInvoke<UpdateAllowListResponse>(asyncResult); } #endregion #region UpdateAutomatedDiscoveryConfiguration /// <summary> /// Enables or disables automated sensitive data discovery for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAutomatedDiscoveryConfiguration service method.</param> /// /// <returns>The response from the UpdateAutomatedDiscoveryConfiguration service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAutomatedDiscoveryConfiguration">REST API Reference for UpdateAutomatedDiscoveryConfiguration Operation</seealso> public virtual UpdateAutomatedDiscoveryConfigurationResponse UpdateAutomatedDiscoveryConfiguration(UpdateAutomatedDiscoveryConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAutomatedDiscoveryConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAutomatedDiscoveryConfigurationResponseUnmarshaller.Instance; return Invoke<UpdateAutomatedDiscoveryConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateAutomatedDiscoveryConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateAutomatedDiscoveryConfiguration operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAutomatedDiscoveryConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAutomatedDiscoveryConfiguration">REST API Reference for UpdateAutomatedDiscoveryConfiguration Operation</seealso> public virtual IAsyncResult BeginUpdateAutomatedDiscoveryConfiguration(UpdateAutomatedDiscoveryConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAutomatedDiscoveryConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAutomatedDiscoveryConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateAutomatedDiscoveryConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAutomatedDiscoveryConfiguration.</param> /// /// <returns>Returns a UpdateAutomatedDiscoveryConfigurationResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAutomatedDiscoveryConfiguration">REST API Reference for UpdateAutomatedDiscoveryConfiguration Operation</seealso> public virtual UpdateAutomatedDiscoveryConfigurationResponse EndUpdateAutomatedDiscoveryConfiguration(IAsyncResult asyncResult) { return EndInvoke<UpdateAutomatedDiscoveryConfigurationResponse>(asyncResult); } #endregion #region UpdateClassificationJob /// <summary> /// Changes the status of a classification job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateClassificationJob service method.</param> /// /// <returns>The response from the UpdateClassificationJob service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob">REST API Reference for UpdateClassificationJob Operation</seealso> public virtual UpdateClassificationJobResponse UpdateClassificationJob(UpdateClassificationJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateClassificationJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateClassificationJobResponseUnmarshaller.Instance; return Invoke<UpdateClassificationJobResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateClassificationJob operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateClassificationJob operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateClassificationJob /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob">REST API Reference for UpdateClassificationJob Operation</seealso> public virtual IAsyncResult BeginUpdateClassificationJob(UpdateClassificationJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateClassificationJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateClassificationJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateClassificationJob operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateClassificationJob.</param> /// /// <returns>Returns a UpdateClassificationJobResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob">REST API Reference for UpdateClassificationJob Operation</seealso> public virtual UpdateClassificationJobResponse EndUpdateClassificationJob(IAsyncResult asyncResult) { return EndInvoke<UpdateClassificationJobResponse>(asyncResult); } #endregion #region UpdateClassificationScope /// <summary> /// Updates the classification scope settings for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateClassificationScope service method.</param> /// /// <returns>The response from the UpdateClassificationScope service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationScope">REST API Reference for UpdateClassificationScope Operation</seealso> public virtual UpdateClassificationScopeResponse UpdateClassificationScope(UpdateClassificationScopeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateClassificationScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateClassificationScopeResponseUnmarshaller.Instance; return Invoke<UpdateClassificationScopeResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateClassificationScope operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateClassificationScope operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateClassificationScope /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationScope">REST API Reference for UpdateClassificationScope Operation</seealso> public virtual IAsyncResult BeginUpdateClassificationScope(UpdateClassificationScopeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateClassificationScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateClassificationScopeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateClassificationScope operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateClassificationScope.</param> /// /// <returns>Returns a UpdateClassificationScopeResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationScope">REST API Reference for UpdateClassificationScope Operation</seealso> public virtual UpdateClassificationScopeResponse EndUpdateClassificationScope(IAsyncResult asyncResult) { return EndInvoke<UpdateClassificationScopeResponse>(asyncResult); } #endregion #region UpdateFindingsFilter /// <summary> /// Updates the criteria and other settings for a findings filter. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFindingsFilter service method.</param> /// /// <returns>The response from the UpdateFindingsFilter service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter">REST API Reference for UpdateFindingsFilter Operation</seealso> public virtual UpdateFindingsFilterResponse UpdateFindingsFilter(UpdateFindingsFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFindingsFilterResponseUnmarshaller.Instance; return Invoke<UpdateFindingsFilterResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateFindingsFilter operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateFindingsFilter operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFindingsFilter /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter">REST API Reference for UpdateFindingsFilter Operation</seealso> public virtual IAsyncResult BeginUpdateFindingsFilter(UpdateFindingsFilterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFindingsFilterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateFindingsFilter operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateFindingsFilter.</param> /// /// <returns>Returns a UpdateFindingsFilterResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter">REST API Reference for UpdateFindingsFilter Operation</seealso> public virtual UpdateFindingsFilterResponse EndUpdateFindingsFilter(IAsyncResult asyncResult) { return EndInvoke<UpdateFindingsFilterResponse>(asyncResult); } #endregion #region UpdateMacieSession /// <summary> /// Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie /// account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateMacieSession service method.</param> /// /// <returns>The response from the UpdateMacieSession service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession">REST API Reference for UpdateMacieSession Operation</seealso> public virtual UpdateMacieSessionResponse UpdateMacieSession(UpdateMacieSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMacieSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMacieSessionResponseUnmarshaller.Instance; return Invoke<UpdateMacieSessionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateMacieSession operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateMacieSession operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateMacieSession /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession">REST API Reference for UpdateMacieSession Operation</seealso> public virtual IAsyncResult BeginUpdateMacieSession(UpdateMacieSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMacieSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMacieSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateMacieSession operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateMacieSession.</param> /// /// <returns>Returns a UpdateMacieSessionResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession">REST API Reference for UpdateMacieSession Operation</seealso> public virtual UpdateMacieSessionResponse EndUpdateMacieSession(IAsyncResult asyncResult) { return EndInvoke<UpdateMacieSessionResponse>(asyncResult); } #endregion #region UpdateMemberSession /// <summary> /// Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateMemberSession service method.</param> /// /// <returns>The response from the UpdateMemberSession service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession">REST API Reference for UpdateMemberSession Operation</seealso> public virtual UpdateMemberSessionResponse UpdateMemberSession(UpdateMemberSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMemberSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMemberSessionResponseUnmarshaller.Instance; return Invoke<UpdateMemberSessionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateMemberSession operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateMemberSession operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateMemberSession /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession">REST API Reference for UpdateMemberSession Operation</seealso> public virtual IAsyncResult BeginUpdateMemberSession(UpdateMemberSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMemberSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMemberSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateMemberSession operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateMemberSession.</param> /// /// <returns>Returns a UpdateMemberSessionResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession">REST API Reference for UpdateMemberSession Operation</seealso> public virtual UpdateMemberSessionResponse EndUpdateMemberSession(IAsyncResult asyncResult) { return EndInvoke<UpdateMemberSessionResponse>(asyncResult); } #endregion #region UpdateOrganizationConfiguration /// <summary> /// Updates the Amazon Macie configuration settings for an organization in Organizations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateOrganizationConfiguration service method.</param> /// /// <returns>The response from the UpdateOrganizationConfiguration service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.ConflictException"> /// Provides information about an error that occurred due to a versioning conflict for /// a specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration">REST API Reference for UpdateOrganizationConfiguration Operation</seealso> public virtual UpdateOrganizationConfigurationResponse UpdateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateOrganizationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateOrganizationConfigurationResponseUnmarshaller.Instance; return Invoke<UpdateOrganizationConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateOrganizationConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateOrganizationConfiguration operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateOrganizationConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration">REST API Reference for UpdateOrganizationConfiguration Operation</seealso> public virtual IAsyncResult BeginUpdateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateOrganizationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateOrganizationConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateOrganizationConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateOrganizationConfiguration.</param> /// /// <returns>Returns a UpdateOrganizationConfigurationResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration">REST API Reference for UpdateOrganizationConfiguration Operation</seealso> public virtual UpdateOrganizationConfigurationResponse EndUpdateOrganizationConfiguration(IAsyncResult asyncResult) { return EndInvoke<UpdateOrganizationConfigurationResponse>(asyncResult); } #endregion #region UpdateResourceProfile /// <summary> /// Updates the sensitivity score for an S3 bucket. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateResourceProfile service method.</param> /// /// <returns>The response from the UpdateResourceProfile service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfile">REST API Reference for UpdateResourceProfile Operation</seealso> public virtual UpdateResourceProfileResponse UpdateResourceProfile(UpdateResourceProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceProfileResponseUnmarshaller.Instance; return Invoke<UpdateResourceProfileResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateResourceProfile operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateResourceProfile operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateResourceProfile /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfile">REST API Reference for UpdateResourceProfile Operation</seealso> public virtual IAsyncResult BeginUpdateResourceProfile(UpdateResourceProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateResourceProfile operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateResourceProfile.</param> /// /// <returns>Returns a UpdateResourceProfileResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfile">REST API Reference for UpdateResourceProfile Operation</seealso> public virtual UpdateResourceProfileResponse EndUpdateResourceProfile(IAsyncResult asyncResult) { return EndInvoke<UpdateResourceProfileResponse>(asyncResult); } #endregion #region UpdateResourceProfileDetections /// <summary> /// Updates the sensitivity scoring settings for an S3 bucket. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateResourceProfileDetections service method.</param> /// /// <returns>The response from the UpdateResourceProfileDetections service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ServiceQuotaExceededException"> /// Provides information about an error that occurred due to one or more service quotas /// for an account. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileDetections">REST API Reference for UpdateResourceProfileDetections Operation</seealso> public virtual UpdateResourceProfileDetectionsResponse UpdateResourceProfileDetections(UpdateResourceProfileDetectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceProfileDetectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceProfileDetectionsResponseUnmarshaller.Instance; return Invoke<UpdateResourceProfileDetectionsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateResourceProfileDetections operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateResourceProfileDetections operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateResourceProfileDetections /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileDetections">REST API Reference for UpdateResourceProfileDetections Operation</seealso> public virtual IAsyncResult BeginUpdateResourceProfileDetections(UpdateResourceProfileDetectionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceProfileDetectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceProfileDetectionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateResourceProfileDetections operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateResourceProfileDetections.</param> /// /// <returns>Returns a UpdateResourceProfileDetectionsResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileDetections">REST API Reference for UpdateResourceProfileDetections Operation</seealso> public virtual UpdateResourceProfileDetectionsResponse EndUpdateResourceProfileDetections(IAsyncResult asyncResult) { return EndInvoke<UpdateResourceProfileDetectionsResponse>(asyncResult); } #endregion #region UpdateRevealConfiguration /// <summary> /// Updates the status and configuration settings for retrieving occurrences of sensitive /// data reported by findings. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateRevealConfiguration service method.</param> /// /// <returns>The response from the UpdateRevealConfiguration service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateRevealConfiguration">REST API Reference for UpdateRevealConfiguration Operation</seealso> public virtual UpdateRevealConfigurationResponse UpdateRevealConfiguration(UpdateRevealConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRevealConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRevealConfigurationResponseUnmarshaller.Instance; return Invoke<UpdateRevealConfigurationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateRevealConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateRevealConfiguration operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRevealConfiguration /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateRevealConfiguration">REST API Reference for UpdateRevealConfiguration Operation</seealso> public virtual IAsyncResult BeginUpdateRevealConfiguration(UpdateRevealConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRevealConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRevealConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateRevealConfiguration operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateRevealConfiguration.</param> /// /// <returns>Returns a UpdateRevealConfigurationResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateRevealConfiguration">REST API Reference for UpdateRevealConfiguration Operation</seealso> public virtual UpdateRevealConfigurationResponse EndUpdateRevealConfiguration(IAsyncResult asyncResult) { return EndInvoke<UpdateRevealConfigurationResponse>(asyncResult); } #endregion #region UpdateSensitivityInspectionTemplate /// <summary> /// Updates the settings for the sensitivity inspection template for an account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateSensitivityInspectionTemplate service method.</param> /// /// <returns>The response from the UpdateSensitivityInspectionTemplate service method, as returned by Macie2.</returns> /// <exception cref="Amazon.Macie2.Model.AccessDeniedException"> /// Provides information about an error that occurred due to insufficient access to a /// specified resource. /// </exception> /// <exception cref="Amazon.Macie2.Model.InternalServerException"> /// Provides information about an error that occurred due to an unknown internal server /// error, exception, or failure. /// </exception> /// <exception cref="Amazon.Macie2.Model.ResourceNotFoundException"> /// Provides information about an error that occurred because a specified resource wasn't /// found. /// </exception> /// <exception cref="Amazon.Macie2.Model.ThrottlingException"> /// Provides information about an error that occurred because too many requests were sent /// during a certain amount of time. /// </exception> /// <exception cref="Amazon.Macie2.Model.ValidationException"> /// Provides information about an error that occurred due to a syntax error in a request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateSensitivityInspectionTemplate">REST API Reference for UpdateSensitivityInspectionTemplate Operation</seealso> public virtual UpdateSensitivityInspectionTemplateResponse UpdateSensitivityInspectionTemplate(UpdateSensitivityInspectionTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSensitivityInspectionTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSensitivityInspectionTemplateResponseUnmarshaller.Instance; return Invoke<UpdateSensitivityInspectionTemplateResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateSensitivityInspectionTemplate operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateSensitivityInspectionTemplate operation on AmazonMacie2Client.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSensitivityInspectionTemplate /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateSensitivityInspectionTemplate">REST API Reference for UpdateSensitivityInspectionTemplate Operation</seealso> public virtual IAsyncResult BeginUpdateSensitivityInspectionTemplate(UpdateSensitivityInspectionTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSensitivityInspectionTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSensitivityInspectionTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateSensitivityInspectionTemplate operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateSensitivityInspectionTemplate.</param> /// /// <returns>Returns a UpdateSensitivityInspectionTemplateResult from Macie2.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateSensitivityInspectionTemplate">REST API Reference for UpdateSensitivityInspectionTemplate Operation</seealso> public virtual UpdateSensitivityInspectionTemplateResponse EndUpdateSensitivityInspectionTemplate(IAsyncResult asyncResult) { return EndInvoke<UpdateSensitivityInspectionTemplateResponse>(asyncResult); } #endregion } }