Skip to content

aws.outposts.get_order

Example SQL Queries

SELECT * FROM
aws.outposts.get_order
WHERE
"order_id" = 'VALUE';

Description

Gets information about the specified order.

Table Definition

Column NameColumn Data Type
order_id Required Input Column

The ID of the order.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
order

Information about an order.

STRUCT(
"outpost_id" VARCHAR,
"order_id" VARCHAR,
"status" VARCHAR,
"line_items" STRUCT(
"catalog_item_id" VARCHAR,
"line_item_id" VARCHAR,
"quantity" BIGINT,
"status" VARCHAR,
"shipment_information" STRUCT(
"shipment_tracking_number" VARCHAR,
"shipment_carrier" VARCHAR
),
"asset_information_list" STRUCT(
"asset_id" VARCHAR,
"mac_address_list" VARCHAR[]
)[],
"previous_line_item_id" VARCHAR,
"previous_order_id" VARCHAR
)[],
"payment_option" VARCHAR,
"order_submission_date" TIMESTAMP_S,
"order_fulfilled_date" TIMESTAMP_S,
"payment_term" VARCHAR,
"order_type" VARCHAR
)
Show child fields
order.line_items[]
Show child fields
order.line_items[].asset_information_list[]
Show child fields
order.line_items[].asset_information_list[].asset_id

The ID of the asset.

order.line_items[].asset_information_list[].mac_address_list[]
order.line_items[].catalog_item_id

The ID of the catalog item.

order.line_items[].line_item_id

The ID of the line item.

order.line_items[].previous_line_item_id

The ID of the previous line item.

order.line_items[].previous_order_id

The ID of the previous order.

order.line_items[].quantity

The quantity of the line item.

order.line_items[].shipment_information

Information about a line item shipment.

Show child fields
order.line_items[].shipment_information.shipment_carrier

The carrier of the shipment.

order.line_items[].shipment_information.shipment_tracking_number

The tracking number of the shipment.

order.line_items[].status

The status of the line item.

order.order_fulfilled_date

The fulfillment date of the order.

order.order_id

The ID of the order.

order.order_submission_date

The submission date for the order.

order.order_type

The type of order.

order.outpost_id

The ID of the Outpost in the order.

order.payment_option

The payment option for the order.

order.payment_term

The payment term.

order.status

The status of the order.

  • PREPARING - Order is received and being prepared.

  • IN_PROGRESS - Order is either being built, shipped, or installed. To get more details, see the line item status.

  • COMPLETED - Order is complete.

  • CANCELLED - Order is cancelled.

  • ERROR - Customer should contact support.

The following status are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED.