Versions in this module Expand all Collapse all v0 v0.3.0 Aug 24, 2026 Changes in this version + const CodeResourceNotFoundError + const CodeThrottlingError + const CodeUnsupportedOperation + const CodeValidationError + func HasCode(err error, code string) bool + func JoinIdentifier(parts ...string) string + type APIError struct + Code string + Message string + Op string + StatusCode int + func (e *APIError) Error() string + type ARN struct + Account string + Partition string + Region string + ResourceID string + ResourceType string + Service string + func ParseARN(s string) (ARN, bool) + type Client struct + func New(cfg Config) *Client + func NewTagging(cfg Config) *Client + func (c *Client) GetResource(ctx context.Context, typeName, identifier string) (*ResourceDescription, error) + func (c *Client) GetResources(ctx context.Context, resourceTypeFilters []string, tagFilters []TagFilter) ([]TaggedResource, error) + func (c *Client) ListResources(ctx context.Context, typeName string) ([]ResourceDescription, error) + func (c *Client) ListResourcesScoped(ctx context.Context, typeName string, resourceModel map[string]string) ([]ResourceDescription, error) + type Config struct + Credentials aws.CredentialsProvider + Endpoint string + HTTPTimeout time.Duration + MaxAttempts int + Now func() time.Time + Region string + RetryBaseDelay time.Duration + RetryMaxDelay time.Duration + RetrySleep func(ctx context.Context, d time.Duration) error + RoundTripper http.RoundTripper + SignEndpointOverride bool + type ResourceDescription struct + Identifier string + Properties map[string]any + func GetResourceByIdentity(ctx context.Context, c *Client, typeName, identifier string) (*ResourceDescription, error) + type TagFilter struct + Key string + Values []string + type TaggedResource struct + ResourceARN string + Tags map[string]string