/* * 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.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; 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(); #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 #if 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 Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. 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 internal virtual AcceptInvitationResponse AcceptInvitation(AcceptInvitationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptInvitationRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptInvitationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Accepts an Amazon Macie membership invitation that was received from a specific account. /// /// Container for the necessary parameters to execute the AcceptInvitation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task AcceptInvitationAsync(AcceptInvitationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptInvitationRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptInvitationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchGetCustomDataIdentifiers internal virtual BatchGetCustomDataIdentifiersResponse BatchGetCustomDataIdentifiers(BatchGetCustomDataIdentifiersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetCustomDataIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetCustomDataIdentifiersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about one or more custom data identifiers. /// /// Container for the necessary parameters to execute the BatchGetCustomDataIdentifiers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task BatchGetCustomDataIdentifiersAsync(BatchGetCustomDataIdentifiersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetCustomDataIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetCustomDataIdentifiersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAllowList internal virtual CreateAllowListResponse CreateAllowList(CreateAllowListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAllowListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates and defines the settings for an allow list. /// /// Container for the necessary parameters to execute the CreateAllowList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateAllowListAsync(CreateAllowListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAllowListResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateClassificationJob internal virtual CreateClassificationJobResponse CreateClassificationJob(CreateClassificationJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateClassificationJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateClassificationJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates and defines the settings for a classification job. /// /// Container for the necessary parameters to execute the CreateClassificationJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateClassificationJobAsync(CreateClassificationJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateClassificationJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateClassificationJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCustomDataIdentifier internal virtual CreateCustomDataIdentifierResponse CreateCustomDataIdentifier(CreateCustomDataIdentifierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomDataIdentifierResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates and defines the criteria and other settings for a custom data identifier. /// /// Container for the necessary parameters to execute the CreateCustomDataIdentifier service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateCustomDataIdentifierAsync(CreateCustomDataIdentifierRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomDataIdentifierResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateFindingsFilter internal virtual CreateFindingsFilterResponse CreateFindingsFilter(CreateFindingsFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFindingsFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates and defines the criteria and other settings for a findings filter. /// /// Container for the necessary parameters to execute the CreateFindingsFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateFindingsFilterAsync(CreateFindingsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFindingsFilterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateInvitations internal virtual CreateInvitationsResponse CreateInvitations(CreateInvitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInvitationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sends an Amazon Macie membership invitation to one or more accounts. /// /// Container for the necessary parameters to execute the CreateInvitations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateInvitationsAsync(CreateInvitationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInvitationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateMember internal virtual CreateMemberResponse CreateMember(CreateMemberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMemberResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates an account with an Amazon Macie administrator account. /// /// Container for the necessary parameters to execute the CreateMember service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateMemberAsync(CreateMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMemberResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateSampleFindings internal virtual CreateSampleFindingsResponse CreateSampleFindings(CreateSampleFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSampleFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSampleFindingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates sample findings. /// /// Container for the necessary parameters to execute the CreateSampleFindings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateSampleFindingsAsync(CreateSampleFindingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSampleFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSampleFindingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeclineInvitations internal virtual DeclineInvitationsResponse DeclineInvitations(DeclineInvitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeclineInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeclineInvitationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Declines Amazon Macie membership invitations that were received from specific accounts. /// /// Container for the necessary parameters to execute the DeclineInvitations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeclineInvitationsAsync(DeclineInvitationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeclineInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeclineInvitationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAllowList internal virtual DeleteAllowListResponse DeleteAllowList(DeleteAllowListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAllowListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an allow list. /// /// Container for the necessary parameters to execute the DeleteAllowList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteAllowListAsync(DeleteAllowListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAllowListResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCustomDataIdentifier internal virtual DeleteCustomDataIdentifierResponse DeleteCustomDataIdentifier(DeleteCustomDataIdentifierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomDataIdentifierResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Soft deletes a custom data identifier. /// /// Container for the necessary parameters to execute the DeleteCustomDataIdentifier service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteCustomDataIdentifierAsync(DeleteCustomDataIdentifierRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomDataIdentifierResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteFindingsFilter internal virtual DeleteFindingsFilterResponse DeleteFindingsFilter(DeleteFindingsFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFindingsFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a findings filter. /// /// Container for the necessary parameters to execute the DeleteFindingsFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteFindingsFilterAsync(DeleteFindingsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFindingsFilterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteInvitations internal virtual DeleteInvitationsResponse DeleteInvitations(DeleteInvitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInvitationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes Amazon Macie membership invitations that were received from specific accounts. /// /// Container for the necessary parameters to execute the DeleteInvitations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteInvitationsAsync(DeleteInvitationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInvitationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteMember internal virtual DeleteMemberResponse DeleteMember(DeleteMemberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMemberResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the association between an Amazon Macie administrator account and an account. /// /// Container for the necessary parameters to execute the DeleteMember service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteMemberAsync(DeleteMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMemberResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeBuckets internal virtual DescribeBucketsResponse DescribeBuckets(DescribeBucketsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBucketsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBucketsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DescribeBucketsAsync(DescribeBucketsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBucketsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBucketsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeClassificationJob internal virtual DescribeClassificationJobResponse DescribeClassificationJob(DescribeClassificationJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClassificationJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClassificationJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the status and settings for a classification job. /// /// Container for the necessary parameters to execute the DescribeClassificationJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DescribeClassificationJobAsync(DescribeClassificationJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClassificationJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClassificationJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeOrganizationConfiguration internal virtual DescribeOrganizationConfigurationResponse DescribeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOrganizationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOrganizationConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the Amazon Macie configuration settings for an organization in Organizations. /// /// Container for the necessary parameters to execute the DescribeOrganizationConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DescribeOrganizationConfigurationAsync(DescribeOrganizationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOrganizationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOrganizationConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableMacie internal virtual DisableMacieResponse DisableMacie(DisableMacieRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableMacieRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableMacieResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disables Amazon Macie and deletes all settings and resources for a Macie account. /// /// Container for the necessary parameters to execute the DisableMacie service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DisableMacieAsync(DisableMacieRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableMacieRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableMacieResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisableOrganizationAdminAccount internal virtual DisableOrganizationAdminAccountResponse DisableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableOrganizationAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DisableOrganizationAdminAccountAsync(DisableOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableOrganizationAdminAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateFromAdministratorAccount internal virtual DisassociateFromAdministratorAccountResponse DisassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFromAdministratorAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFromAdministratorAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a member account from its Amazon Macie administrator account. /// /// Container for the necessary parameters to execute the DisassociateFromAdministratorAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DisassociateFromAdministratorAccountAsync(DisassociateFromAdministratorAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFromAdministratorAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFromAdministratorAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateFromMasterAccount internal virtual DisassociateFromMasterAccountResponse DisassociateFromMasterAccount(DisassociateFromMasterAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFromMasterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFromMasterAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// (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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DisassociateFromMasterAccountAsync(DisassociateFromMasterAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFromMasterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFromMasterAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateMember internal virtual DisassociateMemberResponse DisassociateMember(DisassociateMemberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateMemberResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates an Amazon Macie administrator account from a member account. /// /// Container for the necessary parameters to execute the DisassociateMember service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DisassociateMemberAsync(DisassociateMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateMemberResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableMacie internal virtual EnableMacieResponse EnableMacie(EnableMacieRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableMacieRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableMacieResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables Amazon Macie and specifies the configuration settings for a Macie account. /// /// Container for the necessary parameters to execute the EnableMacie service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task EnableMacieAsync(EnableMacieRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableMacieRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableMacieResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region EnableOrganizationAdminAccount internal virtual EnableOrganizationAdminAccountResponse EnableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableOrganizationAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task EnableOrganizationAdminAccountAsync(EnableOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableOrganizationAdminAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAdministratorAccount internal virtual GetAdministratorAccountResponse GetAdministratorAccount(GetAdministratorAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAdministratorAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAdministratorAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about the Amazon Macie administrator account for an account. /// /// Container for the necessary parameters to execute the GetAdministratorAccount service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetAdministratorAccountAsync(GetAdministratorAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAdministratorAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAdministratorAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAllowList internal virtual GetAllowListResponse GetAllowList(GetAllowListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAllowListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the settings and status of an allow list. /// /// Container for the necessary parameters to execute the GetAllowList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetAllowListAsync(GetAllowListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAllowListResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAutomatedDiscoveryConfiguration internal virtual GetAutomatedDiscoveryConfigurationResponse GetAutomatedDiscoveryConfiguration(GetAutomatedDiscoveryConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAutomatedDiscoveryConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAutomatedDiscoveryConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetAutomatedDiscoveryConfigurationAsync(GetAutomatedDiscoveryConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAutomatedDiscoveryConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAutomatedDiscoveryConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetBucketStatistics internal virtual GetBucketStatisticsResponse GetBucketStatistics(GetBucketStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBucketStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBucketStatisticsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetBucketStatisticsAsync(GetBucketStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBucketStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBucketStatisticsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetClassificationExportConfiguration internal virtual GetClassificationExportConfigurationResponse GetClassificationExportConfiguration(GetClassificationExportConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetClassificationExportConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetClassificationExportConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the configuration settings for storing data classification results. /// /// Container for the necessary parameters to execute the GetClassificationExportConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetClassificationExportConfigurationAsync(GetClassificationExportConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetClassificationExportConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetClassificationExportConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetClassificationScope internal virtual GetClassificationScopeResponse GetClassificationScope(GetClassificationScopeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetClassificationScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetClassificationScopeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the classification scope settings for an account. /// /// Container for the necessary parameters to execute the GetClassificationScope service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetClassificationScopeAsync(GetClassificationScopeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetClassificationScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetClassificationScopeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCustomDataIdentifier internal virtual GetCustomDataIdentifierResponse GetCustomDataIdentifier(GetCustomDataIdentifierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCustomDataIdentifierResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the criteria and other settings for a custom data identifier. /// /// Container for the necessary parameters to execute the GetCustomDataIdentifier service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetCustomDataIdentifierAsync(GetCustomDataIdentifierRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCustomDataIdentifierResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetFindings internal virtual GetFindingsResponse GetFindings(GetFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the details of one or more findings. /// /// Container for the necessary parameters to execute the GetFindings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetFindingsAsync(GetFindingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetFindingsFilter internal virtual GetFindingsFilterResponse GetFindingsFilter(GetFindingsFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the criteria and other settings for a findings filter. /// /// Container for the necessary parameters to execute the GetFindingsFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetFindingsFilterAsync(GetFindingsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsFilterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetFindingsPublicationConfiguration internal virtual GetFindingsPublicationConfigurationResponse GetFindingsPublicationConfiguration(GetFindingsPublicationConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsPublicationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsPublicationConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the configuration settings for publishing findings to Security Hub. /// /// Container for the necessary parameters to execute the GetFindingsPublicationConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetFindingsPublicationConfigurationAsync(GetFindingsPublicationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsPublicationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsPublicationConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetFindingStatistics internal virtual GetFindingStatisticsResponse GetFindingStatistics(GetFindingStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingStatisticsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves (queries) aggregated statistical data about findings. /// /// Container for the necessary parameters to execute the GetFindingStatistics service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetFindingStatisticsAsync(GetFindingStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingStatisticsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetInvitationsCount internal virtual GetInvitationsCountResponse GetInvitationsCount(GetInvitationsCountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetInvitationsCountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInvitationsCountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetInvitationsCountAsync(GetInvitationsCountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetInvitationsCountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInvitationsCountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetMacieSession internal virtual GetMacieSessionResponse GetMacieSession(GetMacieSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMacieSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMacieSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the status and configuration settings for an Amazon Macie account. /// /// Container for the necessary parameters to execute the GetMacieSession service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetMacieSessionAsync(GetMacieSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMacieSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMacieSessionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetMasterAccount internal virtual GetMasterAccountResponse GetMasterAccount(GetMasterAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMasterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMasterAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// (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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetMasterAccountAsync(GetMasterAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMasterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMasterAccountResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetMember internal virtual GetMemberResponse GetMember(GetMemberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMemberResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetMemberAsync(GetMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMemberRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMemberResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetResourceProfile internal virtual GetResourceProfileResponse GetResourceProfile(GetResourceProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetResourceProfileAsync(GetResourceProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRevealConfiguration internal virtual GetRevealConfigurationResponse GetRevealConfiguration(GetRevealConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRevealConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRevealConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetRevealConfigurationAsync(GetRevealConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRevealConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRevealConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSensitiveDataOccurrences internal virtual GetSensitiveDataOccurrencesResponse GetSensitiveDataOccurrences(GetSensitiveDataOccurrencesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSensitiveDataOccurrencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSensitiveDataOccurrencesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves occurrences of sensitive data reported by a finding. /// /// Container for the necessary parameters to execute the GetSensitiveDataOccurrences service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetSensitiveDataOccurrencesAsync(GetSensitiveDataOccurrencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSensitiveDataOccurrencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSensitiveDataOccurrencesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSensitiveDataOccurrencesAvailability internal virtual GetSensitiveDataOccurrencesAvailabilityResponse GetSensitiveDataOccurrencesAvailability(GetSensitiveDataOccurrencesAvailabilityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSensitiveDataOccurrencesAvailabilityRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSensitiveDataOccurrencesAvailabilityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Checks whether occurrences of sensitive data can be retrieved for a finding. /// /// Container for the necessary parameters to execute the GetSensitiveDataOccurrencesAvailability service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetSensitiveDataOccurrencesAvailabilityAsync(GetSensitiveDataOccurrencesAvailabilityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSensitiveDataOccurrencesAvailabilityRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSensitiveDataOccurrencesAvailabilityResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSensitivityInspectionTemplate internal virtual GetSensitivityInspectionTemplateResponse GetSensitivityInspectionTemplate(GetSensitivityInspectionTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSensitivityInspectionTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSensitivityInspectionTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the settings for the sensitivity inspection template for an account. /// /// Container for the necessary parameters to execute the GetSensitivityInspectionTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetSensitivityInspectionTemplateAsync(GetSensitivityInspectionTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSensitivityInspectionTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSensitivityInspectionTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetUsageStatistics internal virtual GetUsageStatisticsResponse GetUsageStatistics(GetUsageStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsageStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsageStatisticsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves (queries) quotas and aggregated usage data for one or more accounts. /// /// Container for the necessary parameters to execute the GetUsageStatistics service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetUsageStatisticsAsync(GetUsageStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsageStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsageStatisticsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetUsageTotals internal virtual GetUsageTotalsResponse GetUsageTotals(GetUsageTotalsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsageTotalsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsageTotalsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves (queries) aggregated usage data for an account. /// /// Container for the necessary parameters to execute the GetUsageTotals service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetUsageTotalsAsync(GetUsageTotalsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsageTotalsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsageTotalsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAllowLists internal virtual ListAllowListsResponse ListAllowLists(ListAllowListsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAllowListsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAllowListsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a subset of information about all the allow lists for an account. /// /// Container for the necessary parameters to execute the ListAllowLists service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListAllowListsAsync(ListAllowListsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAllowListsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAllowListsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListClassificationJobs internal virtual ListClassificationJobsResponse ListClassificationJobs(ListClassificationJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListClassificationJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClassificationJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a subset of information about one or more classification jobs. /// /// Container for the necessary parameters to execute the ListClassificationJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListClassificationJobsAsync(ListClassificationJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListClassificationJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClassificationJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListClassificationScopes internal virtual ListClassificationScopesResponse ListClassificationScopes(ListClassificationScopesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListClassificationScopesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClassificationScopesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a subset of information about the classification scope for an account. /// /// Container for the necessary parameters to execute the ListClassificationScopes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListClassificationScopesAsync(ListClassificationScopesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListClassificationScopesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClassificationScopesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListCustomDataIdentifiers internal virtual ListCustomDataIdentifiersResponse ListCustomDataIdentifiers(ListCustomDataIdentifiersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomDataIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomDataIdentifiersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListCustomDataIdentifiersAsync(ListCustomDataIdentifiersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomDataIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomDataIdentifiersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListFindings internal virtual ListFindingsResponse ListFindings(ListFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFindingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a subset of information about one or more findings. /// /// Container for the necessary parameters to execute the ListFindings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListFindingsAsync(ListFindingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFindingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListFindingsFilters internal virtual ListFindingsFiltersResponse ListFindingsFilters(ListFindingsFiltersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFindingsFiltersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFindingsFiltersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a subset of information about all the findings filters for an account. /// /// Container for the necessary parameters to execute the ListFindingsFilters service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListFindingsFiltersAsync(ListFindingsFiltersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListFindingsFiltersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFindingsFiltersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListInvitations internal virtual ListInvitationsResponse ListInvitations(ListInvitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInvitationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListInvitationsAsync(ListInvitationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInvitationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListManagedDataIdentifiers internal virtual ListManagedDataIdentifiersResponse ListManagedDataIdentifiers(ListManagedDataIdentifiersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListManagedDataIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListManagedDataIdentifiersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves information about all the managed data identifiers that Amazon Macie currently /// provides. /// /// Container for the necessary parameters to execute the ListManagedDataIdentifiers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListManagedDataIdentifiers service method, as returned by Macie2. /// REST API Reference for ListManagedDataIdentifiers Operation public virtual Task ListManagedDataIdentifiersAsync(ListManagedDataIdentifiersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListManagedDataIdentifiersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListManagedDataIdentifiersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListMembers internal virtual ListMembersResponse ListMembers(ListMembersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListMembersAsync(ListMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListOrganizationAdminAccounts internal virtual ListOrganizationAdminAccountsResponse ListOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListOrganizationAdminAccountsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOrganizationAdminAccountsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListOrganizationAdminAccountsAsync(ListOrganizationAdminAccountsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListOrganizationAdminAccountsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOrganizationAdminAccountsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListResourceProfileArtifacts internal virtual ListResourceProfileArtifactsResponse ListResourceProfileArtifacts(ListResourceProfileArtifactsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceProfileArtifactsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceProfileArtifactsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListResourceProfileArtifactsAsync(ListResourceProfileArtifactsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceProfileArtifactsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceProfileArtifactsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListResourceProfileDetections internal virtual ListResourceProfileDetectionsResponse ListResourceProfileDetections(ListResourceProfileDetectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceProfileDetectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceProfileDetectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListResourceProfileDetectionsAsync(ListResourceProfileDetectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceProfileDetectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceProfileDetectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListSensitivityInspectionTemplates internal virtual ListSensitivityInspectionTemplatesResponse ListSensitivityInspectionTemplates(ListSensitivityInspectionTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSensitivityInspectionTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSensitivityInspectionTemplatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a subset of information about the sensitivity inspection template for an /// account. /// /// Container for the necessary parameters to execute the ListSensitivityInspectionTemplates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListSensitivityInspectionTemplatesAsync(ListSensitivityInspectionTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSensitivityInspectionTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSensitivityInspectionTemplatesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by Macie2. /// REST API Reference for ListTagsForResource Operation public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutClassificationExportConfiguration internal virtual PutClassificationExportConfigurationResponse PutClassificationExportConfiguration(PutClassificationExportConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutClassificationExportConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutClassificationExportConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates or updates the configuration settings for storing data classification results. /// /// Container for the necessary parameters to execute the PutClassificationExportConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task PutClassificationExportConfigurationAsync(PutClassificationExportConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutClassificationExportConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutClassificationExportConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutFindingsPublicationConfiguration internal virtual PutFindingsPublicationConfigurationResponse PutFindingsPublicationConfiguration(PutFindingsPublicationConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutFindingsPublicationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutFindingsPublicationConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the configuration settings for publishing findings to Security Hub. /// /// Container for the necessary parameters to execute the PutFindingsPublicationConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task PutFindingsPublicationConfigurationAsync(PutFindingsPublicationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutFindingsPublicationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutFindingsPublicationConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchResources internal virtual SearchResourcesResponse SearchResources(SearchResourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchResourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task SearchResourcesAsync(SearchResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchResourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchResourcesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource internal virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by Macie2. /// REST API Reference for TagResource Operation public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TestCustomDataIdentifier internal virtual TestCustomDataIdentifierResponse TestCustomDataIdentifier(TestCustomDataIdentifierRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TestCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = TestCustomDataIdentifierResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Tests a custom data identifier. /// /// Container for the necessary parameters to execute the TestCustomDataIdentifier service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task TestCustomDataIdentifierAsync(TestCustomDataIdentifierRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TestCustomDataIdentifierRequestMarshaller.Instance; options.ResponseUnmarshaller = TestCustomDataIdentifierResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UntagResource internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes one or more tags (keys and values) from an Amazon Macie resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by Macie2. /// REST API Reference for UntagResource Operation public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAllowList internal virtual UpdateAllowListResponse UpdateAllowList(UpdateAllowListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAllowListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the settings for an allow list. /// /// Container for the necessary parameters to execute the UpdateAllowList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateAllowListAsync(UpdateAllowListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAllowListRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAllowListResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAutomatedDiscoveryConfiguration internal virtual UpdateAutomatedDiscoveryConfigurationResponse UpdateAutomatedDiscoveryConfiguration(UpdateAutomatedDiscoveryConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAutomatedDiscoveryConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAutomatedDiscoveryConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Enables or disables automated sensitive data discovery for an account. /// /// Container for the necessary parameters to execute the UpdateAutomatedDiscoveryConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateAutomatedDiscoveryConfigurationAsync(UpdateAutomatedDiscoveryConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAutomatedDiscoveryConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAutomatedDiscoveryConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateClassificationJob internal virtual UpdateClassificationJobResponse UpdateClassificationJob(UpdateClassificationJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateClassificationJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateClassificationJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes the status of a classification job. /// /// Container for the necessary parameters to execute the UpdateClassificationJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateClassificationJobAsync(UpdateClassificationJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateClassificationJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateClassificationJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateClassificationScope internal virtual UpdateClassificationScopeResponse UpdateClassificationScope(UpdateClassificationScopeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateClassificationScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateClassificationScopeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the classification scope settings for an account. /// /// Container for the necessary parameters to execute the UpdateClassificationScope service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateClassificationScopeAsync(UpdateClassificationScopeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateClassificationScopeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateClassificationScopeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateFindingsFilter internal virtual UpdateFindingsFilterResponse UpdateFindingsFilter(UpdateFindingsFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFindingsFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the criteria and other settings for a findings filter. /// /// Container for the necessary parameters to execute the UpdateFindingsFilter service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateFindingsFilterAsync(UpdateFindingsFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFindingsFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFindingsFilterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateMacieSession internal virtual UpdateMacieSessionResponse UpdateMacieSession(UpdateMacieSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMacieSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMacieSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateMacieSessionAsync(UpdateMacieSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMacieSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMacieSessionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateMemberSession internal virtual UpdateMemberSessionResponse UpdateMemberSession(UpdateMemberSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMemberSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMemberSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateMemberSessionAsync(UpdateMemberSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMemberSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMemberSessionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateOrganizationConfiguration internal virtual UpdateOrganizationConfigurationResponse UpdateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateOrganizationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateOrganizationConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the Amazon Macie configuration settings for an organization in Organizations. /// /// Container for the necessary parameters to execute the UpdateOrganizationConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateOrganizationConfigurationAsync(UpdateOrganizationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateOrganizationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateOrganizationConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateResourceProfile internal virtual UpdateResourceProfileResponse UpdateResourceProfile(UpdateResourceProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the sensitivity score for an S3 bucket. /// /// Container for the necessary parameters to execute the UpdateResourceProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateResourceProfileAsync(UpdateResourceProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateResourceProfileDetections internal virtual UpdateResourceProfileDetectionsResponse UpdateResourceProfileDetections(UpdateResourceProfileDetectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceProfileDetectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceProfileDetectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the sensitivity scoring settings for an S3 bucket. /// /// Container for the necessary parameters to execute the UpdateResourceProfileDetections service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateResourceProfileDetectionsAsync(UpdateResourceProfileDetectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceProfileDetectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceProfileDetectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRevealConfiguration internal virtual UpdateRevealConfigurationResponse UpdateRevealConfiguration(UpdateRevealConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRevealConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRevealConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateRevealConfigurationAsync(UpdateRevealConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRevealConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRevealConfigurationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateSensitivityInspectionTemplate internal virtual UpdateSensitivityInspectionTemplateResponse UpdateSensitivityInspectionTemplate(UpdateSensitivityInspectionTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSensitivityInspectionTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSensitivityInspectionTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the settings for the sensitivity inspection template for an account. /// /// Container for the necessary parameters to execute the UpdateSensitivityInspectionTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateSensitivityInspectionTemplateAsync(UpdateSensitivityInspectionTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSensitivityInspectionTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSensitivityInspectionTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }