aws_sdk_gamelift/client/
resolve_alias.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 [`ResolveAlias`](crate::operation::resolve_alias::builders::ResolveAliasFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`alias_id(impl Into<String>)`](crate::operation::resolve_alias::builders::ResolveAliasFluentBuilder::alias_id) / [`set_alias_id(Option<String>)`](crate::operation::resolve_alias::builders::ResolveAliasFluentBuilder::set_alias_id):<br>required: **true**<br><p>The unique identifier of the alias that you want to retrieve a fleet ID for. You can use either the alias ID or ARN value.</p><br>
7    /// - On success, responds with [`ResolveAliasOutput`](crate::operation::resolve_alias::ResolveAliasOutput) with field(s):
8    ///   - [`fleet_id(Option<String>)`](crate::operation::resolve_alias::ResolveAliasOutput::fleet_id): <p>The fleet identifier that the alias is pointing to.</p>
9    ///   - [`fleet_arn(Option<String>)`](crate::operation::resolve_alias::ResolveAliasOutput::fleet_arn): <p>The Amazon Resource Name (<a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html">ARN</a>) associated with the GameLift fleet resource that this alias points to.</p>
10    /// - On failure, responds with [`SdkError<ResolveAliasError>`](crate::operation::resolve_alias::ResolveAliasError)
11    pub fn resolve_alias(&self) -> crate::operation::resolve_alias::builders::ResolveAliasFluentBuilder {
12        crate::operation::resolve_alias::builders::ResolveAliasFluentBuilder::new(self.handle.clone())
13    }
14}