libZSservicesZSamazonka-ampZSamazonka-amp
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.AMP.PutAlertManagerDefinition

Description

Update an alert manager definition.

Synopsis

Creating a Request

data PutAlertManagerDefinition Source #

Represents the input of a PutAlertManagerDefinition operation.

See: newPutAlertManagerDefinition smart constructor.

Constructors

PutAlertManagerDefinition' 

Fields

  • clientToken :: Maybe Text

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

  • data' :: Base64

    The alert manager definition data.

  • workspaceId :: Text

    The ID of the workspace in which to update the alert manager definition.

Instances

Instances details
Eq PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

Read PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

Show PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

Generic PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

Associated Types

type Rep PutAlertManagerDefinition :: Type -> Type #

NFData PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

Hashable PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

ToJSON PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

AWSRequest PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

ToHeaders PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

ToPath PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

ToQuery PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

type Rep PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

type Rep PutAlertManagerDefinition = D1 ('MetaData "PutAlertManagerDefinition" "Amazonka.AMP.PutAlertManagerDefinition" "libZSservicesZSamazonka-ampZSamazonka-amp" 'False) (C1 ('MetaCons "PutAlertManagerDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64) :*: S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse PutAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

newPutAlertManagerDefinition Source #

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

$sel:data':PutAlertManagerDefinition', putAlertManagerDefinition_data - The alert manager definition data.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:workspaceId:PutAlertManagerDefinition', putAlertManagerDefinition_workspaceId - The ID of the workspace in which to update the alert manager definition.

Request Lenses

putAlertManagerDefinition_clientToken :: Lens' PutAlertManagerDefinition (Maybe Text) Source #

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

putAlertManagerDefinition_data :: Lens' PutAlertManagerDefinition ByteString Source #

The alert manager definition data.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

putAlertManagerDefinition_workspaceId :: Lens' PutAlertManagerDefinition Text Source #

The ID of the workspace in which to update the alert manager definition.

Destructuring the Response

data PutAlertManagerDefinitionResponse Source #

Represents the output of a PutAlertManagerDefinition operation.

See: newPutAlertManagerDefinitionResponse smart constructor.

Constructors

PutAlertManagerDefinitionResponse' 

Fields

Instances

Instances details
Eq PutAlertManagerDefinitionResponse Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

Read PutAlertManagerDefinitionResponse Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

Show PutAlertManagerDefinitionResponse Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

Generic PutAlertManagerDefinitionResponse Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

Associated Types

type Rep PutAlertManagerDefinitionResponse :: Type -> Type #

NFData PutAlertManagerDefinitionResponse Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

type Rep PutAlertManagerDefinitionResponse Source # 
Instance details

Defined in Amazonka.AMP.PutAlertManagerDefinition

type Rep PutAlertManagerDefinitionResponse = D1 ('MetaData "PutAlertManagerDefinitionResponse" "Amazonka.AMP.PutAlertManagerDefinition" "libZSservicesZSamazonka-ampZSamazonka-amp" 'False) (C1 ('MetaCons "PutAlertManagerDefinitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AlertManagerDefinitionStatus)))

newPutAlertManagerDefinitionResponse Source #

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

$sel:status:PutAlertManagerDefinitionResponse', putAlertManagerDefinitionResponse_status - The status of alert manager definition.

Response Lenses