code: func ResourceID(arn string) (string, error) {
  	a, err := Parse(arn)
  	if err != nil {
  		return "", err
  	}
  
  	_, id, err := SplitResource(a.Resource)
  	return id, err
  }
docs: // ResourceID takes an ARN string and returns the resource ID from it.