Struct aws_sdk_ssm::operation::update_service_setting::builders::UpdateServiceSettingInputBuilder
source · #[non_exhaustive]pub struct UpdateServiceSettingInputBuilder { /* private fields */ }
Expand description
A builder for UpdateServiceSettingInput
.
Implementations§
source§impl UpdateServiceSettingInputBuilder
impl UpdateServiceSettingInputBuilder
sourcepub fn setting_id(self, input: impl Into<String>) -> Self
pub fn setting_id(self, input: impl Into<String>) -> Self
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 set_setting_id(self, input: Option<String>) -> Self
pub fn set_setting_id(self, input: Option<String>) -> Self
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 get_setting_id(&self) -> &Option<String>
pub fn get_setting_id(&self) -> &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.
sourcepub fn setting_value(self, input: impl Into<String>) -> Self
pub fn setting_value(self, input: impl Into<String>) -> Self
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
.
sourcepub fn set_setting_value(self, input: Option<String>) -> Self
pub fn set_setting_value(self, input: Option<String>) -> Self
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
.
sourcepub fn get_setting_value(&self) -> &Option<String>
pub fn get_setting_value(&self) -> &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
.
sourcepub fn build(self) -> Result<UpdateServiceSettingInput, BuildError>
pub fn build(self) -> Result<UpdateServiceSettingInput, BuildError>
Consumes the builder and constructs a UpdateServiceSettingInput
.
source§impl UpdateServiceSettingInputBuilder
impl UpdateServiceSettingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateServiceSettingOutput, SdkError<UpdateServiceSettingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateServiceSettingOutput, SdkError<UpdateServiceSettingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateServiceSettingInputBuilder
impl Clone for UpdateServiceSettingInputBuilder
source§fn clone(&self) -> UpdateServiceSettingInputBuilder
fn clone(&self) -> UpdateServiceSettingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateServiceSettingInputBuilder
impl Default for UpdateServiceSettingInputBuilder
source§fn default() -> UpdateServiceSettingInputBuilder
fn default() -> UpdateServiceSettingInputBuilder
source§impl PartialEq for UpdateServiceSettingInputBuilder
impl PartialEq for UpdateServiceSettingInputBuilder
source§fn eq(&self, other: &UpdateServiceSettingInputBuilder) -> bool
fn eq(&self, other: &UpdateServiceSettingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.