Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

resolve_alias

resolve_alias(**kwargs)

Retrieves the fleet ID that an alias is currently pointing to.

Related actions

All APIs by task

See also: AWS API Documentation

Request Syntax

response = client.resolve_alias(
    AliasId='string'
)
Parameters
AliasId (string) --

[REQUIRED]

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.

Return type
dict
Returns
Response Syntax
{
    'FleetId': 'string',
    'FleetArn': 'string'
}

Response Structure

  • (dict) --
    • FleetId (string) --

      The fleet identifier that the alias is pointing to.

    • FleetArn (string) --

      The Amazon Resource Name ( ARN ) associated with the GameLift fleet resource that this alias points to.

Exceptions

  • GameLift.Client.exceptions.UnauthorizedException
  • GameLift.Client.exceptions.InvalidRequestException
  • GameLift.Client.exceptions.NotFoundException
  • GameLift.Client.exceptions.TerminalRoutingStrategyException
  • GameLift.Client.exceptions.InternalServiceException