[][src]Struct rusoto_serverlessrepo::CreateApplicationRequest

pub struct CreateApplicationRequest {
    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

author: String

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:

https://semver.org/

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

impl PartialEq<CreateApplicationRequest> for CreateApplicationRequest[src]

impl Default for CreateApplicationRequest[src]

impl Clone for CreateApplicationRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CreateApplicationRequest[src]

impl Serialize for CreateApplicationRequest[src]

Auto Trait Implementations

impl Send for CreateApplicationRequest

impl Sync for CreateApplicationRequest

Blanket Implementations

impl<T> From for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self