Skip to main content

requester_gateways

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

Overview

Namerequester_gateways
TypeResource
Idaws.rtbfabric.requester_gateways

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
active_links_countintegerThe count of active links for the requester gateway.
created_atstring (date-time)The timestamp of when the requester gateway was created.
descriptionstringThe description of the requester gateway. (pattern: <code>[A-Za-z0-9 ]+</code>)
domain_namestringThe domain name of the requester gateway. (pattern: <code>(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)(?:.(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?))+</code>)
gateway_idstringThe unique identifier of the gateway. (pattern: <code>rtb-gw-[a-z0-9-]{1,25}</code>)
security_group_idsarrayThe unique identifiers of the security groups.
statusstringThe status of the request. (PENDING_CREATION, ACTIVE, PENDING_DELETION, DELETED, ERROR, PENDING_UPDATE, ISOLATED, PENDING_ISOLATION, PENDING_RESTORATION)
subnet_idsarrayThe unique identifiers of the subnets.
tagsobjectA map of the key-value pairs for the tag or tags assigned to the specified resource.
total_links_countintegerThe total count of links for the requester gateway.
updated_atstring (date-time)The timestamp of when the requester gateway was updated.
vpc_idstringThe unique identifier of the Virtual Private Cloud (VPC). (pattern: <code>vpc-[a-f0-9]{8,17}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_requester_gatewayselectgateway_id, regionRetrieves information about a requester gateway.
list_requester_gatewaysselectregionmaxResults, nextTokenLists requester gateways.
create_requester_gatewayinsertregion, vpcId, subnetIds, securityGroupIds, clientTokenCreates a requester gateway.
update_requester_gatewayupdategateway_id, region, clientTokenUpdates a requester gateway.
delete_requester_gatewaydeletegateway_id, regionDeletes a requester gateway.

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
gateway_idstringThe unique identifier of the gateway.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
nextTokenstringIf nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

SELECT examples

Retrieves information about a requester gateway.

SELECT
active_links_count,
created_at,
description,
domain_name,
gateway_id,
security_group_ids,
status,
subnet_ids,
tags,
total_links_count,
updated_at,
vpc_id
FROM aws.rtbfabric.requester_gateways
WHERE gateway_id = '{{ gateway_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a requester gateway.

INSERT INTO aws.rtbfabric.requester_gateways (
vpcId,
subnetIds,
securityGroupIds,
clientToken,
description,
tags,
region
)
SELECT
'{{ vpcId }}' /* required */,
'{{ subnetIds }}' /* required */,
'{{ securityGroupIds }}' /* required */,
'{{ clientToken }}' /* required */,
'{{ description }}',
'{{ tags }}',
'{{ region }}'
RETURNING
domain_name,
gateway_id,
status
;

UPDATE examples

Updates a requester gateway.

UPDATE aws.rtbfabric.requester_gateways
SET
clientToken = '{{ clientToken }}',
description = '{{ description }}'
WHERE
gateway_id = '{{ gateway_id }}' --required
AND region = '{{ region }}' --required
AND clientToken = '{{ clientToken }}' --required
RETURNING
gateway_id,
status;

DELETE examples

Deletes a requester gateway.

DELETE FROM aws.rtbfabric.requester_gateways
WHERE gateway_id = '{{ gateway_id }}' --required
AND region = '{{ region }}' --required
;