Documentation
¶
Overview ¶
Package awswire is a small AWS SDK-shaped client over services/stepfunctions/sdkwire: typed requests go out through the Smithy protocol codecs with SigV4 signing and the SDK's standard retries, so callers need no generated service client. The per-service packages under this directory are written by cmd/ccwiregen.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNoEndpoint = errors.New("no endpoint configured")
ErrNoEndpoint is returned when a service has no endpoint rules here and no base endpoint is configured.
var ErrNoMorePages = errors.New("no more pages available")
ErrNoMorePages is returned by NextPage once the last page was read.
Functions ¶
func FIPSRegion ¶
FIPSRegion strips the legacy fips marker from region, as the SDK does when it resolves the region.
Types ¶
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
Core sends the operations of one service.
type Options ¶
type Options struct {
BaseEndpoint *string
Credentials aws.CredentialsProvider
HTTPClient aws.HTTPClient
Retryer func() aws.Retryer
Region string
}
Options are the per-client settings a caller may override after the config is applied.
type Paginator ¶
type Paginator[In, Out any] struct { // contains filtered or unexported fields }
Paginator walks a list operation by its continuation token, as the SDK paginators do.
func NewPaginator ¶
func NewPaginator[In, Out any]( in *In, call func(context.Context, *In) (*Out, error), setToken func(*In, *string), nextToken func(*Out) *string, ) *Paginator[In, Out]
NewPaginator pages call over in; setToken stores the continuation token in a request copy and nextToken reads it from a response.
func (*Paginator[In, Out]) HasMorePages ¶
HasMorePages reports whether NextPage has another page to return.