#[non_exhaustive]pub struct DescribeReleaseLabelOutput {
pub release_label: Option<String>,
pub applications: Option<Vec<SimplifiedApplication>>,
pub next_token: Option<String>,
pub available_os_releases: Option<Vec<OsRelease>>,
/* private fields */
}
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.release_label: Option<String>
The target release label described in the response.
applications: Option<Vec<SimplifiedApplication>>
The list of applications available for the target release label. Name
is the name of the application. Version
is the concise version of the application.
next_token: Option<String>
The pagination token. Reserved for future use. Currently set to null.
available_os_releases: Option<Vec<OsRelease>>
The list of available Amazon Linux release versions for an Amazon EMR release. Contains a Label field that is formatted as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
Implementations§
source§impl DescribeReleaseLabelOutput
impl DescribeReleaseLabelOutput
sourcepub fn release_label(&self) -> Option<&str>
pub fn release_label(&self) -> Option<&str>
The target release label described in the response.
sourcepub fn applications(&self) -> &[SimplifiedApplication]
pub fn applications(&self) -> &[SimplifiedApplication]
The list of applications available for the target release label. Name
is the name of the application. Version
is the concise version of the application.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .applications.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The pagination token. Reserved for future use. Currently set to null.
sourcepub fn available_os_releases(&self) -> &[OsRelease]
pub fn available_os_releases(&self) -> &[OsRelease]
The list of available Amazon Linux release versions for an Amazon EMR release. Contains a Label field that is formatted as shown in Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .available_os_releases.is_none()
.
source§impl DescribeReleaseLabelOutput
impl DescribeReleaseLabelOutput
sourcepub fn builder() -> DescribeReleaseLabelOutputBuilder
pub fn builder() -> DescribeReleaseLabelOutputBuilder
Creates a new builder-style object to manufacture DescribeReleaseLabelOutput
.
Trait Implementations§
source§impl Clone for DescribeReleaseLabelOutput
impl Clone for DescribeReleaseLabelOutput
source§fn clone(&self) -> DescribeReleaseLabelOutput
fn clone(&self) -> DescribeReleaseLabelOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeReleaseLabelOutput
impl Debug for DescribeReleaseLabelOutput
source§impl PartialEq for DescribeReleaseLabelOutput
impl PartialEq for DescribeReleaseLabelOutput
source§fn eq(&self, other: &DescribeReleaseLabelOutput) -> bool
fn eq(&self, other: &DescribeReleaseLabelOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeReleaseLabelOutput
impl RequestId for DescribeReleaseLabelOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.