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

Description

Create an alert manager definition.

Synopsis

Creating a Request

data CreateAlertManagerDefinition Source #

Represents the input of a CreateAlertManagerDefinition operation.

See: newCreateAlertManagerDefinition smart constructor.

Constructors

CreateAlertManagerDefinition' 

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 create the alert manager definition.

Instances

Instances details
Eq CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

Read CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

Show CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

Generic CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

Associated Types

type Rep CreateAlertManagerDefinition :: Type -> Type #

NFData CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

Hashable CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

ToJSON CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

AWSRequest CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

ToHeaders CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

ToPath CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

ToQuery CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

type Rep CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

type Rep CreateAlertManagerDefinition = D1 ('MetaData "CreateAlertManagerDefinition" "Amazonka.AMP.CreateAlertManagerDefinition" "libZSservicesZSamazonka-ampZSamazonka-amp" 'False) (C1 ('MetaCons "CreateAlertManagerDefinition'" '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 CreateAlertManagerDefinition Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

newCreateAlertManagerDefinition Source #

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

$sel:data':CreateAlertManagerDefinition', createAlertManagerDefinition_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:CreateAlertManagerDefinition', createAlertManagerDefinition_workspaceId - The ID of the workspace in which to create the alert manager definition.

Request Lenses

createAlertManagerDefinition_clientToken :: Lens' CreateAlertManagerDefinition (Maybe Text) Source #

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

createAlertManagerDefinition_data :: Lens' CreateAlertManagerDefinition 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.

createAlertManagerDefinition_workspaceId :: Lens' CreateAlertManagerDefinition Text Source #

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

Destructuring the Response

data CreateAlertManagerDefinitionResponse Source #

Represents the output of a CreateAlertManagerDefinition operation.

See: newCreateAlertManagerDefinitionResponse smart constructor.

Constructors

CreateAlertManagerDefinitionResponse' 

Fields

Instances

Instances details
Eq CreateAlertManagerDefinitionResponse Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

Read CreateAlertManagerDefinitionResponse Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

Show CreateAlertManagerDefinitionResponse Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

Generic CreateAlertManagerDefinitionResponse Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

NFData CreateAlertManagerDefinitionResponse Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

type Rep CreateAlertManagerDefinitionResponse Source # 
Instance details

Defined in Amazonka.AMP.CreateAlertManagerDefinition

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

Response Lenses