amazonka-amp-2.0: Amazon Prometheus Service 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.AMP.UpdateLoggingConfiguration

Description

Update logging configuration.

Synopsis

Creating a Request

data UpdateLoggingConfiguration Source #

Represents the input of an UpdateLoggingConfiguration operation.

See: newUpdateLoggingConfiguration smart constructor.

Constructors

UpdateLoggingConfiguration' 

Fields

  • clientToken :: Maybe Text

    Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

  • logGroupArn :: Text

    The ARN of the CW log group to which the vended log data will be published.

  • workspaceId :: Text

    The ID of the workspace to vend logs to.

Instances

Instances details
ToJSON UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

ToHeaders UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

ToPath UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

ToQuery UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

AWSRequest UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

Generic UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

Associated Types

type Rep UpdateLoggingConfiguration :: Type -> Type #

Read UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

Show UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

NFData UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

Eq UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

Hashable UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

type AWSResponse UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

type Rep UpdateLoggingConfiguration Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

type Rep UpdateLoggingConfiguration = D1 ('MetaData "UpdateLoggingConfiguration" "Amazonka.AMP.UpdateLoggingConfiguration" "amazonka-amp-2.0-5Nt9wsU74T2I91dslthaby" 'False) (C1 ('MetaCons "UpdateLoggingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "logGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateLoggingConfiguration Source #

Create a value of UpdateLoggingConfiguration 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:clientToken:UpdateLoggingConfiguration', updateLoggingConfiguration_clientToken - Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

UpdateLoggingConfiguration, updateLoggingConfiguration_logGroupArn - The ARN of the CW log group to which the vended log data will be published.

UpdateLoggingConfiguration, updateLoggingConfiguration_workspaceId - The ID of the workspace to vend logs to.

Request Lenses

updateLoggingConfiguration_clientToken :: Lens' UpdateLoggingConfiguration (Maybe Text) Source #

Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

updateLoggingConfiguration_logGroupArn :: Lens' UpdateLoggingConfiguration Text Source #

The ARN of the CW log group to which the vended log data will be published.

Destructuring the Response

data UpdateLoggingConfigurationResponse Source #

Represents the output of an UpdateLoggingConfiguration operation.

See: newUpdateLoggingConfigurationResponse smart constructor.

Constructors

UpdateLoggingConfigurationResponse' 

Fields

Instances

Instances details
Generic UpdateLoggingConfigurationResponse Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

Associated Types

type Rep UpdateLoggingConfigurationResponse :: Type -> Type #

Read UpdateLoggingConfigurationResponse Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

Show UpdateLoggingConfigurationResponse Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

NFData UpdateLoggingConfigurationResponse Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

Eq UpdateLoggingConfigurationResponse Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

type Rep UpdateLoggingConfigurationResponse Source # 
Instance details

Defined in Amazonka.AMP.UpdateLoggingConfiguration

type Rep UpdateLoggingConfigurationResponse = D1 ('MetaData "UpdateLoggingConfigurationResponse" "Amazonka.AMP.UpdateLoggingConfiguration" "amazonka-amp-2.0-5Nt9wsU74T2I91dslthaby" 'False) (C1 ('MetaCons "UpdateLoggingConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LoggingConfigurationStatus)))

newUpdateLoggingConfigurationResponse Source #

Create a value of UpdateLoggingConfigurationResponse 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:UpdateLoggingConfigurationResponse', updateLoggingConfigurationResponse_httpStatus - The response's http status code.

UpdateLoggingConfigurationResponse, updateLoggingConfigurationResponse_status - The status of the logging configuration.

Response Lenses