{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/PublishVersionRequest", "title": "PublishVersionRequest", "type": "object", "properties": { "CodeSha256": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "Only publish a version if the hash value matches the value that's specified. Use this option to avoid publishing a version if the function code has changed since you last updated it. You can get the hash for the version that you uploaded from the output of UpdateFunctionCode." } ] }, "Description": { "allOf": [ { "$ref": "#/components/schemas/Description" }, { "description": "A description for the version to override the description in the function configuration." } ] }, "RevisionId": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "Only update the function if the revision ID matches the ID that's specified. Use this option to avoid publishing a version if the function configuration has changed since you last updated it." } ] } } }