Sha256: 550691f40c1dd8774cf119449af74dc7ecc69cd1fbc956ebc16ecc6a396e48e7
Contents?: true
Size: 384 Bytes
Versions: 16
Compression:
Stored size: 384 Bytes
Contents
package manager import ( "fmt" "github.com/aws/aws-sdk-go-v2/aws/arn" ) func validateSupportedARNType(bucket string) error { if !arn.IsARN(bucket) { return nil } parsedARN, err := arn.Parse(bucket) if err != nil { return err } if parsedARN.Service == "s3-object-lambda" { return fmt.Errorf("manager does not support s3-object-lambda service ARNs") } return nil }
Version data entries
16 entries across 16 versions & 1 rubygems