Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.

package sts

import (
	
	
	
	
	
	
)
STS provides the API operation methods for making requests to AWS Security Token Service. See this package's package overview docs for details on the service. STS methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
type STS struct {
	*client.Client
}
Used for custom client initialization logic
Used for custom request initialization logic
Service information constants
const (
	ServiceName = "sts"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "STS"       // ServiceID is a unique identifier of a specific service.
)
New creates a new instance of the STS client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config. Example: mySession := session.Must(session.NewSession()) // Create a STS client from just a session. svc := sts.New(mySession) // Create a STS client with additional configuration svc := sts.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
newClient creates, initializes and returns a new service client instance.
func ( aws.Config,  request.Handlers, , , ,  string) *STS {
	 := &STS{
		Client: client.New(
			,
			metadata.ClientInfo{
				ServiceName:   ServiceName,
				ServiceID:     ServiceID,
				SigningName:   ,
				SigningRegion: ,
				PartitionID:   ,
				Endpoint:      ,
				APIVersion:    "2011-06-15",
			},
			,
		),
	}
Run custom client initialization if present
	if initClient != nil {
		initClient(.Client)
	}

	return 
}
newRequest creates a new request for a STS operation and runs any custom request initialization.
func ( *STS) ( *request.Operation, ,  interface{}) *request.Request {
	 := .NewRequest(, , )
Run custom request initialization if present
	if initRequest != nil {
		initRequest()
	}

	return