#[non_exhaustive]pub struct CreateApplicationVersionOutput {
pub application_id: Option<String>,
pub creation_time: Option<String>,
pub parameter_definitions: Option<Vec<ParameterDefinition>>,
pub required_capabilities: Option<Vec<Capability>>,
pub resources_supported: bool,
pub semantic_version: Option<String>,
pub source_code_archive_url: Option<String>,
pub source_code_url: Option<String>,
pub template_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 application Amazon Resource Name (ARN).
creation_time: Option<String>
The date and time this resource was created.
parameter_definitions: Option<Vec<ParameterDefinition>>
An array of parameter types supported by the application.
required_capabilities: Option<Vec<Capability>>
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, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
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.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
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.
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: 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.
template_url: Option<String>
A link to the packaged AWS SAM template of your application.
Implementations
sourceimpl CreateApplicationVersionOutput
impl CreateApplicationVersionOutput
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The application Amazon Resource Name (ARN).
sourcepub fn creation_time(&self) -> Option<&str>
pub fn creation_time(&self) -> Option<&str>
The date and time this resource was created.
sourcepub fn parameter_definitions(&self) -> Option<&[ParameterDefinition]>
pub fn parameter_definitions(&self) -> Option<&[ParameterDefinition]>
An array of parameter types supported by the application.
sourcepub fn required_capabilities(&self) -> Option<&[Capability]>
pub fn required_capabilities(&self) -> Option<&[Capability]>
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, CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.
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.
Applications that contain one or more nested applications require you to specify CAPABILITY_AUTO_EXPAND.
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.
sourcepub fn resources_supported(&self) -> bool
pub fn resources_supported(&self) -> bool
Whether all of the AWS resources contained in this application are supported in the region in which it is being retrieved.
sourcepub fn semantic_version(&self) -> Option<&str>
pub fn semantic_version(&self) -> Option<&str>
The semantic version of the application:
sourcepub fn source_code_archive_url(&self) -> Option<&str>
pub fn source_code_archive_url(&self) -> Option<&str>
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
sourcepub fn source_code_url(&self) -> Option<&str>
pub fn source_code_url(&self) -> Option<&str>
A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.
sourcepub fn template_url(&self) -> Option<&str>
pub fn template_url(&self) -> Option<&str>
A link to the packaged AWS SAM template of your application.
sourceimpl CreateApplicationVersionOutput
impl CreateApplicationVersionOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateApplicationVersionOutput
.
Trait Implementations
sourceimpl Clone for CreateApplicationVersionOutput
impl Clone for CreateApplicationVersionOutput
sourcefn clone(&self) -> CreateApplicationVersionOutput
fn clone(&self) -> CreateApplicationVersionOutput
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 PartialEq<CreateApplicationVersionOutput> for CreateApplicationVersionOutput
impl PartialEq<CreateApplicationVersionOutput> for CreateApplicationVersionOutput
sourcefn eq(&self, other: &CreateApplicationVersionOutput) -> bool
fn eq(&self, other: &CreateApplicationVersionOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateApplicationVersionOutput) -> bool
fn ne(&self, other: &CreateApplicationVersionOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateApplicationVersionOutput
Auto Trait Implementations
impl RefUnwindSafe for CreateApplicationVersionOutput
impl Send for CreateApplicationVersionOutput
impl Sync for CreateApplicationVersionOutput
impl Unpin for CreateApplicationVersionOutput
impl UnwindSafe for CreateApplicationVersionOutput
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> 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