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

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

New is referenced in 2 repositories