Struct rusoto_devicefarm::CreateUploadRequest [−][src]
pub struct CreateUploadRequest { pub content_type: Option<String>, pub name: String, pub project_arn: String, pub type_: String, }
Represents a request to the create upload operation.
Fields
content_type: Option<String>
The upload's content type (for example, "application/octet-stream").
name: String
The upload's file name. The name should not contain the '/' character. If uploading an iOS app, the file name needs to end with the .ipa
extension. If uploading an Android app, the file name needs to end with the .apk
extension. For all others, the file name must end with the .zip
file extension.
project_arn: String
The ARN of the project for the upload.
type_: String
The upload's upload type.
Must be one of the following values:
-
ANDROID_APP: An Android upload.
-
IOS_APP: An iOS upload.
-
WEB_APP: A web appliction upload.
-
EXTERNAL_DATA: An external data upload.
-
APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
CALABASH_TEST_PACKAGE: A Calabash test package upload.
-
INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
-
UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
-
UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
-
XCTEST_TEST_PACKAGE: An XCode test package upload.
-
XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
Note If you call CreateUpload
with WEB_APP
specified, AWS Device Farm throws an ArgumentException
error.
Trait Implementations
impl Default for CreateUploadRequest
[src]
impl Default for CreateUploadRequest
fn default() -> CreateUploadRequest
[src]
fn default() -> CreateUploadRequest
Returns the "default value" for a type. Read more
impl Debug for CreateUploadRequest
[src]
impl Debug for CreateUploadRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CreateUploadRequest
[src]
impl Clone for CreateUploadRequest
fn clone(&self) -> CreateUploadRequest
[src]
fn clone(&self) -> CreateUploadRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for CreateUploadRequest
[src]
impl PartialEq for CreateUploadRequest
fn eq(&self, other: &CreateUploadRequest) -> bool
[src]
fn eq(&self, other: &CreateUploadRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateUploadRequest) -> bool
[src]
fn ne(&self, other: &CreateUploadRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateUploadRequest
impl Send for CreateUploadRequest
impl Sync for CreateUploadRequest
impl Sync for CreateUploadRequest