amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSM.UpdateServiceSetting

Description

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 GetServiceSetting API operation to view the current value. Or, use the ResetServiceSetting to change the value back to the original value defined by the Amazon Web Services service team.

Update the service setting for the account.

Synopsis

Creating a Request

data UpdateServiceSetting Source #

The request body of the UpdateServiceSetting API operation.

See: newUpdateServiceSetting smart constructor.

Constructors

UpdateServiceSetting' 

Fields

  • settingId :: Text

    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
  • settingValue :: Text

    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 or Disable
    • /ssm/managed-instance/activation-tier: standard or advanced
    • /ssm/opsinsights/opscenter: Enabled or Disabled
    • /ssm/parameter-store/default-parameter-tier: Standard, Advanced, Intelligent-Tiering
    • /ssm/parameter-store/high-throughput-enabled: true or false

Instances

Instances details
ToJSON UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

ToHeaders UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

ToPath UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

ToQuery UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

AWSRequest UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

Associated Types

type AWSResponse UpdateServiceSetting #

Generic UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

Associated Types

type Rep UpdateServiceSetting :: Type -> Type #

Read UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

Show UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

NFData UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

Methods

rnf :: UpdateServiceSetting -> () #

Eq UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

Hashable UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

type AWSResponse UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

type Rep UpdateServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

type Rep UpdateServiceSetting = D1 ('MetaData "UpdateServiceSetting" "Amazonka.SSM.UpdateServiceSetting" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "UpdateServiceSetting'" 'PrefixI 'True) (S1 ('MetaSel ('Just "settingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "settingValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUpdateServiceSetting Source #

Create a value of UpdateServiceSetting with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateServiceSetting, updateServiceSetting_settingId - 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

UpdateServiceSetting, updateServiceSetting_settingValue - 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 or Disable
  • /ssm/managed-instance/activation-tier: standard or advanced
  • /ssm/opsinsights/opscenter: Enabled or Disabled
  • /ssm/parameter-store/default-parameter-tier: Standard, Advanced, Intelligent-Tiering
  • /ssm/parameter-store/high-throughput-enabled: true or false

Request Lenses

updateServiceSetting_settingId :: Lens' UpdateServiceSetting Text Source #

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

updateServiceSetting_settingValue :: Lens' UpdateServiceSetting Text Source #

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 or Disable
  • /ssm/managed-instance/activation-tier: standard or advanced
  • /ssm/opsinsights/opscenter: Enabled or Disabled
  • /ssm/parameter-store/default-parameter-tier: Standard, Advanced, Intelligent-Tiering
  • /ssm/parameter-store/high-throughput-enabled: true or false

Destructuring the Response

data UpdateServiceSettingResponse Source #

The result body of the UpdateServiceSetting API operation.

See: newUpdateServiceSettingResponse smart constructor.

Constructors

UpdateServiceSettingResponse' 

Fields

Instances

Instances details
Generic UpdateServiceSettingResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

Associated Types

type Rep UpdateServiceSettingResponse :: Type -> Type #

Read UpdateServiceSettingResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

Show UpdateServiceSettingResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

NFData UpdateServiceSettingResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

Eq UpdateServiceSettingResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

type Rep UpdateServiceSettingResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateServiceSetting

type Rep UpdateServiceSettingResponse = D1 ('MetaData "UpdateServiceSettingResponse" "Amazonka.SSM.UpdateServiceSetting" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "UpdateServiceSettingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateServiceSettingResponse Source #

Create a value of UpdateServiceSettingResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateServiceSettingResponse', updateServiceSettingResponse_httpStatus - The response's http status code.

Response Lenses