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

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

New is referenced in 4 repositories