libZSservicesZSamazonka-ioteventsZSamazonka-iotevents
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.IoTEvents.CreateInput

Description

Creates an input.

Synopsis

Creating a Request

data CreateInput Source #

See: newCreateInput smart constructor.

Constructors

CreateInput' 

Fields

Instances

Instances details
Eq CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

Read CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

Show CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

Generic CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

Associated Types

type Rep CreateInput :: Type -> Type #

NFData CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

Methods

rnf :: CreateInput -> () #

Hashable CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

ToJSON CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

AWSRequest CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

Associated Types

type AWSResponse CreateInput #

ToHeaders CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

Methods

toHeaders :: CreateInput -> [Header] #

ToPath CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

ToQuery CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

type Rep CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

type Rep CreateInput = D1 ('MetaData "CreateInput" "Amazonka.IoTEvents.CreateInput" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "CreateInput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "inputDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))) :*: (S1 ('MetaSel ('Just "inputName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "inputDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InputDefinition))))
type AWSResponse CreateInput Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

newCreateInput Source #

Create a value of CreateInput 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:inputDescription:CreateInput', createInput_inputDescription - A brief description of the input.

$sel:tags:CreateInput', createInput_tags - Metadata that can be used to manage the input.

$sel:inputName:CreateInput', createInput_inputName - The name you want to give to the input.

$sel:inputDefinition:CreateInput', createInput_inputDefinition - The definition of the input.

Request Lenses

createInput_inputDescription :: Lens' CreateInput (Maybe Text) Source #

A brief description of the input.

createInput_tags :: Lens' CreateInput (Maybe [Tag]) Source #

Metadata that can be used to manage the input.

createInput_inputName :: Lens' CreateInput Text Source #

The name you want to give to the input.

Destructuring the Response

data CreateInputResponse Source #

See: newCreateInputResponse smart constructor.

Constructors

CreateInputResponse' 

Fields

Instances

Instances details
Eq CreateInputResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

Read CreateInputResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

Show CreateInputResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

Generic CreateInputResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

Associated Types

type Rep CreateInputResponse :: Type -> Type #

NFData CreateInputResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

Methods

rnf :: CreateInputResponse -> () #

type Rep CreateInputResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.CreateInput

type Rep CreateInputResponse = D1 ('MetaData "CreateInputResponse" "Amazonka.IoTEvents.CreateInput" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "CreateInputResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "inputConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateInputResponse Source #

Create a value of CreateInputResponse 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:inputConfiguration:CreateInputResponse', createInputResponse_inputConfiguration - Information about the configuration of the input.

$sel:httpStatus:CreateInputResponse', createInputResponse_httpStatus - The response's http status code.

Response Lenses