github_com-aws-aws-sdk-go-v2-aws.go 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. // Code generated by 'yaegi extract github.com/aws/aws-sdk-go-v2/aws'. DO NOT EDIT.
  2. package symbols
  3. import (
  4. "context"
  5. "github.com/aws/aws-sdk-go-v2/aws"
  6. "go/constant"
  7. "go/token"
  8. "net/http"
  9. "reflect"
  10. "time"
  11. )
  12. func init() {
  13. Symbols["github.com/aws/aws-sdk-go-v2/aws/aws"] = map[string]reflect.Value{
  14. // function, constant and variable definitions
  15. "AccountIDEndpointModeDisabled": reflect.ValueOf(constant.MakeFromLiteral("\"disabled\"", token.STRING, 0)),
  16. "AccountIDEndpointModePreferred": reflect.ValueOf(constant.MakeFromLiteral("\"preferred\"", token.STRING, 0)),
  17. "AccountIDEndpointModeRequired": reflect.ValueOf(constant.MakeFromLiteral("\"required\"", token.STRING, 0)),
  18. "AccountIDEndpointModeUnset": reflect.ValueOf(aws.AccountIDEndpointModeUnset),
  19. "Bool": reflect.ValueOf(aws.Bool),
  20. "BoolMap": reflect.ValueOf(aws.BoolMap),
  21. "BoolSlice": reflect.ValueOf(aws.BoolSlice),
  22. "BoolTernary": reflect.ValueOf(aws.BoolTernary),
  23. "Byte": reflect.ValueOf(aws.Byte),
  24. "ByteMap": reflect.ValueOf(aws.ByteMap),
  25. "ByteSlice": reflect.ValueOf(aws.ByteSlice),
  26. "CredentialSourceCode": reflect.ValueOf(aws.CredentialSourceCode),
  27. "CredentialSourceEnvVars": reflect.ValueOf(aws.CredentialSourceEnvVars),
  28. "CredentialSourceEnvVarsSTSWebIDToken": reflect.ValueOf(aws.CredentialSourceEnvVarsSTSWebIDToken),
  29. "CredentialSourceHTTP": reflect.ValueOf(aws.CredentialSourceHTTP),
  30. "CredentialSourceIMDS": reflect.ValueOf(aws.CredentialSourceIMDS),
  31. "CredentialSourceLogin": reflect.ValueOf(aws.CredentialSourceLogin),
  32. "CredentialSourceProcess": reflect.ValueOf(aws.CredentialSourceProcess),
  33. "CredentialSourceProfile": reflect.ValueOf(aws.CredentialSourceProfile),
  34. "CredentialSourceProfileLogin": reflect.ValueOf(aws.CredentialSourceProfileLogin),
  35. "CredentialSourceProfileNamedProvider": reflect.ValueOf(aws.CredentialSourceProfileNamedProvider),
  36. "CredentialSourceProfileProcess": reflect.ValueOf(aws.CredentialSourceProfileProcess),
  37. "CredentialSourceProfileSSO": reflect.ValueOf(aws.CredentialSourceProfileSSO),
  38. "CredentialSourceProfileSSOLegacy": reflect.ValueOf(aws.CredentialSourceProfileSSOLegacy),
  39. "CredentialSourceProfileSTSWebIDToken": reflect.ValueOf(aws.CredentialSourceProfileSTSWebIDToken),
  40. "CredentialSourceProfileSourceProfile": reflect.ValueOf(aws.CredentialSourceProfileSourceProfile),
  41. "CredentialSourceSSO": reflect.ValueOf(aws.CredentialSourceSSO),
  42. "CredentialSourceSSOLegacy": reflect.ValueOf(aws.CredentialSourceSSOLegacy),
  43. "CredentialSourceSTSAssumeRole": reflect.ValueOf(aws.CredentialSourceSTSAssumeRole),
  44. "CredentialSourceSTSAssumeRoleSaml": reflect.ValueOf(aws.CredentialSourceSTSAssumeRoleSaml),
  45. "CredentialSourceSTSAssumeRoleWebID": reflect.ValueOf(aws.CredentialSourceSTSAssumeRoleWebID),
  46. "CredentialSourceSTSFederationToken": reflect.ValueOf(aws.CredentialSourceSTSFederationToken),
  47. "CredentialSourceSTSSessionToken": reflect.ValueOf(aws.CredentialSourceSTSSessionToken),
  48. "CredentialSourceUndefined": reflect.ValueOf(aws.CredentialSourceUndefined),
  49. "DefaultsModeAuto": reflect.ValueOf(aws.DefaultsModeAuto),
  50. "DefaultsModeCrossRegion": reflect.ValueOf(aws.DefaultsModeCrossRegion),
  51. "DefaultsModeInRegion": reflect.ValueOf(aws.DefaultsModeInRegion),
  52. "DefaultsModeLegacy": reflect.ValueOf(aws.DefaultsModeLegacy),
  53. "DefaultsModeMobile": reflect.ValueOf(aws.DefaultsModeMobile),
  54. "DefaultsModeStandard": reflect.ValueOf(aws.DefaultsModeStandard),
  55. "DualStackEndpointStateDisabled": reflect.ValueOf(aws.DualStackEndpointStateDisabled),
  56. "DualStackEndpointStateEnabled": reflect.ValueOf(aws.DualStackEndpointStateEnabled),
  57. "DualStackEndpointStateUnset": reflect.ValueOf(aws.DualStackEndpointStateUnset),
  58. "Duration": reflect.ValueOf(aws.Duration),
  59. "DurationMap": reflect.ValueOf(aws.DurationMap),
  60. "DurationSlice": reflect.ValueOf(aws.DurationSlice),
  61. "EndpointDiscoveryAuto": reflect.ValueOf(aws.EndpointDiscoveryAuto),
  62. "EndpointDiscoveryDisabled": reflect.ValueOf(aws.EndpointDiscoveryDisabled),
  63. "EndpointDiscoveryEnabled": reflect.ValueOf(aws.EndpointDiscoveryEnabled),
  64. "EndpointDiscoveryUnset": reflect.ValueOf(aws.EndpointDiscoveryUnset),
  65. "EndpointSourceCustom": reflect.ValueOf(aws.EndpointSourceCustom),
  66. "EndpointSourceServiceMetadata": reflect.ValueOf(aws.EndpointSourceServiceMetadata),
  67. "FIPSEndpointStateDisabled": reflect.ValueOf(aws.FIPSEndpointStateDisabled),
  68. "FIPSEndpointStateEnabled": reflect.ValueOf(aws.FIPSEndpointStateEnabled),
  69. "FIPSEndpointStateUnset": reflect.ValueOf(aws.FIPSEndpointStateUnset),
  70. "FalseTernary": reflect.ValueOf(aws.FalseTernary),
  71. "Float32": reflect.ValueOf(aws.Float32),
  72. "Float32Map": reflect.ValueOf(aws.Float32Map),
  73. "Float32Slice": reflect.ValueOf(aws.Float32Slice),
  74. "Float64": reflect.ValueOf(aws.Float64),
  75. "Float64Map": reflect.ValueOf(aws.Float64Map),
  76. "Float64Slice": reflect.ValueOf(aws.Float64Slice),
  77. "GetDisableHTTPS": reflect.ValueOf(aws.GetDisableHTTPS),
  78. "GetResolvedRegion": reflect.ValueOf(aws.GetResolvedRegion),
  79. "GetUseDualStackEndpoint": reflect.ValueOf(aws.GetUseDualStackEndpoint),
  80. "GetUseFIPSEndpoint": reflect.ValueOf(aws.GetUseFIPSEndpoint),
  81. "Int": reflect.ValueOf(aws.Int),
  82. "Int16": reflect.ValueOf(aws.Int16),
  83. "Int16Map": reflect.ValueOf(aws.Int16Map),
  84. "Int16Slice": reflect.ValueOf(aws.Int16Slice),
  85. "Int32": reflect.ValueOf(aws.Int32),
  86. "Int32Map": reflect.ValueOf(aws.Int32Map),
  87. "Int32Slice": reflect.ValueOf(aws.Int32Slice),
  88. "Int64": reflect.ValueOf(aws.Int64),
  89. "Int64Map": reflect.ValueOf(aws.Int64Map),
  90. "Int64Slice": reflect.ValueOf(aws.Int64Slice),
  91. "Int8": reflect.ValueOf(aws.Int8),
  92. "Int8Map": reflect.ValueOf(aws.Int8Map),
  93. "Int8Slice": reflect.ValueOf(aws.Int8Slice),
  94. "IntMap": reflect.ValueOf(aws.IntMap),
  95. "IntSlice": reflect.ValueOf(aws.IntSlice),
  96. "IsCredentialsProvider": reflect.ValueOf(aws.IsCredentialsProvider),
  97. "LogDeprecatedUsage": reflect.ValueOf(aws.LogDeprecatedUsage),
  98. "LogRequest": reflect.ValueOf(aws.LogRequest),
  99. "LogRequestEventMessage": reflect.ValueOf(aws.LogRequestEventMessage),
  100. "LogRequestWithBody": reflect.ValueOf(aws.LogRequestWithBody),
  101. "LogResponse": reflect.ValueOf(aws.LogResponse),
  102. "LogResponseEventMessage": reflect.ValueOf(aws.LogResponseEventMessage),
  103. "LogResponseWithBody": reflect.ValueOf(aws.LogResponseWithBody),
  104. "LogRetries": reflect.ValueOf(aws.LogRetries),
  105. "LogSigning": reflect.ValueOf(aws.LogSigning),
  106. "NewConfig": reflect.ValueOf(aws.NewConfig),
  107. "NewCredentialsCache": reflect.ValueOf(aws.NewCredentialsCache),
  108. "ParseRetryMode": reflect.ValueOf(aws.ParseRetryMode),
  109. "RequestChecksumCalculationUnset": reflect.ValueOf(aws.RequestChecksumCalculationUnset),
  110. "RequestChecksumCalculationWhenRequired": reflect.ValueOf(aws.RequestChecksumCalculationWhenRequired),
  111. "RequestChecksumCalculationWhenSupported": reflect.ValueOf(aws.RequestChecksumCalculationWhenSupported),
  112. "ResponseChecksumValidationUnset": reflect.ValueOf(aws.ResponseChecksumValidationUnset),
  113. "ResponseChecksumValidationWhenRequired": reflect.ValueOf(aws.ResponseChecksumValidationWhenRequired),
  114. "ResponseChecksumValidationWhenSupported": reflect.ValueOf(aws.ResponseChecksumValidationWhenSupported),
  115. "RetryModeAdaptive": reflect.ValueOf(aws.RetryModeAdaptive),
  116. "RetryModeStandard": reflect.ValueOf(aws.RetryModeStandard),
  117. "SDKName": reflect.ValueOf(constant.MakeFromLiteral("\"aws-sdk-go-v2\"", token.STRING, 0)),
  118. "SDKVersion": reflect.ValueOf(constant.MakeFromLiteral("\"1.41.2\"", token.STRING, 0)),
  119. "String": reflect.ValueOf(aws.String),
  120. "StringMap": reflect.ValueOf(aws.StringMap),
  121. "StringSlice": reflect.ValueOf(aws.StringSlice),
  122. "Time": reflect.ValueOf(aws.Time),
  123. "TimeMap": reflect.ValueOf(aws.TimeMap),
  124. "TimeSlice": reflect.ValueOf(aws.TimeSlice),
  125. "ToBool": reflect.ValueOf(aws.ToBool),
  126. "ToBoolMap": reflect.ValueOf(aws.ToBoolMap),
  127. "ToBoolSlice": reflect.ValueOf(aws.ToBoolSlice),
  128. "ToByte": reflect.ValueOf(aws.ToByte),
  129. "ToByteMap": reflect.ValueOf(aws.ToByteMap),
  130. "ToByteSlice": reflect.ValueOf(aws.ToByteSlice),
  131. "ToDuration": reflect.ValueOf(aws.ToDuration),
  132. "ToDurationMap": reflect.ValueOf(aws.ToDurationMap),
  133. "ToDurationSlice": reflect.ValueOf(aws.ToDurationSlice),
  134. "ToFloat32": reflect.ValueOf(aws.ToFloat32),
  135. "ToFloat32Map": reflect.ValueOf(aws.ToFloat32Map),
  136. "ToFloat32Slice": reflect.ValueOf(aws.ToFloat32Slice),
  137. "ToFloat64": reflect.ValueOf(aws.ToFloat64),
  138. "ToFloat64Map": reflect.ValueOf(aws.ToFloat64Map),
  139. "ToFloat64Slice": reflect.ValueOf(aws.ToFloat64Slice),
  140. "ToInt": reflect.ValueOf(aws.ToInt),
  141. "ToInt16": reflect.ValueOf(aws.ToInt16),
  142. "ToInt16Map": reflect.ValueOf(aws.ToInt16Map),
  143. "ToInt16Slice": reflect.ValueOf(aws.ToInt16Slice),
  144. "ToInt32": reflect.ValueOf(aws.ToInt32),
  145. "ToInt32Map": reflect.ValueOf(aws.ToInt32Map),
  146. "ToInt32Slice": reflect.ValueOf(aws.ToInt32Slice),
  147. "ToInt64": reflect.ValueOf(aws.ToInt64),
  148. "ToInt64Map": reflect.ValueOf(aws.ToInt64Map),
  149. "ToInt64Slice": reflect.ValueOf(aws.ToInt64Slice),
  150. "ToInt8": reflect.ValueOf(aws.ToInt8),
  151. "ToInt8Map": reflect.ValueOf(aws.ToInt8Map),
  152. "ToInt8Slice": reflect.ValueOf(aws.ToInt8Slice),
  153. "ToIntMap": reflect.ValueOf(aws.ToIntMap),
  154. "ToIntSlice": reflect.ValueOf(aws.ToIntSlice),
  155. "ToString": reflect.ValueOf(aws.ToString),
  156. "ToStringMap": reflect.ValueOf(aws.ToStringMap),
  157. "ToStringSlice": reflect.ValueOf(aws.ToStringSlice),
  158. "ToTime": reflect.ValueOf(aws.ToTime),
  159. "ToTimeMap": reflect.ValueOf(aws.ToTimeMap),
  160. "ToTimeSlice": reflect.ValueOf(aws.ToTimeSlice),
  161. "ToUint": reflect.ValueOf(aws.ToUint),
  162. "ToUint16": reflect.ValueOf(aws.ToUint16),
  163. "ToUint16Map": reflect.ValueOf(aws.ToUint16Map),
  164. "ToUint16Slice": reflect.ValueOf(aws.ToUint16Slice),
  165. "ToUint32": reflect.ValueOf(aws.ToUint32),
  166. "ToUint32Map": reflect.ValueOf(aws.ToUint32Map),
  167. "ToUint32Slice": reflect.ValueOf(aws.ToUint32Slice),
  168. "ToUint64": reflect.ValueOf(aws.ToUint64),
  169. "ToUint64Map": reflect.ValueOf(aws.ToUint64Map),
  170. "ToUint64Slice": reflect.ValueOf(aws.ToUint64Slice),
  171. "ToUint8": reflect.ValueOf(aws.ToUint8),
  172. "ToUint8Map": reflect.ValueOf(aws.ToUint8Map),
  173. "ToUint8Slice": reflect.ValueOf(aws.ToUint8Slice),
  174. "ToUintMap": reflect.ValueOf(aws.ToUintMap),
  175. "ToUintSlice": reflect.ValueOf(aws.ToUintSlice),
  176. "TrueTernary": reflect.ValueOf(aws.TrueTernary),
  177. "Uint": reflect.ValueOf(aws.Uint),
  178. "Uint16": reflect.ValueOf(aws.Uint16),
  179. "Uint16Map": reflect.ValueOf(aws.Uint16Map),
  180. "Uint16Slice": reflect.ValueOf(aws.Uint16Slice),
  181. "Uint32": reflect.ValueOf(aws.Uint32),
  182. "Uint32Map": reflect.ValueOf(aws.Uint32Map),
  183. "Uint32Slice": reflect.ValueOf(aws.Uint32Slice),
  184. "Uint64": reflect.ValueOf(aws.Uint64),
  185. "Uint64Map": reflect.ValueOf(aws.Uint64Map),
  186. "Uint64Slice": reflect.ValueOf(aws.Uint64Slice),
  187. "Uint8": reflect.ValueOf(aws.Uint8),
  188. "Uint8Map": reflect.ValueOf(aws.Uint8Map),
  189. "Uint8Slice": reflect.ValueOf(aws.Uint8Slice),
  190. "UintMap": reflect.ValueOf(aws.UintMap),
  191. "UintSlice": reflect.ValueOf(aws.UintSlice),
  192. "UnknownTernary": reflect.ValueOf(aws.UnknownTernary),
  193. // type definitions
  194. "AccountIDEndpointMode": reflect.ValueOf((*aws.AccountIDEndpointMode)(nil)),
  195. "AdjustExpiresByCredentialsCacheStrategy": reflect.ValueOf((*aws.AdjustExpiresByCredentialsCacheStrategy)(nil)),
  196. "AnonymousCredentials": reflect.ValueOf((*aws.AnonymousCredentials)(nil)),
  197. "ClientLogMode": reflect.ValueOf((*aws.ClientLogMode)(nil)),
  198. "Config": reflect.ValueOf((*aws.Config)(nil)),
  199. "CredentialProviderSource": reflect.ValueOf((*aws.CredentialProviderSource)(nil)),
  200. "CredentialSource": reflect.ValueOf((*aws.CredentialSource)(nil)),
  201. "Credentials": reflect.ValueOf((*aws.Credentials)(nil)),
  202. "CredentialsCache": reflect.ValueOf((*aws.CredentialsCache)(nil)),
  203. "CredentialsCacheOptions": reflect.ValueOf((*aws.CredentialsCacheOptions)(nil)),
  204. "CredentialsProvider": reflect.ValueOf((*aws.CredentialsProvider)(nil)),
  205. "CredentialsProviderFunc": reflect.ValueOf((*aws.CredentialsProviderFunc)(nil)),
  206. "DefaultsMode": reflect.ValueOf((*aws.DefaultsMode)(nil)),
  207. "DualStackEndpointState": reflect.ValueOf((*aws.DualStackEndpointState)(nil)),
  208. "Endpoint": reflect.ValueOf((*aws.Endpoint)(nil)),
  209. "EndpointDiscoveryEnableState": reflect.ValueOf((*aws.EndpointDiscoveryEnableState)(nil)),
  210. "EndpointNotFoundError": reflect.ValueOf((*aws.EndpointNotFoundError)(nil)),
  211. "EndpointResolver": reflect.ValueOf((*aws.EndpointResolver)(nil)),
  212. "EndpointResolverFunc": reflect.ValueOf((*aws.EndpointResolverFunc)(nil)),
  213. "EndpointResolverWithOptions": reflect.ValueOf((*aws.EndpointResolverWithOptions)(nil)),
  214. "EndpointResolverWithOptionsFunc": reflect.ValueOf((*aws.EndpointResolverWithOptionsFunc)(nil)),
  215. "EndpointSource": reflect.ValueOf((*aws.EndpointSource)(nil)),
  216. "ExecutionEnvironmentID": reflect.ValueOf((*aws.ExecutionEnvironmentID)(nil)),
  217. "FIPSEndpointState": reflect.ValueOf((*aws.FIPSEndpointState)(nil)),
  218. "HTTPClient": reflect.ValueOf((*aws.HTTPClient)(nil)),
  219. "HandleFailRefreshCredentialsCacheStrategy": reflect.ValueOf((*aws.HandleFailRefreshCredentialsCacheStrategy)(nil)),
  220. "MissingRegionError": reflect.ValueOf((*aws.MissingRegionError)(nil)),
  221. "NopRetryer": reflect.ValueOf((*aws.NopRetryer)(nil)),
  222. "RequestCanceledError": reflect.ValueOf((*aws.RequestCanceledError)(nil)),
  223. "RequestChecksumCalculation": reflect.ValueOf((*aws.RequestChecksumCalculation)(nil)),
  224. "ResponseChecksumValidation": reflect.ValueOf((*aws.ResponseChecksumValidation)(nil)),
  225. "RetryMode": reflect.ValueOf((*aws.RetryMode)(nil)),
  226. "Retryer": reflect.ValueOf((*aws.Retryer)(nil)),
  227. "RetryerV2": reflect.ValueOf((*aws.RetryerV2)(nil)),
  228. "RuntimeEnvironment": reflect.ValueOf((*aws.RuntimeEnvironment)(nil)),
  229. "Ternary": reflect.ValueOf((*aws.Ternary)(nil)),
  230. // interface wrapper definitions
  231. "_AdjustExpiresByCredentialsCacheStrategy": reflect.ValueOf((*_github_com_aws_aws_sdk_go_v2_aws_AdjustExpiresByCredentialsCacheStrategy)(nil)),
  232. "_CredentialProviderSource": reflect.ValueOf((*_github_com_aws_aws_sdk_go_v2_aws_CredentialProviderSource)(nil)),
  233. "_CredentialsProvider": reflect.ValueOf((*_github_com_aws_aws_sdk_go_v2_aws_CredentialsProvider)(nil)),
  234. "_EndpointResolver": reflect.ValueOf((*_github_com_aws_aws_sdk_go_v2_aws_EndpointResolver)(nil)),
  235. "_EndpointResolverWithOptions": reflect.ValueOf((*_github_com_aws_aws_sdk_go_v2_aws_EndpointResolverWithOptions)(nil)),
  236. "_HTTPClient": reflect.ValueOf((*_github_com_aws_aws_sdk_go_v2_aws_HTTPClient)(nil)),
  237. "_HandleFailRefreshCredentialsCacheStrategy": reflect.ValueOf((*_github_com_aws_aws_sdk_go_v2_aws_HandleFailRefreshCredentialsCacheStrategy)(nil)),
  238. "_Retryer": reflect.ValueOf((*_github_com_aws_aws_sdk_go_v2_aws_Retryer)(nil)),
  239. "_RetryerV2": reflect.ValueOf((*_github_com_aws_aws_sdk_go_v2_aws_RetryerV2)(nil)),
  240. }
  241. }
  242. // _github_com_aws_aws_sdk_go_v2_aws_AdjustExpiresByCredentialsCacheStrategy is an interface wrapper for AdjustExpiresByCredentialsCacheStrategy type
  243. type _github_com_aws_aws_sdk_go_v2_aws_AdjustExpiresByCredentialsCacheStrategy struct {
  244. IValue interface{}
  245. WAdjustExpiresBy func(a0 aws.Credentials, a1 time.Duration) (aws.Credentials, error)
  246. }
  247. func (W _github_com_aws_aws_sdk_go_v2_aws_AdjustExpiresByCredentialsCacheStrategy) AdjustExpiresBy(a0 aws.Credentials, a1 time.Duration) (aws.Credentials, error) {
  248. return W.WAdjustExpiresBy(a0, a1)
  249. }
  250. // _github_com_aws_aws_sdk_go_v2_aws_CredentialProviderSource is an interface wrapper for CredentialProviderSource type
  251. type _github_com_aws_aws_sdk_go_v2_aws_CredentialProviderSource struct {
  252. IValue interface{}
  253. WProviderSources func() []aws.CredentialSource
  254. }
  255. func (W _github_com_aws_aws_sdk_go_v2_aws_CredentialProviderSource) ProviderSources() []aws.CredentialSource {
  256. return W.WProviderSources()
  257. }
  258. // _github_com_aws_aws_sdk_go_v2_aws_CredentialsProvider is an interface wrapper for CredentialsProvider type
  259. type _github_com_aws_aws_sdk_go_v2_aws_CredentialsProvider struct {
  260. IValue interface{}
  261. WRetrieve func(ctx context.Context) (aws.Credentials, error)
  262. }
  263. func (W _github_com_aws_aws_sdk_go_v2_aws_CredentialsProvider) Retrieve(ctx context.Context) (aws.Credentials, error) {
  264. return W.WRetrieve(ctx)
  265. }
  266. // _github_com_aws_aws_sdk_go_v2_aws_EndpointResolver is an interface wrapper for EndpointResolver type
  267. type _github_com_aws_aws_sdk_go_v2_aws_EndpointResolver struct {
  268. IValue interface{}
  269. WResolveEndpoint func(service string, region string) (aws.Endpoint, error)
  270. }
  271. func (W _github_com_aws_aws_sdk_go_v2_aws_EndpointResolver) ResolveEndpoint(service string, region string) (aws.Endpoint, error) {
  272. return W.WResolveEndpoint(service, region)
  273. }
  274. // _github_com_aws_aws_sdk_go_v2_aws_EndpointResolverWithOptions is an interface wrapper for EndpointResolverWithOptions type
  275. type _github_com_aws_aws_sdk_go_v2_aws_EndpointResolverWithOptions struct {
  276. IValue interface{}
  277. WResolveEndpoint func(service string, region string, options ...interface{}) (aws.Endpoint, error)
  278. }
  279. func (W _github_com_aws_aws_sdk_go_v2_aws_EndpointResolverWithOptions) ResolveEndpoint(service string, region string, options ...interface{}) (aws.Endpoint, error) {
  280. return W.WResolveEndpoint(service, region, options...)
  281. }
  282. // _github_com_aws_aws_sdk_go_v2_aws_HTTPClient is an interface wrapper for HTTPClient type
  283. type _github_com_aws_aws_sdk_go_v2_aws_HTTPClient struct {
  284. IValue interface{}
  285. WDo func(a0 *http.Request) (*http.Response, error)
  286. }
  287. func (W _github_com_aws_aws_sdk_go_v2_aws_HTTPClient) Do(a0 *http.Request) (*http.Response, error) {
  288. return W.WDo(a0)
  289. }
  290. // _github_com_aws_aws_sdk_go_v2_aws_HandleFailRefreshCredentialsCacheStrategy is an interface wrapper for HandleFailRefreshCredentialsCacheStrategy type
  291. type _github_com_aws_aws_sdk_go_v2_aws_HandleFailRefreshCredentialsCacheStrategy struct {
  292. IValue interface{}
  293. WHandleFailToRefresh func(a0 context.Context, a1 aws.Credentials, a2 error) (aws.Credentials, error)
  294. }
  295. func (W _github_com_aws_aws_sdk_go_v2_aws_HandleFailRefreshCredentialsCacheStrategy) HandleFailToRefresh(a0 context.Context, a1 aws.Credentials, a2 error) (aws.Credentials, error) {
  296. return W.WHandleFailToRefresh(a0, a1, a2)
  297. }
  298. // _github_com_aws_aws_sdk_go_v2_aws_Retryer is an interface wrapper for Retryer type
  299. type _github_com_aws_aws_sdk_go_v2_aws_Retryer struct {
  300. IValue interface{}
  301. WGetInitialToken func() (releaseToken func(error) error)
  302. WGetRetryToken func(ctx context.Context, opErr error) (releaseToken func(error) error, err error)
  303. WIsErrorRetryable func(a0 error) bool
  304. WMaxAttempts func() int
  305. WRetryDelay func(attempt int, opErr error) (time.Duration, error)
  306. }
  307. func (W _github_com_aws_aws_sdk_go_v2_aws_Retryer) GetInitialToken() (releaseToken func(error) error) {
  308. return W.WGetInitialToken()
  309. }
  310. func (W _github_com_aws_aws_sdk_go_v2_aws_Retryer) GetRetryToken(ctx context.Context, opErr error) (releaseToken func(error) error, err error) {
  311. return W.WGetRetryToken(ctx, opErr)
  312. }
  313. func (W _github_com_aws_aws_sdk_go_v2_aws_Retryer) IsErrorRetryable(a0 error) bool {
  314. return W.WIsErrorRetryable(a0)
  315. }
  316. func (W _github_com_aws_aws_sdk_go_v2_aws_Retryer) MaxAttempts() int { return W.WMaxAttempts() }
  317. func (W _github_com_aws_aws_sdk_go_v2_aws_Retryer) RetryDelay(attempt int, opErr error) (time.Duration, error) {
  318. return W.WRetryDelay(attempt, opErr)
  319. }
  320. // _github_com_aws_aws_sdk_go_v2_aws_RetryerV2 is an interface wrapper for RetryerV2 type
  321. type _github_com_aws_aws_sdk_go_v2_aws_RetryerV2 struct {
  322. IValue interface{}
  323. WGetAttemptToken func(a0 context.Context) (func(error) error, error)
  324. WGetInitialToken func() (releaseToken func(error) error)
  325. WGetRetryToken func(ctx context.Context, opErr error) (releaseToken func(error) error, err error)
  326. WIsErrorRetryable func(a0 error) bool
  327. WMaxAttempts func() int
  328. WRetryDelay func(attempt int, opErr error) (time.Duration, error)
  329. }
  330. func (W _github_com_aws_aws_sdk_go_v2_aws_RetryerV2) GetAttemptToken(a0 context.Context) (func(error) error, error) {
  331. return W.WGetAttemptToken(a0)
  332. }
  333. func (W _github_com_aws_aws_sdk_go_v2_aws_RetryerV2) GetInitialToken() (releaseToken func(error) error) {
  334. return W.WGetInitialToken()
  335. }
  336. func (W _github_com_aws_aws_sdk_go_v2_aws_RetryerV2) GetRetryToken(ctx context.Context, opErr error) (releaseToken func(error) error, err error) {
  337. return W.WGetRetryToken(ctx, opErr)
  338. }
  339. func (W _github_com_aws_aws_sdk_go_v2_aws_RetryerV2) IsErrorRetryable(a0 error) bool {
  340. return W.WIsErrorRetryable(a0)
  341. }
  342. func (W _github_com_aws_aws_sdk_go_v2_aws_RetryerV2) MaxAttempts() int { return W.WMaxAttempts() }
  343. func (W _github_com_aws_aws_sdk_go_v2_aws_RetryerV2) RetryDelay(attempt int, opErr error) (time.Duration, error) {
  344. return W.WRetryDelay(attempt, opErr)
  345. }