Skip to content

Commit a3c4699

Browse files
Added trailing white space, fixed typo, removed mutable from request structs
1 parent d1e2b96 commit a3c4699

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/AWS.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,30 @@ macro service(module_name::Symbol)
1212
service_name = joinpath(@__DIR__, service_name)
1313

1414
return Expr(:toplevel,
15-
:(module ($(esc(module_name)))
15+
:(module($(esc(module_name)))
1616
Base.include($(esc(module_name)), $(esc(service_name)))
1717
end))
1818
end
1919

20-
mutable struct RestXMLService
20+
struct RestXMLService
2121
name::String
2222
api_version::String
2323
end
2424

25-
mutable struct QueryService
25+
struct QueryService
2626
name::String
2727
api_version::String
2828
end
2929

30-
mutable struct JSONService
30+
struct JSONService
3131
name::String
3232
api_version::String
3333

3434
json_version::String
3535
target::String
3636
end
3737

38-
mutable struct RestJSONService
38+
struct RestJSONService
3939
name::String
4040
api_version::String
4141
end
@@ -92,4 +92,4 @@ end
9292
(service::RestJSONService)(request_method::String, request_uri::String, args=[]) = service(default_aws_config(), request_method, request_uri, args)
9393
(service::RestJSONService)(a...; b...) = service(a..., b)
9494

95-
end # module AWS
95+
end # module AWS

src/AWSExceptions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ struct InvalidFileName <: Exception
1212
end
1313
show(io::IO, e::InvalidFileName) = println(io, e.message)
1414

15-
end
15+
end

src/AWSServices.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This is file is auto-generated by AWSMetadata.jl
1+
# This file is auto-generated by AWSMetadata.jl
22

33
module AWSServices
44

0 commit comments

Comments
 (0)