libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.GetServiceSetting

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 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.

Query the current service setting for the Amazon Web Services account.

Synopsis

Creating a Request

data GetServiceSetting Source #

The request body of the GetServiceSetting API operation.

See: newGetServiceSetting smart constructor.

Constructors

GetServiceSetting' 

Fields

  • settingId :: Text

    The ID of the service setting to get. 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/parameter-store/default-parameter-tier
    • /ssm/parameter-store/high-throughput-enabled
    • /ssm/managed-instance/activation-tier

Instances

Instances details
Eq GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

Read GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

Show GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

Generic GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

Associated Types

type Rep GetServiceSetting :: Type -> Type #

NFData GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

Methods

rnf :: GetServiceSetting -> () #

Hashable GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

ToJSON GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

AWSRequest GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

Associated Types

type AWSResponse GetServiceSetting #

ToHeaders GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

ToPath GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

ToQuery GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

type Rep GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

type Rep GetServiceSetting = D1 ('MetaData "GetServiceSetting" "Amazonka.SSM.GetServiceSetting" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "GetServiceSetting'" 'PrefixI 'True) (S1 ('MetaSel ('Just "settingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetServiceSetting Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

newGetServiceSetting Source #

Create a value of GetServiceSetting 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:settingId:GetServiceSetting', getServiceSetting_settingId - The ID of the service setting to get. 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/parameter-store/default-parameter-tier
  • /ssm/parameter-store/high-throughput-enabled
  • /ssm/managed-instance/activation-tier

Request Lenses

getServiceSetting_settingId :: Lens' GetServiceSetting Text Source #

The ID of the service setting to get. 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/parameter-store/default-parameter-tier
  • /ssm/parameter-store/high-throughput-enabled
  • /ssm/managed-instance/activation-tier

Destructuring the Response

data GetServiceSettingResponse Source #

The query result body of the GetServiceSetting API operation.

See: newGetServiceSettingResponse smart constructor.

Constructors

GetServiceSettingResponse' 

Fields

Instances

Instances details
Eq GetServiceSettingResponse Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

Read GetServiceSettingResponse Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

Show GetServiceSettingResponse Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

Generic GetServiceSettingResponse Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

Associated Types

type Rep GetServiceSettingResponse :: Type -> Type #

NFData GetServiceSettingResponse Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

type Rep GetServiceSettingResponse Source # 
Instance details

Defined in Amazonka.SSM.GetServiceSetting

type Rep GetServiceSettingResponse = D1 ('MetaData "GetServiceSettingResponse" "Amazonka.SSM.GetServiceSetting" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "GetServiceSettingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceSetting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceSetting)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetServiceSettingResponse Source #

Create a value of GetServiceSettingResponse 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:serviceSetting:GetServiceSettingResponse', getServiceSettingResponse_serviceSetting - The query result of the current service setting.

$sel:httpStatus:GetServiceSettingResponse', getServiceSettingResponse_httpStatus - The response's http status code.

Response Lenses