amazonka-pipes-2.0: Amazon EventBridge Pipes 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.Pipes.CreatePipe

Description

Create a pipe. Amazon EventBridge Pipes connect event sources to targets and reduces the need for specialized knowledge and integration code.

Synopsis

Creating a Request

data CreatePipe Source #

See: newCreatePipe smart constructor.

Constructors

CreatePipe' 

Fields

Instances

Instances details
ToJSON CreatePipe Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

ToHeaders CreatePipe Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

Methods

toHeaders :: CreatePipe -> [Header] #

ToPath CreatePipe Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

ToQuery CreatePipe Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

AWSRequest CreatePipe Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

Associated Types

type AWSResponse CreatePipe #

Generic CreatePipe Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

Associated Types

type Rep CreatePipe :: Type -> Type #

Show CreatePipe Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

NFData CreatePipe Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

Methods

rnf :: CreatePipe -> () #

Eq CreatePipe Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

Hashable CreatePipe Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

type AWSResponse CreatePipe Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

type Rep CreatePipe Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

type Rep CreatePipe = D1 ('MetaData "CreatePipe" "Amazonka.Pipes.CreatePipe" "amazonka-pipes-2.0-DDuNjbjVfgsJFLlibzr06i" 'False) (C1 ('MetaCons "CreatePipe'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "desiredState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RequestedPipeState))) :*: (S1 ('MetaSel ('Just "enrichment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "enrichmentParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PipeEnrichmentParameters)) :*: S1 ('MetaSel ('Just "sourceParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PipeSourceParameters))))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "targetParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PipeTargetParameters)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newCreatePipe Source #

Create a value of CreatePipe 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:description:CreatePipe', createPipe_description - A description of the pipe.

CreatePipe, createPipe_desiredState - The state the pipe should be in.

CreatePipe, createPipe_enrichment - The ARN of the enrichment resource.

$sel:enrichmentParameters:CreatePipe', createPipe_enrichmentParameters - The parameters required to set up enrichment on your pipe.

$sel:sourceParameters:CreatePipe', createPipe_sourceParameters - The parameters required to set up a source for your pipe.

CreatePipe, createPipe_tags - The list of key-value pairs to associate with the pipe.

$sel:targetParameters:CreatePipe', createPipe_targetParameters - The parameters required to set up a target for your pipe.

CreatePipe, createPipe_name - The name of the pipe.

$sel:roleArn:CreatePipe', createPipe_roleArn - The ARN of the role that allows the pipe to send data to the target.

CreatePipe, createPipe_source - The ARN of the source resource.

CreatePipe, createPipe_target - The ARN of the target resource.

Request Lenses

createPipe_description :: Lens' CreatePipe (Maybe Text) Source #

A description of the pipe.

createPipe_enrichment :: Lens' CreatePipe (Maybe Text) Source #

The ARN of the enrichment resource.

createPipe_enrichmentParameters :: Lens' CreatePipe (Maybe PipeEnrichmentParameters) Source #

The parameters required to set up enrichment on your pipe.

createPipe_sourceParameters :: Lens' CreatePipe (Maybe PipeSourceParameters) Source #

The parameters required to set up a source for your pipe.

createPipe_tags :: Lens' CreatePipe (Maybe (HashMap Text Text)) Source #

The list of key-value pairs to associate with the pipe.

createPipe_targetParameters :: Lens' CreatePipe (Maybe PipeTargetParameters) Source #

The parameters required to set up a target for your pipe.

createPipe_name :: Lens' CreatePipe Text Source #

The name of the pipe.

createPipe_roleArn :: Lens' CreatePipe Text Source #

The ARN of the role that allows the pipe to send data to the target.

createPipe_source :: Lens' CreatePipe Text Source #

The ARN of the source resource.

createPipe_target :: Lens' CreatePipe Text Source #

The ARN of the target resource.

Destructuring the Response

data CreatePipeResponse Source #

See: newCreatePipeResponse smart constructor.

Constructors

CreatePipeResponse' 

Fields

Instances

Instances details
Generic CreatePipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

Associated Types

type Rep CreatePipeResponse :: Type -> Type #

Read CreatePipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

Show CreatePipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

NFData CreatePipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

Methods

rnf :: CreatePipeResponse -> () #

Eq CreatePipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

type Rep CreatePipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.CreatePipe

newCreatePipeResponse Source #

Create a value of CreatePipeResponse 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:

CreatePipeResponse, createPipeResponse_arn - The ARN of the pipe.

CreatePipeResponse, createPipeResponse_creationTime - The time the pipe was created.

CreatePipeResponse, createPipeResponse_currentState - The state the pipe is in.

CreatePipe, createPipeResponse_desiredState - The state the pipe should be in.

CreatePipeResponse, createPipeResponse_lastModifiedTime - When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

CreatePipe, createPipeResponse_name - The name of the pipe.

$sel:httpStatus:CreatePipeResponse', createPipeResponse_httpStatus - The response's http status code.

Response Lenses

createPipeResponse_lastModifiedTime :: Lens' CreatePipeResponse (Maybe UTCTime) Source #

When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).