diff options
Diffstat (limited to 'vendor/github.com/aws/aws-sdk-go/service/sts/service.go')
-rw-r--r-- | vendor/github.com/aws/aws-sdk-go/service/sts/service.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/github.com/aws/aws-sdk-go/service/sts/service.go b/vendor/github.com/aws/aws-sdk-go/service/sts/service.go index 1ee5839..185c914 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sts/service.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sts/service.go | |||
@@ -29,8 +29,9 @@ var initRequest func(*request.Request) | |||
29 | 29 | ||
30 | // Service information constants | 30 | // Service information constants |
31 | const ( | 31 | const ( |
32 | ServiceName = "sts" // Service endpoint prefix API calls made to. | 32 | ServiceName = "sts" // Name of service. |
33 | EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. | 33 | EndpointsID = ServiceName // ID to lookup a service endpoint with. |
34 | ServiceID = "STS" // ServiceID is a unique identifer of a specific service. | ||
34 | ) | 35 | ) |
35 | 36 | ||
36 | // New creates a new instance of the STS client with a session. | 37 | // New creates a new instance of the STS client with a session. |
@@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio | |||
55 | cfg, | 56 | cfg, |
56 | metadata.ClientInfo{ | 57 | metadata.ClientInfo{ |
57 | ServiceName: ServiceName, | 58 | ServiceName: ServiceName, |
59 | ServiceID: ServiceID, | ||
58 | SigningName: signingName, | 60 | SigningName: signingName, |
59 | SigningRegion: signingRegion, | 61 | SigningRegion: signingRegion, |
60 | Endpoint: endpoint, | 62 | Endpoint: endpoint, |