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

#include <PublishVersionRequest.h>

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

Public Member Functions

 PublishVersionRequest ()
 
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)
 
PublishVersionRequestWithFunctionName (const Aws::String &value)
 
PublishVersionRequestWithFunctionName (Aws::String &&value)
 
PublishVersionRequestWithFunctionName (const char *value)
 
const Aws::StringGetCodeSha256 () const
 
bool CodeSha256HasBeenSet () const
 
void SetCodeSha256 (const Aws::String &value)
 
void SetCodeSha256 (Aws::String &&value)
 
void SetCodeSha256 (const char *value)
 
PublishVersionRequestWithCodeSha256 (const Aws::String &value)
 
PublishVersionRequestWithCodeSha256 (Aws::String &&value)
 
PublishVersionRequestWithCodeSha256 (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
PublishVersionRequestWithDescription (const Aws::String &value)
 
PublishVersionRequestWithDescription (Aws::String &&value)
 
PublishVersionRequestWithDescription (const char *value)
 
const Aws::StringGetRevisionId () const
 
bool RevisionIdHasBeenSet () const
 
void SetRevisionId (const Aws::String &value)
 
void SetRevisionId (Aws::String &&value)
 
void SetRevisionId (const char *value)
 
PublishVersionRequestWithRevisionId (const Aws::String &value)
 
PublishVersionRequestWithRevisionId (Aws::String &&value)
 
PublishVersionRequestWithRevisionId (const char *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 21 of file PublishVersionRequest.h.

Constructor & Destructor Documentation

◆ PublishVersionRequest()

Aws::Lambda::Model::PublishVersionRequest::PublishVersionRequest ( )

Member Function Documentation

◆ CodeSha256HasBeenSet()

bool Aws::Lambda::Model::PublishVersionRequest::CodeSha256HasBeenSet ( ) const
inline

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.

Definition at line 146 of file PublishVersionRequest.h.

◆ DescriptionHasBeenSet()

bool Aws::Lambda::Model::PublishVersionRequest::DescriptionHasBeenSet ( ) const
inline

A description for the version to override the description in the function configuration.

Definition at line 207 of file PublishVersionRequest.h.

◆ FunctionNameHasBeenSet()

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

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Partial ARN - 123456789012:function:MyFunction.

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 57 of file PublishVersionRequest.h.

◆ GetCodeSha256()

const Aws::String& Aws::Lambda::Model::PublishVersionRequest::GetCodeSha256 ( ) const
inline

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.

Definition at line 138 of file PublishVersionRequest.h.

◆ GetDescription()

const Aws::String& Aws::Lambda::Model::PublishVersionRequest::GetDescription ( ) const
inline

A description for the version to override the description in the function configuration.

Definition at line 201 of file PublishVersionRequest.h.

◆ GetFunctionName()

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

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Partial ARN - 123456789012:function:MyFunction.

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 45 of file PublishVersionRequest.h.

◆ GetRevisionId()

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

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.

Definition at line 251 of file PublishVersionRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 30 of file PublishVersionRequest.h.

◆ RevisionIdHasBeenSet()

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

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.

Definition at line 258 of file PublishVersionRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCodeSha256() [1/3]

void Aws::Lambda::Model::PublishVersionRequest::SetCodeSha256 ( Aws::String &&  value)
inline

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.

Definition at line 162 of file PublishVersionRequest.h.

◆ SetCodeSha256() [2/3]

void Aws::Lambda::Model::PublishVersionRequest::SetCodeSha256 ( const Aws::String value)
inline

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.

Definition at line 154 of file PublishVersionRequest.h.

◆ SetCodeSha256() [3/3]

void Aws::Lambda::Model::PublishVersionRequest::SetCodeSha256 ( const char *  value)
inline

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.

Definition at line 170 of file PublishVersionRequest.h.

◆ SetDescription() [1/3]

void Aws::Lambda::Model::PublishVersionRequest::SetDescription ( Aws::String &&  value)
inline

A description for the version to override the description in the function configuration.

Definition at line 219 of file PublishVersionRequest.h.

◆ SetDescription() [2/3]

void Aws::Lambda::Model::PublishVersionRequest::SetDescription ( const Aws::String value)
inline

A description for the version to override the description in the function configuration.

Definition at line 213 of file PublishVersionRequest.h.

◆ SetDescription() [3/3]

void Aws::Lambda::Model::PublishVersionRequest::SetDescription ( const char *  value)
inline

A description for the version to override the description in the function configuration.

Definition at line 225 of file PublishVersionRequest.h.

◆ SetFunctionName() [1/3]

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

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Partial ARN - 123456789012:function:MyFunction.

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 81 of file PublishVersionRequest.h.

◆ SetFunctionName() [2/3]

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

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Partial ARN - 123456789012:function:MyFunction.

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 69 of file PublishVersionRequest.h.

◆ SetFunctionName() [3/3]

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

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Partial ARN - 123456789012:function:MyFunction.

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 93 of file PublishVersionRequest.h.

◆ SetRevisionId() [1/3]

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

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.

Definition at line 272 of file PublishVersionRequest.h.

◆ SetRevisionId() [2/3]

void Aws::Lambda::Model::PublishVersionRequest::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 publishing a version if the function configuration has changed since you last updated it.

Definition at line 265 of file PublishVersionRequest.h.

◆ SetRevisionId() [3/3]

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

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.

Definition at line 279 of file PublishVersionRequest.h.

◆ WithCodeSha256() [1/3]

PublishVersionRequest& Aws::Lambda::Model::PublishVersionRequest::WithCodeSha256 ( Aws::String &&  value)
inline

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.

Definition at line 186 of file PublishVersionRequest.h.

◆ WithCodeSha256() [2/3]

PublishVersionRequest& Aws::Lambda::Model::PublishVersionRequest::WithCodeSha256 ( const Aws::String value)
inline

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.

Definition at line 178 of file PublishVersionRequest.h.

◆ WithCodeSha256() [3/3]

PublishVersionRequest& Aws::Lambda::Model::PublishVersionRequest::WithCodeSha256 ( const char *  value)
inline

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.

Definition at line 194 of file PublishVersionRequest.h.

◆ WithDescription() [1/3]

PublishVersionRequest& Aws::Lambda::Model::PublishVersionRequest::WithDescription ( Aws::String &&  value)
inline

A description for the version to override the description in the function configuration.

Definition at line 237 of file PublishVersionRequest.h.

◆ WithDescription() [2/3]

PublishVersionRequest& Aws::Lambda::Model::PublishVersionRequest::WithDescription ( const Aws::String value)
inline

A description for the version to override the description in the function configuration.

Definition at line 231 of file PublishVersionRequest.h.

◆ WithDescription() [3/3]

PublishVersionRequest& Aws::Lambda::Model::PublishVersionRequest::WithDescription ( const char *  value)
inline

A description for the version to override the description in the function configuration.

Definition at line 243 of file PublishVersionRequest.h.

◆ WithFunctionName() [1/3]

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

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Partial ARN - 123456789012:function:MyFunction.

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 117 of file PublishVersionRequest.h.

◆ WithFunctionName() [2/3]

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

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Partial ARN - 123456789012:function:MyFunction.

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 105 of file PublishVersionRequest.h.

◆ WithFunctionName() [3/3]

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

The name of the Lambda function.

Name formats

  • Function name - MyFunction.

  • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

  • Partial ARN - 123456789012:function:MyFunction.

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 129 of file PublishVersionRequest.h.

◆ WithRevisionId() [1/3]

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

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.

Definition at line 293 of file PublishVersionRequest.h.

◆ WithRevisionId() [2/3]

PublishVersionRequest& Aws::Lambda::Model::PublishVersionRequest::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 publishing a version if the function configuration has changed since you last updated it.

Definition at line 286 of file PublishVersionRequest.h.

◆ WithRevisionId() [3/3]

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

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.

Definition at line 300 of file PublishVersionRequest.h.


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