Struct aws_sdk_serverlessapplicationrepository::operation::update_application::UpdateApplicationInput
source · #[non_exhaustive]pub struct UpdateApplicationInput {
pub application_id: Option<String>,
pub author: Option<String>,
pub description: Option<String>,
pub home_page_url: Option<String>,
pub labels: Option<Vec<String>>,
pub readme_body: Option<String>,
pub readme_url: Option<String>,
}
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.application_id: Option<String>
The Amazon Resource Name (ARN) of the application.
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: Option<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+\\-_:\\/@]+$";
readme_body: Option<String>
A text readme file in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
readme_url: Option<String>
A link to the readme file in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
Implementations§
source§impl UpdateApplicationInput
impl UpdateApplicationInput
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the application.
The name of the author publishing the app.
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the application.
Minimum length=1. Maximum length=256
sourcepub fn home_page_url(&self) -> Option<&str>
pub fn home_page_url(&self) -> Option<&str>
A URL with more information about the application, for example the location of your GitHub repository for the application.
sourcepub fn labels(&self) -> &[String]
pub fn labels(&self) -> &[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+\\-_:\\/@]+$";
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .labels.is_none()
.
sourcepub fn readme_body(&self) -> Option<&str>
pub fn readme_body(&self) -> Option<&str>
A text readme file in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
sourcepub fn readme_url(&self) -> Option<&str>
pub fn readme_url(&self) -> Option<&str>
A link to the readme file in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
source§impl UpdateApplicationInput
impl UpdateApplicationInput
sourcepub fn builder() -> UpdateApplicationInputBuilder
pub fn builder() -> UpdateApplicationInputBuilder
Creates a new builder-style object to manufacture UpdateApplicationInput
.
Trait Implementations§
source§impl Clone for UpdateApplicationInput
impl Clone for UpdateApplicationInput
source§fn clone(&self) -> UpdateApplicationInput
fn clone(&self) -> UpdateApplicationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateApplicationInput
impl Debug for UpdateApplicationInput
source§impl PartialEq for UpdateApplicationInput
impl PartialEq for UpdateApplicationInput
source§fn eq(&self, other: &UpdateApplicationInput) -> bool
fn eq(&self, other: &UpdateApplicationInput) -> bool
self
and other
values to be equal, and is used
by ==
.