Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitResource ¶
SplitResource splits the resource components by the ARN resource delimiters.
Types ¶
type AccessPointARN ¶
AccessPointARN provides representation
func ParseAccessPointResource ¶
func ParseAccessPointResource(a arn.ARN, resParts []string) (AccessPointARN, error)
ParseAccessPointResource attempts to parse the ARN's resource as an AccessPoint resource.
func (AccessPointARN) GetARN ¶
func (a AccessPointARN) GetARN() arn.ARN
GetARN returns the base ARN for the Access Point resource
type InvalidARNError ¶
InvalidARNError provides the error for an invalid ARN error.
func (InvalidARNError) Error ¶
func (e InvalidARNError) Error() string
type Resource ¶
Resource provides the interfaces abstracting ARNs of specific resource types.
func ParseResource ¶
func ParseResource(s string, resParser ResourceParser) (resARN Resource, err error)
ParseResource parses an AWS ARN into a typed resource for the S3 API.
Click to show internal directories.
Click to hide internal directories.