package xray
import "github.com/aws/aws-sdk-go-v2/service/xray"
Package xray provides the client and types for making API requests to AWS X-Ray.
AWS X-Ray provides APIs for managing debug traces and retrieving service maps and other data created by processing those traces.
See https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12 for more information on this service.
See xray package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/xray/
Using the Client
To AWS X-Ray with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS X-Ray client XRay for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/xray/#New
Index ¶
- Constants
- type Alias
- func (s Alias) GoString() string
- func (s Alias) MarshalFields(e protocol.FieldEncoder) error
- func (s Alias) String() string
- type AnnotationValue
- func (s AnnotationValue) GoString() string
- func (s AnnotationValue) MarshalFields(e protocol.FieldEncoder) error
- func (s AnnotationValue) String() string
- type AvailabilityZoneDetail
- func (s AvailabilityZoneDetail) GoString() string
- func (s AvailabilityZoneDetail) MarshalFields(e protocol.FieldEncoder) error
- func (s AvailabilityZoneDetail) String() string
- type BackendConnectionErrors
- func (s BackendConnectionErrors) GoString() string
- func (s BackendConnectionErrors) MarshalFields(e protocol.FieldEncoder) error
- func (s BackendConnectionErrors) String() string
- type BatchGetTracesInput
- func (s BatchGetTracesInput) GoString() string
- func (s BatchGetTracesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s BatchGetTracesInput) String() string
- func (s *BatchGetTracesInput) Validate() error
- type BatchGetTracesOutput
- func (s BatchGetTracesOutput) GoString() string
- func (s BatchGetTracesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s BatchGetTracesOutput) SDKResponseMetadata() aws.Response
- func (s BatchGetTracesOutput) String() string
- type BatchGetTracesPager
- type BatchGetTracesRequest
- func (p *BatchGetTracesRequest) Paginate(opts ...aws.Option) BatchGetTracesPager
- func (r BatchGetTracesRequest) Send() (*BatchGetTracesOutput, error)
- type CreateGroupInput
- func (s CreateGroupInput) GoString() string
- func (s CreateGroupInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateGroupInput) String() string
- func (s *CreateGroupInput) Validate() error
- type CreateGroupOutput
- func (s CreateGroupOutput) GoString() string
- func (s CreateGroupOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateGroupOutput) SDKResponseMetadata() aws.Response
- func (s CreateGroupOutput) String() string
- type CreateGroupRequest
- type CreateSamplingRuleInput
- func (s CreateSamplingRuleInput) GoString() string
- func (s CreateSamplingRuleInput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateSamplingRuleInput) String() string
- func (s *CreateSamplingRuleInput) Validate() error
- type CreateSamplingRuleOutput
- func (s CreateSamplingRuleOutput) GoString() string
- func (s CreateSamplingRuleOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s CreateSamplingRuleOutput) SDKResponseMetadata() aws.Response
- func (s CreateSamplingRuleOutput) String() string
- type CreateSamplingRuleRequest
- type DeleteGroupInput
- func (s DeleteGroupInput) GoString() string
- func (s DeleteGroupInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteGroupInput) String() string
- func (s *DeleteGroupInput) Validate() error
- type DeleteGroupOutput
- func (s DeleteGroupOutput) GoString() string
- func (s DeleteGroupOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteGroupOutput) SDKResponseMetadata() aws.Response
- func (s DeleteGroupOutput) String() string
- type DeleteGroupRequest
- type DeleteSamplingRuleInput
- func (s DeleteSamplingRuleInput) GoString() string
- func (s DeleteSamplingRuleInput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteSamplingRuleInput) String() string
- type DeleteSamplingRuleOutput
- func (s DeleteSamplingRuleOutput) GoString() string
- func (s DeleteSamplingRuleOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s DeleteSamplingRuleOutput) SDKResponseMetadata() aws.Response
- func (s DeleteSamplingRuleOutput) String() string
- type DeleteSamplingRuleRequest
- type Edge
- func (s Edge) GoString() string
- func (s Edge) MarshalFields(e protocol.FieldEncoder) error
- func (s Edge) String() string
- type EdgeStatistics
- func (s EdgeStatistics) GoString() string
- func (s EdgeStatistics) MarshalFields(e protocol.FieldEncoder) error
- func (s EdgeStatistics) String() string
- type EncryptionConfig
- func (s EncryptionConfig) GoString() string
- func (s EncryptionConfig) MarshalFields(e protocol.FieldEncoder) error
- func (s EncryptionConfig) String() string
- type EncryptionStatus
- func (enum EncryptionStatus) MarshalValue() (string, error)
- func (enum EncryptionStatus) MarshalValueBuf(b []byte) ([]byte, error)
- type EncryptionType
- func (enum EncryptionType) MarshalValue() (string, error)
- func (enum EncryptionType) MarshalValueBuf(b []byte) ([]byte, error)
- type ErrorRootCause
- func (s ErrorRootCause) GoString() string
- func (s ErrorRootCause) MarshalFields(e protocol.FieldEncoder) error
- func (s ErrorRootCause) String() string
- type ErrorRootCauseEntity
- func (s ErrorRootCauseEntity) GoString() string
- func (s ErrorRootCauseEntity) MarshalFields(e protocol.FieldEncoder) error
- func (s ErrorRootCauseEntity) String() string
- type ErrorRootCauseService
- func (s ErrorRootCauseService) GoString() string
- func (s ErrorRootCauseService) MarshalFields(e protocol.FieldEncoder) error
- func (s ErrorRootCauseService) String() string
- type ErrorStatistics
- func (s ErrorStatistics) GoString() string
- func (s ErrorStatistics) MarshalFields(e protocol.FieldEncoder) error
- func (s ErrorStatistics) String() string
- type FaultRootCause
- func (s FaultRootCause) GoString() string
- func (s FaultRootCause) MarshalFields(e protocol.FieldEncoder) error
- func (s FaultRootCause) String() string
- type FaultRootCauseEntity
- func (s FaultRootCauseEntity) GoString() string
- func (s FaultRootCauseEntity) MarshalFields(e protocol.FieldEncoder) error
- func (s FaultRootCauseEntity) String() string
- type FaultRootCauseService
- func (s FaultRootCauseService) GoString() string
- func (s FaultRootCauseService) MarshalFields(e protocol.FieldEncoder) error
- func (s FaultRootCauseService) String() string
- type FaultStatistics
- func (s FaultStatistics) GoString() string
- func (s FaultStatistics) MarshalFields(e protocol.FieldEncoder) error
- func (s FaultStatistics) String() string
- type GetEncryptionConfigInput
- func (s GetEncryptionConfigInput) GoString() string
- func (s GetEncryptionConfigInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetEncryptionConfigInput) String() string
- type GetEncryptionConfigOutput
- func (s GetEncryptionConfigOutput) GoString() string
- func (s GetEncryptionConfigOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetEncryptionConfigOutput) SDKResponseMetadata() aws.Response
- func (s GetEncryptionConfigOutput) String() string
- type GetEncryptionConfigRequest
- type GetGroupInput
- func (s GetGroupInput) GoString() string
- func (s GetGroupInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetGroupInput) String() string
- func (s *GetGroupInput) Validate() error
- type GetGroupOutput
- func (s GetGroupOutput) GoString() string
- func (s GetGroupOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetGroupOutput) SDKResponseMetadata() aws.Response
- func (s GetGroupOutput) String() string
- type GetGroupRequest
- type GetGroupsInput
- func (s GetGroupsInput) GoString() string
- func (s GetGroupsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetGroupsInput) String() string
- func (s *GetGroupsInput) Validate() error
- type GetGroupsOutput
- func (s GetGroupsOutput) GoString() string
- func (s GetGroupsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetGroupsOutput) SDKResponseMetadata() aws.Response
- func (s GetGroupsOutput) String() string
- type GetGroupsRequest
- type GetSamplingRulesInput
- func (s GetSamplingRulesInput) GoString() string
- func (s GetSamplingRulesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetSamplingRulesInput) String() string
- type GetSamplingRulesOutput
- func (s GetSamplingRulesOutput) GoString() string
- func (s GetSamplingRulesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetSamplingRulesOutput) SDKResponseMetadata() aws.Response
- func (s GetSamplingRulesOutput) String() string
- type GetSamplingRulesRequest
- type GetSamplingStatisticSummariesInput
- func (s GetSamplingStatisticSummariesInput) GoString() string
- func (s GetSamplingStatisticSummariesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetSamplingStatisticSummariesInput) String() string
- type GetSamplingStatisticSummariesOutput
- func (s GetSamplingStatisticSummariesOutput) GoString() string
- func (s GetSamplingStatisticSummariesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetSamplingStatisticSummariesOutput) SDKResponseMetadata() aws.Response
- func (s GetSamplingStatisticSummariesOutput) String() string
- type GetSamplingStatisticSummariesRequest
- type GetSamplingTargetsInput
- func (s GetSamplingTargetsInput) GoString() string
- func (s GetSamplingTargetsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetSamplingTargetsInput) String() string
- func (s *GetSamplingTargetsInput) Validate() error
- type GetSamplingTargetsOutput
- func (s GetSamplingTargetsOutput) GoString() string
- func (s GetSamplingTargetsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetSamplingTargetsOutput) SDKResponseMetadata() aws.Response
- func (s GetSamplingTargetsOutput) String() string
- type GetSamplingTargetsRequest
- type GetServiceGraphInput
- func (s GetServiceGraphInput) GoString() string
- func (s GetServiceGraphInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetServiceGraphInput) String() string
- func (s *GetServiceGraphInput) Validate() error
- type GetServiceGraphOutput
- func (s GetServiceGraphOutput) GoString() string
- func (s GetServiceGraphOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetServiceGraphOutput) SDKResponseMetadata() aws.Response
- func (s GetServiceGraphOutput) String() string
- type GetServiceGraphPager
- type GetServiceGraphRequest
- func (p *GetServiceGraphRequest) Paginate(opts ...aws.Option) GetServiceGraphPager
- func (r GetServiceGraphRequest) Send() (*GetServiceGraphOutput, error)
- type GetTraceGraphInput
- func (s GetTraceGraphInput) GoString() string
- func (s GetTraceGraphInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetTraceGraphInput) String() string
- func (s *GetTraceGraphInput) Validate() error
- type GetTraceGraphOutput
- func (s GetTraceGraphOutput) GoString() string
- func (s GetTraceGraphOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetTraceGraphOutput) SDKResponseMetadata() aws.Response
- func (s GetTraceGraphOutput) String() string
- type GetTraceGraphPager
- type GetTraceGraphRequest
- func (p *GetTraceGraphRequest) Paginate(opts ...aws.Option) GetTraceGraphPager
- func (r GetTraceGraphRequest) Send() (*GetTraceGraphOutput, error)
- type GetTraceSummariesInput
- func (s GetTraceSummariesInput) GoString() string
- func (s GetTraceSummariesInput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetTraceSummariesInput) String() string
- func (s *GetTraceSummariesInput) Validate() error
- type GetTraceSummariesOutput
- func (s GetTraceSummariesOutput) GoString() string
- func (s GetTraceSummariesOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s GetTraceSummariesOutput) SDKResponseMetadata() aws.Response
- func (s GetTraceSummariesOutput) String() string
- type GetTraceSummariesPager
- type GetTraceSummariesRequest
- func (p *GetTraceSummariesRequest) Paginate(opts ...aws.Option) GetTraceSummariesPager
- func (r GetTraceSummariesRequest) Send() (*GetTraceSummariesOutput, error)
- type Group
- func (s Group) GoString() string
- func (s Group) MarshalFields(e protocol.FieldEncoder) error
- func (s Group) String() string
- type GroupSummary
- func (s GroupSummary) GoString() string
- func (s GroupSummary) MarshalFields(e protocol.FieldEncoder) error
- func (s GroupSummary) String() string
- type HistogramEntry
- func (s HistogramEntry) GoString() string
- func (s HistogramEntry) MarshalFields(e protocol.FieldEncoder) error
- func (s HistogramEntry) String() string
- type Http
- func (s Http) GoString() string
- func (s Http) MarshalFields(e protocol.FieldEncoder) error
- func (s Http) String() string
- type InstanceIdDetail
- func (s InstanceIdDetail) GoString() string
- func (s InstanceIdDetail) MarshalFields(e protocol.FieldEncoder) error
- func (s InstanceIdDetail) String() string
- type PutEncryptionConfigInput
- func (s PutEncryptionConfigInput) GoString() string
- func (s PutEncryptionConfigInput) MarshalFields(e protocol.FieldEncoder) error
- func (s PutEncryptionConfigInput) String() string
- func (s *PutEncryptionConfigInput) Validate() error
- type PutEncryptionConfigOutput
- func (s PutEncryptionConfigOutput) GoString() string
- func (s PutEncryptionConfigOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s PutEncryptionConfigOutput) SDKResponseMetadata() aws.Response
- func (s PutEncryptionConfigOutput) String() string
- type PutEncryptionConfigRequest
- type PutTelemetryRecordsInput
- func (s PutTelemetryRecordsInput) GoString() string
- func (s PutTelemetryRecordsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s PutTelemetryRecordsInput) String() string
- func (s *PutTelemetryRecordsInput) Validate() error
- type PutTelemetryRecordsOutput
- func (s PutTelemetryRecordsOutput) GoString() string
- func (s PutTelemetryRecordsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s PutTelemetryRecordsOutput) SDKResponseMetadata() aws.Response
- func (s PutTelemetryRecordsOutput) String() string
- type PutTelemetryRecordsRequest
- type PutTraceSegmentsInput
- func (s PutTraceSegmentsInput) GoString() string
- func (s PutTraceSegmentsInput) MarshalFields(e protocol.FieldEncoder) error
- func (s PutTraceSegmentsInput) String() string
- func (s *PutTraceSegmentsInput) Validate() error
- type PutTraceSegmentsOutput
- func (s PutTraceSegmentsOutput) GoString() string
- func (s PutTraceSegmentsOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s PutTraceSegmentsOutput) SDKResponseMetadata() aws.Response
- func (s PutTraceSegmentsOutput) String() string
- type PutTraceSegmentsRequest
- type ResourceARNDetail
- func (s ResourceARNDetail) GoString() string
- func (s ResourceARNDetail) MarshalFields(e protocol.FieldEncoder) error
- func (s ResourceARNDetail) String() string
- type ResponseTimeRootCause
- func (s ResponseTimeRootCause) GoString() string
- func (s ResponseTimeRootCause) MarshalFields(e protocol.FieldEncoder) error
- func (s ResponseTimeRootCause) String() string
- type ResponseTimeRootCauseEntity
- func (s ResponseTimeRootCauseEntity) GoString() string
- func (s ResponseTimeRootCauseEntity) MarshalFields(e protocol.FieldEncoder) error
- func (s ResponseTimeRootCauseEntity) String() string
- type ResponseTimeRootCauseService
- func (s ResponseTimeRootCauseService) GoString() string
- func (s ResponseTimeRootCauseService) MarshalFields(e protocol.FieldEncoder) error
- func (s ResponseTimeRootCauseService) String() string
- type RootCauseException
- func (s RootCauseException) GoString() string
- func (s RootCauseException) MarshalFields(e protocol.FieldEncoder) error
- func (s RootCauseException) String() string
- type SamplingRule
- func (s SamplingRule) GoString() string
- func (s SamplingRule) MarshalFields(e protocol.FieldEncoder) error
- func (s SamplingRule) String() string
- func (s *SamplingRule) Validate() error
- type SamplingRuleRecord
- func (s SamplingRuleRecord) GoString() string
- func (s SamplingRuleRecord) MarshalFields(e protocol.FieldEncoder) error
- func (s SamplingRuleRecord) String() string
- type SamplingRuleUpdate
- func (s SamplingRuleUpdate) GoString() string
- func (s SamplingRuleUpdate) MarshalFields(e protocol.FieldEncoder) error
- func (s SamplingRuleUpdate) String() string
- func (s *SamplingRuleUpdate) Validate() error
- type SamplingStatisticSummary
- func (s SamplingStatisticSummary) GoString() string
- func (s SamplingStatisticSummary) MarshalFields(e protocol.FieldEncoder) error
- func (s SamplingStatisticSummary) String() string
- type SamplingStatisticsDocument
- func (s SamplingStatisticsDocument) GoString() string
- func (s SamplingStatisticsDocument) MarshalFields(e protocol.FieldEncoder) error
- func (s SamplingStatisticsDocument) String() string
- func (s *SamplingStatisticsDocument) Validate() error
- type SamplingTargetDocument
- func (s SamplingTargetDocument) GoString() string
- func (s SamplingTargetDocument) MarshalFields(e protocol.FieldEncoder) error
- func (s SamplingTargetDocument) String() string
- type Segment
- func (s Segment) GoString() string
- func (s Segment) MarshalFields(e protocol.FieldEncoder) error
- func (s Segment) String() string
- type Service
- func (s Service) GoString() string
- func (s Service) MarshalFields(e protocol.FieldEncoder) error
- func (s Service) String() string
- type ServiceId
- func (s ServiceId) GoString() string
- func (s ServiceId) MarshalFields(e protocol.FieldEncoder) error
- func (s ServiceId) String() string
- type ServiceStatistics
- func (s ServiceStatistics) GoString() string
- func (s ServiceStatistics) MarshalFields(e protocol.FieldEncoder) error
- func (s ServiceStatistics) String() string
- type TelemetryRecord
- func (s TelemetryRecord) GoString() string
- func (s TelemetryRecord) MarshalFields(e protocol.FieldEncoder) error
- func (s TelemetryRecord) String() string
- func (s *TelemetryRecord) Validate() error
- type Trace
- func (s Trace) GoString() string
- func (s Trace) MarshalFields(e protocol.FieldEncoder) error
- func (s Trace) String() string
- type TraceSummary
- func (s TraceSummary) GoString() string
- func (s TraceSummary) MarshalFields(e protocol.FieldEncoder) error
- func (s TraceSummary) String() string
- type TraceUser
- func (s TraceUser) GoString() string
- func (s TraceUser) MarshalFields(e protocol.FieldEncoder) error
- func (s TraceUser) String() string
- type UnprocessedStatistics
- func (s UnprocessedStatistics) GoString() string
- func (s UnprocessedStatistics) MarshalFields(e protocol.FieldEncoder) error
- func (s UnprocessedStatistics) String() string
- type UnprocessedTraceSegment
- func (s UnprocessedTraceSegment) GoString() string
- func (s UnprocessedTraceSegment) MarshalFields(e protocol.FieldEncoder) error
- func (s UnprocessedTraceSegment) String() string
- type UpdateGroupInput
- func (s UpdateGroupInput) GoString() string
- func (s UpdateGroupInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateGroupInput) String() string
- func (s *UpdateGroupInput) Validate() error
- type UpdateGroupOutput
- func (s UpdateGroupOutput) GoString() string
- func (s UpdateGroupOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateGroupOutput) SDKResponseMetadata() aws.Response
- func (s UpdateGroupOutput) String() string
- type UpdateGroupRequest
- type UpdateSamplingRuleInput
- func (s UpdateSamplingRuleInput) GoString() string
- func (s UpdateSamplingRuleInput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateSamplingRuleInput) String() string
- func (s *UpdateSamplingRuleInput) Validate() error
- type UpdateSamplingRuleOutput
- func (s UpdateSamplingRuleOutput) GoString() string
- func (s UpdateSamplingRuleOutput) MarshalFields(e protocol.FieldEncoder) error
- func (s UpdateSamplingRuleOutput) SDKResponseMetadata() aws.Response
- func (s UpdateSamplingRuleOutput) String() string
- type UpdateSamplingRuleRequest
- type ValueWithServiceIds
- func (s ValueWithServiceIds) GoString() string
- func (s ValueWithServiceIds) MarshalFields(e protocol.FieldEncoder) error
- func (s ValueWithServiceIds) String() string
- type XRay
- func New(config aws.Config) *XRay
- func (c *XRay) BatchGetTracesRequest(input *BatchGetTracesInput) BatchGetTracesRequest
- func (c *XRay) CreateGroupRequest(input *CreateGroupInput) CreateGroupRequest
- func (c *XRay) CreateSamplingRuleRequest(input *CreateSamplingRuleInput) CreateSamplingRuleRequest
- func (c *XRay) DeleteGroupRequest(input *DeleteGroupInput) DeleteGroupRequest
- func (c *XRay) DeleteSamplingRuleRequest(input *DeleteSamplingRuleInput) DeleteSamplingRuleRequest
- func (c *XRay) GetEncryptionConfigRequest(input *GetEncryptionConfigInput) GetEncryptionConfigRequest
- func (c *XRay) GetGroupRequest(input *GetGroupInput) GetGroupRequest
- func (c *XRay) GetGroupsRequest(input *GetGroupsInput) GetGroupsRequest
- func (c *XRay) GetSamplingRulesRequest(input *GetSamplingRulesInput) GetSamplingRulesRequest
- func (c *XRay) GetSamplingStatisticSummariesRequest(input *GetSamplingStatisticSummariesInput) GetSamplingStatisticSummariesRequest
- func (c *XRay) GetSamplingTargetsRequest(input *GetSamplingTargetsInput) GetSamplingTargetsRequest
- func (c *XRay) GetServiceGraphRequest(input *GetServiceGraphInput) GetServiceGraphRequest
- func (c *XRay) GetTraceGraphRequest(input *GetTraceGraphInput) GetTraceGraphRequest
- func (c *XRay) GetTraceSummariesRequest(input *GetTraceSummariesInput) GetTraceSummariesRequest
- func (c *XRay) PutEncryptionConfigRequest(input *PutEncryptionConfigInput) PutEncryptionConfigRequest
- func (c *XRay) PutTelemetryRecordsRequest(input *PutTelemetryRecordsInput) PutTelemetryRecordsRequest
- func (c *XRay) PutTraceSegmentsRequest(input *PutTraceSegmentsInput) PutTraceSegmentsRequest
- func (c *XRay) UpdateGroupRequest(input *UpdateGroupInput) UpdateGroupRequest
- func (c *XRay) UpdateSamplingRuleRequest(input *UpdateSamplingRuleInput) UpdateSamplingRuleRequest
Constants ¶
const ( // ErrCodeInvalidRequestException for service response error code // "InvalidRequestException". // // The request is missing required parameters or has invalid parameters. ErrCodeInvalidRequestException = "InvalidRequestException" // ErrCodeRuleLimitExceededException for service response error code // "RuleLimitExceededException". // // You have reached the maximum number of sampling rules. ErrCodeRuleLimitExceededException = "RuleLimitExceededException" // ErrCodeThrottledException for service response error code // "ThrottledException". // // The request exceeds the maximum number of requests per second. ErrCodeThrottledException = "ThrottledException" )
const ( ServiceName = "xray" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Types ¶
type Alias ¶
type Alias struct { // The canonical name of the alias. Name *string `type:"string"` // A list of names for the alias, including the canonical name. Names []string `type:"list"` // The type of the alias. Type *string `type:"string"` // contains filtered or unexported fields }
An alias for an edge. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Alias
func (Alias) GoString ¶
GoString returns the string representation
func (Alias) MarshalFields ¶
func (s Alias) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Alias) String ¶
String returns the string representation
type AnnotationValue ¶
type AnnotationValue struct { // Value for a Boolean annotation. BooleanValue *bool `type:"boolean"` // Value for a Number annotation. NumberValue *float64 `type:"double"` // Value for a String annotation. StringValue *string `type:"string"` // contains filtered or unexported fields }
Value of a segment annotation. Has one of three value types: Number, Boolean or String. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/AnnotationValue
func (AnnotationValue) GoString ¶
func (s AnnotationValue) GoString() string
GoString returns the string representation
func (AnnotationValue) MarshalFields ¶
func (s AnnotationValue) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AnnotationValue) String ¶
func (s AnnotationValue) String() string
String returns the string representation
type AvailabilityZoneDetail ¶
type AvailabilityZoneDetail struct { // The name of a corresponding availability zone. Name *string `type:"string"` // contains filtered or unexported fields }
A list of availability zones corresponding to the segments in a trace. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/AvailabilityZoneDetail
func (AvailabilityZoneDetail) GoString ¶
func (s AvailabilityZoneDetail) GoString() string
GoString returns the string representation
func (AvailabilityZoneDetail) MarshalFields ¶
func (s AvailabilityZoneDetail) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (AvailabilityZoneDetail) String ¶
func (s AvailabilityZoneDetail) String() string
String returns the string representation
type BackendConnectionErrors ¶
type BackendConnectionErrors struct { ConnectionRefusedCount *int64 `type:"integer"` HTTPCode4XXCount *int64 `type:"integer"` HTTPCode5XXCount *int64 `type:"integer"` OtherCount *int64 `type:"integer"` TimeoutCount *int64 `type:"integer"` UnknownHostCount *int64 `type:"integer"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/BackendConnectionErrors
func (BackendConnectionErrors) GoString ¶
func (s BackendConnectionErrors) GoString() string
GoString returns the string representation
func (BackendConnectionErrors) MarshalFields ¶
func (s BackendConnectionErrors) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (BackendConnectionErrors) String ¶
func (s BackendConnectionErrors) String() string
String returns the string representation
type BatchGetTracesInput ¶
type BatchGetTracesInput struct { // Pagination token. Not used. NextToken *string `type:"string"` // Specify the trace IDs of requests for which to retrieve segments. // // TraceIds is a required field TraceIds []string `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/BatchGetTracesRequest
func (BatchGetTracesInput) GoString ¶
func (s BatchGetTracesInput) GoString() string
GoString returns the string representation
func (BatchGetTracesInput) MarshalFields ¶
func (s BatchGetTracesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (BatchGetTracesInput) String ¶
func (s BatchGetTracesInput) String() string
String returns the string representation
func (*BatchGetTracesInput) Validate ¶
func (s *BatchGetTracesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BatchGetTracesOutput ¶
type BatchGetTracesOutput struct { // Pagination token. Not used. NextToken *string `type:"string"` // Full traces for the specified requests. Traces []Trace `type:"list"` // Trace IDs of requests that haven't been processed. UnprocessedTraceIds []string `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/BatchGetTracesResult
func (BatchGetTracesOutput) GoString ¶
func (s BatchGetTracesOutput) GoString() string
GoString returns the string representation
func (BatchGetTracesOutput) MarshalFields ¶
func (s BatchGetTracesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (BatchGetTracesOutput) SDKResponseMetadata ¶
func (s BatchGetTracesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (BatchGetTracesOutput) String ¶
func (s BatchGetTracesOutput) String() string
String returns the string representation
type BatchGetTracesPager ¶
BatchGetTracesPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*BatchGetTracesPager) CurrentPage ¶
func (p *BatchGetTracesPager) CurrentPage() *BatchGetTracesOutput
type BatchGetTracesRequest ¶
type BatchGetTracesRequest struct { *aws.Request Input *BatchGetTracesInput Copy func(*BatchGetTracesInput) BatchGetTracesRequest }
BatchGetTracesRequest is a API request type for the BatchGetTraces API operation.
func (*BatchGetTracesRequest) Paginate ¶
func (p *BatchGetTracesRequest) Paginate(opts ...aws.Option) BatchGetTracesPager
Paginate pages iterates over the pages of a BatchGetTracesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a BatchGetTraces operation. req := client.BatchGetTracesRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (BatchGetTracesRequest) Send ¶
func (r BatchGetTracesRequest) Send() (*BatchGetTracesOutput, error)
Send marshals and sends the BatchGetTraces API request.
type CreateGroupInput ¶
type CreateGroupInput struct { // The filter expression defining criteria by which to group traces. FilterExpression *string `min:"1" type:"string"` // The case-sensitive name of the new group. Default is a reserved name and // names must be unique. // // GroupName is a required field GroupName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupRequest
func (CreateGroupInput) GoString ¶
func (s CreateGroupInput) GoString() string
GoString returns the string representation
func (CreateGroupInput) MarshalFields ¶
func (s CreateGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateGroupInput) String ¶
func (s CreateGroupInput) String() string
String returns the string representation
func (*CreateGroupInput) Validate ¶
func (s *CreateGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateGroupOutput ¶
type CreateGroupOutput struct { // The group that was created. Contains the name of the group that was created, // the ARN of the group that was generated based on the group name, and the // filter expression that was assigned to the group. Group *Group `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroupResult
func (CreateGroupOutput) GoString ¶
func (s CreateGroupOutput) GoString() string
GoString returns the string representation
func (CreateGroupOutput) MarshalFields ¶
func (s CreateGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateGroupOutput) SDKResponseMetadata ¶
func (s CreateGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateGroupOutput) String ¶
func (s CreateGroupOutput) String() string
String returns the string representation
type CreateGroupRequest ¶
type CreateGroupRequest struct { *aws.Request Input *CreateGroupInput Copy func(*CreateGroupInput) CreateGroupRequest }
CreateGroupRequest is a API request type for the CreateGroup API operation.
func (CreateGroupRequest) Send ¶
func (r CreateGroupRequest) Send() (*CreateGroupOutput, error)
Send marshals and sends the CreateGroup API request.
type CreateSamplingRuleInput ¶
type CreateSamplingRuleInput struct { // The rule definition. // // SamplingRule is a required field SamplingRule *SamplingRule `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateSamplingRuleRequest
func (CreateSamplingRuleInput) GoString ¶
func (s CreateSamplingRuleInput) GoString() string
GoString returns the string representation
func (CreateSamplingRuleInput) MarshalFields ¶
func (s CreateSamplingRuleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateSamplingRuleInput) String ¶
func (s CreateSamplingRuleInput) String() string
String returns the string representation
func (*CreateSamplingRuleInput) Validate ¶
func (s *CreateSamplingRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSamplingRuleOutput ¶
type CreateSamplingRuleOutput struct { // The saved rule definition and metadata. SamplingRuleRecord *SamplingRuleRecord `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateSamplingRuleResult
func (CreateSamplingRuleOutput) GoString ¶
func (s CreateSamplingRuleOutput) GoString() string
GoString returns the string representation
func (CreateSamplingRuleOutput) MarshalFields ¶
func (s CreateSamplingRuleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (CreateSamplingRuleOutput) SDKResponseMetadata ¶
func (s CreateSamplingRuleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateSamplingRuleOutput) String ¶
func (s CreateSamplingRuleOutput) String() string
String returns the string representation
type CreateSamplingRuleRequest ¶
type CreateSamplingRuleRequest struct { *aws.Request Input *CreateSamplingRuleInput Copy func(*CreateSamplingRuleInput) CreateSamplingRuleRequest }
CreateSamplingRuleRequest is a API request type for the CreateSamplingRule API operation.
func (CreateSamplingRuleRequest) Send ¶
func (r CreateSamplingRuleRequest) Send() (*CreateSamplingRuleOutput, error)
Send marshals and sends the CreateSamplingRule API request.
type DeleteGroupInput ¶
type DeleteGroupInput struct { // The ARN of the group that was generated on creation. GroupARN *string `min:"1" type:"string"` // The case-sensitive name of the group. GroupName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteGroupRequest
func (DeleteGroupInput) GoString ¶
func (s DeleteGroupInput) GoString() string
GoString returns the string representation
func (DeleteGroupInput) MarshalFields ¶
func (s DeleteGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteGroupInput) String ¶
func (s DeleteGroupInput) String() string
String returns the string representation
func (*DeleteGroupInput) Validate ¶
func (s *DeleteGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteGroupOutput ¶
type DeleteGroupOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteGroupResult
func (DeleteGroupOutput) GoString ¶
func (s DeleteGroupOutput) GoString() string
GoString returns the string representation
func (DeleteGroupOutput) MarshalFields ¶
func (s DeleteGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteGroupOutput) SDKResponseMetadata ¶
func (s DeleteGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteGroupOutput) String ¶
func (s DeleteGroupOutput) String() string
String returns the string representation
type DeleteGroupRequest ¶
type DeleteGroupRequest struct { *aws.Request Input *DeleteGroupInput Copy func(*DeleteGroupInput) DeleteGroupRequest }
DeleteGroupRequest is a API request type for the DeleteGroup API operation.
func (DeleteGroupRequest) Send ¶
func (r DeleteGroupRequest) Send() (*DeleteGroupOutput, error)
Send marshals and sends the DeleteGroup API request.
type DeleteSamplingRuleInput ¶
type DeleteSamplingRuleInput struct { // The ARN of the sampling rule. Specify a rule by either name or ARN, but not // both. RuleARN *string `type:"string"` // The name of the sampling rule. Specify a rule by either name or ARN, but // not both. RuleName *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteSamplingRuleRequest
func (DeleteSamplingRuleInput) GoString ¶
func (s DeleteSamplingRuleInput) GoString() string
GoString returns the string representation
func (DeleteSamplingRuleInput) MarshalFields ¶
func (s DeleteSamplingRuleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteSamplingRuleInput) String ¶
func (s DeleteSamplingRuleInput) String() string
String returns the string representation
type DeleteSamplingRuleOutput ¶
type DeleteSamplingRuleOutput struct { // The deleted rule definition and metadata. SamplingRuleRecord *SamplingRuleRecord `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteSamplingRuleResult
func (DeleteSamplingRuleOutput) GoString ¶
func (s DeleteSamplingRuleOutput) GoString() string
GoString returns the string representation
func (DeleteSamplingRuleOutput) MarshalFields ¶
func (s DeleteSamplingRuleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (DeleteSamplingRuleOutput) SDKResponseMetadata ¶
func (s DeleteSamplingRuleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteSamplingRuleOutput) String ¶
func (s DeleteSamplingRuleOutput) String() string
String returns the string representation
type DeleteSamplingRuleRequest ¶
type DeleteSamplingRuleRequest struct { *aws.Request Input *DeleteSamplingRuleInput Copy func(*DeleteSamplingRuleInput) DeleteSamplingRuleRequest }
DeleteSamplingRuleRequest is a API request type for the DeleteSamplingRule API operation.
func (DeleteSamplingRuleRequest) Send ¶
func (r DeleteSamplingRuleRequest) Send() (*DeleteSamplingRuleOutput, error)
Send marshals and sends the DeleteSamplingRule API request.
type Edge ¶
type Edge struct { // Aliases for the edge. Aliases []Alias `type:"list"` // The end time of the last segment on the edge. EndTime *time.Time `type:"timestamp" timestampFormat:"unix"` // Identifier of the edge. Unique within a service map. ReferenceId *int64 `type:"integer"` // A histogram that maps the spread of client response times on an edge. ResponseTimeHistogram []HistogramEntry `type:"list"` // The start time of the first segment on the edge. StartTime *time.Time `type:"timestamp" timestampFormat:"unix"` // Response statistics for segments on the edge. SummaryStatistics *EdgeStatistics `type:"structure"` // contains filtered or unexported fields }
Information about a connection between two services. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Edge
func (Edge) GoString ¶
GoString returns the string representation
func (Edge) MarshalFields ¶
func (s Edge) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Edge) String ¶
String returns the string representation
type EdgeStatistics ¶
type EdgeStatistics struct { // Information about requests that failed with a 4xx Client Error status code. ErrorStatistics *ErrorStatistics `type:"structure"` // Information about requests that failed with a 5xx Server Error status code. FaultStatistics *FaultStatistics `type:"structure"` // The number of requests that completed with a 2xx Success status code. OkCount *int64 `type:"long"` // The total number of completed requests. TotalCount *int64 `type:"long"` // The aggregate response time of completed requests. TotalResponseTime *float64 `type:"double"` // contains filtered or unexported fields }
Response statistics for an edge. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/EdgeStatistics
func (EdgeStatistics) GoString ¶
func (s EdgeStatistics) GoString() string
GoString returns the string representation
func (EdgeStatistics) MarshalFields ¶
func (s EdgeStatistics) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EdgeStatistics) String ¶
func (s EdgeStatistics) String() string
String returns the string representation
type EncryptionConfig ¶
type EncryptionConfig struct { // The ID of the customer master key (CMK) used for encryption, if applicable. KeyId *string `type:"string"` // The encryption status. While the status is UPDATING, X-Ray may encrypt data // with a combination of the new and old settings. Status EncryptionStatus `type:"string" enum:"true"` // The type of encryption. Set to KMS for encryption with CMKs. Set to NONE // for default encryption. Type EncryptionType `type:"string" enum:"true"` // contains filtered or unexported fields }
A configuration document that specifies encryption configuration settings. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/EncryptionConfig
func (EncryptionConfig) GoString ¶
func (s EncryptionConfig) GoString() string
GoString returns the string representation
func (EncryptionConfig) MarshalFields ¶
func (s EncryptionConfig) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (EncryptionConfig) String ¶
func (s EncryptionConfig) String() string
String returns the string representation
type EncryptionStatus ¶
type EncryptionStatus string
const ( EncryptionStatusUpdating EncryptionStatus = "UPDATING" EncryptionStatusActive EncryptionStatus = "ACTIVE" )
Enum values for EncryptionStatus
func (EncryptionStatus) MarshalValue ¶
func (enum EncryptionStatus) MarshalValue() (string, error)
func (EncryptionStatus) MarshalValueBuf ¶
func (enum EncryptionStatus) MarshalValueBuf(b []byte) ([]byte, error)
type EncryptionType ¶
type EncryptionType string
const ( EncryptionTypeNone EncryptionType = "NONE" EncryptionTypeKms EncryptionType = "KMS" )
Enum values for EncryptionType
func (EncryptionType) MarshalValue ¶
func (enum EncryptionType) MarshalValue() (string, error)
func (EncryptionType) MarshalValueBuf ¶
func (enum EncryptionType) MarshalValueBuf(b []byte) ([]byte, error)
type ErrorRootCause ¶
type ErrorRootCause struct { // A list of services corresponding to an error. A service identifies a segment // and it contains a name, account ID, type, and inferred flag. Services []ErrorRootCauseService `type:"list"` // contains filtered or unexported fields }
The root cause of a trace summary error. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ErrorRootCause
func (ErrorRootCause) GoString ¶
func (s ErrorRootCause) GoString() string
GoString returns the string representation
func (ErrorRootCause) MarshalFields ¶
func (s ErrorRootCause) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ErrorRootCause) String ¶
func (s ErrorRootCause) String() string
String returns the string representation
type ErrorRootCauseEntity ¶
type ErrorRootCauseEntity struct { // The types and messages of the exceptions. Exceptions []RootCauseException `type:"list"` // The name of the entity. Name *string `type:"string"` // A flag that denotes a remote subsegment. Remote *bool `type:"boolean"` // contains filtered or unexported fields }
A collection of segments and corresponding subsegments associated to a trace summary error. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ErrorRootCauseEntity
func (ErrorRootCauseEntity) GoString ¶
func (s ErrorRootCauseEntity) GoString() string
GoString returns the string representation
func (ErrorRootCauseEntity) MarshalFields ¶
func (s ErrorRootCauseEntity) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ErrorRootCauseEntity) String ¶
func (s ErrorRootCauseEntity) String() string
String returns the string representation
type ErrorRootCauseService ¶
type ErrorRootCauseService struct { // The account ID associated to the service. AccountId *string `type:"string"` // The path of root cause entities found on the service. EntityPath []ErrorRootCauseEntity `type:"list"` // A Boolean value indicating if the service is inferred from the trace. Inferred *bool `type:"boolean"` // The service name. Name *string `type:"string"` // A collection of associated service names. Names []string `type:"list"` // The type associated to the service. Type *string `type:"string"` // contains filtered or unexported fields }
A collection of fields identifying the services in a trace summary error. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ErrorRootCauseService
func (ErrorRootCauseService) GoString ¶
func (s ErrorRootCauseService) GoString() string
GoString returns the string representation
func (ErrorRootCauseService) MarshalFields ¶
func (s ErrorRootCauseService) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ErrorRootCauseService) String ¶
func (s ErrorRootCauseService) String() string
String returns the string representation
type ErrorStatistics ¶
type ErrorStatistics struct { // The number of requests that failed with untracked 4xx Client Error status // codes. OtherCount *int64 `type:"long"` // The number of requests that failed with a 419 throttling status code. ThrottleCount *int64 `type:"long"` // The total number of requests that failed with a 4xx Client Error status code. TotalCount *int64 `type:"long"` // contains filtered or unexported fields }
Information about requests that failed with a 4xx Client Error status code. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ErrorStatistics
func (ErrorStatistics) GoString ¶
func (s ErrorStatistics) GoString() string
GoString returns the string representation
func (ErrorStatistics) MarshalFields ¶
func (s ErrorStatistics) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ErrorStatistics) String ¶
func (s ErrorStatistics) String() string
String returns the string representation
type FaultRootCause ¶
type FaultRootCause struct { // A list of corresponding services. A service identifies a segment and it contains // a name, account ID, type, and inferred flag. Services []FaultRootCauseService `type:"list"` // contains filtered or unexported fields }
The root cause information for a trace summary fault. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/FaultRootCause
func (FaultRootCause) GoString ¶
func (s FaultRootCause) GoString() string
GoString returns the string representation
func (FaultRootCause) MarshalFields ¶
func (s FaultRootCause) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FaultRootCause) String ¶
func (s FaultRootCause) String() string
String returns the string representation
type FaultRootCauseEntity ¶
type FaultRootCauseEntity struct { // The types and messages of the exceptions. Exceptions []RootCauseException `type:"list"` // The name of the entity. Name *string `type:"string"` // A flag that denotes a remote subsegment. Remote *bool `type:"boolean"` // contains filtered or unexported fields }
A collection of segments and corresponding subsegments associated to a trace summary fault error. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/FaultRootCauseEntity
func (FaultRootCauseEntity) GoString ¶
func (s FaultRootCauseEntity) GoString() string
GoString returns the string representation
func (FaultRootCauseEntity) MarshalFields ¶
func (s FaultRootCauseEntity) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FaultRootCauseEntity) String ¶
func (s FaultRootCauseEntity) String() string
String returns the string representation
type FaultRootCauseService ¶
type FaultRootCauseService struct { // The account ID associated to the service. AccountId *string `type:"string"` // The path of root cause entities found on the service. EntityPath []FaultRootCauseEntity `type:"list"` // A Boolean value indicating if the service is inferred from the trace. Inferred *bool `type:"boolean"` // The service name. Name *string `type:"string"` // A collection of associated service names. Names []string `type:"list"` // The type associated to the service. Type *string `type:"string"` // contains filtered or unexported fields }
A collection of fields identifying the services in a trace summary fault. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/FaultRootCauseService
func (FaultRootCauseService) GoString ¶
func (s FaultRootCauseService) GoString() string
GoString returns the string representation
func (FaultRootCauseService) MarshalFields ¶
func (s FaultRootCauseService) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FaultRootCauseService) String ¶
func (s FaultRootCauseService) String() string
String returns the string representation
type FaultStatistics ¶
type FaultStatistics struct { // The number of requests that failed with untracked 5xx Server Error status // codes. OtherCount *int64 `type:"long"` // The total number of requests that failed with a 5xx Server Error status code. TotalCount *int64 `type:"long"` // contains filtered or unexported fields }
Information about requests that failed with a 5xx Server Error status code. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/FaultStatistics
func (FaultStatistics) GoString ¶
func (s FaultStatistics) GoString() string
GoString returns the string representation
func (FaultStatistics) MarshalFields ¶
func (s FaultStatistics) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (FaultStatistics) String ¶
func (s FaultStatistics) String() string
String returns the string representation
type GetEncryptionConfigInput ¶
type GetEncryptionConfigInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetEncryptionConfigRequest
func (GetEncryptionConfigInput) GoString ¶
func (s GetEncryptionConfigInput) GoString() string
GoString returns the string representation
func (GetEncryptionConfigInput) MarshalFields ¶
func (s GetEncryptionConfigInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetEncryptionConfigInput) String ¶
func (s GetEncryptionConfigInput) String() string
String returns the string representation
type GetEncryptionConfigOutput ¶
type GetEncryptionConfigOutput struct { // The encryption configuration document. EncryptionConfig *EncryptionConfig `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetEncryptionConfigResult
func (GetEncryptionConfigOutput) GoString ¶
func (s GetEncryptionConfigOutput) GoString() string
GoString returns the string representation
func (GetEncryptionConfigOutput) MarshalFields ¶
func (s GetEncryptionConfigOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetEncryptionConfigOutput) SDKResponseMetadata ¶
func (s GetEncryptionConfigOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetEncryptionConfigOutput) String ¶
func (s GetEncryptionConfigOutput) String() string
String returns the string representation
type GetEncryptionConfigRequest ¶
type GetEncryptionConfigRequest struct { *aws.Request Input *GetEncryptionConfigInput Copy func(*GetEncryptionConfigInput) GetEncryptionConfigRequest }
GetEncryptionConfigRequest is a API request type for the GetEncryptionConfig API operation.
func (GetEncryptionConfigRequest) Send ¶
func (r GetEncryptionConfigRequest) Send() (*GetEncryptionConfigOutput, error)
Send marshals and sends the GetEncryptionConfig API request.
type GetGroupInput ¶
type GetGroupInput struct { // The ARN of the group that was generated on creation. GroupARN *string `min:"1" type:"string"` // The case-sensitive name of the group. GroupName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroupRequest
func (GetGroupInput) GoString ¶
func (s GetGroupInput) GoString() string
GoString returns the string representation
func (GetGroupInput) MarshalFields ¶
func (s GetGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetGroupInput) String ¶
func (s GetGroupInput) String() string
String returns the string representation
func (*GetGroupInput) Validate ¶
func (s *GetGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetGroupOutput ¶
type GetGroupOutput struct { // The group that was requested. Contains the name of the group, the ARN of // the group, and the filter expression that assigned to the group. Group *Group `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroupResult
func (GetGroupOutput) GoString ¶
func (s GetGroupOutput) GoString() string
GoString returns the string representation
func (GetGroupOutput) MarshalFields ¶
func (s GetGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetGroupOutput) SDKResponseMetadata ¶
func (s GetGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetGroupOutput) String ¶
func (s GetGroupOutput) String() string
String returns the string representation
type GetGroupRequest ¶
type GetGroupRequest struct { *aws.Request Input *GetGroupInput Copy func(*GetGroupInput) GetGroupRequest }
GetGroupRequest is a API request type for the GetGroup API operation.
func (GetGroupRequest) Send ¶
func (r GetGroupRequest) Send() (*GetGroupOutput, error)
Send marshals and sends the GetGroup API request.
type GetGroupsInput ¶
type GetGroupsInput struct { // Pagination token. Not used. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroupsRequest
func (GetGroupsInput) GoString ¶
func (s GetGroupsInput) GoString() string
GoString returns the string representation
func (GetGroupsInput) MarshalFields ¶
func (s GetGroupsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetGroupsInput) String ¶
func (s GetGroupsInput) String() string
String returns the string representation
func (*GetGroupsInput) Validate ¶
func (s *GetGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetGroupsOutput ¶
type GetGroupsOutput struct { // The collection of all active groups. Groups []GroupSummary `type:"list"` // Pagination token. Not used. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroupsResult
func (GetGroupsOutput) GoString ¶
func (s GetGroupsOutput) GoString() string
GoString returns the string representation
func (GetGroupsOutput) MarshalFields ¶
func (s GetGroupsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetGroupsOutput) SDKResponseMetadata ¶
func (s GetGroupsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetGroupsOutput) String ¶
func (s GetGroupsOutput) String() string
String returns the string representation
type GetGroupsRequest ¶
type GetGroupsRequest struct { *aws.Request Input *GetGroupsInput Copy func(*GetGroupsInput) GetGroupsRequest }
GetGroupsRequest is a API request type for the GetGroups API operation.
func (GetGroupsRequest) Send ¶
func (r GetGroupsRequest) Send() (*GetGroupsOutput, error)
Send marshals and sends the GetGroups API request.
type GetSamplingRulesInput ¶
type GetSamplingRulesInput struct { // Pagination token. Not used. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingRulesRequest
func (GetSamplingRulesInput) GoString ¶
func (s GetSamplingRulesInput) GoString() string
GoString returns the string representation
func (GetSamplingRulesInput) MarshalFields ¶
func (s GetSamplingRulesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetSamplingRulesInput) String ¶
func (s GetSamplingRulesInput) String() string
String returns the string representation
type GetSamplingRulesOutput ¶
type GetSamplingRulesOutput struct { // Pagination token. Not used. NextToken *string `type:"string"` // Rule definitions and metadata. SamplingRuleRecords []SamplingRuleRecord `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingRulesResult
func (GetSamplingRulesOutput) GoString ¶
func (s GetSamplingRulesOutput) GoString() string
GoString returns the string representation
func (GetSamplingRulesOutput) MarshalFields ¶
func (s GetSamplingRulesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetSamplingRulesOutput) SDKResponseMetadata ¶
func (s GetSamplingRulesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetSamplingRulesOutput) String ¶
func (s GetSamplingRulesOutput) String() string
String returns the string representation
type GetSamplingRulesRequest ¶
type GetSamplingRulesRequest struct { *aws.Request Input *GetSamplingRulesInput Copy func(*GetSamplingRulesInput) GetSamplingRulesRequest }
GetSamplingRulesRequest is a API request type for the GetSamplingRules API operation.
func (GetSamplingRulesRequest) Send ¶
func (r GetSamplingRulesRequest) Send() (*GetSamplingRulesOutput, error)
Send marshals and sends the GetSamplingRules API request.
type GetSamplingStatisticSummariesInput ¶
type GetSamplingStatisticSummariesInput struct { // Pagination token. Not used. NextToken *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingStatisticSummariesRequest
func (GetSamplingStatisticSummariesInput) GoString ¶
func (s GetSamplingStatisticSummariesInput) GoString() string
GoString returns the string representation
func (GetSamplingStatisticSummariesInput) MarshalFields ¶
func (s GetSamplingStatisticSummariesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetSamplingStatisticSummariesInput) String ¶
func (s GetSamplingStatisticSummariesInput) String() string
String returns the string representation
type GetSamplingStatisticSummariesOutput ¶
type GetSamplingStatisticSummariesOutput struct { // Pagination token. Not used. NextToken *string `type:"string"` // Information about the number of requests instrumented for each sampling rule. SamplingStatisticSummaries []SamplingStatisticSummary `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingStatisticSummariesResult
func (GetSamplingStatisticSummariesOutput) GoString ¶
func (s GetSamplingStatisticSummariesOutput) GoString() string
GoString returns the string representation
func (GetSamplingStatisticSummariesOutput) MarshalFields ¶
func (s GetSamplingStatisticSummariesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetSamplingStatisticSummariesOutput) SDKResponseMetadata ¶
func (s GetSamplingStatisticSummariesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetSamplingStatisticSummariesOutput) String ¶
func (s GetSamplingStatisticSummariesOutput) String() string
String returns the string representation
type GetSamplingStatisticSummariesRequest ¶
type GetSamplingStatisticSummariesRequest struct { *aws.Request Input *GetSamplingStatisticSummariesInput Copy func(*GetSamplingStatisticSummariesInput) GetSamplingStatisticSummariesRequest }
GetSamplingStatisticSummariesRequest is a API request type for the GetSamplingStatisticSummaries API operation.
func (GetSamplingStatisticSummariesRequest) Send ¶
func (r GetSamplingStatisticSummariesRequest) Send() (*GetSamplingStatisticSummariesOutput, error)
Send marshals and sends the GetSamplingStatisticSummaries API request.
type GetSamplingTargetsInput ¶
type GetSamplingTargetsInput struct { // Information about rules that the service is using to sample requests. // // SamplingStatisticsDocuments is a required field SamplingStatisticsDocuments []SamplingStatisticsDocument `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingTargetsRequest
func (GetSamplingTargetsInput) GoString ¶
func (s GetSamplingTargetsInput) GoString() string
GoString returns the string representation
func (GetSamplingTargetsInput) MarshalFields ¶
func (s GetSamplingTargetsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetSamplingTargetsInput) String ¶
func (s GetSamplingTargetsInput) String() string
String returns the string representation
func (*GetSamplingTargetsInput) Validate ¶
func (s *GetSamplingTargetsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetSamplingTargetsOutput ¶
type GetSamplingTargetsOutput struct { // The last time a user changed the sampling rule configuration. If the sampling // rule configuration changed since the service last retrieved it, the service // should call GetSamplingRules to get the latest version. LastRuleModification *time.Time `type:"timestamp" timestampFormat:"unix"` // Updated rules that the service should use to sample requests. SamplingTargetDocuments []SamplingTargetDocument `type:"list"` // Information about SamplingStatisticsDocument that X-Ray could not process. UnprocessedStatistics []UnprocessedStatistics `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingTargetsResult
func (GetSamplingTargetsOutput) GoString ¶
func (s GetSamplingTargetsOutput) GoString() string
GoString returns the string representation
func (GetSamplingTargetsOutput) MarshalFields ¶
func (s GetSamplingTargetsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetSamplingTargetsOutput) SDKResponseMetadata ¶
func (s GetSamplingTargetsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetSamplingTargetsOutput) String ¶
func (s GetSamplingTargetsOutput) String() string
String returns the string representation
type GetSamplingTargetsRequest ¶
type GetSamplingTargetsRequest struct { *aws.Request Input *GetSamplingTargetsInput Copy func(*GetSamplingTargetsInput) GetSamplingTargetsRequest }
GetSamplingTargetsRequest is a API request type for the GetSamplingTargets API operation.
func (GetSamplingTargetsRequest) Send ¶
func (r GetSamplingTargetsRequest) Send() (*GetSamplingTargetsOutput, error)
Send marshals and sends the GetSamplingTargets API request.
type GetServiceGraphInput ¶
type GetServiceGraphInput struct { // The end of the timeframe for which to generate a graph. // // EndTime is a required field EndTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // The ARN of a group to generate a graph based on. GroupARN *string `min:"1" type:"string"` // The name of a group to generate a graph based on. GroupName *string `min:"1" type:"string"` // Pagination token. Not used. NextToken *string `type:"string"` // The start of the time frame for which to generate a graph. // // StartTime is a required field StartTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetServiceGraphRequest
func (GetServiceGraphInput) GoString ¶
func (s GetServiceGraphInput) GoString() string
GoString returns the string representation
func (GetServiceGraphInput) MarshalFields ¶
func (s GetServiceGraphInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetServiceGraphInput) String ¶
func (s GetServiceGraphInput) String() string
String returns the string representation
func (*GetServiceGraphInput) Validate ¶
func (s *GetServiceGraphInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetServiceGraphOutput ¶
type GetServiceGraphOutput struct { // A flag indicating whether the group's filter expression has been consistent, // or if the returned service graph may show traces from an older version of // the group's filter expression. ContainsOldGroupVersions *bool `type:"boolean"` // The end of the time frame for which the graph was generated. EndTime *time.Time `type:"timestamp" timestampFormat:"unix"` // Pagination token. Not used. NextToken *string `type:"string"` // The services that have processed a traced request during the specified time // frame. Services []Service `type:"list"` // The start of the time frame for which the graph was generated. StartTime *time.Time `type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetServiceGraphResult
func (GetServiceGraphOutput) GoString ¶
func (s GetServiceGraphOutput) GoString() string
GoString returns the string representation
func (GetServiceGraphOutput) MarshalFields ¶
func (s GetServiceGraphOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetServiceGraphOutput) SDKResponseMetadata ¶
func (s GetServiceGraphOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetServiceGraphOutput) String ¶
func (s GetServiceGraphOutput) String() string
String returns the string representation
type GetServiceGraphPager ¶
GetServiceGraphPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*GetServiceGraphPager) CurrentPage ¶
func (p *GetServiceGraphPager) CurrentPage() *GetServiceGraphOutput
type GetServiceGraphRequest ¶
type GetServiceGraphRequest struct { *aws.Request Input *GetServiceGraphInput Copy func(*GetServiceGraphInput) GetServiceGraphRequest }
GetServiceGraphRequest is a API request type for the GetServiceGraph API operation.
func (*GetServiceGraphRequest) Paginate ¶
func (p *GetServiceGraphRequest) Paginate(opts ...aws.Option) GetServiceGraphPager
Paginate pages iterates over the pages of a GetServiceGraphRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetServiceGraph operation. req := client.GetServiceGraphRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (GetServiceGraphRequest) Send ¶
func (r GetServiceGraphRequest) Send() (*GetServiceGraphOutput, error)
Send marshals and sends the GetServiceGraph API request.
type GetTraceGraphInput ¶
type GetTraceGraphInput struct { // Pagination token. Not used. NextToken *string `type:"string"` // Trace IDs of requests for which to generate a service graph. // // TraceIds is a required field TraceIds []string `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceGraphRequest
func (GetTraceGraphInput) GoString ¶
func (s GetTraceGraphInput) GoString() string
GoString returns the string representation
func (GetTraceGraphInput) MarshalFields ¶
func (s GetTraceGraphInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetTraceGraphInput) String ¶
func (s GetTraceGraphInput) String() string
String returns the string representation
func (*GetTraceGraphInput) Validate ¶
func (s *GetTraceGraphInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTraceGraphOutput ¶
type GetTraceGraphOutput struct { // Pagination token. Not used. NextToken *string `type:"string"` // The services that have processed one of the specified requests. Services []Service `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceGraphResult
func (GetTraceGraphOutput) GoString ¶
func (s GetTraceGraphOutput) GoString() string
GoString returns the string representation
func (GetTraceGraphOutput) MarshalFields ¶
func (s GetTraceGraphOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetTraceGraphOutput) SDKResponseMetadata ¶
func (s GetTraceGraphOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetTraceGraphOutput) String ¶
func (s GetTraceGraphOutput) String() string
String returns the string representation
type GetTraceGraphPager ¶
GetTraceGraphPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*GetTraceGraphPager) CurrentPage ¶
func (p *GetTraceGraphPager) CurrentPage() *GetTraceGraphOutput
type GetTraceGraphRequest ¶
type GetTraceGraphRequest struct { *aws.Request Input *GetTraceGraphInput Copy func(*GetTraceGraphInput) GetTraceGraphRequest }
GetTraceGraphRequest is a API request type for the GetTraceGraph API operation.
func (*GetTraceGraphRequest) Paginate ¶
func (p *GetTraceGraphRequest) Paginate(opts ...aws.Option) GetTraceGraphPager
Paginate pages iterates over the pages of a GetTraceGraphRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetTraceGraph operation. req := client.GetTraceGraphRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (GetTraceGraphRequest) Send ¶
func (r GetTraceGraphRequest) Send() (*GetTraceGraphOutput, error)
Send marshals and sends the GetTraceGraph API request.
type GetTraceSummariesInput ¶
type GetTraceSummariesInput struct { // The end of the time frame for which to retrieve traces. // // EndTime is a required field EndTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // Specify a filter expression to retrieve trace summaries for services or requests // that meet certain requirements. FilterExpression *string `min:"1" type:"string"` // Specify the pagination token returned by a previous request to retrieve the // next page of results. NextToken *string `type:"string"` // Set to true to get summaries for only a subset of available traces. Sampling *bool `type:"boolean"` // The start of the time frame for which to retrieve traces. // // StartTime is a required field StartTime *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSummariesRequest
func (GetTraceSummariesInput) GoString ¶
func (s GetTraceSummariesInput) GoString() string
GoString returns the string representation
func (GetTraceSummariesInput) MarshalFields ¶
func (s GetTraceSummariesInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetTraceSummariesInput) String ¶
func (s GetTraceSummariesInput) String() string
String returns the string representation
func (*GetTraceSummariesInput) Validate ¶
func (s *GetTraceSummariesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTraceSummariesOutput ¶
type GetTraceSummariesOutput struct { // The start time of this page of results. ApproximateTime *time.Time `type:"timestamp" timestampFormat:"unix"` // If the requested time frame contained more than one page of results, you // can use this token to retrieve the next page. The first page contains the // most most recent results, closest to the end of the time frame. NextToken *string `type:"string"` // Trace IDs and metadata for traces that were found in the specified time frame. TraceSummaries []TraceSummary `type:"list"` // The total number of traces processed, including traces that did not match // the specified filter expression. TracesProcessedCount *int64 `type:"long"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSummariesResult
func (GetTraceSummariesOutput) GoString ¶
func (s GetTraceSummariesOutput) GoString() string
GoString returns the string representation
func (GetTraceSummariesOutput) MarshalFields ¶
func (s GetTraceSummariesOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GetTraceSummariesOutput) SDKResponseMetadata ¶
func (s GetTraceSummariesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (GetTraceSummariesOutput) String ¶
func (s GetTraceSummariesOutput) String() string
String returns the string representation
type GetTraceSummariesPager ¶
GetTraceSummariesPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*GetTraceSummariesPager) CurrentPage ¶
func (p *GetTraceSummariesPager) CurrentPage() *GetTraceSummariesOutput
type GetTraceSummariesRequest ¶
type GetTraceSummariesRequest struct { *aws.Request Input *GetTraceSummariesInput Copy func(*GetTraceSummariesInput) GetTraceSummariesRequest }
GetTraceSummariesRequest is a API request type for the GetTraceSummaries API operation.
func (*GetTraceSummariesRequest) Paginate ¶
func (p *GetTraceSummariesRequest) Paginate(opts ...aws.Option) GetTraceSummariesPager
Paginate pages iterates over the pages of a GetTraceSummariesRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a GetTraceSummaries operation. req := client.GetTraceSummariesRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (GetTraceSummariesRequest) Send ¶
func (r GetTraceSummariesRequest) Send() (*GetTraceSummariesOutput, error)
Send marshals and sends the GetTraceSummaries API request.
type Group ¶
type Group struct { // The filter expression defining the parameters to include traces. FilterExpression *string `type:"string"` // The ARN of the group generated based on the GroupName. GroupARN *string `type:"string"` // The unique case-sensitive name of the group. GroupName *string `type:"string"` // contains filtered or unexported fields }
Details and metadata for a group. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Group
func (Group) GoString ¶
GoString returns the string representation
func (Group) MarshalFields ¶
func (s Group) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Group) String ¶
String returns the string representation
type GroupSummary ¶
type GroupSummary struct { // The filter expression defining the parameters to include traces. FilterExpression *string `type:"string"` // The ARN of the group generated based on the GroupName. GroupARN *string `type:"string"` // The unique case-sensitive name of the group. GroupName *string `type:"string"` // contains filtered or unexported fields }
Details for a group without metadata. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GroupSummary
func (GroupSummary) GoString ¶
func (s GroupSummary) GoString() string
GoString returns the string representation
func (GroupSummary) MarshalFields ¶
func (s GroupSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (GroupSummary) String ¶
func (s GroupSummary) String() string
String returns the string representation
type HistogramEntry ¶
type HistogramEntry struct { // The prevalence of the entry. Count *int64 `type:"integer"` // The value of the entry. Value *float64 `type:"double"` // contains filtered or unexported fields }
An entry in a histogram for a statistic. A histogram maps the range of observed values on the X axis, and the prevalence of each value on the Y axis. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/HistogramEntry
func (HistogramEntry) GoString ¶
func (s HistogramEntry) GoString() string
GoString returns the string representation
func (HistogramEntry) MarshalFields ¶
func (s HistogramEntry) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (HistogramEntry) String ¶
func (s HistogramEntry) String() string
String returns the string representation
type Http ¶
type Http struct { // The IP address of the requestor. ClientIp *string `type:"string"` // The request method. HttpMethod *string `type:"string"` // The response status. HttpStatus *int64 `type:"integer"` // The request URL. HttpURL *string `type:"string"` // The request's user agent string. UserAgent *string `type:"string"` // contains filtered or unexported fields }
Information about an HTTP request. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Http
func (Http) GoString ¶
GoString returns the string representation
func (Http) MarshalFields ¶
func (s Http) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Http) String ¶
String returns the string representation
type InstanceIdDetail ¶
type InstanceIdDetail struct { // The ID of a corresponding EC2 instance. Id *string `type:"string"` // contains filtered or unexported fields }
A list of EC2 instance IDs corresponding to the segments in a trace. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/InstanceIdDetail
func (InstanceIdDetail) GoString ¶
func (s InstanceIdDetail) GoString() string
GoString returns the string representation
func (InstanceIdDetail) MarshalFields ¶
func (s InstanceIdDetail) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (InstanceIdDetail) String ¶
func (s InstanceIdDetail) String() string
String returns the string representation
type PutEncryptionConfigInput ¶
type PutEncryptionConfigInput struct { // An AWS KMS customer master key (CMK) in one of the following formats: // // * Alias - The name of the key. For example, alias/MyKey. // // * Key ID - The KMS key ID of the key. For example, ae4aa6d49-a4d8-9df9-a475-4ff6d7898456. // // * ARN - The full Amazon Resource Name of the key ID or alias. For example, // arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456. // Use this format to specify a key in a different account. // // Omit this key if you set Type to NONE. KeyId *string `min:"1" type:"string"` // The type of encryption. Set to KMS to use your own key for encryption. Set // to NONE for default encryption. // // Type is a required field Type EncryptionType `type:"string" required:"true" enum:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutEncryptionConfigRequest
func (PutEncryptionConfigInput) GoString ¶
func (s PutEncryptionConfigInput) GoString() string
GoString returns the string representation
func (PutEncryptionConfigInput) MarshalFields ¶
func (s PutEncryptionConfigInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutEncryptionConfigInput) String ¶
func (s PutEncryptionConfigInput) String() string
String returns the string representation
func (*PutEncryptionConfigInput) Validate ¶
func (s *PutEncryptionConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutEncryptionConfigOutput ¶
type PutEncryptionConfigOutput struct { // The new encryption configuration. EncryptionConfig *EncryptionConfig `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutEncryptionConfigResult
func (PutEncryptionConfigOutput) GoString ¶
func (s PutEncryptionConfigOutput) GoString() string
GoString returns the string representation
func (PutEncryptionConfigOutput) MarshalFields ¶
func (s PutEncryptionConfigOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutEncryptionConfigOutput) SDKResponseMetadata ¶
func (s PutEncryptionConfigOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutEncryptionConfigOutput) String ¶
func (s PutEncryptionConfigOutput) String() string
String returns the string representation
type PutEncryptionConfigRequest ¶
type PutEncryptionConfigRequest struct { *aws.Request Input *PutEncryptionConfigInput Copy func(*PutEncryptionConfigInput) PutEncryptionConfigRequest }
PutEncryptionConfigRequest is a API request type for the PutEncryptionConfig API operation.
func (PutEncryptionConfigRequest) Send ¶
func (r PutEncryptionConfigRequest) Send() (*PutEncryptionConfigOutput, error)
Send marshals and sends the PutEncryptionConfig API request.
type PutTelemetryRecordsInput ¶
type PutTelemetryRecordsInput struct { EC2InstanceId *string `type:"string"` Hostname *string `type:"string"` ResourceARN *string `type:"string"` // TelemetryRecords is a required field TelemetryRecords []TelemetryRecord `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecordsRequest
func (PutTelemetryRecordsInput) GoString ¶
func (s PutTelemetryRecordsInput) GoString() string
GoString returns the string representation
func (PutTelemetryRecordsInput) MarshalFields ¶
func (s PutTelemetryRecordsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutTelemetryRecordsInput) String ¶
func (s PutTelemetryRecordsInput) String() string
String returns the string representation
func (*PutTelemetryRecordsInput) Validate ¶
func (s *PutTelemetryRecordsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutTelemetryRecordsOutput ¶
type PutTelemetryRecordsOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecordsResult
func (PutTelemetryRecordsOutput) GoString ¶
func (s PutTelemetryRecordsOutput) GoString() string
GoString returns the string representation
func (PutTelemetryRecordsOutput) MarshalFields ¶
func (s PutTelemetryRecordsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutTelemetryRecordsOutput) SDKResponseMetadata ¶
func (s PutTelemetryRecordsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutTelemetryRecordsOutput) String ¶
func (s PutTelemetryRecordsOutput) String() string
String returns the string representation
type PutTelemetryRecordsRequest ¶
type PutTelemetryRecordsRequest struct { *aws.Request Input *PutTelemetryRecordsInput Copy func(*PutTelemetryRecordsInput) PutTelemetryRecordsRequest }
PutTelemetryRecordsRequest is a API request type for the PutTelemetryRecords API operation.
func (PutTelemetryRecordsRequest) Send ¶
func (r PutTelemetryRecordsRequest) Send() (*PutTelemetryRecordsOutput, error)
Send marshals and sends the PutTelemetryRecords API request.
type PutTraceSegmentsInput ¶
type PutTraceSegmentsInput struct { // A string containing a JSON document defining one or more segments or subsegments. // // TraceSegmentDocuments is a required field TraceSegmentDocuments []string `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTraceSegmentsRequest
func (PutTraceSegmentsInput) GoString ¶
func (s PutTraceSegmentsInput) GoString() string
GoString returns the string representation
func (PutTraceSegmentsInput) MarshalFields ¶
func (s PutTraceSegmentsInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutTraceSegmentsInput) String ¶
func (s PutTraceSegmentsInput) String() string
String returns the string representation
func (*PutTraceSegmentsInput) Validate ¶
func (s *PutTraceSegmentsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutTraceSegmentsOutput ¶
type PutTraceSegmentsOutput struct { // Segments that failed processing. UnprocessedTraceSegments []UnprocessedTraceSegment `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTraceSegmentsResult
func (PutTraceSegmentsOutput) GoString ¶
func (s PutTraceSegmentsOutput) GoString() string
GoString returns the string representation
func (PutTraceSegmentsOutput) MarshalFields ¶
func (s PutTraceSegmentsOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (PutTraceSegmentsOutput) SDKResponseMetadata ¶
func (s PutTraceSegmentsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (PutTraceSegmentsOutput) String ¶
func (s PutTraceSegmentsOutput) String() string
String returns the string representation
type PutTraceSegmentsRequest ¶
type PutTraceSegmentsRequest struct { *aws.Request Input *PutTraceSegmentsInput Copy func(*PutTraceSegmentsInput) PutTraceSegmentsRequest }
PutTraceSegmentsRequest is a API request type for the PutTraceSegments API operation.
func (PutTraceSegmentsRequest) Send ¶
func (r PutTraceSegmentsRequest) Send() (*PutTraceSegmentsOutput, error)
Send marshals and sends the PutTraceSegments API request.
type ResourceARNDetail ¶
type ResourceARNDetail struct { // The ARN of a corresponding resource. ARN *string `type:"string"` // contains filtered or unexported fields }
A list of resources ARNs corresponding to the segments in a trace. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ResourceARNDetail
func (ResourceARNDetail) GoString ¶
func (s ResourceARNDetail) GoString() string
GoString returns the string representation
func (ResourceARNDetail) MarshalFields ¶
func (s ResourceARNDetail) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResourceARNDetail) String ¶
func (s ResourceARNDetail) String() string
String returns the string representation
type ResponseTimeRootCause ¶
type ResponseTimeRootCause struct { // A list of corresponding services. A service identifies a segment and contains // a name, account ID, type, and inferred flag. Services []ResponseTimeRootCauseService `type:"list"` // contains filtered or unexported fields }
The root cause information for a response time warning. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ResponseTimeRootCause
func (ResponseTimeRootCause) GoString ¶
func (s ResponseTimeRootCause) GoString() string
GoString returns the string representation
func (ResponseTimeRootCause) MarshalFields ¶
func (s ResponseTimeRootCause) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResponseTimeRootCause) String ¶
func (s ResponseTimeRootCause) String() string
String returns the string representation
type ResponseTimeRootCauseEntity ¶
type ResponseTimeRootCauseEntity struct { // The types and messages of the exceptions. Coverage *float64 `type:"double"` // The name of the entity. Name *string `type:"string"` // A flag that denotes a remote subsegment. Remote *bool `type:"boolean"` // contains filtered or unexported fields }
A collection of segments and corresponding subsegments associated to a response time warning. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ResponseTimeRootCauseEntity
func (ResponseTimeRootCauseEntity) GoString ¶
func (s ResponseTimeRootCauseEntity) GoString() string
GoString returns the string representation
func (ResponseTimeRootCauseEntity) MarshalFields ¶
func (s ResponseTimeRootCauseEntity) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResponseTimeRootCauseEntity) String ¶
func (s ResponseTimeRootCauseEntity) String() string
String returns the string representation
type ResponseTimeRootCauseService ¶
type ResponseTimeRootCauseService struct { // The account ID associated to the service. AccountId *string `type:"string"` // The path of root cause entities found on the service. EntityPath []ResponseTimeRootCauseEntity `type:"list"` // A Boolean value indicating if the service is inferred from the trace. Inferred *bool `type:"boolean"` // The service name. Name *string `type:"string"` // A collection of associated service names. Names []string `type:"list"` // The type associated to the service. Type *string `type:"string"` // contains filtered or unexported fields }
A collection of fields identifying the service in a response time warning. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ResponseTimeRootCauseService
func (ResponseTimeRootCauseService) GoString ¶
func (s ResponseTimeRootCauseService) GoString() string
GoString returns the string representation
func (ResponseTimeRootCauseService) MarshalFields ¶
func (s ResponseTimeRootCauseService) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ResponseTimeRootCauseService) String ¶
func (s ResponseTimeRootCauseService) String() string
String returns the string representation
type RootCauseException ¶
type RootCauseException struct { // The message of the exception. Message *string `type:"string"` // The name of the exception. Name *string `type:"string"` // contains filtered or unexported fields }
The exception associated with a root cause. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/RootCauseException
func (RootCauseException) GoString ¶
func (s RootCauseException) GoString() string
GoString returns the string representation
func (RootCauseException) MarshalFields ¶
func (s RootCauseException) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (RootCauseException) String ¶
func (s RootCauseException) String() string
String returns the string representation
type SamplingRule ¶
type SamplingRule struct { // Matches attributes derived from the request. Attributes map[string]string `type:"map"` // The percentage of matching requests to instrument, after the reservoir is // exhausted. // // FixedRate is a required field FixedRate *float64 `type:"double" required:"true"` // Matches the HTTP method of a request. // // HTTPMethod is a required field HTTPMethod *string `type:"string" required:"true"` // Matches the hostname from a request URL. // // Host is a required field Host *string `type:"string" required:"true"` // The priority of the sampling rule. // // Priority is a required field Priority *int64 `min:"1" type:"integer" required:"true"` // A fixed number of matching requests to instrument per second, prior to applying // the fixed rate. The reservoir is not used directly by services, but applies // to all services using the rule collectively. // // ReservoirSize is a required field ReservoirSize *int64 `type:"integer" required:"true"` // Matches the ARN of the AWS resource on which the service runs. // // ResourceARN is a required field ResourceARN *string `type:"string" required:"true"` // The ARN of the sampling rule. Specify a rule by either name or ARN, but not // both. RuleARN *string `type:"string"` // The name of the sampling rule. Specify a rule by either name or ARN, but // not both. RuleName *string `min:"1" type:"string"` // Matches the name that the service uses to identify itself in segments. // // ServiceName is a required field ServiceName *string `type:"string" required:"true"` // Matches the origin that the service uses to identify its type in segments. // // ServiceType is a required field ServiceType *string `type:"string" required:"true"` // Matches the path from a request URL. // // URLPath is a required field URLPath *string `type:"string" required:"true"` // The version of the sampling rule format (1). // // Version is a required field Version *int64 `min:"1" type:"integer" required:"true"` // contains filtered or unexported fields }
A sampling rule that services use to decide whether to instrument a request. Rule fields can match properties of the service, or properties of a request. The service can ignore rules that don't match its properties. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/SamplingRule
func (SamplingRule) GoString ¶
func (s SamplingRule) GoString() string
GoString returns the string representation
func (SamplingRule) MarshalFields ¶
func (s SamplingRule) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SamplingRule) String ¶
func (s SamplingRule) String() string
String returns the string representation
func (*SamplingRule) Validate ¶
func (s *SamplingRule) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SamplingRuleRecord ¶
type SamplingRuleRecord struct { // When the rule was created. CreatedAt *time.Time `type:"timestamp" timestampFormat:"unix"` // When the rule was last modified. ModifiedAt *time.Time `type:"timestamp" timestampFormat:"unix"` // The sampling rule. SamplingRule *SamplingRule `type:"structure"` // contains filtered or unexported fields }
A SamplingRule and its metadata. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/SamplingRuleRecord
func (SamplingRuleRecord) GoString ¶
func (s SamplingRuleRecord) GoString() string
GoString returns the string representation
func (SamplingRuleRecord) MarshalFields ¶
func (s SamplingRuleRecord) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SamplingRuleRecord) String ¶
func (s SamplingRuleRecord) String() string
String returns the string representation
type SamplingRuleUpdate ¶
type SamplingRuleUpdate struct { // Matches attributes derived from the request. Attributes map[string]string `type:"map"` // The percentage of matching requests to instrument, after the reservoir is // exhausted. FixedRate *float64 `type:"double"` // Matches the HTTP method of a request. HTTPMethod *string `type:"string"` // Matches the hostname from a request URL. Host *string `type:"string"` // The priority of the sampling rule. Priority *int64 `type:"integer"` // A fixed number of matching requests to instrument per second, prior to applying // the fixed rate. The reservoir is not used directly by services, but applies // to all services using the rule collectively. ReservoirSize *int64 `type:"integer"` // Matches the ARN of the AWS resource on which the service runs. ResourceARN *string `type:"string"` // The ARN of the sampling rule. Specify a rule by either name or ARN, but not // both. RuleARN *string `type:"string"` // The name of the sampling rule. Specify a rule by either name or ARN, but // not both. RuleName *string `min:"1" type:"string"` // Matches the name that the service uses to identify itself in segments. ServiceName *string `type:"string"` // Matches the origin that the service uses to identify its type in segments. ServiceType *string `type:"string"` // Matches the path from a request URL. URLPath *string `type:"string"` // contains filtered or unexported fields }
A document specifying changes to a sampling rule's configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/SamplingRuleUpdate
func (SamplingRuleUpdate) GoString ¶
func (s SamplingRuleUpdate) GoString() string
GoString returns the string representation
func (SamplingRuleUpdate) MarshalFields ¶
func (s SamplingRuleUpdate) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SamplingRuleUpdate) String ¶
func (s SamplingRuleUpdate) String() string
String returns the string representation
func (*SamplingRuleUpdate) Validate ¶
func (s *SamplingRuleUpdate) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SamplingStatisticSummary ¶
type SamplingStatisticSummary struct { // The number of requests recorded with borrowed reservoir quota. BorrowCount *int64 `type:"integer"` // The number of requests that matched the rule. RequestCount *int64 `type:"integer"` // The name of the sampling rule. RuleName *string `type:"string"` // The number of requests recorded. SampledCount *int64 `type:"integer"` // The start time of the reporting window. Timestamp *time.Time `type:"timestamp" timestampFormat:"unix"` // contains filtered or unexported fields }
Aggregated request sampling data for a sampling rule across all services for a 10 second window. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/SamplingStatisticSummary
func (SamplingStatisticSummary) GoString ¶
func (s SamplingStatisticSummary) GoString() string
GoString returns the string representation
func (SamplingStatisticSummary) MarshalFields ¶
func (s SamplingStatisticSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SamplingStatisticSummary) String ¶
func (s SamplingStatisticSummary) String() string
String returns the string representation
type SamplingStatisticsDocument ¶
type SamplingStatisticsDocument struct { // The number of requests recorded with borrowed reservoir quota. BorrowCount *int64 `type:"integer"` // A unique identifier for the service in hexadecimal. // // ClientID is a required field ClientID *string `min:"24" type:"string" required:"true"` // The number of requests that matched the rule. // // RequestCount is a required field RequestCount *int64 `type:"integer" required:"true"` // The name of the sampling rule. // // RuleName is a required field RuleName *string `min:"1" type:"string" required:"true"` // The number of requests recorded. // // SampledCount is a required field SampledCount *int64 `type:"integer" required:"true"` // The current time. // // Timestamp is a required field Timestamp *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // contains filtered or unexported fields }
Request sampling results for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to GetSamplingTargets. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/SamplingStatisticsDocument
func (SamplingStatisticsDocument) GoString ¶
func (s SamplingStatisticsDocument) GoString() string
GoString returns the string representation
func (SamplingStatisticsDocument) MarshalFields ¶
func (s SamplingStatisticsDocument) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SamplingStatisticsDocument) String ¶
func (s SamplingStatisticsDocument) String() string
String returns the string representation
func (*SamplingStatisticsDocument) Validate ¶
func (s *SamplingStatisticsDocument) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SamplingTargetDocument ¶
type SamplingTargetDocument struct { // The percentage of matching requests to instrument, after the reservoir is // exhausted. FixedRate *float64 `type:"double"` // The number of seconds for the service to wait before getting sampling targets // again. Interval *int64 `type:"integer"` // The number of requests per second that X-Ray allocated this service. ReservoirQuota *int64 `type:"integer"` // When the reservoir quota expires. ReservoirQuotaTTL *time.Time `type:"timestamp" timestampFormat:"unix"` // The name of the sampling rule. RuleName *string `type:"string"` // contains filtered or unexported fields }
Temporary changes to a sampling rule configuration. To meet the global sampling target for a rule, X-Ray calculates a new reservoir for each service based on the recent sampling results of all services that called GetSamplingTargets. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/SamplingTargetDocument
func (SamplingTargetDocument) GoString ¶
func (s SamplingTargetDocument) GoString() string
GoString returns the string representation
func (SamplingTargetDocument) MarshalFields ¶
func (s SamplingTargetDocument) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (SamplingTargetDocument) String ¶
func (s SamplingTargetDocument) String() string
String returns the string representation
type Segment ¶
type Segment struct { // The segment document. Document *string `min:"1" type:"string"` // The segment's ID. Id *string `type:"string"` // contains filtered or unexported fields }
A segment from a trace that has been ingested by the X-Ray service. The segment can be compiled from documents uploaded with PutTraceSegments, or an inferred segment for a downstream service, generated from a subsegment sent by the service that called it.
For the full segment document schema, see AWS X-Ray Segment Documents (https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html) in the AWS X-Ray Developer Guide. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Segment
func (Segment) GoString ¶
GoString returns the string representation
func (Segment) MarshalFields ¶
func (s Segment) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Segment) String ¶
String returns the string representation
type Service ¶
type Service struct { // Identifier of the AWS account in which the service runs. AccountId *string `type:"string"` // A histogram that maps the spread of service durations. DurationHistogram []HistogramEntry `type:"list"` // Connections to downstream services. Edges []Edge `type:"list"` // The end time of the last segment that the service generated. EndTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The canonical name of the service. Name *string `type:"string"` // A list of names for the service, including the canonical name. Names []string `type:"list"` // Identifier for the service. Unique within the service map. ReferenceId *int64 `type:"integer"` // A histogram that maps the spread of service response times. ResponseTimeHistogram []HistogramEntry `type:"list"` // Indicates that the service was the first service to process a request. Root *bool `type:"boolean"` // The start time of the first segment that the service generated. StartTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The service's state. State *string `type:"string"` // Aggregated statistics for the service. SummaryStatistics *ServiceStatistics `type:"structure"` // The type of service. // // * AWS Resource - The type of an AWS resource. For example, AWS::EC2::Instance // for a application running on Amazon EC2 or AWS::DynamoDB::Table for an // Amazon DynamoDB table that the application used. // // * AWS Service - The type of an AWS service. For example, AWS::DynamoDB // for downstream calls to Amazon DynamoDB that didn't target a specific // table. // // * client - Represents the clients that sent requests to a root service. // // * remote - A downstream service of indeterminate type. Type *string `type:"string"` // contains filtered or unexported fields }
Information about an application that processed requests, users that made requests, or downstream services, resources and applications that an application used. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Service
func (Service) GoString ¶
GoString returns the string representation
func (Service) MarshalFields ¶
func (s Service) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Service) String ¶
String returns the string representation
type ServiceId ¶
type ServiceId struct { AccountId *string `type:"string"` Name *string `type:"string"` Names []string `type:"list"` Type *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ServiceId
func (ServiceId) GoString ¶
GoString returns the string representation
func (ServiceId) MarshalFields ¶
func (s ServiceId) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ServiceId) String ¶
String returns the string representation
type ServiceStatistics ¶
type ServiceStatistics struct { // Information about requests that failed with a 4xx Client Error status code. ErrorStatistics *ErrorStatistics `type:"structure"` // Information about requests that failed with a 5xx Server Error status code. FaultStatistics *FaultStatistics `type:"structure"` // The number of requests that completed with a 2xx Success status code. OkCount *int64 `type:"long"` // The total number of completed requests. TotalCount *int64 `type:"long"` // The aggregate response time of completed requests. TotalResponseTime *float64 `type:"double"` // contains filtered or unexported fields }
Response statistics for a service. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ServiceStatistics
func (ServiceStatistics) GoString ¶
func (s ServiceStatistics) GoString() string
GoString returns the string representation
func (ServiceStatistics) MarshalFields ¶
func (s ServiceStatistics) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ServiceStatistics) String ¶
func (s ServiceStatistics) String() string
String returns the string representation
type TelemetryRecord ¶
type TelemetryRecord struct { BackendConnectionErrors *BackendConnectionErrors `type:"structure"` SegmentsReceivedCount *int64 `type:"integer"` SegmentsRejectedCount *int64 `type:"integer"` SegmentsSentCount *int64 `type:"integer"` SegmentsSpilloverCount *int64 `type:"integer"` // Timestamp is a required field Timestamp *time.Time `type:"timestamp" timestampFormat:"unix" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TelemetryRecord
func (TelemetryRecord) GoString ¶
func (s TelemetryRecord) GoString() string
GoString returns the string representation
func (TelemetryRecord) MarshalFields ¶
func (s TelemetryRecord) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TelemetryRecord) String ¶
func (s TelemetryRecord) String() string
String returns the string representation
func (*TelemetryRecord) Validate ¶
func (s *TelemetryRecord) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Trace ¶
type Trace struct { // The length of time in seconds between the start time of the root segment // and the end time of the last segment that completed. Duration *float64 `type:"double"` // The unique identifier for the request that generated the trace's segments // and subsegments. Id *string `min:"1" type:"string"` // Segment documents for the segments and subsegments that comprise the trace. Segments []Segment `type:"list"` // contains filtered or unexported fields }
A collection of segment documents with matching trace IDs. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/Trace
func (Trace) GoString ¶
GoString returns the string representation
func (Trace) MarshalFields ¶
func (s Trace) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (Trace) String ¶
String returns the string representation
type TraceSummary ¶
type TraceSummary struct { // Annotations from the trace's segment documents. Annotations map[string][]ValueWithServiceIds `type:"map"` // A list of availability zones for any zone corresponding to the trace segments. AvailabilityZones []AvailabilityZoneDetail `type:"list"` // The length of time in seconds between the start time of the root segment // and the end time of the last segment that completed. Duration *float64 `type:"double"` // The root of a trace. EntryPoint *ServiceId `type:"structure"` // A collection of ErrorRootCause structures corresponding to the trace segments. ErrorRootCauses []ErrorRootCause `type:"list"` // A collection of FaultRootCause structures corresponding to the the trace // segments. FaultRootCauses []FaultRootCause `type:"list"` // One or more of the segment documents has a 400 series error. HasError *bool `type:"boolean"` // One or more of the segment documents has a 500 series error. HasFault *bool `type:"boolean"` // One or more of the segment documents has a 429 throttling error. HasThrottle *bool `type:"boolean"` // Information about the HTTP request served by the trace. Http *Http `type:"structure"` // The unique identifier for the request that generated the trace's segments // and subsegments. Id *string `min:"1" type:"string"` // A list of EC2 instance IDs for any instance corresponding to the trace segments. InstanceIds []InstanceIdDetail `type:"list"` // One or more of the segment documents is in progress. IsPartial *bool `type:"boolean"` // A list of resource ARNs for any resource corresponding to the trace segments. ResourceARNs []ResourceARNDetail `type:"list"` // The length of time in seconds between the start and end times of the root // segment. If the service performs work asynchronously, the response time measures // the time before the response is sent to the user, while the duration measures // the amount of time before the last traced activity completes. ResponseTime *float64 `type:"double"` // A collection of ResponseTimeRootCause structures corresponding to the trace // segments. ResponseTimeRootCauses []ResponseTimeRootCause `type:"list"` // The revision number of a trace. Revision *int64 `type:"integer"` // Service IDs from the trace's segment documents. ServiceIds []ServiceId `type:"list"` // Users from the trace's segment documents. Users []TraceUser `type:"list"` // contains filtered or unexported fields }
Metadata generated from the segment documents in a trace. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TraceSummary
func (TraceSummary) GoString ¶
func (s TraceSummary) GoString() string
GoString returns the string representation
func (TraceSummary) MarshalFields ¶
func (s TraceSummary) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TraceSummary) String ¶
func (s TraceSummary) String() string
String returns the string representation
type TraceUser ¶
type TraceUser struct { // Services that the user's request hit. ServiceIds []ServiceId `type:"list"` // The user's name. UserName *string `type:"string"` // contains filtered or unexported fields }
Information about a user recorded in segment documents. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TraceUser
func (TraceUser) GoString ¶
GoString returns the string representation
func (TraceUser) MarshalFields ¶
func (s TraceUser) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (TraceUser) String ¶
String returns the string representation
type UnprocessedStatistics ¶
type UnprocessedStatistics struct { // The error code. ErrorCode *string `type:"string"` // The error message. Message *string `type:"string"` // The name of the sampling rule. RuleName *string `type:"string"` // contains filtered or unexported fields }
Sampling statistics from a call to GetSamplingTargets that X-Ray could not process. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UnprocessedStatistics
func (UnprocessedStatistics) GoString ¶
func (s UnprocessedStatistics) GoString() string
GoString returns the string representation
func (UnprocessedStatistics) MarshalFields ¶
func (s UnprocessedStatistics) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UnprocessedStatistics) String ¶
func (s UnprocessedStatistics) String() string
String returns the string representation
type UnprocessedTraceSegment ¶
type UnprocessedTraceSegment struct { // The error that caused processing to fail. ErrorCode *string `type:"string"` // The segment's ID. Id *string `type:"string"` // The error message. Message *string `type:"string"` // contains filtered or unexported fields }
Information about a segment that failed processing. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UnprocessedTraceSegment
func (UnprocessedTraceSegment) GoString ¶
func (s UnprocessedTraceSegment) GoString() string
GoString returns the string representation
func (UnprocessedTraceSegment) MarshalFields ¶
func (s UnprocessedTraceSegment) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UnprocessedTraceSegment) String ¶
func (s UnprocessedTraceSegment) String() string
String returns the string representation
type UpdateGroupInput ¶
type UpdateGroupInput struct { // The updated filter expression defining criteria by which to group traces. FilterExpression *string `min:"1" type:"string"` // The ARN that was generated upon creation. GroupARN *string `min:"1" type:"string"` // The case-sensitive name of the group. GroupName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupRequest
func (UpdateGroupInput) GoString ¶
func (s UpdateGroupInput) GoString() string
GoString returns the string representation
func (UpdateGroupInput) MarshalFields ¶
func (s UpdateGroupInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateGroupInput) String ¶
func (s UpdateGroupInput) String() string
String returns the string representation
func (*UpdateGroupInput) Validate ¶
func (s *UpdateGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateGroupOutput ¶
type UpdateGroupOutput struct { // The group that was updated. Contains the name of the group that was updated, // the ARN of the group that was updated, and the updated filter expression // assigned to the group. Group *Group `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroupResult
func (UpdateGroupOutput) GoString ¶
func (s UpdateGroupOutput) GoString() string
GoString returns the string representation
func (UpdateGroupOutput) MarshalFields ¶
func (s UpdateGroupOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateGroupOutput) SDKResponseMetadata ¶
func (s UpdateGroupOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateGroupOutput) String ¶
func (s UpdateGroupOutput) String() string
String returns the string representation
type UpdateGroupRequest ¶
type UpdateGroupRequest struct { *aws.Request Input *UpdateGroupInput Copy func(*UpdateGroupInput) UpdateGroupRequest }
UpdateGroupRequest is a API request type for the UpdateGroup API operation.
func (UpdateGroupRequest) Send ¶
func (r UpdateGroupRequest) Send() (*UpdateGroupOutput, error)
Send marshals and sends the UpdateGroup API request.
type UpdateSamplingRuleInput ¶
type UpdateSamplingRuleInput struct { // The rule and fields to change. // // SamplingRuleUpdate is a required field SamplingRuleUpdate *SamplingRuleUpdate `type:"structure" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateSamplingRuleRequest
func (UpdateSamplingRuleInput) GoString ¶
func (s UpdateSamplingRuleInput) GoString() string
GoString returns the string representation
func (UpdateSamplingRuleInput) MarshalFields ¶
func (s UpdateSamplingRuleInput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateSamplingRuleInput) String ¶
func (s UpdateSamplingRuleInput) String() string
String returns the string representation
func (*UpdateSamplingRuleInput) Validate ¶
func (s *UpdateSamplingRuleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSamplingRuleOutput ¶
type UpdateSamplingRuleOutput struct { // The updated rule definition and metadata. SamplingRuleRecord *SamplingRuleRecord `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateSamplingRuleResult
func (UpdateSamplingRuleOutput) GoString ¶
func (s UpdateSamplingRuleOutput) GoString() string
GoString returns the string representation
func (UpdateSamplingRuleOutput) MarshalFields ¶
func (s UpdateSamplingRuleOutput) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (UpdateSamplingRuleOutput) SDKResponseMetadata ¶
func (s UpdateSamplingRuleOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateSamplingRuleOutput) String ¶
func (s UpdateSamplingRuleOutput) String() string
String returns the string representation
type UpdateSamplingRuleRequest ¶
type UpdateSamplingRuleRequest struct { *aws.Request Input *UpdateSamplingRuleInput Copy func(*UpdateSamplingRuleInput) UpdateSamplingRuleRequest }
UpdateSamplingRuleRequest is a API request type for the UpdateSamplingRule API operation.
func (UpdateSamplingRuleRequest) Send ¶
func (r UpdateSamplingRuleRequest) Send() (*UpdateSamplingRuleOutput, error)
Send marshals and sends the UpdateSamplingRule API request.
type ValueWithServiceIds ¶
type ValueWithServiceIds struct { // Values of the annotation. AnnotationValue *AnnotationValue `type:"structure"` // Services to which the annotation applies. ServiceIds []ServiceId `type:"list"` // contains filtered or unexported fields }
Information about a segment annotation. Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ValueWithServiceIds
func (ValueWithServiceIds) GoString ¶
func (s ValueWithServiceIds) GoString() string
GoString returns the string representation
func (ValueWithServiceIds) MarshalFields ¶
func (s ValueWithServiceIds) MarshalFields(e protocol.FieldEncoder) error
MarshalFields encodes the AWS API shape using the passed in protocol encoder.
func (ValueWithServiceIds) String ¶
func (s ValueWithServiceIds) String() string
String returns the string representation
type XRay ¶
XRay provides the API operation methods for making requests to AWS X-Ray. See this package's package overview docs for details on the service.
XRay methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the XRay client with a config.
Example:
// Create a XRay client from just a config. svc := xray.New(myConfig)
func (*XRay) BatchGetTracesRequest ¶
func (c *XRay) BatchGetTracesRequest(input *BatchGetTracesInput) BatchGetTracesRequest
BatchGetTracesRequest returns a request value for making API operation for AWS X-Ray.
Retrieves a list of traces specified by ID. Each trace is a collection of segment documents that originates from a single request. Use GetTraceSummaries to get a list of trace IDs.
// Example sending a request using the BatchGetTracesRequest method. req := client.BatchGetTracesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/BatchGetTraces
func (*XRay) CreateGroupRequest ¶
func (c *XRay) CreateGroupRequest(input *CreateGroupInput) CreateGroupRequest
CreateGroupRequest returns a request value for making API operation for AWS X-Ray.
Creates a group resource with a name and a filter expression.
// Example sending a request using the CreateGroupRequest method. req := client.CreateGroupRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroup
func (*XRay) CreateSamplingRuleRequest ¶
func (c *XRay) CreateSamplingRuleRequest(input *CreateSamplingRuleInput) CreateSamplingRuleRequest
CreateSamplingRuleRequest returns a request value for making API operation for AWS X-Ray.
Creates a rule to control sampling behavior for instrumented applications. Services retrieve rules with GetSamplingRules, and evaluate each rule in ascending order of priority for each request. If a rule matches, the service records a trace, borrowing it from the reservoir size. After 10 seconds, the service reports back to X-Ray with GetSamplingTargets to get updated versions of each in-use rule. The updated rule contains a trace quota that the service can use instead of borrowing from the reservoir.
// Example sending a request using the CreateSamplingRuleRequest method. req := client.CreateSamplingRuleRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateSamplingRule
func (*XRay) DeleteGroupRequest ¶
func (c *XRay) DeleteGroupRequest(input *DeleteGroupInput) DeleteGroupRequest
DeleteGroupRequest returns a request value for making API operation for AWS X-Ray.
Deletes a group resource.
// Example sending a request using the DeleteGroupRequest method. req := client.DeleteGroupRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteGroup
func (*XRay) DeleteSamplingRuleRequest ¶
func (c *XRay) DeleteSamplingRuleRequest(input *DeleteSamplingRuleInput) DeleteSamplingRuleRequest
DeleteSamplingRuleRequest returns a request value for making API operation for AWS X-Ray.
Deletes a sampling rule.
// Example sending a request using the DeleteSamplingRuleRequest method. req := client.DeleteSamplingRuleRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteSamplingRule
func (*XRay) GetEncryptionConfigRequest ¶
func (c *XRay) GetEncryptionConfigRequest(input *GetEncryptionConfigInput) GetEncryptionConfigRequest
GetEncryptionConfigRequest returns a request value for making API operation for AWS X-Ray.
Retrieves the current encryption configuration for X-Ray data.
// Example sending a request using the GetEncryptionConfigRequest method. req := client.GetEncryptionConfigRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetEncryptionConfig
func (*XRay) GetGroupRequest ¶
func (c *XRay) GetGroupRequest(input *GetGroupInput) GetGroupRequest
GetGroupRequest returns a request value for making API operation for AWS X-Ray.
Retrieves group resource details.
// Example sending a request using the GetGroupRequest method. req := client.GetGroupRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroup
func (*XRay) GetGroupsRequest ¶
func (c *XRay) GetGroupsRequest(input *GetGroupsInput) GetGroupsRequest
GetGroupsRequest returns a request value for making API operation for AWS X-Ray.
Retrieves all active group details.
// Example sending a request using the GetGroupsRequest method. req := client.GetGroupsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroups
func (*XRay) GetSamplingRulesRequest ¶
func (c *XRay) GetSamplingRulesRequest(input *GetSamplingRulesInput) GetSamplingRulesRequest
GetSamplingRulesRequest returns a request value for making API operation for AWS X-Ray.
Retrieves all sampling rules.
// Example sending a request using the GetSamplingRulesRequest method. req := client.GetSamplingRulesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingRules
func (*XRay) GetSamplingStatisticSummariesRequest ¶
func (c *XRay) GetSamplingStatisticSummariesRequest(input *GetSamplingStatisticSummariesInput) GetSamplingStatisticSummariesRequest
GetSamplingStatisticSummariesRequest returns a request value for making API operation for AWS X-Ray.
Retrieves information about recent sampling results for all sampling rules.
// Example sending a request using the GetSamplingStatisticSummariesRequest method. req := client.GetSamplingStatisticSummariesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingStatisticSummaries
func (*XRay) GetSamplingTargetsRequest ¶
func (c *XRay) GetSamplingTargetsRequest(input *GetSamplingTargetsInput) GetSamplingTargetsRequest
GetSamplingTargetsRequest returns a request value for making API operation for AWS X-Ray.
Requests a sampling quota for rules that the service is using to sample requests.
// Example sending a request using the GetSamplingTargetsRequest method. req := client.GetSamplingTargetsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingTargets
func (*XRay) GetServiceGraphRequest ¶
func (c *XRay) GetServiceGraphRequest(input *GetServiceGraphInput) GetServiceGraphRequest
GetServiceGraphRequest returns a request value for making API operation for AWS X-Ray.
Retrieves a document that describes services that process incoming requests, and downstream services that they call as a result. Root services process incoming requests and make calls to downstream services. Root services are applications that use the AWS X-Ray SDK. Downstream services can be other applications, AWS resources, HTTP web APIs, or SQL databases.
// Example sending a request using the GetServiceGraphRequest method. req := client.GetServiceGraphRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetServiceGraph
func (*XRay) GetTraceGraphRequest ¶
func (c *XRay) GetTraceGraphRequest(input *GetTraceGraphInput) GetTraceGraphRequest
GetTraceGraphRequest returns a request value for making API operation for AWS X-Ray.
Retrieves a service graph for one or more specific trace IDs.
// Example sending a request using the GetTraceGraphRequest method. req := client.GetTraceGraphRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceGraph
func (*XRay) GetTraceSummariesRequest ¶
func (c *XRay) GetTraceSummariesRequest(input *GetTraceSummariesInput) GetTraceSummariesRequest
GetTraceSummariesRequest returns a request value for making API operation for AWS X-Ray.
Retrieves IDs and metadata for traces available for a specified time frame using an optional filter. To get the full traces, pass the trace IDs to BatchGetTraces.
A filter expression can target traced requests that hit specific service nodes or edges, have errors, or come from a known user. For example, the following filter expression targets traces that pass through api.example.com:
service("api.example.com")
This filter expression finds traces that have an annotation named account with the value 12345:
annotation.account = "12345"
For a full list of indexed fields and keywords that you can use in filter expressions, see Using Filter Expressions (http://docs.aws.amazon.com/xray/latest/devguide/xray-console-filters.html) in the AWS X-Ray Developer Guide.
// Example sending a request using the GetTraceSummariesRequest method. req := client.GetTraceSummariesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSummaries
func (*XRay) PutEncryptionConfigRequest ¶
func (c *XRay) PutEncryptionConfigRequest(input *PutEncryptionConfigInput) PutEncryptionConfigRequest
PutEncryptionConfigRequest returns a request value for making API operation for AWS X-Ray.
Updates the encryption configuration for X-Ray data.
// Example sending a request using the PutEncryptionConfigRequest method. req := client.PutEncryptionConfigRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutEncryptionConfig
func (*XRay) PutTelemetryRecordsRequest ¶
func (c *XRay) PutTelemetryRecordsRequest(input *PutTelemetryRecordsInput) PutTelemetryRecordsRequest
PutTelemetryRecordsRequest returns a request value for making API operation for AWS X-Ray.
Used by the AWS X-Ray daemon to upload telemetry.
// Example sending a request using the PutTelemetryRecordsRequest method. req := client.PutTelemetryRecordsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecords
func (*XRay) PutTraceSegmentsRequest ¶
func (c *XRay) PutTraceSegmentsRequest(input *PutTraceSegmentsInput) PutTraceSegmentsRequest
PutTraceSegmentsRequest returns a request value for making API operation for AWS X-Ray.
Uploads segment documents to AWS X-Ray. The X-Ray SDK generates segment documents and sends them to the X-Ray daemon, which uploads them in batches. A segment document can be a completed segment, an in-progress segment, or an array of subsegments.
Segments must include the following fields. For the full segment document schema, see AWS X-Ray Segment Documents (https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html) in the AWS X-Ray Developer Guide.
Required Segment Document Fields
name - The name of the service that handled the request.
id - A 64-bit identifier for the segment, unique among segments in the same trace, in 16 hexadecimal digits.
trace_id - A unique identifier that connects all segments and subsegments originating from a single client request.
start_time - Time the segment or subsegment was created, in floating point seconds in epoch time, accurate to milliseconds. For example, 1480615200.010 or 1.480615200010E9.
end_time - Time the segment or subsegment was closed. For example, 1480615200.090 or 1.480615200090E9. Specify either an end_time or in_progress.
in_progress - Set to true instead of specifying an end_time to record that a segment has been started, but is not complete. Send an in progress segment when your application receives a request that will take a long time to serve, to trace the fact that the request was received. When the response is sent, send the complete segment to overwrite the in-progress segment.
A trace_id consists of three numbers separated by hyphens. For example, 1-58406520-a006649127e371903a2de979. This includes:
Trace ID Format
The version number, i.e. 1.
The time of the original request, in Unix epoch time, in 8 hexadecimal digits. For example, 10:00AM December 2nd, 2016 PST in epoch time is 1480615200 seconds, or 58406520 in hexadecimal.
A 96-bit identifier for the trace, globally unique, in 24 hexadecimal digits.
// Example sending a request using the PutTraceSegmentsRequest method. req := client.PutTraceSegmentsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTraceSegments
func (*XRay) UpdateGroupRequest ¶
func (c *XRay) UpdateGroupRequest(input *UpdateGroupInput) UpdateGroupRequest
UpdateGroupRequest returns a request value for making API operation for AWS X-Ray.
Updates a group resource.
// Example sending a request using the UpdateGroupRequest method. req := client.UpdateGroupRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroup
func (*XRay) UpdateSamplingRuleRequest ¶
func (c *XRay) UpdateSamplingRuleRequest(input *UpdateSamplingRuleInput) UpdateSamplingRuleRequest
UpdateSamplingRuleRequest returns a request value for making API operation for AWS X-Ray.
Modifies a sampling rule's configuration.
// Example sending a request using the UpdateSamplingRuleRequest method. req := client.UpdateSamplingRuleRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateSamplingRule
Source Files ¶
api.go doc.go errors.go service.go
Directories ¶
Path | Synopsis |
---|---|
service/xray/xrayiface | Package xrayiface provides an interface to enable mocking the AWS X-Ray service client for testing your code. |
- Version
- v0.6.0
- Published
- Dec 3, 2018
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 5 seconds ago –
Tools for package owners.