update_agent_profile
¶
update_agent_profile(
profile_arn: AgentProfileArn,
*,
config_overrides: Optional[WellArchitectedClientConfig] = 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/well_architected.py
6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 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 | |