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

Description

Update an existing pipe. When you call UpdatePipe, only the fields that are included in the request are changed, the rest are unchanged. The exception to this is if you modify any Amazon Web Services-service specific fields in the SourceParameters, EnrichmentParameters, or TargetParameters objects. The fields in these objects are updated atomically as one and override existing values. This is by design and means that if you don't specify an optional field in one of these Parameters objects, that field will be set to its system-default value after the update.

 <p>For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html"> Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
Synopsis

Creating a Request

data UpdatePipe Source #

See: newUpdatePipe smart constructor.

Constructors

UpdatePipe' 

Fields

Instances

Instances details
ToJSON UpdatePipe Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

ToHeaders UpdatePipe Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

Methods

toHeaders :: UpdatePipe -> [Header] #

ToPath UpdatePipe Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

ToQuery UpdatePipe Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

AWSRequest UpdatePipe Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

Associated Types

type AWSResponse UpdatePipe #

Generic UpdatePipe Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

Associated Types

type Rep UpdatePipe :: Type -> Type #

Show UpdatePipe Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

NFData UpdatePipe Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

Methods

rnf :: UpdatePipe -> () #

Eq UpdatePipe Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

Hashable UpdatePipe Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

type AWSResponse UpdatePipe Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

type Rep UpdatePipe Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

newUpdatePipe Source #

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

UpdatePipe, updatePipe_desiredState - The state the pipe should be in.

UpdatePipe, updatePipe_enrichment - The ARN of the enrichment resource.

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

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

UpdatePipe, updatePipe_target - The ARN of the target resource.

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

UpdatePipe, updatePipe_name - The name of the pipe.

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

Request Lenses

updatePipe_description :: Lens' UpdatePipe (Maybe Text) Source #

A description of the pipe.

updatePipe_enrichment :: Lens' UpdatePipe (Maybe Text) Source #

The ARN of the enrichment resource.

updatePipe_enrichmentParameters :: Lens' UpdatePipe (Maybe PipeEnrichmentParameters) Source #

The parameters required to set up enrichment on your pipe.

updatePipe_sourceParameters :: Lens' UpdatePipe (Maybe UpdatePipeSourceParameters) Source #

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

updatePipe_target :: Lens' UpdatePipe (Maybe Text) Source #

The ARN of the target resource.

updatePipe_targetParameters :: Lens' UpdatePipe (Maybe PipeTargetParameters) Source #

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

updatePipe_name :: Lens' UpdatePipe Text Source #

The name of the pipe.

updatePipe_roleArn :: Lens' UpdatePipe Text Source #

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

Destructuring the Response

data UpdatePipeResponse Source #

See: newUpdatePipeResponse smart constructor.

Constructors

UpdatePipeResponse' 

Fields

Instances

Instances details
Generic UpdatePipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

Associated Types

type Rep UpdatePipeResponse :: Type -> Type #

Read UpdatePipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

Show UpdatePipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

NFData UpdatePipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

Methods

rnf :: UpdatePipeResponse -> () #

Eq UpdatePipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

type Rep UpdatePipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.UpdatePipe

newUpdatePipeResponse Source #

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

UpdatePipeResponse, updatePipeResponse_arn - The ARN of the pipe.

UpdatePipeResponse, updatePipeResponse_creationTime - The time the pipe was created.

UpdatePipeResponse, updatePipeResponse_currentState - The state the pipe is in.

UpdatePipe, updatePipeResponse_desiredState - The state the pipe should be in.

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

UpdatePipe, updatePipeResponse_name - The name of the pipe.

$sel:httpStatus:UpdatePipeResponse', updatePipeResponse_httpStatus - The response's http status code.

Response Lenses

updatePipeResponse_lastModifiedTime :: Lens' UpdatePipeResponse (Maybe UTCTime) Source #

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