put_organization_discovery_configuration
async
¶
put_organization_discovery_configuration(
*,
config_overrides: Optional[AsyncAPIPortalClientConfig] = None,
discovery_sources: Optional[NonEmptyDiscoverySourceList] = None,
exclusion_filters: Optional[DiscoveryExclusionFilters] = None,
discovery_filters: Optional[OrganizationDiscoveryFilters] = None,
features: Optional[DiscoveryFeatureList] = None,
tags: Optional[Tags] = None,
) -> PutOrganizationDiscoveryConfigurationResponse
Creates or updates the organization-wide discovery configuration. This is a singleton per organization. Only the organization management account and registered delegated administrators may call this operation.
Parameters:
-
discovery_sources(Optional[NonEmptyDiscoverySourceList], default:None) –The sources to discover APIs from. Omitting it removes all sources, which stops discovery for this configuration.
-
exclusion_filters(Optional[DiscoveryExclusionFilters], default:None) –Exclusion filters for organization-scoped discovery. @deprecated. Remove this once client (Console) moves to discoveryFilters
-
discovery_filters(Optional[OrganizationDiscoveryFilters], default:None) –The accounts or organizational units to include in or exclude from discovery.
-
features(Optional[DiscoveryFeatureList], default:None) –Optional capabilities to enable. Omitting it disables all of them, as with the other fields.
Raises:
-
AccessDeniedException–You do not have permission to perform this operation.
-
BadRequestException–The request is not valid. The message identifies the field or value that failed validation.
-
ConflictException–The request conflicts with the current state of the resource, for example because another operation on it is still in progress.
-
InternalServerException–The service encountered an internal error. Try the request again.
-
LimitExceededException–The request rate or a service quota was exceeded. Reduce the request rate or the number of resources and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_apiportal/_services/async_api_portal.py
1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 | |