module Stratosphere.ApiGateway.Method (
        module Exports, Method(..), mkMethod
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.ApiGateway.Method.IntegrationProperty as Exports
import {-# SOURCE #-} Stratosphere.ApiGateway.Method.MethodResponseProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data Method
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html>
    Method {Method -> ()
haddock_workaround_ :: (),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-apikeyrequired>
            Method -> Maybe (Value Bool)
apiKeyRequired :: (Prelude.Maybe (Value Prelude.Bool)),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-authorizationscopes>
            Method -> Maybe (ValueList Text)
authorizationScopes :: (Prelude.Maybe (ValueList Prelude.Text)),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-authorizationtype>
            Method -> Maybe (Value Text)
authorizationType :: (Prelude.Maybe (Value Prelude.Text)),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-authorizerid>
            Method -> Maybe (Value Text)
authorizerId :: (Prelude.Maybe (Value Prelude.Text)),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-httpmethod>
            Method -> Value Text
httpMethod :: (Value Prelude.Text),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-integration>
            Method -> Maybe IntegrationProperty
integration :: (Prelude.Maybe IntegrationProperty),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-methodresponses>
            Method -> Maybe [MethodResponseProperty]
methodResponses :: (Prelude.Maybe [MethodResponseProperty]),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-operationname>
            Method -> Maybe (Value Text)
operationName :: (Prelude.Maybe (Value Prelude.Text)),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestmodels>
            Method -> Maybe (Map Text (Value Text))
requestModels :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestparameters>
            Method -> Maybe (Map Text (Value Text))
requestParameters :: (Prelude.Maybe (Prelude.Map Prelude.Text (Value Prelude.Text))),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-requestvalidatorid>
            Method -> Maybe (Value Text)
requestValidatorId :: (Prelude.Maybe (Value Prelude.Text)),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-resourceid>
            Method -> Value Text
resourceId :: (Value Prelude.Text),
            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html#cfn-apigateway-method-restapiid>
            Method -> Value Text
restApiId :: (Value Prelude.Text)}
  deriving stock (Method -> Method -> Bool
(Method -> Method -> Bool)
-> (Method -> Method -> Bool) -> Eq Method
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Method -> Method -> Bool
== :: Method -> Method -> Bool
$c/= :: Method -> Method -> Bool
/= :: Method -> Method -> Bool
Prelude.Eq, Int -> Method -> ShowS
[Method] -> ShowS
Method -> String
(Int -> Method -> ShowS)
-> (Method -> String) -> ([Method] -> ShowS) -> Show Method
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Method -> ShowS
showsPrec :: Int -> Method -> ShowS
$cshow :: Method -> String
show :: Method -> String
$cshowList :: [Method] -> ShowS
showList :: [Method] -> ShowS
Prelude.Show)
mkMethod ::
  Value Prelude.Text
  -> Value Prelude.Text -> Value Prelude.Text -> Method
mkMethod :: Value Text -> Value Text -> Value Text -> Method
mkMethod Value Text
httpMethod Value Text
resourceId Value Text
restApiId
  = Method
      {haddock_workaround_ :: ()
haddock_workaround_ = (), httpMethod :: Value Text
httpMethod = Value Text
httpMethod,
       resourceId :: Value Text
resourceId = Value Text
resourceId, restApiId :: Value Text
restApiId = Value Text
restApiId,
       apiKeyRequired :: Maybe (Value Bool)
apiKeyRequired = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       authorizationScopes :: Maybe (ValueList Text)
authorizationScopes = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       authorizationType :: Maybe (Value Text)
authorizationType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       authorizerId :: Maybe (Value Text)
authorizerId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, integration :: Maybe IntegrationProperty
integration = Maybe IntegrationProperty
forall a. Maybe a
Prelude.Nothing,
       methodResponses :: Maybe [MethodResponseProperty]
methodResponses = Maybe [MethodResponseProperty]
forall a. Maybe a
Prelude.Nothing, operationName :: Maybe (Value Text)
operationName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       requestModels :: Maybe (Map Text (Value Text))
requestModels = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing,
       requestParameters :: Maybe (Map Text (Value Text))
requestParameters = Maybe (Map Text (Value Text))
forall a. Maybe a
Prelude.Nothing,
       requestValidatorId :: Maybe (Value Text)
requestValidatorId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Method where
  toResourceProperties :: Method -> ResourceProperties
toResourceProperties Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::ApiGateway::Method", supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"HttpMethod" 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..= Value Text
httpMethod, Key
"ResourceId" 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..= Value Text
resourceId,
                            Key
"RestApiId" 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..= Value Text
restApiId]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"ApiKeyRequired" (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)
apiKeyRequired,
                               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
"AuthorizationScopes" (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)
authorizationScopes,
                               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
"AuthorizationType" (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)
authorizationType,
                               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
"AuthorizerId" (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)
authorizerId,
                               Key -> IntegrationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Integration" (IntegrationProperty -> (Key, Value))
-> Maybe IntegrationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe IntegrationProperty
integration,
                               Key -> [MethodResponseProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MethodResponses" ([MethodResponseProperty] -> (Key, Value))
-> Maybe [MethodResponseProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MethodResponseProperty]
methodResponses,
                               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
"OperationName" (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)
operationName,
                               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
"RequestModels" (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))
requestModels,
                               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
"RequestParameters" (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))
requestParameters,
                               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
"RequestValidatorId" (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)
requestValidatorId]))}
instance JSON.ToJSON Method where
  toJSON :: Method -> Value
toJSON Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"HttpMethod" 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..= Value Text
httpMethod, Key
"ResourceId" 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..= Value Text
resourceId,
               Key
"RestApiId" 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..= Value Text
restApiId]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"ApiKeyRequired" (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)
apiKeyRequired,
                  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
"AuthorizationScopes" (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)
authorizationScopes,
                  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
"AuthorizationType" (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)
authorizationType,
                  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
"AuthorizerId" (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)
authorizerId,
                  Key -> IntegrationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Integration" (IntegrationProperty -> (Key, Value))
-> Maybe IntegrationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe IntegrationProperty
integration,
                  Key -> [MethodResponseProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MethodResponses" ([MethodResponseProperty] -> (Key, Value))
-> Maybe [MethodResponseProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MethodResponseProperty]
methodResponses,
                  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
"OperationName" (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)
operationName,
                  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
"RequestModels" (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))
requestModels,
                  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
"RequestParameters" (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))
requestParameters,
                  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
"RequestValidatorId" (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)
requestValidatorId])))
instance Property "ApiKeyRequired" Method where
  type PropertyType "ApiKeyRequired" Method = Value Prelude.Bool
  set :: PropertyType "ApiKeyRequired" Method -> Method -> Method
set PropertyType "ApiKeyRequired" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
    = Method {apiKeyRequired :: Maybe (Value Bool)
apiKeyRequired = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ApiKeyRequired" Method
Value Bool
newValue, Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: ()
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
haddock_workaround_ :: ()
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
instance Property "AuthorizationScopes" Method where
  type PropertyType "AuthorizationScopes" Method = ValueList Prelude.Text
  set :: PropertyType "AuthorizationScopes" Method -> Method -> Method
set PropertyType "AuthorizationScopes" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
    = Method {authorizationScopes :: Maybe (ValueList Text)
authorizationScopes = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthorizationScopes" Method
ValueList Text
newValue, Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
instance Property "AuthorizationType" Method where
  type PropertyType "AuthorizationType" Method = Value Prelude.Text
  set :: PropertyType "AuthorizationType" Method -> Method -> Method
set PropertyType "AuthorizationType" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
    = Method {authorizationType :: Maybe (Value Text)
authorizationType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthorizationType" Method
Value Text
newValue, Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
instance Property "AuthorizerId" Method where
  type PropertyType "AuthorizerId" Method = Value Prelude.Text
  set :: PropertyType "AuthorizerId" Method -> Method -> Method
set PropertyType "AuthorizerId" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
    = Method {authorizerId :: Maybe (Value Text)
authorizerId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthorizerId" Method
Value Text
newValue, Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
instance Property "HttpMethod" Method where
  type PropertyType "HttpMethod" Method = Value Prelude.Text
  set :: PropertyType "HttpMethod" Method -> Method -> Method
set PropertyType "HttpMethod" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..} = Method {httpMethod :: Value Text
httpMethod = PropertyType "HttpMethod" Method
Value Text
newValue, Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
instance Property "Integration" Method where
  type PropertyType "Integration" Method = IntegrationProperty
  set :: PropertyType "Integration" Method -> Method -> Method
set PropertyType "Integration" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
    = Method {integration :: Maybe IntegrationProperty
integration = IntegrationProperty -> Maybe IntegrationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Integration" Method
IntegrationProperty
newValue, Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
instance Property "MethodResponses" Method where
  type PropertyType "MethodResponses" Method = [MethodResponseProperty]
  set :: PropertyType "MethodResponses" Method -> Method -> Method
set PropertyType "MethodResponses" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
    = Method {methodResponses :: Maybe [MethodResponseProperty]
methodResponses = [MethodResponseProperty] -> Maybe [MethodResponseProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [MethodResponseProperty]
PropertyType "MethodResponses" Method
newValue, Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
instance Property "OperationName" Method where
  type PropertyType "OperationName" Method = Value Prelude.Text
  set :: PropertyType "OperationName" Method -> Method -> Method
set PropertyType "OperationName" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
    = Method {operationName :: Maybe (Value Text)
operationName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OperationName" Method
Value Text
newValue, Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
instance Property "RequestModels" Method where
  type PropertyType "RequestModels" Method = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType "RequestModels" Method -> Method -> Method
set PropertyType "RequestModels" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
    = Method {requestModels :: Maybe (Map Text (Value Text))
requestModels = 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 "RequestModels" Method
newValue, Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
instance Property "RequestParameters" Method where
  type PropertyType "RequestParameters" Method = Prelude.Map Prelude.Text (Value Prelude.Text)
  set :: PropertyType "RequestParameters" Method -> Method -> Method
set PropertyType "RequestParameters" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
    = Method {requestParameters :: Maybe (Map Text (Value Text))
requestParameters = 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 "RequestParameters" Method
newValue, Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
instance Property "RequestValidatorId" Method where
  type PropertyType "RequestValidatorId" Method = Value Prelude.Text
  set :: PropertyType "RequestValidatorId" Method -> Method -> Method
set PropertyType "RequestValidatorId" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..}
    = Method {requestValidatorId :: Maybe (Value Text)
requestValidatorId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RequestValidatorId" Method
Value Text
newValue, Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
resourceId :: Value Text
restApiId :: Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
resourceId :: Value Text
restApiId :: Value Text
..}
instance Property "ResourceId" Method where
  type PropertyType "ResourceId" Method = Value Prelude.Text
  set :: PropertyType "ResourceId" Method -> Method -> Method
set PropertyType "ResourceId" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..} = Method {resourceId :: Value Text
resourceId = PropertyType "ResourceId" Method
Value Text
newValue, Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
restApiId :: Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
restApiId :: Value Text
..}
instance Property "RestApiId" Method where
  type PropertyType "RestApiId" Method = Value Prelude.Text
  set :: PropertyType "RestApiId" Method -> Method -> Method
set PropertyType "RestApiId" Method
newValue Method {Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: Method -> ()
apiKeyRequired :: Method -> Maybe (Value Bool)
authorizationScopes :: Method -> Maybe (ValueList Text)
authorizationType :: Method -> Maybe (Value Text)
authorizerId :: Method -> Maybe (Value Text)
httpMethod :: Method -> Value Text
integration :: Method -> Maybe IntegrationProperty
methodResponses :: Method -> Maybe [MethodResponseProperty]
operationName :: Method -> Maybe (Value Text)
requestModels :: Method -> Maybe (Map Text (Value Text))
requestParameters :: Method -> Maybe (Map Text (Value Text))
requestValidatorId :: Method -> Maybe (Value Text)
resourceId :: Method -> Value Text
restApiId :: Method -> Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
restApiId :: Value Text
..} = Method {restApiId :: Value Text
restApiId = PropertyType "RestApiId" Method
Value Text
newValue, Maybe [MethodResponseProperty]
Maybe (Map Text (Value Text))
Maybe (ValueList Text)
Maybe (Value Bool)
Maybe (Value Text)
Maybe IntegrationProperty
()
Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
haddock_workaround_ :: ()
apiKeyRequired :: Maybe (Value Bool)
authorizationScopes :: Maybe (ValueList Text)
authorizationType :: Maybe (Value Text)
authorizerId :: Maybe (Value Text)
httpMethod :: Value Text
integration :: Maybe IntegrationProperty
methodResponses :: Maybe [MethodResponseProperty]
operationName :: Maybe (Value Text)
requestModels :: Maybe (Map Text (Value Text))
requestParameters :: Maybe (Map Text (Value Text))
requestValidatorId :: Maybe (Value Text)
resourceId :: Value Text
..}