Skip to main content

account_plan_states

Creates, updates, deletes, gets or lists an account_plan_states resource.

Overview

Nameaccount_plan_states
TypeResource
Idaws.freetier.account_plan_states

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_idstringA unique identifier that identifies the account. (pattern: <code>[0-9]{12}</code>)
account_plan_expiration_datestring (date-time)The timestamp for when the current account plan expires.
account_plan_remaining_creditsobjectThe amount of credits remaining for the account.
account_plan_statusstringThe current status for the account plan. (NOT_STARTED, ACTIVE, EXPIRED)
account_plan_typestringThe plan type for the account. (FREE, PAID)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_account_plan_stateselectregionThis returns all of the information related to the state of the account plan related to Free Tier.

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

This returns all of the information related to the state of the account plan related to Free Tier.

SELECT
account_id,
account_plan_expiration_date,
account_plan_remaining_credits,
account_plan_status,
account_plan_type
FROM aws.freetier.account_plan_states
WHERE region = '{{ region }}' -- required
;