lambda_put_provisioned_concurrency_config: Adds a provisioned concurrency configuration to a function's...

Description Usage Arguments Value Request syntax Examples

View source: R/lambda_operations.R

Description

Adds a provisioned concurrency configuration to a function's alias or version.

Usage

1
2
lambda_put_provisioned_concurrency_config(FunctionName, Qualifier,
  ProvisionedConcurrentExecutions)

Arguments

FunctionName

[required] 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.

Qualifier

[required] The version number or alias name.

ProvisionedConcurrentExecutions

[required] The amount of provisioned concurrency to allocate for the version or alias.

Value

A list with the following syntax:

1
2
3
4
5
6
7
8
list(
  RequestedProvisionedConcurrentExecutions = 123,
  AvailableProvisionedConcurrentExecutions = 123,
  AllocatedProvisionedConcurrentExecutions = 123,
  Status = "IN_PROGRESS"|"READY"|"FAILED",
  StatusReason = "string",
  LastModified = "string"
)

Request syntax

1
2
3
4
5
svc$put_provisioned_concurrency_config(
  FunctionName = "string",
  Qualifier = "string",
  ProvisionedConcurrentExecutions = 123
)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# The following example allocates 100 provisioned concurrency for the BLUE
# alias of the specified function.
svc$put_provisioned_concurrency_config(
  FunctionName = "my-function",
  ProvisionedConcurrentExecutions = 100L,
  Qualifier = "BLUE"
)

## End(Not run)

paws.compute documentation built on March 7, 2021, 5:10 p.m.