pub struct Client { /* private fields */ }Expand description
Client for AWS Security Agent
Client for invoking operations on AWS Security Agent. Each operation on AWS Security Agent is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
§Constructing a Client
A Config is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env(), since this will resolve an SdkConfig which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env() instead, which returns a ConfigLoader that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_securityagent::Client::new(&config);Occasionally, SDKs may have additional service-specific values that can be set on the Config that
is absent from SdkConfig, or slightly different settings for a specific client may be desired.
The Builder struct implements From<&SdkConfig>, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_securityagent::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();See the aws-config docs and Config for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
§Using the Client
A client has a function for every operation that can be performed by the service.
For example, the AddArtifact operation has
a Client::add_artifact, function which returns a builder for that operation.
The fluent builder ultimately has a send() function that returns an async future that
returns a result, as illustrated below:
let result = client.add_artifact()
.agent_space_id("example")
.send()
.await;The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize module for more
information.
Implementations§
Source§impl Client
impl Client
Sourcepub fn add_artifact(&self) -> AddArtifactFluentBuilder
pub fn add_artifact(&self) -> AddArtifactFluentBuilder
Constructs a fluent builder for the AddArtifact operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to add the artifact to.
artifact_content(Blob)/set_artifact_content(Option<Blob>):
required: trueThe binary content of the artifact to upload.
artifact_type(ArtifactType)/set_artifact_type(Option<ArtifactType>):
required: trueThe file type of the artifact. Valid values include TXT, PNG, JPEG, MD, PDF, DOCX, DOC, JSON, and YAML.
file_name(impl Into<String>)/set_file_name(Option<String>):
required: trueThe file name of the artifact.
- On success, responds with
AddArtifactOutputwith field(s):artifact_id(String):The unique identifier assigned to the uploaded artifact.
- On failure, responds with
SdkError<AddArtifactError>
Source§impl Client
impl Client
Sourcepub fn batch_create_security_requirements(
&self,
) -> BatchCreateSecurityRequirementsFluentBuilder
pub fn batch_create_security_requirements( &self, ) -> BatchCreateSecurityRequirementsFluentBuilder
Constructs a fluent builder for the BatchCreateSecurityRequirements operation.
- The fluent builder is configurable:
pack_id(impl Into<String>)/set_pack_id(Option<String>):
required: trueThe unique identifier of the security requirement pack to add requirements to.
security_requirements(CreateSecurityRequirementEntry)/set_security_requirements(Option<Vec::<CreateSecurityRequirementEntry>>):
required: trueThe list of security requirements to create.
- On success, responds with
BatchCreateSecurityRequirementsOutputwith field(s):security_requirements(Vec::<BatchCreateSecurityRequirementResult>):The list of security requirements that were successfully created.
errors(Vec::<BatchSecurityRequirementError>):The list of errors for security requirements that failed to be created.
- On failure, responds with
SdkError<BatchCreateSecurityRequirementsError>
Source§impl Client
impl Client
Sourcepub fn batch_delete_code_reviews(&self) -> BatchDeleteCodeReviewsFluentBuilder
pub fn batch_delete_code_reviews(&self) -> BatchDeleteCodeReviewsFluentBuilder
Constructs a fluent builder for the BatchDeleteCodeReviews operation.
- The fluent builder is configurable:
code_review_ids(impl Into<String>)/set_code_review_ids(Option<Vec::<String>>):
required: trueThe list of code review identifiers to delete.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the code reviews to delete.
- On success, responds with
BatchDeleteCodeReviewsOutputwith field(s):deleted(Option<Vec::<String>>):The list of identifiers of the code reviews that were successfully deleted.
failed(Option<Vec::<DeleteCodeReviewFailure>>):The list of code reviews that failed to delete, including the reason for each failure.
- On failure, responds with
SdkError<BatchDeleteCodeReviewsError>
Source§impl Client
impl Client
Sourcepub fn batch_delete_pentests(&self) -> BatchDeletePentestsFluentBuilder
pub fn batch_delete_pentests(&self) -> BatchDeletePentestsFluentBuilder
Constructs a fluent builder for the BatchDeletePentests operation.
- The fluent builder is configurable:
pentest_ids(impl Into<String>)/set_pentest_ids(Option<Vec::<String>>):
required: trueThe list of pentest identifiers to delete.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the pentests to delete.
- On success, responds with
BatchDeletePentestsOutputwith field(s):deleted(Option<Vec::<Pentest>>):The list of pentests that were successfully deleted.
failed(Option<Vec::<DeletePentestFailure>>):The list of pentests that failed to delete, including the reason for each failure.
- On failure, responds with
SdkError<BatchDeletePentestsError>
Source§impl Client
impl Client
Sourcepub fn batch_delete_security_requirements(
&self,
) -> BatchDeleteSecurityRequirementsFluentBuilder
pub fn batch_delete_security_requirements( &self, ) -> BatchDeleteSecurityRequirementsFluentBuilder
Constructs a fluent builder for the BatchDeleteSecurityRequirements operation.
- The fluent builder is configurable:
pack_id(impl Into<String>)/set_pack_id(Option<String>):
required: trueThe unique identifier of the security requirement pack to remove requirements from.
security_requirement_names(impl Into<String>)/set_security_requirement_names(Option<Vec::<String>>):
required: trueThe list of security requirement names to delete.
- On success, responds with
BatchDeleteSecurityRequirementsOutputwith field(s):deleted_security_requirement_names(Vec::<String>):The list of security requirement names that were successfully deleted.
errors(Vec::<BatchSecurityRequirementError>):The list of errors for security requirements that failed to be deleted.
- On failure, responds with
SdkError<BatchDeleteSecurityRequirementsError>
Source§impl Client
impl Client
Sourcepub fn batch_delete_threat_models(&self) -> BatchDeleteThreatModelsFluentBuilder
pub fn batch_delete_threat_models(&self) -> BatchDeleteThreatModelsFluentBuilder
Constructs a fluent builder for the BatchDeleteThreatModels operation.
- The fluent builder is configurable:
threat_model_ids(impl Into<String>)/set_threat_model_ids(Option<Vec::<String>>):
required: trueThe list of threat model identifiers to delete.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the threat models to delete.
- On success, responds with
BatchDeleteThreatModelsOutputwith field(s):deleted(Option<Vec::<String>>):The list of threat model identifiers that were successfully deleted.
failed(Option<Vec::<DeleteThreatModelFailure>>):The list of threat models that failed to delete, including the reason for each failure.
- On failure, responds with
SdkError<BatchDeleteThreatModelsError>
Source§impl Client
impl Client
Sourcepub fn batch_get_agent_spaces(&self) -> BatchGetAgentSpacesFluentBuilder
pub fn batch_get_agent_spaces(&self) -> BatchGetAgentSpacesFluentBuilder
Constructs a fluent builder for the BatchGetAgentSpaces operation.
- The fluent builder is configurable:
agent_space_ids(impl Into<String>)/set_agent_space_ids(Option<Vec::<String>>):
required: trueThe list of agent space identifiers to retrieve.
- On success, responds with
BatchGetAgentSpacesOutputwith field(s):agent_spaces(Option<Vec::<AgentSpace>>):The list of agent spaces that were found.
not_found(Option<Vec::<String>>):The list of agent space identifiers that were not found.
- On failure, responds with
SdkError<BatchGetAgentSpacesError>
Source§impl Client
impl Client
Sourcepub fn batch_get_artifact_metadata(
&self,
) -> BatchGetArtifactMetadataFluentBuilder
pub fn batch_get_artifact_metadata( &self, ) -> BatchGetArtifactMetadataFluentBuilder
Constructs a fluent builder for the BatchGetArtifactMetadata operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the artifacts.
artifact_ids(impl Into<String>)/set_artifact_ids(Option<Vec::<String>>):
required: trueThe list of artifact identifiers to retrieve metadata for.
- On success, responds with
BatchGetArtifactMetadataOutputwith field(s):artifact_metadata_list(Vec::<ArtifactMetadataItem>):The list of artifact metadata items that were found.
- On failure, responds with
SdkError<BatchGetArtifactMetadataError>
Source§impl Client
impl Client
Sourcepub fn batch_get_code_review_job_tasks(
&self,
) -> BatchGetCodeReviewJobTasksFluentBuilder
pub fn batch_get_code_review_job_tasks( &self, ) -> BatchGetCodeReviewJobTasksFluentBuilder
Constructs a fluent builder for the BatchGetCodeReviewJobTasks operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the tasks.
code_review_job_task_ids(impl Into<String>)/set_code_review_job_task_ids(Option<Vec::<String>>):
required: trueThe list of task identifiers to retrieve.
- On success, responds with
BatchGetCodeReviewJobTasksOutputwith field(s):code_review_job_tasks(Option<Vec::<CodeReviewJobTask>>):The list of code review job tasks that were found.
not_found(Option<Vec::<String>>):The list of task identifiers that were not found.
- On failure, responds with
SdkError<BatchGetCodeReviewJobTasksError>
Source§impl Client
impl Client
Sourcepub fn batch_get_code_review_jobs(&self) -> BatchGetCodeReviewJobsFluentBuilder
pub fn batch_get_code_review_jobs(&self) -> BatchGetCodeReviewJobsFluentBuilder
Constructs a fluent builder for the BatchGetCodeReviewJobs operation.
- The fluent builder is configurable:
code_review_job_ids(impl Into<String>)/set_code_review_job_ids(Option<Vec::<String>>):
required: trueThe list of code review job identifiers to retrieve.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the code review jobs.
- On success, responds with
BatchGetCodeReviewJobsOutputwith field(s):code_review_jobs(Option<Vec::<CodeReviewJob>>):The list of code review jobs that were found.
not_found(Option<Vec::<String>>):The list of code review job identifiers that were not found.
- On failure, responds with
SdkError<BatchGetCodeReviewJobsError>
Source§impl Client
impl Client
Sourcepub fn batch_get_code_reviews(&self) -> BatchGetCodeReviewsFluentBuilder
pub fn batch_get_code_reviews(&self) -> BatchGetCodeReviewsFluentBuilder
Constructs a fluent builder for the BatchGetCodeReviews operation.
- The fluent builder is configurable:
code_review_ids(impl Into<String>)/set_code_review_ids(Option<Vec::<String>>):
required: trueThe list of code review identifiers to retrieve.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the code reviews.
- On success, responds with
BatchGetCodeReviewsOutputwith field(s):code_reviews(Option<Vec::<CodeReview>>):The list of code reviews that were found.
not_found(Option<Vec::<String>>):The list of code review identifiers that were not found.
- On failure, responds with
SdkError<BatchGetCodeReviewsError>
Source§impl Client
impl Client
Sourcepub fn batch_get_findings(&self) -> BatchGetFindingsFluentBuilder
pub fn batch_get_findings(&self) -> BatchGetFindingsFluentBuilder
Constructs a fluent builder for the BatchGetFindings operation.
- The fluent builder is configurable:
finding_ids(impl Into<String>)/set_finding_ids(Option<Vec::<String>>):
required: trueThe list of finding identifiers to retrieve.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the findings.
- On success, responds with
BatchGetFindingsOutputwith field(s):findings(Option<Vec::<Finding>>):The list of findings that were found.
not_found(Option<Vec::<String>>):The list of finding identifiers that were not found.
- On failure, responds with
SdkError<BatchGetFindingsError>
Source§impl Client
impl Client
Sourcepub fn batch_get_pentest_job_tasks(
&self,
) -> BatchGetPentestJobTasksFluentBuilder
pub fn batch_get_pentest_job_tasks( &self, ) -> BatchGetPentestJobTasksFluentBuilder
Constructs a fluent builder for the BatchGetPentestJobTasks operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the tasks.
task_ids(impl Into<String>)/set_task_ids(Option<Vec::<String>>):
required: trueThe list of task identifiers to retrieve.
- On success, responds with
BatchGetPentestJobTasksOutputwith field(s):tasks(Option<Vec::<Task>>):The list of tasks that were found.
not_found(Option<Vec::<String>>):The list of task identifiers that were not found.
- On failure, responds with
SdkError<BatchGetPentestJobTasksError>
Source§impl Client
impl Client
Sourcepub fn batch_get_pentest_jobs(&self) -> BatchGetPentestJobsFluentBuilder
pub fn batch_get_pentest_jobs(&self) -> BatchGetPentestJobsFluentBuilder
Constructs a fluent builder for the BatchGetPentestJobs operation.
- The fluent builder is configurable:
pentest_job_ids(impl Into<String>)/set_pentest_job_ids(Option<Vec::<String>>):
required: trueThe list of pentest job identifiers to retrieve.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the pentest jobs.
- On success, responds with
BatchGetPentestJobsOutputwith field(s):pentest_jobs(Option<Vec::<PentestJob>>):The list of pentest jobs that were found.
not_found(Option<Vec::<String>>):The list of pentest job identifiers that were not found.
- On failure, responds with
SdkError<BatchGetPentestJobsError>
Source§impl Client
impl Client
Sourcepub fn batch_get_pentests(&self) -> BatchGetPentestsFluentBuilder
pub fn batch_get_pentests(&self) -> BatchGetPentestsFluentBuilder
Constructs a fluent builder for the BatchGetPentests operation.
- The fluent builder is configurable:
pentest_ids(impl Into<String>)/set_pentest_ids(Option<Vec::<String>>):
required: trueThe list of pentest identifiers to retrieve.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the pentests.
- On success, responds with
BatchGetPentestsOutputwith field(s):pentests(Option<Vec::<Pentest>>):The list of pentests that were found.
not_found(Option<Vec::<String>>):The list of pentest identifiers that were not found.
- On failure, responds with
SdkError<BatchGetPentestsError>
Source§impl Client
impl Client
Sourcepub fn batch_get_security_requirements(
&self,
) -> BatchGetSecurityRequirementsFluentBuilder
pub fn batch_get_security_requirements( &self, ) -> BatchGetSecurityRequirementsFluentBuilder
Constructs a fluent builder for the BatchGetSecurityRequirements operation.
- The fluent builder is configurable:
pack_id(impl Into<String>)/set_pack_id(Option<String>):
required: trueThe unique identifier of the security requirement pack to retrieve requirements from.
security_requirement_names(impl Into<String>)/set_security_requirement_names(Option<Vec::<String>>):
required: trueThe list of security requirement names to retrieve.
- On success, responds with
BatchGetSecurityRequirementsOutputwith field(s):security_requirements(Vec::<BatchGetSecurityRequirementResult>):The list of security requirements that were successfully retrieved.
errors(Vec::<BatchSecurityRequirementError>):The list of errors for security requirements that failed to be retrieved.
- On failure, responds with
SdkError<BatchGetSecurityRequirementsError>
Source§impl Client
impl Client
Sourcepub fn batch_get_target_domains(&self) -> BatchGetTargetDomainsFluentBuilder
pub fn batch_get_target_domains(&self) -> BatchGetTargetDomainsFluentBuilder
Constructs a fluent builder for the BatchGetTargetDomains operation.
- The fluent builder is configurable:
target_domain_ids(impl Into<String>)/set_target_domain_ids(Option<Vec::<String>>):
required: trueThe list of target domain identifiers to retrieve.
- On success, responds with
BatchGetTargetDomainsOutputwith field(s):target_domains(Option<Vec::<TargetDomain>>):The list of target domains that were found.
not_found(Option<Vec::<String>>):The list of target domain identifiers that were not found.
- On failure, responds with
SdkError<BatchGetTargetDomainsError>
Source§impl Client
impl Client
Sourcepub fn batch_get_threat_model_job_tasks(
&self,
) -> BatchGetThreatModelJobTasksFluentBuilder
pub fn batch_get_threat_model_job_tasks( &self, ) -> BatchGetThreatModelJobTasksFluentBuilder
Constructs a fluent builder for the BatchGetThreatModelJobTasks operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the tasks.
threat_model_job_task_ids(impl Into<String>)/set_threat_model_job_task_ids(Option<Vec::<String>>):
required: trueThe list of task identifiers to retrieve.
- On success, responds with
BatchGetThreatModelJobTasksOutputwith field(s):threat_model_job_tasks(Option<Vec::<ThreatModelJobTask>>):The list of threat model job tasks that were found.
not_found(Option<Vec::<String>>):The list of task identifiers that were not found.
- On failure, responds with
SdkError<BatchGetThreatModelJobTasksError>
Source§impl Client
impl Client
Sourcepub fn batch_get_threat_model_jobs(
&self,
) -> BatchGetThreatModelJobsFluentBuilder
pub fn batch_get_threat_model_jobs( &self, ) -> BatchGetThreatModelJobsFluentBuilder
Constructs a fluent builder for the BatchGetThreatModelJobs operation.
- The fluent builder is configurable:
threat_model_job_ids(impl Into<String>)/set_threat_model_job_ids(Option<Vec::<String>>):
required: trueThe list of threat model job identifiers to retrieve.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the threat model jobs.
- On success, responds with
BatchGetThreatModelJobsOutputwith field(s):threat_model_jobs(Option<Vec::<ThreatModelJob>>):The list of threat model jobs that were found.
not_found(Option<Vec::<String>>):The list of threat model job identifiers that were not found.
- On failure, responds with
SdkError<BatchGetThreatModelJobsError>
Source§impl Client
impl Client
Sourcepub fn batch_get_threat_models(&self) -> BatchGetThreatModelsFluentBuilder
pub fn batch_get_threat_models(&self) -> BatchGetThreatModelsFluentBuilder
Constructs a fluent builder for the BatchGetThreatModels operation.
- The fluent builder is configurable:
threat_model_ids(impl Into<String>)/set_threat_model_ids(Option<Vec::<String>>):
required: trueThe list of threat model identifiers to retrieve.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the threat models.
- On success, responds with
BatchGetThreatModelsOutputwith field(s):threat_models(Option<Vec::<ThreatModel>>):The list of threat models that were found.
not_found(Option<Vec::<String>>):The list of threat model identifiers that were not found.
- On failure, responds with
SdkError<BatchGetThreatModelsError>
Source§impl Client
impl Client
Sourcepub fn batch_get_threats(&self) -> BatchGetThreatsFluentBuilder
pub fn batch_get_threats(&self) -> BatchGetThreatsFluentBuilder
Constructs a fluent builder for the BatchGetThreats operation.
- The fluent builder is configurable:
threat_ids(impl Into<String>)/set_threat_ids(Option<Vec::<String>>):
required: trueThe list of threat identifiers to retrieve.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
- On success, responds with
BatchGetThreatsOutputwith field(s):threats(Option<Vec::<Threat>>):The list of threats that were found.
not_found(Option<Vec::<String>>):The list of threat identifiers that were not found.
- On failure, responds with
SdkError<BatchGetThreatsError>
Source§impl Client
impl Client
Sourcepub fn batch_update_security_requirements(
&self,
) -> BatchUpdateSecurityRequirementsFluentBuilder
pub fn batch_update_security_requirements( &self, ) -> BatchUpdateSecurityRequirementsFluentBuilder
Constructs a fluent builder for the BatchUpdateSecurityRequirements operation.
- The fluent builder is configurable:
pack_id(impl Into<String>)/set_pack_id(Option<String>):
required: trueThe unique identifier of the security requirement pack containing the requirements to update.
security_requirements(UpdateSecurityRequirementEntry)/set_security_requirements(Option<Vec::<UpdateSecurityRequirementEntry>>):
required: trueThe list of security requirement updates to apply.
- On success, responds with
BatchUpdateSecurityRequirementsOutputwith field(s):updated_security_requirement_names(Vec::<String>):The list of security requirement names that were successfully updated.
errors(Vec::<BatchSecurityRequirementError>):The list of errors for security requirements that failed to be updated.
- On failure, responds with
SdkError<BatchUpdateSecurityRequirementsError>
Source§impl Client
impl Client
Sourcepub fn create_agent_space(&self) -> CreateAgentSpaceFluentBuilder
pub fn create_agent_space(&self) -> CreateAgentSpaceFluentBuilder
Constructs a fluent builder for the CreateAgentSpace operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueThe name of the agent space.
description(impl Into<String>)/set_description(Option<String>):
required: falseA description of the agent space.
aws_resources(AwsResources)/set_aws_resources(Option<AwsResources>):
required: falseThe AWS resources to associate with the agent space.
target_domain_ids(impl Into<String>)/set_target_domain_ids(Option<Vec::<String>>):
required: falseThe list of target domain identifiers to associate with the agent space.
code_review_settings(CodeReviewSettings)/set_code_review_settings(Option<CodeReviewSettings>):
required: falseThe code review settings for the agent space.
kms_key_id(impl Into<String>)/set_kms_key_id(Option<String>):
required: falseThe identifier of the AWS KMS key to use for encrypting data in the agent space.
tags(impl Into<String>, impl Into<String>)/set_tags(Option<HashMap::<String, String>>):
required: falseThe tags to associate with the agent space.
- On success, responds with
CreateAgentSpaceOutputwith field(s):agent_space_id(String):The unique identifier of the created agent space.
name(String):The name of the agent space.
description(Option<String>):The description of the agent space.
aws_resources(Option<AwsResources>):The AWS resources associated with the agent space.
target_domain_ids(Option<Vec::<String>>):The list of target domain identifiers associated with the agent space.
code_review_settings(Option<CodeReviewSettings>):The code review settings for the agent space.
kms_key_id(Option<String>):The identifier of the AWS KMS key used to encrypt data in the agent space.
created_at(Option<DateTime>):The date and time the agent space was created, in UTC format.
updated_at(Option<DateTime>):The date and time the agent space was last updated, in UTC format.
- On failure, responds with
SdkError<CreateAgentSpaceError>
Source§impl Client
impl Client
Sourcepub fn create_application(&self) -> CreateApplicationFluentBuilder
pub fn create_application(&self) -> CreateApplicationFluentBuilder
Constructs a fluent builder for the CreateApplication operation.
- The fluent builder is configurable:
idc_instance_arn(impl Into<String>)/set_idc_instance_arn(Option<String>):
required: falseThe Amazon Resource Name (ARN) of the IAM Identity Center instance to associate with the application.
role_arn(impl Into<String>)/set_role_arn(Option<String>):
required: falseThe Amazon Resource Name (ARN) of the IAM role to associate with the application.
default_kms_key_id(impl Into<String>)/set_default_kms_key_id(Option<String>):
required: falseThe identifier of the default AWS KMS key to use for encrypting data in the application.
tags(impl Into<String>, impl Into<String>)/set_tags(Option<HashMap::<String, String>>):
required: falseThe tags to associate with the application.
- On success, responds with
CreateApplicationOutputwith field(s):application_id(String):The unique identifier of the created application.
- On failure, responds with
SdkError<CreateApplicationError>
Source§impl Client
impl Client
Sourcepub fn create_code_review(&self) -> CreateCodeReviewFluentBuilder
pub fn create_code_review(&self) -> CreateCodeReviewFluentBuilder
Constructs a fluent builder for the CreateCodeReview operation.
- The fluent builder is configurable:
title(impl Into<String>)/set_title(Option<String>):
required: trueThe title of the code review.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to create the code review in.
assets(Assets)/set_assets(Option<Assets>):
required: trueThe assets to include in the code review, such as documents and source code.
service_role(impl Into<String>)/set_service_role(Option<String>):
required: falseThe IAM service role to use for the code review.
log_config(CloudWatchLog)/set_log_config(Option<CloudWatchLog>):
required: falseThe CloudWatch Logs configuration for the code review.
code_remediation_strategy(CodeRemediationStrategy)/set_code_remediation_strategy(Option<CodeRemediationStrategy>):
required: falseThe code remediation strategy for the code review. Valid values are AUTOMATIC and DISABLED.
validation_mode(ValidationMode)/set_validation_mode(Option<ValidationMode>):
required: falseThe validation mode for the code review. Valid values are SIMULATED and DISABLED.
- On success, responds with
CreateCodeReviewOutputwith field(s):code_review_id(String):The unique identifier of the created code review.
title(Option<String>):The title of the code review.
created_at(Option<DateTime>):The date and time the code review was created, in UTC format.
updated_at(Option<DateTime>):The date and time the code review was last updated, in UTC format.
assets(Option<Assets>):The assets included in the code review.
service_role(Option<String>):The IAM service role used for the code review.
log_config(Option<CloudWatchLog>):The CloudWatch Logs configuration for the code review.
agent_space_id(Option<String>):The unique identifier of the agent space that contains the code review.
code_remediation_strategy(Option<CodeRemediationStrategy>):The code remediation strategy for the code review.
validation_mode(Option<ValidationMode>):The validation mode for the code review.
- On failure, responds with
SdkError<CreateCodeReviewError>
Source§impl Client
impl Client
Sourcepub fn create_integration(&self) -> CreateIntegrationFluentBuilder
pub fn create_integration(&self) -> CreateIntegrationFluentBuilder
Constructs a fluent builder for the CreateIntegration operation.
- The fluent builder is configurable:
provider(Provider)/set_provider(Option<Provider>):
required: trueThe integration provider. Currently, only GITHUB is supported.
input(ProviderInput)/set_input(Option<ProviderInput>):
required: trueThe provider-specific input required to create the integration.
integration_display_name(impl Into<String>)/set_integration_display_name(Option<String>):
required: trueThe display name for the integration.
kms_key_id(impl Into<String>)/set_kms_key_id(Option<String>):
required: falseThe identifier of the AWS KMS key to use for encrypting data associated with the integration.
tags(impl Into<String>, impl Into<String>)/set_tags(Option<HashMap::<String, String>>):
required: falseThe tags to associate with the integration.
private_connection_name(impl Into<String>)/set_private_connection_name(Option<String>):
required: falseThe name of an active private connection used to reach a self-hosted provider instance over private networking. Specify this when the instance is not publicly reachable.
- On success, responds with
CreateIntegrationOutputwith field(s):integration_id(String):The unique identifier of the created integration.
- On failure, responds with
SdkError<CreateIntegrationError>
Source§impl Client
impl Client
Sourcepub fn create_membership(&self) -> CreateMembershipFluentBuilder
pub fn create_membership(&self) -> CreateMembershipFluentBuilder
Constructs a fluent builder for the CreateMembership operation.
- The fluent builder is configurable:
application_id(impl Into<String>)/set_application_id(Option<String>):
required: trueThe unique identifier of the application that contains the agent space.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to grant access to.
membership_id(impl Into<String>)/set_membership_id(Option<String>):
required: trueThe unique identifier for the membership.
member_type(MembershipType)/set_member_type(Option<MembershipType>):
required: trueThe type of member. Currently, only USER is supported.
config(MembershipConfig)/set_config(Option<MembershipConfig>):
required: falseThe configuration for the membership, such as the user role.
- On success, responds with
CreateMembershipOutput - On failure, responds with
SdkError<CreateMembershipError>
Source§impl Client
impl Client
Sourcepub fn create_pentest(&self) -> CreatePentestFluentBuilder
pub fn create_pentest(&self) -> CreatePentestFluentBuilder
Constructs a fluent builder for the CreatePentest operation.
- The fluent builder is configurable:
title(impl Into<String>)/set_title(Option<String>):
required: trueThe title of the pentest.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to create the pentest in.
assets(Assets)/set_assets(Option<Assets>):
required: falseThe assets to include in the pentest, such as endpoints, actors, documents, and source code.
exclude_risk_types(RiskType)/set_exclude_risk_types(Option<Vec::<RiskType>>):
required: falseThe list of risk types to exclude from the pentest.
service_role(impl Into<String>)/set_service_role(Option<String>):
required: falseThe IAM service role to use for the pentest.
log_config(CloudWatchLog)/set_log_config(Option<CloudWatchLog>):
required: falseThe CloudWatch Logs configuration for the pentest.
vpc_config(VpcConfig)/set_vpc_config(Option<VpcConfig>):
required: falseThe VPC configuration for the pentest.
network_traffic_config(NetworkTrafficConfig)/set_network_traffic_config(Option<NetworkTrafficConfig>):
required: falseThe network traffic configuration for the pentest, including custom headers and traffic rules.
code_remediation_strategy(CodeRemediationStrategy)/set_code_remediation_strategy(Option<CodeRemediationStrategy>):
required: falseThe code remediation strategy for the pentest. Valid values are AUTOMATIC and DISABLED.
disable_managed_skills(SkillType)/set_disable_managed_skills(Option<Vec::<SkillType>>):
required: falseA list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.
- On success, responds with
CreatePentestOutputwith field(s):pentest_id(Option<String>):The unique identifier of the created pentest.
title(Option<String>):The title of the pentest.
created_at(Option<DateTime>):The date and time the pentest was created, in UTC format.
updated_at(Option<DateTime>):The date and time the pentest was last updated, in UTC format.
assets(Option<Assets>):The assets included in the pentest.
exclude_risk_types(Option<Vec::<RiskType>>):The list of risk types excluded from the pentest.
service_role(Option<String>):The IAM service role used for the pentest.
log_config(Option<CloudWatchLog>):The CloudWatch Logs configuration for the pentest.
agent_space_id(Option<String>):The unique identifier of the agent space that contains the pentest.
- On failure, responds with
SdkError<CreatePentestError>
Source§impl Client
impl Client
Sourcepub fn create_private_connection(&self) -> CreatePrivateConnectionFluentBuilder
pub fn create_private_connection(&self) -> CreatePrivateConnectionFluentBuilder
Constructs a fluent builder for the CreatePrivateConnection operation.
- The fluent builder is configurable:
private_connection_name(impl Into<String>)/set_private_connection_name(Option<String>):
required: trueA unique name for the private connection within your account.
mode(PrivateConnectionMode)/set_mode(Option<PrivateConnectionMode>):
required: trueThe configuration for the private connection. Specify either a service-managed or a self-managed mode.
tags(impl Into<String>, impl Into<String>)/set_tags(Option<HashMap::<String, String>>):
required: falseThe tags to attach to the private connection.
- On success, responds with
CreatePrivateConnectionOutputwith field(s):name(String):The name of the private connection.
r#type(PrivateConnectionType):The type of the private connection, indicating whether it is service-managed or self-managed.
status(PrivateConnectionStatus):The current status of the private connection.
resource_gateway_id(Option<String>):The identifier or ARN of the VPC Lattice resource gateway.
host_address(Option<String>):The IP address or DNS name of the target resource.
vpc_id(Option<String>):The identifier of the VPC the resource gateway is created in.
resource_configuration_id(Option<String>):The identifier or ARN of the VPC Lattice resource configuration.
certificate_expiry_time(Option<DateTime>):The date and time the connection’s certificate expires, in UTC format.
dns_resolution(Option<ResourceConfigDnsResolution>):The DNS resolution mode for the resource gateway.
failure_message(Option<String>):A message describing why the private connection entered a failed state, if applicable.
tags(Option<HashMap::<String, String>>):The tags attached to the private connection.
- On failure, responds with
SdkError<CreatePrivateConnectionError>
Source§impl Client
impl Client
Sourcepub fn create_security_requirement_pack(
&self,
) -> CreateSecurityRequirementPackFluentBuilder
pub fn create_security_requirement_pack( &self, ) -> CreateSecurityRequirementPackFluentBuilder
Constructs a fluent builder for the CreateSecurityRequirementPack operation.
- The fluent builder is configurable:
name(impl Into<String>)/set_name(Option<String>):
required: trueThe name of the security requirement pack.
description(impl Into<String>)/set_description(Option<String>):
required: falseA description of the security requirement pack.
status(SecurityRequirementPackStatus)/set_status(Option<SecurityRequirementPackStatus>):
required: falseThe status of the pack. Defaults to ENABLED if not provided.
kms_key_id(impl Into<String>)/set_kms_key_id(Option<String>):
required: falseThe identifier of the AWS KMS key used to encrypt pack contents.
tags(impl Into<String>, impl Into<String>)/set_tags(Option<HashMap::<String, String>>):
required: falseThe tags to associate with the security requirement pack.
- On success, responds with
CreateSecurityRequirementPackOutputwith field(s):pack_id(String):The unique identifier of the created security requirement pack.
status(SecurityRequirementPackStatus):The status of the created security requirement pack.
kms_key_id(Option<String>):The identifier of the AWS KMS key used to encrypt pack contents.
- On failure, responds with
SdkError<CreateSecurityRequirementPackError>
Source§impl Client
impl Client
Sourcepub fn create_target_domain(&self) -> CreateTargetDomainFluentBuilder
pub fn create_target_domain(&self) -> CreateTargetDomainFluentBuilder
Constructs a fluent builder for the CreateTargetDomain operation.
- The fluent builder is configurable:
target_domain_name(impl Into<String>)/set_target_domain_name(Option<String>):
required: trueThe domain name to register as a target domain.
verification_method(DomainVerificationMethod)/set_verification_method(Option<DomainVerificationMethod>):
required: trueThe method to use for verifying domain ownership. Valid values are DNS_TXT, HTTP_ROUTE, and PRIVATE_VPC.
tags(impl Into<String>, impl Into<String>)/set_tags(Option<HashMap::<String, String>>):
required: falseThe tags to associate with the target domain.
- On success, responds with
CreateTargetDomainOutputwith field(s):target_domain_id(String):The unique identifier of the created target domain.
domain_name(String):The domain name of the target domain.
verification_status(TargetDomainStatus):The current verification status of the target domain.
verification_status_reason(Option<String>):The reason for the current target domain verification status.
verification_details(Option<VerificationDetails>):The verification details for the target domain, including the verification token and instructions.
created_at(Option<DateTime>):The date and time the target domain was created, in UTC format.
verified_at(Option<DateTime>):The date and time the target domain was verified, in UTC format.
- On failure, responds with
SdkError<CreateTargetDomainError>
Source§impl Client
impl Client
Sourcepub fn create_threat(&self) -> CreateThreatFluentBuilder
pub fn create_threat(&self) -> CreateThreatFluentBuilder
Constructs a fluent builder for the CreateThreat operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
threat_job_id(impl Into<String>)/set_threat_job_id(Option<String>):
required: trueThe unique identifier of the threat model job the threat belongs to.
title(impl Into<String>)/set_title(Option<String>):
required: falseA short title summarizing the threat.
statement(impl Into<String>)/set_statement(Option<String>):
required: falseThe natural-language threat statement.
severity(ThreatSeverity)/set_severity(Option<ThreatSeverity>):
required: falseThe severity level of the threat.
comments(impl Into<String>)/set_comments(Option<String>):
required: falseOptional customer comment on the threat.
stride(StrideCategory)/set_stride(Option<Vec::<StrideCategory>>):
required: falseThe STRIDE categories applicable to this threat.
threat_source(impl Into<String>)/set_threat_source(Option<String>):
required: falseThe actor or origin of the threat.
prerequisites(impl Into<String>)/set_prerequisites(Option<String>):
required: falseThe conditions required for the threat to be exploitable.
threat_action(impl Into<String>)/set_threat_action(Option<String>):
required: falseWhat the threat source can do.
threat_impact(impl Into<String>)/set_threat_impact(Option<String>):
required: falseThe direct consequence of the threat action.
impacted_goal(impl Into<String>)/set_impacted_goal(Option<Vec::<String>>):
required: falseThe security goals affected by the threat.
impacted_assets(impl Into<String>)/set_impacted_assets(Option<Vec::<String>>):
required: falseThe specific assets affected by the threat.
anchor(ThreatAnchorShape)/set_anchor(Option<ThreatAnchorShape>):
required: falseThe DFD element this threat is anchored to.
evidence(ThreatEvidenceShape)/set_evidence(Option<Vec::<ThreatEvidenceShape>>):
required: falseThe source code files supporting the threat.
recommendation(impl Into<String>)/set_recommendation(Option<String>):
required: falseThe recommended mitigation guidance for this threat.
- On success, responds with
CreateThreatOutputwith field(s):threat_id(String):The unique identifier of the created threat.
threat_job_id(String):The unique identifier of the threat model job the threat belongs to.
title(Option<String>):A short title summarizing the threat.
statement(Option<String>):The natural-language threat statement.
severity(Option<ThreatSeverity>):The severity level of the threat.
status(Option<ThreatStatus>):The current status of the threat.
comments(Option<String>):Optional customer comment on the threat.
stride(Option<Vec::<StrideCategory>>):The STRIDE categories applicable to this threat.
threat_source(Option<String>):The actor or origin of the threat.
prerequisites(Option<String>):The conditions required for the threat to be exploitable.
threat_action(Option<String>):What the threat source can do.
threat_impact(Option<String>):The direct consequence of the threat action.
impacted_goal(Option<Vec::<String>>):The security goals affected by the threat.
impacted_assets(Option<Vec::<String>>):The specific assets affected by the threat.
anchor(Option<ThreatAnchorShape>):The DFD element this threat is anchored to.
evidence(Option<Vec::<ThreatEvidenceShape>>):The source code files supporting the threat.
recommendation(Option<String>):The recommended mitigation guidance for this threat.
created_by(Option<ThreatActor>):Who created this threat.
updated_by(Option<ThreatActor>):Who last updated this threat.
created_at(Option<DateTime>):The date and time the threat was created, in UTC format.
updated_at(Option<DateTime>):The date and time the threat was last updated, in UTC format.
- On failure, responds with
SdkError<CreateThreatError>
Source§impl Client
impl Client
Sourcepub fn create_threat_model(&self) -> CreateThreatModelFluentBuilder
pub fn create_threat_model(&self) -> CreateThreatModelFluentBuilder
Constructs a fluent builder for the CreateThreatModel operation.
- The fluent builder is configurable:
title(impl Into<String>)/set_title(Option<String>):
required: trueThe title of the threat model.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to create the threat model in.
description(impl Into<String>)/set_description(Option<String>):
required: falseA description of the application or system being threat modeled.
assets(Assets)/set_assets(Option<Assets>):
required: falseThe assets to include in the threat model.
scope_docs(DocumentInfo)/set_scope_docs(Option<Vec::<DocumentInfo>>):
required: falseThe scoped documents for the agent to focus on during threat modeling.
service_role(impl Into<String>)/set_service_role(Option<String>):
required: trueThe IAM service role to use for the threat model.
log_config(CloudWatchLog)/set_log_config(Option<CloudWatchLog>):
required: falseThe CloudWatch Logs configuration for the threat model.
report_destination(ReportDestination)/set_report_destination(Option<ReportDestination>):
required: falseThe destination for publishing scan reports to an integrated document provider.
- On success, responds with
CreateThreatModelOutputwith field(s):threat_model_id(String):The unique identifier of the created threat model.
title(Option<String>):The title of the threat model.
agent_space_id(Option<String>):The unique identifier of the agent space that contains the threat model.
description(Option<String>):A description of the application or system being threat modeled.
assets(Option<Assets>):The assets included in the threat model.
scope_docs(Option<Vec::<DocumentInfo>>):The scoped documents for the agent to focus on during threat modeling.
service_role(Option<String>):The IAM service role used for the threat model.
log_config(Option<CloudWatchLog>):The CloudWatch Logs configuration for the threat model.
created_at(Option<DateTime>):The date and time the threat model was created, in UTC format.
updated_at(Option<DateTime>):The date and time the threat model was last updated, in UTC format.
- On failure, responds with
SdkError<CreateThreatModelError>
Source§impl Client
impl Client
Sourcepub fn delete_agent_space(&self) -> DeleteAgentSpaceFluentBuilder
pub fn delete_agent_space(&self) -> DeleteAgentSpaceFluentBuilder
Constructs a fluent builder for the DeleteAgentSpace operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to delete.
- On success, responds with
DeleteAgentSpaceOutputwith field(s):agent_space_id(Option<String>):The unique identifier of the deleted agent space.
- On failure, responds with
SdkError<DeleteAgentSpaceError>
Source§impl Client
impl Client
Sourcepub fn delete_application(&self) -> DeleteApplicationFluentBuilder
pub fn delete_application(&self) -> DeleteApplicationFluentBuilder
Constructs a fluent builder for the DeleteApplication operation.
- The fluent builder is configurable:
application_id(impl Into<String>)/set_application_id(Option<String>):
required: trueThe unique identifier of the application to delete.
- On success, responds with
DeleteApplicationOutput - On failure, responds with
SdkError<DeleteApplicationError>
Source§impl Client
impl Client
Sourcepub fn delete_artifact(&self) -> DeleteArtifactFluentBuilder
pub fn delete_artifact(&self) -> DeleteArtifactFluentBuilder
Constructs a fluent builder for the DeleteArtifact operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the artifact.
artifact_id(impl Into<String>)/set_artifact_id(Option<String>):
required: trueThe unique identifier of the artifact to delete.
- On success, responds with
DeleteArtifactOutput - On failure, responds with
SdkError<DeleteArtifactError>
Source§impl Client
impl Client
Sourcepub fn delete_integration(&self) -> DeleteIntegrationFluentBuilder
pub fn delete_integration(&self) -> DeleteIntegrationFluentBuilder
Constructs a fluent builder for the DeleteIntegration operation.
- The fluent builder is configurable:
integration_id(impl Into<String>)/set_integration_id(Option<String>):
required: trueThe unique identifier of the integration to delete.
- On success, responds with
DeleteIntegrationOutput - On failure, responds with
SdkError<DeleteIntegrationError>
Source§impl Client
impl Client
Sourcepub fn delete_membership(&self) -> DeleteMembershipFluentBuilder
pub fn delete_membership(&self) -> DeleteMembershipFluentBuilder
Constructs a fluent builder for the DeleteMembership operation.
- The fluent builder is configurable:
application_id(impl Into<String>)/set_application_id(Option<String>):
required: trueThe unique identifier of the application that contains the agent space.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to revoke access from.
membership_id(impl Into<String>)/set_membership_id(Option<String>):
required: trueThe unique identifier of the membership to delete.
member_type(MembershipType)/set_member_type(Option<MembershipType>):
required: falseThe type of member to remove.
- On success, responds with
DeleteMembershipOutput - On failure, responds with
SdkError<DeleteMembershipError>
Source§impl Client
impl Client
Sourcepub fn delete_private_connection(&self) -> DeletePrivateConnectionFluentBuilder
pub fn delete_private_connection(&self) -> DeletePrivateConnectionFluentBuilder
Constructs a fluent builder for the DeletePrivateConnection operation.
- The fluent builder is configurable:
private_connection_name(impl Into<String>)/set_private_connection_name(Option<String>):
required: trueThe name of the private connection to delete.
- On success, responds with
DeletePrivateConnectionOutputwith field(s):name(String):The name of the private connection.
r#type(PrivateConnectionType):The type of the private connection, indicating whether it is service-managed or self-managed.
status(PrivateConnectionStatus):The current status of the private connection.
resource_gateway_id(Option<String>):The identifier or ARN of the VPC Lattice resource gateway.
host_address(Option<String>):The IP address or DNS name of the target resource.
vpc_id(Option<String>):The identifier of the VPC the resource gateway is created in.
resource_configuration_id(Option<String>):The identifier or ARN of the VPC Lattice resource configuration.
certificate_expiry_time(Option<DateTime>):The date and time the connection’s certificate expires, in UTC format.
dns_resolution(Option<ResourceConfigDnsResolution>):The DNS resolution mode for the resource gateway.
failure_message(Option<String>):A message describing why the private connection entered a failed state, if applicable.
tags(Option<HashMap::<String, String>>):The tags attached to the private connection.
- On failure, responds with
SdkError<DeletePrivateConnectionError>
Source§impl Client
impl Client
Sourcepub fn delete_security_requirement_pack(
&self,
) -> DeleteSecurityRequirementPackFluentBuilder
pub fn delete_security_requirement_pack( &self, ) -> DeleteSecurityRequirementPackFluentBuilder
Constructs a fluent builder for the DeleteSecurityRequirementPack operation.
- The fluent builder is configurable:
pack_id(impl Into<String>)/set_pack_id(Option<String>):
required: trueThe unique identifier of the security requirement pack to delete.
- On success, responds with
DeleteSecurityRequirementPackOutput - On failure, responds with
SdkError<DeleteSecurityRequirementPackError>
Source§impl Client
impl Client
Sourcepub fn delete_target_domain(&self) -> DeleteTargetDomainFluentBuilder
pub fn delete_target_domain(&self) -> DeleteTargetDomainFluentBuilder
Constructs a fluent builder for the DeleteTargetDomain operation.
- The fluent builder is configurable:
target_domain_id(impl Into<String>)/set_target_domain_id(Option<String>):
required: trueThe unique identifier of the target domain to delete.
- On success, responds with
DeleteTargetDomainOutputwith field(s):target_domain_id(Option<String>):The unique identifier of the deleted target domain.
- On failure, responds with
SdkError<DeleteTargetDomainError>
Source§impl Client
impl Client
Sourcepub fn describe_private_connection(
&self,
) -> DescribePrivateConnectionFluentBuilder
pub fn describe_private_connection( &self, ) -> DescribePrivateConnectionFluentBuilder
Constructs a fluent builder for the DescribePrivateConnection operation.
- The fluent builder is configurable:
private_connection_name(impl Into<String>)/set_private_connection_name(Option<String>):
required: trueThe name of the private connection to describe.
- On success, responds with
DescribePrivateConnectionOutputwith field(s):name(String):The name of the private connection.
r#type(PrivateConnectionType):The type of the private connection, indicating whether it is service-managed or self-managed.
status(PrivateConnectionStatus):The current status of the private connection.
resource_gateway_id(Option<String>):The identifier or ARN of the VPC Lattice resource gateway.
host_address(Option<String>):The IP address or DNS name of the target resource.
vpc_id(Option<String>):The identifier of the VPC the resource gateway is created in.
resource_configuration_id(Option<String>):The identifier or ARN of the VPC Lattice resource configuration.
certificate_expiry_time(Option<DateTime>):The date and time the connection’s certificate expires, in UTC format.
dns_resolution(Option<ResourceConfigDnsResolution>):The DNS resolution mode for the resource gateway.
failure_message(Option<String>):A message describing why the private connection entered a failed state, if applicable.
tags(Option<HashMap::<String, String>>):The tags attached to the private connection.
- On failure, responds with
SdkError<DescribePrivateConnectionError>
Source§impl Client
impl Client
Sourcepub fn get_application(&self) -> GetApplicationFluentBuilder
pub fn get_application(&self) -> GetApplicationFluentBuilder
Constructs a fluent builder for the GetApplication operation.
- The fluent builder is configurable:
application_id(impl Into<String>)/set_application_id(Option<String>):
required: trueThe unique identifier of the application to retrieve.
- On success, responds with
GetApplicationOutputwith field(s):application_id(String):The unique identifier of the application.
domain(String):The domain associated with the application.
application_name(Option<String>):The name of the application.
idc_configuration(Option<IdCConfiguration>):The IAM Identity Center configuration for the application.
role_arn(Option<String>):The Amazon Resource Name (ARN) of the IAM role associated with the application.
default_kms_key_id(Option<String>):The identifier of the default AWS KMS key used to encrypt data for the application.
- On failure, responds with
SdkError<GetApplicationError>
Source§impl Client
impl Client
Sourcepub fn get_artifact(&self) -> GetArtifactFluentBuilder
pub fn get_artifact(&self) -> GetArtifactFluentBuilder
Constructs a fluent builder for the GetArtifact operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the artifact.
artifact_id(impl Into<String>)/set_artifact_id(Option<String>):
required: trueThe unique identifier of the artifact to retrieve.
- On success, responds with
GetArtifactOutputwith field(s):agent_space_id(String):The unique identifier of the agent space that contains the artifact.
artifact_id(String):The unique identifier of the artifact.
artifact(Option<Artifact>):The artifact content and type.
file_name(String):The file name of the artifact.
updated_at(DateTime):The date and time the artifact was last updated, in UTC format.
- On failure, responds with
SdkError<GetArtifactError>
Source§impl Client
impl Client
Sourcepub fn get_integration(&self) -> GetIntegrationFluentBuilder
pub fn get_integration(&self) -> GetIntegrationFluentBuilder
Constructs a fluent builder for the GetIntegration operation.
- The fluent builder is configurable:
integration_id(impl Into<String>)/set_integration_id(Option<String>):
required: trueThe unique identifier of the integration to retrieve.
- On success, responds with
GetIntegrationOutputwith field(s):integration_id(String):The unique identifier of the integration.
installation_id(String):The installation identifier from the integration provider.
provider(Provider):The integration provider.
provider_type(ProviderType):The type of the integration provider.
display_name(Option<String>):The display name of the integration.
kms_key_id(Option<String>):The identifier of the AWS KMS key used to encrypt data associated with the integration.
target_url(Option<String>):The HTTPS URL of the customer self-hosted instance, such as a GitHub Enterprise Server or self-managed GitLab instance. This value is absent for SaaS integrations.
private_connection_name(Option<String>):The name of the private connection used to reach the integration’s self-hosted instance over private networking, if one is configured.
- On failure, responds with
SdkError<GetIntegrationError>
Source§impl Client
impl Client
Sourcepub fn get_security_requirement_pack(
&self,
) -> GetSecurityRequirementPackFluentBuilder
pub fn get_security_requirement_pack( &self, ) -> GetSecurityRequirementPackFluentBuilder
Constructs a fluent builder for the GetSecurityRequirementPack operation.
- The fluent builder is configurable:
pack_id(impl Into<String>)/set_pack_id(Option<String>):
required: trueThe unique identifier of the security requirement pack to retrieve.
- On success, responds with
GetSecurityRequirementPackOutputwith field(s):pack_id(String):The unique identifier of the security requirement pack.
name(String):The name of the security requirement pack.
description(Option<String>):A description of the security requirement pack.
vendor_name(Option<String>):The vendor name for AWS managed packs, such as ISO or NIST.
management_type(ManagementType):The management type of the pack. Valid values are AWS_MANAGED and CUSTOMER_MANAGED.
status(SecurityRequirementPackStatus):The status of the security requirement pack.
import_status(Option<SecurityRequirementPackImportStatus>):The status of the security requirements import workflow for this pack.
created_at(DateTime):The date and time the security requirement pack was created, in UTC format.
updated_at(DateTime):The date and time the security requirement pack was last updated, in UTC format.
kms_key_id(Option<String>):The identifier of the AWS KMS key used to encrypt pack contents.
- On failure, responds with
SdkError<GetSecurityRequirementPackError>
Source§impl Client
impl Client
Sourcepub fn import_security_requirements(
&self,
) -> ImportSecurityRequirementsFluentBuilder
pub fn import_security_requirements( &self, ) -> ImportSecurityRequirementsFluentBuilder
Constructs a fluent builder for the ImportSecurityRequirements operation.
- The fluent builder is configurable:
pack_id(impl Into<String>)/set_pack_id(Option<String>):
required: trueThe unique identifier of the security requirement pack to import requirements into.
input(ImportSource)/set_input(Option<ImportSource>):
required: trueThe import source containing the documents to extract security requirements from.
- On success, responds with
ImportSecurityRequirementsOutputwith field(s):pack_id(String):The unique identifier of the security requirement pack.
import_status(SecurityRequirementPackImportStatus):The status of the import workflow.
- On failure, responds with
SdkError<ImportSecurityRequirementsError>
Source§impl Client
impl Client
Sourcepub fn initiate_provider_registration(
&self,
) -> InitiateProviderRegistrationFluentBuilder
pub fn initiate_provider_registration( &self, ) -> InitiateProviderRegistrationFluentBuilder
Constructs a fluent builder for the InitiateProviderRegistration operation.
- The fluent builder is configurable:
provider(Provider)/set_provider(Option<Provider>):
required: trueThe provider to initiate registration with. Currently, only GITHUB is supported.
- On success, responds with
InitiateProviderRegistrationOutputwith field(s):redirect_to(String):The URL to redirect the user to for completing the OAuth authorization.
csrf_state(String):The CSRF state token to use when completing the OAuth flow.
- On failure, responds with
SdkError<InitiateProviderRegistrationError>
Source§impl Client
impl Client
Sourcepub fn list_agent_spaces(&self) -> ListAgentSpacesFluentBuilder
pub fn list_agent_spaces(&self) -> ListAgentSpacesFluentBuilder
Constructs a fluent builder for the ListAgentSpaces operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
- On success, responds with
ListAgentSpacesOutputwith field(s):agent_space_summaries(Option<Vec::<AgentSpaceSummary>>):The list of agent space summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListAgentSpacesError>
Source§impl Client
impl Client
Sourcepub fn list_applications(&self) -> ListApplicationsFluentBuilder
pub fn list_applications(&self) -> ListApplicationsFluentBuilder
Constructs a fluent builder for the ListApplications operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
- On success, responds with
ListApplicationsOutputwith field(s):application_summaries(Vec::<ApplicationSummary>):The list of application summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListApplicationsError>
Source§impl Client
impl Client
Sourcepub fn list_artifacts(&self) -> ListArtifactsFluentBuilder
pub fn list_artifacts(&self) -> ListArtifactsFluentBuilder
Constructs a fluent builder for the ListArtifacts operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to list artifacts for.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
- On success, responds with
ListArtifactsOutputwith field(s):artifact_summaries(Vec::<ArtifactSummary>):The list of artifact summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListArtifactsError>
Source§impl Client
impl Client
Sourcepub fn list_code_review_job_tasks(&self) -> ListCodeReviewJobTasksFluentBuilder
pub fn list_code_review_job_tasks(&self) -> ListCodeReviewJobTasksFluentBuilder
Constructs a fluent builder for the ListCodeReviewJobTasks operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
code_review_job_id(impl Into<String>)/set_code_review_job_id(Option<String>):
required: falseThe unique identifier of the code review job to list tasks for.
step_name(StepName)/set_step_name(Option<StepName>):
required: falseFilter tasks by step name.
category_name(impl Into<String>)/set_category_name(Option<String>):
required: falseFilter tasks by category name.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On success, responds with
ListCodeReviewJobTasksOutputwith field(s):code_review_job_task_summaries(Option<Vec::<CodeReviewJobTaskSummary>>):The list of code review job task summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListCodeReviewJobTasksError>
Source§impl Client
impl Client
Sourcepub fn list_code_review_jobs_for_code_review(
&self,
) -> ListCodeReviewJobsForCodeReviewFluentBuilder
pub fn list_code_review_jobs_for_code_review( &self, ) -> ListCodeReviewJobsForCodeReviewFluentBuilder
Constructs a fluent builder for the ListCodeReviewJobsForCodeReview operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
code_review_id(impl Into<String>)/set_code_review_id(Option<String>):
required: trueThe unique identifier of the code review to list jobs for.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On success, responds with
ListCodeReviewJobsForCodeReviewOutputwith field(s):code_review_job_summaries(Option<Vec::<CodeReviewJobSummary>>):The list of code review job summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListCodeReviewJobsForCodeReviewError>
Source§impl Client
impl Client
Sourcepub fn list_code_reviews(&self) -> ListCodeReviewsFluentBuilder
pub fn list_code_reviews(&self) -> ListCodeReviewsFluentBuilder
Constructs a fluent builder for the ListCodeReviews operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to list code reviews for.
- On success, responds with
ListCodeReviewsOutputwith field(s):code_review_summaries(Option<Vec::<CodeReviewSummary>>):The list of code review summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListCodeReviewsError>
Source§impl Client
impl Client
Sourcepub fn list_discovered_endpoints(&self) -> ListDiscoveredEndpointsFluentBuilder
pub fn list_discovered_endpoints(&self) -> ListDiscoveredEndpointsFluentBuilder
Constructs a fluent builder for the ListDiscoveredEndpoints operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
pentest_job_id(impl Into<String>)/set_pentest_job_id(Option<String>):
required: trueThe unique identifier of the pentest job to list discovered endpoints for.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
prefix(impl Into<String>)/set_prefix(Option<String>):
required: falseA prefix to filter discovered endpoints by URI.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On success, responds with
ListDiscoveredEndpointsOutputwith field(s):discovered_endpoints(Option<Vec::<DiscoveredEndpoint>>):The list of discovered endpoints.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListDiscoveredEndpointsError>
Source§impl Client
impl Client
Sourcepub fn list_findings(&self) -> ListFindingsFluentBuilder
pub fn list_findings(&self) -> ListFindingsFluentBuilder
Constructs a fluent builder for the ListFindings operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
pentest_job_id(impl Into<String>)/set_pentest_job_id(Option<String>):
required: falseThe unique identifier of the pentest job to list findings for.
code_review_job_id(impl Into<String>)/set_code_review_job_id(Option<String>):
required: falseThe unique identifier of the code review job to list findings for. Mutually exclusive with pentestJobId.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
risk_type(impl Into<String>)/set_risk_type(Option<String>):
required: falseFilter findings by risk type.
risk_level(RiskLevel)/set_risk_level(Option<RiskLevel>):
required: falseFilter findings by risk level.
status(FindingStatus)/set_status(Option<FindingStatus>):
required: falseFilter findings by status.
confidence(ConfidenceLevel)/set_confidence(Option<ConfidenceLevel>):
required: falseFilter findings by confidence level.
name(impl Into<String>)/set_name(Option<String>):
required: falseFilter findings by name.
- On success, responds with
ListFindingsOutputwith field(s):findings_summaries(Option<Vec::<FindingSummary>>):The list of finding summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListFindingsError>
Source§impl Client
impl Client
Sourcepub fn list_integrated_resources(&self) -> ListIntegratedResourcesFluentBuilder
pub fn list_integrated_resources(&self) -> ListIntegratedResourcesFluentBuilder
Constructs a fluent builder for the ListIntegratedResources operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to list integrated resources for.
integration_id(impl Into<String>)/set_integration_id(Option<String>):
required: falseThe unique identifier of the integration to filter by.
resource_type(ResourceType)/set_resource_type(Option<ResourceType>):
required: falseThe type of resource to filter by.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
- On success, responds with
ListIntegratedResourcesOutputwith field(s):integrated_resource_summaries(Vec::<IntegratedResourceSummary>):The list of integrated resource summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListIntegratedResourcesError>
Source§impl Client
impl Client
Sourcepub fn list_integrations(&self) -> ListIntegrationsFluentBuilder
pub fn list_integrations(&self) -> ListIntegrationsFluentBuilder
Constructs a fluent builder for the ListIntegrations operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
filter(IntegrationFilter)/set_filter(Option<IntegrationFilter>):
required: falseA filter to apply to the list of integrations.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
- On success, responds with
ListIntegrationsOutputwith field(s):integration_summaries(Vec::<IntegrationSummary>):The list of integration summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListIntegrationsError>
Source§impl Client
impl Client
Sourcepub fn list_memberships(&self) -> ListMembershipsFluentBuilder
pub fn list_memberships(&self) -> ListMembershipsFluentBuilder
Constructs a fluent builder for the ListMemberships operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
application_id(impl Into<String>)/set_application_id(Option<String>):
required: trueThe unique identifier of the application that contains the agent space.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to list memberships for.
member_type(MembershipTypeFilter)/set_member_type(Option<MembershipTypeFilter>):
required: falseFilter memberships by member type.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On success, responds with
ListMembershipsOutputwith field(s):membership_summaries(Vec::<MembershipSummary>):The list of membership summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListMembershipsError>
Source§impl Client
impl Client
Sourcepub fn list_pentest_job_tasks(&self) -> ListPentestJobTasksFluentBuilder
pub fn list_pentest_job_tasks(&self) -> ListPentestJobTasksFluentBuilder
Constructs a fluent builder for the ListPentestJobTasks operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
pentest_job_id(impl Into<String>)/set_pentest_job_id(Option<String>):
required: falseThe unique identifier of the pentest job to list tasks for.
step_name(StepName)/set_step_name(Option<StepName>):
required: falseFilter tasks by step name. Valid values include PREFLIGHT, STATIC_ANALYSIS, PENTEST, VALIDATION, and FINALIZING.
category_name(impl Into<String>)/set_category_name(Option<String>):
required: falseFilter tasks by category name.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On success, responds with
ListPentestJobTasksOutputwith field(s):task_summaries(Option<Vec::<TaskSummary>>):The list of task summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListPentestJobTasksError>
Source§impl Client
impl Client
Sourcepub fn list_pentest_jobs_for_pentest(
&self,
) -> ListPentestJobsForPentestFluentBuilder
pub fn list_pentest_jobs_for_pentest( &self, ) -> ListPentestJobsForPentestFluentBuilder
Constructs a fluent builder for the ListPentestJobsForPentest operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
pentest_id(impl Into<String>)/set_pentest_id(Option<String>):
required: trueThe unique identifier of the pentest to list jobs for.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On success, responds with
ListPentestJobsForPentestOutputwith field(s):pentest_job_summaries(Option<Vec::<PentestJobSummary>>):The list of pentest job summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListPentestJobsForPentestError>
Source§impl Client
impl Client
Sourcepub fn list_pentests(&self) -> ListPentestsFluentBuilder
pub fn list_pentests(&self) -> ListPentestsFluentBuilder
Constructs a fluent builder for the ListPentests operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to list pentests for.
- On success, responds with
ListPentestsOutputwith field(s):pentest_summaries(Option<Vec::<PentestSummary>>):The list of pentest summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListPentestsError>
Source§impl Client
impl Client
Sourcepub fn list_private_connections(&self) -> ListPrivateConnectionsFluentBuilder
pub fn list_private_connections(&self) -> ListPrivateConnectionsFluentBuilder
Constructs a fluent builder for the ListPrivateConnections operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of private connections to return in a single response.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe token for the next page of results.
- On success, responds with
ListPrivateConnectionsOutputwith field(s):private_connections(Vec::<PrivateConnectionSummary>):The list of private connections.
next_token(Option<String>):The token to use to retrieve the next page of results, if more results are available.
- On failure, responds with
SdkError<ListPrivateConnectionsError>
Source§impl Client
impl Client
Sourcepub fn list_security_requirement_packs(
&self,
) -> ListSecurityRequirementPacksFluentBuilder
pub fn list_security_requirement_packs( &self, ) -> ListSecurityRequirementPacksFluentBuilder
Constructs a fluent builder for the ListSecurityRequirementPacks operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
filter(ListSecurityRequirementPackFilter)/set_filter(Option<ListSecurityRequirementPackFilter>):
required: falseThe filter criteria for listing security requirement packs.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe pagination token from a previous request to retrieve the next page of results.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single request.
- On success, responds with
ListSecurityRequirementPacksOutputwith field(s):security_requirement_pack_summaries(Vec::<SecurityRequirementPackSummary>):The list of security requirement pack summaries.
next_token(Option<String>):The pagination token to use in a subsequent request to retrieve the next page of results.
- On failure, responds with
SdkError<ListSecurityRequirementPacksError>
Source§impl Client
impl Client
Sourcepub fn list_security_requirements(
&self,
) -> ListSecurityRequirementsFluentBuilder
pub fn list_security_requirements( &self, ) -> ListSecurityRequirementsFluentBuilder
Constructs a fluent builder for the ListSecurityRequirements operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
pack_id(impl Into<String>)/set_pack_id(Option<String>):
required: trueThe unique identifier of the security requirement pack to list requirements for.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseThe pagination token from a previous request to retrieve the next page of results.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single request.
- On success, responds with
ListSecurityRequirementsOutputwith field(s):security_requirement_summaries(Vec::<SecurityRequirementSummary>):The list of security requirement summaries.
next_token(Option<String>):The pagination token to use in a subsequent request to retrieve the next page of results.
- On failure, responds with
SdkError<ListSecurityRequirementsError>
Source§impl Client
impl Client
Constructs a fluent builder for the ListTagsForResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the resource to list tags for.
- On success, responds with
ListTagsForResourceOutputwith field(s):tags(Option<HashMap::<String, String>>):The tags associated with the resource.
- On failure, responds with
SdkError<ListTagsForResourceError>
Source§impl Client
impl Client
Sourcepub fn list_target_domains(&self) -> ListTargetDomainsFluentBuilder
pub fn list_target_domains(&self) -> ListTargetDomainsFluentBuilder
Constructs a fluent builder for the ListTargetDomains operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
- On success, responds with
ListTargetDomainsOutputwith field(s):target_domain_summaries(Option<Vec::<TargetDomainSummary>>):The list of target domain summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
- On failure, responds with
SdkError<ListTargetDomainsError>
Source§impl Client
impl Client
Sourcepub fn list_threat_model_job_tasks(
&self,
) -> ListThreatModelJobTasksFluentBuilder
pub fn list_threat_model_job_tasks( &self, ) -> ListThreatModelJobTasksFluentBuilder
Constructs a fluent builder for the ListThreatModelJobTasks operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
threat_model_job_id(impl Into<String>)/set_threat_model_job_id(Option<String>):
required: trueThe unique identifier of the threat model job to list tasks for.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response.
- On success, responds with
ListThreatModelJobTasksOutputwith field(s):threat_model_job_task_summaries(Option<Vec::<ThreatModelJobTaskSummary>>):The list of threat model job task summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response.
- On failure, responds with
SdkError<ListThreatModelJobTasksError>
Source§impl Client
impl Client
Sourcepub fn list_threat_model_jobs(&self) -> ListThreatModelJobsFluentBuilder
pub fn list_threat_model_jobs(&self) -> ListThreatModelJobsFluentBuilder
Constructs a fluent builder for the ListThreatModelJobs operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
threat_model_id(impl Into<String>)/set_threat_model_id(Option<String>):
required: trueThe unique identifier of the threat model to list jobs for.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response.
- On success, responds with
ListThreatModelJobsOutputwith field(s):threat_model_job_summaries(Option<Vec::<ThreatModelJobSummary>>):The list of threat model job summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response.
- On failure, responds with
SdkError<ListThreatModelJobsError>
Source§impl Client
impl Client
Sourcepub fn list_threat_models(&self) -> ListThreatModelsFluentBuilder
pub fn list_threat_models(&self) -> ListThreatModelsFluentBuilder
Constructs a fluent builder for the ListThreatModels operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to list threat models for.
- On success, responds with
ListThreatModelsOutputwith field(s):threat_model_summaries(Option<Vec::<ThreatModelSummary>>):The list of threat model summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response.
- On failure, responds with
SdkError<ListThreatModelsError>
Source§impl Client
impl Client
Sourcepub fn list_threats(&self) -> ListThreatsFluentBuilder
pub fn list_threats(&self) -> ListThreatsFluentBuilder
Constructs a fluent builder for the ListThreats operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
threat_job_id(impl Into<String>)/set_threat_job_id(Option<String>):
required: trueThe unique identifier of the threat model job to list threats for.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
next_token(impl Into<String>)/set_next_token(Option<String>):
required: falseA token to use for paginating results that are returned in the response.
max_results(i32)/set_max_results(Option<i32>):
required: falseThe maximum number of results to return in a single call.
- On success, responds with
ListThreatsOutputwith field(s):threats(Option<Vec::<ThreatSummary>>):The list of threat summaries.
next_token(Option<String>):A token to use for paginating results that are returned in the response.
- On failure, responds with
SdkError<ListThreatsError>
Source§impl Client
impl Client
Sourcepub fn start_code_remediation(&self) -> StartCodeRemediationFluentBuilder
pub fn start_code_remediation(&self) -> StartCodeRemediationFluentBuilder
Constructs a fluent builder for the StartCodeRemediation operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
pentest_job_id(impl Into<String>)/set_pentest_job_id(Option<String>):
required: falseThe unique identifier of the pentest job that produced the findings. Mutually exclusive with
codeReviewJobId.code_review_job_id(impl Into<String>)/set_code_review_job_id(Option<String>):
required: falseThe unique identifier of the code review job that produced the findings. Mutually exclusive with
pentestJobId.finding_ids(impl Into<String>)/set_finding_ids(Option<Vec::<String>>):
required: trueThe list of finding identifiers to initiate code remediation for.
- On success, responds with
StartCodeRemediationOutput - On failure, responds with
SdkError<StartCodeRemediationError>
Source§impl Client
impl Client
Sourcepub fn start_code_review_job(&self) -> StartCodeReviewJobFluentBuilder
pub fn start_code_review_job(&self) -> StartCodeReviewJobFluentBuilder
Constructs a fluent builder for the StartCodeReviewJob operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
code_review_id(impl Into<String>)/set_code_review_id(Option<String>):
required: trueThe unique identifier of the code review to start a job for.
diff_source(DiffSource)/set_diff_source(Option<DiffSource>):
required: falseSource of the diff for a differential scan. When present, the job analyzes only the changed lines instead of performing a full scan.
- On success, responds with
StartCodeReviewJobOutputwith field(s):title(Option<String>):The title of the code review job.
status(Option<JobStatus>):The current status of the code review job.
created_at(Option<DateTime>):The date and time the code review job was created, in UTC format.
updated_at(Option<DateTime>):The date and time the code review job was last updated, in UTC format.
code_review_id(String):The unique identifier of the code review.
code_review_job_id(String):The unique identifier of the started code review job.
agent_space_id(Option<String>):The unique identifier of the agent space.
- On failure, responds with
SdkError<StartCodeReviewJobError>
Source§impl Client
impl Client
Sourcepub fn start_pentest_job(&self) -> StartPentestJobFluentBuilder
pub fn start_pentest_job(&self) -> StartPentestJobFluentBuilder
Constructs a fluent builder for the StartPentestJob operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
pentest_id(impl Into<String>)/set_pentest_id(Option<String>):
required: trueThe unique identifier of the pentest to start a job for.
- On success, responds with
StartPentestJobOutputwith field(s):title(Option<String>):The title of the pentest job.
status(Option<JobStatus>):The current status of the pentest job.
created_at(Option<DateTime>):The date and time the pentest job was created, in UTC format.
updated_at(Option<DateTime>):The date and time the pentest job was last updated, in UTC format.
pentest_id(Option<String>):The unique identifier of the pentest.
pentest_job_id(Option<String>):The unique identifier of the started pentest job.
agent_space_id(Option<String>):The unique identifier of the agent space.
- On failure, responds with
SdkError<StartPentestJobError>
Source§impl Client
impl Client
Sourcepub fn start_threat_model_job(&self) -> StartThreatModelJobFluentBuilder
pub fn start_threat_model_job(&self) -> StartThreatModelJobFluentBuilder
Constructs a fluent builder for the StartThreatModelJob operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
threat_model_id(impl Into<String>)/set_threat_model_id(Option<String>):
required: trueThe unique identifier of the threat model to start a job for.
- On success, responds with
StartThreatModelJobOutputwith field(s):title(Option<String>):The title of the threat model job.
status(Option<JobStatus>):The current status of the threat model job.
created_at(Option<DateTime>):The date and time the threat model job was created, in UTC format.
updated_at(Option<DateTime>):The date and time the threat model job was last updated, in UTC format.
threat_model_id(Option<String>):The unique identifier of the threat model.
threat_model_job_id(String):The unique identifier of the started threat model job.
agent_space_id(Option<String>):The unique identifier of the agent space.
- On failure, responds with
SdkError<StartThreatModelJobError>
Source§impl Client
impl Client
Sourcepub fn stop_code_review_job(&self) -> StopCodeReviewJobFluentBuilder
pub fn stop_code_review_job(&self) -> StopCodeReviewJobFluentBuilder
Constructs a fluent builder for the StopCodeReviewJob operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
code_review_job_id(impl Into<String>)/set_code_review_job_id(Option<String>):
required: trueThe unique identifier of the code review job to stop.
- On success, responds with
StopCodeReviewJobOutput - On failure, responds with
SdkError<StopCodeReviewJobError>
Source§impl Client
impl Client
Sourcepub fn stop_pentest_job(&self) -> StopPentestJobFluentBuilder
pub fn stop_pentest_job(&self) -> StopPentestJobFluentBuilder
Constructs a fluent builder for the StopPentestJob operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
pentest_job_id(impl Into<String>)/set_pentest_job_id(Option<String>):
required: trueThe unique identifier of the pentest job to stop.
- On success, responds with
StopPentestJobOutput - On failure, responds with
SdkError<StopPentestJobError>
Source§impl Client
impl Client
Sourcepub fn stop_threat_model_job(&self) -> StopThreatModelJobFluentBuilder
pub fn stop_threat_model_job(&self) -> StopThreatModelJobFluentBuilder
Constructs a fluent builder for the StopThreatModelJob operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
threat_model_job_id(impl Into<String>)/set_threat_model_job_id(Option<String>):
required: trueThe unique identifier of the threat model job to stop.
- On success, responds with
StopThreatModelJobOutput - On failure, responds with
SdkError<StopThreatModelJobError>
Source§impl Client
impl Client
Sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
pub fn tag_resource(&self) -> TagResourceFluentBuilder
Constructs a fluent builder for the TagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the resource to tag.
tags(impl Into<String>, impl Into<String>)/set_tags(Option<HashMap::<String, String>>):
required: trueThe tags to add to the resource.
- On success, responds with
TagResourceOutput - On failure, responds with
SdkError<TagResourceError>
Source§impl Client
impl Client
Sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
Constructs a fluent builder for the UntagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):
required: trueThe Amazon Resource Name (ARN) of the resource to remove tags from.
tag_keys(impl Into<String>)/set_tag_keys(Option<Vec::<String>>):
required: trueThe list of tag keys to remove from the resource.
- On success, responds with
UntagResourceOutput - On failure, responds with
SdkError<UntagResourceError>
Source§impl Client
impl Client
Sourcepub fn update_agent_space(&self) -> UpdateAgentSpaceFluentBuilder
pub fn update_agent_space(&self) -> UpdateAgentSpaceFluentBuilder
Constructs a fluent builder for the UpdateAgentSpace operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space to update.
name(impl Into<String>)/set_name(Option<String>):
required: falseThe updated name of the agent space.
description(impl Into<String>)/set_description(Option<String>):
required: falseThe updated description of the agent space.
aws_resources(AwsResources)/set_aws_resources(Option<AwsResources>):
required: falseThe updated AWS resources to associate with the agent space.
target_domain_ids(impl Into<String>)/set_target_domain_ids(Option<Vec::<String>>):
required: falseThe updated list of target domain identifiers to associate with the agent space.
code_review_settings(CodeReviewSettings)/set_code_review_settings(Option<CodeReviewSettings>):
required: falseThe updated code review settings for the agent space.
- On success, responds with
UpdateAgentSpaceOutputwith field(s):agent_space_id(String):The unique identifier of the updated agent space.
name(String):The name of the agent space.
description(Option<String>):The description of the agent space.
aws_resources(Option<AwsResources>):The AWS resources associated with the agent space.
target_domain_ids(Option<Vec::<String>>):The list of target domain identifiers associated with the agent space.
code_review_settings(Option<CodeReviewSettings>):The code review settings for the agent space.
created_at(Option<DateTime>):The date and time the agent space was created, in UTC format.
updated_at(Option<DateTime>):The date and time the agent space was last updated, in UTC format.
- On failure, responds with
SdkError<UpdateAgentSpaceError>
Source§impl Client
impl Client
Sourcepub fn update_application(&self) -> UpdateApplicationFluentBuilder
pub fn update_application(&self) -> UpdateApplicationFluentBuilder
Constructs a fluent builder for the UpdateApplication operation.
- The fluent builder is configurable:
application_id(impl Into<String>)/set_application_id(Option<String>):
required: trueThe unique identifier of the application to update.
role_arn(impl Into<String>)/set_role_arn(Option<String>):
required: falseThe updated Amazon Resource Name (ARN) of the IAM role for the application.
default_kms_key_id(impl Into<String>)/set_default_kms_key_id(Option<String>):
required: falseThe updated identifier of the default AWS KMS key for the application.
- On success, responds with
UpdateApplicationOutputwith field(s):application_id(String):The unique identifier of the updated application.
- On failure, responds with
SdkError<UpdateApplicationError>
Source§impl Client
impl Client
Sourcepub fn update_code_review(&self) -> UpdateCodeReviewFluentBuilder
pub fn update_code_review(&self) -> UpdateCodeReviewFluentBuilder
Constructs a fluent builder for the UpdateCodeReview operation.
- The fluent builder is configurable:
code_review_id(impl Into<String>)/set_code_review_id(Option<String>):
required: trueThe unique identifier of the code review to update.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the code review.
title(impl Into<String>)/set_title(Option<String>):
required: falseThe updated title of the code review.
assets(Assets)/set_assets(Option<Assets>):
required: falseThe updated assets for the code review.
service_role(impl Into<String>)/set_service_role(Option<String>):
required: falseThe updated IAM service role for the code review.
log_config(CloudWatchLog)/set_log_config(Option<CloudWatchLog>):
required: falseThe updated CloudWatch Logs configuration for the code review.
code_remediation_strategy(CodeRemediationStrategy)/set_code_remediation_strategy(Option<CodeRemediationStrategy>):
required: falseThe updated code remediation strategy for the code review.
validation_mode(ValidationMode)/set_validation_mode(Option<ValidationMode>):
required: falseThe updated validation mode for the code review. Valid values are SIMULATED and DISABLED.
- On success, responds with
UpdateCodeReviewOutputwith field(s):code_review_id(String):The unique identifier of the code review.
title(Option<String>):The title of the code review.
created_at(Option<DateTime>):The date and time the code review was created, in UTC format.
updated_at(Option<DateTime>):The date and time the code review was last updated, in UTC format.
assets(Option<Assets>):The assets included in the code review.
service_role(Option<String>):The IAM service role used for the code review.
log_config(Option<CloudWatchLog>):The CloudWatch Logs configuration for the code review.
agent_space_id(Option<String>):The unique identifier of the agent space that contains the code review.
code_remediation_strategy(Option<CodeRemediationStrategy>):The code remediation strategy for the code review.
validation_mode(Option<ValidationMode>):The validation mode for the code review.
- On failure, responds with
SdkError<UpdateCodeReviewError>
Source§impl Client
impl Client
Sourcepub fn update_finding(&self) -> UpdateFindingFluentBuilder
pub fn update_finding(&self) -> UpdateFindingFluentBuilder
Constructs a fluent builder for the UpdateFinding operation.
- The fluent builder is configurable:
finding_id(impl Into<String>)/set_finding_id(Option<String>):
required: trueThe unique identifier of the finding to update.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the finding.
name(impl Into<String>)/set_name(Option<String>):
required: falseThe updated name for the finding.
description(impl Into<String>)/set_description(Option<String>):
required: falseThe updated description for the finding.
risk_type(impl Into<String>)/set_risk_type(Option<String>):
required: falseThe updated risk type for the finding.
risk_level(RiskLevel)/set_risk_level(Option<RiskLevel>):
required: falseThe updated risk level for the finding.
risk_score(impl Into<String>)/set_risk_score(Option<String>):
required: falseThe updated numerical risk score for the finding.
attack_script(impl Into<String>)/set_attack_script(Option<String>):
required: falseThe updated attack script for the finding.
reasoning(impl Into<String>)/set_reasoning(Option<String>):
required: falseThe updated reasoning for the finding.
status(FindingStatus)/set_status(Option<FindingStatus>):
required: falseThe updated status for the finding.
customer_note(impl Into<String>)/set_customer_note(Option<String>):
required: falseA customer-provided note on the finding.
- On success, responds with
UpdateFindingOutput - On failure, responds with
SdkError<UpdateFindingError>
Source§impl Client
impl Client
Sourcepub fn update_integrated_resources(
&self,
) -> UpdateIntegratedResourcesFluentBuilder
pub fn update_integrated_resources( &self, ) -> UpdateIntegratedResourcesFluentBuilder
Constructs a fluent builder for the UpdateIntegratedResources operation.
- The fluent builder is configurable:
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
integration_id(impl Into<String>)/set_integration_id(Option<String>):
required: trueThe unique identifier of the integration.
items(IntegratedResourceInputItem)/set_items(Option<Vec::<IntegratedResourceInputItem>>):
required: trueThe list of integrated resource items to update.
- On success, responds with
UpdateIntegratedResourcesOutput - On failure, responds with
SdkError<UpdateIntegratedResourcesError>
Source§impl Client
impl Client
Sourcepub fn update_pentest(&self) -> UpdatePentestFluentBuilder
pub fn update_pentest(&self) -> UpdatePentestFluentBuilder
Constructs a fluent builder for the UpdatePentest operation.
- The fluent builder is configurable:
pentest_id(impl Into<String>)/set_pentest_id(Option<String>):
required: trueThe unique identifier of the pentest to update.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the pentest.
title(impl Into<String>)/set_title(Option<String>):
required: falseThe updated title of the pentest.
assets(Assets)/set_assets(Option<Assets>):
required: falseThe updated assets for the pentest.
exclude_risk_types(RiskType)/set_exclude_risk_types(Option<Vec::<RiskType>>):
required: falseThe updated list of risk types to exclude from the pentest.
service_role(impl Into<String>)/set_service_role(Option<String>):
required: falseThe updated IAM service role for the pentest.
log_config(CloudWatchLog)/set_log_config(Option<CloudWatchLog>):
required: falseThe updated CloudWatch Logs configuration for the pentest.
vpc_config(VpcConfig)/set_vpc_config(Option<VpcConfig>):
required: falseThe updated VPC configuration for the pentest.
network_traffic_config(NetworkTrafficConfig)/set_network_traffic_config(Option<NetworkTrafficConfig>):
required: falseThe updated network traffic configuration for the pentest.
code_remediation_strategy(CodeRemediationStrategy)/set_code_remediation_strategy(Option<CodeRemediationStrategy>):
required: falseThe updated code remediation strategy for the pentest.
disable_managed_skills(SkillType)/set_disable_managed_skills(Option<Vec::<SkillType>>):
required: falseThe updated list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.
- On success, responds with
UpdatePentestOutputwith field(s):pentest_id(Option<String>):The unique identifier of the pentest.
title(Option<String>):The title of the pentest.
created_at(Option<DateTime>):The date and time the pentest was created, in UTC format.
updated_at(Option<DateTime>):The date and time the pentest was last updated, in UTC format.
assets(Option<Assets>):The assets included in the pentest.
exclude_risk_types(Option<Vec::<RiskType>>):The list of risk types excluded from the pentest.
service_role(Option<String>):The IAM service role used for the pentest.
log_config(Option<CloudWatchLog>):The CloudWatch Logs configuration for the pentest.
agent_space_id(Option<String>):The unique identifier of the agent space that contains the pentest.
- On failure, responds with
SdkError<UpdatePentestError>
Source§impl Client
impl Client
Sourcepub fn update_private_connection_certificate(
&self,
) -> UpdatePrivateConnectionCertificateFluentBuilder
pub fn update_private_connection_certificate( &self, ) -> UpdatePrivateConnectionCertificateFluentBuilder
Constructs a fluent builder for the UpdatePrivateConnectionCertificate operation.
- The fluent builder is configurable:
private_connection_name(impl Into<String>)/set_private_connection_name(Option<String>):
required: trueThe name of the private connection to update.
certificate(impl Into<String>)/set_certificate(Option<String>):
required: trueThe PEM-encoded certificate chain for the private connection.
- On success, responds with
UpdatePrivateConnectionCertificateOutputwith field(s):name(String):The name of the private connection.
r#type(PrivateConnectionType):The type of the private connection, indicating whether it is service-managed or self-managed.
status(PrivateConnectionStatus):The current status of the private connection.
resource_gateway_id(Option<String>):The identifier or ARN of the VPC Lattice resource gateway.
host_address(Option<String>):The IP address or DNS name of the target resource.
vpc_id(Option<String>):The identifier of the VPC the resource gateway is created in.
resource_configuration_id(Option<String>):The identifier or ARN of the VPC Lattice resource configuration.
certificate_expiry_time(Option<DateTime>):The date and time the connection’s certificate expires, in UTC format.
dns_resolution(Option<ResourceConfigDnsResolution>):The DNS resolution mode for the resource gateway.
failure_message(Option<String>):A message describing why the private connection entered a failed state, if applicable.
tags(Option<HashMap::<String, String>>):The tags attached to the private connection.
- On failure, responds with
SdkError<UpdatePrivateConnectionCertificateError>
Source§impl Client
impl Client
Sourcepub fn update_security_requirement_pack(
&self,
) -> UpdateSecurityRequirementPackFluentBuilder
pub fn update_security_requirement_pack( &self, ) -> UpdateSecurityRequirementPackFluentBuilder
Constructs a fluent builder for the UpdateSecurityRequirementPack operation.
- The fluent builder is configurable:
pack_id(impl Into<String>)/set_pack_id(Option<String>):
required: trueThe unique identifier of the security requirement pack to update.
name(impl Into<String>)/set_name(Option<String>):
required: falseThe updated name of the security requirement pack.
description(impl Into<String>)/set_description(Option<String>):
required: falseThe updated description of the security requirement pack.
status(SecurityRequirementPackStatus)/set_status(Option<SecurityRequirementPackStatus>):
required: falseThe updated status of the security requirement pack.
- On success, responds with
UpdateSecurityRequirementPackOutputwith field(s):pack_id(String):The unique identifier of the security requirement pack.
name(Option<String>):The name of the security requirement pack.
description(Option<String>):The description of the security requirement pack.
status(Option<SecurityRequirementPackStatus>):The status of the security requirement pack.
- On failure, responds with
SdkError<UpdateSecurityRequirementPackError>
Source§impl Client
impl Client
Sourcepub fn update_target_domain(&self) -> UpdateTargetDomainFluentBuilder
pub fn update_target_domain(&self) -> UpdateTargetDomainFluentBuilder
Constructs a fluent builder for the UpdateTargetDomain operation.
- The fluent builder is configurable:
target_domain_id(impl Into<String>)/set_target_domain_id(Option<String>):
required: trueThe unique identifier of the target domain to update.
verification_method(DomainVerificationMethod)/set_verification_method(Option<DomainVerificationMethod>):
required: trueThe updated verification method for the target domain.
- On success, responds with
UpdateTargetDomainOutputwith field(s):target_domain_id(String):The unique identifier of the target domain.
domain_name(String):The domain name of the target domain.
verification_status(TargetDomainStatus):The current verification status of the target domain.
verification_status_reason(Option<String>):The reason for the current target domain verification status.
verification_details(Option<VerificationDetails>):The updated verification details for the target domain.
created_at(Option<DateTime>):The date and time the target domain was created, in UTC format.
verified_at(Option<DateTime>):The date and time the target domain was verified, in UTC format.
- On failure, responds with
SdkError<UpdateTargetDomainError>
Source§impl Client
impl Client
Sourcepub fn update_threat(&self) -> UpdateThreatFluentBuilder
pub fn update_threat(&self) -> UpdateThreatFluentBuilder
Constructs a fluent builder for the UpdateThreat operation.
- The fluent builder is configurable:
threat_id(impl Into<String>)/set_threat_id(Option<String>):
required: trueThe unique identifier of the threat to update.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space.
title(impl Into<String>)/set_title(Option<String>):
required: falseA short title summarizing the threat.
status(ThreatStatus)/set_status(Option<ThreatStatus>):
required: falseThe updated status of the threat.
comments(impl Into<String>)/set_comments(Option<String>):
required: falseOptional customer comment.
statement(impl Into<String>)/set_statement(Option<String>):
required: falseThe updated natural-language threat statement.
severity(ThreatSeverity)/set_severity(Option<ThreatSeverity>):
required: falseThe updated severity level of the threat.
threat_source(impl Into<String>)/set_threat_source(Option<String>):
required: falseThe updated actor or origin of the threat.
prerequisites(impl Into<String>)/set_prerequisites(Option<String>):
required: falseThe updated conditions required for the threat to be exploitable.
threat_action(impl Into<String>)/set_threat_action(Option<String>):
required: falseThe updated description of what the threat source can do.
threat_impact(impl Into<String>)/set_threat_impact(Option<String>):
required: falseThe updated direct consequence of the threat action.
impacted_goal(impl Into<String>)/set_impacted_goal(Option<Vec::<String>>):
required: falseThe updated security goals affected by the threat.
impacted_assets(impl Into<String>)/set_impacted_assets(Option<Vec::<String>>):
required: falseThe updated list of specific assets affected by the threat.
anchor(ThreatAnchorShape)/set_anchor(Option<ThreatAnchorShape>):
required: falseThe updated DFD element this threat is anchored to.
evidence(ThreatEvidenceShape)/set_evidence(Option<Vec::<ThreatEvidenceShape>>):
required: falseThe updated source code files supporting the threat.
recommendation(impl Into<String>)/set_recommendation(Option<String>):
required: falseThe updated recommended mitigation guidance for this threat.
- On success, responds with
UpdateThreatOutputwith field(s):threat_id(String):The unique identifier of the threat.
threat_job_id(String):The unique identifier of the threat model job the threat belongs to.
title(Option<String>):A short title summarizing the threat.
statement(Option<String>):The natural-language threat statement.
severity(Option<ThreatSeverity>):The severity level of the threat.
status(Option<ThreatStatus>):The current status of the threat.
comments(Option<String>):Optional customer comment on the threat.
stride(Option<Vec::<StrideCategory>>):The STRIDE categories applicable to this threat.
threat_source(Option<String>):The actor or origin of the threat.
prerequisites(Option<String>):The conditions required for the threat to be exploitable.
threat_action(Option<String>):What the threat source can do.
threat_impact(Option<String>):The direct consequence of the threat action.
impacted_goal(Option<Vec::<String>>):The security goals affected by the threat.
impacted_assets(Option<Vec::<String>>):The specific assets affected by the threat.
anchor(Option<ThreatAnchorShape>):The DFD element this threat is anchored to.
evidence(Option<Vec::<ThreatEvidenceShape>>):The source code files supporting the threat.
recommendation(Option<String>):The recommended mitigation guidance for this threat.
created_by(Option<ThreatActor>):Who created this threat.
updated_by(Option<ThreatActor>):Who last updated this threat.
created_at(Option<DateTime>):The date and time the threat was created, in UTC format.
updated_at(Option<DateTime>):The date and time the threat was last updated, in UTC format.
- On failure, responds with
SdkError<UpdateThreatError>
Source§impl Client
impl Client
Sourcepub fn update_threat_model(&self) -> UpdateThreatModelFluentBuilder
pub fn update_threat_model(&self) -> UpdateThreatModelFluentBuilder
Constructs a fluent builder for the UpdateThreatModel operation.
- The fluent builder is configurable:
threat_model_id(impl Into<String>)/set_threat_model_id(Option<String>):
required: trueThe unique identifier of the threat model to update.
agent_space_id(impl Into<String>)/set_agent_space_id(Option<String>):
required: trueThe unique identifier of the agent space that contains the threat model.
title(impl Into<String>)/set_title(Option<String>):
required: falseThe updated title of the threat model.
description(impl Into<String>)/set_description(Option<String>):
required: falseThe updated description of the application or system being threat modeled.
assets(Assets)/set_assets(Option<Assets>):
required: falseThe updated assets for the threat model.
scope_docs(DocumentInfo)/set_scope_docs(Option<Vec::<DocumentInfo>>):
required: falseThe updated scoped documents for the agent to focus on during threat modeling.
service_role(impl Into<String>)/set_service_role(Option<String>):
required: falseThe updated IAM service role for the threat model.
log_config(CloudWatchLog)/set_log_config(Option<CloudWatchLog>):
required: falseThe updated CloudWatch Logs configuration for the threat model.
- On success, responds with
UpdateThreatModelOutputwith field(s):threat_model_id(String):The unique identifier of the threat model.
title(Option<String>):The title of the threat model.
agent_space_id(Option<String>):The unique identifier of the agent space that contains the threat model.
description(Option<String>):A description of the application or system being threat modeled.
assets(Option<Assets>):The assets included in the threat model.
scope_docs(Option<Vec::<DocumentInfo>>):The scoped documents for the agent to focus on during threat modeling.
service_role(Option<String>):The IAM service role used for the threat model.
log_config(Option<CloudWatchLog>):The CloudWatch Logs configuration for the threat model.
created_at(Option<DateTime>):The date and time the threat model was created, in UTC format.
updated_at(Option<DateTime>):The date and time the threat model was last updated, in UTC format.
- On failure, responds with
SdkError<UpdateThreatModelError>
Source§impl Client
impl Client
Sourcepub fn verify_target_domain(&self) -> VerifyTargetDomainFluentBuilder
pub fn verify_target_domain(&self) -> VerifyTargetDomainFluentBuilder
Constructs a fluent builder for the VerifyTargetDomain operation.
- The fluent builder is configurable:
target_domain_id(impl Into<String>)/set_target_domain_id(Option<String>):
required: trueThe unique identifier of the target domain to verify.
- On success, responds with
VerifyTargetDomainOutputwith field(s):target_domain_id(Option<String>):The unique identifier of the target domain.
domain_name(Option<String>):The domain name of the target domain.
created_at(Option<DateTime>):The date and time the target domain was created, in UTC format.
updated_at(Option<DateTime>):The date and time the target domain was last updated, in UTC format.
verified_at(Option<DateTime>):The date and time the target domain was verified, in UTC format.
status(Option<TargetDomainStatus>):The verification status of the target domain.
verification_status_reason(Option<String>):The reason for the current target domain verification status.
- On failure, responds with
SdkError<VerifyTargetDomainError>
Source§impl Client
impl Client
Sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a
sleep_implconfigured. - Identity caching is enabled without a
sleep_implandtime_sourceconfigured. - No
behavior_versionis provided.
The panic message for each of these will have instructions on how to resolve them.
Source§impl Client
impl Client
Sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_configis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
sdk_configis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it. - This method will panic if no
BehaviorVersionis provided. If you experience this panic, setbehavior_versionon the Config or enable thebehavior-version-latestCargo feature.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
impl Freeze for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the foreground set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red() and
green(), which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg():
use yansi::{Paint, Color};
painted.fg(Color::White);Set foreground color to white using white().
use yansi::Paint;
painted.white();Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the background set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red() and
on_green(), which have the same functionality but
are pithier.
§Example
Set background color to red using fg():
use yansi::{Paint, Color};
painted.bg(Color::Red);Set background color to red using on_red().
use yansi::Paint;
painted.on_red();Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute value.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold() and
underline(), which have the same functionality
but are pithier.
§Example
Make text bold using attr():
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);Make text bold using using bold().
use yansi::Paint;
painted.bold();Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi Quirk value.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask() and
wrap(), which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk():
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);Enable wrapping using wrap().
use yansi::Paint;
painted.wrap();Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
fn clear(&self) -> Painted<&T>
renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted only when both stdout and stderr are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);