amazonka-backup-gateway-2.0: Amazon Backup Gateway 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.BackupGateway.PutBandwidthRateLimitSchedule

Description

This action sets the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have a bandwidth rate limit schedule, which means no bandwidth rate limiting is in effect. Use this to initiate a gateway's bandwidth rate limit schedule.

Synopsis

Creating a Request

data PutBandwidthRateLimitSchedule Source #

See: newPutBandwidthRateLimitSchedule smart constructor.

Constructors

PutBandwidthRateLimitSchedule' 

Fields

Instances

Instances details
ToJSON PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

ToHeaders PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

ToPath PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

ToQuery PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

AWSRequest PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

Generic PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

Associated Types

type Rep PutBandwidthRateLimitSchedule :: Type -> Type #

Read PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

Show PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

NFData PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

Eq PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

Hashable PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

type AWSResponse PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

type Rep PutBandwidthRateLimitSchedule Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

type Rep PutBandwidthRateLimitSchedule = D1 ('MetaData "PutBandwidthRateLimitSchedule" "Amazonka.BackupGateway.PutBandwidthRateLimitSchedule" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "PutBandwidthRateLimitSchedule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bandwidthRateLimitIntervals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BandwidthRateLimitInterval]) :*: S1 ('MetaSel ('Just "gatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newPutBandwidthRateLimitSchedule Source #

Create a value of PutBandwidthRateLimitSchedule 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:bandwidthRateLimitIntervals:PutBandwidthRateLimitSchedule', putBandwidthRateLimitSchedule_bandwidthRateLimitIntervals - An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.

PutBandwidthRateLimitSchedule, putBandwidthRateLimitSchedule_gatewayArn - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

Request Lenses

putBandwidthRateLimitSchedule_bandwidthRateLimitIntervals :: Lens' PutBandwidthRateLimitSchedule [BandwidthRateLimitInterval] Source #

An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.

putBandwidthRateLimitSchedule_gatewayArn :: Lens' PutBandwidthRateLimitSchedule Text Source #

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

Destructuring the Response

data PutBandwidthRateLimitScheduleResponse Source #

Constructors

PutBandwidthRateLimitScheduleResponse' 

Fields

  • gatewayArn :: Maybe Text

    The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic PutBandwidthRateLimitScheduleResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

Read PutBandwidthRateLimitScheduleResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

Show PutBandwidthRateLimitScheduleResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

NFData PutBandwidthRateLimitScheduleResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

Eq PutBandwidthRateLimitScheduleResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

type Rep PutBandwidthRateLimitScheduleResponse Source # 
Instance details

Defined in Amazonka.BackupGateway.PutBandwidthRateLimitSchedule

type Rep PutBandwidthRateLimitScheduleResponse = D1 ('MetaData "PutBandwidthRateLimitScheduleResponse" "Amazonka.BackupGateway.PutBandwidthRateLimitSchedule" "amazonka-backup-gateway-2.0-Ee3gVOmXMeV2r3uv4sRO9" 'False) (C1 ('MetaCons "PutBandwidthRateLimitScheduleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutBandwidthRateLimitScheduleResponse Source #

Create a value of PutBandwidthRateLimitScheduleResponse 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:

PutBandwidthRateLimitSchedule, putBandwidthRateLimitScheduleResponse_gatewayArn - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

$sel:httpStatus:PutBandwidthRateLimitScheduleResponse', putBandwidthRateLimitScheduleResponse_httpStatus - The response's http status code.

Response Lenses

putBandwidthRateLimitScheduleResponse_gatewayArn :: Lens' PutBandwidthRateLimitScheduleResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.