/* * 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 inspector-2016-02-16.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.Inspector.Model; namespace Amazon.Inspector { /// /// Interface for accessing Inspector /// /// Amazon Inspector /// /// Amazon Inspector enables you to analyze the behavior of your AWS resources and to /// identify potential security issues. For more information, see /// Amazon Inspector User Guide. /// /// public partial interface IAmazonInspector : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IInspectorPaginatorFactory Paginators { get; } #endif #region AddAttributesToFindings /// /// Assigns attributes (key and value pairs) to the findings that are specified by the /// ARNs of the findings. /// /// Container for the necessary parameters to execute the AddAttributesToFindings service method. /// /// The response from the AddAttributesToFindings service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for AddAttributesToFindings Operation AddAttributesToFindingsResponse AddAttributesToFindings(AddAttributesToFindingsRequest request); /// /// Initiates the asynchronous execution of the AddAttributesToFindings operation. /// /// /// Container for the necessary parameters to execute the AddAttributesToFindings operation on AmazonInspectorClient. /// 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 EndAddAttributesToFindings /// operation. /// REST API Reference for AddAttributesToFindings Operation IAsyncResult BeginAddAttributesToFindings(AddAttributesToFindingsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the AddAttributesToFindings operation. /// /// /// The IAsyncResult returned by the call to BeginAddAttributesToFindings. /// /// Returns a AddAttributesToFindingsResult from Inspector. /// REST API Reference for AddAttributesToFindings Operation AddAttributesToFindingsResponse EndAddAttributesToFindings(IAsyncResult asyncResult); #endregion #region CreateAssessmentTarget /// /// Creates a new assessment target using the ARN of the resource group that is generated /// by CreateResourceGroup. If resourceGroupArn is not specified, all EC2 instances /// in the current AWS account and region are included in the assessment target. If the /// service-linked /// role isn’t already registered, this action also creates and registers a service-linked /// role to grant Amazon Inspector access to AWS Services needed to perform security assessments. /// You can create up to 50 assessment targets per AWS account. You can run up to 500 /// concurrent agents per AWS account. For more information, see /// Amazon Inspector Assessment Targets. /// /// Container for the necessary parameters to execute the CreateAssessmentTarget service method. /// /// The response from the CreateAssessmentTarget service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 /// instances during the assessment run. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// AWS account limits. The error code describes the limit exceeded. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for CreateAssessmentTarget Operation CreateAssessmentTargetResponse CreateAssessmentTarget(CreateAssessmentTargetRequest request); /// /// Initiates the asynchronous execution of the CreateAssessmentTarget operation. /// /// /// Container for the necessary parameters to execute the CreateAssessmentTarget operation on AmazonInspectorClient. /// 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 EndCreateAssessmentTarget /// operation. /// REST API Reference for CreateAssessmentTarget Operation IAsyncResult BeginCreateAssessmentTarget(CreateAssessmentTargetRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateAssessmentTarget operation. /// /// /// The IAsyncResult returned by the call to BeginCreateAssessmentTarget. /// /// Returns a CreateAssessmentTargetResult from Inspector. /// REST API Reference for CreateAssessmentTarget Operation CreateAssessmentTargetResponse EndCreateAssessmentTarget(IAsyncResult asyncResult); #endregion #region CreateAssessmentTemplate /// /// Creates an assessment template for the assessment target that is specified by the /// ARN of the assessment target. If the service-linked /// role isn’t already registered, this action also creates and registers a service-linked /// role to grant Amazon Inspector access to AWS Services needed to perform security assessments. /// /// Container for the necessary parameters to execute the CreateAssessmentTemplate service method. /// /// The response from the CreateAssessmentTemplate service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// AWS account limits. The error code describes the limit exceeded. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for CreateAssessmentTemplate Operation CreateAssessmentTemplateResponse CreateAssessmentTemplate(CreateAssessmentTemplateRequest request); /// /// Initiates the asynchronous execution of the CreateAssessmentTemplate operation. /// /// /// Container for the necessary parameters to execute the CreateAssessmentTemplate operation on AmazonInspectorClient. /// 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 EndCreateAssessmentTemplate /// operation. /// REST API Reference for CreateAssessmentTemplate Operation IAsyncResult BeginCreateAssessmentTemplate(CreateAssessmentTemplateRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateAssessmentTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginCreateAssessmentTemplate. /// /// Returns a CreateAssessmentTemplateResult from Inspector. /// REST API Reference for CreateAssessmentTemplate Operation CreateAssessmentTemplateResponse EndCreateAssessmentTemplate(IAsyncResult asyncResult); #endregion #region CreateExclusionsPreview /// /// Starts the generation of an exclusions preview for the specified assessment template. /// The exclusions preview lists the potential exclusions (ExclusionPreview) that Inspector /// can detect before it runs the assessment. /// /// Container for the necessary parameters to execute the CreateExclusionsPreview service method. /// /// The response from the CreateExclusionsPreview service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The request is rejected. The specified assessment template is currently generating /// an exclusions preview. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for CreateExclusionsPreview Operation CreateExclusionsPreviewResponse CreateExclusionsPreview(CreateExclusionsPreviewRequest request); /// /// Initiates the asynchronous execution of the CreateExclusionsPreview operation. /// /// /// Container for the necessary parameters to execute the CreateExclusionsPreview operation on AmazonInspectorClient. /// 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 EndCreateExclusionsPreview /// operation. /// REST API Reference for CreateExclusionsPreview Operation IAsyncResult BeginCreateExclusionsPreview(CreateExclusionsPreviewRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateExclusionsPreview operation. /// /// /// The IAsyncResult returned by the call to BeginCreateExclusionsPreview. /// /// Returns a CreateExclusionsPreviewResult from Inspector. /// REST API Reference for CreateExclusionsPreview Operation CreateExclusionsPreviewResponse EndCreateExclusionsPreview(IAsyncResult asyncResult); #endregion #region CreateResourceGroup /// /// Creates a resource group using the specified set of tags (key and value pairs) that /// are used to select the EC2 instances to be included in an Amazon Inspector assessment /// target. The created resource group is then used to create an Amazon Inspector assessment /// target. For more information, see CreateAssessmentTarget. /// /// Container for the necessary parameters to execute the CreateResourceGroup service method. /// /// The response from the CreateResourceGroup service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// AWS account limits. The error code describes the limit exceeded. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for CreateResourceGroup Operation CreateResourceGroupResponse CreateResourceGroup(CreateResourceGroupRequest request); /// /// Initiates the asynchronous execution of the CreateResourceGroup operation. /// /// /// Container for the necessary parameters to execute the CreateResourceGroup operation on AmazonInspectorClient. /// 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 EndCreateResourceGroup /// operation. /// REST API Reference for CreateResourceGroup Operation IAsyncResult BeginCreateResourceGroup(CreateResourceGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateResourceGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateResourceGroup. /// /// Returns a CreateResourceGroupResult from Inspector. /// REST API Reference for CreateResourceGroup Operation CreateResourceGroupResponse EndCreateResourceGroup(IAsyncResult asyncResult); #endregion #region DeleteAssessmentRun /// /// Deletes the assessment run that is specified by the ARN of the assessment run. /// /// Container for the necessary parameters to execute the DeleteAssessmentRun service method. /// /// The response from the DeleteAssessmentRun service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// You cannot perform a specified action if an assessment run is currently in progress. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for DeleteAssessmentRun Operation DeleteAssessmentRunResponse DeleteAssessmentRun(DeleteAssessmentRunRequest request); /// /// Initiates the asynchronous execution of the DeleteAssessmentRun operation. /// /// /// Container for the necessary parameters to execute the DeleteAssessmentRun operation on AmazonInspectorClient. /// 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 EndDeleteAssessmentRun /// operation. /// REST API Reference for DeleteAssessmentRun Operation IAsyncResult BeginDeleteAssessmentRun(DeleteAssessmentRunRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteAssessmentRun operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAssessmentRun. /// /// Returns a DeleteAssessmentRunResult from Inspector. /// REST API Reference for DeleteAssessmentRun Operation DeleteAssessmentRunResponse EndDeleteAssessmentRun(IAsyncResult asyncResult); #endregion #region DeleteAssessmentTarget /// /// Deletes the assessment target that is specified by the ARN of the assessment target. /// /// Container for the necessary parameters to execute the DeleteAssessmentTarget service method. /// /// The response from the DeleteAssessmentTarget service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// You cannot perform a specified action if an assessment run is currently in progress. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for DeleteAssessmentTarget Operation DeleteAssessmentTargetResponse DeleteAssessmentTarget(DeleteAssessmentTargetRequest request); /// /// Initiates the asynchronous execution of the DeleteAssessmentTarget operation. /// /// /// Container for the necessary parameters to execute the DeleteAssessmentTarget operation on AmazonInspectorClient. /// 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 EndDeleteAssessmentTarget /// operation. /// REST API Reference for DeleteAssessmentTarget Operation IAsyncResult BeginDeleteAssessmentTarget(DeleteAssessmentTargetRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteAssessmentTarget operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAssessmentTarget. /// /// Returns a DeleteAssessmentTargetResult from Inspector. /// REST API Reference for DeleteAssessmentTarget Operation DeleteAssessmentTargetResponse EndDeleteAssessmentTarget(IAsyncResult asyncResult); #endregion #region DeleteAssessmentTemplate /// /// Deletes the assessment template that is specified by the ARN of the assessment template. /// /// Container for the necessary parameters to execute the DeleteAssessmentTemplate service method. /// /// The response from the DeleteAssessmentTemplate service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// You cannot perform a specified action if an assessment run is currently in progress. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for DeleteAssessmentTemplate Operation DeleteAssessmentTemplateResponse DeleteAssessmentTemplate(DeleteAssessmentTemplateRequest request); /// /// Initiates the asynchronous execution of the DeleteAssessmentTemplate operation. /// /// /// Container for the necessary parameters to execute the DeleteAssessmentTemplate operation on AmazonInspectorClient. /// 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 EndDeleteAssessmentTemplate /// operation. /// REST API Reference for DeleteAssessmentTemplate Operation IAsyncResult BeginDeleteAssessmentTemplate(DeleteAssessmentTemplateRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteAssessmentTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAssessmentTemplate. /// /// Returns a DeleteAssessmentTemplateResult from Inspector. /// REST API Reference for DeleteAssessmentTemplate Operation DeleteAssessmentTemplateResponse EndDeleteAssessmentTemplate(IAsyncResult asyncResult); #endregion #region DescribeAssessmentRuns /// /// Describes the assessment runs that are specified by the ARNs of the assessment runs. /// /// Container for the necessary parameters to execute the DescribeAssessmentRuns service method. /// /// The response from the DescribeAssessmentRuns service method, as returned by Inspector. /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// REST API Reference for DescribeAssessmentRuns Operation DescribeAssessmentRunsResponse DescribeAssessmentRuns(DescribeAssessmentRunsRequest request); /// /// Initiates the asynchronous execution of the DescribeAssessmentRuns operation. /// /// /// Container for the necessary parameters to execute the DescribeAssessmentRuns operation on AmazonInspectorClient. /// 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 EndDescribeAssessmentRuns /// operation. /// REST API Reference for DescribeAssessmentRuns Operation IAsyncResult BeginDescribeAssessmentRuns(DescribeAssessmentRunsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeAssessmentRuns operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAssessmentRuns. /// /// Returns a DescribeAssessmentRunsResult from Inspector. /// REST API Reference for DescribeAssessmentRuns Operation DescribeAssessmentRunsResponse EndDescribeAssessmentRuns(IAsyncResult asyncResult); #endregion #region DescribeAssessmentTargets /// /// Describes the assessment targets that are specified by the ARNs of the assessment /// targets. /// /// Container for the necessary parameters to execute the DescribeAssessmentTargets service method. /// /// The response from the DescribeAssessmentTargets service method, as returned by Inspector. /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// REST API Reference for DescribeAssessmentTargets Operation DescribeAssessmentTargetsResponse DescribeAssessmentTargets(DescribeAssessmentTargetsRequest request); /// /// Initiates the asynchronous execution of the DescribeAssessmentTargets operation. /// /// /// Container for the necessary parameters to execute the DescribeAssessmentTargets operation on AmazonInspectorClient. /// 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 EndDescribeAssessmentTargets /// operation. /// REST API Reference for DescribeAssessmentTargets Operation IAsyncResult BeginDescribeAssessmentTargets(DescribeAssessmentTargetsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeAssessmentTargets operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAssessmentTargets. /// /// Returns a DescribeAssessmentTargetsResult from Inspector. /// REST API Reference for DescribeAssessmentTargets Operation DescribeAssessmentTargetsResponse EndDescribeAssessmentTargets(IAsyncResult asyncResult); #endregion #region DescribeAssessmentTemplates /// /// Describes the assessment templates that are specified by the ARNs of the assessment /// templates. /// /// Container for the necessary parameters to execute the DescribeAssessmentTemplates service method. /// /// The response from the DescribeAssessmentTemplates service method, as returned by Inspector. /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// REST API Reference for DescribeAssessmentTemplates Operation DescribeAssessmentTemplatesResponse DescribeAssessmentTemplates(DescribeAssessmentTemplatesRequest request); /// /// Initiates the asynchronous execution of the DescribeAssessmentTemplates operation. /// /// /// Container for the necessary parameters to execute the DescribeAssessmentTemplates operation on AmazonInspectorClient. /// 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 EndDescribeAssessmentTemplates /// operation. /// REST API Reference for DescribeAssessmentTemplates Operation IAsyncResult BeginDescribeAssessmentTemplates(DescribeAssessmentTemplatesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeAssessmentTemplates operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAssessmentTemplates. /// /// Returns a DescribeAssessmentTemplatesResult from Inspector. /// REST API Reference for DescribeAssessmentTemplates Operation DescribeAssessmentTemplatesResponse EndDescribeAssessmentTemplates(IAsyncResult asyncResult); #endregion #region DescribeCrossAccountAccessRole /// /// Describes the IAM role that enables Amazon Inspector to access your AWS account. /// /// Container for the necessary parameters to execute the DescribeCrossAccountAccessRole service method. /// /// The response from the DescribeCrossAccountAccessRole service method, as returned by Inspector. /// /// Internal server error. /// /// REST API Reference for DescribeCrossAccountAccessRole Operation DescribeCrossAccountAccessRoleResponse DescribeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest request); /// /// Initiates the asynchronous execution of the DescribeCrossAccountAccessRole operation. /// /// /// Container for the necessary parameters to execute the DescribeCrossAccountAccessRole operation on AmazonInspectorClient. /// 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 EndDescribeCrossAccountAccessRole /// operation. /// REST API Reference for DescribeCrossAccountAccessRole Operation IAsyncResult BeginDescribeCrossAccountAccessRole(DescribeCrossAccountAccessRoleRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeCrossAccountAccessRole operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCrossAccountAccessRole. /// /// Returns a DescribeCrossAccountAccessRoleResult from Inspector. /// REST API Reference for DescribeCrossAccountAccessRole Operation DescribeCrossAccountAccessRoleResponse EndDescribeCrossAccountAccessRole(IAsyncResult asyncResult); #endregion #region DescribeExclusions /// /// Describes the exclusions that are specified by the exclusions' ARNs. /// /// Container for the necessary parameters to execute the DescribeExclusions service method. /// /// The response from the DescribeExclusions service method, as returned by Inspector. /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// REST API Reference for DescribeExclusions Operation DescribeExclusionsResponse DescribeExclusions(DescribeExclusionsRequest request); /// /// Initiates the asynchronous execution of the DescribeExclusions operation. /// /// /// Container for the necessary parameters to execute the DescribeExclusions operation on AmazonInspectorClient. /// 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 EndDescribeExclusions /// operation. /// REST API Reference for DescribeExclusions Operation IAsyncResult BeginDescribeExclusions(DescribeExclusionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeExclusions operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeExclusions. /// /// Returns a DescribeExclusionsResult from Inspector. /// REST API Reference for DescribeExclusions Operation DescribeExclusionsResponse EndDescribeExclusions(IAsyncResult asyncResult); #endregion #region DescribeFindings /// /// Describes the findings that are specified by the ARNs of the findings. /// /// Container for the necessary parameters to execute the DescribeFindings service method. /// /// The response from the DescribeFindings service method, as returned by Inspector. /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// REST API Reference for DescribeFindings Operation DescribeFindingsResponse DescribeFindings(DescribeFindingsRequest request); /// /// Initiates the asynchronous execution of the DescribeFindings operation. /// /// /// Container for the necessary parameters to execute the DescribeFindings operation on AmazonInspectorClient. /// 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 EndDescribeFindings /// operation. /// REST API Reference for DescribeFindings Operation IAsyncResult BeginDescribeFindings(DescribeFindingsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeFindings operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeFindings. /// /// Returns a DescribeFindingsResult from Inspector. /// REST API Reference for DescribeFindings Operation DescribeFindingsResponse EndDescribeFindings(IAsyncResult asyncResult); #endregion #region DescribeResourceGroups /// /// Describes the resource groups that are specified by the ARNs of the resource groups. /// /// Container for the necessary parameters to execute the DescribeResourceGroups service method. /// /// The response from the DescribeResourceGroups service method, as returned by Inspector. /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// REST API Reference for DescribeResourceGroups Operation DescribeResourceGroupsResponse DescribeResourceGroups(DescribeResourceGroupsRequest request); /// /// Initiates the asynchronous execution of the DescribeResourceGroups operation. /// /// /// Container for the necessary parameters to execute the DescribeResourceGroups operation on AmazonInspectorClient. /// 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 EndDescribeResourceGroups /// operation. /// REST API Reference for DescribeResourceGroups Operation IAsyncResult BeginDescribeResourceGroups(DescribeResourceGroupsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeResourceGroups operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeResourceGroups. /// /// Returns a DescribeResourceGroupsResult from Inspector. /// REST API Reference for DescribeResourceGroups Operation DescribeResourceGroupsResponse EndDescribeResourceGroups(IAsyncResult asyncResult); #endregion #region DescribeRulesPackages /// /// Describes the rules packages that are specified by the ARNs of the rules packages. /// /// Container for the necessary parameters to execute the DescribeRulesPackages service method. /// /// The response from the DescribeRulesPackages service method, as returned by Inspector. /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// REST API Reference for DescribeRulesPackages Operation DescribeRulesPackagesResponse DescribeRulesPackages(DescribeRulesPackagesRequest request); /// /// Initiates the asynchronous execution of the DescribeRulesPackages operation. /// /// /// Container for the necessary parameters to execute the DescribeRulesPackages operation on AmazonInspectorClient. /// 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 EndDescribeRulesPackages /// operation. /// REST API Reference for DescribeRulesPackages Operation IAsyncResult BeginDescribeRulesPackages(DescribeRulesPackagesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DescribeRulesPackages operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeRulesPackages. /// /// Returns a DescribeRulesPackagesResult from Inspector. /// REST API Reference for DescribeRulesPackages Operation DescribeRulesPackagesResponse EndDescribeRulesPackages(IAsyncResult asyncResult); #endregion #region GetAssessmentReport /// /// Produces an assessment report that includes detailed and comprehensive results of /// a specified assessment run. /// /// Container for the necessary parameters to execute the GetAssessmentReport service method. /// /// The response from the GetAssessmentReport service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// You cannot perform a specified action if an assessment run is currently in progress. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// /// Used by the GetAssessmentReport API. The request was rejected because you tried /// to generate a report for an assessment run that existed before reporting was supported /// in Amazon Inspector. You can only generate reports for assessment runs that took place /// or will take place after generating reports in Amazon Inspector became available. /// /// REST API Reference for GetAssessmentReport Operation GetAssessmentReportResponse GetAssessmentReport(GetAssessmentReportRequest request); /// /// Initiates the asynchronous execution of the GetAssessmentReport operation. /// /// /// Container for the necessary parameters to execute the GetAssessmentReport operation on AmazonInspectorClient. /// 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 EndGetAssessmentReport /// operation. /// REST API Reference for GetAssessmentReport Operation IAsyncResult BeginGetAssessmentReport(GetAssessmentReportRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetAssessmentReport operation. /// /// /// The IAsyncResult returned by the call to BeginGetAssessmentReport. /// /// Returns a GetAssessmentReportResult from Inspector. /// REST API Reference for GetAssessmentReport Operation GetAssessmentReportResponse EndGetAssessmentReport(IAsyncResult asyncResult); #endregion #region GetExclusionsPreview /// /// Retrieves the exclusions preview (a list of ExclusionPreview objects) specified by /// the preview token. You can obtain the preview token by running the CreateExclusionsPreview /// API. /// /// Container for the necessary parameters to execute the GetExclusionsPreview service method. /// /// The response from the GetExclusionsPreview service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// REST API Reference for GetExclusionsPreview Operation GetExclusionsPreviewResponse GetExclusionsPreview(GetExclusionsPreviewRequest request); /// /// Initiates the asynchronous execution of the GetExclusionsPreview operation. /// /// /// Container for the necessary parameters to execute the GetExclusionsPreview operation on AmazonInspectorClient. /// 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 EndGetExclusionsPreview /// operation. /// REST API Reference for GetExclusionsPreview Operation IAsyncResult BeginGetExclusionsPreview(GetExclusionsPreviewRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetExclusionsPreview operation. /// /// /// The IAsyncResult returned by the call to BeginGetExclusionsPreview. /// /// Returns a GetExclusionsPreviewResult from Inspector. /// REST API Reference for GetExclusionsPreview Operation GetExclusionsPreviewResponse EndGetExclusionsPreview(IAsyncResult asyncResult); #endregion #region GetTelemetryMetadata /// /// Information about the data that is collected for the specified assessment run. /// /// Container for the necessary parameters to execute the GetTelemetryMetadata service method. /// /// The response from the GetTelemetryMetadata service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// REST API Reference for GetTelemetryMetadata Operation GetTelemetryMetadataResponse GetTelemetryMetadata(GetTelemetryMetadataRequest request); /// /// Initiates the asynchronous execution of the GetTelemetryMetadata operation. /// /// /// Container for the necessary parameters to execute the GetTelemetryMetadata operation on AmazonInspectorClient. /// 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 EndGetTelemetryMetadata /// operation. /// REST API Reference for GetTelemetryMetadata Operation IAsyncResult BeginGetTelemetryMetadata(GetTelemetryMetadataRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetTelemetryMetadata operation. /// /// /// The IAsyncResult returned by the call to BeginGetTelemetryMetadata. /// /// Returns a GetTelemetryMetadataResult from Inspector. /// REST API Reference for GetTelemetryMetadata Operation GetTelemetryMetadataResponse EndGetTelemetryMetadata(IAsyncResult asyncResult); #endregion #region ListAssessmentRunAgents /// /// Lists the agents of the assessment runs that are specified by the ARNs of the assessment /// runs. /// /// Container for the necessary parameters to execute the ListAssessmentRunAgents service method. /// /// The response from the ListAssessmentRunAgents service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// REST API Reference for ListAssessmentRunAgents Operation ListAssessmentRunAgentsResponse ListAssessmentRunAgents(ListAssessmentRunAgentsRequest request); /// /// Initiates the asynchronous execution of the ListAssessmentRunAgents operation. /// /// /// Container for the necessary parameters to execute the ListAssessmentRunAgents operation on AmazonInspectorClient. /// 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 EndListAssessmentRunAgents /// operation. /// REST API Reference for ListAssessmentRunAgents Operation IAsyncResult BeginListAssessmentRunAgents(ListAssessmentRunAgentsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListAssessmentRunAgents operation. /// /// /// The IAsyncResult returned by the call to BeginListAssessmentRunAgents. /// /// Returns a ListAssessmentRunAgentsResult from Inspector. /// REST API Reference for ListAssessmentRunAgents Operation ListAssessmentRunAgentsResponse EndListAssessmentRunAgents(IAsyncResult asyncResult); #endregion #region ListAssessmentRuns /// /// Lists the assessment runs that correspond to the assessment templates that are specified /// by the ARNs of the assessment templates. /// /// Container for the necessary parameters to execute the ListAssessmentRuns service method. /// /// The response from the ListAssessmentRuns service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// REST API Reference for ListAssessmentRuns Operation ListAssessmentRunsResponse ListAssessmentRuns(ListAssessmentRunsRequest request); /// /// Initiates the asynchronous execution of the ListAssessmentRuns operation. /// /// /// Container for the necessary parameters to execute the ListAssessmentRuns operation on AmazonInspectorClient. /// 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 EndListAssessmentRuns /// operation. /// REST API Reference for ListAssessmentRuns Operation IAsyncResult BeginListAssessmentRuns(ListAssessmentRunsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListAssessmentRuns operation. /// /// /// The IAsyncResult returned by the call to BeginListAssessmentRuns. /// /// Returns a ListAssessmentRunsResult from Inspector. /// REST API Reference for ListAssessmentRuns Operation ListAssessmentRunsResponse EndListAssessmentRuns(IAsyncResult asyncResult); #endregion #region ListAssessmentTargets /// /// Lists the ARNs of the assessment targets within this AWS account. For more information /// about assessment targets, see Amazon /// Inspector Assessment Targets. /// /// Container for the necessary parameters to execute the ListAssessmentTargets service method. /// /// The response from the ListAssessmentTargets service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// REST API Reference for ListAssessmentTargets Operation ListAssessmentTargetsResponse ListAssessmentTargets(ListAssessmentTargetsRequest request); /// /// Initiates the asynchronous execution of the ListAssessmentTargets operation. /// /// /// Container for the necessary parameters to execute the ListAssessmentTargets operation on AmazonInspectorClient. /// 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 EndListAssessmentTargets /// operation. /// REST API Reference for ListAssessmentTargets Operation IAsyncResult BeginListAssessmentTargets(ListAssessmentTargetsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListAssessmentTargets operation. /// /// /// The IAsyncResult returned by the call to BeginListAssessmentTargets. /// /// Returns a ListAssessmentTargetsResult from Inspector. /// REST API Reference for ListAssessmentTargets Operation ListAssessmentTargetsResponse EndListAssessmentTargets(IAsyncResult asyncResult); #endregion #region ListAssessmentTemplates /// /// Lists the assessment templates that correspond to the assessment targets that are /// specified by the ARNs of the assessment targets. /// /// Container for the necessary parameters to execute the ListAssessmentTemplates service method. /// /// The response from the ListAssessmentTemplates service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// REST API Reference for ListAssessmentTemplates Operation ListAssessmentTemplatesResponse ListAssessmentTemplates(ListAssessmentTemplatesRequest request); /// /// Initiates the asynchronous execution of the ListAssessmentTemplates operation. /// /// /// Container for the necessary parameters to execute the ListAssessmentTemplates operation on AmazonInspectorClient. /// 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 EndListAssessmentTemplates /// operation. /// REST API Reference for ListAssessmentTemplates Operation IAsyncResult BeginListAssessmentTemplates(ListAssessmentTemplatesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListAssessmentTemplates operation. /// /// /// The IAsyncResult returned by the call to BeginListAssessmentTemplates. /// /// Returns a ListAssessmentTemplatesResult from Inspector. /// REST API Reference for ListAssessmentTemplates Operation ListAssessmentTemplatesResponse EndListAssessmentTemplates(IAsyncResult asyncResult); #endregion #region ListEventSubscriptions /// /// Lists all the event subscriptions for the assessment template that is specified by /// the ARN of the assessment template. For more information, see SubscribeToEvent /// and UnsubscribeFromEvent. /// /// Container for the necessary parameters to execute the ListEventSubscriptions service method. /// /// The response from the ListEventSubscriptions service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// REST API Reference for ListEventSubscriptions Operation ListEventSubscriptionsResponse ListEventSubscriptions(ListEventSubscriptionsRequest request); /// /// Initiates the asynchronous execution of the ListEventSubscriptions operation. /// /// /// Container for the necessary parameters to execute the ListEventSubscriptions operation on AmazonInspectorClient. /// 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 EndListEventSubscriptions /// operation. /// REST API Reference for ListEventSubscriptions Operation IAsyncResult BeginListEventSubscriptions(ListEventSubscriptionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListEventSubscriptions operation. /// /// /// The IAsyncResult returned by the call to BeginListEventSubscriptions. /// /// Returns a ListEventSubscriptionsResult from Inspector. /// REST API Reference for ListEventSubscriptions Operation ListEventSubscriptionsResponse EndListEventSubscriptions(IAsyncResult asyncResult); #endregion #region ListExclusions /// /// List exclusions that are generated by the assessment run. /// /// Container for the necessary parameters to execute the ListExclusions service method. /// /// The response from the ListExclusions service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// REST API Reference for ListExclusions Operation ListExclusionsResponse ListExclusions(ListExclusionsRequest request); /// /// Initiates the asynchronous execution of the ListExclusions operation. /// /// /// Container for the necessary parameters to execute the ListExclusions operation on AmazonInspectorClient. /// 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 EndListExclusions /// operation. /// REST API Reference for ListExclusions Operation IAsyncResult BeginListExclusions(ListExclusionsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListExclusions operation. /// /// /// The IAsyncResult returned by the call to BeginListExclusions. /// /// Returns a ListExclusionsResult from Inspector. /// REST API Reference for ListExclusions Operation ListExclusionsResponse EndListExclusions(IAsyncResult asyncResult); #endregion #region ListFindings /// /// Lists findings that are generated by the assessment runs that are specified by the /// ARNs of the assessment runs. /// /// Container for the necessary parameters to execute the ListFindings service method. /// /// The response from the ListFindings service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// REST API Reference for ListFindings Operation ListFindingsResponse ListFindings(ListFindingsRequest request); /// /// Initiates the asynchronous execution of the ListFindings operation. /// /// /// Container for the necessary parameters to execute the ListFindings operation on AmazonInspectorClient. /// 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 IAsyncResult BeginListFindings(ListFindingsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListFindings operation. /// /// /// The IAsyncResult returned by the call to BeginListFindings. /// /// Returns a ListFindingsResult from Inspector. /// REST API Reference for ListFindings Operation ListFindingsResponse EndListFindings(IAsyncResult asyncResult); #endregion #region ListRulesPackages /// /// Lists all available Amazon Inspector rules packages. /// /// Container for the necessary parameters to execute the ListRulesPackages service method. /// /// The response from the ListRulesPackages service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// REST API Reference for ListRulesPackages Operation ListRulesPackagesResponse ListRulesPackages(ListRulesPackagesRequest request); /// /// Initiates the asynchronous execution of the ListRulesPackages operation. /// /// /// Container for the necessary parameters to execute the ListRulesPackages operation on AmazonInspectorClient. /// 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 EndListRulesPackages /// operation. /// REST API Reference for ListRulesPackages Operation IAsyncResult BeginListRulesPackages(ListRulesPackagesRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListRulesPackages operation. /// /// /// The IAsyncResult returned by the call to BeginListRulesPackages. /// /// Returns a ListRulesPackagesResult from Inspector. /// REST API Reference for ListRulesPackages Operation ListRulesPackagesResponse EndListRulesPackages(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// /// Lists all tags associated with an assessment template. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonInspectorClient. /// 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 IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from Inspector. /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region PreviewAgents /// /// Previews the agents installed on the EC2 instances that are part of the specified /// assessment target. /// /// Container for the necessary parameters to execute the PreviewAgents service method. /// /// The response from the PreviewAgents service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 /// instances during the assessment run. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// REST API Reference for PreviewAgents Operation PreviewAgentsResponse PreviewAgents(PreviewAgentsRequest request); /// /// Initiates the asynchronous execution of the PreviewAgents operation. /// /// /// Container for the necessary parameters to execute the PreviewAgents operation on AmazonInspectorClient. /// 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 EndPreviewAgents /// operation. /// REST API Reference for PreviewAgents Operation IAsyncResult BeginPreviewAgents(PreviewAgentsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PreviewAgents operation. /// /// /// The IAsyncResult returned by the call to BeginPreviewAgents. /// /// Returns a PreviewAgentsResult from Inspector. /// REST API Reference for PreviewAgents Operation PreviewAgentsResponse EndPreviewAgents(IAsyncResult asyncResult); #endregion #region RegisterCrossAccountAccessRole /// /// Registers the IAM role that grants Amazon Inspector access to AWS Services needed /// to perform security assessments. /// /// Container for the necessary parameters to execute the RegisterCrossAccountAccessRole service method. /// /// The response from the RegisterCrossAccountAccessRole service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 /// instances during the assessment run. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for RegisterCrossAccountAccessRole Operation RegisterCrossAccountAccessRoleResponse RegisterCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest request); /// /// Initiates the asynchronous execution of the RegisterCrossAccountAccessRole operation. /// /// /// Container for the necessary parameters to execute the RegisterCrossAccountAccessRole operation on AmazonInspectorClient. /// 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 EndRegisterCrossAccountAccessRole /// operation. /// REST API Reference for RegisterCrossAccountAccessRole Operation IAsyncResult BeginRegisterCrossAccountAccessRole(RegisterCrossAccountAccessRoleRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the RegisterCrossAccountAccessRole operation. /// /// /// The IAsyncResult returned by the call to BeginRegisterCrossAccountAccessRole. /// /// Returns a RegisterCrossAccountAccessRoleResult from Inspector. /// REST API Reference for RegisterCrossAccountAccessRole Operation RegisterCrossAccountAccessRoleResponse EndRegisterCrossAccountAccessRole(IAsyncResult asyncResult); #endregion #region RemoveAttributesFromFindings /// /// Removes entire attributes (key and value pairs) from the findings that are specified /// by the ARNs of the findings where an attribute with the specified key exists. /// /// Container for the necessary parameters to execute the RemoveAttributesFromFindings service method. /// /// The response from the RemoveAttributesFromFindings service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for RemoveAttributesFromFindings Operation RemoveAttributesFromFindingsResponse RemoveAttributesFromFindings(RemoveAttributesFromFindingsRequest request); /// /// Initiates the asynchronous execution of the RemoveAttributesFromFindings operation. /// /// /// Container for the necessary parameters to execute the RemoveAttributesFromFindings operation on AmazonInspectorClient. /// 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 EndRemoveAttributesFromFindings /// operation. /// REST API Reference for RemoveAttributesFromFindings Operation IAsyncResult BeginRemoveAttributesFromFindings(RemoveAttributesFromFindingsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the RemoveAttributesFromFindings operation. /// /// /// The IAsyncResult returned by the call to BeginRemoveAttributesFromFindings. /// /// Returns a RemoveAttributesFromFindingsResult from Inspector. /// REST API Reference for RemoveAttributesFromFindings Operation RemoveAttributesFromFindingsResponse EndRemoveAttributesFromFindings(IAsyncResult asyncResult); #endregion #region SetTagsForResource /// /// Sets tags (key and value pairs) to the assessment template that is specified by the /// ARN of the assessment template. /// /// Container for the necessary parameters to execute the SetTagsForResource service method. /// /// The response from the SetTagsForResource service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for SetTagsForResource Operation SetTagsForResourceResponse SetTagsForResource(SetTagsForResourceRequest request); /// /// Initiates the asynchronous execution of the SetTagsForResource operation. /// /// /// Container for the necessary parameters to execute the SetTagsForResource operation on AmazonInspectorClient. /// 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 EndSetTagsForResource /// operation. /// REST API Reference for SetTagsForResource Operation IAsyncResult BeginSetTagsForResource(SetTagsForResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the SetTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginSetTagsForResource. /// /// Returns a SetTagsForResourceResult from Inspector. /// REST API Reference for SetTagsForResource Operation SetTagsForResourceResponse EndSetTagsForResource(IAsyncResult asyncResult); #endregion #region StartAssessmentRun /// /// Starts the assessment run specified by the ARN of the assessment template. For this /// API to function properly, you must not exceed the limit of running up to 500 concurrent /// agents per AWS account. /// /// Container for the necessary parameters to execute the StartAssessmentRun service method. /// /// The response from the StartAssessmentRun service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// You started an assessment run, but one of the instances is already participating in /// another assessment run. /// /// /// Internal server error. /// /// /// Amazon Inspector cannot assume the cross-account role that it needs to list your EC2 /// instances during the assessment run. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// AWS account limits. The error code describes the limit exceeded. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for StartAssessmentRun Operation StartAssessmentRunResponse StartAssessmentRun(StartAssessmentRunRequest request); /// /// Initiates the asynchronous execution of the StartAssessmentRun operation. /// /// /// Container for the necessary parameters to execute the StartAssessmentRun operation on AmazonInspectorClient. /// 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 EndStartAssessmentRun /// operation. /// REST API Reference for StartAssessmentRun Operation IAsyncResult BeginStartAssessmentRun(StartAssessmentRunRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the StartAssessmentRun operation. /// /// /// The IAsyncResult returned by the call to BeginStartAssessmentRun. /// /// Returns a StartAssessmentRunResult from Inspector. /// REST API Reference for StartAssessmentRun Operation StartAssessmentRunResponse EndStartAssessmentRun(IAsyncResult asyncResult); #endregion #region StopAssessmentRun /// /// Stops the assessment run that is specified by the ARN of the assessment run. /// /// Container for the necessary parameters to execute the StopAssessmentRun service method. /// /// The response from the StopAssessmentRun service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for StopAssessmentRun Operation StopAssessmentRunResponse StopAssessmentRun(StopAssessmentRunRequest request); /// /// Initiates the asynchronous execution of the StopAssessmentRun operation. /// /// /// Container for the necessary parameters to execute the StopAssessmentRun operation on AmazonInspectorClient. /// 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 EndStopAssessmentRun /// operation. /// REST API Reference for StopAssessmentRun Operation IAsyncResult BeginStopAssessmentRun(StopAssessmentRunRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the StopAssessmentRun operation. /// /// /// The IAsyncResult returned by the call to BeginStopAssessmentRun. /// /// Returns a StopAssessmentRunResult from Inspector. /// REST API Reference for StopAssessmentRun Operation StopAssessmentRunResponse EndStopAssessmentRun(IAsyncResult asyncResult); #endregion #region SubscribeToEvent /// /// Enables the process of sending Amazon Simple Notification Service (SNS) notifications /// about a specified event to a specified SNS topic. /// /// Container for the necessary parameters to execute the SubscribeToEvent service method. /// /// The response from the SubscribeToEvent service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it attempted to create resources beyond the current /// AWS account limits. The error code describes the limit exceeded. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for SubscribeToEvent Operation SubscribeToEventResponse SubscribeToEvent(SubscribeToEventRequest request); /// /// Initiates the asynchronous execution of the SubscribeToEvent operation. /// /// /// Container for the necessary parameters to execute the SubscribeToEvent operation on AmazonInspectorClient. /// 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 EndSubscribeToEvent /// operation. /// REST API Reference for SubscribeToEvent Operation IAsyncResult BeginSubscribeToEvent(SubscribeToEventRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the SubscribeToEvent operation. /// /// /// The IAsyncResult returned by the call to BeginSubscribeToEvent. /// /// Returns a SubscribeToEventResult from Inspector. /// REST API Reference for SubscribeToEvent Operation SubscribeToEventResponse EndSubscribeToEvent(IAsyncResult asyncResult); #endregion #region UnsubscribeFromEvent /// /// Disables the process of sending Amazon Simple Notification Service (SNS) notifications /// about a specified event to a specified SNS topic. /// /// Container for the necessary parameters to execute the UnsubscribeFromEvent service method. /// /// The response from the UnsubscribeFromEvent service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for UnsubscribeFromEvent Operation UnsubscribeFromEventResponse UnsubscribeFromEvent(UnsubscribeFromEventRequest request); /// /// Initiates the asynchronous execution of the UnsubscribeFromEvent operation. /// /// /// Container for the necessary parameters to execute the UnsubscribeFromEvent operation on AmazonInspectorClient. /// 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 EndUnsubscribeFromEvent /// operation. /// REST API Reference for UnsubscribeFromEvent Operation IAsyncResult BeginUnsubscribeFromEvent(UnsubscribeFromEventRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UnsubscribeFromEvent operation. /// /// /// The IAsyncResult returned by the call to BeginUnsubscribeFromEvent. /// /// Returns a UnsubscribeFromEventResult from Inspector. /// REST API Reference for UnsubscribeFromEvent Operation UnsubscribeFromEventResponse EndUnsubscribeFromEvent(IAsyncResult asyncResult); #endregion #region UpdateAssessmentTarget /// /// Updates the assessment target that is specified by the ARN of the assessment target. /// /// /// /// If resourceGroupArn is not specified, all EC2 instances in the current AWS account /// and region are included in the assessment target. /// /// /// Container for the necessary parameters to execute the UpdateAssessmentTarget service method. /// /// The response from the UpdateAssessmentTarget service method, as returned by Inspector. /// /// You do not have required permissions to access the requested resource. /// /// /// Internal server error. /// /// /// The request was rejected because an invalid or out-of-range value was supplied for /// an input parameter. /// /// /// The request was rejected because it referenced an entity that does not exist. The /// error code describes the entity. /// /// /// The serice is temporary unavailable. /// /// REST API Reference for UpdateAssessmentTarget Operation UpdateAssessmentTargetResponse UpdateAssessmentTarget(UpdateAssessmentTargetRequest request); /// /// Initiates the asynchronous execution of the UpdateAssessmentTarget operation. /// /// /// Container for the necessary parameters to execute the UpdateAssessmentTarget operation on AmazonInspectorClient. /// 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 EndUpdateAssessmentTarget /// operation. /// REST API Reference for UpdateAssessmentTarget Operation IAsyncResult BeginUpdateAssessmentTarget(UpdateAssessmentTargetRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateAssessmentTarget operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateAssessmentTarget. /// /// Returns a UpdateAssessmentTargetResult from Inspector. /// REST API Reference for UpdateAssessmentTarget Operation UpdateAssessmentTargetResponse EndUpdateAssessmentTarget(IAsyncResult asyncResult); #endregion } }