// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateScraper`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`alias(impl Into<String>)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::alias) / [`set_alias(Option<String>)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::set_alias):<br>required: **false**<br><p>(optional) a name to associate with the scraper. This is for your use, and does not need to be unique.</p><br>
/// - [`scrape_configuration(ScrapeConfiguration)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::scrape_configuration) / [`set_scrape_configuration(Option<ScrapeConfiguration>)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::set_scrape_configuration):<br>required: **true**<br><p>The configuration file to use in the new scraper. For more information, see <a href="prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration">Scraper configuration</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p><br>
/// - [`source(Source)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::source) / [`set_source(Option<Source>)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::set_source):<br>required: **true**<br><p>The Amazon EKS cluster from which the scraper will collect metrics.</p><br>
/// - [`destination(Destination)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::destination) / [`set_destination(Option<Destination>)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::set_destination):<br>required: **true**<br><p>The Amazon Managed Service for Prometheus workspace to send metrics to.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::set_client_token):<br>required: **false**<br><p>(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_scraper::builders::CreateScraperFluentBuilder::set_tags):<br>required: **false**<br><p>(Optional) The list of tag keys and values to associate with the scraper.</p><br>
/// - On success, responds with [`CreateScraperOutput`](crate::operation::create_scraper::CreateScraperOutput) with field(s):
/// - [`scraper_id(String)`](crate::operation::create_scraper::CreateScraperOutput::scraper_id): <p>The ID of the new scraper.</p>
/// - [`arn(String)`](crate::operation::create_scraper::CreateScraperOutput::arn): <p>The Amazon Resource Name (ARN) of the new scraper.</p>
/// - [`status(Option<ScraperStatus>)`](crate::operation::create_scraper::CreateScraperOutput::status): <p>A structure that displays the current status of the scraper.</p>
/// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_scraper::CreateScraperOutput::tags): <p>The list of tag keys and values that are associated with the scraper.</p>
/// - On failure, responds with [`SdkError<CreateScraperError>`](crate::operation::create_scraper::CreateScraperError)
pub fn create_scraper(&self) -> crate::operation::create_scraper::builders::CreateScraperFluentBuilder {
crate::operation::create_scraper::builders::CreateScraperFluentBuilder::new(self.handle.clone())
}
}