libZSservicesZSamazonka-ivsZSamazonka-ivs
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.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
Eq DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Read DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Show DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Generic DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Associated Types

type Rep DeleteChannel :: Type -> Type #

NFData DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Methods

rnf :: DeleteChannel -> () #

Hashable DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

ToJSON DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

AWSRequest DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Associated Types

type AWSResponse 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

type Rep DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

type Rep DeleteChannel = D1 ('MetaData "DeleteChannel" "Amazonka.IVS.DeleteChannel" "libZSservicesZSamazonka-ivsZSamazonka-ivs" 'False) (C1 ('MetaCons "DeleteChannel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteChannel Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

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:

$sel:arn: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
Eq DeleteChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Read DeleteChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Show DeleteChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Generic DeleteChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Associated Types

type Rep DeleteChannelResponse :: Type -> Type #

NFData DeleteChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

Methods

rnf :: DeleteChannelResponse -> () #

type Rep DeleteChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.DeleteChannel

type Rep DeleteChannelResponse = D1 ('MetaData "DeleteChannelResponse" "Amazonka.IVS.DeleteChannel" "libZSservicesZSamazonka-ivsZSamazonka-ivs" '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.