libZSamazonka-coreZSamazonka-core
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Data.Path

Description

 
Synopsis

Path Types

data Path :: Encoding -> * where Source #

Constructors

Raw :: [ByteString] -> Path 'NoEncoding 
Encoded :: [ByteString] -> Path 'Percent 

Instances

Instances details
Semigroup RawPath Source # 
Instance details

Defined in Amazonka.Data.Path

Monoid RawPath Source # 
Instance details

Defined in Amazonka.Data.Path

ToByteString EscapedPath Source # 
Instance details

Defined in Amazonka.Data.Path

ToLog EscapedPath Source # 
Instance details

Defined in Amazonka.Data.Log

Eq (Path a) Source # 
Instance details

Defined in Amazonka.Data.Path

Methods

(==) :: Path a -> Path a -> Bool #

(/=) :: Path a -> Path a -> Bool #

Show (Path a) Source # 
Instance details

Defined in Amazonka.Data.Path

Methods

showsPrec :: Int -> Path a -> ShowS #

show :: Path a -> String #

showList :: [Path a] -> ShowS #

type RawPath = Path 'NoEncoding Source #

type EscapedPath = Path 'Percent Source #

Constructing Paths

class ToPath a where Source #

Methods

toPath :: a -> ByteString Source #

Instances

Instances details
ToPath ByteString Source # 
Instance details

Defined in Amazonka.Data.Path

ToPath Text Source # 
Instance details

Defined in Amazonka.Data.Path

rawPath :: ToPath a => a -> Path 'NoEncoding Source #

Manipulating Paths