{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.IoTSiteWise.GetInterpolatedAssetPropertyValues
(
GetInterpolatedAssetPropertyValues (..),
newGetInterpolatedAssetPropertyValues,
getInterpolatedAssetPropertyValues_startTimeOffsetInNanos,
getInterpolatedAssetPropertyValues_endTimeOffsetInNanos,
getInterpolatedAssetPropertyValues_propertyAlias,
getInterpolatedAssetPropertyValues_nextToken,
getInterpolatedAssetPropertyValues_intervalWindowInSeconds,
getInterpolatedAssetPropertyValues_propertyId,
getInterpolatedAssetPropertyValues_assetId,
getInterpolatedAssetPropertyValues_maxResults,
getInterpolatedAssetPropertyValues_startTimeInSeconds,
getInterpolatedAssetPropertyValues_endTimeInSeconds,
getInterpolatedAssetPropertyValues_quality,
getInterpolatedAssetPropertyValues_intervalInSeconds,
getInterpolatedAssetPropertyValues_type,
GetInterpolatedAssetPropertyValuesResponse (..),
newGetInterpolatedAssetPropertyValuesResponse,
getInterpolatedAssetPropertyValuesResponse_nextToken,
getInterpolatedAssetPropertyValuesResponse_httpStatus,
getInterpolatedAssetPropertyValuesResponse_interpolatedAssetPropertyValues,
)
where
import qualified Amazonka.Core as Core
import Amazonka.IoTSiteWise.Types
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data GetInterpolatedAssetPropertyValues = GetInterpolatedAssetPropertyValues'
{
GetInterpolatedAssetPropertyValues -> Maybe Natural
startTimeOffsetInNanos :: Prelude.Maybe Prelude.Natural,
GetInterpolatedAssetPropertyValues -> Maybe Natural
endTimeOffsetInNanos :: Prelude.Maybe Prelude.Natural,
GetInterpolatedAssetPropertyValues -> Maybe Text
propertyAlias :: Prelude.Maybe Prelude.Text,
GetInterpolatedAssetPropertyValues -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
GetInterpolatedAssetPropertyValues -> Maybe Natural
intervalWindowInSeconds :: Prelude.Maybe Prelude.Natural,
GetInterpolatedAssetPropertyValues -> Maybe Text
propertyId :: Prelude.Maybe Prelude.Text,
GetInterpolatedAssetPropertyValues -> Maybe Text
assetId :: Prelude.Maybe Prelude.Text,
GetInterpolatedAssetPropertyValues -> Maybe Natural
maxResults :: Prelude.Maybe Prelude.Natural,
GetInterpolatedAssetPropertyValues -> Natural
startTimeInSeconds :: Prelude.Natural,
GetInterpolatedAssetPropertyValues -> Natural
endTimeInSeconds :: Prelude.Natural,
GetInterpolatedAssetPropertyValues -> Quality
quality :: Quality,
GetInterpolatedAssetPropertyValues -> Natural
intervalInSeconds :: Prelude.Natural,
GetInterpolatedAssetPropertyValues -> Text
type' :: Prelude.Text
}
deriving (GetInterpolatedAssetPropertyValues
-> GetInterpolatedAssetPropertyValues -> Bool
(GetInterpolatedAssetPropertyValues
-> GetInterpolatedAssetPropertyValues -> Bool)
-> (GetInterpolatedAssetPropertyValues
-> GetInterpolatedAssetPropertyValues -> Bool)
-> Eq GetInterpolatedAssetPropertyValues
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetInterpolatedAssetPropertyValues
-> GetInterpolatedAssetPropertyValues -> Bool
$c/= :: GetInterpolatedAssetPropertyValues
-> GetInterpolatedAssetPropertyValues -> Bool
== :: GetInterpolatedAssetPropertyValues
-> GetInterpolatedAssetPropertyValues -> Bool
$c== :: GetInterpolatedAssetPropertyValues
-> GetInterpolatedAssetPropertyValues -> Bool
Prelude.Eq, ReadPrec [GetInterpolatedAssetPropertyValues]
ReadPrec GetInterpolatedAssetPropertyValues
Int -> ReadS GetInterpolatedAssetPropertyValues
ReadS [GetInterpolatedAssetPropertyValues]
(Int -> ReadS GetInterpolatedAssetPropertyValues)
-> ReadS [GetInterpolatedAssetPropertyValues]
-> ReadPrec GetInterpolatedAssetPropertyValues
-> ReadPrec [GetInterpolatedAssetPropertyValues]
-> Read GetInterpolatedAssetPropertyValues
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetInterpolatedAssetPropertyValues]
$creadListPrec :: ReadPrec [GetInterpolatedAssetPropertyValues]
readPrec :: ReadPrec GetInterpolatedAssetPropertyValues
$creadPrec :: ReadPrec GetInterpolatedAssetPropertyValues
readList :: ReadS [GetInterpolatedAssetPropertyValues]
$creadList :: ReadS [GetInterpolatedAssetPropertyValues]
readsPrec :: Int -> ReadS GetInterpolatedAssetPropertyValues
$creadsPrec :: Int -> ReadS GetInterpolatedAssetPropertyValues
Prelude.Read, Int -> GetInterpolatedAssetPropertyValues -> ShowS
[GetInterpolatedAssetPropertyValues] -> ShowS
GetInterpolatedAssetPropertyValues -> String
(Int -> GetInterpolatedAssetPropertyValues -> ShowS)
-> (GetInterpolatedAssetPropertyValues -> String)
-> ([GetInterpolatedAssetPropertyValues] -> ShowS)
-> Show GetInterpolatedAssetPropertyValues
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetInterpolatedAssetPropertyValues] -> ShowS
$cshowList :: [GetInterpolatedAssetPropertyValues] -> ShowS
show :: GetInterpolatedAssetPropertyValues -> String
$cshow :: GetInterpolatedAssetPropertyValues -> String
showsPrec :: Int -> GetInterpolatedAssetPropertyValues -> ShowS
$cshowsPrec :: Int -> GetInterpolatedAssetPropertyValues -> ShowS
Prelude.Show, (forall x.
GetInterpolatedAssetPropertyValues
-> Rep GetInterpolatedAssetPropertyValues x)
-> (forall x.
Rep GetInterpolatedAssetPropertyValues x
-> GetInterpolatedAssetPropertyValues)
-> Generic GetInterpolatedAssetPropertyValues
forall x.
Rep GetInterpolatedAssetPropertyValues x
-> GetInterpolatedAssetPropertyValues
forall x.
GetInterpolatedAssetPropertyValues
-> Rep GetInterpolatedAssetPropertyValues x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetInterpolatedAssetPropertyValues x
-> GetInterpolatedAssetPropertyValues
$cfrom :: forall x.
GetInterpolatedAssetPropertyValues
-> Rep GetInterpolatedAssetPropertyValues x
Prelude.Generic)
newGetInterpolatedAssetPropertyValues ::
Prelude.Natural ->
Prelude.Natural ->
Quality ->
Prelude.Natural ->
Prelude.Text ->
GetInterpolatedAssetPropertyValues
newGetInterpolatedAssetPropertyValues :: Natural
-> Natural
-> Quality
-> Natural
-> Text
-> GetInterpolatedAssetPropertyValues
newGetInterpolatedAssetPropertyValues
Natural
pStartTimeInSeconds_
Natural
pEndTimeInSeconds_
Quality
pQuality_
Natural
pIntervalInSeconds_
Text
pType_ =
GetInterpolatedAssetPropertyValues' :: Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Maybe Text
-> Maybe Text
-> Maybe Natural
-> Natural
-> Natural
-> Quality
-> Natural
-> Text
-> GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues'
{ $sel:startTimeOffsetInNanos:GetInterpolatedAssetPropertyValues' :: Maybe Natural
startTimeOffsetInNanos =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:endTimeOffsetInNanos:GetInterpolatedAssetPropertyValues' :: Maybe Natural
endTimeOffsetInNanos = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:propertyAlias:GetInterpolatedAssetPropertyValues' :: Maybe Text
propertyAlias = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:nextToken:GetInterpolatedAssetPropertyValues' :: Maybe Text
nextToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:intervalWindowInSeconds:GetInterpolatedAssetPropertyValues' :: Maybe Natural
intervalWindowInSeconds =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:propertyId:GetInterpolatedAssetPropertyValues' :: Maybe Text
propertyId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:assetId:GetInterpolatedAssetPropertyValues' :: Maybe Text
assetId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:maxResults:GetInterpolatedAssetPropertyValues' :: Maybe Natural
maxResults = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:startTimeInSeconds:GetInterpolatedAssetPropertyValues' :: Natural
startTimeInSeconds =
Natural
pStartTimeInSeconds_,
$sel:endTimeInSeconds:GetInterpolatedAssetPropertyValues' :: Natural
endTimeInSeconds = Natural
pEndTimeInSeconds_,
$sel:quality:GetInterpolatedAssetPropertyValues' :: Quality
quality = Quality
pQuality_,
$sel:intervalInSeconds:GetInterpolatedAssetPropertyValues' :: Natural
intervalInSeconds = Natural
pIntervalInSeconds_,
$sel:type':GetInterpolatedAssetPropertyValues' :: Text
type' = Text
pType_
}
getInterpolatedAssetPropertyValues_startTimeOffsetInNanos :: Lens.Lens' GetInterpolatedAssetPropertyValues (Prelude.Maybe Prelude.Natural)
getInterpolatedAssetPropertyValues_startTimeOffsetInNanos :: (Maybe Natural -> f (Maybe Natural))
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_startTimeOffsetInNanos = (GetInterpolatedAssetPropertyValues -> Maybe Natural)
-> (GetInterpolatedAssetPropertyValues
-> Maybe Natural -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Maybe Natural
startTimeOffsetInNanos :: Maybe Natural
$sel:startTimeOffsetInNanos:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Natural
startTimeOffsetInNanos} -> Maybe Natural
startTimeOffsetInNanos) (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Maybe Natural
a -> GetInterpolatedAssetPropertyValues
s {$sel:startTimeOffsetInNanos:GetInterpolatedAssetPropertyValues' :: Maybe Natural
startTimeOffsetInNanos = Maybe Natural
a} :: GetInterpolatedAssetPropertyValues)
getInterpolatedAssetPropertyValues_endTimeOffsetInNanos :: Lens.Lens' GetInterpolatedAssetPropertyValues (Prelude.Maybe Prelude.Natural)
getInterpolatedAssetPropertyValues_endTimeOffsetInNanos :: (Maybe Natural -> f (Maybe Natural))
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_endTimeOffsetInNanos = (GetInterpolatedAssetPropertyValues -> Maybe Natural)
-> (GetInterpolatedAssetPropertyValues
-> Maybe Natural -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Maybe Natural
endTimeOffsetInNanos :: Maybe Natural
$sel:endTimeOffsetInNanos:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Natural
endTimeOffsetInNanos} -> Maybe Natural
endTimeOffsetInNanos) (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Maybe Natural
a -> GetInterpolatedAssetPropertyValues
s {$sel:endTimeOffsetInNanos:GetInterpolatedAssetPropertyValues' :: Maybe Natural
endTimeOffsetInNanos = Maybe Natural
a} :: GetInterpolatedAssetPropertyValues)
getInterpolatedAssetPropertyValues_propertyAlias :: Lens.Lens' GetInterpolatedAssetPropertyValues (Prelude.Maybe Prelude.Text)
getInterpolatedAssetPropertyValues_propertyAlias :: (Maybe Text -> f (Maybe Text))
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_propertyAlias = (GetInterpolatedAssetPropertyValues -> Maybe Text)
-> (GetInterpolatedAssetPropertyValues
-> Maybe Text -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Maybe Text
propertyAlias :: Maybe Text
$sel:propertyAlias:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Text
propertyAlias} -> Maybe Text
propertyAlias) (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Maybe Text
a -> GetInterpolatedAssetPropertyValues
s {$sel:propertyAlias:GetInterpolatedAssetPropertyValues' :: Maybe Text
propertyAlias = Maybe Text
a} :: GetInterpolatedAssetPropertyValues)
getInterpolatedAssetPropertyValues_nextToken :: Lens.Lens' GetInterpolatedAssetPropertyValues (Prelude.Maybe Prelude.Text)
getInterpolatedAssetPropertyValues_nextToken :: (Maybe Text -> f (Maybe Text))
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_nextToken = (GetInterpolatedAssetPropertyValues -> Maybe Text)
-> (GetInterpolatedAssetPropertyValues
-> Maybe Text -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Maybe Text
a -> GetInterpolatedAssetPropertyValues
s {$sel:nextToken:GetInterpolatedAssetPropertyValues' :: Maybe Text
nextToken = Maybe Text
a} :: GetInterpolatedAssetPropertyValues)
getInterpolatedAssetPropertyValues_intervalWindowInSeconds :: Lens.Lens' GetInterpolatedAssetPropertyValues (Prelude.Maybe Prelude.Natural)
getInterpolatedAssetPropertyValues_intervalWindowInSeconds :: (Maybe Natural -> f (Maybe Natural))
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_intervalWindowInSeconds = (GetInterpolatedAssetPropertyValues -> Maybe Natural)
-> (GetInterpolatedAssetPropertyValues
-> Maybe Natural -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Maybe Natural
intervalWindowInSeconds :: Maybe Natural
$sel:intervalWindowInSeconds:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Natural
intervalWindowInSeconds} -> Maybe Natural
intervalWindowInSeconds) (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Maybe Natural
a -> GetInterpolatedAssetPropertyValues
s {$sel:intervalWindowInSeconds:GetInterpolatedAssetPropertyValues' :: Maybe Natural
intervalWindowInSeconds = Maybe Natural
a} :: GetInterpolatedAssetPropertyValues)
getInterpolatedAssetPropertyValues_propertyId :: Lens.Lens' GetInterpolatedAssetPropertyValues (Prelude.Maybe Prelude.Text)
getInterpolatedAssetPropertyValues_propertyId :: (Maybe Text -> f (Maybe Text))
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_propertyId = (GetInterpolatedAssetPropertyValues -> Maybe Text)
-> (GetInterpolatedAssetPropertyValues
-> Maybe Text -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Maybe Text
propertyId :: Maybe Text
$sel:propertyId:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Text
propertyId} -> Maybe Text
propertyId) (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Maybe Text
a -> GetInterpolatedAssetPropertyValues
s {$sel:propertyId:GetInterpolatedAssetPropertyValues' :: Maybe Text
propertyId = Maybe Text
a} :: GetInterpolatedAssetPropertyValues)
getInterpolatedAssetPropertyValues_assetId :: Lens.Lens' GetInterpolatedAssetPropertyValues (Prelude.Maybe Prelude.Text)
getInterpolatedAssetPropertyValues_assetId :: (Maybe Text -> f (Maybe Text))
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_assetId = (GetInterpolatedAssetPropertyValues -> Maybe Text)
-> (GetInterpolatedAssetPropertyValues
-> Maybe Text -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Maybe Text
assetId :: Maybe Text
$sel:assetId:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Text
assetId} -> Maybe Text
assetId) (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Maybe Text
a -> GetInterpolatedAssetPropertyValues
s {$sel:assetId:GetInterpolatedAssetPropertyValues' :: Maybe Text
assetId = Maybe Text
a} :: GetInterpolatedAssetPropertyValues)
getInterpolatedAssetPropertyValues_maxResults :: Lens.Lens' GetInterpolatedAssetPropertyValues (Prelude.Maybe Prelude.Natural)
getInterpolatedAssetPropertyValues_maxResults :: (Maybe Natural -> f (Maybe Natural))
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_maxResults = (GetInterpolatedAssetPropertyValues -> Maybe Natural)
-> (GetInterpolatedAssetPropertyValues
-> Maybe Natural -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Maybe Natural
maxResults :: Maybe Natural
$sel:maxResults:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Natural
maxResults} -> Maybe Natural
maxResults) (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Maybe Natural
a -> GetInterpolatedAssetPropertyValues
s {$sel:maxResults:GetInterpolatedAssetPropertyValues' :: Maybe Natural
maxResults = Maybe Natural
a} :: GetInterpolatedAssetPropertyValues)
getInterpolatedAssetPropertyValues_startTimeInSeconds :: Lens.Lens' GetInterpolatedAssetPropertyValues Prelude.Natural
getInterpolatedAssetPropertyValues_startTimeInSeconds :: (Natural -> f Natural)
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_startTimeInSeconds = (GetInterpolatedAssetPropertyValues -> Natural)
-> (GetInterpolatedAssetPropertyValues
-> Natural -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
Natural
Natural
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Natural
startTimeInSeconds :: Natural
$sel:startTimeInSeconds:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Natural
startTimeInSeconds} -> Natural
startTimeInSeconds) (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Natural
a -> GetInterpolatedAssetPropertyValues
s {$sel:startTimeInSeconds:GetInterpolatedAssetPropertyValues' :: Natural
startTimeInSeconds = Natural
a} :: GetInterpolatedAssetPropertyValues)
getInterpolatedAssetPropertyValues_endTimeInSeconds :: Lens.Lens' GetInterpolatedAssetPropertyValues Prelude.Natural
getInterpolatedAssetPropertyValues_endTimeInSeconds :: (Natural -> f Natural)
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_endTimeInSeconds = (GetInterpolatedAssetPropertyValues -> Natural)
-> (GetInterpolatedAssetPropertyValues
-> Natural -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
Natural
Natural
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Natural
endTimeInSeconds :: Natural
$sel:endTimeInSeconds:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Natural
endTimeInSeconds} -> Natural
endTimeInSeconds) (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Natural
a -> GetInterpolatedAssetPropertyValues
s {$sel:endTimeInSeconds:GetInterpolatedAssetPropertyValues' :: Natural
endTimeInSeconds = Natural
a} :: GetInterpolatedAssetPropertyValues)
getInterpolatedAssetPropertyValues_quality :: Lens.Lens' GetInterpolatedAssetPropertyValues Quality
getInterpolatedAssetPropertyValues_quality :: (Quality -> f Quality)
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_quality = (GetInterpolatedAssetPropertyValues -> Quality)
-> (GetInterpolatedAssetPropertyValues
-> Quality -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
Quality
Quality
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Quality
quality :: Quality
$sel:quality:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Quality
quality} -> Quality
quality) (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Quality
a -> GetInterpolatedAssetPropertyValues
s {$sel:quality:GetInterpolatedAssetPropertyValues' :: Quality
quality = Quality
a} :: GetInterpolatedAssetPropertyValues)
getInterpolatedAssetPropertyValues_intervalInSeconds :: Lens.Lens' GetInterpolatedAssetPropertyValues Prelude.Natural
getInterpolatedAssetPropertyValues_intervalInSeconds :: (Natural -> f Natural)
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_intervalInSeconds = (GetInterpolatedAssetPropertyValues -> Natural)
-> (GetInterpolatedAssetPropertyValues
-> Natural -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
Natural
Natural
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Natural
intervalInSeconds :: Natural
$sel:intervalInSeconds:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Natural
intervalInSeconds} -> Natural
intervalInSeconds) (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Natural
a -> GetInterpolatedAssetPropertyValues
s {$sel:intervalInSeconds:GetInterpolatedAssetPropertyValues' :: Natural
intervalInSeconds = Natural
a} :: GetInterpolatedAssetPropertyValues)
getInterpolatedAssetPropertyValues_type :: Lens.Lens' GetInterpolatedAssetPropertyValues Prelude.Text
getInterpolatedAssetPropertyValues_type :: (Text -> f Text)
-> GetInterpolatedAssetPropertyValues
-> f GetInterpolatedAssetPropertyValues
getInterpolatedAssetPropertyValues_type = (GetInterpolatedAssetPropertyValues -> Text)
-> (GetInterpolatedAssetPropertyValues
-> Text -> GetInterpolatedAssetPropertyValues)
-> Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValues' {Text
type' :: Text
$sel:type':GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Text
type'} -> Text
type') (\s :: GetInterpolatedAssetPropertyValues
s@GetInterpolatedAssetPropertyValues' {} Text
a -> GetInterpolatedAssetPropertyValues
s {$sel:type':GetInterpolatedAssetPropertyValues' :: Text
type' = Text
a} :: GetInterpolatedAssetPropertyValues)
instance
Core.AWSPager
GetInterpolatedAssetPropertyValues
where
page :: GetInterpolatedAssetPropertyValues
-> AWSResponse GetInterpolatedAssetPropertyValues
-> Maybe GetInterpolatedAssetPropertyValues
page GetInterpolatedAssetPropertyValues
rq AWSResponse GetInterpolatedAssetPropertyValues
rs
| Maybe Text -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValuesResponse
rs
GetInterpolatedAssetPropertyValuesResponse
-> Getting
(First Text) GetInterpolatedAssetPropertyValuesResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> GetInterpolatedAssetPropertyValuesResponse
-> Const (First Text) GetInterpolatedAssetPropertyValuesResponse
Lens' GetInterpolatedAssetPropertyValuesResponse (Maybe Text)
getInterpolatedAssetPropertyValuesResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> GetInterpolatedAssetPropertyValuesResponse
-> Const (First Text) GetInterpolatedAssetPropertyValuesResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting
(First Text) GetInterpolatedAssetPropertyValuesResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
) =
Maybe GetInterpolatedAssetPropertyValues
forall a. Maybe a
Prelude.Nothing
| [InterpolatedAssetPropertyValue] -> Bool
forall a. AWSTruncated a => a -> Bool
Core.stop
( AWSResponse GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValuesResponse
rs
GetInterpolatedAssetPropertyValuesResponse
-> Getting
[InterpolatedAssetPropertyValue]
GetInterpolatedAssetPropertyValuesResponse
[InterpolatedAssetPropertyValue]
-> [InterpolatedAssetPropertyValue]
forall s a. s -> Getting a s a -> a
Lens.^. Getting
[InterpolatedAssetPropertyValue]
GetInterpolatedAssetPropertyValuesResponse
[InterpolatedAssetPropertyValue]
Lens'
GetInterpolatedAssetPropertyValuesResponse
[InterpolatedAssetPropertyValue]
getInterpolatedAssetPropertyValuesResponse_interpolatedAssetPropertyValues
) =
Maybe GetInterpolatedAssetPropertyValues
forall a. Maybe a
Prelude.Nothing
| Bool
Prelude.otherwise =
GetInterpolatedAssetPropertyValues
-> Maybe GetInterpolatedAssetPropertyValues
forall a. a -> Maybe a
Prelude.Just (GetInterpolatedAssetPropertyValues
-> Maybe GetInterpolatedAssetPropertyValues)
-> GetInterpolatedAssetPropertyValues
-> Maybe GetInterpolatedAssetPropertyValues
forall a b. (a -> b) -> a -> b
Prelude.$
GetInterpolatedAssetPropertyValues
rq
GetInterpolatedAssetPropertyValues
-> (GetInterpolatedAssetPropertyValues
-> GetInterpolatedAssetPropertyValues)
-> GetInterpolatedAssetPropertyValues
forall a b. a -> (a -> b) -> b
Prelude.& (Maybe Text -> Identity (Maybe Text))
-> GetInterpolatedAssetPropertyValues
-> Identity GetInterpolatedAssetPropertyValues
Lens
GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValues
(Maybe Text)
(Maybe Text)
getInterpolatedAssetPropertyValues_nextToken
((Maybe Text -> Identity (Maybe Text))
-> GetInterpolatedAssetPropertyValues
-> Identity GetInterpolatedAssetPropertyValues)
-> Maybe Text
-> GetInterpolatedAssetPropertyValues
-> GetInterpolatedAssetPropertyValues
forall s t a b. ASetter s t a b -> b -> s -> t
Lens..~ AWSResponse GetInterpolatedAssetPropertyValues
GetInterpolatedAssetPropertyValuesResponse
rs
GetInterpolatedAssetPropertyValuesResponse
-> Getting
(First Text) GetInterpolatedAssetPropertyValuesResponse Text
-> Maybe Text
forall s a. s -> Getting (First a) s a -> Maybe a
Lens.^? (Maybe Text -> Const (First Text) (Maybe Text))
-> GetInterpolatedAssetPropertyValuesResponse
-> Const (First Text) GetInterpolatedAssetPropertyValuesResponse
Lens' GetInterpolatedAssetPropertyValuesResponse (Maybe Text)
getInterpolatedAssetPropertyValuesResponse_nextToken
((Maybe Text -> Const (First Text) (Maybe Text))
-> GetInterpolatedAssetPropertyValuesResponse
-> Const (First Text) GetInterpolatedAssetPropertyValuesResponse)
-> ((Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text))
-> Getting
(First Text) GetInterpolatedAssetPropertyValuesResponse Text
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (Text -> Const (First Text) Text)
-> Maybe Text -> Const (First Text) (Maybe Text)
forall a b. Prism (Maybe a) (Maybe b) a b
Lens._Just
instance
Core.AWSRequest
GetInterpolatedAssetPropertyValues
where
type
AWSResponse GetInterpolatedAssetPropertyValues =
GetInterpolatedAssetPropertyValuesResponse
request :: GetInterpolatedAssetPropertyValues
-> Request GetInterpolatedAssetPropertyValues
request = Service
-> GetInterpolatedAssetPropertyValues
-> Request GetInterpolatedAssetPropertyValues
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy GetInterpolatedAssetPropertyValues
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse GetInterpolatedAssetPropertyValues)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse GetInterpolatedAssetPropertyValues))
-> Logger
-> Service
-> Proxy GetInterpolatedAssetPropertyValues
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse GetInterpolatedAssetPropertyValues)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Int
-> [InterpolatedAssetPropertyValue]
-> GetInterpolatedAssetPropertyValuesResponse
GetInterpolatedAssetPropertyValuesResponse'
(Maybe Text
-> Int
-> [InterpolatedAssetPropertyValue]
-> GetInterpolatedAssetPropertyValuesResponse)
-> Either String (Maybe Text)
-> Either
String
(Int
-> [InterpolatedAssetPropertyValue]
-> GetInterpolatedAssetPropertyValuesResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"nextToken")
Either
String
(Int
-> [InterpolatedAssetPropertyValue]
-> GetInterpolatedAssetPropertyValuesResponse)
-> Either String Int
-> Either
String
([InterpolatedAssetPropertyValue]
-> GetInterpolatedAssetPropertyValuesResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
Either
String
([InterpolatedAssetPropertyValue]
-> GetInterpolatedAssetPropertyValuesResponse)
-> Either String [InterpolatedAssetPropertyValue]
-> Either String GetInterpolatedAssetPropertyValuesResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text -> Either String (Maybe [InterpolatedAssetPropertyValue])
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"interpolatedAssetPropertyValues"
Either String (Maybe [InterpolatedAssetPropertyValue])
-> [InterpolatedAssetPropertyValue]
-> Either String [InterpolatedAssetPropertyValue]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [InterpolatedAssetPropertyValue]
forall a. Monoid a => a
Prelude.mempty
)
)
instance
Prelude.Hashable
GetInterpolatedAssetPropertyValues
instance
Prelude.NFData
GetInterpolatedAssetPropertyValues
instance
Core.ToHeaders
GetInterpolatedAssetPropertyValues
where
toHeaders :: GetInterpolatedAssetPropertyValues -> ResponseHeaders
toHeaders =
ResponseHeaders
-> GetInterpolatedAssetPropertyValues -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance
Core.ToPath
GetInterpolatedAssetPropertyValues
where
toPath :: GetInterpolatedAssetPropertyValues -> ByteString
toPath = ByteString -> GetInterpolatedAssetPropertyValues -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/properties/interpolated"
instance
Core.ToQuery
GetInterpolatedAssetPropertyValues
where
toQuery :: GetInterpolatedAssetPropertyValues -> QueryString
toQuery GetInterpolatedAssetPropertyValues' {Natural
Maybe Natural
Maybe Text
Text
Quality
type' :: Text
intervalInSeconds :: Natural
quality :: Quality
endTimeInSeconds :: Natural
startTimeInSeconds :: Natural
maxResults :: Maybe Natural
assetId :: Maybe Text
propertyId :: Maybe Text
intervalWindowInSeconds :: Maybe Natural
nextToken :: Maybe Text
propertyAlias :: Maybe Text
endTimeOffsetInNanos :: Maybe Natural
startTimeOffsetInNanos :: Maybe Natural
$sel:type':GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Text
$sel:intervalInSeconds:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Natural
$sel:quality:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Quality
$sel:endTimeInSeconds:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Natural
$sel:startTimeInSeconds:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Natural
$sel:maxResults:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Natural
$sel:assetId:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Text
$sel:propertyId:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Text
$sel:intervalWindowInSeconds:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Natural
$sel:nextToken:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Text
$sel:propertyAlias:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Text
$sel:endTimeOffsetInNanos:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Natural
$sel:startTimeOffsetInNanos:GetInterpolatedAssetPropertyValues' :: GetInterpolatedAssetPropertyValues -> Maybe Natural
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"startTimeOffsetInNanos"
ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
startTimeOffsetInNanos,
ByteString
"endTimeOffsetInNanos" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
endTimeOffsetInNanos,
ByteString
"propertyAlias" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
propertyAlias,
ByteString
"nextToken" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
nextToken,
ByteString
"intervalWindowInSeconds"
ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
intervalWindowInSeconds,
ByteString
"propertyId" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
propertyId,
ByteString
"assetId" ByteString -> Maybe Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Text
assetId,
ByteString
"maxResults" ByteString -> Maybe Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Maybe Natural
maxResults,
ByteString
"startTimeInSeconds" ByteString -> Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Natural
startTimeInSeconds,
ByteString
"endTimeInSeconds" ByteString -> Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Natural
endTimeInSeconds,
ByteString
"quality" ByteString -> Quality -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Quality
quality,
ByteString
"intervalInSeconds" ByteString -> Natural -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Natural
intervalInSeconds,
ByteString
"type" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
type'
]
data GetInterpolatedAssetPropertyValuesResponse = GetInterpolatedAssetPropertyValuesResponse'
{
GetInterpolatedAssetPropertyValuesResponse -> Maybe Text
nextToken :: Prelude.Maybe Prelude.Text,
GetInterpolatedAssetPropertyValuesResponse -> Int
httpStatus :: Prelude.Int,
GetInterpolatedAssetPropertyValuesResponse
-> [InterpolatedAssetPropertyValue]
interpolatedAssetPropertyValues :: [InterpolatedAssetPropertyValue]
}
deriving (GetInterpolatedAssetPropertyValuesResponse
-> GetInterpolatedAssetPropertyValuesResponse -> Bool
(GetInterpolatedAssetPropertyValuesResponse
-> GetInterpolatedAssetPropertyValuesResponse -> Bool)
-> (GetInterpolatedAssetPropertyValuesResponse
-> GetInterpolatedAssetPropertyValuesResponse -> Bool)
-> Eq GetInterpolatedAssetPropertyValuesResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetInterpolatedAssetPropertyValuesResponse
-> GetInterpolatedAssetPropertyValuesResponse -> Bool
$c/= :: GetInterpolatedAssetPropertyValuesResponse
-> GetInterpolatedAssetPropertyValuesResponse -> Bool
== :: GetInterpolatedAssetPropertyValuesResponse
-> GetInterpolatedAssetPropertyValuesResponse -> Bool
$c== :: GetInterpolatedAssetPropertyValuesResponse
-> GetInterpolatedAssetPropertyValuesResponse -> Bool
Prelude.Eq, ReadPrec [GetInterpolatedAssetPropertyValuesResponse]
ReadPrec GetInterpolatedAssetPropertyValuesResponse
Int -> ReadS GetInterpolatedAssetPropertyValuesResponse
ReadS [GetInterpolatedAssetPropertyValuesResponse]
(Int -> ReadS GetInterpolatedAssetPropertyValuesResponse)
-> ReadS [GetInterpolatedAssetPropertyValuesResponse]
-> ReadPrec GetInterpolatedAssetPropertyValuesResponse
-> ReadPrec [GetInterpolatedAssetPropertyValuesResponse]
-> Read GetInterpolatedAssetPropertyValuesResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetInterpolatedAssetPropertyValuesResponse]
$creadListPrec :: ReadPrec [GetInterpolatedAssetPropertyValuesResponse]
readPrec :: ReadPrec GetInterpolatedAssetPropertyValuesResponse
$creadPrec :: ReadPrec GetInterpolatedAssetPropertyValuesResponse
readList :: ReadS [GetInterpolatedAssetPropertyValuesResponse]
$creadList :: ReadS [GetInterpolatedAssetPropertyValuesResponse]
readsPrec :: Int -> ReadS GetInterpolatedAssetPropertyValuesResponse
$creadsPrec :: Int -> ReadS GetInterpolatedAssetPropertyValuesResponse
Prelude.Read, Int -> GetInterpolatedAssetPropertyValuesResponse -> ShowS
[GetInterpolatedAssetPropertyValuesResponse] -> ShowS
GetInterpolatedAssetPropertyValuesResponse -> String
(Int -> GetInterpolatedAssetPropertyValuesResponse -> ShowS)
-> (GetInterpolatedAssetPropertyValuesResponse -> String)
-> ([GetInterpolatedAssetPropertyValuesResponse] -> ShowS)
-> Show GetInterpolatedAssetPropertyValuesResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetInterpolatedAssetPropertyValuesResponse] -> ShowS
$cshowList :: [GetInterpolatedAssetPropertyValuesResponse] -> ShowS
show :: GetInterpolatedAssetPropertyValuesResponse -> String
$cshow :: GetInterpolatedAssetPropertyValuesResponse -> String
showsPrec :: Int -> GetInterpolatedAssetPropertyValuesResponse -> ShowS
$cshowsPrec :: Int -> GetInterpolatedAssetPropertyValuesResponse -> ShowS
Prelude.Show, (forall x.
GetInterpolatedAssetPropertyValuesResponse
-> Rep GetInterpolatedAssetPropertyValuesResponse x)
-> (forall x.
Rep GetInterpolatedAssetPropertyValuesResponse x
-> GetInterpolatedAssetPropertyValuesResponse)
-> Generic GetInterpolatedAssetPropertyValuesResponse
forall x.
Rep GetInterpolatedAssetPropertyValuesResponse x
-> GetInterpolatedAssetPropertyValuesResponse
forall x.
GetInterpolatedAssetPropertyValuesResponse
-> Rep GetInterpolatedAssetPropertyValuesResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetInterpolatedAssetPropertyValuesResponse x
-> GetInterpolatedAssetPropertyValuesResponse
$cfrom :: forall x.
GetInterpolatedAssetPropertyValuesResponse
-> Rep GetInterpolatedAssetPropertyValuesResponse x
Prelude.Generic)
newGetInterpolatedAssetPropertyValuesResponse ::
Prelude.Int ->
GetInterpolatedAssetPropertyValuesResponse
newGetInterpolatedAssetPropertyValuesResponse :: Int -> GetInterpolatedAssetPropertyValuesResponse
newGetInterpolatedAssetPropertyValuesResponse
Int
pHttpStatus_ =
GetInterpolatedAssetPropertyValuesResponse' :: Maybe Text
-> Int
-> [InterpolatedAssetPropertyValue]
-> GetInterpolatedAssetPropertyValuesResponse
GetInterpolatedAssetPropertyValuesResponse'
{ $sel:nextToken:GetInterpolatedAssetPropertyValuesResponse' :: Maybe Text
nextToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetInterpolatedAssetPropertyValuesResponse' :: Int
httpStatus = Int
pHttpStatus_,
$sel:interpolatedAssetPropertyValues:GetInterpolatedAssetPropertyValuesResponse' :: [InterpolatedAssetPropertyValue]
interpolatedAssetPropertyValues =
[InterpolatedAssetPropertyValue]
forall a. Monoid a => a
Prelude.mempty
}
getInterpolatedAssetPropertyValuesResponse_nextToken :: Lens.Lens' GetInterpolatedAssetPropertyValuesResponse (Prelude.Maybe Prelude.Text)
getInterpolatedAssetPropertyValuesResponse_nextToken :: (Maybe Text -> f (Maybe Text))
-> GetInterpolatedAssetPropertyValuesResponse
-> f GetInterpolatedAssetPropertyValuesResponse
getInterpolatedAssetPropertyValuesResponse_nextToken = (GetInterpolatedAssetPropertyValuesResponse -> Maybe Text)
-> (GetInterpolatedAssetPropertyValuesResponse
-> Maybe Text -> GetInterpolatedAssetPropertyValuesResponse)
-> Lens' GetInterpolatedAssetPropertyValuesResponse (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValuesResponse' {Maybe Text
nextToken :: Maybe Text
$sel:nextToken:GetInterpolatedAssetPropertyValuesResponse' :: GetInterpolatedAssetPropertyValuesResponse -> Maybe Text
nextToken} -> Maybe Text
nextToken) (\s :: GetInterpolatedAssetPropertyValuesResponse
s@GetInterpolatedAssetPropertyValuesResponse' {} Maybe Text
a -> GetInterpolatedAssetPropertyValuesResponse
s {$sel:nextToken:GetInterpolatedAssetPropertyValuesResponse' :: Maybe Text
nextToken = Maybe Text
a} :: GetInterpolatedAssetPropertyValuesResponse)
getInterpolatedAssetPropertyValuesResponse_httpStatus :: Lens.Lens' GetInterpolatedAssetPropertyValuesResponse Prelude.Int
getInterpolatedAssetPropertyValuesResponse_httpStatus :: (Int -> f Int)
-> GetInterpolatedAssetPropertyValuesResponse
-> f GetInterpolatedAssetPropertyValuesResponse
getInterpolatedAssetPropertyValuesResponse_httpStatus = (GetInterpolatedAssetPropertyValuesResponse -> Int)
-> (GetInterpolatedAssetPropertyValuesResponse
-> Int -> GetInterpolatedAssetPropertyValuesResponse)
-> Lens
GetInterpolatedAssetPropertyValuesResponse
GetInterpolatedAssetPropertyValuesResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValuesResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetInterpolatedAssetPropertyValuesResponse' :: GetInterpolatedAssetPropertyValuesResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetInterpolatedAssetPropertyValuesResponse
s@GetInterpolatedAssetPropertyValuesResponse' {} Int
a -> GetInterpolatedAssetPropertyValuesResponse
s {$sel:httpStatus:GetInterpolatedAssetPropertyValuesResponse' :: Int
httpStatus = Int
a} :: GetInterpolatedAssetPropertyValuesResponse)
getInterpolatedAssetPropertyValuesResponse_interpolatedAssetPropertyValues :: Lens.Lens' GetInterpolatedAssetPropertyValuesResponse [InterpolatedAssetPropertyValue]
getInterpolatedAssetPropertyValuesResponse_interpolatedAssetPropertyValues :: ([InterpolatedAssetPropertyValue]
-> f [InterpolatedAssetPropertyValue])
-> GetInterpolatedAssetPropertyValuesResponse
-> f GetInterpolatedAssetPropertyValuesResponse
getInterpolatedAssetPropertyValuesResponse_interpolatedAssetPropertyValues = (GetInterpolatedAssetPropertyValuesResponse
-> [InterpolatedAssetPropertyValue])
-> (GetInterpolatedAssetPropertyValuesResponse
-> [InterpolatedAssetPropertyValue]
-> GetInterpolatedAssetPropertyValuesResponse)
-> Lens'
GetInterpolatedAssetPropertyValuesResponse
[InterpolatedAssetPropertyValue]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetInterpolatedAssetPropertyValuesResponse' {[InterpolatedAssetPropertyValue]
interpolatedAssetPropertyValues :: [InterpolatedAssetPropertyValue]
$sel:interpolatedAssetPropertyValues:GetInterpolatedAssetPropertyValuesResponse' :: GetInterpolatedAssetPropertyValuesResponse
-> [InterpolatedAssetPropertyValue]
interpolatedAssetPropertyValues} -> [InterpolatedAssetPropertyValue]
interpolatedAssetPropertyValues) (\s :: GetInterpolatedAssetPropertyValuesResponse
s@GetInterpolatedAssetPropertyValuesResponse' {} [InterpolatedAssetPropertyValue]
a -> GetInterpolatedAssetPropertyValuesResponse
s {$sel:interpolatedAssetPropertyValues:GetInterpolatedAssetPropertyValuesResponse' :: [InterpolatedAssetPropertyValue]
interpolatedAssetPropertyValues = [InterpolatedAssetPropertyValue]
a} :: GetInterpolatedAssetPropertyValuesResponse) (([InterpolatedAssetPropertyValue]
-> f [InterpolatedAssetPropertyValue])
-> GetInterpolatedAssetPropertyValuesResponse
-> f GetInterpolatedAssetPropertyValuesResponse)
-> (([InterpolatedAssetPropertyValue]
-> f [InterpolatedAssetPropertyValue])
-> [InterpolatedAssetPropertyValue]
-> f [InterpolatedAssetPropertyValue])
-> ([InterpolatedAssetPropertyValue]
-> f [InterpolatedAssetPropertyValue])
-> GetInterpolatedAssetPropertyValuesResponse
-> f GetInterpolatedAssetPropertyValuesResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([InterpolatedAssetPropertyValue]
-> f [InterpolatedAssetPropertyValue])
-> [InterpolatedAssetPropertyValue]
-> f [InterpolatedAssetPropertyValue]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance
Prelude.NFData
GetInterpolatedAssetPropertyValuesResponse