amazonka-mediatailor-2.0: Amazon MediaTailor 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.MediaTailor.CreateSourceLocation

Description

Creates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.

Synopsis

Creating a Request

data CreateSourceLocation Source #

See: newCreateSourceLocation smart constructor.

Constructors

CreateSourceLocation' 

Fields

Instances

Instances details
ToJSON CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.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

AWSRequest CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Associated Types

type AWSResponse CreateSourceLocation #

Generic CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Associated Types

type Rep CreateSourceLocation :: Type -> Type #

Read CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Show CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

NFData CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Methods

rnf :: CreateSourceLocation -> () #

Eq CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Hashable CreateSourceLocation Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

type AWSResponse 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" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" '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 "segmentDeliveryConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SegmentDeliveryConfiguration])))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "httpConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HttpConfiguration) :*: S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:

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

CreateSourceLocation, createSourceLocation_defaultSegmentDeliveryConfiguration - The optional configuration for the server that serves segments.

CreateSourceLocation, createSourceLocation_segmentDeliveryConfigurations - A list of the segment delivery configurations associated with this resource.

CreateSourceLocation, createSourceLocation_tags - The tags to assign to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

CreateSourceLocation, createSourceLocation_httpConfiguration - The source's HTTP package configurations.

CreateSourceLocation, createSourceLocation_sourceLocationName - The name associated with the source location.

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_segmentDeliveryConfigurations :: Lens' CreateSourceLocation (Maybe [SegmentDeliveryConfiguration]) Source #

A list of the segment delivery configurations associated with this resource.

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

The tags to assign to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

createSourceLocation_sourceLocationName :: Lens' CreateSourceLocation Text Source #

The name associated with the source location.

Destructuring the Response

data CreateSourceLocationResponse Source #

See: newCreateSourceLocationResponse smart constructor.

Constructors

CreateSourceLocationResponse' 

Fields

Instances

Instances details
Generic CreateSourceLocationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Associated Types

type Rep CreateSourceLocationResponse :: Type -> Type #

Read CreateSourceLocationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Show CreateSourceLocationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

NFData CreateSourceLocationResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateSourceLocation

Eq 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" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "CreateSourceLocationResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "accessConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessConfiguration)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "defaultSegmentDeliveryConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DefaultSegmentDeliveryConfiguration)) :*: S1 ('MetaSel ('Just "httpConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HttpConfiguration))))) :*: ((S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "segmentDeliveryConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SegmentDeliveryConfiguration]))) :*: (S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (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:

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

CreateSourceLocationResponse, createSourceLocationResponse_arn - The ARN to assign to the source location.

CreateSourceLocationResponse, createSourceLocationResponse_creationTime - The time the source location was created.

CreateSourceLocation, createSourceLocationResponse_defaultSegmentDeliveryConfiguration - The optional configuration for the server that serves segments.

CreateSourceLocation, createSourceLocationResponse_httpConfiguration - The source's HTTP package configurations.

CreateSourceLocationResponse, createSourceLocationResponse_lastModifiedTime - The time the source location was last modified.

CreateSourceLocation, createSourceLocationResponse_segmentDeliveryConfigurations - The segment delivery configurations for the source location. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.

CreateSourceLocation, createSourceLocationResponse_sourceLocationName - The name to assign to the source location.

CreateSourceLocation, createSourceLocationResponse_tags - The tags to assign to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

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

Response Lenses

createSourceLocationResponse_accessConfiguration :: Lens' CreateSourceLocationResponse (Maybe AccessConfiguration) Source #

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

createSourceLocationResponse_segmentDeliveryConfigurations :: Lens' CreateSourceLocationResponse (Maybe [SegmentDeliveryConfiguration]) Source #

The segment delivery configurations for the source location. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.

createSourceLocationResponse_tags :: Lens' CreateSourceLocationResponse (Maybe (HashMap Text Text)) Source #

The tags to assign to the source location. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.