func New(conf config.Config) (*IAM, error) {
	sess, err := conf.Session()
	if err != nil {
		return nil, err
	}
	return NewFromSession(sess), nil
}
New returns initialized *IAM.
package iam
import (
	"github.com/aws/aws-sdk-go/aws/session"
	SDK "github.com/aws/aws-sdk-go/service/iam"
	"github.com/evalphobia/aws-sdk-go-wrapper/config"
	"github.com/evalphobia/aws-sdk-go-wrapper/log"
	"github.com/evalphobia/aws-sdk-go-wrapper/private/pointers"
)
const (
	serviceName = "IAM"
)
type IAM struct {
	client *SDK.IAM
	logger log.Logger
}