/* * 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 guardduty-2017-11-28.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.GuardDuty.Model; using Amazon.GuardDuty.Model.Internal.MarshallTransformations; using Amazon.GuardDuty.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.GuardDuty { /// /// Implementation for accessing GuardDuty /// /// Amazon GuardDuty is a continuous security monitoring service that analyzes and processes /// the following data sources: VPC flow logs, Amazon Web Services CloudTrail management /// event logs, CloudTrail S3 data event logs, EKS audit logs, DNS logs, and Amazon EBS /// volume data. It uses threat intelligence feeds, such as lists of malicious IPs and /// domains, and machine learning to identify unexpected, potentially unauthorized, and /// malicious activity within your Amazon Web Services environment. This can include issues /// like escalations of privileges, uses of exposed credentials, or communication with /// malicious IPs, domains, or presence of malware on your Amazon EC2 instances and container /// workloads. For example, GuardDuty can detect compromised EC2 instances and container /// workloads serving malware, or mining bitcoin. /// /// /// /// GuardDuty also monitors Amazon Web Services account access behavior for signs of compromise, /// such as unauthorized infrastructure deployments like EC2 instances deployed in a Region /// that has never been used, or unusual API calls like a password policy change to reduce /// password strength. /// /// /// /// GuardDuty informs you about the status of your Amazon Web Services environment by /// producing security findings that you can view in the GuardDuty console or through /// Amazon EventBridge. For more information, see the Amazon /// GuardDuty User Guide . /// /// public partial class AmazonGuardDutyClient : AmazonServiceClient, IAmazonGuardDuty { private static IServiceMetadata serviceMetadata = new AmazonGuardDutyMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IGuardDutyPaginatorFactory _paginators; /// /// Paginators for the service /// public IGuardDutyPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new GuardDutyPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonGuardDutyClient 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 AmazonGuardDutyClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonGuardDutyConfig()) { } /// /// Constructs AmazonGuardDutyClient 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 AmazonGuardDutyClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonGuardDutyConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonGuardDutyClient 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 AmazonGuardDutyClient Configuration Object public AmazonGuardDutyClient(AmazonGuardDutyConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonGuardDutyClient with AWS Credentials /// /// AWS Credentials public AmazonGuardDutyClient(AWSCredentials credentials) : this(credentials, new AmazonGuardDutyConfig()) { } /// /// Constructs AmazonGuardDutyClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonGuardDutyClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonGuardDutyConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonGuardDutyClient with AWS Credentials and an /// AmazonGuardDutyClient Configuration object. /// /// AWS Credentials /// The AmazonGuardDutyClient Configuration Object public AmazonGuardDutyClient(AWSCredentials credentials, AmazonGuardDutyConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonGuardDutyClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonGuardDutyClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonGuardDutyConfig()) { } /// /// Constructs AmazonGuardDutyClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonGuardDutyClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonGuardDutyConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonGuardDutyClient with AWS Access Key ID, AWS Secret Key and an /// AmazonGuardDutyClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonGuardDutyClient Configuration Object public AmazonGuardDutyClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonGuardDutyConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonGuardDutyClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonGuardDutyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonGuardDutyConfig()) { } /// /// Constructs AmazonGuardDutyClient 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 AmazonGuardDutyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonGuardDutyConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonGuardDutyClient with AWS Access Key ID, AWS Secret Key and an /// AmazonGuardDutyClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonGuardDutyClient Configuration Object public AmazonGuardDutyClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonGuardDutyConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonGuardDutyEndpointResolver()); } /// /// 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 AcceptAdministratorInvitation /// /// Accepts the invitation to be a member account and get monitored by a GuardDuty administrator /// account that sent the invitation. /// /// Container for the necessary parameters to execute the AcceptAdministratorInvitation service method. /// /// The response from the AcceptAdministratorInvitation service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for AcceptAdministratorInvitation Operation public virtual AcceptAdministratorInvitationResponse AcceptAdministratorInvitation(AcceptAdministratorInvitationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptAdministratorInvitationRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptAdministratorInvitationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AcceptAdministratorInvitation operation. /// /// /// Container for the necessary parameters to execute the AcceptAdministratorInvitation operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAcceptAdministratorInvitation /// operation. /// REST API Reference for AcceptAdministratorInvitation Operation public virtual IAsyncResult BeginAcceptAdministratorInvitation(AcceptAdministratorInvitationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptAdministratorInvitationRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptAdministratorInvitationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AcceptAdministratorInvitation operation. /// /// /// The IAsyncResult returned by the call to BeginAcceptAdministratorInvitation. /// /// Returns a AcceptAdministratorInvitationResult from GuardDuty. /// REST API Reference for AcceptAdministratorInvitation Operation public virtual AcceptAdministratorInvitationResponse EndAcceptAdministratorInvitation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AcceptInvitation /// /// Accepts the invitation to be monitored by a GuardDuty administrator account. /// /// Container for the necessary parameters to execute the AcceptInvitation service method. /// /// The response from the AcceptInvitation service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for AcceptInvitation Operation [Obsolete("This operation is deprecated, use AcceptAdministratorInvitation instead")] public virtual AcceptInvitationResponse AcceptInvitation(AcceptInvitationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptInvitationRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptInvitationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AcceptInvitation operation. /// /// /// Container for the necessary parameters to execute the AcceptInvitation operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAcceptInvitation /// operation. /// REST API Reference for AcceptInvitation Operation [Obsolete("This operation is deprecated, use AcceptAdministratorInvitation instead")] public virtual IAsyncResult BeginAcceptInvitation(AcceptInvitationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptInvitationRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptInvitationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AcceptInvitation operation. /// /// /// The IAsyncResult returned by the call to BeginAcceptInvitation. /// /// Returns a AcceptInvitationResult from GuardDuty. /// REST API Reference for AcceptInvitation Operation [Obsolete("This operation is deprecated, use AcceptAdministratorInvitation instead")] public virtual AcceptInvitationResponse EndAcceptInvitation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ArchiveFindings /// /// Archives GuardDuty findings that are specified by the list of finding IDs. /// /// /// /// Only the administrator account can archive findings. Member accounts don't have permission /// to archive findings from their accounts. /// /// /// /// Container for the necessary parameters to execute the ArchiveFindings service method. /// /// The response from the ArchiveFindings service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for ArchiveFindings Operation public virtual ArchiveFindingsResponse ArchiveFindings(ArchiveFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ArchiveFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ArchiveFindingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ArchiveFindings operation. /// /// /// Container for the necessary parameters to execute the ArchiveFindings operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndArchiveFindings /// operation. /// REST API Reference for ArchiveFindings Operation public virtual IAsyncResult BeginArchiveFindings(ArchiveFindingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ArchiveFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ArchiveFindingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ArchiveFindings operation. /// /// /// The IAsyncResult returned by the call to BeginArchiveFindings. /// /// Returns a ArchiveFindingsResult from GuardDuty. /// REST API Reference for ArchiveFindings Operation public virtual ArchiveFindingsResponse EndArchiveFindings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDetector /// /// Creates a single Amazon GuardDuty detector. A detector is a resource that represents /// the GuardDuty service. To start using GuardDuty, you must create a detector in each /// Region where you enable the service. You can have only one detector per account per /// Region. All data sources are enabled in a new detector by default. /// /// /// /// There might be regional differences because some data sources might not be available /// in all the Amazon Web Services Regions where GuardDuty is presently supported. For /// more information, see Regions /// and endpoints. /// /// /// Container for the necessary parameters to execute the CreateDetector service method. /// /// The response from the CreateDetector service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for CreateDetector Operation public virtual CreateDetectorResponse CreateDetector(CreateDetectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDetectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDetector operation. /// /// /// Container for the necessary parameters to execute the CreateDetector operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDetector /// operation. /// REST API Reference for CreateDetector Operation public virtual IAsyncResult BeginCreateDetector(CreateDetectorRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDetectorResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDetector operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDetector. /// /// Returns a CreateDetectorResult from GuardDuty. /// REST API Reference for CreateDetector Operation public virtual CreateDetectorResponse EndCreateDetector(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateFilter /// /// Creates a filter using the specified finding criteria. The maximum number of saved /// filters per Amazon Web Services account per Region is 100. For more information, see /// Quotas /// for GuardDuty. /// /// Container for the necessary parameters to execute the CreateFilter service method. /// /// The response from the CreateFilter service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for CreateFilter Operation public virtual CreateFilterResponse CreateFilter(CreateFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateFilter operation. /// /// /// Container for the necessary parameters to execute the CreateFilter operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFilter /// operation. /// REST API Reference for CreateFilter Operation public virtual IAsyncResult BeginCreateFilter(CreateFilterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFilterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateFilter operation. /// /// /// The IAsyncResult returned by the call to BeginCreateFilter. /// /// Returns a CreateFilterResult from GuardDuty. /// REST API Reference for CreateFilter Operation public virtual CreateFilterResponse EndCreateFilter(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateIPSet /// /// Creates a new IPSet, which is called a trusted IP list in the console user interface. /// An IPSet is a list of IP addresses that are trusted for secure communication with /// Amazon Web Services infrastructure and applications. GuardDuty doesn't generate findings /// for IP addresses that are included in IPSets. Only users from the administrator account /// can use this operation. /// /// Container for the necessary parameters to execute the CreateIPSet service method. /// /// The response from the CreateIPSet service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for CreateIPSet Operation public virtual CreateIPSetResponse CreateIPSet(CreateIPSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIPSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIPSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateIPSet operation. /// /// /// Container for the necessary parameters to execute the CreateIPSet operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateIPSet /// operation. /// REST API Reference for CreateIPSet Operation public virtual IAsyncResult BeginCreateIPSet(CreateIPSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIPSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIPSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateIPSet operation. /// /// /// The IAsyncResult returned by the call to BeginCreateIPSet. /// /// Returns a CreateIPSetResult from GuardDuty. /// REST API Reference for CreateIPSet Operation public virtual CreateIPSetResponse EndCreateIPSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateMembers /// /// Creates member accounts of the current Amazon Web Services account by specifying a /// list of Amazon Web Services account IDs. This step is a prerequisite for managing /// the associated member accounts either by invitation or through an organization. /// /// /// /// As a delegated administrator, using CreateMembers will enable GuardDuty /// in the added member accounts, with the exception of the organization delegated administrator /// account. A delegated administrator must enable GuardDuty prior to being added as a /// member. /// /// /// /// If you are adding accounts by invitation, before using InviteMembers, /// use CreateMembers after GuardDuty has been enabled in potential member /// accounts. /// /// /// /// If you disassociate a member from a GuardDuty delegated administrator, the member /// account details obtained from this API, including the associated email addresses, /// will be retained. This is done so that the delegated administrator can invoke the /// InviteMembers /// API without the need to invoke the CreateMembers API again. To remove the details /// associated with a member account, the delegated administrator must invoke the DeleteMembers /// API. /// /// /// Container for the necessary parameters to execute the CreateMembers service method. /// /// The response from the CreateMembers service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for CreateMembers Operation public virtual CreateMembersResponse CreateMembers(CreateMembersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMembersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateMembers operation. /// /// /// Container for the necessary parameters to execute the CreateMembers operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateMembers /// operation. /// REST API Reference for CreateMembers Operation public virtual IAsyncResult BeginCreateMembers(CreateMembersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMembersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateMembers operation. /// /// /// The IAsyncResult returned by the call to BeginCreateMembers. /// /// Returns a CreateMembersResult from GuardDuty. /// REST API Reference for CreateMembers Operation public virtual CreateMembersResponse EndCreateMembers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreatePublishingDestination /// /// Creates a publishing destination to export findings to. The resource to export findings /// to must exist before you use this operation. /// /// Container for the necessary parameters to execute the CreatePublishingDestination service method. /// /// The response from the CreatePublishingDestination service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for CreatePublishingDestination Operation public virtual CreatePublishingDestinationResponse CreatePublishingDestination(CreatePublishingDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePublishingDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePublishingDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreatePublishingDestination operation. /// /// /// Container for the necessary parameters to execute the CreatePublishingDestination operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePublishingDestination /// operation. /// REST API Reference for CreatePublishingDestination Operation public virtual IAsyncResult BeginCreatePublishingDestination(CreatePublishingDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePublishingDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePublishingDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreatePublishingDestination operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePublishingDestination. /// /// Returns a CreatePublishingDestinationResult from GuardDuty. /// REST API Reference for CreatePublishingDestination Operation public virtual CreatePublishingDestinationResponse EndCreatePublishingDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSampleFindings /// /// Generates sample findings of types specified by the list of finding types. If 'NULL' /// is specified for findingTypes, the API generates sample findings of all /// supported finding types. /// /// Container for the necessary parameters to execute the CreateSampleFindings service method. /// /// The response from the CreateSampleFindings service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for CreateSampleFindings Operation public virtual CreateSampleFindingsResponse CreateSampleFindings(CreateSampleFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSampleFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSampleFindingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSampleFindings operation. /// /// /// Container for the necessary parameters to execute the CreateSampleFindings operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSampleFindings /// operation. /// REST API Reference for CreateSampleFindings Operation public virtual IAsyncResult BeginCreateSampleFindings(CreateSampleFindingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSampleFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSampleFindingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSampleFindings operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSampleFindings. /// /// Returns a CreateSampleFindingsResult from GuardDuty. /// REST API Reference for CreateSampleFindings Operation public virtual CreateSampleFindingsResponse EndCreateSampleFindings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateThreatIntelSet /// /// Creates a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. /// GuardDuty generates findings based on ThreatIntelSets. Only users of the administrator /// account can use this operation. /// /// Container for the necessary parameters to execute the CreateThreatIntelSet service method. /// /// The response from the CreateThreatIntelSet service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for CreateThreatIntelSet Operation public virtual CreateThreatIntelSetResponse CreateThreatIntelSet(CreateThreatIntelSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateThreatIntelSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateThreatIntelSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateThreatIntelSet operation. /// /// /// Container for the necessary parameters to execute the CreateThreatIntelSet operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateThreatIntelSet /// operation. /// REST API Reference for CreateThreatIntelSet Operation public virtual IAsyncResult BeginCreateThreatIntelSet(CreateThreatIntelSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateThreatIntelSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateThreatIntelSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateThreatIntelSet operation. /// /// /// The IAsyncResult returned by the call to BeginCreateThreatIntelSet. /// /// Returns a CreateThreatIntelSetResult from GuardDuty. /// REST API Reference for CreateThreatIntelSet Operation public virtual CreateThreatIntelSetResponse EndCreateThreatIntelSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeclineInvitations /// /// Declines invitations sent to the current member account by Amazon Web Services accounts /// specified by their account IDs. /// /// Container for the necessary parameters to execute the DeclineInvitations service method. /// /// The response from the DeclineInvitations service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DeclineInvitations Operation public virtual DeclineInvitationsResponse DeclineInvitations(DeclineInvitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeclineInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeclineInvitationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeclineInvitations operation. /// /// /// Container for the necessary parameters to execute the DeclineInvitations operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeclineInvitations /// operation. /// REST API Reference for DeclineInvitations Operation public virtual IAsyncResult BeginDeclineInvitations(DeclineInvitationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeclineInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeclineInvitationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeclineInvitations operation. /// /// /// The IAsyncResult returned by the call to BeginDeclineInvitations. /// /// Returns a DeclineInvitationsResult from GuardDuty. /// REST API Reference for DeclineInvitations Operation public virtual DeclineInvitationsResponse EndDeclineInvitations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDetector /// /// Deletes an Amazon GuardDuty detector that is specified by the detector ID. /// /// Container for the necessary parameters to execute the DeleteDetector service method. /// /// The response from the DeleteDetector service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DeleteDetector Operation public virtual DeleteDetectorResponse DeleteDetector(DeleteDetectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDetectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDetector operation. /// /// /// Container for the necessary parameters to execute the DeleteDetector operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDetector /// operation. /// REST API Reference for DeleteDetector Operation public virtual IAsyncResult BeginDeleteDetector(DeleteDetectorRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDetectorResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDetector operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDetector. /// /// Returns a DeleteDetectorResult from GuardDuty. /// REST API Reference for DeleteDetector Operation public virtual DeleteDetectorResponse EndDeleteDetector(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteFilter /// /// Deletes the filter specified by the filter name. /// /// Container for the necessary parameters to execute the DeleteFilter service method. /// /// The response from the DeleteFilter service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DeleteFilter Operation public virtual DeleteFilterResponse DeleteFilter(DeleteFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteFilter operation. /// /// /// Container for the necessary parameters to execute the DeleteFilter operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFilter /// operation. /// REST API Reference for DeleteFilter Operation public virtual IAsyncResult BeginDeleteFilter(DeleteFilterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFilterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteFilter operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteFilter. /// /// Returns a DeleteFilterResult from GuardDuty. /// REST API Reference for DeleteFilter Operation public virtual DeleteFilterResponse EndDeleteFilter(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteInvitations /// /// Deletes invitations sent to the current member account by Amazon Web Services accounts /// specified by their account IDs. /// /// Container for the necessary parameters to execute the DeleteInvitations service method. /// /// The response from the DeleteInvitations service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DeleteInvitations Operation public virtual DeleteInvitationsResponse DeleteInvitations(DeleteInvitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInvitationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteInvitations operation. /// /// /// Container for the necessary parameters to execute the DeleteInvitations operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteInvitations /// operation. /// REST API Reference for DeleteInvitations Operation public virtual IAsyncResult BeginDeleteInvitations(DeleteInvitationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInvitationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteInvitations operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteInvitations. /// /// Returns a DeleteInvitationsResult from GuardDuty. /// REST API Reference for DeleteInvitations Operation public virtual DeleteInvitationsResponse EndDeleteInvitations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteIPSet /// /// Deletes the IPSet specified by the ipSetId. IPSets are called trusted /// IP lists in the console user interface. /// /// Container for the necessary parameters to execute the DeleteIPSet service method. /// /// The response from the DeleteIPSet service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DeleteIPSet Operation public virtual DeleteIPSetResponse DeleteIPSet(DeleteIPSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIPSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIPSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteIPSet operation. /// /// /// Container for the necessary parameters to execute the DeleteIPSet operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteIPSet /// operation. /// REST API Reference for DeleteIPSet Operation public virtual IAsyncResult BeginDeleteIPSet(DeleteIPSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIPSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIPSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteIPSet operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteIPSet. /// /// Returns a DeleteIPSetResult from GuardDuty. /// REST API Reference for DeleteIPSet Operation public virtual DeleteIPSetResponse EndDeleteIPSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteMembers /// /// Deletes GuardDuty member accounts (to the current GuardDuty administrator account) /// specified by the account IDs. /// /// /// /// With autoEnableOrganizationMembers configuration for your organization /// set to ALL, you'll receive an error if you attempt to disable GuardDuty /// for a member account in your organization. /// /// /// Container for the necessary parameters to execute the DeleteMembers service method. /// /// The response from the DeleteMembers service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DeleteMembers Operation public virtual DeleteMembersResponse DeleteMembers(DeleteMembersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMembersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteMembers operation. /// /// /// Container for the necessary parameters to execute the DeleteMembers operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMembers /// operation. /// REST API Reference for DeleteMembers Operation public virtual IAsyncResult BeginDeleteMembers(DeleteMembersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMembersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteMembers operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteMembers. /// /// Returns a DeleteMembersResult from GuardDuty. /// REST API Reference for DeleteMembers Operation public virtual DeleteMembersResponse EndDeleteMembers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeletePublishingDestination /// /// Deletes the publishing definition with the specified destinationId. /// /// Container for the necessary parameters to execute the DeletePublishingDestination service method. /// /// The response from the DeletePublishingDestination service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DeletePublishingDestination Operation public virtual DeletePublishingDestinationResponse DeletePublishingDestination(DeletePublishingDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePublishingDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePublishingDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeletePublishingDestination operation. /// /// /// Container for the necessary parameters to execute the DeletePublishingDestination operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePublishingDestination /// operation. /// REST API Reference for DeletePublishingDestination Operation public virtual IAsyncResult BeginDeletePublishingDestination(DeletePublishingDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePublishingDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePublishingDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeletePublishingDestination operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePublishingDestination. /// /// Returns a DeletePublishingDestinationResult from GuardDuty. /// REST API Reference for DeletePublishingDestination Operation public virtual DeletePublishingDestinationResponse EndDeletePublishingDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteThreatIntelSet /// /// Deletes the ThreatIntelSet specified by the ThreatIntelSet ID. /// /// Container for the necessary parameters to execute the DeleteThreatIntelSet service method. /// /// The response from the DeleteThreatIntelSet service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DeleteThreatIntelSet Operation public virtual DeleteThreatIntelSetResponse DeleteThreatIntelSet(DeleteThreatIntelSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteThreatIntelSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteThreatIntelSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteThreatIntelSet operation. /// /// /// Container for the necessary parameters to execute the DeleteThreatIntelSet operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteThreatIntelSet /// operation. /// REST API Reference for DeleteThreatIntelSet Operation public virtual IAsyncResult BeginDeleteThreatIntelSet(DeleteThreatIntelSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteThreatIntelSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteThreatIntelSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteThreatIntelSet operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteThreatIntelSet. /// /// Returns a DeleteThreatIntelSetResult from GuardDuty. /// REST API Reference for DeleteThreatIntelSet Operation public virtual DeleteThreatIntelSetResponse EndDeleteThreatIntelSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeMalwareScans /// /// Returns a list of malware scans. Each member account can view the malware scans for /// their own accounts. An administrator can view the malware scans for all the member /// accounts. /// /// /// /// There might be regional differences because some data sources might not be available /// in all the Amazon Web Services Regions where GuardDuty is presently supported. For /// more information, see Regions /// and endpoints. /// /// /// Container for the necessary parameters to execute the DescribeMalwareScans service method. /// /// The response from the DescribeMalwareScans service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DescribeMalwareScans Operation public virtual DescribeMalwareScansResponse DescribeMalwareScans(DescribeMalwareScansRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMalwareScansRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMalwareScansResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeMalwareScans operation. /// /// /// Container for the necessary parameters to execute the DescribeMalwareScans operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeMalwareScans /// operation. /// REST API Reference for DescribeMalwareScans Operation public virtual IAsyncResult BeginDescribeMalwareScans(DescribeMalwareScansRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMalwareScansRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMalwareScansResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeMalwareScans operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeMalwareScans. /// /// Returns a DescribeMalwareScansResult from GuardDuty. /// REST API Reference for DescribeMalwareScans Operation public virtual DescribeMalwareScansResponse EndDescribeMalwareScans(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeOrganizationConfiguration /// /// Returns information about the account selected as the delegated administrator for /// GuardDuty. /// /// /// /// There might be regional differences because some data sources might not be available /// in all the Amazon Web Services Regions where GuardDuty is presently supported. For /// more information, see Regions /// and endpoints. /// /// /// Container for the necessary parameters to execute the DescribeOrganizationConfiguration service method. /// /// The response from the DescribeOrganizationConfiguration service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DescribeOrganizationConfiguration Operation public virtual DescribeOrganizationConfigurationResponse DescribeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOrganizationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOrganizationConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeOrganizationConfiguration operation. /// /// /// Container for the necessary parameters to execute the DescribeOrganizationConfiguration operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeOrganizationConfiguration /// operation. /// REST API Reference for DescribeOrganizationConfiguration Operation public virtual IAsyncResult BeginDescribeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOrganizationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOrganizationConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeOrganizationConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeOrganizationConfiguration. /// /// Returns a DescribeOrganizationConfigurationResult from GuardDuty. /// REST API Reference for DescribeOrganizationConfiguration Operation public virtual DescribeOrganizationConfigurationResponse EndDescribeOrganizationConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribePublishingDestination /// /// Returns information about the publishing destination specified by the provided destinationId. /// /// Container for the necessary parameters to execute the DescribePublishingDestination service method. /// /// The response from the DescribePublishingDestination service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DescribePublishingDestination Operation public virtual DescribePublishingDestinationResponse DescribePublishingDestination(DescribePublishingDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePublishingDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePublishingDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribePublishingDestination operation. /// /// /// Container for the necessary parameters to execute the DescribePublishingDestination operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribePublishingDestination /// operation. /// REST API Reference for DescribePublishingDestination Operation public virtual IAsyncResult BeginDescribePublishingDestination(DescribePublishingDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePublishingDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePublishingDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribePublishingDestination operation. /// /// /// The IAsyncResult returned by the call to BeginDescribePublishingDestination. /// /// Returns a DescribePublishingDestinationResult from GuardDuty. /// REST API Reference for DescribePublishingDestination Operation public virtual DescribePublishingDestinationResponse EndDescribePublishingDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisableOrganizationAdminAccount /// /// Disables an Amazon Web Services account within the Organization as the GuardDuty delegated /// administrator. /// /// Container for the necessary parameters to execute the DisableOrganizationAdminAccount service method. /// /// The response from the DisableOrganizationAdminAccount service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DisableOrganizationAdminAccount Operation public virtual DisableOrganizationAdminAccountResponse DisableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableOrganizationAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisableOrganizationAdminAccount operation. /// /// /// Container for the necessary parameters to execute the DisableOrganizationAdminAccount operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisableOrganizationAdminAccount /// operation. /// REST API Reference for DisableOrganizationAdminAccount Operation public virtual IAsyncResult BeginDisableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisableOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableOrganizationAdminAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisableOrganizationAdminAccount operation. /// /// /// The IAsyncResult returned by the call to BeginDisableOrganizationAdminAccount. /// /// Returns a DisableOrganizationAdminAccountResult from GuardDuty. /// REST API Reference for DisableOrganizationAdminAccount Operation public virtual DisableOrganizationAdminAccountResponse EndDisableOrganizationAdminAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisassociateFromAdministratorAccount /// /// Disassociates the current GuardDuty member account from its administrator account. /// /// /// /// When you disassociate an invited member from a GuardDuty delegated administrator, /// the member account details obtained from the CreateMembers /// API, including the associated email addresses, are retained. This is done so that /// the delegated administrator can invoke the InviteMembers /// API without the need to invoke the CreateMembers API again. To remove the details /// associated with a member account, the delegated administrator must invoke the DeleteMembers /// API. /// /// /// /// With autoEnableOrganizationMembers configuration for your organization /// set to ALL, you'll receive an error if you attempt to disable GuardDuty /// in a member account. /// /// /// Container for the necessary parameters to execute the DisassociateFromAdministratorAccount service method. /// /// The response from the DisassociateFromAdministratorAccount service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DisassociateFromAdministratorAccount Operation public virtual DisassociateFromAdministratorAccountResponse DisassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFromAdministratorAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFromAdministratorAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisassociateFromAdministratorAccount operation. /// /// /// Container for the necessary parameters to execute the DisassociateFromAdministratorAccount operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateFromAdministratorAccount /// operation. /// REST API Reference for DisassociateFromAdministratorAccount Operation public virtual IAsyncResult BeginDisassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFromAdministratorAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFromAdministratorAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisassociateFromAdministratorAccount operation. /// /// /// The IAsyncResult returned by the call to BeginDisassociateFromAdministratorAccount. /// /// Returns a DisassociateFromAdministratorAccountResult from GuardDuty. /// REST API Reference for DisassociateFromAdministratorAccount Operation public virtual DisassociateFromAdministratorAccountResponse EndDisassociateFromAdministratorAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisassociateFromMasterAccount /// /// Disassociates the current GuardDuty member account from its administrator account. /// /// /// /// When you disassociate an invited member from a GuardDuty delegated administrator, /// the member account details obtained from the CreateMembers /// API, including the associated email addresses, are retained. This is done so that /// the delegated administrator can invoke the InviteMembers /// API without the need to invoke the CreateMembers API again. To remove the details /// associated with a member account, the delegated administrator must invoke the DeleteMembers /// API. /// /// /// Container for the necessary parameters to execute the DisassociateFromMasterAccount service method. /// /// The response from the DisassociateFromMasterAccount service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DisassociateFromMasterAccount Operation [Obsolete("This operation is deprecated, use DisassociateFromAdministratorAccount instead")] public virtual DisassociateFromMasterAccountResponse DisassociateFromMasterAccount(DisassociateFromMasterAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFromMasterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFromMasterAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisassociateFromMasterAccount operation. /// /// /// Container for the necessary parameters to execute the DisassociateFromMasterAccount operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateFromMasterAccount /// operation. /// REST API Reference for DisassociateFromMasterAccount Operation [Obsolete("This operation is deprecated, use DisassociateFromAdministratorAccount instead")] public virtual IAsyncResult BeginDisassociateFromMasterAccount(DisassociateFromMasterAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFromMasterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFromMasterAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisassociateFromMasterAccount operation. /// /// /// The IAsyncResult returned by the call to BeginDisassociateFromMasterAccount. /// /// Returns a DisassociateFromMasterAccountResult from GuardDuty. /// REST API Reference for DisassociateFromMasterAccount Operation [Obsolete("This operation is deprecated, use DisassociateFromAdministratorAccount instead")] public virtual DisassociateFromMasterAccountResponse EndDisassociateFromMasterAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisassociateMembers /// /// Disassociates GuardDuty member accounts (from the current administrator account) specified /// by the account IDs. /// /// /// /// When you disassociate an invited member from a GuardDuty delegated administrator, /// the member account details obtained from the CreateMembers /// API, including the associated email addresses, are retained. This is done so that /// the delegated administrator can invoke the InviteMembers /// API without the need to invoke the CreateMembers API again. To remove the details /// associated with a member account, the delegated administrator must invoke the DeleteMembers /// API. /// /// /// /// With autoEnableOrganizationMembers configuration for your organization /// set to ALL, you'll receive an error if you attempt to disassociate a /// member account before removing them from your Amazon Web Services organization. /// /// /// Container for the necessary parameters to execute the DisassociateMembers service method. /// /// The response from the DisassociateMembers service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for DisassociateMembers Operation public virtual DisassociateMembersResponse DisassociateMembers(DisassociateMembersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateMembersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisassociateMembers operation. /// /// /// Container for the necessary parameters to execute the DisassociateMembers operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateMembers /// operation. /// REST API Reference for DisassociateMembers Operation public virtual IAsyncResult BeginDisassociateMembers(DisassociateMembersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateMembersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisassociateMembers operation. /// /// /// The IAsyncResult returned by the call to BeginDisassociateMembers. /// /// Returns a DisassociateMembersResult from GuardDuty. /// REST API Reference for DisassociateMembers Operation public virtual DisassociateMembersResponse EndDisassociateMembers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region EnableOrganizationAdminAccount /// /// Enables an Amazon Web Services account within the organization as the GuardDuty delegated /// administrator. /// /// Container for the necessary parameters to execute the EnableOrganizationAdminAccount service method. /// /// The response from the EnableOrganizationAdminAccount service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for EnableOrganizationAdminAccount Operation public virtual EnableOrganizationAdminAccountResponse EnableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableOrganizationAdminAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the EnableOrganizationAdminAccount operation. /// /// /// Container for the necessary parameters to execute the EnableOrganizationAdminAccount operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEnableOrganizationAdminAccount /// operation. /// REST API Reference for EnableOrganizationAdminAccount Operation public virtual IAsyncResult BeginEnableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = EnableOrganizationAdminAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableOrganizationAdminAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the EnableOrganizationAdminAccount operation. /// /// /// The IAsyncResult returned by the call to BeginEnableOrganizationAdminAccount. /// /// Returns a EnableOrganizationAdminAccountResult from GuardDuty. /// REST API Reference for EnableOrganizationAdminAccount Operation public virtual EnableOrganizationAdminAccountResponse EndEnableOrganizationAdminAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetAdministratorAccount /// /// Provides the details for the GuardDuty administrator account associated with the current /// GuardDuty member account. /// /// Container for the necessary parameters to execute the GetAdministratorAccount service method. /// /// The response from the GetAdministratorAccount service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetAdministratorAccount Operation public virtual GetAdministratorAccountResponse GetAdministratorAccount(GetAdministratorAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAdministratorAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAdministratorAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetAdministratorAccount operation. /// /// /// Container for the necessary parameters to execute the GetAdministratorAccount operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAdministratorAccount /// operation. /// REST API Reference for GetAdministratorAccount Operation public virtual IAsyncResult BeginGetAdministratorAccount(GetAdministratorAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAdministratorAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAdministratorAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetAdministratorAccount operation. /// /// /// The IAsyncResult returned by the call to BeginGetAdministratorAccount. /// /// Returns a GetAdministratorAccountResult from GuardDuty. /// REST API Reference for GetAdministratorAccount Operation public virtual GetAdministratorAccountResponse EndGetAdministratorAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCoverageStatistics /// /// Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, /// you can retrieve the statistics for all the resources associated with the active member /// accounts in your organization who have enabled EKS Runtime Monitoring and have the /// GuardDuty agent running on their EKS nodes. /// /// Container for the necessary parameters to execute the GetCoverageStatistics service method. /// /// The response from the GetCoverageStatistics service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetCoverageStatistics Operation public virtual GetCoverageStatisticsResponse GetCoverageStatistics(GetCoverageStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoverageStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoverageStatisticsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCoverageStatistics operation. /// /// /// Container for the necessary parameters to execute the GetCoverageStatistics operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCoverageStatistics /// operation. /// REST API Reference for GetCoverageStatistics Operation public virtual IAsyncResult BeginGetCoverageStatistics(GetCoverageStatisticsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoverageStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoverageStatisticsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCoverageStatistics operation. /// /// /// The IAsyncResult returned by the call to BeginGetCoverageStatistics. /// /// Returns a GetCoverageStatisticsResult from GuardDuty. /// REST API Reference for GetCoverageStatistics Operation public virtual GetCoverageStatisticsResponse EndGetCoverageStatistics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDetector /// /// Retrieves an Amazon GuardDuty detector specified by the detectorId. /// /// /// /// There might be regional differences because some data sources might not be available /// in all the Amazon Web Services Regions where GuardDuty is presently supported. For /// more information, see Regions /// and endpoints. /// /// /// Container for the necessary parameters to execute the GetDetector service method. /// /// The response from the GetDetector service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetDetector Operation public virtual GetDetectorResponse GetDetector(GetDetectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDetectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDetector operation. /// /// /// Container for the necessary parameters to execute the GetDetector operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDetector /// operation. /// REST API Reference for GetDetector Operation public virtual IAsyncResult BeginGetDetector(GetDetectorRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDetectorResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDetector operation. /// /// /// The IAsyncResult returned by the call to BeginGetDetector. /// /// Returns a GetDetectorResult from GuardDuty. /// REST API Reference for GetDetector Operation public virtual GetDetectorResponse EndGetDetector(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetFilter /// /// Returns the details of the filter specified by the filter name. /// /// Container for the necessary parameters to execute the GetFilter service method. /// /// The response from the GetFilter service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetFilter Operation public virtual GetFilterResponse GetFilter(GetFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetFilter operation. /// /// /// Container for the necessary parameters to execute the GetFilter operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFilter /// operation. /// REST API Reference for GetFilter Operation public virtual IAsyncResult BeginGetFilter(GetFilterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFilterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetFilter operation. /// /// /// The IAsyncResult returned by the call to BeginGetFilter. /// /// Returns a GetFilterResult from GuardDuty. /// REST API Reference for GetFilter Operation public virtual GetFilterResponse EndGetFilter(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetFindings /// /// Describes Amazon GuardDuty findings specified by finding IDs. /// /// Container for the necessary parameters to execute the GetFindings service method. /// /// The response from the GetFindings service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetFindings Operation public virtual GetFindingsResponse GetFindings(GetFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetFindings operation. /// /// /// Container for the necessary parameters to execute the GetFindings operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFindings /// operation. /// REST API Reference for GetFindings Operation public virtual IAsyncResult BeginGetFindings(GetFindingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetFindings operation. /// /// /// The IAsyncResult returned by the call to BeginGetFindings. /// /// Returns a GetFindingsResult from GuardDuty. /// REST API Reference for GetFindings Operation public virtual GetFindingsResponse EndGetFindings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetFindingsStatistics /// /// Lists Amazon GuardDuty findings statistics for the specified detector ID. /// /// Container for the necessary parameters to execute the GetFindingsStatistics service method. /// /// The response from the GetFindingsStatistics service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetFindingsStatistics Operation public virtual GetFindingsStatisticsResponse GetFindingsStatistics(GetFindingsStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsStatisticsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetFindingsStatistics operation. /// /// /// Container for the necessary parameters to execute the GetFindingsStatistics operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFindingsStatistics /// operation. /// REST API Reference for GetFindingsStatistics Operation public virtual IAsyncResult BeginGetFindingsStatistics(GetFindingsStatisticsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFindingsStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFindingsStatisticsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetFindingsStatistics operation. /// /// /// The IAsyncResult returned by the call to BeginGetFindingsStatistics. /// /// Returns a GetFindingsStatisticsResult from GuardDuty. /// REST API Reference for GetFindingsStatistics Operation public virtual GetFindingsStatisticsResponse EndGetFindingsStatistics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetInvitationsCount /// /// Returns the count of all GuardDuty membership invitations that were sent to the current /// member account except the currently accepted invitation. /// /// Container for the necessary parameters to execute the GetInvitationsCount service method. /// /// The response from the GetInvitationsCount service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetInvitationsCount Operation public virtual GetInvitationsCountResponse GetInvitationsCount(GetInvitationsCountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetInvitationsCountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInvitationsCountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetInvitationsCount operation. /// /// /// Container for the necessary parameters to execute the GetInvitationsCount operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetInvitationsCount /// operation. /// REST API Reference for GetInvitationsCount Operation public virtual IAsyncResult BeginGetInvitationsCount(GetInvitationsCountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetInvitationsCountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInvitationsCountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetInvitationsCount operation. /// /// /// The IAsyncResult returned by the call to BeginGetInvitationsCount. /// /// Returns a GetInvitationsCountResult from GuardDuty. /// REST API Reference for GetInvitationsCount Operation public virtual GetInvitationsCountResponse EndGetInvitationsCount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetIPSet /// /// Retrieves the IPSet specified by the ipSetId. /// /// Container for the necessary parameters to execute the GetIPSet service method. /// /// The response from the GetIPSet service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetIPSet Operation public virtual GetIPSetResponse GetIPSet(GetIPSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIPSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIPSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetIPSet operation. /// /// /// Container for the necessary parameters to execute the GetIPSet operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetIPSet /// operation. /// REST API Reference for GetIPSet Operation public virtual IAsyncResult BeginGetIPSet(GetIPSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetIPSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIPSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetIPSet operation. /// /// /// The IAsyncResult returned by the call to BeginGetIPSet. /// /// Returns a GetIPSetResult from GuardDuty. /// REST API Reference for GetIPSet Operation public virtual GetIPSetResponse EndGetIPSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetMalwareScanSettings /// /// Returns the details of the malware scan settings. /// /// /// /// There might be regional differences because some data sources might not be available /// in all the Amazon Web Services Regions where GuardDuty is presently supported. For /// more information, see Regions /// and endpoints. /// /// /// Container for the necessary parameters to execute the GetMalwareScanSettings service method. /// /// The response from the GetMalwareScanSettings service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetMalwareScanSettings Operation public virtual GetMalwareScanSettingsResponse GetMalwareScanSettings(GetMalwareScanSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMalwareScanSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMalwareScanSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetMalwareScanSettings operation. /// /// /// Container for the necessary parameters to execute the GetMalwareScanSettings operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMalwareScanSettings /// operation. /// REST API Reference for GetMalwareScanSettings Operation public virtual IAsyncResult BeginGetMalwareScanSettings(GetMalwareScanSettingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMalwareScanSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMalwareScanSettingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetMalwareScanSettings operation. /// /// /// The IAsyncResult returned by the call to BeginGetMalwareScanSettings. /// /// Returns a GetMalwareScanSettingsResult from GuardDuty. /// REST API Reference for GetMalwareScanSettings Operation public virtual GetMalwareScanSettingsResponse EndGetMalwareScanSettings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetMasterAccount /// /// Provides the details for the GuardDuty administrator account associated with the current /// GuardDuty member account. /// /// Container for the necessary parameters to execute the GetMasterAccount service method. /// /// The response from the GetMasterAccount service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetMasterAccount Operation [Obsolete("This operation is deprecated, use GetAdministratorAccount instead")] public virtual GetMasterAccountResponse GetMasterAccount(GetMasterAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMasterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMasterAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetMasterAccount operation. /// /// /// Container for the necessary parameters to execute the GetMasterAccount operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMasterAccount /// operation. /// REST API Reference for GetMasterAccount Operation [Obsolete("This operation is deprecated, use GetAdministratorAccount instead")] public virtual IAsyncResult BeginGetMasterAccount(GetMasterAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMasterAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMasterAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetMasterAccount operation. /// /// /// The IAsyncResult returned by the call to BeginGetMasterAccount. /// /// Returns a GetMasterAccountResult from GuardDuty. /// REST API Reference for GetMasterAccount Operation [Obsolete("This operation is deprecated, use GetAdministratorAccount instead")] public virtual GetMasterAccountResponse EndGetMasterAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetMemberDetectors /// /// Describes which data sources are enabled for the member account's detector. /// /// /// /// There might be regional differences because some data sources might not be available /// in all the Amazon Web Services Regions where GuardDuty is presently supported. For /// more information, see Regions /// and endpoints. /// /// /// Container for the necessary parameters to execute the GetMemberDetectors service method. /// /// The response from the GetMemberDetectors service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetMemberDetectors Operation public virtual GetMemberDetectorsResponse GetMemberDetectors(GetMemberDetectorsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMemberDetectorsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMemberDetectorsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetMemberDetectors operation. /// /// /// Container for the necessary parameters to execute the GetMemberDetectors operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMemberDetectors /// operation. /// REST API Reference for GetMemberDetectors Operation public virtual IAsyncResult BeginGetMemberDetectors(GetMemberDetectorsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMemberDetectorsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMemberDetectorsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetMemberDetectors operation. /// /// /// The IAsyncResult returned by the call to BeginGetMemberDetectors. /// /// Returns a GetMemberDetectorsResult from GuardDuty. /// REST API Reference for GetMemberDetectors Operation public virtual GetMemberDetectorsResponse EndGetMemberDetectors(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetMembers /// /// Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) /// specified by the account IDs. /// /// Container for the necessary parameters to execute the GetMembers service method. /// /// The response from the GetMembers service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetMembers Operation public virtual GetMembersResponse GetMembers(GetMembersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMembersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetMembers operation. /// /// /// Container for the necessary parameters to execute the GetMembers operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMembers /// operation. /// REST API Reference for GetMembers Operation public virtual IAsyncResult BeginGetMembers(GetMembersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMembersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetMembers operation. /// /// /// The IAsyncResult returned by the call to BeginGetMembers. /// /// Returns a GetMembersResult from GuardDuty. /// REST API Reference for GetMembers Operation public virtual GetMembersResponse EndGetMembers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetRemainingFreeTrialDays /// /// Provides the number of days left for each data source used in the free trial period. /// /// Container for the necessary parameters to execute the GetRemainingFreeTrialDays service method. /// /// The response from the GetRemainingFreeTrialDays service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetRemainingFreeTrialDays Operation public virtual GetRemainingFreeTrialDaysResponse GetRemainingFreeTrialDays(GetRemainingFreeTrialDaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRemainingFreeTrialDaysRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRemainingFreeTrialDaysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetRemainingFreeTrialDays operation. /// /// /// Container for the necessary parameters to execute the GetRemainingFreeTrialDays operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRemainingFreeTrialDays /// operation. /// REST API Reference for GetRemainingFreeTrialDays Operation public virtual IAsyncResult BeginGetRemainingFreeTrialDays(GetRemainingFreeTrialDaysRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetRemainingFreeTrialDaysRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRemainingFreeTrialDaysResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetRemainingFreeTrialDays operation. /// /// /// The IAsyncResult returned by the call to BeginGetRemainingFreeTrialDays. /// /// Returns a GetRemainingFreeTrialDaysResult from GuardDuty. /// REST API Reference for GetRemainingFreeTrialDays Operation public virtual GetRemainingFreeTrialDaysResponse EndGetRemainingFreeTrialDays(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetThreatIntelSet /// /// Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID. /// /// Container for the necessary parameters to execute the GetThreatIntelSet service method. /// /// The response from the GetThreatIntelSet service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetThreatIntelSet Operation public virtual GetThreatIntelSetResponse GetThreatIntelSet(GetThreatIntelSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetThreatIntelSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetThreatIntelSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetThreatIntelSet operation. /// /// /// Container for the necessary parameters to execute the GetThreatIntelSet operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetThreatIntelSet /// operation. /// REST API Reference for GetThreatIntelSet Operation public virtual IAsyncResult BeginGetThreatIntelSet(GetThreatIntelSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetThreatIntelSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetThreatIntelSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetThreatIntelSet operation. /// /// /// The IAsyncResult returned by the call to BeginGetThreatIntelSet. /// /// Returns a GetThreatIntelSetResult from GuardDuty. /// REST API Reference for GetThreatIntelSet Operation public virtual GetThreatIntelSetResponse EndGetThreatIntelSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetUsageStatistics /// /// Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector /// ID. For newly enabled detectors or data sources, the cost returned will include only /// the usage so far under 30 days. This may differ from the cost metrics in the console, /// which project usage over 30 days to provide a monthly cost estimate. For more information, /// see Understanding /// How Usage Costs are Calculated. /// /// Container for the necessary parameters to execute the GetUsageStatistics service method. /// /// The response from the GetUsageStatistics service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for GetUsageStatistics Operation public virtual GetUsageStatisticsResponse GetUsageStatistics(GetUsageStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsageStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsageStatisticsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetUsageStatistics operation. /// /// /// Container for the necessary parameters to execute the GetUsageStatistics operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetUsageStatistics /// operation. /// REST API Reference for GetUsageStatistics Operation public virtual IAsyncResult BeginGetUsageStatistics(GetUsageStatisticsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetUsageStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetUsageStatisticsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetUsageStatistics operation. /// /// /// The IAsyncResult returned by the call to BeginGetUsageStatistics. /// /// Returns a GetUsageStatisticsResult from GuardDuty. /// REST API Reference for GetUsageStatistics Operation public virtual GetUsageStatisticsResponse EndGetUsageStatistics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region InviteMembers /// /// Invites Amazon Web Services accounts to become members of an organization administered /// by the Amazon Web Services account that invokes this API. If you are using Amazon /// Web Services Organizations to manager your GuardDuty environment, this step is not /// needed. For more information, see Managing /// accounts with Amazon Web Services Organizations. /// /// /// /// To invite Amazon Web Services accounts, the first step is to ensure that GuardDuty /// has been enabled in the potential member accounts. You can now invoke this API to /// add accounts by invitation. The invited accounts can either accept or decline the /// invitation from their GuardDuty accounts. Each invited Amazon Web Services account /// can choose to accept the invitation from only one Amazon Web Services account. For /// more information, see Managing /// GuardDuty accounts by invitation. /// /// /// /// After the invite has been accepted and you choose to disassociate a member account /// (by using DisassociateMembers) /// from your account, the details of the member account obtained by invoking CreateMembers, /// including the associated email addresses, will be retained. This is done so that you /// can invoke InviteMembers without the need to invoke CreateMembers /// again. To remove the details associated with a member account, you must also invoke /// DeleteMembers. /// /// /// /// Container for the necessary parameters to execute the InviteMembers service method. /// /// The response from the InviteMembers service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for InviteMembers Operation public virtual InviteMembersResponse InviteMembers(InviteMembersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = InviteMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = InviteMembersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the InviteMembers operation. /// /// /// Container for the necessary parameters to execute the InviteMembers operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndInviteMembers /// operation. /// REST API Reference for InviteMembers Operation public virtual IAsyncResult BeginInviteMembers(InviteMembersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = InviteMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = InviteMembersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the InviteMembers operation. /// /// /// The IAsyncResult returned by the call to BeginInviteMembers. /// /// Returns a InviteMembersResult from GuardDuty. /// REST API Reference for InviteMembers Operation public virtual InviteMembersResponse EndInviteMembers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCoverage /// /// Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, /// you can retrieve all resources associated with the active member accounts in your /// organization. /// /// /// /// Make sure the accounts have EKS Runtime Monitoring enabled and GuardDuty agent running /// on their EKS nodes. /// /// /// Container for the necessary parameters to execute the ListCoverage service method. /// /// The response from the ListCoverage service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for ListCoverage Operation public virtual ListCoverageResponse ListCoverage(ListCoverageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCoverageRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCoverageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCoverage operation. /// /// /// Container for the necessary parameters to execute the ListCoverage operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCoverage /// operation. /// REST API Reference for ListCoverage Operation public virtual IAsyncResult BeginListCoverage(ListCoverageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCoverageRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCoverageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCoverage operation. /// /// /// The IAsyncResult returned by the call to BeginListCoverage. /// /// Returns a ListCoverageResult from GuardDuty. /// REST API Reference for ListCoverage Operation public virtual ListCoverageResponse EndListCoverage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDetectors /// /// Lists detectorIds of all the existing Amazon GuardDuty detector resources. /// /// Container for the necessary parameters to execute the ListDetectors service method. /// /// The response from the ListDetectors service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for ListDetectors Operation public virtual ListDetectorsResponse ListDetectors(ListDetectorsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDetectorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDetectorsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDetectors operation. /// /// /// Container for the necessary parameters to execute the ListDetectors operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDetectors /// operation. /// REST API Reference for ListDetectors Operation public virtual IAsyncResult BeginListDetectors(ListDetectorsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDetectorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDetectorsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDetectors operation. /// /// /// The IAsyncResult returned by the call to BeginListDetectors. /// /// Returns a ListDetectorsResult from GuardDuty. /// REST API Reference for ListDetectors Operation public virtual ListDetectorsResponse EndListDetectors(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListFilters /// /// Returns a paginated list of the current filters. /// /// Container for the necessary parameters to execute the ListFilters service method. /// /// The response from the ListFilters service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for ListFilters Operation public virtual ListFiltersResponse ListFilters(ListFiltersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFiltersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFiltersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListFilters operation. /// /// /// Container for the necessary parameters to execute the ListFilters operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFilters /// operation. /// REST API Reference for ListFilters Operation public virtual IAsyncResult BeginListFilters(ListFiltersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFiltersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFiltersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListFilters operation. /// /// /// The IAsyncResult returned by the call to BeginListFilters. /// /// Returns a ListFiltersResult from GuardDuty. /// REST API Reference for ListFilters Operation public virtual ListFiltersResponse EndListFilters(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListFindings /// /// Lists Amazon GuardDuty findings for the specified detector ID. /// /// Container for the necessary parameters to execute the ListFindings service method. /// /// The response from the ListFindings service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for ListFindings Operation public virtual ListFindingsResponse ListFindings(ListFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFindingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListFindings operation. /// /// /// Container for the necessary parameters to execute the ListFindings operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFindings /// operation. /// REST API Reference for ListFindings Operation public virtual IAsyncResult BeginListFindings(ListFindingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFindingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListFindings operation. /// /// /// The IAsyncResult returned by the call to BeginListFindings. /// /// Returns a ListFindingsResult from GuardDuty. /// REST API Reference for ListFindings Operation public virtual ListFindingsResponse EndListFindings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListInvitations /// /// Lists all GuardDuty membership invitations that were sent to the current Amazon Web /// Services account. /// /// Container for the necessary parameters to execute the ListInvitations service method. /// /// The response from the ListInvitations service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for ListInvitations Operation public virtual ListInvitationsResponse ListInvitations(ListInvitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInvitationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListInvitations operation. /// /// /// Container for the necessary parameters to execute the ListInvitations operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListInvitations /// operation. /// REST API Reference for ListInvitations Operation public virtual IAsyncResult BeginListInvitations(ListInvitationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListInvitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInvitationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListInvitations operation. /// /// /// The IAsyncResult returned by the call to BeginListInvitations. /// /// Returns a ListInvitationsResult from GuardDuty. /// REST API Reference for ListInvitations Operation public virtual ListInvitationsResponse EndListInvitations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListIPSets /// /// Lists the IPSets of the GuardDuty service specified by the detector ID. If you use /// this operation from a member account, the IPSets returned are the IPSets from the /// associated administrator account. /// /// Container for the necessary parameters to execute the ListIPSets service method. /// /// The response from the ListIPSets service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for ListIPSets Operation public virtual ListIPSetsResponse ListIPSets(ListIPSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListIPSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIPSetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListIPSets operation. /// /// /// Container for the necessary parameters to execute the ListIPSets operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListIPSets /// operation. /// REST API Reference for ListIPSets Operation public virtual IAsyncResult BeginListIPSets(ListIPSetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListIPSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIPSetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListIPSets operation. /// /// /// The IAsyncResult returned by the call to BeginListIPSets. /// /// Returns a ListIPSetsResult from GuardDuty. /// REST API Reference for ListIPSets Operation public virtual ListIPSetsResponse EndListIPSets(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListMembers /// /// Lists details about all member accounts for the current GuardDuty administrator account. /// /// Container for the necessary parameters to execute the ListMembers service method. /// /// The response from the ListMembers service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for ListMembers Operation public virtual ListMembersResponse ListMembers(ListMembersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListMembers operation. /// /// /// Container for the necessary parameters to execute the ListMembers operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListMembers /// operation. /// REST API Reference for ListMembers Operation public virtual IAsyncResult BeginListMembers(ListMembersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListMembers operation. /// /// /// The IAsyncResult returned by the call to BeginListMembers. /// /// Returns a ListMembersResult from GuardDuty. /// REST API Reference for ListMembers Operation public virtual ListMembersResponse EndListMembers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListOrganizationAdminAccounts /// /// Lists the accounts configured as GuardDuty delegated administrators. /// /// Container for the necessary parameters to execute the ListOrganizationAdminAccounts service method. /// /// The response from the ListOrganizationAdminAccounts service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for ListOrganizationAdminAccounts Operation public virtual ListOrganizationAdminAccountsResponse ListOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListOrganizationAdminAccountsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOrganizationAdminAccountsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListOrganizationAdminAccounts operation. /// /// /// Container for the necessary parameters to execute the ListOrganizationAdminAccounts operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListOrganizationAdminAccounts /// operation. /// REST API Reference for ListOrganizationAdminAccounts Operation public virtual IAsyncResult BeginListOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListOrganizationAdminAccountsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOrganizationAdminAccountsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListOrganizationAdminAccounts operation. /// /// /// The IAsyncResult returned by the call to BeginListOrganizationAdminAccounts. /// /// Returns a ListOrganizationAdminAccountsResult from GuardDuty. /// REST API Reference for ListOrganizationAdminAccounts Operation public virtual ListOrganizationAdminAccountsResponse EndListOrganizationAdminAccounts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPublishingDestinations /// /// Returns a list of publishing destinations associated with the specified detectorId. /// /// Container for the necessary parameters to execute the ListPublishingDestinations service method. /// /// The response from the ListPublishingDestinations service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for ListPublishingDestinations Operation public virtual ListPublishingDestinationsResponse ListPublishingDestinations(ListPublishingDestinationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPublishingDestinationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPublishingDestinationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPublishingDestinations operation. /// /// /// Container for the necessary parameters to execute the ListPublishingDestinations operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPublishingDestinations /// operation. /// REST API Reference for ListPublishingDestinations Operation public virtual IAsyncResult BeginListPublishingDestinations(ListPublishingDestinationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPublishingDestinationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPublishingDestinationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPublishingDestinations operation. /// /// /// The IAsyncResult returned by the call to BeginListPublishingDestinations. /// /// Returns a ListPublishingDestinationsResult from GuardDuty. /// REST API Reference for ListPublishingDestinations Operation public virtual ListPublishingDestinationsResponse EndListPublishingDestinations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Lists tags for a resource. Tagging is currently supported for detectors, finding filters, /// IP sets, threat intel sets, publishing destination, with a limit of 50 tags per resource. /// When invoked, this operation returns all assigned tags for a given resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by GuardDuty. /// /// An access denied exception object. /// /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from GuardDuty. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListThreatIntelSets /// /// Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID. If /// you use this operation from a member account, the ThreatIntelSets associated with /// the administrator account are returned. /// /// Container for the necessary parameters to execute the ListThreatIntelSets service method. /// /// The response from the ListThreatIntelSets service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for ListThreatIntelSets Operation public virtual ListThreatIntelSetsResponse ListThreatIntelSets(ListThreatIntelSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListThreatIntelSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThreatIntelSetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListThreatIntelSets operation. /// /// /// Container for the necessary parameters to execute the ListThreatIntelSets operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListThreatIntelSets /// operation. /// REST API Reference for ListThreatIntelSets Operation public virtual IAsyncResult BeginListThreatIntelSets(ListThreatIntelSetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListThreatIntelSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThreatIntelSetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListThreatIntelSets operation. /// /// /// The IAsyncResult returned by the call to BeginListThreatIntelSets. /// /// Returns a ListThreatIntelSetsResult from GuardDuty. /// REST API Reference for ListThreatIntelSets Operation public virtual ListThreatIntelSetsResponse EndListThreatIntelSets(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartMalwareScan /// /// Initiates the malware scan. Invoking this API will automatically create the Service-linked /// role in the corresponding account. /// /// Container for the necessary parameters to execute the StartMalwareScan service method. /// /// The response from the StartMalwareScan service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// A request conflict exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for StartMalwareScan Operation public virtual StartMalwareScanResponse StartMalwareScan(StartMalwareScanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartMalwareScanRequestMarshaller.Instance; options.ResponseUnmarshaller = StartMalwareScanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartMalwareScan operation. /// /// /// Container for the necessary parameters to execute the StartMalwareScan operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartMalwareScan /// operation. /// REST API Reference for StartMalwareScan Operation public virtual IAsyncResult BeginStartMalwareScan(StartMalwareScanRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartMalwareScanRequestMarshaller.Instance; options.ResponseUnmarshaller = StartMalwareScanResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartMalwareScan operation. /// /// /// The IAsyncResult returned by the call to BeginStartMalwareScan. /// /// Returns a StartMalwareScanResult from GuardDuty. /// REST API Reference for StartMalwareScan Operation public virtual StartMalwareScanResponse EndStartMalwareScan(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartMonitoringMembers /// /// Turns on GuardDuty monitoring of the specified member accounts. Use this operation /// to restart monitoring of accounts that you stopped monitoring with the StopMonitoringMembers /// operation. /// /// Container for the necessary parameters to execute the StartMonitoringMembers service method. /// /// The response from the StartMonitoringMembers service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for StartMonitoringMembers Operation public virtual StartMonitoringMembersResponse StartMonitoringMembers(StartMonitoringMembersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartMonitoringMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = StartMonitoringMembersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartMonitoringMembers operation. /// /// /// Container for the necessary parameters to execute the StartMonitoringMembers operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartMonitoringMembers /// operation. /// REST API Reference for StartMonitoringMembers Operation public virtual IAsyncResult BeginStartMonitoringMembers(StartMonitoringMembersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartMonitoringMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = StartMonitoringMembersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartMonitoringMembers operation. /// /// /// The IAsyncResult returned by the call to BeginStartMonitoringMembers. /// /// Returns a StartMonitoringMembersResult from GuardDuty. /// REST API Reference for StartMonitoringMembers Operation public virtual StartMonitoringMembersResponse EndStartMonitoringMembers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopMonitoringMembers /// /// Stops GuardDuty monitoring for the specified member accounts. Use the StartMonitoringMembers /// operation to restart monitoring for those accounts. /// /// /// /// With autoEnableOrganizationMembers configuration for your organization /// set to ALL, you'll receive an error if you attempt to stop monitoring /// the member accounts in your organization. /// /// /// Container for the necessary parameters to execute the StopMonitoringMembers service method. /// /// The response from the StopMonitoringMembers service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for StopMonitoringMembers Operation public virtual StopMonitoringMembersResponse StopMonitoringMembers(StopMonitoringMembersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopMonitoringMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = StopMonitoringMembersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopMonitoringMembers operation. /// /// /// Container for the necessary parameters to execute the StopMonitoringMembers operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopMonitoringMembers /// operation. /// REST API Reference for StopMonitoringMembers Operation public virtual IAsyncResult BeginStopMonitoringMembers(StopMonitoringMembersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopMonitoringMembersRequestMarshaller.Instance; options.ResponseUnmarshaller = StopMonitoringMembersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopMonitoringMembers operation. /// /// /// The IAsyncResult returned by the call to BeginStopMonitoringMembers. /// /// Returns a StopMonitoringMembersResult from GuardDuty. /// REST API Reference for StopMonitoringMembers Operation public virtual StopMonitoringMembersResponse EndStopMonitoringMembers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds tags to a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by GuardDuty. /// /// An access denied exception object. /// /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from GuardDuty. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UnarchiveFindings /// /// Unarchives GuardDuty findings specified by the findingIds. /// /// Container for the necessary parameters to execute the UnarchiveFindings service method. /// /// The response from the UnarchiveFindings service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for UnarchiveFindings Operation public virtual UnarchiveFindingsResponse UnarchiveFindings(UnarchiveFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UnarchiveFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = UnarchiveFindingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UnarchiveFindings operation. /// /// /// Container for the necessary parameters to execute the UnarchiveFindings operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUnarchiveFindings /// operation. /// REST API Reference for UnarchiveFindings Operation public virtual IAsyncResult BeginUnarchiveFindings(UnarchiveFindingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UnarchiveFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = UnarchiveFindingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UnarchiveFindings operation. /// /// /// The IAsyncResult returned by the call to BeginUnarchiveFindings. /// /// Returns a UnarchiveFindingsResult from GuardDuty. /// REST API Reference for UnarchiveFindings Operation public virtual UnarchiveFindingsResponse EndUnarchiveFindings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Removes tags from a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by GuardDuty. /// /// An access denied exception object. /// /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from GuardDuty. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateDetector /// /// Updates the Amazon GuardDuty detector specified by the detectorId. /// /// /// /// There might be regional differences because some data sources might not be available /// in all the Amazon Web Services Regions where GuardDuty is presently supported. For /// more information, see Regions /// and endpoints. /// /// /// Container for the necessary parameters to execute the UpdateDetector service method. /// /// The response from the UpdateDetector service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for UpdateDetector Operation public virtual UpdateDetectorResponse UpdateDetector(UpdateDetectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDetectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateDetector operation. /// /// /// Container for the necessary parameters to execute the UpdateDetector operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDetector /// operation. /// REST API Reference for UpdateDetector Operation public virtual IAsyncResult BeginUpdateDetector(UpdateDetectorRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDetectorResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDetector operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDetector. /// /// Returns a UpdateDetectorResult from GuardDuty. /// REST API Reference for UpdateDetector Operation public virtual UpdateDetectorResponse EndUpdateDetector(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateFilter /// /// Updates the filter specified by the filter name. /// /// Container for the necessary parameters to execute the UpdateFilter service method. /// /// The response from the UpdateFilter service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for UpdateFilter Operation public virtual UpdateFilterResponse UpdateFilter(UpdateFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateFilter operation. /// /// /// Container for the necessary parameters to execute the UpdateFilter operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFilter /// operation. /// REST API Reference for UpdateFilter Operation public virtual IAsyncResult BeginUpdateFilter(UpdateFilterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFilterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateFilter operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateFilter. /// /// Returns a UpdateFilterResult from GuardDuty. /// REST API Reference for UpdateFilter Operation public virtual UpdateFilterResponse EndUpdateFilter(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateFindingsFeedback /// /// Marks the specified GuardDuty findings as useful or not useful. /// /// Container for the necessary parameters to execute the UpdateFindingsFeedback service method. /// /// The response from the UpdateFindingsFeedback service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for UpdateFindingsFeedback Operation public virtual UpdateFindingsFeedbackResponse UpdateFindingsFeedback(UpdateFindingsFeedbackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFindingsFeedbackRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFindingsFeedbackResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateFindingsFeedback operation. /// /// /// Container for the necessary parameters to execute the UpdateFindingsFeedback operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFindingsFeedback /// operation. /// REST API Reference for UpdateFindingsFeedback Operation public virtual IAsyncResult BeginUpdateFindingsFeedback(UpdateFindingsFeedbackRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFindingsFeedbackRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFindingsFeedbackResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateFindingsFeedback operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateFindingsFeedback. /// /// Returns a UpdateFindingsFeedbackResult from GuardDuty. /// REST API Reference for UpdateFindingsFeedback Operation public virtual UpdateFindingsFeedbackResponse EndUpdateFindingsFeedback(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateIPSet /// /// Updates the IPSet specified by the IPSet ID. /// /// Container for the necessary parameters to execute the UpdateIPSet service method. /// /// The response from the UpdateIPSet service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for UpdateIPSet Operation public virtual UpdateIPSetResponse UpdateIPSet(UpdateIPSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIPSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIPSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateIPSet operation. /// /// /// Container for the necessary parameters to execute the UpdateIPSet operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateIPSet /// operation. /// REST API Reference for UpdateIPSet Operation public virtual IAsyncResult BeginUpdateIPSet(UpdateIPSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIPSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIPSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateIPSet operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateIPSet. /// /// Returns a UpdateIPSetResult from GuardDuty. /// REST API Reference for UpdateIPSet Operation public virtual UpdateIPSetResponse EndUpdateIPSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateMalwareScanSettings /// /// Updates the malware scan settings. /// /// /// /// There might be regional differences because some data sources might not be available /// in all the Amazon Web Services Regions where GuardDuty is presently supported. For /// more information, see Regions /// and endpoints. /// /// /// Container for the necessary parameters to execute the UpdateMalwareScanSettings service method. /// /// The response from the UpdateMalwareScanSettings service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for UpdateMalwareScanSettings Operation public virtual UpdateMalwareScanSettingsResponse UpdateMalwareScanSettings(UpdateMalwareScanSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMalwareScanSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMalwareScanSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateMalwareScanSettings operation. /// /// /// Container for the necessary parameters to execute the UpdateMalwareScanSettings operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateMalwareScanSettings /// operation. /// REST API Reference for UpdateMalwareScanSettings Operation public virtual IAsyncResult BeginUpdateMalwareScanSettings(UpdateMalwareScanSettingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMalwareScanSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMalwareScanSettingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateMalwareScanSettings operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateMalwareScanSettings. /// /// Returns a UpdateMalwareScanSettingsResult from GuardDuty. /// REST API Reference for UpdateMalwareScanSettings Operation public virtual UpdateMalwareScanSettingsResponse EndUpdateMalwareScanSettings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateMemberDetectors /// /// Contains information on member accounts to be updated. /// /// /// /// There might be regional differences because some data sources might not be available /// in all the Amazon Web Services Regions where GuardDuty is presently supported. For /// more information, see Regions /// and endpoints. /// /// /// Container for the necessary parameters to execute the UpdateMemberDetectors service method. /// /// The response from the UpdateMemberDetectors service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for UpdateMemberDetectors Operation public virtual UpdateMemberDetectorsResponse UpdateMemberDetectors(UpdateMemberDetectorsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMemberDetectorsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMemberDetectorsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateMemberDetectors operation. /// /// /// Container for the necessary parameters to execute the UpdateMemberDetectors operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateMemberDetectors /// operation. /// REST API Reference for UpdateMemberDetectors Operation public virtual IAsyncResult BeginUpdateMemberDetectors(UpdateMemberDetectorsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMemberDetectorsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMemberDetectorsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateMemberDetectors operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateMemberDetectors. /// /// Returns a UpdateMemberDetectorsResult from GuardDuty. /// REST API Reference for UpdateMemberDetectors Operation public virtual UpdateMemberDetectorsResponse EndUpdateMemberDetectors(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateOrganizationConfiguration /// /// Configures the delegated administrator account with the provided values. You must /// provide the value for either autoEnableOrganizationMembers or autoEnable. /// /// /// /// /// There might be regional differences because some data sources might not be available /// in all the Amazon Web Services Regions where GuardDuty is presently supported. For /// more information, see Regions /// and endpoints. /// /// /// Container for the necessary parameters to execute the UpdateOrganizationConfiguration service method. /// /// The response from the UpdateOrganizationConfiguration service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for UpdateOrganizationConfiguration Operation public virtual UpdateOrganizationConfigurationResponse UpdateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateOrganizationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateOrganizationConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateOrganizationConfiguration operation. /// /// /// Container for the necessary parameters to execute the UpdateOrganizationConfiguration operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateOrganizationConfiguration /// operation. /// REST API Reference for UpdateOrganizationConfiguration Operation public virtual IAsyncResult BeginUpdateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateOrganizationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateOrganizationConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateOrganizationConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateOrganizationConfiguration. /// /// Returns a UpdateOrganizationConfigurationResult from GuardDuty. /// REST API Reference for UpdateOrganizationConfiguration Operation public virtual UpdateOrganizationConfigurationResponse EndUpdateOrganizationConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdatePublishingDestination /// /// Updates information about the publishing destination specified by the destinationId. /// /// Container for the necessary parameters to execute the UpdatePublishingDestination service method. /// /// The response from the UpdatePublishingDestination service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for UpdatePublishingDestination Operation public virtual UpdatePublishingDestinationResponse UpdatePublishingDestination(UpdatePublishingDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePublishingDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePublishingDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdatePublishingDestination operation. /// /// /// Container for the necessary parameters to execute the UpdatePublishingDestination operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdatePublishingDestination /// operation. /// REST API Reference for UpdatePublishingDestination Operation public virtual IAsyncResult BeginUpdatePublishingDestination(UpdatePublishingDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePublishingDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePublishingDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdatePublishingDestination operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePublishingDestination. /// /// Returns a UpdatePublishingDestinationResult from GuardDuty. /// REST API Reference for UpdatePublishingDestination Operation public virtual UpdatePublishingDestinationResponse EndUpdatePublishingDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateThreatIntelSet /// /// Updates the ThreatIntelSet specified by the ThreatIntelSet ID. /// /// Container for the necessary parameters to execute the UpdateThreatIntelSet service method. /// /// The response from the UpdateThreatIntelSet service method, as returned by GuardDuty. /// /// A bad request exception object. /// /// /// An internal server error exception object. /// /// REST API Reference for UpdateThreatIntelSet Operation public virtual UpdateThreatIntelSetResponse UpdateThreatIntelSet(UpdateThreatIntelSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateThreatIntelSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateThreatIntelSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateThreatIntelSet operation. /// /// /// Container for the necessary parameters to execute the UpdateThreatIntelSet operation on AmazonGuardDutyClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateThreatIntelSet /// operation. /// REST API Reference for UpdateThreatIntelSet Operation public virtual IAsyncResult BeginUpdateThreatIntelSet(UpdateThreatIntelSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateThreatIntelSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateThreatIntelSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateThreatIntelSet operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateThreatIntelSet. /// /// Returns a UpdateThreatIntelSetResult from GuardDuty. /// REST API Reference for UpdateThreatIntelSet Operation public virtual UpdateThreatIntelSetResponse EndUpdateThreatIntelSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }