Source File
service.go
Belonging Package
github.com/aws/aws-sdk-go/service/sts
package sts
import (
)
var initClient func(*client.Client)
var initRequest func(*request.Request)
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.
)
func ( client.ConfigProvider, ...*aws.Config) *STS {
:= .ClientConfig(EndpointsID, ...)
return newClient(*.Config, .Handlers, .PartitionID, .Endpoint, .SigningRegion, .SigningName)
}
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",
},
,
),
}
if initClient != nil {
initClient(.Client)
}
return
}
if initRequest != nil {
initRequest()
}
return
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |