Sanitizes a name to the AgentCore Name charset: alphanumerics with optional single hyphens (no
underscores, no leading/trailing/double hyphens). Follows the API contract, not the docs (which
disagree on underscores/length); inverse of the Runtime sanitizer. Charset only — the length cap
(gateway {1,48}, target {1,100}) is applied by the naming service before this call. resourceKind
labels the resource in the failure error.
Sanitizes a name to the AgentCore
Namecharset: alphanumerics with optional single hyphens (no underscores, no leading/trailing/double hyphens). Follows the API contract, not the docs (which disagree on underscores/length); inverse of the Runtime sanitizer. Charset only — the length cap (gateway {1,48}, target {1,100}) is applied by the naming service before this call.resourceKindlabels the resource in the failure error.