Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_status :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe ProvisionedConcurrencyStatusEnum)
- getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural)
- getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural)
- getProvisionedConcurrencyConfigResponse_statusReason :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text)
- getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural)
- getProvisionedConcurrencyConfigResponse_lastModified :: 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:
$sel:functionName: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:
$sel:status:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_status
- The status of the allocation process.
$sel:requestedProvisionedConcurrentExecutions:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions
- The amount of provisioned concurrency requested.
$sel:availableProvisionedConcurrentExecutions:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions
- The amount of provisioned concurrency available.
$sel:statusReason:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_statusReason
- For failed allocations, the reason that provisioned concurrency could
not be allocated.
$sel:allocatedProvisionedConcurrentExecutions:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions
- The amount of provisioned concurrency allocated.
$sel:lastModified:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_lastModified
- The date and time that a user last updated the configuration, in
ISO 8601 format.
$sel:httpStatus:GetProvisionedConcurrencyConfigResponse'
, getProvisionedConcurrencyConfigResponse_httpStatus
- The response's http status code.
Response Lenses
getProvisionedConcurrencyConfigResponse_status :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe ProvisionedConcurrencyStatusEnum) Source #
The status of the allocation process.
getProvisionedConcurrencyConfigResponse_requestedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) Source #
The amount of provisioned concurrency requested.
getProvisionedConcurrencyConfigResponse_availableProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) Source #
The amount of provisioned concurrency available.
getProvisionedConcurrencyConfigResponse_statusReason :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text) Source #
For failed allocations, the reason that provisioned concurrency could not be allocated.
getProvisionedConcurrencyConfigResponse_allocatedProvisionedConcurrentExecutions :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Natural) Source #
The amount of provisioned concurrency allocated.
getProvisionedConcurrencyConfigResponse_lastModified :: Lens' GetProvisionedConcurrencyConfigResponse (Maybe Text) Source #
The date and time that a user last updated the configuration, in ISO 8601 format.
getProvisionedConcurrencyConfigResponse_httpStatus :: Lens' GetProvisionedConcurrencyConfigResponse Int Source #
The response's http status code.