Typed dictionaries
Auto-generated documentation for GameLift type annotations stubs module mypy-boto3-gamelift.
AcceptMatchInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import AcceptMatchInputRequestTypeDef
def get_value() -> AcceptMatchInputRequestTypeDef:
return {
"TicketId": ...,
"PlayerIds": ...,
"AcceptanceType": ...,
}
Definition
class AcceptMatchInputRequestTypeDef(TypedDict):
TicketId: str,
PlayerIds: Sequence[str],
AcceptanceType: AcceptanceTypeType, # (1)
RoutingStrategyTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import RoutingStrategyTypeDef
def get_value() -> RoutingStrategyTypeDef:
return {
"Type": ...,
}
Definition
class RoutingStrategyTypeDef(TypedDict):
Type: NotRequired[RoutingStrategyTypeType], # (1)
FleetId: NotRequired[str],
Message: NotRequired[str],
AnywhereConfigurationTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import AnywhereConfigurationTypeDef
def get_value() -> AnywhereConfigurationTypeDef:
return {
"Cost": ...,
}
AttributeValueTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import AttributeValueTypeDef
def get_value() -> AttributeValueTypeDef:
return {
"S": ...,
}
Definition
class AttributeValueTypeDef(TypedDict):
S: NotRequired[str],
N: NotRequired[float],
SL: NotRequired[List[str]],
SDM: NotRequired[Dict[str, float]],
AwsCredentialsTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import AwsCredentialsTypeDef
def get_value() -> AwsCredentialsTypeDef:
return {
"AccessKeyId": ...,
}
Definition
class AwsCredentialsTypeDef(TypedDict):
AccessKeyId: NotRequired[str],
SecretAccessKey: NotRequired[str],
SessionToken: NotRequired[str],
BuildTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import BuildTypeDef
def get_value() -> BuildTypeDef:
return {
"BuildId": ...,
}
Definition
class BuildTypeDef(TypedDict):
BuildId: NotRequired[str],
BuildArn: NotRequired[str],
Name: NotRequired[str],
Version: NotRequired[str],
Status: NotRequired[BuildStatusType], # (1)
SizeOnDisk: NotRequired[int],
OperatingSystem: NotRequired[OperatingSystemType], # (2)
CreationTime: NotRequired[datetime],
ServerSdkVersion: NotRequired[str],
- See BuildStatusType
- See OperatingSystemType
CertificateConfigurationTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import CertificateConfigurationTypeDef
def get_value() -> CertificateConfigurationTypeDef:
return {
"CertificateType": ...,
}
Definition
class CertificateConfigurationTypeDef(TypedDict):
CertificateType: CertificateTypeType, # (1)
ClaimGameServerInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import ClaimGameServerInputRequestTypeDef
def get_value() -> ClaimGameServerInputRequestTypeDef:
return {
"GameServerGroupName": ...,
}
Definition
class ClaimGameServerInputRequestTypeDef(TypedDict):
GameServerGroupName: str,
GameServerId: NotRequired[str],
GameServerData: NotRequired[str],
GameServerTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import GameServerTypeDef
def get_value() -> GameServerTypeDef:
return {
"GameServerGroupName": ...,
}
Definition
class GameServerTypeDef(TypedDict):
GameServerGroupName: NotRequired[str],
GameServerGroupArn: NotRequired[str],
GameServerId: NotRequired[str],
InstanceId: NotRequired[str],
ConnectionInfo: NotRequired[str],
GameServerData: NotRequired[str],
ClaimStatus: NotRequired[GameServerClaimStatusType], # (1)
UtilizationStatus: NotRequired[GameServerUtilizationStatusType], # (2)
RegistrationTime: NotRequired[datetime],
LastClaimTime: NotRequired[datetime],
LastHealthCheckTime: NotRequired[datetime],
ResponseMetadataTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
Definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
ComputeTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import ComputeTypeDef
def get_value() -> ComputeTypeDef:
return {
"FleetId": ...,
}
Definition
class ComputeTypeDef(TypedDict):
FleetId: NotRequired[str],
FleetArn: NotRequired[str],
ComputeName: NotRequired[str],
ComputeArn: NotRequired[str],
IpAddress: NotRequired[str],
DnsName: NotRequired[str],
ComputeStatus: NotRequired[ComputeStatusType], # (1)
Location: NotRequired[str],
CreationTime: NotRequired[datetime],
OperatingSystem: NotRequired[OperatingSystemType], # (2)
Type: NotRequired[EC2InstanceTypeType], # (3)
GameLiftServiceSdkEndpoint: NotRequired[str],
- See ComputeStatusType
- See OperatingSystemType
- See EC2InstanceTypeType
TagTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
"Value": ...,
}
S3LocationTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import S3LocationTypeDef
def get_value() -> S3LocationTypeDef:
return {
"Bucket": ...,
}
Definition
class S3LocationTypeDef(TypedDict):
Bucket: NotRequired[str],
Key: NotRequired[str],
RoleArn: NotRequired[str],
ObjectVersion: NotRequired[str],
IpPermissionTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import IpPermissionTypeDef
def get_value() -> IpPermissionTypeDef:
return {
"FromPort": ...,
"ToPort": ...,
"IpRange": ...,
"Protocol": ...,
}
Definition
class IpPermissionTypeDef(TypedDict):
FromPort: int,
ToPort: int,
IpRange: str,
Protocol: IpProtocolType, # (1)
- See IpProtocolType
LocationConfigurationTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import LocationConfigurationTypeDef
def get_value() -> LocationConfigurationTypeDef:
return {
"Location": ...,
}
ResourceCreationLimitPolicyTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import ResourceCreationLimitPolicyTypeDef
def get_value() -> ResourceCreationLimitPolicyTypeDef:
return {
"NewGameSessionsPerCreator": ...,
}
Definition
class ResourceCreationLimitPolicyTypeDef(TypedDict):
NewGameSessionsPerCreator: NotRequired[int],
PolicyPeriodInMinutes: NotRequired[int],
LocationStateTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import LocationStateTypeDef
def get_value() -> LocationStateTypeDef:
return {
"Location": ...,
}
Definition
class LocationStateTypeDef(TypedDict):
Location: NotRequired[str],
Status: NotRequired[FleetStatusType], # (1)
- See FleetStatusType
InstanceDefinitionTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import InstanceDefinitionTypeDef
def get_value() -> InstanceDefinitionTypeDef:
return {
"InstanceType": ...,
}
Definition
class InstanceDefinitionTypeDef(TypedDict):
InstanceType: GameServerGroupInstanceTypeType, # (1)
WeightedCapacity: NotRequired[str],
LaunchTemplateSpecificationTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import LaunchTemplateSpecificationTypeDef
def get_value() -> LaunchTemplateSpecificationTypeDef:
return {
"LaunchTemplateId": ...,
}
Definition
class LaunchTemplateSpecificationTypeDef(TypedDict):
LaunchTemplateId: NotRequired[str],
LaunchTemplateName: NotRequired[str],
Version: NotRequired[str],
GamePropertyTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import GamePropertyTypeDef
def get_value() -> GamePropertyTypeDef:
return {
"Key": ...,
"Value": ...,
}
FilterConfigurationTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import FilterConfigurationTypeDef
def get_value() -> FilterConfigurationTypeDef:
return {
"AllowedLocations": ...,
}
Definition
class FilterConfigurationTypeDef(TypedDict):
AllowedLocations: NotRequired[Sequence[str]],
GameSessionQueueDestinationTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import GameSessionQueueDestinationTypeDef
def get_value() -> GameSessionQueueDestinationTypeDef:
return {
"DestinationArn": ...,
}
PlayerLatencyPolicyTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import PlayerLatencyPolicyTypeDef
def get_value() -> PlayerLatencyPolicyTypeDef:
return {
"MaximumIndividualPlayerLatencyMilliseconds": ...,
}
Definition
class PlayerLatencyPolicyTypeDef(TypedDict):
MaximumIndividualPlayerLatencyMilliseconds: NotRequired[int],
PolicyDurationSeconds: NotRequired[int],
PriorityConfigurationTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import PriorityConfigurationTypeDef
def get_value() -> PriorityConfigurationTypeDef:
return {
"PriorityOrder": ...,
}
Definition
class PriorityConfigurationTypeDef(TypedDict):
PriorityOrder: NotRequired[Sequence[PriorityTypeType]], # (1)
LocationOrder: NotRequired[Sequence[str]],
- See PriorityTypeType
LocationModelTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import LocationModelTypeDef
def get_value() -> LocationModelTypeDef:
return {
"LocationName": ...,
}
Definition
class LocationModelTypeDef(TypedDict):
LocationName: NotRequired[str],
LocationArn: NotRequired[str],
MatchmakingRuleSetTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import MatchmakingRuleSetTypeDef
def get_value() -> MatchmakingRuleSetTypeDef:
return {
"RuleSetBody": ...,
}
Definition
class MatchmakingRuleSetTypeDef(TypedDict):
RuleSetBody: str,
RuleSetName: NotRequired[str],
RuleSetArn: NotRequired[str],
CreationTime: NotRequired[datetime],
CreatePlayerSessionInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import CreatePlayerSessionInputRequestTypeDef
def get_value() -> CreatePlayerSessionInputRequestTypeDef:
return {
"GameSessionId": ...,
"PlayerId": ...,
}
Definition
class CreatePlayerSessionInputRequestTypeDef(TypedDict):
GameSessionId: str,
PlayerId: str,
PlayerData: NotRequired[str],
PlayerSessionTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import PlayerSessionTypeDef
def get_value() -> PlayerSessionTypeDef:
return {
"PlayerSessionId": ...,
}
Definition
class PlayerSessionTypeDef(TypedDict):
PlayerSessionId: NotRequired[str],
PlayerId: NotRequired[str],
GameSessionId: NotRequired[str],
FleetId: NotRequired[str],
FleetArn: NotRequired[str],
CreationTime: NotRequired[datetime],
TerminationTime: NotRequired[datetime],
Status: NotRequired[PlayerSessionStatusType], # (1)
IpAddress: NotRequired[str],
DnsName: NotRequired[str],
Port: NotRequired[int],
PlayerData: NotRequired[str],
CreatePlayerSessionsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import CreatePlayerSessionsInputRequestTypeDef
def get_value() -> CreatePlayerSessionsInputRequestTypeDef:
return {
"GameSessionId": ...,
"PlayerIds": ...,
}
Definition
class CreatePlayerSessionsInputRequestTypeDef(TypedDict):
GameSessionId: str,
PlayerIds: Sequence[str],
PlayerDataMap: NotRequired[Mapping[str, str]],
CreateVpcPeeringAuthorizationInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import CreateVpcPeeringAuthorizationInputRequestTypeDef
def get_value() -> CreateVpcPeeringAuthorizationInputRequestTypeDef:
return {
"GameLiftAwsAccountId": ...,
"PeerVpcId": ...,
}
Definition
class CreateVpcPeeringAuthorizationInputRequestTypeDef(TypedDict):
GameLiftAwsAccountId: str,
PeerVpcId: str,
VpcPeeringAuthorizationTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import VpcPeeringAuthorizationTypeDef
def get_value() -> VpcPeeringAuthorizationTypeDef:
return {
"GameLiftAwsAccountId": ...,
}
Definition
class VpcPeeringAuthorizationTypeDef(TypedDict):
GameLiftAwsAccountId: NotRequired[str],
PeerVpcAwsAccountId: NotRequired[str],
PeerVpcId: NotRequired[str],
CreationTime: NotRequired[datetime],
ExpirationTime: NotRequired[datetime],
CreateVpcPeeringConnectionInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import CreateVpcPeeringConnectionInputRequestTypeDef
def get_value() -> CreateVpcPeeringConnectionInputRequestTypeDef:
return {
"FleetId": ...,
"PeerVpcAwsAccountId": ...,
"PeerVpcId": ...,
}
Definition
class CreateVpcPeeringConnectionInputRequestTypeDef(TypedDict):
FleetId: str,
PeerVpcAwsAccountId: str,
PeerVpcId: str,
DeleteAliasInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteAliasInputRequestTypeDef
def get_value() -> DeleteAliasInputRequestTypeDef:
return {
"AliasId": ...,
}
DeleteBuildInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteBuildInputRequestTypeDef
def get_value() -> DeleteBuildInputRequestTypeDef:
return {
"BuildId": ...,
}
DeleteFleetInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteFleetInputRequestTypeDef
def get_value() -> DeleteFleetInputRequestTypeDef:
return {
"FleetId": ...,
}
DeleteFleetLocationsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteFleetLocationsInputRequestTypeDef
def get_value() -> DeleteFleetLocationsInputRequestTypeDef:
return {
"FleetId": ...,
"Locations": ...,
}
Definition
class DeleteFleetLocationsInputRequestTypeDef(TypedDict):
FleetId: str,
Locations: Sequence[str],
DeleteGameServerGroupInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteGameServerGroupInputRequestTypeDef
def get_value() -> DeleteGameServerGroupInputRequestTypeDef:
return {
"GameServerGroupName": ...,
}
Definition
class DeleteGameServerGroupInputRequestTypeDef(TypedDict):
GameServerGroupName: str,
DeleteOption: NotRequired[GameServerGroupDeleteOptionType], # (1)
DeleteGameSessionQueueInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteGameSessionQueueInputRequestTypeDef
def get_value() -> DeleteGameSessionQueueInputRequestTypeDef:
return {
"Name": ...,
}
DeleteLocationInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteLocationInputRequestTypeDef
def get_value() -> DeleteLocationInputRequestTypeDef:
return {
"LocationName": ...,
}
DeleteMatchmakingConfigurationInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteMatchmakingConfigurationInputRequestTypeDef
def get_value() -> DeleteMatchmakingConfigurationInputRequestTypeDef:
return {
"Name": ...,
}
DeleteMatchmakingRuleSetInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteMatchmakingRuleSetInputRequestTypeDef
def get_value() -> DeleteMatchmakingRuleSetInputRequestTypeDef:
return {
"Name": ...,
}
DeleteScalingPolicyInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteScalingPolicyInputRequestTypeDef
def get_value() -> DeleteScalingPolicyInputRequestTypeDef:
return {
"Name": ...,
"FleetId": ...,
}
DeleteScriptInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteScriptInputRequestTypeDef
def get_value() -> DeleteScriptInputRequestTypeDef:
return {
"ScriptId": ...,
}
DeleteVpcPeeringAuthorizationInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteVpcPeeringAuthorizationInputRequestTypeDef
def get_value() -> DeleteVpcPeeringAuthorizationInputRequestTypeDef:
return {
"GameLiftAwsAccountId": ...,
"PeerVpcId": ...,
}
Definition
class DeleteVpcPeeringAuthorizationInputRequestTypeDef(TypedDict):
GameLiftAwsAccountId: str,
PeerVpcId: str,
DeleteVpcPeeringConnectionInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeleteVpcPeeringConnectionInputRequestTypeDef
def get_value() -> DeleteVpcPeeringConnectionInputRequestTypeDef:
return {
"FleetId": ...,
"VpcPeeringConnectionId": ...,
}
Definition
class DeleteVpcPeeringConnectionInputRequestTypeDef(TypedDict):
FleetId: str,
VpcPeeringConnectionId: str,
DeregisterComputeInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeregisterComputeInputRequestTypeDef
def get_value() -> DeregisterComputeInputRequestTypeDef:
return {
"FleetId": ...,
"ComputeName": ...,
}
DeregisterGameServerInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DeregisterGameServerInputRequestTypeDef
def get_value() -> DeregisterGameServerInputRequestTypeDef:
return {
"GameServerGroupName": ...,
"GameServerId": ...,
}
Definition
class DeregisterGameServerInputRequestTypeDef(TypedDict):
GameServerGroupName: str,
GameServerId: str,
DescribeAliasInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeAliasInputRequestTypeDef
def get_value() -> DescribeAliasInputRequestTypeDef:
return {
"AliasId": ...,
}
DescribeBuildInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeBuildInputRequestTypeDef
def get_value() -> DescribeBuildInputRequestTypeDef:
return {
"BuildId": ...,
}
DescribeComputeInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeComputeInputRequestTypeDef
def get_value() -> DescribeComputeInputRequestTypeDef:
return {
"FleetId": ...,
"ComputeName": ...,
}
DescribeEC2InstanceLimitsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeEC2InstanceLimitsInputRequestTypeDef
def get_value() -> DescribeEC2InstanceLimitsInputRequestTypeDef:
return {
"EC2InstanceType": ...,
}
Definition
class DescribeEC2InstanceLimitsInputRequestTypeDef(TypedDict):
EC2InstanceType: NotRequired[EC2InstanceTypeType], # (1)
Location: NotRequired[str],
EC2InstanceLimitTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import EC2InstanceLimitTypeDef
def get_value() -> EC2InstanceLimitTypeDef:
return {
"EC2InstanceType": ...,
}
Definition
class EC2InstanceLimitTypeDef(TypedDict):
EC2InstanceType: NotRequired[EC2InstanceTypeType], # (1)
CurrentInstances: NotRequired[int],
InstanceLimit: NotRequired[int],
Location: NotRequired[str],
PaginatorConfigTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
Definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
DescribeFleetAttributesInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeFleetAttributesInputRequestTypeDef
def get_value() -> DescribeFleetAttributesInputRequestTypeDef:
return {
"FleetIds": ...,
}
Definition
class DescribeFleetAttributesInputRequestTypeDef(TypedDict):
FleetIds: NotRequired[Sequence[str]],
Limit: NotRequired[int],
NextToken: NotRequired[str],
DescribeFleetCapacityInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeFleetCapacityInputRequestTypeDef
def get_value() -> DescribeFleetCapacityInputRequestTypeDef:
return {
"FleetIds": ...,
}
Definition
class DescribeFleetCapacityInputRequestTypeDef(TypedDict):
FleetIds: NotRequired[Sequence[str]],
Limit: NotRequired[int],
NextToken: NotRequired[str],
DescribeFleetEventsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeFleetEventsInputRequestTypeDef
def get_value() -> DescribeFleetEventsInputRequestTypeDef:
return {
"FleetId": ...,
}
Definition
class DescribeFleetEventsInputRequestTypeDef(TypedDict):
FleetId: str,
StartTime: NotRequired[Union[datetime, str]],
EndTime: NotRequired[Union[datetime, str]],
Limit: NotRequired[int],
NextToken: NotRequired[str],
EventTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import EventTypeDef
def get_value() -> EventTypeDef:
return {
"EventId": ...,
}
Definition
class EventTypeDef(TypedDict):
EventId: NotRequired[str],
ResourceId: NotRequired[str],
EventCode: NotRequired[EventCodeType], # (1)
Message: NotRequired[str],
EventTime: NotRequired[datetime],
PreSignedLogUrl: NotRequired[str],
- See EventCodeType
DescribeFleetLocationAttributesInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeFleetLocationAttributesInputRequestTypeDef
def get_value() -> DescribeFleetLocationAttributesInputRequestTypeDef:
return {
"FleetId": ...,
}
Definition
class DescribeFleetLocationAttributesInputRequestTypeDef(TypedDict):
FleetId: str,
Locations: NotRequired[Sequence[str]],
Limit: NotRequired[int],
NextToken: NotRequired[str],
DescribeFleetLocationCapacityInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeFleetLocationCapacityInputRequestTypeDef
def get_value() -> DescribeFleetLocationCapacityInputRequestTypeDef:
return {
"FleetId": ...,
"Location": ...,
}
Definition
class DescribeFleetLocationCapacityInputRequestTypeDef(TypedDict):
FleetId: str,
Location: str,
DescribeFleetLocationUtilizationInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeFleetLocationUtilizationInputRequestTypeDef
def get_value() -> DescribeFleetLocationUtilizationInputRequestTypeDef:
return {
"FleetId": ...,
"Location": ...,
}
Definition
class DescribeFleetLocationUtilizationInputRequestTypeDef(TypedDict):
FleetId: str,
Location: str,
FleetUtilizationTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import FleetUtilizationTypeDef
def get_value() -> FleetUtilizationTypeDef:
return {
"FleetId": ...,
}
Definition
class FleetUtilizationTypeDef(TypedDict):
FleetId: NotRequired[str],
FleetArn: NotRequired[str],
ActiveServerProcessCount: NotRequired[int],
ActiveGameSessionCount: NotRequired[int],
CurrentPlayerSessionCount: NotRequired[int],
MaximumPlayerSessionCount: NotRequired[int],
Location: NotRequired[str],
DescribeFleetPortSettingsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeFleetPortSettingsInputRequestTypeDef
def get_value() -> DescribeFleetPortSettingsInputRequestTypeDef:
return {
"FleetId": ...,
}
Definition
class DescribeFleetPortSettingsInputRequestTypeDef(TypedDict):
FleetId: str,
Location: NotRequired[str],
DescribeFleetUtilizationInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeFleetUtilizationInputRequestTypeDef
def get_value() -> DescribeFleetUtilizationInputRequestTypeDef:
return {
"FleetIds": ...,
}
Definition
class DescribeFleetUtilizationInputRequestTypeDef(TypedDict):
FleetIds: NotRequired[Sequence[str]],
Limit: NotRequired[int],
NextToken: NotRequired[str],
DescribeGameServerGroupInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeGameServerGroupInputRequestTypeDef
def get_value() -> DescribeGameServerGroupInputRequestTypeDef:
return {
"GameServerGroupName": ...,
}
DescribeGameServerInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeGameServerInputRequestTypeDef
def get_value() -> DescribeGameServerInputRequestTypeDef:
return {
"GameServerGroupName": ...,
"GameServerId": ...,
}
Definition
class DescribeGameServerInputRequestTypeDef(TypedDict):
GameServerGroupName: str,
GameServerId: str,
DescribeGameServerInstancesInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeGameServerInstancesInputRequestTypeDef
def get_value() -> DescribeGameServerInstancesInputRequestTypeDef:
return {
"GameServerGroupName": ...,
}
Definition
class DescribeGameServerInstancesInputRequestTypeDef(TypedDict):
GameServerGroupName: str,
InstanceIds: NotRequired[Sequence[str]],
Limit: NotRequired[int],
NextToken: NotRequired[str],
GameServerInstanceTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import GameServerInstanceTypeDef
def get_value() -> GameServerInstanceTypeDef:
return {
"GameServerGroupName": ...,
}
Definition
class GameServerInstanceTypeDef(TypedDict):
GameServerGroupName: NotRequired[str],
GameServerGroupArn: NotRequired[str],
InstanceId: NotRequired[str],
InstanceStatus: NotRequired[GameServerInstanceStatusType], # (1)
DescribeGameSessionDetailsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeGameSessionDetailsInputRequestTypeDef
def get_value() -> DescribeGameSessionDetailsInputRequestTypeDef:
return {
"FleetId": ...,
}
Definition
class DescribeGameSessionDetailsInputRequestTypeDef(TypedDict):
FleetId: NotRequired[str],
GameSessionId: NotRequired[str],
AliasId: NotRequired[str],
Location: NotRequired[str],
StatusFilter: NotRequired[str],
Limit: NotRequired[int],
NextToken: NotRequired[str],
DescribeGameSessionPlacementInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeGameSessionPlacementInputRequestTypeDef
def get_value() -> DescribeGameSessionPlacementInputRequestTypeDef:
return {
"PlacementId": ...,
}
DescribeGameSessionQueuesInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeGameSessionQueuesInputRequestTypeDef
def get_value() -> DescribeGameSessionQueuesInputRequestTypeDef:
return {
"Names": ...,
}
Definition
class DescribeGameSessionQueuesInputRequestTypeDef(TypedDict):
Names: NotRequired[Sequence[str]],
Limit: NotRequired[int],
NextToken: NotRequired[str],
DescribeGameSessionsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeGameSessionsInputRequestTypeDef
def get_value() -> DescribeGameSessionsInputRequestTypeDef:
return {
"FleetId": ...,
}
Definition
class DescribeGameSessionsInputRequestTypeDef(TypedDict):
FleetId: NotRequired[str],
GameSessionId: NotRequired[str],
AliasId: NotRequired[str],
Location: NotRequired[str],
StatusFilter: NotRequired[str],
Limit: NotRequired[int],
NextToken: NotRequired[str],
DescribeInstancesInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeInstancesInputRequestTypeDef
def get_value() -> DescribeInstancesInputRequestTypeDef:
return {
"FleetId": ...,
}
Definition
class DescribeInstancesInputRequestTypeDef(TypedDict):
FleetId: str,
InstanceId: NotRequired[str],
Limit: NotRequired[int],
NextToken: NotRequired[str],
Location: NotRequired[str],
InstanceTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import InstanceTypeDef
def get_value() -> InstanceTypeDef:
return {
"FleetId": ...,
}
Definition
class InstanceTypeDef(TypedDict):
FleetId: NotRequired[str],
FleetArn: NotRequired[str],
InstanceId: NotRequired[str],
IpAddress: NotRequired[str],
DnsName: NotRequired[str],
OperatingSystem: NotRequired[OperatingSystemType], # (1)
Type: NotRequired[EC2InstanceTypeType], # (2)
Status: NotRequired[InstanceStatusType], # (3)
CreationTime: NotRequired[datetime],
Location: NotRequired[str],
- See OperatingSystemType
- See EC2InstanceTypeType
- See InstanceStatusType
DescribeMatchmakingConfigurationsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeMatchmakingConfigurationsInputRequestTypeDef
def get_value() -> DescribeMatchmakingConfigurationsInputRequestTypeDef:
return {
"Names": ...,
}
Definition
class DescribeMatchmakingConfigurationsInputRequestTypeDef(TypedDict):
Names: NotRequired[Sequence[str]],
RuleSetName: NotRequired[str],
Limit: NotRequired[int],
NextToken: NotRequired[str],
DescribeMatchmakingInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeMatchmakingInputRequestTypeDef
def get_value() -> DescribeMatchmakingInputRequestTypeDef:
return {
"TicketIds": ...,
}
DescribeMatchmakingRuleSetsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeMatchmakingRuleSetsInputRequestTypeDef
def get_value() -> DescribeMatchmakingRuleSetsInputRequestTypeDef:
return {
"Names": ...,
}
Definition
class DescribeMatchmakingRuleSetsInputRequestTypeDef(TypedDict):
Names: NotRequired[Sequence[str]],
Limit: NotRequired[int],
NextToken: NotRequired[str],
DescribePlayerSessionsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribePlayerSessionsInputRequestTypeDef
def get_value() -> DescribePlayerSessionsInputRequestTypeDef:
return {
"GameSessionId": ...,
}
Definition
class DescribePlayerSessionsInputRequestTypeDef(TypedDict):
GameSessionId: NotRequired[str],
PlayerId: NotRequired[str],
PlayerSessionId: NotRequired[str],
PlayerSessionStatusFilter: NotRequired[str],
Limit: NotRequired[int],
NextToken: NotRequired[str],
DescribeRuntimeConfigurationInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeRuntimeConfigurationInputRequestTypeDef
def get_value() -> DescribeRuntimeConfigurationInputRequestTypeDef:
return {
"FleetId": ...,
}
DescribeScalingPoliciesInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeScalingPoliciesInputRequestTypeDef
def get_value() -> DescribeScalingPoliciesInputRequestTypeDef:
return {
"FleetId": ...,
}
Definition
class DescribeScalingPoliciesInputRequestTypeDef(TypedDict):
FleetId: str,
StatusFilter: NotRequired[ScalingStatusTypeType], # (1)
Limit: NotRequired[int],
NextToken: NotRequired[str],
Location: NotRequired[str],
DescribeScriptInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeScriptInputRequestTypeDef
def get_value() -> DescribeScriptInputRequestTypeDef:
return {
"ScriptId": ...,
}
DescribeVpcPeeringConnectionsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DescribeVpcPeeringConnectionsInputRequestTypeDef
def get_value() -> DescribeVpcPeeringConnectionsInputRequestTypeDef:
return {
"FleetId": ...,
}
Definition
class DescribeVpcPeeringConnectionsInputRequestTypeDef(TypedDict):
FleetId: NotRequired[str],
DesiredPlayerSessionTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import DesiredPlayerSessionTypeDef
def get_value() -> DesiredPlayerSessionTypeDef:
return {
"PlayerId": ...,
}
Definition
class DesiredPlayerSessionTypeDef(TypedDict):
PlayerId: NotRequired[str],
PlayerData: NotRequired[str],
EC2InstanceCountsTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import EC2InstanceCountsTypeDef
def get_value() -> EC2InstanceCountsTypeDef:
return {
"DESIRED": ...,
}
Definition
class EC2InstanceCountsTypeDef(TypedDict):
DESIRED: NotRequired[int],
MINIMUM: NotRequired[int],
MAXIMUM: NotRequired[int],
PENDING: NotRequired[int],
ACTIVE: NotRequired[int],
IDLE: NotRequired[int],
TERMINATING: NotRequired[int],
TargetTrackingConfigurationTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import TargetTrackingConfigurationTypeDef
def get_value() -> TargetTrackingConfigurationTypeDef:
return {
"TargetValue": ...,
}
MatchedPlayerSessionTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import MatchedPlayerSessionTypeDef
def get_value() -> MatchedPlayerSessionTypeDef:
return {
"PlayerId": ...,
}
Definition
class MatchedPlayerSessionTypeDef(TypedDict):
PlayerId: NotRequired[str],
PlayerSessionId: NotRequired[str],
PlacedPlayerSessionTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import PlacedPlayerSessionTypeDef
def get_value() -> PlacedPlayerSessionTypeDef:
return {
"PlayerId": ...,
}
Definition
class PlacedPlayerSessionTypeDef(TypedDict):
PlayerId: NotRequired[str],
PlayerSessionId: NotRequired[str],
PlayerLatencyTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import PlayerLatencyTypeDef
def get_value() -> PlayerLatencyTypeDef:
return {
"PlayerId": ...,
}
Definition
class PlayerLatencyTypeDef(TypedDict):
PlayerId: NotRequired[str],
RegionIdentifier: NotRequired[str],
LatencyInMilliseconds: NotRequired[float],
GetComputeAccessInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import GetComputeAccessInputRequestTypeDef
def get_value() -> GetComputeAccessInputRequestTypeDef:
return {
"FleetId": ...,
"ComputeName": ...,
}
GetComputeAuthTokenInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import GetComputeAuthTokenInputRequestTypeDef
def get_value() -> GetComputeAuthTokenInputRequestTypeDef:
return {
"FleetId": ...,
"ComputeName": ...,
}
GetGameSessionLogUrlInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import GetGameSessionLogUrlInputRequestTypeDef
def get_value() -> GetGameSessionLogUrlInputRequestTypeDef:
return {
"GameSessionId": ...,
}
GetInstanceAccessInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import GetInstanceAccessInputRequestTypeDef
def get_value() -> GetInstanceAccessInputRequestTypeDef:
return {
"FleetId": ...,
"InstanceId": ...,
}
InstanceCredentialsTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import InstanceCredentialsTypeDef
def get_value() -> InstanceCredentialsTypeDef:
return {
"UserName": ...,
}
Definition
class InstanceCredentialsTypeDef(TypedDict):
UserName: NotRequired[str],
Secret: NotRequired[str],
ListAliasesInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import ListAliasesInputRequestTypeDef
def get_value() -> ListAliasesInputRequestTypeDef:
return {
"RoutingStrategyType": ...,
}
Definition
class ListAliasesInputRequestTypeDef(TypedDict):
RoutingStrategyType: NotRequired[RoutingStrategyTypeType], # (1)
Name: NotRequired[str],
Limit: NotRequired[int],
NextToken: NotRequired[str],
ListBuildsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import ListBuildsInputRequestTypeDef
def get_value() -> ListBuildsInputRequestTypeDef:
return {
"Status": ...,
}
Definition
class ListBuildsInputRequestTypeDef(TypedDict):
Status: NotRequired[BuildStatusType], # (1)
Limit: NotRequired[int],
NextToken: NotRequired[str],
- See BuildStatusType
ListComputeInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import ListComputeInputRequestTypeDef
def get_value() -> ListComputeInputRequestTypeDef:
return {
"FleetId": ...,
}
Definition
class ListComputeInputRequestTypeDef(TypedDict):
FleetId: str,
Location: NotRequired[str],
Limit: NotRequired[int],
NextToken: NotRequired[str],
ListFleetsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import ListFleetsInputRequestTypeDef
def get_value() -> ListFleetsInputRequestTypeDef:
return {
"BuildId": ...,
}
Definition
class ListFleetsInputRequestTypeDef(TypedDict):
BuildId: NotRequired[str],
ScriptId: NotRequired[str],
Limit: NotRequired[int],
NextToken: NotRequired[str],
ListGameServerGroupsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import ListGameServerGroupsInputRequestTypeDef
def get_value() -> ListGameServerGroupsInputRequestTypeDef:
return {
"Limit": ...,
}
Definition
class ListGameServerGroupsInputRequestTypeDef(TypedDict):
Limit: NotRequired[int],
NextToken: NotRequired[str],
ListGameServersInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import ListGameServersInputRequestTypeDef
def get_value() -> ListGameServersInputRequestTypeDef:
return {
"GameServerGroupName": ...,
}
Definition
class ListGameServersInputRequestTypeDef(TypedDict):
GameServerGroupName: str,
SortOrder: NotRequired[SortOrderType], # (1)
Limit: NotRequired[int],
NextToken: NotRequired[str],
- See SortOrderType
ListLocationsInputRequestTypeDef
Usage Example
from mypy_boto3_gamelift.type_defs import ListLocationsInputRequestTypeDef
def get_value() -> ListLocationsInputRequestTypeDef:
return {
"Filters": ...,
}
Definition
class ListLocationsInputRequestTypeDef(TypedDict):
Filters: NotRequired[Sequence[LocationFilterType]], # (1)
Limit: NotRequired[int],
NextToken: NotRequired[str],