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

Description

Stop an existing pipe.

Synopsis

Creating a Request

data StopPipe Source #

See: newStopPipe smart constructor.

Constructors

StopPipe' 

Fields

Instances

Instances details
ToJSON StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

ToHeaders StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

Methods

toHeaders :: StopPipe -> [Header] #

ToPath StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

ToQuery StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

AWSRequest StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

Associated Types

type AWSResponse StopPipe #

Generic StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

Associated Types

type Rep StopPipe :: Type -> Type #

Methods

from :: StopPipe -> Rep StopPipe x #

to :: Rep StopPipe x -> StopPipe #

Read StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

Show StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

NFData StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

Methods

rnf :: StopPipe -> () #

Eq StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

Hashable StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

Methods

hashWithSalt :: Int -> StopPipe -> Int #

hash :: StopPipe -> Int #

type AWSResponse StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

type Rep StopPipe Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

type Rep StopPipe = D1 ('MetaData "StopPipe" "Amazonka.Pipes.StopPipe" "amazonka-pipes-2.0-DDuNjbjVfgsJFLlibzr06i" 'False) (C1 ('MetaCons "StopPipe'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStopPipe Source #

Arguments

:: Text

StopPipe

-> StopPipe 

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

StopPipe, stopPipe_name - The name of the pipe.

Request Lenses

stopPipe_name :: Lens' StopPipe Text Source #

The name of the pipe.

Destructuring the Response

data StopPipeResponse Source #

See: newStopPipeResponse smart constructor.

Constructors

StopPipeResponse' 

Fields

Instances

Instances details
Generic StopPipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

Associated Types

type Rep StopPipeResponse :: Type -> Type #

Read StopPipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

Show StopPipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

NFData StopPipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

Methods

rnf :: StopPipeResponse -> () #

Eq StopPipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

type Rep StopPipeResponse Source # 
Instance details

Defined in Amazonka.Pipes.StopPipe

newStopPipeResponse Source #

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

StopPipeResponse, stopPipeResponse_arn - The ARN of the pipe.

StopPipeResponse, stopPipeResponse_creationTime - The time the pipe was created.

StopPipeResponse, stopPipeResponse_currentState - The state the pipe is in.

StopPipeResponse, stopPipeResponse_desiredState - The state the pipe should be in.

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

StopPipe, stopPipeResponse_name - The name of the pipe.

$sel:httpStatus:StopPipeResponse', stopPipeResponse_httpStatus - The response's http status code.

Response Lenses

stopPipeResponse_lastModifiedTime :: Lens' StopPipeResponse (Maybe UTCTime) Source #

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

stopPipeResponse_httpStatus :: Lens' StopPipeResponse Int Source #

The response's http status code.