/* * 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 { /// <summary> /// 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. /// </summary> public partial interface IAmazonInspector2 : IAmazonService, IDisposable { /// <summary> /// Paginators for the service /// </summary> IInspector2PaginatorFactory Paginators { get; } #region AssociateMember /// <summary> /// 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 /// <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html">ListMembers</a> /// for multiple accounts or <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html">GetMembers</a> /// for a single account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateMember service method.</param> /// /// <returns>The response from the AssociateMember service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AssociateMember">REST API Reference for AssociateMember Operation</seealso> AssociateMemberResponse AssociateMember(AssociateMemberRequest request); /// <summary> /// 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 /// <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_ListMembers.html">ListMembers</a> /// for multiple accounts or <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_GetMember.html">GetMembers</a> /// for a single account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateMember service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateMember service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AssociateMember">REST API Reference for AssociateMember Operation</seealso> Task<AssociateMemberResponse> AssociateMemberAsync(AssociateMemberRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetAccountStatus /// <summary> /// Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within /// your environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetAccountStatus service method.</param> /// /// <returns>The response from the BatchGetAccountStatus service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetAccountStatus">REST API Reference for BatchGetAccountStatus Operation</seealso> BatchGetAccountStatusResponse BatchGetAccountStatus(BatchGetAccountStatusRequest request); /// <summary> /// Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within /// your environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetAccountStatus service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchGetAccountStatus service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetAccountStatus">REST API Reference for BatchGetAccountStatus Operation</seealso> Task<BatchGetAccountStatusResponse> BatchGetAccountStatusAsync(BatchGetAccountStatusRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetCodeSnippet /// <summary> /// Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities /// in. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetCodeSnippet service method.</param> /// /// <returns>The response from the BatchGetCodeSnippet service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetCodeSnippet">REST API Reference for BatchGetCodeSnippet Operation</seealso> BatchGetCodeSnippetResponse BatchGetCodeSnippet(BatchGetCodeSnippetRequest request); /// <summary> /// Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities /// in. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetCodeSnippet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchGetCodeSnippet service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetCodeSnippet">REST API Reference for BatchGetCodeSnippet Operation</seealso> Task<BatchGetCodeSnippetResponse> BatchGetCodeSnippetAsync(BatchGetCodeSnippetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetFreeTrialInfo /// <summary> /// Gets free trial status for multiple Amazon Web Services accounts. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetFreeTrialInfo service method.</param> /// /// <returns>The response from the BatchGetFreeTrialInfo service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFreeTrialInfo">REST API Reference for BatchGetFreeTrialInfo Operation</seealso> BatchGetFreeTrialInfoResponse BatchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest request); /// <summary> /// Gets free trial status for multiple Amazon Web Services accounts. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetFreeTrialInfo service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchGetFreeTrialInfo service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFreeTrialInfo">REST API Reference for BatchGetFreeTrialInfo Operation</seealso> Task<BatchGetFreeTrialInfoResponse> BatchGetFreeTrialInfoAsync(BatchGetFreeTrialInfoRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetMemberEc2DeepInspectionStatus /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetMemberEc2DeepInspectionStatus service method.</param> /// /// <returns>The response from the BatchGetMemberEc2DeepInspectionStatus service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatus">REST API Reference for BatchGetMemberEc2DeepInspectionStatus Operation</seealso> BatchGetMemberEc2DeepInspectionStatusResponse BatchGetMemberEc2DeepInspectionStatus(BatchGetMemberEc2DeepInspectionStatusRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetMemberEc2DeepInspectionStatus service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchGetMemberEc2DeepInspectionStatus service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatus">REST API Reference for BatchGetMemberEc2DeepInspectionStatus Operation</seealso> Task<BatchGetMemberEc2DeepInspectionStatusResponse> BatchGetMemberEc2DeepInspectionStatusAsync(BatchGetMemberEc2DeepInspectionStatusRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchUpdateMemberEc2DeepInspectionStatus /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchUpdateMemberEc2DeepInspectionStatus service method.</param> /// /// <returns>The response from the BatchUpdateMemberEc2DeepInspectionStatus service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchUpdateMemberEc2DeepInspectionStatus">REST API Reference for BatchUpdateMemberEc2DeepInspectionStatus Operation</seealso> BatchUpdateMemberEc2DeepInspectionStatusResponse BatchUpdateMemberEc2DeepInspectionStatus(BatchUpdateMemberEc2DeepInspectionStatusRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchUpdateMemberEc2DeepInspectionStatus service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchUpdateMemberEc2DeepInspectionStatus service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchUpdateMemberEc2DeepInspectionStatus">REST API Reference for BatchUpdateMemberEc2DeepInspectionStatus Operation</seealso> Task<BatchUpdateMemberEc2DeepInspectionStatusResponse> BatchUpdateMemberEc2DeepInspectionStatusAsync(BatchUpdateMemberEc2DeepInspectionStatusRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CancelFindingsReport /// <summary> /// Cancels the given findings report. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CancelFindingsReport service method.</param> /// /// <returns>The response from the CancelFindingsReport service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelFindingsReport">REST API Reference for CancelFindingsReport Operation</seealso> CancelFindingsReportResponse CancelFindingsReport(CancelFindingsReportRequest request); /// <summary> /// Cancels the given findings report. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CancelFindingsReport service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CancelFindingsReport service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelFindingsReport">REST API Reference for CancelFindingsReport Operation</seealso> Task<CancelFindingsReportResponse> CancelFindingsReportAsync(CancelFindingsReportRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CancelSbomExport /// <summary> /// Cancels a software bill of materials (SBOM) report. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CancelSbomExport service method.</param> /// /// <returns>The response from the CancelSbomExport service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelSbomExport">REST API Reference for CancelSbomExport Operation</seealso> CancelSbomExportResponse CancelSbomExport(CancelSbomExportRequest request); /// <summary> /// Cancels a software bill of materials (SBOM) report. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CancelSbomExport service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CancelSbomExport service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelSbomExport">REST API Reference for CancelSbomExport Operation</seealso> Task<CancelSbomExportResponse> CancelSbomExportAsync(CancelSbomExportRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFilter /// <summary> /// Creates a filter resource using specified filter criteria. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFilter service method.</param> /// /// <returns>The response from the CreateFilter service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.BadRequestException"> /// One or more tags submitted as part of the request is not valid. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ServiceQuotaExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFilter">REST API Reference for CreateFilter Operation</seealso> CreateFilterResponse CreateFilter(CreateFilterRequest request); /// <summary> /// Creates a filter resource using specified filter criteria. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFilter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateFilter service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.BadRequestException"> /// One or more tags submitted as part of the request is not valid. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ServiceQuotaExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFilter">REST API Reference for CreateFilter Operation</seealso> Task<CreateFilterResponse> CreateFilterAsync(CreateFilterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFindingsReport /// <summary> /// Creates a finding report. By default only <code>ACTIVE</code> findings are returned /// in the report. To see <code>SUPRESSED</code> or <code>CLOSED</code> findings you must /// specify a value for the <code>findingStatus</code> filter criteria. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFindingsReport service method.</param> /// /// <returns>The response from the CreateFindingsReport service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFindingsReport">REST API Reference for CreateFindingsReport Operation</seealso> CreateFindingsReportResponse CreateFindingsReport(CreateFindingsReportRequest request); /// <summary> /// Creates a finding report. By default only <code>ACTIVE</code> findings are returned /// in the report. To see <code>SUPRESSED</code> or <code>CLOSED</code> findings you must /// specify a value for the <code>findingStatus</code> filter criteria. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFindingsReport service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateFindingsReport service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFindingsReport">REST API Reference for CreateFindingsReport Operation</seealso> Task<CreateFindingsReportResponse> CreateFindingsReportAsync(CreateFindingsReportRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateSbomExport /// <summary> /// Creates a software bill of materials (SBOM) report. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateSbomExport service method.</param> /// /// <returns>The response from the CreateSbomExport service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateSbomExport">REST API Reference for CreateSbomExport Operation</seealso> CreateSbomExportResponse CreateSbomExport(CreateSbomExportRequest request); /// <summary> /// Creates a software bill of materials (SBOM) report. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateSbomExport service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateSbomExport service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateSbomExport">REST API Reference for CreateSbomExport Operation</seealso> Task<CreateSbomExportResponse> CreateSbomExportAsync(CreateSbomExportRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteFilter /// <summary> /// Deletes a filter resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFilter service method.</param> /// /// <returns>The response from the DeleteFilter service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DeleteFilter">REST API Reference for DeleteFilter Operation</seealso> DeleteFilterResponse DeleteFilter(DeleteFilterRequest request); /// <summary> /// Deletes a filter resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFilter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteFilter service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DeleteFilter">REST API Reference for DeleteFilter Operation</seealso> Task<DeleteFilterResponse> DeleteFilterAsync(DeleteFilterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeOrganizationConfiguration /// <summary> /// Describe Amazon Inspector configuration settings for an Amazon Web Services organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeOrganizationConfiguration service method.</param> /// /// <returns>The response from the DescribeOrganizationConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DescribeOrganizationConfiguration">REST API Reference for DescribeOrganizationConfiguration Operation</seealso> DescribeOrganizationConfigurationResponse DescribeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request); /// <summary> /// Describe Amazon Inspector configuration settings for an Amazon Web Services organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeOrganizationConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeOrganizationConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DescribeOrganizationConfiguration">REST API Reference for DescribeOrganizationConfiguration Operation</seealso> Task<DescribeOrganizationConfigurationResponse> DescribeOrganizationConfigurationAsync(DescribeOrganizationConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region Disable /// <summary> /// Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling /// all scan types in an account disables the Amazon Inspector service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the Disable service method.</param> /// /// <returns>The response from the Disable service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Disable">REST API Reference for Disable Operation</seealso> DisableResponse Disable(DisableRequest request); /// <summary> /// Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling /// all scan types in an account disables the Amazon Inspector service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the Disable service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the Disable service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Disable">REST API Reference for Disable Operation</seealso> Task<DisableResponse> DisableAsync(DisableRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableDelegatedAdminAccount /// <summary> /// Disables the Amazon Inspector delegated administrator for your organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableDelegatedAdminAccount service method.</param> /// /// <returns>The response from the DisableDelegatedAdminAccount service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ConflictException"> /// A conflict occurred. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisableDelegatedAdminAccount">REST API Reference for DisableDelegatedAdminAccount Operation</seealso> DisableDelegatedAdminAccountResponse DisableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest request); /// <summary> /// Disables the Amazon Inspector delegated administrator for your organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableDelegatedAdminAccount service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisableDelegatedAdminAccount service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ConflictException"> /// A conflict occurred. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisableDelegatedAdminAccount">REST API Reference for DisableDelegatedAdminAccount Operation</seealso> Task<DisableDelegatedAdminAccountResponse> DisableDelegatedAdminAccountAsync(DisableDelegatedAdminAccountRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateMember /// <summary> /// Disassociates a member account from an Amazon Inspector delegated administrator. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateMember service method.</param> /// /// <returns>The response from the DisassociateMember service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisassociateMember">REST API Reference for DisassociateMember Operation</seealso> DisassociateMemberResponse DisassociateMember(DisassociateMemberRequest request); /// <summary> /// Disassociates a member account from an Amazon Inspector delegated administrator. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateMember service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateMember service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisassociateMember">REST API Reference for DisassociateMember Operation</seealso> Task<DisassociateMemberResponse> DisassociateMemberAsync(DisassociateMemberRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region Enable /// <summary> /// Enables Amazon Inspector scans for one or more Amazon Web Services accounts. /// </summary> /// <param name="request">Container for the necessary parameters to execute the Enable service method.</param> /// /// <returns>The response from the Enable service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Enable">REST API Reference for Enable Operation</seealso> EnableResponse Enable(EnableRequest request); /// <summary> /// Enables Amazon Inspector scans for one or more Amazon Web Services accounts. /// </summary> /// <param name="request">Container for the necessary parameters to execute the Enable service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the Enable service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Enable">REST API Reference for Enable Operation</seealso> Task<EnableResponse> EnableAsync(EnableRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableDelegatedAdminAccount /// <summary> /// Enables the Amazon Inspector delegated administrator for your Organizations organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableDelegatedAdminAccount service method.</param> /// /// <returns>The response from the EnableDelegatedAdminAccount service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ConflictException"> /// A conflict occurred. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EnableDelegatedAdminAccount">REST API Reference for EnableDelegatedAdminAccount Operation</seealso> EnableDelegatedAdminAccountResponse EnableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest request); /// <summary> /// Enables the Amazon Inspector delegated administrator for your Organizations organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableDelegatedAdminAccount service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the EnableDelegatedAdminAccount service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ConflictException"> /// A conflict occurred. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EnableDelegatedAdminAccount">REST API Reference for EnableDelegatedAdminAccount Operation</seealso> Task<EnableDelegatedAdminAccountResponse> EnableDelegatedAdminAccountAsync(EnableDelegatedAdminAccountRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetConfiguration /// <summary> /// Retrieves setting configurations for Inspector scans. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param> /// /// <returns>The response from the GetConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> GetConfigurationResponse GetConfiguration(GetConfigurationRequest request); /// <summary> /// Retrieves setting configurations for Inspector scans. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso> Task<GetConfigurationResponse> GetConfigurationAsync(GetConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetDelegatedAdminAccount /// <summary> /// Retrieves information about the Amazon Inspector delegated administrator for your /// organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDelegatedAdminAccount service method.</param> /// /// <returns>The response from the GetDelegatedAdminAccount service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccount">REST API Reference for GetDelegatedAdminAccount Operation</seealso> GetDelegatedAdminAccountResponse GetDelegatedAdminAccount(GetDelegatedAdminAccountRequest request); /// <summary> /// Retrieves information about the Amazon Inspector delegated administrator for your /// organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetDelegatedAdminAccount service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetDelegatedAdminAccount service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccount">REST API Reference for GetDelegatedAdminAccount Operation</seealso> Task<GetDelegatedAdminAccountResponse> GetDelegatedAdminAccountAsync(GetDelegatedAdminAccountRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetEc2DeepInspectionConfiguration /// <summary> /// Retrieves the activation status of Amazon Inspector deep inspection and custom paths /// associated with your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEc2DeepInspectionConfiguration service method.</param> /// /// <returns>The response from the GetEc2DeepInspectionConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfiguration">REST API Reference for GetEc2DeepInspectionConfiguration Operation</seealso> GetEc2DeepInspectionConfigurationResponse GetEc2DeepInspectionConfiguration(GetEc2DeepInspectionConfigurationRequest request); /// <summary> /// Retrieves the activation status of Amazon Inspector deep inspection and custom paths /// associated with your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEc2DeepInspectionConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetEc2DeepInspectionConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfiguration">REST API Reference for GetEc2DeepInspectionConfiguration Operation</seealso> Task<GetEc2DeepInspectionConfigurationResponse> GetEc2DeepInspectionConfigurationAsync(GetEc2DeepInspectionConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetEncryptionKey /// <summary> /// Gets an encryption key. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEncryptionKey service method.</param> /// /// <returns>The response from the GetEncryptionKey service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEncryptionKey">REST API Reference for GetEncryptionKey Operation</seealso> GetEncryptionKeyResponse GetEncryptionKey(GetEncryptionKeyRequest request); /// <summary> /// Gets an encryption key. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEncryptionKey service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetEncryptionKey service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEncryptionKey">REST API Reference for GetEncryptionKey Operation</seealso> Task<GetEncryptionKeyResponse> GetEncryptionKeyAsync(GetEncryptionKeyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFindingsReportStatus /// <summary> /// Gets the status of a findings report. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetFindingsReportStatus service method.</param> /// /// <returns>The response from the GetFindingsReportStatus service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetFindingsReportStatus">REST API Reference for GetFindingsReportStatus Operation</seealso> GetFindingsReportStatusResponse GetFindingsReportStatus(GetFindingsReportStatusRequest request); /// <summary> /// Gets the status of a findings report. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetFindingsReportStatus service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetFindingsReportStatus service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetFindingsReportStatus">REST API Reference for GetFindingsReportStatus Operation</seealso> Task<GetFindingsReportStatusResponse> GetFindingsReportStatusAsync(GetFindingsReportStatusRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetMember /// <summary> /// Gets member information for your organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMember service method.</param> /// /// <returns>The response from the GetMember service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetMember">REST API Reference for GetMember Operation</seealso> GetMemberResponse GetMember(GetMemberRequest request); /// <summary> /// Gets member information for your organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMember service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetMember service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetMember">REST API Reference for GetMember Operation</seealso> Task<GetMemberResponse> GetMemberAsync(GetMemberRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetSbomExport /// <summary> /// Gets details of a software bill of materials (SBOM) report. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetSbomExport service method.</param> /// /// <returns>The response from the GetSbomExport service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetSbomExport">REST API Reference for GetSbomExport Operation</seealso> GetSbomExportResponse GetSbomExport(GetSbomExportRequest request); /// <summary> /// Gets details of a software bill of materials (SBOM) report. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetSbomExport service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetSbomExport service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetSbomExport">REST API Reference for GetSbomExport Operation</seealso> Task<GetSbomExportResponse> GetSbomExportAsync(GetSbomExportRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAccountPermissions /// <summary> /// Lists the permissions an account has to configure Amazon Inspector. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAccountPermissions service method.</param> /// /// <returns>The response from the ListAccountPermissions service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListAccountPermissions">REST API Reference for ListAccountPermissions Operation</seealso> ListAccountPermissionsResponse ListAccountPermissions(ListAccountPermissionsRequest request); /// <summary> /// Lists the permissions an account has to configure Amazon Inspector. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAccountPermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAccountPermissions service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListAccountPermissions">REST API Reference for ListAccountPermissions Operation</seealso> Task<ListAccountPermissionsResponse> ListAccountPermissionsAsync(ListAccountPermissionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListCoverage /// <summary> /// Lists coverage details for you environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListCoverage service method.</param> /// /// <returns>The response from the ListCoverage service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverage">REST API Reference for ListCoverage Operation</seealso> ListCoverageResponse ListCoverage(ListCoverageRequest request); /// <summary> /// Lists coverage details for you environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListCoverage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListCoverage service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverage">REST API Reference for ListCoverage Operation</seealso> Task<ListCoverageResponse> ListCoverageAsync(ListCoverageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListCoverageStatistics /// <summary> /// Lists Amazon Inspector coverage statistics for your environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListCoverageStatistics service method.</param> /// /// <returns>The response from the ListCoverageStatistics service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverageStatistics">REST API Reference for ListCoverageStatistics Operation</seealso> ListCoverageStatisticsResponse ListCoverageStatistics(ListCoverageStatisticsRequest request); /// <summary> /// Lists Amazon Inspector coverage statistics for your environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListCoverageStatistics service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListCoverageStatistics service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverageStatistics">REST API Reference for ListCoverageStatistics Operation</seealso> Task<ListCoverageStatisticsResponse> ListCoverageStatisticsAsync(ListCoverageStatisticsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListDelegatedAdminAccounts /// <summary> /// Lists information about the Amazon Inspector delegated administrator of your organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDelegatedAdminAccounts service method.</param> /// /// <returns>The response from the ListDelegatedAdminAccounts service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListDelegatedAdminAccounts">REST API Reference for ListDelegatedAdminAccounts Operation</seealso> ListDelegatedAdminAccountsResponse ListDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest request); /// <summary> /// Lists information about the Amazon Inspector delegated administrator of your organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListDelegatedAdminAccounts service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListDelegatedAdminAccounts service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListDelegatedAdminAccounts">REST API Reference for ListDelegatedAdminAccounts Operation</seealso> Task<ListDelegatedAdminAccountsResponse> ListDelegatedAdminAccountsAsync(ListDelegatedAdminAccountsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListFilters /// <summary> /// Lists the filters associated with your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListFilters service method.</param> /// /// <returns>The response from the ListFilters service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFilters">REST API Reference for ListFilters Operation</seealso> ListFiltersResponse ListFilters(ListFiltersRequest request); /// <summary> /// Lists the filters associated with your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListFilters service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListFilters service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFilters">REST API Reference for ListFilters Operation</seealso> Task<ListFiltersResponse> ListFiltersAsync(ListFiltersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListFindingAggregations /// <summary> /// Lists aggregated finding data for your environment based on specific criteria. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListFindingAggregations service method.</param> /// /// <returns>The response from the ListFindingAggregations service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindingAggregations">REST API Reference for ListFindingAggregations Operation</seealso> ListFindingAggregationsResponse ListFindingAggregations(ListFindingAggregationsRequest request); /// <summary> /// Lists aggregated finding data for your environment based on specific criteria. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListFindingAggregations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListFindingAggregations service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindingAggregations">REST API Reference for ListFindingAggregations Operation</seealso> Task<ListFindingAggregationsResponse> ListFindingAggregationsAsync(ListFindingAggregationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListFindings /// <summary> /// Lists findings for your environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListFindings service method.</param> /// /// <returns>The response from the ListFindings service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindings">REST API Reference for ListFindings Operation</seealso> ListFindingsResponse ListFindings(ListFindingsRequest request); /// <summary> /// Lists findings for your environment. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListFindings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListFindings service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindings">REST API Reference for ListFindings Operation</seealso> Task<ListFindingsResponse> ListFindingsAsync(ListFindingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListMembers /// <summary> /// List members associated with the Amazon Inspector delegated administrator for your /// organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param> /// /// <returns>The response from the ListMembers service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListMembers">REST API Reference for ListMembers Operation</seealso> ListMembersResponse ListMembers(ListMembersRequest request); /// <summary> /// List members associated with the Amazon Inspector delegated administrator for your /// organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListMembers service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListMembers">REST API Reference for ListMembers Operation</seealso> Task<ListMembersResponse> ListMembersAsync(ListMembersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// Lists all tags attached to a given resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// <summary> /// Lists all tags attached to a given resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListUsageTotals /// <summary> /// Lists the Amazon Inspector usage totals over the last 30 days. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListUsageTotals service method.</param> /// /// <returns>The response from the ListUsageTotals service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListUsageTotals">REST API Reference for ListUsageTotals Operation</seealso> ListUsageTotalsResponse ListUsageTotals(ListUsageTotalsRequest request); /// <summary> /// Lists the Amazon Inspector usage totals over the last 30 days. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListUsageTotals service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListUsageTotals service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListUsageTotals">REST API Reference for ListUsageTotals Operation</seealso> Task<ListUsageTotalsResponse> ListUsageTotalsAsync(ListUsageTotalsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ResetEncryptionKey /// <summary> /// Resets an encryption key. After the key is reset your resources will be encrypted /// by an Amazon Web Services owned key. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ResetEncryptionKey service method.</param> /// /// <returns>The response from the ResetEncryptionKey service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResetEncryptionKey">REST API Reference for ResetEncryptionKey Operation</seealso> ResetEncryptionKeyResponse ResetEncryptionKey(ResetEncryptionKeyRequest request); /// <summary> /// Resets an encryption key. After the key is reset your resources will be encrypted /// by an Amazon Web Services owned key. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ResetEncryptionKey service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ResetEncryptionKey service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResetEncryptionKey">REST API Reference for ResetEncryptionKey Operation</seealso> Task<ResetEncryptionKeyResponse> ResetEncryptionKeyAsync(ResetEncryptionKeyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchVulnerabilities /// <summary> /// Lists Amazon Inspector coverage details for a specific vulnerability. /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchVulnerabilities service method.</param> /// /// <returns>The response from the SearchVulnerabilities service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SearchVulnerabilities">REST API Reference for SearchVulnerabilities Operation</seealso> SearchVulnerabilitiesResponse SearchVulnerabilities(SearchVulnerabilitiesRequest request); /// <summary> /// Lists Amazon Inspector coverage details for a specific vulnerability. /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchVulnerabilities service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the SearchVulnerabilities service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SearchVulnerabilities">REST API Reference for SearchVulnerabilities Operation</seealso> Task<SearchVulnerabilitiesResponse> SearchVulnerabilitiesAsync(SearchVulnerabilitiesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// Adds tags to a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.BadRequestException"> /// One or more tags submitted as part of the request is not valid. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse TagResource(TagResourceRequest request); /// <summary> /// Adds tags to a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.BadRequestException"> /// One or more tags submitted as part of the request is not valid. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/TagResource">REST API Reference for TagResource Operation</seealso> Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// <summary> /// Removes tags from a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse UntagResource(UntagResourceRequest request); /// <summary> /// Removes tags from a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateConfiguration /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateConfiguration service method.</param> /// /// <returns>The response from the UpdateConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateConfiguration">REST API Reference for UpdateConfiguration Operation</seealso> UpdateConfigurationResponse UpdateConfiguration(UpdateConfigurationRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateConfiguration">REST API Reference for UpdateConfiguration Operation</seealso> Task<UpdateConfigurationResponse> UpdateConfigurationAsync(UpdateConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateEc2DeepInspectionConfiguration /// <summary> /// Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for /// your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEc2DeepInspectionConfiguration service method.</param> /// /// <returns>The response from the UpdateEc2DeepInspectionConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEc2DeepInspectionConfiguration">REST API Reference for UpdateEc2DeepInspectionConfiguration Operation</seealso> UpdateEc2DeepInspectionConfigurationResponse UpdateEc2DeepInspectionConfiguration(UpdateEc2DeepInspectionConfigurationRequest request); /// <summary> /// Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for /// your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEc2DeepInspectionConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateEc2DeepInspectionConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEc2DeepInspectionConfiguration">REST API Reference for UpdateEc2DeepInspectionConfiguration Operation</seealso> Task<UpdateEc2DeepInspectionConfigurationResponse> UpdateEc2DeepInspectionConfigurationAsync(UpdateEc2DeepInspectionConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateEncryptionKey /// <summary> /// Updates an encryption key. A <code>ResourceNotFoundException</code> means that an /// AWS owned key is being used for encryption. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEncryptionKey service method.</param> /// /// <returns>The response from the UpdateEncryptionKey service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEncryptionKey">REST API Reference for UpdateEncryptionKey Operation</seealso> UpdateEncryptionKeyResponse UpdateEncryptionKey(UpdateEncryptionKeyRequest request); /// <summary> /// Updates an encryption key. A <code>ResourceNotFoundException</code> means that an /// AWS owned key is being used for encryption. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEncryptionKey service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateEncryptionKey service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateEncryptionKey">REST API Reference for UpdateEncryptionKey Operation</seealso> Task<UpdateEncryptionKeyResponse> UpdateEncryptionKeyAsync(UpdateEncryptionKeyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFilter /// <summary> /// Specifies the action that is to be applied to the findings that match the filter. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFilter service method.</param> /// /// <returns>The response from the UpdateFilter service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateFilter">REST API Reference for UpdateFilter Operation</seealso> UpdateFilterResponse UpdateFilter(UpdateFilterRequest request); /// <summary> /// Specifies the action that is to be applied to the findings that match the filter. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFilter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateFilter service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ResourceNotFoundException"> /// The operation tried to access an invalid resource. Make sure the resource is specified /// correctly. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateFilter">REST API Reference for UpdateFilter Operation</seealso> Task<UpdateFilterResponse> UpdateFilterAsync(UpdateFilterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateOrganizationConfiguration /// <summary> /// Updates the configurations for your Amazon Inspector organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateOrganizationConfiguration service method.</param> /// /// <returns>The response from the UpdateOrganizationConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrganizationConfiguration">REST API Reference for UpdateOrganizationConfiguration Operation</seealso> UpdateOrganizationConfigurationResponse UpdateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request); /// <summary> /// Updates the configurations for your Amazon Inspector organization. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateOrganizationConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateOrganizationConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrganizationConfiguration">REST API Reference for UpdateOrganizationConfiguration Operation</seealso> Task<UpdateOrganizationConfigurationResponse> UpdateOrganizationConfigurationAsync(UpdateOrganizationConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateOrgEc2DeepInspectionConfiguration /// <summary> /// Updates the Amazon Inspector deep inspection custom paths for your organization. You /// must be an Amazon Inspector delegated administrator to use this API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateOrgEc2DeepInspectionConfiguration service method.</param> /// /// <returns>The response from the UpdateOrgEc2DeepInspectionConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrgEc2DeepInspectionConfiguration">REST API Reference for UpdateOrgEc2DeepInspectionConfiguration Operation</seealso> UpdateOrgEc2DeepInspectionConfigurationResponse UpdateOrgEc2DeepInspectionConfiguration(UpdateOrgEc2DeepInspectionConfigurationRequest request); /// <summary> /// Updates the Amazon Inspector deep inspection custom paths for your organization. You /// must be an Amazon Inspector delegated administrator to use this API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateOrgEc2DeepInspectionConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateOrgEc2DeepInspectionConfiguration service method, as returned by Inspector2.</returns> /// <exception cref="Amazon.Inspector2.Model.AccessDeniedException"> /// You do not have sufficient access to perform this action. /// </exception> /// <exception cref="Amazon.Inspector2.Model.InternalServerException"> /// The request has failed due to an internal failure of the Amazon Inspector service. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ThrottlingException"> /// The limit on the number of requests per second was exceeded. /// </exception> /// <exception cref="Amazon.Inspector2.Model.ValidationException"> /// The request has failed validation due to missing required fields or having invalid /// inputs. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrgEc2DeepInspectionConfiguration">REST API Reference for UpdateOrgEc2DeepInspectionConfiguration Operation</seealso> Task<UpdateOrgEc2DeepInspectionConfigurationResponse> UpdateOrgEc2DeepInspectionConfigurationAsync(UpdateOrgEc2DeepInspectionConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }