update_agent_goal
async
¶
update_agent_goal(
profile_arn: AgentProfileArn,
id: UUID,
*,
config_overrides: Optional[AsyncWellArchitectedClientConfig] = None,
client_token: Optional[str] = None,
pillars: Optional[Pillars] = None,
title: Optional[SensitiveString] = None,
description: Optional[SensitiveString] = None,
) -> UpdateAgentGoalResponse
Updates the pillars and title of an existing goal associated with a profile.
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 containing the goal to update.
-
id(UUID) –The unique identifier of the goal to update.
-
pillars(Optional[Pillars], default:None) –The updated pillars for the goal. Pillars define the optimization focus areas such as cost, performance, resilience, and operational excellence.
-
title(Optional[SensitiveString], default:None) –The updated title for the goal. Maximum length of 1000 characters.
-
description(Optional[SensitiveString], default:None) –A description of the goal.
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
7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 | |