update_profile_with_agent
¶
update_profile_with_agent(
profile_id: ProfileIdString,
source_format: SourceFormat,
input_message: AgentInputMessage,
*,
config_overrides: Optional[HealthLakeClientConfig] = 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/health_lake.py
2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 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 | |