AWS SDK for C++  1.9.123
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lambda::Model::UpdateFunctionCodeRequest Class Reference

#include <UpdateFunctionCodeRequest.h>

+ Inheritance diagram for Aws::Lambda::Model::UpdateFunctionCodeRequest:

Public Member Functions

 UpdateFunctionCodeRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetFunctionName () const
 
bool FunctionNameHasBeenSet () const
 
void SetFunctionName (const Aws::String &value)
 
void SetFunctionName (Aws::String &&value)
 
void SetFunctionName (const char *value)
 
UpdateFunctionCodeRequestWithFunctionName (const Aws::String &value)
 
UpdateFunctionCodeRequestWithFunctionName (Aws::String &&value)
 
UpdateFunctionCodeRequestWithFunctionName (const char *value)
 
const Aws::Utils::CryptoBufferGetZipFile () const
 
bool ZipFileHasBeenSet () const
 
void SetZipFile (const Aws::Utils::CryptoBuffer &value)
 
void SetZipFile (Aws::Utils::CryptoBuffer &&value)
 
UpdateFunctionCodeRequestWithZipFile (const Aws::Utils::CryptoBuffer &value)
 
UpdateFunctionCodeRequestWithZipFile (Aws::Utils::CryptoBuffer &&value)
 
const Aws::StringGetS3Bucket () const
 
bool S3BucketHasBeenSet () const
 
void SetS3Bucket (const Aws::String &value)
 
void SetS3Bucket (Aws::String &&value)
 
void SetS3Bucket (const char *value)
 
UpdateFunctionCodeRequestWithS3Bucket (const Aws::String &value)
 
UpdateFunctionCodeRequestWithS3Bucket (Aws::String &&value)
 
UpdateFunctionCodeRequestWithS3Bucket (const char *value)
 
const Aws::StringGetS3Key () const
 
bool S3KeyHasBeenSet () const
 
void SetS3Key (const Aws::String &value)
 
void SetS3Key (Aws::String &&value)
 
void SetS3Key (const char *value)
 
UpdateFunctionCodeRequestWithS3Key (const Aws::String &value)
 
UpdateFunctionCodeRequestWithS3Key (Aws::String &&value)
 
UpdateFunctionCodeRequestWithS3Key (const char *value)
 
const Aws::StringGetS3ObjectVersion () const
 
bool S3ObjectVersionHasBeenSet () const
 
void SetS3ObjectVersion (const Aws::String &value)
 
void SetS3ObjectVersion (Aws::String &&value)
 
void SetS3ObjectVersion (const char *value)
 
UpdateFunctionCodeRequestWithS3ObjectVersion (const Aws::String &value)
 
UpdateFunctionCodeRequestWithS3ObjectVersion (Aws::String &&value)
 
UpdateFunctionCodeRequestWithS3ObjectVersion (const char *value)
 
const Aws::StringGetImageUri () const
 
bool ImageUriHasBeenSet () const
 
void SetImageUri (const Aws::String &value)
 
void SetImageUri (Aws::String &&value)
 
void SetImageUri (const char *value)
 
UpdateFunctionCodeRequestWithImageUri (const Aws::String &value)
 
UpdateFunctionCodeRequestWithImageUri (Aws::String &&value)
 
UpdateFunctionCodeRequestWithImageUri (const char *value)
 
bool GetPublish () const
 
bool PublishHasBeenSet () const
 
void SetPublish (bool value)
 
UpdateFunctionCodeRequestWithPublish (bool value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
UpdateFunctionCodeRequestWithDryRun (bool value)
 
const Aws::StringGetRevisionId () const
 
bool RevisionIdHasBeenSet () const
 
void SetRevisionId (const Aws::String &value)
 
void SetRevisionId (Aws::String &&value)
 
void SetRevisionId (const char *value)
 
UpdateFunctionCodeRequestWithRevisionId (const Aws::String &value)
 
UpdateFunctionCodeRequestWithRevisionId (Aws::String &&value)
 
UpdateFunctionCodeRequestWithRevisionId (const char *value)
 
const Aws::Vector< Architecture > & GetArchitectures () const
 
bool ArchitecturesHasBeenSet () const
 
void SetArchitectures (const Aws::Vector< Architecture > &value)
 
void SetArchitectures (Aws::Vector< Architecture > &&value)
 
UpdateFunctionCodeRequestWithArchitectures (const Aws::Vector< Architecture > &value)
 
UpdateFunctionCodeRequestWithArchitectures (Aws::Vector< Architecture > &&value)
 
UpdateFunctionCodeRequestAddArchitectures (const Architecture &value)
 
UpdateFunctionCodeRequestAddArchitectures (Architecture &&value)
 
- Public Member Functions inherited from Aws::Lambda::LambdaRequest
virtual ~LambdaRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::Lambda::LambdaRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 24 of file UpdateFunctionCodeRequest.h.

Constructor & Destructor Documentation

◆ UpdateFunctionCodeRequest()

Aws::Lambda::Model::UpdateFunctionCodeRequest::UpdateFunctionCodeRequest ( )

Member Function Documentation

◆ AddArchitectures() [1/2]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::AddArchitectures ( Architecture &&  value)
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 513 of file UpdateFunctionCodeRequest.h.

◆ AddArchitectures() [2/2]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::AddArchitectures ( const Architecture value)
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 506 of file UpdateFunctionCodeRequest.h.

◆ ArchitecturesHasBeenSet()

bool Aws::Lambda::Model::UpdateFunctionCodeRequest::ArchitecturesHasBeenSet ( ) const
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 471 of file UpdateFunctionCodeRequest.h.

◆ DryRunHasBeenSet()

bool Aws::Lambda::Model::UpdateFunctionCodeRequest::DryRunHasBeenSet ( ) const
inline

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

Definition at line 387 of file UpdateFunctionCodeRequest.h.

◆ FunctionNameHasBeenSet()

bool Aws::Lambda::Model::UpdateFunctionCodeRequest::FunctionNameHasBeenSet ( ) const
inline

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.

Definition at line 60 of file UpdateFunctionCodeRequest.h.

◆ GetArchitectures()

const Aws::Vector<Architecture>& Aws::Lambda::Model::UpdateFunctionCodeRequest::GetArchitectures ( ) const
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 464 of file UpdateFunctionCodeRequest.h.

◆ GetDryRun()

bool Aws::Lambda::Model::UpdateFunctionCodeRequest::GetDryRun ( ) const
inline

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

Definition at line 381 of file UpdateFunctionCodeRequest.h.

◆ GetFunctionName()

const Aws::String& Aws::Lambda::Model::UpdateFunctionCodeRequest::GetFunctionName ( ) const
inline

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.

Definition at line 48 of file UpdateFunctionCodeRequest.h.

◆ GetImageUri()

const Aws::String& Aws::Lambda::Model::UpdateFunctionCodeRequest::GetImageUri ( ) const
inline

URI of a container image in the Amazon ECR registry.

Definition at line 314 of file UpdateFunctionCodeRequest.h.

◆ GetPublish()

bool Aws::Lambda::Model::UpdateFunctionCodeRequest::GetPublish ( ) const
inline

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

Definition at line 356 of file UpdateFunctionCodeRequest.h.

◆ GetRevisionId()

const Aws::String& Aws::Lambda::Model::UpdateFunctionCodeRequest::GetRevisionId ( ) const
inline

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.

Definition at line 407 of file UpdateFunctionCodeRequest.h.

◆ GetS3Bucket()

const Aws::String& Aws::Lambda::Model::UpdateFunctionCodeRequest::GetS3Bucket ( ) const
inline

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.

Definition at line 176 of file UpdateFunctionCodeRequest.h.

◆ GetS3Key()

const Aws::String& Aws::Lambda::Model::UpdateFunctionCodeRequest::GetS3Key ( ) const
inline

The Amazon S3 key of the deployment package.

Definition at line 224 of file UpdateFunctionCodeRequest.h.

◆ GetS3ObjectVersion()

const Aws::String& Aws::Lambda::Model::UpdateFunctionCodeRequest::GetS3ObjectVersion ( ) const
inline

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

Definition at line 266 of file UpdateFunctionCodeRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Lambda::Model::UpdateFunctionCodeRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file UpdateFunctionCodeRequest.h.

◆ GetZipFile()

const Aws::Utils::CryptoBuffer& Aws::Lambda::Model::UpdateFunctionCodeRequest::GetZipFile ( ) const
inline

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

Definition at line 139 of file UpdateFunctionCodeRequest.h.

◆ ImageUriHasBeenSet()

bool Aws::Lambda::Model::UpdateFunctionCodeRequest::ImageUriHasBeenSet ( ) const
inline

URI of a container image in the Amazon ECR registry.

Definition at line 319 of file UpdateFunctionCodeRequest.h.

◆ PublishHasBeenSet()

bool Aws::Lambda::Model::UpdateFunctionCodeRequest::PublishHasBeenSet ( ) const
inline

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

Definition at line 362 of file UpdateFunctionCodeRequest.h.

◆ RevisionIdHasBeenSet()

bool Aws::Lambda::Model::UpdateFunctionCodeRequest::RevisionIdHasBeenSet ( ) const
inline

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.

Definition at line 414 of file UpdateFunctionCodeRequest.h.

◆ S3BucketHasBeenSet()

bool Aws::Lambda::Model::UpdateFunctionCodeRequest::S3BucketHasBeenSet ( ) const
inline

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.

Definition at line 182 of file UpdateFunctionCodeRequest.h.

◆ S3KeyHasBeenSet()

bool Aws::Lambda::Model::UpdateFunctionCodeRequest::S3KeyHasBeenSet ( ) const
inline

The Amazon S3 key of the deployment package.

Definition at line 229 of file UpdateFunctionCodeRequest.h.

◆ S3ObjectVersionHasBeenSet()

bool Aws::Lambda::Model::UpdateFunctionCodeRequest::S3ObjectVersionHasBeenSet ( ) const
inline

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

Definition at line 272 of file UpdateFunctionCodeRequest.h.

◆ SerializePayload()

Aws::String Aws::Lambda::Model::UpdateFunctionCodeRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetArchitectures() [1/2]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetArchitectures ( Aws::Vector< Architecture > &&  value)
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 485 of file UpdateFunctionCodeRequest.h.

◆ SetArchitectures() [2/2]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetArchitectures ( const Aws::Vector< Architecture > &  value)
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 478 of file UpdateFunctionCodeRequest.h.

◆ SetDryRun()

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetDryRun ( bool  value)
inline

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

Definition at line 393 of file UpdateFunctionCodeRequest.h.

◆ SetFunctionName() [1/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetFunctionName ( Aws::String &&  value)
inline

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.

Definition at line 84 of file UpdateFunctionCodeRequest.h.

◆ SetFunctionName() [2/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetFunctionName ( const Aws::String value)
inline

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.

Definition at line 72 of file UpdateFunctionCodeRequest.h.

◆ SetFunctionName() [3/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetFunctionName ( const char *  value)
inline

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.

Definition at line 96 of file UpdateFunctionCodeRequest.h.

◆ SetImageUri() [1/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetImageUri ( Aws::String &&  value)
inline

URI of a container image in the Amazon ECR registry.

Definition at line 329 of file UpdateFunctionCodeRequest.h.

◆ SetImageUri() [2/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetImageUri ( const Aws::String value)
inline

URI of a container image in the Amazon ECR registry.

Definition at line 324 of file UpdateFunctionCodeRequest.h.

◆ SetImageUri() [3/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetImageUri ( const char *  value)
inline

URI of a container image in the Amazon ECR registry.

Definition at line 334 of file UpdateFunctionCodeRequest.h.

◆ SetPublish()

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetPublish ( bool  value)
inline

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

Definition at line 368 of file UpdateFunctionCodeRequest.h.

◆ SetRevisionId() [1/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetRevisionId ( Aws::String &&  value)
inline

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.

Definition at line 428 of file UpdateFunctionCodeRequest.h.

◆ SetRevisionId() [2/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetRevisionId ( const Aws::String value)
inline

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.

Definition at line 421 of file UpdateFunctionCodeRequest.h.

◆ SetRevisionId() [3/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetRevisionId ( const char *  value)
inline

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.

Definition at line 435 of file UpdateFunctionCodeRequest.h.

◆ SetS3Bucket() [1/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetS3Bucket ( Aws::String &&  value)
inline

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.

Definition at line 194 of file UpdateFunctionCodeRequest.h.

◆ SetS3Bucket() [2/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetS3Bucket ( const Aws::String value)
inline

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.

Definition at line 188 of file UpdateFunctionCodeRequest.h.

◆ SetS3Bucket() [3/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetS3Bucket ( const char *  value)
inline

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.

Definition at line 200 of file UpdateFunctionCodeRequest.h.

◆ SetS3Key() [1/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetS3Key ( Aws::String &&  value)
inline

The Amazon S3 key of the deployment package.

Definition at line 239 of file UpdateFunctionCodeRequest.h.

◆ SetS3Key() [2/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetS3Key ( const Aws::String value)
inline

The Amazon S3 key of the deployment package.

Definition at line 234 of file UpdateFunctionCodeRequest.h.

◆ SetS3Key() [3/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetS3Key ( const char *  value)
inline

The Amazon S3 key of the deployment package.

Definition at line 244 of file UpdateFunctionCodeRequest.h.

◆ SetS3ObjectVersion() [1/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetS3ObjectVersion ( Aws::String &&  value)
inline

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

Definition at line 284 of file UpdateFunctionCodeRequest.h.

◆ SetS3ObjectVersion() [2/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetS3ObjectVersion ( const Aws::String value)
inline

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

Definition at line 278 of file UpdateFunctionCodeRequest.h.

◆ SetS3ObjectVersion() [3/3]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetS3ObjectVersion ( const char *  value)
inline

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

Definition at line 290 of file UpdateFunctionCodeRequest.h.

◆ SetZipFile() [1/2]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetZipFile ( Aws::Utils::CryptoBuffer &&  value)
inline

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

Definition at line 157 of file UpdateFunctionCodeRequest.h.

◆ SetZipFile() [2/2]

void Aws::Lambda::Model::UpdateFunctionCodeRequest::SetZipFile ( const Aws::Utils::CryptoBuffer value)
inline

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

Definition at line 151 of file UpdateFunctionCodeRequest.h.

◆ WithArchitectures() [1/2]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithArchitectures ( Aws::Vector< Architecture > &&  value)
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 499 of file UpdateFunctionCodeRequest.h.

◆ WithArchitectures() [2/2]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithArchitectures ( const Aws::Vector< Architecture > &  value)
inline

The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.

Definition at line 492 of file UpdateFunctionCodeRequest.h.

◆ WithDryRun()

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithDryRun ( bool  value)
inline

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

Definition at line 399 of file UpdateFunctionCodeRequest.h.

◆ WithFunctionName() [1/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithFunctionName ( Aws::String &&  value)
inline

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.

Definition at line 120 of file UpdateFunctionCodeRequest.h.

◆ WithFunctionName() [2/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithFunctionName ( const Aws::String value)
inline

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.

Definition at line 108 of file UpdateFunctionCodeRequest.h.

◆ WithFunctionName() [3/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithFunctionName ( const char *  value)
inline

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.

Definition at line 132 of file UpdateFunctionCodeRequest.h.

◆ WithImageUri() [1/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithImageUri ( Aws::String &&  value)
inline

URI of a container image in the Amazon ECR registry.

Definition at line 344 of file UpdateFunctionCodeRequest.h.

◆ WithImageUri() [2/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithImageUri ( const Aws::String value)
inline

URI of a container image in the Amazon ECR registry.

Definition at line 339 of file UpdateFunctionCodeRequest.h.

◆ WithImageUri() [3/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithImageUri ( const char *  value)
inline

URI of a container image in the Amazon ECR registry.

Definition at line 349 of file UpdateFunctionCodeRequest.h.

◆ WithPublish()

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithPublish ( bool  value)
inline

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

Definition at line 374 of file UpdateFunctionCodeRequest.h.

◆ WithRevisionId() [1/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithRevisionId ( Aws::String &&  value)
inline

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.

Definition at line 449 of file UpdateFunctionCodeRequest.h.

◆ WithRevisionId() [2/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithRevisionId ( const Aws::String value)
inline

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.

Definition at line 442 of file UpdateFunctionCodeRequest.h.

◆ WithRevisionId() [3/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithRevisionId ( const char *  value)
inline

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.

Definition at line 456 of file UpdateFunctionCodeRequest.h.

◆ WithS3Bucket() [1/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithS3Bucket ( Aws::String &&  value)
inline

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.

Definition at line 212 of file UpdateFunctionCodeRequest.h.

◆ WithS3Bucket() [2/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithS3Bucket ( const Aws::String value)
inline

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.

Definition at line 206 of file UpdateFunctionCodeRequest.h.

◆ WithS3Bucket() [3/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithS3Bucket ( const char *  value)
inline

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.

Definition at line 218 of file UpdateFunctionCodeRequest.h.

◆ WithS3Key() [1/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithS3Key ( Aws::String &&  value)
inline

The Amazon S3 key of the deployment package.

Definition at line 254 of file UpdateFunctionCodeRequest.h.

◆ WithS3Key() [2/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithS3Key ( const Aws::String value)
inline

The Amazon S3 key of the deployment package.

Definition at line 249 of file UpdateFunctionCodeRequest.h.

◆ WithS3Key() [3/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithS3Key ( const char *  value)
inline

The Amazon S3 key of the deployment package.

Definition at line 259 of file UpdateFunctionCodeRequest.h.

◆ WithS3ObjectVersion() [1/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithS3ObjectVersion ( Aws::String &&  value)
inline

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

Definition at line 302 of file UpdateFunctionCodeRequest.h.

◆ WithS3ObjectVersion() [2/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithS3ObjectVersion ( const Aws::String value)
inline

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

Definition at line 296 of file UpdateFunctionCodeRequest.h.

◆ WithS3ObjectVersion() [3/3]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithS3ObjectVersion ( const char *  value)
inline

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

Definition at line 308 of file UpdateFunctionCodeRequest.h.

◆ WithZipFile() [1/2]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithZipFile ( Aws::Utils::CryptoBuffer &&  value)
inline

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

Definition at line 169 of file UpdateFunctionCodeRequest.h.

◆ WithZipFile() [2/2]

UpdateFunctionCodeRequest& Aws::Lambda::Model::UpdateFunctionCodeRequest::WithZipFile ( const Aws::Utils::CryptoBuffer value)
inline

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

Definition at line 163 of file UpdateFunctionCodeRequest.h.

◆ ZipFileHasBeenSet()

bool Aws::Lambda::Model::UpdateFunctionCodeRequest::ZipFileHasBeenSet ( ) const
inline

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

Definition at line 145 of file UpdateFunctionCodeRequest.h.


The documentation for this class was generated from the following file: