[][src]Struct rusoto_serverlessrepo::Version

pub struct Version {
    pub application_id: String,
    pub creation_time: String,
    pub parameter_definitions: Vec<ParameterDefinition>,
    pub required_capabilities: Vec<String>,
    pub resources_supported: bool,
    pub semantic_version: String,
    pub source_code_url: Option<String>,
    pub template_url: String,
}

Application version details.

Fields

application_id: String

The application Amazon Resource Name (ARN).

creation_time: String

The date and time this resource was created.

parameter_definitions: Vec<ParameterDefinition>

An array of parameter types supported by the application.

required_capabilities: Vec<String>

A list of values that you must specify before you can deploy certain applications. Some applications might include resources that can affect permissions in your AWS account, for example, by creating new AWS Identity and Access Management (IAM) users. For those applications, you must explicitly acknowledge their capabilities by specifying this parameter.

The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM, and CAPABILITY_RESOURCE_POLICY.

The following resources require you to specify CAPABILITY_IAM or CAPABILITY_NAMED_IAM: AWS::IAM::Group, AWS::IAM::InstanceProfile, AWS::IAM::Policy, and AWS::IAM::Role. If the application contains IAM resources, you can specify either CAPABILITY_IAM or CAPABILITY_NAMED_IAM. If the application contains IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.

The following resources require you to specify CAPABILITY_RESOURCE_POLICY: AWS::Lambda::Permission, AWS::IAM:Policy, AWS::ApplicationAutoScaling::ScalingPolicy, AWS::S3::BucketPolicy, AWS::SQS::QueuePolicy, and AWS::SNS::TopicPolicy.

If your application template contains any of the above resources, we recommend that you review all permissions associated with the application before deploying. If you don't specify this parameter for an application that requires capabilities, the call will fail.

Valid values: CAPABILITY_IAM | CAPABILITY_NAMED_IAM | CAPABILITY_RESOURCE_POLICY

resources_supported: bool

Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.

semantic_version: String

The semantic version of the application:

https://semver.org/

source_code_url: Option<String>

A link to a public repository for the source code of your application.

template_url: String

A link to the packaged AWS SAM template of your application.

Trait Implementations

impl Clone for Version[src]

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

Performs copy-assignment from source. Read more

impl PartialEq<Version> for Version[src]

impl Default for Version[src]

impl Debug for Version[src]

impl<'de> Deserialize<'de> for Version[src]

Auto Trait Implementations

impl Send for Version

impl Sync for Version

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
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> Any for T where
    T: 'static + ?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

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self