New creates a new instance of the EFS client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.


// Create a EFS client from just a session.
svc := efs.New(mySession)

// Create a EFS client with additional configuration
svc := efs.New(mySession, aws.NewConfig().WithRegion("us-west-2"))