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

Description

Creates a new recording configuration, used to enable recording to Amazon S3.

Known issue: In the us-east-1 region, if you use the Amazon Web Services CLI to create a recording configuration, it returns success even if the S3 bucket is in a different region. In this case, the state of the recording configuration is CREATE_FAILED (instead of ACTIVE). (In other regions, the CLI correctly returns failure if the bucket is in a different region.)

Workaround: Ensure that your S3 bucket is in the same region as the recording configuration. If you create a recording configuration in a different region as your S3 bucket, delete that recording configuration and create a new one with an S3 bucket from the correct region.

Synopsis

Creating a Request

data CreateRecordingConfiguration Source #

See: newCreateRecordingConfiguration smart constructor.

Constructors

CreateRecordingConfiguration' 

Fields

Instances

Instances details
Eq CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

Read CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

Show CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

Generic CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

Associated Types

type Rep CreateRecordingConfiguration :: Type -> Type #

NFData CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

Hashable CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

ToJSON CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

AWSRequest CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

ToHeaders CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

ToPath CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

ToQuery CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

type Rep CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

type Rep CreateRecordingConfiguration = D1 ('MetaData "CreateRecordingConfiguration" "Amazonka.IVS.CreateRecordingConfiguration" "libZSservicesZSamazonka-ivsZSamazonka-ivs" 'False) (C1 ('MetaCons "CreateRecordingConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "destinationConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DestinationConfiguration))))
type AWSResponse CreateRecordingConfiguration Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

newCreateRecordingConfiguration Source #

Create a value of CreateRecordingConfiguration 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:name:CreateRecordingConfiguration', createRecordingConfiguration_name - Recording-configuration name. The value does not need to be unique.

$sel:tags:CreateRecordingConfiguration', createRecordingConfiguration_tags - Array of 1-50 maps, each of the form string:string (key:value).

$sel:destinationConfiguration:CreateRecordingConfiguration', createRecordingConfiguration_destinationConfiguration - A complex type that contains a destination configuration for where recorded video will be stored.

Request Lenses

createRecordingConfiguration_name :: Lens' CreateRecordingConfiguration (Maybe Text) Source #

Recording-configuration name. The value does not need to be unique.

createRecordingConfiguration_tags :: Lens' CreateRecordingConfiguration (Maybe (HashMap Text Text)) Source #

Array of 1-50 maps, each of the form string:string (key:value).

createRecordingConfiguration_destinationConfiguration :: Lens' CreateRecordingConfiguration DestinationConfiguration Source #

A complex type that contains a destination configuration for where recorded video will be stored.

Destructuring the Response

data CreateRecordingConfigurationResponse Source #

Instances

Instances details
Eq CreateRecordingConfigurationResponse Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

Read CreateRecordingConfigurationResponse Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

Show CreateRecordingConfigurationResponse Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

Generic CreateRecordingConfigurationResponse Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

NFData CreateRecordingConfigurationResponse Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

type Rep CreateRecordingConfigurationResponse Source # 
Instance details

Defined in Amazonka.IVS.CreateRecordingConfiguration

type Rep CreateRecordingConfigurationResponse = D1 ('MetaData "CreateRecordingConfigurationResponse" "Amazonka.IVS.CreateRecordingConfiguration" "libZSservicesZSamazonka-ivsZSamazonka-ivs" 'False) (C1 ('MetaCons "CreateRecordingConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recordingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecordingConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses