Module Values.WebCrawlerConfigurationSource

The configuration of web URLs that you want to crawl. You should be authorized to crawl the URLs.

Sourcetype nonrec t = {
  1. crawlerLimits : WebCrawlerLimits.t option;
    (*

    The configuration of crawl limits for the web URLs.

    *)
  2. inclusionFilters : FilterList.t option;
    (*

    A list of one or more inclusion regular expression patterns to include certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.

    *)
  3. exclusionFilters : FilterList.t option;
    (*

    A list of one or more exclusion regular expression patterns to exclude certain URLs. If you specify an inclusion and exclusion filter/pattern and both match a URL, the exclusion filter takes precedence and the web content of the URL isn’t crawled.

    *)
  4. scope : WebScopeType.t option;
    (*

    The scope of what is crawled for your URLs. You can choose to crawl only web pages that belong to the same host or primary domain. For example, only web pages that contain the seed URL "https://docs.aws.amazon.com/bedrock/latest/userguide/" and no other domains. You can choose to include sub domains in addition to the host or primary domain. For example, web pages that contain "aws.amazon.com" can also include sub domain "docs.aws.amazon.com".

    *)
  5. userAgent : UserAgent.t option;
    (*

    Returns the user agent suffix for your web crawler.

    *)
  6. userAgentHeader : UserAgentHeader.t option;
    (*

    A string used for identifying the crawler or bot when it accesses a web server. The user agent header value consists of the bedrockbot, UUID, and a user agent suffix for your crawler (if one is provided). By default, it is set to bedrockbot_UUID. You can optionally append a custom suffix to bedrockbot_UUID to allowlist a specific user agent permitted to access your source URLs.

    *)
}
Sourceval make : ?crawlerLimits:??? -> ?inclusionFilters:??? -> ?exclusionFilters:??? -> ?scope:??? -> ?userAgent:??? -> ?userAgentHeader:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of FilterPattern.t ] list | `String of UserAgent.t | `Structure of (string * [> `Integer of WebCrawlerLimitsRateLimitInteger.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t