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

#include <AddPermissionRequest.h>

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

Public Member Functions

 AddPermissionRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
void AddQueryStringParameters (Aws::Http::URI &uri) 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)
 
AddPermissionRequestWithFunctionName (const Aws::String &value)
 
AddPermissionRequestWithFunctionName (Aws::String &&value)
 
AddPermissionRequestWithFunctionName (const char *value)
 
const Aws::StringGetStatementId () const
 
bool StatementIdHasBeenSet () const
 
void SetStatementId (const Aws::String &value)
 
void SetStatementId (Aws::String &&value)
 
void SetStatementId (const char *value)
 
AddPermissionRequestWithStatementId (const Aws::String &value)
 
AddPermissionRequestWithStatementId (Aws::String &&value)
 
AddPermissionRequestWithStatementId (const char *value)
 
const Aws::StringGetAction () const
 
bool ActionHasBeenSet () const
 
void SetAction (const Aws::String &value)
 
void SetAction (Aws::String &&value)
 
void SetAction (const char *value)
 
AddPermissionRequestWithAction (const Aws::String &value)
 
AddPermissionRequestWithAction (Aws::String &&value)
 
AddPermissionRequestWithAction (const char *value)
 
const Aws::StringGetPrincipal () const
 
bool PrincipalHasBeenSet () const
 
void SetPrincipal (const Aws::String &value)
 
void SetPrincipal (Aws::String &&value)
 
void SetPrincipal (const char *value)
 
AddPermissionRequestWithPrincipal (const Aws::String &value)
 
AddPermissionRequestWithPrincipal (Aws::String &&value)
 
AddPermissionRequestWithPrincipal (const char *value)
 
const Aws::StringGetSourceArn () const
 
bool SourceArnHasBeenSet () const
 
void SetSourceArn (const Aws::String &value)
 
void SetSourceArn (Aws::String &&value)
 
void SetSourceArn (const char *value)
 
AddPermissionRequestWithSourceArn (const Aws::String &value)
 
AddPermissionRequestWithSourceArn (Aws::String &&value)
 
AddPermissionRequestWithSourceArn (const char *value)
 
const Aws::StringGetSourceAccount () const
 
bool SourceAccountHasBeenSet () const
 
void SetSourceAccount (const Aws::String &value)
 
void SetSourceAccount (Aws::String &&value)
 
void SetSourceAccount (const char *value)
 
AddPermissionRequestWithSourceAccount (const Aws::String &value)
 
AddPermissionRequestWithSourceAccount (Aws::String &&value)
 
AddPermissionRequestWithSourceAccount (const char *value)
 
const Aws::StringGetEventSourceToken () const
 
bool EventSourceTokenHasBeenSet () const
 
void SetEventSourceToken (const Aws::String &value)
 
void SetEventSourceToken (Aws::String &&value)
 
void SetEventSourceToken (const char *value)
 
AddPermissionRequestWithEventSourceToken (const Aws::String &value)
 
AddPermissionRequestWithEventSourceToken (Aws::String &&value)
 
AddPermissionRequestWithEventSourceToken (const char *value)
 
const Aws::StringGetQualifier () const
 
bool QualifierHasBeenSet () const
 
void SetQualifier (const Aws::String &value)
 
void SetQualifier (Aws::String &&value)
 
void SetQualifier (const char *value)
 
AddPermissionRequestWithQualifier (const Aws::String &value)
 
AddPermissionRequestWithQualifier (Aws::String &&value)
 
AddPermissionRequestWithQualifier (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)
 
AddPermissionRequestWithRevisionId (const Aws::String &value)
 
AddPermissionRequestWithRevisionId (Aws::String &&value)
 
AddPermissionRequestWithRevisionId (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 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 25 of file AddPermissionRequest.h.

Constructor & Destructor Documentation

◆ AddPermissionRequest()

Aws::Lambda::Model::AddPermissionRequest::AddPermissionRequest ( )

Member Function Documentation

◆ ActionHasBeenSet()

bool Aws::Lambda::Model::AddPermissionRequest::ActionHasBeenSet ( ) const
inline

The action that the principal can use on the function. For example, lambda:InvokeFunction or lambda:GetFunction.

Definition at line 213 of file AddPermissionRequest.h.

◆ AddQueryStringParameters()

void Aws::Lambda::Model::AddPermissionRequest::AddQueryStringParameters ( Aws::Http::URI uri) const
overridevirtual

Do nothing virtual, override this to add query strings to the request

Reimplemented from Aws::AmazonWebServiceRequest.

◆ EventSourceTokenHasBeenSet()

bool Aws::Lambda::Model::AddPermissionRequest::EventSourceTokenHasBeenSet ( ) const
inline

For Alexa Smart Home functions, a token that must be supplied by the invoker.

Definition at line 449 of file AddPermissionRequest.h.

◆ FunctionNameHasBeenSet()

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

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).

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

  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. 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 67 of file AddPermissionRequest.h.

◆ GetAction()

const Aws::String& Aws::Lambda::Model::AddPermissionRequest::GetAction ( ) const
inline

The action that the principal can use on the function. For example, lambda:InvokeFunction or lambda:GetFunction.

Definition at line 207 of file AddPermissionRequest.h.

◆ GetEventSourceToken()

const Aws::String& Aws::Lambda::Model::AddPermissionRequest::GetEventSourceToken ( ) const
inline

For Alexa Smart Home functions, a token that must be supplied by the invoker.

Definition at line 443 of file AddPermissionRequest.h.

◆ GetFunctionName()

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

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).

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

  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. 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 53 of file AddPermissionRequest.h.

◆ GetPrincipal()

const Aws::String& Aws::Lambda::Model::AddPermissionRequest::GetPrincipal ( ) const
inline

The Amazon Web Services service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

Definition at line 257 of file AddPermissionRequest.h.

◆ GetQualifier()

const Aws::String& Aws::Lambda::Model::AddPermissionRequest::GetQualifier ( ) const
inline

Specify a version or alias to add permissions to a published version of the function.

Definition at line 492 of file AddPermissionRequest.h.

◆ GetRevisionId()

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

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

Definition at line 542 of file AddPermissionRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 34 of file AddPermissionRequest.h.

◆ GetSourceAccount()

const Aws::String& Aws::Lambda::Model::AddPermissionRequest::GetSourceAccount ( ) const
inline

For Amazon S3, the ID of the account that owns the resource. Use this together with SourceArn to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.

Definition at line 380 of file AddPermissionRequest.h.

◆ GetSourceArn()

const Aws::String& Aws::Lambda::Model::AddPermissionRequest::GetSourceArn ( ) const
inline

For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Note that Lambda configures the comparison using the StringLike operator.

Definition at line 315 of file AddPermissionRequest.h.

◆ GetStatementId()

const Aws::String& Aws::Lambda::Model::AddPermissionRequest::GetStatementId ( ) const
inline

A statement identifier that differentiates the statement from others in the same policy.

Definition at line 158 of file AddPermissionRequest.h.

◆ PrincipalHasBeenSet()

bool Aws::Lambda::Model::AddPermissionRequest::PrincipalHasBeenSet ( ) const
inline

The Amazon Web Services service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

Definition at line 264 of file AddPermissionRequest.h.

◆ QualifierHasBeenSet()

bool Aws::Lambda::Model::AddPermissionRequest::QualifierHasBeenSet ( ) const
inline

Specify a version or alias to add permissions to a published version of the function.

Definition at line 498 of file AddPermissionRequest.h.

◆ RevisionIdHasBeenSet()

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

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

Definition at line 549 of file AddPermissionRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAction() [1/3]

void Aws::Lambda::Model::AddPermissionRequest::SetAction ( Aws::String &&  value)
inline

The action that the principal can use on the function. For example, lambda:InvokeFunction or lambda:GetFunction.

Definition at line 225 of file AddPermissionRequest.h.

◆ SetAction() [2/3]

void Aws::Lambda::Model::AddPermissionRequest::SetAction ( const Aws::String value)
inline

The action that the principal can use on the function. For example, lambda:InvokeFunction or lambda:GetFunction.

Definition at line 219 of file AddPermissionRequest.h.

◆ SetAction() [3/3]

void Aws::Lambda::Model::AddPermissionRequest::SetAction ( const char *  value)
inline

The action that the principal can use on the function. For example, lambda:InvokeFunction or lambda:GetFunction.

Definition at line 231 of file AddPermissionRequest.h.

◆ SetEventSourceToken() [1/3]

void Aws::Lambda::Model::AddPermissionRequest::SetEventSourceToken ( Aws::String &&  value)
inline

For Alexa Smart Home functions, a token that must be supplied by the invoker.

Definition at line 461 of file AddPermissionRequest.h.

◆ SetEventSourceToken() [2/3]

void Aws::Lambda::Model::AddPermissionRequest::SetEventSourceToken ( const Aws::String value)
inline

For Alexa Smart Home functions, a token that must be supplied by the invoker.

Definition at line 455 of file AddPermissionRequest.h.

◆ SetEventSourceToken() [3/3]

void Aws::Lambda::Model::AddPermissionRequest::SetEventSourceToken ( const char *  value)
inline

For Alexa Smart Home functions, a token that must be supplied by the invoker.

Definition at line 467 of file AddPermissionRequest.h.

◆ SetFunctionName() [1/3]

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

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).

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

  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. 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 95 of file AddPermissionRequest.h.

◆ SetFunctionName() [2/3]

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

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).

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

  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. 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 AddPermissionRequest.h.

◆ SetFunctionName() [3/3]

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

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).

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

  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. 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 109 of file AddPermissionRequest.h.

◆ SetPrincipal() [1/3]

void Aws::Lambda::Model::AddPermissionRequest::SetPrincipal ( Aws::String &&  value)
inline

The Amazon Web Services service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

Definition at line 278 of file AddPermissionRequest.h.

◆ SetPrincipal() [2/3]

void Aws::Lambda::Model::AddPermissionRequest::SetPrincipal ( const Aws::String value)
inline

The Amazon Web Services service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

Definition at line 271 of file AddPermissionRequest.h.

◆ SetPrincipal() [3/3]

void Aws::Lambda::Model::AddPermissionRequest::SetPrincipal ( const char *  value)
inline

The Amazon Web Services service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

Definition at line 285 of file AddPermissionRequest.h.

◆ SetQualifier() [1/3]

void Aws::Lambda::Model::AddPermissionRequest::SetQualifier ( Aws::String &&  value)
inline

Specify a version or alias to add permissions to a published version of the function.

Definition at line 510 of file AddPermissionRequest.h.

◆ SetQualifier() [2/3]

void Aws::Lambda::Model::AddPermissionRequest::SetQualifier ( const Aws::String value)
inline

Specify a version or alias to add permissions to a published version of the function.

Definition at line 504 of file AddPermissionRequest.h.

◆ SetQualifier() [3/3]

void Aws::Lambda::Model::AddPermissionRequest::SetQualifier ( const char *  value)
inline

Specify a version or alias to add permissions to a published version of the function.

Definition at line 516 of file AddPermissionRequest.h.

◆ SetRevisionId() [1/3]

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

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

Definition at line 563 of file AddPermissionRequest.h.

◆ SetRevisionId() [2/3]

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

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

Definition at line 556 of file AddPermissionRequest.h.

◆ SetRevisionId() [3/3]

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

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

Definition at line 570 of file AddPermissionRequest.h.

◆ SetSourceAccount() [1/3]

void Aws::Lambda::Model::AddPermissionRequest::SetSourceAccount ( Aws::String &&  value)
inline

For Amazon S3, the ID of the account that owns the resource. Use this together with SourceArn to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.

Definition at line 404 of file AddPermissionRequest.h.

◆ SetSourceAccount() [2/3]

void Aws::Lambda::Model::AddPermissionRequest::SetSourceAccount ( const Aws::String value)
inline

For Amazon S3, the ID of the account that owns the resource. Use this together with SourceArn to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.

Definition at line 396 of file AddPermissionRequest.h.

◆ SetSourceAccount() [3/3]

void Aws::Lambda::Model::AddPermissionRequest::SetSourceAccount ( const char *  value)
inline

For Amazon S3, the ID of the account that owns the resource. Use this together with SourceArn to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.

Definition at line 412 of file AddPermissionRequest.h.

◆ SetSourceArn() [1/3]

void Aws::Lambda::Model::AddPermissionRequest::SetSourceArn ( Aws::String &&  value)
inline

For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Note that Lambda configures the comparison using the StringLike operator.

Definition at line 339 of file AddPermissionRequest.h.

◆ SetSourceArn() [2/3]

void Aws::Lambda::Model::AddPermissionRequest::SetSourceArn ( const Aws::String value)
inline

For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Note that Lambda configures the comparison using the StringLike operator.

Definition at line 331 of file AddPermissionRequest.h.

◆ SetSourceArn() [3/3]

void Aws::Lambda::Model::AddPermissionRequest::SetSourceArn ( const char *  value)
inline

For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Note that Lambda configures the comparison using the StringLike operator.

Definition at line 347 of file AddPermissionRequest.h.

◆ SetStatementId() [1/3]

void Aws::Lambda::Model::AddPermissionRequest::SetStatementId ( Aws::String &&  value)
inline

A statement identifier that differentiates the statement from others in the same policy.

Definition at line 176 of file AddPermissionRequest.h.

◆ SetStatementId() [2/3]

void Aws::Lambda::Model::AddPermissionRequest::SetStatementId ( const Aws::String value)
inline

A statement identifier that differentiates the statement from others in the same policy.

Definition at line 170 of file AddPermissionRequest.h.

◆ SetStatementId() [3/3]

void Aws::Lambda::Model::AddPermissionRequest::SetStatementId ( const char *  value)
inline

A statement identifier that differentiates the statement from others in the same policy.

Definition at line 182 of file AddPermissionRequest.h.

◆ SourceAccountHasBeenSet()

bool Aws::Lambda::Model::AddPermissionRequest::SourceAccountHasBeenSet ( ) const
inline

For Amazon S3, the ID of the account that owns the resource. Use this together with SourceArn to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.

Definition at line 388 of file AddPermissionRequest.h.

◆ SourceArnHasBeenSet()

bool Aws::Lambda::Model::AddPermissionRequest::SourceArnHasBeenSet ( ) const
inline

For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Note that Lambda configures the comparison using the StringLike operator.

Definition at line 323 of file AddPermissionRequest.h.

◆ StatementIdHasBeenSet()

bool Aws::Lambda::Model::AddPermissionRequest::StatementIdHasBeenSet ( ) const
inline

A statement identifier that differentiates the statement from others in the same policy.

Definition at line 164 of file AddPermissionRequest.h.

◆ WithAction() [1/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithAction ( Aws::String &&  value)
inline

The action that the principal can use on the function. For example, lambda:InvokeFunction or lambda:GetFunction.

Definition at line 243 of file AddPermissionRequest.h.

◆ WithAction() [2/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithAction ( const Aws::String value)
inline

The action that the principal can use on the function. For example, lambda:InvokeFunction or lambda:GetFunction.

Definition at line 237 of file AddPermissionRequest.h.

◆ WithAction() [3/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithAction ( const char *  value)
inline

The action that the principal can use on the function. For example, lambda:InvokeFunction or lambda:GetFunction.

Definition at line 249 of file AddPermissionRequest.h.

◆ WithEventSourceToken() [1/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithEventSourceToken ( Aws::String &&  value)
inline

For Alexa Smart Home functions, a token that must be supplied by the invoker.

Definition at line 479 of file AddPermissionRequest.h.

◆ WithEventSourceToken() [2/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithEventSourceToken ( const Aws::String value)
inline

For Alexa Smart Home functions, a token that must be supplied by the invoker.

Definition at line 473 of file AddPermissionRequest.h.

◆ WithEventSourceToken() [3/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithEventSourceToken ( const char *  value)
inline

For Alexa Smart Home functions, a token that must be supplied by the invoker.

Definition at line 485 of file AddPermissionRequest.h.

◆ WithFunctionName() [1/3]

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

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).

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

  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. 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 137 of file AddPermissionRequest.h.

◆ WithFunctionName() [2/3]

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

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).

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

  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. 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 123 of file AddPermissionRequest.h.

◆ WithFunctionName() [3/3]

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

The name of the Lambda function, version, or alias.

Name formats

  • Function name - my-function (name-only), my-function:v1 (with alias).

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

  • Partial ARN - 123456789012:function:my-function.

You can append a version number or alias to any of the formats. 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 151 of file AddPermissionRequest.h.

◆ WithPrincipal() [1/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithPrincipal ( Aws::String &&  value)
inline

The Amazon Web Services service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

Definition at line 299 of file AddPermissionRequest.h.

◆ WithPrincipal() [2/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithPrincipal ( const Aws::String value)
inline

The Amazon Web Services service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

Definition at line 292 of file AddPermissionRequest.h.

◆ WithPrincipal() [3/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithPrincipal ( const char *  value)
inline

The Amazon Web Services service or account that invokes the function. If you specify a service, use SourceArn or SourceAccount to limit who can invoke the function through that service.

Definition at line 306 of file AddPermissionRequest.h.

◆ WithQualifier() [1/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithQualifier ( Aws::String &&  value)
inline

Specify a version or alias to add permissions to a published version of the function.

Definition at line 528 of file AddPermissionRequest.h.

◆ WithQualifier() [2/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithQualifier ( const Aws::String value)
inline

Specify a version or alias to add permissions to a published version of the function.

Definition at line 522 of file AddPermissionRequest.h.

◆ WithQualifier() [3/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithQualifier ( const char *  value)
inline

Specify a version or alias to add permissions to a published version of the function.

Definition at line 534 of file AddPermissionRequest.h.

◆ WithRevisionId() [1/3]

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

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

Definition at line 584 of file AddPermissionRequest.h.

◆ WithRevisionId() [2/3]

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

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

Definition at line 577 of file AddPermissionRequest.h.

◆ WithRevisionId() [3/3]

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

Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.

Definition at line 591 of file AddPermissionRequest.h.

◆ WithSourceAccount() [1/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithSourceAccount ( Aws::String &&  value)
inline

For Amazon S3, the ID of the account that owns the resource. Use this together with SourceArn to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.

Definition at line 428 of file AddPermissionRequest.h.

◆ WithSourceAccount() [2/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithSourceAccount ( const Aws::String value)
inline

For Amazon S3, the ID of the account that owns the resource. Use this together with SourceArn to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.

Definition at line 420 of file AddPermissionRequest.h.

◆ WithSourceAccount() [3/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithSourceAccount ( const char *  value)
inline

For Amazon S3, the ID of the account that owns the resource. Use this together with SourceArn to ensure that the resource is owned by the specified account. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.

Definition at line 436 of file AddPermissionRequest.h.

◆ WithSourceArn() [1/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithSourceArn ( Aws::String &&  value)
inline

For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Note that Lambda configures the comparison using the StringLike operator.

Definition at line 363 of file AddPermissionRequest.h.

◆ WithSourceArn() [2/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithSourceArn ( const Aws::String value)
inline

For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Note that Lambda configures the comparison using the StringLike operator.

Definition at line 355 of file AddPermissionRequest.h.

◆ WithSourceArn() [3/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithSourceArn ( const char *  value)
inline

For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.

Note that Lambda configures the comparison using the StringLike operator.

Definition at line 371 of file AddPermissionRequest.h.

◆ WithStatementId() [1/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithStatementId ( Aws::String &&  value)
inline

A statement identifier that differentiates the statement from others in the same policy.

Definition at line 194 of file AddPermissionRequest.h.

◆ WithStatementId() [2/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithStatementId ( const Aws::String value)
inline

A statement identifier that differentiates the statement from others in the same policy.

Definition at line 188 of file AddPermissionRequest.h.

◆ WithStatementId() [3/3]

AddPermissionRequest& Aws::Lambda::Model::AddPermissionRequest::WithStatementId ( const char *  value)
inline

A statement identifier that differentiates the statement from others in the same policy.

Definition at line 200 of file AddPermissionRequest.h.


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