Struct aws_sdk_ssm::input::UpdateServiceSettingInput
source · #[non_exhaustive]pub struct UpdateServiceSettingInput { /* private fields */ }
Expand description
The request body of the UpdateServiceSetting API operation.
Implementations§
source§impl UpdateServiceSettingInput
impl UpdateServiceSettingInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateServiceSetting, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateServiceSetting, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateServiceSetting
>
Examples found in repository?
19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 19613 19614 19615 19616
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateServiceSetting,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateServiceSettingError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateServiceSettingOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateServiceSettingError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateServiceSettingInput
.
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 reset. 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/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
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.
-
/ssm/automation/customer-script-log-destination
:CloudWatch
-
/ssm/automation/customer-script-log-group-name
: the name of an Amazon CloudWatch Logs log group -
/ssm/documents/console/public-sharing-permission
:Enable
orDisable
-
/ssm/managed-instance/activation-tier
:standard
oradvanced
-
/ssm/opsinsights/opscenter
:Enabled
orDisabled
-
/ssm/parameter-store/default-parameter-tier
:Standard
,Advanced
,Intelligent-Tiering
-
/ssm/parameter-store/high-throughput-enabled
:true
orfalse
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 more