libZSservicesZSamazonka-route53ZSamazonka-route53
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53.GetHostedZoneLimit

Description

Gets the specified limit for a specified hosted zone, for example, the maximum number of records that you can create in the hosted zone.

For the default limit, see Limits in the Amazon Route 53 Developer Guide. To request a higher limit, open a case.

Synopsis

Creating a Request

data GetHostedZoneLimit Source #

A complex type that contains information about the request to create a hosted zone.

See: newGetHostedZoneLimit smart constructor.

Constructors

GetHostedZoneLimit' 

Fields

  • type' :: HostedZoneLimitType

    The limit that you want to get. Valid values include the following:

    • MAX_RRSETS_BY_ZONE: The maximum number of records that you can create in the specified hosted zone.
    • MAX_VPCS_ASSOCIATED_BY_ZONE: The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.
  • hostedZoneId :: ResourceId

    The ID of the hosted zone that you want to get a limit for.

Instances

Instances details
Eq GetHostedZoneLimit Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

Read GetHostedZoneLimit Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

Show GetHostedZoneLimit Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

Generic GetHostedZoneLimit Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

Associated Types

type Rep GetHostedZoneLimit :: Type -> Type #

NFData GetHostedZoneLimit Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

Methods

rnf :: GetHostedZoneLimit -> () #

Hashable GetHostedZoneLimit Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

AWSRequest GetHostedZoneLimit Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

Associated Types

type AWSResponse GetHostedZoneLimit #

ToHeaders GetHostedZoneLimit Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

ToPath GetHostedZoneLimit Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

ToQuery GetHostedZoneLimit Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

type Rep GetHostedZoneLimit Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

type Rep GetHostedZoneLimit = D1 ('MetaData "GetHostedZoneLimit" "Amazonka.Route53.GetHostedZoneLimit" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "GetHostedZoneLimit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HostedZoneLimitType) :*: S1 ('MetaSel ('Just "hostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceId)))
type AWSResponse GetHostedZoneLimit Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

newGetHostedZoneLimit Source #

Create a value of GetHostedZoneLimit 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:type':GetHostedZoneLimit', getHostedZoneLimit_type - The limit that you want to get. Valid values include the following:

  • MAX_RRSETS_BY_ZONE: The maximum number of records that you can create in the specified hosted zone.
  • MAX_VPCS_ASSOCIATED_BY_ZONE: The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.

$sel:hostedZoneId:GetHostedZoneLimit', getHostedZoneLimit_hostedZoneId - The ID of the hosted zone that you want to get a limit for.

Request Lenses

getHostedZoneLimit_type :: Lens' GetHostedZoneLimit HostedZoneLimitType Source #

The limit that you want to get. Valid values include the following:

  • MAX_RRSETS_BY_ZONE: The maximum number of records that you can create in the specified hosted zone.
  • MAX_VPCS_ASSOCIATED_BY_ZONE: The maximum number of Amazon VPCs that you can associate with the specified private hosted zone.

getHostedZoneLimit_hostedZoneId :: Lens' GetHostedZoneLimit ResourceId Source #

The ID of the hosted zone that you want to get a limit for.

Destructuring the Response

data GetHostedZoneLimitResponse Source #

A complex type that contains the requested limit.

See: newGetHostedZoneLimitResponse smart constructor.

Constructors

GetHostedZoneLimitResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • limit :: HostedZoneLimit

    The current setting for the specified limit. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Limit is the maximum number of records that you can create in the specified hosted zone.

  • count :: Natural

    The current number of entities that you have created of the specified type. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Count is the current number of records that you have created in the specified hosted zone.

Instances

Instances details
Eq GetHostedZoneLimitResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

Read GetHostedZoneLimitResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

Show GetHostedZoneLimitResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

Generic GetHostedZoneLimitResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

Associated Types

type Rep GetHostedZoneLimitResponse :: Type -> Type #

NFData GetHostedZoneLimitResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

type Rep GetHostedZoneLimitResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHostedZoneLimit

type Rep GetHostedZoneLimitResponse = D1 ('MetaData "GetHostedZoneLimitResponse" "Amazonka.Route53.GetHostedZoneLimit" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "GetHostedZoneLimitResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 HostedZoneLimit) :*: S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newGetHostedZoneLimitResponse Source #

Create a value of GetHostedZoneLimitResponse 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:httpStatus:GetHostedZoneLimitResponse', getHostedZoneLimitResponse_httpStatus - The response's http status code.

$sel:limit:GetHostedZoneLimitResponse', getHostedZoneLimitResponse_limit - The current setting for the specified limit. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Limit is the maximum number of records that you can create in the specified hosted zone.

$sel:count:GetHostedZoneLimitResponse', getHostedZoneLimitResponse_count - The current number of entities that you have created of the specified type. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Count is the current number of records that you have created in the specified hosted zone.

Response Lenses

getHostedZoneLimitResponse_limit :: Lens' GetHostedZoneLimitResponse HostedZoneLimit Source #

The current setting for the specified limit. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Limit is the maximum number of records that you can create in the specified hosted zone.

getHostedZoneLimitResponse_count :: Lens' GetHostedZoneLimitResponse Natural Source #

The current number of entities that you have created of the specified type. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Count is the current number of records that you have created in the specified hosted zone.