Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves the provisioned concurrency configuration for a function's alias or version.
Synopsis
- data GetProvisionedConcurrencyConfig = GetProvisionedConcurrencyConfig' {
- functionName :: Text
- qualifier :: Text
- newGetProvisionedConcurrencyConfig :: Text -> Text -> GetProvisionedConcurrencyConfig
- getProvisionedConcurrencyConfig_functionName :: Lens' GetProvisionedConcurrencyConfig Text
- getProvisionedConcurrencyConfig_qualifier :: Lens' GetProvisionedConcurrencyConfig Text
- data GetProvisionedConcurrencyConfigResponse = GetProvisionedConcurrencyConfigResponse' {}
- newGetProvisionedConcurrencyConfigResponse :: Int -> GetProvisionedConcurrencyConfigResponse
- getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural)
- getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural)
- getProvisionedConcurrencyConfigResponse_lastModified :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text)
- getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural)
- getProvisionedConcurrencyConfigResponse_status :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe ProvisionedConcurrencyStatusEnum)
- getProvisionedConcurrencyConfigResponse_statusReason :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text)
- getProvisionedConcurrencyConfigResponse_httpStatus :: Lens' GetProvisionedConcurrencyConfigResponse Int
Creating a Request
data GetProvisionedConcurrencyConfig Source #
See: newGetProvisionedConcurrencyConfig
smart constructor.
GetProvisionedConcurrencyConfig' | |
|
Instances
newGetProvisionedConcurrencyConfig Source #
Create a value of GetProvisionedConcurrencyConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetProvisionedConcurrencyConfig
, getProvisionedConcurrencyConfig_functionName
- 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.
$sel:qualifier:GetProvisionedConcurrencyConfig'
, getProvisionedConcurrencyConfig_qualifier
- The version number or alias name.
Request Lenses
getProvisionedConcurrencyConfig_functionName :: Lens' GetProvisionedConcurrencyConfig Text Source #
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.
getProvisionedConcurrencyConfig_qualifier :: Lens' GetProvisionedConcurrencyConfig Text Source #
The version number or alias name.
Destructuring the Response
data GetProvisionedConcurrencyConfigResponse Source #
See: newGetProvisionedConcurrencyConfigResponse
smart constructor.
GetProvisionedConcurrencyConfigResponse' | |
|
Instances
newGetProvisionedConcurrencyConfigResponse Source #
Create a value of GetProvisionedConcurrencyConfigResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetProvisionedConcurrencyConfigResponse
, getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions
- The amount of provisioned concurrency allocated. When a weighted alias
is used during linear and canary deployments, this value fluctuates
depending on the amount of concurrency that is provisioned for the
function versions.
GetProvisionedConcurrencyConfigResponse
, getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions
- The amount of provisioned concurrency available.
GetProvisionedConcurrencyConfigResponse
, getProvisionedConcurrencyConfigResponse_lastModified
- The date and time that a user last updated the configuration, in
ISO 8601 format.
GetProvisionedConcurrencyConfigResponse
, getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions
- The amount of provisioned concurrency requested.
GetProvisionedConcurrencyConfigResponse
, getProvisionedConcurrencyConfigResponse_status
- The status of the allocation process.
GetProvisionedConcurrencyConfigResponse
, getProvisionedConcurrencyConfigResponse_statusReason
- For failed allocations, the reason that provisioned concurrency could
not be allocated.
$sel:httpStatus:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_httpStatus
- The response's http status code.
Response Lenses
getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) Source #
The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.
getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) Source #
The amount of provisioned concurrency available.
getProvisionedConcurrencyConfigResponse_lastModified :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text) Source #
The date and time that a user last updated the configuration, in ISO 8601 format.
getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) Source #
The amount of provisioned concurrency requested.
getProvisionedConcurrencyConfigResponse_status :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe ProvisionedConcurrencyStatusEnum) Source #
The status of the allocation process.
getProvisionedConcurrencyConfigResponse_statusReason :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text) Source #
For failed allocations, the reason that provisioned concurrency could not be allocated.
getProvisionedConcurrencyConfigResponse_httpStatus :: Lens' GetProvisionedConcurrencyConfigResponse Int Source #
The response's http status code.