Skip to main content

bandwidth_rate_limit_schedules

Creates, updates, deletes, gets or lists a bandwidth_rate_limit_schedules resource.

Overview

Namebandwidth_rate_limit_schedules
TypeResource
Idaws.backup_gateway.bandwidth_rate_limit_schedules

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
bandwidth_rate_limit_intervalsarrayAn array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.
gateway_arnstringThe 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. (pattern: <code>arn:(aws|aws-cn|aws-us-gov):backup-gateway(:[a-zA-Z-0-9]+){3}/[a-zA-Z-0-9]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_bandwidth_rate_limit_scheduleselectregionRetrieves the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. Use this to get a gateway's bandwidth rate limit schedule.
put_bandwidth_rate_limit_schedulereplaceregion, GatewayArn, BandwidthRateLimitIntervalsThis 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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

SELECT
bandwidth_rate_limit_intervals,
gateway_arn
FROM aws.backup_gateway.bandwidth_rate_limit_schedules
WHERE region = '{{ region }}' -- required
;

REPLACE examples

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.

REPLACE aws.backup_gateway.bandwidth_rate_limit_schedules
SET
GatewayArn = '{{ GatewayArn }}',
BandwidthRateLimitIntervals = '{{ BandwidthRateLimitIntervals }}'
WHERE
region = '{{ region }}' --required
AND GatewayArn = '{{ GatewayArn }}' --required
AND BandwidthRateLimitIntervals = '{{ BandwidthRateLimitIntervals }}' --required
RETURNING
gateway_arn;