aws-sdk-go: github.com/aws/aws-sdk-go/service/xray Index | Files | Directories

package xray

import "github.com/aws/aws-sdk-go/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 contact 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

Package Files

api.go doc.go errors.go service.go

Constants

const (
    // EncryptionStatusUpdating is a EncryptionStatus enum value
    EncryptionStatusUpdating = "UPDATING"

    // EncryptionStatusActive is a EncryptionStatus enum value
    EncryptionStatusActive = "ACTIVE"
)
const (
    // EncryptionTypeNone is a EncryptionType enum value
    EncryptionTypeNone = "NONE"

    // EncryptionTypeKms is a EncryptionType enum value
    EncryptionTypeKms = "KMS"
)
const (
    // SamplingStrategyNamePartialScan is a SamplingStrategyName enum value
    SamplingStrategyNamePartialScan = "PartialScan"

    // SamplingStrategyNameFixedRate is a SamplingStrategyName enum value
    SamplingStrategyNameFixedRate = "FixedRate"
)
const (
    // TimeRangeTypeTraceId is a TimeRangeType enum value
    TimeRangeTypeTraceId = "TraceId"

    // TimeRangeTypeEvent is a TimeRangeType enum value
    TimeRangeTypeEvent = "Event"
)
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"      // Name of service.
    EndpointsID = ServiceName // ID to lookup a service endpoint with.
    ServiceID   = "XRay"      // ServiceID is a unique identifer of a specific service.
)

Service information constants

type Alias Uses

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.

func (Alias) GoString Uses

func (s Alias) GoString() string

GoString returns the string representation

func (*Alias) SetName Uses

func (s *Alias) SetName(v string) *Alias

SetName sets the Name field's value.

func (*Alias) SetNames Uses

func (s *Alias) SetNames(v []*string) *Alias

SetNames sets the Names field's value.

func (*Alias) SetType Uses

func (s *Alias) SetType(v string) *Alias

SetType sets the Type field's value.

func (Alias) String Uses

func (s Alias) String() string

String returns the string representation

type AnnotationValue Uses

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.

func (AnnotationValue) GoString Uses

func (s AnnotationValue) GoString() string

GoString returns the string representation

func (*AnnotationValue) SetBooleanValue Uses

func (s *AnnotationValue) SetBooleanValue(v bool) *AnnotationValue

SetBooleanValue sets the BooleanValue field's value.

func (*AnnotationValue) SetNumberValue Uses

func (s *AnnotationValue) SetNumberValue(v float64) *AnnotationValue

SetNumberValue sets the NumberValue field's value.

func (*AnnotationValue) SetStringValue Uses

func (s *AnnotationValue) SetStringValue(v string) *AnnotationValue

SetStringValue sets the StringValue field's value.

func (AnnotationValue) String Uses

func (s AnnotationValue) String() string

String returns the string representation

type AvailabilityZoneDetail Uses

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.

func (AvailabilityZoneDetail) GoString Uses

func (s AvailabilityZoneDetail) GoString() string

GoString returns the string representation

func (*AvailabilityZoneDetail) SetName Uses

func (s *AvailabilityZoneDetail) SetName(v string) *AvailabilityZoneDetail

SetName sets the Name field's value.

func (AvailabilityZoneDetail) String Uses

func (s AvailabilityZoneDetail) String() string

String returns the string representation

type BackendConnectionErrors Uses

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
}

func (BackendConnectionErrors) GoString Uses

func (s BackendConnectionErrors) GoString() string

GoString returns the string representation

func (*BackendConnectionErrors) SetConnectionRefusedCount Uses

func (s *BackendConnectionErrors) SetConnectionRefusedCount(v int64) *BackendConnectionErrors

SetConnectionRefusedCount sets the ConnectionRefusedCount field's value.

func (*BackendConnectionErrors) SetHTTPCode4XXCount Uses

func (s *BackendConnectionErrors) SetHTTPCode4XXCount(v int64) *BackendConnectionErrors

SetHTTPCode4XXCount sets the HTTPCode4XXCount field's value.

func (*BackendConnectionErrors) SetHTTPCode5XXCount Uses

func (s *BackendConnectionErrors) SetHTTPCode5XXCount(v int64) *BackendConnectionErrors

SetHTTPCode5XXCount sets the HTTPCode5XXCount field's value.

func (*BackendConnectionErrors) SetOtherCount Uses

func (s *BackendConnectionErrors) SetOtherCount(v int64) *BackendConnectionErrors

SetOtherCount sets the OtherCount field's value.

func (*BackendConnectionErrors) SetTimeoutCount Uses

func (s *BackendConnectionErrors) SetTimeoutCount(v int64) *BackendConnectionErrors

SetTimeoutCount sets the TimeoutCount field's value.

func (*BackendConnectionErrors) SetUnknownHostCount Uses

func (s *BackendConnectionErrors) SetUnknownHostCount(v int64) *BackendConnectionErrors

SetUnknownHostCount sets the UnknownHostCount field's value.

func (BackendConnectionErrors) String Uses

func (s BackendConnectionErrors) String() string

String returns the string representation

type BatchGetTracesInput Uses

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
}

func (BatchGetTracesInput) GoString Uses

func (s BatchGetTracesInput) GoString() string

GoString returns the string representation

func (*BatchGetTracesInput) SetNextToken Uses

func (s *BatchGetTracesInput) SetNextToken(v string) *BatchGetTracesInput

SetNextToken sets the NextToken field's value.

func (*BatchGetTracesInput) SetTraceIds Uses

func (s *BatchGetTracesInput) SetTraceIds(v []*string) *BatchGetTracesInput

SetTraceIds sets the TraceIds field's value.

func (BatchGetTracesInput) String Uses

func (s BatchGetTracesInput) String() string

String returns the string representation

func (*BatchGetTracesInput) Validate Uses

func (s *BatchGetTracesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BatchGetTracesOutput Uses

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
}

func (BatchGetTracesOutput) GoString Uses

func (s BatchGetTracesOutput) GoString() string

GoString returns the string representation

func (*BatchGetTracesOutput) SetNextToken Uses

func (s *BatchGetTracesOutput) SetNextToken(v string) *BatchGetTracesOutput

SetNextToken sets the NextToken field's value.

func (*BatchGetTracesOutput) SetTraces Uses

func (s *BatchGetTracesOutput) SetTraces(v []*Trace) *BatchGetTracesOutput

SetTraces sets the Traces field's value.

func (*BatchGetTracesOutput) SetUnprocessedTraceIds Uses

func (s *BatchGetTracesOutput) SetUnprocessedTraceIds(v []*string) *BatchGetTracesOutput

SetUnprocessedTraceIds sets the UnprocessedTraceIds field's value.

func (BatchGetTracesOutput) String Uses

func (s BatchGetTracesOutput) String() string

String returns the string representation

type CreateGroupInput Uses

type CreateGroupInput struct {

    // The filter expression defining criteria by which to group traces.
    FilterExpression *string `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
}

func (CreateGroupInput) GoString Uses

func (s CreateGroupInput) GoString() string

GoString returns the string representation

func (*CreateGroupInput) SetFilterExpression Uses

func (s *CreateGroupInput) SetFilterExpression(v string) *CreateGroupInput

SetFilterExpression sets the FilterExpression field's value.

func (*CreateGroupInput) SetGroupName Uses

func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput

SetGroupName sets the GroupName field's value.

func (CreateGroupInput) String Uses

func (s CreateGroupInput) String() string

String returns the string representation

func (*CreateGroupInput) Validate Uses

func (s *CreateGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateGroupOutput Uses

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
}

func (CreateGroupOutput) GoString Uses

func (s CreateGroupOutput) GoString() string

GoString returns the string representation

func (*CreateGroupOutput) SetGroup Uses

func (s *CreateGroupOutput) SetGroup(v *Group) *CreateGroupOutput

SetGroup sets the Group field's value.

func (CreateGroupOutput) String Uses

func (s CreateGroupOutput) String() string

String returns the string representation

type CreateSamplingRuleInput Uses

type CreateSamplingRuleInput struct {

    // The rule definition.
    //
    // SamplingRule is a required field
    SamplingRule *SamplingRule `type:"structure" required:"true"`
    // contains filtered or unexported fields
}

func (CreateSamplingRuleInput) GoString Uses

func (s CreateSamplingRuleInput) GoString() string

GoString returns the string representation

func (*CreateSamplingRuleInput) SetSamplingRule Uses

func (s *CreateSamplingRuleInput) SetSamplingRule(v *SamplingRule) *CreateSamplingRuleInput

SetSamplingRule sets the SamplingRule field's value.

func (CreateSamplingRuleInput) String Uses

func (s CreateSamplingRuleInput) String() string

String returns the string representation

func (*CreateSamplingRuleInput) Validate Uses

func (s *CreateSamplingRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateSamplingRuleOutput Uses

type CreateSamplingRuleOutput struct {

    // The saved rule definition and metadata.
    SamplingRuleRecord *SamplingRuleRecord `type:"structure"`
    // contains filtered or unexported fields
}

func (CreateSamplingRuleOutput) GoString Uses

func (s CreateSamplingRuleOutput) GoString() string

GoString returns the string representation

func (*CreateSamplingRuleOutput) SetSamplingRuleRecord Uses

func (s *CreateSamplingRuleOutput) SetSamplingRuleRecord(v *SamplingRuleRecord) *CreateSamplingRuleOutput

SetSamplingRuleRecord sets the SamplingRuleRecord field's value.

func (CreateSamplingRuleOutput) String Uses

func (s CreateSamplingRuleOutput) String() string

String returns the string representation

type DeleteGroupInput Uses

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
}

func (DeleteGroupInput) GoString Uses

func (s DeleteGroupInput) GoString() string

GoString returns the string representation

func (*DeleteGroupInput) SetGroupARN Uses

func (s *DeleteGroupInput) SetGroupARN(v string) *DeleteGroupInput

SetGroupARN sets the GroupARN field's value.

func (*DeleteGroupInput) SetGroupName Uses

func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput

SetGroupName sets the GroupName field's value.

func (DeleteGroupInput) String Uses

func (s DeleteGroupInput) String() string

String returns the string representation

func (*DeleteGroupInput) Validate Uses

func (s *DeleteGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteGroupOutput Uses

type DeleteGroupOutput struct {
    // contains filtered or unexported fields
}

func (DeleteGroupOutput) GoString Uses

func (s DeleteGroupOutput) GoString() string

GoString returns the string representation

func (DeleteGroupOutput) String Uses

func (s DeleteGroupOutput) String() string

String returns the string representation

type DeleteSamplingRuleInput Uses

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
}

func (DeleteSamplingRuleInput) GoString Uses

func (s DeleteSamplingRuleInput) GoString() string

GoString returns the string representation

func (*DeleteSamplingRuleInput) SetRuleARN Uses

func (s *DeleteSamplingRuleInput) SetRuleARN(v string) *DeleteSamplingRuleInput

SetRuleARN sets the RuleARN field's value.

func (*DeleteSamplingRuleInput) SetRuleName Uses

func (s *DeleteSamplingRuleInput) SetRuleName(v string) *DeleteSamplingRuleInput

SetRuleName sets the RuleName field's value.

func (DeleteSamplingRuleInput) String Uses

func (s DeleteSamplingRuleInput) String() string

String returns the string representation

type DeleteSamplingRuleOutput Uses

type DeleteSamplingRuleOutput struct {

    // The deleted rule definition and metadata.
    SamplingRuleRecord *SamplingRuleRecord `type:"structure"`
    // contains filtered or unexported fields
}

func (DeleteSamplingRuleOutput) GoString Uses

func (s DeleteSamplingRuleOutput) GoString() string

GoString returns the string representation

func (*DeleteSamplingRuleOutput) SetSamplingRuleRecord Uses

func (s *DeleteSamplingRuleOutput) SetSamplingRuleRecord(v *SamplingRuleRecord) *DeleteSamplingRuleOutput

SetSamplingRuleRecord sets the SamplingRuleRecord field's value.

func (DeleteSamplingRuleOutput) String Uses

func (s DeleteSamplingRuleOutput) String() string

String returns the string representation

type Edge Uses

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"`

    // 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"`

    // Response statistics for segments on the edge.
    SummaryStatistics *EdgeStatistics `type:"structure"`
    // contains filtered or unexported fields
}

Information about a connection between two services.

func (Edge) GoString Uses

func (s Edge) GoString() string

GoString returns the string representation

func (*Edge) SetAliases Uses

func (s *Edge) SetAliases(v []*Alias) *Edge

SetAliases sets the Aliases field's value.

func (*Edge) SetEndTime Uses

func (s *Edge) SetEndTime(v time.Time) *Edge

SetEndTime sets the EndTime field's value.

func (*Edge) SetReferenceId Uses

func (s *Edge) SetReferenceId(v int64) *Edge

SetReferenceId sets the ReferenceId field's value.

func (*Edge) SetResponseTimeHistogram Uses

func (s *Edge) SetResponseTimeHistogram(v []*HistogramEntry) *Edge

SetResponseTimeHistogram sets the ResponseTimeHistogram field's value.

func (*Edge) SetStartTime Uses

func (s *Edge) SetStartTime(v time.Time) *Edge

SetStartTime sets the StartTime field's value.

func (*Edge) SetSummaryStatistics Uses

func (s *Edge) SetSummaryStatistics(v *EdgeStatistics) *Edge

SetSummaryStatistics sets the SummaryStatistics field's value.

func (Edge) String Uses

func (s Edge) String() string

String returns the string representation

type EdgeStatistics Uses

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.

func (EdgeStatistics) GoString Uses

func (s EdgeStatistics) GoString() string

GoString returns the string representation

func (*EdgeStatistics) SetErrorStatistics Uses

func (s *EdgeStatistics) SetErrorStatistics(v *ErrorStatistics) *EdgeStatistics

SetErrorStatistics sets the ErrorStatistics field's value.

func (*EdgeStatistics) SetFaultStatistics Uses

func (s *EdgeStatistics) SetFaultStatistics(v *FaultStatistics) *EdgeStatistics

SetFaultStatistics sets the FaultStatistics field's value.

func (*EdgeStatistics) SetOkCount Uses

func (s *EdgeStatistics) SetOkCount(v int64) *EdgeStatistics

SetOkCount sets the OkCount field's value.

func (*EdgeStatistics) SetTotalCount Uses

func (s *EdgeStatistics) SetTotalCount(v int64) *EdgeStatistics

SetTotalCount sets the TotalCount field's value.

func (*EdgeStatistics) SetTotalResponseTime Uses

func (s *EdgeStatistics) SetTotalResponseTime(v float64) *EdgeStatistics

SetTotalResponseTime sets the TotalResponseTime field's value.

func (EdgeStatistics) String Uses

func (s EdgeStatistics) String() string

String returns the string representation

type EncryptionConfig Uses

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 *string `type:"string" enum:"EncryptionStatus"`

    // The type of encryption. Set to KMS for encryption with CMKs. Set to NONE
    // for default encryption.
    Type *string `type:"string" enum:"EncryptionType"`
    // contains filtered or unexported fields
}

A configuration document that specifies encryption configuration settings.

func (EncryptionConfig) GoString Uses

func (s EncryptionConfig) GoString() string

GoString returns the string representation

func (*EncryptionConfig) SetKeyId Uses

func (s *EncryptionConfig) SetKeyId(v string) *EncryptionConfig

SetKeyId sets the KeyId field's value.

func (*EncryptionConfig) SetStatus Uses

func (s *EncryptionConfig) SetStatus(v string) *EncryptionConfig

SetStatus sets the Status field's value.

func (*EncryptionConfig) SetType Uses

func (s *EncryptionConfig) SetType(v string) *EncryptionConfig

SetType sets the Type field's value.

func (EncryptionConfig) String Uses

func (s EncryptionConfig) String() string

String returns the string representation

type ErrorRootCause Uses

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.

func (ErrorRootCause) GoString Uses

func (s ErrorRootCause) GoString() string

GoString returns the string representation

func (*ErrorRootCause) SetServices Uses

func (s *ErrorRootCause) SetServices(v []*ErrorRootCauseService) *ErrorRootCause

SetServices sets the Services field's value.

func (ErrorRootCause) String Uses

func (s ErrorRootCause) String() string

String returns the string representation

type ErrorRootCauseEntity Uses

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.

func (ErrorRootCauseEntity) GoString Uses

func (s ErrorRootCauseEntity) GoString() string

GoString returns the string representation

func (*ErrorRootCauseEntity) SetExceptions Uses

func (s *ErrorRootCauseEntity) SetExceptions(v []*RootCauseException) *ErrorRootCauseEntity

SetExceptions sets the Exceptions field's value.

func (*ErrorRootCauseEntity) SetName Uses

func (s *ErrorRootCauseEntity) SetName(v string) *ErrorRootCauseEntity

SetName sets the Name field's value.

func (*ErrorRootCauseEntity) SetRemote Uses

func (s *ErrorRootCauseEntity) SetRemote(v bool) *ErrorRootCauseEntity

SetRemote sets the Remote field's value.

func (ErrorRootCauseEntity) String Uses

func (s ErrorRootCauseEntity) String() string

String returns the string representation

type ErrorRootCauseService Uses

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.

func (ErrorRootCauseService) GoString Uses

func (s ErrorRootCauseService) GoString() string

GoString returns the string representation

func (*ErrorRootCauseService) SetAccountId Uses

func (s *ErrorRootCauseService) SetAccountId(v string) *ErrorRootCauseService

SetAccountId sets the AccountId field's value.

func (*ErrorRootCauseService) SetEntityPath Uses

func (s *ErrorRootCauseService) SetEntityPath(v []*ErrorRootCauseEntity) *ErrorRootCauseService

SetEntityPath sets the EntityPath field's value.

func (*ErrorRootCauseService) SetInferred Uses

func (s *ErrorRootCauseService) SetInferred(v bool) *ErrorRootCauseService

SetInferred sets the Inferred field's value.

func (*ErrorRootCauseService) SetName Uses

func (s *ErrorRootCauseService) SetName(v string) *ErrorRootCauseService

SetName sets the Name field's value.

func (*ErrorRootCauseService) SetNames Uses

func (s *ErrorRootCauseService) SetNames(v []*string) *ErrorRootCauseService

SetNames sets the Names field's value.

func (*ErrorRootCauseService) SetType Uses

func (s *ErrorRootCauseService) SetType(v string) *ErrorRootCauseService

SetType sets the Type field's value.

func (ErrorRootCauseService) String Uses

func (s ErrorRootCauseService) String() string

String returns the string representation

type ErrorStatistics Uses

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.

func (ErrorStatistics) GoString Uses

func (s ErrorStatistics) GoString() string

GoString returns the string representation

func (*ErrorStatistics) SetOtherCount Uses

func (s *ErrorStatistics) SetOtherCount(v int64) *ErrorStatistics

SetOtherCount sets the OtherCount field's value.

func (*ErrorStatistics) SetThrottleCount Uses

func (s *ErrorStatistics) SetThrottleCount(v int64) *ErrorStatistics

SetThrottleCount sets the ThrottleCount field's value.

func (*ErrorStatistics) SetTotalCount Uses

func (s *ErrorStatistics) SetTotalCount(v int64) *ErrorStatistics

SetTotalCount sets the TotalCount field's value.

func (ErrorStatistics) String Uses

func (s ErrorStatistics) String() string

String returns the string representation

type FaultRootCause Uses

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.

func (FaultRootCause) GoString Uses

func (s FaultRootCause) GoString() string

GoString returns the string representation

func (*FaultRootCause) SetServices Uses

func (s *FaultRootCause) SetServices(v []*FaultRootCauseService) *FaultRootCause

SetServices sets the Services field's value.

func (FaultRootCause) String Uses

func (s FaultRootCause) String() string

String returns the string representation

type FaultRootCauseEntity Uses

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.

func (FaultRootCauseEntity) GoString Uses

func (s FaultRootCauseEntity) GoString() string

GoString returns the string representation

func (*FaultRootCauseEntity) SetExceptions Uses

func (s *FaultRootCauseEntity) SetExceptions(v []*RootCauseException) *FaultRootCauseEntity

SetExceptions sets the Exceptions field's value.

func (*FaultRootCauseEntity) SetName Uses

func (s *FaultRootCauseEntity) SetName(v string) *FaultRootCauseEntity

SetName sets the Name field's value.

func (*FaultRootCauseEntity) SetRemote Uses

func (s *FaultRootCauseEntity) SetRemote(v bool) *FaultRootCauseEntity

SetRemote sets the Remote field's value.

func (FaultRootCauseEntity) String Uses

func (s FaultRootCauseEntity) String() string

String returns the string representation

type FaultRootCauseService Uses

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.

func (FaultRootCauseService) GoString Uses

func (s FaultRootCauseService) GoString() string

GoString returns the string representation

func (*FaultRootCauseService) SetAccountId Uses

func (s *FaultRootCauseService) SetAccountId(v string) *FaultRootCauseService

SetAccountId sets the AccountId field's value.

func (*FaultRootCauseService) SetEntityPath Uses

func (s *FaultRootCauseService) SetEntityPath(v []*FaultRootCauseEntity) *FaultRootCauseService

SetEntityPath sets the EntityPath field's value.

func (*FaultRootCauseService) SetInferred Uses

func (s *FaultRootCauseService) SetInferred(v bool) *FaultRootCauseService

SetInferred sets the Inferred field's value.

func (*FaultRootCauseService) SetName Uses

func (s *FaultRootCauseService) SetName(v string) *FaultRootCauseService

SetName sets the Name field's value.

func (*FaultRootCauseService) SetNames Uses

func (s *FaultRootCauseService) SetNames(v []*string) *FaultRootCauseService

SetNames sets the Names field's value.

func (*FaultRootCauseService) SetType Uses

func (s *FaultRootCauseService) SetType(v string) *FaultRootCauseService

SetType sets the Type field's value.

func (FaultRootCauseService) String Uses

func (s FaultRootCauseService) String() string

String returns the string representation

type FaultStatistics Uses

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.

func (FaultStatistics) GoString Uses

func (s FaultStatistics) GoString() string

GoString returns the string representation

func (*FaultStatistics) SetOtherCount Uses

func (s *FaultStatistics) SetOtherCount(v int64) *FaultStatistics

SetOtherCount sets the OtherCount field's value.

func (*FaultStatistics) SetTotalCount Uses

func (s *FaultStatistics) SetTotalCount(v int64) *FaultStatistics

SetTotalCount sets the TotalCount field's value.

func (FaultStatistics) String Uses

func (s FaultStatistics) String() string

String returns the string representation

type GetEncryptionConfigInput Uses

type GetEncryptionConfigInput struct {
    // contains filtered or unexported fields
}

func (GetEncryptionConfigInput) GoString Uses

func (s GetEncryptionConfigInput) GoString() string

GoString returns the string representation

func (GetEncryptionConfigInput) String Uses

func (s GetEncryptionConfigInput) String() string

String returns the string representation

type GetEncryptionConfigOutput Uses

type GetEncryptionConfigOutput struct {

    // The encryption configuration document.
    EncryptionConfig *EncryptionConfig `type:"structure"`
    // contains filtered or unexported fields
}

func (GetEncryptionConfigOutput) GoString Uses

func (s GetEncryptionConfigOutput) GoString() string

GoString returns the string representation

func (*GetEncryptionConfigOutput) SetEncryptionConfig Uses

func (s *GetEncryptionConfigOutput) SetEncryptionConfig(v *EncryptionConfig) *GetEncryptionConfigOutput

SetEncryptionConfig sets the EncryptionConfig field's value.

func (GetEncryptionConfigOutput) String Uses

func (s GetEncryptionConfigOutput) String() string

String returns the string representation

type GetGroupInput Uses

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
}

func (GetGroupInput) GoString Uses

func (s GetGroupInput) GoString() string

GoString returns the string representation

func (*GetGroupInput) SetGroupARN Uses

func (s *GetGroupInput) SetGroupARN(v string) *GetGroupInput

SetGroupARN sets the GroupARN field's value.

func (*GetGroupInput) SetGroupName Uses

func (s *GetGroupInput) SetGroupName(v string) *GetGroupInput

SetGroupName sets the GroupName field's value.

func (GetGroupInput) String Uses

func (s GetGroupInput) String() string

String returns the string representation

func (*GetGroupInput) Validate Uses

func (s *GetGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetGroupOutput Uses

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
}

func (GetGroupOutput) GoString Uses

func (s GetGroupOutput) GoString() string

GoString returns the string representation

func (*GetGroupOutput) SetGroup Uses

func (s *GetGroupOutput) SetGroup(v *Group) *GetGroupOutput

SetGroup sets the Group field's value.

func (GetGroupOutput) String Uses

func (s GetGroupOutput) String() string

String returns the string representation

type GetGroupsInput Uses

type GetGroupsInput struct {

    // Pagination token. Not used.
    NextToken *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

func (GetGroupsInput) GoString Uses

func (s GetGroupsInput) GoString() string

GoString returns the string representation

func (*GetGroupsInput) SetNextToken Uses

func (s *GetGroupsInput) SetNextToken(v string) *GetGroupsInput

SetNextToken sets the NextToken field's value.

func (GetGroupsInput) String Uses

func (s GetGroupsInput) String() string

String returns the string representation

func (*GetGroupsInput) Validate Uses

func (s *GetGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetGroupsOutput Uses

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
}

func (GetGroupsOutput) GoString Uses

func (s GetGroupsOutput) GoString() string

GoString returns the string representation

func (*GetGroupsOutput) SetGroups Uses

func (s *GetGroupsOutput) SetGroups(v []*GroupSummary) *GetGroupsOutput

SetGroups sets the Groups field's value.

func (*GetGroupsOutput) SetNextToken Uses

func (s *GetGroupsOutput) SetNextToken(v string) *GetGroupsOutput

SetNextToken sets the NextToken field's value.

func (GetGroupsOutput) String Uses

func (s GetGroupsOutput) String() string

String returns the string representation

type GetSamplingRulesInput Uses

type GetSamplingRulesInput struct {

    // Pagination token. Not used.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (GetSamplingRulesInput) GoString Uses

func (s GetSamplingRulesInput) GoString() string

GoString returns the string representation

func (*GetSamplingRulesInput) SetNextToken Uses

func (s *GetSamplingRulesInput) SetNextToken(v string) *GetSamplingRulesInput

SetNextToken sets the NextToken field's value.

func (GetSamplingRulesInput) String Uses

func (s GetSamplingRulesInput) String() string

String returns the string representation

type GetSamplingRulesOutput Uses

type GetSamplingRulesOutput struct {

    // Pagination token. Not used.
    NextToken *string `type:"string"`

    // Rule definitions and metadata.
    SamplingRuleRecords []*SamplingRuleRecord `type:"list"`
    // contains filtered or unexported fields
}

func (GetSamplingRulesOutput) GoString Uses

func (s GetSamplingRulesOutput) GoString() string

GoString returns the string representation

func (*GetSamplingRulesOutput) SetNextToken Uses

func (s *GetSamplingRulesOutput) SetNextToken(v string) *GetSamplingRulesOutput

SetNextToken sets the NextToken field's value.

func (*GetSamplingRulesOutput) SetSamplingRuleRecords Uses

func (s *GetSamplingRulesOutput) SetSamplingRuleRecords(v []*SamplingRuleRecord) *GetSamplingRulesOutput

SetSamplingRuleRecords sets the SamplingRuleRecords field's value.

func (GetSamplingRulesOutput) String Uses

func (s GetSamplingRulesOutput) String() string

String returns the string representation

type GetSamplingStatisticSummariesInput Uses

type GetSamplingStatisticSummariesInput struct {

    // Pagination token. Not used.
    NextToken *string `type:"string"`
    // contains filtered or unexported fields
}

func (GetSamplingStatisticSummariesInput) GoString Uses

func (s GetSamplingStatisticSummariesInput) GoString() string

GoString returns the string representation

func (*GetSamplingStatisticSummariesInput) SetNextToken Uses

func (s *GetSamplingStatisticSummariesInput) SetNextToken(v string) *GetSamplingStatisticSummariesInput

SetNextToken sets the NextToken field's value.

func (GetSamplingStatisticSummariesInput) String Uses

func (s GetSamplingStatisticSummariesInput) String() string

String returns the string representation

type GetSamplingStatisticSummariesOutput Uses

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
}

func (GetSamplingStatisticSummariesOutput) GoString Uses

func (s GetSamplingStatisticSummariesOutput) GoString() string

GoString returns the string representation

func (*GetSamplingStatisticSummariesOutput) SetNextToken Uses

func (s *GetSamplingStatisticSummariesOutput) SetNextToken(v string) *GetSamplingStatisticSummariesOutput

SetNextToken sets the NextToken field's value.

func (*GetSamplingStatisticSummariesOutput) SetSamplingStatisticSummaries Uses

func (s *GetSamplingStatisticSummariesOutput) SetSamplingStatisticSummaries(v []*SamplingStatisticSummary) *GetSamplingStatisticSummariesOutput

SetSamplingStatisticSummaries sets the SamplingStatisticSummaries field's value.

func (GetSamplingStatisticSummariesOutput) String Uses

func (s GetSamplingStatisticSummariesOutput) String() string

String returns the string representation

type GetSamplingTargetsInput Uses

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
}

func (GetSamplingTargetsInput) GoString Uses

func (s GetSamplingTargetsInput) GoString() string

GoString returns the string representation

func (*GetSamplingTargetsInput) SetSamplingStatisticsDocuments Uses

func (s *GetSamplingTargetsInput) SetSamplingStatisticsDocuments(v []*SamplingStatisticsDocument) *GetSamplingTargetsInput

SetSamplingStatisticsDocuments sets the SamplingStatisticsDocuments field's value.

func (GetSamplingTargetsInput) String Uses

func (s GetSamplingTargetsInput) String() string

String returns the string representation

func (*GetSamplingTargetsInput) Validate Uses

func (s *GetSamplingTargetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetSamplingTargetsOutput Uses

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"`

    // 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
}

func (GetSamplingTargetsOutput) GoString Uses

func (s GetSamplingTargetsOutput) GoString() string

GoString returns the string representation

func (*GetSamplingTargetsOutput) SetLastRuleModification Uses

func (s *GetSamplingTargetsOutput) SetLastRuleModification(v time.Time) *GetSamplingTargetsOutput

SetLastRuleModification sets the LastRuleModification field's value.

func (*GetSamplingTargetsOutput) SetSamplingTargetDocuments Uses

func (s *GetSamplingTargetsOutput) SetSamplingTargetDocuments(v []*SamplingTargetDocument) *GetSamplingTargetsOutput

SetSamplingTargetDocuments sets the SamplingTargetDocuments field's value.

func (*GetSamplingTargetsOutput) SetUnprocessedStatistics Uses

func (s *GetSamplingTargetsOutput) SetUnprocessedStatistics(v []*UnprocessedStatistics) *GetSamplingTargetsOutput

SetUnprocessedStatistics sets the UnprocessedStatistics field's value.

func (GetSamplingTargetsOutput) String Uses

func (s GetSamplingTargetsOutput) String() string

String returns the string representation

type GetServiceGraphInput Uses

type GetServiceGraphInput struct {

    // The end of the timeframe for which to generate a graph.
    //
    // EndTime is a required field
    EndTime *time.Time `type:"timestamp" 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" required:"true"`
    // contains filtered or unexported fields
}

func (GetServiceGraphInput) GoString Uses

func (s GetServiceGraphInput) GoString() string

GoString returns the string representation

func (*GetServiceGraphInput) SetEndTime Uses

func (s *GetServiceGraphInput) SetEndTime(v time.Time) *GetServiceGraphInput

SetEndTime sets the EndTime field's value.

func (*GetServiceGraphInput) SetGroupARN Uses

func (s *GetServiceGraphInput) SetGroupARN(v string) *GetServiceGraphInput

SetGroupARN sets the GroupARN field's value.

func (*GetServiceGraphInput) SetGroupName Uses

func (s *GetServiceGraphInput) SetGroupName(v string) *GetServiceGraphInput

SetGroupName sets the GroupName field's value.

func (*GetServiceGraphInput) SetNextToken Uses

func (s *GetServiceGraphInput) SetNextToken(v string) *GetServiceGraphInput

SetNextToken sets the NextToken field's value.

func (*GetServiceGraphInput) SetStartTime Uses

func (s *GetServiceGraphInput) SetStartTime(v time.Time) *GetServiceGraphInput

SetStartTime sets the StartTime field's value.

func (GetServiceGraphInput) String Uses

func (s GetServiceGraphInput) String() string

String returns the string representation

func (*GetServiceGraphInput) Validate Uses

func (s *GetServiceGraphInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetServiceGraphOutput Uses

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"`

    // 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"`
    // contains filtered or unexported fields
}

func (GetServiceGraphOutput) GoString Uses

func (s GetServiceGraphOutput) GoString() string

GoString returns the string representation

func (*GetServiceGraphOutput) SetContainsOldGroupVersions Uses

func (s *GetServiceGraphOutput) SetContainsOldGroupVersions(v bool) *GetServiceGraphOutput

SetContainsOldGroupVersions sets the ContainsOldGroupVersions field's value.

func (*GetServiceGraphOutput) SetEndTime Uses

func (s *GetServiceGraphOutput) SetEndTime(v time.Time) *GetServiceGraphOutput

SetEndTime sets the EndTime field's value.

func (*GetServiceGraphOutput) SetNextToken Uses

func (s *GetServiceGraphOutput) SetNextToken(v string) *GetServiceGraphOutput

SetNextToken sets the NextToken field's value.

func (*GetServiceGraphOutput) SetServices Uses

func (s *GetServiceGraphOutput) SetServices(v []*Service) *GetServiceGraphOutput

SetServices sets the Services field's value.

func (*GetServiceGraphOutput) SetStartTime Uses

func (s *GetServiceGraphOutput) SetStartTime(v time.Time) *GetServiceGraphOutput

SetStartTime sets the StartTime field's value.

func (GetServiceGraphOutput) String Uses

func (s GetServiceGraphOutput) String() string

String returns the string representation

type GetTimeSeriesServiceStatisticsInput Uses

type GetTimeSeriesServiceStatisticsInput struct {

    // The end of the time frame for which to aggregate statistics.
    //
    // EndTime is a required field
    EndTime *time.Time `type:"timestamp" required:"true"`

    // A filter expression defining entities that will be aggregated for statistics.
    // Supports ID, service, and edge functions. If no selector expression is specified,
    // edge statistics are returned.
    EntitySelectorExpression *string `min:"1" type:"string"`

    // The ARN of the group for which to pull statistics from.
    GroupARN *string `min:"1" type:"string"`

    // The case-sensitive name of the group for which to pull statistics from.
    GroupName *string `min:"1" type:"string"`

    // Pagination token. Not used.
    NextToken *string `type:"string"`

    // Aggregation period in seconds.
    Period *int64 `type:"integer"`

    // The start of the time frame for which to aggregate statistics.
    //
    // StartTime is a required field
    StartTime *time.Time `type:"timestamp" required:"true"`
    // contains filtered or unexported fields
}

func (GetTimeSeriesServiceStatisticsInput) GoString Uses

func (s GetTimeSeriesServiceStatisticsInput) GoString() string

GoString returns the string representation

func (*GetTimeSeriesServiceStatisticsInput) SetEndTime Uses

func (s *GetTimeSeriesServiceStatisticsInput) SetEndTime(v time.Time) *GetTimeSeriesServiceStatisticsInput

SetEndTime sets the EndTime field's value.

func (*GetTimeSeriesServiceStatisticsInput) SetEntitySelectorExpression Uses

func (s *GetTimeSeriesServiceStatisticsInput) SetEntitySelectorExpression(v string) *GetTimeSeriesServiceStatisticsInput

SetEntitySelectorExpression sets the EntitySelectorExpression field's value.

func (*GetTimeSeriesServiceStatisticsInput) SetGroupARN Uses

func (s *GetTimeSeriesServiceStatisticsInput) SetGroupARN(v string) *GetTimeSeriesServiceStatisticsInput

SetGroupARN sets the GroupARN field's value.

func (*GetTimeSeriesServiceStatisticsInput) SetGroupName Uses

func (s *GetTimeSeriesServiceStatisticsInput) SetGroupName(v string) *GetTimeSeriesServiceStatisticsInput

SetGroupName sets the GroupName field's value.

func (*GetTimeSeriesServiceStatisticsInput) SetNextToken Uses

func (s *GetTimeSeriesServiceStatisticsInput) SetNextToken(v string) *GetTimeSeriesServiceStatisticsInput

SetNextToken sets the NextToken field's value.

func (*GetTimeSeriesServiceStatisticsInput) SetPeriod Uses

func (s *GetTimeSeriesServiceStatisticsInput) SetPeriod(v int64) *GetTimeSeriesServiceStatisticsInput

SetPeriod sets the Period field's value.

func (*GetTimeSeriesServiceStatisticsInput) SetStartTime Uses

func (s *GetTimeSeriesServiceStatisticsInput) SetStartTime(v time.Time) *GetTimeSeriesServiceStatisticsInput

SetStartTime sets the StartTime field's value.

func (GetTimeSeriesServiceStatisticsInput) String Uses

func (s GetTimeSeriesServiceStatisticsInput) String() string

String returns the string representation

func (*GetTimeSeriesServiceStatisticsInput) Validate Uses

func (s *GetTimeSeriesServiceStatisticsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTimeSeriesServiceStatisticsOutput Uses

type GetTimeSeriesServiceStatisticsOutput struct {

    // A flag indicating whether or not a group's filter expression has been consistent,
    // or if a returned aggregation may show statistics from an older version of
    // the group's filter expression.
    ContainsOldGroupVersions *bool `type:"boolean"`

    // Pagination token. Not used.
    NextToken *string `type:"string"`

    // The collection of statistics.
    TimeSeriesServiceStatistics []*TimeSeriesServiceStatistics `type:"list"`
    // contains filtered or unexported fields
}

func (GetTimeSeriesServiceStatisticsOutput) GoString Uses

func (s GetTimeSeriesServiceStatisticsOutput) GoString() string

GoString returns the string representation

func (*GetTimeSeriesServiceStatisticsOutput) SetContainsOldGroupVersions Uses

func (s *GetTimeSeriesServiceStatisticsOutput) SetContainsOldGroupVersions(v bool) *GetTimeSeriesServiceStatisticsOutput

SetContainsOldGroupVersions sets the ContainsOldGroupVersions field's value.

func (*GetTimeSeriesServiceStatisticsOutput) SetNextToken Uses

func (s *GetTimeSeriesServiceStatisticsOutput) SetNextToken(v string) *GetTimeSeriesServiceStatisticsOutput

SetNextToken sets the NextToken field's value.

func (*GetTimeSeriesServiceStatisticsOutput) SetTimeSeriesServiceStatistics Uses

func (s *GetTimeSeriesServiceStatisticsOutput) SetTimeSeriesServiceStatistics(v []*TimeSeriesServiceStatistics) *GetTimeSeriesServiceStatisticsOutput

SetTimeSeriesServiceStatistics sets the TimeSeriesServiceStatistics field's value.

func (GetTimeSeriesServiceStatisticsOutput) String Uses

func (s GetTimeSeriesServiceStatisticsOutput) String() string

String returns the string representation

type GetTraceGraphInput Uses

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
}

func (GetTraceGraphInput) GoString Uses

func (s GetTraceGraphInput) GoString() string

GoString returns the string representation

func (*GetTraceGraphInput) SetNextToken Uses

func (s *GetTraceGraphInput) SetNextToken(v string) *GetTraceGraphInput

SetNextToken sets the NextToken field's value.

func (*GetTraceGraphInput) SetTraceIds Uses

func (s *GetTraceGraphInput) SetTraceIds(v []*string) *GetTraceGraphInput

SetTraceIds sets the TraceIds field's value.

func (GetTraceGraphInput) String Uses

func (s GetTraceGraphInput) String() string

String returns the string representation

func (*GetTraceGraphInput) Validate Uses

func (s *GetTraceGraphInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTraceGraphOutput Uses

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
}

func (GetTraceGraphOutput) GoString Uses

func (s GetTraceGraphOutput) GoString() string

GoString returns the string representation

func (*GetTraceGraphOutput) SetNextToken Uses

func (s *GetTraceGraphOutput) SetNextToken(v string) *GetTraceGraphOutput

SetNextToken sets the NextToken field's value.

func (*GetTraceGraphOutput) SetServices Uses

func (s *GetTraceGraphOutput) SetServices(v []*Service) *GetTraceGraphOutput

SetServices sets the Services field's value.

func (GetTraceGraphOutput) String Uses

func (s GetTraceGraphOutput) String() string

String returns the string representation

type GetTraceSummariesInput Uses

type GetTraceSummariesInput struct {

    // The end of the time frame for which to retrieve traces.
    //
    // EndTime is a required field
    EndTime *time.Time `type:"timestamp" required:"true"`

    // Specify a filter expression to retrieve trace summaries for services or requests
    // that meet certain requirements.
    FilterExpression *string `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"`

    // A paramater to indicate whether to enable sampling on trace summaries. Input
    // parameters are Name and Value.
    SamplingStrategy *SamplingStrategy `type:"structure"`

    // The start of the time frame for which to retrieve traces.
    //
    // StartTime is a required field
    StartTime *time.Time `type:"timestamp" required:"true"`

    // A parameter to indicate whether to query trace summaries by TraceId or Event
    // time.
    TimeRangeType *string `type:"string" enum:"TimeRangeType"`
    // contains filtered or unexported fields
}

func (GetTraceSummariesInput) GoString Uses

func (s GetTraceSummariesInput) GoString() string

GoString returns the string representation

func (*GetTraceSummariesInput) SetEndTime Uses

func (s *GetTraceSummariesInput) SetEndTime(v time.Time) *GetTraceSummariesInput

SetEndTime sets the EndTime field's value.

func (*GetTraceSummariesInput) SetFilterExpression Uses

func (s *GetTraceSummariesInput) SetFilterExpression(v string) *GetTraceSummariesInput

SetFilterExpression sets the FilterExpression field's value.

func (*GetTraceSummariesInput) SetNextToken Uses

func (s *GetTraceSummariesInput) SetNextToken(v string) *GetTraceSummariesInput

SetNextToken sets the NextToken field's value.

func (*GetTraceSummariesInput) SetSampling Uses

func (s *GetTraceSummariesInput) SetSampling(v bool) *GetTraceSummariesInput

SetSampling sets the Sampling field's value.

func (*GetTraceSummariesInput) SetSamplingStrategy Uses

func (s *GetTraceSummariesInput) SetSamplingStrategy(v *SamplingStrategy) *GetTraceSummariesInput

SetSamplingStrategy sets the SamplingStrategy field's value.

func (*GetTraceSummariesInput) SetStartTime Uses

func (s *GetTraceSummariesInput) SetStartTime(v time.Time) *GetTraceSummariesInput

SetStartTime sets the StartTime field's value.

func (*GetTraceSummariesInput) SetTimeRangeType Uses

func (s *GetTraceSummariesInput) SetTimeRangeType(v string) *GetTraceSummariesInput

SetTimeRangeType sets the TimeRangeType field's value.

func (GetTraceSummariesInput) String Uses

func (s GetTraceSummariesInput) String() string

String returns the string representation

func (*GetTraceSummariesInput) Validate Uses

func (s *GetTraceSummariesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetTraceSummariesOutput Uses

type GetTraceSummariesOutput struct {

    // The start time of this page of results.
    ApproximateTime *time.Time `type:"timestamp"`

    // 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
}

func (GetTraceSummariesOutput) GoString Uses

func (s GetTraceSummariesOutput) GoString() string

GoString returns the string representation

func (*GetTraceSummariesOutput) SetApproximateTime Uses

func (s *GetTraceSummariesOutput) SetApproximateTime(v time.Time) *GetTraceSummariesOutput

SetApproximateTime sets the ApproximateTime field's value.

func (*GetTraceSummariesOutput) SetNextToken Uses

func (s *GetTraceSummariesOutput) SetNextToken(v string) *GetTraceSummariesOutput

SetNextToken sets the NextToken field's value.

func (*GetTraceSummariesOutput) SetTraceSummaries Uses

func (s *GetTraceSummariesOutput) SetTraceSummaries(v []*TraceSummary) *GetTraceSummariesOutput

SetTraceSummaries sets the TraceSummaries field's value.

func (*GetTraceSummariesOutput) SetTracesProcessedCount Uses

func (s *GetTraceSummariesOutput) SetTracesProcessedCount(v int64) *GetTraceSummariesOutput

SetTracesProcessedCount sets the TracesProcessedCount field's value.

func (GetTraceSummariesOutput) String Uses

func (s GetTraceSummariesOutput) String() string

String returns the string representation

type Group Uses

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.

func (Group) GoString Uses

func (s Group) GoString() string

GoString returns the string representation

func (*Group) SetFilterExpression Uses

func (s *Group) SetFilterExpression(v string) *Group

SetFilterExpression sets the FilterExpression field's value.

func (*Group) SetGroupARN Uses

func (s *Group) SetGroupARN(v string) *Group

SetGroupARN sets the GroupARN field's value.

func (*Group) SetGroupName Uses

func (s *Group) SetGroupName(v string) *Group

SetGroupName sets the GroupName field's value.

func (Group) String Uses

func (s Group) String() string

String returns the string representation

type GroupSummary Uses

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.

func (GroupSummary) GoString Uses

func (s GroupSummary) GoString() string

GoString returns the string representation

func (*GroupSummary) SetFilterExpression Uses

func (s *GroupSummary) SetFilterExpression(v string) *GroupSummary

SetFilterExpression sets the FilterExpression field's value.

func (*GroupSummary) SetGroupARN Uses

func (s *GroupSummary) SetGroupARN(v string) *GroupSummary

SetGroupARN sets the GroupARN field's value.

func (*GroupSummary) SetGroupName Uses

func (s *GroupSummary) SetGroupName(v string) *GroupSummary

SetGroupName sets the GroupName field's value.

func (GroupSummary) String Uses

func (s GroupSummary) String() string

String returns the string representation

type HistogramEntry Uses

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.

func (HistogramEntry) GoString Uses

func (s HistogramEntry) GoString() string

GoString returns the string representation

func (*HistogramEntry) SetCount Uses

func (s *HistogramEntry) SetCount(v int64) *HistogramEntry

SetCount sets the Count field's value.

func (*HistogramEntry) SetValue Uses

func (s *HistogramEntry) SetValue(v float64) *HistogramEntry

SetValue sets the Value field's value.

func (HistogramEntry) String Uses

func (s HistogramEntry) String() string

String returns the string representation

type Http Uses

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.

func (Http) GoString Uses

func (s Http) GoString() string

GoString returns the string representation

func (*Http) SetClientIp Uses

func (s *Http) SetClientIp(v string) *Http

SetClientIp sets the ClientIp field's value.

func (*Http) SetHttpMethod Uses

func (s *Http) SetHttpMethod(v string) *Http

SetHttpMethod sets the HttpMethod field's value.

func (*Http) SetHttpStatus Uses

func (s *Http) SetHttpStatus(v int64) *Http

SetHttpStatus sets the HttpStatus field's value.

func (*Http) SetHttpURL Uses

func (s *Http) SetHttpURL(v string) *Http

SetHttpURL sets the HttpURL field's value.

func (*Http) SetUserAgent Uses

func (s *Http) SetUserAgent(v string) *Http

SetUserAgent sets the UserAgent field's value.

func (Http) String Uses

func (s Http) String() string

String returns the string representation

type InstanceIdDetail Uses

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.

func (InstanceIdDetail) GoString Uses

func (s InstanceIdDetail) GoString() string

GoString returns the string representation

func (*InstanceIdDetail) SetId Uses

func (s *InstanceIdDetail) SetId(v string) *InstanceIdDetail

SetId sets the Id field's value.

func (InstanceIdDetail) String Uses

func (s InstanceIdDetail) String() string

String returns the string representation

type PutEncryptionConfigInput Uses

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 *string `type:"string" required:"true" enum:"EncryptionType"`
    // contains filtered or unexported fields
}

func (PutEncryptionConfigInput) GoString Uses

func (s PutEncryptionConfigInput) GoString() string

GoString returns the string representation

func (*PutEncryptionConfigInput) SetKeyId Uses

func (s *PutEncryptionConfigInput) SetKeyId(v string) *PutEncryptionConfigInput

SetKeyId sets the KeyId field's value.

func (*PutEncryptionConfigInput) SetType Uses

func (s *PutEncryptionConfigInput) SetType(v string) *PutEncryptionConfigInput

SetType sets the Type field's value.

func (PutEncryptionConfigInput) String Uses

func (s PutEncryptionConfigInput) String() string

String returns the string representation

func (*PutEncryptionConfigInput) Validate Uses

func (s *PutEncryptionConfigInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutEncryptionConfigOutput Uses

type PutEncryptionConfigOutput struct {

    // The new encryption configuration.
    EncryptionConfig *EncryptionConfig `type:"structure"`
    // contains filtered or unexported fields
}

func (PutEncryptionConfigOutput) GoString Uses

func (s PutEncryptionConfigOutput) GoString() string

GoString returns the string representation

func (*PutEncryptionConfigOutput) SetEncryptionConfig Uses

func (s *PutEncryptionConfigOutput) SetEncryptionConfig(v *EncryptionConfig) *PutEncryptionConfigOutput

SetEncryptionConfig sets the EncryptionConfig field's value.

func (PutEncryptionConfigOutput) String Uses

func (s PutEncryptionConfigOutput) String() string

String returns the string representation

type PutTelemetryRecordsInput Uses

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
}

func (PutTelemetryRecordsInput) GoString Uses

func (s PutTelemetryRecordsInput) GoString() string

GoString returns the string representation

func (*PutTelemetryRecordsInput) SetEC2InstanceId Uses

func (s *PutTelemetryRecordsInput) SetEC2InstanceId(v string) *PutTelemetryRecordsInput

SetEC2InstanceId sets the EC2InstanceId field's value.

func (*PutTelemetryRecordsInput) SetHostname Uses

func (s *PutTelemetryRecordsInput) SetHostname(v string) *PutTelemetryRecordsInput

SetHostname sets the Hostname field's value.

func (*PutTelemetryRecordsInput) SetResourceARN Uses

func (s *PutTelemetryRecordsInput) SetResourceARN(v string) *PutTelemetryRecordsInput

SetResourceARN sets the ResourceARN field's value.

func (*PutTelemetryRecordsInput) SetTelemetryRecords Uses

func (s *PutTelemetryRecordsInput) SetTelemetryRecords(v []*TelemetryRecord) *PutTelemetryRecordsInput

SetTelemetryRecords sets the TelemetryRecords field's value.

func (PutTelemetryRecordsInput) String Uses

func (s PutTelemetryRecordsInput) String() string

String returns the string representation

func (*PutTelemetryRecordsInput) Validate Uses

func (s *PutTelemetryRecordsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutTelemetryRecordsOutput Uses

type PutTelemetryRecordsOutput struct {
    // contains filtered or unexported fields
}

func (PutTelemetryRecordsOutput) GoString Uses

func (s PutTelemetryRecordsOutput) GoString() string

GoString returns the string representation

func (PutTelemetryRecordsOutput) String Uses

func (s PutTelemetryRecordsOutput) String() string

String returns the string representation

type PutTraceSegmentsInput Uses

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
}

func (PutTraceSegmentsInput) GoString Uses

func (s PutTraceSegmentsInput) GoString() string

GoString returns the string representation

func (*PutTraceSegmentsInput) SetTraceSegmentDocuments Uses

func (s *PutTraceSegmentsInput) SetTraceSegmentDocuments(v []*string) *PutTraceSegmentsInput

SetTraceSegmentDocuments sets the TraceSegmentDocuments field's value.

func (PutTraceSegmentsInput) String Uses

func (s PutTraceSegmentsInput) String() string

String returns the string representation

func (*PutTraceSegmentsInput) Validate Uses

func (s *PutTraceSegmentsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutTraceSegmentsOutput Uses

type PutTraceSegmentsOutput struct {

    // Segments that failed processing.
    UnprocessedTraceSegments []*UnprocessedTraceSegment `type:"list"`
    // contains filtered or unexported fields
}

func (PutTraceSegmentsOutput) GoString Uses

func (s PutTraceSegmentsOutput) GoString() string

GoString returns the string representation

func (*PutTraceSegmentsOutput) SetUnprocessedTraceSegments Uses

func (s *PutTraceSegmentsOutput) SetUnprocessedTraceSegments(v []*UnprocessedTraceSegment) *PutTraceSegmentsOutput

SetUnprocessedTraceSegments sets the UnprocessedTraceSegments field's value.

func (PutTraceSegmentsOutput) String Uses

func (s PutTraceSegmentsOutput) String() string

String returns the string representation

type ResourceARNDetail Uses

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.

func (ResourceARNDetail) GoString Uses

func (s ResourceARNDetail) GoString() string

GoString returns the string representation

func (*ResourceARNDetail) SetARN Uses

func (s *ResourceARNDetail) SetARN(v string) *ResourceARNDetail

SetARN sets the ARN field's value.

func (ResourceARNDetail) String Uses

func (s ResourceARNDetail) String() string

String returns the string representation

type ResponseTimeRootCause Uses

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.

func (ResponseTimeRootCause) GoString Uses

func (s ResponseTimeRootCause) GoString() string

GoString returns the string representation

func (*ResponseTimeRootCause) SetServices Uses

func (s *ResponseTimeRootCause) SetServices(v []*ResponseTimeRootCauseService) *ResponseTimeRootCause

SetServices sets the Services field's value.

func (ResponseTimeRootCause) String Uses

func (s ResponseTimeRootCause) String() string

String returns the string representation

type ResponseTimeRootCauseEntity Uses

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.

func (ResponseTimeRootCauseEntity) GoString Uses

func (s ResponseTimeRootCauseEntity) GoString() string

GoString returns the string representation

func (*ResponseTimeRootCauseEntity) SetCoverage Uses

func (s *ResponseTimeRootCauseEntity) SetCoverage(v float64) *ResponseTimeRootCauseEntity

SetCoverage sets the Coverage field's value.

func (*ResponseTimeRootCauseEntity) SetName Uses

func (s *ResponseTimeRootCauseEntity) SetName(v string) *ResponseTimeRootCauseEntity

SetName sets the Name field's value.

func (*ResponseTimeRootCauseEntity) SetRemote Uses

func (s *ResponseTimeRootCauseEntity) SetRemote(v bool) *ResponseTimeRootCauseEntity

SetRemote sets the Remote field's value.

func (ResponseTimeRootCauseEntity) String Uses

func (s ResponseTimeRootCauseEntity) String() string

String returns the string representation

type ResponseTimeRootCauseService Uses

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.

func (ResponseTimeRootCauseService) GoString Uses

func (s ResponseTimeRootCauseService) GoString() string

GoString returns the string representation

func (*ResponseTimeRootCauseService) SetAccountId Uses

func (s *ResponseTimeRootCauseService) SetAccountId(v string) *ResponseTimeRootCauseService

SetAccountId sets the AccountId field's value.

func (*ResponseTimeRootCauseService) SetEntityPath Uses

func (s *ResponseTimeRootCauseService) SetEntityPath(v []*ResponseTimeRootCauseEntity) *ResponseTimeRootCauseService

SetEntityPath sets the EntityPath field's value.

func (*ResponseTimeRootCauseService) SetInferred Uses

func (s *ResponseTimeRootCauseService) SetInferred(v bool) *ResponseTimeRootCauseService

SetInferred sets the Inferred field's value.

func (*ResponseTimeRootCauseService) SetName Uses

func (s *ResponseTimeRootCauseService) SetName(v string) *ResponseTimeRootCauseService

SetName sets the Name field's value.

func (*ResponseTimeRootCauseService) SetNames Uses

func (s *ResponseTimeRootCauseService) SetNames(v []*string) *ResponseTimeRootCauseService

SetNames sets the Names field's value.

func (*ResponseTimeRootCauseService) SetType Uses

func (s *ResponseTimeRootCauseService) SetType(v string) *ResponseTimeRootCauseService

SetType sets the Type field's value.

func (ResponseTimeRootCauseService) String Uses

func (s ResponseTimeRootCauseService) String() string

String returns the string representation

type RootCauseException Uses

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.

func (RootCauseException) GoString Uses

func (s RootCauseException) GoString() string

GoString returns the string representation

func (*RootCauseException) SetMessage Uses

func (s *RootCauseException) SetMessage(v string) *RootCauseException

SetMessage sets the Message field's value.

func (*RootCauseException) SetName Uses

func (s *RootCauseException) SetName(v string) *RootCauseException

SetName sets the Name field's value.

func (RootCauseException) String Uses

func (s RootCauseException) String() string

String returns the string representation

type SamplingRule Uses

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.

func (SamplingRule) GoString Uses

func (s SamplingRule) GoString() string

GoString returns the string representation

func (*SamplingRule) SetAttributes Uses

func (s *SamplingRule) SetAttributes(v map[string]*string) *SamplingRule

SetAttributes sets the Attributes field's value.

func (*SamplingRule) SetFixedRate Uses

func (s *SamplingRule) SetFixedRate(v float64) *SamplingRule

SetFixedRate sets the FixedRate field's value.

func (*SamplingRule) SetHTTPMethod Uses

func (s *SamplingRule) SetHTTPMethod(v string) *SamplingRule

SetHTTPMethod sets the HTTPMethod field's value.

func (*SamplingRule) SetHost Uses

func (s *SamplingRule) SetHost(v string) *SamplingRule

SetHost sets the Host field's value.

func (*SamplingRule) SetPriority Uses

func (s *SamplingRule) SetPriority(v int64) *SamplingRule

SetPriority sets the Priority field's value.

func (*SamplingRule) SetReservoirSize Uses

func (s *SamplingRule) SetReservoirSize(v int64) *SamplingRule

SetReservoirSize sets the ReservoirSize field's value.

func (*SamplingRule) SetResourceARN Uses

func (s *SamplingRule) SetResourceARN(v string) *SamplingRule

SetResourceARN sets the ResourceARN field's value.

func (*SamplingRule) SetRuleARN Uses

func (s *SamplingRule) SetRuleARN(v string) *SamplingRule

SetRuleARN sets the RuleARN field's value.

func (*SamplingRule) SetRuleName Uses

func (s *SamplingRule) SetRuleName(v string) *SamplingRule

SetRuleName sets the RuleName field's value.

func (*SamplingRule) SetServiceName Uses

func (s *SamplingRule) SetServiceName(v string) *SamplingRule

SetServiceName sets the ServiceName field's value.

func (*SamplingRule) SetServiceType Uses

func (s *SamplingRule) SetServiceType(v string) *SamplingRule

SetServiceType sets the ServiceType field's value.

func (*SamplingRule) SetURLPath Uses

func (s *SamplingRule) SetURLPath(v string) *SamplingRule

SetURLPath sets the URLPath field's value.

func (*SamplingRule) SetVersion Uses

func (s *SamplingRule) SetVersion(v int64) *SamplingRule

SetVersion sets the Version field's value.

func (SamplingRule) String Uses

func (s SamplingRule) String() string

String returns the string representation

func (*SamplingRule) Validate Uses

func (s *SamplingRule) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SamplingRuleRecord Uses

type SamplingRuleRecord struct {

    // When the rule was created.
    CreatedAt *time.Time `type:"timestamp"`

    // When the rule was last modified.
    ModifiedAt *time.Time `type:"timestamp"`

    // The sampling rule.
    SamplingRule *SamplingRule `type:"structure"`
    // contains filtered or unexported fields
}

A SamplingRule and its metadata.

func (SamplingRuleRecord) GoString Uses

func (s SamplingRuleRecord) GoString() string

GoString returns the string representation

func (*SamplingRuleRecord) SetCreatedAt Uses

func (s *SamplingRuleRecord) SetCreatedAt(v time.Time) *SamplingRuleRecord

SetCreatedAt sets the CreatedAt field's value.

func (*SamplingRuleRecord) SetModifiedAt Uses

func (s *SamplingRuleRecord) SetModifiedAt(v time.Time) *SamplingRuleRecord

SetModifiedAt sets the ModifiedAt field's value.

func (*SamplingRuleRecord) SetSamplingRule Uses

func (s *SamplingRuleRecord) SetSamplingRule(v *SamplingRule) *SamplingRuleRecord

SetSamplingRule sets the SamplingRule field's value.

func (SamplingRuleRecord) String Uses

func (s SamplingRuleRecord) String() string

String returns the string representation

type SamplingRuleUpdate Uses

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.

func (SamplingRuleUpdate) GoString Uses

func (s SamplingRuleUpdate) GoString() string

GoString returns the string representation

func (*SamplingRuleUpdate) SetAttributes Uses

func (s *SamplingRuleUpdate) SetAttributes(v map[string]*string) *SamplingRuleUpdate

SetAttributes sets the Attributes field's value.

func (*SamplingRuleUpdate) SetFixedRate Uses

func (s *SamplingRuleUpdate) SetFixedRate(v float64) *SamplingRuleUpdate

SetFixedRate sets the FixedRate field's value.

func (*SamplingRuleUpdate) SetHTTPMethod Uses

func (s *SamplingRuleUpdate) SetHTTPMethod(v string) *SamplingRuleUpdate

SetHTTPMethod sets the HTTPMethod field's value.

func (*SamplingRuleUpdate) SetHost Uses

func (s *SamplingRuleUpdate) SetHost(v string) *SamplingRuleUpdate

SetHost sets the Host field's value.

func (*SamplingRuleUpdate) SetPriority Uses

func (s *SamplingRuleUpdate) SetPriority(v int64) *SamplingRuleUpdate

SetPriority sets the Priority field's value.

func (*SamplingRuleUpdate) SetReservoirSize Uses

func (s *SamplingRuleUpdate) SetReservoirSize(v int64) *SamplingRuleUpdate

SetReservoirSize sets the ReservoirSize field's value.

func (*SamplingRuleUpdate) SetResourceARN Uses

func (s *SamplingRuleUpdate) SetResourceARN(v string) *SamplingRuleUpdate

SetResourceARN sets the ResourceARN field's value.

func (*SamplingRuleUpdate) SetRuleARN Uses

func (s *SamplingRuleUpdate) SetRuleARN(v string) *SamplingRuleUpdate

SetRuleARN sets the RuleARN field's value.

func (*SamplingRuleUpdate) SetRuleName Uses

func (s *SamplingRuleUpdate) SetRuleName(v string) *SamplingRuleUpdate

SetRuleName sets the RuleName field's value.

func (*SamplingRuleUpdate) SetServiceName Uses

func (s *SamplingRuleUpdate) SetServiceName(v string) *SamplingRuleUpdate

SetServiceName sets the ServiceName field's value.

func (*SamplingRuleUpdate) SetServiceType Uses

func (s *SamplingRuleUpdate) SetServiceType(v string) *SamplingRuleUpdate

SetServiceType sets the ServiceType field's value.

func (*SamplingRuleUpdate) SetURLPath Uses

func (s *SamplingRuleUpdate) SetURLPath(v string) *SamplingRuleUpdate

SetURLPath sets the URLPath field's value.

func (SamplingRuleUpdate) String Uses

func (s SamplingRuleUpdate) String() string

String returns the string representation

func (*SamplingRuleUpdate) Validate Uses

func (s *SamplingRuleUpdate) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SamplingStatisticSummary Uses

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"`
    // contains filtered or unexported fields
}

Aggregated request sampling data for a sampling rule across all services for a 10 second window.

func (SamplingStatisticSummary) GoString Uses

func (s SamplingStatisticSummary) GoString() string

GoString returns the string representation

func (*SamplingStatisticSummary) SetBorrowCount Uses

func (s *SamplingStatisticSummary) SetBorrowCount(v int64) *SamplingStatisticSummary

SetBorrowCount sets the BorrowCount field's value.

func (*SamplingStatisticSummary) SetRequestCount Uses

func (s *SamplingStatisticSummary) SetRequestCount(v int64) *SamplingStatisticSummary

SetRequestCount sets the RequestCount field's value.

func (*SamplingStatisticSummary) SetRuleName Uses

func (s *SamplingStatisticSummary) SetRuleName(v string) *SamplingStatisticSummary

SetRuleName sets the RuleName field's value.

func (*SamplingStatisticSummary) SetSampledCount Uses

func (s *SamplingStatisticSummary) SetSampledCount(v int64) *SamplingStatisticSummary

SetSampledCount sets the SampledCount field's value.

func (*SamplingStatisticSummary) SetTimestamp Uses

func (s *SamplingStatisticSummary) SetTimestamp(v time.Time) *SamplingStatisticSummary

SetTimestamp sets the Timestamp field's value.

func (SamplingStatisticSummary) String Uses

func (s SamplingStatisticSummary) String() string

String returns the string representation

type SamplingStatisticsDocument Uses

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" 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.

func (SamplingStatisticsDocument) GoString Uses

func (s SamplingStatisticsDocument) GoString() string

GoString returns the string representation

func (*SamplingStatisticsDocument) SetBorrowCount Uses

func (s *SamplingStatisticsDocument) SetBorrowCount(v int64) *SamplingStatisticsDocument

SetBorrowCount sets the BorrowCount field's value.

func (*SamplingStatisticsDocument) SetClientID Uses

func (s *SamplingStatisticsDocument) SetClientID(v string) *SamplingStatisticsDocument

SetClientID sets the ClientID field's value.

func (*SamplingStatisticsDocument) SetRequestCount Uses

func (s *SamplingStatisticsDocument) SetRequestCount(v int64) *SamplingStatisticsDocument

SetRequestCount sets the RequestCount field's value.

func (*SamplingStatisticsDocument) SetRuleName Uses

func (s *SamplingStatisticsDocument) SetRuleName(v string) *SamplingStatisticsDocument

SetRuleName sets the RuleName field's value.

func (*SamplingStatisticsDocument) SetSampledCount Uses

func (s *SamplingStatisticsDocument) SetSampledCount(v int64) *SamplingStatisticsDocument

SetSampledCount sets the SampledCount field's value.

func (*SamplingStatisticsDocument) SetTimestamp Uses

func (s *SamplingStatisticsDocument) SetTimestamp(v time.Time) *SamplingStatisticsDocument

SetTimestamp sets the Timestamp field's value.

func (SamplingStatisticsDocument) String Uses

func (s SamplingStatisticsDocument) String() string

String returns the string representation

func (*SamplingStatisticsDocument) Validate Uses

func (s *SamplingStatisticsDocument) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SamplingStrategy Uses

type SamplingStrategy struct {

    // The name of a sampling rule.
    Name *string `type:"string" enum:"SamplingStrategyName"`

    // The value of a sampling rule.
    Value *float64 `type:"double"`
    // contains filtered or unexported fields
}

The name and value of a sampling rule to apply to a trace summary.

func (SamplingStrategy) GoString Uses

func (s SamplingStrategy) GoString() string

GoString returns the string representation

func (*SamplingStrategy) SetName Uses

func (s *SamplingStrategy) SetName(v string) *SamplingStrategy

SetName sets the Name field's value.

func (*SamplingStrategy) SetValue Uses

func (s *SamplingStrategy) SetValue(v float64) *SamplingStrategy

SetValue sets the Value field's value.

func (SamplingStrategy) String Uses

func (s SamplingStrategy) String() string

String returns the string representation

type SamplingTargetDocument Uses

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"`

    // 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.

func (SamplingTargetDocument) GoString Uses

func (s SamplingTargetDocument) GoString() string

GoString returns the string representation

func (*SamplingTargetDocument) SetFixedRate Uses

func (s *SamplingTargetDocument) SetFixedRate(v float64) *SamplingTargetDocument

SetFixedRate sets the FixedRate field's value.

func (*SamplingTargetDocument) SetInterval Uses

func (s *SamplingTargetDocument) SetInterval(v int64) *SamplingTargetDocument

SetInterval sets the Interval field's value.

func (*SamplingTargetDocument) SetReservoirQuota Uses

func (s *SamplingTargetDocument) SetReservoirQuota(v int64) *SamplingTargetDocument

SetReservoirQuota sets the ReservoirQuota field's value.

func (*SamplingTargetDocument) SetReservoirQuotaTTL Uses

func (s *SamplingTargetDocument) SetReservoirQuotaTTL(v time.Time) *SamplingTargetDocument

SetReservoirQuotaTTL sets the ReservoirQuotaTTL field's value.

func (*SamplingTargetDocument) SetRuleName Uses

func (s *SamplingTargetDocument) SetRuleName(v string) *SamplingTargetDocument

SetRuleName sets the RuleName field's value.

func (SamplingTargetDocument) String Uses

func (s SamplingTargetDocument) String() string

String returns the string representation

type Segment Uses

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.

func (Segment) GoString Uses

func (s Segment) GoString() string

GoString returns the string representation

func (*Segment) SetDocument Uses

func (s *Segment) SetDocument(v string) *Segment

SetDocument sets the Document field's value.

func (*Segment) SetId Uses

func (s *Segment) SetId(v string) *Segment

SetId sets the Id field's value.

func (Segment) String Uses

func (s Segment) String() string

String returns the string representation

type Service Uses

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"`

    // 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"`

    // 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.

func (Service) GoString Uses

func (s Service) GoString() string

GoString returns the string representation

func (*Service) SetAccountId Uses

func (s *Service) SetAccountId(v string) *Service

SetAccountId sets the AccountId field's value.

func (*Service) SetDurationHistogram Uses

func (s *Service) SetDurationHistogram(v []*HistogramEntry) *Service

SetDurationHistogram sets the DurationHistogram field's value.

func (*Service) SetEdges Uses

func (s *Service) SetEdges(v []*Edge) *Service

SetEdges sets the Edges field's value.

func (*Service) SetEndTime Uses

func (s *Service) SetEndTime(v time.Time) *Service

SetEndTime sets the EndTime field's value.

func (*Service) SetName Uses

func (s *Service) SetName(v string) *Service

SetName sets the Name field's value.

func (*Service) SetNames Uses

func (s *Service) SetNames(v []*string) *Service

SetNames sets the Names field's value.

func (*Service) SetReferenceId Uses

func (s *Service) SetReferenceId(v int64) *Service

SetReferenceId sets the ReferenceId field's value.

func (*Service) SetResponseTimeHistogram Uses

func (s *Service) SetResponseTimeHistogram(v []*HistogramEntry) *Service

SetResponseTimeHistogram sets the ResponseTimeHistogram field's value.

func (*Service) SetRoot Uses

func (s *Service) SetRoot(v bool) *Service

SetRoot sets the Root field's value.

func (*Service) SetStartTime Uses

func (s *Service) SetStartTime(v time.Time) *Service

SetStartTime sets the StartTime field's value.

func (*Service) SetState Uses

func (s *Service) SetState(v string) *Service

SetState sets the State field's value.

func (*Service) SetSummaryStatistics Uses

func (s *Service) SetSummaryStatistics(v *ServiceStatistics) *Service

SetSummaryStatistics sets the SummaryStatistics field's value.

func (*Service) SetType Uses

func (s *Service) SetType(v string) *Service

SetType sets the Type field's value.

func (Service) String Uses

func (s Service) String() string

String returns the string representation

type ServiceId Uses

type ServiceId struct {
    AccountId *string `type:"string"`

    Name *string `type:"string"`

    Names []*string `type:"list"`

    Type *string `type:"string"`
    // contains filtered or unexported fields
}

func (ServiceId) GoString Uses

func (s ServiceId) GoString() string

GoString returns the string representation

func (*ServiceId) SetAccountId Uses

func (s *ServiceId) SetAccountId(v string) *ServiceId

SetAccountId sets the AccountId field's value.

func (*ServiceId) SetName Uses

func (s *ServiceId) SetName(v string) *ServiceId

SetName sets the Name field's value.

func (*ServiceId) SetNames Uses

func (s *ServiceId) SetNames(v []*string) *ServiceId

SetNames sets the Names field's value.

func (*ServiceId) SetType Uses

func (s *ServiceId) SetType(v string) *ServiceId

SetType sets the Type field's value.

func (ServiceId) String Uses

func (s ServiceId) String() string

String returns the string representation

type ServiceStatistics Uses

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.

func (ServiceStatistics) GoString Uses

func (s ServiceStatistics) GoString() string

GoString returns the string representation

func (*ServiceStatistics) SetErrorStatistics Uses

func (s *ServiceStatistics) SetErrorStatistics(v *ErrorStatistics) *ServiceStatistics

SetErrorStatistics sets the ErrorStatistics field's value.

func (*ServiceStatistics) SetFaultStatistics Uses

func (s *ServiceStatistics) SetFaultStatistics(v *FaultStatistics) *ServiceStatistics

SetFaultStatistics sets the FaultStatistics field's value.

func (*ServiceStatistics) SetOkCount Uses

func (s *ServiceStatistics) SetOkCount(v int64) *ServiceStatistics

SetOkCount sets the OkCount field's value.

func (*ServiceStatistics) SetTotalCount Uses

func (s *ServiceStatistics) SetTotalCount(v int64) *ServiceStatistics

SetTotalCount sets the TotalCount field's value.

func (*ServiceStatistics) SetTotalResponseTime Uses

func (s *ServiceStatistics) SetTotalResponseTime(v float64) *ServiceStatistics

SetTotalResponseTime sets the TotalResponseTime field's value.

func (ServiceStatistics) String Uses

func (s ServiceStatistics) String() string

String returns the string representation

type TelemetryRecord Uses

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" required:"true"`
    // contains filtered or unexported fields
}

func (TelemetryRecord) GoString Uses

func (s TelemetryRecord) GoString() string

GoString returns the string representation

func (*TelemetryRecord) SetBackendConnectionErrors Uses

func (s *TelemetryRecord) SetBackendConnectionErrors(v *BackendConnectionErrors) *TelemetryRecord

SetBackendConnectionErrors sets the BackendConnectionErrors field's value.

func (*TelemetryRecord) SetSegmentsReceivedCount Uses

func (s *TelemetryRecord) SetSegmentsReceivedCount(v int64) *TelemetryRecord

SetSegmentsReceivedCount sets the SegmentsReceivedCount field's value.

func (*TelemetryRecord) SetSegmentsRejectedCount Uses

func (s *TelemetryRecord) SetSegmentsRejectedCount(v int64) *TelemetryRecord

SetSegmentsRejectedCount sets the SegmentsRejectedCount field's value.

func (*TelemetryRecord) SetSegmentsSentCount Uses

func (s *TelemetryRecord) SetSegmentsSentCount(v int64) *TelemetryRecord

SetSegmentsSentCount sets the SegmentsSentCount field's value.

func (*TelemetryRecord) SetSegmentsSpilloverCount Uses

func (s *TelemetryRecord) SetSegmentsSpilloverCount(v int64) *TelemetryRecord

SetSegmentsSpilloverCount sets the SegmentsSpilloverCount field's value.

func (*TelemetryRecord) SetTimestamp Uses

func (s *TelemetryRecord) SetTimestamp(v time.Time) *TelemetryRecord

SetTimestamp sets the Timestamp field's value.

func (TelemetryRecord) String Uses

func (s TelemetryRecord) String() string

String returns the string representation

func (*TelemetryRecord) Validate Uses

func (s *TelemetryRecord) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TimeSeriesServiceStatistics Uses

type TimeSeriesServiceStatistics struct {

    // Response statistics for an edge.
    EdgeSummaryStatistics *EdgeStatistics `type:"structure"`

    // The response time histogram for the selected entities.
    ResponseTimeHistogram []*HistogramEntry `type:"list"`

    // Response statistics for a service.
    ServiceSummaryStatistics *ServiceStatistics `type:"structure"`

    // Timestamp of the window for which statistics are aggregated.
    Timestamp *time.Time `type:"timestamp"`
    // contains filtered or unexported fields
}

A list of TimeSeriesStatistic structures.

func (TimeSeriesServiceStatistics) GoString Uses

func (s TimeSeriesServiceStatistics) GoString() string

GoString returns the string representation

func (*TimeSeriesServiceStatistics) SetEdgeSummaryStatistics Uses

func (s *TimeSeriesServiceStatistics) SetEdgeSummaryStatistics(v *EdgeStatistics) *TimeSeriesServiceStatistics

SetEdgeSummaryStatistics sets the EdgeSummaryStatistics field's value.

func (*TimeSeriesServiceStatistics) SetResponseTimeHistogram Uses

func (s *TimeSeriesServiceStatistics) SetResponseTimeHistogram(v []*HistogramEntry) *TimeSeriesServiceStatistics

SetResponseTimeHistogram sets the ResponseTimeHistogram field's value.

func (*TimeSeriesServiceStatistics) SetServiceSummaryStatistics Uses

func (s *TimeSeriesServiceStatistics) SetServiceSummaryStatistics(v *ServiceStatistics) *TimeSeriesServiceStatistics

SetServiceSummaryStatistics sets the ServiceSummaryStatistics field's value.

func (*TimeSeriesServiceStatistics) SetTimestamp Uses

func (s *TimeSeriesServiceStatistics) SetTimestamp(v time.Time) *TimeSeriesServiceStatistics

SetTimestamp sets the Timestamp field's value.

func (TimeSeriesServiceStatistics) String Uses

func (s TimeSeriesServiceStatistics) String() string

String returns the string representation

type Trace Uses

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.

func (Trace) GoString Uses

func (s Trace) GoString() string

GoString returns the string representation

func (*Trace) SetDuration Uses

func (s *Trace) SetDuration(v float64) *Trace

SetDuration sets the Duration field's value.

func (*Trace) SetId Uses

func (s *Trace) SetId(v string) *Trace

SetId sets the Id field's value.

func (*Trace) SetSegments Uses

func (s *Trace) SetSegments(v []*Segment) *Trace

SetSegments sets the Segments field's value.

func (Trace) String Uses

func (s Trace) String() string

String returns the string representation

type TraceSummary Uses

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"`

    // The matched time stamp of a defined event.
    MatchedEventTime *time.Time `type:"timestamp"`

    // 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.

func (TraceSummary) GoString Uses

func (s TraceSummary) GoString() string

GoString returns the string representation

func (*TraceSummary) SetAnnotations Uses

func (s *TraceSummary) SetAnnotations(v map[string][]*ValueWithServiceIds) *TraceSummary

SetAnnotations sets the Annotations field's value.

func (*TraceSummary) SetAvailabilityZones Uses

func (s *TraceSummary) SetAvailabilityZones(v []*AvailabilityZoneDetail) *TraceSummary

SetAvailabilityZones sets the AvailabilityZones field's value.

func (*TraceSummary) SetDuration Uses

func (s *TraceSummary) SetDuration(v float64) *TraceSummary

SetDuration sets the Duration field's value.

func (*TraceSummary) SetEntryPoint Uses

func (s *TraceSummary) SetEntryPoint(v *ServiceId) *TraceSummary

SetEntryPoint sets the EntryPoint field's value.

func (*TraceSummary) SetErrorRootCauses Uses

func (s *TraceSummary) SetErrorRootCauses(v []*ErrorRootCause) *TraceSummary

SetErrorRootCauses sets the ErrorRootCauses field's value.

func (*TraceSummary) SetFaultRootCauses Uses

func (s *TraceSummary) SetFaultRootCauses(v []*FaultRootCause) *TraceSummary

SetFaultRootCauses sets the FaultRootCauses field's value.

func (*TraceSummary) SetHasError Uses

func (s *TraceSummary) SetHasError(v bool) *TraceSummary

SetHasError sets the HasError field's value.

func (*TraceSummary) SetHasFault Uses

func (s *TraceSummary) SetHasFault(v bool) *TraceSummary

SetHasFault sets the HasFault field's value.

func (*TraceSummary) SetHasThrottle Uses

func (s *TraceSummary) SetHasThrottle(v bool) *TraceSummary

SetHasThrottle sets the HasThrottle field's value.

func (*TraceSummary) SetHttp Uses

func (s *TraceSummary) SetHttp(v *Http) *TraceSummary

SetHttp sets the Http field's value.

func (*TraceSummary) SetId Uses

func (s *TraceSummary) SetId(v string) *TraceSummary

SetId sets the Id field's value.

func (*TraceSummary) SetInstanceIds Uses

func (s *TraceSummary) SetInstanceIds(v []*InstanceIdDetail) *TraceSummary

SetInstanceIds sets the InstanceIds field's value.

func (*TraceSummary) SetIsPartial Uses

func (s *TraceSummary) SetIsPartial(v bool) *TraceSummary

SetIsPartial sets the IsPartial field's value.

func (*TraceSummary) SetMatchedEventTime Uses

func (s *TraceSummary) SetMatchedEventTime(v time.Time) *TraceSummary

SetMatchedEventTime sets the MatchedEventTime field's value.

func (*TraceSummary) SetResourceARNs Uses

func (s *TraceSummary) SetResourceARNs(v []*ResourceARNDetail) *TraceSummary

SetResourceARNs sets the ResourceARNs field's value.

func (*TraceSummary) SetResponseTime Uses

func (s *TraceSummary) SetResponseTime(v float64) *TraceSummary

SetResponseTime sets the ResponseTime field's value.

func (*TraceSummary) SetResponseTimeRootCauses Uses

func (s *TraceSummary) SetResponseTimeRootCauses(v []*ResponseTimeRootCause) *TraceSummary

SetResponseTimeRootCauses sets the ResponseTimeRootCauses field's value.

func (*TraceSummary) SetRevision Uses

func (s *TraceSummary) SetRevision(v int64) *TraceSummary

SetRevision sets the Revision field's value.

func (*TraceSummary) SetServiceIds Uses

func (s *TraceSummary) SetServiceIds(v []*ServiceId) *TraceSummary

SetServiceIds sets the ServiceIds field's value.

func (*TraceSummary) SetUsers Uses

func (s *TraceSummary) SetUsers(v []*TraceUser) *TraceSummary

SetUsers sets the Users field's value.

func (TraceSummary) String Uses

func (s TraceSummary) String() string

String returns the string representation

type TraceUser Uses

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.

func (TraceUser) GoString Uses

func (s TraceUser) GoString() string

GoString returns the string representation

func (*TraceUser) SetServiceIds Uses

func (s *TraceUser) SetServiceIds(v []*ServiceId) *TraceUser

SetServiceIds sets the ServiceIds field's value.

func (*TraceUser) SetUserName Uses

func (s *TraceUser) SetUserName(v string) *TraceUser

SetUserName sets the UserName field's value.

func (TraceUser) String Uses

func (s TraceUser) String() string

String returns the string representation

type UnprocessedStatistics Uses

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.

func (UnprocessedStatistics) GoString Uses

func (s UnprocessedStatistics) GoString() string

GoString returns the string representation

func (*UnprocessedStatistics) SetErrorCode Uses

func (s *UnprocessedStatistics) SetErrorCode(v string) *UnprocessedStatistics

SetErrorCode sets the ErrorCode field's value.

func (*UnprocessedStatistics) SetMessage Uses

func (s *UnprocessedStatistics) SetMessage(v string) *UnprocessedStatistics

SetMessage sets the Message field's value.

func (*UnprocessedStatistics) SetRuleName Uses

func (s *UnprocessedStatistics) SetRuleName(v string) *UnprocessedStatistics

SetRuleName sets the RuleName field's value.

func (UnprocessedStatistics) String Uses

func (s UnprocessedStatistics) String() string

String returns the string representation

type UnprocessedTraceSegment Uses

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.

func (UnprocessedTraceSegment) GoString Uses

func (s UnprocessedTraceSegment) GoString() string

GoString returns the string representation

func (*UnprocessedTraceSegment) SetErrorCode Uses

func (s *UnprocessedTraceSegment) SetErrorCode(v string) *UnprocessedTraceSegment

SetErrorCode sets the ErrorCode field's value.

func (*UnprocessedTraceSegment) SetId Uses

func (s *UnprocessedTraceSegment) SetId(v string) *UnprocessedTraceSegment

SetId sets the Id field's value.

func (*UnprocessedTraceSegment) SetMessage Uses

func (s *UnprocessedTraceSegment) SetMessage(v string) *UnprocessedTraceSegment

SetMessage sets the Message field's value.

func (UnprocessedTraceSegment) String Uses

func (s UnprocessedTraceSegment) String() string

String returns the string representation

type UpdateGroupInput Uses

type UpdateGroupInput struct {

    // The updated filter expression defining criteria by which to group traces.
    FilterExpression *string `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
}

func (UpdateGroupInput) GoString Uses

func (s UpdateGroupInput) GoString() string

GoString returns the string representation

func (*UpdateGroupInput) SetFilterExpression Uses

func (s *UpdateGroupInput) SetFilterExpression(v string) *UpdateGroupInput

SetFilterExpression sets the FilterExpression field's value.

func (*UpdateGroupInput) SetGroupARN Uses

func (s *UpdateGroupInput) SetGroupARN(v string) *UpdateGroupInput

SetGroupARN sets the GroupARN field's value.

func (*UpdateGroupInput) SetGroupName Uses

func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput

SetGroupName sets the GroupName field's value.

func (UpdateGroupInput) String Uses

func (s UpdateGroupInput) String() string

String returns the string representation

func (*UpdateGroupInput) Validate Uses

func (s *UpdateGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateGroupOutput Uses

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
}

func (UpdateGroupOutput) GoString Uses

func (s UpdateGroupOutput) GoString() string

GoString returns the string representation

func (*UpdateGroupOutput) SetGroup Uses

func (s *UpdateGroupOutput) SetGroup(v *Group) *UpdateGroupOutput

SetGroup sets the Group field's value.

func (UpdateGroupOutput) String Uses

func (s UpdateGroupOutput) String() string

String returns the string representation

type UpdateSamplingRuleInput Uses

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
}

func (UpdateSamplingRuleInput) GoString Uses

func (s UpdateSamplingRuleInput) GoString() string

GoString returns the string representation

func (*UpdateSamplingRuleInput) SetSamplingRuleUpdate Uses

func (s *UpdateSamplingRuleInput) SetSamplingRuleUpdate(v *SamplingRuleUpdate) *UpdateSamplingRuleInput

SetSamplingRuleUpdate sets the SamplingRuleUpdate field's value.

func (UpdateSamplingRuleInput) String Uses

func (s UpdateSamplingRuleInput) String() string

String returns the string representation

func (*UpdateSamplingRuleInput) Validate Uses

func (s *UpdateSamplingRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateSamplingRuleOutput Uses

type UpdateSamplingRuleOutput struct {

    // The updated rule definition and metadata.
    SamplingRuleRecord *SamplingRuleRecord `type:"structure"`
    // contains filtered or unexported fields
}

func (UpdateSamplingRuleOutput) GoString Uses

func (s UpdateSamplingRuleOutput) GoString() string

GoString returns the string representation

func (*UpdateSamplingRuleOutput) SetSamplingRuleRecord Uses

func (s *UpdateSamplingRuleOutput) SetSamplingRuleRecord(v *SamplingRuleRecord) *UpdateSamplingRuleOutput

SetSamplingRuleRecord sets the SamplingRuleRecord field's value.

func (UpdateSamplingRuleOutput) String Uses

func (s UpdateSamplingRuleOutput) String() string

String returns the string representation

type ValueWithServiceIds Uses

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.

func (ValueWithServiceIds) GoString Uses

func (s ValueWithServiceIds) GoString() string

GoString returns the string representation

func (*ValueWithServiceIds) SetAnnotationValue Uses

func (s *ValueWithServiceIds) SetAnnotationValue(v *AnnotationValue) *ValueWithServiceIds

SetAnnotationValue sets the AnnotationValue field's value.

func (*ValueWithServiceIds) SetServiceIds Uses

func (s *ValueWithServiceIds) SetServiceIds(v []*ServiceId) *ValueWithServiceIds

SetServiceIds sets the ServiceIds field's value.

func (ValueWithServiceIds) String Uses

func (s ValueWithServiceIds) String() string

String returns the string representation

type XRay Uses

type XRay struct {
    *client.Client
}

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 Uses

func New(p client.ConfigProvider, cfgs ...*aws.Config) *XRay

New creates a new instance of the XRay client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

// Create a XRay client from just a session.
svc := xray.New(mySession)

// Create a XRay client with additional configuration
svc := xray.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*XRay) BatchGetTraces Uses

func (c *XRay) BatchGetTraces(input *BatchGetTracesInput) (*BatchGetTracesOutput, error)

BatchGetTraces 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation BatchGetTraces for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/BatchGetTraces

func (*XRay) BatchGetTracesPages Uses

func (c *XRay) BatchGetTracesPages(input *BatchGetTracesInput, fn func(*BatchGetTracesOutput, bool) bool) error

BatchGetTracesPages iterates over the pages of a BatchGetTraces operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See BatchGetTraces method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a BatchGetTraces operation.
pageNum := 0
err := client.BatchGetTracesPages(params,
    func(page *xray.BatchGetTracesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*XRay) BatchGetTracesPagesWithContext Uses

func (c *XRay) BatchGetTracesPagesWithContext(ctx aws.Context, input *BatchGetTracesInput, fn func(*BatchGetTracesOutput, bool) bool, opts ...request.Option) error

BatchGetTracesPagesWithContext same as BatchGetTracesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) BatchGetTracesRequest Uses

func (c *XRay) BatchGetTracesRequest(input *BatchGetTracesInput) (req *request.Request, output *BatchGetTracesOutput)

BatchGetTracesRequest generates a "aws/request.Request" representing the client's request for the BatchGetTraces operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See BatchGetTraces for more information on using the BatchGetTraces API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the BatchGetTracesRequest method.
req, resp := client.BatchGetTracesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/BatchGetTraces

func (*XRay) BatchGetTracesWithContext Uses

func (c *XRay) BatchGetTracesWithContext(ctx aws.Context, input *BatchGetTracesInput, opts ...request.Option) (*BatchGetTracesOutput, error)

BatchGetTracesWithContext is the same as BatchGetTraces with the addition of the ability to pass a context and additional request options.

See BatchGetTraces for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) CreateGroup Uses

func (c *XRay) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error)

CreateGroup API operation for AWS X-Ray.

Creates a group resource with a name and a filter expression.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation CreateGroup for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroup

func (*XRay) CreateGroupRequest Uses

func (c *XRay) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput)

CreateGroupRequest generates a "aws/request.Request" representing the client's request for the CreateGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateGroup for more information on using the CreateGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateGroupRequest method.
req, resp := client.CreateGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroup

func (*XRay) CreateGroupWithContext Uses

func (c *XRay) CreateGroupWithContext(ctx aws.Context, input *CreateGroupInput, opts ...request.Option) (*CreateGroupOutput, error)

CreateGroupWithContext is the same as CreateGroup with the addition of the ability to pass a context and additional request options.

See CreateGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) CreateSamplingRule Uses

func (c *XRay) CreateSamplingRule(input *CreateSamplingRuleInput) (*CreateSamplingRuleOutput, error)

CreateSamplingRule 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation CreateSamplingRule for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

* ErrCodeRuleLimitExceededException "RuleLimitExceededException"
You have reached the maximum number of sampling rules.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateSamplingRule

func (*XRay) CreateSamplingRuleRequest Uses

func (c *XRay) CreateSamplingRuleRequest(input *CreateSamplingRuleInput) (req *request.Request, output *CreateSamplingRuleOutput)

CreateSamplingRuleRequest generates a "aws/request.Request" representing the client's request for the CreateSamplingRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSamplingRule for more information on using the CreateSamplingRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSamplingRuleRequest method.
req, resp := client.CreateSamplingRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateSamplingRule

func (*XRay) CreateSamplingRuleWithContext Uses

func (c *XRay) CreateSamplingRuleWithContext(ctx aws.Context, input *CreateSamplingRuleInput, opts ...request.Option) (*CreateSamplingRuleOutput, error)

CreateSamplingRuleWithContext is the same as CreateSamplingRule with the addition of the ability to pass a context and additional request options.

See CreateSamplingRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) DeleteGroup Uses

func (c *XRay) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error)

DeleteGroup API operation for AWS X-Ray.

Deletes a group resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation DeleteGroup for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteGroup

func (*XRay) DeleteGroupRequest Uses

func (c *XRay) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput)

DeleteGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteGroup for more information on using the DeleteGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteGroupRequest method.
req, resp := client.DeleteGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteGroup

func (*XRay) DeleteGroupWithContext Uses

func (c *XRay) DeleteGroupWithContext(ctx aws.Context, input *DeleteGroupInput, opts ...request.Option) (*DeleteGroupOutput, error)

DeleteGroupWithContext is the same as DeleteGroup with the addition of the ability to pass a context and additional request options.

See DeleteGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) DeleteSamplingRule Uses

func (c *XRay) DeleteSamplingRule(input *DeleteSamplingRuleInput) (*DeleteSamplingRuleOutput, error)

DeleteSamplingRule API operation for AWS X-Ray.

Deletes a sampling rule.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation DeleteSamplingRule for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteSamplingRule

func (*XRay) DeleteSamplingRuleRequest Uses

func (c *XRay) DeleteSamplingRuleRequest(input *DeleteSamplingRuleInput) (req *request.Request, output *DeleteSamplingRuleOutput)

DeleteSamplingRuleRequest generates a "aws/request.Request" representing the client's request for the DeleteSamplingRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSamplingRule for more information on using the DeleteSamplingRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSamplingRuleRequest method.
req, resp := client.DeleteSamplingRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteSamplingRule

func (*XRay) DeleteSamplingRuleWithContext Uses

func (c *XRay) DeleteSamplingRuleWithContext(ctx aws.Context, input *DeleteSamplingRuleInput, opts ...request.Option) (*DeleteSamplingRuleOutput, error)

DeleteSamplingRuleWithContext is the same as DeleteSamplingRule with the addition of the ability to pass a context and additional request options.

See DeleteSamplingRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetEncryptionConfig Uses

func (c *XRay) GetEncryptionConfig(input *GetEncryptionConfigInput) (*GetEncryptionConfigOutput, error)

GetEncryptionConfig API operation for AWS X-Ray.

Retrieves the current encryption configuration for X-Ray data.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation GetEncryptionConfig for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetEncryptionConfig

func (*XRay) GetEncryptionConfigRequest Uses

func (c *XRay) GetEncryptionConfigRequest(input *GetEncryptionConfigInput) (req *request.Request, output *GetEncryptionConfigOutput)

GetEncryptionConfigRequest generates a "aws/request.Request" representing the client's request for the GetEncryptionConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetEncryptionConfig for more information on using the GetEncryptionConfig API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetEncryptionConfigRequest method.
req, resp := client.GetEncryptionConfigRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetEncryptionConfig

func (*XRay) GetEncryptionConfigWithContext Uses

func (c *XRay) GetEncryptionConfigWithContext(ctx aws.Context, input *GetEncryptionConfigInput, opts ...request.Option) (*GetEncryptionConfigOutput, error)

GetEncryptionConfigWithContext is the same as GetEncryptionConfig with the addition of the ability to pass a context and additional request options.

See GetEncryptionConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetGroup Uses

func (c *XRay) GetGroup(input *GetGroupInput) (*GetGroupOutput, error)

GetGroup API operation for AWS X-Ray.

Retrieves group resource details.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation GetGroup for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroup

func (*XRay) GetGroupRequest Uses

func (c *XRay) GetGroupRequest(input *GetGroupInput) (req *request.Request, output *GetGroupOutput)

GetGroupRequest generates a "aws/request.Request" representing the client's request for the GetGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetGroup for more information on using the GetGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetGroupRequest method.
req, resp := client.GetGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroup

func (*XRay) GetGroupWithContext Uses

func (c *XRay) GetGroupWithContext(ctx aws.Context, input *GetGroupInput, opts ...request.Option) (*GetGroupOutput, error)

GetGroupWithContext is the same as GetGroup with the addition of the ability to pass a context and additional request options.

See GetGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetGroups Uses

func (c *XRay) GetGroups(input *GetGroupsInput) (*GetGroupsOutput, error)

GetGroups API operation for AWS X-Ray.

Retrieves all active group details.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation GetGroups for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroups

func (*XRay) GetGroupsPages Uses

func (c *XRay) GetGroupsPages(input *GetGroupsInput, fn func(*GetGroupsOutput, bool) bool) error

GetGroupsPages iterates over the pages of a GetGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetGroups method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetGroups operation.
pageNum := 0
err := client.GetGroupsPages(params,
    func(page *xray.GetGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*XRay) GetGroupsPagesWithContext Uses

func (c *XRay) GetGroupsPagesWithContext(ctx aws.Context, input *GetGroupsInput, fn func(*GetGroupsOutput, bool) bool, opts ...request.Option) error

GetGroupsPagesWithContext same as GetGroupsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetGroupsRequest Uses

func (c *XRay) GetGroupsRequest(input *GetGroupsInput) (req *request.Request, output *GetGroupsOutput)

GetGroupsRequest generates a "aws/request.Request" representing the client's request for the GetGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetGroups for more information on using the GetGroups API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetGroupsRequest method.
req, resp := client.GetGroupsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroups

func (*XRay) GetGroupsWithContext Uses

func (c *XRay) GetGroupsWithContext(ctx aws.Context, input *GetGroupsInput, opts ...request.Option) (*GetGroupsOutput, error)

GetGroupsWithContext is the same as GetGroups with the addition of the ability to pass a context and additional request options.

See GetGroups for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetSamplingRules Uses

func (c *XRay) GetSamplingRules(input *GetSamplingRulesInput) (*GetSamplingRulesOutput, error)

GetSamplingRules API operation for AWS X-Ray.

Retrieves all sampling rules.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation GetSamplingRules for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingRules

func (*XRay) GetSamplingRulesPages Uses

func (c *XRay) GetSamplingRulesPages(input *GetSamplingRulesInput, fn func(*GetSamplingRulesOutput, bool) bool) error

GetSamplingRulesPages iterates over the pages of a GetSamplingRules operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetSamplingRules method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetSamplingRules operation.
pageNum := 0
err := client.GetSamplingRulesPages(params,
    func(page *xray.GetSamplingRulesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*XRay) GetSamplingRulesPagesWithContext Uses

func (c *XRay) GetSamplingRulesPagesWithContext(ctx aws.Context, input *GetSamplingRulesInput, fn func(*GetSamplingRulesOutput, bool) bool, opts ...request.Option) error

GetSamplingRulesPagesWithContext same as GetSamplingRulesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetSamplingRulesRequest Uses

func (c *XRay) GetSamplingRulesRequest(input *GetSamplingRulesInput) (req *request.Request, output *GetSamplingRulesOutput)

GetSamplingRulesRequest generates a "aws/request.Request" representing the client's request for the GetSamplingRules operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSamplingRules for more information on using the GetSamplingRules API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSamplingRulesRequest method.
req, resp := client.GetSamplingRulesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingRules

func (*XRay) GetSamplingRulesWithContext Uses

func (c *XRay) GetSamplingRulesWithContext(ctx aws.Context, input *GetSamplingRulesInput, opts ...request.Option) (*GetSamplingRulesOutput, error)

GetSamplingRulesWithContext is the same as GetSamplingRules with the addition of the ability to pass a context and additional request options.

See GetSamplingRules for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetSamplingStatisticSummaries Uses

func (c *XRay) GetSamplingStatisticSummaries(input *GetSamplingStatisticSummariesInput) (*GetSamplingStatisticSummariesOutput, error)

GetSamplingStatisticSummaries API operation for AWS X-Ray.

Retrieves information about recent sampling results for all sampling rules.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation GetSamplingStatisticSummaries for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingStatisticSummaries

func (*XRay) GetSamplingStatisticSummariesPages Uses

func (c *XRay) GetSamplingStatisticSummariesPages(input *GetSamplingStatisticSummariesInput, fn func(*GetSamplingStatisticSummariesOutput, bool) bool) error

GetSamplingStatisticSummariesPages iterates over the pages of a GetSamplingStatisticSummaries operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetSamplingStatisticSummaries method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetSamplingStatisticSummaries operation.
pageNum := 0
err := client.GetSamplingStatisticSummariesPages(params,
    func(page *xray.GetSamplingStatisticSummariesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*XRay) GetSamplingStatisticSummariesPagesWithContext Uses

func (c *XRay) GetSamplingStatisticSummariesPagesWithContext(ctx aws.Context, input *GetSamplingStatisticSummariesInput, fn func(*GetSamplingStatisticSummariesOutput, bool) bool, opts ...request.Option) error

GetSamplingStatisticSummariesPagesWithContext same as GetSamplingStatisticSummariesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetSamplingStatisticSummariesRequest Uses

func (c *XRay) GetSamplingStatisticSummariesRequest(input *GetSamplingStatisticSummariesInput) (req *request.Request, output *GetSamplingStatisticSummariesOutput)

GetSamplingStatisticSummariesRequest generates a "aws/request.Request" representing the client's request for the GetSamplingStatisticSummaries operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSamplingStatisticSummaries for more information on using the GetSamplingStatisticSummaries API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSamplingStatisticSummariesRequest method.
req, resp := client.GetSamplingStatisticSummariesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingStatisticSummaries

func (*XRay) GetSamplingStatisticSummariesWithContext Uses

func (c *XRay) GetSamplingStatisticSummariesWithContext(ctx aws.Context, input *GetSamplingStatisticSummariesInput, opts ...request.Option) (*GetSamplingStatisticSummariesOutput, error)

GetSamplingStatisticSummariesWithContext is the same as GetSamplingStatisticSummaries with the addition of the ability to pass a context and additional request options.

See GetSamplingStatisticSummaries for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetSamplingTargets Uses

func (c *XRay) GetSamplingTargets(input *GetSamplingTargetsInput) (*GetSamplingTargetsOutput, error)

GetSamplingTargets API operation for AWS X-Ray.

Requests a sampling quota for rules that the service is using to sample requests.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation GetSamplingTargets for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingTargets

func (*XRay) GetSamplingTargetsRequest Uses

func (c *XRay) GetSamplingTargetsRequest(input *GetSamplingTargetsInput) (req *request.Request, output *GetSamplingTargetsOutput)

GetSamplingTargetsRequest generates a "aws/request.Request" representing the client's request for the GetSamplingTargets operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetSamplingTargets for more information on using the GetSamplingTargets API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetSamplingTargetsRequest method.
req, resp := client.GetSamplingTargetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingTargets

func (*XRay) GetSamplingTargetsWithContext Uses

func (c *XRay) GetSamplingTargetsWithContext(ctx aws.Context, input *GetSamplingTargetsInput, opts ...request.Option) (*GetSamplingTargetsOutput, error)

GetSamplingTargetsWithContext is the same as GetSamplingTargets with the addition of the ability to pass a context and additional request options.

See GetSamplingTargets for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetServiceGraph Uses

func (c *XRay) GetServiceGraph(input *GetServiceGraphInput) (*GetServiceGraphOutput, error)

GetServiceGraph 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation GetServiceGraph for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetServiceGraph

func (*XRay) GetServiceGraphPages Uses

func (c *XRay) GetServiceGraphPages(input *GetServiceGraphInput, fn func(*GetServiceGraphOutput, bool) bool) error

GetServiceGraphPages iterates over the pages of a GetServiceGraph operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetServiceGraph method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetServiceGraph operation.
pageNum := 0
err := client.GetServiceGraphPages(params,
    func(page *xray.GetServiceGraphOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*XRay) GetServiceGraphPagesWithContext Uses

func (c *XRay) GetServiceGraphPagesWithContext(ctx aws.Context, input *GetServiceGraphInput, fn func(*GetServiceGraphOutput, bool) bool, opts ...request.Option) error

GetServiceGraphPagesWithContext same as GetServiceGraphPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetServiceGraphRequest Uses

func (c *XRay) GetServiceGraphRequest(input *GetServiceGraphInput) (req *request.Request, output *GetServiceGraphOutput)

GetServiceGraphRequest generates a "aws/request.Request" representing the client's request for the GetServiceGraph operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetServiceGraph for more information on using the GetServiceGraph API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetServiceGraphRequest method.
req, resp := client.GetServiceGraphRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetServiceGraph

func (*XRay) GetServiceGraphWithContext Uses

func (c *XRay) GetServiceGraphWithContext(ctx aws.Context, input *GetServiceGraphInput, opts ...request.Option) (*GetServiceGraphOutput, error)

GetServiceGraphWithContext is the same as GetServiceGraph with the addition of the ability to pass a context and additional request options.

See GetServiceGraph for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetTimeSeriesServiceStatistics Uses

func (c *XRay) GetTimeSeriesServiceStatistics(input *GetTimeSeriesServiceStatisticsInput) (*GetTimeSeriesServiceStatisticsOutput, error)

GetTimeSeriesServiceStatistics API operation for AWS X-Ray.

Get an aggregation of service statistics defined by a specific time range.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation GetTimeSeriesServiceStatistics for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTimeSeriesServiceStatistics

func (*XRay) GetTimeSeriesServiceStatisticsPages Uses

func (c *XRay) GetTimeSeriesServiceStatisticsPages(input *GetTimeSeriesServiceStatisticsInput, fn func(*GetTimeSeriesServiceStatisticsOutput, bool) bool) error

GetTimeSeriesServiceStatisticsPages iterates over the pages of a GetTimeSeriesServiceStatistics operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetTimeSeriesServiceStatistics method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetTimeSeriesServiceStatistics operation.
pageNum := 0
err := client.GetTimeSeriesServiceStatisticsPages(params,
    func(page *xray.GetTimeSeriesServiceStatisticsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*XRay) GetTimeSeriesServiceStatisticsPagesWithContext Uses

func (c *XRay) GetTimeSeriesServiceStatisticsPagesWithContext(ctx aws.Context, input *GetTimeSeriesServiceStatisticsInput, fn func(*GetTimeSeriesServiceStatisticsOutput, bool) bool, opts ...request.Option) error

GetTimeSeriesServiceStatisticsPagesWithContext same as GetTimeSeriesServiceStatisticsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetTimeSeriesServiceStatisticsRequest Uses

func (c *XRay) GetTimeSeriesServiceStatisticsRequest(input *GetTimeSeriesServiceStatisticsInput) (req *request.Request, output *GetTimeSeriesServiceStatisticsOutput)

GetTimeSeriesServiceStatisticsRequest generates a "aws/request.Request" representing the client's request for the GetTimeSeriesServiceStatistics operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTimeSeriesServiceStatistics for more information on using the GetTimeSeriesServiceStatistics API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTimeSeriesServiceStatisticsRequest method.
req, resp := client.GetTimeSeriesServiceStatisticsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTimeSeriesServiceStatistics

func (*XRay) GetTimeSeriesServiceStatisticsWithContext Uses

func (c *XRay) GetTimeSeriesServiceStatisticsWithContext(ctx aws.Context, input *GetTimeSeriesServiceStatisticsInput, opts ...request.Option) (*GetTimeSeriesServiceStatisticsOutput, error)

GetTimeSeriesServiceStatisticsWithContext is the same as GetTimeSeriesServiceStatistics with the addition of the ability to pass a context and additional request options.

See GetTimeSeriesServiceStatistics for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetTraceGraph Uses

func (c *XRay) GetTraceGraph(input *GetTraceGraphInput) (*GetTraceGraphOutput, error)

GetTraceGraph API operation for AWS X-Ray.

Retrieves a service graph for one or more specific trace IDs.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation GetTraceGraph for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceGraph

func (*XRay) GetTraceGraphPages Uses

func (c *XRay) GetTraceGraphPages(input *GetTraceGraphInput, fn func(*GetTraceGraphOutput, bool) bool) error

GetTraceGraphPages iterates over the pages of a GetTraceGraph operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetTraceGraph method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetTraceGraph operation.
pageNum := 0
err := client.GetTraceGraphPages(params,
    func(page *xray.GetTraceGraphOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*XRay) GetTraceGraphPagesWithContext Uses

func (c *XRay) GetTraceGraphPagesWithContext(ctx aws.Context, input *GetTraceGraphInput, fn func(*GetTraceGraphOutput, bool) bool, opts ...request.Option) error

GetTraceGraphPagesWithContext same as GetTraceGraphPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetTraceGraphRequest Uses

func (c *XRay) GetTraceGraphRequest(input *GetTraceGraphInput) (req *request.Request, output *GetTraceGraphOutput)

GetTraceGraphRequest generates a "aws/request.Request" representing the client's request for the GetTraceGraph operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTraceGraph for more information on using the GetTraceGraph API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTraceGraphRequest method.
req, resp := client.GetTraceGraphRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceGraph

func (*XRay) GetTraceGraphWithContext Uses

func (c *XRay) GetTraceGraphWithContext(ctx aws.Context, input *GetTraceGraphInput, opts ...request.Option) (*GetTraceGraphOutput, error)

GetTraceGraphWithContext is the same as GetTraceGraph with the addition of the ability to pass a context and additional request options.

See GetTraceGraph for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetTraceSummaries Uses

func (c *XRay) GetTraceSummaries(input *GetTraceSummariesInput) (*GetTraceSummariesOutput, error)

GetTraceSummaries 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 (https://docs.aws.amazon.com/xray/latest/devguide/xray-console-filters.html) in the AWS X-Ray Developer Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation GetTraceSummaries for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSummaries

func (*XRay) GetTraceSummariesPages Uses

func (c *XRay) GetTraceSummariesPages(input *GetTraceSummariesInput, fn func(*GetTraceSummariesOutput, bool) bool) error

GetTraceSummariesPages iterates over the pages of a GetTraceSummaries operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See GetTraceSummaries method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a GetTraceSummaries operation.
pageNum := 0
err := client.GetTraceSummariesPages(params,
    func(page *xray.GetTraceSummariesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*XRay) GetTraceSummariesPagesWithContext Uses

func (c *XRay) GetTraceSummariesPagesWithContext(ctx aws.Context, input *GetTraceSummariesInput, fn func(*GetTraceSummariesOutput, bool) bool, opts ...request.Option) error

GetTraceSummariesPagesWithContext same as GetTraceSummariesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) GetTraceSummariesRequest Uses

func (c *XRay) GetTraceSummariesRequest(input *GetTraceSummariesInput) (req *request.Request, output *GetTraceSummariesOutput)

GetTraceSummariesRequest generates a "aws/request.Request" representing the client's request for the GetTraceSummaries operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTraceSummaries for more information on using the GetTraceSummaries API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTraceSummariesRequest method.
req, resp := client.GetTraceSummariesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSummaries

func (*XRay) GetTraceSummariesWithContext Uses

func (c *XRay) GetTraceSummariesWithContext(ctx aws.Context, input *GetTraceSummariesInput, opts ...request.Option) (*GetTraceSummariesOutput, error)

GetTraceSummariesWithContext is the same as GetTraceSummaries with the addition of the ability to pass a context and additional request options.

See GetTraceSummaries for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) PutEncryptionConfig Uses

func (c *XRay) PutEncryptionConfig(input *PutEncryptionConfigInput) (*PutEncryptionConfigOutput, error)

PutEncryptionConfig API operation for AWS X-Ray.

Updates the encryption configuration for X-Ray data.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation PutEncryptionConfig for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutEncryptionConfig

func (*XRay) PutEncryptionConfigRequest Uses

func (c *XRay) PutEncryptionConfigRequest(input *PutEncryptionConfigInput) (req *request.Request, output *PutEncryptionConfigOutput)

PutEncryptionConfigRequest generates a "aws/request.Request" representing the client's request for the PutEncryptionConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutEncryptionConfig for more information on using the PutEncryptionConfig API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutEncryptionConfigRequest method.
req, resp := client.PutEncryptionConfigRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutEncryptionConfig

func (*XRay) PutEncryptionConfigWithContext Uses

func (c *XRay) PutEncryptionConfigWithContext(ctx aws.Context, input *PutEncryptionConfigInput, opts ...request.Option) (*PutEncryptionConfigOutput, error)

PutEncryptionConfigWithContext is the same as PutEncryptionConfig with the addition of the ability to pass a context and additional request options.

See PutEncryptionConfig for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) PutTelemetryRecords Uses

func (c *XRay) PutTelemetryRecords(input *PutTelemetryRecordsInput) (*PutTelemetryRecordsOutput, error)

PutTelemetryRecords API operation for AWS X-Ray.

Used by the AWS X-Ray daemon to upload telemetry.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation PutTelemetryRecords for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecords

func (*XRay) PutTelemetryRecordsRequest Uses

func (c *XRay) PutTelemetryRecordsRequest(input *PutTelemetryRecordsInput) (req *request.Request, output *PutTelemetryRecordsOutput)

PutTelemetryRecordsRequest generates a "aws/request.Request" representing the client's request for the PutTelemetryRecords operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutTelemetryRecords for more information on using the PutTelemetryRecords API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutTelemetryRecordsRequest method.
req, resp := client.PutTelemetryRecordsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecords

func (*XRay) PutTelemetryRecordsWithContext Uses

func (c *XRay) PutTelemetryRecordsWithContext(ctx aws.Context, input *PutTelemetryRecordsInput, opts ...request.Option) (*PutTelemetryRecordsOutput, error)

PutTelemetryRecordsWithContext is the same as PutTelemetryRecords with the addition of the ability to pass a context and additional request options.

See PutTelemetryRecords for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) PutTraceSegments Uses

func (c *XRay) PutTraceSegments(input *PutTraceSegmentsInput) (*PutTraceSegmentsOutput, error)

PutTraceSegments 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation PutTraceSegments for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTraceSegments

func (*XRay) PutTraceSegmentsRequest Uses

func (c *XRay) PutTraceSegmentsRequest(input *PutTraceSegmentsInput) (req *request.Request, output *PutTraceSegmentsOutput)

PutTraceSegmentsRequest generates a "aws/request.Request" representing the client's request for the PutTraceSegments operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutTraceSegments for more information on using the PutTraceSegments API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutTraceSegmentsRequest method.
req, resp := client.PutTraceSegmentsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTraceSegments

func (*XRay) PutTraceSegmentsWithContext Uses

func (c *XRay) PutTraceSegmentsWithContext(ctx aws.Context, input *PutTraceSegmentsInput, opts ...request.Option) (*PutTraceSegmentsOutput, error)

PutTraceSegmentsWithContext is the same as PutTraceSegments with the addition of the ability to pass a context and additional request options.

See PutTraceSegments for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) UpdateGroup Uses

func (c *XRay) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error)

UpdateGroup API operation for AWS X-Ray.

Updates a group resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation UpdateGroup for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroup

func (*XRay) UpdateGroupRequest Uses

func (c *XRay) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput)

UpdateGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateGroup for more information on using the UpdateGroup API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateGroupRequest method.
req, resp := client.UpdateGroupRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroup

func (*XRay) UpdateGroupWithContext Uses

func (c *XRay) UpdateGroupWithContext(ctx aws.Context, input *UpdateGroupInput, opts ...request.Option) (*UpdateGroupOutput, error)

UpdateGroupWithContext is the same as UpdateGroup with the addition of the ability to pass a context and additional request options.

See UpdateGroup for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*XRay) UpdateSamplingRule Uses

func (c *XRay) UpdateSamplingRule(input *UpdateSamplingRuleInput) (*UpdateSamplingRuleOutput, error)

UpdateSamplingRule API operation for AWS X-Ray.

Modifies a sampling rule's configuration.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS X-Ray's API operation UpdateSamplingRule for usage and error information.

Returned Error Codes:

* ErrCodeInvalidRequestException "InvalidRequestException"
The request is missing required parameters or has invalid parameters.

* ErrCodeThrottledException "ThrottledException"
The request exceeds the maximum number of requests per second.

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateSamplingRule

func (*XRay) UpdateSamplingRuleRequest Uses

func (c *XRay) UpdateSamplingRuleRequest(input *UpdateSamplingRuleInput) (req *request.Request, output *UpdateSamplingRuleOutput)

UpdateSamplingRuleRequest generates a "aws/request.Request" representing the client's request for the UpdateSamplingRule operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateSamplingRule for more information on using the UpdateSamplingRule API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateSamplingRuleRequest method.
req, resp := client.UpdateSamplingRuleRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateSamplingRule

func (*XRay) UpdateSamplingRuleWithContext Uses

func (c *XRay) UpdateSamplingRuleWithContext(ctx aws.Context, input *UpdateSamplingRuleInput, opts ...request.Option) (*UpdateSamplingRuleOutput, error)

UpdateSamplingRuleWithContext is the same as UpdateSamplingRule with the addition of the ability to pass a context and additional request options.

See UpdateSamplingRule for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

Directories

PathSynopsis
xrayifacePackage xrayiface provides an interface to enable mocking the AWS X-Ray service client for testing your code.

Package xray imports 10 packages (graph) and is imported by 32 packages. Updated 2019-05-28. Refresh now. Tools for package owners.