Search
Preparing search index...
The search index is not available
Sagemaker Edge Client - AWS SDK for JavaScript v3
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
StandardRetryStrategy
Class StandardRetryStrategy
deprected
use StandardRetryStrategy from @aws-sdk/util-retry
Hierarchy
StandardRetryStrategy
Implements
RetryStrategyV2
RetryStrategy
Index
Constructors
constructor
Properties
mode
Methods
acquire
Initial
Retry
Token
record
Success
refresh
Retry
Token
For
Retry
retry
Constructors
constructor
new
Standard
Retry
Strategy
(
maxAttemptsProvider
:
Provider
<
number
>
)
:
StandardRetryStrategy
new
Standard
Retry
Strategy
(
maxAttemptsProvider
:
Provider
<
number
>
, options
?:
StandardRetryStrategyOptions
)
:
StandardRetryStrategy
Parameters
maxAttemptsProvider:
Provider
<
number
>
Returns
StandardRetryStrategy
Parameters
maxAttemptsProvider:
Provider
<
number
>
Optional
options:
StandardRetryStrategyOptions
Returns
StandardRetryStrategy
Properties
Readonly
mode
mode
:
string
Methods
acquire
Initial
Retry
Token
acquire
Initial
Retry
Token
(
retryTokenScope
:
string
)
:
Promise
<
StandardRetryToken
>
Parameters
retryTokenScope:
string
Returns
Promise
<
StandardRetryToken
>
record
Success
record
Success
(
token
:
StandardRetryToken
)
:
void
Parameters
token:
StandardRetryToken
Returns
void
refresh
Retry
Token
For
Retry
refresh
Retry
Token
For
Retry
(
tokenToRenew
:
StandardRetryToken
, errorInfo
:
RetryErrorInfo
)
:
Promise
<
StandardRetryToken
>
Parameters
tokenToRenew:
StandardRetryToken
errorInfo:
RetryErrorInfo
Returns
Promise
<
StandardRetryToken
>
retry
retry<Input, Ouput>
(
next
:
FinalizeHandler
<
Input
,
Ouput
>
, args
:
FinalizeHandlerArguments
<
Input
>
, options
?:
undefined
|
{
afterRequest
:
Function
;
beforeRequest
:
Function
}
)
:
Promise
<
{
output
:
Ouput
;
response
:
unknown
}
>
Type parameters
Input
:
object
Ouput
:
MetadataBearer
Parameters
next:
FinalizeHandler
<
Input
,
Ouput
>
args:
FinalizeHandlerArguments
<
Input
>
Optional
options:
undefined
|
{
afterRequest
:
Function
;
beforeRequest
:
Function
}
Returns
Promise
<
{
output
:
Ouput
;
response
:
unknown
}
>
Standard
Retry
Strategy
constructor
mode
acquire
Initial
Retry
Token
record
Success
refresh
Retry
Token
For
Retry
retry
use StandardRetryStrategy from @aws-sdk/util-retry