Struct aws_sdk_gamelift::input::CreateBuildInput [−][src]
#[non_exhaustive]pub struct CreateBuildInput {
pub name: Option<String>,
pub version: Option<String>,
pub storage_location: Option<S3Location>,
pub operating_system: Option<OperatingSystem>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Represents the input for a request operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
A descriptive label that is associated with a build. Build names do not need to be unique. You can use UpdateBuild to change this value later.
version: Option<String>
Version information that is associated with a build or script. Version strings do not need to be unique. You can use UpdateBuild to change this value later.
storage_location: Option<S3Location>
Information indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region.
operating_system: Option<OperatingSystem>
The operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build. If your game build contains multiple executables, they all must run on the same operating system. If an operating system is not specified when creating a build, Amazon GameLift uses the default value (WINDOWS_2012). This value cannot be changed later.
A list of labels to assign to the new build resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateBuild, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateBuild, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateBuild
>
Creates a new builder-style object to manufacture CreateBuildInput
A descriptive label that is associated with a build. Build names do not need to be unique. You can use UpdateBuild to change this value later.
Version information that is associated with a build or script. Version strings do not need to be unique. You can use UpdateBuild to change this value later.
Information indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region.
The operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build. If your game build contains multiple executables, they all must run on the same operating system. If an operating system is not specified when creating a build, Amazon GameLift uses the default value (WINDOWS_2012). This value cannot be changed later.
A list of labels to assign to the new build resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateBuildInput
impl Send for CreateBuildInput
impl Sync for CreateBuildInput
impl Unpin for CreateBuildInput
impl UnwindSafe for CreateBuildInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more