[][src]Struct rusoto_gamelift::UpdateScriptInput

pub struct UpdateScriptInput {
    pub name: Option<String>,
    pub script_id: String,
    pub storage_location: Option<S3Location>,
    pub version: Option<String>,
    pub zip_file: Option<Bytes>,
}

Fields

name: Option<String>

Descriptive label that is associated with a script. Script names do not need to be unique.

script_id: String

Unique identifier for a Realtime script to update.

storage_location: Option<S3Location>

Location of the Amazon S3 bucket where a zipped file containing your Realtime scripts is stored. The storage location must specify the Amazon S3 bucket name, the zip file name (the "key"), and a role ARN that allows Amazon GameLift to access the Amazon S3 storage location. The S3 bucket must be in the same region where you want to create a new script. By default, Amazon GameLift uploads the latest version of the zip file; if you have S3 object versioning turned on, you can use the ObjectVersion parameter to specify an earlier version.

version: Option<String>

Version that is associated with a build or script. Version strings do not need to be unique.

zip_file: Option<Bytes>

Data object containing your Realtime scripts and dependencies as a zip file. The zip file can have one or multiple files. Maximum size of a zip file is 5 MB.

When using the AWS CLI tool to create a script, this parameter is set to the zip file name. It must be prepended with the string "fileb://" to indicate that the file data is a binary object. For example: --zip-file fileb://myRealtimeScript.zip.

Trait Implementations

impl Clone for UpdateScriptInput[src]

impl Default for UpdateScriptInput[src]

impl PartialEq<UpdateScriptInput> for UpdateScriptInput[src]

impl Debug for UpdateScriptInput[src]

impl Serialize for UpdateScriptInput[src]

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self