update_agent_profile
async
¶
update_agent_profile(
profile_arn: AgentProfileArn,
*,
config_overrides: Optional[AsyncWellArchitectedClientConfig] = None,
client_token: Optional[str] = None,
display_name: Optional[SensitiveString] = None,
description: Optional[SensitiveString] = None,
execution_role_arn: Optional[RoleArn] = None,
aggregation_configuration: Optional[AggregationConfigurations] = None,
business_overview: Optional[SensitiveString] = None,
pillars: Optional[Pillars] = None,
deletion_protection: Optional[bool] = None,
) -> UpdateAgentProfileResponse
Updates an existing optimization profile's configuration, including its pillars, execution role, and aggregation settings.
Parameters:
-
client_token(Optional[str], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
profile_arn(AgentProfileArn) –The Amazon Resource Name (ARN) of the profile to update.
-
display_name(Optional[SensitiveString], default:None) –The updated display name of the profile.
-
description(Optional[SensitiveString], default:None) –The updated description of the profile.
-
execution_role_arn(Optional[RoleArn], default:None) –The updated ARN of the IAM execution role.
-
aggregation_configuration(Optional[AggregationConfigurations], default:None) –The updated aggregation configuration.
-
business_overview(Optional[SensitiveString], default:None) –The updated business overview for the profile.
-
pillars(Optional[Pillars], default:None) –The updated Well-Architected Tool Framework pillars for the profile.
-
deletion_protection(Optional[bool], default:None) –Indicates whether deletion protection is enabled for the profile.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
InternalServerException–There is a problem with the Well-Architected Tool API service.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The user input is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_wellarchitected/_services/async_well_architected.py
6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 | |