import { AccessLevelList } from '../shared/access-level' ; import { PolicyStatement } from '../shared' ; param sid export class Gamelift extends PolicyStatement { public servicePrefix = 'gamelift' ; param sid constructor ( sid ? ) { super ( sid ) ; } /**
     * Grants permission to register player acceptance or rejection of a proposed FlexMatch match
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_AcceptMatch.html
     */ public toAcceptMatch ( ) { return this . to ( 'AcceptMatch' ) ; } /**
     * Grants permission to locate and reserve a game server to host a new game session
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_ClaimGameServer.html
     */ public toClaimGameServer ( ) { return this . to ( 'ClaimGameServer' ) ; } /**
     * Grants permission to define a new alias for a fleet
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateAlias.html
     */ public toCreateAlias ( ) { return this . to ( 'CreateAlias' ) ; } /**
     * Grants permission to create a new game build using files stored in an Amazon S3 bucket
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateBuild.html
     */ public toCreateBuild ( ) { return this . to ( 'CreateBuild' ) ; } /**
     * Grants permission to create a new fleet of computing resources to run your game servers
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateFleet.html
     */ public toCreateFleet ( ) { return this . to ( 'CreateFleet' ) ; } /**
     * Grants permission to specify additional locations for a fleet
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateFleetLocations.html
     */ public toCreateFleetLocations ( ) { return this . to ( 'CreateFleetLocations' ) ; } /**
     * Grants permission to create a new game server group, set up a corresponding Auto Scaling group, and launche instances to host game servers
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateGameServerGroup.html
     */ public toCreateGameServerGroup ( ) { return this . to ( 'CreateGameServerGroup' ) ; } /**
     * Grants permission to start a new game session on a specified fleet
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateGameSession.html
     */ public toCreateGameSession ( ) { return this . to ( 'CreateGameSession' ) ; } /**
     * Grants permission to set up a new queue for processing game session placement requests
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateGameSessionQueue.html
     */ public toCreateGameSessionQueue ( ) { return this . to ( 'CreateGameSessionQueue' ) ; } /**
     * Grants permission to create a new FlexMatch matchmaker
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateMatchmakingConfiguration.html
     */ public toCreateMatchmakingConfiguration ( ) { return this . to ( 'CreateMatchmakingConfiguration' ) ; } /**
     * Grants permission to create a new matchmaking rule set for FlexMatch
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateMatchmakingRuleSet.html
     */ public toCreateMatchmakingRuleSet ( ) { return this . to ( 'CreateMatchmakingRuleSet' ) ; } /**
     * Grants permission to reserve an available game session slot for a player
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreatePlayerSession.html
     */ public toCreatePlayerSession ( ) { return this . to ( 'CreatePlayerSession' ) ; } /**
     * Grants permission to reserve available game session slots for multiple players
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreatePlayerSessions.html
     */ public toCreatePlayerSessions ( ) { return this . to ( 'CreatePlayerSessions' ) ; } /**
     * Grants permission to create a new Realtime Servers script
     *
     * Access Level: Write
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateScript.html
     */ public toCreateScript ( ) { return this . to ( 'CreateScript' ) ; } /**
     * Grants permission to allow GameLift to create or delete a peering connection between a GameLift fleet VPC and a VPC on another AWS account
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateVpcPeeringAuthorization.html
     */ public toCreateVpcPeeringAuthorization ( ) { return this . to ( 'CreateVpcPeeringAuthorization' ) ; } /**
     * Grants permission to establish a peering connection between your GameLift fleet VPC and a VPC on another account
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateVpcPeeringConnection.html
     */ public toCreateVpcPeeringConnection ( ) { return this . to ( 'CreateVpcPeeringConnection' ) ; } /**
     * Grants permission to delete an alias
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteAlias.html
     */ public toDeleteAlias ( ) { return this . to ( 'DeleteAlias' ) ; } /**
     * Grants permission to delete a game build
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteBuild.html
     */ public toDeleteBuild ( ) { return this . to ( 'DeleteBuild' ) ; } /**
     * Grants permission to delete an empty fleet
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteFleet.html
     */ public toDeleteFleet ( ) { return this . to ( 'DeleteFleet' ) ; } /**
     * Grants permission to delete locations for a fleet
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteFleetLocations.html
     */ public toDeleteFleetLocations ( ) { return this . to ( 'DeleteFleetLocations' ) ; } /**
     * Grants permission to permanently delete a game server group and terminate FleetIQ activity for the corresponding Auto Scaling group
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteGameServerGroup.html
     */ public toDeleteGameServerGroup ( ) { return this . to ( 'DeleteGameServerGroup' ) ; } /**
     * Grants permission to delete an existing game session queue
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteGameSessionQueue.html
     */ public toDeleteGameSessionQueue ( ) { return this . to ( 'DeleteGameSessionQueue' ) ; } /**
     * Grants permission to delete an existing FlexMatch matchmaker
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteMatchmakingConfiguration.html
     */ public toDeleteMatchmakingConfiguration ( ) { return this . to ( 'DeleteMatchmakingConfiguration' ) ; } /**
     * Grants permission to delete an existing FlexMatch matchmaking rule set
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteMatchmakingRuleSet.html
     */ public toDeleteMatchmakingRuleSet ( ) { return this . to ( 'DeleteMatchmakingRuleSet' ) ; } /**
     * Grants permission to delete a set of auto-scaling rules
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteScalingPolicy.html
     */ public toDeleteScalingPolicy ( ) { return this . to ( 'DeleteScalingPolicy' ) ; } /**
     * Grants permission to delete a Realtime Servers script
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteScript.html
     */ public toDeleteScript ( ) { return this . to ( 'DeleteScript' ) ; } /**
     * Grants permission to cancel a VPC peering authorization
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteVpcPeeringAuthorization.html
     */ public toDeleteVpcPeeringAuthorization ( ) { return this . to ( 'DeleteVpcPeeringAuthorization' ) ; } /**
     * Grants permission to remove a peering connection between VPCs
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteVpcPeeringConnection.html
     */ public toDeleteVpcPeeringConnection ( ) { return this . to ( 'DeleteVpcPeeringConnection' ) ; } /**
     * Grants permission to remove a game server from a game server group
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeregisterGameServer.html
     */ public toDeregisterGameServer ( ) { return this . to ( 'DeregisterGameServer' ) ; } /**
     * Grants permission to retrieve properties for an alias
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeAlias.html
     */ public toDescribeAlias ( ) { return this . to ( 'DescribeAlias' ) ; } /**
     * Grants permission to retrieve properties for a game build
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeBuild.html
     */ public toDescribeBuild ( ) { return this . to ( 'DescribeBuild' ) ; } /**
     * Grants permission to retrieve the maximum allowed and current usage for EC2 instance types
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeEC2InstanceLimits.html
     */ public toDescribeEC2InstanceLimits ( ) { return this . to ( 'DescribeEC2InstanceLimits' ) ; } /**
     * Grants permission to retrieve general properties, including status, for fleets
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetAttributes.html
     */ public toDescribeFleetAttributes ( ) { return this . to ( 'DescribeFleetAttributes' ) ; } /**
     * Grants permission to retrieve the current capacity setting for fleets
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html
     */ public toDescribeFleetCapacity ( ) { return this . to ( 'DescribeFleetCapacity' ) ; } /**
     * Grants permission to retrieve entries from a fleet's event log
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetEvents.html
     */ public toDescribeFleetEvents ( ) { return this . to ( 'DescribeFleetEvents' ) ; } /**
     * Grants permission to retrieve general properties, including statuses, for a fleet's locations
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationAttributes.html
     */ public toDescribeFleetLocationAttributes ( ) { return this . to ( 'DescribeFleetLocationAttributes' ) ; } /**
     * Grants permission to retrieve the current capacity setting for a fleet's location
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html
     */ public toDescribeFleetLocationCapacity ( ) { return this . to ( 'DescribeFleetLocationCapacity' ) ; } /**
     * Grants permission to retrieve utilization statistics for fleet's location
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationUtilization.html
     */ public toDescribeFleetLocationUtilization ( ) { return this . to ( 'DescribeFleetLocationUtilization' ) ; } /**
     * Grants permission to retrieve the inbound connection permissions for a fleet
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetPortSettings.html
     */ public toDescribeFleetPortSettings ( ) { return this . to ( 'DescribeFleetPortSettings' ) ; } /**
     * Grants permission to retrieve utilization statistics for fleets
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetUtilization.html
     */ public toDescribeFleetUtilization ( ) { return this . to ( 'DescribeFleetUtilization' ) ; } /**
     * Grants permission to retrieve properties for a game server
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameServer.html
     */ public toDescribeGameServer ( ) { return this . to ( 'DescribeGameServer' ) ; } /**
     * Grants permission to retrieve properties for a game server group
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameServerGroup.html
     */ public toDescribeGameServerGroup ( ) { return this . to ( 'DescribeGameServerGroup' ) ; } /**
     * Grants permission to retrieve the status of EC2 instances in a game server group
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameServerInstances.html
     */ public toDescribeGameServerInstances ( ) { return this . to ( 'DescribeGameServerInstances' ) ; } /**
     * Grants permission to retrieve properties for game sessions in a fleet, including the protection policy
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessionDetails.html
     */ public toDescribeGameSessionDetails ( ) { return this . to ( 'DescribeGameSessionDetails' ) ; } /**
     * Grants permission to retrieve details of a game session placement request
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessionPlacement.html
     */ public toDescribeGameSessionPlacement ( ) { return this . to ( 'DescribeGameSessionPlacement' ) ; } /**
     * Grants permission to retrieve properties for game session queues
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessionQueues.html
     */ public toDescribeGameSessionQueues ( ) { return this . to ( 'DescribeGameSessionQueues' ) ; } /**
     * Grants permission to retrieve properties for game sessions in a fleet
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessions.html
     */ public toDescribeGameSessions ( ) { return this . to ( 'DescribeGameSessions' ) ; } /**
     * Grants permission to retrieve information about instances in a fleet
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeInstances.html
     */ public toDescribeInstances ( ) { return this . to ( 'DescribeInstances' ) ; } /**
     * Grants permission to retrieve details of matchmaking tickets
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeMatchmaking.html
     */ public toDescribeMatchmaking ( ) { return this . to ( 'DescribeMatchmaking' ) ; } /**
     * Grants permission to retrieve properties for FlexMatch matchmakers
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeMatchmakingConfigurations.html
     */ public toDescribeMatchmakingConfigurations ( ) { return this . to ( 'DescribeMatchmakingConfigurations' ) ; } /**
     * Grants permission to retrieve properties for FlexMatch matchmaking rule sets
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeMatchmakingRuleSets.html
     */ public toDescribeMatchmakingRuleSets ( ) { return this . to ( 'DescribeMatchmakingRuleSets' ) ; } /**
     * Grants permission to retrieve properties for player sessions in a game session
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribePlayerSessions.html
     */ public toDescribePlayerSessions ( ) { return this . to ( 'DescribePlayerSessions' ) ; } /**
     * Grants permission to retrieve the current runtime configuration for a fleet
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeRuntimeConfiguration.html
     */ public toDescribeRuntimeConfiguration ( ) { return this . to ( 'DescribeRuntimeConfiguration' ) ; } /**
     * Grants permission to retrieve all scaling policies that are applied to a fleet
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeScalingPolicies.html
     */ public toDescribeScalingPolicies ( ) { return this . to ( 'DescribeScalingPolicies' ) ; } /**
     * Grants permission to retrieve properties for a Realtime Servers script
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeScript.html
     */ public toDescribeScript ( ) { return this . to ( 'DescribeScript' ) ; } /**
     * Grants permission to retrieve valid VPC peering authorizations
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeVpcPeeringAuthorizations.html
     */ public toDescribeVpcPeeringAuthorizations ( ) { return this . to ( 'DescribeVpcPeeringAuthorizations' ) ; } /**
     * Grants permission to retrieve details on active or pending VPC peering connections
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeVpcPeeringConnections.html
     */ public toDescribeVpcPeeringConnections ( ) { return this . to ( 'DescribeVpcPeeringConnections' ) ; } /**
     * Grants permission to retrieve the location of stored logs for a game session
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_GetGameSessionLogUrl.html
     */ public toGetGameSessionLogUrl ( ) { return this . to ( 'GetGameSessionLogUrl' ) ; } /**
     * Grants permission to request remote access to a specified fleet instance
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_GetInstanceAccess.html
     */ public toGetInstanceAccess ( ) { return this . to ( 'GetInstanceAccess' ) ; } /**
     * Grants permission to retrieve all aliases that are defined in the current region
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListAliases.html
     */ public toListAliases ( ) { return this . to ( 'ListAliases' ) ; } /**
     * Grants permission to retrieve all game build in the current region
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListBuilds.html
     */ public toListBuilds ( ) { return this . to ( 'ListBuilds' ) ; } /**
     * Grants permission to retrieve a list of fleet IDs for all fleets in the current region
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListFleets.html
     */ public toListFleets ( ) { return this . to ( 'ListFleets' ) ; } /**
     * Grants permission to retrieve all game server groups that are defined in the current region
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListGameServerGroups.html
     */ public toListGameServerGroups ( ) { return this . to ( 'ListGameServerGroups' ) ; } /**
     * Grants permission to retrieve all game servers that are currently running in a game server group
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListGameServers.html
     */ public toListGameServers ( ) { return this . to ( 'ListGameServers' ) ; } /**
     * Grants permission to retrieve properties for all Realtime Servers scripts in the current region
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListScripts.html
     */ public toListScripts ( ) { return this . to ( 'ListScripts' ) ; } /**
     * Grants permission to retrieve tags for GameLift resources
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListTagsForResource.html
     */ public toListTagsForResource ( ) { return this . to ( 'ListTagsForResource' ) ; } /**
     * Grants permission to create or update a fleet auto-scaling policy
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_PutScalingPolicy.html
     */ public toPutScalingPolicy ( ) { return this . to ( 'PutScalingPolicy' ) ; } /**
     * Grants permission to notify GameLift FleetIQ when a new game server is ready to host gameplay
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_RegisterGameServer.html
     */ public toRegisterGameServer ( ) { return this . to ( 'RegisterGameServer' ) ; } /**
     * Grants permission to retrieve fresh upload credentials to use when uploading a new game build
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_RequestUploadCredentials.html
     */ public toRequestUploadCredentials ( ) { return this . to ( 'RequestUploadCredentials' ) ; } /**
     * Grants permission to retrieve the fleet ID associated with an alias
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_ResolveAlias.html
     */ public toResolveAlias ( ) { return this . to ( 'ResolveAlias' ) ; } /**
     * Grants permission to reinstate suspended FleetIQ activity for a game server group
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_ResumeGameServerGroup.html
     */ public toResumeGameServerGroup ( ) { return this . to ( 'ResumeGameServerGroup' ) ; } /**
     * Grants permission to retrieve game sessions that match a set of search criteria
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_SearchGameSessions.html
     */ public toSearchGameSessions ( ) { return this . to ( 'SearchGameSessions' ) ; } /**
     * Grants permission to resume auto-scaling activity on a fleet after it was suspended with StopFleetActions()
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartFleetActions.html
     */ public toStartFleetActions ( ) { return this . to ( 'StartFleetActions' ) ; } /**
     * Grants permission to send a game session placement request to a game session queue
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartGameSessionPlacement.html
     */ public toStartGameSessionPlacement ( ) { return this . to ( 'StartGameSessionPlacement' ) ; } /**
     * Grants permission to request FlexMatch matchmaking to fill available player slots in an existing game session
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartMatchBackfill.html
     */ public toStartMatchBackfill ( ) { return this . to ( 'StartMatchBackfill' ) ; } /**
     * Grants permission to request FlexMatch matchmaking for one or a group of players and initiate game session placement
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartMatchmaking.html
     */ public toStartMatchmaking ( ) { return this . to ( 'StartMatchmaking' ) ; } /**
     * Grants permission to suspend auto-scaling activity on a fleet
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_StopFleetActions.html
     */ public toStopFleetActions ( ) { return this . to ( 'StopFleetActions' ) ; } /**
     * Grants permission to cancel a game session placement request that is in progress
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_StopGameSessionPlacement.html
     */ public toStopGameSessionPlacement ( ) { return this . to ( 'StopGameSessionPlacement' ) ; } /**
     * Grants permission to cancel a matchmaking or match backfill request that is in progress
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_StopMatchmaking.html
     */ public toStopMatchmaking ( ) { return this . to ( 'StopMatchmaking' ) ; } /**
     * Grants permission to temporarily stop FleetIQ activity for a game server group
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_SuspendGameServerGroup.html
     */ public toSuspendGameServerGroup ( ) { return this . to ( 'SuspendGameServerGroup' ) ; } /**
     * Grants permission to tag GameLift resources
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsRequestTag()
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_TagResource.html
     */ public toTagResource ( ) { return this . to ( 'TagResource' ) ; } /**
     * Grants permission to untag GameLift resources
     *
     * Access Level: Tagging
     *
     * Possible conditions:
     * - .ifAwsTagKeys()
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UntagResource.html
     */ public toUntagResource ( ) { return this . to ( 'UntagResource' ) ; } /**
     * Grants permission to update the properties of an existing alias
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateAlias.html
     */ public toUpdateAlias ( ) { return this . to ( 'UpdateAlias' ) ; } /**
     * Grants permission to update an existing build's metadata
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateBuild.html
     */ public toUpdateBuild ( ) { return this . to ( 'UpdateBuild' ) ; } /**
     * Grants permission to update the general properties of an existing fleet
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetAttributes.html
     */ public toUpdateFleetAttributes ( ) { return this . to ( 'UpdateFleetAttributes' ) ; } /**
     * Grants permission to adjust a fleet's capacity settings
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetCapacity.html
     */ public toUpdateFleetCapacity ( ) { return this . to ( 'UpdateFleetCapacity' ) ; } /**
     * Grants permission to adjust a fleet's port settings
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetPortSettings.html
     */ public toUpdateFleetPortSettings ( ) { return this . to ( 'UpdateFleetPortSettings' ) ; } /**
     * Grants permission to change game server properties, health status, or utilization status
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateGameServer.html
     */ public toUpdateGameServer ( ) { return this . to ( 'UpdateGameServer' ) ; } /**
     * Grants permission to update properties for game server group, including allowed instance types
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateGameServerGroup.html
     */ public toUpdateGameServerGroup ( ) { return this . to ( 'UpdateGameServerGroup' ) ; } /**
     * Grants permission to update the properties of an existing game session
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateGameSession.html
     */ public toUpdateGameSession ( ) { return this . to ( 'UpdateGameSession' ) ; } /**
     * Grants permission to update properties of an existing game session queue
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateGameSessionQueue.html
     */ public toUpdateGameSessionQueue ( ) { return this . to ( 'UpdateGameSessionQueue' ) ; } /**
     * Grants permission to update properties of an existing FlexMatch matchmaking configuration
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateMatchmakingConfiguration.html
     */ public toUpdateMatchmakingConfiguration ( ) { return this . to ( 'UpdateMatchmakingConfiguration' ) ; } /**
     * Grants permission to update how server processes are configured on instances in an existing fleet
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateRuntimeConfiguration.html
     */ public toUpdateRuntimeConfiguration ( ) { return this . to ( 'UpdateRuntimeConfiguration' ) ; } /**
     * Grants permission to update the metadata and content of an existing Realtime Servers script
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateScript.html
     */ public toUpdateScript ( ) { return this . to ( 'UpdateScript' ) ; } /**
     * Grants permission to validate the syntax of a FlexMatch matchmaking rule set
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/gamelift/latest/apireference/API_ValidateMatchmakingRuleSet.html
     */ public toValidateMatchmakingRuleSet ( ) { return this . to ( 'ValidateMatchmakingRuleSet' ) ; } protected accessLevelList : AccessLevelList = { Write : [ 'AcceptMatch' , 'ClaimGameServer' , 'CreateAlias' , 'CreateBuild' , 'CreateFleet' , 'CreateFleetLocations' , 'CreateGameServerGroup' , 'CreateGameSession' , 'CreateGameSessionQueue' , 'CreateMatchmakingConfiguration' , 'CreateMatchmakingRuleSet' , 'CreatePlayerSession' , 'CreatePlayerSessions' , 'CreateScript' , 'CreateVpcPeeringAuthorization' , 'CreateVpcPeeringConnection' , 'DeleteAlias' , 'DeleteBuild' , 'DeleteFleet' , 'DeleteFleetLocations' , 'DeleteGameServerGroup' , 'DeleteGameSessionQueue' , 'DeleteMatchmakingConfiguration' , 'DeleteMatchmakingRuleSet' , 'DeleteScalingPolicy' , 'DeleteScript' , 'DeleteVpcPeeringAuthorization' , 'DeleteVpcPeeringConnection' , 'DeregisterGameServer' , 'PutScalingPolicy' , 'RegisterGameServer' , 'ResumeGameServerGroup' , 'StartFleetActions' , 'StartGameSessionPlacement' , 'StartMatchBackfill' , 'StartMatchmaking' , 'StopFleetActions' , 'StopGameSessionPlacement' , 'StopMatchmaking' , 'SuspendGameServerGroup' , 'UpdateAlias' , 'UpdateBuild' , 'UpdateFleetAttributes' , 'UpdateFleetCapacity' , 'UpdateFleetPortSettings' , 'UpdateGameServer' , 'UpdateGameServerGroup' , 'UpdateGameSession' , 'UpdateGameSessionQueue' , 'UpdateMatchmakingConfiguration' , 'UpdateRuntimeConfiguration' , 'UpdateScript' ] , Read : [ 'DescribeAlias' , 'DescribeBuild' , 'DescribeEC2InstanceLimits' , 'DescribeFleetAttributes' , 'DescribeFleetCapacity' , 'DescribeFleetEvents' , 'DescribeFleetLocationAttributes' , 'DescribeFleetLocationCapacity' , 'DescribeFleetLocationUtilization' , 'DescribeFleetPortSettings' , 'DescribeFleetUtilization' , 'DescribeGameServer' , 'DescribeGameServerGroup' , 'DescribeGameServerInstances' , 'DescribeGameSessionDetails' , 'DescribeGameSessionPlacement' , 'DescribeGameSessionQueues' , 'DescribeGameSessions' , 'DescribeInstances' , 'DescribeMatchmaking' , 'DescribeMatchmakingConfigurations' , 'DescribeMatchmakingRuleSets' , 'DescribePlayerSessions' , 'DescribeRuntimeConfiguration' , 'DescribeScalingPolicies' , 'DescribeScript' , 'DescribeVpcPeeringAuthorizations' , 'DescribeVpcPeeringConnections' , 'GetGameSessionLogUrl' , 'GetInstanceAccess' , 'ListTagsForResource' , 'RequestUploadCredentials' , 'ResolveAlias' , 'SearchGameSessions' , 'ValidateMatchmakingRuleSet' ] , List : [ 'ListAliases' , 'ListBuilds' , 'ListFleets' , 'ListGameServerGroups' , 'ListGameServers' , 'ListScripts' ] , Tagging : [ 'TagResource' , 'UntagResource' ] } ; param aliasId param region param partition public onAlias ( aliasId , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:gamelift:${ region || '*' }::alias/${ aliasId }` ) ; } param buildId param accountId param region param partition public onBuild ( buildId , accountId ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:gamelift:${ region || '*' }:${ accountId || '*' }:build/${ buildId }` ) ; } param scriptId param accountId param region param partition public onScript ( scriptId , accountId ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:gamelift:${ region || '*' }:${ accountId || '*' }:script/${ scriptId }` ) ; } param fleetId param account param region param partition public onFleet ( fleetId , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:gamelift:${ region || '*' }:${ account || '*' }:fleet/${ fleetId }` ) ; } param gameSessionQueueName param account param region param partition public onGameSessionQueue ( gameSessionQueueName , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:gamelift:${ region || '*' }:${ account || '*' }:gamesessionqueue/${ gameSessionQueueName }` ) ; } param matchmakingConfigurationName param account param region param partition public onMatchmakingConfiguration ( matchmakingConfigurationName , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:gamelift:${ region || '*' }:${ account || '*' }:matchmakingconfiguration/${ matchmakingConfigurationName }` ) ; } param matchmakingRuleSetName param account param region param partition public onMatchmakingRuleSet ( matchmakingRuleSetName , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:gamelift:${ region || '*' }:${ account || '*' }:matchmakingruleset/${ matchmakingRuleSetName }` ) ; } param gameServerGroupName param account param region param partition public onGameServerGroup ( gameServerGroupName , account ? , region ? , partition ? ) { return this . on ( `arn:${ partition || 'aws' }:gamelift:${ region || '*' }:${ account || '*' }:gameservergroup/${ gameServerGroupName }` ) ; } }