class Aws::Lambda::Types::UpdateFunctionCodeRequest

@note When making an API call, you may pass UpdateFunctionCodeRequest

data as a hash:

    {
      function_name: "FunctionName", # required
      zip_file: "data",
      s3_bucket: "S3Bucket",
      s3_key: "S3Key",
      s3_object_version: "S3ObjectVersion",
      image_uri: "String",
      publish: false,
      dry_run: false,
      revision_id: "String",
    }

@!attribute [rw] function_name

The name of the Lambda function.

**Name formats**

* **Function name** - `my-function`.

* **Function ARN** -
  `arn:aws:lambda:us-west-2:123456789012:function:my-function`.

* **Partial ARN** - `123456789012:function:my-function`.

The length constraint applies only to the full ARN. If you specify
only the function name, it is limited to 64 characters in length.
@return [String]

@!attribute [rw] zip_file

The base64-encoded contents of the deployment package. Amazon Web
Services SDK and Amazon Web Services CLI clients handle the encoding
for you.
@return [String]

@!attribute [rw] s3_bucket

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.
@return [String]

@!attribute [rw] s3_key

The Amazon S3 key of the deployment package.
@return [String]

@!attribute [rw] s3_object_version

For versioned objects, the version of the deployment package object
to use.
@return [String]

@!attribute [rw] image_uri

URI of a container image in the Amazon ECR registry.
@return [String]

@!attribute [rw] publish

Set to true to publish a new version of the function after updating
the code. This has the same effect as calling PublishVersion
separately.
@return [Boolean]

@!attribute [rw] dry_run

Set to true to validate the request parameters and access
permissions without modifying the function code.
@return [Boolean]

@!attribute [rw] revision_id

Only update the function 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.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCodeRequest AWS API Documentation

Constants

SENSITIVE