Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data StateNotFound Source #
Instances
ToJSON StateNotFound Source # | |
Defined in Terraform.HttpBackend.Pass.Api toJSON :: StateNotFound -> Value # toEncoding :: StateNotFound -> Encoding # toJSONList :: [StateNotFound] -> Value # toEncodingList :: [StateNotFound] -> Encoding # | |
HasStatus StateNotFound Source # | |
Defined in Terraform.HttpBackend.Pass.Api type StatusOf StateNotFound :: Nat # | |
type StatusOf StateNotFound Source # | |
Defined in Terraform.HttpBackend.Pass.Api |
newtype StateCorrupt Source #
Instances
ToJSON StateCorrupt Source # | |
Defined in Terraform.HttpBackend.Pass.Api toJSON :: StateCorrupt -> Value # toEncoding :: StateCorrupt -> Encoding # toJSONList :: [StateCorrupt] -> Value # toEncodingList :: [StateCorrupt] -> Encoding # | |
HasStatus StateCorrupt Source # | |
Defined in Terraform.HttpBackend.Pass.Api type StatusOf StateCorrupt :: Nat # | |
type StatusOf StateCorrupt Source # | |
Defined in Terraform.HttpBackend.Pass.Api |
type GetResponse = '[WithStatus 200 Value, StateNotFound, StateCorrupt] Source #
type UpdateState = "state" :> (Capture "name" Text :> (ReqBody '[JSON] Value :> PostNoContent)) Source #
type DeleteState = "state" :> (Capture "name" Text :> DeleteNoContent) Source #
type Api = GetState :<|> (UpdateState :<|> DeleteState) Source #
getStateImpl :: (Monad m, MonadGit m, MonadPass m) => Text -> m (Union GetResponse) Source #
stateFilePath :: Text -> Text Source #