#[non_exhaustive]pub struct UpdateServiceSettingInput {
pub setting_id: Option<String>,
pub setting_value: Option<String>,
}
Expand description
The request body of the UpdateServiceSetting API operation.
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 Amazon Resource Name (ARN) of the service setting to update. For example, arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled
. The setting ID can be one of the following.
-
/ssm/managed-instance/default-ec2-instance-management-role
-
/ssm/automation/customer-script-log-destination
-
/ssm/automation/customer-script-log-group-name
-
/ssm/documents/console/public-sharing-permission
-
/ssm/managed-instance/activation-tier
-
/ssm/opsinsights/opscenter
-
/ssm/parameter-store/default-parameter-tier
-
/ssm/parameter-store/high-throughput-enabled
Permissions to update the /ssm/managed-instance/default-ec2-instance-management-role
setting should only be provided to administrators. Implement least privilege access when allowing individuals to configure or modify the Default Host Management Configuration.
setting_value: Option<String>
The new value to specify for the service setting. The following list specifies the available values for each setting.
-
For
/ssm/managed-instance/default-ec2-instance-management-role
, enter the name of an IAM role. -
For
/ssm/automation/customer-script-log-destination
, enterCloudWatch
. -
For
/ssm/automation/customer-script-log-group-name
, enter the name of an Amazon CloudWatch Logs log group. -
For
/ssm/documents/console/public-sharing-permission
, enterEnable
orDisable
. -
For
/ssm/managed-instance/activation-tier
, enterstandard
oradvanced
. -
For
/ssm/opsinsights/opscenter
, enterEnabled
orDisabled
. -
For
/ssm/parameter-store/default-parameter-tier
, enterStandard
,Advanced
, orIntelligent-Tiering
-
For
/ssm/parameter-store/high-throughput-enabled
, entertrue
orfalse
.
Implementations§
source§impl UpdateServiceSettingInput
impl UpdateServiceSettingInput
sourcepub fn setting_id(&self) -> Option<&str>
pub fn setting_id(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the service setting to update. For example, arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled
. The setting ID can be one of the following.
-
/ssm/managed-instance/default-ec2-instance-management-role
-
/ssm/automation/customer-script-log-destination
-
/ssm/automation/customer-script-log-group-name
-
/ssm/documents/console/public-sharing-permission
-
/ssm/managed-instance/activation-tier
-
/ssm/opsinsights/opscenter
-
/ssm/parameter-store/default-parameter-tier
-
/ssm/parameter-store/high-throughput-enabled
Permissions to update the /ssm/managed-instance/default-ec2-instance-management-role
setting should only be provided to administrators. Implement least privilege access when allowing individuals to configure or modify the Default Host Management Configuration.
sourcepub fn setting_value(&self) -> Option<&str>
pub fn setting_value(&self) -> Option<&str>
The new value to specify for the service setting. The following list specifies the available values for each setting.
-
For
/ssm/managed-instance/default-ec2-instance-management-role
, enter the name of an IAM role. -
For
/ssm/automation/customer-script-log-destination
, enterCloudWatch
. -
For
/ssm/automation/customer-script-log-group-name
, enter the name of an Amazon CloudWatch Logs log group. -
For
/ssm/documents/console/public-sharing-permission
, enterEnable
orDisable
. -
For
/ssm/managed-instance/activation-tier
, enterstandard
oradvanced
. -
For
/ssm/opsinsights/opscenter
, enterEnabled
orDisabled
. -
For
/ssm/parameter-store/default-parameter-tier
, enterStandard
,Advanced
, orIntelligent-Tiering
-
For
/ssm/parameter-store/high-throughput-enabled
, entertrue
orfalse
.
source§impl UpdateServiceSettingInput
impl UpdateServiceSettingInput
sourcepub fn builder() -> UpdateServiceSettingInputBuilder
pub fn builder() -> UpdateServiceSettingInputBuilder
Creates a new builder-style object to manufacture UpdateServiceSettingInput
.
Trait Implementations§
source§impl Clone for UpdateServiceSettingInput
impl Clone for UpdateServiceSettingInput
source§fn clone(&self) -> UpdateServiceSettingInput
fn clone(&self) -> UpdateServiceSettingInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateServiceSettingInput
impl Debug for UpdateServiceSettingInput
source§impl PartialEq for UpdateServiceSettingInput
impl PartialEq for UpdateServiceSettingInput
source§fn eq(&self, other: &UpdateServiceSettingInput) -> bool
fn eq(&self, other: &UpdateServiceSettingInput) -> bool
self
and other
values to be equal, and is used
by ==
.