aws_sdk_bedrockagentcorecontrol/client/get_harness_endpoint.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetHarnessEndpoint`](crate::operation::get_harness_endpoint::builders::GetHarnessEndpointFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`harness_id(impl Into<String>)`](crate::operation::get_harness_endpoint::builders::GetHarnessEndpointFluentBuilder::harness_id) / [`set_harness_id(Option<String>)`](crate::operation::get_harness_endpoint::builders::GetHarnessEndpointFluentBuilder::set_harness_id):<br>required: **true**<br><p>The ID of the harness that the endpoint belongs to.</p><br>
7 /// - [`endpoint_name(impl Into<String>)`](crate::operation::get_harness_endpoint::builders::GetHarnessEndpointFluentBuilder::endpoint_name) / [`set_endpoint_name(Option<String>)`](crate::operation::get_harness_endpoint::builders::GetHarnessEndpointFluentBuilder::set_endpoint_name):<br>required: **true**<br><p>The name of the endpoint to retrieve.</p><br>
8 /// - On success, responds with [`GetHarnessEndpointOutput`](crate::operation::get_harness_endpoint::GetHarnessEndpointOutput) with field(s):
9 /// - [`endpoint(Option<HarnessEndpoint>)`](crate::operation::get_harness_endpoint::GetHarnessEndpointOutput::endpoint): <p>The endpoint resource.</p>
10 /// - On failure, responds with [`SdkError<GetHarnessEndpointError>`](crate::operation::get_harness_endpoint::GetHarnessEndpointError)
11 pub fn get_harness_endpoint(&self) -> crate::operation::get_harness_endpoint::builders::GetHarnessEndpointFluentBuilder {
12 crate::operation::get_harness_endpoint::builders::GetHarnessEndpointFluentBuilder::new(self.handle.clone())
13 }
14}