Skip to content

SecurityAgentClient#

Index > SecurityAgent > SecurityAgentClient

Auto-generated documentation for SecurityAgent type annotations stubs module mypy-boto3-securityagent.

SecurityAgentClient#

Type annotations and code completion for boto3.client("securityagent"). boto3 documentation

# SecurityAgentClient usage example

from boto3.session import Session
from mypy_boto3_securityagent.client import SecurityAgentClient

def get_securityagent_client() -> SecurityAgentClient:
    return Session().client("securityagent")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("securityagent").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("securityagent")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_securityagent.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Type annotations and code completion for boto3.client("securityagent").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

generate_presigned_url#

Type annotations and code completion for boto3.client("securityagent").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

add_artifact#

Uploads an artifact to an agent space.

Type annotations and code completion for boto3.client("securityagent").add_artifact method. boto3 documentation

# add_artifact method definition

def add_artifact(
    self,
    *,
    agentSpaceId: str,
    artifactContent: BlobTypeDef,
    artifactType: ArtifactTypeType,  # (1)
    fileName: str,
) -> AddArtifactOutputTypeDef:  # (2)
    ...
  1. See ArtifactTypeType
  2. See AddArtifactOutputTypeDef
# add_artifact method usage example with argument unpacking

kwargs: AddArtifactInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "artifactContent": ...,
    "artifactType": ...,
    "fileName": ...,
}

parent.add_artifact(**kwargs)
  1. See AddArtifactInputTypeDef

batch_create_security_requirements#

Batch creates security requirements in a customer managed pack.

Type annotations and code completion for boto3.client("securityagent").batch_create_security_requirements method. boto3 documentation

# batch_create_security_requirements method definition

def batch_create_security_requirements(
    self,
    *,
    packId: str,
    securityRequirements: Sequence[CreateSecurityRequirementEntryTypeDef],  # (1)
) -> BatchCreateSecurityRequirementsOutputTypeDef:  # (2)
    ...
  1. See Sequence[CreateSecurityRequirementEntryTypeDef]
  2. See BatchCreateSecurityRequirementsOutputTypeDef
# batch_create_security_requirements method usage example with argument unpacking

kwargs: BatchCreateSecurityRequirementsInputTypeDef = {  # (1)
    "packId": ...,
    "securityRequirements": ...,
}

parent.batch_create_security_requirements(**kwargs)
  1. See BatchCreateSecurityRequirementsInputTypeDef

batch_delete_code_reviews#

Deletes one or more code reviews from an agent space.

Type annotations and code completion for boto3.client("securityagent").batch_delete_code_reviews method. boto3 documentation

# batch_delete_code_reviews method definition

def batch_delete_code_reviews(
    self,
    *,
    codeReviewIds: Sequence[str],
    agentSpaceId: str,
) -> BatchDeleteCodeReviewsOutputTypeDef:  # (1)
    ...
  1. See BatchDeleteCodeReviewsOutputTypeDef
# batch_delete_code_reviews method usage example with argument unpacking

kwargs: BatchDeleteCodeReviewsInputTypeDef = {  # (1)
    "codeReviewIds": ...,
    "agentSpaceId": ...,
}

parent.batch_delete_code_reviews(**kwargs)
  1. See BatchDeleteCodeReviewsInputTypeDef

batch_delete_pentests#

Deletes one or more pentests from an agent space.

Type annotations and code completion for boto3.client("securityagent").batch_delete_pentests method. boto3 documentation

# batch_delete_pentests method definition

def batch_delete_pentests(
    self,
    *,
    pentestIds: Sequence[str],
    agentSpaceId: str,
) -> BatchDeletePentestsOutputTypeDef:  # (1)
    ...
  1. See BatchDeletePentestsOutputTypeDef
# batch_delete_pentests method usage example with argument unpacking

kwargs: BatchDeletePentestsInputTypeDef = {  # (1)
    "pentestIds": ...,
    "agentSpaceId": ...,
}

parent.batch_delete_pentests(**kwargs)
  1. See BatchDeletePentestsInputTypeDef

batch_delete_security_requirements#

Batch deletes security requirements from a customer managed pack.

Type annotations and code completion for boto3.client("securityagent").batch_delete_security_requirements method. boto3 documentation

# batch_delete_security_requirements method definition

def batch_delete_security_requirements(
    self,
    *,
    packId: str,
    securityRequirementNames: Sequence[str],
) -> BatchDeleteSecurityRequirementsOutputTypeDef:  # (1)
    ...
  1. See BatchDeleteSecurityRequirementsOutputTypeDef
# batch_delete_security_requirements method usage example with argument unpacking

kwargs: BatchDeleteSecurityRequirementsInputTypeDef = {  # (1)
    "packId": ...,
    "securityRequirementNames": ...,
}

parent.batch_delete_security_requirements(**kwargs)
  1. See BatchDeleteSecurityRequirementsInputTypeDef

batch_delete_threat_models#

Deletes one or more threat models from an agent space.

Type annotations and code completion for boto3.client("securityagent").batch_delete_threat_models method. boto3 documentation

# batch_delete_threat_models method definition

def batch_delete_threat_models(
    self,
    *,
    threatModelIds: Sequence[str],
    agentSpaceId: str,
) -> BatchDeleteThreatModelsOutputTypeDef:  # (1)
    ...
  1. See BatchDeleteThreatModelsOutputTypeDef
# batch_delete_threat_models method usage example with argument unpacking

kwargs: BatchDeleteThreatModelsInputTypeDef = {  # (1)
    "threatModelIds": ...,
    "agentSpaceId": ...,
}

parent.batch_delete_threat_models(**kwargs)
  1. See BatchDeleteThreatModelsInputTypeDef

batch_get_agent_spaces#

Retrieves information about one or more agent spaces.

Type annotations and code completion for boto3.client("securityagent").batch_get_agent_spaces method. boto3 documentation

# batch_get_agent_spaces method definition

def batch_get_agent_spaces(
    self,
    *,
    agentSpaceIds: Sequence[str],
) -> BatchGetAgentSpacesOutputTypeDef:  # (1)
    ...
  1. See BatchGetAgentSpacesOutputTypeDef
# batch_get_agent_spaces method usage example with argument unpacking

kwargs: BatchGetAgentSpacesInputTypeDef = {  # (1)
    "agentSpaceIds": ...,
}

parent.batch_get_agent_spaces(**kwargs)
  1. See BatchGetAgentSpacesInputTypeDef

batch_get_artifact_metadata#

Retrieves metadata for one or more artifacts in an agent space.

Type annotations and code completion for boto3.client("securityagent").batch_get_artifact_metadata method. boto3 documentation

# batch_get_artifact_metadata method definition

def batch_get_artifact_metadata(
    self,
    *,
    agentSpaceId: str,
    artifactIds: Sequence[str],
) -> BatchGetArtifactMetadataOutputTypeDef:  # (1)
    ...
  1. See BatchGetArtifactMetadataOutputTypeDef
# batch_get_artifact_metadata method usage example with argument unpacking

kwargs: BatchGetArtifactMetadataInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "artifactIds": ...,
}

parent.batch_get_artifact_metadata(**kwargs)
  1. See BatchGetArtifactMetadataInputTypeDef

batch_get_code_review_job_tasks#

Retrieves information about one or more tasks within a code review job.

Type annotations and code completion for boto3.client("securityagent").batch_get_code_review_job_tasks method. boto3 documentation

# batch_get_code_review_job_tasks method definition

def batch_get_code_review_job_tasks(
    self,
    *,
    agentSpaceId: str,
    codeReviewJobTaskIds: Sequence[str],
) -> BatchGetCodeReviewJobTasksOutputTypeDef:  # (1)
    ...
  1. See BatchGetCodeReviewJobTasksOutputTypeDef
# batch_get_code_review_job_tasks method usage example with argument unpacking

kwargs: BatchGetCodeReviewJobTasksInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "codeReviewJobTaskIds": ...,
}

parent.batch_get_code_review_job_tasks(**kwargs)
  1. See BatchGetCodeReviewJobTasksInputTypeDef

batch_get_code_review_jobs#

Retrieves information about one or more code review jobs in an agent space.

Type annotations and code completion for boto3.client("securityagent").batch_get_code_review_jobs method. boto3 documentation

# batch_get_code_review_jobs method definition

def batch_get_code_review_jobs(
    self,
    *,
    codeReviewJobIds: Sequence[str],
    agentSpaceId: str,
) -> BatchGetCodeReviewJobsOutputTypeDef:  # (1)
    ...
  1. See BatchGetCodeReviewJobsOutputTypeDef
# batch_get_code_review_jobs method usage example with argument unpacking

kwargs: BatchGetCodeReviewJobsInputTypeDef = {  # (1)
    "codeReviewJobIds": ...,
    "agentSpaceId": ...,
}

parent.batch_get_code_review_jobs(**kwargs)
  1. See BatchGetCodeReviewJobsInputTypeDef

batch_get_code_reviews#

Retrieves information about one or more code reviews in an agent space.

Type annotations and code completion for boto3.client("securityagent").batch_get_code_reviews method. boto3 documentation

# batch_get_code_reviews method definition

def batch_get_code_reviews(
    self,
    *,
    codeReviewIds: Sequence[str],
    agentSpaceId: str,
) -> BatchGetCodeReviewsOutputTypeDef:  # (1)
    ...
  1. See BatchGetCodeReviewsOutputTypeDef
# batch_get_code_reviews method usage example with argument unpacking

kwargs: BatchGetCodeReviewsInputTypeDef = {  # (1)
    "codeReviewIds": ...,
    "agentSpaceId": ...,
}

parent.batch_get_code_reviews(**kwargs)
  1. See BatchGetCodeReviewsInputTypeDef

batch_get_findings#

Retrieves information about one or more security findings in an agent space.

Type annotations and code completion for boto3.client("securityagent").batch_get_findings method. boto3 documentation

# batch_get_findings method definition

def batch_get_findings(
    self,
    *,
    findingIds: Sequence[str],
    agentSpaceId: str,
) -> BatchGetFindingsOutputTypeDef:  # (1)
    ...
  1. See BatchGetFindingsOutputTypeDef
# batch_get_findings method usage example with argument unpacking

kwargs: BatchGetFindingsInputTypeDef = {  # (1)
    "findingIds": ...,
    "agentSpaceId": ...,
}

parent.batch_get_findings(**kwargs)
  1. See BatchGetFindingsInputTypeDef

batch_get_pentest_job_tasks#

Retrieves information about one or more tasks within a pentest job.

Type annotations and code completion for boto3.client("securityagent").batch_get_pentest_job_tasks method. boto3 documentation

# batch_get_pentest_job_tasks method definition

def batch_get_pentest_job_tasks(
    self,
    *,
    agentSpaceId: str,
    taskIds: Sequence[str],
) -> BatchGetPentestJobTasksOutputTypeDef:  # (1)
    ...
  1. See BatchGetPentestJobTasksOutputTypeDef
# batch_get_pentest_job_tasks method usage example with argument unpacking

kwargs: BatchGetPentestJobTasksInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "taskIds": ...,
}

parent.batch_get_pentest_job_tasks(**kwargs)
  1. See BatchGetPentestJobTasksInputTypeDef

batch_get_pentest_jobs#

Retrieves information about one or more pentest jobs in an agent space.

Type annotations and code completion for boto3.client("securityagent").batch_get_pentest_jobs method. boto3 documentation

# batch_get_pentest_jobs method definition

def batch_get_pentest_jobs(
    self,
    *,
    pentestJobIds: Sequence[str],
    agentSpaceId: str,
) -> BatchGetPentestJobsOutputTypeDef:  # (1)
    ...
  1. See BatchGetPentestJobsOutputTypeDef
# batch_get_pentest_jobs method usage example with argument unpacking

kwargs: BatchGetPentestJobsInputTypeDef = {  # (1)
    "pentestJobIds": ...,
    "agentSpaceId": ...,
}

parent.batch_get_pentest_jobs(**kwargs)
  1. See BatchGetPentestJobsInputTypeDef

batch_get_pentests#

Retrieves information about one or more pentests in an agent space.

Type annotations and code completion for boto3.client("securityagent").batch_get_pentests method. boto3 documentation

# batch_get_pentests method definition

def batch_get_pentests(
    self,
    *,
    pentestIds: Sequence[str],
    agentSpaceId: str,
) -> BatchGetPentestsOutputTypeDef:  # (1)
    ...
  1. See BatchGetPentestsOutputTypeDef
# batch_get_pentests method usage example with argument unpacking

kwargs: BatchGetPentestsInputTypeDef = {  # (1)
    "pentestIds": ...,
    "agentSpaceId": ...,
}

parent.batch_get_pentests(**kwargs)
  1. See BatchGetPentestsInputTypeDef

batch_get_security_requirements#

Batch retrieves security requirements from a pack.

Type annotations and code completion for boto3.client("securityagent").batch_get_security_requirements method. boto3 documentation

# batch_get_security_requirements method definition

def batch_get_security_requirements(
    self,
    *,
    packId: str,
    securityRequirementNames: Sequence[str],
) -> BatchGetSecurityRequirementsOutputTypeDef:  # (1)
    ...
  1. See BatchGetSecurityRequirementsOutputTypeDef
# batch_get_security_requirements method usage example with argument unpacking

kwargs: BatchGetSecurityRequirementsInputTypeDef = {  # (1)
    "packId": ...,
    "securityRequirementNames": ...,
}

parent.batch_get_security_requirements(**kwargs)
  1. See BatchGetSecurityRequirementsInputTypeDef

batch_get_target_domains#

Retrieves information about one or more target domains.

Type annotations and code completion for boto3.client("securityagent").batch_get_target_domains method. boto3 documentation

# batch_get_target_domains method definition

def batch_get_target_domains(
    self,
    *,
    targetDomainIds: Sequence[str],
) -> BatchGetTargetDomainsOutputTypeDef:  # (1)
    ...
  1. See BatchGetTargetDomainsOutputTypeDef
# batch_get_target_domains method usage example with argument unpacking

kwargs: BatchGetTargetDomainsInputTypeDef = {  # (1)
    "targetDomainIds": ...,
}

parent.batch_get_target_domains(**kwargs)
  1. See BatchGetTargetDomainsInputTypeDef

batch_get_threat_model_job_tasks#

Retrieves information about one or more tasks within a threat model job.

Type annotations and code completion for boto3.client("securityagent").batch_get_threat_model_job_tasks method. boto3 documentation

# batch_get_threat_model_job_tasks method definition

def batch_get_threat_model_job_tasks(
    self,
    *,
    agentSpaceId: str,
    threatModelJobTaskIds: Sequence[str],
) -> BatchGetThreatModelJobTasksOutputTypeDef:  # (1)
    ...
  1. See BatchGetThreatModelJobTasksOutputTypeDef
# batch_get_threat_model_job_tasks method usage example with argument unpacking

kwargs: BatchGetThreatModelJobTasksInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "threatModelJobTaskIds": ...,
}

parent.batch_get_threat_model_job_tasks(**kwargs)
  1. See BatchGetThreatModelJobTasksInputTypeDef

batch_get_threat_model_jobs#

Retrieves information about one or more threat model jobs in an agent space.

Type annotations and code completion for boto3.client("securityagent").batch_get_threat_model_jobs method. boto3 documentation

# batch_get_threat_model_jobs method definition

def batch_get_threat_model_jobs(
    self,
    *,
    threatModelJobIds: Sequence[str],
    agentSpaceId: str,
) -> BatchGetThreatModelJobsOutputTypeDef:  # (1)
    ...
  1. See BatchGetThreatModelJobsOutputTypeDef
# batch_get_threat_model_jobs method usage example with argument unpacking

kwargs: BatchGetThreatModelJobsInputTypeDef = {  # (1)
    "threatModelJobIds": ...,
    "agentSpaceId": ...,
}

parent.batch_get_threat_model_jobs(**kwargs)
  1. See BatchGetThreatModelJobsInputTypeDef

batch_get_threat_models#

Retrieves information about one or more threat models in an agent space.

Type annotations and code completion for boto3.client("securityagent").batch_get_threat_models method. boto3 documentation

# batch_get_threat_models method definition

def batch_get_threat_models(
    self,
    *,
    threatModelIds: Sequence[str],
    agentSpaceId: str,
) -> BatchGetThreatModelsOutputTypeDef:  # (1)
    ...
  1. See BatchGetThreatModelsOutputTypeDef
# batch_get_threat_models method usage example with argument unpacking

kwargs: BatchGetThreatModelsInputTypeDef = {  # (1)
    "threatModelIds": ...,
    "agentSpaceId": ...,
}

parent.batch_get_threat_models(**kwargs)
  1. See BatchGetThreatModelsInputTypeDef

batch_get_threats#

Retrieves information about one or more threats.

Type annotations and code completion for boto3.client("securityagent").batch_get_threats method. boto3 documentation

# batch_get_threats method definition

def batch_get_threats(
    self,
    *,
    threatIds: Sequence[str],
    agentSpaceId: str,
) -> BatchGetThreatsOutputTypeDef:  # (1)
    ...
  1. See BatchGetThreatsOutputTypeDef
# batch_get_threats method usage example with argument unpacking

kwargs: BatchGetThreatsInputTypeDef = {  # (1)
    "threatIds": ...,
    "agentSpaceId": ...,
}

parent.batch_get_threats(**kwargs)
  1. See BatchGetThreatsInputTypeDef

batch_update_security_requirements#

Batch updates security requirements within a customer managed pack.

Type annotations and code completion for boto3.client("securityagent").batch_update_security_requirements method. boto3 documentation

# batch_update_security_requirements method definition

def batch_update_security_requirements(
    self,
    *,
    packId: str,
    securityRequirements: Sequence[UpdateSecurityRequirementEntryTypeDef],  # (1)
) -> BatchUpdateSecurityRequirementsOutputTypeDef:  # (2)
    ...
  1. See Sequence[UpdateSecurityRequirementEntryTypeDef]
  2. See BatchUpdateSecurityRequirementsOutputTypeDef
# batch_update_security_requirements method usage example with argument unpacking

kwargs: BatchUpdateSecurityRequirementsInputTypeDef = {  # (1)
    "packId": ...,
    "securityRequirements": ...,
}

parent.batch_update_security_requirements(**kwargs)
  1. See BatchUpdateSecurityRequirementsInputTypeDef

create_agent_space#

Creates a new agent space.

Type annotations and code completion for boto3.client("securityagent").create_agent_space method. boto3 documentation

# create_agent_space method definition

def create_agent_space(
    self,
    *,
    name: str,
    description: str = ...,
    awsResources: AWSResourcesUnionTypeDef = ...,  # (1)
    targetDomainIds: Sequence[str] = ...,
    codeReviewSettings: CodeReviewSettingsTypeDef = ...,  # (2)
    kmsKeyId: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateAgentSpaceOutputTypeDef:  # (3)
    ...
  1. See AWSResourcesUnionTypeDef
  2. See CodeReviewSettingsTypeDef
  3. See CreateAgentSpaceOutputTypeDef
# create_agent_space method usage example with argument unpacking

kwargs: CreateAgentSpaceInputTypeDef = {  # (1)
    "name": ...,
}

parent.create_agent_space(**kwargs)
  1. See CreateAgentSpaceInputTypeDef

create_application#

Creates a new application.

Type annotations and code completion for boto3.client("securityagent").create_application method. boto3 documentation

# create_application method definition

def create_application(
    self,
    *,
    idcInstanceArn: str = ...,
    roleArn: str = ...,
    defaultKmsKeyId: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateApplicationResponseTypeDef:  # (1)
    ...
  1. See CreateApplicationResponseTypeDef
# create_application method usage example with argument unpacking

kwargs: CreateApplicationRequestTypeDef = {  # (1)
    "idcInstanceArn": ...,
}

parent.create_application(**kwargs)
  1. See CreateApplicationRequestTypeDef

create_code_review#

Creates a new code review configuration in an agent space.

Type annotations and code completion for boto3.client("securityagent").create_code_review method. boto3 documentation

# create_code_review method definition

def create_code_review(
    self,
    *,
    title: str,
    agentSpaceId: str,
    assets: AssetsUnionTypeDef,  # (1)
    serviceRole: str = ...,
    logConfig: CloudWatchLogTypeDef = ...,  # (2)
    codeRemediationStrategy: CodeRemediationStrategyType = ...,  # (3)
    validationMode: ValidationModeType = ...,  # (4)
) -> CreateCodeReviewOutputTypeDef:  # (5)
    ...
  1. See AssetsUnionTypeDef
  2. See CloudWatchLogTypeDef
  3. See CodeRemediationStrategyType
  4. See ValidationModeType
  5. See CreateCodeReviewOutputTypeDef
# create_code_review method usage example with argument unpacking

kwargs: CreateCodeReviewInputTypeDef = {  # (1)
    "title": ...,
    "agentSpaceId": ...,
    "assets": ...,
}

parent.create_code_review(**kwargs)
  1. See CreateCodeReviewInputTypeDef

create_integration#

Creates a new integration with a third-party provider, such as GitHub, for code review and remediation.

Type annotations and code completion for boto3.client("securityagent").create_integration method. boto3 documentation

# create_integration method definition

def create_integration(
    self,
    *,
    provider: ProviderType,  # (1)
    input: ProviderInputTypeDef,  # (2)
    integrationDisplayName: str,
    kmsKeyId: str = ...,
    tags: Mapping[str, str] = ...,
    privateConnectionName: str = ...,
) -> CreateIntegrationOutputTypeDef:  # (3)
    ...
  1. See ProviderType
  2. See ProviderInputTypeDef
  3. See CreateIntegrationOutputTypeDef
# create_integration method usage example with argument unpacking

kwargs: CreateIntegrationInputTypeDef = {  # (1)
    "provider": ...,
    "input": ...,
    "integrationDisplayName": ...,
}

parent.create_integration(**kwargs)
  1. See CreateIntegrationInputTypeDef

create_membership#

Creates a new membership, granting a user access to an agent space within an application.

Type annotations and code completion for boto3.client("securityagent").create_membership method. boto3 documentation

# create_membership method definition

def create_membership(
    self,
    *,
    applicationId: str,
    agentSpaceId: str,
    membershipId: str,
    memberType: MembershipTypeType,  # (1)
    config: MembershipConfigTypeDef = ...,  # (2)
) -> dict[str, Any]:
    ...
  1. See MembershipTypeType
  2. See MembershipConfigTypeDef
# create_membership method usage example with argument unpacking

kwargs: CreateMembershipRequestTypeDef = {  # (1)
    "applicationId": ...,
    "agentSpaceId": ...,
    "membershipId": ...,
    "memberType": ...,
}

parent.create_membership(**kwargs)
  1. See CreateMembershipRequestTypeDef

create_pentest#

Creates a new pentest configuration in an agent space.

Type annotations and code completion for boto3.client("securityagent").create_pentest method. boto3 documentation

# create_pentest method definition

def create_pentest(
    self,
    *,
    title: str,
    agentSpaceId: str,
    assets: AssetsUnionTypeDef = ...,  # (1)
    excludeRiskTypes: Sequence[RiskTypeType] = ...,  # (2)
    serviceRole: str = ...,
    logConfig: CloudWatchLogTypeDef = ...,  # (3)
    vpcConfig: VpcConfigUnionTypeDef = ...,  # (4)
    networkTrafficConfig: NetworkTrafficConfigUnionTypeDef = ...,  # (5)
    codeRemediationStrategy: CodeRemediationStrategyType = ...,  # (6)
    disableManagedSkills: Sequence[SkillTypeType] = ...,  # (7)
) -> CreatePentestOutputTypeDef:  # (8)
    ...
  1. See AssetsUnionTypeDef
  2. See Sequence[RiskTypeType]
  3. See CloudWatchLogTypeDef
  4. See VpcConfigUnionTypeDef
  5. See NetworkTrafficConfigUnionTypeDef
  6. See CodeRemediationStrategyType
  7. See Sequence[SkillTypeType]
  8. See CreatePentestOutputTypeDef
# create_pentest method usage example with argument unpacking

kwargs: CreatePentestInputTypeDef = {  # (1)
    "title": ...,
    "agentSpaceId": ...,
}

parent.create_pentest(**kwargs)
  1. See CreatePentestInputTypeDef

create_private_connection#

Creates a private connection for reaching a self-hosted provider instance over private networking using Amazon VPC Lattice.

Type annotations and code completion for boto3.client("securityagent").create_private_connection method. boto3 documentation

# create_private_connection method definition

def create_private_connection(
    self,
    *,
    privateConnectionName: str,
    mode: PrivateConnectionModeTypeDef,  # (1)
    tags: Mapping[str, str] = ...,
) -> CreatePrivateConnectionOutputTypeDef:  # (2)
    ...
  1. See PrivateConnectionModeTypeDef
  2. See CreatePrivateConnectionOutputTypeDef
# create_private_connection method usage example with argument unpacking

kwargs: CreatePrivateConnectionInputTypeDef = {  # (1)
    "privateConnectionName": ...,
    "mode": ...,
}

parent.create_private_connection(**kwargs)
  1. See CreatePrivateConnectionInputTypeDef

create_security_requirement_pack#

Creates a customer managed security requirement pack.

Type annotations and code completion for boto3.client("securityagent").create_security_requirement_pack method. boto3 documentation

# create_security_requirement_pack method definition

def create_security_requirement_pack(
    self,
    *,
    name: str,
    description: str = ...,
    status: SecurityRequirementPackStatusType = ...,  # (1)
    kmsKeyId: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateSecurityRequirementPackOutputTypeDef:  # (2)
    ...
  1. See SecurityRequirementPackStatusType
  2. See CreateSecurityRequirementPackOutputTypeDef
# create_security_requirement_pack method usage example with argument unpacking

kwargs: CreateSecurityRequirementPackInputTypeDef = {  # (1)
    "name": ...,
}

parent.create_security_requirement_pack(**kwargs)
  1. See CreateSecurityRequirementPackInputTypeDef

create_target_domain#

Creates a new target domain for penetration testing.

Type annotations and code completion for boto3.client("securityagent").create_target_domain method. boto3 documentation

# create_target_domain method definition

def create_target_domain(
    self,
    *,
    targetDomainName: str,
    verificationMethod: DomainVerificationMethodType,  # (1)
    tags: Mapping[str, str] = ...,
) -> CreateTargetDomainOutputTypeDef:  # (2)
    ...
  1. See DomainVerificationMethodType
  2. See CreateTargetDomainOutputTypeDef
# create_target_domain method usage example with argument unpacking

kwargs: CreateTargetDomainInputTypeDef = {  # (1)
    "targetDomainName": ...,
    "verificationMethod": ...,
}

parent.create_target_domain(**kwargs)
  1. See CreateTargetDomainInputTypeDef

create_threat#

Creates a new threat under a threat model job.

Type annotations and code completion for boto3.client("securityagent").create_threat method. boto3 documentation

# create_threat method definition

def create_threat(
    self,
    *,
    agentSpaceId: str,
    threatJobId: str,
    title: str = ...,
    statement: str = ...,
    severity: ThreatSeverityType = ...,  # (1)
    comments: str = ...,
    stride: Sequence[StrideCategoryType] = ...,  # (2)
    threatSource: str = ...,
    prerequisites: str = ...,
    threatAction: str = ...,
    threatImpact: str = ...,
    impactedGoal: Sequence[str] = ...,
    impactedAssets: Sequence[str] = ...,
    anchor: ThreatAnchorShapeTypeDef = ...,  # (3)
    evidence: Sequence[ThreatEvidenceShapeTypeDef] = ...,  # (4)
    recommendation: str = ...,
) -> CreateThreatOutputTypeDef:  # (5)
    ...
  1. See ThreatSeverityType
  2. See Sequence[StrideCategoryType]
  3. See ThreatAnchorShapeTypeDef
  4. See Sequence[ThreatEvidenceShapeTypeDef]
  5. See CreateThreatOutputTypeDef
# create_threat method usage example with argument unpacking

kwargs: CreateThreatInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "threatJobId": ...,
}

parent.create_threat(**kwargs)
  1. See CreateThreatInputTypeDef

create_threat_model#

Creates a new threat model configuration in an agent space.

Type annotations and code completion for boto3.client("securityagent").create_threat_model method. boto3 documentation

# create_threat_model method definition

def create_threat_model(
    self,
    *,
    title: str,
    agentSpaceId: str,
    serviceRole: str,
    description: str = ...,
    assets: AssetsUnionTypeDef = ...,  # (1)
    scopeDocs: Sequence[DocumentInfoTypeDef] = ...,  # (2)
    logConfig: CloudWatchLogTypeDef = ...,  # (3)
    reportDestination: ReportDestinationTypeDef = ...,  # (4)
) -> CreateThreatModelOutputTypeDef:  # (5)
    ...
  1. See AssetsUnionTypeDef
  2. See Sequence[DocumentInfoTypeDef]
  3. See CloudWatchLogTypeDef
  4. See ReportDestinationTypeDef
  5. See CreateThreatModelOutputTypeDef
# create_threat_model method usage example with argument unpacking

kwargs: CreateThreatModelInputTypeDef = {  # (1)
    "title": ...,
    "agentSpaceId": ...,
    "serviceRole": ...,
}

parent.create_threat_model(**kwargs)
  1. See CreateThreatModelInputTypeDef

delete_agent_space#

Deletes an agent space and all of its associated resources, including pentests, findings, and artifacts.

Type annotations and code completion for boto3.client("securityagent").delete_agent_space method. boto3 documentation

# delete_agent_space method definition

def delete_agent_space(
    self,
    *,
    agentSpaceId: str,
) -> DeleteAgentSpaceOutputTypeDef:  # (1)
    ...
  1. See DeleteAgentSpaceOutputTypeDef
# delete_agent_space method usage example with argument unpacking

kwargs: DeleteAgentSpaceInputTypeDef = {  # (1)
    "agentSpaceId": ...,
}

parent.delete_agent_space(**kwargs)
  1. See DeleteAgentSpaceInputTypeDef

delete_application#

Deletes an application and its associated configuration, including IAM Identity Center settings.

Type annotations and code completion for boto3.client("securityagent").delete_application method. boto3 documentation

# delete_application method definition

def delete_application(
    self,
    *,
    applicationId: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_application method usage example with argument unpacking

kwargs: DeleteApplicationRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.delete_application(**kwargs)
  1. See DeleteApplicationRequestTypeDef

delete_artifact#

Deletes an artifact from an agent space.

Type annotations and code completion for boto3.client("securityagent").delete_artifact method. boto3 documentation

# delete_artifact method definition

def delete_artifact(
    self,
    *,
    agentSpaceId: str,
    artifactId: str,
) -> dict[str, Any]:
    ...
# delete_artifact method usage example with argument unpacking

kwargs: DeleteArtifactInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "artifactId": ...,
}

parent.delete_artifact(**kwargs)
  1. See DeleteArtifactInputTypeDef

delete_integration#

Deletes an integration with a third-party provider.

Type annotations and code completion for boto3.client("securityagent").delete_integration method. boto3 documentation

# delete_integration method definition

def delete_integration(
    self,
    *,
    integrationId: str,
) -> dict[str, Any]:
    ...
# delete_integration method usage example with argument unpacking

kwargs: DeleteIntegrationInputTypeDef = {  # (1)
    "integrationId": ...,
}

parent.delete_integration(**kwargs)
  1. See DeleteIntegrationInputTypeDef

delete_membership#

Deletes a membership, revoking a user's access to an agent space.

Type annotations and code completion for boto3.client("securityagent").delete_membership method. boto3 documentation

# delete_membership method definition

def delete_membership(
    self,
    *,
    applicationId: str,
    agentSpaceId: str,
    membershipId: str,
    memberType: MembershipTypeType = ...,  # (1)
) -> dict[str, Any]:
    ...
  1. See MembershipTypeType
# delete_membership method usage example with argument unpacking

kwargs: DeleteMembershipRequestTypeDef = {  # (1)
    "applicationId": ...,
    "agentSpaceId": ...,
    "membershipId": ...,
}

parent.delete_membership(**kwargs)
  1. See DeleteMembershipRequestTypeDef

delete_private_connection#

Deletes a private connection.

Type annotations and code completion for boto3.client("securityagent").delete_private_connection method. boto3 documentation

# delete_private_connection method definition

def delete_private_connection(
    self,
    *,
    privateConnectionName: str,
) -> DeletePrivateConnectionOutputTypeDef:  # (1)
    ...
  1. See DeletePrivateConnectionOutputTypeDef
# delete_private_connection method usage example with argument unpacking

kwargs: DeletePrivateConnectionInputTypeDef = {  # (1)
    "privateConnectionName": ...,
}

parent.delete_private_connection(**kwargs)
  1. See DeletePrivateConnectionInputTypeDef

delete_security_requirement_pack#

Deletes a customer managed security requirement pack and all its associated security requirements.

Type annotations and code completion for boto3.client("securityagent").delete_security_requirement_pack method. boto3 documentation

# delete_security_requirement_pack method definition

def delete_security_requirement_pack(
    self,
    *,
    packId: str,
) -> dict[str, Any]:
    ...
# delete_security_requirement_pack method usage example with argument unpacking

kwargs: DeleteSecurityRequirementPackInputTypeDef = {  # (1)
    "packId": ...,
}

parent.delete_security_requirement_pack(**kwargs)
  1. See DeleteSecurityRequirementPackInputTypeDef

delete_target_domain#

Deletes a target domain registration.

Type annotations and code completion for boto3.client("securityagent").delete_target_domain method. boto3 documentation

# delete_target_domain method definition

def delete_target_domain(
    self,
    *,
    targetDomainId: str,
) -> DeleteTargetDomainOutputTypeDef:  # (1)
    ...
  1. See DeleteTargetDomainOutputTypeDef
# delete_target_domain method usage example with argument unpacking

kwargs: DeleteTargetDomainInputTypeDef = {  # (1)
    "targetDomainId": ...,
}

parent.delete_target_domain(**kwargs)
  1. See DeleteTargetDomainInputTypeDef

describe_private_connection#

Retrieves the details of a private connection.

Type annotations and code completion for boto3.client("securityagent").describe_private_connection method. boto3 documentation

# describe_private_connection method definition

def describe_private_connection(
    self,
    *,
    privateConnectionName: str,
) -> DescribePrivateConnectionOutputTypeDef:  # (1)
    ...
  1. See DescribePrivateConnectionOutputTypeDef
# describe_private_connection method usage example with argument unpacking

kwargs: DescribePrivateConnectionInputTypeDef = {  # (1)
    "privateConnectionName": ...,
}

parent.describe_private_connection(**kwargs)
  1. See DescribePrivateConnectionInputTypeDef

get_application#

Retrieves information about an application.

Type annotations and code completion for boto3.client("securityagent").get_application method. boto3 documentation

# get_application method definition

def get_application(
    self,
    *,
    applicationId: str,
) -> GetApplicationResponseTypeDef:  # (1)
    ...
  1. See GetApplicationResponseTypeDef
# get_application method usage example with argument unpacking

kwargs: GetApplicationRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.get_application(**kwargs)
  1. See GetApplicationRequestTypeDef

get_artifact#

Retrieves an artifact from an agent space.

Type annotations and code completion for boto3.client("securityagent").get_artifact method. boto3 documentation

# get_artifact method definition

def get_artifact(
    self,
    *,
    agentSpaceId: str,
    artifactId: str,
) -> GetArtifactOutputTypeDef:  # (1)
    ...
  1. See GetArtifactOutputTypeDef
# get_artifact method usage example with argument unpacking

kwargs: GetArtifactInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "artifactId": ...,
}

parent.get_artifact(**kwargs)
  1. See GetArtifactInputTypeDef

get_integration#

Retrieves information about an integration.

Type annotations and code completion for boto3.client("securityagent").get_integration method. boto3 documentation

# get_integration method definition

def get_integration(
    self,
    *,
    integrationId: str,
) -> GetIntegrationOutputTypeDef:  # (1)
    ...
  1. See GetIntegrationOutputTypeDef
# get_integration method usage example with argument unpacking

kwargs: GetIntegrationInputTypeDef = {  # (1)
    "integrationId": ...,
}

parent.get_integration(**kwargs)
  1. See GetIntegrationInputTypeDef

get_security_requirement_pack#

Retrieves information about a security requirement pack.

Type annotations and code completion for boto3.client("securityagent").get_security_requirement_pack method. boto3 documentation

# get_security_requirement_pack method definition

def get_security_requirement_pack(
    self,
    *,
    packId: str,
) -> GetSecurityRequirementPackOutputTypeDef:  # (1)
    ...
  1. See GetSecurityRequirementPackOutputTypeDef
# get_security_requirement_pack method usage example with argument unpacking

kwargs: GetSecurityRequirementPackInputTypeDef = {  # (1)
    "packId": ...,
}

parent.get_security_requirement_pack(**kwargs)
  1. See GetSecurityRequirementPackInputTypeDef

import_security_requirements#

Imports security requirements from uploaded documents into a customer managed security requirement pack.

Type annotations and code completion for boto3.client("securityagent").import_security_requirements method. boto3 documentation

# import_security_requirements method definition

def import_security_requirements(
    self,
    *,
    packId: str,
    input: ImportSourceTypeDef,  # (1)
) -> ImportSecurityRequirementsOutputTypeDef:  # (2)
    ...
  1. See ImportSourceTypeDef
  2. See ImportSecurityRequirementsOutputTypeDef
# import_security_requirements method usage example with argument unpacking

kwargs: ImportSecurityRequirementsInputTypeDef = {  # (1)
    "packId": ...,
    "input": ...,
}

parent.import_security_requirements(**kwargs)
  1. See ImportSecurityRequirementsInputTypeDef

initiate_provider_registration#

Initiates the OAuth registration flow with a third-party provider.

Type annotations and code completion for boto3.client("securityagent").initiate_provider_registration method. boto3 documentation

# initiate_provider_registration method definition

def initiate_provider_registration(
    self,
    *,
    provider: ProviderType,  # (1)
) -> InitiateProviderRegistrationOutputTypeDef:  # (2)
    ...
  1. See ProviderType
  2. See InitiateProviderRegistrationOutputTypeDef
# initiate_provider_registration method usage example with argument unpacking

kwargs: InitiateProviderRegistrationInputTypeDef = {  # (1)
    "provider": ...,
}

parent.initiate_provider_registration(**kwargs)
  1. See InitiateProviderRegistrationInputTypeDef

list_agent_spaces#

Returns a paginated list of agent space summaries in your account.

Type annotations and code completion for boto3.client("securityagent").list_agent_spaces method. boto3 documentation

# list_agent_spaces method definition

def list_agent_spaces(
    self,
    *,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListAgentSpacesOutputTypeDef:  # (1)
    ...
  1. See ListAgentSpacesOutputTypeDef
# list_agent_spaces method usage example with argument unpacking

kwargs: ListAgentSpacesInputTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_agent_spaces(**kwargs)
  1. See ListAgentSpacesInputTypeDef

list_applications#

Returns a paginated list of application summaries in your account.

Type annotations and code completion for boto3.client("securityagent").list_applications method. boto3 documentation

# list_applications method definition

def list_applications(
    self,
    *,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListApplicationsResponseTypeDef:  # (1)
    ...
  1. See ListApplicationsResponseTypeDef
# list_applications method usage example with argument unpacking

kwargs: ListApplicationsRequestTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_applications(**kwargs)
  1. See ListApplicationsRequestTypeDef

list_artifacts#

Returns a paginated list of artifact summaries for the specified agent space.

Type annotations and code completion for boto3.client("securityagent").list_artifacts method. boto3 documentation

# list_artifacts method definition

def list_artifacts(
    self,
    *,
    agentSpaceId: str,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListArtifactsOutputTypeDef:  # (1)
    ...
  1. See ListArtifactsOutputTypeDef
# list_artifacts method usage example with argument unpacking

kwargs: ListArtifactsInputTypeDef = {  # (1)
    "agentSpaceId": ...,
}

parent.list_artifacts(**kwargs)
  1. See ListArtifactsInputTypeDef

list_code_review_job_tasks#

Returns a paginated list of task summaries for the specified code review job, optionally filtered by step name or category.

Type annotations and code completion for boto3.client("securityagent").list_code_review_job_tasks method. boto3 documentation

# list_code_review_job_tasks method definition

def list_code_review_job_tasks(
    self,
    *,
    agentSpaceId: str,
    maxResults: int = ...,
    codeReviewJobId: str = ...,
    stepName: StepNameType = ...,  # (1)
    categoryName: str = ...,
    nextToken: str = ...,
) -> ListCodeReviewJobTasksOutputTypeDef:  # (2)
    ...
  1. See StepNameType
  2. See ListCodeReviewJobTasksOutputTypeDef
# list_code_review_job_tasks method usage example with argument unpacking

kwargs: ListCodeReviewJobTasksInputTypeDef = {  # (1)
    "agentSpaceId": ...,
}

parent.list_code_review_job_tasks(**kwargs)
  1. See ListCodeReviewJobTasksInputTypeDef

list_code_review_jobs_for_code_review#

Returns a paginated list of code review job summaries for the specified code review configuration.

Type annotations and code completion for boto3.client("securityagent").list_code_review_jobs_for_code_review method. boto3 documentation

# list_code_review_jobs_for_code_review method definition

def list_code_review_jobs_for_code_review(
    self,
    *,
    codeReviewId: str,
    agentSpaceId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListCodeReviewJobsForCodeReviewOutputTypeDef:  # (1)
    ...
  1. See ListCodeReviewJobsForCodeReviewOutputTypeDef
# list_code_review_jobs_for_code_review method usage example with argument unpacking

kwargs: ListCodeReviewJobsForCodeReviewInputTypeDef = {  # (1)
    "codeReviewId": ...,
    "agentSpaceId": ...,
}

parent.list_code_review_jobs_for_code_review(**kwargs)
  1. See ListCodeReviewJobsForCodeReviewInputTypeDef

list_code_reviews#

Returns a paginated list of code review summaries for the specified agent space.

Type annotations and code completion for boto3.client("securityagent").list_code_reviews method. boto3 documentation

# list_code_reviews method definition

def list_code_reviews(
    self,
    *,
    agentSpaceId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListCodeReviewsOutputTypeDef:  # (1)
    ...
  1. See ListCodeReviewsOutputTypeDef
# list_code_reviews method usage example with argument unpacking

kwargs: ListCodeReviewsInputTypeDef = {  # (1)
    "agentSpaceId": ...,
}

parent.list_code_reviews(**kwargs)
  1. See ListCodeReviewsInputTypeDef

list_discovered_endpoints#

Returns a paginated list of endpoints discovered during a pentest job execution.

Type annotations and code completion for boto3.client("securityagent").list_discovered_endpoints method. boto3 documentation

# list_discovered_endpoints method definition

def list_discovered_endpoints(
    self,
    *,
    pentestJobId: str,
    agentSpaceId: str,
    maxResults: int = ...,
    prefix: str = ...,
    nextToken: str = ...,
) -> ListDiscoveredEndpointsOutputTypeDef:  # (1)
    ...
  1. See ListDiscoveredEndpointsOutputTypeDef
# list_discovered_endpoints method usage example with argument unpacking

kwargs: ListDiscoveredEndpointsInputTypeDef = {  # (1)
    "pentestJobId": ...,
    "agentSpaceId": ...,
}

parent.list_discovered_endpoints(**kwargs)
  1. See ListDiscoveredEndpointsInputTypeDef

list_findings#

Lists the security findings for a pentest job.

Type annotations and code completion for boto3.client("securityagent").list_findings method. boto3 documentation

# list_findings method definition

def list_findings(
    self,
    *,
    agentSpaceId: str,
    maxResults: int = ...,
    pentestJobId: str = ...,
    codeReviewJobId: str = ...,
    nextToken: str = ...,
    riskType: str = ...,
    riskLevel: RiskLevelType = ...,  # (1)
    status: FindingStatusType = ...,  # (2)
    confidence: ConfidenceLevelType = ...,  # (3)
    name: str = ...,
) -> ListFindingsOutputTypeDef:  # (4)
    ...
  1. See RiskLevelType
  2. See FindingStatusType
  3. See ConfidenceLevelType
  4. See ListFindingsOutputTypeDef
# list_findings method usage example with argument unpacking

kwargs: ListFindingsInputTypeDef = {  # (1)
    "agentSpaceId": ...,
}

parent.list_findings(**kwargs)
  1. See ListFindingsInputTypeDef

list_integrated_resources#

Lists the integrated resources for an agent space, optionally filtered by integration or resource type.

Type annotations and code completion for boto3.client("securityagent").list_integrated_resources method. boto3 documentation

# list_integrated_resources method definition

def list_integrated_resources(
    self,
    *,
    agentSpaceId: str,
    integrationId: str = ...,
    resourceType: ResourceTypeType = ...,  # (1)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListIntegratedResourcesOutputTypeDef:  # (2)
    ...
  1. See ResourceTypeType
  2. See ListIntegratedResourcesOutputTypeDef
# list_integrated_resources method usage example with argument unpacking

kwargs: ListIntegratedResourcesInputTypeDef = {  # (1)
    "agentSpaceId": ...,
}

parent.list_integrated_resources(**kwargs)
  1. See ListIntegratedResourcesInputTypeDef

list_integrations#

Lists the integrations in your account, optionally filtered by provider or provider type.

Type annotations and code completion for boto3.client("securityagent").list_integrations method. boto3 documentation

# list_integrations method definition

def list_integrations(
    self,
    *,
    filter: IntegrationFilterTypeDef = ...,  # (1)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListIntegrationsOutputTypeDef:  # (2)
    ...
  1. See IntegrationFilterTypeDef
  2. See ListIntegrationsOutputTypeDef
# list_integrations method usage example with argument unpacking

kwargs: ListIntegrationsInputTypeDef = {  # (1)
    "filter": ...,
}

parent.list_integrations(**kwargs)
  1. See ListIntegrationsInputTypeDef

list_memberships#

Returns a paginated list of membership summaries for the specified agent space within an application.

Type annotations and code completion for boto3.client("securityagent").list_memberships method. boto3 documentation

# list_memberships method definition

def list_memberships(
    self,
    *,
    applicationId: str,
    agentSpaceId: str,
    memberType: MembershipTypeFilterType = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListMembershipsResponseTypeDef:  # (2)
    ...
  1. See MembershipTypeFilterType
  2. See ListMembershipsResponseTypeDef
# list_memberships method usage example with argument unpacking

kwargs: ListMembershipsRequestTypeDef = {  # (1)
    "applicationId": ...,
    "agentSpaceId": ...,
}

parent.list_memberships(**kwargs)
  1. See ListMembershipsRequestTypeDef

list_pentest_job_tasks#

Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.

Type annotations and code completion for boto3.client("securityagent").list_pentest_job_tasks method. boto3 documentation

# list_pentest_job_tasks method definition

def list_pentest_job_tasks(
    self,
    *,
    agentSpaceId: str,
    maxResults: int = ...,
    pentestJobId: str = ...,
    stepName: StepNameType = ...,  # (1)
    categoryName: str = ...,
    nextToken: str = ...,
) -> ListPentestJobTasksOutputTypeDef:  # (2)
    ...
  1. See StepNameType
  2. See ListPentestJobTasksOutputTypeDef
# list_pentest_job_tasks method usage example with argument unpacking

kwargs: ListPentestJobTasksInputTypeDef = {  # (1)
    "agentSpaceId": ...,
}

parent.list_pentest_job_tasks(**kwargs)
  1. See ListPentestJobTasksInputTypeDef

list_pentest_jobs_for_pentest#

Returns a paginated list of pentest job summaries for the specified pentest configuration.

Type annotations and code completion for boto3.client("securityagent").list_pentest_jobs_for_pentest method. boto3 documentation

# list_pentest_jobs_for_pentest method definition

def list_pentest_jobs_for_pentest(
    self,
    *,
    pentestId: str,
    agentSpaceId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListPentestJobsForPentestOutputTypeDef:  # (1)
    ...
  1. See ListPentestJobsForPentestOutputTypeDef
# list_pentest_jobs_for_pentest method usage example with argument unpacking

kwargs: ListPentestJobsForPentestInputTypeDef = {  # (1)
    "pentestId": ...,
    "agentSpaceId": ...,
}

parent.list_pentest_jobs_for_pentest(**kwargs)
  1. See ListPentestJobsForPentestInputTypeDef

list_pentests#

Returns a paginated list of pentest summaries for the specified agent space.

Type annotations and code completion for boto3.client("securityagent").list_pentests method. boto3 documentation

# list_pentests method definition

def list_pentests(
    self,
    *,
    agentSpaceId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListPentestsOutputTypeDef:  # (1)
    ...
  1. See ListPentestsOutputTypeDef
# list_pentests method usage example with argument unpacking

kwargs: ListPentestsInputTypeDef = {  # (1)
    "agentSpaceId": ...,
}

parent.list_pentests(**kwargs)
  1. See ListPentestsInputTypeDef

list_private_connections#

Lists the private connections in your account.

Type annotations and code completion for boto3.client("securityagent").list_private_connections method. boto3 documentation

# list_private_connections method definition

def list_private_connections(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListPrivateConnectionsOutputTypeDef:  # (1)
    ...
  1. See ListPrivateConnectionsOutputTypeDef
# list_private_connections method usage example with argument unpacking

kwargs: ListPrivateConnectionsInputTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_private_connections(**kwargs)
  1. See ListPrivateConnectionsInputTypeDef

list_security_requirement_packs#

Lists all security requirement packs in the caller's account.

Type annotations and code completion for boto3.client("securityagent").list_security_requirement_packs method. boto3 documentation

# list_security_requirement_packs method definition

def list_security_requirement_packs(
    self,
    *,
    filter: ListSecurityRequirementPackFilterTypeDef = ...,  # (1)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListSecurityRequirementPacksOutputTypeDef:  # (2)
    ...
  1. See ListSecurityRequirementPackFilterTypeDef
  2. See ListSecurityRequirementPacksOutputTypeDef
# list_security_requirement_packs method usage example with argument unpacking

kwargs: ListSecurityRequirementPacksInputTypeDef = {  # (1)
    "filter": ...,
}

parent.list_security_requirement_packs(**kwargs)
  1. See ListSecurityRequirementPacksInputTypeDef

list_security_requirements#

Lists security requirements within a pack.

Type annotations and code completion for boto3.client("securityagent").list_security_requirements method. boto3 documentation

# list_security_requirements method definition

def list_security_requirements(
    self,
    *,
    packId: str,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListSecurityRequirementsOutputTypeDef:  # (1)
    ...
  1. See ListSecurityRequirementsOutputTypeDef
# list_security_requirements method usage example with argument unpacking

kwargs: ListSecurityRequirementsInputTypeDef = {  # (1)
    "packId": ...,
}

parent.list_security_requirements(**kwargs)
  1. See ListSecurityRequirementsInputTypeDef

list_tags_for_resource#

Returns the tags associated with the specified resource.

Type annotations and code completion for boto3.client("securityagent").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceOutputTypeDef:  # (1)
    ...
  1. See ListTagsForResourceOutputTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceInputTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceInputTypeDef

list_target_domains#

Returns a paginated list of target domain summaries in your account.

Type annotations and code completion for boto3.client("securityagent").list_target_domains method. boto3 documentation

# list_target_domains method definition

def list_target_domains(
    self,
    *,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListTargetDomainsOutputTypeDef:  # (1)
    ...
  1. See ListTargetDomainsOutputTypeDef
# list_target_domains method usage example with argument unpacking

kwargs: ListTargetDomainsInputTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_target_domains(**kwargs)
  1. See ListTargetDomainsInputTypeDef

list_threat_model_job_tasks#

Returns a paginated list of task summaries for the specified threat model job.

Type annotations and code completion for boto3.client("securityagent").list_threat_model_job_tasks method. boto3 documentation

# list_threat_model_job_tasks method definition

def list_threat_model_job_tasks(
    self,
    *,
    agentSpaceId: str,
    threatModelJobId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListThreatModelJobTasksOutputTypeDef:  # (1)
    ...
  1. See ListThreatModelJobTasksOutputTypeDef
# list_threat_model_job_tasks method usage example with argument unpacking

kwargs: ListThreatModelJobTasksInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "threatModelJobId": ...,
}

parent.list_threat_model_job_tasks(**kwargs)
  1. See ListThreatModelJobTasksInputTypeDef

list_threat_model_jobs#

Returns a paginated list of threat model job summaries for the specified threat model.

Type annotations and code completion for boto3.client("securityagent").list_threat_model_jobs method. boto3 documentation

# list_threat_model_jobs method definition

def list_threat_model_jobs(
    self,
    *,
    threatModelId: str,
    agentSpaceId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListThreatModelJobsOutputTypeDef:  # (1)
    ...
  1. See ListThreatModelJobsOutputTypeDef
# list_threat_model_jobs method usage example with argument unpacking

kwargs: ListThreatModelJobsInputTypeDef = {  # (1)
    "threatModelId": ...,
    "agentSpaceId": ...,
}

parent.list_threat_model_jobs(**kwargs)
  1. See ListThreatModelJobsInputTypeDef

list_threat_models#

Returns a paginated list of threat model summaries for the specified agent space.

Type annotations and code completion for boto3.client("securityagent").list_threat_models method. boto3 documentation

# list_threat_models method definition

def list_threat_models(
    self,
    *,
    agentSpaceId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListThreatModelsOutputTypeDef:  # (1)
    ...
  1. See ListThreatModelsOutputTypeDef
# list_threat_models method usage example with argument unpacking

kwargs: ListThreatModelsInputTypeDef = {  # (1)
    "agentSpaceId": ...,
}

parent.list_threat_models(**kwargs)
  1. See ListThreatModelsInputTypeDef

list_threats#

Returns a paginated list of threats for a threat model job.

Type annotations and code completion for boto3.client("securityagent").list_threats method. boto3 documentation

# list_threats method definition

def list_threats(
    self,
    *,
    threatJobId: str,
    agentSpaceId: str,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListThreatsOutputTypeDef:  # (1)
    ...
  1. See ListThreatsOutputTypeDef
# list_threats method usage example with argument unpacking

kwargs: ListThreatsInputTypeDef = {  # (1)
    "threatJobId": ...,
    "agentSpaceId": ...,
}

parent.list_threats(**kwargs)
  1. See ListThreatsInputTypeDef

start_code_remediation#

Initiates code remediation for one or more security findings.

Type annotations and code completion for boto3.client("securityagent").start_code_remediation method. boto3 documentation

# start_code_remediation method definition

def start_code_remediation(
    self,
    *,
    agentSpaceId: str,
    findingIds: Sequence[str],
    pentestJobId: str = ...,
    codeReviewJobId: str = ...,
) -> dict[str, Any]:
    ...
# start_code_remediation method usage example with argument unpacking

kwargs: StartCodeRemediationInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "findingIds": ...,
}

parent.start_code_remediation(**kwargs)
  1. See StartCodeRemediationInputTypeDef

start_code_review_job#

Starts a new code review job for a code review configuration.

Type annotations and code completion for boto3.client("securityagent").start_code_review_job method. boto3 documentation

# start_code_review_job method definition

def start_code_review_job(
    self,
    *,
    agentSpaceId: str,
    codeReviewId: str,
    diffSource: DiffSourceTypeDef = ...,  # (1)
) -> StartCodeReviewJobOutputTypeDef:  # (2)
    ...
  1. See DiffSourceTypeDef
  2. See StartCodeReviewJobOutputTypeDef
# start_code_review_job method usage example with argument unpacking

kwargs: StartCodeReviewJobInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "codeReviewId": ...,
}

parent.start_code_review_job(**kwargs)
  1. See StartCodeReviewJobInputTypeDef

start_pentest_job#

Starts a new pentest job for a pentest configuration.

Type annotations and code completion for boto3.client("securityagent").start_pentest_job method. boto3 documentation

# start_pentest_job method definition

def start_pentest_job(
    self,
    *,
    agentSpaceId: str,
    pentestId: str,
) -> StartPentestJobOutputTypeDef:  # (1)
    ...
  1. See StartPentestJobOutputTypeDef
# start_pentest_job method usage example with argument unpacking

kwargs: StartPentestJobInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "pentestId": ...,
}

parent.start_pentest_job(**kwargs)
  1. See StartPentestJobInputTypeDef

start_threat_model_job#

Starts a new threat model job for a threat model configuration.

Type annotations and code completion for boto3.client("securityagent").start_threat_model_job method. boto3 documentation

# start_threat_model_job method definition

def start_threat_model_job(
    self,
    *,
    agentSpaceId: str,
    threatModelId: str,
) -> StartThreatModelJobOutputTypeDef:  # (1)
    ...
  1. See StartThreatModelJobOutputTypeDef
# start_threat_model_job method usage example with argument unpacking

kwargs: StartThreatModelJobInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "threatModelId": ...,
}

parent.start_threat_model_job(**kwargs)
  1. See StartThreatModelJobInputTypeDef

stop_code_review_job#

Stops a running code review job.

Type annotations and code completion for boto3.client("securityagent").stop_code_review_job method. boto3 documentation

# stop_code_review_job method definition

def stop_code_review_job(
    self,
    *,
    agentSpaceId: str,
    codeReviewJobId: str,
) -> dict[str, Any]:
    ...
# stop_code_review_job method usage example with argument unpacking

kwargs: StopCodeReviewJobInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "codeReviewJobId": ...,
}

parent.stop_code_review_job(**kwargs)
  1. See StopCodeReviewJobInputTypeDef

stop_pentest_job#

Stops a running pentest job.

Type annotations and code completion for boto3.client("securityagent").stop_pentest_job method. boto3 documentation

# stop_pentest_job method definition

def stop_pentest_job(
    self,
    *,
    agentSpaceId: str,
    pentestJobId: str,
) -> dict[str, Any]:
    ...
# stop_pentest_job method usage example with argument unpacking

kwargs: StopPentestJobInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "pentestJobId": ...,
}

parent.stop_pentest_job(**kwargs)
  1. See StopPentestJobInputTypeDef

stop_threat_model_job#

Stops a running threat model job.

Type annotations and code completion for boto3.client("securityagent").stop_threat_model_job method. boto3 documentation

# stop_threat_model_job method definition

def stop_threat_model_job(
    self,
    *,
    agentSpaceId: str,
    threatModelJobId: str,
) -> dict[str, Any]:
    ...
# stop_threat_model_job method usage example with argument unpacking

kwargs: StopThreatModelJobInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "threatModelJobId": ...,
}

parent.stop_threat_model_job(**kwargs)
  1. See StopThreatModelJobInputTypeDef

tag_resource#

Adds tags to a resource.

Type annotations and code completion for boto3.client("securityagent").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str],
) -> dict[str, Any]:
    ...
# tag_resource method usage example with argument unpacking

kwargs: TagResourceInputTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceInputTypeDef

untag_resource#

Removes tags from a resource.

Type annotations and code completion for boto3.client("securityagent").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceInputTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceInputTypeDef

update_agent_space#

Updates the configuration of an existing agent space, including its name, description, AWS resources, target domains, and code review settings.

Type annotations and code completion for boto3.client("securityagent").update_agent_space method. boto3 documentation

# update_agent_space method definition

def update_agent_space(
    self,
    *,
    agentSpaceId: str,
    name: str = ...,
    description: str = ...,
    awsResources: AWSResourcesUnionTypeDef = ...,  # (1)
    targetDomainIds: Sequence[str] = ...,
    codeReviewSettings: CodeReviewSettingsTypeDef = ...,  # (2)
) -> UpdateAgentSpaceOutputTypeDef:  # (3)
    ...
  1. See AWSResourcesUnionTypeDef
  2. See CodeReviewSettingsTypeDef
  3. See UpdateAgentSpaceOutputTypeDef
# update_agent_space method usage example with argument unpacking

kwargs: UpdateAgentSpaceInputTypeDef = {  # (1)
    "agentSpaceId": ...,
}

parent.update_agent_space(**kwargs)
  1. See UpdateAgentSpaceInputTypeDef

update_application#

Updates the configuration of an existing application, including the IAM role and default KMS key.

Type annotations and code completion for boto3.client("securityagent").update_application method. boto3 documentation

# update_application method definition

def update_application(
    self,
    *,
    applicationId: str,
    roleArn: str = ...,
    defaultKmsKeyId: str = ...,
) -> UpdateApplicationResponseTypeDef:  # (1)
    ...
  1. See UpdateApplicationResponseTypeDef
# update_application method usage example with argument unpacking

kwargs: UpdateApplicationRequestTypeDef = {  # (1)
    "applicationId": ...,
}

parent.update_application(**kwargs)
  1. See UpdateApplicationRequestTypeDef

update_code_review#

Updates an existing code review configuration.

Type annotations and code completion for boto3.client("securityagent").update_code_review method. boto3 documentation

# update_code_review method definition

def update_code_review(
    self,
    *,
    codeReviewId: str,
    agentSpaceId: str,
    title: str = ...,
    assets: AssetsUnionTypeDef = ...,  # (1)
    serviceRole: str = ...,
    logConfig: CloudWatchLogTypeDef = ...,  # (2)
    codeRemediationStrategy: CodeRemediationStrategyType = ...,  # (3)
    validationMode: ValidationModeType = ...,  # (4)
) -> UpdateCodeReviewOutputTypeDef:  # (5)
    ...
  1. See AssetsUnionTypeDef
  2. See CloudWatchLogTypeDef
  3. See CodeRemediationStrategyType
  4. See ValidationModeType
  5. See UpdateCodeReviewOutputTypeDef
# update_code_review method usage example with argument unpacking

kwargs: UpdateCodeReviewInputTypeDef = {  # (1)
    "codeReviewId": ...,
    "agentSpaceId": ...,
}

parent.update_code_review(**kwargs)
  1. See UpdateCodeReviewInputTypeDef

update_finding#

Updates the status or risk level of a security finding.

Type annotations and code completion for boto3.client("securityagent").update_finding method. boto3 documentation

# update_finding method definition

def update_finding(
    self,
    *,
    findingId: str,
    agentSpaceId: str,
    name: str = ...,
    description: str = ...,
    riskType: str = ...,
    riskLevel: RiskLevelType = ...,  # (1)
    riskScore: str = ...,
    attackScript: str = ...,
    reasoning: str = ...,
    status: FindingStatusType = ...,  # (2)
    customerNote: str = ...,
) -> dict[str, Any]:
    ...
  1. See RiskLevelType
  2. See FindingStatusType
# update_finding method usage example with argument unpacking

kwargs: UpdateFindingInputTypeDef = {  # (1)
    "findingId": ...,
    "agentSpaceId": ...,
}

parent.update_finding(**kwargs)
  1. See UpdateFindingInputTypeDef

update_integrated_resources#

Updates the integrated resources for an agent space, including their capabilities.

Type annotations and code completion for boto3.client("securityagent").update_integrated_resources method. boto3 documentation

# update_integrated_resources method definition

def update_integrated_resources(
    self,
    *,
    agentSpaceId: str,
    integrationId: str,
    items: Sequence[IntegratedResourceInputItemTypeDef],  # (1)
) -> dict[str, Any]:
    ...
  1. See Sequence[IntegratedResourceInputItemTypeDef]
# update_integrated_resources method usage example with argument unpacking

kwargs: UpdateIntegratedResourcesInputTypeDef = {  # (1)
    "agentSpaceId": ...,
    "integrationId": ...,
    "items": ...,
}

parent.update_integrated_resources(**kwargs)
  1. See UpdateIntegratedResourcesInputTypeDef

update_pentest#

Updates an existing pentest configuration.

Type annotations and code completion for boto3.client("securityagent").update_pentest method. boto3 documentation

# update_pentest method definition

def update_pentest(
    self,
    *,
    pentestId: str,
    agentSpaceId: str,
    title: str = ...,
    assets: AssetsUnionTypeDef = ...,  # (1)
    excludeRiskTypes: Sequence[RiskTypeType] = ...,  # (2)
    serviceRole: str = ...,
    logConfig: CloudWatchLogTypeDef = ...,  # (3)
    vpcConfig: VpcConfigUnionTypeDef = ...,  # (4)
    networkTrafficConfig: NetworkTrafficConfigUnionTypeDef = ...,  # (5)
    codeRemediationStrategy: CodeRemediationStrategyType = ...,  # (6)
    disableManagedSkills: Sequence[SkillTypeType] = ...,  # (7)
) -> UpdatePentestOutputTypeDef:  # (8)
    ...
  1. See AssetsUnionTypeDef
  2. See Sequence[RiskTypeType]
  3. See CloudWatchLogTypeDef
  4. See VpcConfigUnionTypeDef
  5. See NetworkTrafficConfigUnionTypeDef
  6. See CodeRemediationStrategyType
  7. See Sequence[SkillTypeType]
  8. See UpdatePentestOutputTypeDef
# update_pentest method usage example with argument unpacking

kwargs: UpdatePentestInputTypeDef = {  # (1)
    "pentestId": ...,
    "agentSpaceId": ...,
}

parent.update_pentest(**kwargs)
  1. See UpdatePentestInputTypeDef

update_private_connection_certificate#

Updates the certificate associated with a private connection.

Type annotations and code completion for boto3.client("securityagent").update_private_connection_certificate method. boto3 documentation

# update_private_connection_certificate method definition

def update_private_connection_certificate(
    self,
    *,
    privateConnectionName: str,
    certificate: str,
) -> UpdatePrivateConnectionCertificateOutputTypeDef:  # (1)
    ...
  1. See UpdatePrivateConnectionCertificateOutputTypeDef
# update_private_connection_certificate method usage example with argument unpacking

kwargs: UpdatePrivateConnectionCertificateInputTypeDef = {  # (1)
    "privateConnectionName": ...,
    "certificate": ...,
}

parent.update_private_connection_certificate(**kwargs)
  1. See UpdatePrivateConnectionCertificateInputTypeDef

update_security_requirement_pack#

Updates a security requirement pack.

Type annotations and code completion for boto3.client("securityagent").update_security_requirement_pack method. boto3 documentation

# update_security_requirement_pack method definition

def update_security_requirement_pack(
    self,
    *,
    packId: str,
    name: str = ...,
    description: str = ...,
    status: SecurityRequirementPackStatusType = ...,  # (1)
) -> UpdateSecurityRequirementPackOutputTypeDef:  # (2)
    ...
  1. See SecurityRequirementPackStatusType
  2. See UpdateSecurityRequirementPackOutputTypeDef
# update_security_requirement_pack method usage example with argument unpacking

kwargs: UpdateSecurityRequirementPackInputTypeDef = {  # (1)
    "packId": ...,
}

parent.update_security_requirement_pack(**kwargs)
  1. See UpdateSecurityRequirementPackInputTypeDef

update_target_domain#

Updates the verification method for a target domain.

Type annotations and code completion for boto3.client("securityagent").update_target_domain method. boto3 documentation

# update_target_domain method definition

def update_target_domain(
    self,
    *,
    targetDomainId: str,
    verificationMethod: DomainVerificationMethodType,  # (1)
) -> UpdateTargetDomainOutputTypeDef:  # (2)
    ...
  1. See DomainVerificationMethodType
  2. See UpdateTargetDomainOutputTypeDef
# update_target_domain method usage example with argument unpacking

kwargs: UpdateTargetDomainInputTypeDef = {  # (1)
    "targetDomainId": ...,
    "verificationMethod": ...,
}

parent.update_target_domain(**kwargs)
  1. See UpdateTargetDomainInputTypeDef

update_threat#

Updates a threat.

Type annotations and code completion for boto3.client("securityagent").update_threat method. boto3 documentation

# update_threat method definition

def update_threat(
    self,
    *,
    threatId: str,
    agentSpaceId: str,
    title: str = ...,
    status: ThreatStatusType = ...,  # (1)
    comments: str = ...,
    statement: str = ...,
    severity: ThreatSeverityType = ...,  # (2)
    threatSource: str = ...,
    prerequisites: str = ...,
    threatAction: str = ...,
    threatImpact: str = ...,
    impactedGoal: Sequence[str] = ...,
    impactedAssets: Sequence[str] = ...,
    anchor: ThreatAnchorShapeTypeDef = ...,  # (3)
    evidence: Sequence[ThreatEvidenceShapeTypeDef] = ...,  # (4)
    recommendation: str = ...,
) -> UpdateThreatOutputTypeDef:  # (5)
    ...
  1. See ThreatStatusType
  2. See ThreatSeverityType
  3. See ThreatAnchorShapeTypeDef
  4. See Sequence[ThreatEvidenceShapeTypeDef]
  5. See UpdateThreatOutputTypeDef
# update_threat method usage example with argument unpacking

kwargs: UpdateThreatInputTypeDef = {  # (1)
    "threatId": ...,
    "agentSpaceId": ...,
}

parent.update_threat(**kwargs)
  1. See UpdateThreatInputTypeDef

update_threat_model#

Updates an existing threat model configuration.

Type annotations and code completion for boto3.client("securityagent").update_threat_model method. boto3 documentation

# update_threat_model method definition

def update_threat_model(
    self,
    *,
    threatModelId: str,
    agentSpaceId: str,
    title: str = ...,
    description: str = ...,
    assets: AssetsUnionTypeDef = ...,  # (1)
    scopeDocs: Sequence[DocumentInfoTypeDef] = ...,  # (2)
    serviceRole: str = ...,
    logConfig: CloudWatchLogTypeDef = ...,  # (3)
) -> UpdateThreatModelOutputTypeDef:  # (4)
    ...
  1. See AssetsUnionTypeDef
  2. See Sequence[DocumentInfoTypeDef]
  3. See CloudWatchLogTypeDef
  4. See UpdateThreatModelOutputTypeDef
# update_threat_model method usage example with argument unpacking

kwargs: UpdateThreatModelInputTypeDef = {  # (1)
    "threatModelId": ...,
    "agentSpaceId": ...,
}

parent.update_threat_model(**kwargs)
  1. See UpdateThreatModelInputTypeDef

verify_target_domain#

Initiates verification of a target domain.

Type annotations and code completion for boto3.client("securityagent").verify_target_domain method. boto3 documentation

# verify_target_domain method definition

def verify_target_domain(
    self,
    *,
    targetDomainId: str,
) -> VerifyTargetDomainOutputTypeDef:  # (1)
    ...
  1. See VerifyTargetDomainOutputTypeDef
# verify_target_domain method usage example with argument unpacking

kwargs: VerifyTargetDomainInputTypeDef = {  # (1)
    "targetDomainId": ...,
}

parent.verify_target_domain(**kwargs)
  1. See VerifyTargetDomainInputTypeDef

get_paginator#

Type annotations and code completion for boto3.client("securityagent").get_paginator method with overloads.