amazonka-ivs-2.0: Amazon Interactive Video Service 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.IVS.DeleteChannel

Description

Deletes the specified channel and its associated stream keys.

If you try to delete a live channel, you will get an error (409 ConflictException). To delete a channel that is live, call StopStream, wait for the Amazon EventBridge "Stream End" event (to verify that the stream's state was changed from Live to Offline), then call DeleteChannel. (See Using EventBridge with Amazon IVS.)

Synopsis

Creating a Request

data DeleteChannel Source #

See: newDeleteChannel smart constructor.

Constructors

DeleteChannel' 

Fields

  • arn :: Text

    ARN of the channel to be deleted.

Instances

Instances details
ToJSON DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

ToHeaders DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

ToPath DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

ToQuery DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

AWSRequest DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Associated Types

type AWSResponse DeleteChannel #

Generic DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Associated Types

type Rep DeleteChannel :: Type -> Type #

Read DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Show DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

NFData DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Methods

rnf :: DeleteChannel -> () #

Eq DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Hashable DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

type AWSResponse DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

type Rep DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

type Rep DeleteChannel = D1 ('MetaData "DeleteChannel" "Amazonka.IVS.DeleteChannel" "amazonka-ivs-2.0-1XuGgGDxNXQ7UL2Yr5LhmE" 'False) (C1 ('MetaCons "DeleteChannel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteChannel Source #

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

DeleteChannel, deleteChannel_arn - ARN of the channel to be deleted.

Request Lenses

deleteChannel_arn :: Lens' DeleteChannel Text Source #

ARN of the channel to be deleted.

Destructuring the Response

data DeleteChannelResponse Source #

See: newDeleteChannelResponse smart constructor.

Instances

Instances details
Generic DeleteChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Associated Types

type Rep DeleteChannelResponse :: Type -> Type #

Read DeleteChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Show DeleteChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

NFData DeleteChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Methods

rnf :: DeleteChannelResponse -> () #

Eq DeleteChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

type Rep DeleteChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

type Rep DeleteChannelResponse = D1 ('MetaData "DeleteChannelResponse" "Amazonka.IVS.DeleteChannel" "amazonka-ivs-2.0-1XuGgGDxNXQ7UL2Yr5LhmE" 'False) (C1 ('MetaCons "DeleteChannelResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteChannelResponse :: DeleteChannelResponse Source #

Create a value of DeleteChannelResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.