GameLiftClient
Auto-generated documentation for GameLift type annotations stubs module types-aiobotocore-gamelift.
GameLiftClient
Type annotations and code completion for session.client("gamelift")
boto3 documentation
from aioboto3.session import Session
from types_aiobotocore_gamelift.client import GameLiftClient
session = Session()
async with session.client("gamelift") as client:
client: GameLiftClient
Exceptions
aioboto3
client exceptions are generated in runtime.
This class provides code completion for session.client("gamelift").exceptions
structure.
async with session.client("gamelift") as client:
try:
do_something(client)
except (
client.ClientError,
client.ConflictException,
client.FleetCapacityExceededException,
client.GameSessionFullException,
client.IdempotentParameterMismatchException,
client.InternalServiceException,
client.InvalidFleetStatusException,
client.InvalidGameSessionStatusException,
client.InvalidRequestException,
client.LimitExceededException,
client.NotFoundException,
client.OutOfCapacityException,
client.TaggingFailedException,
client.TerminalRoutingStrategyException,
client.UnauthorizedException,
client.UnsupportedRegionException,
) as e:
print(e)
from types_aiobotocore_gamelift.client import Exceptions
def handle_error(exc: Exceptions.ClientError) -> None:
...
Methods
accept_match
Registers a player's acceptance or rejection of a proposed FlexMatch match.
Type annotations and code completion for session.client("gamelift").accept_match
method.
boto3 documentation
await def accept_match(
self,
*,
TicketId: str,
PlayerIds: Sequence[str],
AcceptanceType: AcceptanceTypeType, # (1)
) -> Dict[str, Any]:
...
kwargs: AcceptMatchInputRequestTypeDef = { # (1)
"TicketId": ...,
"PlayerIds": ...,
"AcceptanceType": ...,
}
parent.accept_match(**kwargs)
can_paginate
Check if an operation can be paginated.
Type annotations and code completion for session.client("gamelift").can_paginate
method.
boto3 documentation
claim_game_server
This operation is used with the GameLift FleetIQ solution and game server groups. Locates an available game server and temporarily reserves it to host gameplay and players.
Type annotations and code completion for session.client("gamelift").claim_game_server
method.
boto3 documentation
await def claim_game_server(
self,
*,
GameServerGroupName: str,
GameServerId: str = ...,
GameServerData: str = ...,
) -> ClaimGameServerOutputTypeDef: # (1)
...
kwargs: ClaimGameServerInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
}
parent.claim_game_server(**kwargs)
close
Closes underlying endpoint connections.
Type annotations and code completion for session.client("gamelift").close
method.
boto3 documentation
create_alias
Creates an alias for a fleet.
Type annotations and code completion for session.client("gamelift").create_alias
method.
boto3 documentation
await def create_alias(
self,
*,
Name: str,
RoutingStrategy: RoutingStrategyTypeDef, # (1)
Description: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateAliasOutputTypeDef: # (3)
...
- See RoutingStrategyTypeDef
- See TagTypeDef
- See CreateAliasOutputTypeDef
kwargs: CreateAliasInputRequestTypeDef = { # (1)
"Name": ...,
"RoutingStrategy": ...,
}
parent.create_alias(**kwargs)
create_build
Creates a new Amazon GameLift build resource for your game server binary files.
Type annotations and code completion for session.client("gamelift").create_build
method.
boto3 documentation
await def create_build(
self,
*,
Name: str = ...,
Version: str = ...,
StorageLocation: S3LocationTypeDef = ..., # (1)
OperatingSystem: OperatingSystemType = ..., # (2)
Tags: Sequence[TagTypeDef] = ..., # (3)
) -> CreateBuildOutputTypeDef: # (4)
...
- See S3LocationTypeDef
- See OperatingSystemType
- See TagTypeDef
- See CreateBuildOutputTypeDef
kwargs: CreateBuildInputRequestTypeDef = { # (1)
"Name": ...,
}
parent.create_build(**kwargs)
create_fleet
Creates a fleet of Amazon Elastic Compute Cloud (Amazon Elastic Compute Cloud) instances to host your custom game server or Realtime Servers.
Type annotations and code completion for session.client("gamelift").create_fleet
method.
boto3 documentation
await def create_fleet(
self,
*,
Name: str,
EC2InstanceType: EC2InstanceTypeType, # (1)
Description: str = ...,
BuildId: str = ...,
ScriptId: str = ...,
ServerLaunchPath: str = ...,
ServerLaunchParameters: str = ...,
LogPaths: Sequence[str] = ...,
EC2InboundPermissions: Sequence[IpPermissionTypeDef] = ..., # (2)
NewGameSessionProtectionPolicy: ProtectionPolicyType = ..., # (3)
RuntimeConfiguration: RuntimeConfigurationTypeDef = ..., # (4)
ResourceCreationLimitPolicy: ResourceCreationLimitPolicyTypeDef = ..., # (5)
MetricGroups: Sequence[str] = ...,
PeerVpcAwsAccountId: str = ...,
PeerVpcId: str = ...,
FleetType: FleetTypeType = ..., # (6)
InstanceRoleArn: str = ...,
CertificateConfiguration: CertificateConfigurationTypeDef = ..., # (7)
Locations: Sequence[LocationConfigurationTypeDef] = ..., # (8)
Tags: Sequence[TagTypeDef] = ..., # (9)
) -> CreateFleetOutputTypeDef: # (10)
...
- See EC2InstanceTypeType
- See IpPermissionTypeDef
- See ProtectionPolicyType
- See RuntimeConfigurationTypeDef
- See ResourceCreationLimitPolicyTypeDef
- See FleetTypeType
- See CertificateConfigurationTypeDef
- See LocationConfigurationTypeDef
- See TagTypeDef
- See CreateFleetOutputTypeDef
kwargs: CreateFleetInputRequestTypeDef = { # (1)
"Name": ...,
"EC2InstanceType": ...,
}
parent.create_fleet(**kwargs)
create_fleet_locations
Adds remote locations to a fleet and begins populating the new locations with EC2 instances.
Type annotations and code completion for session.client("gamelift").create_fleet_locations
method.
boto3 documentation
await def create_fleet_locations(
self,
*,
FleetId: str,
Locations: Sequence[LocationConfigurationTypeDef], # (1)
) -> CreateFleetLocationsOutputTypeDef: # (2)
...
kwargs: CreateFleetLocationsInputRequestTypeDef = { # (1)
"FleetId": ...,
"Locations": ...,
}
parent.create_fleet_locations(**kwargs)
create_game_server_group
This operation is used with the GameLift FleetIQ solution and game server groups. Creates a GameLift FleetIQ game server group for managing game hosting on a collection of Amazon Elastic Compute Cloud instances for game hosting.
Type annotations and code completion for session.client("gamelift").create_game_server_group
method.
boto3 documentation
await def create_game_server_group(
self,
*,
GameServerGroupName: str,
RoleArn: str,
MinSize: int,
MaxSize: int,
LaunchTemplate: LaunchTemplateSpecificationTypeDef, # (1)
InstanceDefinitions: Sequence[InstanceDefinitionTypeDef], # (2)
AutoScalingPolicy: GameServerGroupAutoScalingPolicyTypeDef = ..., # (3)
BalancingStrategy: BalancingStrategyType = ..., # (4)
GameServerProtectionPolicy: GameServerProtectionPolicyType = ..., # (5)
VpcSubnets: Sequence[str] = ...,
Tags: Sequence[TagTypeDef] = ..., # (6)
) -> CreateGameServerGroupOutputTypeDef: # (7)
...
- See LaunchTemplateSpecificationTypeDef
- See InstanceDefinitionTypeDef
- See GameServerGroupAutoScalingPolicyTypeDef
- See BalancingStrategyType
- See GameServerProtectionPolicyType
- See TagTypeDef
- See CreateGameServerGroupOutputTypeDef
kwargs: CreateGameServerGroupInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
"RoleArn": ...,
"MinSize": ...,
"MaxSize": ...,
"LaunchTemplate": ...,
"InstanceDefinitions": ...,
}
parent.create_game_server_group(**kwargs)
create_game_session
Creates a multiplayer game session for players in a specific fleet location.
Type annotations and code completion for session.client("gamelift").create_game_session
method.
boto3 documentation
await def create_game_session(
self,
*,
MaximumPlayerSessionCount: int,
FleetId: str = ...,
AliasId: str = ...,
Name: str = ...,
GameProperties: Sequence[GamePropertyTypeDef] = ..., # (1)
CreatorId: str = ...,
GameSessionId: str = ...,
IdempotencyToken: str = ...,
GameSessionData: str = ...,
Location: str = ...,
) -> CreateGameSessionOutputTypeDef: # (2)
...
kwargs: CreateGameSessionInputRequestTypeDef = { # (1)
"MaximumPlayerSessionCount": ...,
}
parent.create_game_session(**kwargs)
create_game_session_queue
Creates a placement queue that processes requests for new game sessions.
Type annotations and code completion for session.client("gamelift").create_game_session_queue
method.
boto3 documentation
await def create_game_session_queue(
self,
*,
Name: str,
TimeoutInSeconds: int = ...,
PlayerLatencyPolicies: Sequence[PlayerLatencyPolicyTypeDef] = ..., # (1)
Destinations: Sequence[GameSessionQueueDestinationTypeDef] = ..., # (2)
FilterConfiguration: FilterConfigurationTypeDef = ..., # (3)
PriorityConfiguration: PriorityConfigurationTypeDef = ..., # (4)
CustomEventData: str = ...,
NotificationTarget: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (5)
) -> CreateGameSessionQueueOutputTypeDef: # (6)
...
- See PlayerLatencyPolicyTypeDef
- See GameSessionQueueDestinationTypeDef
- See FilterConfigurationTypeDef
- See PriorityConfigurationTypeDef
- See TagTypeDef
- See CreateGameSessionQueueOutputTypeDef
kwargs: CreateGameSessionQueueInputRequestTypeDef = { # (1)
"Name": ...,
}
parent.create_game_session_queue(**kwargs)
create_matchmaking_configuration
Defines a new matchmaking configuration for use with FlexMatch.
Type annotations and code completion for session.client("gamelift").create_matchmaking_configuration
method.
boto3 documentation
await def create_matchmaking_configuration(
self,
*,
Name: str,
RequestTimeoutSeconds: int,
AcceptanceRequired: bool,
RuleSetName: str,
Description: str = ...,
GameSessionQueueArns: Sequence[str] = ...,
AcceptanceTimeoutSeconds: int = ...,
NotificationTarget: str = ...,
AdditionalPlayerCount: int = ...,
CustomEventData: str = ...,
GameProperties: Sequence[GamePropertyTypeDef] = ..., # (1)
GameSessionData: str = ...,
BackfillMode: BackfillModeType = ..., # (2)
FlexMatchMode: FlexMatchModeType = ..., # (3)
Tags: Sequence[TagTypeDef] = ..., # (4)
) -> CreateMatchmakingConfigurationOutputTypeDef: # (5)
...
- See GamePropertyTypeDef
- See BackfillModeType
- See FlexMatchModeType
- See TagTypeDef
- See CreateMatchmakingConfigurationOutputTypeDef
kwargs: CreateMatchmakingConfigurationInputRequestTypeDef = { # (1)
"Name": ...,
"RequestTimeoutSeconds": ...,
"AcceptanceRequired": ...,
"RuleSetName": ...,
}
parent.create_matchmaking_configuration(**kwargs)
create_matchmaking_rule_set
Creates a new rule set for FlexMatch matchmaking.
Type annotations and code completion for session.client("gamelift").create_matchmaking_rule_set
method.
boto3 documentation
await def create_matchmaking_rule_set(
self,
*,
Name: str,
RuleSetBody: str,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateMatchmakingRuleSetOutputTypeDef: # (2)
...
kwargs: CreateMatchmakingRuleSetInputRequestTypeDef = { # (1)
"Name": ...,
"RuleSetBody": ...,
}
parent.create_matchmaking_rule_set(**kwargs)
create_player_session
Reserves an open player slot in a game session for a player.
Type annotations and code completion for session.client("gamelift").create_player_session
method.
boto3 documentation
await def create_player_session(
self,
*,
GameSessionId: str,
PlayerId: str,
PlayerData: str = ...,
) -> CreatePlayerSessionOutputTypeDef: # (1)
...
kwargs: CreatePlayerSessionInputRequestTypeDef = { # (1)
"GameSessionId": ...,
"PlayerId": ...,
}
parent.create_player_session(**kwargs)
create_player_sessions
Reserves open slots in a game session for a group of players.
Type annotations and code completion for session.client("gamelift").create_player_sessions
method.
boto3 documentation
await def create_player_sessions(
self,
*,
GameSessionId: str,
PlayerIds: Sequence[str],
PlayerDataMap: Mapping[str, str] = ...,
) -> CreatePlayerSessionsOutputTypeDef: # (1)
...
kwargs: CreatePlayerSessionsInputRequestTypeDef = { # (1)
"GameSessionId": ...,
"PlayerIds": ...,
}
parent.create_player_sessions(**kwargs)
create_script
Creates a new script record for your Realtime Servers script.
Type annotations and code completion for session.client("gamelift").create_script
method.
boto3 documentation
await def create_script(
self,
*,
Name: str = ...,
Version: str = ...,
StorageLocation: S3LocationTypeDef = ..., # (1)
ZipFile: Union[str, bytes, IO[Any], StreamingBody] = ...,
Tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateScriptOutputTypeDef: # (3)
...
- See S3LocationTypeDef
- See TagTypeDef
- See CreateScriptOutputTypeDef
kwargs: CreateScriptInputRequestTypeDef = { # (1)
"Name": ...,
}
parent.create_script(**kwargs)
create_vpc_peering_authorization
Requests authorization to create or delete a peer connection between the VPC for your Amazon GameLift fleet and a virtual private cloud (VPC) in your Amazon Web Services account.
Type annotations and code completion for session.client("gamelift").create_vpc_peering_authorization
method.
boto3 documentation
await def create_vpc_peering_authorization(
self,
*,
GameLiftAwsAccountId: str,
PeerVpcId: str,
) -> CreateVpcPeeringAuthorizationOutputTypeDef: # (1)
...
kwargs: CreateVpcPeeringAuthorizationInputRequestTypeDef = { # (1)
"GameLiftAwsAccountId": ...,
"PeerVpcId": ...,
}
parent.create_vpc_peering_authorization(**kwargs)
create_vpc_peering_connection
Establishes a VPC peering connection between a virtual private cloud (VPC) in an Amazon Web Services account with the VPC for your Amazon GameLift fleet.
Type annotations and code completion for session.client("gamelift").create_vpc_peering_connection
method.
boto3 documentation
await def create_vpc_peering_connection(
self,
*,
FleetId: str,
PeerVpcAwsAccountId: str,
PeerVpcId: str,
) -> Dict[str, Any]:
...
kwargs: CreateVpcPeeringConnectionInputRequestTypeDef = { # (1)
"FleetId": ...,
"PeerVpcAwsAccountId": ...,
"PeerVpcId": ...,
}
parent.create_vpc_peering_connection(**kwargs)
delete_alias
Deletes an alias.
Type annotations and code completion for session.client("gamelift").delete_alias
method.
boto3 documentation
await def delete_alias(
self,
*,
AliasId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteAliasInputRequestTypeDef = { # (1)
"AliasId": ...,
}
parent.delete_alias(**kwargs)
delete_build
Deletes a build.
Type annotations and code completion for session.client("gamelift").delete_build
method.
boto3 documentation
await def delete_build(
self,
*,
BuildId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteBuildInputRequestTypeDef = { # (1)
"BuildId": ...,
}
parent.delete_build(**kwargs)
delete_fleet
Deletes all resources and information related a fleet.
Type annotations and code completion for session.client("gamelift").delete_fleet
method.
boto3 documentation
await def delete_fleet(
self,
*,
FleetId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteFleetInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.delete_fleet(**kwargs)
delete_fleet_locations
Removes locations from a multi-location fleet.
Type annotations and code completion for session.client("gamelift").delete_fleet_locations
method.
boto3 documentation
await def delete_fleet_locations(
self,
*,
FleetId: str,
Locations: Sequence[str],
) -> DeleteFleetLocationsOutputTypeDef: # (1)
...
kwargs: DeleteFleetLocationsInputRequestTypeDef = { # (1)
"FleetId": ...,
"Locations": ...,
}
parent.delete_fleet_locations(**kwargs)
delete_game_server_group
This operation is used with the GameLift FleetIQ solution and game server groups. Terminates a game server group and permanently deletes the game server group record.
Type annotations and code completion for session.client("gamelift").delete_game_server_group
method.
boto3 documentation
await def delete_game_server_group(
self,
*,
GameServerGroupName: str,
DeleteOption: GameServerGroupDeleteOptionType = ..., # (1)
) -> DeleteGameServerGroupOutputTypeDef: # (2)
...
kwargs: DeleteGameServerGroupInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
}
parent.delete_game_server_group(**kwargs)
delete_game_session_queue
Deletes a game session queue.
Type annotations and code completion for session.client("gamelift").delete_game_session_queue
method.
boto3 documentation
kwargs: DeleteGameSessionQueueInputRequestTypeDef = { # (1)
"Name": ...,
}
parent.delete_game_session_queue(**kwargs)
delete_matchmaking_configuration
Permanently removes a FlexMatch matchmaking configuration.
Type annotations and code completion for session.client("gamelift").delete_matchmaking_configuration
method.
boto3 documentation
await def delete_matchmaking_configuration(
self,
*,
Name: str,
) -> Dict[str, Any]:
...
kwargs: DeleteMatchmakingConfigurationInputRequestTypeDef = { # (1)
"Name": ...,
}
parent.delete_matchmaking_configuration(**kwargs)
delete_matchmaking_rule_set
Deletes an existing matchmaking rule set.
Type annotations and code completion for session.client("gamelift").delete_matchmaking_rule_set
method.
boto3 documentation
await def delete_matchmaking_rule_set(
self,
*,
Name: str,
) -> Dict[str, Any]:
...
kwargs: DeleteMatchmakingRuleSetInputRequestTypeDef = { # (1)
"Name": ...,
}
parent.delete_matchmaking_rule_set(**kwargs)
delete_scaling_policy
Deletes a fleet scaling policy.
Type annotations and code completion for session.client("gamelift").delete_scaling_policy
method.
boto3 documentation
await def delete_scaling_policy(
self,
*,
Name: str,
FleetId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteScalingPolicyInputRequestTypeDef = { # (1)
"Name": ...,
"FleetId": ...,
}
parent.delete_scaling_policy(**kwargs)
delete_script
Deletes a Realtime script.
Type annotations and code completion for session.client("gamelift").delete_script
method.
boto3 documentation
await def delete_script(
self,
*,
ScriptId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteScriptInputRequestTypeDef = { # (1)
"ScriptId": ...,
}
parent.delete_script(**kwargs)
delete_vpc_peering_authorization
Cancels a pending VPC peering authorization for the specified VPC.
Type annotations and code completion for session.client("gamelift").delete_vpc_peering_authorization
method.
boto3 documentation
await def delete_vpc_peering_authorization(
self,
*,
GameLiftAwsAccountId: str,
PeerVpcId: str,
) -> Dict[str, Any]:
...
kwargs: DeleteVpcPeeringAuthorizationInputRequestTypeDef = { # (1)
"GameLiftAwsAccountId": ...,
"PeerVpcId": ...,
}
parent.delete_vpc_peering_authorization(**kwargs)
delete_vpc_peering_connection
Removes a VPC peering connection.
Type annotations and code completion for session.client("gamelift").delete_vpc_peering_connection
method.
boto3 documentation
await def delete_vpc_peering_connection(
self,
*,
FleetId: str,
VpcPeeringConnectionId: str,
) -> Dict[str, Any]:
...
kwargs: DeleteVpcPeeringConnectionInputRequestTypeDef = { # (1)
"FleetId": ...,
"VpcPeeringConnectionId": ...,
}
parent.delete_vpc_peering_connection(**kwargs)
deregister_game_server
This operation is used with the GameLift FleetIQ solution and game server groups. Removes the game server from a game server group.
Type annotations and code completion for session.client("gamelift").deregister_game_server
method.
boto3 documentation
await def deregister_game_server(
self,
*,
GameServerGroupName: str,
GameServerId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeregisterGameServerInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
"GameServerId": ...,
}
parent.deregister_game_server(**kwargs)
describe_alias
Retrieves properties for an alias.
Type annotations and code completion for session.client("gamelift").describe_alias
method.
boto3 documentation
await def describe_alias(
self,
*,
AliasId: str,
) -> DescribeAliasOutputTypeDef: # (1)
...
kwargs: DescribeAliasInputRequestTypeDef = { # (1)
"AliasId": ...,
}
parent.describe_alias(**kwargs)
describe_build
Retrieves properties for a custom game build.
Type annotations and code completion for session.client("gamelift").describe_build
method.
boto3 documentation
await def describe_build(
self,
*,
BuildId: str,
) -> DescribeBuildOutputTypeDef: # (1)
...
kwargs: DescribeBuildInputRequestTypeDef = { # (1)
"BuildId": ...,
}
parent.describe_build(**kwargs)
describe_ec2_instance_limits
Retrieves the instance limits and current utilization for an Amazon Web Services Region or location.
Type annotations and code completion for session.client("gamelift").describe_ec2_instance_limits
method.
boto3 documentation
await def describe_ec2_instance_limits(
self,
*,
EC2InstanceType: EC2InstanceTypeType = ..., # (1)
Location: str = ...,
) -> DescribeEC2InstanceLimitsOutputTypeDef: # (2)
...
kwargs: DescribeEC2InstanceLimitsInputRequestTypeDef = { # (1)
"EC2InstanceType": ...,
}
parent.describe_ec2_instance_limits(**kwargs)
describe_fleet_attributes
Retrieves core fleet-wide properties, including the computing hardware and deployment configuration for all instances in the fleet.
Type annotations and code completion for session.client("gamelift").describe_fleet_attributes
method.
boto3 documentation
await def describe_fleet_attributes(
self,
*,
FleetIds: Sequence[str] = ...,
Limit: int = ...,
NextToken: str = ...,
) -> DescribeFleetAttributesOutputTypeDef: # (1)
...
kwargs: DescribeFleetAttributesInputRequestTypeDef = { # (1)
"FleetIds": ...,
}
parent.describe_fleet_attributes(**kwargs)
describe_fleet_capacity
Retrieves the resource capacity settings for one or more fleets.
Type annotations and code completion for session.client("gamelift").describe_fleet_capacity
method.
boto3 documentation
await def describe_fleet_capacity(
self,
*,
FleetIds: Sequence[str] = ...,
Limit: int = ...,
NextToken: str = ...,
) -> DescribeFleetCapacityOutputTypeDef: # (1)
...
kwargs: DescribeFleetCapacityInputRequestTypeDef = { # (1)
"FleetIds": ...,
}
parent.describe_fleet_capacity(**kwargs)
describe_fleet_events
Retrieves entries from a fleet's event log.
Type annotations and code completion for session.client("gamelift").describe_fleet_events
method.
boto3 documentation
await def describe_fleet_events(
self,
*,
FleetId: str,
StartTime: Union[datetime, str] = ...,
EndTime: Union[datetime, str] = ...,
Limit: int = ...,
NextToken: str = ...,
) -> DescribeFleetEventsOutputTypeDef: # (1)
...
kwargs: DescribeFleetEventsInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.describe_fleet_events(**kwargs)
describe_fleet_location_attributes
Retrieves information on a fleet's remote locations, including life-cycle status and any suspended fleet activity.
Type annotations and code completion for session.client("gamelift").describe_fleet_location_attributes
method.
boto3 documentation
await def describe_fleet_location_attributes(
self,
*,
FleetId: str,
Locations: Sequence[str] = ...,
Limit: int = ...,
NextToken: str = ...,
) -> DescribeFleetLocationAttributesOutputTypeDef: # (1)
...
kwargs: DescribeFleetLocationAttributesInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.describe_fleet_location_attributes(**kwargs)
describe_fleet_location_capacity
Retrieves the resource capacity settings for a fleet location.
Type annotations and code completion for session.client("gamelift").describe_fleet_location_capacity
method.
boto3 documentation
await def describe_fleet_location_capacity(
self,
*,
FleetId: str,
Location: str,
) -> DescribeFleetLocationCapacityOutputTypeDef: # (1)
...
kwargs: DescribeFleetLocationCapacityInputRequestTypeDef = { # (1)
"FleetId": ...,
"Location": ...,
}
parent.describe_fleet_location_capacity(**kwargs)
describe_fleet_location_utilization
Retrieves current usage data for a fleet location.
Type annotations and code completion for session.client("gamelift").describe_fleet_location_utilization
method.
boto3 documentation
await def describe_fleet_location_utilization(
self,
*,
FleetId: str,
Location: str,
) -> DescribeFleetLocationUtilizationOutputTypeDef: # (1)
...
kwargs: DescribeFleetLocationUtilizationInputRequestTypeDef = { # (1)
"FleetId": ...,
"Location": ...,
}
parent.describe_fleet_location_utilization(**kwargs)
describe_fleet_port_settings
Retrieves a fleet's inbound connection permissions.
Type annotations and code completion for session.client("gamelift").describe_fleet_port_settings
method.
boto3 documentation
await def describe_fleet_port_settings(
self,
*,
FleetId: str,
Location: str = ...,
) -> DescribeFleetPortSettingsOutputTypeDef: # (1)
...
kwargs: DescribeFleetPortSettingsInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.describe_fleet_port_settings(**kwargs)
describe_fleet_utilization
Retrieves utilization statistics for one or more fleets.
Type annotations and code completion for session.client("gamelift").describe_fleet_utilization
method.
boto3 documentation
await def describe_fleet_utilization(
self,
*,
FleetIds: Sequence[str] = ...,
Limit: int = ...,
NextToken: str = ...,
) -> DescribeFleetUtilizationOutputTypeDef: # (1)
...
kwargs: DescribeFleetUtilizationInputRequestTypeDef = { # (1)
"FleetIds": ...,
}
parent.describe_fleet_utilization(**kwargs)
describe_game_server
This operation is used with the GameLift FleetIQ solution and game server groups. Retrieves information for a registered game server.
Type annotations and code completion for session.client("gamelift").describe_game_server
method.
boto3 documentation
await def describe_game_server(
self,
*,
GameServerGroupName: str,
GameServerId: str,
) -> DescribeGameServerOutputTypeDef: # (1)
...
kwargs: DescribeGameServerInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
"GameServerId": ...,
}
parent.describe_game_server(**kwargs)
describe_game_server_group
This operation is used with the GameLift FleetIQ solution and game server groups. Retrieves information on a game server group.
Type annotations and code completion for session.client("gamelift").describe_game_server_group
method.
boto3 documentation
await def describe_game_server_group(
self,
*,
GameServerGroupName: str,
) -> DescribeGameServerGroupOutputTypeDef: # (1)
...
kwargs: DescribeGameServerGroupInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
}
parent.describe_game_server_group(**kwargs)
describe_game_server_instances
This operation is used with the GameLift FleetIQ solution and game server groups. Retrieves status information about the Amazon EC2 instances associated with a GameLift FleetIQ game server group.
Type annotations and code completion for session.client("gamelift").describe_game_server_instances
method.
boto3 documentation
await def describe_game_server_instances(
self,
*,
GameServerGroupName: str,
InstanceIds: Sequence[str] = ...,
Limit: int = ...,
NextToken: str = ...,
) -> DescribeGameServerInstancesOutputTypeDef: # (1)
...
kwargs: DescribeGameServerInstancesInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
}
parent.describe_game_server_instances(**kwargs)
describe_game_session_details
Retrieves additional game session properties, including the game session protection policy in force, a set of one or more game sessions in a specific fleet location.
Type annotations and code completion for session.client("gamelift").describe_game_session_details
method.
boto3 documentation
await def describe_game_session_details(
self,
*,
FleetId: str = ...,
GameSessionId: str = ...,
AliasId: str = ...,
Location: str = ...,
StatusFilter: str = ...,
Limit: int = ...,
NextToken: str = ...,
) -> DescribeGameSessionDetailsOutputTypeDef: # (1)
...
kwargs: DescribeGameSessionDetailsInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.describe_game_session_details(**kwargs)
describe_game_session_placement
Retrieves information, including current status, about a game session placement request.
Type annotations and code completion for session.client("gamelift").describe_game_session_placement
method.
boto3 documentation
await def describe_game_session_placement(
self,
*,
PlacementId: str,
) -> DescribeGameSessionPlacementOutputTypeDef: # (1)
...
kwargs: DescribeGameSessionPlacementInputRequestTypeDef = { # (1)
"PlacementId": ...,
}
parent.describe_game_session_placement(**kwargs)
describe_game_session_queues
Retrieves the properties for one or more game session queues.
Type annotations and code completion for session.client("gamelift").describe_game_session_queues
method.
boto3 documentation
await def describe_game_session_queues(
self,
*,
Names: Sequence[str] = ...,
Limit: int = ...,
NextToken: str = ...,
) -> DescribeGameSessionQueuesOutputTypeDef: # (1)
...
kwargs: DescribeGameSessionQueuesInputRequestTypeDef = { # (1)
"Names": ...,
}
parent.describe_game_session_queues(**kwargs)
describe_game_sessions
Retrieves a set of one or more game sessions in a specific fleet location.
Type annotations and code completion for session.client("gamelift").describe_game_sessions
method.
boto3 documentation
await def describe_game_sessions(
self,
*,
FleetId: str = ...,
GameSessionId: str = ...,
AliasId: str = ...,
Location: str = ...,
StatusFilter: str = ...,
Limit: int = ...,
NextToken: str = ...,
) -> DescribeGameSessionsOutputTypeDef: # (1)
...
kwargs: DescribeGameSessionsInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.describe_game_sessions(**kwargs)
describe_instances
Retrieves information about a fleet's instances, including instance IDs, connection data, and status.
Type annotations and code completion for session.client("gamelift").describe_instances
method.
boto3 documentation
await def describe_instances(
self,
*,
FleetId: str,
InstanceId: str = ...,
Limit: int = ...,
NextToken: str = ...,
Location: str = ...,
) -> DescribeInstancesOutputTypeDef: # (1)
...
kwargs: DescribeInstancesInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.describe_instances(**kwargs)
describe_matchmaking
Retrieves one or more matchmaking tickets.
Type annotations and code completion for session.client("gamelift").describe_matchmaking
method.
boto3 documentation
await def describe_matchmaking(
self,
*,
TicketIds: Sequence[str],
) -> DescribeMatchmakingOutputTypeDef: # (1)
...
kwargs: DescribeMatchmakingInputRequestTypeDef = { # (1)
"TicketIds": ...,
}
parent.describe_matchmaking(**kwargs)
describe_matchmaking_configurations
Retrieves the details of FlexMatch matchmaking configurations.
Type annotations and code completion for session.client("gamelift").describe_matchmaking_configurations
method.
boto3 documentation
await def describe_matchmaking_configurations(
self,
*,
Names: Sequence[str] = ...,
RuleSetName: str = ...,
Limit: int = ...,
NextToken: str = ...,
) -> DescribeMatchmakingConfigurationsOutputTypeDef: # (1)
...
kwargs: DescribeMatchmakingConfigurationsInputRequestTypeDef = { # (1)
"Names": ...,
}
parent.describe_matchmaking_configurations(**kwargs)
describe_matchmaking_rule_sets
Retrieves the details for FlexMatch matchmaking rule sets.
Type annotations and code completion for session.client("gamelift").describe_matchmaking_rule_sets
method.
boto3 documentation
await def describe_matchmaking_rule_sets(
self,
*,
Names: Sequence[str] = ...,
Limit: int = ...,
NextToken: str = ...,
) -> DescribeMatchmakingRuleSetsOutputTypeDef: # (1)
...
kwargs: DescribeMatchmakingRuleSetsInputRequestTypeDef = { # (1)
"Names": ...,
}
parent.describe_matchmaking_rule_sets(**kwargs)
describe_player_sessions
Retrieves properties for one or more player sessions.
Type annotations and code completion for session.client("gamelift").describe_player_sessions
method.
boto3 documentation
await def describe_player_sessions(
self,
*,
GameSessionId: str = ...,
PlayerId: str = ...,
PlayerSessionId: str = ...,
PlayerSessionStatusFilter: str = ...,
Limit: int = ...,
NextToken: str = ...,
) -> DescribePlayerSessionsOutputTypeDef: # (1)
...
kwargs: DescribePlayerSessionsInputRequestTypeDef = { # (1)
"GameSessionId": ...,
}
parent.describe_player_sessions(**kwargs)
describe_runtime_configuration
Retrieves a fleet's runtime configuration settings.
Type annotations and code completion for session.client("gamelift").describe_runtime_configuration
method.
boto3 documentation
await def describe_runtime_configuration(
self,
*,
FleetId: str,
) -> DescribeRuntimeConfigurationOutputTypeDef: # (1)
...
kwargs: DescribeRuntimeConfigurationInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.describe_runtime_configuration(**kwargs)
describe_scaling_policies
Retrieves all scaling policies applied to a fleet.
Type annotations and code completion for session.client("gamelift").describe_scaling_policies
method.
boto3 documentation
await def describe_scaling_policies(
self,
*,
FleetId: str,
StatusFilter: ScalingStatusTypeType = ..., # (1)
Limit: int = ...,
NextToken: str = ...,
Location: str = ...,
) -> DescribeScalingPoliciesOutputTypeDef: # (2)
...
kwargs: DescribeScalingPoliciesInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.describe_scaling_policies(**kwargs)
describe_script
Retrieves properties for a Realtime script.
Type annotations and code completion for session.client("gamelift").describe_script
method.
boto3 documentation
await def describe_script(
self,
*,
ScriptId: str,
) -> DescribeScriptOutputTypeDef: # (1)
...
kwargs: DescribeScriptInputRequestTypeDef = { # (1)
"ScriptId": ...,
}
parent.describe_script(**kwargs)
describe_vpc_peering_authorizations
Retrieves valid VPC peering authorizations that are pending for the Amazon Web Services account.
Type annotations and code completion for session.client("gamelift").describe_vpc_peering_authorizations
method.
boto3 documentation
await def describe_vpc_peering_authorizations(
self,
) -> DescribeVpcPeeringAuthorizationsOutputTypeDef: # (1)
...
describe_vpc_peering_connections
Retrieves information on VPC peering connections.
Type annotations and code completion for session.client("gamelift").describe_vpc_peering_connections
method.
boto3 documentation
await def describe_vpc_peering_connections(
self,
*,
FleetId: str = ...,
) -> DescribeVpcPeeringConnectionsOutputTypeDef: # (1)
...
kwargs: DescribeVpcPeeringConnectionsInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.describe_vpc_peering_connections(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for session.client("gamelift").generate_presigned_url
method.
boto3 documentation
await def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_game_session_log_url
Retrieves the location of stored game session logs for a specified game session.
Type annotations and code completion for session.client("gamelift").get_game_session_log_url
method.
boto3 documentation
await def get_game_session_log_url(
self,
*,
GameSessionId: str,
) -> GetGameSessionLogUrlOutputTypeDef: # (1)
...
kwargs: GetGameSessionLogUrlInputRequestTypeDef = { # (1)
"GameSessionId": ...,
}
parent.get_game_session_log_url(**kwargs)
get_instance_access
Requests remote access to a fleet instance.
Type annotations and code completion for session.client("gamelift").get_instance_access
method.
boto3 documentation
await def get_instance_access(
self,
*,
FleetId: str,
InstanceId: str,
) -> GetInstanceAccessOutputTypeDef: # (1)
...
kwargs: GetInstanceAccessInputRequestTypeDef = { # (1)
"FleetId": ...,
"InstanceId": ...,
}
parent.get_instance_access(**kwargs)
list_aliases
Retrieves all aliases for this Amazon Web Services account.
Type annotations and code completion for session.client("gamelift").list_aliases
method.
boto3 documentation
await def list_aliases(
self,
*,
RoutingStrategyType: RoutingStrategyTypeType = ..., # (1)
Name: str = ...,
Limit: int = ...,
NextToken: str = ...,
) -> ListAliasesOutputTypeDef: # (2)
...
kwargs: ListAliasesInputRequestTypeDef = { # (1)
"RoutingStrategyType": ...,
}
parent.list_aliases(**kwargs)
list_builds
Retrieves build resources for all builds associated with the Amazon Web Services account in use.
Type annotations and code completion for session.client("gamelift").list_builds
method.
boto3 documentation
await def list_builds(
self,
*,
Status: BuildStatusType = ..., # (1)
Limit: int = ...,
NextToken: str = ...,
) -> ListBuildsOutputTypeDef: # (2)
...
kwargs: ListBuildsInputRequestTypeDef = { # (1)
"Status": ...,
}
parent.list_builds(**kwargs)
list_fleets
Retrieves a collection of fleet resources in an Amazon Web Services Region.
Type annotations and code completion for session.client("gamelift").list_fleets
method.
boto3 documentation
await def list_fleets(
self,
*,
BuildId: str = ...,
ScriptId: str = ...,
Limit: int = ...,
NextToken: str = ...,
) -> ListFleetsOutputTypeDef: # (1)
...
kwargs: ListFleetsInputRequestTypeDef = { # (1)
"BuildId": ...,
}
parent.list_fleets(**kwargs)
list_game_server_groups
This operation is used with the GameLift FleetIQ solution and game server groups. Retrieves information on all game servers groups that exist in the current Amazon Web Services account for the selected Region.
Type annotations and code completion for session.client("gamelift").list_game_server_groups
method.
boto3 documentation
await def list_game_server_groups(
self,
*,
Limit: int = ...,
NextToken: str = ...,
) -> ListGameServerGroupsOutputTypeDef: # (1)
...
kwargs: ListGameServerGroupsInputRequestTypeDef = { # (1)
"Limit": ...,
}
parent.list_game_server_groups(**kwargs)
list_game_servers
This operation is used with the GameLift FleetIQ solution and game server groups. Retrieves information on all game servers that are currently active in a specified game server group.
Type annotations and code completion for session.client("gamelift").list_game_servers
method.
boto3 documentation
await def list_game_servers(
self,
*,
GameServerGroupName: str,
SortOrder: SortOrderType = ..., # (1)
Limit: int = ...,
NextToken: str = ...,
) -> ListGameServersOutputTypeDef: # (2)
...
kwargs: ListGameServersInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
}
parent.list_game_servers(**kwargs)
list_scripts
Retrieves script records for all Realtime scripts that are associated with the Amazon Web Services account in use.
Type annotations and code completion for session.client("gamelift").list_scripts
method.
boto3 documentation
await def list_scripts(
self,
*,
Limit: int = ...,
NextToken: str = ...,
) -> ListScriptsOutputTypeDef: # (1)
...
kwargs: ListScriptsInputRequestTypeDef = { # (1)
"Limit": ...,
}
parent.list_scripts(**kwargs)
list_tags_for_resource
Retrieves all tags that are assigned to a GameLift resource.
Type annotations and code completion for session.client("gamelift").list_tags_for_resource
method.
boto3 documentation
await def list_tags_for_resource(
self,
*,
ResourceARN: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceARN": ...,
}
parent.list_tags_for_resource(**kwargs)
put_scaling_policy
Creates or updates a scaling policy for a fleet.
Type annotations and code completion for session.client("gamelift").put_scaling_policy
method.
boto3 documentation
await def put_scaling_policy(
self,
*,
Name: str,
FleetId: str,
MetricName: MetricNameType, # (1)
ScalingAdjustment: int = ...,
ScalingAdjustmentType: ScalingAdjustmentTypeType = ..., # (2)
Threshold: float = ...,
ComparisonOperator: ComparisonOperatorTypeType = ..., # (3)
EvaluationPeriods: int = ...,
PolicyType: PolicyTypeType = ..., # (4)
TargetConfiguration: TargetConfigurationTypeDef = ..., # (5)
) -> PutScalingPolicyOutputTypeDef: # (6)
...
- See MetricNameType
- See ScalingAdjustmentTypeType
- See ComparisonOperatorTypeType
- See PolicyTypeType
- See TargetConfigurationTypeDef
- See PutScalingPolicyOutputTypeDef
kwargs: PutScalingPolicyInputRequestTypeDef = { # (1)
"Name": ...,
"FleetId": ...,
"MetricName": ...,
}
parent.put_scaling_policy(**kwargs)
register_game_server
This operation is used with the GameLift FleetIQ solution and game server groups. Creates a new game server resource and notifies GameLift FleetIQ that the game server is ready to host gameplay and players.
Type annotations and code completion for session.client("gamelift").register_game_server
method.
boto3 documentation
await def register_game_server(
self,
*,
GameServerGroupName: str,
GameServerId: str,
InstanceId: str,
ConnectionInfo: str = ...,
GameServerData: str = ...,
) -> RegisterGameServerOutputTypeDef: # (1)
...
kwargs: RegisterGameServerInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
"GameServerId": ...,
"InstanceId": ...,
}
parent.register_game_server(**kwargs)
request_upload_credentials
Retrieves a fresh set of credentials for use when uploading a new set of game build files to Amazon GameLift's Amazon S3.
Type annotations and code completion for session.client("gamelift").request_upload_credentials
method.
boto3 documentation
await def request_upload_credentials(
self,
*,
BuildId: str,
) -> RequestUploadCredentialsOutputTypeDef: # (1)
...
kwargs: RequestUploadCredentialsInputRequestTypeDef = { # (1)
"BuildId": ...,
}
parent.request_upload_credentials(**kwargs)
resolve_alias
Retrieves the fleet ID that an alias is currently pointing to.
Type annotations and code completion for session.client("gamelift").resolve_alias
method.
boto3 documentation
await def resolve_alias(
self,
*,
AliasId: str,
) -> ResolveAliasOutputTypeDef: # (1)
...
kwargs: ResolveAliasInputRequestTypeDef = { # (1)
"AliasId": ...,
}
parent.resolve_alias(**kwargs)
resume_game_server_group
This operation is used with the GameLift FleetIQ solution and game server groups. Reinstates activity on a game server group after it has been suspended.
Type annotations and code completion for session.client("gamelift").resume_game_server_group
method.
boto3 documentation
await def resume_game_server_group(
self,
*,
GameServerGroupName: str,
ResumeActions: Sequence[GameServerGroupActionType], # (1)
) -> ResumeGameServerGroupOutputTypeDef: # (2)
...
kwargs: ResumeGameServerGroupInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
"ResumeActions": ...,
}
parent.resume_game_server_group(**kwargs)
search_game_sessions
Retrieves all active game sessions that match a set of search criteria and sorts them into a specified order.
Type annotations and code completion for session.client("gamelift").search_game_sessions
method.
boto3 documentation
await def search_game_sessions(
self,
*,
FleetId: str = ...,
AliasId: str = ...,
Location: str = ...,
FilterExpression: str = ...,
SortExpression: str = ...,
Limit: int = ...,
NextToken: str = ...,
) -> SearchGameSessionsOutputTypeDef: # (1)
...
kwargs: SearchGameSessionsInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.search_game_sessions(**kwargs)
start_fleet_actions
Resumes certain types of activity on fleet instances that were suspended with StopFleetActions.
Type annotations and code completion for session.client("gamelift").start_fleet_actions
method.
boto3 documentation
await def start_fleet_actions(
self,
*,
FleetId: str,
Actions: Sequence[FleetActionType], # (1)
Location: str = ...,
) -> StartFleetActionsOutputTypeDef: # (2)
...
kwargs: StartFleetActionsInputRequestTypeDef = { # (1)
"FleetId": ...,
"Actions": ...,
}
parent.start_fleet_actions(**kwargs)
start_game_session_placement
Places a request for a new game session in a queue (see CreateGameSessionQueue ).
Type annotations and code completion for session.client("gamelift").start_game_session_placement
method.
boto3 documentation
await def start_game_session_placement(
self,
*,
PlacementId: str,
GameSessionQueueName: str,
MaximumPlayerSessionCount: int,
GameProperties: Sequence[GamePropertyTypeDef] = ..., # (1)
GameSessionName: str = ...,
PlayerLatencies: Sequence[PlayerLatencyTypeDef] = ..., # (2)
DesiredPlayerSessions: Sequence[DesiredPlayerSessionTypeDef] = ..., # (3)
GameSessionData: str = ...,
) -> StartGameSessionPlacementOutputTypeDef: # (4)
...
- See GamePropertyTypeDef
- See PlayerLatencyTypeDef
- See DesiredPlayerSessionTypeDef
- See StartGameSessionPlacementOutputTypeDef
kwargs: StartGameSessionPlacementInputRequestTypeDef = { # (1)
"PlacementId": ...,
"GameSessionQueueName": ...,
"MaximumPlayerSessionCount": ...,
}
parent.start_game_session_placement(**kwargs)
start_match_backfill
Finds new players to fill open slots in currently running game sessions.
Type annotations and code completion for session.client("gamelift").start_match_backfill
method.
boto3 documentation
await def start_match_backfill(
self,
*,
ConfigurationName: str,
Players: Sequence[PlayerTypeDef], # (1)
TicketId: str = ...,
GameSessionArn: str = ...,
) -> StartMatchBackfillOutputTypeDef: # (2)
...
kwargs: StartMatchBackfillInputRequestTypeDef = { # (1)
"ConfigurationName": ...,
"Players": ...,
}
parent.start_match_backfill(**kwargs)
start_matchmaking
Uses FlexMatch to create a game match for a group of players based on custom matchmaking rules.
Type annotations and code completion for session.client("gamelift").start_matchmaking
method.
boto3 documentation
await def start_matchmaking(
self,
*,
ConfigurationName: str,
Players: Sequence[PlayerTypeDef], # (1)
TicketId: str = ...,
) -> StartMatchmakingOutputTypeDef: # (2)
...
kwargs: StartMatchmakingInputRequestTypeDef = { # (1)
"ConfigurationName": ...,
"Players": ...,
}
parent.start_matchmaking(**kwargs)
stop_fleet_actions
Suspends certain types of activity in a fleet location.
Type annotations and code completion for session.client("gamelift").stop_fleet_actions
method.
boto3 documentation
await def stop_fleet_actions(
self,
*,
FleetId: str,
Actions: Sequence[FleetActionType], # (1)
Location: str = ...,
) -> StopFleetActionsOutputTypeDef: # (2)
...
kwargs: StopFleetActionsInputRequestTypeDef = { # (1)
"FleetId": ...,
"Actions": ...,
}
parent.stop_fleet_actions(**kwargs)
stop_game_session_placement
Cancels a game session placement that is in PENDING
status.
Type annotations and code completion for session.client("gamelift").stop_game_session_placement
method.
boto3 documentation
await def stop_game_session_placement(
self,
*,
PlacementId: str,
) -> StopGameSessionPlacementOutputTypeDef: # (1)
...
kwargs: StopGameSessionPlacementInputRequestTypeDef = { # (1)
"PlacementId": ...,
}
parent.stop_game_session_placement(**kwargs)
stop_matchmaking
Cancels a matchmaking ticket or match backfill ticket that is currently being processed.
Type annotations and code completion for session.client("gamelift").stop_matchmaking
method.
boto3 documentation
kwargs: StopMatchmakingInputRequestTypeDef = { # (1)
"TicketId": ...,
}
parent.stop_matchmaking(**kwargs)
suspend_game_server_group
This operation is used with the GameLift FleetIQ solution and game server groups. Temporarily stops activity on a game server group without terminating instances or the game server group.
Type annotations and code completion for session.client("gamelift").suspend_game_server_group
method.
boto3 documentation
await def suspend_game_server_group(
self,
*,
GameServerGroupName: str,
SuspendActions: Sequence[GameServerGroupActionType], # (1)
) -> SuspendGameServerGroupOutputTypeDef: # (2)
...
kwargs: SuspendGameServerGroupInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
"SuspendActions": ...,
}
parent.suspend_game_server_group(**kwargs)
tag_resource
Assigns a tag to a GameLift resource.
Type annotations and code completion for session.client("gamelift").tag_resource
method.
boto3 documentation
await def tag_resource(
self,
*,
ResourceARN: str,
Tags: Sequence[TagTypeDef], # (1)
) -> Dict[str, Any]:
...
- See TagTypeDef
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceARN": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource
Removes a tag that is assigned to a GameLift resource.
Type annotations and code completion for session.client("gamelift").untag_resource
method.
boto3 documentation
await def untag_resource(
self,
*,
ResourceARN: str,
TagKeys: Sequence[str],
) -> Dict[str, Any]:
...
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceARN": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_alias
Updates properties for an alias.
Type annotations and code completion for session.client("gamelift").update_alias
method.
boto3 documentation
await def update_alias(
self,
*,
AliasId: str,
Name: str = ...,
Description: str = ...,
RoutingStrategy: RoutingStrategyTypeDef = ..., # (1)
) -> UpdateAliasOutputTypeDef: # (2)
...
kwargs: UpdateAliasInputRequestTypeDef = { # (1)
"AliasId": ...,
}
parent.update_alias(**kwargs)
update_build
Updates metadata in a build resource, including the build name and version.
Type annotations and code completion for session.client("gamelift").update_build
method.
boto3 documentation
await def update_build(
self,
*,
BuildId: str,
Name: str = ...,
Version: str = ...,
) -> UpdateBuildOutputTypeDef: # (1)
...
kwargs: UpdateBuildInputRequestTypeDef = { # (1)
"BuildId": ...,
}
parent.update_build(**kwargs)
update_fleet_attributes
Updates a fleet's mutable attributes, including game session protection and resource creation limits.
Type annotations and code completion for session.client("gamelift").update_fleet_attributes
method.
boto3 documentation
await def update_fleet_attributes(
self,
*,
FleetId: str,
Name: str = ...,
Description: str = ...,
NewGameSessionProtectionPolicy: ProtectionPolicyType = ..., # (1)
ResourceCreationLimitPolicy: ResourceCreationLimitPolicyTypeDef = ..., # (2)
MetricGroups: Sequence[str] = ...,
) -> UpdateFleetAttributesOutputTypeDef: # (3)
...
- See ProtectionPolicyType
- See ResourceCreationLimitPolicyTypeDef
- See UpdateFleetAttributesOutputTypeDef
kwargs: UpdateFleetAttributesInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.update_fleet_attributes(**kwargs)
update_fleet_capacity
Updates capacity settings for a fleet.
Type annotations and code completion for session.client("gamelift").update_fleet_capacity
method.
boto3 documentation
await def update_fleet_capacity(
self,
*,
FleetId: str,
DesiredInstances: int = ...,
MinSize: int = ...,
MaxSize: int = ...,
Location: str = ...,
) -> UpdateFleetCapacityOutputTypeDef: # (1)
...
kwargs: UpdateFleetCapacityInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.update_fleet_capacity(**kwargs)
update_fleet_port_settings
Updates permissions that allow inbound traffic to connect to game sessions that are being hosted on instances in the fleet.
Type annotations and code completion for session.client("gamelift").update_fleet_port_settings
method.
boto3 documentation
await def update_fleet_port_settings(
self,
*,
FleetId: str,
InboundPermissionAuthorizations: Sequence[IpPermissionTypeDef] = ..., # (1)
InboundPermissionRevocations: Sequence[IpPermissionTypeDef] = ..., # (1)
) -> UpdateFleetPortSettingsOutputTypeDef: # (3)
...
kwargs: UpdateFleetPortSettingsInputRequestTypeDef = { # (1)
"FleetId": ...,
}
parent.update_fleet_port_settings(**kwargs)
update_game_server
This operation is used with the GameLift FleetIQ solution and game server groups. Updates information about a registered game server to help GameLift FleetIQ to track game server availability.
Type annotations and code completion for session.client("gamelift").update_game_server
method.
boto3 documentation
await def update_game_server(
self,
*,
GameServerGroupName: str,
GameServerId: str,
GameServerData: str = ...,
UtilizationStatus: GameServerUtilizationStatusType = ..., # (1)
HealthCheck: GameServerHealthCheckType = ..., # (2)
) -> UpdateGameServerOutputTypeDef: # (3)
...
kwargs: UpdateGameServerInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
"GameServerId": ...,
}
parent.update_game_server(**kwargs)
update_game_server_group
This operation is used with the GameLift FleetIQ solution and game server groups. Updates GameLift FleetIQ-specific properties for a game server group.
Type annotations and code completion for session.client("gamelift").update_game_server_group
method.
boto3 documentation
await def update_game_server_group(
self,
*,
GameServerGroupName: str,
RoleArn: str = ...,
InstanceDefinitions: Sequence[InstanceDefinitionTypeDef] = ..., # (1)
GameServerProtectionPolicy: GameServerProtectionPolicyType = ..., # (2)
BalancingStrategy: BalancingStrategyType = ..., # (3)
) -> UpdateGameServerGroupOutputTypeDef: # (4)
...
- See InstanceDefinitionTypeDef
- See GameServerProtectionPolicyType
- See BalancingStrategyType
- See UpdateGameServerGroupOutputTypeDef
kwargs: UpdateGameServerGroupInputRequestTypeDef = { # (1)
"GameServerGroupName": ...,
}
parent.update_game_server_group(**kwargs)
update_game_session
Updates the mutable properties of a game session.
Type annotations and code completion for session.client("gamelift").update_game_session
method.
boto3 documentation
await def update_game_session(
self,
*,
GameSessionId: str,
MaximumPlayerSessionCount: int = ...,
Name: str = ...,
PlayerSessionCreationPolicy: PlayerSessionCreationPolicyType = ..., # (1)
ProtectionPolicy: ProtectionPolicyType = ..., # (2)
) -> UpdateGameSessionOutputTypeDef: # (3)
...
kwargs: UpdateGameSessionInputRequestTypeDef = { # (1)
"GameSessionId": ...,
}
parent.update_game_session(**kwargs)
update_game_session_queue
Updates the configuration of a game session queue, which determines how the queue processes new game session requests.
Type annotations and code completion for session.client("gamelift").update_game_session_queue
method.
boto3 documentation
await def update_game_session_queue(
self,
*,
Name: str,
TimeoutInSeconds: int = ...,
PlayerLatencyPolicies: Sequence[PlayerLatencyPolicyTypeDef] = ..., # (1)
Destinations: Sequence[GameSessionQueueDestinationTypeDef] = ..., # (2)
FilterConfiguration: FilterConfigurationTypeDef = ..., # (3)
PriorityConfiguration: PriorityConfigurationTypeDef = ..., # (4)
CustomEventData: str = ...,
NotificationTarget: str = ...,
) -> UpdateGameSessionQueueOutputTypeDef: # (5)
...
- See PlayerLatencyPolicyTypeDef
- See GameSessionQueueDestinationTypeDef
- See FilterConfigurationTypeDef
- See PriorityConfigurationTypeDef
- See UpdateGameSessionQueueOutputTypeDef
kwargs: UpdateGameSessionQueueInputRequestTypeDef = { # (1)
"Name": ...,
}
parent.update_game_session_queue(**kwargs)
update_matchmaking_configuration
Updates settings for a FlexMatch matchmaking configuration.
Type annotations and code completion for session.client("gamelift").update_matchmaking_configuration
method.
boto3 documentation
await def update_matchmaking_configuration(
self,
*,
Name: str,
Description: str = ...,
GameSessionQueueArns: Sequence[str] = ...,
RequestTimeoutSeconds: int = ...,
AcceptanceTimeoutSeconds: int = ...,
AcceptanceRequired: bool = ...,
RuleSetName: str = ...,
NotificationTarget: str = ...,
AdditionalPlayerCount: int = ...,
CustomEventData: str = ...,
GameProperties: Sequence[GamePropertyTypeDef] = ..., # (1)
GameSessionData: str = ...,
BackfillMode: BackfillModeType = ..., # (2)
FlexMatchMode: FlexMatchModeType = ..., # (3)
) -> UpdateMatchmakingConfigurationOutputTypeDef: # (4)
...
- See GamePropertyTypeDef
- See BackfillModeType
- See FlexMatchModeType
- See UpdateMatchmakingConfigurationOutputTypeDef
kwargs: UpdateMatchmakingConfigurationInputRequestTypeDef = { # (1)
"Name": ...,
}
parent.update_matchmaking_configuration(**kwargs)
update_runtime_configuration
Updates the current runtime configuration for the specified fleet, which tells GameLift how to launch server processes on all instances in the fleet.
Type annotations and code completion for session.client("gamelift").update_runtime_configuration
method.
boto3 documentation
await def update_runtime_configuration(
self,
*,
FleetId: str,
RuntimeConfiguration: RuntimeConfigurationTypeDef, # (1)
) -> UpdateRuntimeConfigurationOutputTypeDef: # (2)
...
kwargs: UpdateRuntimeConfigurationInputRequestTypeDef = { # (1)
"FleetId": ...,
"RuntimeConfiguration": ...,
}
parent.update_runtime_configuration(**kwargs)
update_script
Updates Realtime script metadata and content.
Type annotations and code completion for session.client("gamelift").update_script
method.
boto3 documentation
await def update_script(
self,
*,
ScriptId: str,
Name: str = ...,
Version: str = ...,
StorageLocation: S3LocationTypeDef = ..., # (1)
ZipFile: Union[str, bytes, IO[Any], StreamingBody] = ...,
) -> UpdateScriptOutputTypeDef: # (2)
...
kwargs: UpdateScriptInputRequestTypeDef = { # (1)
"ScriptId": ...,
}
parent.update_script(**kwargs)
validate_matchmaking_rule_set
Validates the syntax of a matchmaking rule or rule set.
Type annotations and code completion for session.client("gamelift").validate_matchmaking_rule_set
method.
boto3 documentation
await def validate_matchmaking_rule_set(
self,
*,
RuleSetBody: str,
) -> ValidateMatchmakingRuleSetOutputTypeDef: # (1)
...
kwargs: ValidateMatchmakingRuleSetInputRequestTypeDef = { # (1)
"RuleSetBody": ...,
}
parent.validate_matchmaking_rule_set(**kwargs)
__aenter__
Type annotations and code completion for session.client("gamelift").__aenter__
method.
boto3 documentation
__aexit__
Type annotations and code completion for session.client("gamelift").__aexit__
method.
boto3 documentation
get_paginator
Type annotations and code completion for session.client("gamelift").get_paginator
method with overloads.
client.get_paginator("describe_fleet_attributes")
-> DescribeFleetAttributesPaginatorclient.get_paginator("describe_fleet_capacity")
-> DescribeFleetCapacityPaginatorclient.get_paginator("describe_fleet_events")
-> DescribeFleetEventsPaginatorclient.get_paginator("describe_fleet_utilization")
-> DescribeFleetUtilizationPaginatorclient.get_paginator("describe_game_server_instances")
-> DescribeGameServerInstancesPaginatorclient.get_paginator("describe_game_session_details")
-> DescribeGameSessionDetailsPaginatorclient.get_paginator("describe_game_session_queues")
-> DescribeGameSessionQueuesPaginatorclient.get_paginator("describe_game_sessions")
-> DescribeGameSessionsPaginatorclient.get_paginator("describe_instances")
-> DescribeInstancesPaginatorclient.get_paginator("describe_matchmaking_configurations")
-> DescribeMatchmakingConfigurationsPaginatorclient.get_paginator("describe_matchmaking_rule_sets")
-> DescribeMatchmakingRuleSetsPaginatorclient.get_paginator("describe_player_sessions")
-> DescribePlayerSessionsPaginatorclient.get_paginator("describe_scaling_policies")
-> DescribeScalingPoliciesPaginatorclient.get_paginator("list_aliases")
-> ListAliasesPaginatorclient.get_paginator("list_builds")
-> ListBuildsPaginatorclient.get_paginator("list_fleets")
-> ListFleetsPaginatorclient.get_paginator("list_game_server_groups")
-> ListGameServerGroupsPaginatorclient.get_paginator("list_game_servers")
-> ListGameServersPaginatorclient.get_paginator("list_scripts")
-> ListScriptsPaginatorclient.get_paginator("search_game_sessions")
-> SearchGameSessionsPaginator