Struct rusoto_devicefarm::CreateUploadRequest
source · [−]pub struct CreateUploadRequest {
pub content_type: Option<String>,
pub name: String,
pub project_arn: String,
pub type_: String,
}
Expand description
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 any forward slashes (/
). If you are uploading an iOS app, the file name must end with the .ipa
extension. If you are uploading an Android app, the file name must 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
-
IOS_APP
-
WEB_APP
-
EXTERNAL_DATA
-
APPIUM_JAVA_JUNIT_TEST_PACKAGE
-
APPIUM_JAVA_TESTNG_TEST_PACKAGE
-
APPIUM_PYTHON_TEST_PACKAGE
-
APPIUM_NODE_TEST_PACKAGE
-
APPIUM_RUBY_TEST_PACKAGE
-
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE
-
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE
-
APPIUM_WEB_PYTHON_TEST_PACKAGE
-
APPIUM_WEB_NODE_TEST_PACKAGE
-
APPIUM_WEB_RUBY_TEST_PACKAGE
-
CALABASH_TEST_PACKAGE
-
INSTRUMENTATION_TEST_PACKAGE
-
UIAUTOMATION_TEST_PACKAGE
-
UIAUTOMATOR_TEST_PACKAGE
-
XCTEST_TEST_PACKAGE
-
XCTEST_UI_TEST_PACKAGE
-
APPIUM_JAVA_JUNIT_TEST_SPEC
-
APPIUM_JAVA_TESTNG_TEST_SPEC
-
APPIUM_PYTHON_TEST_SPEC
-
APPIUM_NODE_TEST_SPEC
-
APPIUM_RUBY_TEST_SPEC
-
APPIUM_WEB_JAVA_JUNIT_TEST_SPEC
-
APPIUM_WEB_JAVA_TESTNG_TEST_SPEC
-
APPIUM_WEB_PYTHON_TEST_SPEC
-
APPIUM_WEB_NODE_TEST_SPEC
-
APPIUM_WEB_RUBY_TEST_SPEC
-
INSTRUMENTATION_TEST_SPEC
-
XCTEST_UI_TEST_SPEC
If you call CreateUpload
with WEB_APP
specified, AWS Device Farm throws an ArgumentException
error.
Trait Implementations
sourceimpl Clone for CreateUploadRequest
impl Clone for CreateUploadRequest
sourcefn clone(&self) -> CreateUploadRequest
fn clone(&self) -> CreateUploadRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateUploadRequest
impl Debug for CreateUploadRequest
sourceimpl Default for CreateUploadRequest
impl Default for CreateUploadRequest
sourcefn default() -> CreateUploadRequest
fn default() -> CreateUploadRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateUploadRequest> for CreateUploadRequest
impl PartialEq<CreateUploadRequest> for CreateUploadRequest
sourcefn eq(&self, other: &CreateUploadRequest) -> bool
fn eq(&self, other: &CreateUploadRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateUploadRequest) -> bool
fn ne(&self, other: &CreateUploadRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateUploadRequest
impl Serialize for CreateUploadRequest
impl StructuralPartialEq for CreateUploadRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateUploadRequest
impl Send for CreateUploadRequest
impl Sync for CreateUploadRequest
impl Unpin for CreateUploadRequest
impl UnwindSafe for CreateUploadRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more