AWSLambdaUpdateFunctionCodeRequest Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSLambdaModel.h
AWSLambdaModel.m

  dryRun

Set to true to validate the request parameters and access permissions without modifying the function code.

@property (nonatomic, strong) NSNumber *dryRun

Declared In

AWSLambdaModel.h

  functionName

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.

@property (nonatomic, strong) NSString *functionName

Declared In

AWSLambdaModel.h

  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.

@property (nonatomic, strong) NSNumber *publish

Declared In

AWSLambdaModel.h

  revisionId

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.

@property (nonatomic, strong) NSString *revisionId

Declared In

AWSLambdaModel.h

  s3Bucket

An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.

@property (nonatomic, strong) NSString *s3Bucket

Declared In

AWSLambdaModel.h

  s3Key

The Amazon S3 key of the deployment package.

@property (nonatomic, strong) NSString *s3Key

Declared In

AWSLambdaModel.h

  s3ObjectVersion

For versioned objects, the version of the deployment package object to use.

@property (nonatomic, strong) NSString *s3ObjectVersion

Declared In

AWSLambdaModel.h

  zipFile

The base64-encoded contents of the deployment package. AWS SDK and AWS CLI clients handle the encoding for you.

@property (nonatomic, strong) NSData *zipFile

Declared In

AWSLambdaModel.h