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