Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions private/model/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,15 +480,10 @@ const (
{{- end }}

// New creates a new instance of the {{ .StructName }} client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a {{ .StructName }} client from just a config.
// svc := {{ .PackageName }}.New(myConfig)
//
// // Create a {{ .StructName }} client with additional configuration
// svc := {{ .PackageName }}.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func New(config aws.Config) *{{ .StructName }} {
var signingName string
{{- if .Metadata.SigningName }}
Expand Down
50 changes: 0 additions & 50 deletions private/protocol/ec2query/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,10 @@ type InputService1ProtocolTest struct {
}

// New creates a new instance of the InputService1ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a InputService1ProtocolTest client from just a config.
// svc := inputservice1protocoltest.New(myConfig)
//
// // Create a InputService1ProtocolTest client with additional configuration
// svc := inputservice1protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewInputService1ProtocolTest(config aws.Config) *InputService1ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -173,15 +168,10 @@ type InputService2ProtocolTest struct {
}

// New creates a new instance of the InputService2ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a InputService2ProtocolTest client from just a config.
// svc := inputservice2protocoltest.New(myConfig)
//
// // Create a InputService2ProtocolTest client with additional configuration
// svc := inputservice2protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewInputService2ProtocolTest(config aws.Config) *InputService2ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -296,15 +286,10 @@ type InputService3ProtocolTest struct {
}

// New creates a new instance of the InputService3ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a InputService3ProtocolTest client from just a config.
// svc := inputservice3protocoltest.New(myConfig)
//
// // Create a InputService3ProtocolTest client with additional configuration
// svc := inputservice3protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewInputService3ProtocolTest(config aws.Config) *InputService3ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -421,15 +406,10 @@ type InputService4ProtocolTest struct {
}

// New creates a new instance of the InputService4ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a InputService4ProtocolTest client from just a config.
// svc := inputservice4protocoltest.New(myConfig)
//
// // Create a InputService4ProtocolTest client with additional configuration
// svc := inputservice4protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewInputService4ProtocolTest(config aws.Config) *InputService4ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -546,15 +526,10 @@ type InputService5ProtocolTest struct {
}

// New creates a new instance of the InputService5ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a InputService5ProtocolTest client from just a config.
// svc := inputservice5protocoltest.New(myConfig)
//
// // Create a InputService5ProtocolTest client with additional configuration
// svc := inputservice5protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewInputService5ProtocolTest(config aws.Config) *InputService5ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -665,15 +640,10 @@ type InputService6ProtocolTest struct {
}

// New creates a new instance of the InputService6ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a InputService6ProtocolTest client from just a config.
// svc := inputservice6protocoltest.New(myConfig)
//
// // Create a InputService6ProtocolTest client with additional configuration
// svc := inputservice6protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewInputService6ProtocolTest(config aws.Config) *InputService6ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -784,15 +754,10 @@ type InputService7ProtocolTest struct {
}

// New creates a new instance of the InputService7ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a InputService7ProtocolTest client from just a config.
// svc := inputservice7protocoltest.New(myConfig)
//
// // Create a InputService7ProtocolTest client with additional configuration
// svc := inputservice7protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewInputService7ProtocolTest(config aws.Config) *InputService7ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -904,15 +869,10 @@ type InputService8ProtocolTest struct {
}

// New creates a new instance of the InputService8ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a InputService8ProtocolTest client from just a config.
// svc := inputservice8protocoltest.New(myConfig)
//
// // Create a InputService8ProtocolTest client with additional configuration
// svc := inputservice8protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewInputService8ProtocolTest(config aws.Config) *InputService8ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -1023,15 +983,10 @@ type InputService9ProtocolTest struct {
}

// New creates a new instance of the InputService9ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a InputService9ProtocolTest client from just a config.
// svc := inputservice9protocoltest.New(myConfig)
//
// // Create a InputService9ProtocolTest client with additional configuration
// svc := inputservice9protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewInputService9ProtocolTest(config aws.Config) *InputService9ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -1201,15 +1156,10 @@ type InputService10ProtocolTest struct {
}

// New creates a new instance of the InputService10ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a InputService10ProtocolTest client from just a config.
// svc := inputservice10protocoltest.New(myConfig)
//
// // Create a InputService10ProtocolTest client with additional configuration
// svc := inputservice10protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewInputService10ProtocolTest(config aws.Config) *InputService10ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down
50 changes: 0 additions & 50 deletions private/protocol/ec2query/unmarshal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,10 @@ type OutputService1ProtocolTest struct {
}

// New creates a new instance of the OutputService1ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a OutputService1ProtocolTest client from just a config.
// svc := outputservice1protocoltest.New(myConfig)
//
// // Create a OutputService1ProtocolTest client with additional configuration
// svc := outputservice1protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewOutputService1ProtocolTest(config aws.Config) *OutputService1ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -183,15 +178,10 @@ type OutputService2ProtocolTest struct {
}

// New creates a new instance of the OutputService2ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a OutputService2ProtocolTest client from just a config.
// svc := outputservice2protocoltest.New(myConfig)
//
// // Create a OutputService2ProtocolTest client with additional configuration
// svc := outputservice2protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewOutputService2ProtocolTest(config aws.Config) *OutputService2ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -301,15 +291,10 @@ type OutputService3ProtocolTest struct {
}

// New creates a new instance of the OutputService3ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a OutputService3ProtocolTest client from just a config.
// svc := outputservice3protocoltest.New(myConfig)
//
// // Create a OutputService3ProtocolTest client with additional configuration
// svc := outputservice3protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewOutputService3ProtocolTest(config aws.Config) *OutputService3ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -418,15 +403,10 @@ type OutputService4ProtocolTest struct {
}

// New creates a new instance of the OutputService4ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a OutputService4ProtocolTest client from just a config.
// svc := outputservice4protocoltest.New(myConfig)
//
// // Create a OutputService4ProtocolTest client with additional configuration
// svc := outputservice4protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewOutputService4ProtocolTest(config aws.Config) *OutputService4ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -535,15 +515,10 @@ type OutputService5ProtocolTest struct {
}

// New creates a new instance of the OutputService5ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a OutputService5ProtocolTest client from just a config.
// svc := outputservice5protocoltest.New(myConfig)
//
// // Create a OutputService5ProtocolTest client with additional configuration
// svc := outputservice5protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewOutputService5ProtocolTest(config aws.Config) *OutputService5ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -652,15 +627,10 @@ type OutputService6ProtocolTest struct {
}

// New creates a new instance of the OutputService6ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a OutputService6ProtocolTest client from just a config.
// svc := outputservice6protocoltest.New(myConfig)
//
// // Create a OutputService6ProtocolTest client with additional configuration
// svc := outputservice6protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewOutputService6ProtocolTest(config aws.Config) *OutputService6ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -775,15 +745,10 @@ type OutputService7ProtocolTest struct {
}

// New creates a new instance of the OutputService7ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a OutputService7ProtocolTest client from just a config.
// svc := outputservice7protocoltest.New(myConfig)
//
// // Create a OutputService7ProtocolTest client with additional configuration
// svc := outputservice7protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewOutputService7ProtocolTest(config aws.Config) *OutputService7ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -892,15 +857,10 @@ type OutputService8ProtocolTest struct {
}

// New creates a new instance of the OutputService8ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a OutputService8ProtocolTest client from just a config.
// svc := outputservice8protocoltest.New(myConfig)
//
// // Create a OutputService8ProtocolTest client with additional configuration
// svc := outputservice8protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewOutputService8ProtocolTest(config aws.Config) *OutputService8ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -1009,15 +969,10 @@ type OutputService9ProtocolTest struct {
}

// New creates a new instance of the OutputService9ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a OutputService9ProtocolTest client from just a config.
// svc := outputservice9protocoltest.New(myConfig)
//
// // Create a OutputService9ProtocolTest client with additional configuration
// svc := outputservice9protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewOutputService9ProtocolTest(config aws.Config) *OutputService9ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down Expand Up @@ -1126,15 +1081,10 @@ type OutputService10ProtocolTest struct {
}

// New creates a new instance of the OutputService10ProtocolTest client with a config.
// If additional configuration is needed for the client instance use the
// optional aws.Config parameter to add your extra config.
//
// Example:
// // Create a OutputService10ProtocolTest client from just a config.
// svc := outputservice10protocoltest.New(myConfig)
//
// // Create a OutputService10ProtocolTest client with additional configuration
// svc := outputservice10protocoltest.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func NewOutputService10ProtocolTest(config aws.Config) *OutputService10ProtocolTest {
var signingName string
signingRegion := config.Region
Expand Down
Loading