New creates a new instance of the Kinesis 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 Kinesis client from just a session.
svc := kinesis.New(mySession)

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