in internal/signer/signer.go [94:101]
func getProfileName(arn arn.ARN) (string, error) {
//resource name will be in format /signing-profiles/ProfileName
profileArnParts := strings.Split(arn.Resource, "/")
if len(profileArnParts) != 3 {
return "", plugin.NewValidationErrorf(errorMsgMalformedSigningProfileFmt, arn)
}
return profileArnParts[2], nil
}