aws_sdk_xray/client/put_telemetry_records.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutTelemetryRecords`](crate::operation::put_telemetry_records::builders::PutTelemetryRecordsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`telemetry_records(TelemetryRecord)`](crate::operation::put_telemetry_records::builders::PutTelemetryRecordsFluentBuilder::telemetry_records) / [`set_telemetry_records(Option<Vec::<TelemetryRecord>>)`](crate::operation::put_telemetry_records::builders::PutTelemetryRecordsFluentBuilder::set_telemetry_records):<br>required: **true**<br><p></p><br>
/// - [`ec2_instance_id(impl Into<String>)`](crate::operation::put_telemetry_records::builders::PutTelemetryRecordsFluentBuilder::ec2_instance_id) / [`set_ec2_instance_id(Option<String>)`](crate::operation::put_telemetry_records::builders::PutTelemetryRecordsFluentBuilder::set_ec2_instance_id):<br>required: **false**<br><p></p><br>
/// - [`hostname(impl Into<String>)`](crate::operation::put_telemetry_records::builders::PutTelemetryRecordsFluentBuilder::hostname) / [`set_hostname(Option<String>)`](crate::operation::put_telemetry_records::builders::PutTelemetryRecordsFluentBuilder::set_hostname):<br>required: **false**<br><p></p><br>
/// - [`resource_arn(impl Into<String>)`](crate::operation::put_telemetry_records::builders::PutTelemetryRecordsFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::put_telemetry_records::builders::PutTelemetryRecordsFluentBuilder::set_resource_arn):<br>required: **false**<br><p></p><br>
/// - On success, responds with [`PutTelemetryRecordsOutput`](crate::operation::put_telemetry_records::PutTelemetryRecordsOutput)
/// - On failure, responds with [`SdkError<PutTelemetryRecordsError>`](crate::operation::put_telemetry_records::PutTelemetryRecordsError)
pub fn put_telemetry_records(&self) -> crate::operation::put_telemetry_records::builders::PutTelemetryRecordsFluentBuilder {
crate::operation::put_telemetry_records::builders::PutTelemetryRecordsFluentBuilder::new(self.handle.clone())
}
}