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

#include <InvokeResult.h>

Public Member Functions

 InvokeResult ()
 
 InvokeResult (InvokeResult &&)
 
InvokeResultoperator= (InvokeResult &&)
 
 InvokeResult (const InvokeResult &)=delete
 
InvokeResultoperator= (const InvokeResult &)=delete
 
 InvokeResult (Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
 
InvokeResultoperator= (Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
 
int GetStatusCode () const
 
void SetStatusCode (int value)
 
InvokeResultWithStatusCode (int value)
 
const Aws::StringGetFunctionError () const
 
void SetFunctionError (const Aws::String &value)
 
void SetFunctionError (Aws::String &&value)
 
void SetFunctionError (const char *value)
 
InvokeResultWithFunctionError (const Aws::String &value)
 
InvokeResultWithFunctionError (Aws::String &&value)
 
InvokeResultWithFunctionError (const char *value)
 
const Aws::StringGetLogResult () const
 
void SetLogResult (const Aws::String &value)
 
void SetLogResult (Aws::String &&value)
 
void SetLogResult (const char *value)
 
InvokeResultWithLogResult (const Aws::String &value)
 
InvokeResultWithLogResult (Aws::String &&value)
 
InvokeResultWithLogResult (const char *value)
 
Aws::IOStreamGetPayload ()
 
void ReplaceBody (Aws::IOStream *body)
 
const Aws::StringGetExecutedVersion () const
 
void SetExecutedVersion (const Aws::String &value)
 
void SetExecutedVersion (Aws::String &&value)
 
void SetExecutedVersion (const char *value)
 
InvokeResultWithExecutedVersion (const Aws::String &value)
 
InvokeResultWithExecutedVersion (Aws::String &&value)
 
InvokeResultWithExecutedVersion (const char *value)
 

Detailed Description

Definition at line 22 of file InvokeResult.h.

Constructor & Destructor Documentation

◆ InvokeResult() [1/4]

Aws::Lambda::Model::InvokeResult::InvokeResult ( )

◆ InvokeResult() [2/4]

Aws::Lambda::Model::InvokeResult::InvokeResult ( InvokeResult &&  )

◆ InvokeResult() [3/4]

Aws::Lambda::Model::InvokeResult::InvokeResult ( const InvokeResult )
delete

◆ InvokeResult() [4/4]

Aws::Lambda::Model::InvokeResult::InvokeResult ( Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&  result)

Member Function Documentation

◆ GetExecutedVersion()

const Aws::String& Aws::Lambda::Model::InvokeResult::GetExecutedVersion ( ) const
inline

The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.

Definition at line 159 of file InvokeResult.h.

◆ GetFunctionError()

const Aws::String& Aws::Lambda::Model::InvokeResult::GetFunctionError ( ) const
inline

If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

Definition at line 69 of file InvokeResult.h.

◆ GetLogResult()

const Aws::String& Aws::Lambda::Model::InvokeResult::GetLogResult ( ) const
inline

The last 4 KB of the execution log, which is base64 encoded.

Definition at line 111 of file InvokeResult.h.

◆ GetPayload()

Aws::IOStream& Aws::Lambda::Model::InvokeResult::GetPayload ( )
inline

The response from the function, or an error object.

Definition at line 147 of file InvokeResult.h.

◆ GetStatusCode()

int Aws::Lambda::Model::InvokeResult::GetStatusCode ( ) const
inline

The HTTP status code is in the 200 range for a successful request. For the RequestResponse invocation type, this status code is 200. For the Event invocation type, this status code is 202. For the DryRun invocation type, the status code is 204.

Definition at line 46 of file InvokeResult.h.

◆ operator=() [1/3]

InvokeResult& Aws::Lambda::Model::InvokeResult::operator= ( Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&  result)

◆ operator=() [2/3]

InvokeResult& Aws::Lambda::Model::InvokeResult::operator= ( const InvokeResult )
delete

◆ operator=() [3/3]

InvokeResult& Aws::Lambda::Model::InvokeResult::operator= ( InvokeResult &&  )

◆ ReplaceBody()

void Aws::Lambda::Model::InvokeResult::ReplaceBody ( Aws::IOStream body)
inline

The response from the function, or an error object.

Definition at line 152 of file InvokeResult.h.

◆ SetExecutedVersion() [1/3]

void Aws::Lambda::Model::InvokeResult::SetExecutedVersion ( Aws::String &&  value)
inline

The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.

Definition at line 171 of file InvokeResult.h.

◆ SetExecutedVersion() [2/3]

void Aws::Lambda::Model::InvokeResult::SetExecutedVersion ( const Aws::String value)
inline

The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.

Definition at line 165 of file InvokeResult.h.

◆ SetExecutedVersion() [3/3]

void Aws::Lambda::Model::InvokeResult::SetExecutedVersion ( const char *  value)
inline

The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.

Definition at line 177 of file InvokeResult.h.

◆ SetFunctionError() [1/3]

void Aws::Lambda::Model::InvokeResult::SetFunctionError ( Aws::String &&  value)
inline

If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

Definition at line 81 of file InvokeResult.h.

◆ SetFunctionError() [2/3]

void Aws::Lambda::Model::InvokeResult::SetFunctionError ( const Aws::String value)
inline

If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

Definition at line 75 of file InvokeResult.h.

◆ SetFunctionError() [3/3]

void Aws::Lambda::Model::InvokeResult::SetFunctionError ( const char *  value)
inline

If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

Definition at line 87 of file InvokeResult.h.

◆ SetLogResult() [1/3]

void Aws::Lambda::Model::InvokeResult::SetLogResult ( Aws::String &&  value)
inline

The last 4 KB of the execution log, which is base64 encoded.

Definition at line 121 of file InvokeResult.h.

◆ SetLogResult() [2/3]

void Aws::Lambda::Model::InvokeResult::SetLogResult ( const Aws::String value)
inline

The last 4 KB of the execution log, which is base64 encoded.

Definition at line 116 of file InvokeResult.h.

◆ SetLogResult() [3/3]

void Aws::Lambda::Model::InvokeResult::SetLogResult ( const char *  value)
inline

The last 4 KB of the execution log, which is base64 encoded.

Definition at line 126 of file InvokeResult.h.

◆ SetStatusCode()

void Aws::Lambda::Model::InvokeResult::SetStatusCode ( int  value)
inline

The HTTP status code is in the 200 range for a successful request. For the RequestResponse invocation type, this status code is 200. For the Event invocation type, this status code is 202. For the DryRun invocation type, the status code is 204.

Definition at line 54 of file InvokeResult.h.

◆ WithExecutedVersion() [1/3]

InvokeResult& Aws::Lambda::Model::InvokeResult::WithExecutedVersion ( Aws::String &&  value)
inline

The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.

Definition at line 189 of file InvokeResult.h.

◆ WithExecutedVersion() [2/3]

InvokeResult& Aws::Lambda::Model::InvokeResult::WithExecutedVersion ( const Aws::String value)
inline

The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.

Definition at line 183 of file InvokeResult.h.

◆ WithExecutedVersion() [3/3]

InvokeResult& Aws::Lambda::Model::InvokeResult::WithExecutedVersion ( const char *  value)
inline

The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.

Definition at line 195 of file InvokeResult.h.

◆ WithFunctionError() [1/3]

InvokeResult& Aws::Lambda::Model::InvokeResult::WithFunctionError ( Aws::String &&  value)
inline

If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

Definition at line 99 of file InvokeResult.h.

◆ WithFunctionError() [2/3]

InvokeResult& Aws::Lambda::Model::InvokeResult::WithFunctionError ( const Aws::String value)
inline

If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

Definition at line 93 of file InvokeResult.h.

◆ WithFunctionError() [3/3]

InvokeResult& Aws::Lambda::Model::InvokeResult::WithFunctionError ( const char *  value)
inline

If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

Definition at line 105 of file InvokeResult.h.

◆ WithLogResult() [1/3]

InvokeResult& Aws::Lambda::Model::InvokeResult::WithLogResult ( Aws::String &&  value)
inline

The last 4 KB of the execution log, which is base64 encoded.

Definition at line 136 of file InvokeResult.h.

◆ WithLogResult() [2/3]

InvokeResult& Aws::Lambda::Model::InvokeResult::WithLogResult ( const Aws::String value)
inline

The last 4 KB of the execution log, which is base64 encoded.

Definition at line 131 of file InvokeResult.h.

◆ WithLogResult() [3/3]

InvokeResult& Aws::Lambda::Model::InvokeResult::WithLogResult ( const char *  value)
inline

The last 4 KB of the execution log, which is base64 encoded.

Definition at line 141 of file InvokeResult.h.

◆ WithStatusCode()

InvokeResult& Aws::Lambda::Model::InvokeResult::WithStatusCode ( int  value)
inline

The HTTP status code is in the 200 range for a successful request. For the RequestResponse invocation type, this status code is 200. For the Event invocation type, this status code is 202. For the DryRun invocation type, the status code is 204.

Definition at line 62 of file InvokeResult.h.


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