libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor
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.MediaTailor.CreateSourceLocation

Description

Creates a source location on a specific channel.

Synopsis

Creating a Request

data CreateSourceLocation Source #

See: newCreateSourceLocation smart constructor.

Constructors

CreateSourceLocation' 

Fields

Instances

Instances details
Eq CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Read CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Show CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Generic CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Associated Types

type Rep CreateSourceLocation :: Type -> Type #

NFData CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Methods

rnf :: CreateSourceLocation -> () #

Hashable CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

ToJSON CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

AWSRequest CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Associated Types

type AWSResponse CreateSourceLocation #

ToHeaders CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

ToPath CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

ToQuery CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

type Rep CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

type Rep CreateSourceLocation = D1 ('MetaData "CreateSourceLocation" "Amazonka.MediaTailor.CreateSourceLocation" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "CreateSourceLocation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessConfiguration)) :*: S1 ('MetaSel ('Just "defaultSegmentDeliveryConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DefaultSegmentDeliveryConfiguration))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "httpConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HttpConfiguration)))))
type AWSResponse CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

newCreateSourceLocation Source #

Create a value of CreateSourceLocation 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:accessConfiguration:CreateSourceLocation', createSourceLocation_accessConfiguration - Access configuration parameters. Configures the type of authentication used to access content from your source location.

$sel:defaultSegmentDeliveryConfiguration:CreateSourceLocation', createSourceLocation_defaultSegmentDeliveryConfiguration - The optional configuration for the server that serves segments.

$sel:tags:CreateSourceLocation', createSourceLocation_tags - The tags to assign to the source location.

$sel:sourceLocationName:CreateSourceLocation', createSourceLocation_sourceLocationName - The identifier for the source location you are working on.

$sel:httpConfiguration:CreateSourceLocation', createSourceLocation_httpConfiguration - The source's HTTP package configurations.

Request Lenses

createSourceLocation_accessConfiguration :: Lens' CreateSourceLocation (Maybe AccessConfiguration) Source #

Access configuration parameters. Configures the type of authentication used to access content from your source location.

createSourceLocation_tags :: Lens' CreateSourceLocation (Maybe (HashMap Text Text)) Source #

The tags to assign to the source location.

createSourceLocation_sourceLocationName :: Lens' CreateSourceLocation Text Source #

The identifier for the source location you are working on.

Destructuring the Response

data CreateSourceLocationResponse Source #

See: newCreateSourceLocationResponse smart constructor.

Constructors

CreateSourceLocationResponse' 

Fields

Instances

Instances details
Eq CreateSourceLocationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Read CreateSourceLocationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Show CreateSourceLocationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Generic CreateSourceLocationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Associated Types

type Rep CreateSourceLocationResponse :: Type -> Type #

NFData CreateSourceLocationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

type Rep CreateSourceLocationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

type Rep CreateSourceLocationResponse = D1 ('MetaData "CreateSourceLocationResponse" "Amazonka.MediaTailor.CreateSourceLocation" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "CreateSourceLocationResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HttpConfiguration)))) :*: ((S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "accessConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessConfiguration))) :*: (S1 ('MetaSel ('Just "defaultSegmentDeliveryConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DefaultSegmentDeliveryConfiguration)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newCreateSourceLocationResponse Source #

Create a value of CreateSourceLocationResponse 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:creationTime:CreateSourceLocationResponse', createSourceLocationResponse_creationTime - The timestamp that indicates when the source location was created.

$sel:sourceLocationName:CreateSourceLocation', createSourceLocationResponse_sourceLocationName - The name of the source location.

$sel:arn:CreateSourceLocationResponse', createSourceLocationResponse_arn - The ARN of the source location.

$sel:httpConfiguration:CreateSourceLocation', createSourceLocationResponse_httpConfiguration - The HTTP package configuration settings for the source location.

$sel:lastModifiedTime:CreateSourceLocationResponse', createSourceLocationResponse_lastModifiedTime - The timestamp that indicates when the source location was last modified.

$sel:accessConfiguration:CreateSourceLocation', createSourceLocationResponse_accessConfiguration - The access configuration for the source location.

$sel:defaultSegmentDeliveryConfiguration:CreateSourceLocation', createSourceLocationResponse_defaultSegmentDeliveryConfiguration - The default segment delivery configuration settings.

$sel:tags:CreateSourceLocation', createSourceLocationResponse_tags - The tags assigned to the source location.

$sel:httpStatus:CreateSourceLocationResponse', createSourceLocationResponse_httpStatus - The response's http status code.

Response Lenses

createSourceLocationResponse_creationTime :: Lens' CreateSourceLocationResponse (Maybe UTCTime) Source #

The timestamp that indicates when the source location was created.

createSourceLocationResponse_httpConfiguration :: Lens' CreateSourceLocationResponse (Maybe HttpConfiguration) Source #

The HTTP package configuration settings for the source location.

createSourceLocationResponse_lastModifiedTime :: Lens' CreateSourceLocationResponse (Maybe UTCTime) Source #

The timestamp that indicates when the source location was last modified.