pub struct CreateApplicationRequest {Show 15 fields
pub author: String,
pub description: String,
pub home_page_url: Option<String>,
pub labels: Option<Vec<String>>,
pub license_body: Option<String>,
pub license_url: Option<String>,
pub name: String,
pub readme_body: Option<String>,
pub readme_url: Option<String>,
pub semantic_version: Option<String>,
pub source_code_archive_url: Option<String>,
pub source_code_url: Option<String>,
pub spdx_license_id: Option<String>,
pub template_body: Option<String>,
pub template_url: Option<String>,
}
Fields
The name of the author publishing the app.
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
description: String
The description of the application.
Minimum length=1. Maximum length=256
home_page_url: Option<String>
A URL with more information about the application, for example the location of your GitHub repository for the application.
labels: Option<Vec<String>>
Labels to improve discovery of apps in search results.
Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
license_body: Option<String>
A local text file that contains the license of the app that matches the spdxLicenseID value of your application. The file has the format file://<path>/<filename>.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
license_url: Option<String>
A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your application.
Maximum size 5 MB
You can specify only one of licenseBody and licenseUrl; otherwise, an error results.
name: String
The name of the application that you want to publish.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
readme_body: Option<String>
A local text readme file in Markdown language that contains a more detailed description of the application and how it works. The file has the format file://<path>/<filename>.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
readme_url: Option<String>
A link to the S3 object in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
semantic_version: Option<String>
The semantic version of the application:
source_code_archive_url: Option<String>
A link to the S3 object that contains the ZIP archive of the source code for this version of your application.
Maximum size 50 MB
source_code_url: Option<String>
A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.
spdx_license_id: Option<String>
A valid identifier from https://spdx.org/licenses/.
template_body: Option<String>
The local raw packaged AWS SAM template file of your application. The file has the format file://<path>/<filename>.
You can specify only one of templateBody and templateUrl; otherwise an error results.
template_url: Option<String>
A link to the S3 object containing the packaged AWS SAM template of your application.
You can specify only one of templateBody and templateUrl; otherwise an error results.
Trait Implementations
sourceimpl Clone for CreateApplicationRequest
impl Clone for CreateApplicationRequest
sourcefn clone(&self) -> CreateApplicationRequest
fn clone(&self) -> CreateApplicationRequest
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 CreateApplicationRequest
impl Debug for CreateApplicationRequest
sourceimpl Default for CreateApplicationRequest
impl Default for CreateApplicationRequest
sourcefn default() -> CreateApplicationRequest
fn default() -> CreateApplicationRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateApplicationRequest> for CreateApplicationRequest
impl PartialEq<CreateApplicationRequest> for CreateApplicationRequest
sourcefn eq(&self, other: &CreateApplicationRequest) -> bool
fn eq(&self, other: &CreateApplicationRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateApplicationRequest) -> bool
fn ne(&self, other: &CreateApplicationRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateApplicationRequest
impl Serialize for CreateApplicationRequest
impl StructuralPartialEq for CreateApplicationRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateApplicationRequest
impl Send for CreateApplicationRequest
impl Sync for CreateApplicationRequest
impl Unpin for CreateApplicationRequest
impl UnwindSafe for CreateApplicationRequest
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