Admin states

Get-IAMAdminStates

Synopsis

View states.

Syntax

Get-IAMAdminStates [-Country] <String> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Gets the supported U.S. states or Canadian provinces. You should use the values from this operation to add or update your user's state or province. If your user's state or province is unknown, use 'TBD'.

If you're not an admin, you should run the Get-IAMUserStates operation before modifying your state or province.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑Country
Required

Filters the results by country, but only returns lists of states and provinces for USA and Canada.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links