| 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 |
Amazonka.RedshiftServerLess.GetUsageLimit
Description
Returns information about a usage limit.
Synopsis
- data GetUsageLimit = GetUsageLimit' {
- usageLimitId :: Text
- newGetUsageLimit :: Text -> GetUsageLimit
- getUsageLimit_usageLimitId :: Lens' GetUsageLimit Text
- data GetUsageLimitResponse = GetUsageLimitResponse' {}
- newGetUsageLimitResponse :: Int -> GetUsageLimitResponse
- getUsageLimitResponse_usageLimit :: Lens' GetUsageLimitResponse (Maybe UsageLimit)
- getUsageLimitResponse_httpStatus :: Lens' GetUsageLimitResponse Int
Creating a Request
data GetUsageLimit Source #
See: newGetUsageLimit smart constructor.
Constructors
| GetUsageLimit' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetUsageLimit |
Create a value of GetUsageLimit 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:
GetUsageLimit, getUsageLimit_usageLimitId - The unique identifier of the usage limit to return information for.
Request Lenses
getUsageLimit_usageLimitId :: Lens' GetUsageLimit Text Source #
The unique identifier of the usage limit to return information for.
Destructuring the Response
data GetUsageLimitResponse Source #
See: newGetUsageLimitResponse smart constructor.
Constructors
| GetUsageLimitResponse' | |
Fields
| |
Instances
newGetUsageLimitResponse Source #
Create a value of GetUsageLimitResponse 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:usageLimit:GetUsageLimitResponse', getUsageLimitResponse_usageLimit - The returned usage limit object.
$sel:httpStatus:GetUsageLimitResponse', getUsageLimitResponse_httpStatus - The response's http status code.
Response Lenses
getUsageLimitResponse_usageLimit :: Lens' GetUsageLimitResponse (Maybe UsageLimit) Source #
The returned usage limit object.
getUsageLimitResponse_httpStatus :: Lens' GetUsageLimitResponse Int Source #
The response's http status code.