[][src]Struct rusoto_gamelift::Event

pub struct Event {
    pub event_code: Option<String>,
    pub event_id: Option<String>,
    pub event_time: Option<f64>,
    pub message: Option<String>,
    pub pre_signed_log_url: Option<String>,
    pub resource_id: Option<String>,
}

Log entry describing an event that involves Amazon GameLift resources (such as a fleet). In addition to tracking activity, event codes and messages can provide additional information for troubleshooting and debugging problems.

Fields

event_code: Option<String>

The type of event being logged.

Fleet creation events (ordered by fleet creation activity):

  • FLEETCREATED -- A fleet resource was successfully created with a status of NEW. Event messaging includes the fleet ID.

  • FLEETSTATEDOWNLOADING -- Fleet status changed from NEW to DOWNLOADING. The compressed build has started downloading to a fleet instance for installation.

  • FLEETBINARYDOWNLOADFAILED -- The build failed to download to the fleet instance.

  • FLEETCREATIONEXTRACTINGBUILD – The game server build was successfully downloaded to an instance, and the build files are now being extracted from the uploaded build and saved to an instance. Failure at this stage prevents a fleet from moving to ACTIVE status. Logs for this stage display a list of the files that are extracted and saved on the instance. Access the logs by using the URL in PreSignedLogUrl.

  • FLEETCREATIONRUNNINGINSTALLER – The game server build files were successfully extracted, and the Amazon GameLift is now running the build's install script (if one is included). Failure in this stage prevents a fleet from moving to ACTIVE status. Logs for this stage list the installation steps and whether or not the install completed successfully. Access the logs by using the URL in PreSignedLogUrl.

  • FLEETCREATIONVALIDATINGRUNTIMECONFIG -- The build process was successful, and the Amazon GameLift is now verifying that the game server launch paths, which are specified in the fleet's runtime configuration, exist. If any listed launch path exists, Amazon GameLift tries to launch a game server process and waits for the process to report ready. Failures in this stage prevent a fleet from moving to ACTIVE status. Logs for this stage list the launch paths in the runtime configuration and indicate whether each is found. Access the logs by using the URL in PreSignedLogUrl.

  • FLEETSTATEVALIDATING -- Fleet status changed from DOWNLOADING to VALIDATING.

  • FLEETVALIDATIONLAUNCHPATHNOTFOUND -- Validation of the runtime configuration failed because the executable specified in a launch path does not exist on the instance.

  • FLEETSTATEBUILDING -- Fleet status changed from VALIDATING to BUILDING.

  • FLEETVALIDATIONEXECUTABLERUNTIMEFAILURE -- Validation of the runtime configuration failed because the executable specified in a launch path failed to run on the fleet instance.

  • FLEETSTATEACTIVATING -- Fleet status changed from BUILDING to ACTIVATING.

  • FLEETACTIVATIONFAILED - The fleet failed to successfully complete one of the steps in the fleet activation process. This event code indicates that the game build was successfully downloaded to a fleet instance, built, and validated, but was not able to start a server process. Learn more at Debug Fleet Creation Issues

  • FLEETSTATEACTIVE -- The fleet's status changed from ACTIVATING to ACTIVE. The fleet is now ready to host game sessions.

VPC peering events:

  • FLEETVPCPEERINGSUCCEEDED -- A VPC peering connection has been established between the VPC for an Amazon GameLift fleet and a VPC in your AWS account.

  • FLEETVPCPEERINGFAILED -- A requested VPC peering connection has failed. Event details and status information (see DescribeVpcPeeringConnections) provide additional detail. A common reason for peering failure is that the two VPCs have overlapping CIDR blocks of IPv4 addresses. To resolve this, change the CIDR block for the VPC in your AWS account. For more information on VPC peering failures, see https://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/invalid-peering-configurations.html

  • FLEETVPCPEERINGDELETED -- A VPC peering connection has been successfully deleted.

Spot instance events:

  • INSTANCEINTERRUPTED -- A spot instance was interrupted by EC2 with a two-minute notification.

Other fleet events:

  • FLEETSCALINGEVENT -- A change was made to the fleet's capacity settings (desired instances, minimum/maximum scaling limits). Event messaging includes the new capacity settings.

  • FLEETNEWGAMESESSIONPROTECTIONPOLICYUPDATED -- A change was made to the fleet's game session protection policy setting. Event messaging includes both the old and new policy setting.

  • FLEETDELETED -- A request to delete a fleet was initiated.

  • GENERIC_EVENT -- An unspecified event has occurred.

event_id: Option<String>

A unique identifier for a fleet event.

event_time: Option<f64>

Time stamp indicating when this event occurred. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

message: Option<String>

Additional information related to the event.

pre_signed_log_url: Option<String>

Location of stored logs with additional detail that is related to the event. This is useful for debugging issues. The URL is valid for 15 minutes. You can also access fleet creation logs through the Amazon GameLift console.

resource_id: Option<String>

A unique identifier for an event resource, such as a fleet ID.

Trait Implementations

impl Clone for Event[src]

impl Debug for Event[src]

impl Default for Event[src]

impl<'de> Deserialize<'de> for Event[src]

impl PartialEq<Event> for Event[src]

impl StructuralPartialEq for Event[src]

Auto Trait Implementations

impl RefUnwindSafe for Event

impl Send for Event

impl Sync for Event

impl Unpin for Event

impl UnwindSafe for Event

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.