Skip to main content

list-billing-transfer-reseller-accounts

dci list-billing-transfer-reseller-accounts

Lists every reseller program management account (RPMA) node belonging to the calling reseller, with handshake state and status but without end-customer tenants — the reseller-tier analog of GET /billingtransfer/v1/programmanagementaccounts.

Output

OK

By default dci renders the result as a table. Use --output json to get the full structure described below — see Output formats.

FieldTypeDescription
itemsarray of object
items[].resellerPmaAccountIdstring12-digit AWS account ID of the reseller's program management account.
items[].dpmaIdstring
items[].handshakeIdstring
items[].handshakeStatestringAWS Organizations Handshake State value, lowercased. One of: "requested", "open", "canceled", "accepted", "declined", "expired".
items[].statusstringOne of: "handshake_pending", "cur_export_waiting", "active", "declined", "canceled", "expired".
items[].effectiveTimestring (date-time)When the handshake reached a terminal state. null until then.
items[].createdAtstring (date-time)
Raw JSON schema
{
"type": "object",
"additionalProperties": false,
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"resellerPmaAccountId",
"dpmaId",
"handshakeId",
"handshakeState",
"status",
"createdAt"
],
"properties": {
"resellerPmaAccountId": {
"type": "string",
"description": "12-digit AWS account ID of the reseller's program management account.",
"example": "123456789012"
},
"dpmaId": {
"type": "string"
},
"handshakeId": {
"type": "string"
},
"handshakeState": {
"type": "string",
"description": "AWS Organizations Handshake `State` value, lowercased.",
"enum": [
"requested",
"open",
"canceled",
"accepted",
"declined",
"expired"
]
},
"status": {
"type": "string",
"enum": [
"handshake_pending",
"cur_export_waiting",
"active",
"declined",
"canceled",
"expired"
]
},
"effectiveTime": {
"type": "string",
"format": "date-time",
"nullable": true,
"description": "When the handshake reached a terminal state. `null` until then."
},
"createdAt": {
"type": "string",
"format": "date-time"
}
}
}
}
}
}

Errors

On failure, dci prints a single error message — with a hint when one is available — and exits with a typed code your scripts can branch on. See Errors and exit codes for the full contract.

HTTP statusExit codeError codeMeaning
40030VALIDATION_ERRORThe arguments or request body were rejected. Review the command's flags and payload.
40110AUTHENTICATION_FAILEDNot signed in, or the API token is invalid. Run dci login or check DCI_API_KEY.
40311PERMISSION_DENIEDThe DoiT user or the active customer context does not have access.
50040API_SERVER_ERRORThe API failed to process the request. Retryable; contact DoiT support if it persists.

Aliases: listbillingtransferreselleraccounts