Skip to main content

aws_sdk_elementalinference/client/
get_fixture.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 [`GetFixture`](crate::operation::get_fixture::builders::GetFixtureFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`fixture_id(impl Into<String>)`](crate::operation::get_fixture::builders::GetFixtureFluentBuilder::fixture_id) / [`set_fixture_id(Option<String>)`](crate::operation::get_fixture::builders::GetFixtureFluentBuilder::set_fixture_id):<br>required: **true**<br><p>The ID of the fixture to retrieve, as returned by SearchFixtures.</p><br>
7    /// - On success, responds with [`GetFixtureOutput`](crate::operation::get_fixture::GetFixtureOutput) with field(s):
8    ///   - [`fixture_id(String)`](crate::operation::get_fixture::GetFixtureOutput::fixture_id): <p>The ID that you specified in the request.</p>
9    ///   - [`name(String)`](crate::operation::get_fixture::GetFixtureOutput::name): <p>The name of the fixture, as provided by the data source. For example, the names of the two competing teams.</p>
10    ///   - [`fixture_group(Option<String>)`](crate::operation::get_fixture::GetFixtureOutput::fixture_group): <p>The group that the fixture belongs to, such as the competition, league, or tournament. The data source doesn't provide this information for every fixture.</p>
11    ///   - [`scheduled_start(Option<DateTime>)`](crate::operation::get_fixture::GetFixtureOutput::scheduled_start): <p>The scheduled start time of the fixture, as provided by the data source. The actual start time might differ.</p>
12    ///   - [`status(String)`](crate::operation::get_fixture::GetFixtureOutput::status): <p>The status of the fixture in its lifecycle, as provided by the data source. For example, Scheduled or Completed.</p>
13    ///   - [`competitors(Vec::<Competitor>)`](crate::operation::get_fixture::GetFixtureOutput::competitors): <p>An array of the competitors (the teams or individuals) in the fixture.</p>
14    /// - On failure, responds with [`SdkError<GetFixtureError>`](crate::operation::get_fixture::GetFixtureError)
15    pub fn get_fixture(&self) -> crate::operation::get_fixture::builders::GetFixtureFluentBuilder {
16        crate::operation::get_fixture::builders::GetFixtureFluentBuilder::new(self.handle.clone())
17    }
18}