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 |
Deletes a usage limit from Amazon Redshift Serverless.
Synopsis
- data DeleteUsageLimit = DeleteUsageLimit' {
- usageLimitId :: Text
- newDeleteUsageLimit :: Text -> DeleteUsageLimit
- deleteUsageLimit_usageLimitId :: Lens' DeleteUsageLimit Text
- data DeleteUsageLimitResponse = DeleteUsageLimitResponse' {}
- newDeleteUsageLimitResponse :: Int -> DeleteUsageLimitResponse
- deleteUsageLimitResponse_usageLimit :: Lens' DeleteUsageLimitResponse (Maybe UsageLimit)
- deleteUsageLimitResponse_httpStatus :: Lens' DeleteUsageLimitResponse Int
Creating a Request
data DeleteUsageLimit Source #
See: newDeleteUsageLimit
smart constructor.
DeleteUsageLimit' | |
|
Instances
Create a value of DeleteUsageLimit
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:
DeleteUsageLimit
, deleteUsageLimit_usageLimitId
- The unique identifier of the usage limit to delete.
Request Lenses
deleteUsageLimit_usageLimitId :: Lens' DeleteUsageLimit Text Source #
The unique identifier of the usage limit to delete.
Destructuring the Response
data DeleteUsageLimitResponse Source #
See: newDeleteUsageLimitResponse
smart constructor.
DeleteUsageLimitResponse' | |
|
Instances
newDeleteUsageLimitResponse Source #
Create a value of DeleteUsageLimitResponse
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:DeleteUsageLimitResponse'
, deleteUsageLimitResponse_usageLimit
- The deleted usage limit object.
$sel:httpStatus:DeleteUsageLimitResponse'
, deleteUsageLimitResponse_httpStatus
- The response's http status code.
Response Lenses
deleteUsageLimitResponse_usageLimit :: Lens' DeleteUsageLimitResponse (Maybe UsageLimit) Source #
The deleted usage limit object.
deleteUsageLimitResponse_httpStatus :: Lens' DeleteUsageLimitResponse Int Source #
The response's http status code.