2017-05-11 14:39:54 +00:00
|
|
|
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
|
|
|
|
|
|
|
// Package gamelift provides the client and types for making API
|
|
|
|
// requests to Amazon GameLift.
|
|
|
|
//
|
|
|
|
// Amazon GameLift is a managed service for developers who need a scalable,
|
2018-03-19 15:51:38 +00:00
|
|
|
// dedicated server solution for their multiplayer games. Use Amazon GameLift
|
|
|
|
// for these tasks: (1) set up computing resources and deploy your game servers,
|
|
|
|
// (2) run game sessions and get players into games, (3) automatically scale
|
|
|
|
// your resources to meet player demand and manage costs, and (4) track in-depth
|
|
|
|
// metrics on game server performance and player usage.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-07-23 07:51:42 +00:00
|
|
|
// The Amazon GameLift service API includes two important function sets:
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// * Manage game sessions and player access -- Retrieve information on available
|
2017-07-23 07:51:42 +00:00
|
|
|
// game sessions; create new game sessions; send player requests to join
|
|
|
|
// a game session.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// * Configure and manage game server resources -- Manage builds, fleets,
|
2017-05-11 14:39:54 +00:00
|
|
|
// queues, and aliases; set autoscaling policies; retrieve logs and metrics.
|
|
|
|
//
|
|
|
|
// This reference guide describes the low-level service API for Amazon GameLift.
|
2017-07-23 07:51:42 +00:00
|
|
|
// You can use the API functionality with these tools:
|
|
|
|
//
|
|
|
|
// * The Amazon Web Services software development kit (AWS SDK (http://aws.amazon.com/tools/#sdk))
|
|
|
|
// is available in multiple languages (http://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-supported.html#gamelift-supported-clients)
|
|
|
|
// including C++ and C#. Use the SDK to access the API programmatically from
|
|
|
|
// an application, such as a game client.
|
|
|
|
//
|
|
|
|
// * The AWS command-line interface (http://aws.amazon.com/cli/) (CLI) tool
|
|
|
|
// is primarily useful for handling administrative actions, such as setting
|
|
|
|
// up and managing Amazon GameLift settings and resources. You can use the
|
|
|
|
// AWS CLI to manage all of your AWS services.
|
|
|
|
//
|
|
|
|
// * The AWS Management Console (https://console.aws.amazon.com/gamelift/home)
|
|
|
|
// for Amazon GameLift provides a web interface to manage your Amazon GameLift
|
|
|
|
// settings and resources. The console includes a dashboard for tracking
|
2017-09-30 14:27:27 +00:00
|
|
|
// key resources, including builds and fleets, and displays usage and performance
|
2017-07-23 07:51:42 +00:00
|
|
|
// metrics for your games as customizable graphs.
|
|
|
|
//
|
|
|
|
// * Amazon GameLift Local is a tool for testing your game's integration
|
|
|
|
// with Amazon GameLift before deploying it on the service. This tools supports
|
|
|
|
// a subset of key API actions, which can be called from either the AWS CLI
|
|
|
|
// or programmatically. See Testing an Integration (http://docs.aws.amazon.com/gamelift/latest/developerguide/integration-testing-local.html).
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2018-03-19 15:51:38 +00:00
|
|
|
// Learn more
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2018-03-19 15:51:38 +00:00
|
|
|
// * Developer Guide (http://docs.aws.amazon.com/gamelift/latest/developerguide/)
|
|
|
|
// -- Read about Amazon GameLift features and how to use them.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2018-03-19 15:51:38 +00:00
|
|
|
// * Tutorials (https://gamedev.amazon.com/forums/tutorials) -- Get started
|
|
|
|
// fast with walkthroughs and sample projects.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// * GameDev Blog (http://aws.amazon.com/blogs/gamedev/) -- Stay up to date
|
2017-05-11 14:39:54 +00:00
|
|
|
// with new features and techniques.
|
|
|
|
//
|
|
|
|
// * GameDev Forums (https://gamedev.amazon.com/forums/spaces/123/gamelift-discussion.html)
|
2017-09-30 14:27:27 +00:00
|
|
|
// -- Connect with the GameDev community.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2018-03-19 15:51:38 +00:00
|
|
|
// * Release notes (http://aws.amazon.com/releasenotes/Amazon-GameLift/)
|
|
|
|
// and document history (http://docs.aws.amazon.com/gamelift/latest/developerguide/doc-history.html)
|
|
|
|
// -- Stay current with updates to the Amazon GameLift service, SDKs, and
|
|
|
|
// documentation.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
|
|
|
// API SUMMARY
|
|
|
|
//
|
|
|
|
// This list offers a functional overview of the Amazon GameLift service API.
|
|
|
|
//
|
2017-07-23 07:51:42 +00:00
|
|
|
// Managing Games and Players
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// Use these actions to start new game sessions, find existing game sessions,
|
|
|
|
// track game session status and other information, and enable player access
|
|
|
|
// to game sessions.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
|
|
|
// * Discover existing game sessions
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// SearchGameSessions -- Retrieve all available game sessions or search for
|
|
|
|
// game sessions that match a set of criteria.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// * Start new game sessions
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// Start new games with Queues to find the best available hosting resources
|
|
|
|
// across multiple regions, minimize player latency, and balance game session
|
|
|
|
// activity for efficiency and cost effectiveness.
|
2017-07-23 07:51:42 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// StartGameSessionPlacement -- Request a new game session placement and add
|
2017-05-11 14:39:54 +00:00
|
|
|
// one or more players to it.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeGameSessionPlacement -- Get details on a placement request, including
|
2017-05-11 14:39:54 +00:00
|
|
|
// status.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// StopGameSessionPlacement -- Cancel a placement request.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// CreateGameSession -- Start a new game session on a specific fleet. Available
|
2017-05-11 14:39:54 +00:00
|
|
|
// in Amazon GameLift Local.
|
|
|
|
//
|
2018-03-19 15:51:38 +00:00
|
|
|
// * Match players to game sessions with FlexMatch matchmaking
|
2017-09-30 14:27:27 +00:00
|
|
|
//
|
|
|
|
// StartMatchmaking -- Request matchmaking for one players or a group who want
|
|
|
|
// to play together.
|
|
|
|
//
|
2018-03-19 15:51:38 +00:00
|
|
|
// StartMatchBackfill - Request additional player matches to fill empty slots
|
|
|
|
// in an existing game session.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeMatchmaking -- Get details on a matchmaking request, including status.
|
|
|
|
//
|
|
|
|
// AcceptMatch -- Register that a player accepts a proposed match, for matches
|
|
|
|
// that require player acceptance.
|
|
|
|
//
|
|
|
|
// StopMatchmaking -- Cancel a matchmaking request.
|
|
|
|
//
|
2017-07-23 07:51:42 +00:00
|
|
|
// * Manage game session data
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeGameSessions -- Retrieve metadata for one or more game sessions,
|
|
|
|
// including length of time active and current player count. Available in
|
|
|
|
// Amazon GameLift Local.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeGameSessionDetails -- Retrieve metadata and the game session protection
|
2017-05-11 14:39:54 +00:00
|
|
|
// setting for one or more game sessions.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// UpdateGameSession -- Change game session settings, such as maximum player
|
2017-05-11 14:39:54 +00:00
|
|
|
// count and join policy.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// GetGameSessionLogUrl -- Get the location of saved logs for a game session.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-07-23 07:51:42 +00:00
|
|
|
// * Manage player sessions
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// CreatePlayerSession -- Send a request for a player to join a game session.
|
2017-05-11 14:39:54 +00:00
|
|
|
// Available in Amazon GameLift Local.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// CreatePlayerSessions -- Send a request for multiple players to join a game
|
2017-05-11 14:39:54 +00:00
|
|
|
// session. Available in Amazon GameLift Local.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribePlayerSessions -- Get details on player activity, including status,
|
2017-05-11 14:39:54 +00:00
|
|
|
// playing time, and player data. Available in Amazon GameLift Local.
|
|
|
|
//
|
|
|
|
// Setting Up and Managing Game Servers
|
|
|
|
//
|
2017-07-23 07:51:42 +00:00
|
|
|
// When setting up Amazon GameLift resources for your game, you first create
|
|
|
|
// a game build (http://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-intro.html)
|
|
|
|
// and upload it to Amazon GameLift. You can then use these actions to configure
|
|
|
|
// and manage a fleet of resources to run your game servers, scale capacity
|
|
|
|
// to meet player demand, access performance and utilization metrics, and more.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
|
|
|
// * Manage game builds
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// CreateBuild -- Create a new build using files stored in an Amazon S3 bucket.
|
2018-03-19 15:51:38 +00:00
|
|
|
// To create a build and upload files from a local path, use the AWS CLI
|
|
|
|
// command upload-build.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// ListBuilds -- Get a list of all builds uploaded to a Amazon GameLift region.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeBuild -- Retrieve information associated with a build.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// UpdateBuild -- Change build metadata, including build name and version.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DeleteBuild -- Remove a build from Amazon GameLift.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
|
|
|
// * Manage fleets
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// CreateFleet -- Configure and activate a new fleet to run a build's game servers.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// ListFleets -- Get a list of all fleet IDs in a Amazon GameLift region (all
|
2017-07-23 07:51:42 +00:00
|
|
|
// statuses).
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DeleteFleet -- Terminate a fleet that is no longer running game servers or
|
2017-05-11 14:39:54 +00:00
|
|
|
// hosting players.
|
|
|
|
//
|
|
|
|
// View / update fleet configurations.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeFleetAttributes / UpdateFleetAttributes -- View or change a fleet's
|
2017-05-11 14:39:54 +00:00
|
|
|
// metadata and settings for game session protection and resource creation
|
|
|
|
// limits.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeFleetPortSettings / UpdateFleetPortSettings -- View or change the
|
2017-05-11 14:39:54 +00:00
|
|
|
// inbound permissions (IP address and port setting ranges) allowed for a
|
|
|
|
// fleet.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeRuntimeConfiguration / UpdateRuntimeConfiguration -- View or change
|
2017-05-11 14:39:54 +00:00
|
|
|
// what server processes (and how many) to run on each instance in a fleet.
|
|
|
|
//
|
|
|
|
// * Control fleet capacity
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeEC2InstanceLimits -- Retrieve maximum number of instances allowed
|
2017-05-11 14:39:54 +00:00
|
|
|
// for the current AWS account and the current usage level.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeFleetCapacity / UpdateFleetCapacity -- Retrieve the capacity settings
|
2017-05-11 14:39:54 +00:00
|
|
|
// and the current number of instances in a fleet; adjust fleet capacity
|
|
|
|
// settings to scale up or down.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// Autoscale -- Manage autoscaling rules and apply them to a fleet.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// PutScalingPolicy -- Create a new autoscaling policy, or update an existing
|
2017-05-11 14:39:54 +00:00
|
|
|
// one.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeScalingPolicies -- Retrieve an existing autoscaling policy.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DeleteScalingPolicy -- Delete an autoscaling policy and stop it from affecting
|
2017-05-11 14:39:54 +00:00
|
|
|
// a fleet's capacity.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// * Manage VPC peering connections for fleets
|
|
|
|
//
|
|
|
|
// CreateVpcPeeringAuthorization -- Authorize a peering connection to one of
|
|
|
|
// your VPCs.
|
|
|
|
//
|
|
|
|
// DescribeVpcPeeringAuthorizations -- Retrieve valid peering connection authorizations.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// DeleteVpcPeeringAuthorization -- Delete a peering connection authorization.
|
|
|
|
//
|
|
|
|
// CreateVpcPeeringConnection -- Establish a peering connection between the
|
|
|
|
// VPC for a Amazon GameLift fleet and one of your VPCs.
|
|
|
|
//
|
|
|
|
// DescribeVpcPeeringConnections -- Retrieve information on active or pending
|
|
|
|
// VPC peering connections with a Amazon GameLift fleet.
|
|
|
|
//
|
|
|
|
// DeleteVpcPeeringConnection -- Delete a VPC peering connection with a Amazon
|
|
|
|
// GameLift fleet.
|
|
|
|
//
|
2017-05-11 14:39:54 +00:00
|
|
|
// * Access fleet activity statistics
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeFleetUtilization -- Get current data on the number of server processes,
|
2017-05-11 14:39:54 +00:00
|
|
|
// game sessions, and players currently active on a fleet.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeFleetEvents -- Get a fleet's logged events for a specified time span.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeGameSessions -- Retrieve metadata associated with one or more game
|
2017-05-11 14:39:54 +00:00
|
|
|
// sessions, including length of time active and current player count.
|
|
|
|
//
|
|
|
|
// * Remotely access an instance
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeInstances -- Get information on each instance in a fleet, including
|
2017-07-23 07:51:42 +00:00
|
|
|
// instance ID, IP address, and status.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// GetInstanceAccess -- Request access credentials needed to remotely connect
|
2017-05-11 14:39:54 +00:00
|
|
|
// to a specified instance in a fleet.
|
|
|
|
//
|
|
|
|
// * Manage fleet aliases
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// CreateAlias -- Define a new alias and optionally assign it to a fleet.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// ListAliases -- Get all fleet aliases defined in a Amazon GameLift region.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeAlias -- Retrieve information on an existing alias.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// UpdateAlias -- Change settings for a alias, such as redirecting it from one
|
2017-05-11 14:39:54 +00:00
|
|
|
// fleet to another.
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DeleteAlias -- Remove an alias from the region.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// ResolveAlias -- Get the fleet ID that a specified alias points to.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
|
|
|
// * Manage game session queues
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// CreateGameSessionQueue -- Create a queue for processing requests for new
|
|
|
|
// game sessions.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeGameSessionQueues -- Retrieve game session queues defined in a Amazon
|
|
|
|
// GameLift region.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// UpdateGameSessionQueue -- Change the configuration of a game session queue.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DeleteGameSessionQueue -- Remove a game session queue from the region.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// * Manage FlexMatch resources
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// CreateMatchmakingConfiguration -- Create a matchmaking configuration with
|
|
|
|
// instructions for building a player group and placing in a new game session.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeMatchmakingConfigurations -- Retrieve matchmaking configurations
|
|
|
|
// defined a Amazon GameLift region.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// UpdateMatchmakingConfiguration -- Change settings for matchmaking configuration.
|
|
|
|
// queue.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DeleteMatchmakingConfiguration -- Remove a matchmaking configuration from
|
|
|
|
// the region.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// CreateMatchmakingRuleSet -- Create a set of rules to use when searching for
|
|
|
|
// player matches.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// DescribeMatchmakingRuleSets -- Retrieve matchmaking rule sets defined in
|
|
|
|
// a Amazon GameLift region.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// ValidateMatchmakingRuleSet -- Verify syntax for a set of matchmaking rules.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// See https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01 for more information on this service.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// See gamelift package documentation for more information.
|
|
|
|
// https://docs.aws.amazon.com/sdk-for-go/api/service/gamelift/
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// Using the Client
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2018-01-16 13:20:59 +00:00
|
|
|
// To contact Amazon GameLift with the SDK use the New function to create
|
2017-09-30 14:27:27 +00:00
|
|
|
// a new service client. With that client you can make API requests to the service.
|
|
|
|
// These clients are safe to use concurrently.
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// See the SDK's documentation for more information on how to use the SDK.
|
|
|
|
// https://docs.aws.amazon.com/sdk-for-go/api/
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// See aws.Config documentation for more information on configuring SDK clients.
|
|
|
|
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
2017-05-11 14:39:54 +00:00
|
|
|
//
|
2017-09-30 14:27:27 +00:00
|
|
|
// See the Amazon GameLift client GameLift for more
|
|
|
|
// information on creating client for this service.
|
|
|
|
// https://docs.aws.amazon.com/sdk-for-go/api/service/gamelift/#New
|
2017-05-11 14:39:54 +00:00
|
|
|
package gamelift
|