choonkeat / elm-aws / AWS.Types


type alias Config =
{ awsSecretAccessKey : String
, awsRegion : String
, accessKeyId : String
, timeout : Maybe Basics.Float 
}


type Service
    = ServiceIam
    | ServiceDynamoDB
    | ServiceSES
    | ServiceSQS Url
    | ServiceS3 Url
    | ServiceCustom String Url


type alias SignedRequest x a =
{ method : String
, headers : List Http.Header
, url : String
, body : Http.Body
, resolver : Http.Resolver x a
, timeout : Maybe Basics.Float 
}


type alias UnsignedRequest x a =
{ method : String
, headers : List ( String
, String )
, query : List ( String
, String )
, stringBody : String
, resolver : Http.Resolver x a
, service : Service 
}


type alias Signature =
{ text : String
, credentialScope : String
, headers : List ( String
, String )
, signedHeaders : String
, algorithm : String
, debugCanonicalString : String
, debugStringToSign : String 
}