/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Inspector2 { /** *

Amazon Inspector is a vulnerability discovery service that automates * continuous scanning for security vulnerabilities within your Amazon EC2 and * Amazon ECR environments.

*/ class AWS_INSPECTOR2_API Inspector2Client : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { public: typedef Aws::Client::AWSJsonClient BASECLASS; static const char* SERVICE_NAME; static const char* ALLOCATION_TAG; typedef Inspector2ClientConfiguration ClientConfigurationType; typedef Inspector2EndpointProvider EndpointProviderType; /** * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ Inspector2Client(const Aws::Inspector2::Inspector2ClientConfiguration& clientConfiguration = Aws::Inspector2::Inspector2ClientConfiguration(), std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG)); /** * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ Inspector2Client(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::Inspector2::Inspector2ClientConfiguration& clientConfiguration = Aws::Inspector2::Inspector2ClientConfiguration()); /** * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, * the default http client factory will be used */ Inspector2Client(const std::shared_ptr& credentialsProvider, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::Inspector2::Inspector2ClientConfiguration& clientConfiguration = Aws::Inspector2::Inspector2ClientConfiguration()); /* Legacy constructors due deprecation */ /** * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ Inspector2Client(const Aws::Client::ClientConfiguration& clientConfiguration); /** * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ Inspector2Client(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration); /** * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, * the default http client factory will be used */ Inspector2Client(const std::shared_ptr& credentialsProvider, const Aws::Client::ClientConfiguration& clientConfiguration); /* End of legacy constructors due deprecation */ virtual ~Inspector2Client(); /** *

Associates an Amazon Web Services account with an Amazon Inspector delegated * administrator. An HTTP 200 response indicates the association was successfully * started, but doesn’t indicate whether it was completed. You can check if the * association completed by using ListMembers * for multiple accounts or GetMembers * for a single account.

See Also:

AWS * API Reference

*/ virtual Model::AssociateMemberOutcome AssociateMember(const Model::AssociateMemberRequest& request) const; /** * A Callable wrapper for AssociateMember that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::AssociateMemberOutcomeCallable AssociateMemberCallable(const AssociateMemberRequestT& request) const { return SubmitCallable(&Inspector2Client::AssociateMember, request); } /** * An Async wrapper for AssociateMember that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void AssociateMemberAsync(const AssociateMemberRequestT& request, const AssociateMemberResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::AssociateMember, request, handler, context); } /** *

Retrieves the Amazon Inspector status of multiple Amazon Web Services * accounts within your environment.

See Also:

AWS * API Reference

*/ virtual Model::BatchGetAccountStatusOutcome BatchGetAccountStatus(const Model::BatchGetAccountStatusRequest& request) const; /** * A Callable wrapper for BatchGetAccountStatus that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::BatchGetAccountStatusOutcomeCallable BatchGetAccountStatusCallable(const BatchGetAccountStatusRequestT& request) const { return SubmitCallable(&Inspector2Client::BatchGetAccountStatus, request); } /** * An Async wrapper for BatchGetAccountStatus that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void BatchGetAccountStatusAsync(const BatchGetAccountStatusRequestT& request, const BatchGetAccountStatusResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::BatchGetAccountStatus, request, handler, context); } /** *

Retrieves code snippets from findings that Amazon Inspector detected code * vulnerabilities in.

See Also:

AWS * API Reference

*/ virtual Model::BatchGetCodeSnippetOutcome BatchGetCodeSnippet(const Model::BatchGetCodeSnippetRequest& request) const; /** * A Callable wrapper for BatchGetCodeSnippet that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::BatchGetCodeSnippetOutcomeCallable BatchGetCodeSnippetCallable(const BatchGetCodeSnippetRequestT& request) const { return SubmitCallable(&Inspector2Client::BatchGetCodeSnippet, request); } /** * An Async wrapper for BatchGetCodeSnippet that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void BatchGetCodeSnippetAsync(const BatchGetCodeSnippetRequestT& request, const BatchGetCodeSnippetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::BatchGetCodeSnippet, request, handler, context); } /** *

Gets free trial status for multiple Amazon Web Services * accounts.

See Also:

AWS * API Reference

*/ virtual Model::BatchGetFreeTrialInfoOutcome BatchGetFreeTrialInfo(const Model::BatchGetFreeTrialInfoRequest& request) const; /** * A Callable wrapper for BatchGetFreeTrialInfo that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::BatchGetFreeTrialInfoOutcomeCallable BatchGetFreeTrialInfoCallable(const BatchGetFreeTrialInfoRequestT& request) const { return SubmitCallable(&Inspector2Client::BatchGetFreeTrialInfo, request); } /** * An Async wrapper for BatchGetFreeTrialInfo that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void BatchGetFreeTrialInfoAsync(const BatchGetFreeTrialInfoRequestT& request, const BatchGetFreeTrialInfoResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::BatchGetFreeTrialInfo, request, handler, context); } /** *

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.

See Also:

AWS * API Reference

*/ virtual Model::BatchGetMemberEc2DeepInspectionStatusOutcome BatchGetMemberEc2DeepInspectionStatus(const Model::BatchGetMemberEc2DeepInspectionStatusRequest& request) const; /** * A Callable wrapper for BatchGetMemberEc2DeepInspectionStatus that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::BatchGetMemberEc2DeepInspectionStatusOutcomeCallable BatchGetMemberEc2DeepInspectionStatusCallable(const BatchGetMemberEc2DeepInspectionStatusRequestT& request) const { return SubmitCallable(&Inspector2Client::BatchGetMemberEc2DeepInspectionStatus, request); } /** * An Async wrapper for BatchGetMemberEc2DeepInspectionStatus that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void BatchGetMemberEc2DeepInspectionStatusAsync(const BatchGetMemberEc2DeepInspectionStatusRequestT& request, const BatchGetMemberEc2DeepInspectionStatusResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::BatchGetMemberEc2DeepInspectionStatus, request, handler, context); } /** *

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.

See Also:

* AWS * API Reference

*/ virtual Model::BatchUpdateMemberEc2DeepInspectionStatusOutcome BatchUpdateMemberEc2DeepInspectionStatus(const Model::BatchUpdateMemberEc2DeepInspectionStatusRequest& request) const; /** * A Callable wrapper for BatchUpdateMemberEc2DeepInspectionStatus that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::BatchUpdateMemberEc2DeepInspectionStatusOutcomeCallable BatchUpdateMemberEc2DeepInspectionStatusCallable(const BatchUpdateMemberEc2DeepInspectionStatusRequestT& request) const { return SubmitCallable(&Inspector2Client::BatchUpdateMemberEc2DeepInspectionStatus, request); } /** * An Async wrapper for BatchUpdateMemberEc2DeepInspectionStatus that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void BatchUpdateMemberEc2DeepInspectionStatusAsync(const BatchUpdateMemberEc2DeepInspectionStatusRequestT& request, const BatchUpdateMemberEc2DeepInspectionStatusResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::BatchUpdateMemberEc2DeepInspectionStatus, request, handler, context); } /** *

Cancels the given findings report.

See Also:

AWS * API Reference

*/ virtual Model::CancelFindingsReportOutcome CancelFindingsReport(const Model::CancelFindingsReportRequest& request) const; /** * A Callable wrapper for CancelFindingsReport that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CancelFindingsReportOutcomeCallable CancelFindingsReportCallable(const CancelFindingsReportRequestT& request) const { return SubmitCallable(&Inspector2Client::CancelFindingsReport, request); } /** * An Async wrapper for CancelFindingsReport that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CancelFindingsReportAsync(const CancelFindingsReportRequestT& request, const CancelFindingsReportResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::CancelFindingsReport, request, handler, context); } /** *

Cancels a software bill of materials (SBOM) report.

See Also:

* AWS * API Reference

*/ virtual Model::CancelSbomExportOutcome CancelSbomExport(const Model::CancelSbomExportRequest& request) const; /** * A Callable wrapper for CancelSbomExport that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CancelSbomExportOutcomeCallable CancelSbomExportCallable(const CancelSbomExportRequestT& request) const { return SubmitCallable(&Inspector2Client::CancelSbomExport, request); } /** * An Async wrapper for CancelSbomExport that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CancelSbomExportAsync(const CancelSbomExportRequestT& request, const CancelSbomExportResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::CancelSbomExport, request, handler, context); } /** *

Creates a filter resource using specified filter criteria.

See * Also:

AWS * API Reference

*/ virtual Model::CreateFilterOutcome CreateFilter(const Model::CreateFilterRequest& request) const; /** * A Callable wrapper for CreateFilter that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateFilterOutcomeCallable CreateFilterCallable(const CreateFilterRequestT& request) const { return SubmitCallable(&Inspector2Client::CreateFilter, request); } /** * An Async wrapper for CreateFilter that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateFilterAsync(const CreateFilterRequestT& request, const CreateFilterResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::CreateFilter, request, handler, context); } /** *

Creates a finding report. By default only ACTIVE findings are * returned in the report. To see SUPRESSED or CLOSED * findings you must specify a value for the findingStatus filter * criteria.

See Also:

AWS * API Reference

*/ virtual Model::CreateFindingsReportOutcome CreateFindingsReport(const Model::CreateFindingsReportRequest& request) const; /** * A Callable wrapper for CreateFindingsReport that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateFindingsReportOutcomeCallable CreateFindingsReportCallable(const CreateFindingsReportRequestT& request) const { return SubmitCallable(&Inspector2Client::CreateFindingsReport, request); } /** * An Async wrapper for CreateFindingsReport that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateFindingsReportAsync(const CreateFindingsReportRequestT& request, const CreateFindingsReportResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::CreateFindingsReport, request, handler, context); } /** *

Creates a software bill of materials (SBOM) report.

See Also:

* AWS * API Reference

*/ virtual Model::CreateSbomExportOutcome CreateSbomExport(const Model::CreateSbomExportRequest& request) const; /** * A Callable wrapper for CreateSbomExport that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateSbomExportOutcomeCallable CreateSbomExportCallable(const CreateSbomExportRequestT& request) const { return SubmitCallable(&Inspector2Client::CreateSbomExport, request); } /** * An Async wrapper for CreateSbomExport that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateSbomExportAsync(const CreateSbomExportRequestT& request, const CreateSbomExportResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::CreateSbomExport, request, handler, context); } /** *

Deletes a filter resource.

See Also:

AWS * API Reference

*/ virtual Model::DeleteFilterOutcome DeleteFilter(const Model::DeleteFilterRequest& request) const; /** * A Callable wrapper for DeleteFilter that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteFilterOutcomeCallable DeleteFilterCallable(const DeleteFilterRequestT& request) const { return SubmitCallable(&Inspector2Client::DeleteFilter, request); } /** * An Async wrapper for DeleteFilter that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteFilterAsync(const DeleteFilterRequestT& request, const DeleteFilterResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::DeleteFilter, request, handler, context); } /** *

Describe Amazon Inspector configuration settings for an Amazon Web Services * organization.

See Also:

AWS * API Reference

*/ virtual Model::DescribeOrganizationConfigurationOutcome DescribeOrganizationConfiguration(const Model::DescribeOrganizationConfigurationRequest& request) const; /** * A Callable wrapper for DescribeOrganizationConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeOrganizationConfigurationOutcomeCallable DescribeOrganizationConfigurationCallable(const DescribeOrganizationConfigurationRequestT& request) const { return SubmitCallable(&Inspector2Client::DescribeOrganizationConfiguration, request); } /** * An Async wrapper for DescribeOrganizationConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeOrganizationConfigurationAsync(const DescribeOrganizationConfigurationRequestT& request, const DescribeOrganizationConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::DescribeOrganizationConfiguration, request, handler, context); } /** *

Disables Amazon Inspector scans for one or more Amazon Web Services accounts. * Disabling all scan types in an account disables the Amazon Inspector * service.

See Also:

AWS * API Reference

*/ virtual Model::DisableOutcome Disable(const Model::DisableRequest& request) const; /** * A Callable wrapper for Disable that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DisableOutcomeCallable DisableCallable(const DisableRequestT& request) const { return SubmitCallable(&Inspector2Client::Disable, request); } /** * An Async wrapper for Disable that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DisableAsync(const DisableRequestT& request, const DisableResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::Disable, request, handler, context); } /** *

Disables the Amazon Inspector delegated administrator for your * organization.

See Also:

AWS * API Reference

*/ virtual Model::DisableDelegatedAdminAccountOutcome DisableDelegatedAdminAccount(const Model::DisableDelegatedAdminAccountRequest& request) const; /** * A Callable wrapper for DisableDelegatedAdminAccount that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DisableDelegatedAdminAccountOutcomeCallable DisableDelegatedAdminAccountCallable(const DisableDelegatedAdminAccountRequestT& request) const { return SubmitCallable(&Inspector2Client::DisableDelegatedAdminAccount, request); } /** * An Async wrapper for DisableDelegatedAdminAccount that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DisableDelegatedAdminAccountAsync(const DisableDelegatedAdminAccountRequestT& request, const DisableDelegatedAdminAccountResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::DisableDelegatedAdminAccount, request, handler, context); } /** *

Disassociates a member account from an Amazon Inspector delegated * administrator.

See Also:

AWS * API Reference

*/ virtual Model::DisassociateMemberOutcome DisassociateMember(const Model::DisassociateMemberRequest& request) const; /** * A Callable wrapper for DisassociateMember that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DisassociateMemberOutcomeCallable DisassociateMemberCallable(const DisassociateMemberRequestT& request) const { return SubmitCallable(&Inspector2Client::DisassociateMember, request); } /** * An Async wrapper for DisassociateMember that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DisassociateMemberAsync(const DisassociateMemberRequestT& request, const DisassociateMemberResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::DisassociateMember, request, handler, context); } /** *

Enables Amazon Inspector scans for one or more Amazon Web Services * accounts.

See Also:

AWS * API Reference

*/ virtual Model::EnableOutcome Enable(const Model::EnableRequest& request) const; /** * A Callable wrapper for Enable that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::EnableOutcomeCallable EnableCallable(const EnableRequestT& request) const { return SubmitCallable(&Inspector2Client::Enable, request); } /** * An Async wrapper for Enable that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void EnableAsync(const EnableRequestT& request, const EnableResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::Enable, request, handler, context); } /** *

Enables the Amazon Inspector delegated administrator for your Organizations * organization.

See Also:

AWS * API Reference

*/ virtual Model::EnableDelegatedAdminAccountOutcome EnableDelegatedAdminAccount(const Model::EnableDelegatedAdminAccountRequest& request) const; /** * A Callable wrapper for EnableDelegatedAdminAccount that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::EnableDelegatedAdminAccountOutcomeCallable EnableDelegatedAdminAccountCallable(const EnableDelegatedAdminAccountRequestT& request) const { return SubmitCallable(&Inspector2Client::EnableDelegatedAdminAccount, request); } /** * An Async wrapper for EnableDelegatedAdminAccount that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void EnableDelegatedAdminAccountAsync(const EnableDelegatedAdminAccountRequestT& request, const EnableDelegatedAdminAccountResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::EnableDelegatedAdminAccount, request, handler, context); } /** *

Retrieves setting configurations for Inspector scans.

See * Also:

AWS * API Reference

*/ virtual Model::GetConfigurationOutcome GetConfiguration(const Model::GetConfigurationRequest& request) const; /** * A Callable wrapper for GetConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetConfigurationOutcomeCallable GetConfigurationCallable(const GetConfigurationRequestT& request) const { return SubmitCallable(&Inspector2Client::GetConfiguration, request); } /** * An Async wrapper for GetConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetConfigurationAsync(const GetConfigurationRequestT& request, const GetConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::GetConfiguration, request, handler, context); } /** *

Retrieves information about the Amazon Inspector delegated administrator for * your organization.

See Also:

AWS * API Reference

*/ virtual Model::GetDelegatedAdminAccountOutcome GetDelegatedAdminAccount(const Model::GetDelegatedAdminAccountRequest& request) const; /** * A Callable wrapper for GetDelegatedAdminAccount that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetDelegatedAdminAccountOutcomeCallable GetDelegatedAdminAccountCallable(const GetDelegatedAdminAccountRequestT& request) const { return SubmitCallable(&Inspector2Client::GetDelegatedAdminAccount, request); } /** * An Async wrapper for GetDelegatedAdminAccount that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetDelegatedAdminAccountAsync(const GetDelegatedAdminAccountRequestT& request, const GetDelegatedAdminAccountResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::GetDelegatedAdminAccount, request, handler, context); } /** *

Retrieves the activation status of Amazon Inspector deep inspection and * custom paths associated with your account.

See Also:

AWS * API Reference

*/ virtual Model::GetEc2DeepInspectionConfigurationOutcome GetEc2DeepInspectionConfiguration(const Model::GetEc2DeepInspectionConfigurationRequest& request) const; /** * A Callable wrapper for GetEc2DeepInspectionConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetEc2DeepInspectionConfigurationOutcomeCallable GetEc2DeepInspectionConfigurationCallable(const GetEc2DeepInspectionConfigurationRequestT& request) const { return SubmitCallable(&Inspector2Client::GetEc2DeepInspectionConfiguration, request); } /** * An Async wrapper for GetEc2DeepInspectionConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetEc2DeepInspectionConfigurationAsync(const GetEc2DeepInspectionConfigurationRequestT& request, const GetEc2DeepInspectionConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::GetEc2DeepInspectionConfiguration, request, handler, context); } /** *

Gets an encryption key.

See Also:

AWS * API Reference

*/ virtual Model::GetEncryptionKeyOutcome GetEncryptionKey(const Model::GetEncryptionKeyRequest& request) const; /** * A Callable wrapper for GetEncryptionKey that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetEncryptionKeyOutcomeCallable GetEncryptionKeyCallable(const GetEncryptionKeyRequestT& request) const { return SubmitCallable(&Inspector2Client::GetEncryptionKey, request); } /** * An Async wrapper for GetEncryptionKey that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetEncryptionKeyAsync(const GetEncryptionKeyRequestT& request, const GetEncryptionKeyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::GetEncryptionKey, request, handler, context); } /** *

Gets the status of a findings report.

See Also:

AWS * API Reference

*/ virtual Model::GetFindingsReportStatusOutcome GetFindingsReportStatus(const Model::GetFindingsReportStatusRequest& request) const; /** * A Callable wrapper for GetFindingsReportStatus that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetFindingsReportStatusOutcomeCallable GetFindingsReportStatusCallable(const GetFindingsReportStatusRequestT& request) const { return SubmitCallable(&Inspector2Client::GetFindingsReportStatus, request); } /** * An Async wrapper for GetFindingsReportStatus that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetFindingsReportStatusAsync(const GetFindingsReportStatusRequestT& request, const GetFindingsReportStatusResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::GetFindingsReportStatus, request, handler, context); } /** *

Gets member information for your organization.

See Also:

AWS * API Reference

*/ virtual Model::GetMemberOutcome GetMember(const Model::GetMemberRequest& request) const; /** * A Callable wrapper for GetMember that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetMemberOutcomeCallable GetMemberCallable(const GetMemberRequestT& request) const { return SubmitCallable(&Inspector2Client::GetMember, request); } /** * An Async wrapper for GetMember that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetMemberAsync(const GetMemberRequestT& request, const GetMemberResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::GetMember, request, handler, context); } /** *

Gets details of a software bill of materials (SBOM) report.

See * Also:

AWS * API Reference

*/ virtual Model::GetSbomExportOutcome GetSbomExport(const Model::GetSbomExportRequest& request) const; /** * A Callable wrapper for GetSbomExport that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetSbomExportOutcomeCallable GetSbomExportCallable(const GetSbomExportRequestT& request) const { return SubmitCallable(&Inspector2Client::GetSbomExport, request); } /** * An Async wrapper for GetSbomExport that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetSbomExportAsync(const GetSbomExportRequestT& request, const GetSbomExportResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::GetSbomExport, request, handler, context); } /** *

Lists the permissions an account has to configure Amazon * Inspector.

See Also:

AWS * API Reference

*/ virtual Model::ListAccountPermissionsOutcome ListAccountPermissions(const Model::ListAccountPermissionsRequest& request) const; /** * A Callable wrapper for ListAccountPermissions that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListAccountPermissionsOutcomeCallable ListAccountPermissionsCallable(const ListAccountPermissionsRequestT& request) const { return SubmitCallable(&Inspector2Client::ListAccountPermissions, request); } /** * An Async wrapper for ListAccountPermissions that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListAccountPermissionsAsync(const ListAccountPermissionsRequestT& request, const ListAccountPermissionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::ListAccountPermissions, request, handler, context); } /** *

Lists coverage details for you environment.

See Also:

AWS * API Reference

*/ virtual Model::ListCoverageOutcome ListCoverage(const Model::ListCoverageRequest& request) const; /** * A Callable wrapper for ListCoverage that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListCoverageOutcomeCallable ListCoverageCallable(const ListCoverageRequestT& request) const { return SubmitCallable(&Inspector2Client::ListCoverage, request); } /** * An Async wrapper for ListCoverage that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListCoverageAsync(const ListCoverageRequestT& request, const ListCoverageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::ListCoverage, request, handler, context); } /** *

Lists Amazon Inspector coverage statistics for your * environment.

See Also:

AWS * API Reference

*/ virtual Model::ListCoverageStatisticsOutcome ListCoverageStatistics(const Model::ListCoverageStatisticsRequest& request) const; /** * A Callable wrapper for ListCoverageStatistics that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListCoverageStatisticsOutcomeCallable ListCoverageStatisticsCallable(const ListCoverageStatisticsRequestT& request) const { return SubmitCallable(&Inspector2Client::ListCoverageStatistics, request); } /** * An Async wrapper for ListCoverageStatistics that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListCoverageStatisticsAsync(const ListCoverageStatisticsRequestT& request, const ListCoverageStatisticsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::ListCoverageStatistics, request, handler, context); } /** *

Lists information about the Amazon Inspector delegated administrator of your * organization.

See Also:

AWS * API Reference

*/ virtual Model::ListDelegatedAdminAccountsOutcome ListDelegatedAdminAccounts(const Model::ListDelegatedAdminAccountsRequest& request) const; /** * A Callable wrapper for ListDelegatedAdminAccounts that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListDelegatedAdminAccountsOutcomeCallable ListDelegatedAdminAccountsCallable(const ListDelegatedAdminAccountsRequestT& request) const { return SubmitCallable(&Inspector2Client::ListDelegatedAdminAccounts, request); } /** * An Async wrapper for ListDelegatedAdminAccounts that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListDelegatedAdminAccountsAsync(const ListDelegatedAdminAccountsRequestT& request, const ListDelegatedAdminAccountsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::ListDelegatedAdminAccounts, request, handler, context); } /** *

Lists the filters associated with your account.

See Also:

AWS * API Reference

*/ virtual Model::ListFiltersOutcome ListFilters(const Model::ListFiltersRequest& request) const; /** * A Callable wrapper for ListFilters that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListFiltersOutcomeCallable ListFiltersCallable(const ListFiltersRequestT& request) const { return SubmitCallable(&Inspector2Client::ListFilters, request); } /** * An Async wrapper for ListFilters that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListFiltersAsync(const ListFiltersRequestT& request, const ListFiltersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::ListFilters, request, handler, context); } /** *

Lists aggregated finding data for your environment based on specific * criteria.

See Also:

AWS * API Reference

*/ virtual Model::ListFindingAggregationsOutcome ListFindingAggregations(const Model::ListFindingAggregationsRequest& request) const; /** * A Callable wrapper for ListFindingAggregations that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListFindingAggregationsOutcomeCallable ListFindingAggregationsCallable(const ListFindingAggregationsRequestT& request) const { return SubmitCallable(&Inspector2Client::ListFindingAggregations, request); } /** * An Async wrapper for ListFindingAggregations that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListFindingAggregationsAsync(const ListFindingAggregationsRequestT& request, const ListFindingAggregationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::ListFindingAggregations, request, handler, context); } /** *

Lists findings for your environment.

See Also:

AWS * API Reference

*/ virtual Model::ListFindingsOutcome ListFindings(const Model::ListFindingsRequest& request) const; /** * A Callable wrapper for ListFindings that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListFindingsOutcomeCallable ListFindingsCallable(const ListFindingsRequestT& request) const { return SubmitCallable(&Inspector2Client::ListFindings, request); } /** * An Async wrapper for ListFindings that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListFindingsAsync(const ListFindingsRequestT& request, const ListFindingsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::ListFindings, request, handler, context); } /** *

List members associated with the Amazon Inspector delegated administrator for * your organization.

See Also:

AWS * API Reference

*/ virtual Model::ListMembersOutcome ListMembers(const Model::ListMembersRequest& request) const; /** * A Callable wrapper for ListMembers that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListMembersOutcomeCallable ListMembersCallable(const ListMembersRequestT& request) const { return SubmitCallable(&Inspector2Client::ListMembers, request); } /** * An Async wrapper for ListMembers that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListMembersAsync(const ListMembersRequestT& request, const ListMembersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::ListMembers, request, handler, context); } /** *

Lists all tags attached to a given resource.

See Also:

AWS * API Reference

*/ virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const; /** * A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const { return SubmitCallable(&Inspector2Client::ListTagsForResource, request); } /** * An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::ListTagsForResource, request, handler, context); } /** *

Lists the Amazon Inspector usage totals over the last 30 days.

See * Also:

AWS * API Reference

*/ virtual Model::ListUsageTotalsOutcome ListUsageTotals(const Model::ListUsageTotalsRequest& request) const; /** * A Callable wrapper for ListUsageTotals that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListUsageTotalsOutcomeCallable ListUsageTotalsCallable(const ListUsageTotalsRequestT& request) const { return SubmitCallable(&Inspector2Client::ListUsageTotals, request); } /** * An Async wrapper for ListUsageTotals that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListUsageTotalsAsync(const ListUsageTotalsRequestT& request, const ListUsageTotalsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::ListUsageTotals, request, handler, context); } /** *

Resets an encryption key. After the key is reset your resources will be * encrypted by an Amazon Web Services owned key.

See Also:

AWS * API Reference

*/ virtual Model::ResetEncryptionKeyOutcome ResetEncryptionKey(const Model::ResetEncryptionKeyRequest& request) const; /** * A Callable wrapper for ResetEncryptionKey that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ResetEncryptionKeyOutcomeCallable ResetEncryptionKeyCallable(const ResetEncryptionKeyRequestT& request) const { return SubmitCallable(&Inspector2Client::ResetEncryptionKey, request); } /** * An Async wrapper for ResetEncryptionKey that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ResetEncryptionKeyAsync(const ResetEncryptionKeyRequestT& request, const ResetEncryptionKeyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::ResetEncryptionKey, request, handler, context); } /** *

Lists Amazon Inspector coverage details for a specific * vulnerability.

See Also:

AWS * API Reference

*/ virtual Model::SearchVulnerabilitiesOutcome SearchVulnerabilities(const Model::SearchVulnerabilitiesRequest& request) const; /** * A Callable wrapper for SearchVulnerabilities that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::SearchVulnerabilitiesOutcomeCallable SearchVulnerabilitiesCallable(const SearchVulnerabilitiesRequestT& request) const { return SubmitCallable(&Inspector2Client::SearchVulnerabilities, request); } /** * An Async wrapper for SearchVulnerabilities that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void SearchVulnerabilitiesAsync(const SearchVulnerabilitiesRequestT& request, const SearchVulnerabilitiesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::SearchVulnerabilities, request, handler, context); } /** *

Adds tags to a resource.

See Also:

AWS * API Reference

*/ virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const; /** * A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const { return SubmitCallable(&Inspector2Client::TagResource, request); } /** * An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::TagResource, request, handler, context); } /** *

Removes tags from a resource.

See Also:

AWS * API Reference

*/ virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const; /** * A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const { return SubmitCallable(&Inspector2Client::UntagResource, request); } /** * An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::UntagResource, request, handler, context); } /** *

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.

See Also:

AWS * API Reference

*/ virtual Model::UpdateConfigurationOutcome UpdateConfiguration(const Model::UpdateConfigurationRequest& request) const; /** * A Callable wrapper for UpdateConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateConfigurationOutcomeCallable UpdateConfigurationCallable(const UpdateConfigurationRequestT& request) const { return SubmitCallable(&Inspector2Client::UpdateConfiguration, request); } /** * An Async wrapper for UpdateConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateConfigurationAsync(const UpdateConfigurationRequestT& request, const UpdateConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::UpdateConfiguration, request, handler, context); } /** *

Activates, deactivates Amazon Inspector deep inspection, or updates custom * paths for your account.

See Also:

AWS * API Reference

*/ virtual Model::UpdateEc2DeepInspectionConfigurationOutcome UpdateEc2DeepInspectionConfiguration(const Model::UpdateEc2DeepInspectionConfigurationRequest& request) const; /** * A Callable wrapper for UpdateEc2DeepInspectionConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateEc2DeepInspectionConfigurationOutcomeCallable UpdateEc2DeepInspectionConfigurationCallable(const UpdateEc2DeepInspectionConfigurationRequestT& request) const { return SubmitCallable(&Inspector2Client::UpdateEc2DeepInspectionConfiguration, request); } /** * An Async wrapper for UpdateEc2DeepInspectionConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateEc2DeepInspectionConfigurationAsync(const UpdateEc2DeepInspectionConfigurationRequestT& request, const UpdateEc2DeepInspectionConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::UpdateEc2DeepInspectionConfiguration, request, handler, context); } /** *

Updates an encryption key. A ResourceNotFoundException means * that an AWS owned key is being used for encryption.

See Also:

* AWS * API Reference

*/ virtual Model::UpdateEncryptionKeyOutcome UpdateEncryptionKey(const Model::UpdateEncryptionKeyRequest& request) const; /** * A Callable wrapper for UpdateEncryptionKey that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateEncryptionKeyOutcomeCallable UpdateEncryptionKeyCallable(const UpdateEncryptionKeyRequestT& request) const { return SubmitCallable(&Inspector2Client::UpdateEncryptionKey, request); } /** * An Async wrapper for UpdateEncryptionKey that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateEncryptionKeyAsync(const UpdateEncryptionKeyRequestT& request, const UpdateEncryptionKeyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::UpdateEncryptionKey, request, handler, context); } /** *

Specifies the action that is to be applied to the findings that match the * filter.

See Also:

AWS * API Reference

*/ virtual Model::UpdateFilterOutcome UpdateFilter(const Model::UpdateFilterRequest& request) const; /** * A Callable wrapper for UpdateFilter that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateFilterOutcomeCallable UpdateFilterCallable(const UpdateFilterRequestT& request) const { return SubmitCallable(&Inspector2Client::UpdateFilter, request); } /** * An Async wrapper for UpdateFilter that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateFilterAsync(const UpdateFilterRequestT& request, const UpdateFilterResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::UpdateFilter, request, handler, context); } /** *

Updates the Amazon Inspector deep inspection custom paths for your * organization. You must be an Amazon Inspector delegated administrator to use * this API.

See Also:

AWS * API Reference

*/ virtual Model::UpdateOrgEc2DeepInspectionConfigurationOutcome UpdateOrgEc2DeepInspectionConfiguration(const Model::UpdateOrgEc2DeepInspectionConfigurationRequest& request) const; /** * A Callable wrapper for UpdateOrgEc2DeepInspectionConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateOrgEc2DeepInspectionConfigurationOutcomeCallable UpdateOrgEc2DeepInspectionConfigurationCallable(const UpdateOrgEc2DeepInspectionConfigurationRequestT& request) const { return SubmitCallable(&Inspector2Client::UpdateOrgEc2DeepInspectionConfiguration, request); } /** * An Async wrapper for UpdateOrgEc2DeepInspectionConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateOrgEc2DeepInspectionConfigurationAsync(const UpdateOrgEc2DeepInspectionConfigurationRequestT& request, const UpdateOrgEc2DeepInspectionConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::UpdateOrgEc2DeepInspectionConfiguration, request, handler, context); } /** *

Updates the configurations for your Amazon Inspector * organization.

See Also:

AWS * API Reference

*/ virtual Model::UpdateOrganizationConfigurationOutcome UpdateOrganizationConfiguration(const Model::UpdateOrganizationConfigurationRequest& request) const; /** * A Callable wrapper for UpdateOrganizationConfiguration that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateOrganizationConfigurationOutcomeCallable UpdateOrganizationConfigurationCallable(const UpdateOrganizationConfigurationRequestT& request) const { return SubmitCallable(&Inspector2Client::UpdateOrganizationConfiguration, request); } /** * An Async wrapper for UpdateOrganizationConfiguration that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateOrganizationConfigurationAsync(const UpdateOrganizationConfigurationRequestT& request, const UpdateOrganizationConfigurationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&Inspector2Client::UpdateOrganizationConfiguration, request, handler, context); } void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); private: friend class Aws::Client::ClientWithAsyncTemplateMethods; void init(const Inspector2ClientConfiguration& clientConfiguration); Inspector2ClientConfiguration m_clientConfiguration; std::shared_ptr m_executor; std::shared_ptr m_endpointProvider; }; } // namespace Inspector2 } // namespace Aws