/*
* 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 inspector2-2020-06-08.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Inspector2.Model;
namespace Amazon.Inspector2
{
///
/// Interface for accessing Inspector2
///
/// Amazon Inspector is a vulnerability discovery service that automates continuous scanning
/// for security vulnerabilities within your Amazon EC2 and Amazon ECR environments.
///
public partial interface IAmazonInspector2 : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IInspector2PaginatorFactory Paginators { get; }
#endif
#region AssociateMember
///
/// Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
/// An HTTP 200 response indicates the association was successfully started, but doesn’t
/// indicate whether it was completed. You can check if the association completed by using
/// ListMembers
/// for multiple accounts or GetMembers
/// for a single account.
///
/// Container for the necessary parameters to execute the AssociateMember service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateMember service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for AssociateMember Operation
Task AssociateMemberAsync(AssociateMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchGetAccountStatus
///
/// Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within
/// your environment.
///
/// Container for the necessary parameters to execute the BatchGetAccountStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchGetAccountStatus service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for BatchGetAccountStatus Operation
Task BatchGetAccountStatusAsync(BatchGetAccountStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchGetCodeSnippet
///
/// Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities
/// in.
///
/// Container for the necessary parameters to execute the BatchGetCodeSnippet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchGetCodeSnippet service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for BatchGetCodeSnippet Operation
Task BatchGetCodeSnippetAsync(BatchGetCodeSnippetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchGetFreeTrialInfo
///
/// Gets free trial status for multiple Amazon Web Services accounts.
///
/// Container for the necessary parameters to execute the BatchGetFreeTrialInfo service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchGetFreeTrialInfo service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for BatchGetFreeTrialInfo Operation
Task BatchGetFreeTrialInfoAsync(BatchGetFreeTrialInfoRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchGetMemberEc2DeepInspectionStatus
///
/// Retrieves Amazon Inspector deep inspection activation status of multiple member accounts
/// within your organization. You must be the delegated administrator of an organization
/// in Amazon Inspector to use this API.
///
/// Container for the necessary parameters to execute the BatchGetMemberEc2DeepInspectionStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchGetMemberEc2DeepInspectionStatus service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for BatchGetMemberEc2DeepInspectionStatus Operation
Task BatchGetMemberEc2DeepInspectionStatusAsync(BatchGetMemberEc2DeepInspectionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchUpdateMemberEc2DeepInspectionStatus
///
/// Activates or deactivates Amazon Inspector deep inspection for the provided member
/// accounts in your organization. You must be the delegated administrator of an organization
/// in Amazon Inspector to use this API.
///
/// Container for the necessary parameters to execute the BatchUpdateMemberEc2DeepInspectionStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchUpdateMemberEc2DeepInspectionStatus service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for BatchUpdateMemberEc2DeepInspectionStatus Operation
Task BatchUpdateMemberEc2DeepInspectionStatusAsync(BatchUpdateMemberEc2DeepInspectionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CancelFindingsReport
///
/// Cancels the given findings report.
///
/// Container for the necessary parameters to execute the CancelFindingsReport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CancelFindingsReport service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for CancelFindingsReport Operation
Task CancelFindingsReportAsync(CancelFindingsReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CancelSbomExport
///
/// Cancels a software bill of materials (SBOM) report.
///
/// Container for the necessary parameters to execute the CancelSbomExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CancelSbomExport service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for CancelSbomExport Operation
Task CancelSbomExportAsync(CancelSbomExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateFilter
///
/// Creates a filter resource using specified filter criteria.
///
/// Container for the necessary parameters to execute the CreateFilter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateFilter service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// One or more tags submitted as part of the request is not valid.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// You have exceeded your service quota. To perform the requested action, remove some
/// of the relevant resources, or use Service Quotas to request a service quota increase.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for CreateFilter Operation
Task CreateFilterAsync(CreateFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateFindingsReport
///
/// Creates a finding report. By default only ACTIVE
findings are returned
/// in the report. To see SUPRESSED
or CLOSED
findings you must
/// specify a value for the findingStatus
filter criteria.
///
/// Container for the necessary parameters to execute the CreateFindingsReport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateFindingsReport service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for CreateFindingsReport Operation
Task CreateFindingsReportAsync(CreateFindingsReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateSbomExport
///
/// Creates a software bill of materials (SBOM) report.
///
/// Container for the necessary parameters to execute the CreateSbomExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateSbomExport service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for CreateSbomExport Operation
Task CreateSbomExportAsync(CreateSbomExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteFilter
///
/// Deletes a filter resource.
///
/// Container for the necessary parameters to execute the DeleteFilter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFilter service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for DeleteFilter Operation
Task DeleteFilterAsync(DeleteFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeOrganizationConfiguration
///
/// Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
///
/// Container for the necessary parameters to execute the DescribeOrganizationConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeOrganizationConfiguration service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for DescribeOrganizationConfiguration Operation
Task DescribeOrganizationConfigurationAsync(DescribeOrganizationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region Disable
///
/// Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling
/// all scan types in an account disables the Amazon Inspector service.
///
/// Container for the necessary parameters to execute the Disable service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the Disable service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for Disable Operation
Task DisableAsync(DisableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisableDelegatedAdminAccount
///
/// Disables the Amazon Inspector delegated administrator for your organization.
///
/// Container for the necessary parameters to execute the DisableDelegatedAdminAccount service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisableDelegatedAdminAccount service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// A conflict occurred.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for DisableDelegatedAdminAccount Operation
Task DisableDelegatedAdminAccountAsync(DisableDelegatedAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisassociateMember
///
/// Disassociates a member account from an Amazon Inspector delegated administrator.
///
/// Container for the necessary parameters to execute the DisassociateMember service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateMember service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for DisassociateMember Operation
Task DisassociateMemberAsync(DisassociateMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region Enable
///
/// Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
///
/// Container for the necessary parameters to execute the Enable service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the Enable service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for Enable Operation
Task EnableAsync(EnableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region EnableDelegatedAdminAccount
///
/// Enables the Amazon Inspector delegated administrator for your Organizations organization.
///
/// Container for the necessary parameters to execute the EnableDelegatedAdminAccount service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the EnableDelegatedAdminAccount service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// A conflict occurred.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for EnableDelegatedAdminAccount Operation
Task EnableDelegatedAdminAccountAsync(EnableDelegatedAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetConfiguration
///
/// Retrieves setting configurations for Inspector scans.
///
/// Container for the necessary parameters to execute the GetConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetConfiguration service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
/// REST API Reference for GetConfiguration Operation
Task GetConfigurationAsync(GetConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDelegatedAdminAccount
///
/// Retrieves information about the Amazon Inspector delegated administrator for your
/// organization.
///
/// Container for the necessary parameters to execute the GetDelegatedAdminAccount service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDelegatedAdminAccount service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for GetDelegatedAdminAccount Operation
Task GetDelegatedAdminAccountAsync(GetDelegatedAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEc2DeepInspectionConfiguration
///
/// Retrieves the activation status of Amazon Inspector deep inspection and custom paths
/// associated with your account.
///
/// Container for the necessary parameters to execute the GetEc2DeepInspectionConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetEc2DeepInspectionConfiguration service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
/// REST API Reference for GetEc2DeepInspectionConfiguration Operation
Task GetEc2DeepInspectionConfigurationAsync(GetEc2DeepInspectionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEncryptionKey
///
/// Gets an encryption key.
///
/// Container for the necessary parameters to execute the GetEncryptionKey service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetEncryptionKey service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for GetEncryptionKey Operation
Task GetEncryptionKeyAsync(GetEncryptionKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetFindingsReportStatus
///
/// Gets the status of a findings report.
///
/// Container for the necessary parameters to execute the GetFindingsReportStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetFindingsReportStatus service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for GetFindingsReportStatus Operation
Task GetFindingsReportStatusAsync(GetFindingsReportStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetMember
///
/// Gets member information for your organization.
///
/// Container for the necessary parameters to execute the GetMember service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetMember service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for GetMember Operation
Task GetMemberAsync(GetMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSbomExport
///
/// Gets details of a software bill of materials (SBOM) report.
///
/// Container for the necessary parameters to execute the GetSbomExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSbomExport service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for GetSbomExport Operation
Task GetSbomExportAsync(GetSbomExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAccountPermissions
///
/// Lists the permissions an account has to configure Amazon Inspector.
///
/// Container for the necessary parameters to execute the ListAccountPermissions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAccountPermissions service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListAccountPermissions Operation
Task ListAccountPermissionsAsync(ListAccountPermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListCoverage
///
/// Lists coverage details for you environment.
///
/// Container for the necessary parameters to execute the ListCoverage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCoverage service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListCoverage Operation
Task ListCoverageAsync(ListCoverageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListCoverageStatistics
///
/// Lists Amazon Inspector coverage statistics for your environment.
///
/// Container for the necessary parameters to execute the ListCoverageStatistics service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListCoverageStatistics service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListCoverageStatistics Operation
Task ListCoverageStatisticsAsync(ListCoverageStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListDelegatedAdminAccounts
///
/// Lists information about the Amazon Inspector delegated administrator of your organization.
///
/// Container for the necessary parameters to execute the ListDelegatedAdminAccounts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDelegatedAdminAccounts service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListDelegatedAdminAccounts Operation
Task ListDelegatedAdminAccountsAsync(ListDelegatedAdminAccountsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListFilters
///
/// Lists the filters associated with your account.
///
/// Container for the necessary parameters to execute the ListFilters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFilters service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListFilters Operation
Task ListFiltersAsync(ListFiltersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListFindingAggregations
///
/// Lists aggregated finding data for your environment based on specific criteria.
///
/// Container for the necessary parameters to execute the ListFindingAggregations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListFindingAggregations service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListFindingAggregations Operation
Task ListFindingAggregationsAsync(ListFindingAggregationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListFindings
///
/// Lists findings for your environment.
///
/// 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 Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListFindings Operation
Task ListFindingsAsync(ListFindingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListMembers
///
/// List members associated with the Amazon Inspector delegated administrator for your
/// organization.
///
/// Container for the necessary parameters to execute the ListMembers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListMembers service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListMembers Operation
Task ListMembersAsync(ListMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Lists all tags attached to a given resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListUsageTotals
///
/// Lists the Amazon Inspector usage totals over the last 30 days.
///
/// Container for the necessary parameters to execute the ListUsageTotals service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListUsageTotals service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListUsageTotals Operation
Task ListUsageTotalsAsync(ListUsageTotalsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ResetEncryptionKey
///
/// Resets an encryption key. After the key is reset your resources will be encrypted
/// by an Amazon Web Services owned key.
///
/// Container for the necessary parameters to execute the ResetEncryptionKey service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ResetEncryptionKey service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ResetEncryptionKey Operation
Task ResetEncryptionKeyAsync(ResetEncryptionKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SearchVulnerabilities
///
/// Lists Amazon Inspector coverage details for a specific vulnerability.
///
/// Container for the necessary parameters to execute the SearchVulnerabilities service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SearchVulnerabilities service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for SearchVulnerabilities Operation
Task SearchVulnerabilitiesAsync(SearchVulnerabilitiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// Adds tags to a resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by Inspector2.
///
/// One or more tags submitted as part of the request is not valid.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Removes tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateConfiguration
///
/// Updates setting configurations for your Amazon Inspector account. When you use this
/// API as an Amazon Inspector delegated administrator this updates the setting for all
/// accounts you manage. Member accounts in an organization cannot update this setting.
///
/// Container for the necessary parameters to execute the UpdateConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateConfiguration service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UpdateConfiguration Operation
Task UpdateConfigurationAsync(UpdateConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateEc2DeepInspectionConfiguration
///
/// Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for
/// your account.
///
/// Container for the necessary parameters to execute the UpdateEc2DeepInspectionConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateEc2DeepInspectionConfiguration service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UpdateEc2DeepInspectionConfiguration Operation
Task UpdateEc2DeepInspectionConfigurationAsync(UpdateEc2DeepInspectionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateEncryptionKey
///
/// Updates an encryption key. A ResourceNotFoundException
means that an
/// AWS owned key is being used for encryption.
///
/// Container for the necessary parameters to execute the UpdateEncryptionKey service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateEncryptionKey service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UpdateEncryptionKey Operation
Task UpdateEncryptionKeyAsync(UpdateEncryptionKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateFilter
///
/// Specifies the action that is to be applied to the findings that match the filter.
///
/// Container for the necessary parameters to execute the UpdateFilter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFilter service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UpdateFilter Operation
Task UpdateFilterAsync(UpdateFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateOrganizationConfiguration
///
/// Updates the configurations for your Amazon Inspector organization.
///
/// Container for the necessary parameters to execute the UpdateOrganizationConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateOrganizationConfiguration service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UpdateOrganizationConfiguration Operation
Task UpdateOrganizationConfigurationAsync(UpdateOrganizationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateOrgEc2DeepInspectionConfiguration
///
/// Updates the Amazon Inspector deep inspection custom paths for your organization. You
/// must be an Amazon Inspector delegated administrator to use this API.
///
/// Container for the necessary parameters to execute the UpdateOrgEc2DeepInspectionConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateOrgEc2DeepInspectionConfiguration service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UpdateOrgEc2DeepInspectionConfiguration Operation
Task UpdateOrgEc2DeepInspectionConfigurationAsync(UpdateOrgEc2DeepInspectionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}