amazonka-mediastore-1.6.0: Amazon Elemental MediaStore SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MediaStore.Types

Contents

Description

 

Synopsis

Service Configuration

mediaStore :: Service Source #

API version 2017-09-01 of the Amazon Elemental MediaStore SDK configuration.

Errors

_PolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Could not perform an operation on a policy that does not exist.

_CORSPolicyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Could not perform an operation on a policy that does not exist.

_ContainerInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Resource already exists or is being updated.

_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #

The service is temporarily unavailable.

_ContainerNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Could not perform an operation on a container that does not exist.

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

A service limit has been exceeded.

ContainerStatus

data ContainerStatus Source #

Constructors

Active 
Creating 
Deleting 

Instances

Bounded ContainerStatus Source # 
Enum ContainerStatus Source # 
Eq ContainerStatus Source # 
Data ContainerStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContainerStatus -> c ContainerStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContainerStatus #

toConstr :: ContainerStatus -> Constr #

dataTypeOf :: ContainerStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ContainerStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContainerStatus) #

gmapT :: (forall b. Data b => b -> b) -> ContainerStatus -> ContainerStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContainerStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContainerStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContainerStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContainerStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContainerStatus -> m ContainerStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerStatus -> m ContainerStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContainerStatus -> m ContainerStatus #

Ord ContainerStatus Source # 
Read ContainerStatus Source # 
Show ContainerStatus Source # 
Generic ContainerStatus Source # 
Hashable ContainerStatus Source # 
FromJSON ContainerStatus Source # 
NFData ContainerStatus Source # 

Methods

rnf :: ContainerStatus -> () #

ToHeader ContainerStatus Source # 
ToQuery ContainerStatus Source # 
ToByteString ContainerStatus Source # 
FromText ContainerStatus Source # 
ToText ContainerStatus Source # 
type Rep ContainerStatus Source # 
type Rep ContainerStatus = D1 * (MetaData "ContainerStatus" "Network.AWS.MediaStore.Types.Sum" "amazonka-mediastore-1.6.0-A5BXmXPQvTC35jIUjzEuvm" False) ((:+:) * (C1 * (MetaCons "Active" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "Creating" PrefixI False) (U1 *)) (C1 * (MetaCons "Deleting" PrefixI False) (U1 *))))

MethodName

data MethodName Source #

Constructors

Delete 
Get 
Head 
Put 

Instances

Bounded MethodName Source # 
Enum MethodName Source # 
Eq MethodName Source # 
Data MethodName Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MethodName -> c MethodName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MethodName #

toConstr :: MethodName -> Constr #

dataTypeOf :: MethodName -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MethodName) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MethodName) #

gmapT :: (forall b. Data b => b -> b) -> MethodName -> MethodName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MethodName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MethodName -> r #

gmapQ :: (forall d. Data d => d -> u) -> MethodName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MethodName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MethodName -> m MethodName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MethodName -> m MethodName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MethodName -> m MethodName #

Ord MethodName Source # 
Read MethodName Source # 
Show MethodName Source # 
Generic MethodName Source # 

Associated Types

type Rep MethodName :: * -> * #

Hashable MethodName Source # 
ToJSON MethodName Source # 
FromJSON MethodName Source # 
NFData MethodName Source # 

Methods

rnf :: MethodName -> () #

ToHeader MethodName Source # 
ToQuery MethodName Source # 
ToByteString MethodName Source # 
FromText MethodName Source # 
ToText MethodName Source # 

Methods

toText :: MethodName -> Text #

type Rep MethodName Source # 
type Rep MethodName = D1 * (MetaData "MethodName" "Network.AWS.MediaStore.Types.Sum" "amazonka-mediastore-1.6.0-A5BXmXPQvTC35jIUjzEuvm" False) ((:+:) * ((:+:) * (C1 * (MetaCons "Delete" PrefixI False) (U1 *)) (C1 * (MetaCons "Get" PrefixI False) (U1 *))) ((:+:) * (C1 * (MetaCons "Head" PrefixI False) (U1 *)) (C1 * (MetaCons "Put" PrefixI False) (U1 *))))

CORSRule

data CORSRule Source #

A rule for a CORS policy. You can add up to 100 rules to a CORS policy. If more than one rule applies, the service uses the first applicable rule listed.

See: corsRule smart constructor.

Instances

Eq CORSRule Source # 
Data CORSRule Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CORSRule -> c CORSRule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CORSRule #

toConstr :: CORSRule -> Constr #

dataTypeOf :: CORSRule -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CORSRule) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CORSRule) #

gmapT :: (forall b. Data b => b -> b) -> CORSRule -> CORSRule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CORSRule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CORSRule -> r #

gmapQ :: (forall d. Data d => d -> u) -> CORSRule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CORSRule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CORSRule -> m CORSRule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CORSRule -> m CORSRule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CORSRule -> m CORSRule #

Read CORSRule Source # 
Show CORSRule Source # 
Generic CORSRule Source # 

Associated Types

type Rep CORSRule :: * -> * #

Methods

from :: CORSRule -> Rep CORSRule x #

to :: Rep CORSRule x -> CORSRule #

Hashable CORSRule Source # 

Methods

hashWithSalt :: Int -> CORSRule -> Int #

hash :: CORSRule -> Int #

ToJSON CORSRule Source # 
FromJSON CORSRule Source # 
NFData CORSRule Source # 

Methods

rnf :: CORSRule -> () #

type Rep CORSRule Source # 
type Rep CORSRule = D1 * (MetaData "CORSRule" "Network.AWS.MediaStore.Types.Product" "amazonka-mediastore-1.6.0-A5BXmXPQvTC35jIUjzEuvm" False) (C1 * (MetaCons "CORSRule'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_crAllowedMethods") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [MethodName]))) (S1 * (MetaSel (Just Symbol "_crMaxAgeSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_crAllowedHeaders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_crAllowedOrigins") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_crExposeHeaders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text])))))))

corsRule :: CORSRule Source #

Creates a value of CORSRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • crAllowedMethods - Identifies an HTTP method that the origin that is specified in the rule is allowed to execute. Each CORS rule must contain at least one AllowedMethod and one AllowedOrigin element.
  • crMaxAgeSeconds - The time in seconds that your browser caches the preflight response for the specified resource. A CORS rule can have only one MaxAgeSeconds element.
  • crAllowedHeaders - Specifies which headers are allowed in a preflight OPTIONS request through the Access-Control-Request-Headers header. Each header name that is specified in Access-Control-Request-Headers must have a corresponding entry in the rule. Only the headers that were requested are sent back. This element can contain only one wildcard character (*).
  • crAllowedOrigins - One or more response headers that you want users to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object). Each CORS rule must have at least one AllowedOrigin element. The string value can include only one wildcard character (*), for example, http://*.example.com. Additionally, you can specify only one wildcard character to allow cross-origin access for all origins.
  • crExposeHeaders - One or more headers in the response that you want users to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object). This element is optional for each rule.

crAllowedMethods :: Lens' CORSRule [MethodName] Source #

Identifies an HTTP method that the origin that is specified in the rule is allowed to execute. Each CORS rule must contain at least one AllowedMethod and one AllowedOrigin element.

crMaxAgeSeconds :: Lens' CORSRule (Maybe Natural) Source #

The time in seconds that your browser caches the preflight response for the specified resource. A CORS rule can have only one MaxAgeSeconds element.

crAllowedHeaders :: Lens' CORSRule [Text] Source #

Specifies which headers are allowed in a preflight OPTIONS request through the Access-Control-Request-Headers header. Each header name that is specified in Access-Control-Request-Headers must have a corresponding entry in the rule. Only the headers that were requested are sent back. This element can contain only one wildcard character (*).

crAllowedOrigins :: Lens' CORSRule [Text] Source #

One or more response headers that you want users to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object). Each CORS rule must have at least one AllowedOrigin element. The string value can include only one wildcard character (*), for example, http://*.example.com. Additionally, you can specify only one wildcard character to allow cross-origin access for all origins.

crExposeHeaders :: Lens' CORSRule [Text] Source #

One or more headers in the response that you want users to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object). This element is optional for each rule.

Container

data Container Source #

This section describes operations that you can perform on an AWS Elemental MediaStore container.

See: container smart constructor.

Instances

Eq Container Source # 
Data Container Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Container -> c Container #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Container #

toConstr :: Container -> Constr #

dataTypeOf :: Container -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Container) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Container) #

gmapT :: (forall b. Data b => b -> b) -> Container -> Container #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Container -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Container -> r #

gmapQ :: (forall d. Data d => d -> u) -> Container -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Container -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Container -> m Container #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Container -> m Container #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Container -> m Container #

Read Container Source # 
Show Container Source # 
Generic Container Source # 

Associated Types

type Rep Container :: * -> * #

Hashable Container Source # 
FromJSON Container Source # 
NFData Container Source # 

Methods

rnf :: Container -> () #

type Rep Container Source # 
type Rep Container = D1 * (MetaData "Container" "Network.AWS.MediaStore.Types.Product" "amazonka-mediastore-1.6.0-A5BXmXPQvTC35jIUjzEuvm" False) (C1 * (MetaCons "Container'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) (S1 * (MetaSel (Just Symbol "_cStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ContainerStatus)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cEndpoint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))))

container :: Container Source #

Creates a value of Container with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cCreationTime - Unix timestamp.
  • cStatus - The status of container creation or deletion. The status is one of the following: CREATING , ACTIVE , or DELETING . While the service is creating the container, the status is CREATING . When the endpoint is available, the status changes to ACTIVE .
  • cARN - The Amazon Resource Name (ARN) of the container. The ARN has the following format: arn:aws:region:that owns this container:containerof container For example: arn:aws:mediastore:us-west-2:111122223333:containermovies
  • cName - The name of the container.
  • cEndpoint - The DNS endpoint of the container. Use the endpoint to identify the specific container when sending requests to the data plane. The service assigns this value when the container is created. Once the value has been assigned, it does not change.

cStatus :: Lens' Container (Maybe ContainerStatus) Source #

The status of container creation or deletion. The status is one of the following: CREATING , ACTIVE , or DELETING . While the service is creating the container, the status is CREATING . When the endpoint is available, the status changes to ACTIVE .

cARN :: Lens' Container (Maybe Text) Source #

The Amazon Resource Name (ARN) of the container. The ARN has the following format: arn:aws:region:that owns this container:containerof container For example: arn:aws:mediastore:us-west-2:111122223333:containermovies

cName :: Lens' Container (Maybe Text) Source #

The name of the container.

cEndpoint :: Lens' Container (Maybe Text) Source #

The DNS endpoint of the container. Use the endpoint to identify the specific container when sending requests to the data plane. The service assigns this value when the container is created. Once the value has been assigned, it does not change.