Documentation ¶
Index ¶
Constants ¶
View Source
const ( STSEndpointPrefix = "https://sts." STSEndpointSuffix = ".amazonaws.com" STSAwsCnPartitionIDSuffix = ".amazonaws.com.cn" // AWS China partition. )
Variables ¶
This section is empty.
Functions ¶
func GetAWSConfigSession ¶
func GetAWSConfigSession(cn connAttr, c *cfg.Config, roleArn string, region string, noMetadata bool) (*aws.Config, *session.Session)
GetAWSConfigSession returns AWS config and session instances.
func IsTimeoutError ¶
IsTimeoutError checks whether error is timeout error.
Types ¶
type XRay ¶
type XRay interface { PutTraceSegments(input *xray.PutTraceSegmentsInput) (*xray.PutTraceSegmentsOutput, error) PutTelemetryRecords(input *xray.PutTelemetryRecordsInput) (*xray.PutTelemetryRecordsOutput, error) }
XRay defines X-Ray api call structure.
type XRayClient ¶
type XRayClient struct {
// contains filtered or unexported fields
}
XRayClient represents X-Ray client.
func (*XRayClient) PutTelemetryRecords ¶
func (c *XRayClient) PutTelemetryRecords(input *xray.PutTelemetryRecordsInput) (*xray.PutTelemetryRecordsOutput, error)
PutTelemetryRecords makes PutTelemetryRecords api call on X-Ray client.
func (*XRayClient) PutTraceSegments ¶
func (c *XRayClient) PutTraceSegments(input *xray.PutTraceSegmentsInput) (*xray.PutTraceSegmentsOutput, error)
PutTraceSegments makes PutTraceSegments api call on X-Ray client.
Click to show internal directories.
Click to hide internal directories.