ex_aws_boto v0.1.1 ExAws.Boto.Util

Link to this section Summary

Functions

Determines whether a single erlang character is a lowercase ASCII letter

Determines whether a single erlang character is an uppercase ASCII letter

Converts a string key from an AWS spec into an atom, such as for a function call or struct property

Converts a service ID and shape name into an Elixir module

Link to this section Functions

Link to this macro

is_lower(letter)

(macro)

Determines whether a single erlang character is a lowercase ASCII letter

Link to this macro

is_upper(letter)

(macro)

Determines whether a single erlang character is an uppercase ASCII letter

Link to this function

key_to_atom(key)

Converts a string key from an AWS spec into an atom, such as for a function call or struct property

Examples

iex> ExAws.Boto.Util.key_to_atom("UserName")
:user_name

iex> ExAws.Boto.Util.key_to_atom("NotificationARNs")
:notification_arns

iex> ExAws.Boto.Util.key_to_atom("TestARNs")
:test_arns

iex> ExAws.Boto.Util.key_to_atom("VpcID")
:vpc_id
Link to this function

module_name(service_id, shape \\ nil)

Converts a service ID and shape name into an Elixir module

Examples

iex> ExAws.Boto.Util.module_name("SomeService", "TestObject")
ExAws.SomeService.TestObject