import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types"; import { type AddArtifactCommandInput, type AddArtifactCommandOutput } from "./commands/AddArtifactCommand"; import { type BatchCreateSecurityRequirementsCommandInput, type BatchCreateSecurityRequirementsCommandOutput } from "./commands/BatchCreateSecurityRequirementsCommand"; import { type BatchDeleteCodeReviewsCommandInput, type BatchDeleteCodeReviewsCommandOutput } from "./commands/BatchDeleteCodeReviewsCommand"; import { type BatchDeletePentestsCommandInput, type BatchDeletePentestsCommandOutput } from "./commands/BatchDeletePentestsCommand"; import { type BatchDeleteSecurityRequirementsCommandInput, type BatchDeleteSecurityRequirementsCommandOutput } from "./commands/BatchDeleteSecurityRequirementsCommand"; import { type BatchDeleteThreatModelsCommandInput, type BatchDeleteThreatModelsCommandOutput } from "./commands/BatchDeleteThreatModelsCommand"; import { type BatchGetAgentSpacesCommandInput, type BatchGetAgentSpacesCommandOutput } from "./commands/BatchGetAgentSpacesCommand"; import { type BatchGetArtifactMetadataCommandInput, type BatchGetArtifactMetadataCommandOutput } from "./commands/BatchGetArtifactMetadataCommand"; import { type BatchGetCodeReviewJobsCommandInput, type BatchGetCodeReviewJobsCommandOutput } from "./commands/BatchGetCodeReviewJobsCommand"; import { type BatchGetCodeReviewJobTasksCommandInput, type BatchGetCodeReviewJobTasksCommandOutput } from "./commands/BatchGetCodeReviewJobTasksCommand"; import { type BatchGetCodeReviewsCommandInput, type BatchGetCodeReviewsCommandOutput } from "./commands/BatchGetCodeReviewsCommand"; import { type BatchGetFindingsCommandInput, type BatchGetFindingsCommandOutput } from "./commands/BatchGetFindingsCommand"; import { type BatchGetPentestJobsCommandInput, type BatchGetPentestJobsCommandOutput } from "./commands/BatchGetPentestJobsCommand"; import { type BatchGetPentestJobTasksCommandInput, type BatchGetPentestJobTasksCommandOutput } from "./commands/BatchGetPentestJobTasksCommand"; import { type BatchGetPentestsCommandInput, type BatchGetPentestsCommandOutput } from "./commands/BatchGetPentestsCommand"; import { type BatchGetSecurityRequirementsCommandInput, type BatchGetSecurityRequirementsCommandOutput } from "./commands/BatchGetSecurityRequirementsCommand"; import { type BatchGetTargetDomainsCommandInput, type BatchGetTargetDomainsCommandOutput } from "./commands/BatchGetTargetDomainsCommand"; import { type BatchGetThreatModelJobsCommandInput, type BatchGetThreatModelJobsCommandOutput } from "./commands/BatchGetThreatModelJobsCommand"; import { type BatchGetThreatModelJobTasksCommandInput, type BatchGetThreatModelJobTasksCommandOutput } from "./commands/BatchGetThreatModelJobTasksCommand"; import { type BatchGetThreatModelsCommandInput, type BatchGetThreatModelsCommandOutput } from "./commands/BatchGetThreatModelsCommand"; import { type BatchGetThreatsCommandInput, type BatchGetThreatsCommandOutput } from "./commands/BatchGetThreatsCommand"; import { type BatchUpdateSecurityRequirementsCommandInput, type BatchUpdateSecurityRequirementsCommandOutput } from "./commands/BatchUpdateSecurityRequirementsCommand"; import { type CreateAgentSpaceCommandInput, type CreateAgentSpaceCommandOutput } from "./commands/CreateAgentSpaceCommand"; import { type CreateApplicationCommandInput, type CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand"; import { type CreateCodeReviewCommandInput, type CreateCodeReviewCommandOutput } from "./commands/CreateCodeReviewCommand"; import { type CreateIntegrationCommandInput, type CreateIntegrationCommandOutput } from "./commands/CreateIntegrationCommand"; import { type CreateMembershipCommandInput, type CreateMembershipCommandOutput } from "./commands/CreateMembershipCommand"; import { type CreatePentestCommandInput, type CreatePentestCommandOutput } from "./commands/CreatePentestCommand"; import { type CreatePrivateConnectionCommandInput, type CreatePrivateConnectionCommandOutput } from "./commands/CreatePrivateConnectionCommand"; import { type CreateSecurityRequirementPackCommandInput, type CreateSecurityRequirementPackCommandOutput } from "./commands/CreateSecurityRequirementPackCommand"; import { type CreateTargetDomainCommandInput, type CreateTargetDomainCommandOutput } from "./commands/CreateTargetDomainCommand"; import { type CreateThreatCommandInput, type CreateThreatCommandOutput } from "./commands/CreateThreatCommand"; import { type CreateThreatModelCommandInput, type CreateThreatModelCommandOutput } from "./commands/CreateThreatModelCommand"; import { type DeleteAgentSpaceCommandInput, type DeleteAgentSpaceCommandOutput } from "./commands/DeleteAgentSpaceCommand"; import { type DeleteApplicationCommandInput, type DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand"; import { type DeleteArtifactCommandInput, type DeleteArtifactCommandOutput } from "./commands/DeleteArtifactCommand"; import { type DeleteIntegrationCommandInput, type DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand"; import { type DeleteMembershipCommandInput, type DeleteMembershipCommandOutput } from "./commands/DeleteMembershipCommand"; import { type DeletePrivateConnectionCommandInput, type DeletePrivateConnectionCommandOutput } from "./commands/DeletePrivateConnectionCommand"; import { type DeleteSecurityRequirementPackCommandInput, type DeleteSecurityRequirementPackCommandOutput } from "./commands/DeleteSecurityRequirementPackCommand"; import { type DeleteTargetDomainCommandInput, type DeleteTargetDomainCommandOutput } from "./commands/DeleteTargetDomainCommand"; import { type DescribePrivateConnectionCommandInput, type DescribePrivateConnectionCommandOutput } from "./commands/DescribePrivateConnectionCommand"; import { type GetApplicationCommandInput, type GetApplicationCommandOutput } from "./commands/GetApplicationCommand"; import { type GetArtifactCommandInput, type GetArtifactCommandOutput } from "./commands/GetArtifactCommand"; import { type GetIntegrationCommandInput, type GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand"; import { type GetSecurityRequirementPackCommandInput, type GetSecurityRequirementPackCommandOutput } from "./commands/GetSecurityRequirementPackCommand"; import { type ImportSecurityRequirementsCommandInput, type ImportSecurityRequirementsCommandOutput } from "./commands/ImportSecurityRequirementsCommand"; import { type InitiateProviderRegistrationCommandInput, type InitiateProviderRegistrationCommandOutput } from "./commands/InitiateProviderRegistrationCommand"; import { type ListAgentSpacesCommandInput, type ListAgentSpacesCommandOutput } from "./commands/ListAgentSpacesCommand"; import { type ListApplicationsCommandInput, type ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand"; import { type ListArtifactsCommandInput, type ListArtifactsCommandOutput } from "./commands/ListArtifactsCommand"; import { type ListCodeReviewJobsForCodeReviewCommandInput, type ListCodeReviewJobsForCodeReviewCommandOutput } from "./commands/ListCodeReviewJobsForCodeReviewCommand"; import { type ListCodeReviewJobTasksCommandInput, type ListCodeReviewJobTasksCommandOutput } from "./commands/ListCodeReviewJobTasksCommand"; import { type ListCodeReviewsCommandInput, type ListCodeReviewsCommandOutput } from "./commands/ListCodeReviewsCommand"; import { type ListDiscoveredEndpointsCommandInput, type ListDiscoveredEndpointsCommandOutput } from "./commands/ListDiscoveredEndpointsCommand"; import { type ListFindingsCommandInput, type ListFindingsCommandOutput } from "./commands/ListFindingsCommand"; import { type ListIntegratedResourcesCommandInput, type ListIntegratedResourcesCommandOutput } from "./commands/ListIntegratedResourcesCommand"; import { type ListIntegrationsCommandInput, type ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand"; import { type ListMembershipsCommandInput, type ListMembershipsCommandOutput } from "./commands/ListMembershipsCommand"; import { type ListPentestJobsForPentestCommandInput, type ListPentestJobsForPentestCommandOutput } from "./commands/ListPentestJobsForPentestCommand"; import { type ListPentestJobTasksCommandInput, type ListPentestJobTasksCommandOutput } from "./commands/ListPentestJobTasksCommand"; import { type ListPentestsCommandInput, type ListPentestsCommandOutput } from "./commands/ListPentestsCommand"; import { type ListPrivateConnectionsCommandInput, type ListPrivateConnectionsCommandOutput } from "./commands/ListPrivateConnectionsCommand"; import { type ListSecurityRequirementPacksCommandInput, type ListSecurityRequirementPacksCommandOutput } from "./commands/ListSecurityRequirementPacksCommand"; import { type ListSecurityRequirementsCommandInput, type ListSecurityRequirementsCommandOutput } from "./commands/ListSecurityRequirementsCommand"; import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import { type ListTargetDomainsCommandInput, type ListTargetDomainsCommandOutput } from "./commands/ListTargetDomainsCommand"; import { type ListThreatModelJobsCommandInput, type ListThreatModelJobsCommandOutput } from "./commands/ListThreatModelJobsCommand"; import { type ListThreatModelJobTasksCommandInput, type ListThreatModelJobTasksCommandOutput } from "./commands/ListThreatModelJobTasksCommand"; import { type ListThreatModelsCommandInput, type ListThreatModelsCommandOutput } from "./commands/ListThreatModelsCommand"; import { type ListThreatsCommandInput, type ListThreatsCommandOutput } from "./commands/ListThreatsCommand"; import { type StartCodeRemediationCommandInput, type StartCodeRemediationCommandOutput } from "./commands/StartCodeRemediationCommand"; import { type StartCodeReviewJobCommandInput, type StartCodeReviewJobCommandOutput } from "./commands/StartCodeReviewJobCommand"; import { type StartPentestJobCommandInput, type StartPentestJobCommandOutput } from "./commands/StartPentestJobCommand"; import { type StartThreatModelJobCommandInput, type StartThreatModelJobCommandOutput } from "./commands/StartThreatModelJobCommand"; import { type StopCodeReviewJobCommandInput, type StopCodeReviewJobCommandOutput } from "./commands/StopCodeReviewJobCommand"; import { type StopPentestJobCommandInput, type StopPentestJobCommandOutput } from "./commands/StopPentestJobCommand"; import { type StopThreatModelJobCommandInput, type StopThreatModelJobCommandOutput } from "./commands/StopThreatModelJobCommand"; import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { type UpdateAgentSpaceCommandInput, type UpdateAgentSpaceCommandOutput } from "./commands/UpdateAgentSpaceCommand"; import { type UpdateApplicationCommandInput, type UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand"; import { type UpdateCodeReviewCommandInput, type UpdateCodeReviewCommandOutput } from "./commands/UpdateCodeReviewCommand"; import { type UpdateFindingCommandInput, type UpdateFindingCommandOutput } from "./commands/UpdateFindingCommand"; import { type UpdateIntegratedResourcesCommandInput, type UpdateIntegratedResourcesCommandOutput } from "./commands/UpdateIntegratedResourcesCommand"; import { type UpdatePentestCommandInput, type UpdatePentestCommandOutput } from "./commands/UpdatePentestCommand"; import { type UpdatePrivateConnectionCertificateCommandInput, type UpdatePrivateConnectionCertificateCommandOutput } from "./commands/UpdatePrivateConnectionCertificateCommand"; import { type UpdateSecurityRequirementPackCommandInput, type UpdateSecurityRequirementPackCommandOutput } from "./commands/UpdateSecurityRequirementPackCommand"; import { type UpdateTargetDomainCommandInput, type UpdateTargetDomainCommandOutput } from "./commands/UpdateTargetDomainCommand"; import { type UpdateThreatCommandInput, type UpdateThreatCommandOutput } from "./commands/UpdateThreatCommand"; import { type UpdateThreatModelCommandInput, type UpdateThreatModelCommandOutput } from "./commands/UpdateThreatModelCommand"; import { type VerifyTargetDomainCommandInput, type VerifyTargetDomainCommandOutput } from "./commands/VerifyTargetDomainCommand"; import { SecurityAgentClient } from "./SecurityAgentClient"; /** * @public */ export interface SecurityAgentRequestOptions extends __HttpHandlerOptions { metricsRecorder?: __MetricsRecorder; } export interface SecurityAgent { /** * @see {@link AddArtifactCommand} */ addArtifact(args: AddArtifactCommandInput, options?: SecurityAgentRequestOptions): Promise; addArtifact(args: AddArtifactCommandInput, cb: (err: any, data?: AddArtifactCommandOutput) => void): void; addArtifact(args: AddArtifactCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: AddArtifactCommandOutput) => void): void; /** * @see {@link BatchCreateSecurityRequirementsCommand} */ batchCreateSecurityRequirements(args: BatchCreateSecurityRequirementsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchCreateSecurityRequirements(args: BatchCreateSecurityRequirementsCommandInput, cb: (err: any, data?: BatchCreateSecurityRequirementsCommandOutput) => void): void; batchCreateSecurityRequirements(args: BatchCreateSecurityRequirementsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchCreateSecurityRequirementsCommandOutput) => void): void; /** * @see {@link BatchDeleteCodeReviewsCommand} */ batchDeleteCodeReviews(args: BatchDeleteCodeReviewsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchDeleteCodeReviews(args: BatchDeleteCodeReviewsCommandInput, cb: (err: any, data?: BatchDeleteCodeReviewsCommandOutput) => void): void; batchDeleteCodeReviews(args: BatchDeleteCodeReviewsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchDeleteCodeReviewsCommandOutput) => void): void; /** * @see {@link BatchDeletePentestsCommand} */ batchDeletePentests(args: BatchDeletePentestsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchDeletePentests(args: BatchDeletePentestsCommandInput, cb: (err: any, data?: BatchDeletePentestsCommandOutput) => void): void; batchDeletePentests(args: BatchDeletePentestsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchDeletePentestsCommandOutput) => void): void; /** * @see {@link BatchDeleteSecurityRequirementsCommand} */ batchDeleteSecurityRequirements(args: BatchDeleteSecurityRequirementsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchDeleteSecurityRequirements(args: BatchDeleteSecurityRequirementsCommandInput, cb: (err: any, data?: BatchDeleteSecurityRequirementsCommandOutput) => void): void; batchDeleteSecurityRequirements(args: BatchDeleteSecurityRequirementsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchDeleteSecurityRequirementsCommandOutput) => void): void; /** * @see {@link BatchDeleteThreatModelsCommand} */ batchDeleteThreatModels(args: BatchDeleteThreatModelsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchDeleteThreatModels(args: BatchDeleteThreatModelsCommandInput, cb: (err: any, data?: BatchDeleteThreatModelsCommandOutput) => void): void; batchDeleteThreatModels(args: BatchDeleteThreatModelsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchDeleteThreatModelsCommandOutput) => void): void; /** * @see {@link BatchGetAgentSpacesCommand} */ batchGetAgentSpaces(args: BatchGetAgentSpacesCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetAgentSpaces(args: BatchGetAgentSpacesCommandInput, cb: (err: any, data?: BatchGetAgentSpacesCommandOutput) => void): void; batchGetAgentSpaces(args: BatchGetAgentSpacesCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetAgentSpacesCommandOutput) => void): void; /** * @see {@link BatchGetArtifactMetadataCommand} */ batchGetArtifactMetadata(args: BatchGetArtifactMetadataCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetArtifactMetadata(args: BatchGetArtifactMetadataCommandInput, cb: (err: any, data?: BatchGetArtifactMetadataCommandOutput) => void): void; batchGetArtifactMetadata(args: BatchGetArtifactMetadataCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetArtifactMetadataCommandOutput) => void): void; /** * @see {@link BatchGetCodeReviewJobsCommand} */ batchGetCodeReviewJobs(args: BatchGetCodeReviewJobsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetCodeReviewJobs(args: BatchGetCodeReviewJobsCommandInput, cb: (err: any, data?: BatchGetCodeReviewJobsCommandOutput) => void): void; batchGetCodeReviewJobs(args: BatchGetCodeReviewJobsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetCodeReviewJobsCommandOutput) => void): void; /** * @see {@link BatchGetCodeReviewJobTasksCommand} */ batchGetCodeReviewJobTasks(args: BatchGetCodeReviewJobTasksCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetCodeReviewJobTasks(args: BatchGetCodeReviewJobTasksCommandInput, cb: (err: any, data?: BatchGetCodeReviewJobTasksCommandOutput) => void): void; batchGetCodeReviewJobTasks(args: BatchGetCodeReviewJobTasksCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetCodeReviewJobTasksCommandOutput) => void): void; /** * @see {@link BatchGetCodeReviewsCommand} */ batchGetCodeReviews(args: BatchGetCodeReviewsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetCodeReviews(args: BatchGetCodeReviewsCommandInput, cb: (err: any, data?: BatchGetCodeReviewsCommandOutput) => void): void; batchGetCodeReviews(args: BatchGetCodeReviewsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetCodeReviewsCommandOutput) => void): void; /** * @see {@link BatchGetFindingsCommand} */ batchGetFindings(args: BatchGetFindingsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetFindings(args: BatchGetFindingsCommandInput, cb: (err: any, data?: BatchGetFindingsCommandOutput) => void): void; batchGetFindings(args: BatchGetFindingsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetFindingsCommandOutput) => void): void; /** * @see {@link BatchGetPentestJobsCommand} */ batchGetPentestJobs(args: BatchGetPentestJobsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetPentestJobs(args: BatchGetPentestJobsCommandInput, cb: (err: any, data?: BatchGetPentestJobsCommandOutput) => void): void; batchGetPentestJobs(args: BatchGetPentestJobsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetPentestJobsCommandOutput) => void): void; /** * @see {@link BatchGetPentestJobTasksCommand} */ batchGetPentestJobTasks(args: BatchGetPentestJobTasksCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetPentestJobTasks(args: BatchGetPentestJobTasksCommandInput, cb: (err: any, data?: BatchGetPentestJobTasksCommandOutput) => void): void; batchGetPentestJobTasks(args: BatchGetPentestJobTasksCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetPentestJobTasksCommandOutput) => void): void; /** * @see {@link BatchGetPentestsCommand} */ batchGetPentests(args: BatchGetPentestsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetPentests(args: BatchGetPentestsCommandInput, cb: (err: any, data?: BatchGetPentestsCommandOutput) => void): void; batchGetPentests(args: BatchGetPentestsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetPentestsCommandOutput) => void): void; /** * @see {@link BatchGetSecurityRequirementsCommand} */ batchGetSecurityRequirements(args: BatchGetSecurityRequirementsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetSecurityRequirements(args: BatchGetSecurityRequirementsCommandInput, cb: (err: any, data?: BatchGetSecurityRequirementsCommandOutput) => void): void; batchGetSecurityRequirements(args: BatchGetSecurityRequirementsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetSecurityRequirementsCommandOutput) => void): void; /** * @see {@link BatchGetTargetDomainsCommand} */ batchGetTargetDomains(args: BatchGetTargetDomainsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetTargetDomains(args: BatchGetTargetDomainsCommandInput, cb: (err: any, data?: BatchGetTargetDomainsCommandOutput) => void): void; batchGetTargetDomains(args: BatchGetTargetDomainsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetTargetDomainsCommandOutput) => void): void; /** * @see {@link BatchGetThreatModelJobsCommand} */ batchGetThreatModelJobs(args: BatchGetThreatModelJobsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetThreatModelJobs(args: BatchGetThreatModelJobsCommandInput, cb: (err: any, data?: BatchGetThreatModelJobsCommandOutput) => void): void; batchGetThreatModelJobs(args: BatchGetThreatModelJobsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetThreatModelJobsCommandOutput) => void): void; /** * @see {@link BatchGetThreatModelJobTasksCommand} */ batchGetThreatModelJobTasks(args: BatchGetThreatModelJobTasksCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetThreatModelJobTasks(args: BatchGetThreatModelJobTasksCommandInput, cb: (err: any, data?: BatchGetThreatModelJobTasksCommandOutput) => void): void; batchGetThreatModelJobTasks(args: BatchGetThreatModelJobTasksCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetThreatModelJobTasksCommandOutput) => void): void; /** * @see {@link BatchGetThreatModelsCommand} */ batchGetThreatModels(args: BatchGetThreatModelsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetThreatModels(args: BatchGetThreatModelsCommandInput, cb: (err: any, data?: BatchGetThreatModelsCommandOutput) => void): void; batchGetThreatModels(args: BatchGetThreatModelsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetThreatModelsCommandOutput) => void): void; /** * @see {@link BatchGetThreatsCommand} */ batchGetThreats(args: BatchGetThreatsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchGetThreats(args: BatchGetThreatsCommandInput, cb: (err: any, data?: BatchGetThreatsCommandOutput) => void): void; batchGetThreats(args: BatchGetThreatsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchGetThreatsCommandOutput) => void): void; /** * @see {@link BatchUpdateSecurityRequirementsCommand} */ batchUpdateSecurityRequirements(args: BatchUpdateSecurityRequirementsCommandInput, options?: SecurityAgentRequestOptions): Promise; batchUpdateSecurityRequirements(args: BatchUpdateSecurityRequirementsCommandInput, cb: (err: any, data?: BatchUpdateSecurityRequirementsCommandOutput) => void): void; batchUpdateSecurityRequirements(args: BatchUpdateSecurityRequirementsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: BatchUpdateSecurityRequirementsCommandOutput) => void): void; /** * @see {@link CreateAgentSpaceCommand} */ createAgentSpace(args: CreateAgentSpaceCommandInput, options?: SecurityAgentRequestOptions): Promise; createAgentSpace(args: CreateAgentSpaceCommandInput, cb: (err: any, data?: CreateAgentSpaceCommandOutput) => void): void; createAgentSpace(args: CreateAgentSpaceCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: CreateAgentSpaceCommandOutput) => void): void; /** * @see {@link CreateApplicationCommand} */ createApplication(): Promise; createApplication(args: CreateApplicationCommandInput, options?: SecurityAgentRequestOptions): Promise; createApplication(args: CreateApplicationCommandInput, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void; createApplication(args: CreateApplicationCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: CreateApplicationCommandOutput) => void): void; /** * @see {@link CreateCodeReviewCommand} */ createCodeReview(args: CreateCodeReviewCommandInput, options?: SecurityAgentRequestOptions): Promise; createCodeReview(args: CreateCodeReviewCommandInput, cb: (err: any, data?: CreateCodeReviewCommandOutput) => void): void; createCodeReview(args: CreateCodeReviewCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: CreateCodeReviewCommandOutput) => void): void; /** * @see {@link CreateIntegrationCommand} */ createIntegration(args: CreateIntegrationCommandInput, options?: SecurityAgentRequestOptions): Promise; createIntegration(args: CreateIntegrationCommandInput, cb: (err: any, data?: CreateIntegrationCommandOutput) => void): void; createIntegration(args: CreateIntegrationCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: CreateIntegrationCommandOutput) => void): void; /** * @see {@link CreateMembershipCommand} */ createMembership(args: CreateMembershipCommandInput, options?: SecurityAgentRequestOptions): Promise; createMembership(args: CreateMembershipCommandInput, cb: (err: any, data?: CreateMembershipCommandOutput) => void): void; createMembership(args: CreateMembershipCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: CreateMembershipCommandOutput) => void): void; /** * @see {@link CreatePentestCommand} */ createPentest(args: CreatePentestCommandInput, options?: SecurityAgentRequestOptions): Promise; createPentest(args: CreatePentestCommandInput, cb: (err: any, data?: CreatePentestCommandOutput) => void): void; createPentest(args: CreatePentestCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: CreatePentestCommandOutput) => void): void; /** * @see {@link CreatePrivateConnectionCommand} */ createPrivateConnection(args: CreatePrivateConnectionCommandInput, options?: SecurityAgentRequestOptions): Promise; createPrivateConnection(args: CreatePrivateConnectionCommandInput, cb: (err: any, data?: CreatePrivateConnectionCommandOutput) => void): void; createPrivateConnection(args: CreatePrivateConnectionCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: CreatePrivateConnectionCommandOutput) => void): void; /** * @see {@link CreateSecurityRequirementPackCommand} */ createSecurityRequirementPack(args: CreateSecurityRequirementPackCommandInput, options?: SecurityAgentRequestOptions): Promise; createSecurityRequirementPack(args: CreateSecurityRequirementPackCommandInput, cb: (err: any, data?: CreateSecurityRequirementPackCommandOutput) => void): void; createSecurityRequirementPack(args: CreateSecurityRequirementPackCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: CreateSecurityRequirementPackCommandOutput) => void): void; /** * @see {@link CreateTargetDomainCommand} */ createTargetDomain(args: CreateTargetDomainCommandInput, options?: SecurityAgentRequestOptions): Promise; createTargetDomain(args: CreateTargetDomainCommandInput, cb: (err: any, data?: CreateTargetDomainCommandOutput) => void): void; createTargetDomain(args: CreateTargetDomainCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: CreateTargetDomainCommandOutput) => void): void; /** * @see {@link CreateThreatCommand} */ createThreat(args: CreateThreatCommandInput, options?: SecurityAgentRequestOptions): Promise; createThreat(args: CreateThreatCommandInput, cb: (err: any, data?: CreateThreatCommandOutput) => void): void; createThreat(args: CreateThreatCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: CreateThreatCommandOutput) => void): void; /** * @see {@link CreateThreatModelCommand} */ createThreatModel(args: CreateThreatModelCommandInput, options?: SecurityAgentRequestOptions): Promise; createThreatModel(args: CreateThreatModelCommandInput, cb: (err: any, data?: CreateThreatModelCommandOutput) => void): void; createThreatModel(args: CreateThreatModelCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: CreateThreatModelCommandOutput) => void): void; /** * @see {@link DeleteAgentSpaceCommand} */ deleteAgentSpace(args: DeleteAgentSpaceCommandInput, options?: SecurityAgentRequestOptions): Promise; deleteAgentSpace(args: DeleteAgentSpaceCommandInput, cb: (err: any, data?: DeleteAgentSpaceCommandOutput) => void): void; deleteAgentSpace(args: DeleteAgentSpaceCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: DeleteAgentSpaceCommandOutput) => void): void; /** * @see {@link DeleteApplicationCommand} */ deleteApplication(args: DeleteApplicationCommandInput, options?: SecurityAgentRequestOptions): Promise; deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void; deleteApplication(args: DeleteApplicationCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void; /** * @see {@link DeleteArtifactCommand} */ deleteArtifact(args: DeleteArtifactCommandInput, options?: SecurityAgentRequestOptions): Promise; deleteArtifact(args: DeleteArtifactCommandInput, cb: (err: any, data?: DeleteArtifactCommandOutput) => void): void; deleteArtifact(args: DeleteArtifactCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: DeleteArtifactCommandOutput) => void): void; /** * @see {@link DeleteIntegrationCommand} */ deleteIntegration(args: DeleteIntegrationCommandInput, options?: SecurityAgentRequestOptions): Promise; deleteIntegration(args: DeleteIntegrationCommandInput, cb: (err: any, data?: DeleteIntegrationCommandOutput) => void): void; deleteIntegration(args: DeleteIntegrationCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: DeleteIntegrationCommandOutput) => void): void; /** * @see {@link DeleteMembershipCommand} */ deleteMembership(args: DeleteMembershipCommandInput, options?: SecurityAgentRequestOptions): Promise; deleteMembership(args: DeleteMembershipCommandInput, cb: (err: any, data?: DeleteMembershipCommandOutput) => void): void; deleteMembership(args: DeleteMembershipCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: DeleteMembershipCommandOutput) => void): void; /** * @see {@link DeletePrivateConnectionCommand} */ deletePrivateConnection(args: DeletePrivateConnectionCommandInput, options?: SecurityAgentRequestOptions): Promise; deletePrivateConnection(args: DeletePrivateConnectionCommandInput, cb: (err: any, data?: DeletePrivateConnectionCommandOutput) => void): void; deletePrivateConnection(args: DeletePrivateConnectionCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: DeletePrivateConnectionCommandOutput) => void): void; /** * @see {@link DeleteSecurityRequirementPackCommand} */ deleteSecurityRequirementPack(args: DeleteSecurityRequirementPackCommandInput, options?: SecurityAgentRequestOptions): Promise; deleteSecurityRequirementPack(args: DeleteSecurityRequirementPackCommandInput, cb: (err: any, data?: DeleteSecurityRequirementPackCommandOutput) => void): void; deleteSecurityRequirementPack(args: DeleteSecurityRequirementPackCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: DeleteSecurityRequirementPackCommandOutput) => void): void; /** * @see {@link DeleteTargetDomainCommand} */ deleteTargetDomain(args: DeleteTargetDomainCommandInput, options?: SecurityAgentRequestOptions): Promise; deleteTargetDomain(args: DeleteTargetDomainCommandInput, cb: (err: any, data?: DeleteTargetDomainCommandOutput) => void): void; deleteTargetDomain(args: DeleteTargetDomainCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: DeleteTargetDomainCommandOutput) => void): void; /** * @see {@link DescribePrivateConnectionCommand} */ describePrivateConnection(args: DescribePrivateConnectionCommandInput, options?: SecurityAgentRequestOptions): Promise; describePrivateConnection(args: DescribePrivateConnectionCommandInput, cb: (err: any, data?: DescribePrivateConnectionCommandOutput) => void): void; describePrivateConnection(args: DescribePrivateConnectionCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: DescribePrivateConnectionCommandOutput) => void): void; /** * @see {@link GetApplicationCommand} */ getApplication(args: GetApplicationCommandInput, options?: SecurityAgentRequestOptions): Promise; getApplication(args: GetApplicationCommandInput, cb: (err: any, data?: GetApplicationCommandOutput) => void): void; getApplication(args: GetApplicationCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: GetApplicationCommandOutput) => void): void; /** * @see {@link GetArtifactCommand} */ getArtifact(args: GetArtifactCommandInput, options?: SecurityAgentRequestOptions): Promise; getArtifact(args: GetArtifactCommandInput, cb: (err: any, data?: GetArtifactCommandOutput) => void): void; getArtifact(args: GetArtifactCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: GetArtifactCommandOutput) => void): void; /** * @see {@link GetIntegrationCommand} */ getIntegration(args: GetIntegrationCommandInput, options?: SecurityAgentRequestOptions): Promise; getIntegration(args: GetIntegrationCommandInput, cb: (err: any, data?: GetIntegrationCommandOutput) => void): void; getIntegration(args: GetIntegrationCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: GetIntegrationCommandOutput) => void): void; /** * @see {@link GetSecurityRequirementPackCommand} */ getSecurityRequirementPack(args: GetSecurityRequirementPackCommandInput, options?: SecurityAgentRequestOptions): Promise; getSecurityRequirementPack(args: GetSecurityRequirementPackCommandInput, cb: (err: any, data?: GetSecurityRequirementPackCommandOutput) => void): void; getSecurityRequirementPack(args: GetSecurityRequirementPackCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: GetSecurityRequirementPackCommandOutput) => void): void; /** * @see {@link ImportSecurityRequirementsCommand} */ importSecurityRequirements(args: ImportSecurityRequirementsCommandInput, options?: SecurityAgentRequestOptions): Promise; importSecurityRequirements(args: ImportSecurityRequirementsCommandInput, cb: (err: any, data?: ImportSecurityRequirementsCommandOutput) => void): void; importSecurityRequirements(args: ImportSecurityRequirementsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ImportSecurityRequirementsCommandOutput) => void): void; /** * @see {@link InitiateProviderRegistrationCommand} */ initiateProviderRegistration(args: InitiateProviderRegistrationCommandInput, options?: SecurityAgentRequestOptions): Promise; initiateProviderRegistration(args: InitiateProviderRegistrationCommandInput, cb: (err: any, data?: InitiateProviderRegistrationCommandOutput) => void): void; initiateProviderRegistration(args: InitiateProviderRegistrationCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: InitiateProviderRegistrationCommandOutput) => void): void; /** * @see {@link ListAgentSpacesCommand} */ listAgentSpaces(): Promise; listAgentSpaces(args: ListAgentSpacesCommandInput, options?: SecurityAgentRequestOptions): Promise; listAgentSpaces(args: ListAgentSpacesCommandInput, cb: (err: any, data?: ListAgentSpacesCommandOutput) => void): void; listAgentSpaces(args: ListAgentSpacesCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListAgentSpacesCommandOutput) => void): void; /** * @see {@link ListApplicationsCommand} */ listApplications(): Promise; listApplications(args: ListApplicationsCommandInput, options?: SecurityAgentRequestOptions): Promise; listApplications(args: ListApplicationsCommandInput, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void; listApplications(args: ListApplicationsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListApplicationsCommandOutput) => void): void; /** * @see {@link ListArtifactsCommand} */ listArtifacts(args: ListArtifactsCommandInput, options?: SecurityAgentRequestOptions): Promise; listArtifacts(args: ListArtifactsCommandInput, cb: (err: any, data?: ListArtifactsCommandOutput) => void): void; listArtifacts(args: ListArtifactsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListArtifactsCommandOutput) => void): void; /** * @see {@link ListCodeReviewJobsForCodeReviewCommand} */ listCodeReviewJobsForCodeReview(args: ListCodeReviewJobsForCodeReviewCommandInput, options?: SecurityAgentRequestOptions): Promise; listCodeReviewJobsForCodeReview(args: ListCodeReviewJobsForCodeReviewCommandInput, cb: (err: any, data?: ListCodeReviewJobsForCodeReviewCommandOutput) => void): void; listCodeReviewJobsForCodeReview(args: ListCodeReviewJobsForCodeReviewCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListCodeReviewJobsForCodeReviewCommandOutput) => void): void; /** * @see {@link ListCodeReviewJobTasksCommand} */ listCodeReviewJobTasks(args: ListCodeReviewJobTasksCommandInput, options?: SecurityAgentRequestOptions): Promise; listCodeReviewJobTasks(args: ListCodeReviewJobTasksCommandInput, cb: (err: any, data?: ListCodeReviewJobTasksCommandOutput) => void): void; listCodeReviewJobTasks(args: ListCodeReviewJobTasksCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListCodeReviewJobTasksCommandOutput) => void): void; /** * @see {@link ListCodeReviewsCommand} */ listCodeReviews(args: ListCodeReviewsCommandInput, options?: SecurityAgentRequestOptions): Promise; listCodeReviews(args: ListCodeReviewsCommandInput, cb: (err: any, data?: ListCodeReviewsCommandOutput) => void): void; listCodeReviews(args: ListCodeReviewsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListCodeReviewsCommandOutput) => void): void; /** * @see {@link ListDiscoveredEndpointsCommand} */ listDiscoveredEndpoints(args: ListDiscoveredEndpointsCommandInput, options?: SecurityAgentRequestOptions): Promise; listDiscoveredEndpoints(args: ListDiscoveredEndpointsCommandInput, cb: (err: any, data?: ListDiscoveredEndpointsCommandOutput) => void): void; listDiscoveredEndpoints(args: ListDiscoveredEndpointsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListDiscoveredEndpointsCommandOutput) => void): void; /** * @see {@link ListFindingsCommand} */ listFindings(args: ListFindingsCommandInput, options?: SecurityAgentRequestOptions): Promise; listFindings(args: ListFindingsCommandInput, cb: (err: any, data?: ListFindingsCommandOutput) => void): void; listFindings(args: ListFindingsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListFindingsCommandOutput) => void): void; /** * @see {@link ListIntegratedResourcesCommand} */ listIntegratedResources(args: ListIntegratedResourcesCommandInput, options?: SecurityAgentRequestOptions): Promise; listIntegratedResources(args: ListIntegratedResourcesCommandInput, cb: (err: any, data?: ListIntegratedResourcesCommandOutput) => void): void; listIntegratedResources(args: ListIntegratedResourcesCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListIntegratedResourcesCommandOutput) => void): void; /** * @see {@link ListIntegrationsCommand} */ listIntegrations(): Promise; listIntegrations(args: ListIntegrationsCommandInput, options?: SecurityAgentRequestOptions): Promise; listIntegrations(args: ListIntegrationsCommandInput, cb: (err: any, data?: ListIntegrationsCommandOutput) => void): void; listIntegrations(args: ListIntegrationsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListIntegrationsCommandOutput) => void): void; /** * @see {@link ListMembershipsCommand} */ listMemberships(args: ListMembershipsCommandInput, options?: SecurityAgentRequestOptions): Promise; listMemberships(args: ListMembershipsCommandInput, cb: (err: any, data?: ListMembershipsCommandOutput) => void): void; listMemberships(args: ListMembershipsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListMembershipsCommandOutput) => void): void; /** * @see {@link ListPentestJobsForPentestCommand} */ listPentestJobsForPentest(args: ListPentestJobsForPentestCommandInput, options?: SecurityAgentRequestOptions): Promise; listPentestJobsForPentest(args: ListPentestJobsForPentestCommandInput, cb: (err: any, data?: ListPentestJobsForPentestCommandOutput) => void): void; listPentestJobsForPentest(args: ListPentestJobsForPentestCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListPentestJobsForPentestCommandOutput) => void): void; /** * @see {@link ListPentestJobTasksCommand} */ listPentestJobTasks(args: ListPentestJobTasksCommandInput, options?: SecurityAgentRequestOptions): Promise; listPentestJobTasks(args: ListPentestJobTasksCommandInput, cb: (err: any, data?: ListPentestJobTasksCommandOutput) => void): void; listPentestJobTasks(args: ListPentestJobTasksCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListPentestJobTasksCommandOutput) => void): void; /** * @see {@link ListPentestsCommand} */ listPentests(args: ListPentestsCommandInput, options?: SecurityAgentRequestOptions): Promise; listPentests(args: ListPentestsCommandInput, cb: (err: any, data?: ListPentestsCommandOutput) => void): void; listPentests(args: ListPentestsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListPentestsCommandOutput) => void): void; /** * @see {@link ListPrivateConnectionsCommand} */ listPrivateConnections(): Promise; listPrivateConnections(args: ListPrivateConnectionsCommandInput, options?: SecurityAgentRequestOptions): Promise; listPrivateConnections(args: ListPrivateConnectionsCommandInput, cb: (err: any, data?: ListPrivateConnectionsCommandOutput) => void): void; listPrivateConnections(args: ListPrivateConnectionsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListPrivateConnectionsCommandOutput) => void): void; /** * @see {@link ListSecurityRequirementPacksCommand} */ listSecurityRequirementPacks(): Promise; listSecurityRequirementPacks(args: ListSecurityRequirementPacksCommandInput, options?: SecurityAgentRequestOptions): Promise; listSecurityRequirementPacks(args: ListSecurityRequirementPacksCommandInput, cb: (err: any, data?: ListSecurityRequirementPacksCommandOutput) => void): void; listSecurityRequirementPacks(args: ListSecurityRequirementPacksCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListSecurityRequirementPacksCommandOutput) => void): void; /** * @see {@link ListSecurityRequirementsCommand} */ listSecurityRequirements(args: ListSecurityRequirementsCommandInput, options?: SecurityAgentRequestOptions): Promise; listSecurityRequirements(args: ListSecurityRequirementsCommandInput, cb: (err: any, data?: ListSecurityRequirementsCommandOutput) => void): void; listSecurityRequirements(args: ListSecurityRequirementsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListSecurityRequirementsCommandOutput) => void): void; /** * @see {@link ListTagsForResourceCommand} */ listTagsForResource(args: ListTagsForResourceCommandInput, options?: SecurityAgentRequestOptions): Promise; listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; listTagsForResource(args: ListTagsForResourceCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; /** * @see {@link ListTargetDomainsCommand} */ listTargetDomains(): Promise; listTargetDomains(args: ListTargetDomainsCommandInput, options?: SecurityAgentRequestOptions): Promise; listTargetDomains(args: ListTargetDomainsCommandInput, cb: (err: any, data?: ListTargetDomainsCommandOutput) => void): void; listTargetDomains(args: ListTargetDomainsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListTargetDomainsCommandOutput) => void): void; /** * @see {@link ListThreatModelJobsCommand} */ listThreatModelJobs(args: ListThreatModelJobsCommandInput, options?: SecurityAgentRequestOptions): Promise; listThreatModelJobs(args: ListThreatModelJobsCommandInput, cb: (err: any, data?: ListThreatModelJobsCommandOutput) => void): void; listThreatModelJobs(args: ListThreatModelJobsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListThreatModelJobsCommandOutput) => void): void; /** * @see {@link ListThreatModelJobTasksCommand} */ listThreatModelJobTasks(args: ListThreatModelJobTasksCommandInput, options?: SecurityAgentRequestOptions): Promise; listThreatModelJobTasks(args: ListThreatModelJobTasksCommandInput, cb: (err: any, data?: ListThreatModelJobTasksCommandOutput) => void): void; listThreatModelJobTasks(args: ListThreatModelJobTasksCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListThreatModelJobTasksCommandOutput) => void): void; /** * @see {@link ListThreatModelsCommand} */ listThreatModels(args: ListThreatModelsCommandInput, options?: SecurityAgentRequestOptions): Promise; listThreatModels(args: ListThreatModelsCommandInput, cb: (err: any, data?: ListThreatModelsCommandOutput) => void): void; listThreatModels(args: ListThreatModelsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListThreatModelsCommandOutput) => void): void; /** * @see {@link ListThreatsCommand} */ listThreats(args: ListThreatsCommandInput, options?: SecurityAgentRequestOptions): Promise; listThreats(args: ListThreatsCommandInput, cb: (err: any, data?: ListThreatsCommandOutput) => void): void; listThreats(args: ListThreatsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListThreatsCommandOutput) => void): void; /** * @see {@link StartCodeRemediationCommand} */ startCodeRemediation(args: StartCodeRemediationCommandInput, options?: SecurityAgentRequestOptions): Promise; startCodeRemediation(args: StartCodeRemediationCommandInput, cb: (err: any, data?: StartCodeRemediationCommandOutput) => void): void; startCodeRemediation(args: StartCodeRemediationCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: StartCodeRemediationCommandOutput) => void): void; /** * @see {@link StartCodeReviewJobCommand} */ startCodeReviewJob(args: StartCodeReviewJobCommandInput, options?: SecurityAgentRequestOptions): Promise; startCodeReviewJob(args: StartCodeReviewJobCommandInput, cb: (err: any, data?: StartCodeReviewJobCommandOutput) => void): void; startCodeReviewJob(args: StartCodeReviewJobCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: StartCodeReviewJobCommandOutput) => void): void; /** * @see {@link StartPentestJobCommand} */ startPentestJob(args: StartPentestJobCommandInput, options?: SecurityAgentRequestOptions): Promise; startPentestJob(args: StartPentestJobCommandInput, cb: (err: any, data?: StartPentestJobCommandOutput) => void): void; startPentestJob(args: StartPentestJobCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: StartPentestJobCommandOutput) => void): void; /** * @see {@link StartThreatModelJobCommand} */ startThreatModelJob(args: StartThreatModelJobCommandInput, options?: SecurityAgentRequestOptions): Promise; startThreatModelJob(args: StartThreatModelJobCommandInput, cb: (err: any, data?: StartThreatModelJobCommandOutput) => void): void; startThreatModelJob(args: StartThreatModelJobCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: StartThreatModelJobCommandOutput) => void): void; /** * @see {@link StopCodeReviewJobCommand} */ stopCodeReviewJob(args: StopCodeReviewJobCommandInput, options?: SecurityAgentRequestOptions): Promise; stopCodeReviewJob(args: StopCodeReviewJobCommandInput, cb: (err: any, data?: StopCodeReviewJobCommandOutput) => void): void; stopCodeReviewJob(args: StopCodeReviewJobCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: StopCodeReviewJobCommandOutput) => void): void; /** * @see {@link StopPentestJobCommand} */ stopPentestJob(args: StopPentestJobCommandInput, options?: SecurityAgentRequestOptions): Promise; stopPentestJob(args: StopPentestJobCommandInput, cb: (err: any, data?: StopPentestJobCommandOutput) => void): void; stopPentestJob(args: StopPentestJobCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: StopPentestJobCommandOutput) => void): void; /** * @see {@link StopThreatModelJobCommand} */ stopThreatModelJob(args: StopThreatModelJobCommandInput, options?: SecurityAgentRequestOptions): Promise; stopThreatModelJob(args: StopThreatModelJobCommandInput, cb: (err: any, data?: StopThreatModelJobCommandOutput) => void): void; stopThreatModelJob(args: StopThreatModelJobCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: StopThreatModelJobCommandOutput) => void): void; /** * @see {@link TagResourceCommand} */ tagResource(args: TagResourceCommandInput, options?: SecurityAgentRequestOptions): Promise; tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; tagResource(args: TagResourceCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; /** * @see {@link UntagResourceCommand} */ untagResource(args: UntagResourceCommandInput, options?: SecurityAgentRequestOptions): Promise; untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; untagResource(args: UntagResourceCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; /** * @see {@link UpdateAgentSpaceCommand} */ updateAgentSpace(args: UpdateAgentSpaceCommandInput, options?: SecurityAgentRequestOptions): Promise; updateAgentSpace(args: UpdateAgentSpaceCommandInput, cb: (err: any, data?: UpdateAgentSpaceCommandOutput) => void): void; updateAgentSpace(args: UpdateAgentSpaceCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: UpdateAgentSpaceCommandOutput) => void): void; /** * @see {@link UpdateApplicationCommand} */ updateApplication(args: UpdateApplicationCommandInput, options?: SecurityAgentRequestOptions): Promise; updateApplication(args: UpdateApplicationCommandInput, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void; updateApplication(args: UpdateApplicationCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: UpdateApplicationCommandOutput) => void): void; /** * @see {@link UpdateCodeReviewCommand} */ updateCodeReview(args: UpdateCodeReviewCommandInput, options?: SecurityAgentRequestOptions): Promise; updateCodeReview(args: UpdateCodeReviewCommandInput, cb: (err: any, data?: UpdateCodeReviewCommandOutput) => void): void; updateCodeReview(args: UpdateCodeReviewCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: UpdateCodeReviewCommandOutput) => void): void; /** * @see {@link UpdateFindingCommand} */ updateFinding(args: UpdateFindingCommandInput, options?: SecurityAgentRequestOptions): Promise; updateFinding(args: UpdateFindingCommandInput, cb: (err: any, data?: UpdateFindingCommandOutput) => void): void; updateFinding(args: UpdateFindingCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: UpdateFindingCommandOutput) => void): void; /** * @see {@link UpdateIntegratedResourcesCommand} */ updateIntegratedResources(args: UpdateIntegratedResourcesCommandInput, options?: SecurityAgentRequestOptions): Promise; updateIntegratedResources(args: UpdateIntegratedResourcesCommandInput, cb: (err: any, data?: UpdateIntegratedResourcesCommandOutput) => void): void; updateIntegratedResources(args: UpdateIntegratedResourcesCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: UpdateIntegratedResourcesCommandOutput) => void): void; /** * @see {@link UpdatePentestCommand} */ updatePentest(args: UpdatePentestCommandInput, options?: SecurityAgentRequestOptions): Promise; updatePentest(args: UpdatePentestCommandInput, cb: (err: any, data?: UpdatePentestCommandOutput) => void): void; updatePentest(args: UpdatePentestCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: UpdatePentestCommandOutput) => void): void; /** * @see {@link UpdatePrivateConnectionCertificateCommand} */ updatePrivateConnectionCertificate(args: UpdatePrivateConnectionCertificateCommandInput, options?: SecurityAgentRequestOptions): Promise; updatePrivateConnectionCertificate(args: UpdatePrivateConnectionCertificateCommandInput, cb: (err: any, data?: UpdatePrivateConnectionCertificateCommandOutput) => void): void; updatePrivateConnectionCertificate(args: UpdatePrivateConnectionCertificateCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: UpdatePrivateConnectionCertificateCommandOutput) => void): void; /** * @see {@link UpdateSecurityRequirementPackCommand} */ updateSecurityRequirementPack(args: UpdateSecurityRequirementPackCommandInput, options?: SecurityAgentRequestOptions): Promise; updateSecurityRequirementPack(args: UpdateSecurityRequirementPackCommandInput, cb: (err: any, data?: UpdateSecurityRequirementPackCommandOutput) => void): void; updateSecurityRequirementPack(args: UpdateSecurityRequirementPackCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: UpdateSecurityRequirementPackCommandOutput) => void): void; /** * @see {@link UpdateTargetDomainCommand} */ updateTargetDomain(args: UpdateTargetDomainCommandInput, options?: SecurityAgentRequestOptions): Promise; updateTargetDomain(args: UpdateTargetDomainCommandInput, cb: (err: any, data?: UpdateTargetDomainCommandOutput) => void): void; updateTargetDomain(args: UpdateTargetDomainCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: UpdateTargetDomainCommandOutput) => void): void; /** * @see {@link UpdateThreatCommand} */ updateThreat(args: UpdateThreatCommandInput, options?: SecurityAgentRequestOptions): Promise; updateThreat(args: UpdateThreatCommandInput, cb: (err: any, data?: UpdateThreatCommandOutput) => void): void; updateThreat(args: UpdateThreatCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: UpdateThreatCommandOutput) => void): void; /** * @see {@link UpdateThreatModelCommand} */ updateThreatModel(args: UpdateThreatModelCommandInput, options?: SecurityAgentRequestOptions): Promise; updateThreatModel(args: UpdateThreatModelCommandInput, cb: (err: any, data?: UpdateThreatModelCommandOutput) => void): void; updateThreatModel(args: UpdateThreatModelCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: UpdateThreatModelCommandOutput) => void): void; /** * @see {@link VerifyTargetDomainCommand} */ verifyTargetDomain(args: VerifyTargetDomainCommandInput, options?: SecurityAgentRequestOptions): Promise; verifyTargetDomain(args: VerifyTargetDomainCommandInput, cb: (err: any, data?: VerifyTargetDomainCommandOutput) => void): void; verifyTargetDomain(args: VerifyTargetDomainCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: VerifyTargetDomainCommandOutput) => void): void; /** * @see {@link ListAgentSpacesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListAgentSpacesCommandOutput}. */ paginateListAgentSpaces(args?: ListAgentSpacesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListApplicationsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListApplicationsCommandOutput}. */ paginateListApplications(args?: ListApplicationsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListArtifactsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListArtifactsCommandOutput}. */ paginateListArtifacts(args: ListArtifactsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListCodeReviewJobsForCodeReviewCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListCodeReviewJobsForCodeReviewCommandOutput}. */ paginateListCodeReviewJobsForCodeReview(args: ListCodeReviewJobsForCodeReviewCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListCodeReviewJobTasksCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListCodeReviewJobTasksCommandOutput}. */ paginateListCodeReviewJobTasks(args: ListCodeReviewJobTasksCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListCodeReviewsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListCodeReviewsCommandOutput}. */ paginateListCodeReviews(args: ListCodeReviewsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListDiscoveredEndpointsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListDiscoveredEndpointsCommandOutput}. */ paginateListDiscoveredEndpoints(args: ListDiscoveredEndpointsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListFindingsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListFindingsCommandOutput}. */ paginateListFindings(args: ListFindingsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListIntegratedResourcesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListIntegratedResourcesCommandOutput}. */ paginateListIntegratedResources(args: ListIntegratedResourcesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListIntegrationsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListIntegrationsCommandOutput}. */ paginateListIntegrations(args?: ListIntegrationsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListMembershipsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListMembershipsCommandOutput}. */ paginateListMemberships(args: ListMembershipsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListPentestJobsForPentestCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListPentestJobsForPentestCommandOutput}. */ paginateListPentestJobsForPentest(args: ListPentestJobsForPentestCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListPentestJobTasksCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListPentestJobTasksCommandOutput}. */ paginateListPentestJobTasks(args: ListPentestJobTasksCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListPentestsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListPentestsCommandOutput}. */ paginateListPentests(args: ListPentestsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListPrivateConnectionsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListPrivateConnectionsCommandOutput}. */ paginateListPrivateConnections(args?: ListPrivateConnectionsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListSecurityRequirementPacksCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListSecurityRequirementPacksCommandOutput}. */ paginateListSecurityRequirementPacks(args?: ListSecurityRequirementPacksCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListSecurityRequirementsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListSecurityRequirementsCommandOutput}. */ paginateListSecurityRequirements(args: ListSecurityRequirementsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListTargetDomainsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListTargetDomainsCommandOutput}. */ paginateListTargetDomains(args?: ListTargetDomainsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListThreatModelJobsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListThreatModelJobsCommandOutput}. */ paginateListThreatModelJobs(args: ListThreatModelJobsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListThreatModelJobTasksCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListThreatModelJobTasksCommandOutput}. */ paginateListThreatModelJobTasks(args: ListThreatModelJobTasksCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListThreatModelsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListThreatModelsCommandOutput}. */ paginateListThreatModels(args: ListThreatModelsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListThreatsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListThreatsCommandOutput}. */ paginateListThreats(args: ListThreatsCommandInput, paginationConfig?: Omit): Paginator; } /** *

AWS Security Agent is a frontier agent that proactively secures your applications throughout the development lifecycle. It conducts automated security reviews tailored to your organizational requirements and delivers context-aware penetration testing on demand. By continuously validating security from design to deployment, AWS Security Agent helps prevent vulnerabilities early across all your environments. Key capabilities include design security review for architecture documents, code security review for pull requests in connected repositories, and on-demand penetration testing that discovers, validates, and remediates security vulnerabilities through tailored multi-step attack scenarios. For more information, see the AWS Security Agent User Guide.

* @public */ export declare class SecurityAgent extends SecurityAgentClient implements SecurityAgent { }