Struct aws_sdk_ssm::model::Activation
source · [−]#[non_exhaustive]pub struct Activation {
pub activation_id: Option<String>,
pub description: Option<String>,
pub default_instance_name: Option<String>,
pub iam_role: Option<String>,
pub registration_limit: i32,
pub registrations_count: i32,
pub expiration_date: Option<DateTime>,
pub expired: bool,
pub created_date: Option<DateTime>,
pub tags: Option<Vec<Tag>>,
}
Expand description
An activation registers one or more on-premises servers or virtual machines (VMs) with Amazon Web Services so that you can configure those servers or VMs using Run Command. A server or VM that has been registered with Amazon Web Services Systems Manager is called a managed node.
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.activation_id: Option<String>
The ID created by Systems Manager when you submitted the activation.
description: Option<String>
A user defined description of the activation.
default_instance_name: Option<String>
A name for the managed node when it is created.
iam_role: Option<String>
The Identity and Access Management (IAM) role to assign to the managed node.
registration_limit: i32
The maximum number of managed nodes that can be registered using this activation.
registrations_count: i32
The number of managed nodes already registered with this activation.
expiration_date: Option<DateTime>
The date when this activation can no longer be used to register managed nodes.
expired: bool
Whether or not the activation is expired.
created_date: Option<DateTime>
The date the activation was created.
Tags assigned to the activation.
Implementations
sourceimpl Activation
impl Activation
sourcepub fn activation_id(&self) -> Option<&str>
pub fn activation_id(&self) -> Option<&str>
The ID created by Systems Manager when you submitted the activation.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A user defined description of the activation.
sourcepub fn default_instance_name(&self) -> Option<&str>
pub fn default_instance_name(&self) -> Option<&str>
A name for the managed node when it is created.
sourcepub fn iam_role(&self) -> Option<&str>
pub fn iam_role(&self) -> Option<&str>
The Identity and Access Management (IAM) role to assign to the managed node.
sourcepub fn registration_limit(&self) -> i32
pub fn registration_limit(&self) -> i32
The maximum number of managed nodes that can be registered using this activation.
sourcepub fn registrations_count(&self) -> i32
pub fn registrations_count(&self) -> i32
The number of managed nodes already registered with this activation.
sourcepub fn expiration_date(&self) -> Option<&DateTime>
pub fn expiration_date(&self) -> Option<&DateTime>
The date when this activation can no longer be used to register managed nodes.
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The date the activation was created.
Tags assigned to the activation.
sourceimpl Activation
impl Activation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Activation
Trait Implementations
sourceimpl Clone for Activation
impl Clone for Activation
sourcefn clone(&self) -> Activation
fn clone(&self) -> Activation
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 Debug for Activation
impl Debug for Activation
sourceimpl PartialEq<Activation> for Activation
impl PartialEq<Activation> for Activation
sourcefn eq(&self, other: &Activation) -> bool
fn eq(&self, other: &Activation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Activation) -> bool
fn ne(&self, other: &Activation) -> bool
This method tests for !=
.
impl StructuralPartialEq for Activation
Auto Trait Implementations
impl RefUnwindSafe for Activation
impl Send for Activation
impl Sync for Activation
impl Unpin for Activation
impl UnwindSafe for Activation
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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