put_discovery_configuration
async
¶
put_discovery_configuration(
*,
config_overrides: Optional[AsyncAPIPortalClientConfig] = None,
discovery_sources: Optional[NonEmptyDiscoverySourceList] = None,
excluded_resources: Optional[ResourceArnList] = None,
features: Optional[DiscoveryFeatureList] = None,
tags: Optional[Tags] = None,
) -> PutDiscoveryConfigurationResponse
Creates or updates the discovery configuration
Parameters:
-
discovery_sources(Optional[NonEmptyDiscoverySourceList], default:None) –The sources to discover APIs from. Omitting it removes all sources, which stops discovery for this configuration.
-
excluded_resources(Optional[ResourceArnList], default:None) –The ARNs of resources to leave out of discovery, up to 50.
-
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.
-
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.