update_library_item_metadata
async
¶
update_library_item_metadata(
instance_id: InstanceId,
library_item_id: UUID,
*,
config_overrides: Optional[AsyncQAppsClientConfig] = None,
is_verified: Optional[bool] = None,
) -> None
Updates the verification status of a library item for an Amazon Q App.
Parameters:
-
instance_id(InstanceId) –The unique identifier of the Amazon Q Business application environment instance.
-
library_item_id(UUID) –The unique identifier of the updated library item.
-
is_verified(Optional[bool], default:None) –The verification status of the library item
Raises:
-
AccessDeniedException–The client is not authorized to perform the requested operation.
-
ConflictException–The requested operation could not be completed due to a conflict with the current state of the resource.
-
InternalServerException–An internal service error occurred while processing the request.
-
ResourceNotFoundException–The requested resource could not be found.
-
ThrottlingException–The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later.
-
UnauthorizedException–The client is not authenticated or authorized to perform the requested operation.
-
ValidationException–The input failed to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Update a library item to be verified
>>> await client.update_library_item_metadata(instance_id='0b95c9c4-89cc-4aa8-9aae-aa91cbec699f', library_item_id='cb9ecf72-8563-450d-9db9-994f98297316', is_verified=True)
Source code in docs_src/capo_qapps/_services/async_q_apps.py
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 | |