amazonka-medialive-2.0: Amazon Elemental MediaLive 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.MediaLive.CreateMultiplex

Description

Create a new multiplex.

Synopsis

Creating a Request

data CreateMultiplex' Source #

A request to create a multiplex.

See: newCreateMultiplex' smart constructor.

Constructors

CreateMultiplex'' 

Fields

Instances

Instances details
ToJSON CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

ToHeaders CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

ToPath CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

ToQuery CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

AWSRequest CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

Associated Types

type AWSResponse CreateMultiplex' #

Generic CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

Associated Types

type Rep CreateMultiplex' :: Type -> Type #

Read CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

Show CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

NFData CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

Methods

rnf :: CreateMultiplex' -> () #

Eq CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

Hashable CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

type AWSResponse CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

type Rep CreateMultiplex' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

type Rep CreateMultiplex' = D1 ('MetaData "CreateMultiplex'" "Amazonka.MediaLive.CreateMultiplex" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "CreateMultiplex''" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "multiplexSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MultiplexSettings) :*: (S1 ('MetaSel ('Just "availabilityZones") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateMultiplex' Source #

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

CreateMultiplex', createMultiplex'_tags - A collection of key-value pairs.

$sel:requestId:CreateMultiplex'', createMultiplex'_requestId - Unique request ID. This prevents retries from creating multiple resources.

CreateMultiplex', createMultiplex'_multiplexSettings - Configuration for a multiplex event.

CreateMultiplex', createMultiplex'_availabilityZones - A list of availability zones for the multiplex. You must specify exactly two.

CreateMultiplex', createMultiplex'_name - Name of multiplex.

Request Lenses

createMultiplex'_tags :: Lens' CreateMultiplex' (Maybe (HashMap Text Text)) Source #

A collection of key-value pairs.

createMultiplex'_requestId :: Lens' CreateMultiplex' Text Source #

Unique request ID. This prevents retries from creating multiple resources.

createMultiplex'_availabilityZones :: Lens' CreateMultiplex' [Text] Source #

A list of availability zones for the multiplex. You must specify exactly two.

Destructuring the Response

data CreateMultiplexResponse Source #

Placeholder documentation for CreateMultiplexResponse

See: newCreateMultiplexResponse smart constructor.

Constructors

CreateMultiplexResponse' 

Fields

Instances

Instances details
Generic CreateMultiplexResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

Associated Types

type Rep CreateMultiplexResponse :: Type -> Type #

Read CreateMultiplexResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

Show CreateMultiplexResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

NFData CreateMultiplexResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

Methods

rnf :: CreateMultiplexResponse -> () #

Eq CreateMultiplexResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

type Rep CreateMultiplexResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplex

type Rep CreateMultiplexResponse = D1 ('MetaData "CreateMultiplexResponse" "Amazonka.MediaLive.CreateMultiplex" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "CreateMultiplexResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "multiplex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Multiplex)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateMultiplexResponse Source #

Create a value of CreateMultiplexResponse 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:multiplex:CreateMultiplexResponse', createMultiplexResponse_multiplex - The newly created multiplex.

$sel:httpStatus:CreateMultiplexResponse', createMultiplexResponse_httpStatus - The response's http status code.

Response Lenses