Struct: retry.AttemptResult

import "../ibm-cos-sdk-go-v2/aws/retry"

Overview

AttemptResult represents attempt result returned by a single request attempt.

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

Err error

Err is the error if received for the request attempt.

ResponseMetadata middleware.Metadata

ResponseMetadata is any existing metadata passed via the response middlewares.

Retried bool

Retried indicates if this request was retried.

Retryable bool

Retryable denotes if request may be retried. This states if an error is considered retryable.

Method Details

func (a AttemptResult) GetRawResponse() interface{}

GetRawResponse returns raw response recorded for the attempt result



49
50
51
// File 'aws/retry/metadata.go', line 49

func (a AttemptResult) GetRawResponse() interface{} { return awsmiddle.GetRawResponse(a.ResponseMetadata) }