Properties
| Name | Type | Description |
|---|---|---|
| ZipFile | object | |
| S3Bucket | object | |
| S3Key | object | |
| S3ObjectVersion | object | |
| ImageUri | object | |
| Publish | object | |
| DryRun | object | |
| RevisionId | object | |
| Architectures | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/UpdateFunctionCodeRequest",
"title": "UpdateFunctionCodeRequest",
"type": "object",
"properties": {
"ZipFile": {
"allOf": [
{
"$ref": "#/components/schemas/Blob"
},
{
"description": "The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for you. Use only with a function defined with a .zip file archive deployment package."
}
]
},
"S3Bucket": {
"allOf": [
{
"$ref": "#/components/schemas/S3Bucket"
},
{
"description": "An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account. Use only with a function defined with a .zip file archive deployment package."
}
]
},
"S3Key": {
"allOf": [
{
"$ref": "#/components/schemas/S3Key"
},
{
"description": "The Amazon S3 key of the deployment package. Use only with a function defined with a .zip file archive deployment package."
}
]
},
"S3ObjectVersion": {
"allOf": [
{
"$ref": "#/components/schemas/S3ObjectVersion"
},
{
"description": "For versioned objects, the version of the deployment package object to use."
}
]
},
"ImageUri": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "URI of a container image in the Amazon ECR registry. Do not use for a function defined with a .zip file archive."
}
]
},
"Publish": {
"allOf": [
{
"$ref": "#/components/schemas/Boolean"
},
{
"description": "Set to true to publish a new version of the function after updating the code. This has the same effect as calling <a>PublishVersion</a> separately."
}
]
},
"DryRun": {
"allOf": [
{
"$ref": "#/components/schemas/Boolean"
},
{
"description": "Set to true to validate the request parameters and access permissions without modifying the function code."
}
]
},
"RevisionId": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "Update the function only if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it."
}
]
},
"Architectures": {
"allOf": [
{
"$ref": "#/components/schemas/ArchitecturesList"
},
{
"description": "The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). The default value is <code>x86_64</code>."
}
]
}
}
}