create_agent_space
¶
create_agent_space(
name: AgentName,
*,
config_overrides: Optional[SecurityAgentClientConfig] = None,
description: Optional[str] = None,
aws_resources: Optional[AWSResources] = None,
target_domain_ids: Optional[TargetDomainIdList] = None,
code_review_settings: Optional[CodeReviewSettings] = None,
kms_key_id: Optional[KmsKeyId] = None,
tags: Optional[TagMap] = None,
) -> CreateAgentSpaceOutput
Creates a new agent space. An agent space is a dedicated workspace for securing a specific application.
Parameters:
-
name(AgentName) –The name of the agent space.
-
description(Optional[str], default:None) –A description of the agent space.
-
aws_resources(Optional[AWSResources], default:None) –The AWS resources to associate with the agent space.
-
target_domain_ids(Optional[TargetDomainIdList], default:None) –The list of target domain identifiers to associate with the agent space.
-
code_review_settings(Optional[CodeReviewSettings], default:None) –The code review settings for the agent space.
-
kms_key_id(Optional[KmsKeyId], default:None) –The identifier of the AWS KMS key to use for encrypting data in the agent space.
-
tags(Optional[TagMap], default:None) –The tags to associate with the agent space.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_securityagent/_services/security_agent.py
5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 | |