update_profile_with_agent
async
¶
update_profile_with_agent(
profile_id: ProfileIdString,
source_format: SourceFormat,
input_message: AgentInputMessage,
*,
config_overrides: Optional[AsyncHealthLakeClientConfig] = None,
conversation_id: Optional[ConversationIdString] = None,
) -> UpdateProfileWithAgentResponse
Updates a data transformation profile using chat-based interaction with an agent. Supports multi-turn conversations for iteratively customizing profiles.
Parameters:
-
profile_id(ProfileIdString) –The unique identifier of the profile to update via the agent.
-
source_format(SourceFormat) –The source data format for the transformation.
-
input_message(AgentInputMessage) –The message to send to the agent.
-
conversation_id(Optional[ConversationIdString], default:None) –The conversation identifier for multi-turn interactions. Omit to start a new conversation.
Raises:
-
AccessDeniedException–Access is denied. Your account is not authorized to perform this operation.
-
AgentMessageOutOfContextException–The agent message does not fit within the current conversation context. Start a new conversation or provide a message that relates to the current profile customization session.
-
ConversationNotFoundException–The specified conversation identifier does not exist. Verify the conversation ID or omit it to start a new conversation.
-
InternalServerException–An unknown internal error occurred in the service.
-
NotImplementedOperationException–The requested operation is not yet available. Check the service documentation for a list of supported operations.
-
ResourceNotFoundException–The requested data store was not found.
-
ThrottlingException–The user has exceeded their maximum number of allowed calls to the given API.
-
UnauthorizedException–You are not authorized to make this request. Verify that your Amazon Web Services credentials are valid and that you have the required permissions.
-
UnsupportedMIMETypeException–The content type in your request is not supported. Use a supported content type for this operation.
-
ValidationException–The user input parameter was invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_healthlake/_services/async_health_lake.py
2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 | |