account_activities
Creates, updates, deletes, gets or lists an account_activities resource.
Overview
| Name | account_activities |
| Type | Resource |
| Id | aws.freetier.account_activities |
Fields
The following fields are returned by SELECT queries:
- get_account_activity
- list_account_activities
| Name | Datatype | Description |
|---|---|---|
activity_id | string | A unique identifier that identifies the activity. (pattern: <code>[a-zA-Z0-9]+</code>) |
completed_at | string (date-time) | The timestamp when the activity is completed. This field appears only for activities in the COMPLETED state. |
description | string | Provides detailed information about the activity and its expected outcomes. (pattern: <code>[\S\s]*</code>) |
estimated_time_to_complete_in_minutes | integer | The estimated time to complete the activity. This is the duration in minutes. |
expires_at | string (date-time) | The time by which the activity must be completed to receive a reward. |
instructions_url | string | The URL resource that provides guidance on activity requirements and completion. (pattern: <code>[\S\s]*</code>) |
reward | object | A reward granted upon activity completion. |
started_at | string (date-time) | The timestamp when the activity started. This field appears only for activities in the IN_PROGRESS or COMPLETED states. |
status | string | The current activity status. (NOT_STARTED, IN_PROGRESS, COMPLETED, EXPIRING) |
title_ | string | A short activity title. (pattern: <code>[\S\s]*</code>) |
| Name | Datatype | Description |
|---|---|---|
activity_id | string | A unique identifier that identifies the activity. (pattern: <code>[a-zA-Z0-9]+</code>) |
reward | object | The reward for the activity. |
status | string | The current status of the activity. (NOT_STARTED, IN_PROGRESS, COMPLETED, EXPIRING) |
title_ | string | The title of the activity. (pattern: <code>[\S\s]*</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_account_activity | select | region | Returns a specific activity record that is available to the customer. | |
list_account_activities | select | region | Returns a list of activities that are available. This operation supports pagination and filtering by status. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_account_activity
- list_account_activities
Returns a specific activity record that is available to the customer.
SELECT
activity_id,
completed_at,
description,
estimated_time_to_complete_in_minutes,
expires_at,
instructions_url,
reward,
started_at,
status,
title_
FROM aws.freetier.account_activities
WHERE region = '{{ region }}' -- required
;
Returns a list of activities that are available. This operation supports pagination and filtering by status.
SELECT
activity_id,
reward,
status,
title_
FROM aws.freetier.account_activities
WHERE region = '{{ region }}' -- required
;