/* * 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.Threading; using System.Threading.Tasks; 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 { /// /// Paginators for the service /// IInspectorPaginatorFactory Paginators { get; } #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task AddAttributesToFindingsAsync(AddAttributesToFindingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateAssessmentTargetAsync(CreateAssessmentTargetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateAssessmentTemplateAsync(CreateAssessmentTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateExclusionsPreviewAsync(CreateExclusionsPreviewRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task CreateResourceGroupAsync(CreateResourceGroupRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteAssessmentRunAsync(DeleteAssessmentRunRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteAssessmentTargetAsync(DeleteAssessmentTargetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DeleteAssessmentTemplateAsync(DeleteAssessmentTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DescribeAssessmentRunsAsync(DescribeAssessmentRunsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DescribeAssessmentTargetsAsync(DescribeAssessmentTargetsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DescribeAssessmentTemplatesAsync(DescribeAssessmentTemplatesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// Describes the IAM role that enables Amazon Inspector to access your AWS account. /// /// Container for the necessary parameters to execute the DescribeCrossAccountAccessRole service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCrossAccountAccessRole service method, as returned by Inspector. /// /// Internal server error. /// /// REST API Reference for DescribeCrossAccountAccessRole Operation Task DescribeCrossAccountAccessRoleAsync(DescribeCrossAccountAccessRoleRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// Describes the exclusions that are specified by the exclusions' ARNs. /// /// Container for the necessary parameters to execute the DescribeExclusions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DescribeExclusionsAsync(DescribeExclusionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// Describes the findings that are specified by the ARNs of the findings. /// /// Container for the necessary parameters to execute the DescribeFindings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DescribeFindingsAsync(DescribeFindingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DescribeResourceGroupsAsync(DescribeResourceGroupsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task DescribeRulesPackagesAsync(DescribeRulesPackagesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetAssessmentReportAsync(GetAssessmentReportRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetExclusionsPreviewAsync(GetExclusionsPreviewRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// Information about the data that is collected for the specified assessment run. /// /// Container for the necessary parameters to execute the GetTelemetryMetadata service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task GetTelemetryMetadataAsync(GetTelemetryMetadataRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListAssessmentRunAgentsAsync(ListAssessmentRunAgentsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListAssessmentRunsAsync(ListAssessmentRunsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListAssessmentTargetsAsync(ListAssessmentTargetsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListAssessmentTemplatesAsync(ListAssessmentTemplatesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListEventSubscriptionsAsync(ListEventSubscriptionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// List exclusions that are generated by the assessment run. /// /// Container for the necessary parameters to execute the ListExclusions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListExclusionsAsync(ListExclusionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListFindings service method, as returned by 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 Task ListFindingsAsync(ListFindingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// Lists all available Amazon Inspector rules packages. /// /// Container for the necessary parameters to execute the ListRulesPackages service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task ListRulesPackagesAsync(ListRulesPackagesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// Lists all tags associated with an assessment template. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by 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 Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task PreviewAgentsAsync(PreviewAgentsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task RegisterCrossAccountAccessRoleAsync(RegisterCrossAccountAccessRoleRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task RemoveAttributesFromFindingsAsync(RemoveAttributesFromFindingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task SetTagsForResourceAsync(SetTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task StartAssessmentRunAsync(StartAssessmentRunRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task StopAssessmentRunAsync(StopAssessmentRunRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task SubscribeToEventAsync(SubscribeToEventRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UnsubscribeFromEventAsync(UnsubscribeFromEventRequest request, CancellationToken cancellationToken = default(CancellationToken)); #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); /// /// 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. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// 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 Task UpdateAssessmentTargetAsync(UpdateAssessmentTargetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }