amazonka-redshift-serverless-2.0: Amazon Redshift Serverless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RedshiftServerLess.GetUsageLimit

Description

Returns information about a usage limit.

Synopsis

Creating a Request

data GetUsageLimit Source #

See: newGetUsageLimit smart constructor.

Constructors

GetUsageLimit' 

Fields

  • usageLimitId :: Text

    The unique identifier of the usage limit to return information for.

Instances

Instances details
ToJSON GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

ToHeaders GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

ToPath GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

ToQuery GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

AWSRequest GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

Associated Types

type AWSResponse GetUsageLimit #

Generic GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

Associated Types

type Rep GetUsageLimit :: Type -> Type #

Read GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

Show GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

NFData GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

Methods

rnf :: GetUsageLimit -> () #

Eq GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

Hashable GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

type AWSResponse GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

type Rep GetUsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

type Rep GetUsageLimit = D1 ('MetaData "GetUsageLimit" "Amazonka.RedshiftServerLess.GetUsageLimit" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "GetUsageLimit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "usageLimitId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetUsageLimit Source #

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

Instances details
Generic GetUsageLimitResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

Associated Types

type Rep GetUsageLimitResponse :: Type -> Type #

Read GetUsageLimitResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

Show GetUsageLimitResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

NFData GetUsageLimitResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

Methods

rnf :: GetUsageLimitResponse -> () #

Eq GetUsageLimitResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

type Rep GetUsageLimitResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetUsageLimit

type Rep GetUsageLimitResponse = D1 ('MetaData "GetUsageLimitResponse" "Amazonka.RedshiftServerLess.GetUsageLimit" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "GetUsageLimitResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "usageLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UsageLimit)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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