module Stratosphere.ApiGateway.RestApi (
        module Exports, RestApi(..), mkRestApi
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.ApiGateway.RestApi.EndpointConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.ApiGateway.RestApi.S3LocationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data RestApi
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html>
    RestApi {RestApi -> ()
haddock_workaround_ :: (),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-apikeysourcetype>
             RestApi -> Maybe (Value Text)
apiKeySourceType :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-binarymediatypes>
             RestApi -> Maybe (ValueList Text)
binaryMediaTypes :: (Prelude.Maybe (ValueList Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-body>
             RestApi -> Maybe Object
body :: (Prelude.Maybe JSON.Object),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-bodys3location>
             RestApi -> Maybe S3LocationProperty
bodyS3Location :: (Prelude.Maybe S3LocationProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-clonefrom>
             RestApi -> Maybe (Value Text)
cloneFrom :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-description>
             RestApi -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-disableexecuteapiendpoint>
             RestApi -> Maybe (Value Bool)
disableExecuteApiEndpoint :: (Prelude.Maybe (Value Prelude.Bool)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-endpointconfiguration>
             RestApi -> Maybe EndpointConfigurationProperty
endpointConfiguration :: (Prelude.Maybe EndpointConfigurationProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-failonwarnings>
             RestApi -> Maybe (Value Bool)
failOnWarnings :: (Prelude.Maybe (Value Prelude.Bool)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-minimumcompressionsize>
             RestApi -> Maybe (Value Integer)
minimumCompressionSize :: (Prelude.Maybe (Value Prelude.Integer)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-mode>
             RestApi -> Maybe (Value Text)
mode :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-name>
             RestApi -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-parameters>
             RestApi -> Maybe (Map Text (Value Text))
parameters :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-policy>
             RestApi -> Maybe Object
policy :: (Prelude.Maybe JSON.Object),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-tags>
             RestApi -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  deriving stock (RestApi -> RestApi -> Bool
(RestApi -> RestApi -> Bool)
-> (RestApi -> RestApi -> Bool) -> Eq RestApi
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RestApi -> RestApi -> Bool
== :: RestApi -> RestApi -> Bool
$c/= :: RestApi -> RestApi -> Bool
/= :: RestApi -> RestApi -> Bool
Prelude.Eq, Int -> RestApi -> ShowS
[RestApi] -> ShowS
RestApi -> String
(Int -> RestApi -> ShowS)
-> (RestApi -> String) -> ([RestApi] -> ShowS) -> Show RestApi
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RestApi -> ShowS
showsPrec :: Int -> RestApi -> ShowS
$cshow :: RestApi -> String
show :: RestApi -> String
$cshowList :: [RestApi] -> ShowS
showList :: [RestApi] -> ShowS
Prelude.Show)
mkRestApi :: RestApi
mkRestApi :: RestApi
mkRestApi
  = RestApi
      {haddock_workaround_ :: ()
haddock_workaround_ = (), apiKeySourceType :: Maybe (Value Text)
apiKeySourceType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       binaryMediaTypes :: Maybe (ValueList Text)
binaryMediaTypes = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, body :: Maybe Object
body = Maybe Object
forall a. Maybe a
Prelude.Nothing,
       bodyS3Location :: Maybe S3LocationProperty
bodyS3Location = Maybe S3LocationProperty
forall a. Maybe a
Prelude.Nothing, cloneFrom :: Maybe (Value Text)
cloneFrom = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       disableExecuteApiEndpoint :: Maybe (Value Bool)
disableExecuteApiEndpoint = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       endpointConfiguration :: Maybe EndpointConfigurationProperty
endpointConfiguration = Maybe EndpointConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       failOnWarnings :: Maybe (Value Bool)
failOnWarnings = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       minimumCompressionSize :: Maybe (Value Integer)
minimumCompressionSize = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, mode :: Maybe (Value Text)
mode = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, parameters :: Maybe (Map Text (Value Text))
parameters = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing,
       policy :: Maybe Object
policy = Maybe Object
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RestApi where
  toResourceProperties :: RestApi -> ResourceProperties
toResourceProperties RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ApiGateway::RestApi", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ApiKeySourceType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
apiKeySourceType,
                            Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BinaryMediaTypes" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
binaryMediaTypes,
                            Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Body" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
body,
                            Key -> S3LocationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BodyS3Location" (S3LocationProperty -> (Key, Value))
-> Maybe S3LocationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe S3LocationProperty
bodyS3Location,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CloneFrom" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
cloneFrom,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
                            Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DisableExecuteApiEndpoint"
                              (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
disableExecuteApiEndpoint,
                            Key -> EndpointConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EndpointConfiguration"
                              (EndpointConfigurationProperty -> (Key, Value))
-> Maybe EndpointConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EndpointConfigurationProperty
endpointConfiguration,
                            Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FailOnWarnings" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
failOnWarnings,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MinimumCompressionSize"
                              (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
minimumCompressionSize,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Mode" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
mode,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Name" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
name,
                            Key -> Map Text (Value Text) -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Parameters" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
parameters,
                            Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Policy" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
policy,
                            Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])}
instance JSON.ToJSON RestApi where
  toJSON :: RestApi -> Value
toJSON RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ApiKeySourceType" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
apiKeySourceType,
               Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BinaryMediaTypes" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
binaryMediaTypes,
               Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Body" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
body,
               Key -> S3LocationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BodyS3Location" (S3LocationProperty -> (Key, Value))
-> Maybe S3LocationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe S3LocationProperty
bodyS3Location,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CloneFrom" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
cloneFrom,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Description" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
description,
               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DisableExecuteApiEndpoint"
                 (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
disableExecuteApiEndpoint,
               Key -> EndpointConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EndpointConfiguration"
                 (EndpointConfigurationProperty -> (Key, Value))
-> Maybe EndpointConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe EndpointConfigurationProperty
endpointConfiguration,
               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FailOnWarnings" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
failOnWarnings,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MinimumCompressionSize"
                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
minimumCompressionSize,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Mode" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
mode,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Name" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
name,
               Key -> Map Text (Value Text) -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Parameters" (Map Text (Value Text) -> (Key, Value))
-> Maybe (Map Text (Value Text)) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Map Text (Value Text))
parameters,
               Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Policy" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
policy,
               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))
instance Property "ApiKeySourceType" RestApi where
  type PropertyType "ApiKeySourceType" RestApi = Value Prelude.Text
  set :: PropertyType "ApiKeySourceType" RestApi -> RestApi -> RestApi
set PropertyType "ApiKeySourceType" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {apiKeySourceType :: Maybe (Value Text)
apiKeySourceType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ApiKeySourceType" RestApi
Value Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "BinaryMediaTypes" RestApi where
  type PropertyType "BinaryMediaTypes" RestApi = ValueList Prelude.Text
  set :: PropertyType "BinaryMediaTypes" RestApi -> RestApi -> RestApi
set PropertyType "BinaryMediaTypes" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {binaryMediaTypes :: Maybe (ValueList Text)
binaryMediaTypes = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BinaryMediaTypes" RestApi
ValueList Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "Body" RestApi where
  type PropertyType "Body" RestApi = JSON.Object
  set :: PropertyType "Body" RestApi -> RestApi -> RestApi
set PropertyType "Body" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {body :: Maybe Object
body = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "Body" RestApi
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "BodyS3Location" RestApi where
  type PropertyType "BodyS3Location" RestApi = S3LocationProperty
  set :: PropertyType "BodyS3Location" RestApi -> RestApi -> RestApi
set PropertyType "BodyS3Location" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {bodyS3Location :: Maybe S3LocationProperty
bodyS3Location = S3LocationProperty -> Maybe S3LocationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BodyS3Location" RestApi
S3LocationProperty
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "CloneFrom" RestApi where
  type PropertyType "CloneFrom" RestApi = Value Prelude.Text
  set :: PropertyType "CloneFrom" RestApi -> RestApi -> RestApi
set PropertyType "CloneFrom" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {cloneFrom :: Maybe (Value Text)
cloneFrom = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CloneFrom" RestApi
Value Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "Description" RestApi where
  type PropertyType "Description" RestApi = Value Prelude.Text
  set :: PropertyType "Description" RestApi -> RestApi -> RestApi
set PropertyType "Description" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" RestApi
Value Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "DisableExecuteApiEndpoint" RestApi where
  type PropertyType "DisableExecuteApiEndpoint" RestApi = Value Prelude.Bool
  set :: PropertyType "DisableExecuteApiEndpoint" RestApi
-> RestApi -> RestApi
set PropertyType "DisableExecuteApiEndpoint" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {disableExecuteApiEndpoint :: Maybe (Value Bool)
disableExecuteApiEndpoint = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DisableExecuteApiEndpoint" RestApi
Value Bool
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "EndpointConfiguration" RestApi where
  type PropertyType "EndpointConfiguration" RestApi = EndpointConfigurationProperty
  set :: PropertyType "EndpointConfiguration" RestApi -> RestApi -> RestApi
set PropertyType "EndpointConfiguration" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {endpointConfiguration :: Maybe EndpointConfigurationProperty
endpointConfiguration = EndpointConfigurationProperty
-> Maybe EndpointConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EndpointConfiguration" RestApi
EndpointConfigurationProperty
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "FailOnWarnings" RestApi where
  type PropertyType "FailOnWarnings" RestApi = Value Prelude.Bool
  set :: PropertyType "FailOnWarnings" RestApi -> RestApi -> RestApi
set PropertyType "FailOnWarnings" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {failOnWarnings :: Maybe (Value Bool)
failOnWarnings = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FailOnWarnings" RestApi
Value Bool
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "MinimumCompressionSize" RestApi where
  type PropertyType "MinimumCompressionSize" RestApi = Value Prelude.Integer
  set :: PropertyType "MinimumCompressionSize" RestApi -> RestApi -> RestApi
set PropertyType "MinimumCompressionSize" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {minimumCompressionSize :: Maybe (Value Integer)
minimumCompressionSize = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MinimumCompressionSize" RestApi
Value Integer
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "Mode" RestApi where
  type PropertyType "Mode" RestApi = Value Prelude.Text
  set :: PropertyType "Mode" RestApi -> RestApi -> RestApi
set PropertyType "Mode" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {mode :: Maybe (Value Text)
mode = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Mode" RestApi
Value Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "Name" RestApi where
  type PropertyType "Name" RestApi = Value Prelude.Text
  set :: PropertyType "Name" RestApi -> RestApi -> RestApi
set PropertyType "Name" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" RestApi
Value Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "Parameters" RestApi where
  type PropertyType "Parameters" RestApi = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType "Parameters" RestApi -> RestApi -> RestApi
set PropertyType "Parameters" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {parameters :: Maybe (Map Text (Value Text))
parameters = Map Text (Value Text) -> Maybe (Map Text (Value Text))
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Map Text (Value Text)
PropertyType "Parameters" RestApi
newValue, Maybe [Tag]
Maybe Object
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
policy :: Maybe Object
tags :: Maybe [Tag]
..}
instance Property "Policy" RestApi where
  type PropertyType "Policy" RestApi = JSON.Object
  set :: PropertyType "Policy" RestApi -> RestApi -> RestApi
set PropertyType "Policy" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {policy :: Maybe Object
policy = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "Policy" RestApi
newValue, Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
tags :: Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
tags :: Maybe [Tag]
..}
instance Property "Tags" RestApi where
  type PropertyType "Tags" RestApi = [Tag]
  set :: PropertyType "Tags" RestApi -> RestApi -> RestApi
set PropertyType "Tags" RestApi
newValue RestApi {Maybe [Tag]
Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: RestApi -> ()
apiKeySourceType :: RestApi -> Maybe (Value Text)
binaryMediaTypes :: RestApi -> Maybe (ValueList Text)
body :: RestApi -> Maybe Object
bodyS3Location :: RestApi -> Maybe S3LocationProperty
cloneFrom :: RestApi -> Maybe (Value Text)
description :: RestApi -> Maybe (Value Text)
disableExecuteApiEndpoint :: RestApi -> Maybe (Value Bool)
endpointConfiguration :: RestApi -> Maybe EndpointConfigurationProperty
failOnWarnings :: RestApi -> Maybe (Value Bool)
minimumCompressionSize :: RestApi -> Maybe (Value Integer)
mode :: RestApi -> Maybe (Value Text)
name :: RestApi -> Maybe (Value Text)
parameters :: RestApi -> Maybe (Map Text (Value Text))
policy :: RestApi -> Maybe Object
tags :: RestApi -> Maybe [Tag]
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
tags :: Maybe [Tag]
..}
    = RestApi {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" RestApi
newValue, Maybe Object
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
Maybe EndpointConfigurationProperty
Maybe S3LocationProperty
()
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
haddock_workaround_ :: ()
apiKeySourceType :: Maybe (Value Text)
binaryMediaTypes :: Maybe (ValueList Text)
body :: Maybe Object
bodyS3Location :: Maybe S3LocationProperty
cloneFrom :: Maybe (Value Text)
description :: Maybe (Value Text)
disableExecuteApiEndpoint :: Maybe (Value Bool)
endpointConfiguration :: Maybe EndpointConfigurationProperty
failOnWarnings :: Maybe (Value Bool)
minimumCompressionSize :: Maybe (Value Integer)
mode :: Maybe (Value Text)
name :: Maybe (Value Text)
parameters :: Maybe (Map Text (Value Text))
policy :: Maybe Object
..}