Struct aws_sdk_ssm::model::ServiceSetting
source · [−]#[non_exhaustive]pub struct ServiceSetting {
pub setting_id: Option<String>,
pub setting_value: Option<String>,
pub last_modified_date: Option<DateTime>,
pub last_modified_user: Option<String>,
pub arn: Option<String>,
pub status: Option<String>,
}
Expand description
The service setting data structure.
ServiceSetting
is an account-level setting for an Amazon Web Services service. This setting defines how a user interacts with or uses a service or a feature of a service. For example, if an Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services service team might create a default setting of "false". This means the user can't use this feature unless they change the setting to "true" and intentionally opt in for a paid feature.
Services map a SettingId
object to a setting value. Amazon Web Services services teams define the default value for a SettingId
. You can't create a new SettingId
, but you can overwrite the default value if you have the ssm:UpdateServiceSetting
permission for the setting. Use the UpdateServiceSetting
API operation to change the default setting. Or, use the ResetServiceSetting
to change the value back to the original value defined by the Amazon Web Services service team.
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.setting_id: Option<String>
The ID of the service setting.
setting_value: Option<String>
The value of the service setting.
last_modified_date: Option<DateTime>
The last time the service setting was modified.
last_modified_user: Option<String>
The ARN of the last modified user. This field is populated only if the setting value was overwritten.
arn: Option<String>
The ARN of the service setting.
status: Option<String>
The status of the service setting. The value can be Default, Customized or PendingUpdate.
-
Default: The current setting uses a default value provisioned by the Amazon Web Services service team.
-
Customized: The current setting use a custom value specified by the customer.
-
PendingUpdate: The current setting uses a default or custom value, but a setting change request is pending approval.
Implementations
sourceimpl ServiceSetting
impl ServiceSetting
sourcepub fn setting_id(&self) -> Option<&str>
pub fn setting_id(&self) -> Option<&str>
The ID of the service setting.
sourcepub fn setting_value(&self) -> Option<&str>
pub fn setting_value(&self) -> Option<&str>
The value of the service setting.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
The last time the service setting was modified.
sourcepub fn last_modified_user(&self) -> Option<&str>
pub fn last_modified_user(&self) -> Option<&str>
The ARN of the last modified user. This field is populated only if the setting value was overwritten.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the service setting. The value can be Default, Customized or PendingUpdate.
-
Default: The current setting uses a default value provisioned by the Amazon Web Services service team.
-
Customized: The current setting use a custom value specified by the customer.
-
PendingUpdate: The current setting uses a default or custom value, but a setting change request is pending approval.
sourceimpl ServiceSetting
impl ServiceSetting
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ServiceSetting
Trait Implementations
sourceimpl Clone for ServiceSetting
impl Clone for ServiceSetting
sourcefn clone(&self) -> ServiceSetting
fn clone(&self) -> ServiceSetting
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 ServiceSetting
impl Debug for ServiceSetting
sourceimpl PartialEq<ServiceSetting> for ServiceSetting
impl PartialEq<ServiceSetting> for ServiceSetting
sourcefn eq(&self, other: &ServiceSetting) -> bool
fn eq(&self, other: &ServiceSetting) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ServiceSetting) -> bool
fn ne(&self, other: &ServiceSetting) -> bool
This method tests for !=
.
impl StructuralPartialEq for ServiceSetting
Auto Trait Implementations
impl RefUnwindSafe for ServiceSetting
impl Send for ServiceSetting
impl Sync for ServiceSetting
impl Unpin for ServiceSetting
impl UnwindSafe for ServiceSetting
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