Struct aws_sdk_ssm::types::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§
source§impl 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.
source§impl ServiceSetting
impl ServiceSetting
sourcepub fn builder() -> ServiceSettingBuilder
pub fn builder() -> ServiceSettingBuilder
Creates a new builder-style object to manufacture ServiceSetting
.
Trait Implementations§
source§impl Clone for ServiceSetting
impl Clone for ServiceSetting
source§fn clone(&self) -> ServiceSetting
fn clone(&self) -> ServiceSetting
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceSetting
impl Debug for ServiceSetting
source§impl PartialEq for ServiceSetting
impl PartialEq for ServiceSetting
source§fn eq(&self, other: &ServiceSetting) -> bool
fn eq(&self, other: &ServiceSetting) -> bool
self
and other
values to be equal, and is used
by ==
.